File tree Expand file tree Collapse file tree 3 files changed +2
-12
lines changed Expand file tree Collapse file tree 3 files changed +2
-12
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 = { } ;
You can’t perform that action at this time.
0 commit comments