@algolia/ingestion 1.7.0 → 1.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/README.md +5 -7
  2. package/dist/browser.d.ts +1295 -1335
  3. package/dist/builds/browser.js +201 -258
  4. package/dist/builds/browser.js.map +1 -1
  5. package/dist/builds/browser.min.js +1 -1
  6. package/dist/builds/browser.min.js.map +1 -1
  7. package/dist/builds/browser.umd.js +2 -2
  8. package/dist/builds/fetch.js +198 -255
  9. package/dist/builds/fetch.js.map +1 -1
  10. package/dist/builds/node.cjs +198 -255
  11. package/dist/builds/node.cjs.map +1 -1
  12. package/dist/builds/node.js +199 -256
  13. package/dist/builds/node.js.map +1 -1
  14. package/dist/fetch.d.ts +1294 -1333
  15. package/dist/node.d.cts +1294 -1333
  16. package/dist/node.d.ts +1294 -1333
  17. package/dist/src/ingestionClient.cjs +197 -254
  18. package/dist/src/ingestionClient.cjs.map +1 -1
  19. package/dist/src/ingestionClient.js +197 -254
  20. package/dist/src/ingestionClient.js.map +1 -1
  21. package/index.d.ts +0 -1
  22. package/index.js +1 -2
  23. package/model/action.ts +4 -4
  24. package/model/actionType.ts +1 -1
  25. package/model/authInput.ts +5 -5
  26. package/model/authInputPartial.ts +5 -5
  27. package/model/authenticationSearch.ts +1 -1
  28. package/model/authenticationSortKeys.ts +1 -1
  29. package/model/authenticationType.ts +1 -1
  30. package/model/bigCommerceChannel.ts +1 -1
  31. package/model/clientMethodProps.ts +61 -49
  32. package/model/commercetoolsCustomFields.ts +3 -3
  33. package/model/destination.ts +1 -1
  34. package/model/destinationCreate.ts +1 -1
  35. package/model/destinationIndexName.ts +1 -1
  36. package/model/destinationSearch.ts +1 -1
  37. package/model/destinationSortKeys.ts +1 -1
  38. package/model/destinationType.ts +1 -1
  39. package/model/destinationUpdate.ts +1 -1
  40. package/model/dockerImageType.ts +1 -1
  41. package/model/dockerStreams.ts +3 -3
  42. package/model/dockerStreamsInput.ts +1 -1
  43. package/model/dockerStreamsSyncMode.ts +1 -1
  44. package/model/entityType.ts +1 -1
  45. package/model/event.ts +1 -1
  46. package/model/eventSortKeys.ts +1 -1
  47. package/model/eventStatus.ts +1 -1
  48. package/model/eventType.ts +1 -1
  49. package/model/index.ts +10 -10
  50. package/model/listAuthenticationsResponse.ts +1 -1
  51. package/model/listDestinationsResponse.ts +1 -1
  52. package/model/listEventsResponse.ts +1 -1
  53. package/model/listSourcesResponse.ts +1 -1
  54. package/model/listTasksResponse.ts +1 -1
  55. package/model/listTasksResponseV1.ts +1 -1
  56. package/model/listTransformationsResponse.ts +1 -1
  57. package/model/mappingFieldDirective.ts +1 -1
  58. package/model/mappingInput.ts +1 -1
  59. package/model/mappingKitAction.ts +1 -1
  60. package/model/mappingTypeCSV.ts +1 -1
  61. package/model/pushTaskPayload.ts +1 -1
  62. package/model/runListResponse.ts +1 -1
  63. package/model/runOutcome.ts +1 -1
  64. package/model/runReasonCode.ts +1 -1
  65. package/model/runSortKeys.ts +1 -1
  66. package/model/runSourcePayload.ts +3 -3
  67. package/model/runSourceResponse.ts +1 -1
  68. package/model/runStatus.ts +1 -1
  69. package/model/runType.ts +1 -1
  70. package/model/shopifyInput.ts +1 -1
  71. package/model/shopifyMarket.ts +3 -3
  72. package/model/sourceBigCommerce.ts +3 -3
  73. package/model/sourceCSV.ts +1 -1
  74. package/model/sourceCommercetools.ts +2 -2
  75. package/model/sourceInput.ts +4 -4
  76. package/model/sourceSearch.ts +1 -1
  77. package/model/sourceShopify.ts +1 -1
  78. package/model/sourceSortKeys.ts +1 -1
  79. package/model/sourceType.ts +2 -2
  80. package/model/sourceUpdateCommercetools.ts +2 -2
  81. package/model/sourceUpdateInput.ts +3 -3
  82. package/model/sourceUpdateShopify.ts +1 -1
  83. package/model/sourceWatchResponse.ts +4 -4
  84. package/model/taskCreateTrigger.ts +2 -1
  85. package/model/taskInput.ts +3 -1
  86. package/model/taskSearch.ts +1 -1
  87. package/model/taskSortKeys.ts +1 -1
  88. package/model/transformation.ts +2 -2
  89. package/model/transformationCreate.ts +2 -2
  90. package/model/transformationSearch.ts +1 -1
  91. package/model/transformationSortKeys.ts +1 -1
  92. package/model/transformationTry.ts +1 -1
  93. package/model/trigger.ts +2 -1
  94. package/model/triggerType.ts +1 -1
  95. package/package.json +6 -6
