Skip to content

Commit 7fe0bda

Browse files
authored
Merge branch 'main' into feat/timeouts-per-specs
2 parents 7aca9b3 + 01daf05 commit 7fe0bda

File tree

51 files changed

+4783
-3147
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

+4783
-3147
lines changed

clients/algoliasearch-client-csharp/algoliasearch/Clients/IngestionClient.cs

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,6 +1136,7 @@ public interface IIngestionClient
11361136
/// <param name="action">Actions for filtering the list of tasks. (optional)</param>
11371137
/// <param name="enabled">Whether to filter the list of tasks by the `enabled` status. (optional)</param>
11381138
/// <param name="sourceID">Source IDs for filtering the list of tasks. (optional)</param>
1139+
/// <param name="sourceType">Filters the tasks with the specified source type. (optional)</param>
11391140
/// <param name="destinationID">Destination IDs for filtering the list of tasks. (optional)</param>
11401141
/// <param name="triggerType">Type of task trigger for filtering the list of tasks. (optional)</param>
11411142
/// <param name="sort">Property by which to sort the list of tasks. (optional)</param>
@@ -1146,7 +1147,7 @@ public interface IIngestionClient
11461147
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
11471148
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
11481149
/// <returns>Task of ListTasksResponse</returns>
1149-
Task<ListTasksResponse> ListTasksAsync(int? itemsPerPage = default, int? page = default, List<ActionType> action = default, bool? enabled = default, List<string> sourceID = default, List<string> destinationID = default, List<TriggerType> triggerType = default, TaskSortKeys? sort = default, OrderKeys? order = default, RequestOptions options = null, CancellationToken cancellationToken = default);
1150+
Task<ListTasksResponse> ListTasksAsync(int? itemsPerPage = default, int? page = default, List<ActionType> action = default, bool? enabled = default, List<string> sourceID = default, List<SourceType> sourceType = default, List<string> destinationID = default, List<TriggerType> triggerType = default, TaskSortKeys? sort = default, OrderKeys? order = default, RequestOptions options = null, CancellationToken cancellationToken = default);
11501151

11511152
/// <summary>
11521153
/// Retrieves a list of tasks. (Synchronous version)
@@ -1161,6 +1162,7 @@ public interface IIngestionClient
11611162
/// <param name="action">Actions for filtering the list of tasks. (optional)</param>
11621163
/// <param name="enabled">Whether to filter the list of tasks by the `enabled` status. (optional)</param>
11631164
/// <param name="sourceID">Source IDs for filtering the list of tasks. (optional)</param>
1165+
/// <param name="sourceType">Filters the tasks with the specified source type. (optional)</param>
11641166
/// <param name="destinationID">Destination IDs for filtering the list of tasks. (optional)</param>
11651167
/// <param name="triggerType">Type of task trigger for filtering the list of tasks. (optional)</param>
11661168
/// <param name="sort">Property by which to sort the list of tasks. (optional)</param>
@@ -1171,7 +1173,7 @@ public interface IIngestionClient
11711173
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
11721174
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
11731175
/// <returns>ListTasksResponse</returns>
1174-
ListTasksResponse ListTasks(int? itemsPerPage = default, int? page = default, List<ActionType> action = default, bool? enabled = default, List<string> sourceID = default, List<string> destinationID = default, List<TriggerType> triggerType = default, TaskSortKeys? sort = default, OrderKeys? order = default, RequestOptions options = null, CancellationToken cancellationToken = default);
1176+
ListTasksResponse ListTasks(int? itemsPerPage = default, int? page = default, List<ActionType> action = default, bool? enabled = default, List<string> sourceID = default, List<SourceType> sourceType = default, List<string> destinationID = default, List<TriggerType> triggerType = default, TaskSortKeys? sort = default, OrderKeys? order = default, RequestOptions options = null, CancellationToken cancellationToken = default);
11751177

