@algolia/ingestion 1.0.0-beta.11 → 1.0.0-beta.13

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 (57) hide show
  1. package/dist/builds/browser.d.ts +17 -7
  2. package/dist/builds/browser.d.ts.map +1 -1
  3. package/dist/builds/node.d.ts +17 -7
  4. package/dist/builds/node.d.ts.map +1 -1
  5. package/dist/ingestion.cjs +491 -179
  6. package/dist/ingestion.esm.browser.js +491 -179
  7. package/dist/ingestion.esm.node.js +491 -179
  8. package/dist/ingestion.umd.js +2 -2
  9. package/dist/model/action.d.ts +5 -0
  10. package/dist/model/action.d.ts.map +1 -0
  11. package/dist/model/batchRequest.d.ts +9 -0
  12. package/dist/model/batchRequest.d.ts.map +1 -0
  13. package/dist/model/batchWriteParams.d.ts +8 -0
  14. package/dist/model/batchWriteParams.d.ts.map +1 -0
  15. package/dist/model/clientMethodProps.d.ts +177 -66
  16. package/dist/model/clientMethodProps.d.ts.map +1 -1
  17. package/dist/model/dockerStreamsInput.d.ts +3 -0
  18. package/dist/model/dockerStreamsInput.d.ts.map +1 -1
  19. package/dist/model/index.d.ts +8 -1
  20. package/dist/model/index.d.ts.map +1 -1
  21. package/dist/model/listTasksResponseV1.d.ts +10 -0
  22. package/dist/model/listTasksResponseV1.d.ts.map +1 -0
  23. package/dist/model/task.d.ts +12 -2
  24. package/dist/model/task.d.ts.map +1 -1
  25. package/dist/model/taskCreate.d.ts +4 -2
  26. package/dist/model/taskCreate.d.ts.map +1 -1
  27. package/dist/model/taskCreateV1.d.ts +32 -0
  28. package/dist/model/taskCreateV1.d.ts.map +1 -0
  29. package/dist/model/taskUpdate.d.ts +4 -2
  30. package/dist/model/taskUpdate.d.ts.map +1 -1
  31. package/dist/model/taskUpdateV1.d.ts +22 -0
  32. package/dist/model/taskUpdateV1.d.ts.map +1 -0
  33. package/dist/model/taskV1.d.ts +44 -0
  34. package/dist/model/taskV1.d.ts.map +1 -0
  35. package/dist/model/{transformationTryResponseError.d.ts → transformationError.d.ts} +2 -2
  36. package/dist/model/transformationError.d.ts.map +1 -0
  37. package/dist/model/transformationTryResponse.d.ts +2 -2
  38. package/dist/model/transformationTryResponse.d.ts.map +1 -1
  39. package/dist/src/ingestionClient.d.ts +218 -92
  40. package/dist/src/ingestionClient.d.ts.map +1 -1
  41. package/model/action.ts +13 -0
  42. package/model/batchRequest.ts +12 -0
  43. package/model/batchWriteParams.ts +10 -0
  44. package/model/clientMethodProps.ts +189 -70
  45. package/model/dockerStreamsInput.ts +3 -0
  46. package/model/index.ts +8 -1
  47. package/model/listTasksResponseV1.ts +13 -0
  48. package/model/task.ts +14 -2
  49. package/model/taskCreate.ts +5 -3
  50. package/model/taskCreateV1.ts +41 -0
  51. package/model/taskUpdate.ts +4 -2
  52. package/model/taskUpdateV1.ts +28 -0
  53. package/model/taskV1.ts +56 -0
  54. package/model/{transformationTryResponseError.ts → transformationError.ts} +1 -1
  55. package/model/transformationTryResponse.ts +2 -2
  56. package/package.json +7 -7
  57. package/dist/model/transformationTryResponseError.d.ts.map +0 -1
@@ -4,6 +4,7 @@ import type { ActionType } from './actionType';
4
4
  import type { AuthenticationSortKeys } from './authenticationSortKeys';
5
5
  import type { AuthenticationType } from './authenticationType';
6
6
  import type { AuthenticationUpdate } from './authenticationUpdate';
7
+ import type { BatchWriteParams } from './batchWriteParams';
7
8
  import type { DestinationSortKeys } from './destinationSortKeys';
8
9
  import type { DestinationType } from './destinationType';
