@algolia/ingestion 1.0.0-beta.9 → 1.0.0
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.
- package/dist/builds/browser.d.ts +22 -8
- package/dist/builds/browser.d.ts.map +1 -1
- package/dist/builds/node.d.ts +22 -8
- package/dist/builds/node.d.ts.map +1 -1
- package/dist/ingestion.cjs +623 -187
- package/dist/ingestion.esm.browser.js +623 -187
- package/dist/ingestion.esm.node.js +623 -187
- package/dist/ingestion.umd.js +2 -2
- package/dist/model/action.d.ts +5 -0
- package/dist/model/action.d.ts.map +1 -0
- package/dist/model/batchRequest.d.ts +9 -0
- package/dist/model/batchRequest.d.ts.map +1 -0
- package/dist/model/batchWriteParams.d.ts +8 -0
- package/dist/model/batchWriteParams.d.ts.map +1 -0
- package/dist/model/clientMethodProps.d.ts +209 -65
- package/dist/model/clientMethodProps.d.ts.map +1 -1
- package/dist/model/destination.d.ts +1 -0
- package/dist/model/destination.d.ts.map +1 -1
- package/dist/model/destinationCreate.d.ts +1 -0
- package/dist/model/destinationCreate.d.ts.map +1 -1
- package/dist/model/destinationInput.d.ts +1 -2
- package/dist/model/destinationInput.d.ts.map +1 -1
- package/dist/model/destinationUpdate.d.ts +1 -0
- package/dist/model/destinationUpdate.d.ts.map +1 -1
- package/dist/model/dockerStreams.d.ts +13 -0
- package/dist/model/dockerStreams.d.ts.map +1 -0
- package/dist/model/dockerStreamsInput.d.ts +8 -0
- package/dist/model/dockerStreamsInput.d.ts.map +1 -0
- package/dist/model/dockerStreamsSyncMode.d.ts +5 -0
- package/dist/model/dockerStreamsSyncMode.d.ts.map +1 -0
- package/dist/model/entityType.d.ts +5 -0
- package/dist/model/entityType.d.ts.map +1 -0
- package/dist/model/generateTransformationCodePayload.d.ts +6 -0
- package/dist/model/generateTransformationCodePayload.d.ts.map +1 -0
- package/dist/model/generateTransformationCodeResponse.d.ts +4 -0
- package/dist/model/generateTransformationCodeResponse.d.ts.map +1 -0
- package/dist/model/index.d.ts +19 -5
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/listTasksResponseV1.d.ts +10 -0
- package/dist/model/listTasksResponseV1.d.ts.map +1 -0
- package/dist/model/model.d.ts +8 -0
- package/dist/model/model.d.ts.map +1 -0
- package/dist/model/runSourcePayload.d.ts +17 -0
- package/dist/model/runSourcePayload.d.ts.map +1 -0
- package/dist/model/runSourceResponse.d.ts +11 -0
- package/dist/model/runSourceResponse.d.ts.map +1 -0
- package/dist/model/sourceUpdateShopify.d.ts +2 -26
- package/dist/model/sourceUpdateShopify.d.ts.map +1 -1
- package/dist/model/{streamingUtilsInput.d.ts → streamingInput.d.ts} +2 -2
- package/dist/model/streamingInput.d.ts.map +1 -0
- package/dist/model/task.d.ts +12 -2
- package/dist/model/task.d.ts.map +1 -1
- package/dist/model/taskCreate.d.ts +4 -2
- package/dist/model/taskCreate.d.ts.map +1 -1
- package/dist/model/taskCreateV1.d.ts +32 -0
- package/dist/model/taskCreateV1.d.ts.map +1 -0
- package/dist/model/taskInput.d.ts +3 -4
- package/dist/model/taskInput.d.ts.map +1 -1
- package/dist/model/taskUpdate.d.ts +4 -2
- package/dist/model/taskUpdate.d.ts.map +1 -1
- package/dist/model/taskUpdateV1.d.ts +22 -0
- package/dist/model/taskUpdateV1.d.ts.map +1 -0
- package/dist/model/taskV1.d.ts +44 -0
- package/dist/model/taskV1.d.ts.map +1 -0
- package/dist/model/transformation.d.ts +5 -1
- package/dist/model/transformation.d.ts.map +1 -1
- package/dist/model/transformationCreate.d.ts +5 -1
- package/dist/model/transformationCreate.d.ts.map +1 -1
- package/dist/model/{transformationTryResponseError.d.ts → transformationError.d.ts} +2 -2
- package/dist/model/transformationError.d.ts.map +1 -0
- package/dist/model/transformationModels.d.ts +8 -0
- package/dist/model/transformationModels.d.ts.map +1 -0
- package/dist/model/transformationSearch.d.ts +1 -1
- package/dist/model/transformationSearch.d.ts.map +1 -1
- package/dist/model/transformationTry.d.ts +2 -0
- package/dist/model/transformationTry.d.ts.map +1 -1
- package/dist/model/transformationTryResponse.d.ts +2 -2
- package/dist/model/transformationTryResponse.d.ts.map +1 -1
- package/dist/src/ingestionClient.d.ts +276 -93
- package/dist/src/ingestionClient.d.ts.map +1 -1
- package/model/action.ts +13 -0
- package/model/batchRequest.ts +12 -0
- package/model/{destinationIndexPrefix.ts → batchWriteParams.ts} +7 -5
- package/model/clientMethodProps.ts +224 -70
- package/model/destination.ts +2 -0
- package/model/destinationCreate.ts +2 -0
- package/model/destinationInput.ts +1 -2
- package/model/destinationUpdate.ts +2 -0
- package/model/dockerStreams.ts +17 -0
- package/model/dockerStreamsInput.ts +10 -0
- package/model/dockerStreamsSyncMode.ts +6 -0
- package/model/entityType.ts +6 -0
- package/model/generateTransformationCodePayload.ts +9 -0
- package/model/generateTransformationCodeResponse.ts +5 -0
- package/model/index.ts +19 -5
- package/model/listTasksResponseV1.ts +13 -0
- package/model/model.ts +13 -0
- package/model/runSourcePayload.ts +22 -0
- package/model/runSourceResponse.ts +13 -0
- package/model/sourceUpdateShopify.ts +2 -32
- package/model/{streamingUtilsInput.ts → streamingInput.ts} +1 -1
- package/model/task.ts +14 -2
- package/model/taskCreate.ts +5 -3
- package/model/taskCreateV1.ts +41 -0
- package/model/taskInput.ts +3 -8
- package/model/taskUpdate.ts +4 -2
- package/model/taskUpdateV1.ts +28 -0
- package/model/taskV1.ts +56 -0
- package/model/transformation.ts +6 -1
- package/model/transformationCreate.ts +6 -1
- package/model/{transformationTryResponseError.ts → transformationError.ts} +1 -1
- package/model/transformationModels.ts +10 -0
- package/model/transformationSearch.ts +1 -1
- package/model/transformationTry.ts +4 -0
- package/model/transformationTryResponse.ts +2 -2
- package/package.json +7 -7
- package/dist/model/destinationIndexPrefix.d.ts +0 -7
- package/dist/model/destinationIndexPrefix.d.ts.map +0 -1
- package/dist/model/onDemandDateUtilsInput.d.ts +0 -16
- package/dist/model/onDemandDateUtilsInput.d.ts.map +0 -1
- package/dist/model/scheduleDateUtilsInput.d.ts +0 -12
- package/dist/model/scheduleDateUtilsInput.d.ts.map +0 -1
- package/dist/model/streamingUtilsInput.d.ts.map +0 -1
- package/dist/model/transformationTryResponseError.d.ts.map +0 -1
- package/model/onDemandDateUtilsInput.ts +0 -20
- package/model/scheduleDateUtilsInput.ts +0 -15
package/model/action.ts
ADDED
|
@@ -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
|
+
/**
|
|
4
|
+
* Type of indexing operation.
|
|
5
|
+
*/
|
|
6
|
+
export type Action =
|
|
7
|
+
| 'addObject'
|
|
8
|
+
| 'clear'
|
|
9
|
+
| 'delete'
|
|
10
|
+
| 'deleteObject'
|
|
11
|
+
| 'partialUpdateObject'
|
|
12
|
+
| 'partialUpdateObjectNoCreate'
|
|
13
|
+
| 'updateObject';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
import type { Action } from './action';
|
|
4
|
+
|
|
5
|
+
export type BatchRequest = {
|
|
6
|
+
action: Action;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Operation arguments (varies with specified `action`).
|
|
10
|
+
*/
|
|
11
|
+
body: Record<string, any>;
|
|
12
|
+
};
|
|
@@ -1,8 +1,10 @@
|
|
|
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
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
import type { BatchRequest } from './batchRequest';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Batch parameters.
|
|
7
|
+
*/
|
|
8
|
+
export type BatchWriteParams = {
|
|
9
|
+
requests: BatchRequest[];
|
|
8
10
|
};
|
|
@@ -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';
|
|
@@ -13,6 +14,7 @@ import type { EventType } from './eventType';
|
|
|
13
14
|
import type { OrderKeys } from './orderKeys';
|
|
14
15
|
import type { PlatformWithNone } from './platformWithNone';
|
|
15
16
|
import type { RunSortKeys } from './runSortKeys';
|
|
17
|
+
import type { RunSourcePayload } from './runSourcePayload';
|
|
16
18
|
import type { RunStatus } from './runStatus';
|
|
17
19
|
import type { SortKeys } from './sortKeys';
|
|
18
20
|
import type { SourceSortKeys } from './sourceSortKeys';
|
|
@@ -20,7 +22,9 @@ import type { SourceType } from './sourceType';
|
|
|
20
22
|
import type { SourceUpdate } from './sourceUpdate';
|
|
21
23
|
import type { TaskSortKeys } from './taskSortKeys';
|
|
22
24
|
import type { TaskUpdate } from './taskUpdate';
|
|
25
|
+
import type { TaskUpdateV1 } from './taskUpdateV1';
|
|
23
26
|
import type { TransformationCreate } from './transformationCreate';
|
|
27
|
+
import type { TransformationTry } from './transformationTry';
|
|
24
28
|
import type { TriggerType } from './triggerType';
|
|
25
29
|
|
|
26
30
|
/**
|
|
@@ -127,6 +131,16 @@ export type DeleteTaskProps = {
|
|
|
127
131
|
taskID: string;
|
|
128
132
|
};
|
|
129
133
|
|
|
134
|
+
/**
|
|
135
|
+
* Properties for the `deleteTaskV1` method.
|
|
136
|
+
*/
|
|
137
|
+
export type DeleteTaskV1Props = {
|
|
138
|
+
/**
|
|
139
|
+
* Unique identifier of a task.
|
|
140
|
+
*/
|
|
141
|
+
taskID: string;
|
|
142
|
+
};
|
|
143
|
+
|
|
130
144
|
/**
|
|
131
145
|
* Properties for the `deleteTransformation` method.
|
|
132
146
|
*/
|
|
@@ -147,6 +161,16 @@ export type DisableTaskProps = {
|
|
|
147
161
|
taskID: string;
|
|
148
162
|
};
|
|
149
163
|
|
|
164
|
+
/**
|
|
165
|
+
* Properties for the `disableTaskV1` method.
|
|
166
|
+
*/
|
|
167
|
+
export type DisableTaskV1Props = {
|
|
168
|
+
/**
|
|
169
|
+
* Unique identifier of a task.
|
|
170
|
+
*/
|
|
171
|
+
taskID: string;
|
|
172
|
+
};
|
|
173
|
+
|
|
150
174
|
/**
|
|
151
175
|
* Properties for the `enableTask` method.
|
|
152
176
|
*/
|
|
@@ -157,6 +181,16 @@ export type EnableTaskProps = {
|
|
|
157
181
|
taskID: string;
|
|
158
182
|
};
|
|
159
183
|
|
|
184
|
+
/**
|
|
185
|
+
* Properties for the `enableTaskV1` method.
|
|
186
|
+
*/
|
|
187
|
+
export type EnableTaskV1Props = {
|
|
188
|
+
/**
|
|
189
|
+
* Unique identifier of a task.
|
|
190
|
+
*/
|
|
191
|
+
taskID: string;
|
|
192
|
+
};
|
|
193
|
+
|
|
160
194
|
/**
|
|
161
195
|
* Properties for the `getAuthentication` method.
|
|
162
196
|
*/
|
|
@@ -168,9 +202,83 @@ export type GetAuthenticationProps = {
|
|
|
168
202
|
};
|
|
169
203
|
|
|
170
204
|
/**
|
|
171
|
-
* Properties for the `
|
|
205
|
+
* Properties for the `getDestination` method.
|
|
206
|
+
*/
|
|
207
|
+
export type GetDestinationProps = {
|
|
208
|
+
/**
|
|
209
|
+
* Unique identifier of a destination.
|
|
210
|
+
*/
|
|
211
|
+
destinationID: string;
|
|
212
|
+
};
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Properties for the `getEvent` method.
|
|
216
|
+
*/
|
|
217
|
+
export type GetEventProps = {
|
|
218
|
+
/**
|
|
219
|
+
* Unique identifier of a task run.
|
|
220
|
+
*/
|
|
221
|
+
runID: string;
|
|
222
|
+
/**
|
|
223
|
+
* Unique identifier of an event.
|
|
224
|
+
*/
|
|
225
|
+
eventID: string;
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Properties for the `getRun` method.
|
|
230
|
+
*/
|
|
231
|
+
export type GetRunProps = {
|
|
232
|
+
/**
|
|
233
|
+
* Unique identifier of a task run.
|
|
234
|
+
*/
|
|
235
|
+
runID: string;
|
|
236
|
+
};
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Properties for the `getSource` method.
|
|
240
|
+
*/
|
|
241
|
+
export type GetSourceProps = {
|
|
242
|
+
/**
|
|
243
|
+
* Unique identifier of a source.
|
|
244
|
+
*/
|
|
245
|
+
sourceID: string;
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* Properties for the `getTask` method.
|
|
250
|
+
*/
|
|
251
|
+
export type GetTaskProps = {
|
|
252
|
+
/**
|
|
253
|
+
* Unique identifier of a task.
|
|
254
|
+
*/
|
|
255
|
+
taskID: string;
|
|
256
|
+
};
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* Properties for the `getTaskV1` method.
|
|
172
260
|
*/
|
|
173
|
-
export type
|
|
261
|
+
export type GetTaskV1Props = {
|
|
262
|
+
/**
|
|
263
|
+
* Unique identifier of a task.
|
|
264
|
+
*/
|
|
265
|
+
taskID: string;
|
|
266
|
+
};
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Properties for the `getTransformation` method.
|
|
270
|
+
*/
|
|
271
|
+
export type GetTransformationProps = {
|
|
272
|
+
/**
|
|
273
|
+
* Unique identifier of a transformation.
|
|
274
|
+
*/
|
|
275
|
+
transformationID: string;
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* Properties for the `listAuthentications` method.
|
|
280
|
+
*/
|
|
281
|
+
export type ListAuthenticationsProps = {
|
|
174
282
|
/**
|
|
175
283
|
* Number of items per page.
|
|
176
284
|
*/
|
|
@@ -198,19 +306,9 @@ export type GetAuthenticationsProps = {
|
|
|
198
306
|
};
|
|
199
307
|
|
|
200
308
|
/**
|
|
201
|
-
* Properties for the `
|
|
309
|
+
* Properties for the `listDestinations` method.
|
|
202
310
|
*/
|
|
203
|
-
export type
|
|
204
|
-
/**
|
|
205
|
-
* Unique identifier of a destination.
|
|
206
|
-
*/
|
|
207
|
-
destinationID: string;
|
|
208
|
-
};
|
|
209
|
-
|
|
210
|
-
/**
|
|
211
|
-
* Properties for the `getDestinations` method.
|
|
212
|
-
*/
|
|
213
|
-
export type GetDestinationsProps = {
|
|
311
|
+
export type ListDestinationsProps = {
|
|
214
312
|
/**
|
|
215
313
|
* Number of items per page.
|
|
216
314
|
*/
|
|
@@ -238,23 +336,9 @@ export type GetDestinationsProps = {
|
|
|
238
336
|
};
|
|
239
337
|
|
|
240
338
|
/**
|
|
241
|
-
* Properties for the `
|
|
242
|
-
*/
|
|
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.
|
|
339
|
+
* Properties for the `listEvents` method.
|
|
256
340
|
*/
|
|
257
|
-
export type
|
|
341
|
+
export type ListEventsProps = {
|
|
258
342
|
/**
|
|
259
343
|
* Unique identifier of a task run.
|
|
260
344
|
*/
|
|
@@ -294,19 +378,9 @@ export type GetEventsProps = {
|
|
|
294
378
|
};
|
|
295
379
|
|
|
296
380
|
/**
|
|
297
|
-
* Properties for the `
|
|
381
|
+
* Properties for the `listRuns` method.
|
|
298
382
|
*/
|
|
299
|
-
export type
|
|
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 = {
|
|
383
|
+
export type ListRunsProps = {
|
|
310
384
|
/**
|
|
311
385
|
* Number of items per page.
|
|
312
386
|
*/
|
|
@@ -342,19 +416,9 @@ export type GetRunsProps = {
|
|
|
342
416
|
};
|
|
343
417
|
|
|
344
418
|
/**
|
|
345
|
-
* Properties for the `
|
|
346
|
-
*/
|
|
347
|
-
export type GetSourceProps = {
|
|
348
|
-
/**
|
|
349
|
-
* Unique identifier of a source.
|
|
350
|
-
*/
|
|
351
|
-
sourceID: string;
|
|
352
|
-
};
|
|
353
|
-
|
|
354
|
-
/**
|
|
355
|
-
* Properties for the `getSources` method.
|
|
419
|
+
* Properties for the `listSources` method.
|
|
356
420
|
*/
|
|
357
|
-
export type
|
|
421
|
+
export type ListSourcesProps = {
|
|
358
422
|
/**
|
|
359
423
|
* Number of items per page.
|
|
360
424
|
*/
|
|
@@ -382,19 +446,51 @@ export type GetSourcesProps = {
|
|
|
382
446
|
};
|
|
383
447
|
|
|
384
448
|
/**
|
|
385
|
-
* Properties for the `
|
|
449
|
+
* Properties for the `listTasks` method.
|
|
386
450
|
*/
|
|
387
|
-
export type
|
|
451
|
+
export type ListTasksProps = {
|
|
388
452
|
/**
|
|
389
|
-
*
|
|
453
|
+
* Number of items per page.
|
|
390
454
|
*/
|
|
391
|
-
|
|
455
|
+
itemsPerPage?: number;
|
|
456
|
+
/**
|
|
457
|
+
* Page number of the paginated API response.
|
|
458
|
+
*/
|
|
459
|
+
page?: number;
|
|
460
|
+
/**
|
|
461
|
+
* Actions for filtering the list of tasks.
|
|
462
|
+
*/
|
|
463
|
+
action?: ActionType[];
|
|
464
|
+
/**
|
|
465
|
+
* Whether to filter the list of tasks by the `enabled` status.
|
|
466
|
+
*/
|
|
467
|
+
enabled?: boolean;
|
|
468
|
+
/**
|
|
469
|
+
* Source IDs for filtering the list of tasks.
|
|
470
|
+
*/
|
|
471
|
+
sourceID?: string[];
|
|
472
|
+
/**
|
|
473
|
+
* Destination IDs for filtering the list of tasks.
|
|
474
|
+
*/
|
|
475
|
+
destinationID?: string[];
|
|
476
|
+
/**
|
|
477
|
+
* Type of task trigger for filtering the list of tasks.
|
|
478
|
+
*/
|
|
479
|
+
triggerType?: TriggerType[];
|
|
480
|
+
/**
|
|
481
|
+
* Property by which to sort the list of tasks.
|
|
482
|
+
*/
|
|
483
|
+
sort?: TaskSortKeys;
|
|
484
|
+
/**
|
|
485
|
+
* Sort order of the response, ascending or descending.
|
|
486
|
+
*/
|
|
487
|
+
order?: OrderKeys;
|
|
392
488
|
};
|
|
393
489
|
|
|
394
490
|
/**
|
|
395
|
-
* Properties for the `
|
|
491
|
+
* Properties for the `listTasksV1` method.
|
|
396
492
|
*/
|
|
397
|
-
export type
|
|
493
|
+
export type ListTasksV1Props = {
|
|
398
494
|
/**
|
|
399
495
|
* Number of items per page.
|
|
400
496
|
*/
|
|
@@ -434,19 +530,17 @@ export type GetTasksProps = {
|
|
|
434
530
|
};
|
|
435
531
|
|
|
436
532
|
/**
|
|
437
|
-
* Properties for the `
|
|
533
|
+
* Properties for the `listTransformations` method.
|
|
438
534
|
*/
|
|
439
|
-
export type
|
|
535
|
+
export type ListTransformationsProps = {
|
|
440
536
|
/**
|
|
441
|
-
*
|
|
537
|
+
* Number of items per page.
|
|
442
538
|
*/
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
*/
|
|
449
|
-
export type GetTransformationsProps = {
|
|
539
|
+
itemsPerPage?: number;
|
|
540
|
+
/**
|
|
541
|
+
* Page number of the paginated API response.
|
|
542
|
+
*/
|
|
543
|
+
page?: number;
|
|
450
544
|
/**
|
|
451
545
|
* Property by which to sort the list.
|
|
452
546
|
*/
|
|
@@ -457,6 +551,34 @@ export type GetTransformationsProps = {
|
|
|
457
551
|
order?: OrderKeys;
|
|
458
552
|
};
|
|
459
553
|
|
|
554
|
+
/**
|
|
555
|
+
* Properties for the `pushTask` method.
|
|
556
|
+
*/
|
|
557
|
+
export type PushTaskProps = {
|
|
558
|
+
/**
|
|
559
|
+
* Unique identifier of a task.
|
|
560
|
+
*/
|
|
561
|
+
taskID: string;
|
|
562
|
+
/**
|
|
563
|
+
* Request body of a Search API `batch` request that will be pushed in the Connectors pipeline.
|
|
564
|
+
*/
|
|
565
|
+
batchWriteParams: BatchWriteParams;
|
|
566
|
+
};
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* Properties for the `runSource` method.
|
|
570
|
+
*/
|
|
571
|
+
export type RunSourceProps = {
|
|
572
|
+
/**
|
|
573
|
+
* Unique identifier of a source.
|
|
574
|
+
*/
|
|
575
|
+
sourceID: string;
|
|
576
|
+
/**
|
|
577
|
+
*
|
|
578
|
+
*/
|
|
579
|
+
runSourcePayload?: RunSourcePayload;
|
|
580
|
+
};
|
|
581
|
+
|
|
460
582
|
/**
|
|
461
583
|
* Properties for the `runTask` method.
|
|
462
584
|
*/
|
|
@@ -467,6 +589,16 @@ export type RunTaskProps = {
|
|
|
467
589
|
taskID: string;
|
|
468
590
|
};
|
|
469
591
|
|
|
592
|
+
/**
|
|
593
|
+
* Properties for the `runTaskV1` method.
|
|
594
|
+
*/
|
|
595
|
+
export type RunTaskV1Props = {
|
|
596
|
+
/**
|
|
597
|
+
* Unique identifier of a task.
|
|
598
|
+
*/
|
|
599
|
+
taskID: string;
|
|
600
|
+
};
|
|
601
|
+
|
|
470
602
|
/**
|
|
471
603
|
* Properties for the `triggerDockerSourceDiscover` method.
|
|
472
604
|
*/
|
|
@@ -477,6 +609,17 @@ export type TriggerDockerSourceDiscoverProps = {
|
|
|
477
609
|
sourceID: string;
|
|
478
610
|
};
|
|
479
611
|
|
|
612
|
+
/**
|
|
613
|
+
* Properties for the `tryTransformationBeforeUpdate` method.
|
|
614
|
+
*/
|
|
615
|
+
export type TryTransformationBeforeUpdateProps = {
|
|
616
|
+
/**
|
|
617
|
+
* Unique identifier of a transformation.
|
|
618
|
+
*/
|
|
619
|
+
transformationID: string;
|
|
620
|
+
transformationTry: TransformationTry;
|
|
621
|
+
};
|
|
622
|
+
|
|
480
623
|
/**
|
|
481
624
|
* Properties for the `updateAuthentication` method.
|
|
482
625
|
*/
|
|
@@ -521,6 +664,17 @@ export type UpdateTaskProps = {
|
|
|
521
664
|
taskUpdate: TaskUpdate;
|
|
522
665
|
};
|
|
523
666
|
|
|
667
|
+
/**
|
|
668
|
+
* Properties for the `updateTaskV1` method.
|
|
669
|
+
*/
|
|
670
|
+
export type UpdateTaskV1Props = {
|
|
671
|
+
/**
|
|
672
|
+
* Unique identifier of a task.
|
|
673
|
+
*/
|
|
674
|
+
taskID: string;
|
|
675
|
+
taskUpdate: TaskUpdateV1;
|
|
676
|
+
};
|
|
677
|
+
|
|
524
678
|
/**
|
|
525
679
|
* Properties for the `updateTransformation` method.
|
|
526
680
|
*/
|
package/model/destination.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
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 { DestinationIndexName } from './destinationIndexName';
|
|
4
|
-
import type { DestinationIndexPrefix } from './destinationIndexPrefix';
|
|
5
4
|
|
|
6
|
-
export type DestinationInput = DestinationIndexName
|
|
5
|
+
export type DestinationInput = DestinationIndexName;
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { DockerStreamsSyncMode } from './dockerStreamsSyncMode';
|
|
4
|
+
|
|
5
|
+
export type DockerStreams = {
|
|
6
|
+
/**
|
|
7
|
+
* The name of the stream to fetch the data from (e.g. Table name).
|
|
8
|
+
*/
|
|
9
|
+
name: string;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* The properties of the stream to select (e.g. Column).
|
|
13
|
+
*/
|
|
14
|
+
properties?: string[];
|
|
15
|
+
|
|
16
|
+
syncMode: DockerStreamsSyncMode;
|
|
17
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
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 { DockerStreams } from './dockerStreams';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* The selected streams of a singer or airbyte connector.
|
|
7
|
+
*/
|
|
8
|
+
export type DockerStreamsInput = {
|
|
9
|
+
streams: DockerStreams[];
|
|
10
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The strategy to use to fetch the data.
|
|
5
|
+
*/
|
|
6
|
+
export type DockerStreamsSyncMode = 'fullTable' | 'incremental';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Type of entity to update.
|
|
5
|
+
*/
|
|
6
|
+
export type EntityType = 'collection' | 'product';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
export type GenerateTransformationCodePayload = {
|
|
4
|
+
id: string;
|
|
5
|
+
|
|
6
|
+
systemPrompt?: string;
|
|
7
|
+
|
|
8
|
+
userPrompt: string;
|
|
9
|
+
};
|
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';
|
|
@@ -32,7 +35,6 @@ export * from './destination';
|
|
|
32
35
|
export * from './destinationCreate';
|
|
33
36
|
export * from './destinationCreateResponse';
|
|
34
37
|
export * from './destinationIndexName';
|
|
35
|
-
export * from './destinationIndexPrefix';
|
|
36
38
|
export * from './destinationInput';
|
|
37
39
|
export * from './destinationSearch';
|
|
38
40
|
export * from './destinationSortKeys';
|
|
@@ -41,16 +43,23 @@ export * from './destinationUpdate';
|
|
|
41
43
|
export * from './destinationUpdateResponse';
|
|
42
44
|
export * from './dockerImageType';
|
|
43
45
|
export * from './dockerRegistry';
|
|
46
|
+
export * from './dockerStreams';
|
|
47
|
+
export * from './dockerStreamsInput';
|
|
48
|
+
export * from './dockerStreamsSyncMode';
|
|
49
|
+
export * from './entityType';
|
|
44
50
|
export * from './errorBase';
|
|
45
51
|
export * from './event';
|
|
46
52
|
export * from './eventSortKeys';
|
|
47
53
|
export * from './eventStatus';
|
|
48
54
|
export * from './eventType';
|
|
55
|
+
export * from './generateTransformationCodePayload';
|
|
56
|
+
export * from './generateTransformationCodeResponse';
|
|
49
57
|
export * from './listAuthenticationsResponse';
|
|
50
58
|
export * from './listDestinationsResponse';
|
|
51
59
|
export * from './listEventsResponse';
|
|
52
60
|
export * from './listSourcesResponse';
|
|
53
61
|
export * from './listTasksResponse';
|
|
62
|
+
export * from './listTasksResponseV1';
|
|
54
63
|
export * from './listTransformationsResponse';
|
|
55
64
|
export * from './mappingFieldDirective';
|
|
56
65
|
export * from './mappingFormatSchema';
|
|
@@ -58,7 +67,7 @@ export * from './mappingInput';
|
|
|
58
67
|
export * from './mappingKitAction';
|
|
59
68
|
export * from './mappingTypeCSV';
|
|
60
69
|
export * from './methodType';
|
|
61
|
-
export * from './
|
|
70
|
+
export * from './model';
|
|
62
71
|
export * from './onDemandTrigger';
|
|
63
72
|
export * from './onDemandTriggerInput';
|
|
64
73
|
export * from './onDemandTriggerType';
|
|
@@ -75,9 +84,10 @@ export * from './runProgress';
|
|
|
75
84
|
export * from './runReasonCode';
|
|
76
85
|
export * from './runResponse';
|
|
77
86
|
export * from './runSortKeys';
|
|
87
|
+
export * from './runSourcePayload';
|
|
88
|
+
export * from './runSourceResponse';
|
|
78
89
|
export * from './runStatus';
|
|
79
90
|
export * from './runType';
|
|
80
|
-
export * from './scheduleDateUtilsInput';
|
|
81
91
|
export * from './scheduleTrigger';
|
|
82
92
|
export * from './scheduleTriggerInput';
|
|
83
93
|
export * from './scheduleTriggerType';
|
|
@@ -108,27 +118,31 @@ export * from './sourceUpdateInput';
|
|
|
108
118
|
export * from './sourceUpdateResponse';
|
|
109
119
|
export * from './sourceUpdateShopify';
|
|
110
120
|
export * from './sourceWatchResponse';
|
|
121
|
+
export * from './streamingInput';
|
|
111
122
|
export * from './streamingTrigger';
|
|
112
123
|
export * from './streamingTriggerType';
|
|
113
|
-
export * from './streamingUtilsInput';
|
|
114
124
|
export * from './subscriptionTrigger';
|
|
115
125
|
export * from './subscriptionTriggerType';
|
|
116
126
|
export * from './task';
|
|
117
127
|
export * from './taskCreate';
|
|
118
128
|
export * from './taskCreateResponse';
|
|
119
129
|
export * from './taskCreateTrigger';
|
|
130
|
+
export * from './taskCreateV1';
|
|
120
131
|
export * from './taskInput';
|
|
121
132
|
export * from './taskSearch';
|
|
122
133
|
export * from './taskSortKeys';
|
|
123
134
|
export * from './taskUpdate';
|
|
124
135
|
export * from './taskUpdateResponse';
|
|
136
|
+
export * from './taskUpdateV1';
|
|
137
|
+
export * from './taskV1';
|
|
125
138
|
export * from './transformation';
|
|
126
139
|
export * from './transformationCreate';
|
|
127
140
|
export * from './transformationCreateResponse';
|
|
141
|
+
export * from './transformationError';
|
|
142
|
+
export * from './transformationModels';
|
|
128
143
|
export * from './transformationSearch';
|
|
129
144
|
export * from './transformationTry';
|
|
130
145
|
export * from './transformationTryResponse';
|
|
131
|
-
export * from './transformationTryResponseError';
|
|
132
146
|
export * from './transformationUpdateResponse';
|
|
133
147
|
export * from './trigger';
|
|
134
148
|
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/model.ts
ADDED
|
@@ -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
|
+
export type Model = {
|
|
4
|
+
fullname: string;
|
|
5
|
+
|
|
6
|
+
modelName: string;
|
|
7
|
+
|
|
8
|
+
systemPrompt: string;
|
|
9
|
+
|
|
10
|
+
id: string;
|
|
11
|
+
|
|
12
|
+
provider: string;
|
|
13
|
+
};
|