Skip to content

Commit ffd9393

Browse files
authored
Merge branch 'main' into chore/update-platformtyype-naming
2 parents 7019540 + 7fb00d1 commit ffd9393

File tree

15 files changed

+201
-22
lines changed

15 files changed

+201
-22
lines changed

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

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

3+
- [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/)
4+
5+
## [4.0.0-SNAPSHOT](https://github.com/algolia/algoliasearch-client-java-2/compare/4.0.0-SNAPSHOT...4.0.0-SNAPSHOT)
6+
37
- [699fff2b](https://github.com/algolia/api-clients-automation/commit/699fff2b) fix(specs): fix method for task enable/disable status ([#1242](https://github.com/algolia/api-clients-automation/pull/1242)) by [@Fluf22](https://github.com/Fluf22/)
48

59
## [4.0.0-SNAPSHOT](https://github.com/algolia/algoliasearch-client-java-2/compare/4.0.0-SNAPSHOT...4.0.0-SNAPSHOT)

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.36](https://github.com/algolia/algoliasearch-client-javascript/compare/5.0.0-alpha.35...5.0.0-alpha.36)
2+
3+
- [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/)
4+
15
## [5.0.0-alpha.35](https://github.com/algolia/algoliasearch-client-javascript/compare/5.0.0-alpha.34...5.0.0-alpha.35)
26

37
- [699fff2b](https://github.com/algolia/api-clients-automation/commit/699fff2b) fix(specs): fix method for task enable/disable status ([#1242](https://github.com/algolia/api-clients-automation/pull/1242)) by [@Fluf22](https://github.com/Fluf22/)

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.35",
3+
"version": "5.0.0-alpha.36",
44
"description": "Common package for the Algolia JavaScript API client.",
55
"repository": "algolia/algoliasearch-client-javascript",
66
"license": "MIT",
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2+
3+
export type AuthenticationNone = 'none';
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2+
3+
import type { AuthenticationNone } from './authenticationNone';
4+
import type { AuthenticationType } from './authenticationType';
5+
6+
export type AuthenticationTypeWithNone =
7+
| AuthenticationNone
8+
| AuthenticationType;

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

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
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';
45
import type { AuthenticationUpdate } from './authenticationUpdate';
6+
import type { DestinationType } from './destinationType';
57
import type { DestinationUpdate } from './destinationUpdate';
8+
import type { PlatformType } from './platformType';
9+
import type { SourceType } from './sourceType';
610
import type { SourceUpdate } from './sourceUpdate';
711
import type { TaskUpdate } from './taskUpdate';
812
import type { TriggerType } from './triggerType';
@@ -89,6 +93,14 @@ export type GetAuthenticationsProps = {
8993
* The page number to fetch, starting at 1.
9094
*/
9195
page?: number;
96+
/**
97+
* Which type the returned authentication should have. Can be a list of string separated with commas.
98+
*/
99+
type?: AuthenticationTypeWithNone[];
100+
/**
101+
* Which platform the returned authentication should have. Can be a list of string separated with commas.
102+
*/
103+
platform?: PlatformType[];
92104
};
93105

94106
/**
@@ -113,6 +125,14 @@ export type GetDestinationsProps = {
113125
* The page number to fetch, starting at 1.
114126
*/
115127
page?: number;
128+
/**
129+
* Which type the returned destination should have. Can be a list of string separated with commas.
130+
*/
131+
type?: DestinationType[];
132+
/**
133+
* Which authenticationID the returned destination should have. Can be a list of string separated with commas.
134+
*/
135+
authenticationID?: string[];
116136
};
117137

118138
/**
@@ -211,6 +231,14 @@ export type GetSourcesProps = {
211231
* The page number to fetch, starting at 1.
212232
*/
213233
page?: number;
234+
/**
235+
* Which type the returned source should have. Can be a list of string separated with commas.
236+
*/
237+
type?: SourceType[];
238+
/**
239+
* Which authenticationID the returned source should have. Can be a list of string separated with commas.
240+
*/
241+
authenticationID?: string[];
214242
};
215243