@@ -3,4 +3,4 @@
3
3
  /**
4
4
  * Action to perform on the Algolia index.
5
5
  */
6
- export type ActionType = 'append' | 'partial' | 'replace' | 'save';
6
+ export type ActionType = 'replace' | 'save' | 'partial' | 'append';
@@ -8,9 +8,9 @@ import type { AuthGoogleServiceAccount } from './authGoogleServiceAccount';
8
8
  import type { AuthOAuth } from './authOAuth';
9
9
 
10
10
  export type AuthInput =
11
- | AuthAlgolia
12
- | AuthAlgoliaInsights
13
- | AuthAPIKey
14
- | AuthBasic
15
11
  | AuthGoogleServiceAccount
16
- | AuthOAuth;
12
+ | AuthBasic
13
+ | AuthAPIKey
14
+ | AuthOAuth
15
+ | AuthAlgolia
16
+ | AuthAlgoliaInsights;
@@ -8,9 +8,9 @@ import type { AuthGoogleServiceAccountPartial } from './authGoogleServiceAccount
8
8
  import type { AuthOAuthPartial } from './authOAuthPartial';
9
9
 
10
10
  export type AuthInputPartial =
11
- | AuthAlgoliaInsightsPartial
12
- | AuthAlgoliaPartial
13
- | AuthAPIKeyPartial
14
- | AuthBasicPartial
15
11
  | AuthGoogleServiceAccountPartial
16
- | AuthOAuthPartial;
12
+ | AuthBasicPartial
13
+ | AuthAPIKeyPartial
14
+ | AuthOAuthPartial
15
+ | AuthAlgoliaPartial
16
+ | AuthAlgoliaInsightsPartial;
@@ -4,5 +4,5 @@
4
4
  * Request body for searching for authentication resources.
5
5
  */
6
6
  export type AuthenticationSearch = {
7
- authenticationIDs: string[];
7
+ authenticationIDs: Array<string>;
8
8
  };
@@ -3,4 +3,4 @@
3
3
  /**
4
4
  * Property by which to sort the list of authentications.
5
5
  */
6
- export type AuthenticationSortKeys = 'createdAt' | 'name' | 'platform' | 'type' | 'updatedAt';
6
+ export type AuthenticationSortKeys = 'name' | 'type' | 'platform' | 'updatedAt' | 'createdAt';
@@ -3,4 +3,4 @@
3
3
  /**
4
4
  * Type of authentication. This determines the type of credentials required in the `input` object.
5
5
  */
