@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
|
@@ -0,0 +1,22 @@
|
|
|
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 { EntityType } from './entityType';
|
|
4
|
+
|
|
5
|
+
export type RunSourcePayload = {
|
|
6
|
+
/**
|
|
7
|
+
* List of index names to include in reidexing/update.
|
|
8
|
+
*/
|
|
9
|
+
indexToInclude?: string[];
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* List of index names to exclude in reidexing/update.
|
|
13
|
+
*/
|
|
14
|
+
indexToExclude?: string[];
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* List of entityID to update.
|
|
18
|
+
*/
|
|
19
|
+
entityIDs?: string[];
|
|
20
|
+
|
|
21
|
+
entityType?: EntityType;
|
|
22
|
+
};
|
|
@@ -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 RunSourceResponse = {
|
|
4
|
+
/**
|
|
5
|
+
* Map of taskID sent for reindex with the corresponding runID.
|
|
6
|
+
*/
|
|
7
|
+
taskWithRunID: Record<string, string>;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Date of creation in RFC 3339 format.
|
|
11
|
+
*/
|
|
12
|
+
createdAt: string;
|
|
13
|
+
};
|
|
@@ -2,37 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
export type SourceUpdateShopify = {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Feature flags for the Shopify source.
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Whether to increase the number of indexed collections per product. If true, Algolia indexes 200 collections per product. If false, 100 collections per product are indexed.
|
|
11
|
-
*/
|
|
12
|
-
increaseProductCollectionLimit?: boolean;
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Whether to set the default price ratio to 1 if no sale price is present. The price ratio is determined by the ratio: `sale_price` / `regular_price`. If no sale price is present, the price ratio would be 0. If `defaultPriceRatioAsOne` is true, the price ratio is indexed as 1 instead.
|
|
16
|
-
*/
|
|
17
|
-
defaultPriceRatioAsOne?: boolean;
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Whether to exclude out-of-stock variants when determining the `max_variant_price` and `min_variant_price` attributes.
|
|
21
|
-
*/
|
|
22
|
-
excludeOOSVariantsForPriceAtTRS?: boolean;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Whether to include an inventory with every variant for every product record.
|
|
26
|
-
*/
|
|
27
|
-
includeVariantsInventory?: boolean;
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Whether to include collection IDs and handles in the product records.
|
|
31
|
-
*/
|
|
32
|
-
hasCollectionSearchPage?: boolean;
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Whether to convert tags on products to named tags. To learn more, see [Named tags](https://www.algolia.com/doc/integration/shopify/sending-and-managing-data/named-tags).
|
|
36
|
-
*/
|
|
37
|
-
productNamedTags?: boolean;
|
|
7
|
+
featureFlags?: Record<string, any>;
|
|
38
8
|
};
|
|
@@ -5,6 +5,6 @@ import type { MappingInput } from './mappingInput';
|
|
|
5
5
|
/**
|
|
6
6
|
* Input for a `streaming` task whose source is of type `ga4BigqueryExport` and for which extracted data is continuously streamed.
|
|
7
7
|
*/
|
|
8
|
-
export type
|
|
8
|
+
export type StreamingInput = {
|
|
9
9
|
mapping: MappingInput;
|
|
10
10
|
};
|
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
|
-
|
|
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
|
|
package/model/taskCreate.ts
CHANGED
|
@@ -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
|
+
};
|
package/model/taskInput.ts
CHANGED
|
@@ -1,15 +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
|
-
import type {
|
|
4
|
-
import type { ScheduleDateUtilsInput } from './scheduleDateUtilsInput';
|
|
3
|
+
import type { DockerStreamsInput } from './dockerStreamsInput';
|
|
5
4
|
import type { ShopifyInput } from './shopifyInput';
|
|
6
|
-
import type {
|
|
5
|
+
import type { StreamingInput } from './streamingInput';
|
|
7
6
|
|
|
8
7
|
/**
|
|
9
8
|
* Configuration of the task, depending on its type.
|
|
10
9
|
*/
|
|
11
|
-
export type TaskInput =
|
|
12
|
-
| OnDemandDateUtilsInput
|
|
13
|
-
| ScheduleDateUtilsInput
|
|
14
|
-
| ShopifyInput
|
|
15
|
-
| StreamingUtilsInput;
|
|
10
|
+
export type TaskInput = DockerStreamsInput | ShopifyInput | StreamingInput;
|
package/model/taskUpdate.ts
CHANGED
|
@@ -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
|
-
|
|
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
|
+
};
|
package/model/taskV1.ts
ADDED
|
@@ -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
|
+
};
|
package/model/transformation.ts
CHANGED
|
@@ -6,6 +6,11 @@ export type Transformation = {
|
|
|
6
6
|
*/
|
|
7
7
|
transformationID: string;
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* The authentications associated for the current transformation.
|
|
11
|
+
*/
|
|
12
|
+
authenticationIDs?: string[];
|
|
13
|
+
|
|
9
14
|
/**
|
|
10
15
|
* The source code of the transformation.
|
|
11
16
|
*/
|
|
@@ -19,7 +24,7 @@ export type Transformation = {
|
|
|
19
24
|
/**
|
|
20
25
|
* A descriptive name for your transformation of what it does.
|
|
21
26
|
*/
|
|
22
|
-
description
|
|
27
|
+
description?: string;
|
|
23
28
|
|
|
24
29
|
/**
|
|
25
30
|
* Date of creation in RFC 3339 format.
|
|
@@ -17,5 +17,10 @@ export type TransformationCreate = {
|
|
|
17
17
|
/**
|
|
18
18
|
* A descriptive name for your transformation of what it does.
|
|
19
19
|
*/
|
|
20
|
-
description
|
|
20
|
+
description?: string;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* The authentications associated for the current transformation.
|
|
24
|
+
*/
|
|
25
|
+
authenticationIDs?: string[];
|
|
21
26
|
};
|
|
@@ -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 { Model } from './model';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* List of available AI models for transformation purposes.
|
|
7
|
+
*/
|
|
8
|
+
export type TransformationModels = {
|
|
9
|
+
llms: Model[];
|
|
10
|
+
};
|
|
@@ -1,5 +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
|
export type TransformationSearch = {
|
|
4
|
-
|
|
4
|
+
transformationIDs: string[];
|
|
5
5
|
};
|
|
@@ -1,5 +1,7 @@
|
|
|
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 { AuthenticationCreate } from './authenticationCreate';
|
|
4
|
+
|
|
3
5
|
export type TransformationTry = {
|
|
4
6
|
/**
|
|
5
7
|
* The source code of the transformation.
|
|
@@ -10,4 +12,6 @@ export type TransformationTry = {
|
|
|
10
12
|
* The record to apply the given code to.
|
|
11
13
|
*/
|
|
12
14
|
sampleRecord: Record<string, any>;
|
|
15
|
+
|
|
16
|
+
authentications?: AuthenticationCreate[];
|
|
13
17
|
};
|
|
@@ -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 {
|
|
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?:
|
|
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
|
|
3
|
+
"version": "1.0.0",
|
|
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
|
|
46
|
-
"@algolia/requester-browser-xhr": "5.0.0
|
|
47
|
-
"@algolia/requester-node-http": "5.0.0
|
|
45
|
+
"@algolia/client-common": "5.0.0",
|
|
46
|
+
"@algolia/requester-browser-xhr": "5.0.0",
|
|
47
|
+
"@algolia/requester-node-http": "5.0.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@types/node": "
|
|
51
|
-
"rollup": "4.
|
|
52
|
-
"typescript": "5.5.
|
|
50
|
+
"@types/node": "22.2.0",
|
|
51
|
+
"rollup": "4.20.0",
|
|
52
|
+
"typescript": "5.5.4"
|
|
53
53
|
},
|
|
54
54
|
"engines": {
|
|
55
55
|
"node": ">= 14.0.0"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"destinationIndexPrefix.d.ts","sourceRoot":"","sources":["../../model/destinationIndexPrefix.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { MappingInput } from './mappingInput';
|
|
2
|
-
/**
|
|
3
|
-
* Input for a manually-triggered task whose source is of type `bigquery` and for which extracted data spans a given time range.
|
|
4
|
-
*/
|
|
5
|
-
export type OnDemandDateUtilsInput = {
|
|
6
|
-
/**
|
|
7
|
-
* Earliest date in RFC 3339 format of the extracted data from Big Query.
|
|
8
|
-
*/
|
|
9
|
-
startDate: string;
|
|
10
|
-
/**
|
|
11
|
-
* Latest date in RFC 3339 format of the extracted data from Big Query.
|
|
12
|
-
*/
|
|
13
|
-
endDate: string;
|
|
14
|
-
mapping?: MappingInput;
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=onDemandDateUtilsInput.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"onDemandDateUtilsInput.d.ts","sourceRoot":"","sources":["../../model/onDemandDateUtilsInput.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { MappingInput } from './mappingInput';
|
|
2
|
-
/**
|
|
3
|
-
* Input for scheduled tasks whose source is of type `bigquery` and for which extracted data spans a fixed number of days.
|
|
4
|
-
*/
|
|
5
|
-
export type ScheduleDateUtilsInput = {
|
|
6
|
-
/**
|
|
7
|
-
* Number of days in the past until the current day for which to extract Big Query data.
|
|
8
|
-
*/
|
|
9
|
-
timeframe: number;
|
|
10
|
-
mapping?: MappingInput;
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=scheduleDateUtilsInput.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"scheduleDateUtilsInput.d.ts","sourceRoot":"","sources":["../../model/scheduleDateUtilsInput.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"streamingUtilsInput.d.ts","sourceRoot":"","sources":["../../model/streamingUtilsInput.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,YAAY,CAAC;CACvB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transformationTryResponseError.d.ts","sourceRoot":"","sources":["../../model/transformationTryResponseError.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
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 { MappingInput } from './mappingInput';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Input for a manually-triggered task whose source is of type `bigquery` and for which extracted data spans a given time range.
|
|
7
|
-
*/
|
|
8
|
-
export type OnDemandDateUtilsInput = {
|
|
9
|
-
/**
|
|
10
|
-
* Earliest date in RFC 3339 format of the extracted data from Big Query.
|
|
11
|
-
*/
|
|
12
|
-
startDate: string;
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Latest date in RFC 3339 format of the extracted data from Big Query.
|
|
16
|
-
*/
|
|
17
|
-
endDate: string;
|
|
18
|
-
|
|
19
|
-
mapping?: MappingInput;
|
|
20
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
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 { MappingInput } from './mappingInput';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Input for scheduled tasks whose source is of type `bigquery` and for which extracted data spans a fixed number of days.
|
|
7
|
-
*/
|
|
8
|
-
export type ScheduleDateUtilsInput = {
|
|
9
|
-
/**
|
|
10
|
-
* Number of days in the past until the current day for which to extract Big Query data.
|
|
11
|
-
*/
|
|
12
|
-
timeframe: number;
|
|
13
|
-
|
|
14
|
-
mapping?: MappingInput;
|
|
15
|
-
};
|