@algolia/ingestion 1.0.0-alpha.82 → 1.0.0-alpha.84

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 (224) hide show
  1. package/dist/ingestion.cjs +103 -103
  2. package/dist/ingestion.esm.browser.js +104 -104
  3. package/dist/ingestion.esm.node.js +103 -103
  4. package/dist/ingestion.umd.js +2 -2
  5. package/dist/model/actionType.d.ts +1 -1
  6. package/dist/model/authAPIKey.d.ts +4 -1
  7. package/dist/model/authAPIKey.d.ts.map +1 -1
  8. package/dist/model/authAPIKeyPartial.d.ts +4 -1
  9. package/dist/model/authAPIKeyPartial.d.ts.map +1 -1
  10. package/dist/model/authAlgolia.d.ts +5 -2
  11. package/dist/model/authAlgolia.d.ts.map +1 -1
  12. package/dist/model/authAlgoliaPartial.d.ts +5 -2
  13. package/dist/model/authAlgoliaPartial.d.ts.map +1 -1
  14. package/dist/model/authBasic.d.ts +7 -1
  15. package/dist/model/authBasic.d.ts.map +1 -1
  16. package/dist/model/authBasicPartial.d.ts +7 -1
  17. package/dist/model/authBasicPartial.d.ts.map +1 -1
  18. package/dist/model/authGoogleServiceAccount.d.ts +3 -3
  19. package/dist/model/authGoogleServiceAccountPartial.d.ts +3 -3
  20. package/dist/model/authOAuth.d.ts +8 -4
  21. package/dist/model/authOAuth.d.ts.map +1 -1
  22. package/dist/model/authOAuthPartial.d.ts +8 -4
  23. package/dist/model/authOAuthPartial.d.ts.map +1 -1
  24. package/dist/model/authentication.d.ts +5 -5
  25. package/dist/model/authenticationCreate.d.ts +2 -2
  26. package/dist/model/authenticationCreateResponse.d.ts +4 -4
  27. package/dist/model/authenticationSearch.d.ts +1 -1
  28. package/dist/model/authenticationSortKeys.d.ts +1 -1
  29. package/dist/model/authenticationType.d.ts +1 -1
  30. package/dist/model/authenticationUpdate.d.ts +2 -2
  31. package/dist/model/authenticationUpdateResponse.d.ts +4 -4
  32. package/dist/model/bigCommerceChannel.d.ts +2 -2
  33. package/dist/model/bigCommerceMetafield.d.ts +2 -2
  34. package/dist/model/clientMethodProps.d.ts +64 -64
  35. package/dist/model/commercetoolsCustomFields.d.ts +1 -1
  36. package/dist/model/deleteResponse.d.ts +1 -1
  37. package/dist/model/destination.d.ts +6 -6
  38. package/dist/model/destinationCreate.d.ts +3 -3
  39. package/dist/model/destinationCreateResponse.d.ts +4 -4
  40. package/dist/model/destinationIndexName.d.ts +2 -2
  41. package/dist/model/destinationIndexPrefix.d.ts +1 -1
  42. package/dist/model/destinationSearch.d.ts +1 -1
  43. package/dist/model/destinationSortKeys.d.ts +1 -1
  44. package/dist/model/destinationType.d.ts +2 -2
  45. package/dist/model/destinationType.d.ts.map +1 -1
  46. package/dist/model/destinationUpdate.d.ts +3 -3
  47. package/dist/model/destinationUpdateResponse.d.ts +4 -4
  48. package/dist/model/dockerImageType.d.ts +1 -1
  49. package/dist/model/dockerRegistry.d.ts +1 -1
  50. package/dist/model/dockerSourceDiscover.d.ts +2 -2
  51. package/dist/model/event.d.ts +3 -3
  52. package/dist/model/eventSortKeys.d.ts +1 -1
  53. package/dist/model/index.d.ts +1 -0
  54. package/dist/model/index.d.ts.map +1 -1
  55. package/dist/model/listTasksResponse.d.ts +1 -1
  56. package/dist/model/mappingFormatSchema.d.ts +5 -0
  57. package/dist/model/mappingFormatSchema.d.ts.map +1 -0
  58. package/dist/model/mappingInput.d.ts +3 -5
  59. package/dist/model/mappingInput.d.ts.map +1 -1
  60. package/dist/model/methodType.d.ts +3 -0
  61. package/dist/model/methodType.d.ts.map +1 -1
  62. package/dist/model/onDemandDateUtilsInput.d.ts +3 -3
  63. package/dist/model/onDemandTrigger.d.ts +2 -2
  64. package/dist/model/onDemandTriggerInput.d.ts +1 -1
  65. package/dist/model/onDemandTriggerType.d.ts +1 -1
  66. package/dist/model/orderKeys.d.ts +1 -1
  67. package/dist/model/pagination.d.ts +15 -0
  68. package/dist/model/pagination.d.ts.map +1 -1
  69. package/dist/model/platform.d.ts +2 -2
  70. package/dist/model/platform.d.ts.map +1 -1
  71. package/dist/model/platformNone.d.ts +1 -1
  72. package/dist/model/recordType.d.ts +1 -1
  73. package/dist/model/run.d.ts +7 -7
  74. package/dist/model/runOutcome.d.ts +3 -0
  75. package/dist/model/runOutcome.d.ts.map +1 -1
  76. package/dist/model/runReasonCode.d.ts +1 -1
  77. package/dist/model/runResponse.d.ts +3 -3
  78. package/dist/model/runSortKeys.d.ts +1 -1
  79. package/dist/model/runStatus.d.ts +3 -0
  80. package/dist/model/runStatus.d.ts.map +1 -1
  81. package/dist/model/runType.d.ts +3 -0
  82. package/dist/model/runType.d.ts.map +1 -1
  83. package/dist/model/scheduleDateUtilsInput.d.ts +2 -2
  84. package/dist/model/scheduleTrigger.d.ts +4 -4
  85. package/dist/model/scheduleTriggerInput.d.ts +2 -2
  86. package/dist/model/scheduleTriggerType.d.ts +1 -1
  87. package/dist/model/source.d.ts +4 -4
  88. package/dist/model/sourceBigCommerce.d.ts +1 -1
  89. package/dist/model/sourceBigQuery.d.ts +5 -5
  90. package/dist/model/sourceCSV.d.ts +3 -3
  91. package/dist/model/sourceCommercetools.d.ts +2 -2
  92. package/dist/model/sourceCreate.d.ts +4 -1
  93. package/dist/model/sourceCreate.d.ts.map +1 -1
  94. package/dist/model/sourceCreateResponse.d.ts +5 -2
  95. package/dist/model/sourceCreateResponse.d.ts.map +1 -1
  96. package/dist/model/sourceDocker.d.ts +3 -3
  97. package/dist/model/sourceGA4BigQueryExport.d.ts +3 -3
  98. package/dist/model/sourceJSON.d.ts +2 -2
  99. package/dist/model/sourceSortKeys.d.ts +1 -1
  100. package/dist/model/sourceType.d.ts +1 -1
  101. package/dist/model/sourceType.d.ts.map +1 -1
  102. package/dist/model/sourceUpdate.d.ts +4 -1
  103. package/dist/model/sourceUpdate.d.ts.map +1 -1
  104. package/dist/model/sourceUpdateCommercetools.d.ts +2 -5
  105. package/dist/model/sourceUpdateCommercetools.d.ts.map +1 -1
  106. package/dist/model/sourceUpdateDocker.d.ts +3 -3
  107. package/dist/model/sourceUpdateResponse.d.ts +5 -2
  108. package/dist/model/sourceUpdateResponse.d.ts.map +1 -1
  109. package/dist/model/streamingTrigger.d.ts +1 -1
  110. package/dist/model/streamingTriggerType.d.ts +1 -1
  111. package/dist/model/streamingUtilsInput.d.ts +1 -1
  112. package/dist/model/subscriptionTrigger.d.ts +1 -1
  113. package/dist/model/subscriptionTriggerType.d.ts +1 -1
  114. package/dist/model/task.d.ts +7 -7
  115. package/dist/model/taskCreate.d.ts +5 -5
  116. package/dist/model/taskCreateResponse.d.ts +3 -3
  117. package/dist/model/taskInput.d.ts +3 -0
  118. package/dist/model/taskInput.d.ts.map +1 -1
  119. package/dist/model/taskSortKeys.d.ts +1 -1
  120. package/dist/model/taskUpdate.d.ts +4 -4
  121. package/dist/model/taskUpdateResponse.d.ts +3 -3
  122. package/dist/model/trigger.d.ts +3 -0
  123. package/dist/model/trigger.d.ts.map +1 -1
  124. package/dist/model/triggerType.d.ts +1 -1
  125. package/dist/model/triggerUpdateInput.d.ts +2 -2
  126. package/dist/model/window.d.ts +3 -3
  127. package/dist/src/ingestionClient.d.ts +99 -99
  128. package/model/actionType.ts +1 -1
  129. package/model/authAPIKey.ts +4 -1
  130. package/model/authAPIKeyPartial.ts +4 -1
  131. package/model/authAlgolia.ts +5 -2
  132. package/model/authAlgoliaPartial.ts +5 -2
  133. package/model/authBasic.ts +7 -1
  134. package/model/authBasicPartial.ts +7 -1
  135. package/model/authGoogleServiceAccount.ts +3 -3
  136. package/model/authGoogleServiceAccountPartial.ts +3 -3
  137. package/model/authOAuth.ts +9 -4
  138. package/model/authOAuthPartial.ts +9 -4
  139. package/model/authentication.ts +5 -5
  140. package/model/authenticationCreate.ts +2 -2
  141. package/model/authenticationCreateResponse.ts +4 -4
  142. package/model/authenticationSearch.ts +1 -1
  143. package/model/authenticationSortKeys.ts +1 -1
  144. package/model/authenticationType.ts +1 -1
  145. package/model/authenticationUpdate.ts +2 -2
  146. package/model/authenticationUpdateResponse.ts +4 -4
  147. package/model/bigCommerceChannel.ts +2 -2
  148. package/model/bigCommerceMetafield.ts +2 -2
  149. package/model/clientMethodProps.ts +64 -64
  150. package/model/commercetoolsCustomFields.ts +1 -1
  151. package/model/deleteResponse.ts +1 -1
  152. package/model/destination.ts +6 -6
  153. package/model/destinationCreate.ts +3 -3
  154. package/model/destinationCreateResponse.ts +4 -4
  155. package/model/destinationIndexName.ts +2 -2
  156. package/model/destinationIndexPrefix.ts +1 -1
  157. package/model/destinationSearch.ts +1 -1
  158. package/model/destinationSortKeys.ts +1 -1
  159. package/model/destinationType.ts +2 -2
  160. package/model/destinationUpdate.ts +3 -3
  161. package/model/destinationUpdateResponse.ts +4 -4
  162. package/model/dockerImageType.ts +1 -1
  163. package/model/dockerRegistry.ts +1 -1
  164. package/model/dockerSourceDiscover.ts +2 -2
  165. package/model/event.ts +3 -3
  166. package/model/eventSortKeys.ts +1 -1
  167. package/model/index.ts +1 -0
  168. package/model/listTasksResponse.ts +1 -1
  169. package/model/mappingFormatSchema.ts +6 -0
  170. package/model/mappingInput.ts +3 -5
  171. package/model/methodType.ts +3 -0
  172. package/model/onDemandDateUtilsInput.ts +3 -3
  173. package/model/onDemandTrigger.ts +2 -2
  174. package/model/onDemandTriggerInput.ts +1 -1
  175. package/model/onDemandTriggerType.ts +1 -1
  176. package/model/orderKeys.ts +1 -1
  177. package/model/pagination.ts +15 -0
  178. package/model/platform.ts +2 -2
  179. package/model/platformNone.ts +1 -1
  180. package/model/recordType.ts +1 -1
  181. package/model/run.ts +7 -7
  182. package/model/runOutcome.ts +3 -0
  183. package/model/runReasonCode.ts +1 -1
  184. package/model/runResponse.ts +3 -3
  185. package/model/runSortKeys.ts +1 -1
  186. package/model/runStatus.ts +3 -0
  187. package/model/runType.ts +3 -0
  188. package/model/scheduleDateUtilsInput.ts +2 -2
  189. package/model/scheduleTrigger.ts +4 -4
  190. package/model/scheduleTriggerInput.ts +2 -2
  191. package/model/scheduleTriggerType.ts +1 -1
  192. package/model/source.ts +4 -4
  193. package/model/sourceBigCommerce.ts +1 -1
  194. package/model/sourceBigQuery.ts +5 -5
  195. package/model/sourceCSV.ts +3 -3
  196. package/model/sourceCommercetools.ts +2 -2
  197. package/model/sourceCreate.ts +4 -1
  198. package/model/sourceCreateResponse.ts +5 -2
  199. package/model/sourceDocker.ts +3 -3
  200. package/model/sourceGA4BigQueryExport.ts +3 -3
  201. package/model/sourceJSON.ts +2 -2
  202. package/model/sourceSortKeys.ts +1 -1
  203. package/model/sourceType.ts +3 -1
  204. package/model/sourceUpdate.ts +4 -1
  205. package/model/sourceUpdateCommercetools.ts +2 -5
  206. package/model/sourceUpdateDocker.ts +3 -3
  207. package/model/sourceUpdateResponse.ts +5 -2
  208. package/model/streamingTrigger.ts +1 -1
  209. package/model/streamingTriggerType.ts +1 -1
  210. package/model/streamingUtilsInput.ts +1 -1
  211. package/model/subscriptionTrigger.ts +1 -1
  212. package/model/subscriptionTriggerType.ts +1 -1
  213. package/model/task.ts +7 -7
  214. package/model/taskCreate.ts +5 -5
  215. package/model/taskCreateResponse.ts +3 -3
  216. package/model/taskInput.ts +3 -0
  217. package/model/taskSortKeys.ts +1 -1
  218. package/model/taskUpdate.ts +4 -4
  219. package/model/taskUpdateResponse.ts +3 -3
  220. package/model/trigger.ts +3 -0
  221. package/model/triggerType.ts +1 -1
  222. package/model/triggerUpdateInput.ts +2 -2
  223. package/model/window.ts +3 -3
  224. package/package.json +7 -7
