Skip to content

Commit e236c61

Browse files
authored
Merge branch 'main' into chore/renovateBaseBranch
2 parents 8d1baa4 + 1a7f561 commit e236c61

File tree

50 files changed

+309
-219
lines changed

Some content is hidden

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

50 files changed

+309
-219
lines changed

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

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

3+
- [466cc0b3](https://github.com/algolia/api-clients-automation/commit/466cc0b3) fix(specs): remove input from auth list ([#1229](https://github.com/algolia/api-clients-automation/pull/1229)) by [@millotp](https://github.com/millotp/)
4+
- [28d82603](https://github.com/algolia/api-clients-automation/commit/28d82603) fix(specs): authenticationID is not required in source and destination ([#1203](https://github.com/algolia/api-clients-automation/pull/1203)) by [@morganleroi](https://github.com/morganleroi/)
5+
- [9acdc96b](https://github.com/algolia/api-clients-automation/commit/9acdc96b) fix(specs): move lastRun and nextRun to task.trigger ([#1228](https://github.com/algolia/api-clients-automation/pull/1228)) by [@millotp](https://github.com/millotp/)
6+
- [8fc33195](https://github.com/algolia/api-clients-automation/commit/8fc33195) fix(specs): make enabled nullable ([#1212](https://github.com/algolia/api-clients-automation/pull/1212)) by [@kai687](https://github.com/kai687/)
7+
8+
## [4.0.0-SNAPSHOT](https://github.com/algolia/algoliasearch-client-java-2/compare/4.0.0-SNAPSHOT...4.0.0-SNAPSHOT)
9+
310
- [75c9a862](https://github.com/algolia/api-clients-automation/commit/75c9a862) fix(specs): numberOfPendingTasks is plural ([#1211](https://github.com/algolia/api-clients-automation/pull/1211)) by [@kai687](https://github.com/kai687/)
411
- [e77a46b9](https://github.com/algolia/api-clients-automation/commit/e77a46b9) fix(specs): example should be integer ([#1210](https://github.com/algolia/api-clients-automation/pull/1210)) by [@kai687](https://github.com/kai687/)
512

clients/algoliasearch-client-javascript/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [5.0.0-alpha.32](https://github.com/algolia/algoliasearch-client-javascript/compare/5.0.0-alpha.31...5.0.0-alpha.32)
2+
3+
- [466cc0b3](https://github.com/algolia/api-clients-automation/commit/466cc0b3) fix(specs): remove input from auth list ([#1229](https://github.com/algolia/api-clients-automation/pull/1229)) by [@millotp](https://github.com/millotp/)
4+
- [28d82603](https://github.com/algolia/api-clients-automation/commit/28d82603) fix(specs): authenticationID is not required in source and destination ([#1203](https://github.com/algolia/api-clients-automation/pull/1203)) by [@morganleroi](https://github.com/morganleroi/)
5+
- [9acdc96b](https://github.com/algolia/api-clients-automation/commit/9acdc96b) fix(specs): move lastRun and nextRun to task.trigger ([#1228](https://github.com/algolia/api-clients-automation/pull/1228)) by [@millotp](https://github.com/millotp/)
6+
- [8fc33195](https://github.com/algolia/api-clients-automation/commit/8fc33195) fix(specs): make enabled nullable ([#1212](https://github.com/algolia/api-clients-automation/pull/1212)) by [@kai687](https://github.com/kai687/)
7+
18
## [5.0.0-alpha.31](https://github.com/algolia/algoliasearch-client-javascript/compare/5.0.0-alpha.30...5.0.0-alpha.31)
29

310
- [75c9a862](https://github.com/algolia/api-clients-automation/commit/75c9a862) fix(specs): numberOfPendingTasks is plural ([#1211](https://github.com/algolia/api-clients-automation/pull/1211)) by [@kai687](https://github.com/kai687/)

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.31';
25+
export const apiClientVersion = '5.0.0-alpha.32';
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.31",
3+
"version": "5.0.0-alpha.32",
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.31",
63-
"@algolia/client-analytics": "5.0.0-alpha.31",
64-
"@algolia/client-common": "5.0.0-alpha.31",
65-
"@algolia/client-personalization": "5.0.0-alpha.31",
66-
"@algolia/client-search": "5.0.0-alpha.31",
67-
"@algolia/requester-browser-xhr": "5.0.0-alpha.31",
68-
"@algolia/requester-node-http": "5.0.0-alpha.31"
62+
"@algolia/client-abtesting": "5.0.0-alpha.32",
63+
"@algolia/client-analytics": "5.0.0-alpha.32",
64+
"@algolia/client-common": "5.0.0-alpha.32",
65+
"@algolia/client-personalization": "5.0.0-alpha.32",
66+
"@algolia/client-search": "5.0.0-alpha.32",
67+
"@algolia/requester-browser-xhr": "5.0.0-alpha.32",
68+
"@algolia/requester-node-http": "5.0.0-alpha.32"
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.31",
3+
"version": "5.0.0-alpha.32",
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.31",
42-
"@algolia/requester-browser-xhr": "5.0.0-alpha.31",
43-
"@algolia/requester-node-http": "5.0.0-alpha.31"
41+
"@algolia/client-common": "5.0.0-alpha.32",
42+
"@algolia/requester-browser-xhr": "5.0.0-alpha.32",
43+
"@algolia/requester-node-http": "5.0.0-alpha.32"
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.31';
32+
export const apiClientVersion = '5.0.0-alpha.32';
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.31",
3+
"version": "5.0.0-alpha.32",
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.31",
42-
"@algolia/requester-browser-xhr": "5.0.0-alpha.31",
43-
"@algolia/requester-node-http": "5.0.0-alpha.31"
41+
"@algolia/client-common": "5.0.0-alpha.32",
42+
"@algolia/requester-browser-xhr": "5.0.0-alpha.32",
43+
"@algolia/requester-node-http": "5.0.0-alpha.32"
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.31';
58+
export const apiClientVersion = '5.0.0-alpha.32';
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.31",
3+
"version": "5.0.0-alpha.32",
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.31",
3+
"version": "5.0.0-alpha.32",
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.31",
42-
"@algolia/requester-browser-xhr": "5.0.0-alpha.31",
43-
"@algolia/requester-node-http": "5.0.0-alpha.31"
41+
"@algolia/client-common": "5.0.0-alpha.32",
42+
"@algolia/requester-browser-xhr": "5.0.0-alpha.32",
43+
"@algolia/requester-node-http": "5.0.0-alpha.32"
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.31';
26+
export const apiClientVersion = '5.0.0-alpha.32';
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.31",
3+
"version": "5.0.0-alpha.32",
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.31",
42-
"@algolia/requester-browser-xhr": "5.0.0-alpha.31",
43-
"@algolia/requester-node-http": "5.0.0-alpha.31"
41+
"@algolia/client-common": "5.0.0-alpha.32",
42+
"@algolia/requester-browser-xhr": "5.0.0-alpha.32",
43+
"@algolia/requester-node-http": "5.0.0-alpha.32"
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.31';
30+
export const apiClientVersion = '5.0.0-alpha.32';
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.31",
3+
"version": "5.0.0-alpha.32",
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.31",
42-
"@algolia/requester-browser-xhr": "5.0.0-alpha.31",
43-
"@algolia/requester-node-http": "5.0.0-alpha.31"
41+
"@algolia/client-common": "5.0.0-alpha.32",
42+
"@algolia/requester-browser-xhr": "5.0.0-alpha.32",
43+
"@algolia/requester-node-http": "5.0.0-alpha.32"
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.31';
34+
export const apiClientVersion = '5.0.0-alpha.32';
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.31",
3+
"version": "5.0.0-alpha.32",
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.31",
42-
"@algolia/requester-browser-xhr": "5.0.0-alpha.31",
43-
"@algolia/requester-node-http": "5.0.0-alpha.31"
41+
"@algolia/client-common": "5.0.0-alpha.32",
42+
"@algolia/requester-browser-xhr": "5.0.0-alpha.32",
43+
"@algolia/requester-node-http": "5.0.0-alpha.32"
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.31';
121+
export const apiClientVersion = '5.0.0-alpha.32';
122122

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ export type AuthOAuth = {
77

88
client_secret: string;
99

10-
scope: string;
10+
scope?: string;
1111
};

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

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

3-
import type { AuthInput } from './authInput';
43
import type { AuthenticationType } from './authenticationType';
54
import type { PlatformType } from './platformType';
65

@@ -13,8 +12,6 @@ export type Authentication = {
1312

1413
platform?: PlatformType;
1514

16-
input: AuthInput;
17-
1815
/**
1916
* Date of creation (RFC3339 format).
2017
*/
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2+
3+
import type { AuthInput } from './authInput';
4+
5+
export type AuthenticationInput = {
6+
input: AuthInput;
7+
};
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 { Authentication } from './authentication';
4+
import type { AuthenticationInput } from './authenticationInput';
5+
6+
export type AuthenticationWithInput = Authentication & AuthenticationInput;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ export type Destination = {
2222
*/
2323
updatedAt?: string;
2424

25-
authenticationID: string;
25+
authenticationID?: string;
2626
};

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ export * from './authOAuth';
1010
export * from './authentication';
1111
export * from './authenticationCreate';
1212
export * from './authenticationCreateResponse';
13+
export * from './authenticationInput';
1314
export * from './authenticationType';
1415
export * from './authenticationUpdate';
1516
export * from './authenticationUpdateResponse';
17+
export * from './authenticationWithInput';
1618
export * from './deleteResponse';
1719
export * from './destination';
1820
export * from './destinationCreate';
@@ -58,5 +60,6 @@ export * from './taskCreateResponse';
5860
export * from './taskUpdate';
5961
export * from './taskUpdateResponse';
6062
export * from './trigger';
63+
export * from './triggerInput';
6164
export * from './triggerType';
6265
export * from './clientMethodProps';

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export type Source = {
1212

1313
input: SourceInput;
1414

15-
authenticationID: string;
15+
authenticationID?: string;
1616

1717
/**
1818
* Date of creation (RFC3339 format).

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
export type SourceCommercetools = {
44
storeKeys?: string[];
55

6+
/**
7+
* Array of locales that must match the following pattern: ^[a-z]{2}(-[A-Z]{2})?$. For example [\"fr-FR\", \"en\"].
8+
*/
69
locales?: string[];
710

811
url: string;

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ export type Task = {
1616

1717
action: ActionType;
1818

19-
lastRun?: string;
20-
21-
nextRun?: string;
22-
2319
/**
2420
* Date of creation (RFC3339 format).
2521
*/

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
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 { Trigger } from './trigger';
4+
import type { TriggerInput } from './triggerInput';
55

66
export type TaskCreate = {
77
sourceID: string;
88

99
destinationID: string;
1010

11-
trigger: Trigger;
11+
trigger: TriggerInput;
1212

1313
action: ActionType;
1414

Lines changed: 2 additions & 2 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

3-
import type { Trigger } from './trigger';
3+
import type { TriggerInput } from './triggerInput';
44

55
export type TaskUpdate = {
66
destinationID?: string;
77

8-
trigger?: Trigger;
8+
trigger?: TriggerInput;
99

1010
enabled?: boolean;
1111
};

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,15 @@ import type { TriggerType } from './triggerType';
55
export type Trigger = {
66
type: TriggerType;
77

8-
frequency?: string;
8+
cron?: string;
9+
10+
/**
11+
* The last time the task ran (`scheduled` or `on-demand`).
12+
*/
13+
lastRun?: string;
14+
15+
/**
16+
* The next scheduled run for the task (`scheduled`).
17+
*/
18+
nextRun?: string;
919
};

0 commit comments

Comments
 (0)