@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
package/model/sourceType.ts
CHANGED
package/model/sourceUpdate.ts
CHANGED
|
@@ -3,12 +3,15 @@
|
|
|
3
3
|
import type { SourceUpdateInput } from './sourceUpdateInput';
|
|
4
4
|
|
|
5
5
|
export type SourceUpdate = {
|
|
6
|
+
/**
|
|
7
|
+
* Descriptive name of the source.
|
|
8
|
+
*/
|
|
6
9
|
name?: string;
|
|
7
10
|
|
|
8
11
|
input?: SourceUpdateInput;
|
|
9
12
|
|
|
10
13
|
/**
|
|
11
|
-
*
|
|
14
|
+
* Universally unique identifier (UUID) of an authentication resource.
|
|
12
15
|
*/
|
|
13
16
|
authenticationID?: string;
|
|
14
17
|
};
|
|
@@ -3,20 +3,17 @@
|
|
|
3
3
|
import type { CommercetoolsCustomFields } from './commercetoolsCustomFields';
|
|
4
4
|
|
|
5
5
|
export type SourceUpdateCommercetools = {
|
|
6
|
-
/**
|
|
7
|
-
* Unique and immutable key of the referenced Store.
|
|
8
|
-
*/
|
|
9
6
|
storeKeys?: string[];
|
|
10
7
|
|
|
11
8
|
/**
|
|
12
|
-
*
|
|
9
|
+
* Locales for your commercetools stores.
|
|
13
10
|
*/
|
|
14
11
|
locales?: string[];
|
|
15
12
|
|
|
16
13
|
url?: string;
|
|
17
14
|
|
|
18
15
|
/**
|
|
19
|
-
*
|
|
16
|
+
* Whether a fallback value is stored in the Algolia record if there\'s no inventory information about the product.
|
|
20
17
|
*/
|
|
21
18
|
fallbackIsInStockValue?: boolean;
|
|
22
19
|
|
|
@@ -6,17 +6,17 @@ export type SourceUpdateDocker = {
|
|
|
6
6
|
registry?: DockerRegistry;
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Docker image name.
|
|
10
10
|
*/
|
|
11
11
|
image?: string;
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Docker image version.
|
|
15
15
|
*/
|
|
16
16
|
version?: string;
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Configuration of the spec.
|
|
20
20
|
*/
|
|
21
21
|
configuration: Record<string, any>;
|
|
22
22
|
};
|
|
@@ -2,14 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
export type SourceUpdateResponse = {
|
|
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 last update
|
|
15
|
+
* Date of last update in RFC3339 format.
|
|
13
16
|
*/
|
|
14
17
|
updatedAt: string;
|
|
15
18
|
};
|
|
@@ -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 continuously.
|
|
5
5
|
*/
|
|
6
6
|
export type StreamingTriggerType = 'streaming';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import type { MappingInput } from './mappingInput';
|
|
4
4
|
|
|
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
8
|
export type StreamingUtilsInput = {
|
|
9
9
|
mapping: MappingInput;
|
|
@@ -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 after receiving subscribed event.
|
|
5
5
|
*/
|
|
6
6
|
export type SubscriptionTriggerType = 'subscription';
|
package/model/task.ts
CHANGED
|
@@ -6,17 +6,17 @@ import type { Trigger } from './trigger';
|
|
|
6
6
|
|
|
7
7
|
export type Task = {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Universally unique identifier (UUID) of a task.
|
|
10
10
|
*/
|
|
11
11
|
taskID: string;
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Universally uniqud identifier (UUID) of a source.
|
|
15
15
|
*/
|
|
16
16
|
sourceID: string;
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Universally unique identifier (UUID) of a destination resource.
|
|
20
20
|
*/
|
|
21
21
|
destinationID: string;
|
|
22
22
|
|
|
@@ -25,24 +25,24 @@ export type Task = {
|
|
|
25
25
|
input?: TaskInput;
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
|
-
* Whether the task is enabled
|
|
28
|
+
* Whether the task is enabled.
|
|
29
29
|
*/
|
|
30
30
|
enabled: boolean;
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Maximum accepted percentage of failures for a task run to finish successfully.
|
|
34
34
|
*/
|
|
35
35
|
failureThreshold?: number;
|
|
36
36
|
|
|
37
37
|
action: ActionType;
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
* Date of creation
|
|
40
|
+
* Date of creation in RFC3339 format.
|
|
41
41
|
*/
|
|
42
42
|
createdAt: string;
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
|
-
* Date of last update
|
|
45
|
+
* Date of last update in RFC3339 format.
|
|
46
46
|
*/
|
|
47
47
|
updatedAt?: string;
|
|
48
48
|
};
|
package/model/taskCreate.ts
CHANGED
|
@@ -5,16 +5,16 @@ import type { TaskCreateTrigger } from './taskCreateTrigger';
|
|
|
5
5
|
import type { TaskInput } from './taskInput';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* API request body for creating a task.
|
|
9
9
|
*/
|
|
10
10
|
export type TaskCreate = {
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Universally uniqud identifier (UUID) of a source.
|
|
13
13
|
*/
|
|
14
14
|
sourceID: string;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Universally unique identifier (UUID) of a destination resource.
|
|
18
18
|
*/
|
|
19
19
|
destinationID: string;
|
|
20
20
|
|
|
@@ -23,12 +23,12 @@ export type TaskCreate = {
|
|
|
23
23
|
action: ActionType;
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
|
-
* Whether the task is enabled
|
|
26
|
+
* Whether the task is enabled.
|
|
27
27
|
*/
|
|
28
28
|
enabled?: boolean;
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Maximum accepted percentage of failures for a task run to finish successfully.
|
|
32
32
|
*/
|
|
33
33
|
failureThreshold?: number;
|
|
34
34
|
|
|
@@ -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 creating a task.
|
|
5
5
|
*/
|
|
6
6
|
export type TaskCreateResponse = {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Universally unique identifier (UUID) of a task.
|
|
9
9
|
*/
|
|
10
10
|
taskID: 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/taskInput.ts
CHANGED
|
@@ -4,6 +4,9 @@ import type { OnDemandDateUtilsInput } from './onDemandDateUtilsInput';
|
|
|
4
4
|
import type { ScheduleDateUtilsInput } from './scheduleDateUtilsInput';
|
|
5
5
|
import type { StreamingUtilsInput } from './streamingUtilsInput';
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* Configuration of the task, depending on its type.
|
|
9
|
+
*/
|
|
7
10
|
export type TaskInput =
|
|
8
11
|
| OnDemandDateUtilsInput
|
|
9
12
|
| ScheduleDateUtilsInput
|
package/model/taskSortKeys.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
|
+
* Property by which to sort the list of tasks.
|
|
5
5
|
*/
|
|
6
6
|
export type TaskSortKeys =
|
|
7
7
|
| 'action'
|
package/model/taskUpdate.ts
CHANGED
|
@@ -4,11 +4,11 @@ import type { TaskInput } from './taskInput';
|
|
|
4
4
|
import type { TriggerUpdateInput } from './triggerUpdateInput';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* API request body for updating a task.
|
|
8
8
|
*/
|
|
9
9
|
export type TaskUpdate = {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Universally unique identifier (UUID) of a destination resource.
|
|
12
12
|
*/
|
|
13
13
|
destinationID?: string;
|
|
14
14
|
|
|
@@ -17,12 +17,12 @@ export type TaskUpdate = {
|
|
|
17
17
|
input?: TaskInput;
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* Whether the task is enabled
|
|
20
|
+
* Whether the task is enabled.
|
|
21
21
|
*/
|
|
22
22
|
enabled?: boolean;
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Maximum accepted percentage of failures for a task run to finish successfully.
|
|
26
26
|
*/
|
|
27
27
|
failureThreshold?: number;
|
|
28
28
|
};
|
|
@@ -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 updating a task.
|
|
5
5
|
*/
|
|
6
6
|
export type TaskUpdateResponse = {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Universally unique identifier (UUID) of a task.
|
|
9
9
|
*/
|
|
10
10
|
taskID: string;
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
* Date of last update
|
|
13
|
+
* Date of last update in RFC3339 format.
|
|
14
14
|
*/
|
|
15
15
|
updatedAt: string;
|
|
16
16
|
};
|
package/model/trigger.ts
CHANGED
|
@@ -5,6 +5,9 @@ import type { ScheduleTrigger } from './scheduleTrigger';
|
|
|
5
5
|
import type { StreamingTrigger } from './streamingTrigger';
|
|
6
6
|
import type { SubscriptionTrigger } from './subscriptionTrigger';
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* Trigger that runs the task.
|
|
10
|
+
*/
|
|
8
11
|
export type Trigger =
|
|
9
12
|
| OnDemandTrigger
|
|
10
13
|
| ScheduleTrigger
|
package/model/triggerType.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
|
+
* Task trigger, describing when a task should run. <dl> <dt><code>onDemand</code></dt> <dd> Manually trigger the task with the `/run` endpoint. </dd> <dt><code>schedule</code></dt> <dd> Regularly trigger the task on a `cron` schedule. </dd> <dt><code>subscription</code></dt> <dd> Trigger the task after an event is received, such as, a webhook. </dd> <dt><code>streaming</code></dt> <dd> Run the task continuously. </dd> </dl>.
|
|
5
5
|
*/
|
|
6
6
|
export type TriggerType =
|
|
7
7
|
| 'onDemand'
|
|
@@ -1,11 +1,11 @@
|
|
|
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
|
+
* Trigger for a task update.
|
|
5
5
|
*/
|
|
6
6
|
export type TriggerUpdateInput = {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Cron expression for the task\'s schedule.
|
|
9
9
|
*/
|
|
10
10
|
cron: string;
|
|
11
11
|
};
|
package/model/window.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
|
+
* Time window by which to filter the observability data.
|
|
5
5
|
*/
|
|
6
6
|
export type Window = {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Date in RFC3339 format representing the oldest data in the time window.
|
|
9
9
|
*/
|
|
10
10
|
startDate: string;
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Date in RFC3339 format representing the newest data in the time window.
|
|
14
14
|
*/
|
|
15
15
|
endDate: string;
|
|
16
16
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@algolia/ingestion",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.84",
|
|
4
4
|
"description": "JavaScript client for ingestion",
|
|
5
5
|
"repository": "algolia/algoliasearch-client-javascript",
|
|
6
6
|
"license": "MIT",
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"clean": "rm -rf ./dist || true"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@algolia/client-common": "5.0.0-alpha.
|
|
43
|
-
"@algolia/requester-browser-xhr": "5.0.0-alpha.
|
|
44
|
-
"@algolia/requester-node-http": "5.0.0-alpha.
|
|
42
|
+
"@algolia/client-common": "5.0.0-alpha.111",
|
|
43
|
+
"@algolia/requester-browser-xhr": "5.0.0-alpha.111",
|
|
44
|
+
"@algolia/requester-node-http": "5.0.0-alpha.111"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@types/node": "20.11.
|
|
48
|
-
"rollup": "4.13.
|
|
49
|
-
"typescript": "5.4.
|
|
47
|
+
"@types/node": "20.11.30",
|
|
48
|
+
"rollup": "4.13.2",
|
|
49
|
+
"typescript": "5.4.3"
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
|
52
52
|
"node": ">= 14.0.0"
|