@algolia/ingestion 1.0.0-beta.4 → 1.0.0-beta.6
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/LICENSE +21 -0
- package/dist/builds/browser.d.ts +41 -33
- package/dist/builds/browser.d.ts.map +1 -1
- package/dist/builds/node.d.ts +41 -33
- package/dist/builds/node.d.ts.map +1 -1
- package/dist/ingestion.cjs +271 -32
- package/dist/ingestion.esm.browser.js +272 -34
- package/dist/ingestion.esm.node.js +271 -32
- package/dist/ingestion.umd.js +2 -2
- package/dist/model/authentication.d.ts +2 -2
- package/dist/model/authenticationCreateResponse.d.ts +1 -1
- package/dist/model/authenticationUpdateResponse.d.ts +1 -1
- package/dist/model/clientMethodProps.d.ts +57 -13
- package/dist/model/clientMethodProps.d.ts.map +1 -1
- package/dist/model/deleteResponse.d.ts +1 -1
- package/dist/model/destination.d.ts +2 -2
- package/dist/model/destinationCreateResponse.d.ts +1 -1
- package/dist/model/destinationUpdateResponse.d.ts +1 -1
- package/dist/model/event.d.ts +1 -1
- package/dist/model/index.d.ts +11 -2
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/listTransformationsResponse.d.ts +10 -0
- package/dist/model/listTransformationsResponse.d.ts.map +1 -0
- package/dist/model/onDemandDateUtilsInput.d.ts +2 -2
- package/dist/model/onDemandTrigger.d.ts +1 -1
- package/dist/model/run.d.ts +3 -3
- package/dist/model/runResponse.d.ts +1 -1
- package/dist/model/scheduleTrigger.d.ts +2 -2
- package/dist/model/sortKeys.d.ts +5 -0
- package/dist/model/sortKeys.d.ts.map +1 -0
- package/dist/model/source.d.ts +2 -2
- package/dist/model/sourceCreateResponse.d.ts +1 -1
- package/dist/model/sourceUpdateResponse.d.ts +1 -1
- package/dist/model/sourceWatchResponse.d.ts +20 -0
- package/dist/model/sourceWatchResponse.d.ts.map +1 -0
- package/dist/model/task.d.ts +6 -2
- package/dist/model/task.d.ts.map +1 -1
- package/dist/model/taskCreate.d.ts +4 -0
- package/dist/model/taskCreate.d.ts.map +1 -1
- package/dist/model/taskCreateResponse.d.ts +1 -1
- package/dist/model/taskUpdateResponse.d.ts +1 -1
- package/dist/model/transformation.d.ts +27 -0
- package/dist/model/transformation.d.ts.map +1 -0
- package/dist/model/transformationCreate.d.ts +18 -0
- package/dist/model/transformationCreate.d.ts.map +1 -0
- package/dist/model/transformationCreateResponse.d.ts +14 -0
- package/dist/model/transformationCreateResponse.d.ts.map +1 -0
- package/dist/model/transformationSearch.d.ts +4 -0
- package/dist/model/transformationSearch.d.ts.map +1 -0
- package/dist/model/transformationTry.d.ts +11 -0
- package/dist/model/transformationTry.d.ts.map +1 -0
- package/dist/model/transformationTryResponse.d.ts +9 -0
- package/dist/model/transformationTryResponse.d.ts.map +1 -0
- package/dist/model/transformationTryResponseError.d.ts +14 -0
- package/dist/model/transformationTryResponseError.d.ts.map +1 -0
- package/dist/model/transformationUpdateResponse.d.ts +14 -0
- package/dist/model/transformationUpdateResponse.d.ts.map +1 -0
- package/dist/model/window.d.ts +2 -2
- package/dist/src/ingestionClient.d.ts +117 -22
- package/dist/src/ingestionClient.d.ts.map +1 -1
- package/model/authentication.ts +2 -2
- package/model/authenticationCreateResponse.ts +1 -1
- package/model/authenticationUpdateResponse.ts +1 -1
- package/model/clientMethodProps.ts +62 -14
- package/model/deleteResponse.ts +1 -1
- package/model/destination.ts +2 -2
- package/model/destinationCreateResponse.ts +1 -1
- package/model/destinationUpdateResponse.ts +1 -1
- package/model/event.ts +1 -1
- package/model/index.ts +11 -2
- package/model/listTransformationsResponse.ts +13 -0
- package/model/onDemandDateUtilsInput.ts +2 -2
- package/model/onDemandTrigger.ts +1 -1
- package/model/run.ts +3 -3
- package/model/runResponse.ts +1 -1
- package/model/scheduleTrigger.ts +2 -2
- package/model/sortKeys.ts +6 -0
- package/model/source.ts +2 -2
- package/model/sourceCreateResponse.ts +1 -1
- package/model/sourceUpdateResponse.ts +1 -1
- package/model/sourceWatchResponse.ts +25 -0
- package/model/task.ts +7 -2
- package/model/taskCreate.ts +5 -0
- package/model/taskCreateResponse.ts +1 -1
- package/model/taskUpdateResponse.ts +1 -1
- package/model/transformation.ts +33 -0
- package/model/transformationCreate.ts +21 -0
- package/model/transformationCreateResponse.ts +16 -0
- package/model/{dockerSourceStreams.ts → transformationSearch.ts} +2 -2
- package/model/{dockerSourceDiscover.ts → transformationTry.ts} +5 -5
- package/model/transformationTryResponse.ts +12 -0
- package/model/transformationTryResponseError.ts +16 -0
- package/model/transformationUpdateResponse.ts +16 -0
- package/model/window.ts +2 -2
- package/package.json +10 -7
- package/dist/model/dockerSourceDiscover.d.ts +0 -11
- package/dist/model/dockerSourceDiscover.d.ts.map +0 -1
- package/dist/model/dockerSourceStreams.d.ts +0 -4
- package/dist/model/dockerSourceStreams.d.ts.map +0 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API response for updating a transformation.
|
|
3
|
+
*/
|
|
4
|
+
export type TransformationUpdateResponse = {
|
|
5
|
+
/**
|
|
6
|
+
* Universally unique identifier (UUID) of a transformation.
|
|
7
|
+
*/
|
|
8
|
+
transformationID: string;
|
|
9
|
+
/**
|
|
10
|
+
* Date of last update in RFC 3339 format.
|
|
11
|
+
*/
|
|
12
|
+
updatedAt: string;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=transformationUpdateResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transformationUpdateResponse.d.ts","sourceRoot":"","sources":["../../model/transformationUpdateResponse.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
package/dist/model/window.d.ts
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export type Window = {
|
|
5
5
|
/**
|
|
6
|
-
* Date in
|
|
6
|
+
* Date in RFC 3339 format representing the oldest data in the time window.
|
|
7
7
|
*/
|
|
8
8
|
startDate: string;
|
|
9
9
|
/**
|
|
10
|
-
* Date in
|
|
10
|
+
* Date in RFC 3339 format representing the newest data in the time window.
|
|
11
11
|
*/
|
|
12
12
|
endDate: string;
|
|
13
13
|
};
|
|
@@ -4,21 +4,20 @@ import type { AuthenticationCreate } from '../model/authenticationCreate';
|
|
|
4
4
|
import type { AuthenticationCreateResponse } from '../model/authenticationCreateResponse';
|
|
5
5
|
import type { AuthenticationSearch } from '../model/authenticationSearch';
|
|
6
6
|
import type { AuthenticationUpdateResponse } from '../model/authenticationUpdateResponse';
|
|
7
|
-
import type { CustomDeleteProps, CustomGetProps, CustomPostProps, CustomPutProps, DeleteAuthenticationProps, DeleteDestinationProps, DeleteSourceProps, DeleteTaskProps, DisableTaskProps, EnableTaskProps, GetAuthenticationProps, GetAuthenticationsProps, GetDestinationProps, GetDestinationsProps,
|
|
7
|
+
import type { CustomDeleteProps, CustomGetProps, CustomPostProps, CustomPutProps, DeleteAuthenticationProps, DeleteDestinationProps, DeleteSourceProps, DeleteTaskProps, DeleteTransformationProps, DisableTaskProps, EnableTaskProps, GetAuthenticationProps, GetAuthenticationsProps, GetDestinationProps, GetDestinationsProps, GetEventProps, GetEventsProps, GetRunProps, GetRunsProps, GetSourceProps, GetSourcesProps, GetTaskProps, GetTasksProps, GetTransformationProps, GetTransformationsProps, RunTaskProps, TriggerDockerSourceDiscoverProps, UpdateAuthenticationProps, UpdateDestinationProps, UpdateSourceProps, UpdateTaskProps, UpdateTransformationProps, ValidateSourceBeforeUpdateProps } from '../model/clientMethodProps';
|
|
8
8
|
import type { DeleteResponse } from '../model/deleteResponse';
|
|
9
9
|
import type { Destination } from '../model/destination';
|
|
10
10
|
import type { DestinationCreate } from '../model/destinationCreate';
|
|
11
11
|
import type { DestinationCreateResponse } from '../model/destinationCreateResponse';
|
|
12
12
|
import type { DestinationSearch } from '../model/destinationSearch';
|
|
13
13
|
import type { DestinationUpdateResponse } from '../model/destinationUpdateResponse';
|
|
14
|
-
import type { DockerSourceDiscover } from '../model/dockerSourceDiscover';
|
|
15
|
-
import type { DockerSourceStreams } from '../model/dockerSourceStreams';
|
|
16
14
|
import type { Event } from '../model/event';
|
|
17
15
|
import type { ListAuthenticationsResponse } from '../model/listAuthenticationsResponse';
|
|
18
16
|
import type { ListDestinationsResponse } from '../model/listDestinationsResponse';
|
|
19
17
|
import type { ListEventsResponse } from '../model/listEventsResponse';
|
|
20
18
|
import type { ListSourcesResponse } from '../model/listSourcesResponse';
|
|
21
19
|
import type { ListTasksResponse } from '../model/listTasksResponse';
|
|
20
|
+
import type { ListTransformationsResponse } from '../model/listTransformationsResponse';
|
|
22
21
|
import type { OnDemandTrigger } from '../model/onDemandTrigger';
|
|
23
22
|
import type { Run } from '../model/run';
|
|
24
23
|
import type { RunListResponse } from '../model/runListResponse';
|
|
@@ -29,6 +28,7 @@ import type { SourceCreate } from '../model/sourceCreate';
|
|
|
29
28
|
import type { SourceCreateResponse } from '../model/sourceCreateResponse';
|
|
30
29
|
import type { SourceSearch } from '../model/sourceSearch';
|
|
31
30
|
import type { SourceUpdateResponse } from '../model/sourceUpdateResponse';
|
|
31
|
+
import type { SourceWatchResponse } from '../model/sourceWatchResponse';
|
|
32
32
|
import type { SubscriptionTrigger } from '../model/subscriptionTrigger';
|
|
33
33
|
import type { Task } from '../model/task';
|
|
34
34
|
import type { TaskCreate } from '../model/taskCreate';
|
|
@@ -36,8 +36,15 @@ import type { TaskCreateResponse } from '../model/taskCreateResponse';
|
|
|
36
36
|
import type { TaskCreateTrigger } from '../model/taskCreateTrigger';
|
|
37
37
|
import type { TaskSearch } from '../model/taskSearch';
|
|
38
38
|
import type { TaskUpdateResponse } from '../model/taskUpdateResponse';
|
|
39
|
+
import type { Transformation } from '../model/transformation';
|
|
40
|
+
import type { TransformationCreate } from '../model/transformationCreate';
|
|
41
|
+
import type { TransformationCreateResponse } from '../model/transformationCreateResponse';
|
|
42
|
+
import type { TransformationSearch } from '../model/transformationSearch';
|
|
43
|
+
import type { TransformationTry } from '../model/transformationTry';
|
|
44
|
+
import type { TransformationTryResponse } from '../model/transformationTryResponse';
|
|
45
|
+
import type { TransformationUpdateResponse } from '../model/transformationUpdateResponse';
|
|
39
46
|
import type { Trigger } from '../model/trigger';
|
|
40
|
-
export declare const apiClientVersion = "1.0.0-beta.
|
|
47
|
+
export declare const apiClientVersion = "1.0.0-beta.6";
|
|
41
48
|
export declare const REGIONS: readonly ["eu", "us"];
|
|
42
49
|
export type Region = (typeof REGIONS)[number];
|
|
43
50
|
/**
|
|
@@ -127,6 +134,13 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
127
134
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
128
135
|
*/
|
|
129
136
|
createTask(taskCreate: TaskCreate, requestOptions?: RequestOptions): Promise<TaskCreateResponse>;
|
|
137
|
+
/**
|
|
138
|
+
* Creates a new transformation.
|
|
139
|
+
*
|
|
140
|
+
* @param transformationCreate - Request body for creating a transformation.
|
|
141
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
142
|
+
*/
|
|
143
|
+
createTransformation(transformationCreate: TransformationCreate, requestOptions?: RequestOptions): Promise<TransformationCreateResponse>;
|
|
130
144
|
/**
|
|
131
145
|
* This method allow you to send requests to the Algolia REST API.
|
|
132
146
|
*
|
|
@@ -212,6 +226,14 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
212
226
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
213
227
|
*/
|
|
214
228
|
deleteTask({ taskID }: DeleteTaskProps, requestOptions?: RequestOptions): Promise<DeleteResponse>;
|
|
229
|
+
/**
|
|
230
|
+
* Deletes a transformation by its ID.
|
|
231
|
+
*
|
|
232
|
+
* @param deleteTransformation - The deleteTransformation object.
|
|
233
|
+
* @param deleteTransformation.transformationID - Unique identifier of a transformation.
|
|
234
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
235
|
+
*/
|
|
236
|
+
deleteTransformation({ transformationID }: DeleteTransformationProps, requestOptions?: RequestOptions): Promise<DeleteResponse>;
|
|
215
237
|
/**
|
|
216
238
|
* Disables a task.
|
|
217
239
|
*
|
|
@@ -300,19 +322,6 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
300
322
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
301
323
|
*/
|
|
302
324
|
getDestinations({ itemsPerPage, page, type, authenticationID, sort, order, }?: GetDestinationsProps, requestOptions?: RequestOptions | undefined): Promise<ListDestinationsResponse>;
|
|
303
|
-
/**
|
|
304
|
-
* Retrieves a stream listing for a source. Listing streams only works with sources with `type: docker` and `imageType: singer`.
|
|
305
|
-
*
|
|
306
|
-
* Required API Key ACLs:
|
|
307
|
-
* - addObject
|
|
308
|
-
* - deleteIndex
|
|
309
|
-
* - editSettings.
|
|
310
|
-
*
|
|
311
|
-
* @param getDockerSourceStreams - The getDockerSourceStreams object.
|
|
312
|
-
* @param getDockerSourceStreams.sourceID - Unique identifier of a source.
|
|
313
|
-
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
314
|
-
*/
|
|
315
|
-
getDockerSourceStreams({ sourceID }: GetDockerSourceStreamsProps, requestOptions?: RequestOptions): Promise<DockerSourceStreams>;
|
|
316
325
|
/**
|
|
317
326
|
* Retrieves a single task run event by its ID.
|
|
318
327
|
*
|
|
@@ -343,8 +352,8 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
343
352
|
* @param getEvents.type - Event type for filtering the list of task runs.
|
|
344
353
|
* @param getEvents.sort - Property by which to sort the list of task run events.
|
|
345
354
|
* @param getEvents.order - Sort order of the response, ascending or descending.
|
|
346
|
-
* @param getEvents.startDate - Date and time in
|
|
347
|
-
* @param getEvents.endDate - Date and time in
|
|
355
|
+
* @param getEvents.startDate - Date and time in RFC 3339 format for the earliest events to retrieve. By default, the current time minus three hours is used.
|
|
356
|
+
* @param getEvents.endDate - Date and time in RFC 3339 format for the latest events to retrieve. By default, the current time is used.
|
|
348
357
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
349
358
|
*/
|
|
350
359
|
getEvents({ runID, itemsPerPage, page, status, type, sort, order, startDate, endDate, }: GetEventsProps, requestOptions?: RequestOptions): Promise<ListEventsResponse>;
|
|
@@ -376,8 +385,8 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
376
385
|
* @param getRuns.taskID - Task ID for filtering the list of task runs.
|
|
377
386
|
* @param getRuns.sort - Property by which to sort the list of task runs.
|
|
378
387
|
* @param getRuns.order - Sort order of the response, ascending or descending.
|
|
379
|
-
* @param getRuns.startDate - Date in
|
|
380
|
-
* @param getRuns.endDate - Date in
|
|
388
|
+
* @param getRuns.startDate - Date in RFC 3339 format for the earliest run to retrieve. By default, the current day minus seven days is used.
|
|
389
|
+
* @param getRuns.endDate - Date in RFC 3339 format for the latest run to retrieve. By default, the current day is used.
|
|
381
390
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
382
391
|
*/
|
|
383
392
|
getRuns({ itemsPerPage, page, status, taskID, sort, order, startDate, endDate, }?: GetRunsProps, requestOptions?: RequestOptions | undefined): Promise<RunListResponse>;
|
|
@@ -446,6 +455,33 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
446
455
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
447
456
|
*/
|
|
448
457
|
getTasks({ itemsPerPage, page, action, enabled, sourceID, destinationID, triggerType, sort, order, }?: GetTasksProps, requestOptions?: RequestOptions | undefined): Promise<ListTasksResponse>;
|
|
458
|
+
/**
|
|
459
|
+
* Retrieves a transformation by its ID.
|
|
460
|
+
*
|
|
461
|
+
* Required API Key ACLs:
|
|
462
|
+
* - addObject
|
|
463
|
+
* - deleteIndex
|
|
464
|
+
* - editSettings.
|
|
465
|
+
*
|
|
466
|
+
* @param getTransformation - The getTransformation object.
|
|
467
|
+
* @param getTransformation.transformationID - Unique identifier of a transformation.
|
|
468
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
469
|
+
*/
|
|
470
|
+
getTransformation({ transformationID }: GetTransformationProps, requestOptions?: RequestOptions): Promise<Transformation>;
|
|
471
|
+
/**
|
|
472
|
+
* Retrieves a list of transformations.
|
|
473
|
+
*
|
|
474
|
+
* Required API Key ACLs:
|
|
475
|
+
* - addObject
|
|
476
|
+
* - deleteIndex
|
|
477
|
+
* - editSettings.
|
|
478
|
+
*
|
|
479
|
+
* @param getTransformations - The getTransformations object.
|
|
480
|
+
* @param getTransformations.sort - Property by which to sort the list.
|
|
481
|
+
* @param getTransformations.order - Sort order of the response, ascending or descending.
|
|
482
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
483
|
+
*/
|
|
484
|
+
getTransformations({ sort, order }?: GetTransformationsProps, requestOptions?: RequestOptions | undefined): Promise<ListTransformationsResponse>;
|
|
449
485
|
/**
|
|
450
486
|
* Runs a task. You can check the status of task runs with the observability endpoints.
|
|
451
487
|
*
|
|
@@ -507,6 +543,18 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
507
543
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
508
544
|
*/
|
|
509
545
|
searchTasks(taskSearch: TaskSearch, requestOptions?: RequestOptions): Promise<Task[]>;
|
|
546
|
+
/**
|
|
547
|
+
* Searches for transformations.
|
|
548
|
+
*
|
|
549
|
+
* Required API Key ACLs:
|
|
550
|
+
* - addObject
|
|
551
|
+
* - deleteIndex
|
|
552
|
+
* - editSettings.
|
|
553
|
+
*
|
|
554
|
+
* @param transformationSearch - The transformationSearch object.
|
|
555
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
556
|
+
*/
|
|
557
|
+
searchTransformations(transformationSearch: TransformationSearch, requestOptions?: RequestOptions): Promise<Transformation[]>;
|
|
510
558
|
/**
|
|
511
559
|
* Triggers a stream-listing request for a source. Triggering stream-listing requests only works with sources with `type: docker` and `imageType: singer`.
|
|
512
560
|
*
|
|
@@ -519,7 +567,19 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
519
567
|
* @param triggerDockerSourceDiscover.sourceID - Unique identifier of a source.
|
|
520
568
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
521
569
|
*/
|
|
522
|
-
triggerDockerSourceDiscover({ sourceID }: TriggerDockerSourceDiscoverProps, requestOptions?: RequestOptions): Promise<
|
|
570
|
+
triggerDockerSourceDiscover({ sourceID }: TriggerDockerSourceDiscoverProps, requestOptions?: RequestOptions): Promise<SourceWatchResponse>;
|
|
571
|
+
/**
|
|
572
|
+
* Searches for transformations.
|
|
573
|
+
*
|
|
574
|
+
* Required API Key ACLs:
|
|
575
|
+
* - addObject
|
|
576
|
+
* - deleteIndex
|
|
577
|
+
* - editSettings.
|
|
578
|
+
*
|
|
579
|
+
* @param transformationTry - The transformationTry object.
|
|
580
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
581
|
+
*/
|
|
582
|
+
tryTransformations(transformationTry: TransformationTry, requestOptions?: RequestOptions): Promise<TransformationTryResponse>;
|
|
523
583
|
/**
|
|
524
584
|
* Updates an authentication resource.
|
|
525
585
|
*
|
|
@@ -571,5 +631,40 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
571
631
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
572
632
|
*/
|
|
573
633
|
updateTask({ taskID, taskUpdate }: UpdateTaskProps, requestOptions?: RequestOptions): Promise<TaskUpdateResponse>;
|
|
634
|
+
/**
|
|
635
|
+
* Updates a transformation by its ID.
|
|
636
|
+
*
|
|
637
|
+
* @param updateTransformation - The updateTransformation object.
|
|
638
|
+
* @param updateTransformation.transformationID - Unique identifier of a transformation.
|
|
639
|
+
* @param updateTransformation.transformationCreate - The transformationCreate object.
|
|
640
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
641
|
+
*/
|
|
642
|
+
updateTransformation({ transformationID, transformationCreate }: UpdateTransformationProps, requestOptions?: RequestOptions): Promise<TransformationUpdateResponse>;
|
|
643
|
+
/**
|
|
644
|
+
* Validates a source payload to ensure it can be created and that the data source can be reached by Algolia.
|
|
645
|
+
*
|
|
646
|
+
* Required API Key ACLs:
|
|
647
|
+
* - addObject
|
|
648
|
+
* - deleteIndex
|
|
649
|
+
* - editSettings.
|
|
650
|
+
*
|
|
651
|
+
* @param sourceCreate -.
|
|
652
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
653
|
+
*/
|
|
654
|
+
validateSource(sourceCreate: SourceCreate, requestOptions?: RequestOptions | undefined): Promise<SourceWatchResponse>;
|
|
655
|
+
/**
|
|
656
|
+
* Validates an update of a source payload to ensure it can be created and that the data source can be reached by Algolia.
|
|
657
|
+
*
|
|
658
|
+
* Required API Key ACLs:
|
|
659
|
+
* - addObject
|
|
660
|
+
* - deleteIndex
|
|
661
|
+
* - editSettings.
|
|
662
|
+
*
|
|
663
|
+
* @param validateSourceBeforeUpdate - The validateSourceBeforeUpdate object.
|
|
664
|
+
* @param validateSourceBeforeUpdate.sourceID - Unique identifier of a source.
|
|
665
|
+
* @param validateSourceBeforeUpdate.sourceUpdate - The sourceUpdate object.
|
|
666
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
667
|
+
*/
|
|
668
|
+
validateSourceBeforeUpdate({ sourceID, sourceUpdate }: ValidateSourceBeforeUpdateProps, requestOptions?: RequestOptions): Promise<SourceWatchResponse>;
|
|
574
669
|
};
|
|
575
670
|
//# sourceMappingURL=ingestionClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ingestionClient.d.ts","sourceRoot":"","sources":["../../src/ingestionClient.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACV,mBAAmB,EAKnB,cAAc,EACf,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AAC1F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AAC1F,OAAO,KAAK,EACV,iBAAiB,EACjB,cAAc,EACd,eAAe,EACf,cAAc,EACd,yBAAyB,EACzB,sBAAsB,EACtB,iBAAiB,EACjB,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,sBAAsB,EACtB,uBAAuB,EACvB,mBAAmB,EACnB,oBAAoB,EACpB,
|
|
1
|
+
{"version":3,"file":"ingestionClient.d.ts","sourceRoot":"","sources":["../../src/ingestionClient.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACV,mBAAmB,EAKnB,cAAc,EACf,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AAC1F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AAC1F,OAAO,KA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,CAAC,kBAAkB,CAAC;IA+B9B;;;;;;;OAOG;qEAE2C,yBAAyB,mBACpD,cAAc,GAC9B,OAAO,CAAC,4BAA4B,CAAC;IA+CxC;;;;;;;;;;OAUG;iCAEa,YAAY,mBACV,cAAc,GAAG,SAAS,GACzC,OAAO,CAAC,mBAAmB,CAAC;IAgB/B;;;;;;;;;;;;OAYG;2DAE2B,+BAA+B,mBAC1C,cAAc,GAC9B,OAAO,CAAC,mBAAmB,CAAC;EA+BlC"}
|
package/model/authentication.ts
CHANGED
|
@@ -25,12 +25,12 @@ export type Authentication = {
|
|
|
25
25
|
input: AuthInputPartial;
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
|
-
* Date of creation in
|
|
28
|
+
* Date of creation in RFC 3339 format.
|
|
29
29
|
*/
|
|
30
30
|
createdAt: string;
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
* Date of last update in
|
|
33
|
+
* Date of last update in RFC 3339 format.
|
|
34
34
|
*/
|
|
35
35
|
updatedAt?: string;
|
|
36
36
|
};
|
|
@@ -14,11 +14,13 @@ import type { OrderKeys } from './orderKeys';
|
|
|
14
14
|
import type { PlatformWithNone } from './platformWithNone';
|
|
15
15
|
import type { RunSortKeys } from './runSortKeys';
|
|
16
16
|
import type { RunStatus } from './runStatus';
|
|
17
|
+
import type { SortKeys } from './sortKeys';
|
|
17
18
|
import type { SourceSortKeys } from './sourceSortKeys';
|
|
18
19
|
import type { SourceType } from './sourceType';
|
|
19
20
|
import type { SourceUpdate } from './sourceUpdate';
|
|
20
21
|
import type { TaskSortKeys } from './taskSortKeys';
|
|
21
22
|
import type { TaskUpdate } from './taskUpdate';
|
|
23
|
+
import type { TransformationCreate } from './transformationCreate';
|
|
22
24
|
import type { TriggerType } from './triggerType';
|
|
23
25
|
|
|
24
26
|
/**
|
|
@@ -125,6 +127,16 @@ export type DeleteTaskProps = {
|
|
|
125
127
|
taskID: string;
|
|
126
128
|
};
|
|
127
129
|
|
|
130
|
+
/**
|
|
131
|
+
* Properties for the `deleteTransformation` method.
|
|
132
|
+
*/
|
|
133
|
+
export type DeleteTransformationProps = {
|
|
134
|
+
/**
|
|
135
|
+
* Unique identifier of a transformation.
|
|
136
|
+
*/
|
|
137
|
+
transformationID: string;
|
|
138
|
+
};
|
|
139
|
+
|
|
128
140
|
/**
|
|
129
141
|
* Properties for the `disableTask` method.
|
|
130
142
|
*/
|
|
@@ -225,16 +237,6 @@ export type GetDestinationsProps = {
|
|
|
225
237
|
order?: OrderKeys;
|
|
226
238
|
};
|
|
227
239
|
|
|
228
|
-
/**
|
|
229
|
-
* Properties for the `getDockerSourceStreams` method.
|
|
230
|
-
*/
|
|
231
|
-
export type GetDockerSourceStreamsProps = {
|
|
232
|
-
/**
|
|
233
|
-
* Unique identifier of a source.
|
|
234
|
-
*/
|
|
235
|
-
sourceID: string;
|
|
236
|
-
};
|
|
237
|
-
|
|
238
240
|
/**
|
|
239
241
|
* Properties for the `getEvent` method.
|
|
240
242
|
*/
|
|
@@ -282,11 +284,11 @@ export type GetEventsProps = {
|
|
|
282
284
|
*/
|
|
283
285
|
order?: OrderKeys;
|
|
284
286
|
/**
|
|
285
|
-
* Date and time in
|
|
287
|
+
* Date and time in RFC 3339 format for the earliest events to retrieve. By default, the current time minus three hours is used.
|
|
286
288
|
*/
|
|
287
289
|
startDate?: string;
|
|
288
290
|
/**
|
|
289
|
-
* Date and time in
|
|
291
|
+
* Date and time in RFC 3339 format for the latest events to retrieve. By default, the current time is used.
|
|
290
292
|
*/
|
|
291
293
|
endDate?: string;
|
|
292
294
|
};
|
|
@@ -330,11 +332,11 @@ export type GetRunsProps = {
|
|
|
330
332
|
*/
|
|
331
333
|
order?: OrderKeys;
|
|
332
334
|
/**
|
|
333
|
-
* Date in
|
|
335
|
+
* Date in RFC 3339 format for the earliest run to retrieve. By default, the current day minus seven days is used.
|
|
334
336
|
*/
|
|
335
337
|
startDate?: string;
|
|
336
338
|
/**
|
|
337
|
-
* Date in
|
|
339
|
+
* Date in RFC 3339 format for the latest run to retrieve. By default, the current day is used.
|
|
338
340
|
*/
|
|
339
341
|
endDate?: string;
|
|
340
342
|
};
|
|
@@ -431,6 +433,30 @@ export type GetTasksProps = {
|
|
|
431
433
|
order?: OrderKeys;
|
|
432
434
|
};
|
|
433
435
|
|
|
436
|
+
/**
|
|
437
|
+
* Properties for the `getTransformation` method.
|
|
438
|
+
*/
|
|
439
|
+
export type GetTransformationProps = {
|
|
440
|
+
/**
|
|
441
|
+
* Unique identifier of a transformation.
|
|
442
|
+
*/
|
|
443
|
+
transformationID: string;
|
|
444
|
+
};
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* Properties for the `getTransformations` method.
|
|
448
|
+
*/
|
|
449
|
+
export type GetTransformationsProps = {
|
|
450
|
+
/**
|
|
451
|
+
* Property by which to sort the list.
|
|
452
|
+
*/
|
|
453
|
+
sort?: SortKeys;
|
|
454
|
+
/**
|
|
455
|
+
* Sort order of the response, ascending or descending.
|
|
456
|
+
*/
|
|
457
|
+
order?: OrderKeys;
|
|
458
|
+
};
|
|
459
|
+
|
|
434
460
|
/**
|
|
435
461
|
* Properties for the `runTask` method.
|
|
436
462
|
*/
|
|
@@ -494,3 +520,25 @@ export type UpdateTaskProps = {
|
|
|
494
520
|
taskID: string;
|
|
495
521
|
taskUpdate: TaskUpdate;
|
|
496
522
|
};
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* Properties for the `updateTransformation` method.
|
|
526
|
+
*/
|
|
527
|
+
export type UpdateTransformationProps = {
|
|
528
|
+
/**
|
|
529
|
+
* Unique identifier of a transformation.
|
|
530
|
+
*/
|
|
531
|
+
transformationID: string;
|
|
532
|
+
transformationCreate: TransformationCreate;
|
|
533
|
+
};
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* Properties for the `validateSourceBeforeUpdate` method.
|
|
537
|
+
*/
|
|
538
|
+
export type ValidateSourceBeforeUpdateProps = {
|
|
539
|
+
/**
|
|
540
|
+
* Unique identifier of a source.
|
|
541
|
+
*/
|
|
542
|
+
sourceID: string;
|
|
543
|
+
sourceUpdate: SourceUpdate;
|
|
544
|
+
};
|
package/model/deleteResponse.ts
CHANGED
package/model/destination.ts
CHANGED
|
@@ -22,12 +22,12 @@ export type Destination = {
|
|
|
22
22
|
input: DestinationInput;
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
* Date of creation in
|
|
25
|
+
* Date of creation in RFC 3339 format.
|
|
26
26
|
*/
|
|
27
27
|
createdAt: string;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
* Date of last update in
|
|
30
|
+
* Date of last update in RFC 3339 format.
|
|
31
31
|
*/
|
|
32
32
|
updatedAt?: string;
|
|
33
33
|
|
package/model/event.ts
CHANGED
package/model/index.ts
CHANGED
|
@@ -41,8 +41,6 @@ export * from './destinationUpdate';
|
|
|
41
41
|
export * from './destinationUpdateResponse';
|
|
42
42
|
export * from './dockerImageType';
|
|
43
43
|
export * from './dockerRegistry';
|
|
44
|
-
export * from './dockerSourceDiscover';
|
|
45
|
-
export * from './dockerSourceStreams';
|
|
46
44
|
export * from './errorBase';
|
|
47
45
|
export * from './event';
|
|
48
46
|
export * from './eventSortKeys';
|
|
@@ -53,6 +51,7 @@ export * from './listDestinationsResponse';
|
|
|
53
51
|
export * from './listEventsResponse';
|
|
54
52
|
export * from './listSourcesResponse';
|
|
55
53
|
export * from './listTasksResponse';
|
|
54
|
+
export * from './listTransformationsResponse';
|
|
56
55
|
export * from './mappingFieldDirective';
|
|
57
56
|
export * from './mappingFormatSchema';
|
|
58
57
|
export * from './mappingInput';
|
|
@@ -85,6 +84,7 @@ export * from './scheduleTriggerType';
|
|
|
85
84
|
export * from './shopifyInput';
|
|
86
85
|
export * from './shopifyMarket';
|
|
87
86
|
export * from './shopifyMetafield';
|
|
87
|
+
export * from './sortKeys';
|
|
88
88
|
export * from './source';
|
|
89
89
|
export * from './sourceBigCommerce';
|
|
90
90
|
export * from './sourceBigQuery';
|
|
@@ -107,6 +107,7 @@ export * from './sourceUpdateDocker';
|
|
|
107
107
|
export * from './sourceUpdateInput';
|
|
108
108
|
export * from './sourceUpdateResponse';
|
|
109
109
|
export * from './sourceUpdateShopify';
|
|
110
|
+
export * from './sourceWatchResponse';
|
|
110
111
|
export * from './streamingTrigger';
|
|
111
112
|
export * from './streamingTriggerType';
|
|
112
113
|
export * from './streamingUtilsInput';
|
|
@@ -121,6 +122,14 @@ export * from './taskSearch';
|
|
|
121
122
|
export * from './taskSortKeys';
|
|
122
123
|
export * from './taskUpdate';
|
|
123
124
|
export * from './taskUpdateResponse';
|
|
125
|
+
export * from './transformation';
|
|
126
|
+
export * from './transformationCreate';
|
|
127
|
+
export * from './transformationCreateResponse';
|
|
128
|
+
export * from './transformationSearch';
|
|
129
|
+
export * from './transformationTry';
|
|
130
|
+
export * from './transformationTryResponse';
|
|
131
|
+
export * from './transformationTryResponseError';
|
|
132
|
+
export * from './transformationUpdateResponse';
|
|
124
133
|
export * from './trigger';
|
|
125
134
|
export * from './triggerType';
|
|
126
135
|
export * from './triggerUpdateInput';
|
|
@@ -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 { Transformation } from './transformation';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Configured transformations and pagination information.
|
|
8
|
+
*/
|
|
9
|
+
export type ListTransformationsResponse = {
|
|
10
|
+
transformations: Transformation[];
|
|
11
|
+
|
|
12
|
+
pagination: Pagination;
|
|
13
|
+
};
|
|
@@ -7,12 +7,12 @@ import type { MappingInput } from './mappingInput';
|
|
|
7
7
|
*/
|
|
8
8
|
export type OnDemandDateUtilsInput = {
|
|
9
9
|
/**
|
|
10
|
-
* Earliest date in
|
|
10
|
+
* Earliest date in RFC 3339 format of the extracted data from Big Query.
|
|
11
11
|
*/
|
|
12
12
|
startDate: string;
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* Latest date in
|
|
15
|
+
* Latest date in RFC 3339 format of the extracted data from Big Query.
|
|
16
16
|
*/
|
|
17
17
|
endDate: string;
|
|
18
18
|
|
package/model/onDemandTrigger.ts
CHANGED
package/model/run.ts
CHANGED
|
@@ -40,17 +40,17 @@ export type Run = {
|
|
|
40
40
|
type: RunType;
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
|
-
* Date of creation in
|
|
43
|
+
* Date of creation in RFC 3339 format.
|
|
44
44
|
*/
|
|
45
45
|
createdAt: string;
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* Date of start in
|
|
48
|
+
* Date of start in RFC 3339 format.
|
|
49
49
|
*/
|
|
50
50
|
startedAt?: string;
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
|
-
* Date of finish in
|
|
53
|
+
* Date of finish in RFC 3339 format.
|
|
54
54
|
*/
|
|
55
55
|
finishedAt?: string;
|
|
56
56
|
};
|