6
- export type AuthenticationType = 'algolia' | 'algoliaInsights' | 'apiKey' | 'basic' | 'googleServiceAccount' | 'oauth';
6
+ export type AuthenticationType = 'googleServiceAccount' | 'basic' | 'apiKey' | 'oauth' | 'algolia' | 'algoliaInsights';
@@ -9,5 +9,5 @@ export type BigCommerceChannel = {
9
9
  /**
10
10
  * Currencies for the given channel.
11
11
  */
12
- currencies?: string[];
12
+ currencies?: Array<string>;
13
13
  };
@@ -1,32 +1,44 @@
1
1
  // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
- import type { ActionType } from './actionType';
4
- import type { AuthenticationSortKeys } from './authenticationSortKeys';
5
- import type { AuthenticationType } from './authenticationType';
6
- import type { AuthenticationUpdate } from './authenticationUpdate';
7
- import type { DestinationSortKeys } from './destinationSortKeys';
8
- import type { DestinationType } from './destinationType';
9
- import type { DestinationUpdate } from './destinationUpdate';
10
- import type { EventSortKeys } from './eventSortKeys';
11
- import type { EventStatus } from './eventStatus';
12
- import type { EventType } from './eventType';
13
- import type { OrderKeys } from './orderKeys';
14
- import type { PlatformWithNone } from './platformWithNone';
15
- import type { PushTaskPayload } from './pushTaskPayload';
16
- import type { RunSortKeys } from './runSortKeys';
17
- import type { RunSourcePayload } from './runSourcePayload';
18
- import type { RunStatus } from './runStatus';
19
- import type { RunType } from './runType';
20
- import type { SourceSortKeys } from './sourceSortKeys';
21
- import type { SourceType } from './sourceType';
22
- import type { SourceUpdate } from './sourceUpdate';
23
- import type { TaskSortKeys } from './taskSortKeys';
24
- import type { TaskUpdate } from './taskUpdate';
25
- import type { TaskUpdateV1 } from './taskUpdateV1';
26
- import type { TransformationCreate } from './transformationCreate';
27
- import type { TransformationSortKeys } from './transformationSortKeys';
28
- import type { TransformationTry } from './transformationTry';
29
- import type { TriggerType } from './triggerType';
3
+ import { ActionType } from '../model/actionType';
4
+
5
+ import { AuthenticationSortKeys } from '../model/authenticationSortKeys';
6
+ import { AuthenticationType } from '../model/authenticationType';
7
+ import { AuthenticationUpdate } from '../model/authenticationUpdate';
8
+
9
+ import { DestinationSortKeys } from '../model/destinationSortKeys';
10
+ import { DestinationType } from '../model/destinationType';
11
+ import { DestinationUpdate } from '../model/destinationUpdate';
12
+
13
+ import { EventSortKeys } from '../model/eventSortKeys';
14
+ import { EventStatus } from '../model/eventStatus';
15
+ import { EventType } from '../model/eventType';
16
+
17
+ import { OrderKeys } from '../model/orderKeys';
18
+ import { PlatformWithNone } from '../model/platformWithNone';
19
+ import { PushTaskPayload } from '../model/pushTaskPayload';
20
+
21
+ import { RunSortKeys } from '../model/runSortKeys';
22
+ import { RunSourcePayload } from '../model/runSourcePayload';
23
+
24
+ import { RunStatus } from '../model/runStatus';
25
+ import { RunType } from '../model/runType';
26
+
27
+ import { SourceSortKeys } from '../model/sourceSortKeys';
28
+ import { SourceType } from '../model/sourceType';
29
+ import { SourceUpdate } from '../model/sourceUpdate';
30
+
31
+ import { TaskSortKeys } from '../model/taskSortKeys';
32
+ import { TaskUpdate } from '../model/taskUpdate';
33
+
34
+ import { TaskUpdateV1 } from '../model/taskUpdateV1';
35
+
36
+ import { TransformationCreate } from '../model/transformationCreate';
37
+
38
+ import { TransformationSortKeys } from '../model/transformationSortKeys';
39
+ import { TransformationTry } from '../model/transformationTry';
40
+
41
+ import { TriggerType } from '../model/triggerType';
30
42
 