216244
/**

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ export * from './authentication';
1111
export * from './authenticationCreate';
1212
export * from './authenticationCreateResponse';
1313
export * from './authenticationInput';
14+
export * from './authenticationNone';
1415
export * from './authenticationType';
16+
export * from './authenticationTypeWithNone';
1517
export * from './authenticationUpdate';
1618
export * from './authenticationUpdateResponse';
1719
export * from './authenticationWithInput';

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

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -536,10 +536,12 @@ export function createIngestionClient({
536536
* @param getAuthentications - The getAuthentications object.
537537
* @param getAuthentications.itemsPerPage - The number of items per page to return.
538538
* @param getAuthentications.page - The page number to fetch, starting at 1.
539+
* @param getAuthentications.type - Which type the returned authentication should have. Can be a list of string separated with commas.
540+
* @param getAuthentications.platform - Which platform the returned authentication should have. Can be a list of string separated with commas.
539541
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
540542
*/
541543
getAuthentications(
542-
{ itemsPerPage, page }: GetAuthenticationsProps = {},
544+
{ itemsPerPage, page, type, platform }: GetAuthenticationsProps = {},
543545
requestOptions: RequestOptions | undefined = undefined
544546
): Promise<ListAuthenticationsResponse> {
545547
const requestPath = '/1/authentications';
@@ -554,6 +556,14 @@ export function createIngestionClient({
554556
queryParameters.page = page.toString();
555557
}
556558

559+
if (type !== undefined) {
560+
queryParameters.type = type.toString();
561+
}
562+
563+
if (platform !== undefined) {
564+
queryParameters.platform = platform.toString();
565+
}
566+
557567
const request: Request = {
558568
method: 'GET',
559569
path: requestPath,
@@ -606,10 +616,12 @@ export function createIngestionClient({
606616
* @param getDestinations - The getDestinations object.
607617
* @param getDestinations.itemsPerPage - The number of items per page to return.
608618
* @param getDestinations.page - The page number to fetch, starting at 1.
619+
* @param getDestinations.type - Which type the returned destination should have. Can be a list of string separated with commas.
620+
* @param getDestinations.authenticationID - Which authenticationID the returned destination should have. Can be a list of string separated with commas.
609621
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
610622
*/
611623
getDestinations(
612-
{ itemsPerPage, page }: GetDestinationsProps = {},
624+
{ itemsPerPage, page, type, authenticationID }: GetDestinationsProps = {},
613625
requestOptions: RequestOptions | undefined = undefined
614626
): Promise<ListDestinationsResponse> {
615627
const requestPath = '/1/destinations';
@@ -624,6 +636,14 @@ export function createIngestionClient({
624636
queryParameters.page = page.toString();
625637
}
626638

639+
if (type !== undefined) {
640+
queryParameters.type = type.toString();
641+
}
642+
643+
if (authenticationID !== undefined) {
644+
queryParameters.authenticationID = authenticationID.toString();
645+
}
646+
627647
const request: Request = {
628648
method: 'GET',
629649
path: requestPath,
@@ -875,10 +895,12 @@ export function createIngestionClient({
875895
* @param getSources - The getSources object.
876896
* @param getSources.itemsPerPage - The number of items per page to return.
877897
* @param getSources.page - The page number to fetch, starting at 1.
898+
* @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.
878900
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
879901
*/
880902
getSources(
881-
{ itemsPerPage, page }: GetSourcesProps = {},
903+
{ itemsPerPage, page, type, authenticationID }: GetSourcesProps = {},
882904
requestOptions: RequestOptions | undefined = undefined
883905
): Promise<ListSourcesResponse> {
884906
const requestPath = '/1/sources';
@@ -893,6 +915,14 @@ export function createIngestionClient({
893915
queryParameters.page = page.toString();
894916
}
895917

918+
if (type !== undefined) {
919+
queryParameters.type = type.toString();
920+
}
921+
922+
if (authenticationID !== undefined) {
923+
queryParameters.authenticationID = authenticationID.toString();
924+
}
925+
896926
const request: Request = {
897927
method: 'GET',
898928
path: requestPath,

clients/algoliasearch-client-javascript/packages/requester-browser-xhr/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@algolia/requester-browser-xhr",
3-
"version": "5.0.0-alpha.35",
3+
"version": "5.0.0-alpha.36",
44
"description": "Promise-based request library for browser using xhr.",
55
"repository": "algolia/algoliasearch-client-javascript",
66
"license": "MIT",
@@ -19,7 +19,7 @@
1919
"test": "jest"
2020
},
2121
"dependencies": {
22-
"@algolia/client-common": "5.0.0-alpha.35"
22+
"@algolia/client-common": "5.0.0-alpha.36"
2323
},
2424
"devDependencies": {
2525
"@types/jest": "28.1.8",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@algolia/requester-fetch",
3-
"version": "5.0.0-alpha.35",
3+
"version": "5.0.0-alpha.36",
44
"description": "Promise-based request library using Fetch.",
55
"repository": "algolia/algoliasearch-client-javascript",
66
"license": "MIT",
@@ -19,7 +19,7 @@
1919
"test": "jest"
2020
},
2121
"dependencies": {
22-
"@algolia/client-common": "5.0.0-alpha.35"
22+
"@algolia/client-common": "5.0.0-alpha.36"
2323
},
2424
"devDependencies": {
2525
"@types/jest": "28.1.8",

clients/algoliasearch-client-javascript/packages/requester-node-http/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@algolia/requester-node-http",
3-
"version": "5.0.0-alpha.35",
3+
"version": "5.0.0-alpha.36",
44
"description": "Promise-based request library for node using the native http module.",
55
"repository": "algolia/algoliasearch-client-javascript",
66
"license": "MIT",
@@ -19,7 +19,7 @@
1919
"test": "jest"
2020
},
2121
"dependencies": {
22-
"@algolia/client-common": "5.0.0-alpha.35"
22+
"@algolia/client-common": "5.0.0-alpha.36"
2323
},
2424
"devDependencies": {
2525
"@types/jest": "28.1.8",

clients/algoliasearch-client-php/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [4.0.0-alpha.35](https://github.com/algolia/algoliasearch-client-php/compare/4.0.0-alpha.34...4.0.0-alpha.35)
2+
3+
- [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/)
4+
15
## [4.0.0-alpha.34](https://github.com/algolia/algoliasearch-client-php/compare/4.0.0-alpha.33...4.0.0-alpha.34)
26

37
- [699fff2b](https://github.com/algolia/api-clients-automation/commit/699fff2b) fix(specs): fix method for task enable/disable status ([#1242](https://github.com/algolia/api-clients-automation/pull/1242)) by [@Fluf22](https://github.com/Fluf22/)

config/clients.config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"folder": "clients/algoliasearch-client-javascript",
1616
"npmNamespace": "@algolia",
1717
"gitRepoId": "algoliasearch-client-javascript",
18-
"utilsPackageVersion": "5.0.0-alpha.35",
18+
"utilsPackageVersion": "5.0.0-alpha.36",
1919
"modelFolder": "model",
2020
"apiFolder": "src",
2121
"customGenerator": "algolia-javascript",
@@ -27,7 +27,7 @@
2727
"php": {
2828
"folder": "clients/algoliasearch-client-php",
2929
"gitRepoId": "algoliasearch-client-php",
30-
"packageVersion": "4.0.0-alpha.34",
30+
"packageVersion": "4.0.0-alpha.35",
3131
"modelFolder": "lib/Model",
3232
"customGenerator": "algolia-php",
3333
"apiFolder": "lib/Api",

config/openapitools.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,63 +6,63 @@
66
"output": "#{cwd}/clients/algoliasearch-client-javascript/packages/algoliasearch",
77
"reservedWordsMappings": "queryParameters=queryParameters,requestOptions=requestOptions,delete=delete",
88
"additionalProperties": {
9-
"packageVersion": "5.0.0-alpha.35"
9+
"packageVersion": "5.0.0-alpha.36"
1010
}
1111
},
1212
"javascript-search": {
1313
"output": "#{cwd}/clients/algoliasearch-client-javascript/packages/client-search",
1414
"reservedWordsMappings": "queryParameters=queryParameters,requestOptions=requestOptions,delete=delete",
1515
"additionalProperties": {
16-
"packageVersion": "5.0.0-alpha.35"
16+
"packageVersion": "5.0.0-alpha.36"
1717
}
1818
},
1919
"javascript-recommend": {
2020
"output": "#{cwd}/clients/algoliasearch-client-javascript/packages/recommend",
2121
"reservedWordsMappings": "queryParameters=queryParameters,delete=delete",
2222
"additionalProperties": {
23-
"packageVersion": "5.0.0-alpha.35"
23+
"packageVersion": "5.0.0-alpha.36"
2424
}
2525
},
2626
"javascript-personalization": {
2727
"output": "#{cwd}/clients/algoliasearch-client-javascript/packages/client-personalization",
2828
"additionalProperties": {
29-
"packageVersion": "5.0.0-alpha.35"
29+
"packageVersion": "5.0.0-alpha.36"
3030
}
3131
},
3232
"javascript-analytics": {
3333
"output": "#{cwd}/clients/algoliasearch-client-javascript/packages/client-analytics",
3434
"additionalProperties": {
35-
"packageVersion": "5.0.0-alpha.35"
35+
"packageVersion": "5.0.0-alpha.36"
3636
}
3737
},
3838
"javascript-insights": {
3939
"output": "#{cwd}/clients/algoliasearch-client-javascript/packages/client-insights",
4040
"additionalProperties": {
41-
"packageVersion": "5.0.0-alpha.35"
41+
"packageVersion": "5.0.0-alpha.36"
4242
}
4343
},
4444
"javascript-abtesting": {
4545
"output": "#{cwd}/clients/algoliasearch-client-javascript/packages/client-abtesting",
4646
"additionalProperties": {
47-
"packageVersion": "5.0.0-alpha.35"
47+
"packageVersion": "5.0.0-alpha.36"
4848
}
4949
},
5050
"javascript-query-suggestions": {
5151
"output": "#{cwd}/clients/algoliasearch-client-javascript/packages/client-query-suggestions",
5252
"additionalProperties": {
53-
"packageVersion": "5.0.0-alpha.35"
53+
"packageVersion": "5.0.0-alpha.36"
5454
}
5555
},
5656
"javascript-predict": {
5757
"output": "#{cwd}/clients/algoliasearch-client-javascript/packages/predict",
5858
"additionalProperties": {
59-
"packageVersion": "1.0.0-alpha.35"
59+
"packageVersion": "1.0.0-alpha.36"
6060
}
6161
},
6262
"javascript-ingestion": {
6363
"output": "#{cwd}/clients/algoliasearch-client-javascript/packages/ingestion",
6464
"additionalProperties": {
65-
"packageVersion": "1.0.0-alpha.9"
65+
"packageVersion": "1.0.0-alpha.10"
6666
}
6767
},
6868
"java-search": {

0 commit comments

Comments
 (0)