9
10
  import type { DestinationUpdate } from './destinationUpdate';
@@ -20,6 +21,7 @@ import type { SourceType } from './sourceType';
20
21
  import type { SourceUpdate } from './sourceUpdate';
21
22
  import type { TaskSortKeys } from './taskSortKeys';
22
23
  import type { TaskUpdate } from './taskUpdate';
24
+ import type { TaskUpdateV1 } from './taskUpdateV1';
23
25
  import type { TransformationCreate } from './transformationCreate';
24
26
  import type { TriggerType } from './triggerType';
25
27
 
@@ -127,6 +129,16 @@ export type DeleteTaskProps = {
127
129
  taskID: string;
128
130
  };
129
131
 
132
+ /**
133
+ * Properties for the `deleteTaskV1` method.
134
+ */
135
+ export type DeleteTaskV1Props = {
136
+ /**
137
+ * Unique identifier of a task.
138
+ */
139
+ taskID: string;
140
+ };
141
+
130
142
  /**
131
143
  * Properties for the `deleteTransformation` method.
132
144
  */
@@ -147,6 +159,16 @@ export type DisableTaskProps = {
147
159
  taskID: string;
148
160
  };
149
161
 
162
+ /**
163
+ * Properties for the `disableTaskV1` method.
164
+ */
165
+ export type DisableTaskV1Props = {
166
+ /**
167
+ * Unique identifier of a task.
168
+ */
169
+ taskID: string;
170
+ };
171
+
150
172
  /**
151
173
  * Properties for the `enableTask` method.
152
174
  */
@@ -157,6 +179,16 @@ export type EnableTaskProps = {
157
179
  taskID: string;
158
180
  };
159
181
 
182
+ /**
183
+ * Properties for the `enableTaskV1` method.
184
+ */
185
+ export type EnableTaskV1Props = {
186
+ /**
187
+ * Unique identifier of a task.
188
+ */
189
+ taskID: string;
190
+ };
191
+
160
192
  /**
161
193
  * Properties for the `getAuthentication` method.
162
194
  */
@@ -168,9 +200,83 @@ export type GetAuthenticationProps = {
168
200
  };
169
201
 
170
202
  /**
171
- * Properties for the `getAuthentications` method.
203
+ * Properties for the `getDestination` method.
172
204
  */
