@algolia/ingestion 5.2.4-beta.5 → 5.10.0-beta.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 (173) hide show
  1. package/README.md +15 -7
  2. package/dist/browser.d.ts +1266 -634
  3. package/dist/builds/browser.js +223 -322
  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 +6 -6
  8. package/dist/builds/fetch.js +1943 -0
  9. package/dist/builds/fetch.js.map +1 -0
  10. package/dist/builds/node.cjs +220 -320
  11. package/dist/builds/node.cjs.map +1 -1
  12. package/dist/builds/node.js +221 -320
  13. package/dist/builds/node.js.map +1 -1
  14. package/dist/fetch.d.ts +3001 -0
  15. package/dist/node.d.cts +1267 -634
  16. package/dist/node.d.ts +1267 -634
  17. package/dist/src/ingestionClient.cjs +218 -319
  18. package/dist/src/ingestionClient.cjs.map +1 -1
  19. package/dist/src/ingestionClient.js +218 -319
  20. package/dist/src/ingestionClient.js.map +1 -1
  21. package/index.d.ts +0 -1
  22. package/index.js +1 -2
  23. package/package.json +16 -11
  24. package/model/action.ts +0 -13
  25. package/model/actionType.ts +0 -6
  26. package/model/authAPIKey.ts +0 -11
  27. package/model/authAPIKeyPartial.ts +0 -11
  28. package/model/authAlgolia.ts +0 -16
  29. package/model/authAlgoliaInsights.ts +0 -16
  30. package/model/authAlgoliaInsightsPartial.ts +0 -16
  31. package/model/authAlgoliaPartial.ts +0 -16
  32. package/model/authBasic.ts +0 -16
  33. package/model/authBasicPartial.ts +0 -16
  34. package/model/authGoogleServiceAccount.ts +0 -16
  35. package/model/authGoogleServiceAccountPartial.ts +0 -16
  36. package/model/authInput.ts +0 -16
  37. package/model/authInputPartial.ts +0 -16
  38. package/model/authOAuth.ts +0 -26
  39. package/model/authOAuthPartial.ts +0 -26
  40. package/model/authentication.ts +0 -36
  41. package/model/authenticationCreate.ts +0 -21
  42. package/model/authenticationCreateResponse.ts +0 -21
  43. package/model/authenticationSearch.ts +0 -8
  44. package/model/authenticationSortKeys.ts +0 -6
  45. package/model/authenticationType.ts +0 -6
  46. package/model/authenticationUpdate.ts +0 -21
  47. package/model/authenticationUpdateResponse.ts +0 -21
  48. package/model/bigCommerceChannel.ts +0 -13
  49. package/model/bigCommerceMetafield.ts +0 -13
  50. package/model/bigQueryDataType.ts +0 -3
  51. package/model/clientMethodProps.ts +0 -703
  52. package/model/commercetoolsCustomFields.ts +0 -21
  53. package/model/deleteResponse.ts +0 -8
  54. package/model/destination.ts +0 -40
  55. package/model/destinationCreate.ts +0 -25
  56. package/model/destinationCreateResponse.ts +0 -21
  57. package/model/destinationIndexName.ts +0 -17
  58. package/model/destinationInput.ts +0 -5
  59. package/model/destinationSearch.ts +0 -8
  60. package/model/destinationSortKeys.ts +0 -6
  61. package/model/destinationType.ts +0 -6
  62. package/model/destinationUpdate.ts +0 -25
  63. package/model/destinationUpdateResponse.ts +0 -21
  64. package/model/dockerImageType.ts +0 -6
  65. package/model/dockerRegistry.ts +0 -6
  66. package/model/dockerStreams.ts +0 -17
  67. package/model/dockerStreamsInput.ts +0 -10
  68. package/model/dockerStreamsSyncMode.ts +0 -6
  69. package/model/entityType.ts +0 -6
  70. package/model/errorBase.ts +0 -8
  71. package/model/event.ts +0 -40
  72. package/model/eventSortKeys.ts +0 -6
  73. package/model/eventStatus.ts +0 -3
  74. package/model/eventType.ts +0 -3
  75. package/model/generateTransformationCodePayload.ts +0 -9
  76. package/model/generateTransformationCodeResponse.ts +0 -5
  77. package/model/index.ts +0 -151
  78. package/model/listAuthenticationsResponse.ts +0 -10
  79. package/model/listDestinationsResponse.ts +0 -10
  80. package/model/listEventsResponse.ts +0 -13
  81. package/model/listSourcesResponse.ts +0 -10
  82. package/model/listTasksResponse.ts +0 -13
  83. package/model/listTasksResponseV1.ts +0 -13
  84. package/model/listTransformationsResponse.ts +0 -13
  85. package/model/mappingFieldDirective.ts +0 -16
  86. package/model/mappingFormatSchema.ts +0 -6
  87. package/model/mappingInput.ts +0 -13
  88. package/model/mappingKitAction.ts +0 -25
  89. package/model/mappingTypeCSV.ts +0 -3
  90. package/model/methodType.ts +0 -6
  91. package/model/model.ts +0 -13
  92. package/model/onDemandTrigger.ts +0 -15
  93. package/model/onDemandTriggerInput.ts +0 -10
  94. package/model/onDemandTriggerType.ts +0 -6
  95. package/model/orderKeys.ts +0 -6
  96. package/model/pagination.ts +0 -26
  97. package/model/platform.ts +0 -6
  98. package/model/platformNone.ts +0 -6
  99. package/model/platformWithNone.ts +0 -6
  100. package/model/pushTaskPayload.ts +0 -10
  101. package/model/pushTaskRecords.ts +0 -8
  102. package/model/recordType.ts +0 -6
  103. package/model/run.ts +0 -56
  104. package/model/runListResponse.ts +0 -13
  105. package/model/runOutcome.ts +0 -6
  106. package/model/runProgress.ts +0 -7
  107. package/model/runReasonCode.ts +0 -6
  108. package/model/runResponse.ts +0 -16
  109. package/model/runSortKeys.ts +0 -6
  110. package/model/runSourcePayload.ts +0 -22
  111. package/model/runSourceResponse.ts +0 -13
  112. package/model/runStatus.ts +0 -6
  113. package/model/runType.ts +0 -6
  114. package/model/scheduleTrigger.ts +0 -25
  115. package/model/scheduleTriggerInput.ts +0 -15
  116. package/model/scheduleTriggerType.ts +0 -6
  117. package/model/shopifyInput.ts +0 -13
  118. package/model/shopifyMarket.ts +0 -12
  119. package/model/shopifyMetafield.ts +0 -12
  120. package/model/sortKeys.ts +0 -6
  121. package/model/source.ts +0 -32
  122. package/model/sourceBigCommerce.ts +0 -19
  123. package/model/sourceBigQuery.ts +0 -37
  124. package/model/sourceCSV.ts +0 -28
  125. package/model/sourceCommercetools.ts +0 -23
  126. package/model/sourceCreate.ts +0 -20
  127. package/model/sourceCreateResponse.ts +0 -18
  128. package/model/sourceDocker.ts +0 -25
  129. package/model/sourceGA4BigQueryExport.ts +0 -18
  130. package/model/sourceInput.ts +0 -20
  131. package/model/sourceJSON.ts +0 -17
  132. package/model/sourceSearch.ts +0 -5
  133. package/model/sourceShopify.ts +0 -6
  134. package/model/sourceShopifyBase.ts +0 -8
  135. package/model/sourceSortKeys.ts +0 -6
  136. package/model/sourceType.ts +0 -13
  137. package/model/sourceUpdate.ts +0 -17
  138. package/model/sourceUpdateCommercetools.ts +0 -21
  139. package/model/sourceUpdateDocker.ts +0 -22
  140. package/model/sourceUpdateInput.ts +0 -18
  141. package/model/sourceUpdateResponse.ts +0 -18
  142. package/model/sourceUpdateShopify.ts +0 -8
  143. package/model/sourceWatchResponse.ts +0 -25
  144. package/model/streamingInput.ts +0 -10
  145. package/model/streamingTrigger.ts +0 -10
  146. package/model/streamingTriggerType.ts +0 -6
  147. package/model/subscriptionTrigger.ts +0 -10
  148. package/model/subscriptionTriggerType.ts +0 -6
  149. package/model/task.ts +0 -65
  150. package/model/taskCreate.ts +0 -43
  151. package/model/taskCreateResponse.ts +0 -16
  152. package/model/taskCreateTrigger.ts +0 -8
  153. package/model/taskCreateV1.ts +0 -41
  154. package/model/taskInput.ts +0 -10
  155. package/model/taskSearch.ts +0 -5
  156. package/model/taskSortKeys.ts +0 -6
  157. package/model/taskUpdate.ts +0 -30
  158. package/model/taskUpdateResponse.ts +0 -16
  159. package/model/taskUpdateV1.ts +0 -28
  160. package/model/taskV1.ts +0 -56
  161. package/model/transformation.ts +0 -38
  162. package/model/transformationCreate.ts +0 -26
  163. package/model/transformationCreateResponse.ts +0 -16
  164. package/model/transformationError.ts +0 -16
  165. package/model/transformationModels.ts +0 -10
  166. package/model/transformationSearch.ts +0 -5
  167. package/model/transformationTry.ts +0 -17
  168. package/model/transformationTryResponse.ts +0 -12
  169. package/model/transformationUpdateResponse.ts +0 -16
  170. package/model/trigger.ts +0 -11
  171. package/model/triggerType.ts +0 -6
  172. package/model/triggerUpdateInput.ts +0 -11
  173. package/model/window.ts +0 -16
