File tree Expand file tree Collapse file tree 4 files changed +2
-14
lines changed
clients/algoliasearch-client-javascript/packages/ingestion Expand file tree Collapse file tree 4 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -19,5 +19,5 @@ export type DestinationCreate = {
19
19
/**
20
20
* The authentication UUID.
21
21
*/
22
- authenticationID : string ;
22
+ authenticationID ? : string ;
23
23
} ;
Original file line number Diff line number Diff line change @@ -13,5 +13,5 @@ export type SourceCreate = {
13
13
/**
14
14
* The authentication UUID.
15
15
*/
16
- authenticationID : string ;
16
+ authenticationID ? : string ;
17
17
} ;
Original file line number Diff line number Diff line change @@ -269,11 +269,6 @@ export function createIngestionClient({
269
269
'Parameter `destinationCreate.input` is required when calling `createDestination`.'
270
270
) ;
271
271
}
272
- if ( ! destinationCreate . authenticationID ) {
273
- throw new Error (
274
- 'Parameter `destinationCreate.authenticationID` is required when calling `createDestination`.'
275
- ) ;
276
- }
277
272
278
273
const requestPath = '/1/destinations' ;
279
274
const headers : Headers = { } ;
@@ -322,11 +317,6 @@ export function createIngestionClient({
322
317
'Parameter `sourceCreate.input` is required when calling `createSource`.'
323
318
) ;
324
319
}
325
- if ( ! sourceCreate . authenticationID ) {
326
- throw new Error (
327
- 'Parameter `sourceCreate.authenticationID` is required when calling `createSource`.'
328
- ) ;
329
- }
330
320
331
321
const requestPath = '/1/sources' ;
332
322
const headers : Headers = { } ;
Original file line number Diff line number Diff line change @@ -636,7 +636,6 @@ components:
636
636
- type
637
637
- name
638
638
- input
639
- - authenticationID
640
639
DestinationCreateResponse :
641
640
type : object
642
641
additionalProperties : false
@@ -841,7 +840,6 @@ components:
841
840
- type
842
841
- name
843
842
- input
844
- - authenticationID
845
843
SourceCreateResponse :
846
844
type : object
847
845
additionalProperties : false
You can’t perform that action at this time.
0 commit comments