@algolia/ingestion 5.2.4-beta.5 → 5.10.0-beta.1
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/README.md +15 -7
- package/dist/browser.d.ts +1266 -634
- package/dist/builds/browser.js +223 -322
- package/dist/builds/browser.js.map +1 -1
- package/dist/builds/browser.min.js +1 -1
- package/dist/builds/browser.min.js.map +1 -1
- package/dist/builds/browser.umd.js +6 -6
- package/dist/builds/fetch.js +1943 -0
- package/dist/builds/fetch.js.map +1 -0
- package/dist/builds/node.cjs +220 -320
- package/dist/builds/node.cjs.map +1 -1
- package/dist/builds/node.js +221 -320
- package/dist/builds/node.js.map +1 -1
- package/dist/fetch.d.ts +3001 -0
- package/dist/node.d.cts +1267 -634
- package/dist/node.d.ts +1267 -634
- package/dist/src/ingestionClient.cjs +218 -319
- package/dist/src/ingestionClient.cjs.map +1 -1
- package/dist/src/ingestionClient.js +218 -319
- package/dist/src/ingestionClient.js.map +1 -1
- package/index.d.ts +0 -1
- package/index.js +1 -2
- package/package.json +16 -11
- package/model/action.ts +0 -13
- package/model/actionType.ts +0 -6
- package/model/authAPIKey.ts +0 -11
- package/model/authAPIKeyPartial.ts +0 -11
- package/model/authAlgolia.ts +0 -16
- package/model/authAlgoliaInsights.ts +0 -16
- package/model/authAlgoliaInsightsPartial.ts +0 -16
- package/model/authAlgoliaPartial.ts +0 -16
- package/model/authBasic.ts +0 -16
- package/model/authBasicPartial.ts +0 -16
- package/model/authGoogleServiceAccount.ts +0 -16
- package/model/authGoogleServiceAccountPartial.ts +0 -16
- package/model/authInput.ts +0 -16
- package/model/authInputPartial.ts +0 -16
- package/model/authOAuth.ts +0 -26
- package/model/authOAuthPartial.ts +0 -26
- package/model/authentication.ts +0 -36
- package/model/authenticationCreate.ts +0 -21
- package/model/authenticationCreateResponse.ts +0 -21
- package/model/authenticationSearch.ts +0 -8
- package/model/authenticationSortKeys.ts +0 -6
- package/model/authenticationType.ts +0 -6
- package/model/authenticationUpdate.ts +0 -21
- package/model/authenticationUpdateResponse.ts +0 -21
- package/model/bigCommerceChannel.ts +0 -13
- package/model/bigCommerceMetafield.ts +0 -13
- package/model/bigQueryDataType.ts +0 -3
- package/model/clientMethodProps.ts +0 -703
- package/model/commercetoolsCustomFields.ts +0 -21
- package/model/deleteResponse.ts +0 -8
- package/model/destination.ts +0 -40
- package/model/destinationCreate.ts +0 -25
- package/model/destinationCreateResponse.ts +0 -21
- package/model/destinationIndexName.ts +0 -17
- package/model/destinationInput.ts +0 -5
- package/model/destinationSearch.ts +0 -8
- package/model/destinationSortKeys.ts +0 -6
- package/model/destinationType.ts +0 -6
- package/model/destinationUpdate.ts +0 -25
- package/model/destinationUpdateResponse.ts +0 -21
- package/model/dockerImageType.ts +0 -6
- package/model/dockerRegistry.ts +0 -6
- package/model/dockerStreams.ts +0 -17
- package/model/dockerStreamsInput.ts +0 -10
- package/model/dockerStreamsSyncMode.ts +0 -6
- package/model/entityType.ts +0 -6
- package/model/errorBase.ts +0 -8
- package/model/event.ts +0 -40
- package/model/eventSortKeys.ts +0 -6
- package/model/eventStatus.ts +0 -3
- package/model/eventType.ts +0 -3
- package/model/generateTransformationCodePayload.ts +0 -9
- package/model/generateTransformationCodeResponse.ts +0 -5
- package/model/index.ts +0 -151
- package/model/listAuthenticationsResponse.ts +0 -10
- package/model/listDestinationsResponse.ts +0 -10
- package/model/listEventsResponse.ts +0 -13
- package/model/listSourcesResponse.ts +0 -10
- package/model/listTasksResponse.ts +0 -13
- package/model/listTasksResponseV1.ts +0 -13
- package/model/listTransformationsResponse.ts +0 -13
- package/model/mappingFieldDirective.ts +0 -16
- package/model/mappingFormatSchema.ts +0 -6
- package/model/mappingInput.ts +0 -13
- package/model/mappingKitAction.ts +0 -25
- package/model/mappingTypeCSV.ts +0 -3
- package/model/methodType.ts +0 -6
- package/model/model.ts +0 -13
- package/model/onDemandTrigger.ts +0 -15
- package/model/onDemandTriggerInput.ts +0 -10
- package/model/onDemandTriggerType.ts +0 -6
- package/model/orderKeys.ts +0 -6
- package/model/pagination.ts +0 -26
- package/model/platform.ts +0 -6
- package/model/platformNone.ts +0 -6
- package/model/platformWithNone.ts +0 -6
- package/model/pushTaskPayload.ts +0 -10
- package/model/pushTaskRecords.ts +0 -8
- package/model/recordType.ts +0 -6
- package/model/run.ts +0 -56
- package/model/runListResponse.ts +0 -13
- package/model/runOutcome.ts +0 -6
- package/model/runProgress.ts +0 -7
- package/model/runReasonCode.ts +0 -6
- package/model/runResponse.ts +0 -16
- package/model/runSortKeys.ts +0 -6
- package/model/runSourcePayload.ts +0 -22
- package/model/runSourceResponse.ts +0 -13
- package/model/runStatus.ts +0 -6
- package/model/runType.ts +0 -6
- package/model/scheduleTrigger.ts +0 -25
- package/model/scheduleTriggerInput.ts +0 -15
- package/model/scheduleTriggerType.ts +0 -6
- package/model/shopifyInput.ts +0 -13
- package/model/shopifyMarket.ts +0 -12
- package/model/shopifyMetafield.ts +0 -12
- package/model/sortKeys.ts +0 -6
- package/model/source.ts +0 -32
- package/model/sourceBigCommerce.ts +0 -19
- package/model/sourceBigQuery.ts +0 -37
- package/model/sourceCSV.ts +0 -28
- package/model/sourceCommercetools.ts +0 -23
- package/model/sourceCreate.ts +0 -20
- package/model/sourceCreateResponse.ts +0 -18
- package/model/sourceDocker.ts +0 -25
- package/model/sourceGA4BigQueryExport.ts +0 -18
- package/model/sourceInput.ts +0 -20
- package/model/sourceJSON.ts +0 -17
- package/model/sourceSearch.ts +0 -5
- package/model/sourceShopify.ts +0 -6
- package/model/sourceShopifyBase.ts +0 -8
- package/model/sourceSortKeys.ts +0 -6
- package/model/sourceType.ts +0 -13
- package/model/sourceUpdate.ts +0 -17
- package/model/sourceUpdateCommercetools.ts +0 -21
- package/model/sourceUpdateDocker.ts +0 -22
- package/model/sourceUpdateInput.ts +0 -18
- package/model/sourceUpdateResponse.ts +0 -18
- package/model/sourceUpdateShopify.ts +0 -8
- package/model/sourceWatchResponse.ts +0 -25
- package/model/streamingInput.ts +0 -10
- package/model/streamingTrigger.ts +0 -10
- package/model/streamingTriggerType.ts +0 -6
- package/model/subscriptionTrigger.ts +0 -10
- package/model/subscriptionTriggerType.ts +0 -6
- package/model/task.ts +0 -65
- package/model/taskCreate.ts +0 -43
- package/model/taskCreateResponse.ts +0 -16
- package/model/taskCreateTrigger.ts +0 -8
- package/model/taskCreateV1.ts +0 -41
- package/model/taskInput.ts +0 -10
- package/model/taskSearch.ts +0 -5
- package/model/taskSortKeys.ts +0 -6
- package/model/taskUpdate.ts +0 -30
- package/model/taskUpdateResponse.ts +0 -16
- package/model/taskUpdateV1.ts +0 -28
- package/model/taskV1.ts +0 -56
- package/model/transformation.ts +0 -38
- package/model/transformationCreate.ts +0 -26
- package/model/transformationCreateResponse.ts +0 -16
- package/model/transformationError.ts +0 -16
- package/model/transformationModels.ts +0 -10
- package/model/transformationSearch.ts +0 -5
- package/model/transformationTry.ts +0 -17
- package/model/transformationTryResponse.ts +0 -12
- package/model/transformationUpdateResponse.ts +0 -16
- package/model/trigger.ts +0 -11
- package/model/triggerType.ts +0 -6
- package/model/triggerUpdateInput.ts +0 -11
- package/model/window.ts +0 -16
package/model/sourceInput.ts
DELETED
|
@@ -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 { SourceBigCommerce } from './sourceBigCommerce';
|
|
4
|
-
import type { SourceBigQuery } from './sourceBigQuery';
|
|
5
|
-
import type { SourceCSV } from './sourceCSV';
|
|
6
|
-
import type { SourceCommercetools } from './sourceCommercetools';
|
|
7
|
-
import type { SourceDocker } from './sourceDocker';
|
|
8
|
-
import type { SourceGA4BigQueryExport } from './sourceGA4BigQueryExport';
|
|
9
|
-
import type { SourceJSON } from './sourceJSON';
|
|
10
|
-
import type { SourceShopify } from './sourceShopify';
|
|
11
|
-
|
|
12
|
-
export type SourceInput =
|
|
13
|
-
| SourceBigCommerce
|
|
14
|
-
| SourceBigQuery
|
|
15
|
-
| SourceCommercetools
|
|
16
|
-
| SourceCSV
|
|
17
|
-
| SourceDocker
|
|
18
|
-
| SourceGA4BigQueryExport
|
|
19
|
-
| SourceJSON
|
|
20
|
-
| SourceShopify;
|
package/model/sourceJSON.ts
DELETED
|
@@ -1,17 +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 { MethodType } from './methodType';
|
|
4
|
-
|
|
5
|
-
export type SourceJSON = {
|
|
6
|
-
/**
|
|
7
|
-
* URL of the file.
|
|
8
|
-
*/
|
|
9
|
-
url: string;
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Name of a column that contains a unique ID which will be used as `objectID` in Algolia.
|
|
13
|
-
*/
|
|
14
|
-
uniqueIDColumn?: string;
|
|
15
|
-
|
|
16
|
-
method?: MethodType;
|
|
17
|
-
};
|
package/model/sourceSearch.ts
DELETED
package/model/sourceShopify.ts
DELETED
|
@@ -1,6 +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 { SourceShopifyBase } from './sourceShopifyBase';
|
|
4
|
-
import type { SourceUpdateShopify } from './sourceUpdateShopify';
|
|
5
|
-
|
|
6
|
-
export type SourceShopify = SourceShopifyBase & SourceUpdateShopify;
|
|
@@ -1,8 +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
|
-
export type SourceShopifyBase = {
|
|
4
|
-
/**
|
|
5
|
-
* URL of the Shopify store.
|
|
6
|
-
*/
|
|
7
|
-
shopURL: string;
|
|
8
|
-
};
|
package/model/sourceSortKeys.ts
DELETED
|
@@ -1,6 +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
|
-
/**
|
|
4
|
-
* Property by which to sort the list of sources.
|
|
5
|
-
*/
|
|
6
|
-
export type SourceSortKeys = 'createdAt' | 'name' | 'type' | 'updatedAt';
|
package/model/sourceType.ts
DELETED
|
@@ -1,13 +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
|
-
export type SourceType =
|
|
4
|
-
| 'bigcommerce'
|
|
5
|
-
| 'bigquery'
|
|
6
|
-
| 'commercetools'
|
|
7
|
-
| 'csv'
|
|
8
|
-
| 'docker'
|
|
9
|
-
| 'ga4BigqueryExport'
|
|
10
|
-
| 'json'
|
|
11
|
-
| 'push'
|
|
12
|
-
| 'sfcc'
|
|
13
|
-
| 'shopify';
|
package/model/sourceUpdate.ts
DELETED
|
@@ -1,17 +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 { SourceUpdateInput } from './sourceUpdateInput';
|
|
4
|
-
|
|
5
|
-
export type SourceUpdate = {
|
|
6
|
-
/**
|
|
7
|
-
* Descriptive name of the source.
|
|
8
|
-
*/
|
|
9
|
-
name?: string;
|
|
10
|
-
|
|
11
|
-
input?: SourceUpdateInput;
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Universally unique identifier (UUID) of an authentication resource.
|
|
15
|
-
*/
|
|
16
|
-
authenticationID?: string;
|
|
17
|
-
};
|
|
@@ -1,21 +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 { CommercetoolsCustomFields } from './commercetoolsCustomFields';
|
|
4
|
-
|
|
5
|
-
export type SourceUpdateCommercetools = {
|
|
6
|
-
storeKeys?: string[];
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Locales for your commercetools stores.
|
|
10
|
-
*/
|
|
11
|
-
locales?: string[];
|
|
12
|
-
|
|
13
|
-
url?: string;
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Whether a fallback value is stored in the Algolia record if there\'s no inventory information about the product.
|
|
17
|
-
*/
|
|
18
|
-
fallbackIsInStockValue?: boolean;
|
|
19
|
-
|
|
20
|
-
customFields?: CommercetoolsCustomFields;
|
|
21
|
-
};
|
|
@@ -1,22 +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 { DockerRegistry } from './dockerRegistry';
|
|
4
|
-
|
|
5
|
-
export type SourceUpdateDocker = {
|
|
6
|
-
registry?: DockerRegistry;
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Docker image name.
|
|
10
|
-
*/
|
|
11
|
-
image?: string;
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Docker image version.
|
|
15
|
-
*/
|
|
16
|
-
version?: string;
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Configuration of the spec.
|
|
20
|
-
*/
|
|
21
|
-
configuration: Record<string, unknown>;
|
|
22
|
-
};
|
|
@@ -1,18 +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 { SourceBigQuery } from './sourceBigQuery';
|
|
4
|
-
import type { SourceCSV } from './sourceCSV';
|
|
5
|
-
import type { SourceGA4BigQueryExport } from './sourceGA4BigQueryExport';
|
|
6
|
-
import type { SourceJSON } from './sourceJSON';
|
|
7
|
-
import type { SourceUpdateCommercetools } from './sourceUpdateCommercetools';
|
|
8
|
-
import type { SourceUpdateDocker } from './sourceUpdateDocker';
|
|
9
|
-
import type { SourceUpdateShopify } from './sourceUpdateShopify';
|
|
10
|
-
|
|
11
|
-
export type SourceUpdateInput =
|
|
12
|
-
| SourceBigQuery
|
|
13
|
-
| SourceCSV
|
|
14
|
-
| SourceGA4BigQueryExport
|
|
15
|
-
| SourceJSON
|
|
16
|
-
| SourceUpdateCommercetools
|
|
17
|
-
| SourceUpdateDocker
|
|
18
|
-
| SourceUpdateShopify;
|
|
@@ -1,18 +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
|
-
export type SourceUpdateResponse = {
|
|
4
|
-
/**
|
|
5
|
-
* Universally uniqud identifier (UUID) of a source.
|
|
6
|
-
*/
|
|
7
|
-
sourceID: string;
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Descriptive name of the source.
|
|
11
|
-
*/
|
|
12
|
-
name: string;
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Date of last update in RFC 3339 format.
|
|
16
|
-
*/
|
|
17
|
-
updatedAt: string;
|
|
18
|
-
};
|
|
@@ -1,8 +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
|
-
export type SourceUpdateShopify = {
|
|
4
|
-
/**
|
|
5
|
-
* Feature flags for the Shopify source.
|
|
6
|
-
*/
|
|
7
|
-
featureFlags?: Record<string, any>;
|
|
8
|
-
};
|
|
@@ -1,25 +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 { Event } from './event';
|
|
4
|
-
|
|
5
|
-
export type SourceWatchResponse = {
|
|
6
|
-
/**
|
|
7
|
-
* Universally unique identifier (UUID) of a task run.
|
|
8
|
-
*/
|
|
9
|
-
runID?: string;
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Depending on the source type, the validation returns sampling data of your source (JSON, CSV, BigQuery).
|
|
13
|
-
*/
|
|
14
|
-
data?: Array<Record<string, unknown>>;
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* In case of error, observability events will be added to the response, if any.
|
|
18
|
-
*/
|
|
19
|
-
events?: Event[];
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* A message describing the outcome of a validate run.
|
|
23
|
-
*/
|
|
24
|
-
message: string;
|
|
25
|
-
};
|
package/model/streamingInput.ts
DELETED
|
@@ -1,10 +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 `streaming` task whose source is of type `ga4BigqueryExport` and for which extracted data is continuously streamed.
|
|
7
|
-
*/
|
|
8
|
-
export type StreamingInput = {
|
|
9
|
-
mapping: MappingInput;
|
|
10
|
-
};
|
|
@@ -1,10 +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 { StreamingTriggerType } from './streamingTriggerType';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Trigger input for continuously running tasks.
|
|
7
|
-
*/
|
|
8
|
-
export type StreamingTrigger = {
|
|
9
|
-
type: StreamingTriggerType;
|
|
10
|
-
};
|
|
@@ -1,6 +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
|
-
/**
|
|
4
|
-
* Task runs continuously.
|
|
5
|
-
*/
|
|
6
|
-
export type StreamingTriggerType = 'streaming';
|
|
@@ -1,10 +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 { SubscriptionTriggerType } from './subscriptionTriggerType';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Trigger input for subscription tasks.
|
|
7
|
-
*/
|
|
8
|
-
export type SubscriptionTrigger = {
|
|
9
|
-
type: SubscriptionTriggerType;
|
|
10
|
-
};
|
|
@@ -1,6 +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
|
-
/**
|
|
4
|
-
* Task runs after receiving subscribed event.
|
|
5
|
-
*/
|
|
6
|
-
export type SubscriptionTriggerType = 'subscription';
|
package/model/task.ts
DELETED
|
@@ -1,65 +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 { ActionType } from './actionType';
|
|
4
|
-
import type { TaskInput } from './taskInput';
|
|
5
|
-
|
|
6
|
-
export type Task = {
|
|
7
|
-
/**
|
|
8
|
-
* Universally unique identifier (UUID) of a task.
|
|
9
|
-
*/
|
|
10
|
-
taskID: string;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Universally uniqud identifier (UUID) of a source.
|
|
14
|
-
*/
|
|
15
|
-
sourceID: string;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Universally unique identifier (UUID) of a destination resource.
|
|
19
|
-
*/
|
|
20
|
-
destinationID: string;
|
|
21
|
-
|
|
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;
|
|
36
|
-
|
|
37
|
-
input?: TaskInput;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Whether the task is enabled.
|
|
41
|
-
*/
|
|
42
|
-
enabled: boolean;
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Maximum accepted percentage of failures for a task run to finish successfully.
|
|
46
|
-
*/
|
|
47
|
-
failureThreshold?: number;
|
|
48
|
-
|
|
49
|
-
action: ActionType;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Date of the last cursor in RFC 3339 format.
|
|
53
|
-
*/
|
|
54
|
-
cursor?: string;
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Date of creation in RFC 3339 format.
|
|
58
|
-
*/
|
|
59
|
-
createdAt: string;
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Date of last update in RFC 3339 format.
|
|
63
|
-
*/
|
|
64
|
-
updatedAt?: string;
|
|
65
|
-
};
|
package/model/taskCreate.ts
DELETED
|
@@ -1,43 +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 { ActionType } from './actionType';
|
|
4
|
-
import type { TaskInput } from './taskInput';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* API request body for creating a task.
|
|
8
|
-
*/
|
|
9
|
-
export type TaskCreate = {
|
|
10
|
-
/**
|
|
11
|
-
* Universally uniqud identifier (UUID) of a source.
|
|
12
|
-
*/
|
|
13
|
-
sourceID: string;
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Universally unique identifier (UUID) of a destination resource.
|
|
17
|
-
*/
|
|
18
|
-
destinationID: string;
|
|
19
|
-
|
|
20
|
-
action: ActionType;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Cron expression for the task\'s schedule.
|
|
24
|
-
*/
|
|
25
|
-
cron?: string;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Whether the task is enabled.
|
|
29
|
-
*/
|
|
30
|
-
enabled?: boolean;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Maximum accepted percentage of failures for a task run to finish successfully.
|
|
34
|
-
*/
|
|
35
|
-
failureThreshold?: number;
|
|
36
|
-
|
|
37
|
-
input?: TaskInput;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Date of the last cursor in RFC 3339 format.
|
|
41
|
-
*/
|
|
42
|
-
cursor?: string;
|
|
43
|
-
};
|
|
@@ -1,16 +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
|
-
/**
|
|
4
|
-
* API response for creating a task.
|
|
5
|
-
*/
|
|
6
|
-
export type TaskCreateResponse = {
|
|
7
|
-
/**
|
|
8
|
-
* Universally unique identifier (UUID) of a task.
|
|
9
|
-
*/
|
|
10
|
-
taskID: string;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Date of creation in RFC 3339 format.
|
|
14
|
-
*/
|
|
15
|
-
createdAt: string;
|
|
16
|
-
};
|
|
@@ -1,8 +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 { OnDemandTriggerInput } from './onDemandTriggerInput';
|
|
4
|
-
import type { ScheduleTriggerInput } from './scheduleTriggerInput';
|
|
5
|
-
import type { StreamingTrigger } from './streamingTrigger';
|
|
6
|
-
import type { SubscriptionTrigger } from './subscriptionTrigger';
|
|
7
|
-
|
|
8
|
-
export type TaskCreateTrigger = OnDemandTriggerInput | ScheduleTriggerInput | StreamingTrigger | SubscriptionTrigger;
|
package/model/taskCreateV1.ts
DELETED
|
@@ -1,41 +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 { 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
DELETED
|
@@ -1,10 +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 { DockerStreamsInput } from './dockerStreamsInput';
|
|
4
|
-
import type { ShopifyInput } from './shopifyInput';
|
|
5
|
-
import type { StreamingInput } from './streamingInput';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Configuration of the task, depending on its type.
|
|
9
|
-
*/
|
|
10
|
-
export type TaskInput = DockerStreamsInput | ShopifyInput | StreamingInput;
|
package/model/taskSearch.ts
DELETED
package/model/taskSortKeys.ts
DELETED
|
@@ -1,6 +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
|
-
/**
|
|
4
|
-
* Property by which to sort the list of tasks.
|
|
5
|
-
*/
|
|
6
|
-
export type TaskSortKeys = 'action' | 'createdAt' | 'enabled' | 'triggerType' | 'updatedAt';
|
package/model/taskUpdate.ts
DELETED
|
@@ -1,30 +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 { TaskInput } from './taskInput';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* API request body for updating a task.
|
|
7
|
-
*/
|
|
8
|
-
export type TaskUpdate = {
|
|
9
|
-
/**
|
|
10
|
-
* Universally unique identifier (UUID) of a destination resource.
|
|
11
|
-
*/
|
|
12
|
-
destinationID?: string;
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Cron expression for the task\'s schedule.
|
|
16
|
-
*/
|
|
17
|
-
cron?: string;
|
|
18
|
-
|
|
19
|
-
input?: TaskInput;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Whether the task is enabled.
|
|
23
|
-
*/
|
|
24
|
-
enabled?: boolean;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Maximum accepted percentage of failures for a task run to finish successfully.
|
|
28
|
-
*/
|
|
29
|
-
failureThreshold?: number;
|
|
30
|
-
};
|
|
@@ -1,16 +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
|
-
/**
|
|
4
|
-
* API response for updating a task.
|
|
5
|
-
*/
|
|
6
|
-
export type TaskUpdateResponse = {
|
|
7
|
-
/**
|
|
8
|
-
* Universally unique identifier (UUID) of a task.
|
|
9
|
-
*/
|
|
10
|
-
taskID: string;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Date of last update in RFC 3339 format.
|
|
14
|
-
*/
|
|
15
|
-
updatedAt: string;
|
|
16
|
-
};
|
package/model/taskUpdateV1.ts
DELETED
|
@@ -1,28 +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 { 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
DELETED
|
@@ -1,56 +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 { 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
DELETED
|
@@ -1,38 +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
|
-
export type Transformation = {
|
|
4
|
-
/**
|
|
5
|
-
* Universally unique identifier (UUID) of a transformation.
|
|
6
|
-
*/
|
|
7
|
-
transformationID: string;
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* The authentications associated for the current transformation.
|
|
11
|
-
*/
|
|
12
|
-
authenticationIDs?: string[];
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* The source code of the transformation.
|
|
16
|
-
*/
|
|
17
|
-
code: string;
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* The uniquely identified name of your transformation.
|
|
21
|
-
*/
|
|
22
|
-
name: string;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* A descriptive name for your transformation of what it does.
|
|
26
|
-
*/
|
|
27
|
-
description?: string;
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Date of creation in RFC 3339 format.
|
|
31
|
-
*/
|
|
32
|
-
createdAt: string;
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Date of last update in RFC 3339 format.
|
|
36
|
-
*/
|
|
37
|
-
updatedAt?: string;
|
|
38
|
-
};
|