@@ -1,6 +0,0 @@
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
-
3
- /**
4
- * HTTP method to be used for retrieving your data.
5
- */
6
- export type MethodType = 'GET' | 'POST';
package/model/model.ts DELETED
@@ -1,13 +0,0 @@
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
-
3
- export type Model = {
4
- fullname: string;
5
-
6
- modelName: string;
7
-
8
- systemPrompt: string;
9
-
10
- id: string;
11
-
12
- provider: string;
13
- };
@@ -1,15 +0,0 @@
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
-
3
- import type { OnDemandTriggerType } from './onDemandTriggerType';
4
-
5
- /**
6
- * Trigger information for manually-triggered tasks.
7
- */
8
- export type OnDemandTrigger = {
9
- type: OnDemandTriggerType;
10
-
11
- /**
12
- * The last time the scheduled task ran in RFC 3339 format.
13
- */
14
- lastRun?: string;
15
- };
@@ -1,10 +0,0 @@
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
-
3
- import type { OnDemandTriggerType } from './onDemandTriggerType';
4
-
5
- /**
6
- * Trigger information for manually-triggered tasks.
7
- */
8
- export type OnDemandTriggerInput = {
9
- type: OnDemandTriggerType;
10
- };
@@ -1,6 +0,0 @@
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
-
3
- /**
4
- * Task is run manually, with the `/run` endpoint.
5
- */
6
- export type OnDemandTriggerType = 'onDemand';
@@ -1,6 +0,0 @@
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
-
3
- /**
4
- * Ascending or descending sort order.
5
- */
6
- export type OrderKeys = 'asc' | 'desc';
@@ -1,26 +0,0 @@
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
-
3
- /**
4
- * Paginated API response.
5
- */
6
- export type Pagination = {
7
- /**
8
- * Number of pages in the API response.
9
- */
10
- nbPages: number;
11
-
12
- /**
13
- * Page of the API response to retrieve.
14
- */
15
- page: number;
16
-
17
- /**
18
- * Number of items in the API response.
19
- */
20
- nbItems: number;
21
-
22
- /**
23
- * Number of items per page.
24
- */
25
- itemsPerPage: number;
26
- };
package/model/platform.ts DELETED
@@ -1,6 +0,0 @@
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
-
3
- /**
4
- * Name of an ecommerce platform with which to authenticate. This determines which authentication type you can select.
5
- */
6
- export type Platform = 'bigcommerce' | 'commercetools' | 'shopify';
@@ -1,6 +0,0 @@
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
-
3
- /**
4
- * Authentication resource not tied to any ecommerce platform, used for filtering.
5
- */
6
- export type PlatformNone = 'none';
@@ -1,6 +0,0 @@
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
-
3
- import type { Platform } from './platform';
4
- import type { PlatformNone } from './platformNone';
5
-
6
- export type PlatformWithNone = Platform | PlatformNone;
@@ -1,10 +0,0 @@
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
-
3
- import type { Action } from './action';
4
- import type { PushTaskRecords } from './pushTaskRecords';
5
-
6
- export type PushTaskPayload = {
7
- action: Action;
8
-
9
- records: PushTaskRecords[];
10
- };
@@ -1,8 +0,0 @@
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
-
3
- export type PushTaskRecords = Record<string, any> & {
4
- /**
5
- * Unique record identifier.
6
- */
7
- objectID: string;
8
- };
@@ -1,6 +0,0 @@
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
-
3
- /**
4
- * Record type for ecommerce sources.
5
- */
6
- export type RecordType = 'product' | 'variant';
package/model/run.ts DELETED
@@ -1,56 +0,0 @@
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
-
3
- import type { RunOutcome } from './runOutcome';
4
- import type { RunProgress } from './runProgress';
5
- import type { RunReasonCode } from './runReasonCode';
6
- import type { RunStatus } from './runStatus';
7
- import type { RunType } from './runType';
8
-
9
- export type Run = {
10
- /**
11
- * Universally unique identifier (UUID) of a task run.
12
- */
13
- runID: string;
14
-
15
- appID: string;
16
-
17
- /**
18
- * Universally unique identifier (UUID) of a task.
19
- */
20
- taskID: string;
21
-
22
- status: RunStatus;
23
-
24
- progress?: RunProgress;
25
-
26
- outcome?: RunOutcome;
27
-
28
- /**
29
- * Maximum accepted percentage of failures for a task run to finish successfully.
30
- */
31
- failureThreshold?: number;
32
-
33
- /**
34
- * More information about the task run\'s outcome.
35
- */
36
- reason?: string;
37
-
38
- reasonCode?: RunReasonCode;
39
-
40
- type: RunType;
41
-
42
- /**
43
- * Date of creation in RFC 3339 format.
44
- */
45
- createdAt: string;
46
-
47
- /**
48
- * Date of start in RFC 3339 format.
49
- */
50
- startedAt?: string;
51
-
52
- /**
53
- * Date of finish in RFC 3339 format.
54
- */
55
- finishedAt?: string;
56
- };
@@ -1,13 +0,0 @@
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
-
3
- import type { Pagination } from './pagination';
4
- import type { Run } from './run';
5
- import type { Window } from './window';
6
-
7
- export type RunListResponse = {
8
- runs: Run[];
9
-
10
- pagination: Pagination;
11
-
12
- window: Window;
13
- };
@@ -1,6 +0,0 @@
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
-
3
- /**
4
- * Task run outcome.
5
- */
6
- export type RunOutcome = 'failure' | 'processing' | 'success';
@@ -1,7 +0,0 @@
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
-
3
- export type RunProgress = {
4
- expectedNbOfEvents?: number;
5
-
6
- receivedNbOfEvents?: number;
7
- };
@@ -1,6 +0,0 @@
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
-
3
- /**
4
- * A code for the task run\'s outcome. A readable description of the code is included in the `reason` response property.
5
- */
6
- export type RunReasonCode = 'blocking' | 'critical' | 'discarded' | 'internal' | 'no_events' | 'ok' | 'too_many_errors';
@@ -1,16 +0,0 @@
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
-
3
- /**
4
- * API response for running a task.
5
- */
6
- export type RunResponse = {
7
- /**
8
- * Universally unique identifier (UUID) of a task run.
9
- */
10
- runID: string;
11
-
12
- /**
13
- * Date of creation in RFC 3339 format.
14
- */
15
- createdAt: string;
16
- };
@@ -1,6 +0,0 @@
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
-
3
- /**
4
- * Property by which to sort the list of task runs.
5
- */
6
- export type RunSortKeys = 'createdAt' | 'status' | 'updatedAt';
@@ -1,22 +0,0 @@
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
-
3
- import type { EntityType } from './entityType';
4
-
5
- export type RunSourcePayload = {
6
- /**
7
- * List of index names to include in reidexing/update.
8
- */
9
- indexToInclude?: string[];
10
-
11
- /**
12
- * List of index names to exclude in reidexing/update.
13
- */
14
- indexToExclude?: string[];
15
-
16
- /**
17
- * List of entityID to update.
18
- */
19
- entityIDs?: string[];
20
-
21
- entityType?: EntityType;
22
- };
@@ -1,13 +0,0 @@
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
-
3
- export type RunSourceResponse = {
4
- /**
5
- * Map of taskID sent for reindex with the corresponding runID.
6
- */
7
- taskWithRunID: Record<string, string>;
8
-
9
- /**
10
- * Date of creation in RFC 3339 format.
11
- */
12
- createdAt: string;
13
- };
@@ -1,6 +0,0 @@
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
-
3
- /**
4
- * Task run status.
5
- */
6
- export type RunStatus = 'created' | 'finished' | 'idled' | 'skipped' | 'started';
package/model/runType.ts DELETED
@@ -1,6 +0,0 @@
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
-
3
- /**
4
- * Task run type.
5
- */
6
- export type RunType = 'discover' | 'push' | 'reindex' | 'update' | 'validate';
@@ -1,25 +0,0 @@
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
-
3
- import type { ScheduleTriggerType } from './scheduleTriggerType';
4
-
5
- /**
6
- * Trigger information for scheduled tasks.
7
- */
8
- export type ScheduleTrigger = {
9
- type: ScheduleTriggerType;
10
-
11
- /**
12
- * Cron expression for the task\'s schedule.
13
- */
14
- cron: string;
15
-
16
- /**
17
- * The last time the scheduled task ran in RFC 3339 format.
18
- */
19
- lastRun?: string;
20
-
21
- /**
22
- * The next scheduled run of the task in RFC 3339 format.
23
- */
24
- nextRun: string;
25
- };
@@ -1,15 +0,0 @@
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
-
3
- import type { ScheduleTriggerType } from './scheduleTriggerType';
4
-
5
- /**
6
- * Trigger input for scheduled tasks.
7
- */
8
- export type ScheduleTriggerInput = {
9
- type: ScheduleTriggerType;
10
-
11
- /**
12
- * Cron expression for the task\'s schedule.
13
- */
14
- cron: string;
15
- };
@@ -1,6 +0,0 @@
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
-
3
- /**
4
- * Task runs on a schedule.
5
- */
6
- export type ScheduleTriggerType = 'schedule';
@@ -1,13 +0,0 @@
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
-
3
- import type { ShopifyMarket } from './shopifyMarket';
4
- import type { ShopifyMetafield } from './shopifyMetafield';
5
-
6
- /**
7
- * Represents the required elements of the task input when using a `shopify` source.
8
- */
9
- export type ShopifyInput = {
10
- metafields: ShopifyMetafield[];
11
-
12
- market: ShopifyMarket;
13
- };
@@ -1,12 +0,0 @@
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
-
3
- /**
4
- * Represents a market in Shopify.
5
- */
6
- export type ShopifyMarket = {
7
- countries: string[];
8
-
9
- currencies: string[];
10
-
11
- locales: string[];
12
- };
@@ -1,12 +0,0 @@
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
-
3
- /**
4
- * Represents a metafield in Shopify.
5
- */
6
- export type ShopifyMetafield = {
7
- namespace: string;
8
-
9
- key: string;
10
-
11
- value: string;
12
- };
package/model/sortKeys.ts DELETED
@@ -1,6 +0,0 @@
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
-
3
- /**
4
- * Property by which to sort the list.
5
- */
6
- export type SortKeys = 'createdAt' | 'name' | 'type' | 'updatedAt';
package/model/source.ts DELETED
@@ -1,32 +0,0 @@
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
-
3
- import type { SourceInput } from './sourceInput';
4
- import type { SourceType } from './sourceType';
5
-
6
- export type Source = {
7
- /**
8
- * Universally uniqud identifier (UUID) of a source.
9
- */
10
- sourceID: string;
11
-
12
- type: SourceType;
13
-
14
- name: string;
15
-
16
- input?: SourceInput;
17
-
18
- /**
19
- * Universally unique identifier (UUID) of an authentication resource.
20
- */
21
- authenticationID?: string;
22
-
23
- /**
24
- * Date of creation in RFC 3339 format.
25
- */
26
- createdAt: string;
27
-
28
- /**
29
- * Date of last update in RFC 3339 format.
30
- */
31
- updatedAt?: string;
32
- };
@@ -1,19 +0,0 @@
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
-
3
- import type { BigCommerceChannel } from './bigCommerceChannel';
4
- import type { BigCommerceMetafield } from './bigCommerceMetafield';
5
-
6
- export type SourceBigCommerce = {
7
- /**
8
- * Store hash identifying your BigCommerce store.
9
- */
10
- storeHash: string;
11
-
12
- channel?: BigCommerceChannel;
13
-
14
- customFields?: string[];
15
-
16
- productMetafields?: BigCommerceMetafield[];
17
-
18
- variantMetafields?: BigCommerceMetafield[];
19
- };
@@ -1,37 +0,0 @@
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
-
3
- import type { BigQueryDataType } from './bigQueryDataType';
4
-
5
- export type SourceBigQuery = {
6
- /**
7
- * Project ID of the BigQuery source.
8
- */
9
- projectID: string;
10
-
11
- /**
12
- * Dataset ID of the BigQuery source.
13
- */
14
- datasetID: string;
15
-
16
- dataType?: BigQueryDataType;
17
-
18
- /**
19
- * Table name for the BigQuery export.
20
- */
21
- table?: string;
22
-
23
- /**
24
- * Table prefix for a Google Analytics 4 data export to BigQuery.
25
- */
26
- tablePrefix?: string;
27
-
28
- /**
29
- * Custom SQL request to extract data from the BigQuery table.
30
- */
31
- customSQLRequest?: string;
32
-
33
- /**
34
- * Name of a column that contains a unique ID which will be used as `objectID` in Algolia.
35
- */
36
- uniqueIDColumn?: string;
37
- };
@@ -1,28 +0,0 @@
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
-
3
- import type { MappingTypeCSV } from './mappingTypeCSV';
4
- import type { MethodType } from './methodType';
5
-
6
- export type SourceCSV = {
7
- /**
8
- * URL of the file.
9
- */
10
- url: string;
11
-
12
- /**
13
- * Name of a column that contains a unique ID which will be used as `objectID` in Algolia.
14
- */
15
- uniqueIDColumn?: string;
16
-
17
- /**
18
- * Key-value pairs of column names and their expected types.
19
- */
20
- mapping?: Record<string, MappingTypeCSV>;
21
-
22
- method?: MethodType;
23
-
24
- /**
25
- * The character used to split the value on each line, default to a comma (\\r, \\n, 0xFFFD, and space are forbidden).
26
- */
27
- delimiter?: string;
28
- };
@@ -1,23 +0,0 @@
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
-
3
- import type { CommercetoolsCustomFields } from './commercetoolsCustomFields';
4
-
5
- export type SourceCommercetools = {
6
- storeKeys?: string[];
7
-
8
- /**
9
- * Locales for your commercetools stores.
10
- */
11
- locales?: string[];
12
-
13
- url: string;
14
-
15
- projectKey: string;
16
-
17
- /**
18
- * Whether a fallback value is stored in the Algolia record if there\'s no inventory information about the product.
19
- */
20
- fallbackIsInStockValue?: boolean;
21
-
22
- customFields?: CommercetoolsCustomFields;
23
- };
@@ -1,20 +0,0 @@
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
-
3
- import type { SourceInput } from './sourceInput';
4
- import type { SourceType } from './sourceType';
5
-
6
- export type SourceCreate = {
7
- type: SourceType;
8
-
9
- /**
10
- * Descriptive name of the source.
11
- */
12
- name: string;
13
-
14
- input?: SourceInput;
15
-
16
- /**
17
- * Universally unique identifier (UUID) of an authentication resource.
18
- */
19
- authenticationID?: string;
20
- };
@@ -1,18 +0,0 @@
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
-
3
- export type SourceCreateResponse = {
4
- /**
5
- * Universally uniqud identifier (UUID) of a source.
6
- */
7
- sourceID: string;
8
-
9
- /**
10
- * Descriptive name of the source.
11
- */
12
- name: string;
13
-
14
- /**
15
- * Date of creation in RFC 3339 format.
16
- */
17
- createdAt: string;
18
- };
@@ -1,25 +0,0 @@
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
-
3
- import type { DockerImageType } from './dockerImageType';
4
- import type { DockerRegistry } from './dockerRegistry';
5
-
6
- export type SourceDocker = {
7
- imageType: DockerImageType;
8
-
9
- registry: DockerRegistry;
10
-
11
- /**
12
- * Docker image name.
13
- */
14
- image: string;
15
-
16
- /**
17
- * Docker image version.
18
- */
19
- version?: string;
20
-
21
- /**
22
- * Configuration of the spec.
23
- */
24
- configuration: Record<string, unknown>;
25
- };
@@ -1,18 +0,0 @@
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
-
3
- export type SourceGA4BigQueryExport = {
4
- /**
5
- * GCP project ID that the BigQuery export writes to.
6
- */
7
- projectID: string;
8
-
9
- /**
10
- * BigQuery dataset ID that the BigQuery export writes to.
11
- */
12
- datasetID: string;
13
-
14
- /**
15
- * Prefix of the tables that the BigQuery Export writes to.
16
- */
17
- tablePrefix: string;
18
- };