File tree Expand file tree Collapse file tree 4 files changed +3
-5
lines changed Expand file tree Collapse file tree 4 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export type Source = {
1313
1414 name : string ;
1515
16- input : SourceInput ;
16+ input ? : SourceInput ;
1717
1818 /**
1919 * 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 = {
1111 */
1212 name : string ;
1313
14- input : SourceInput ;
14+ input ? : SourceInput ;
1515
1616 /**
1717 * 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 =
88 | 'docker'
99 | 'ga4BigqueryExport'
1010 | 'json'
11+ | 'push'
1112 | 'sfcc'
1213 | 'shopify' ;
Original file line number Diff line number Diff line change @@ -319,9 +319,6 @@ export function createIngestionClient({
319319 if ( ! sourceCreate . name ) {
320320 throw new Error ( 'Parameter `sourceCreate.name` is required when calling `createSource`.' ) ;
321321 }
322- if ( ! sourceCreate . input ) {
323- throw new Error ( 'Parameter `sourceCreate.input` is required when calling `createSource`.' ) ;
324- }
325322
326323 const requestPath = '/1/sources' ;
327324 const headers : Headers = { } ;
You can’t perform that action at this time.
0 commit comments