11761178
/// <summary>
11771179
/// Retrieves a list of tasks using the v1 endpoint, please use `getTasks` instead.
@@ -2732,7 +2734,7 @@ public ListSourcesResponse ListSources(int? itemsPerPage = default, int? page =
27322734

27332735

27342736
/// <inheritdoc />
2735-
public async Task<ListTasksResponse> ListTasksAsync(int? itemsPerPage = default, int? page = default, List<ActionType> action = default, bool? enabled = default, List<string> sourceID = default, List<string> destinationID = default, List<TriggerType> triggerType = default, TaskSortKeys? sort = default, OrderKeys? order = default, RequestOptions options = null, CancellationToken cancellationToken = default)
2737+
public async Task<ListTasksResponse> ListTasksAsync(int? itemsPerPage = default, int? page = default, List<ActionType> action = default, bool? enabled = default, List<string> sourceID = default, List<SourceType> sourceType = default, List<string> destinationID = default, List<TriggerType> triggerType = default, TaskSortKeys? sort = default, OrderKeys? order = default, RequestOptions options = null, CancellationToken cancellationToken = default)
27362738
{
27372739
var requestOptions = new InternalRequestOptions(options);
27382740

@@ -2742,6 +2744,7 @@ public async Task<ListTasksResponse> ListTasksAsync(int? itemsPerPage = default,
27422744
requestOptions.AddQueryParameter("action", action);
27432745
requestOptions.AddQueryParameter("enabled", enabled);
27442746
requestOptions.AddQueryParameter("sourceID", sourceID);
2747+
requestOptions.AddQueryParameter("sourceType", sourceType);
27452748
requestOptions.AddQueryParameter("destinationID", destinationID);
27462749
requestOptions.AddQueryParameter("triggerType", triggerType);
27472750
requestOptions.AddQueryParameter("sort", sort);
@@ -2751,8 +2754,8 @@ public async Task<ListTasksResponse> ListTasksAsync(int? itemsPerPage = default,
27512754

27522755

27532756
/// <inheritdoc />
2754-
public ListTasksResponse ListTasks(int? itemsPerPage = default, int? page = default, List<ActionType> action = default, bool? enabled = default, List<string> sourceID = default, List<string> destinationID = default, List<TriggerType> triggerType = default, TaskSortKeys? sort = default, OrderKeys? order = default, RequestOptions options = null, CancellationToken cancellationToken = default) =>
2755-
AsyncHelper.RunSync(() => ListTasksAsync(itemsPerPage, page, action, enabled, sourceID, destinationID, triggerType, sort, order, options, cancellationToken));
2757+
public ListTasksResponse ListTasks(int? itemsPerPage = default, int? page = default, List<ActionType> action = default, bool? enabled = default, List<string> sourceID = default, List<SourceType> sourceType = default, List<string> destinationID = default, List<TriggerType> triggerType = default, TaskSortKeys? sort = default, OrderKeys? order = default, RequestOptions options = null, CancellationToken cancellationToken = default) =>
2758+
AsyncHelper.RunSync(() => ListTasksAsync(itemsPerPage, page, action, enabled, sourceID, sourceType, destinationID, triggerType, sort, order, options, cancellationToken));
27562759

27572760

27582761
/// <inheritdoc />

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

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,10 @@ public enum SourceType
6565
[JsonPropertyName("shopify")]
6666
Shopify = 8,
6767

68-
/// <summary>
69-
/// Enum Sfcc for value: sfcc
70-
/// </summary>
71-
[JsonPropertyName("sfcc")]
72-
Sfcc = 9,
73-
7468
/// <summary>
7569
/// Enum Push for value: push
7670
/// </summary>
7771
[JsonPropertyName("push")]
78-
Push = 10
72+
Push = 9
7973
}
8074

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

Lines changed: 21 additions & 0 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_source_type.go

Lines changed: 0 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/api/IngestionClient.java

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2508,6 +2508,7 @@ public CompletableFuture<ListSourcesResponse> listSourcesAsync() throws AlgoliaR
25082508
* @param action Actions for filtering the list of tasks. (optional)
25092509
* @param enabled Whether to filter the list of tasks by the `enabled` status. (optional)
25102510
* @param sourceID Source IDs for filtering the list of tasks. (optional)
2511+
* @param sourceType Filters the tasks with the specified source type. (optional)
25112512
* @param destinationID Destination IDs for filtering the list of tasks. (optional)
25122513
* @param triggerType Type of task trigger for filtering the list of tasks. (optional)
25132514
* @param sort Property by which to sort the list of tasks. (optional, default to createdAt)
@@ -2522,14 +2523,15 @@ public ListTasksResponse listTasks(
25222523
List<ActionType> action,
25232524
Boolean enabled,
25242525
List<String> sourceID,
2526+
List<SourceType> sourceType,
25252527
List<String> destinationID,
25262528
List<TriggerType> triggerType,
25272529
TaskSortKeys sort,
25282530
OrderKeys order,
25292531
RequestOptions requestOptions
25302532
) throws AlgoliaRuntimeException {
25312533
return LaunderThrowable.await(
2532-
listTasksAsync(itemsPerPage, page, action, enabled, sourceID, destinationID, triggerType, sort, order, requestOptions)
2534+
listTasksAsync(itemsPerPage, page, action, enabled, sourceID, sourceType, destinationID, triggerType, sort, order, requestOptions)
25332535
);
25342536
}
25352537

@@ -2541,6 +2543,7 @@ public ListTasksResponse listTasks(
25412543
* @param action Actions for filtering the list of tasks. (optional)
25422544
* @param enabled Whether to filter the list of tasks by the `enabled` status. (optional)
25432545
* @param sourceID Source IDs for filtering the list of tasks. (optional)
2546+
* @param sourceType Filters the tasks with the specified source type. (optional)
25442547
* @param destinationID Destination IDs for filtering the list of tasks. (optional)
25452548
* @param triggerType Type of task trigger for filtering the list of tasks. (optional)
25462549
* @param sort Property by which to sort the list of tasks. (optional, default to createdAt)
@@ -2553,12 +2556,13 @@ public ListTasksResponse listTasks(
25532556
List<ActionType> action,
25542557
Boolean enabled,
25552558
List<String> sourceID,
2559+
List<SourceType> sourceType,
25562560
List<String> destinationID,
25572561
List<TriggerType> triggerType,
25582562
TaskSortKeys sort,
25592563
OrderKeys order
25602564
) throws AlgoliaRuntimeException {
2561-
return this.listTasks(itemsPerPage, page, action, enabled, sourceID, destinationID, triggerType, sort, order, null);
2565+
return this.listTasks(itemsPerPage, page, action, enabled, sourceID, sourceType, destinationID, triggerType, sort, order, null);
25622566
}
25632567

25642568
/**
@@ -2569,7 +2573,7 @@ public ListTasksResponse listTasks(
25692573
* @throws AlgoliaRuntimeException If it fails to process the API call
25702574
*/
25712575
public ListTasksResponse listTasks(RequestOptions requestOptions) throws AlgoliaRuntimeException {
2572-
return this.listTasks(null, null, null, null, null, null, null, null, null, requestOptions);
2576+
return this.listTasks(null, null, null, null, null, null, null, null, null, null, requestOptions);
25732577
}
25742578

25752579
/**
@@ -2578,7 +2582,7 @@ public ListTasksResponse listTasks(RequestOptions requestOptions) throws Algolia
25782582
* @throws AlgoliaRuntimeException If it fails to process the API call
25792583
*/
25802584
public ListTasksResponse listTasks() throws AlgoliaRuntimeException {
2581-
return this.listTasks(null, null, null, null, null, null, null, null, null, null);
2585+
return this.listTasks(null, null, null, null, null, null, null, null, null, null, null);
25822586
}
25832587

25842588
/**
@@ -2589,6 +2593,7 @@ public ListTasksResponse listTasks() throws AlgoliaRuntimeException {
25892593
* @param action Actions for filtering the list of tasks. (optional)
25902594
* @param enabled Whether to filter the list of tasks by the `enabled` status. (optional)
25912595
* @param sourceID Source IDs for filtering the list of tasks. (optional)
2596+
* @param sourceType Filters the tasks with the specified source type. (optional)
25922597
* @param destinationID Destination IDs for filtering the list of tasks. (optional)
25932598
* @param triggerType Type of task trigger for filtering the list of tasks. (optional)
25942599
* @param sort Property by which to sort the list of tasks. (optional, default to createdAt)
@@ -2603,6 +2608,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
26032608
List<ActionType> action,
26042609
Boolean enabled,
26052610
List<String> sourceID,
2611+
List<SourceType> sourceType,
26062612
List<String> destinationID,
26072613
List<TriggerType> triggerType,
26082614
TaskSortKeys sort,
@@ -2617,6 +2623,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
26172623
.addQueryParameter("action", action)
26182624
.addQueryParameter("enabled", enabled)
26192625
.addQueryParameter("sourceID", sourceID)
2626+
.addQueryParameter("sourceType", sourceType)
26202627
.addQueryParameter("destinationID", destinationID)
26212628
.addQueryParameter("triggerType", triggerType)
26222629
.addQueryParameter("sort", sort)
@@ -2633,6 +2640,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
26332640
* @param action Actions for filtering the list of tasks. (optional)
26342641
* @param enabled Whether to filter the list of tasks by the `enabled` status. (optional)
26352642
* @param sourceID Source IDs for filtering the list of tasks. (optional)
2643+
* @param sourceType Filters the tasks with the specified source type. (optional)
26362644
* @param destinationID Destination IDs for filtering the list of tasks. (optional)
26372645
* @param triggerType Type of task trigger for filtering the list of tasks. (optional)
26382646
* @param sort Property by which to sort the list of tasks. (optional, default to createdAt)
@@ -2645,12 +2653,13 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
26452653
List<ActionType> action,
26462654
Boolean enabled,
26472655
List<String> sourceID,
2656+
List<SourceType> sourceType,
26482657
List<String> destinationID,
26492658
List<TriggerType> triggerType,
26502659
TaskSortKeys sort,
26512660
OrderKeys order
26522661
) throws AlgoliaRuntimeException {
2653-
return this.listTasksAsync(itemsPerPage, page, action, enabled, sourceID, destinationID, triggerType, sort, order, null);
2662+
return this.listTasksAsync(itemsPerPage, page, action, enabled, sourceID, sourceType, destinationID, triggerType, sort, order, null);
26542663
}
26552664

26562665
/**
@@ -2661,7 +2670,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
26612670
* @throws AlgoliaRuntimeException If it fails to process the API call
26622671
*/
26632672
public CompletableFuture<ListTasksResponse> listTasksAsync(RequestOptions requestOptions) throws AlgoliaRuntimeException {
2664-
return this.listTasksAsync(null, null, null, null, null, null, null, null, null, requestOptions);
2673+
return this.listTasksAsync(null, null, null, null, null, null, null, null, null, null, requestOptions);
26652674
}
26662675

26672676
/**
@@ -2670,7 +2679,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(RequestOptions reques
26702679
* @throws AlgoliaRuntimeException If it fails to process the API call
26712680
*/
26722681
public CompletableFuture<ListTasksResponse> listTasksAsync() throws AlgoliaRuntimeException {
2673-
return this.listTasksAsync(null, null, null, null, null, null, null, null, null, null);
2682+
return this.listTasksAsync(null, null, null, null, null, null, null, null, null, null, null);
26742683
}
26752684

26762685
/**

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ public enum SourceType {
2424

2525
SHOPIFY("shopify"),
2626

27-
SFCC("sfcc"),
28-
2927
PUSH("push");
3028

3129
private final String value;

clients/algoliasearch-client-javascript/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "algoliasearch-client-javascript",
33
"private": true,
4+
"homepage": "https://github.com/algolia/algoliasearch-client-javascript#readme",
45
"type": "module",
56
"workspaces": [
67
"packages/*"

clients/algoliasearch-client-javascript/packages/algoliasearch/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"type": "git",
55
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
66
},
7+
"homepage": "https://github.com/algolia/algoliasearch-client-javascript/packages/algoliasearch#readme",
78
"type": "module",
89
"license": "MIT",
910
"author": "Algolia",

clients/algoliasearch-client-javascript/packages/client-abtesting/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"type": "git",
55
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
66
},
7+
"homepage": "https://github.com/algolia/algoliasearch-client-javascript/packages/client-abtesting#readme",
78
"type": "module",
89
"license": "MIT",
910
"author": "Algolia",

clients/algoliasearch-client-javascript/packages/client-analytics/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"type": "git",
55
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
66
},
7+
"homepage": "https://github.com/algolia/algoliasearch-client-javascript/packages/client-analytics#readme",
78
"type": "module",
89
"license": "MIT",
910
"author": "Algolia",

clients/algoliasearch-client-javascript/packages/client-common/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"type": "git",
77
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
88
},
9+
"homepage": "https://github.com/algolia/algoliasearch-client-javascript#readme",
910
"license": "MIT",
1011
"author": "Algolia",
1112
"type": "module",

clients/algoliasearch-client-javascript/packages/client-composition/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"type": "git",
55
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
66
},
7+
"homepage": "https://github.com/algolia/algoliasearch-client-javascript/packages/client-composition#readme",
78
"type": "module",
89
"license": "MIT",
910
"author": "Algolia",

clients/algoliasearch-client-javascript/packages/client-insights/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"type": "git",
55
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
66
},
7+
"homepage": "https://github.com/algolia/algoliasearch-client-javascript/packages/client-insights#readme",
78
"type": "module",
89
"license": "MIT",
910
"author": "Algolia",

0 commit comments

Comments
 (0)