Skip to content

Commit

Permalink
Merge branch 'main' into fix/run-processing (generated)
Browse files Browse the repository at this point in the history
Co-authored-by: Pierre Millot <[email protected]>
  • Loading branch information
algolia-bot and millotp committed Jan 16, 2025
1 parent d049cef commit 487fd57
Show file tree
Hide file tree
Showing 51 changed files with 282 additions and 228 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ public enum RunOutcome
/// Enum Failure for value: failure
/// </summary>
[JsonPropertyName("failure")]
Failure = 2,

/// <summary>
/// Enum Processing for value: processing
/// </summary>
[JsonPropertyName("processing")]
Processing = 3
Failure = 2
}

4 changes: 2 additions & 2 deletions clients/algoliasearch-client-go/algolia/abtesting/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions clients/algoliasearch-client-go/algolia/analytics/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions clients/algoliasearch-client-go/algolia/insights/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions clients/algoliasearch-client-go/algolia/monitoring/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions clients/algoliasearch-client-go/algolia/recommend/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions clients/algoliasearch-client-go/algolia/search/api_search.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions clients/algoliasearch-client-go/algolia/search/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
public enum RunOutcome {
SUCCESS("success"),

FAILURE("failure"),

PROCESSING("processing");
FAILURE("failure");

private final String value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
/**
* Task run outcome.
*/
export type RunOutcome = 'success' | 'failure' | 'processing';
export type RunOutcome = 'success' | 'failure';
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ public enum class RunOutcome(public val value: kotlin.String) {
Success("success"),

@SerialName(value = "failure")
Failure("failure"),

@SerialName(value = "processing")
Processing("processing");
Failure("failure");

override fun toString(): kotlin.String = value
}
19 changes: 12 additions & 7 deletions clients/algoliasearch-client-php/lib/Api/AbtestingClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@

use Algolia\AlgoliaSearch\Algolia;
use Algolia\AlgoliaSearch\Configuration\AbtestingConfig;
use Algolia\AlgoliaSearch\Model\Abtesting\ABTest;
use Algolia\AlgoliaSearch\Model\Abtesting\ABTestResponse;
use Algolia\AlgoliaSearch\Model\Abtesting\AddABTestsRequest;
use Algolia\AlgoliaSearch\Model\Abtesting\EstimateABTestRequest;
use Algolia\AlgoliaSearch\Model\Abtesting\EstimateABTestResponse;
use Algolia\AlgoliaSearch\Model\Abtesting\ListABTestsResponse;
use Algolia\AlgoliaSearch\Model\Abtesting\ScheduleABTestResponse;
use Algolia\AlgoliaSearch\Model\Abtesting\ScheduleABTestsRequest;
use Algolia\AlgoliaSearch\ObjectSerializer;
use Algolia\AlgoliaSearch\RetryStrategy\ApiWrapper;
Expand Down Expand Up @@ -125,7 +130,7 @@ public function setClientApiKey($apiKey)
*
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
*
* @return \Algolia\AlgoliaSearch\Model\Abtesting\ABTestResponse|array<string, mixed>
* @return ABTestResponse|array<string, mixed>
*/
public function addABTests($addABTestsRequest, $requestOptions = [])
{
Expand Down Expand Up @@ -311,7 +316,7 @@ public function customPut($path, $parameters = null, $body = null, $requestOptio
* @param int $id Unique A/B test identifier. (required)
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
*
* @return \Algolia\AlgoliaSearch\Model\Abtesting\ABTestResponse|array<string, mixed>
* @return ABTestResponse|array<string, mixed>
*/
public function deleteABTest($id, $requestOptions = [])
{
Expand Down Expand Up @@ -353,7 +358,7 @@ public function deleteABTest($id, $requestOptions = [])
*
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
*
* @return \Algolia\AlgoliaSearch\Model\Abtesting\EstimateABTestResponse|array<string, mixed>
* @return array<string, mixed>|EstimateABTestResponse
*/
public function estimateABTest($estimateABTestRequest, $requestOptions = [])
{
Expand Down Expand Up @@ -381,7 +386,7 @@ public function estimateABTest($estimateABTestRequest, $requestOptions = [])
* @param int $id Unique A/B test identifier. (required)
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
*
* @return \Algolia\AlgoliaSearch\Model\Abtesting\ABTest|array<string, mixed>
* @return ABTest|array<string, mixed>
*/
public function getABTest($id, $requestOptions = [])
{
Expand Down Expand Up @@ -421,7 +426,7 @@ public function getABTest($id, $requestOptions = [])
* @param string $indexSuffix Index name suffix. Only A/B tests for indices ending with this string are included in the response. (optional)
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
*
* @return \Algolia\AlgoliaSearch\Model\Abtesting\ListABTestsResponse|array<string, mixed>
* @return array<string, mixed>|ListABTestsResponse
*/
public function listABTests($offset = null, $limit = null, $indexPrefix = null, $indexSuffix = null, $requestOptions = [])
{
Expand Down Expand Up @@ -465,7 +470,7 @@ public function listABTests($offset = null, $limit = null, $indexPrefix = null,
*
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
*
* @return \Algolia\AlgoliaSearch\Model\Abtesting\ScheduleABTestResponse|array<string, mixed>
* @return array<string, mixed>|ScheduleABTestResponse
*/
public function scheduleABTest($scheduleABTestsRequest, $requestOptions = [])
{
Expand Down Expand Up @@ -493,7 +498,7 @@ public function scheduleABTest($scheduleABTestsRequest, $requestOptions = [])
* @param int $id Unique A/B test identifier. (required)
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
*
* @return \Algolia\AlgoliaSearch\Model\Abtesting\ABTestResponse|array<string, mixed>
* @return ABTestResponse|array<string, mixed>
*/
public function stopABTest($id, $requestOptions = [])
{
Expand Down
Loading

0 comments on commit 487fd57

Please sign in to comment.