@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
@@ -37,7 +37,7 @@ import type { TaskCreateTrigger } from '../model/taskCreateTrigger';
37
37
  import type { TaskSearch } from '../model/taskSearch';
38
38
  import type { TaskUpdateResponse } from '../model/taskUpdateResponse';
39
39
  import type { Trigger } from '../model/trigger';
40
- export declare const apiClientVersion = "1.0.0-alpha.82";
40
+ export declare const apiClientVersion = "1.0.0-alpha.84";
41
41
  export declare const REGIONS: readonly ["eu", "us"];
42
42
  export type Region = (typeof REGIONS)[number];
43
43
  /**
@@ -85,7 +85,7 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
85
85
  */
86
86
  addAlgoliaAgent(segment: string, version?: string): void;
87
87
  /**
88
- * Create a authentication.
88
+ * Creates a new authentication resource.
89
89
  *
90
90
  * Required API Key ACLs:
91
91
  * - addObject
@@ -97,7 +97,7 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
97
97
  */
98
98
  createAuthentication(authenticationCreate: AuthenticationCreate, requestOptions?: RequestOptions): Promise<AuthenticationCreateResponse>;
99
99
  /**
100
- * Create a destination.
100
+ * Creates a new destination.
101
101
  *
102
102
  * Required API Key ACLs:
103
103
  * - addObject
@@ -109,7 +109,7 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
109
109
  */
110
110
  createDestination(destinationCreate: DestinationCreate, requestOptions?: RequestOptions): Promise<DestinationCreateResponse>;
111
111
  /**
112
- * Create a source.
112
+ * Creates a new source.
113
113
  *
114
114
  * Required API Key ACLs:
115
115
  * - addObject
@@ -121,9 +121,9 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
121
121
  */
122
122
  createSource(sourceCreate: SourceCreate, requestOptions?: RequestOptions): Promise<SourceCreateResponse>;
123
123
  /**
124
- * Create a task.
124
+ * Creates a new task.
125
125
  *
126
- * @param taskCreate -.
126
+ * @param taskCreate - Request body for creating a task.
127
127
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
128
128
  */
129
129
  createTask(taskCreate: TaskCreate, requestOptions?: RequestOptions): Promise<TaskCreateResponse>;
@@ -166,7 +166,7 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
166
166
  */