31
43
  /**
32
44
  * Properties for the `customDelete` method.
@@ -39,7 +51,7 @@ export type CustomDeleteProps = {
39
51
  /**
40
52
  * Query parameters to apply to the current query.
41
53
  */
42
- parameters?: Record<string, any>;
54
+ parameters?: { [key: string]: any };
43
55
  };
44
56
 
45
57
  /**
@@ -53,7 +65,7 @@ export type CustomGetProps = {
53
65
  /**
54
66
  * Query parameters to apply to the current query.
55
67
  */
56
- parameters?: Record<string, any>;
68
+ parameters?: { [key: string]: any };
57
69
  };
58
70
 
59
71
  /**
@@ -67,7 +79,7 @@ export type CustomPostProps = {
67
79
  /**
68
80
  * Query parameters to apply to the current query.
69
81
  */
70
- parameters?: Record<string, any>;
82
+ parameters?: { [key: string]: any };
71
83
  /**
72
84
  * Parameters to send with the custom request.
73
85
  */
@@ -85,7 +97,7 @@ export type CustomPutProps = {
85
97
  /**
86
98
  * Query parameters to apply to the current query.
87
99
  */
88
- parameters?: Record<string, any>;
100
+ parameters?: { [key: string]: any };
89
101
  /**
90
102
  * Parameters to send with the custom request.
91
103
  */
@@ -291,11 +303,11 @@ export type ListAuthenticationsProps = {
291
303
  /**
292
304
  * Type of authentication resource to retrieve.
293
305
  */
294
- type?: AuthenticationType[];
306
+ type?: Array<AuthenticationType>;
295
307
  /**
296
308
  * Ecommerce platform for which to retrieve authentications.
297
309
  */
298
- platform?: PlatformWithNone[];
310
+ platform?: Array<PlatformWithNone>;
299
311
  /**
300
312
  * Property by which to sort the list of authentications.
301
313
  */
@@ -321,11 +333,11 @@ export type ListDestinationsProps = {
321
333
  /**
322
334
  * Destination type.
323
335
  */
324
- type?: DestinationType[];
336
+ type?: Array<DestinationType>;
325
337
  /**
326
338
  * Authentication ID used by destinations.
327
339
  */
328
- authenticationID?: string[];
340
+ authenticationID?: Array<string>;
329
341
  /**
330
342
  * Get the list of destinations used by a transformation.
331
343
  */
@@ -359,11 +371,11 @@ export type ListEventsProps = {
359
371
  /**
360
372
  * Event status for filtering the list of task runs.
361
373
  */
362
- status?: EventStatus[];
374
+ status?: Array<EventStatus>;
363
375
  /**
364
376
  * Event type for filtering the list of task runs.
365
377
  */
366
- type?: EventType[];
378
+ type?: Array<EventType>;
367
379
  /**
368
380
  * Property by which to sort the list of task run events.
369
381
  */
@@ -397,11 +409,11 @@ export type ListRunsProps = {
397
409
  /**
398
410
  * Run status for filtering the list of task runs.
399
411
  */
400
- status?: RunStatus[];
412
+ status?: Array<RunStatus>;
401
413
  /**
402
414
  * Run type for filtering the list of task runs.
403
415
  */
404
- type?: RunType[];
416
+ type?: Array<RunType>;
405
417
  /**
406
418
  * Task ID for filtering the list of task runs.
407
419
  */
@@ -439,11 +451,11 @@ export type ListSourcesProps = {
439
451
  /**
440
452
  * Source type. Some sources require authentication.
441
453
  */
442
- type?: SourceType[];
454
+ type?: Array<SourceType>;
443
455
  /**
444
456
  * Authentication IDs of the sources to retrieve. \'none\' returns sources that doesn\'t have an authentication.
445
457
  */
446
- authenticationID?: string[];
458
+ authenticationID?: Array<string>;
447
459
  /**
448
460
  * Property by which to sort the list of sources.
449
461
  */
@@ -469,7 +481,7 @@ export type ListTasksProps = {
469
481
  /**
470
482
  * Actions for filtering the list of tasks.
471
483
  */
472
- action?: ActionType[];
484
+ action?: Array<ActionType>;
473
485
  /**
474
486
  * Whether to filter the list of tasks by the `enabled` status.
475
487
  */
@@ -477,15 +489,15 @@ export type ListTasksProps = {
477
489
  /**
478
490
  * Source IDs for filtering the list of tasks.
479
491
  */
480
- sourceID?: string[];
492
+ sourceID?: Array<string>;
481
493
  /**
482
494
  * Destination IDs for filtering the list of tasks.
483
495
  */
484
- destinationID?: string[];
496
+ destinationID?: Array<string>;
485
497
  /**
486
498
  * Type of task trigger for filtering the list of tasks.
487
499
  */
488
- triggerType?: TriggerType[];
500
+ triggerType?: Array<TriggerType>;
489
501
  /**
490
502
  * Property by which to sort the list of tasks.
491
503
  */
@@ -511,7 +523,7 @@ export type ListTasksV1Props = {
511
523
  /**
512
524
  * Actions for filtering the list of tasks.
513
525
  */
514
- action?: ActionType[];
526
+ action?: Array<ActionType>;
515
527
  /**
516
528
  * Whether to filter the list of tasks by the `enabled` status.
517
529
  */
@@ -519,15 +531,15 @@ export type ListTasksV1Props = {
519
531
  /**
520
532
  * Source IDs for filtering the list of tasks.
521
533
  */
522
- sourceID?: string[];
534
+ sourceID?: Array<string>;
523
535
  /**
524
536
  * Destination IDs for filtering the list of tasks.
525
537
  */
526
- destinationID?: string[];
538
+ destinationID?: Array<string>;
527
539
  /**
528
540
  * Type of task trigger for filtering the list of tasks.
529
541
  */
530
- triggerType?: TriggerType[];
542
+ triggerType?: Array<TriggerType>;
531
543
  /**
532
544
  * Property by which to sort the list of tasks.
533
545
  */
@@ -7,15 +7,15 @@ export type CommercetoolsCustomFields = {
7
7
  /**
8
8
  * Inventory custom fields.
9
9
  */
10
- inventory?: string[] | null;
10
+ inventory?: Array<string> | null;
11
11
 
12
12
  /**
13
13
  * Price custom fields.
14
14
  */
15
- price?: string[] | null;
15
+ price?: Array<string> | null;
16
16
 
17
17
  /**
18
18
  * Category custom fields.
19
19
  */
20
- category?: string[] | null;
20
+ category?: Array<string> | null;
21
21
  };
@@ -36,5 +36,5 @@ export type Destination = {
36
36
  */
37
37
  authenticationID?: string;
38
38
 
39
- transformationIDs?: string[];
39
+ transformationIDs?: Array<string>;
40
40
  };
@@ -21,5 +21,5 @@ export type DestinationCreate = {
21
21
  */
22
22
  authenticationID?: string;
23
23
 
24
- transformationIDs?: string[];
24
+ transformationIDs?: Array<string>;
25
25
  };
@@ -13,5 +13,5 @@ export type DestinationIndexName = {
13
13
  /**
14
14
  * Attributes from your source to exclude from Algolia records. Not all your data attributes will be useful for searching. Keeping your Algolia records small increases indexing and search performance. - Exclude nested attributes with `.` notation. For example, `foo.bar` indexes the `foo` attribute and all its children **except** the `bar` attribute. - Exclude attributes from arrays with `[i]`, where `i` is the index of the array element. For example, `foo.[0].bar` only excludes the `bar` attribute from the first element of the `foo` array, but indexes the complete `foo` attribute for all other elements. Use `*` as wildcard: `foo.[*].bar` excludes `bar` from all elements of the `foo` array.
15
15
  */
16
- attributesToExclude?: string[];
16
+ attributesToExclude?: Array<string>;
17
17
  };
@@ -4,5 +4,5 @@
4
4
  * API request body for searching destinations.
5
5
  */
6
6
  export type DestinationSearch = {
7
- destinationIDs: string[];
7
+ destinationIDs: Array<string>;
8
8
  };
@@ -3,4 +3,4 @@
3
3
  /**
4
4
  * Property by which to sort the destinations.
5
5
  */
6
- export type DestinationSortKeys = 'createdAt' | 'name' | 'type' | 'updatedAt';
6
+ export type DestinationSortKeys = 'name' | 'type' | 'updatedAt' | 'createdAt';
@@ -3,4 +3,4 @@
3
3
  /**
4
4
  * Destination type. - `search`. Data is stored in an Algolia index. - `insights`. Data is recorded as user events in the Insights API.
5
5
  */
6
- export type DestinationType = 'insights' | 'search';
6
+ export type DestinationType = 'search' | 'insights';
@@ -21,5 +21,5 @@ export type DestinationUpdate = {
21
21
  */
22
22
  authenticationID?: string;
23
23
 
24
- transformationIDs?: string[];
24
+ transformationIDs?: Array<string>;
25
25
  };
@@ -3,4 +3,4 @@
3
3
  /**
4
4
  * Image type.
5
5
  */
6
- export type DockerImageType = 'airbyte' | 'custom' | 'singer';
6
+ export type DockerImageType = 'singer' | 'custom' | 'airbyte';
@@ -4,14 +4,14 @@ import type { DockerStreamsSyncMode } from './dockerStreamsSyncMode';
4
4
 
5
5
  export type DockerStreams = {
6
6
  /**
7
- * The name of the stream to fetch the data from (e.g. Table name).
7
+ * The name of the stream to fetch the data from (e.g. table name).
8
8
  */
9
9
  name: string;
10
10
 
11
11
  /**
12
- * The properties of the stream to select (e.g. Column).
12
+ * The properties of the stream to select (e.g. column).
13
13
  */
14
- properties?: string[];
14
+ properties?: Array<string>;
15
15
 
16
16
  syncMode: DockerStreamsSyncMode;
17
17
  };
@@ -6,5 +6,5 @@ import type { DockerStreams } from './dockerStreams';
6
6
  * The selected streams of a singer or airbyte connector.
7
7
  */
8
8
  export type DockerStreamsInput = {
9
- streams: DockerStreams[];
9
+ streams: Array<DockerStreams>;
10
10
  };
@@ -3,4 +3,4 @@
3
3
  /**
4
4
  * The strategy to use to fetch the data.
5
5
  */
6
- export type DockerStreamsSyncMode = 'fullTable' | 'incremental';
6
+ export type DockerStreamsSyncMode = 'incremental' | 'fullTable';
@@ -3,4 +3,4 @@
3
3
  /**
4
4
  * Type of entity to update.
5
5
  */
6
- export type EntityType = 'collection' | 'product';
6
+ export type EntityType = 'product' | 'collection';
package/model/event.ts CHANGED
@@ -31,7 +31,7 @@ export type Event = {
31
31
  */
32
32
  batchSize: number;
33
33
 
34
- data?: Record<string, any>;
34
+ data?: { [key: string]: any };
35
35
 
36
36
  /**
37
37
  * Date of publish RFC 3339 format.
@@ -3,4 +3,4 @@
3
3
  /**
4
4
  * Property by which to sort the list of task run events.
5
5
  */
6
- export type EventSortKeys = 'publishedAt' | 'status' | 'type';
6
+ export type EventSortKeys = 'status' | 'type' | 'publishedAt';
@@ -1,3 +1,3 @@
1
1
  // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
- export type EventStatus = 'created' | 'critical' | 'failed' | 'retried' | 'started' | 'succeeded';
3
+ export type EventStatus = 'created' | 'started' | 'retried' | 'failed' | 'succeeded' | 'critical';
@@ -1,3 +1,3 @@
1
1
  // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
- export type EventType = 'fetch' | 'log' | 'record' | 'transform';
3
+ export type EventType = 'fetch' | 'record' | 'log' | 'transform';
package/model/index.ts CHANGED
@@ -2,20 +2,14 @@
2
2
 
3
3
  export * from './action';
4
4
  export * from './actionType';
5
- export * from './authAPIKey';
6
- export * from './authAPIKeyPartial';
7
5
  export * from './authAlgolia';
8
6
  export * from './authAlgoliaInsights';
9
7
  export * from './authAlgoliaInsightsPartial';
10
8
  export * from './authAlgoliaPartial';
9
+ export * from './authAPIKey';
10
+ export * from './authAPIKeyPartial';
11
11
  export * from './authBasic';
12
12
  export * from './authBasicPartial';
13
- export * from './authGoogleServiceAccount';
14
- export * from './authGoogleServiceAccountPartial';
15
- export * from './authInput';
16
- export * from './authInputPartial';
17
- export * from './authOAuth';
18
- export * from './authOAuthPartial';
19
13
  export * from './authentication';
20
14
  export * from './authenticationCreate';
21
15
  export * from './authenticationCreateResponse';
@@ -24,9 +18,16 @@ export * from './authenticationSortKeys';
24
18
  export * from './authenticationType';
25
19
  export * from './authenticationUpdate';
26
20
  export * from './authenticationUpdateResponse';
21
+ export * from './authGoogleServiceAccount';
22
+ export * from './authGoogleServiceAccountPartial';
23
+ export * from './authInput';
24
+ export * from './authInputPartial';
25
+ export * from './authOAuth';
26
+ export * from './authOAuthPartial';
27
27
  export * from './bigCommerceChannel';
28
28
  export * from './bigCommerceMetafield';
29
29
  export * from './bigQueryDataType';
30
+ export * from './clientMethodProps';
30
31
  export * from './commercetoolsCustomFields';
31
32
  export * from './deleteResponse';
32
33
  export * from './destination';
@@ -94,10 +95,10 @@ export * from './shopifyMetafield';
94
95
  export * from './source';
95
96
  export * from './sourceBigCommerce';
96
97
  export * from './sourceBigQuery';
97
- export * from './sourceCSV';
98
98
  export * from './sourceCommercetools';
99
99
  export * from './sourceCreate';
100
100
  export * from './sourceCreateResponse';
101
+ export * from './sourceCSV';
101
102
  export * from './sourceDocker';
102
103
  export * from './sourceGA4BigQueryExport';
103
104
  export * from './sourceInput';
@@ -144,4 +145,3 @@ export * from './trigger';
144
145
  export * from './triggerType';
145
146
  export * from './triggerUpdateInput';
146
147
  export * from './window';
147
- export * from './clientMethodProps';
@@ -4,7 +4,7 @@ import type { Authentication } from './authentication';
4
4
  import type { Pagination } from './pagination';
5
5
 
6
6
  export type ListAuthenticationsResponse = {
7
- authentications: Authentication[];
7
+ authentications: Array<Authentication>;
8
8
 
9
9
  pagination: Pagination;
10
10
  };
@@ -4,7 +4,7 @@ import type { Destination } from './destination';
4
4
  import type { Pagination } from './pagination';
5
5
 
6
6
  export type ListDestinationsResponse = {
7
- destinations: Destination[];
7
+ destinations: Array<Destination>;
8
8
 
9
9
  pagination: Pagination;
10
10
  };
@@ -5,7 +5,7 @@ import type { Pagination } from './pagination';
5
5
  import type { Window } from './window';
6
6
 
7
7
  export type ListEventsResponse = {
8
- events: Event[];
8
+ events: Array<Event>;
9
9
 
10
10
  pagination: Pagination;
11
11
 
@@ -4,7 +4,7 @@ import type { Pagination } from './pagination';
4
4
  import type { Source } from './source';
5
5
 
6
6
  export type ListSourcesResponse = {
7
- sources: Source[];
7
+ sources: Array<Source>;
8
8
 
9
9
  pagination: Pagination;
10
10
  };
@@ -7,7 +7,7 @@ import type { Task } from './task';
7
7
  * Configured tasks and pagination information.
8
8
  */
9
9
  export type ListTasksResponse = {
10
- tasks: Task[];
10
+ tasks: Array<Task>;
11
11
 
12
12
  pagination: Pagination;
13
13
  };
@@ -7,7 +7,7 @@ import type { TaskV1 } from './taskV1';
7
7
  * Configured tasks and pagination information.
8
8
  */
9
9
  export type ListTasksResponseV1 = {
10
- tasks: TaskV1[];
10
+ tasks: Array<TaskV1>;
11
11
 
12
12
  pagination: Pagination;
13
13
  };
@@ -7,7 +7,7 @@ import type { Transformation } from './transformation';
7
7
  * Configured transformations and pagination information.
8
8
  */
9
9
  export type ListTransformationsResponse = {
10
- transformations: Transformation[];
10
+ transformations: Array<Transformation>;
11
11
 
12
12
  pagination: Pagination;
13
13
  };
@@ -12,5 +12,5 @@ export type MappingFieldDirective = {
12
12
  /**
13
13
  * How the destination field should be resolved from the source.
14
14
  */
15
- value: Record<string, any>;
15
+ value: { [key: string]: any };
16
16
  };
@@ -9,5 +9,5 @@ import type { MappingKitAction } from './mappingKitAction';
9
9
  export type MappingInput = {
10
10
  format: MappingFormatSchema;
11
11
 
12
- actions: MappingKitAction[];
12
+ actions: Array<MappingKitAction>;
13
13
  };
@@ -21,5 +21,5 @@ export type MappingKitAction = {
21
21
  */
22
22
  trigger: string;
23
23
 
24
- fieldDirectives: MappingFieldDirective[];
24
+ fieldDirectives: Array<MappingFieldDirective>;
25
25
  };
@@ -1,3 +1,3 @@
1
1
  // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
- export type MappingTypeCSV = 'boolean' | 'float' | 'integer' | 'json' | 'string';
3
+ export type MappingTypeCSV = 'string' | 'integer' | 'float' | 'boolean' | 'json';
@@ -6,5 +6,5 @@ import type { PushTaskRecords } from './pushTaskRecords';
6
6
  export type PushTaskPayload = {
7
7
  action: Action;
8
8
 
9
- records: PushTaskRecords[];
9
+ records: Array<PushTaskRecords>;
10
10
  };
@@ -5,7 +5,7 @@ import type { Run } from './run';
5
5
  import type { Window } from './window';
6
6
 
7
7
  export type RunListResponse = {
8
- runs: Run[];
8
+ runs: Array<Run>;
9
9
 
10
10
  pagination: Pagination;
11
11
 
@@ -3,4 +3,4 @@
3
3
  /**
4
4
  * Task run outcome.
5
5
  */
6
- export type RunOutcome = 'failure' | 'processing' | 'success';
6
+ export type RunOutcome = 'success' | 'failure' | 'processing';