Skip to content

Commit abf853b

Browse files
chore: generated code for commit 5d1aeb8. [skip ci]
Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 5d1aeb8 commit abf853b

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

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

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

33
import type { AuthenticationType } from './authenticationType';
4-
import type { PlatformType } from './platformType';
4+
import type { Platform } from './platform';
55

66
export type Authentication = {
77
authenticationID: string;
@@ -10,7 +10,7 @@ export type Authentication = {
1010

1111
name: string;
1212

13-
platform?: PlatformType;
13+
platform?: Platform;
1414

1515
/**
1616
* Date of creation (RFC3339 format).

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
import type { AuthInput } from './authInput';
44
import type { AuthenticationType } from './authenticationType';
5-
import type { PlatformType } from './platformType';
5+
import type { Platform } from './platform';
66

77
export type AuthenticationCreate = {
88
type: AuthenticationType;
99

1010
name: string;
1111

12-
platform?: PlatformType;
12+
platform?: Platform;
1313

1414
input: AuthInput;
1515
};

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
import type { AuthInput } from './authInput';
44
import type { AuthenticationType } from './authenticationType';
5-
import type { PlatformType } from './platformType';
5+
import type { Platform } from './platform';
66

77
export type AuthenticationUpdate = {
88
type?: AuthenticationType;
99

1010
name?: string;
1111

12-
platform?: PlatformType;
12+
platform?: Platform;
1313

1414
input?: AuthInput;
1515
};

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type { AuthenticationTypeWithNone } from './authenticationTypeWithNone';
55
import type { AuthenticationUpdate } from './authenticationUpdate';
66
import type { DestinationType } from './destinationType';
77
import type { DestinationUpdate } from './destinationUpdate';
8-
import type { PlatformType } from './platformType';
8+
import type { Platform } from './platform';
99
import type { SourceType } from './sourceType';
1010
import type { SourceUpdate } from './sourceUpdate';
1111
import type { TaskUpdate } from './taskUpdate';
@@ -100,7 +100,7 @@ export type GetAuthenticationsProps = {
100100
/**
101101
* Which platform the returned authentication should have. Can be a list of string separated with commas.
102102
*/
103-
platform?: PlatformType[];
103+
platform?: Platform[];
104104
};
105105

106106
/**

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export * from './listSourcesResponse';
3838
export * from './listTasksResponse';
3939
export * from './methodType';
4040
export * from './pagination';
41-
export * from './platformType';
41+
export * from './platform';
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 PlatformType = 'bigcommerce' | 'commercetools';
3+
export type Platform = 'bigcommerce' | 'commercetools';

specs/bundled/ingestion.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ components:
5454
schema:
5555
type: array
5656
items:
57-
$ref: '#/components/schemas/PlatformType'
57+
$ref: '#/components/schemas/Platform'
5858
example: commercetools,bigcommerce
5959
authenticationID:
6060
name: authenticationID
@@ -223,7 +223,7 @@ components:
223223
oneOf:
224224
- $ref: '#/components/schemas/AuthenticationType'
225225
- $ref: '#/components/schemas/AuthenticationNone'
226-
PlatformType:
226+
Platform:
227227
type: string
228228
enum:
229229
- bigcommerce
@@ -245,7 +245,7 @@ components:
245245
name:
246246
type: string
247247
platform:
248-
$ref: '#/components/schemas/PlatformType'
248+
$ref: '#/components/schemas/Platform'
249249
createdAt:
250250
$ref: '#/components/schemas/createdAt'
251251
updatedAt:
@@ -354,7 +354,7 @@ components:
354354
name:
355355
type: string
356356
platform:
357-
$ref: '#/components/schemas/PlatformType'
357+
$ref: '#/components/schemas/Platform'
358358
input:
359359
$ref: '#/components/schemas/AuthInput'
360360
required:
@@ -395,7 +395,7 @@ components:
395395
name:
396396
type: string
397397
platform:
398-
$ref: '#/components/schemas/PlatformType'
398+
$ref: '#/components/schemas/Platform'
399399
input:
400400
$ref: '#/components/schemas/AuthInput'
401401
AuthenticationUpdateResponse:

0 commit comments

Comments
 (0)