@algolia/ingestion 1.0.0-alpha.82 → 1.0.0-alpha.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ingestion.cjs +103 -103
- package/dist/ingestion.esm.browser.js +104 -104
- package/dist/ingestion.esm.node.js +103 -103
- package/dist/ingestion.umd.js +2 -2
- package/dist/model/actionType.d.ts +1 -1
- package/dist/model/authAPIKey.d.ts +4 -1
- package/dist/model/authAPIKey.d.ts.map +1 -1
- package/dist/model/authAPIKeyPartial.d.ts +4 -1
- package/dist/model/authAPIKeyPartial.d.ts.map +1 -1
- package/dist/model/authAlgolia.d.ts +5 -2
- package/dist/model/authAlgolia.d.ts.map +1 -1
- package/dist/model/authAlgoliaPartial.d.ts +5 -2
- package/dist/model/authAlgoliaPartial.d.ts.map +1 -1
- package/dist/model/authBasic.d.ts +7 -1
- package/dist/model/authBasic.d.ts.map +1 -1
- package/dist/model/authBasicPartial.d.ts +7 -1
- package/dist/model/authBasicPartial.d.ts.map +1 -1
- package/dist/model/authGoogleServiceAccount.d.ts +3 -3
- package/dist/model/authGoogleServiceAccountPartial.d.ts +3 -3
- package/dist/model/authOAuth.d.ts +8 -4
- package/dist/model/authOAuth.d.ts.map +1 -1
- package/dist/model/authOAuthPartial.d.ts +8 -4
- package/dist/model/authOAuthPartial.d.ts.map +1 -1
- package/dist/model/authentication.d.ts +5 -5
- package/dist/model/authenticationCreate.d.ts +2 -2
- package/dist/model/authenticationCreateResponse.d.ts +4 -4
- package/dist/model/authenticationSearch.d.ts +1 -1
- package/dist/model/authenticationSortKeys.d.ts +1 -1
- package/dist/model/authenticationType.d.ts +1 -1
- package/dist/model/authenticationUpdate.d.ts +2 -2
- package/dist/model/authenticationUpdateResponse.d.ts +4 -4
- package/dist/model/bigCommerceChannel.d.ts +2 -2
- package/dist/model/bigCommerceMetafield.d.ts +2 -2
- package/dist/model/clientMethodProps.d.ts +64 -64
- package/dist/model/commercetoolsCustomFields.d.ts +1 -1
- package/dist/model/deleteResponse.d.ts +1 -1
- package/dist/model/destination.d.ts +6 -6
- package/dist/model/destinationCreate.d.ts +3 -3
- package/dist/model/destinationCreateResponse.d.ts +4 -4
- package/dist/model/destinationIndexName.d.ts +2 -2
- package/dist/model/destinationIndexPrefix.d.ts +1 -1
- package/dist/model/destinationSearch.d.ts +1 -1
- package/dist/model/destinationSortKeys.d.ts +1 -1
- package/dist/model/destinationType.d.ts +2 -2
- package/dist/model/destinationType.d.ts.map +1 -1
- package/dist/model/destinationUpdate.d.ts +3 -3
- package/dist/model/destinationUpdateResponse.d.ts +4 -4
- package/dist/model/dockerImageType.d.ts +1 -1
- package/dist/model/dockerRegistry.d.ts +1 -1
- package/dist/model/dockerSourceDiscover.d.ts +2 -2
- package/dist/model/event.d.ts +3 -3
- package/dist/model/eventSortKeys.d.ts +1 -1
- package/dist/model/index.d.ts +1 -0
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/listTasksResponse.d.ts +1 -1
- package/dist/model/mappingFormatSchema.d.ts +5 -0
- package/dist/model/mappingFormatSchema.d.ts.map +1 -0
- package/dist/model/mappingInput.d.ts +3 -5
- package/dist/model/mappingInput.d.ts.map +1 -1
- package/dist/model/methodType.d.ts +3 -0
- package/dist/model/methodType.d.ts.map +1 -1
- package/dist/model/onDemandDateUtilsInput.d.ts +3 -3
- package/dist/model/onDemandTrigger.d.ts +2 -2
- package/dist/model/onDemandTriggerInput.d.ts +1 -1
- package/dist/model/onDemandTriggerType.d.ts +1 -1
- package/dist/model/orderKeys.d.ts +1 -1
- package/dist/model/pagination.d.ts +15 -0
- package/dist/model/pagination.d.ts.map +1 -1
- package/dist/model/platform.d.ts +2 -2
- package/dist/model/platform.d.ts.map +1 -1
- package/dist/model/platformNone.d.ts +1 -1
- package/dist/model/recordType.d.ts +1 -1
- package/dist/model/run.d.ts +7 -7
- package/dist/model/runOutcome.d.ts +3 -0
- package/dist/model/runOutcome.d.ts.map +1 -1
- package/dist/model/runReasonCode.d.ts +1 -1
- package/dist/model/runResponse.d.ts +3 -3
- package/dist/model/runSortKeys.d.ts +1 -1
- package/dist/model/runStatus.d.ts +3 -0
- package/dist/model/runStatus.d.ts.map +1 -1
- package/dist/model/runType.d.ts +3 -0
- package/dist/model/runType.d.ts.map +1 -1
- package/dist/model/scheduleDateUtilsInput.d.ts +2 -2
- package/dist/model/scheduleTrigger.d.ts +4 -4
- package/dist/model/scheduleTriggerInput.d.ts +2 -2
- package/dist/model/scheduleTriggerType.d.ts +1 -1
- package/dist/model/source.d.ts +4 -4
- package/dist/model/sourceBigCommerce.d.ts +1 -1
- package/dist/model/sourceBigQuery.d.ts +5 -5
- package/dist/model/sourceCSV.d.ts +3 -3
- package/dist/model/sourceCommercetools.d.ts +2 -2
- package/dist/model/sourceCreate.d.ts +4 -1
- package/dist/model/sourceCreate.d.ts.map +1 -1
- package/dist/model/sourceCreateResponse.d.ts +5 -2
- package/dist/model/sourceCreateResponse.d.ts.map +1 -1
- package/dist/model/sourceDocker.d.ts +3 -3
- package/dist/model/sourceGA4BigQueryExport.d.ts +3 -3
- package/dist/model/sourceJSON.d.ts +2 -2
- package/dist/model/sourceSortKeys.d.ts +1 -1
- package/dist/model/sourceType.d.ts +1 -1
- package/dist/model/sourceType.d.ts.map +1 -1
- package/dist/model/sourceUpdate.d.ts +4 -1
- package/dist/model/sourceUpdate.d.ts.map +1 -1
- package/dist/model/sourceUpdateCommercetools.d.ts +2 -5
- package/dist/model/sourceUpdateCommercetools.d.ts.map +1 -1
- package/dist/model/sourceUpdateDocker.d.ts +3 -3
- package/dist/model/sourceUpdateResponse.d.ts +5 -2
- package/dist/model/sourceUpdateResponse.d.ts.map +1 -1
- package/dist/model/streamingTrigger.d.ts +1 -1
- package/dist/model/streamingTriggerType.d.ts +1 -1
- package/dist/model/streamingUtilsInput.d.ts +1 -1
- package/dist/model/subscriptionTrigger.d.ts +1 -1
- package/dist/model/subscriptionTriggerType.d.ts +1 -1
- package/dist/model/task.d.ts +7 -7
- package/dist/model/taskCreate.d.ts +5 -5
- package/dist/model/taskCreateResponse.d.ts +3 -3
- package/dist/model/taskInput.d.ts +3 -0
- package/dist/model/taskInput.d.ts.map +1 -1
- package/dist/model/taskSortKeys.d.ts +1 -1
- package/dist/model/taskUpdate.d.ts +4 -4
- package/dist/model/taskUpdateResponse.d.ts +3 -3
- package/dist/model/trigger.d.ts +3 -0
- package/dist/model/trigger.d.ts.map +1 -1
- package/dist/model/triggerType.d.ts +1 -1
- package/dist/model/triggerUpdateInput.d.ts +2 -2
- package/dist/model/window.d.ts +3 -3
- package/dist/src/ingestionClient.d.ts +99 -99
- package/model/actionType.ts +1 -1
- package/model/authAPIKey.ts +4 -1
- package/model/authAPIKeyPartial.ts +4 -1
- package/model/authAlgolia.ts +5 -2
- package/model/authAlgoliaPartial.ts +5 -2
- package/model/authBasic.ts +7 -1
- package/model/authBasicPartial.ts +7 -1
- package/model/authGoogleServiceAccount.ts +3 -3
- package/model/authGoogleServiceAccountPartial.ts +3 -3
- package/model/authOAuth.ts +9 -4
- package/model/authOAuthPartial.ts +9 -4
- package/model/authentication.ts +5 -5
- package/model/authenticationCreate.ts +2 -2
- package/model/authenticationCreateResponse.ts +4 -4
- package/model/authenticationSearch.ts +1 -1
- package/model/authenticationSortKeys.ts +1 -1
- package/model/authenticationType.ts +1 -1
- package/model/authenticationUpdate.ts +2 -2
- package/model/authenticationUpdateResponse.ts +4 -4
- package/model/bigCommerceChannel.ts +2 -2
- package/model/bigCommerceMetafield.ts +2 -2
- package/model/clientMethodProps.ts +64 -64
- package/model/commercetoolsCustomFields.ts +1 -1
- package/model/deleteResponse.ts +1 -1
- package/model/destination.ts +6 -6
- package/model/destinationCreate.ts +3 -3
- package/model/destinationCreateResponse.ts +4 -4
- package/model/destinationIndexName.ts +2 -2
- package/model/destinationIndexPrefix.ts +1 -1
- package/model/destinationSearch.ts +1 -1
- package/model/destinationSortKeys.ts +1 -1
- package/model/destinationType.ts +2 -2
- package/model/destinationUpdate.ts +3 -3
- package/model/destinationUpdateResponse.ts +4 -4
- package/model/dockerImageType.ts +1 -1
- package/model/dockerRegistry.ts +1 -1
- package/model/dockerSourceDiscover.ts +2 -2
- package/model/event.ts +3 -3
- package/model/eventSortKeys.ts +1 -1
- package/model/index.ts +1 -0
- package/model/listTasksResponse.ts +1 -1
- package/model/mappingFormatSchema.ts +6 -0
- package/model/mappingInput.ts +3 -5
- package/model/methodType.ts +3 -0
- package/model/onDemandDateUtilsInput.ts +3 -3
- package/model/onDemandTrigger.ts +2 -2
- package/model/onDemandTriggerInput.ts +1 -1
- package/model/onDemandTriggerType.ts +1 -1
- package/model/orderKeys.ts +1 -1
- package/model/pagination.ts +15 -0
- package/model/platform.ts +2 -2
- package/model/platformNone.ts +1 -1
- package/model/recordType.ts +1 -1
- package/model/run.ts +7 -7
- package/model/runOutcome.ts +3 -0
- package/model/runReasonCode.ts +1 -1
- package/model/runResponse.ts +3 -3
- package/model/runSortKeys.ts +1 -1
- package/model/runStatus.ts +3 -0
- package/model/runType.ts +3 -0
- package/model/scheduleDateUtilsInput.ts +2 -2
- package/model/scheduleTrigger.ts +4 -4
- package/model/scheduleTriggerInput.ts +2 -2
- package/model/scheduleTriggerType.ts +1 -1
- package/model/source.ts +4 -4
- package/model/sourceBigCommerce.ts +1 -1
- package/model/sourceBigQuery.ts +5 -5
- package/model/sourceCSV.ts +3 -3
- package/model/sourceCommercetools.ts +2 -2
- package/model/sourceCreate.ts +4 -1
- package/model/sourceCreateResponse.ts +5 -2
- package/model/sourceDocker.ts +3 -3
- package/model/sourceGA4BigQueryExport.ts +3 -3
- package/model/sourceJSON.ts +2 -2
- package/model/sourceSortKeys.ts +1 -1
- package/model/sourceType.ts +3 -1
- package/model/sourceUpdate.ts +4 -1
- package/model/sourceUpdateCommercetools.ts +2 -5
- package/model/sourceUpdateDocker.ts +3 -3
- package/model/sourceUpdateResponse.ts +5 -2
- package/model/streamingTrigger.ts +1 -1
- package/model/streamingTriggerType.ts +1 -1
- package/model/streamingUtilsInput.ts +1 -1
- package/model/subscriptionTrigger.ts +1 -1
- package/model/subscriptionTriggerType.ts +1 -1
- package/model/task.ts +7 -7
- package/model/taskCreate.ts +5 -5
- package/model/taskCreateResponse.ts +3 -3
- package/model/taskInput.ts +3 -0
- package/model/taskSortKeys.ts +1 -1
- package/model/taskUpdate.ts +4 -4
- package/model/taskUpdateResponse.ts +3 -3
- package/model/trigger.ts +3 -0
- package/model/triggerType.ts +1 -1
- package/model/triggerUpdateInput.ts +2 -2
- package/model/window.ts +3 -3
- package/package.json +7 -7
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
export type DockerSourceDiscover = {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Universally unique identifier (UUID) of a task run.
|
|
6
6
|
*/
|
|
7
7
|
runID: string;
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* Date of creation
|
|
10
|
+
* Date of creation in RFC3339 format.
|
|
11
11
|
*/
|
|
12
12
|
createdAt: string;
|
|
13
13
|
};
|
package/model/event.ts
CHANGED
|
@@ -8,12 +8,12 @@ import type { EventType } from './eventType';
|
|
|
8
8
|
*/
|
|
9
9
|
export type Event = {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Universally unique identifier (UUID) of an event.
|
|
12
12
|
*/
|
|
13
13
|
eventID: string;
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Universally unique identifier (UUID) of a task run.
|
|
17
17
|
*/
|
|
18
18
|
runID: string;
|
|
19
19
|
|
|
@@ -34,7 +34,7 @@ export type Event = {
|
|
|
34
34
|
data?: Record<string, any>;
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
|
-
* Date of publish
|
|
37
|
+
* Date of publish RFC3339 format.
|
|
38
38
|
*/
|
|
39
39
|
publishedAt: string;
|
|
40
40
|
};
|
package/model/eventSortKeys.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Property by which to sort the list of task run events.
|
|
5
5
|
*/
|
|
6
6
|
export type EventSortKeys = 'publishedAt' | 'status' | 'type';
|
package/model/index.ts
CHANGED
|
@@ -52,6 +52,7 @@ export * from './listEventsResponse';
|
|
|
52
52
|
export * from './listSourcesResponse';
|
|
53
53
|
export * from './listTasksResponse';
|
|
54
54
|
export * from './mappingFieldDirective';
|
|
55
|
+
export * from './mappingFormatSchema';
|
|
55
56
|
export * from './mappingInput';
|
|
56
57
|
export * from './mappingKitAction';
|
|
57
58
|
export * from './mappingTypeCSV';
|
|
@@ -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
|
+
* Mapping format schema.
|
|
5
|
+
*/
|
|
6
|
+
export type MappingFormatSchema = 'mappingkit/v1';
|
package/model/mappingInput.ts
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
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 { MappingFormatSchema } from './mappingFormatSchema';
|
|
3
4
|
import type { MappingKitAction } from './mappingKitAction';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
|
-
* Transformations to apply to source, serialized as a JSON string.
|
|
7
|
+
* Transformations to apply to the source, serialized as a JSON string.
|
|
7
8
|
*/
|
|
8
9
|
export type MappingInput = {
|
|
9
|
-
|
|
10
|
-
* Name of the mapping format schema, `mappingkit/v1` is currently the only supported format.
|
|
11
|
-
*/
|
|
12
|
-
format: string;
|
|
10
|
+
format: MappingFormatSchema;
|
|
13
11
|
|
|
14
12
|
actions: MappingKitAction[];
|
|
15
13
|
};
|
package/model/methodType.ts
CHANGED
|
@@ -1,3 +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
|
+
/**
|
|
4
|
+
* HTTP method to be used for retrieving your data.
|
|
5
|
+
*/
|
|
3
6
|
export type MethodType = 'GET' | 'POST';
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
import type { MappingInput } from './mappingInput';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Input for a manually-triggered task whose source is of type `bigquery` and for which extracted data spans a given time range.
|
|
7
7
|
*/
|
|
8
8
|
export type OnDemandDateUtilsInput = {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Earliest date in RFC3339 format of the extracted data from Big Query.
|
|
11
11
|
*/
|
|
12
12
|
startDate: string;
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Latest date in RFC3339 format of the extracted data from Big Query.
|
|
16
16
|
*/
|
|
17
17
|
endDate: string;
|
|
18
18
|
|
package/model/onDemandTrigger.ts
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
import type { OnDemandTriggerType } from './onDemandTriggerType';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Trigger information for manually-triggered tasks.
|
|
7
7
|
*/
|
|
8
8
|
export type OnDemandTrigger = {
|
|
9
9
|
type: OnDemandTriggerType;
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* The last time the scheduled task ran
|
|
12
|
+
* The last time the scheduled task ran in RFC3339 format.
|
|
13
13
|
*/
|
|
14
14
|
lastRun?: string;
|
|
15
15
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Task is run manually, with the `/run` endpoint.
|
|
5
5
|
*/
|
|
6
6
|
export type OnDemandTriggerType = 'onDemand';
|
package/model/orderKeys.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Ascending or descending sort order.
|
|
5
5
|
*/
|
|
6
6
|
export type OrderKeys = 'asc' | 'desc';
|
package/model/pagination.ts
CHANGED
|
@@ -1,11 +1,26 @@
|
|
|
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
|
+
* Paginated API response.
|
|
5
|
+
*/
|
|
3
6
|
export type Pagination = {
|
|
7
|
+
/**
|
|
8
|
+
* Number of pages in the API response.
|
|
9
|
+
*/
|
|
4
10
|
nbPages: number;
|
|
5
11
|
|
|
12
|
+
/**
|
|
13
|
+
* Page of the API response to retrieve.
|
|
14
|
+
*/
|
|
6
15
|
page: number;
|
|
7
16
|
|
|
17
|
+
/**
|
|
18
|
+
* Number of items in the API response.
|
|
19
|
+
*/
|
|
8
20
|
nbItems: number;
|
|
9
21
|
|
|
22
|
+
/**
|
|
23
|
+
* Number of items per page.
|
|
24
|
+
*/
|
|
10
25
|
itemsPerPage: number;
|
|
11
26
|
};
|
package/model/platform.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Name of an ecommerce platform with which to authenticate. This determines which authentication type you can select.
|
|
5
5
|
*/
|
|
6
|
-
export type Platform = 'bigcommerce' | 'commercetools';
|
|
6
|
+
export type Platform = 'bigcommerce' | 'commercetools' | 'shopify';
|
package/model/platformNone.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Authentication resource not tied to any ecommerce platform, used for filtering.
|
|
5
5
|
*/
|
|
6
6
|
export type PlatformNone = 'none';
|
package/model/recordType.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Record type for ecommerce sources.
|
|
5
5
|
*/
|
|
6
6
|
export type RecordType = 'product' | 'variant';
|
package/model/run.ts
CHANGED
|
@@ -8,14 +8,14 @@ import type { RunType } from './runType';
|
|
|
8
8
|
|
|
9
9
|
export type Run = {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Universally unique identifier (UUID) of a task run.
|
|
12
12
|
*/
|
|
13
13
|
runID: string;
|
|
14
14
|
|
|
15
15
|
appID: string;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Universally unique identifier (UUID) of a task.
|
|
19
19
|
*/
|
|
20
20
|
taskID: string;
|
|
21
21
|
|
|
@@ -26,12 +26,12 @@ export type Run = {
|
|
|
26
26
|
outcome?: RunOutcome;
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Maximum accepted percentage of failures for a task run to finish successfully.
|
|
30
30
|
*/
|
|
31
31
|
failureThreshold?: number;
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* More information about the task run\'s outcome.
|
|
35
35
|
*/
|
|
36
36
|
reason?: string;
|
|
37
37
|
|
|
@@ -40,17 +40,17 @@ export type Run = {
|
|
|
40
40
|
type: RunType;
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
|
-
* Date of creation
|
|
43
|
+
* Date of creation in RFC3339 format.
|
|
44
44
|
*/
|
|
45
45
|
createdAt: string;
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* Date of start
|
|
48
|
+
* Date of start in RFC3339 format.
|
|
49
49
|
*/
|
|
50
50
|
startedAt?: string;
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
|
-
* Date of finish
|
|
53
|
+
* Date of finish in RFC3339 format.
|
|
54
54
|
*/
|
|
55
55
|
finishedAt?: string;
|
|
56
56
|
};
|
package/model/runOutcome.ts
CHANGED
|
@@ -1,3 +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
|
+
/**
|
|
4
|
+
* Task run outcome.
|
|
5
|
+
*/
|
|
3
6
|
export type RunOutcome = 'failure' | 'processing' | 'success';
|
package/model/runReasonCode.ts
CHANGED
|
@@ -1,7 +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
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* A code for the task run\'s outcome. A readable description of the code is included in the `reason` response property.
|
|
5
5
|
*/
|
|
6
6
|
export type RunReasonCode =
|
|
7
7
|
| 'blocking'
|
package/model/runResponse.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* API response for running a task.
|
|
5
5
|
*/
|
|
6
6
|
export type RunResponse = {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Universally unique identifier (UUID) of a task run.
|
|
9
9
|
*/
|
|
10
10
|
runID: string;
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
* Date of creation
|
|
13
|
+
* Date of creation in RFC3339 format.
|
|
14
14
|
*/
|
|
15
15
|
createdAt: string;
|
|
16
16
|
};
|
package/model/runSortKeys.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Property by which to sort the list of task runs.
|
|
5
5
|
*/
|
|
6
6
|
export type RunSortKeys = 'createdAt' | 'status' | 'updatedAt';
|
package/model/runStatus.ts
CHANGED
|
@@ -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
|
+
* Task run status.
|
|
5
|
+
*/
|
|
3
6
|
export type RunStatus =
|
|
4
7
|
| 'created'
|
|
5
8
|
| 'finished'
|
package/model/runType.ts
CHANGED
|
@@ -1,3 +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
|
+
/**
|
|
4
|
+
* Task run type.
|
|
5
|
+
*/
|
|
3
6
|
export type RunType = 'discover' | 'reindex' | 'update';
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import type { MappingInput } from './mappingInput';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Input for scheduled tasks whose source is of type `bigquery` and for which extracted data spans a fixed number of days.
|
|
7
7
|
*/
|
|
8
8
|
export type ScheduleDateUtilsInput = {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Number of days in the past until the current day for which to extract Big Query data.
|
|
11
11
|
*/
|
|
12
12
|
timeframe: number;
|
|
13
13
|
|
package/model/scheduleTrigger.ts
CHANGED
|
@@ -3,23 +3,23 @@
|
|
|
3
3
|
import type { ScheduleTriggerType } from './scheduleTriggerType';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Trigger information for scheduled tasks.
|
|
7
7
|
*/
|
|
8
8
|
export type ScheduleTrigger = {
|
|
9
9
|
type: ScheduleTriggerType;
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Cron expression for the task\'s schedule.
|
|
13
13
|
*/
|
|
14
14
|
cron: string;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
* The last time the scheduled task ran
|
|
17
|
+
* The last time the scheduled task ran in RFC3339 format.
|
|
18
18
|
*/
|
|
19
19
|
lastRun?: string;
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* The next scheduled run of the task
|
|
22
|
+
* The next scheduled run of the task in RFC3339 format.
|
|
23
23
|
*/
|
|
24
24
|
nextRun: string;
|
|
25
25
|
};
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
import type { ScheduleTriggerType } from './scheduleTriggerType';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Trigger input for scheduled tasks.
|
|
7
7
|
*/
|
|
8
8
|
export type ScheduleTriggerInput = {
|
|
9
9
|
type: ScheduleTriggerType;
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Cron expression for the task\'s schedule.
|
|
13
13
|
*/
|
|
14
14
|
cron: string;
|
|
15
15
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Task runs on a schedule.
|
|
5
5
|
*/
|
|
6
6
|
export type ScheduleTriggerType = 'schedule';
|
package/model/source.ts
CHANGED
|
@@ -5,7 +5,7 @@ import type { SourceType } from './sourceType';
|
|
|
5
5
|
|
|
6
6
|
export type Source = {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Universally uniqud identifier (UUID) of a source.
|
|
9
9
|
*/
|
|
10
10
|
sourceID: string;
|
|
11
11
|
|
|
@@ -16,17 +16,17 @@ export type Source = {
|
|
|
16
16
|
input: SourceInput;
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Universally unique identifier (UUID) of an authentication resource.
|
|
20
20
|
*/
|
|
21
21
|
authenticationID?: string;
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
* Date of creation
|
|
24
|
+
* Date of creation in RFC3339 format.
|
|
25
25
|
*/
|
|
26
26
|
createdAt: string;
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
|
-
* Date of last update
|
|
29
|
+
* Date of last update in RFC3339 format.
|
|
30
30
|
*/
|
|
31
31
|
updatedAt?: string;
|
|
32
32
|
};
|
package/model/sourceBigQuery.ts
CHANGED
|
@@ -4,24 +4,24 @@ import type { BigQueryDataType } from './bigQueryDataType';
|
|
|
4
4
|
|
|
5
5
|
export type SourceBigQuery = {
|
|
6
6
|
/**
|
|
7
|
-
* Project ID of the BigQuery
|
|
7
|
+
* Project ID of the BigQuery source.
|
|
8
8
|
*/
|
|
9
9
|
projectID: string;
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* Dataset ID of the BigQuery
|
|
12
|
+
* Dataset ID of the BigQuery source.
|
|
13
13
|
*/
|
|
14
14
|
datasetID: string;
|
|
15
15
|
|
|
16
16
|
dataType?: BigQueryDataType;
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
* Table name
|
|
19
|
+
* Table name for the BigQuery export.
|
|
20
20
|
*/
|
|
21
21
|
table?: string;
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
* Table prefix
|
|
24
|
+
* Table prefix for a Google Analytics 4 data export to BigQuery.
|
|
25
25
|
*/
|
|
26
26
|
tablePrefix?: string;
|
|
27
27
|
|
|
@@ -31,7 +31,7 @@ export type SourceBigQuery = {
|
|
|
31
31
|
customSQLRequest?: string;
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Name of a column that contains a unique ID which will be used as `objectID` in Algolia.
|
|
35
35
|
*/
|
|
36
36
|
uniqueIDColumn?: string;
|
|
37
37
|
};
|
package/model/sourceCSV.ts
CHANGED
|
@@ -5,17 +5,17 @@ import type { MethodType } from './methodType';
|
|
|
5
5
|
|
|
6
6
|
export type SourceCSV = {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* URL of the file.
|
|
9
9
|
*/
|
|
10
10
|
url: string;
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Name of a column that contains a unique ID which will be used as `objectID` in Algolia.
|
|
14
14
|
*/
|
|
15
15
|
uniqueIDColumn?: string;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Key-value pairs of column names and their expected types.
|
|
19
19
|
*/
|
|
20
20
|
mapping?: Record<string, MappingTypeCSV>;
|
|
21
21
|
|
|
@@ -6,7 +6,7 @@ export type SourceCommercetools = {
|
|
|
6
6
|
storeKeys?: string[];
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Locales for your commercetools stores.
|
|
10
10
|
*/
|
|
11
11
|
locales?: string[];
|
|
12
12
|
|
|
@@ -15,7 +15,7 @@ export type SourceCommercetools = {
|
|
|
15
15
|
projectKey: string;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Whether a fallback value is stored in the Algolia record if there\'s no inventory information about the product.
|
|
19
19
|
*/
|
|
20
20
|
fallbackIsInStockValue?: boolean;
|
|
21
21
|
|
package/model/sourceCreate.ts
CHANGED
|
@@ -6,12 +6,15 @@ import type { SourceType } from './sourceType';
|
|
|
6
6
|
export type SourceCreate = {
|
|
7
7
|
type: SourceType;
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Descriptive name of the source.
|
|
11
|
+
*/
|
|
9
12
|
name: string;
|
|
10
13
|
|
|
11
14
|
input: SourceInput;
|
|
12
15
|
|
|
13
16
|
/**
|
|
14
|
-
*
|
|
17
|
+
* Universally unique identifier (UUID) of an authentication resource.
|
|
15
18
|
*/
|
|
16
19
|
authenticationID?: string;
|
|
17
20
|
};
|
|
@@ -2,14 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
export type SourceCreateResponse = {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Universally uniqud identifier (UUID) of a source.
|
|
6
6
|
*/
|
|
7
7
|
sourceID: string;
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Descriptive name of the source.
|
|
11
|
+
*/
|
|
9
12
|
name: string;
|
|
10
13
|
|
|
11
14
|
/**
|
|
12
|
-
* Date of creation
|
|
15
|
+
* Date of creation in RFC3339 format.
|
|
13
16
|
*/
|
|
14
17
|
createdAt: string;
|
|
15
18
|
};
|
package/model/sourceDocker.ts
CHANGED
|
@@ -9,17 +9,17 @@ export type SourceDocker = {
|
|
|
9
9
|
registry: DockerRegistry;
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Docker image name.
|
|
13
13
|
*/
|
|
14
14
|
image: string;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Docker image version.
|
|
18
18
|
*/
|
|
19
19
|
version?: string;
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Configuration of the spec.
|
|
23
23
|
*/
|
|
24
24
|
configuration: Record<string, any>;
|
|
25
25
|
};
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
export type SourceGA4BigQueryExport = {
|
|
4
4
|
/**
|
|
5
|
-
* GCP project ID that the BigQuery
|
|
5
|
+
* GCP project ID that the BigQuery export writes to.
|
|
6
6
|
*/
|
|
7
7
|
projectID: string;
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* BigQuery dataset ID that the BigQuery
|
|
10
|
+
* BigQuery dataset ID that the BigQuery export writes to.
|
|
11
11
|
*/
|
|
12
12
|
datasetID: string;
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* Prefix of the tables that the BigQuery Export writes to
|
|
15
|
+
* Prefix of the tables that the BigQuery Export writes to.
|
|
16
16
|
*/
|
|
17
17
|
tablePrefix: string;
|
|
18
18
|
};
|
package/model/sourceJSON.ts
CHANGED
|
@@ -4,12 +4,12 @@ import type { MethodType } from './methodType';
|
|
|
4
4
|
|
|
5
5
|
export type SourceJSON = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* URL of the file.
|
|
8
8
|
*/
|
|
9
9
|
url: string;
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Name of a column that contains a unique ID which will be used as `objectID` in Algolia.
|
|
13
13
|
*/
|
|
14
14
|
uniqueIDColumn?: string;
|
|
15
15
|
|
package/model/sourceSortKeys.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Property by which to sort the list of sources.
|
|
5
5
|
*/
|
|
6
6
|
export type SourceSortKeys = 'createdAt' | 'name' | 'type' | 'updatedAt';
|