Skip to content

Commit 487fd57

Browse files
algolia-botmillotp
andcommitted
Merge branch 'main' into fix/run-processing (generated)
Co-authored-by: Pierre Millot <[email protected]>
1 parent d049cef commit 487fd57

File tree

51 files changed

+282
-228
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+282
-228
lines changed

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/RunOutcome.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@ public enum RunOutcome
2828
/// Enum Failure for value: failure
2929
/// </summary>
3030
[JsonPropertyName("failure")]
31-
Failure = 2,
32-
33-
/// <summary>
34-
/// Enum Processing for value: processing
35-
/// </summary>
36-
[JsonPropertyName("processing")]
37-
Processing = 3
31+
Failure = 2
3832
}
3933

clients/algoliasearch-client-go/algolia/abtesting/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/analytics/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/ingestion/model_run_outcome.go

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/insights/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/monitoring/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/personalization/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/query-suggestions/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/recommend/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/search/api_search.go

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/search/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-java/algoliasearch/src/main/java/com/algolia/model/ingestion/RunOutcome.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
public enum RunOutcome {
1111
SUCCESS("success"),
1212

13-
FAILURE("failure"),
14-
15-
PROCESSING("processing");
13+
FAILURE("failure");
1614

1715
private final String value;
1816

clients/algoliasearch-client-javascript/packages/ingestion/model/runOutcome.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
/**
44
* Task run outcome.
55
*/
6-
export type RunOutcome = 'success' | 'failure' | 'processing';
6+
export type RunOutcome = 'success' | 'failure';

clients/algoliasearch-client-kotlin/client/src/commonMain/kotlin/com/algolia/client/model/ingestion/RunOutcome.kt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@ public enum class RunOutcome(public val value: kotlin.String) {
1313
Success("success"),
1414

1515
@SerialName(value = "failure")
16-
Failure("failure"),
17-
18-
@SerialName(value = "processing")
19-
Processing("processing");
16+
Failure("failure");
2017

2118
override fun toString(): kotlin.String = value
2219
}

clients/algoliasearch-client-php/lib/Api/AbtestingClient.php

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,13 @@
66

77
use Algolia\AlgoliaSearch\Algolia;
88
use Algolia\AlgoliaSearch\Configuration\AbtestingConfig;
9+
use Algolia\AlgoliaSearch\Model\Abtesting\ABTest;
10+
use Algolia\AlgoliaSearch\Model\Abtesting\ABTestResponse;
911
use Algolia\AlgoliaSearch\Model\Abtesting\AddABTestsRequest;
1012
use Algolia\AlgoliaSearch\Model\Abtesting\EstimateABTestRequest;
13+
use Algolia\AlgoliaSearch\Model\Abtesting\EstimateABTestResponse;
14+
use Algolia\AlgoliaSearch\Model\Abtesting\ListABTestsResponse;
15+
use Algolia\AlgoliaSearch\Model\Abtesting\ScheduleABTestResponse;
1116
use Algolia\AlgoliaSearch\Model\Abtesting\ScheduleABTestsRequest;
1217
use Algolia\AlgoliaSearch\ObjectSerializer;
1318
use Algolia\AlgoliaSearch\RetryStrategy\ApiWrapper;
@@ -125,7 +130,7 @@ public function setClientApiKey($apiKey)
125130
*
126131
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
127132
*
128-
* @return \Algolia\AlgoliaSearch\Model\Abtesting\ABTestResponse|array<string, mixed>
133+
* @return ABTestResponse|array<string, mixed>
129134
*/
130135
public function addABTests($addABTestsRequest, $requestOptions = [])
131136
{
@@ -311,7 +316,7 @@ public function customPut($path, $parameters = null, $body = null, $requestOptio
311316
* @param int $id Unique A/B test identifier. (required)
312317
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
313318
*
314-
* @return \Algolia\AlgoliaSearch\Model\Abtesting\ABTestResponse|array<string, mixed>
319+
* @return ABTestResponse|array<string, mixed>
315320
*/
316321
public function deleteABTest($id, $requestOptions = [])
317322
{
@@ -353,7 +358,7 @@ public function deleteABTest($id, $requestOptions = [])
353358
*
354359
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
355360
*
356-
* @return \Algolia\AlgoliaSearch\Model\Abtesting\EstimateABTestResponse|array<string, mixed>
361+
* @return array<string, mixed>|EstimateABTestResponse
357362
*/
358363
public function estimateABTest($estimateABTestRequest, $requestOptions = [])
359364
{
@@ -381,7 +386,7 @@ public function estimateABTest($estimateABTestRequest, $requestOptions = [])
381386
* @param int $id Unique A/B test identifier. (required)
382387
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
383388
*
384-
* @return \Algolia\AlgoliaSearch\Model\Abtesting\ABTest|array<string, mixed>
389+
* @return ABTest|array<string, mixed>
385390
*/
386391
public function getABTest($id, $requestOptions = [])
387392
{
@@ -421,7 +426,7 @@ public function getABTest($id, $requestOptions = [])
421426
* @param string $indexSuffix Index name suffix. Only A/B tests for indices ending with this string are included in the response. (optional)
422427
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
423428
*
424-
* @return \Algolia\AlgoliaSearch\Model\Abtesting\ListABTestsResponse|array<string, mixed>
429+
* @return array<string, mixed>|ListABTestsResponse
425430
*/
426431
public function listABTests($offset = null, $limit = null, $indexPrefix = null, $indexSuffix = null, $requestOptions = [])
427432
{
@@ -465,7 +470,7 @@ public function listABTests($offset = null, $limit = null, $indexPrefix = null,
465470
*
466471
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
467472
*
468-
* @return \Algolia\AlgoliaSearch\Model\Abtesting\ScheduleABTestResponse|array<string, mixed>
473+
* @return array<string, mixed>|ScheduleABTestResponse
469474
*/
470475
public function scheduleABTest($scheduleABTestsRequest, $requestOptions = [])
471476
{
@@ -493,7 +498,7 @@ public function scheduleABTest($scheduleABTestsRequest, $requestOptions = [])
493498
* @param int $id Unique A/B test identifier. (required)
494499
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
495500
*
496-
* @return \Algolia\AlgoliaSearch\Model\Abtesting\ABTestResponse|array<string, mixed>
501+
* @return ABTestResponse|array<string, mixed>
497502
*/
498503
public function stopABTest($id, $requestOptions = [])
499504
{

0 commit comments

Comments
 (0)