File tree Expand file tree Collapse file tree 6 files changed +34
-2
lines changed
clients/algoliasearch-client-javascript/packages/ingestion/model Expand file tree Collapse file tree 6 files changed +34
-2
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ export * from './listDestinationsResponse';
32
32
export * from './listEventsResponse' ;
33
33
export * from './listSourcesResponse' ;
34
34
export * from './listTasksResponse' ;
35
+ export * from './methodType' ;
35
36
export * from './pagination' ;
36
37
export * from './platformType' ;
37
38
export * from './run' ;
@@ -47,6 +48,7 @@ export * from './sourceCommercetools';
47
48
export * from './sourceCreate' ;
48
49
export * from './sourceCreateResponse' ;
49
50
export * from './sourceInput' ;
51
+ export * from './sourceJson' ;
50
52
export * from './sourceType' ;
51
53
export * from './sourceUpdate' ;
52
54
export * from './sourceUpdateResponse' ;
Original file line number Diff line number Diff line change
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ export type MethodType = 'GET' | 'POST' ;
Original file line number Diff line number Diff line change 2
2
3
3
import type { SourceBigCommerce } from './sourceBigCommerce' ;
4
4
import type { SourceCommercetools } from './sourceCommercetools' ;
5
+ import type { SourceJson } from './sourceJson' ;
5
6
6
- export type SourceInput = SourceBigCommerce | SourceCommercetools ;
7
+ export type SourceInput = SourceBigCommerce | SourceCommercetools | SourceJson ;
Original file line number Diff line number Diff line change
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { MethodType } from './methodType' ;
4
+
5
+ export type SourceJson = {
6
+ url : string ;
7
+
8
+ method ?: MethodType ;
9
+ } ;
Original file line number Diff line number Diff line change 1
1
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
2
3
- export type SourceType = 'bigcommerce' | 'commercetools' ;
3
+ export type SourceType = 'bigcommerce' | 'commercetools' | 'json' ;
Original file line number Diff line number Diff line change @@ -388,6 +388,7 @@ components:
388
388
enum :
389
389
- bigcommerce
390
390
- commercetools
391
+ - json
391
392
SourceCommercetools :
392
393
type : object
393
394
additionalProperties : false
@@ -418,10 +419,26 @@ components:
418
419
type : string
419
420
required :
420
421
- store_hash
422
+ MethodType :
423
+ type : string
424
+ enum :
425
+ - GET
426
+ - POST
427
+ SourceJson :
428
+ type : object
429
+ additionalProperties : false
430
+ properties :
431
+ url :
432
+ type : string
433
+ method :
434
+ $ref : ' #/components/schemas/MethodType'
435
+ required :
436
+ - url
421
437
SourceInput :
422
438
oneOf :
423
439
- $ref : ' #/components/schemas/SourceCommercetools'
424
440
- $ref : ' #/components/schemas/SourceBigCommerce'
441
+ - $ref : ' #/components/schemas/SourceJson'
425
442
Source :
426
443
type : object
427
444
additionalProperties : false
You can’t perform that action at this time.
0 commit comments