@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
|
@@ -1,26 +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 request body for creating a transformation.
|
|
5
|
-
*/
|
|
6
|
-
export type TransformationCreate = {
|
|
7
|
-
/**
|
|
8
|
-
* The source code of the transformation.
|
|
9
|
-
*/
|
|
10
|
-
code: string;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* The uniquely identified name of your transformation.
|
|
14
|
-
*/
|
|
15
|
-
name: string;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* A descriptive name for your transformation of what it does.
|
|
19
|
-
*/
|
|
20
|
-
description?: string;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* The authentications associated for the current transformation.
|
|
24
|
-
*/
|
|
25
|
-
authenticationIDs?: string[];
|
|
26
|
-
};
|
|
@@ -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 transformation.
|
|
5
|
-
*/
|
|
6
|
-
export type TransformationCreateResponse = {
|
|
7
|
-
/**
|
|
8
|
-
* Universally unique identifier (UUID) of a transformation.
|
|
9
|
-
*/
|
|
10
|
-
transformationID: string;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Date of creation in RFC 3339 format.
|
|
14
|
-
*/
|
|
15
|
-
createdAt: string;
|
|
16
|
-
};
|
|
@@ -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
|
-
* The error if the transformation failed.
|
|
5
|
-
*/
|
|
6
|
-
export type TransformationError = {
|
|
7
|
-
/**
|
|
8
|
-
* The error status code.
|
|
9
|
-
*/
|
|
10
|
-
code?: number;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* A descriptive message explaining the failure.
|
|
14
|
-
*/
|
|
15
|
-
message?: string;
|
|
16
|
-
};
|
|
@@ -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 { Model } from './model';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* List of available AI models for transformation purposes.
|
|
7
|
-
*/
|
|
8
|
-
export type TransformationModels = {
|
|
9
|
-
llms: Model[];
|
|
10
|
-
};
|
|
@@ -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 { AuthenticationCreate } from './authenticationCreate';
|
|
4
|
-
|
|
5
|
-
export type TransformationTry = {
|
|
6
|
-
/**
|
|
7
|
-
* The source code of the transformation.
|
|
8
|
-
*/
|
|
9
|
-
code: string;
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* The record to apply the given code to.
|
|
13
|
-
*/
|
|
14
|
-
sampleRecord: Record<string, unknown>;
|
|
15
|
-
|
|
16
|
-
authentications?: AuthenticationCreate[];
|
|
17
|
-
};
|
|
@@ -1,12 +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 { TransformationError } from './transformationError';
|
|
4
|
-
|
|
5
|
-
export type TransformationTryResponse = {
|
|
6
|
-
/**
|
|
7
|
-
* The array of records returned by the transformation service.
|
|
8
|
-
*/
|
|
9
|
-
payloads: Array<Record<string, unknown>>;
|
|
10
|
-
|
|
11
|
-
error?: TransformationError;
|
|
12
|
-
};
|
|
@@ -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 transformation.
|
|
5
|
-
*/
|
|
6
|
-
export type TransformationUpdateResponse = {
|
|
7
|
-
/**
|
|
8
|
-
* Universally unique identifier (UUID) of a transformation.
|
|
9
|
-
*/
|
|
10
|
-
transformationID: string;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Date of last update in RFC 3339 format.
|
|
14
|
-
*/
|
|
15
|
-
updatedAt: string;
|
|
16
|
-
};
|
package/model/trigger.ts
DELETED
|
@@ -1,11 +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 { OnDemandTrigger } from './onDemandTrigger';
|
|
4
|
-
import type { ScheduleTrigger } from './scheduleTrigger';
|
|
5
|
-
import type { StreamingTrigger } from './streamingTrigger';
|
|
6
|
-
import type { SubscriptionTrigger } from './subscriptionTrigger';
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Trigger that runs the task.
|
|
10
|
-
*/
|
|
11
|
-
export type Trigger = OnDemandTrigger | ScheduleTrigger | StreamingTrigger | SubscriptionTrigger;
|
package/model/triggerType.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
|
-
* Task trigger, describing when a task should run. - `onDemand`. Manually trigger the task with the `/run` endpoint. - `schedule`. Regularly trigger the task on a `cron` schedule. - `subscription`. Trigger the task after an event is received, such as, a webhook. - `streaming`. Run the task continuously.
|
|
5
|
-
*/
|
|
6
|
-
export type TriggerType = 'onDemand' | 'schedule' | 'streaming' | 'subscription';
|
|
@@ -1,11 +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
|
-
* Trigger for a task update.
|
|
5
|
-
*/
|
|
6
|
-
export type TriggerUpdateInput = {
|
|
7
|
-
/**
|
|
8
|
-
* Cron expression for the task\'s schedule.
|
|
9
|
-
*/
|
|
10
|
-
cron: string;
|
|
11
|
-
};
|
package/model/window.ts
DELETED
|
@@ -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
|
-
* Time window by which to filter the observability data.
|
|
5
|
-
*/
|
|
6
|
-
export type Window = {
|
|
7
|
-
/**
|
|
8
|
-
* Date in RFC 3339 format representing the oldest data in the time window.
|
|
9
|
-
*/
|
|
10
|
-
startDate: string;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Date in RFC 3339 format representing the newest data in the time window.
|
|
14
|
-
*/
|
|
15
|
-
endDate: string;
|
|
16
|
-
};
|