167
167
  customPut({ path, parameters, body }: CustomPutProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
168
168
  /**
169
- * Soft delete the authentication of the given authenticationID.
169
+ * Deletes an authentication resource. You can\'t delete authentication resources that are used by a source or a destination.
170
170
  *
171
171
  * Required API Key ACLs:
172
172
  * - addObject
@@ -174,12 +174,12 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
174
174
  * - editSettings.
175
175
  *
176
176
  * @param deleteAuthentication - The deleteAuthentication object.
177
- * @param deleteAuthentication.authenticationID - The authentication UUID.
177
+ * @param deleteAuthentication.authenticationID - Unique identifier of an authentication resource.
178
178
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
179
179
  */
180
180
  deleteAuthentication({ authenticationID }: DeleteAuthenticationProps, requestOptions?: RequestOptions): Promise<DeleteResponse>;
181
181
  /**
182
- * Soft delete the destination of the given destinationID.
182
+ * Deletes a destination by its ID. You can\'t delete destinations that are referenced in tasks.
183
183
  *
184
184
  * Required API Key ACLs:
185
185
  * - addObject
@@ -187,12 +187,12 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
187
187
  * - editSettings.
188
188
  *
189
189
  * @param deleteDestination - The deleteDestination object.
190
- * @param deleteDestination.destinationID - The destination UUID.
190
+ * @param deleteDestination.destinationID - Unique identifier of a destination.
191
191
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
192
192
  */
193
193
  deleteDestination({ destinationID }: DeleteDestinationProps, requestOptions?: RequestOptions): Promise<DeleteResponse>;
194
194
  /**
195
- * Soft delete the source of the given sourceID.
195
+ * Deletes a source by its ID. You can\'t delete sources that are referenced in tasks.
196
196
  *
197
197
  * Required API Key ACLs:
198
198
  * - addObject
@@ -200,20 +200,20 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
200
200
  * - editSettings.
201
201
  *
202
202
  * @param deleteSource - The deleteSource object.
203
- * @param deleteSource.sourceID - The source UUID.
203
+ * @param deleteSource.sourceID - Unique identifier of a source.
204
204
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
205
205
  */
206
206
  deleteSource({ sourceID }: DeleteSourceProps, requestOptions?: RequestOptions): Promise<DeleteResponse>;
207
207
  /**
208
- * Soft delete the task of the given taskID.
208
+ * Deletes a task by its ID.
209
209
  *
210
210
  * @param deleteTask - The deleteTask object.
211
- * @param deleteTask.taskID - The task UUID.
211
+ * @param deleteTask.taskID - Unique identifier of a task.
212
212
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
213
213
  */
214
214
  deleteTask({ taskID }: DeleteTaskProps, requestOptions?: RequestOptions): Promise<DeleteResponse>;
215
215
  /**
216
- * Disable the task of the given taskID.
216
+ * Disables a task.
217
217
  *
218
218
  * Required API Key ACLs:
219
219
  * - addObject
@@ -221,12 +221,12 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
221
221
  * - editSettings.
222
222
  *
223
223
  * @param disableTask - The disableTask object.
224
- * @param disableTask.taskID - The task UUID.
224
+ * @param disableTask.taskID - Unique identifier of a task.
225
225
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
226
226
  */
227
227
  disableTask({ taskID }: DisableTaskProps, requestOptions?: RequestOptions): Promise<TaskUpdateResponse>;
228
228
  /**
229
- * Enable the task of the given taskID.
229
+ * Enables a task.
230
230
  *
231
231
  * Required API Key ACLs:
232
232
  * - addObject
@@ -234,12 +234,12 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
234
234
  * - editSettings.
235
235
  *
236
236
  * @param enableTask - The enableTask object.
237
- * @param enableTask.taskID - The task UUID.
237
+ * @param enableTask.taskID - Unique identifier of a task.
238
238
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
239
239
  */
240
240
  enableTask({ taskID }: EnableTaskProps, requestOptions?: RequestOptions): Promise<TaskUpdateResponse>;
241
241
  /**
242
- * Get the authentication of the given authenticationID.
242
+ * Retrieves an authentication resource by its ID.
243
243
  *
244
244
  * Required API Key ACLs:
245
245
  * - addObject
@@ -247,12 +247,12 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
247
247
  * - editSettings.
248
248
  *
249
249
  * @param getAuthentication - The getAuthentication object.
250
- * @param getAuthentication.authenticationID - The authentication UUID.
250
+ * @param getAuthentication.authenticationID - Unique identifier of an authentication resource.
251
251
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
252
252
  */
253
253
  getAuthentication({ authenticationID }: GetAuthenticationProps, requestOptions?: RequestOptions): Promise<Authentication>;
254
254
  /**
255
- * Get a list of authentications for the given query parameters, with pagination details.
255
+ * Retrieves a list of all authentication resources.
256
256
  *
257
257
  * Required API Key ACLs:
258
258
  * - addObject
@@ -260,17 +260,17 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
260
260
  * - editSettings.
261
261
  *
262
262
  * @param getAuthentications - The getAuthentications object.
263
- * @param getAuthentications.itemsPerPage - The number of items per page to return.
264
- * @param getAuthentications.page - The page number to fetch, starting at 1.
265
- * @param getAuthentications.type - The type of the authentications to retrieve.
266
- * @param getAuthentications.platform - The platform of the authentications to retrieve.
267
- * @param getAuthentications.sort - The key by which the list should be sorted.
268
- * @param getAuthentications.order - The order of the returned list.
263
+ * @param getAuthentications.itemsPerPage - Number of items per page.
264
+ * @param getAuthentications.page - Page number of the paginated API response.
265
+ * @param getAuthentications.type - Type of authentication resource to retrieve.
266
+ * @param getAuthentications.platform - Ecommerce platform for which to retrieve authentication resources.
267
+ * @param getAuthentications.sort - Property by which to sort the list of authentication resources.
268
+ * @param getAuthentications.order - Sort order of the response, ascending or descending.
269
269
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
270
270
  */
271
271
  getAuthentications({ itemsPerPage, page, type, platform, sort, order, }?: GetAuthenticationsProps, requestOptions?: RequestOptions | undefined): Promise<ListAuthenticationsResponse>;
272
272
  /**
273
- * Get the destination of the given destinationID.
273
+ * Retrieves a destination by its ID.
274
274
  *
275
275
  * Required API Key ACLs:
276
276
  * - addObject
@@ -278,12 +278,12 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
278
278
  * - editSettings.
279
279
  *
280
280
  * @param getDestination - The getDestination object.
281
- * @param getDestination.destinationID - The destination UUID.
281
+ * @param getDestination.destinationID - Unique identifier of a destination.
282
282
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
283
283
  */
284
284
  getDestination({ destinationID }: GetDestinationProps, requestOptions?: RequestOptions): Promise<Destination>;
285
285
  /**
286
- * Get a list of destinations for the given query parameters, with pagination details.
286
+ * Retrieves a list of destinations.
287
287
  *
288
288
  * Required API Key ACLs:
289
289
  * - addObject
@@ -291,17 +291,17 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
291
291
  * - editSettings.
292
292
  *
293
293
  * @param getDestinations - The getDestinations object.
294
- * @param getDestinations.itemsPerPage - The number of items per page to return.
295
- * @param getDestinations.page - The page number to fetch, starting at 1.
296
- * @param getDestinations.type - The type of the destinations to retrive.
297
- * @param getDestinations.authenticationID - The authenticationIDs of the destinations to retrive.
298
- * @param getDestinations.sort - The key by which the list should be sorted.
299
- * @param getDestinations.order - The order of the returned list.
294
+ * @param getDestinations.itemsPerPage - Number of items per page.
295
+ * @param getDestinations.page - Page number of the paginated API response.
296
+ * @param getDestinations.type - Destination type.
297
+ * @param getDestinations.authenticationID - Authentication ID used by destinations.
298
+ * @param getDestinations.sort - Property by which to sort the destinations.
299
+ * @param getDestinations.order - Sort order of the response, ascending or descending.
300
300
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
301
301
  */
302
302
  getDestinations({ itemsPerPage, page, type, authenticationID, sort, order, }?: GetDestinationsProps, requestOptions?: RequestOptions | undefined): Promise<ListDestinationsResponse>;
303
303
  /**
304
- * Retrieve a stream listing for a given Singer specification compatible docker type source ID.
304
+ * Retrieves a stream listing for a source. Listing streams only works with sources with `type: docker` and `imageType: singer`.
305
305
  *
306
306
  * Required API Key ACLs:
307
307
  * - addObject
@@ -309,12 +309,12 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
309
309
  * - editSettings.
310
310
  *
311
311
  * @param getDockerSourceStreams - The getDockerSourceStreams object.
312
- * @param getDockerSourceStreams.sourceID - The source UUID.
312
+ * @param getDockerSourceStreams.sourceID - Unique identifier of a source.
313
313
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
314
314
  */
315
315
  getDockerSourceStreams({ sourceID }: GetDockerSourceStreamsProps, requestOptions?: RequestOptions): Promise<DockerSourceStreams>;
316
316
  /**
317
- * Get a single event for a specific runID.
317
+ * Retrieves a single task run event by its ID.
318
318
  *
319
319
  * Required API Key ACLs:
320
320
  * - addObject
@@ -322,13 +322,13 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
322
322
  * - editSettings.
323
323
  *
324
324
  * @param getEvent - The getEvent object.
325
- * @param getEvent.runID - The run UUID.
326
- * @param getEvent.eventID - The event UUID.
325
+ * @param getEvent.runID - Unique identifier of a task run.
326
+ * @param getEvent.eventID - Unique identifier of an event.
327
327
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
328
328
  */
329
329
  getEvent({ runID, eventID }: GetEventProps, requestOptions?: RequestOptions): Promise<Event>;
330
330
  /**
331
- * Get a list of events associated to the given runID, for the given query parameters.
331
+ * Retrieves a list of events for a task run, identified by it\'s ID.
332
332
  *
333
333
  * Required API Key ACLs:
334
334
  * - addObject
@@ -336,20 +336,20 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
336
336
  * - editSettings.
337
337
  *
338
338
  * @param getEvents - The getEvents object.
339
- * @param getEvents.runID - The run UUID.
340
- * @param getEvents.itemsPerPage - The number of items per page to return.
341
- * @param getEvents.page - The page number to fetch, starting at 1.
342
- * @param getEvents.status - Filter the status of the events.
343
- * @param getEvents.type - Filter the type of the events.
344
- * @param getEvents.sort - The key by which the list should be sorted.
345
- * @param getEvents.order - The order of the returned list.
346
- * @param getEvents.startDate - The start date (in RFC3339 format) of the events fetching window. Defaults to \'now\'-3 hours if omitted.
347
- * @param getEvents.endDate - The end date (in RFC3339 format) of the events fetching window. Defaults to \'now\' days if omitted.
339
+ * @param getEvents.runID - Unique identifier of a task run.
340
+ * @param getEvents.itemsPerPage - Number of items per page.
341
+ * @param getEvents.page - Page number of the paginated API response.
342
+ * @param getEvents.status - Event status for filtering the list of task runs.
343
+ * @param getEvents.type - Event type for filtering the list of task runs.
344
+ * @param getEvents.sort - Property by which to sort the list of task run events.
345
+ * @param getEvents.order - Sort order of the response, ascending or descending.
346
+ * @param getEvents.startDate - Date and time in RFC3339 format for the earliest events to retrieve. By default, the current time minus three hours is used.
347
+ * @param getEvents.endDate - Date and time in RFC3339 format for the latest events to retrieve. By default, the current time is used.
348
348
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
349
349
  */
350
350
  getEvents({ runID, itemsPerPage, page, status, type, sort, order, startDate, endDate, }: GetEventsProps, requestOptions?: RequestOptions): Promise<ListEventsResponse>;
351
351
  /**
352
- * Get a single run for the given ID.
352
+ * Retrieve a single task run by its ID.
353
353
  *
354
354
  * Required API Key ACLs:
355
355
  * - addObject
@@ -357,12 +357,12 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
357
357
  * - editSettings.
358
358
  *
359
359
  * @param getRun - The getRun object.
360
- * @param getRun.runID - The run UUID.
360
+ * @param getRun.runID - Unique identifier of a task run.
361
361
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
362
362
  */
363
363
  getRun({ runID }: GetRunProps, requestOptions?: RequestOptions): Promise<Run>;
364
364
  /**
365
- * Get a list of runs for the given query parameters, with pagination details.
365
+ * Retrieve a list of task runs.
366
366
  *
367
367
  * Required API Key ACLs:
368
368
  * - addObject
@@ -370,19 +370,19 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
370
370
  * - editSettings.
371
371
  *
372
372
  * @param getRuns - The getRuns object.
373
- * @param getRuns.itemsPerPage - The number of items per page to return.
374
- * @param getRuns.page - The page number to fetch, starting at 1.
375
- * @param getRuns.status - Filter the status of the runs.
376
- * @param getRuns.taskID - Filter by taskID.
377
- * @param getRuns.sort - The key by which the list should be sorted.
378
- * @param getRuns.order - The order of the returned list.
379
- * @param getRuns.startDate - The start date (in RFC3339 format) of the runs fetching window. Defaults to \'now\'-7 days if omitted.
380
- * @param getRuns.endDate - The end date (in RFC3339 format) of the runs fetching window. Defaults to \'now\' days if omitted.
373
+ * @param getRuns.itemsPerPage - Number of items per page.
374
+ * @param getRuns.page - Page number of the paginated API response.
375
+ * @param getRuns.status - Run status for filtering the list of task runs.
376
+ * @param getRuns.taskID - Task ID for filtering the list of task runs.
377
+ * @param getRuns.sort - Property by which to sort the list of task runs.
378
+ * @param getRuns.order - Sort order of the response, ascending or descending.
379
+ * @param getRuns.startDate - Date in RFC3339 format for the earliest run to retrieve. By default, the current day minus seven days is used.
380
+ * @param getRuns.endDate - Date in RFC3339 format for the latest run to retrieve. By default, the current day is used.
381
381
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
382
382
  */
383
383
  getRuns({ itemsPerPage, page, status, taskID, sort, order, startDate, endDate, }?: GetRunsProps, requestOptions?: RequestOptions | undefined): Promise<RunListResponse>;
384
384
  /**
385
- * Get the source of the given sourceID.
385
+ * Retrieve a source by its ID.
386
386
  *
387
387
  * Required API Key ACLs:
388
388
  * - addObject
@@ -390,12 +390,12 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
390
390
  * - editSettings.
391
391
  *
392
392
  * @param getSource - The getSource object.
393
- * @param getSource.sourceID - The source UUID.
393
+ * @param getSource.sourceID - Unique identifier of a source.
394
394
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
395
395
  */
396
396
  getSource({ sourceID }: GetSourceProps, requestOptions?: RequestOptions): Promise<Source>;
397
397
  /**
398
- * Get a list of sources for the given query parameters, with pagination details.
398
+ * Retrieves a list of sources.
399
399
  *
400
400
  * Required API Key ACLs:
401
401
  * - addObject
@@ -403,17 +403,17 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
403
403
  * - editSettings.
404
404
  *
405
405
  * @param getSources - The getSources object.
406
- * @param getSources.itemsPerPage - The number of items per page to return.
407
- * @param getSources.page - The page number to fetch, starting at 1.
408
- * @param getSources.type - The type of the sources to retrieve.
409
- * @param getSources.authenticationID - The authenticationIDs of the sources to retrieve. \'none\' returns sources that doesn\'t have an authentication.
410
- * @param getSources.sort - The key by which the list should be sorted.
411
- * @param getSources.order - The order of the returned list.
406
+ * @param getSources.itemsPerPage - Number of items per page.
407
+ * @param getSources.page - Page number of the paginated API response.
408
+ * @param getSources.type - Source type. Some sources require authentication.
409
+ * @param getSources.authenticationID - Authentication IDs of the sources to retrieve. \'none\' returns sources that doesn\'t have an authentication resource.
410
+ * @param getSources.sort - Property by which to sort the list of sources.
411
+ * @param getSources.order - Sort order of the response, ascending or descending.
412
412
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
413
413
  */
414
414
  getSources({ itemsPerPage, page, type, authenticationID, sort, order, }?: GetSourcesProps, requestOptions?: RequestOptions | undefined): Promise<ListSourcesResponse>;
415
415
  /**
416
- * Get the task of the given taskID.
416
+ * Retrieves a task by its ID.
417
417
  *
418
418
  * Required API Key ACLs:
419
419
  * - addObject
@@ -421,12 +421,12 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
421
421
  * - editSettings.
422
422
  *
423
423
  * @param getTask - The getTask object.
424
- * @param getTask.taskID - The task UUID.
424
+ * @param getTask.taskID - Unique identifier of a task.
425
425
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
426
426
  */
427
427
  getTask({ taskID }: GetTaskProps, requestOptions?: RequestOptions): Promise<Task>;
428
428
  /**
429
- * Get a list of tasks for the given query parameters, with pagination details.
429
+ * Retrieves a list of tasks.
430
430
  *
431
431
  * Required API Key ACLs:
432
432
  * - addObject
@@ -434,20 +434,20 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
434
434
  * - editSettings.
435
435
  *
436
436
  * @param getTasks - The getTasks object.
437
- * @param getTasks.itemsPerPage - The number of items per page to return.
438
- * @param getTasks.page - The page number to fetch, starting at 1.
439
- * @param getTasks.action - The action of the tasks to retrieve.
440
- * @param getTasks.enabled - Whether the task is enabled or not.
441
- * @param getTasks.sourceID - The sourceIDs of the tasks to retrieve.
442
- * @param getTasks.destinationID - The destinationIDs of the tasks to retrieve.
443
- * @param getTasks.triggerType - The trigger type of the task.
444
- * @param getTasks.sort - The key by which the list should be sorted.
445
- * @param getTasks.order - The order of the returned list.
437
+ * @param getTasks.itemsPerPage - Number of items per page.
438
+ * @param getTasks.page - Page number of the paginated API response.
439
+ * @param getTasks.action - Actions for filtering the list of tasks.
440
+ * @param getTasks.enabled - Whether to filter the list of tasks by the `enabled` status.
441
+ * @param getTasks.sourceID - Source IDs for filtering the list of tasks.
442
+ * @param getTasks.destinationID - Destination IDs for filtering the list of tasks.
443
+ * @param getTasks.triggerType - Type of task trigger for filtering the list of tasks.
444
+ * @param getTasks.sort - Property by which to sort the list of tasks.
445
+ * @param getTasks.order - Sort order of the response, ascending or descending.
446
446
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
447
447
  */
448
448
  getTasks({ itemsPerPage, page, action, enabled, sourceID, destinationID, triggerType, sort, order, }?: GetTasksProps, requestOptions?: RequestOptions | undefined): Promise<ListTasksResponse>;
449
449
  /**
450
- * Run the task of the given taskID.
450
+ * Runs a task. You can check the status of task runs with the observability endpoints.
451
451
  *
452
452
  * Required API Key ACLs:
453
453
  * - addObject
@@ -455,12 +455,12 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
455
455
  * - editSettings.
456
456
  *
457
457
  * @param runTask - The runTask object.
458
- * @param runTask.taskID - The task UUID.
458
+ * @param runTask.taskID - Unique identifier of a task.
459
459
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
460
460
  */
461
461
  runTask({ taskID }: RunTaskProps, requestOptions?: RequestOptions): Promise<RunResponse>;
462
462
  /**
463
- * Search among authentications with a defined set of parameters.
463
+ * Searches for authentication resources.
464
464
  *
465
465
  * Required API Key ACLs:
466
466
  * - addObject
@@ -472,7 +472,7 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
472
472
  */
473
473
  searchAuthentications(authenticationSearch: AuthenticationSearch, requestOptions?: RequestOptions): Promise<Authentication[]>;
474
474
  /**
475
- * Search among destinations with a defined set of parameters.
475
+ * Searches for destinations.
476
476
  *
477
477
  * Required API Key ACLs:
478
478
  * - addObject
@@ -484,7 +484,7 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
484
484
  */
485
485
  searchDestinations(destinationSearch: DestinationSearch, requestOptions?: RequestOptions): Promise<Destination[]>;
486
486
  /**
487
- * Search among sources with a defined set of parameters.
487
+ * Searches for sources.
488
488
  *
489
489
  * Required API Key ACLs:
490
490
  * - addObject
@@ -496,7 +496,7 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
496
496
  */
497
497
  searchSources(sourceSearch: SourceSearch, requestOptions?: RequestOptions): Promise<Source[]>;
498
498
  /**
499
- * Search among tasks with a defined set of parameters.
499
+ * Searches for tasks.
500
500
  *
501
501
  * Required API Key ACLs:
502
502
  * - addObject
@@ -508,7 +508,7 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
508
508
  */
509
509
  searchTasks(taskSearch: TaskSearch, requestOptions?: RequestOptions): Promise<Task[]>;
510
510
  /**
511
- * Trigger a stream listing request for a Singer specification compatible docker type source.
511
+ * Triggers a stream-listing request for a source. Triggering stream-listing requests only works with sources with `type: docker` and `imageType: singer`.
512
512
  *
513
513
  * Required API Key ACLs:
514
514
  * - addObject
@@ -516,12 +516,12 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
516
516
  * - editSettings.
517
517
  *
518
518
  * @param triggerDockerSourceDiscover - The triggerDockerSourceDiscover object.
519
- * @param triggerDockerSourceDiscover.sourceID - The source UUID.
519
+ * @param triggerDockerSourceDiscover.sourceID - Unique identifier of a source.
520
520
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
521
521
  */
522
522
  triggerDockerSourceDiscover({ sourceID }: TriggerDockerSourceDiscoverProps, requestOptions?: RequestOptions): Promise<DockerSourceDiscover>;
523
523
  /**
524
- * Update the authentication of the given authenticationID.
524
+ * Updates an authentication resource.
525
525
  *
526
526
  * Required API Key ACLs:
527
527
  * - addObject
@@ -529,13 +529,13 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
529
529
  * - editSettings.
530
530
  *
531
531
  * @param updateAuthentication - The updateAuthentication object.
532
- * @param updateAuthentication.authenticationID - The authentication UUID.
532
+ * @param updateAuthentication.authenticationID - Unique identifier of an authentication resource.
533
533
  * @param updateAuthentication.authenticationUpdate - The authenticationUpdate object.
534
534
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
535
535
  */
536
536
  updateAuthentication({ authenticationID, authenticationUpdate }: UpdateAuthenticationProps, requestOptions?: RequestOptions): Promise<AuthenticationUpdateResponse>;
537
537
  /**
538
- * Update the destination of the given destinationID.
538
+ * Updates the destination by its ID.
539
539
  *
540
540
  * Required API Key ACLs:
541
541
  * - addObject
@@ -543,13 +543,13 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
543
543
  * - editSettings.
544
544
  *
545
545
  * @param updateDestination - The updateDestination object.
546
- * @param updateDestination.destinationID - The destination UUID.
546
+ * @param updateDestination.destinationID - Unique identifier of a destination.
547
547
  * @param updateDestination.destinationUpdate - The destinationUpdate object.
548
548
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
549
549
  */
550
550
  updateDestination({ destinationID, destinationUpdate }: UpdateDestinationProps, requestOptions?: RequestOptions): Promise<DestinationUpdateResponse>;
551
551
  /**
552
- * Update the source of the given sourceID.
552
+ * Updates a source by its ID.
553
553
  *
554
554
  * Required API Key ACLs:
555
555
  * - addObject
@@ -557,16 +557,16 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
557
557
  * - editSettings.
558
558
  *
559
559
  * @param updateSource - The updateSource object.
560
- * @param updateSource.sourceID - The source UUID.
560
+ * @param updateSource.sourceID - Unique identifier of a source.
561
561
  * @param updateSource.sourceUpdate - The sourceUpdate object.
562
562
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
563
563
  */
564
564
  updateSource({ sourceID, sourceUpdate }: UpdateSourceProps, requestOptions?: RequestOptions): Promise<SourceUpdateResponse>;
565
565
  /**
566
- * Update the task of the given taskID.
566
+ * Updates a task by its ID.
567
567
  *
568
568
  * @param updateTask - The updateTask object.
569
- * @param updateTask.taskID - The task UUID.
569
+ * @param updateTask.taskID - Unique identifier of a task.
570
570
  * @param updateTask.taskUpdate - The taskUpdate object.
571
571
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
572
572
  */
@@ -1,6 +1,6 @@
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
3
  /**
4
- * The action to perform on the Algolia index.
4
+ * Action to perform on the Algolia index.
5
5
  */
6
6
  export type ActionType = 'append' | 'partial' | 'replace' | 'save';
@@ -1,8 +1,11 @@
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
3
  /**
4
- * Authentication input used for token credentials.
4
+ * Credentials for authenticating with an API key.
5
5
  */
6
6
  export type AuthAPIKey = {
7
+ /**
8
+ * API key. This field is `null` in the API response.
9
+ */
7
10
  key: string;
8
11
  };
@@ -1,8 +1,11 @@
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
3
  /**
4
- * Authentication input used for token credentials.
4
+ * Credentials for authenticating with an API key.
5
5
  */
6
6
  export type AuthAPIKeyPartial = {
7
+ /**
8
+ * API key. This field is `null` in the API response.
9
+ */
7
10
  key?: string;
8
11
  };
@@ -1,13 +1,16 @@
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
+ /**
4
+ * Credentials for authenticating with Algolia.
5
+ */
3
6
  export type AuthAlgolia = {
4
7
  /**
5
- * Algolia Application ID.
8
+ * Algolia application ID.
6
9
  */
7
10
  appID: string;
8
11
 
9
12
  /**
10
- * Algolia API Key, with the correct rights to push to an index and change settings.
13
+ * Algolia API key with the ACL: `addObject`, `deleteObject`, `settings`, `editSettings`, `listIndexes`, `deleteIndex`. This field is `null` in the API response.
11
14
  */
12
15
  apiKey: string;
13
16
  };
@@ -1,13 +1,16 @@
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
+ /**
4
+ * Credentials for authenticating with Algolia.
5
+ */
3
6
  export type AuthAlgoliaPartial = {
4
7
  /**
5
- * Algolia Application ID.
8
+ * Algolia application ID.
6
9
  */
7
10
  appID?: string;
8
11
 
9
12
  /**
10
- * Algolia API Key, with the correct rights to push to an index and change settings.
13
+ * Algolia API key with the ACL: `addObject`, `deleteObject`, `settings`, `editSettings`, `listIndexes`, `deleteIndex`. This field is `null` in the API response.
11
14
  */
12
15
  apiKey?: string;
13
16
  };
@@ -1,10 +1,16 @@
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
3
  /**
4
- * Authentication input for Basic login with username and password.
4
+ * Credentials for authenticating with user name and password.
5
5
  */
6
6
  export type AuthBasic = {
7
+ /**
8
+ * Username.
9
+ */
7
10
  username: string;
8
11
 
12
+ /**
13
+ * Password. This field is `null` in the API response.
14
+ */
9
15
  password: string;
10
16
  };