File tree 4 files changed +3
-5
lines changed
4 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export type Source = {
13
13
14
14
name : string ;
15
15
16
- input : SourceInput ;
16
+ input ? : SourceInput ;
17
17
18
18
/**
19
19
* Universally unique identifier (UUID) of an authentication resource.
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export type SourceCreate = {
11
11
*/
12
12
name : string ;
13
13
14
- input : SourceInput ;
14
+ input ? : SourceInput ;
15
15
16
16
/**
17
17
* Universally unique identifier (UUID) of an authentication resource.
Original file line number Diff line number Diff line change @@ -8,5 +8,6 @@ export type SourceType =
8
8
| 'docker'
9
9
| 'ga4BigqueryExport'
10
10
| 'json'
11
+ | 'push'
11
12
| 'sfcc'
12
13
| 'shopify' ;
Original file line number Diff line number Diff line change @@ -319,9 +319,6 @@ export function createIngestionClient({
319
319
if ( ! sourceCreate . name ) {
320
320
throw new Error ( 'Parameter `sourceCreate.name` is required when calling `createSource`.' ) ;
321
321
}
322
- if ( ! sourceCreate . input ) {
323
- throw new Error ( 'Parameter `sourceCreate.input` is required when calling `createSource`.' ) ;
324
- }
325
322
326
323
const requestPath = '/1/sources' ;
327
324
const headers : Headers = { } ;
You can’t perform that action at this time.
0 commit comments