Skip to content

Commit 8d8bf63

Browse files
authored
Merge branch 'main' into fix/DI-756/php-models-generation
2 parents 25b5509 + 9402855 commit 8d8bf63

File tree

37 files changed

+185
-148
lines changed

37 files changed

+185
-148
lines changed

clients/algoliasearch-client-java-2/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
## [4.0.0-SNAPSHOT](https://github.com/algolia/algoliasearch-client-java-2/compare/4.0.0-SNAPSHOT...4.0.0-SNAPSHOT)
22

3+
- [a60e6790](https://github.com/algolia/api-clients-automation/commit/a60e6790) feat(specs): add sourceID query param to task list endpoint ([#1250](https://github.com/algolia/api-clients-automation/pull/1250)) by [@Fluf22](https://github.com/Fluf22/)
4+
- [6916fb9b](https://github.com/algolia/api-clients-automation/commit/6916fb9b) feat(java): remove predict client temporarely ([#1262](https://github.com/algolia/api-clients-automation/pull/1262)) by [@millotp](https://github.com/millotp/)
5+
6+
## [4.0.0-SNAPSHOT](https://github.com/algolia/algoliasearch-client-java-2/compare/4.0.0-SNAPSHOT...4.0.0-SNAPSHOT)
7+
38
- [83330afe](https://github.com/algolia/api-clients-automation/commit/83330afe) chore(specs): change PlatformType naming to Platform ([#1246](https://github.com/algolia/api-clients-automation/pull/1246)) by [@Fluf22](https://github.com/Fluf22/)
49
- [700dad66](https://github.com/algolia/api-clients-automation/commit/700dad66) feat(specs): add query param to filter list endpoint results ([#1245](https://github.com/algolia/api-clients-automation/pull/1245)) by [@Fluf22](https://github.com/Fluf22/)
510

clients/algoliasearch-client-javascript/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [5.0.0-alpha.37](https://github.com/algolia/algoliasearch-client-javascript/compare/5.0.0-alpha.36...5.0.0-alpha.37)
2+
3+
- [a60e6790](https://github.com/algolia/api-clients-automation/commit/a60e6790) feat(specs): add sourceID query param to task list endpoint ([#1250](https://github.com/algolia/api-clients-automation/pull/1250)) by [@Fluf22](https://github.com/Fluf22/)
4+
15
## [5.0.0-alpha.36](https://github.com/algolia/algoliasearch-client-javascript/compare/5.0.0-alpha.35...5.0.0-alpha.36)
26

37
- [83330afe](https://github.com/algolia/api-clients-automation/commit/83330afe) chore(specs): change PlatformType naming to Platform ([#1246](https://github.com/algolia/api-clients-automation/pull/1246)) by [@Fluf22](https://github.com/Fluf22/)

clients/algoliasearch-client-javascript/packages/algoliasearch/lite/src/liteClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import type {
2222
import type { SearchMethodParams } from '../model/searchMethodParams';
2323
import type { SearchResponses } from '../model/searchResponses';
2424

25-
export const apiClientVersion = '5.0.0-alpha.36';
25+
export const apiClientVersion = '5.0.0-alpha.37';
2626

2727
function getDefaultHosts(appId: string): Host[] {
2828
return (

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "algoliasearch",
3-
"version": "5.0.0-alpha.36",
3+
"version": "5.0.0-alpha.37",
44
"description": "A fully-featured and blazing-fast JavaScript API client to interact with Algolia API.",
55
"repository": "algolia/algoliasearch-client-javascript",
66
"license": "MIT",
@@ -59,13 +59,13 @@
5959
"test": "jest"
6060
},
6161
"dependencies": {
62-
"@algolia/client-abtesting": "5.0.0-alpha.36",
63-
"@algolia/client-analytics": "5.0.0-alpha.36",
64-
"@algolia/client-common": "5.0.0-alpha.36",
65-
"@algolia/client-personalization": "5.0.0-alpha.36",
66-
"@algolia/client-search": "5.0.0-alpha.36",
67-
"@algolia/requester-browser-xhr": "5.0.0-alpha.36",
68-
"@algolia/requester-node-http": "5.0.0-alpha.36"
62+
"@algolia/client-abtesting": "5.0.0-alpha.37",
63+
"@algolia/client-analytics": "5.0.0-alpha.37",
64+
"@algolia/client-common": "5.0.0-alpha.37",
65+
"@algolia/client-personalization": "5.0.0-alpha.37",
66+
"@algolia/client-search": "5.0.0-alpha.37",
67+
"@algolia/requester-browser-xhr": "5.0.0-alpha.37",
68+
"@algolia/requester-node-http": "5.0.0-alpha.37"
6969
},
7070
"devDependencies": {
7171
"@types/jest": "28.1.8",

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@algolia/client-abtesting",
3-
"version": "5.0.0-alpha.36",
3+
"version": "5.0.0-alpha.37",
44
"description": "JavaScript client for client-abtesting",
55
"repository": "algolia/algoliasearch-client-javascript",
66
"license": "MIT",
@@ -38,9 +38,9 @@
3838
"clean": "rm -rf ./dist || true"
3939
},
4040
"dependencies": {
41-
"@algolia/client-common": "5.0.0-alpha.36",
42-
"@algolia/requester-browser-xhr": "5.0.0-alpha.36",
43-
"@algolia/requester-node-http": "5.0.0-alpha.36"
41+
"@algolia/client-common": "5.0.0-alpha.37",
42+
"@algolia/requester-browser-xhr": "5.0.0-alpha.37",
43+
"@algolia/requester-node-http": "5.0.0-alpha.37"
4444
},
4545
"devDependencies": {
4646
"@types/node": "16.11.59",

clients/algoliasearch-client-javascript/packages/client-abtesting/src/abtestingClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import type {
2929
} from '../model/clientMethodProps';
3030
import type { ListABTestsResponse } from '../model/listABTestsResponse';
3131

32-
export const apiClientVersion = '5.0.0-alpha.36';
32+
export const apiClientVersion = '5.0.0-alpha.37';
3333

3434
export const REGIONS = ['de', 'us'] as const;
3535
export type Region = typeof REGIONS[number];

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@algolia/client-analytics",
3-
"version": "5.0.0-alpha.36",
3+
"version": "5.0.0-alpha.37",
44
"description": "JavaScript client for client-analytics",
55
"repository": "algolia/algoliasearch-client-javascript",
66
"license": "MIT",
@@ -38,9 +38,9 @@
3838
"clean": "rm -rf ./dist || true"
3939
},
4040
"dependencies": {
41-
"@algolia/client-common": "5.0.0-alpha.36",
42-
"@algolia/requester-browser-xhr": "5.0.0-alpha.36",
43-
"@algolia/requester-node-http": "5.0.0-alpha.36"
41+
"@algolia/client-common": "5.0.0-alpha.37",
42+
"@algolia/requester-browser-xhr": "5.0.0-alpha.37",
43+
"@algolia/requester-node-http": "5.0.0-alpha.37"
4444
},
4545
"devDependencies": {
4646
"@types/node": "16.11.59",

clients/algoliasearch-client-javascript/packages/client-analytics/src/analyticsClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ import type { GetTopHitsResponse } from '../model/getTopHitsResponse';
5555
import type { GetTopSearchesResponse } from '../model/getTopSearchesResponse';
5656
import type { GetUsersCountResponse } from '../model/getUsersCountResponse';
5757

58-
export const apiClientVersion = '5.0.0-alpha.36';
58+
export const apiClientVersion = '5.0.0-alpha.37';
5959

6060
export const REGIONS = ['de', 'us'] as const;
6161
export type Region = typeof REGIONS[number];

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@algolia/client-common",
3-
"version": "5.0.0-alpha.36",
3+
"version": "5.0.0-alpha.37",
44
"description": "Common package for the Algolia JavaScript API client.",
55
"repository": "algolia/algoliasearch-client-javascript",
66
"license": "MIT",

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@algolia/client-insights",
3-
"version": "5.0.0-alpha.36",
3+
"version": "5.0.0-alpha.37",
44
"description": "JavaScript client for client-insights",
55
"repository": "algolia/algoliasearch-client-javascript",
66
"license": "MIT",
@@ -38,9 +38,9 @@
3838
"clean": "rm -rf ./dist || true"
3939
},
4040
"dependencies": {
41-
"@algolia/client-common": "5.0.0-alpha.36",
42-
"@algolia/requester-browser-xhr": "5.0.0-alpha.36",
43-
"@algolia/requester-node-http": "5.0.0-alpha.36"
41+
"@algolia/client-common": "5.0.0-alpha.37",
42+
"@algolia/requester-browser-xhr": "5.0.0-alpha.37",
43+
"@algolia/requester-node-http": "5.0.0-alpha.37"
4444
},
4545
"devDependencies": {
4646
"@types/node": "16.11.59",

clients/algoliasearch-client-javascript/packages/client-insights/src/insightsClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import type {
2323
import type { InsightEvents } from '../model/insightEvents';
2424
import type { PushEventsResponse } from '../model/pushEventsResponse';
2525

26-
export const apiClientVersion = '5.0.0-alpha.36';
26+
export const apiClientVersion = '5.0.0-alpha.37';
2727

2828
export const REGIONS = ['de', 'us'] as const;
2929
export type Region = typeof REGIONS[number];

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@algolia/client-personalization",
3-
"version": "5.0.0-alpha.36",
3+
"version": "5.0.0-alpha.37",
44
"description": "JavaScript client for client-personalization",
55
"repository": "algolia/algoliasearch-client-javascript",
66
"license": "MIT",
@@ -38,9 +38,9 @@
3838
"clean": "rm -rf ./dist || true"
3939
},
4040
"dependencies": {
41-
"@algolia/client-common": "5.0.0-alpha.36",
42-
"@algolia/requester-browser-xhr": "5.0.0-alpha.36",
43-
"@algolia/requester-node-http": "5.0.0-alpha.36"
41+
"@algolia/client-common": "5.0.0-alpha.37",
42+
"@algolia/requester-browser-xhr": "5.0.0-alpha.37",
43+
"@algolia/requester-node-http": "5.0.0-alpha.37"
4444
},
4545
"devDependencies": {
4646
"@types/node": "16.11.59",

clients/algoliasearch-client-javascript/packages/client-personalization/src/personalizationClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import type { GetUserTokenResponse } from '../model/getUserTokenResponse';
2727
import type { PersonalizationStrategyParams } from '../model/personalizationStrategyParams';
2828
import type { SetPersonalizationStrategyResponse } from '../model/setPersonalizationStrategyResponse';
2929

30-
export const apiClientVersion = '5.0.0-alpha.36';
30+
export const apiClientVersion = '5.0.0-alpha.37';
3131

3232
export const REGIONS = ['eu', 'us'] as const;
3333
export type Region = typeof REGIONS[number];

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@algolia/client-query-suggestions",
3-
"version": "5.0.0-alpha.36",
3+
"version": "5.0.0-alpha.37",
44
"description": "JavaScript client for client-query-suggestions",
55
"repository": "algolia/algoliasearch-client-javascript",
66
"license": "MIT",
@@ -38,9 +38,9 @@
3838
"clean": "rm -rf ./dist || true"
3939
},
4040
"dependencies": {
41-
"@algolia/client-common": "5.0.0-alpha.36",
42-
"@algolia/requester-browser-xhr": "5.0.0-alpha.36",
43-
"@algolia/requester-node-http": "5.0.0-alpha.36"
41+
"@algolia/client-common": "5.0.0-alpha.37",
42+
"@algolia/requester-browser-xhr": "5.0.0-alpha.37",
43+
"@algolia/requester-node-http": "5.0.0-alpha.37"
4444
},
4545
"devDependencies": {
4646
"@types/node": "16.11.59",

clients/algoliasearch-client-javascript/packages/client-query-suggestions/src/querySuggestionsClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import type { QuerySuggestionsIndexWithIndexParam } from '../model/querySuggesti
3131
import type { Status } from '../model/status';
3232
import type { SuccessResponse } from '../model/successResponse';
3333

34-
export const apiClientVersion = '5.0.0-alpha.36';
34+
export const apiClientVersion = '5.0.0-alpha.37';
3535

3636
export const REGIONS = ['eu', 'us'] as const;
3737
export type Region = typeof REGIONS[number];

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@algolia/client-search",
3-
"version": "5.0.0-alpha.36",
3+
"version": "5.0.0-alpha.37",
44
"description": "JavaScript client for client-search",
55
"repository": "algolia/algoliasearch-client-javascript",
66
"license": "MIT",
@@ -38,9 +38,9 @@
3838
"clean": "rm -rf ./dist || true"
3939
},
4040
"dependencies": {
41-
"@algolia/client-common": "5.0.0-alpha.36",
42-
"@algolia/requester-browser-xhr": "5.0.0-alpha.36",
43-
"@algolia/requester-node-http": "5.0.0-alpha.36"
41+
"@algolia/client-common": "5.0.0-alpha.37",
42+
"@algolia/requester-browser-xhr": "5.0.0-alpha.37",
43+
"@algolia/requester-node-http": "5.0.0-alpha.37"
4444
},
4545
"devDependencies": {
4646
"@types/node": "16.11.59",

clients/algoliasearch-client-javascript/packages/client-search/src/searchClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ import type { UpdatedAtWithObjectIdResponse } from '../model/updatedAtWithObject
118118
import type { UpdatedRuleResponse } from '../model/updatedRuleResponse';
119119
import type { UserId } from '../model/userId';
120120

121-
export const apiClientVersion = '5.0.0-alpha.36';
121+
export const apiClientVersion = '5.0.0-alpha.37';
122122

123123
function getDefaultHosts(appId: string): Host[] {
124124
return (

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

Lines changed: 0 additions & 8 deletions
This file was deleted.

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

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
22

33
import type { ActionType } from './actionType';
4-
import type { AuthenticationTypeWithNone } from './authenticationTypeWithNone';
4+
import type { AuthenticationType } from './authenticationType';
55
import type { AuthenticationUpdate } from './authenticationUpdate';
66
import type { DestinationType } from './destinationType';
77
import type { DestinationUpdate } from './destinationUpdate';
8-
import type { Platform } from './platform';
8+
import type { PlatformWithNone } from './platformWithNone';
99
import type { SourceType } from './sourceType';
1010
import type { SourceUpdate } from './sourceUpdate';
1111
import type { TaskUpdate } from './taskUpdate';
@@ -96,11 +96,11 @@ export type GetAuthenticationsProps = {
9696
/**
9797
* Which type the returned authentication should have. Can be a list of string separated with commas.
9898
*/
99-
type?: AuthenticationTypeWithNone[];
99+
type?: AuthenticationType[];
100100
/**
101101
* Which platform the returned authentication should have. Can be a list of string separated with commas.
102102
*/
103-
platform?: Platform[];
103+
platform?: PlatformWithNone[];
104104
};
105105

106106
/**
@@ -236,7 +236,7 @@ export type GetSourcesProps = {
236236
*/
237237
type?: SourceType[];
238238
/**
239-
* Which authenticationID the returned source should have. Can be a list of string separated with commas.
239+
* Which authenticationID the returned source should have. Can be a list of string separated with commas. Also supports \'none\' as a value to return sources that don\'t have any authentication.
240240
*/
241241
authenticationID?: string[];
242242
};
@@ -271,6 +271,10 @@ export type GetTasksProps = {
271271
* If the returned task should have its \'enabled\' property set to true.
272272
*/
273273
enabled?: boolean;
274+
/**
275+
* Which sourceID the returned task should have. Can be a list of string separated with commas.
276+
*/
277+
sourceID?: string[];
274278
/**
275279
* Which destinationID the returned task should have. Can be a list of string separated with commas.
276280
*/

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ export * from './authentication';
1111
export * from './authenticationCreate';
1212
export * from './authenticationCreateResponse';
1313
export * from './authenticationInput';
14-
export * from './authenticationNone';
1514
export * from './authenticationType';
16-
export * from './authenticationTypeWithNone';
1715
export * from './authenticationUpdate';
1816
export * from './authenticationUpdateResponse';
1917
export * from './authenticationWithInput';
@@ -39,6 +37,8 @@ export * from './listTasksResponse';
3937
export * from './methodType';
4038
export * from './pagination';
4139
export * from './platform';
40+
export * from './platformNone';
41+
export * from './platformWithNone';
4242
export * from './run';
4343
export * from './runListResponse';
4444
export * from './runOutcome';
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
22

3-
export type AuthenticationNone = 'none';
3+
export type PlatformNone = 'none';
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2+
3+
import type { Platform } from './platform';
4+
import type { PlatformNone } from './platformNone';
5+
6+
export type PlatformWithNone = Platform | PlatformNone;

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@algolia/ingestion",
3-
"version": "1.0.0-alpha.10",
3+
"version": "1.0.0-alpha.11",
44
"description": "JavaScript client for ingestion",
55
"repository": "algolia/algoliasearch-client-javascript",
66
"license": "MIT",
@@ -38,9 +38,9 @@
3838
"clean": "rm -rf ./dist || true"
3939
},
4040
"dependencies": {
41-
"@algolia/client-common": "5.0.0-alpha.36",
42-
"@algolia/requester-browser-xhr": "5.0.0-alpha.36",
43-
"@algolia/requester-node-http": "5.0.0-alpha.36"
41+
"@algolia/client-common": "5.0.0-alpha.37",
42+
"@algolia/requester-browser-xhr": "5.0.0-alpha.37",
43+
"@algolia/requester-node-http": "5.0.0-alpha.37"
4444
},
4545
"devDependencies": {
4646
"@types/node": "16.11.59",

clients/algoliasearch-client-javascript/packages/ingestion/src/ingestionClient.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ import type { TaskCreate } from '../model/taskCreate';
6767
import type { TaskCreateResponse } from '../model/taskCreateResponse';
6868
import type { TaskUpdateResponse } from '../model/taskUpdateResponse';
6969

70-
export const apiClientVersion = '1.0.0-alpha.10';
70+
export const apiClientVersion = '1.0.0-alpha.11';
7171

7272
export const REGIONS = ['us'] as const;
7373
export type Region = typeof REGIONS[number];
@@ -896,7 +896,7 @@ export function createIngestionClient({
896896
* @param getSources.itemsPerPage - The number of items per page to return.
897897
* @param getSources.page - The page number to fetch, starting at 1.
898898
* @param getSources.type - Which type the returned source should have. Can be a list of string separated with commas.
899-
* @param getSources.authenticationID - Which authenticationID the returned source should have. Can be a list of string separated with commas.
899+
* @param getSources.authenticationID - Which authenticationID the returned source should have. Can be a list of string separated with commas. Also supports \'none\' as a value to return sources that don\'t have any authentication.
900900
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
901901
*/
902902
getSources(
@@ -977,6 +977,7 @@ export function createIngestionClient({
977977
* @param getTasks.page - The page number to fetch, starting at 1.
978978
* @param getTasks.action - Which action the returned task should have. Can be a list of string separated with commas.
979979
* @param getTasks.enabled - If the returned task should have its \'enabled\' property set to true.
980+
* @param getTasks.sourceID - Which sourceID the returned task should have. Can be a list of string separated with commas.
980981
* @param getTasks.destinationID - Which destinationID the returned task should have. Can be a list of string separated with commas.
981982
* @param getTasks.triggerType - Which trigger type the returned task should have. Can be a list of string separated with commas.
982983
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -987,6 +988,7 @@ export function createIngestionClient({
987988
page,
988989
action,
989990
enabled,
991+
sourceID,
990992
destinationID,
991993
triggerType,
992994
}: GetTasksProps = {},
@@ -1012,6 +1014,10 @@ export function createIngestionClient({
10121014
queryParameters.enabled = enabled.toString();
10131015
}
10141016

1017+
if (sourceID !== undefined) {
1018+
queryParameters.sourceID = sourceID.toString();
1019+
}
1020+
10151021
if (destinationID !== undefined) {
10161022
queryParameters.destinationID = destinationID.toString();
10171023
}

0 commit comments

Comments
 (0)