@@ -83,7 +83,7 @@ export type CustomPutProps = {
83
83
  */
84
84
  export type DeleteAuthenticationProps = {
85
85
  /**
86
- * The authentication UUID.
86
+ * Unique identifier of an authentication resource.
87
87
  */
88
88
  authenticationID: string;
89
89
  };
@@ -92,7 +92,7 @@ export type DeleteAuthenticationProps = {
92
92
  */
93
93
  export type DeleteDestinationProps = {
94
94
  /**
95
- * The destination UUID.
95
+ * Unique identifier of a destination.
96
96
  */
97
97
  destinationID: string;
98
98
  };
@@ -101,7 +101,7 @@ export type DeleteDestinationProps = {
101
101
  */
102
102
  export type DeleteSourceProps = {
103
103
  /**
104
- * The source UUID.
104
+ * Unique identifier of a source.
105
105
  */
106
106
  sourceID: string;
107
107
  };
@@ -110,7 +110,7 @@ export type DeleteSourceProps = {
110
110
  */
111
111
  export type DeleteTaskProps = {
112
112
  /**
113
- * The task UUID.
113
+ * Unique identifier of a task.
114
114
  */
115
115
  taskID: string;
116
116
  };
@@ -119,7 +119,7 @@ export type DeleteTaskProps = {
119
119
  */
120
120
  export type DisableTaskProps = {
121
121
  /**
122
- * The task UUID.
122
+ * Unique identifier of a task.
123
123
  */
124
124
  taskID: string;
125
125
  };
@@ -128,7 +128,7 @@ export type DisableTaskProps = {
128
128
  */
129
129
  export type EnableTaskProps = {
130
130
  /**
131
- * The task UUID.
131
+ * Unique identifier of a task.
132
132
  */
133
133
  taskID: string;
134
134
  };
@@ -137,7 +137,7 @@ export type EnableTaskProps = {
137
137
  */
138
138
  export type GetAuthenticationProps = {
139
139
  /**
140
- * The authentication UUID.
140
+ * Unique identifier of an authentication resource.
141
141
  */
142
142
  authenticationID: string;
143
143
  };
@@ -146,27 +146,27 @@ export type GetAuthenticationProps = {
146
146
  */
147
147
  export type GetAuthenticationsProps = {
148
148
  /**
149
- * The number of items per page to return.
149
+ * Number of items per page.
150
150
  */
151
151
  itemsPerPage?: number;
152
152
  /**
153
- * The page number to fetch, starting at 1.
153
+ * Page number of the paginated API response.
154
154
  */
155
155
  page?: number;
156
156
  /**
157
- * The type of the authentications to retrieve.
157
+ * Type of authentication resource to retrieve.
158
158
  */
159
159
  type?: AuthenticationType[];
160
160
  /**
161
- * The platform of the authentications to retrieve.
161
+ * Ecommerce platform for which to retrieve authentication resources.
162
162
  */
163
163
  platform?: PlatformWithNone[];
164
164
  /**
165
- * The key by which the list should be sorted.
165
+ * Property by which to sort the list of authentication resources.
166
166
  */
167
167
  sort?: AuthenticationSortKeys;
168
168
  /**
169
- * The order of the returned list.
169
+ * Sort order of the response, ascending or descending.
170
170
  */
171
171
  order?: OrderKeys;
172
172
  };
@@ -175,7 +175,7 @@ export type GetAuthenticationsProps = {
175
175
  */
176
176
  export type GetDestinationProps = {
177
177
  /**
178
- * The destination UUID.
178
+ * Unique identifier of a destination.
179
179
  */
180
180
  destinationID: string;
181
181
  };
@@ -184,27 +184,27 @@ export type GetDestinationProps = {
184
184
  */
185
185
  export type GetDestinationsProps = {
186
186
  /**
187
- * The number of items per page to return.
187
+ * Number of items per page.
188
188
  */
189
189
  itemsPerPage?: number;
190
190
  /**
191
- * The page number to fetch, starting at 1.
191
+ * Page number of the paginated API response.
192
192
  */
193
193
  page?: number;
194
194
  /**
195
- * The type of the destinations to retrive.
195
+ * Destination type.
196
196
  */
197
197
  type?: DestinationType[];
198
198
  /**
199
- * The authenticationIDs of the destinations to retrive.
199
+ * Authentication ID used by destinations.
200
200
  */
201
201
  authenticationID?: string[];
202
202
  /**
203
- * The key by which the list should be sorted.
203
+ * Property by which to sort the destinations.
204
204
  */
205
205
  sort?: DestinationSortKeys;
206
206
  /**
207
- * The order of the returned list.
207
+ * Sort order of the response, ascending or descending.
208
208
  */
209
209
  order?: OrderKeys;
210
210
  };
@@ -213,7 +213,7 @@ export type GetDestinationsProps = {
213
213
  */
214
214
  export type GetDockerSourceStreamsProps = {
215
215
  /**
216
- * The source UUID.
216
+ * Unique identifier of a source.
217
217
  */
218
218
  sourceID: string;
219
219
  };
@@ -222,11 +222,11 @@ export type GetDockerSourceStreamsProps = {
222
222
  */
223
223
  export type GetEventProps = {
224
224
  /**
225
- * The run UUID.
225
+ * Unique identifier of a task run.
226
226
  */
227
227
  runID: string;
228
228
  /**
229
- * The event UUID.
229
+ * Unique identifier of an event.
230
230
  */
231
231
  eventID: string;
232
232
  };
@@ -235,39 +235,39 @@ export type GetEventProps = {
235
235
  */
236
236
  export type GetEventsProps = {
237
237
  /**
238
- * The run UUID.
238
+ * Unique identifier of a task run.
239
239
  */
240
240
  runID: string;
241
241
  /**
242
- * The number of items per page to return.
242
+ * Number of items per page.
243
243
  */
244
244
  itemsPerPage?: number;
245
245
  /**
246
- * The page number to fetch, starting at 1.
246
+ * Page number of the paginated API response.
247
247
  */
248
248
  page?: number;
249
249
  /**
250
- * Filter the status of the events.
250
+ * Event status for filtering the list of task runs.
251
251
  */
252
252
  status?: EventStatus[];
253
253
  /**
254
- * Filter the type of the events.
254
+ * Event type for filtering the list of task runs.
255
255
  */
256
256
  type?: EventType[];
257
257
  /**
258
- * The key by which the list should be sorted.
258
+ * Property by which to sort the list of task run events.
259
259
  */
260
260
  sort?: EventSortKeys;
261
261
  /**
262
- * The order of the returned list.
262
+ * Sort order of the response, ascending or descending.
263
263
  */
264
264
  order?: OrderKeys;
265
265
  /**
266
- * The start date (in RFC3339 format) of the events fetching window. Defaults to \'now\'-3 hours if omitted.
266
+ * Date and time in RFC3339 format for the earliest events to retrieve. By default, the current time minus three hours is used.
267
267
  */
268
268
  startDate?: string;
269
269
  /**
270
- * The end date (in RFC3339 format) of the events fetching window. Defaults to \'now\' days if omitted.
270
+ * Date and time in RFC3339 format for the latest events to retrieve. By default, the current time is used.
271
271
  */
272
272
  endDate?: string;
273
273
  };
@@ -276,7 +276,7 @@ export type GetEventsProps = {
276
276
  */
277
277
  export type GetRunProps = {
278
278
  /**
279
- * The run UUID.
279
+ * Unique identifier of a task run.
280
280
  */
281
281
  runID: string;
282
282
  };
@@ -285,35 +285,35 @@ export type GetRunProps = {
285
285
  */
286
286
  export type GetRunsProps = {
287
287
  /**
288
- * The number of items per page to return.
288
+ * Number of items per page.
289
289
  */
290
290
  itemsPerPage?: number;
291
291
  /**
292
- * The page number to fetch, starting at 1.
292
+ * Page number of the paginated API response.
293
293
  */
294
294
  page?: number;
295
295
  /**
296
- * Filter the status of the runs.
296
+ * Run status for filtering the list of task runs.
297
297
  */
298
298
  status?: RunStatus[];
299
299
  /**
300
- * Filter by taskID.
300
+ * Task ID for filtering the list of task runs.
301
301
  */
302
302
  taskID?: string;
303
303
  /**
304
- * The key by which the list should be sorted.
304
+ * Property by which to sort the list of task runs.
305
305
  */
306
306
  sort?: RunSortKeys;
307
307
  /**
308
- * The order of the returned list.
308
+ * Sort order of the response, ascending or descending.
309
309
  */
310
310
  order?: OrderKeys;
311
311
  /**
312
- * The start date (in RFC3339 format) of the runs fetching window. Defaults to \'now\'-7 days if omitted.
312
+ * Date in RFC3339 format for the earliest run to retrieve. By default, the current day minus seven days is used.
313
313
  */
314
314
  startDate?: string;
315
315
  /**
316
- * The end date (in RFC3339 format) of the runs fetching window. Defaults to \'now\' days if omitted.
316
+ * Date in RFC3339 format for the latest run to retrieve. By default, the current day is used.
317
317
  */
318
318
  endDate?: string;
319
319
  };
@@ -322,7 +322,7 @@ export type GetRunsProps = {
322
322
  */
323
323
  export type GetSourceProps = {
324
324
  /**
325
- * The source UUID.
325
+ * Unique identifier of a source.
326
326
  */
327
327
  sourceID: string;
328
328
  };
@@ -331,27 +331,27 @@ export type GetSourceProps = {
331
331
  */
332
332
  export type GetSourcesProps = {
333
333
  /**
334
- * The number of items per page to return.
334
+ * Number of items per page.
335
335
  */
336
336
  itemsPerPage?: number;
337
337
  /**
338
- * The page number to fetch, starting at 1.
338
+ * Page number of the paginated API response.
339
339
  */
340
340
  page?: number;
341
341
  /**
342
- * The type of the sources to retrieve.
342
+ * Source type. Some sources require authentication.
343
343
  */
344
344
  type?: SourceType[];
345
345
  /**
346
- * The authenticationIDs of the sources to retrieve. \'none\' returns sources that doesn\'t have an authentication.
346
+ * Authentication IDs of the sources to retrieve. \'none\' returns sources that doesn\'t have an authentication resource.
347
347
  */
348
348
  authenticationID?: string[];
349
349
  /**
350
- * The key by which the list should be sorted.
350
+ * Property by which to sort the list of sources.
351
351
  */
352
352
  sort?: SourceSortKeys;
353
353
  /**
354
- * The order of the returned list.
354
+ * Sort order of the response, ascending or descending.
355
355
  */
356
356
  order?: OrderKeys;
357
357
  };
@@ -360,7 +360,7 @@ export type GetSourcesProps = {
360
360
  */
361
361
  export type GetTaskProps = {
362
362
  /**
363
- * The task UUID.
363
+ * Unique identifier of a task.
364
364
  */
365
365
  taskID: string;
366
366
  };
@@ -369,39 +369,39 @@ export type GetTaskProps = {
369
369
  */
370
370
  export type GetTasksProps = {
371
371
  /**
372
- * The number of items per page to return.
372
+ * Number of items per page.
373
373
  */
374
374
  itemsPerPage?: number;
375
375
  /**
376
- * The page number to fetch, starting at 1.
376
+ * Page number of the paginated API response.
377
377
  */
378
378
  page?: number;
379
379
  /**
380
- * The action of the tasks to retrieve.
380
+ * Actions for filtering the list of tasks.
381
381
  */
382
382
  action?: ActionType[];
383
383
  /**
384
- * Whether the task is enabled or not.
384
+ * Whether to filter the list of tasks by the `enabled` status.
385
385
  */
386
386
  enabled?: boolean;
387
387
  /**
388
- * The sourceIDs of the tasks to retrieve.
388
+ * Source IDs for filtering the list of tasks.
389
389
  */
390
390
  sourceID?: string[];
391
391
  /**
392
- * The destinationIDs of the tasks to retrieve.
392
+ * Destination IDs for filtering the list of tasks.
393
393
  */
394
394
  destinationID?: string[];
395
395
  /**
396
- * The trigger type of the task.
396
+ * Type of task trigger for filtering the list of tasks.
397
397
  */
398
398
  triggerType?: TriggerType[];
399
399
  /**
400
- * The key by which the list should be sorted.
400
+ * Property by which to sort the list of tasks.
401
401
  */
402
402
  sort?: TaskSortKeys;
403
403
  /**
404
- * The order of the returned list.
404
+ * Sort order of the response, ascending or descending.
405
405
  */
406
406
  order?: OrderKeys;
407
407
  };
@@ -410,7 +410,7 @@ export type GetTasksProps = {
410
410
  */
411
411
  export type RunTaskProps = {
412
412
  /**
413
- * The task UUID.
413
+ * Unique identifier of a task.
414
414
  */
415
415
  taskID: string;
416
416
  };
@@ -419,7 +419,7 @@ export type RunTaskProps = {
419
419
  */
420
420
  export type TriggerDockerSourceDiscoverProps = {
421
421
  /**
422
- * The source UUID.
422
+ * Unique identifier of a source.
423
423
  */
424
424
  sourceID: string;
425
425
  };
@@ -428,7 +428,7 @@ export type TriggerDockerSourceDiscoverProps = {
428
428
  */
429
429
  export type UpdateAuthenticationProps = {
430
430
  /**
431
- * The authentication UUID.
431
+ * Unique identifier of an authentication resource.
432
432
  */
433
433
  authenticationID: string;
434
434
  authenticationUpdate: AuthenticationUpdate;
@@ -438,7 +438,7 @@ export type UpdateAuthenticationProps = {
438
438
  */
439
439
  export type UpdateDestinationProps = {
440
440
  /**
441
- * The destination UUID.
441
+ * Unique identifier of a destination.
442
442
  */
443
443
  destinationID: string;
444
444
  destinationUpdate: DestinationUpdate;
@@ -448,7 +448,7 @@ export type UpdateDestinationProps = {
448
448
  */
449
449
  export type UpdateSourceProps = {
450
450
  /**
451
- * The source UUID.
451
+ * Unique identifier of a source.
452
452
  */
453
453
  sourceID: string;
454
454
  sourceUpdate: SourceUpdate;
@@ -458,7 +458,7 @@ export type UpdateSourceProps = {
458
458
  */
459
459
  export type UpdateTaskProps = {
460
460
  /**
461
- * The task UUID.
461
+ * Unique identifier of a task.
462
462
  */
463
463
  taskID: string;
464
464
  taskUpdate: TaskUpdate;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Custom fields from Commercetools to index in the records (see https://docs.commercetools.com/tutorials/custom-types).
2
+ * Custom fields from commercetools to add to the records. For more information, see [Using Custom Types and Custom Fields](https://docs.commercetools.com/tutorials/custom-types).
3
3
  */
4
4
  export type CommercetoolsCustomFields = {
5
5
  /**
@@ -1,6 +1,6 @@
1
1
  export type DeleteResponse = {
2
2
  /**
3
- * Date of deletion (RFC3339 format).
3
+ * Date of deletion in RFC3339 format.
4
4
  */
5
5
  deletedAt: string;
6
6
  };
@@ -1,29 +1,29 @@
1
1
  import type { DestinationInput } from './destinationInput';
2
2
  import type { DestinationType } from './destinationType';
3
3
  /**
4
- * A destination describe how the data is indexed on the Algolia side.
4
+ * Destinations are Algolia resources like indices or event streams.
5
5
  */
6
6
  export type Destination = {
7
7
  /**
8
- * The destination UUID.
8
+ * Universally unique identifier (UUID) of a destination resource.
9
9
  */
10
10
  destinationID: string;
11
11
  type: DestinationType;
12
12
  /**
13
- * An human readable name describing the object.
13
+ * Descriptive name for the resource.
14
14
  */
15
15
  name: string;
16
16
  input: DestinationInput;
17
17
  /**
18
- * Date of creation (RFC3339 format).
18
+ * Date of creation in RFC3339 format.
19
19
  */
20
20
  createdAt: string;
21
21
  /**
22
- * Date of last update (RFC3339 format).
22
+ * Date of last update in RFC3339 format.
23
23
  */
24
24
  updatedAt?: string;
25
25
  /**
26
- * The authentication UUID.
26
+ * Universally unique identifier (UUID) of an authentication resource.
27
27
  */
28
28
  authenticationID?: string;
29
29
  };
@@ -1,17 +1,17 @@
1
1
  import type { DestinationInput } from './destinationInput';
2
2
  import type { DestinationType } from './destinationType';
3
3
  /**
4
- * The payload when creating a destination.
4
+ * API request body for creating a new destination.
5
5
  */
6
6
  export type DestinationCreate = {
7
7
  type: DestinationType;
8
8
  /**
9
- * An human readable name describing the object.
9
+ * Descriptive name for the resource.
10
10
  */
11
11
  name: string;
12
12
  input: DestinationInput;
13
13
  /**
14
- * The authentication UUID.
14
+ * Universally unique identifier (UUID) of an authentication resource.
15
15
  */
16
16
  authenticationID?: string;
17
17
  };
@@ -1,17 +1,17 @@
1
1
  /**
2
- * Response from the API when the Destination is successfully created.
2
+ * API response for creating a new destination.
3
3
  */
4
4
  export type DestinationCreateResponse = {
5
5
  /**
6
- * The destination UUID.
6
+ * Universally unique identifier (UUID) of a destination resource.
7
7
  */
8
8
  destinationID: string;
9
9
  /**
10
- * An human readable name describing the object.
10
+ * Descriptive name for the resource.
11
11
  */
12
12
  name: string;
13
13
  /**
14
- * Date of creation (RFC3339 format).
14
+ * Date of creation in RFC3339 format.
15
15
  */
16
16
  createdAt: string;
17
17
  };
@@ -1,12 +1,12 @@
1
1
  import type { RecordType } from './recordType';
2
2
  export type DestinationIndexName = {
3
3
  /**
4
- * The index name to store data in.
4
+ * Algolia index name.
5
5
  */
6
6
  indexName: string;
7
7
  recordType?: RecordType;
8
8
  /**
9
- * Determines the attributes to exclude from an Algolia record. To remove nested element, you can separate the path to the element with dots (`.`): - \"foo.bar\": will remove `bar` from `foo`. To remove elements from an array, you can use the following: - \"foo.[0].bar\": will only remove `bar` from the first element of `foo`. - \"foo.[*].bar\": will remove `bar` from every elements of `foo`.
9
+ * 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.
10
10
  */
11
11
  attributesToExclude?: string[];
12
12
  };
@@ -1,6 +1,6 @@
1
1
  export type DestinationIndexPrefix = {
2
2
  /**
3
- * The prefix of the final index name.
3
+ * String added to the beginning of all indices created by this destination.
4
4
  */
5
5
  indexPrefix: string;
6
6
  };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Payload to search for multiple destinations, based on the given `destinationIDs`.
2
+ * API request body for searching destinations.
3
3
  */
4
4
  export type DestinationSearch = {
5
5
  destinationIDs: string[];
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Used to sort the Destination list endpoint.
2
+ * Property by which to sort the destinations.
3
3
  */
4
4
  export type DestinationSortKeys = 'createdAt' | 'name' | 'type' | 'updatedAt';
5
5
  //# sourceMappingURL=destinationSortKeys.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Type of the Destination, defines in which Algolia product the data will be stored.
2
+ * Destination type. <dl> <dt><code>search</code></dt> <dd>Data is stored in an Algolia index.</dd> <dt><code>insights</code></dt> <dd>Data is recorded as user events in the Insights API.</dd> </dl>.
3
3
  */
4
- export type DestinationType = 'flow' | 'insights' | 'search';
4
+ export type DestinationType = 'insights' | 'search';
5
5
  //# sourceMappingURL=destinationType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"destinationType.d.ts","sourceRoot":"","sources":["../../model/destinationType.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,UAAU,GAAG,QAAQ,CAAC"}
1
+ {"version":3,"file":"destinationType.d.ts","sourceRoot":"","sources":["../../model/destinationType.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,UAAU,GAAG,QAAQ,CAAC"}
@@ -1,17 +1,17 @@
1
1
  import type { DestinationInput } from './destinationInput';
2
2
  import type { DestinationType } from './destinationType';
3
3
  /**
4
- * Payload to partially update a Destination.
4
+ * API request body for updating a destination.
5
5
  */
6
6
  export type DestinationUpdate = {
7
7
  type?: DestinationType;
8
8
  /**
9
- * An human readable name describing the object.
9
+ * Descriptive name for the resource.
10
10
  */
11
11
  name?: string;
12
12
  input?: DestinationInput;
13
13
  /**
14
- * The authentication UUID.
14
+ * Universally unique identifier (UUID) of an authentication resource.
15
15
  */
16
16
  authenticationID?: string;
17
17
  };
@@ -1,17 +1,17 @@
1
1
  /**
2
- * Response from the API when the Destination is successfully updated.
2
+ * API response for updating a destination.
3
3
  */
4
4
  export type DestinationUpdateResponse = {
5
5
  /**
6
- * The destination UUID.
6
+ * Universally unique identifier (UUID) of a destination resource.
7
7
  */
8
8
  destinationID: string;
9
9
  /**
10
- * An human readable name describing the object.
10
+ * Descriptive name for the resource.
11
11
  */
12
12
  name: string;
13
13
  /**
14
- * Date of last update (RFC3339 format).
14
+ * Date of last update in RFC3339 format.
15
15
  */
16
16
  updatedAt: string;
17
17
  };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The type of the image.
2
+ * Image type.
3
3
  */
4
4
  export type DockerImageType = 'airbyte' | 'custom' | 'singer';
5
5
  //# sourceMappingURL=dockerImageType.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The registry where the image is stored.
2
+ * Container registry name from where to pull the image.
3
3
  */
4
4
  export type DockerRegistry = 'dockerhub' | 'ghcr';
5
5
  //# sourceMappingURL=dockerRegistry.d.ts.map
@@ -1,10 +1,10 @@
1
1
  export type DockerSourceDiscover = {
2
2
  /**
3
- * The run UUID.
3
+ * Universally unique identifier (UUID) of a task run.
4
4
  */
5
5
  runID: string;
6
6
  /**
7
- * Date of creation (RFC3339 format).
7
+ * Date of creation in RFC3339 format.
8
8
  */
9
9
  createdAt: string;
10
10
  };