173
- export type GetAuthenticationsProps = {
205
+ export type GetDestinationProps = {
206
+ /**
207
+ * Unique identifier of a destination.
208
+ */
209
+ destinationID: string;
210
+ };
211
+
212
+ /**
213
+ * Properties for the `getEvent` method.
214
+ */
215
+ export type GetEventProps = {
216
+ /**
217
+ * Unique identifier of a task run.
218
+ */
219
+ runID: string;
220
+ /**
221
+ * Unique identifier of an event.
222
+ */
223
+ eventID: string;
224
+ };
225
+
226
+ /**
227
+ * Properties for the `getRun` method.
228
+ */
229
+ export type GetRunProps = {
230
+ /**
231
+ * Unique identifier of a task run.
232
+ */
233
+ runID: string;
234
+ };
235
+
236
+ /**
237
+ * Properties for the `getSource` method.
238
+ */
239
+ export type GetSourceProps = {
240
+ /**
241
+ * Unique identifier of a source.
242
+ */
243
+ sourceID: string;
244
+ };
245
+
246
+ /**
247
+ * Properties for the `getTask` method.
248
+ */
249
+ export type GetTaskProps = {
250
+ /**
251
+ * Unique identifier of a task.
252
+ */
253
+ taskID: string;
254
+ };
255
+
256
+ /**
257
+ * Properties for the `getTaskV1` method.
258
+ */
259
+ export type GetTaskV1Props = {
260
+ /**
261
+ * Unique identifier of a task.
262
+ */
263
+ taskID: string;
264
+ };
265
+
266
+ /**
267
+ * Properties for the `getTransformation` method.
268
+ */
269
+ export type GetTransformationProps = {
270
+ /**
271
+ * Unique identifier of a transformation.
272
+ */
273
+ transformationID: string;
274
+ };
275
+
276
+ /**
277
+ * Properties for the `listAuthentications` method.
278
+ */
279
+ export type ListAuthenticationsProps = {
174
280
  /**
175
281
  * Number of items per page.
176
282
  */
@@ -198,19 +304,9 @@ export type GetAuthenticationsProps = {
198
304
  };
199
305
 
200
306
  /**
201
- * Properties for the `getDestination` method.
202
- */
203
- export type GetDestinationProps = {
204
- /**
205
- * Unique identifier of a destination.
206
- */
207
- destinationID: string;
208
- };
209
-
210
- /**
211
- * Properties for the `getDestinations` method.
307
+ * Properties for the `listDestinations` method.
212
308
  */
213
- export type GetDestinationsProps = {
309
+ export type ListDestinationsProps = {
214
310
  /**
215
311
  * Number of items per page.
216
312
  */
@@ -238,23 +334,9 @@ export type GetDestinationsProps = {
238
334
  };
239
335
 
240
336
  /**
241
- * Properties for the `getEvent` method.
337
+ * Properties for the `listEvents` method.
242
338
  */
243
- export type GetEventProps = {
244
- /**
245
- * Unique identifier of a task run.
246
- */
247
- runID: string;
248
- /**
249
- * Unique identifier of an event.
250
- */
251
- eventID: string;
252
- };
253
-
254
- /**
255
- * Properties for the `getEvents` method.
256
- */
257
- export type GetEventsProps = {
339
+ export type ListEventsProps = {
258
340
  /**
259
341
  * Unique identifier of a task run.
260
342
  */
@@ -294,19 +376,9 @@ export type GetEventsProps = {
294
376
  };
295
377
 
296
378
  /**
297
- * Properties for the `getRun` method.
379
+ * Properties for the `listRuns` method.
298
380
  */
299
- export type GetRunProps = {
300
- /**
301
- * Unique identifier of a task run.
302
- */
303
- runID: string;
304
- };
305
-
306
- /**
307
- * Properties for the `getRuns` method.
308
- */
309
- export type GetRunsProps = {
381
+ export type ListRunsProps = {
310
382
  /**
311
383
  * Number of items per page.
312
384
  */
@@ -342,19 +414,9 @@ export type GetRunsProps = {
342
414
  };
343
415
 
344
416
  /**
345
- * Properties for the `getSource` method.
417
+ * Properties for the `listSources` method.
346
418
  */
347
- export type GetSourceProps = {
348
- /**
349
- * Unique identifier of a source.
350
- */
351
- sourceID: string;
352
- };
353
-
354
- /**
355
- * Properties for the `getSources` method.
356
- */
357
- export type GetSourcesProps = {
419
+ export type ListSourcesProps = {
358
420
  /**
359
421
  * Number of items per page.
360
422
  */
@@ -382,19 +444,51 @@ export type GetSourcesProps = {
382
444
  };
383
445
 
384
446
  /**
385
- * Properties for the `getTask` method.
447
+ * Properties for the `listTasks` method.
386
448
  */
387
- export type GetTaskProps = {
449
+ export type ListTasksProps = {
388
450
  /**
389
- * Unique identifier of a task.
451
+ * Number of items per page.
390
452
  */
391
- taskID: string;
453
+ itemsPerPage?: number;
454
+ /**
455
+ * Page number of the paginated API response.
456
+ */
457
+ page?: number;
458
+ /**
459
+ * Actions for filtering the list of tasks.
460
+ */
461
+ action?: ActionType[];
462
+ /**
463
+ * Whether to filter the list of tasks by the `enabled` status.
464
+ */
465
+ enabled?: boolean;
466
+ /**
467
+ * Source IDs for filtering the list of tasks.
468
+ */
469
+ sourceID?: string[];
470
+ /**
471
+ * Destination IDs for filtering the list of tasks.
472
+ */
473
+ destinationID?: string[];
474
+ /**
475
+ * Type of task trigger for filtering the list of tasks.
476
+ */
477
+ triggerType?: TriggerType[];
478
+ /**
479
+ * Property by which to sort the list of tasks.
480
+ */
481
+ sort?: TaskSortKeys;
482
+ /**
483
+ * Sort order of the response, ascending or descending.
484
+ */
485
+ order?: OrderKeys;
392
486
  };
393
487
 
394
488
  /**
395
- * Properties for the `getTasks` method.
489
+ * Properties for the `listTasksV1` method.
396
490
  */
397
- export type GetTasksProps = {
491
+ export type ListTasksV1Props = {
398
492
  /**
399
493
  * Number of items per page.
400
494
  */
@@ -434,27 +528,31 @@ export type GetTasksProps = {
434
528
  };
435
529
 
436
530
  /**
437
- * Properties for the `getTransformation` method.
531
+ * Properties for the `listTransformations` method.
438
532
  */
439
- export type GetTransformationProps = {
533
+ export type ListTransformationsProps = {
440
534
  /**
441
- * Unique identifier of a transformation.
535
+ * Property by which to sort the list.
442
536
  */
443
- transformationID: string;
537
+ sort?: SortKeys;
538
+ /**
539
+ * Sort order of the response, ascending or descending.
540
+ */
541
+ order?: OrderKeys;
444
542
  };
445
543
 
446
544
  /**
447
- * Properties for the `getTransformations` method.
545
+ * Properties for the `pushTask` method.
448
546
  */
449
- export type GetTransformationsProps = {
547
+ export type PushTaskProps = {
450
548
  /**
451
- * Property by which to sort the list.
549
+ * Unique identifier of a task.
452
550
  */
453
- sort?: SortKeys;
551
+ taskID: string;
454
552
  /**
455
- * Sort order of the response, ascending or descending.
553
+ * Request body of a Search API `batch` request that will be pushed in the Connectors pipeline.
456
554
  */
457
- order?: OrderKeys;
555
+ batchWriteParams: BatchWriteParams;
458
556
  };
459
557
 
460
558
  /**
@@ -467,6 +565,16 @@ export type RunTaskProps = {
467
565
  taskID: string;
468
566
  };
469
567
 
568
+ /**
569
+ * Properties for the `runTaskV1` method.
570
+ */
571
+ export type RunTaskV1Props = {
572
+ /**
573
+ * Unique identifier of a task.
574
+ */
575
+ taskID: string;
576
+ };
577
+
470
578
  /**
471
579
  * Properties for the `triggerDockerSourceDiscover` method.
472
580
  */
@@ -521,6 +629,17 @@ export type UpdateTaskProps = {
521
629
  taskUpdate: TaskUpdate;
522
630
  };
523
631
 
632
+ /**
633
+ * Properties for the `updateTaskV1` method.
634
+ */
635
+ export type UpdateTaskV1Props = {
636
+ /**
637
+ * Unique identifier of a task.
638
+ */
639
+ taskID: string;
640
+ taskUpdate: TaskUpdateV1;
641
+ };
642
+
524
643
  /**
525
644
  * Properties for the `updateTransformation` method.
526
645
  */
@@ -1,5 +1,8 @@
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
+ * The selected streams of a singer or airbyte connector.
5
+ */
3
6
  export type DockerStreamsInput = {
4
7
  streams: Record<string, any>;
5
8
  };
package/model/index.ts CHANGED
@@ -1,5 +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
+ export * from './action';
3
4
  export * from './actionType';
4
5
  export * from './authAPIKey';
5
6
  export * from './authAPIKeyPartial';
@@ -23,6 +24,8 @@ export * from './authenticationSortKeys';
23
24
  export * from './authenticationType';
24
25
  export * from './authenticationUpdate';
25
26
  export * from './authenticationUpdateResponse';
27
+ export * from './batchRequest';
28
+ export * from './batchWriteParams';
26
29
  export * from './bigCommerceChannel';
27
30
  export * from './bigCommerceMetafield';
28
31
  export * from './bigQueryDataType';
@@ -52,6 +55,7 @@ export * from './listDestinationsResponse';
52
55
  export * from './listEventsResponse';
53
56
  export * from './listSourcesResponse';
54
57
  export * from './listTasksResponse';
58
+ export * from './listTasksResponseV1';
55
59
  export * from './listTransformationsResponse';
56
60
  export * from './mappingFieldDirective';
57
61
  export * from './mappingFormatSchema';
@@ -116,18 +120,21 @@ export * from './task';
116
120
  export * from './taskCreate';
117
121
  export * from './taskCreateResponse';
118
122
  export * from './taskCreateTrigger';
123
+ export * from './taskCreateV1';
119
124
  export * from './taskInput';
120
125
  export * from './taskSearch';
121
126
  export * from './taskSortKeys';
122
127
  export * from './taskUpdate';
123
128
  export * from './taskUpdateResponse';
129
+ export * from './taskUpdateV1';
130
+ export * from './taskV1';
124
131
  export * from './transformation';
125
132
  export * from './transformationCreate';
126
133
  export * from './transformationCreateResponse';
134
+ export * from './transformationError';
127
135
  export * from './transformationSearch';
128
136
  export * from './transformationTry';
129
137
  export * from './transformationTryResponse';
130
- export * from './transformationTryResponseError';
131
138
  export * from './transformationUpdateResponse';
132
139
  export * from './trigger';
133
140
  export * from './triggerType';
@@ -0,0 +1,13 @@
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 { TaskV1 } from './taskV1';
5
+
6
+ /**
7
+ * Configured tasks and pagination information.
8
+ */
9
+ export type ListTasksResponseV1 = {
10
+ tasks: TaskV1[];
11
+
12
+ pagination: Pagination;
13
+ };
package/model/task.ts CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  import type { ActionType } from './actionType';
4
4
  import type { TaskInput } from './taskInput';
5
- import type { Trigger } from './trigger';
6
5
 
7
6
  export type Task = {
8
7
  /**
@@ -20,7 +19,20 @@ export type Task = {
20
19
  */
21
20
  destinationID: string;
22
21
 
23
- trigger: Trigger;
22
+ /**
23
+ * Cron expression for the task\'s schedule.
24
+ */
25
+ cron?: string;
26
+
27
+ /**
28
+ * The last time the scheduled task ran in RFC 3339 format.
29
+ */
30
+ lastRun?: string;
31
+
32
+ /**
33
+ * The next scheduled run of the task in RFC 3339 format.
34
+ */
35
+ nextRun?: string;
24
36
 
25
37
  input?: TaskInput;
26
38
 
@@ -1,7 +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
  import type { ActionType } from './actionType';
4
- import type { TaskCreateTrigger } from './taskCreateTrigger';
5
4
  import type { TaskInput } from './taskInput';
6
5
 
7
6
  /**
@@ -18,10 +17,13 @@ export type TaskCreate = {
18
17
  */
19
18
  destinationID: string;
20
19
 
21
- trigger: TaskCreateTrigger;
22
-
23
20
  action: ActionType;
24
21
 
22
+ /**
23
+ * Cron expression for the task\'s schedule.
24
+ */
25
+ cron?: string;
26
+
25
27
  /**
26
28
  * Whether the task is enabled.
27
29
  */
@@ -0,0 +1,41 @@
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 { ActionType } from './actionType';
4
+ import type { TaskCreateTrigger } from './taskCreateTrigger';
5
+ import type { TaskInput } from './taskInput';
6
+
7
+ /**
8
+ * API request body for creating a task using the V1 shape, please use methods and types that don\'t contain the V1 suffix.
9
+ */
10
+ export type TaskCreateV1 = {
11
+ /**
12
+ * Universally uniqud identifier (UUID) of a source.
13
+ */
14
+ sourceID: string;
15
+
16
+ /**
17
+ * Universally unique identifier (UUID) of a destination resource.
18
+ */
19
+ destinationID: string;
20
+
21
+ trigger: TaskCreateTrigger;
22
+
23
+ action: ActionType;
24
+
25
+ /**
26
+ * Whether the task is enabled.
27
+ */
28
+ enabled?: boolean;
29
+
30
+ /**
31
+ * Maximum accepted percentage of failures for a task run to finish successfully.
32
+ */
33
+ failureThreshold?: number;
34
+
35
+ input?: TaskInput;
36
+
37
+ /**
38
+ * Date of the last cursor in RFC 3339 format.
39
+ */
40
+ cursor?: string;
41
+ };
@@ -1,7 +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
  import type { TaskInput } from './taskInput';
4
- import type { TriggerUpdateInput } from './triggerUpdateInput';
5
4
 
6
5
  /**
7
6
  * API request body for updating a task.
@@ -12,7 +11,10 @@ export type TaskUpdate = {
12
11
  */
13
12
  destinationID?: string;
14
13
 
15
- trigger?: TriggerUpdateInput;
14
+ /**
15
+ * Cron expression for the task\'s schedule.
16
+ */
17
+ cron?: string;
16
18
 
17
19
  input?: TaskInput;
18
20
 
@@ -0,0 +1,28 @@
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 { TaskInput } from './taskInput';
4
+ import type { TriggerUpdateInput } from './triggerUpdateInput';
5
+
6
+ /**
7
+ * API request body for updating a task using the V1 shape, please use methods and types that don\'t contain the V1 suffix.
8
+ */
9
+ export type TaskUpdateV1 = {
10
+ /**
11
+ * Universally unique identifier (UUID) of a destination resource.
12
+ */
13
+ destinationID?: string;
14
+
15
+ trigger?: TriggerUpdateInput;
16
+
17
+ input?: TaskInput;
18
+
19
+ /**
20
+ * Whether the task is enabled.
21
+ */
22
+ enabled?: boolean;
23
+
24
+ /**
25
+ * Maximum accepted percentage of failures for a task run to finish successfully.
26
+ */
27
+ failureThreshold?: number;
28
+ };
@@ -0,0 +1,56 @@
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 { ActionType } from './actionType';
4
+ import type { TaskInput } from './taskInput';
5
+ import type { Trigger } from './trigger';
6
+
7
+ /**
8
+ * The V1 task object, please use methods and types that don\'t contain the V1 suffix.
9
+ */
10
+ export type TaskV1 = {
11
+ /**
12
+ * Universally unique identifier (UUID) of a task.
13
+ */
14
+ taskID: string;
15
+
16
+ /**
17
+ * Universally uniqud identifier (UUID) of a source.
18
+ */
19
+ sourceID: string;
20
+
21
+ /**
22
+ * Universally unique identifier (UUID) of a destination resource.
23
+ */
24
+ destinationID: string;
25
+
26
+ trigger: Trigger;
27
+
28
+ input?: TaskInput;
29
+
30
+ /**
31
+ * Whether the task is enabled.
32
+ */
33
+ enabled: boolean;
34
+
35
+ /**
36
+ * Maximum accepted percentage of failures for a task run to finish successfully.
37
+ */
38
+ failureThreshold?: number;
39
+
40
+ action: ActionType;
41
+
42
+ /**
43
+ * Date of the last cursor in RFC 3339 format.
44
+ */
45
+ cursor?: string;
46
+
47
+ /**
48
+ * Date of creation in RFC 3339 format.
49
+ */
50
+ createdAt: string;
51
+
52
+ /**
53
+ * Date of last update in RFC 3339 format.
54
+ */
55
+ updatedAt?: string;
56
+ };
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * The error if the transformation failed.
5
5
  */
6
- export type TransformationTryResponseError = {
6
+ export type TransformationError = {
7
7
  /**
8
8
  * The error status code.
9
9
  */
@@ -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
- import type { TransformationTryResponseError } from './transformationTryResponseError';
3
+ import type { TransformationError } from './transformationError';
4
4
 
5
5
  export type TransformationTryResponse = {
6
6
  /**
@@ -8,5 +8,5 @@ export type TransformationTryResponse = {
8
8
  */
9
9
  payloads: Array<Record<string, any>>;
10
10
 
11
- error?: TransformationTryResponseError;
11
+ error?: TransformationError;
12
12
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algolia/ingestion",
3
- "version": "1.0.0-beta.11",
3
+ "version": "1.0.0-beta.13",
4
4
  "description": "JavaScript client for ingestion",
5
5
  "repository": {
6
6
  "type": "git",
@@ -42,14 +42,14 @@
42
42
  "clean": "rm -rf ./dist || true"
43
43
  },
44
44
  "dependencies": {
45
- "@algolia/client-common": "5.0.0-beta.12",
46
- "@algolia/requester-browser-xhr": "5.0.0-beta.12",
47
- "@algolia/requester-node-http": "5.0.0-beta.12"
45
+ "@algolia/client-common": "5.0.0-beta.14",
46
+ "@algolia/requester-browser-xhr": "5.0.0-beta.14",
47
+ "@algolia/requester-node-http": "5.0.0-beta.14"
48
48
  },
49
49
  "devDependencies": {
50
- "@types/node": "20.14.10",
51
- "rollup": "4.18.1",
52
- "typescript": "5.5.3"
50
+ "@types/node": "20.14.11",
51
+ "rollup": "4.19.1",
52
+ "typescript": "5.5.4"
53
53
  },
54
54
  "engines": {
55
55
  "node": ">= 14.0.0"