@algolia/ingestion 1.0.0-beta.13 → 1.0.0-beta.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builds/browser.d.ts +3 -1
- package/dist/builds/browser.d.ts.map +1 -1
- package/dist/builds/node.d.ts +3 -1
- package/dist/builds/node.d.ts.map +1 -1
- package/dist/ingestion.cjs +61 -2
- package/dist/ingestion.esm.browser.js +61 -2
- package/dist/ingestion.esm.node.js +61 -2
- package/dist/ingestion.umd.js +2 -2
- package/dist/model/clientMethodProps.d.ts +22 -0
- package/dist/model/clientMethodProps.d.ts.map +1 -1
- package/dist/model/destination.d.ts +1 -0
- package/dist/model/destination.d.ts.map +1 -1
- package/dist/model/destinationCreate.d.ts +1 -0
- package/dist/model/destinationCreate.d.ts.map +1 -1
- package/dist/model/destinationInput.d.ts +1 -2
- package/dist/model/destinationInput.d.ts.map +1 -1
- package/dist/model/destinationUpdate.d.ts +1 -0
- package/dist/model/destinationUpdate.d.ts.map +1 -1
- package/dist/model/entityType.d.ts +5 -0
- package/dist/model/entityType.d.ts.map +1 -0
- package/dist/model/index.d.ts +5 -1
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/model.d.ts +8 -0
- package/dist/model/model.d.ts.map +1 -0
- package/dist/model/runSourcePayload.d.ts +17 -0
- package/dist/model/runSourcePayload.d.ts.map +1 -0
- package/dist/model/runSourceResponse.d.ts +11 -0
- package/dist/model/runSourceResponse.d.ts.map +1 -0
- package/dist/model/transformationModels.d.ts +8 -0
- package/dist/model/transformationModels.d.ts.map +1 -0
- package/dist/src/ingestionClient.d.ts +32 -3
- package/dist/src/ingestionClient.d.ts.map +1 -1
- package/model/clientMethodProps.ts +23 -0
- package/model/destination.ts +2 -0
- package/model/destinationCreate.ts +2 -0
- package/model/destinationInput.ts +1 -2
- package/model/destinationUpdate.ts +2 -0
- package/model/entityType.ts +6 -0
- package/model/index.ts +5 -1
- package/model/{destinationIndexPrefix.ts → model.ts} +10 -5
- package/model/runSourcePayload.ts +22 -0
- package/model/runSourceResponse.ts +13 -0
- package/model/transformationModels.ts +10 -0
- package/package.json +6 -6
- package/dist/model/destinationIndexPrefix.d.ts +0 -7
- package/dist/model/destinationIndexPrefix.d.ts.map +0 -1
package/dist/builds/browser.d.ts
CHANGED
|
@@ -47,8 +47,10 @@ export declare function ingestionClient(appId: string, apiKey: string, region: R
|
|
|
47
47
|
listSources({ itemsPerPage, page, type, authenticationID, sort, order, }?: import("../model").ListSourcesProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").ListSourcesResponse>;
|
|
48
48
|
listTasks({ itemsPerPage, page, action, enabled, sourceID, destinationID, triggerType, sort, order, }?: import("../model").ListTasksProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").ListTasksResponse>;
|
|
49
49
|
listTasksV1({ itemsPerPage, page, action, enabled, sourceID, destinationID, triggerType, sort, order, }?: import("../model").ListTasksV1Props, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").ListTasksResponseV1>;
|
|
50
|
-
|
|
50
|
+
listTransformationModels(requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("../model").TransformationModels>;
|
|
51
|
+
listTransformations({ itemsPerPage, page, sort, order }?: import("../model").ListTransformationsProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").ListTransformationsResponse>;
|
|
51
52
|
pushTask({ taskID, batchWriteParams }: import("../model").PushTaskProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("../model").RunResponse>;
|
|
53
|
+
runSource({ sourceID, runSourcePayload }: import("../model").RunSourceProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("../model").RunSourceResponse>;
|
|
52
54
|
runTask({ taskID }: import("../model").RunTaskProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("../model").RunResponse>;
|
|
53
55
|
runTaskV1({ taskID }: import("../model").RunTaskV1Props, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("../model").RunResponse>;
|
|
54
56
|
searchAuthentications(authenticationSearch: import("../model").AuthenticationSearch, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("../model").Authentication[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../../builds/browser.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAW5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAOrD,OAAO,EACL,gBAAgB,EAChB,MAAM,EACN,iBAAiB,EACjB,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,wBAAwB,CAAC;AAChC,cAAc,UAAU,CAAC;AAEzB;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAGjE,wBAAgB,eAAe,CAC7B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,aAAa
|
|
1
|
+
{"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../../builds/browser.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAW5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAOrD,OAAO,EACL,gBAAgB,EAChB,MAAM,EACN,iBAAiB,EACjB,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,wBAAwB,CAAC;AAChC,cAAc,UAAU,CAAC;AAEzB;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAGjE,wBAAgB,eAAe,CAC7B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyCxB"}
|
package/dist/builds/node.d.ts
CHANGED
|
@@ -47,8 +47,10 @@ export declare function ingestionClient(appId: string, apiKey: string, region: R
|
|
|
47
47
|
listSources({ itemsPerPage, page, type, authenticationID, sort, order, }?: import("../model").ListSourcesProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").ListSourcesResponse>;
|
|
48
48
|
listTasks({ itemsPerPage, page, action, enabled, sourceID, destinationID, triggerType, sort, order, }?: import("../model").ListTasksProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").ListTasksResponse>;
|
|
49
49
|
listTasksV1({ itemsPerPage, page, action, enabled, sourceID, destinationID, triggerType, sort, order, }?: import("../model").ListTasksV1Props, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").ListTasksResponseV1>;
|
|
50
|
-
|
|
50
|
+
listTransformationModels(requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("../model").TransformationModels>;
|
|
51
|
+
listTransformations({ itemsPerPage, page, sort, order }?: import("../model").ListTransformationsProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("../model").ListTransformationsResponse>;
|
|
51
52
|
pushTask({ taskID, batchWriteParams }: import("../model").PushTaskProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("../model").RunResponse>;
|
|
53
|
+
runSource({ sourceID, runSourcePayload }: import("../model").RunSourceProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("../model").RunSourceResponse>;
|
|
52
54
|
runTask({ taskID }: import("../model").RunTaskProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("../model").RunResponse>;
|
|
53
55
|
runTaskV1({ taskID }: import("../model").RunTaskV1Props, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("../model").RunResponse>;
|
|
54
56
|
searchAuthentications(authenticationSearch: import("../model").AuthenticationSearch, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("../model").Authentication[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../builds/node.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAU5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAGrD,OAAO,EACL,gBAAgB,EAChB,MAAM,EACN,iBAAiB,EACjB,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,wBAAwB,CAAC;AAChC,cAAc,UAAU,CAAC;AAEzB;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAGjE,wBAAgB,eAAe,CAC7B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,aAAa
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../builds/node.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAU5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAGrD,OAAO,EACL,gBAAgB,EAChB,MAAM,EACN,iBAAiB,EACjB,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,wBAAwB,CAAC;AAChC,cAAc,UAAU,CAAC;AAEzB;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAGjE,wBAAgB,eAAe,CAC7B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqCxB"}
|
package/dist/ingestion.cjs
CHANGED
|
@@ -4,7 +4,7 @@ var clientCommon = require('@algolia/client-common');
|
|
|
4
4
|
var requesterNodeHttp = require('@algolia/requester-node-http');
|
|
5
5
|
|
|
6
6
|
// 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.
|
|
7
|
-
const apiClientVersion = '1.0.0-beta.
|
|
7
|
+
const apiClientVersion = '1.0.0-beta.14';
|
|
8
8
|
const REGIONS = ['eu', 'us'];
|
|
9
9
|
function getDefaultHosts(region) {
|
|
10
10
|
const url = 'data.{region}.algolia.com'.replace('{region}', region);
|
|
@@ -1235,6 +1235,28 @@ function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
1235
1235
|
};
|
|
1236
1236
|
return transporter.request(request, requestOptions);
|
|
1237
1237
|
},
|
|
1238
|
+
/**
|
|
1239
|
+
* Retrieves a list of existing LLM transformation helpers.
|
|
1240
|
+
*
|
|
1241
|
+
* Required API Key ACLs:
|
|
1242
|
+
* - addObject
|
|
1243
|
+
* - deleteIndex
|
|
1244
|
+
* - editSettings.
|
|
1245
|
+
*
|
|
1246
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1247
|
+
*/
|
|
1248
|
+
listTransformationModels(requestOptions) {
|
|
1249
|
+
const requestPath = '/1/transformations/copilot';
|
|
1250
|
+
const headers = {};
|
|
1251
|
+
const queryParameters = {};
|
|
1252
|
+
const request = {
|
|
1253
|
+
method: 'GET',
|
|
1254
|
+
path: requestPath,
|
|
1255
|
+
queryParameters,
|
|
1256
|
+
headers,
|
|
1257
|
+
};
|
|
1258
|
+
return transporter.request(request, requestOptions);
|
|
1259
|
+
},
|
|
1238
1260
|
/**
|
|
1239
1261
|
* Retrieves a list of transformations.
|
|
1240
1262
|
*
|
|
@@ -1244,14 +1266,22 @@ function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
1244
1266
|
* - editSettings.
|
|
1245
1267
|
*
|
|
1246
1268
|
* @param listTransformations - The listTransformations object.
|
|
1269
|
+
* @param listTransformations.itemsPerPage - Number of items per page.
|
|
1270
|
+
* @param listTransformations.page - Page number of the paginated API response.
|
|
1247
1271
|
* @param listTransformations.sort - Property by which to sort the list.
|
|
1248
1272
|
* @param listTransformations.order - Sort order of the response, ascending or descending.
|
|
1249
1273
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1250
1274
|
*/
|
|
1251
|
-
listTransformations({ sort, order } = {}, requestOptions = undefined) {
|
|
1275
|
+
listTransformations({ itemsPerPage, page, sort, order } = {}, requestOptions = undefined) {
|
|
1252
1276
|
const requestPath = '/1/transformations';
|
|
1253
1277
|
const headers = {};
|
|
1254
1278
|
const queryParameters = {};
|
|
1279
|
+
if (itemsPerPage !== undefined) {
|
|
1280
|
+
queryParameters.itemsPerPage = itemsPerPage.toString();
|
|
1281
|
+
}
|
|
1282
|
+
if (page !== undefined) {
|
|
1283
|
+
queryParameters.page = page.toString();
|
|
1284
|
+
}
|
|
1255
1285
|
if (sort !== undefined) {
|
|
1256
1286
|
queryParameters.sort = sort.toString();
|
|
1257
1287
|
}
|
|
@@ -1301,6 +1331,35 @@ function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
1301
1331
|
};
|
|
1302
1332
|
return transporter.request(request, requestOptions);
|
|
1303
1333
|
},
|
|
1334
|
+
/**
|
|
1335
|
+
* Runs all tasks linked to a source, only available for Shopify sources. It will create 1 run per task.
|
|
1336
|
+
*
|
|
1337
|
+
* Required API Key ACLs:
|
|
1338
|
+
* - addObject
|
|
1339
|
+
* - deleteIndex
|
|
1340
|
+
* - editSettings.
|
|
1341
|
+
*
|
|
1342
|
+
* @param runSource - The runSource object.
|
|
1343
|
+
* @param runSource.sourceID - Unique identifier of a source.
|
|
1344
|
+
* @param runSource.runSourcePayload -.
|
|
1345
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1346
|
+
*/
|
|
1347
|
+
runSource({ sourceID, runSourcePayload }, requestOptions) {
|
|
1348
|
+
if (!sourceID) {
|
|
1349
|
+
throw new Error('Parameter `sourceID` is required when calling `runSource`.');
|
|
1350
|
+
}
|
|
1351
|
+
const requestPath = '/1/sources/{sourceID}/run'.replace('{sourceID}', encodeURIComponent(sourceID));
|
|
1352
|
+
const headers = {};
|
|
1353
|
+
const queryParameters = {};
|
|
1354
|
+
const request = {
|
|
1355
|
+
method: 'POST',
|
|
1356
|
+
path: requestPath,
|
|
1357
|
+
queryParameters,
|
|
1358
|
+
headers,
|
|
1359
|
+
data: runSourcePayload ? runSourcePayload : {},
|
|
1360
|
+
};
|
|
1361
|
+
return transporter.request(request, requestOptions);
|
|
1362
|
+
},
|
|
1304
1363
|
/**
|
|
1305
1364
|
* Runs a task. You can check the status of task runs with the observability endpoints.
|
|
1306
1365
|
*
|
|
@@ -676,7 +676,7 @@ function createXhrRequester() {
|
|
|
676
676
|
}
|
|
677
677
|
|
|
678
678
|
// 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.
|
|
679
|
-
const apiClientVersion = '1.0.0-beta.
|
|
679
|
+
const apiClientVersion = '1.0.0-beta.14';
|
|
680
680
|
const REGIONS = ['eu', 'us'];
|
|
681
681
|
function getDefaultHosts(region) {
|
|
682
682
|
const url = 'data.{region}.algolia.com'.replace('{region}', region);
|
|
@@ -1907,6 +1907,28 @@ function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
1907
1907
|
};
|
|
1908
1908
|
return transporter.request(request, requestOptions);
|
|
1909
1909
|
},
|
|
1910
|
+
/**
|
|
1911
|
+
* Retrieves a list of existing LLM transformation helpers.
|
|
1912
|
+
*
|
|
1913
|
+
* Required API Key ACLs:
|
|
1914
|
+
* - addObject
|
|
1915
|
+
* - deleteIndex
|
|
1916
|
+
* - editSettings.
|
|
1917
|
+
*
|
|
1918
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1919
|
+
*/
|
|
1920
|
+
listTransformationModels(requestOptions) {
|
|
1921
|
+
const requestPath = '/1/transformations/copilot';
|
|
1922
|
+
const headers = {};
|
|
1923
|
+
const queryParameters = {};
|
|
1924
|
+
const request = {
|
|
1925
|
+
method: 'GET',
|
|
1926
|
+
path: requestPath,
|
|
1927
|
+
queryParameters,
|
|
1928
|
+
headers,
|
|
1929
|
+
};
|
|
1930
|
+
return transporter.request(request, requestOptions);
|
|
1931
|
+
},
|
|
1910
1932
|
/**
|
|
1911
1933
|
* Retrieves a list of transformations.
|
|
1912
1934
|
*
|
|
@@ -1916,14 +1938,22 @@ function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
1916
1938
|
* - editSettings.
|
|
1917
1939
|
*
|
|
1918
1940
|
* @param listTransformations - The listTransformations object.
|
|
1941
|
+
* @param listTransformations.itemsPerPage - Number of items per page.
|
|
1942
|
+
* @param listTransformations.page - Page number of the paginated API response.
|
|
1919
1943
|
* @param listTransformations.sort - Property by which to sort the list.
|
|
1920
1944
|
* @param listTransformations.order - Sort order of the response, ascending or descending.
|
|
1921
1945
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1922
1946
|
*/
|
|
1923
|
-
listTransformations({ sort, order } = {}, requestOptions = undefined) {
|
|
1947
|
+
listTransformations({ itemsPerPage, page, sort, order } = {}, requestOptions = undefined) {
|
|
1924
1948
|
const requestPath = '/1/transformations';
|
|
1925
1949
|
const headers = {};
|
|
1926
1950
|
const queryParameters = {};
|
|
1951
|
+
if (itemsPerPage !== undefined) {
|
|
1952
|
+
queryParameters.itemsPerPage = itemsPerPage.toString();
|
|
1953
|
+
}
|
|
1954
|
+
if (page !== undefined) {
|
|
1955
|
+
queryParameters.page = page.toString();
|
|
1956
|
+
}
|
|
1927
1957
|
if (sort !== undefined) {
|
|
1928
1958
|
queryParameters.sort = sort.toString();
|
|
1929
1959
|
}
|
|
@@ -1973,6 +2003,35 @@ function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
1973
2003
|
};
|
|
1974
2004
|
return transporter.request(request, requestOptions);
|
|
1975
2005
|
},
|
|
2006
|
+
/**
|
|
2007
|
+
* Runs all tasks linked to a source, only available for Shopify sources. It will create 1 run per task.
|
|
2008
|
+
*
|
|
2009
|
+
* Required API Key ACLs:
|
|
2010
|
+
* - addObject
|
|
2011
|
+
* - deleteIndex
|
|
2012
|
+
* - editSettings.
|
|
2013
|
+
*
|
|
2014
|
+
* @param runSource - The runSource object.
|
|
2015
|
+
* @param runSource.sourceID - Unique identifier of a source.
|
|
2016
|
+
* @param runSource.runSourcePayload -.
|
|
2017
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2018
|
+
*/
|
|
2019
|
+
runSource({ sourceID, runSourcePayload }, requestOptions) {
|
|
2020
|
+
if (!sourceID) {
|
|
2021
|
+
throw new Error('Parameter `sourceID` is required when calling `runSource`.');
|
|
2022
|
+
}
|
|
2023
|
+
const requestPath = '/1/sources/{sourceID}/run'.replace('{sourceID}', encodeURIComponent(sourceID));
|
|
2024
|
+
const headers = {};
|
|
2025
|
+
const queryParameters = {};
|
|
2026
|
+
const request = {
|
|
2027
|
+
method: 'POST',
|
|
2028
|
+
path: requestPath,
|
|
2029
|
+
queryParameters,
|
|
2030
|
+
headers,
|
|
2031
|
+
data: runSourcePayload ? runSourcePayload : {},
|
|
2032
|
+
};
|
|
2033
|
+
return transporter.request(request, requestOptions);
|
|
2034
|
+
},
|
|
1976
2035
|
/**
|
|
1977
2036
|
* Runs a task. You can check the status of task runs with the observability endpoints.
|
|
1978
2037
|
*
|
|
@@ -2,7 +2,7 @@ import { createAuth, createTransporter, getAlgoliaAgent, DEFAULT_CONNECT_TIMEOUT
|
|
|
2
2
|
import { createHttpRequester } from '@algolia/requester-node-http';
|
|
3
3
|
|
|
4
4
|
// 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.
|
|
5
|
-
const apiClientVersion = '1.0.0-beta.
|
|
5
|
+
const apiClientVersion = '1.0.0-beta.14';
|
|
6
6
|
const REGIONS = ['eu', 'us'];
|
|
7
7
|
function getDefaultHosts(region) {
|
|
8
8
|
const url = 'data.{region}.algolia.com'.replace('{region}', region);
|
|
@@ -1233,6 +1233,28 @@ function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
1233
1233
|
};
|
|
1234
1234
|
return transporter.request(request, requestOptions);
|
|
1235
1235
|
},
|
|
1236
|
+
/**
|
|
1237
|
+
* Retrieves a list of existing LLM transformation helpers.
|
|
1238
|
+
*
|
|
1239
|
+
* Required API Key ACLs:
|
|
1240
|
+
* - addObject
|
|
1241
|
+
* - deleteIndex
|
|
1242
|
+
* - editSettings.
|
|
1243
|
+
*
|
|
1244
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1245
|
+
*/
|
|
1246
|
+
listTransformationModels(requestOptions) {
|
|
1247
|
+
const requestPath = '/1/transformations/copilot';
|
|
1248
|
+
const headers = {};
|
|
1249
|
+
const queryParameters = {};
|
|
1250
|
+
const request = {
|
|
1251
|
+
method: 'GET',
|
|
1252
|
+
path: requestPath,
|
|
1253
|
+
queryParameters,
|
|
1254
|
+
headers,
|
|
1255
|
+
};
|
|
1256
|
+
return transporter.request(request, requestOptions);
|
|
1257
|
+
},
|
|
1236
1258
|
/**
|
|
1237
1259
|
* Retrieves a list of transformations.
|
|
1238
1260
|
*
|
|
@@ -1242,14 +1264,22 @@ function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
1242
1264
|
* - editSettings.
|
|
1243
1265
|
*
|
|
1244
1266
|
* @param listTransformations - The listTransformations object.
|
|
1267
|
+
* @param listTransformations.itemsPerPage - Number of items per page.
|
|
1268
|
+
* @param listTransformations.page - Page number of the paginated API response.
|
|
1245
1269
|
* @param listTransformations.sort - Property by which to sort the list.
|
|
1246
1270
|
* @param listTransformations.order - Sort order of the response, ascending or descending.
|
|
1247
1271
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1248
1272
|
*/
|
|
1249
|
-
listTransformations({ sort, order } = {}, requestOptions = undefined) {
|
|
1273
|
+
listTransformations({ itemsPerPage, page, sort, order } = {}, requestOptions = undefined) {
|
|
1250
1274
|
const requestPath = '/1/transformations';
|
|
1251
1275
|
const headers = {};
|
|
1252
1276
|
const queryParameters = {};
|
|
1277
|
+
if (itemsPerPage !== undefined) {
|
|
1278
|
+
queryParameters.itemsPerPage = itemsPerPage.toString();
|
|
1279
|
+
}
|
|
1280
|
+
if (page !== undefined) {
|
|
1281
|
+
queryParameters.page = page.toString();
|
|
1282
|
+
}
|
|
1253
1283
|
if (sort !== undefined) {
|
|
1254
1284
|
queryParameters.sort = sort.toString();
|
|
1255
1285
|
}
|
|
@@ -1299,6 +1329,35 @@ function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
1299
1329
|
};
|
|
1300
1330
|
return transporter.request(request, requestOptions);
|
|
1301
1331
|
},
|
|
1332
|
+
/**
|
|
1333
|
+
* Runs all tasks linked to a source, only available for Shopify sources. It will create 1 run per task.
|
|
1334
|
+
*
|
|
1335
|
+
* Required API Key ACLs:
|
|
1336
|
+
* - addObject
|
|
1337
|
+
* - deleteIndex
|
|
1338
|
+
* - editSettings.
|
|
1339
|
+
*
|
|
1340
|
+
* @param runSource - The runSource object.
|
|
1341
|
+
* @param runSource.sourceID - Unique identifier of a source.
|
|
1342
|
+
* @param runSource.runSourcePayload -.
|
|
1343
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1344
|
+
*/
|
|
1345
|
+
runSource({ sourceID, runSourcePayload }, requestOptions) {
|
|
1346
|
+
if (!sourceID) {
|
|
1347
|
+
throw new Error('Parameter `sourceID` is required when calling `runSource`.');
|
|
1348
|
+
}
|
|
1349
|
+
const requestPath = '/1/sources/{sourceID}/run'.replace('{sourceID}', encodeURIComponent(sourceID));
|
|
1350
|
+
const headers = {};
|
|
1351
|
+
const queryParameters = {};
|
|
1352
|
+
const request = {
|
|
1353
|
+
method: 'POST',
|
|
1354
|
+
path: requestPath,
|
|
1355
|
+
queryParameters,
|
|
1356
|
+
headers,
|
|
1357
|
+
data: runSourcePayload ? runSourcePayload : {},
|
|
1358
|
+
};
|
|
1359
|
+
return transporter.request(request, requestOptions);
|
|
1360
|
+
},
|
|
1302
1361
|
/**
|
|
1303
1362
|
* Runs a task. You can check the status of task runs with the observability endpoints.
|
|
1304
1363
|
*
|
package/dist/ingestion.umd.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! ingestion.umd.js | 1.0.0-beta.
|
|
2
|
-
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r((e="undefined"!=typeof globalThis?globalThis:e||self)["@algolia/ingestion"]={})}(this,(function(e){"use strict";function r(e){let r;const t=`algolia-client-js-${e.key}`;function a(){return void 0===r&&(r=e.localStorage||window.localStorage),r}function n(){return JSON.parse(a().getItem(t)||"{}")}function s(e){a().setItem(t,JSON.stringify(e))}return{get:(r,t,a={miss:()=>Promise.resolve()})=>Promise.resolve().then((()=>(function(){const r=e.timeToLive?1e3*e.timeToLive:null,t=n(),a=Object.fromEntries(Object.entries(t).filter((([,e])=>void 0!==e.timestamp)));if(s(a),!r)return;s(Object.fromEntries(Object.entries(a).filter((([,e])=>{const t=(new Date).getTime();return!(e.timestamp+r<t)}))))}(),n()[JSON.stringify(r)]))).then((e=>Promise.all([e?e.value:t(),void 0!==e]))).then((([e,r])=>Promise.all([e,r||a.miss(e)]))).then((([e])=>e)),set:(e,r)=>Promise.resolve().then((()=>{const s=n();return s[JSON.stringify(e)]={timestamp:(new Date).getTime(),value:r},a().setItem(t,JSON.stringify(s)),r})),delete:e=>Promise.resolve().then((()=>{const r=n();delete r[JSON.stringify(e)],a().setItem(t,JSON.stringify(r))})),clear:()=>Promise.resolve().then((()=>{a().removeItem(t)}))}}function t(e){const r=[...e.caches],a=r.shift();return void 0===a?{get:(e,r,t={miss:()=>Promise.resolve()})=>r().then((e=>Promise.all([e,t.miss(e)]))).then((([e])=>e)),set:(e,r)=>Promise.resolve(r),delete:e=>Promise.resolve(),clear:()=>Promise.resolve()}:{get:(e,n,s={miss:()=>Promise.resolve()})=>a.get(e,n,s).catch((()=>t({caches:r}).get(e,n,s))),set:(e,n)=>a.set(e,n).catch((()=>t({caches:r}).set(e,n))),delete:e=>a.delete(e).catch((()=>t({caches:r}).delete(e))),clear:()=>a.clear().catch((()=>t({caches:r}).clear()))}}function a(e={serializable:!0}){let r={};return{get(t,a,n={miss:()=>Promise.resolve()}){const s=JSON.stringify(t);if(s in r)return Promise.resolve(e.serializable?JSON.parse(r[s]):r[s]);const o=a();return o.then((e=>n.miss(e))).then((()=>o))},set:(t,a)=>(r[JSON.stringify(t)]=e.serializable?JSON.stringify(a):a,Promise.resolve(a)),delete:e=>(delete r[JSON.stringify(e)],Promise.resolve()),clear:()=>(r={},Promise.resolve())}}const n=12e4;function s(e,r="up"){const t=Date.now();return{...e,status:r,lastUpdate:t,isUp:function(){return"up"===r||Date.now()-t>n},isTimedOut:function(){return"timed out"===r&&Date.now()-t<=n}}}function o(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,r||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}class i extends Error{constructor(e,r){super(e),o(this,"name","AlgoliaError"),r&&(this.name=r)}}class u extends i{constructor(e,r,t){super(e,t),o(this,"stackTrace",void 0),this.stackTrace=r}}class c extends u{constructor(e){super("Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support.",e,"RetryError")}}class d extends u{constructor(e,r,t,a="ApiError"){super(e,t,a),o(this,"status",void 0),this.status=r}}class h extends i{constructor(e,r){super(e,"DeserializationError"),o(this,"response",void 0),this.response=r}}class m extends d{constructor(e,r,t,a){super(e,r,a,"DetailedApiError"),o(this,"error",void 0),this.error=t}}function l(e,r,t){const a=(n=t,Object.keys(n).filter((e=>void 0!==n[e])).sort().map((e=>`${e}=${encodeURIComponent("[object Array]"===Object.prototype.toString.call(n[e])?n[e].join(","):n[e]).replaceAll("+","%20")}`)).join("&"));var n;let s=`${e.protocol}://${e.url}${e.port?`:${e.port}`:""}/${"/"===r.charAt(0)?r.substring(1):r}`;return a.length&&(s+=`?${a}`),s}function p(e){const r=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return{...e,request:{...e.request,headers:{...e.request.headers,...r}}}}function g({hosts:e,hostsCache:r,baseHeaders:t,baseQueryParameters:a,algoliaAgent:n,timeouts:o,requester:i,requestsCache:u,responsesCache:g}){async function w(u,g,w=!0){const P=[],f=function(e,r){if("GET"===e.method||void 0===e.data&&void 0===r.data)return;const t=Array.isArray(e.data)?e.data:{...e.data,...r.data};return JSON.stringify(t)}(u,g),q=function(e,r,t){const a={Accept:"application/json",...e,...r,...t},n={};return Object.keys(a).forEach((e=>{const r=a[e];n[e.toLowerCase()]=r})),n}(t,u.headers,g.headers),D="GET"===u.method?{...u.data,...g.data}:{},I={...a,...u.queryParameters,...D};if(n.value&&(I["x-algolia-agent"]=n.value),g&&g.queryParameters)for(const e of Object.keys(g.queryParameters))g.queryParameters[e]&&"[object Object]"!==Object.prototype.toString.call(g.queryParameters[e])?I[e]=g.queryParameters[e].toString():I[e]=g.queryParameters[e];let T=0;const k=async(e,t)=>{const a=e.pop();if(void 0===a)throw new c(function(e){return e.map((e=>p(e)))}(P));let n=w?g.timeouts?.read||o.read:g.timeouts?.write||o.write;const D={data:f,headers:q,method:u.method,url:l(a,u.path,I),connectTimeout:t(T,g.timeouts?.connect||o.connect),responseTimeout:t(T,n)},y=r=>{const t={request:D,response:r,host:a,triesLeft:e.length};return P.push(t),t},E=await i.send(D);if(function({isTimedOut:e,status:r}){return e||function({isTimedOut:e,status:r}){return!e&&!~~r}({isTimedOut:e,status:r})||2!=~~(r/100)&&4!=~~(r/100)}(E)){const n=y(E);return E.isTimedOut&&T++,console.log("Retryable failure",p(n)),await r.set(a,s(a,E.isTimedOut?"timed out":"down")),k(e,t)}if(function({status:e}){return 2==~~(e/100)}(E))return function(e){try{return JSON.parse(e.content)}catch(r){throw new h(r.message,e)}}(E);throw y(E),function({content:e,status:r},t){try{const a=JSON.parse(e);return"error"in a?new m(a.message,r,a.error,t):new d(a.message,r,t)}catch(e){}return new d(e,r,t)}(E,P)},y=e.filter((e=>"readWrite"===e.accept||(w?"read"===e.accept:"write"===e.accept))),E=await async function(e){const t=await Promise.all(e.map((e=>r.get(e,(()=>Promise.resolve(s(e))))))),a=t.filter((e=>e.isUp())),n=t.filter((e=>e.isTimedOut())),o=[...a,...n];return{hosts:o.length>0?o:e,getTimeout:(e,r)=>(0===n.length&&0===e?1:n.length+3+e)*r}}(y);return k([...E.hosts].reverse(),E.getTimeout)}return{hostsCache:r,requester:i,timeouts:o,algoliaAgent:n,baseHeaders:t,baseQueryParameters:a,hosts:e,request:function(e,r={}){const n=e.useReadTransporter||"GET"===e.method;if(!n)return w(e,r,n);const s=()=>w(e,r);if(!0!==(r.cacheable||e.cacheable))return s();const o={request:e,requestOptions:r,transporter:{queryParameters:a,headers:t}};return g.get(o,(()=>u.get(o,(()=>u.set(o,s()).then((e=>Promise.all([u.delete(o),e])),(e=>Promise.all([u.delete(o),Promise.reject(e)]))).then((([e,r])=>r))))),{miss:e=>g.set(o,e)})},requestsCache:u,responsesCache:g}}function w({algoliaAgents:e,client:r,version:t}){const a=function(e){const r={value:`Algolia for JavaScript (${e})`,add(e){const t=`; ${e.segment}${void 0!==e.version?` (${e.version})`:""}`;return-1===r.value.indexOf(t)&&(r.value=`${r.value}${t}`),r}};return r}(t).add({segment:r,version:t});return e.forEach((e=>a.add(e))),a}const P="1.0.0-beta.13",f=["eu","us"];e.apiClientVersion=P,e.ingestionClient=function(e,n,s,o){if(!e||"string"!=typeof e)throw new Error("`appId` is missing.");if(!n||"string"!=typeof n)throw new Error("`apiKey` is missing.");if(!s||s&&("string"!=typeof s||!f.includes(s)))throw new Error(`\`region\` is required and must be one of the following: ${f.join(", ")}`);return function({appId:e,apiKey:r,authMode:t,algoliaAgents:a,region:n,...s}){const o=function(e,r,t="WithinHeaders"){const a={"x-algolia-api-key":r,"x-algolia-application-id":e};return{headers:()=>"WithinHeaders"===t?a:{},queryParameters:()=>"WithinQueryParameters"===t?a:{}}}(e,r,t),i=g({hosts:(u=n,[{url:"data.{region}.algolia.com".replace("{region}",u),accept:"readWrite",protocol:"https"}]),...s,algoliaAgent:w({algoliaAgents:a,client:"Ingestion",version:P}),baseHeaders:{"content-type":"text/plain",...o.headers(),...s.baseHeaders},baseQueryParameters:{...o.queryParameters(),...s.baseQueryParameters}});var u;return{transporter:i,appId:e,clearCache:()=>Promise.all([i.requestsCache.clear(),i.responsesCache.clear()]).then((()=>{})),get _ua(){return i.algoliaAgent.value},addAlgoliaAgent(e,r){i.algoliaAgent.add({segment:e,version:r})},createAuthentication(e,r){if(!e)throw new Error("Parameter `authenticationCreate` is required when calling `createAuthentication`.");if(!e.type)throw new Error("Parameter `authenticationCreate.type` is required when calling `createAuthentication`.");if(!e.name)throw new Error("Parameter `authenticationCreate.name` is required when calling `createAuthentication`.");if(!e.input)throw new Error("Parameter `authenticationCreate.input` is required when calling `createAuthentication`.");const t={method:"POST",path:"/1/authentications",queryParameters:{},headers:{},data:e};return i.request(t,r)},createDestination(e,r){if(!e)throw new Error("Parameter `destinationCreate` is required when calling `createDestination`.");if(!e.type)throw new Error("Parameter `destinationCreate.type` is required when calling `createDestination`.");if(!e.name)throw new Error("Parameter `destinationCreate.name` is required when calling `createDestination`.");if(!e.input)throw new Error("Parameter `destinationCreate.input` is required when calling `createDestination`.");const t={method:"POST",path:"/1/destinations",queryParameters:{},headers:{},data:e};return i.request(t,r)},createSource(e,r){if(!e)throw new Error("Parameter `sourceCreate` is required when calling `createSource`.");if(!e.type)throw new Error("Parameter `sourceCreate.type` is required when calling `createSource`.");if(!e.name)throw new Error("Parameter `sourceCreate.name` is required when calling `createSource`.");if(!e.input)throw new Error("Parameter `sourceCreate.input` is required when calling `createSource`.");const t={method:"POST",path:"/1/sources",queryParameters:{},headers:{},data:e};return i.request(t,r)},createTask(e,r){if(!e)throw new Error("Parameter `taskCreate` is required when calling `createTask`.");if(!e.sourceID)throw new Error("Parameter `taskCreate.sourceID` is required when calling `createTask`.");if(!e.destinationID)throw new Error("Parameter `taskCreate.destinationID` is required when calling `createTask`.");if(!e.action)throw new Error("Parameter `taskCreate.action` is required when calling `createTask`.");const t={method:"POST",path:"/2/tasks",queryParameters:{},headers:{},data:e};return i.request(t,r)},createTaskV1(e,r){if(!e)throw new Error("Parameter `taskCreate` is required when calling `createTaskV1`.");if(!e.sourceID)throw new Error("Parameter `taskCreate.sourceID` is required when calling `createTaskV1`.");if(!e.destinationID)throw new Error("Parameter `taskCreate.destinationID` is required when calling `createTaskV1`.");if(!e.trigger)throw new Error("Parameter `taskCreate.trigger` is required when calling `createTaskV1`.");if(!e.action)throw new Error("Parameter `taskCreate.action` is required when calling `createTaskV1`.");const t={method:"POST",path:"/1/tasks",queryParameters:{},headers:{},data:e};return i.request(t,r)},createTransformation(e,r){if(!e)throw new Error("Parameter `transformationCreate` is required when calling `createTransformation`.");if(!e.code)throw new Error("Parameter `transformationCreate.code` is required when calling `createTransformation`.");if(!e.name)throw new Error("Parameter `transformationCreate.name` is required when calling `createTransformation`.");const t={method:"POST",path:"/1/transformations",queryParameters:{},headers:{},data:e};return i.request(t,r)},customDelete({path:e,parameters:r},t){if(!e)throw new Error("Parameter `path` is required when calling `customDelete`.");const a={method:"DELETE",path:"/{path}".replace("{path}",e),queryParameters:r||{},headers:{}};return i.request(a,t)},customGet({path:e,parameters:r},t){if(!e)throw new Error("Parameter `path` is required when calling `customGet`.");const a={method:"GET",path:"/{path}".replace("{path}",e),queryParameters:r||{},headers:{}};return i.request(a,t)},customPost({path:e,parameters:r,body:t},a){if(!e)throw new Error("Parameter `path` is required when calling `customPost`.");const n={method:"POST",path:"/{path}".replace("{path}",e),queryParameters:r||{},headers:{},data:t||{}};return i.request(n,a)},customPut({path:e,parameters:r,body:t},a){if(!e)throw new Error("Parameter `path` is required when calling `customPut`.");const n={method:"PUT",path:"/{path}".replace("{path}",e),queryParameters:r||{},headers:{},data:t||{}};return i.request(n,a)},deleteAuthentication({authenticationID:e},r){if(!e)throw new Error("Parameter `authenticationID` is required when calling `deleteAuthentication`.");const t={method:"DELETE",path:"/1/authentications/{authenticationID}".replace("{authenticationID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},deleteDestination({destinationID:e},r){if(!e)throw new Error("Parameter `destinationID` is required when calling `deleteDestination`.");const t={method:"DELETE",path:"/1/destinations/{destinationID}".replace("{destinationID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},deleteSource({sourceID:e},r){if(!e)throw new Error("Parameter `sourceID` is required when calling `deleteSource`.");const t={method:"DELETE",path:"/1/sources/{sourceID}".replace("{sourceID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},deleteTask({taskID:e},r){if(!e)throw new Error("Parameter `taskID` is required when calling `deleteTask`.");const t={method:"DELETE",path:"/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},deleteTaskV1({taskID:e},r){if(!e)throw new Error("Parameter `taskID` is required when calling `deleteTaskV1`.");const t={method:"DELETE",path:"/1/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},deleteTransformation({transformationID:e},r){if(!e)throw new Error("Parameter `transformationID` is required when calling `deleteTransformation`.");const t={method:"DELETE",path:"/1/transformations/{transformationID}".replace("{transformationID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},disableTask({taskID:e},r){if(!e)throw new Error("Parameter `taskID` is required when calling `disableTask`.");const t={method:"PUT",path:"/2/tasks/{taskID}/disable".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},disableTaskV1({taskID:e},r){if(!e)throw new Error("Parameter `taskID` is required when calling `disableTaskV1`.");const t={method:"PUT",path:"/1/tasks/{taskID}/disable".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},enableTask({taskID:e},r){if(!e)throw new Error("Parameter `taskID` is required when calling `enableTask`.");const t={method:"PUT",path:"/2/tasks/{taskID}/enable".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},enableTaskV1({taskID:e},r){if(!e)throw new Error("Parameter `taskID` is required when calling `enableTaskV1`.");const t={method:"PUT",path:"/1/tasks/{taskID}/enable".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},getAuthentication({authenticationID:e},r){if(!e)throw new Error("Parameter `authenticationID` is required when calling `getAuthentication`.");const t={method:"GET",path:"/1/authentications/{authenticationID}".replace("{authenticationID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},getDestination({destinationID:e},r){if(!e)throw new Error("Parameter `destinationID` is required when calling `getDestination`.");const t={method:"GET",path:"/1/destinations/{destinationID}".replace("{destinationID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},getEvent({runID:e,eventID:r},t){if(!e)throw new Error("Parameter `runID` is required when calling `getEvent`.");if(!r)throw new Error("Parameter `eventID` is required when calling `getEvent`.");const a={method:"GET",path:"/1/runs/{runID}/events/{eventID}".replace("{runID}",encodeURIComponent(e)).replace("{eventID}",encodeURIComponent(r)),queryParameters:{},headers:{}};return i.request(a,t)},getRun({runID:e},r){if(!e)throw new Error("Parameter `runID` is required when calling `getRun`.");const t={method:"GET",path:"/1/runs/{runID}".replace("{runID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},getSource({sourceID:e},r){if(!e)throw new Error("Parameter `sourceID` is required when calling `getSource`.");const t={method:"GET",path:"/1/sources/{sourceID}".replace("{sourceID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},getTask({taskID:e},r){if(!e)throw new Error("Parameter `taskID` is required when calling `getTask`.");const t={method:"GET",path:"/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},getTaskV1({taskID:e},r){if(!e)throw new Error("Parameter `taskID` is required when calling `getTaskV1`.");const t={method:"GET",path:"/1/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},getTransformation({transformationID:e},r){if(!e)throw new Error("Parameter `transformationID` is required when calling `getTransformation`.");const t={method:"GET",path:"/1/transformations/{transformationID}".replace("{transformationID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},listAuthentications({itemsPerPage:e,page:r,type:t,platform:a,sort:n,order:s}={},o=void 0){const u={};void 0!==e&&(u.itemsPerPage=e.toString()),void 0!==r&&(u.page=r.toString()),void 0!==t&&(u.type=t.toString()),void 0!==a&&(u.platform=a.toString()),void 0!==n&&(u.sort=n.toString()),void 0!==s&&(u.order=s.toString());const c={method:"GET",path:"/1/authentications",queryParameters:u,headers:{}};return i.request(c,o)},listDestinations({itemsPerPage:e,page:r,type:t,authenticationID:a,sort:n,order:s}={},o=void 0){const u={};void 0!==e&&(u.itemsPerPage=e.toString()),void 0!==r&&(u.page=r.toString()),void 0!==t&&(u.type=t.toString()),void 0!==a&&(u.authenticationID=a.toString()),void 0!==n&&(u.sort=n.toString()),void 0!==s&&(u.order=s.toString());const c={method:"GET",path:"/1/destinations",queryParameters:u,headers:{}};return i.request(c,o)},listEvents({runID:e,itemsPerPage:r,page:t,status:a,type:n,sort:s,order:o,startDate:u,endDate:c},d){if(!e)throw new Error("Parameter `runID` is required when calling `listEvents`.");const h="/1/runs/{runID}/events".replace("{runID}",encodeURIComponent(e)),m={};void 0!==r&&(m.itemsPerPage=r.toString()),void 0!==t&&(m.page=t.toString()),void 0!==a&&(m.status=a.toString()),void 0!==n&&(m.type=n.toString()),void 0!==s&&(m.sort=s.toString()),void 0!==o&&(m.order=o.toString()),void 0!==u&&(m.startDate=u.toString()),void 0!==c&&(m.endDate=c.toString());const l={method:"GET",path:h,queryParameters:m,headers:{}};return i.request(l,d)},listRuns({itemsPerPage:e,page:r,status:t,taskID:a,sort:n,order:s,startDate:o,endDate:u}={},c=void 0){const d={};void 0!==e&&(d.itemsPerPage=e.toString()),void 0!==r&&(d.page=r.toString()),void 0!==t&&(d.status=t.toString()),void 0!==a&&(d.taskID=a.toString()),void 0!==n&&(d.sort=n.toString()),void 0!==s&&(d.order=s.toString()),void 0!==o&&(d.startDate=o.toString()),void 0!==u&&(d.endDate=u.toString());const h={method:"GET",path:"/1/runs",queryParameters:d,headers:{}};return i.request(h,c)},listSources({itemsPerPage:e,page:r,type:t,authenticationID:a,sort:n,order:s}={},o=void 0){const u={};void 0!==e&&(u.itemsPerPage=e.toString()),void 0!==r&&(u.page=r.toString()),void 0!==t&&(u.type=t.toString()),void 0!==a&&(u.authenticationID=a.toString()),void 0!==n&&(u.sort=n.toString()),void 0!==s&&(u.order=s.toString());const c={method:"GET",path:"/1/sources",queryParameters:u,headers:{}};return i.request(c,o)},listTasks({itemsPerPage:e,page:r,action:t,enabled:a,sourceID:n,destinationID:s,triggerType:o,sort:u,order:c}={},d=void 0){const h={};void 0!==e&&(h.itemsPerPage=e.toString()),void 0!==r&&(h.page=r.toString()),void 0!==t&&(h.action=t.toString()),void 0!==a&&(h.enabled=a.toString()),void 0!==n&&(h.sourceID=n.toString()),void 0!==s&&(h.destinationID=s.toString()),void 0!==o&&(h.triggerType=o.toString()),void 0!==u&&(h.sort=u.toString()),void 0!==c&&(h.order=c.toString());const m={method:"GET",path:"/2/tasks",queryParameters:h,headers:{}};return i.request(m,d)},listTasksV1({itemsPerPage:e,page:r,action:t,enabled:a,sourceID:n,destinationID:s,triggerType:o,sort:u,order:c}={},d=void 0){const h={};void 0!==e&&(h.itemsPerPage=e.toString()),void 0!==r&&(h.page=r.toString()),void 0!==t&&(h.action=t.toString()),void 0!==a&&(h.enabled=a.toString()),void 0!==n&&(h.sourceID=n.toString()),void 0!==s&&(h.destinationID=s.toString()),void 0!==o&&(h.triggerType=o.toString()),void 0!==u&&(h.sort=u.toString()),void 0!==c&&(h.order=c.toString());const m={method:"GET",path:"/1/tasks",queryParameters:h,headers:{}};return i.request(m,d)},listTransformations({sort:e,order:r}={},t=void 0){const a={};void 0!==e&&(a.sort=e.toString()),void 0!==r&&(a.order=r.toString());const n={method:"GET",path:"/1/transformations",queryParameters:a,headers:{}};return i.request(n,t)},pushTask({taskID:e,batchWriteParams:r},t){if(!e)throw new Error("Parameter `taskID` is required when calling `pushTask`.");if(!r)throw new Error("Parameter `batchWriteParams` is required when calling `pushTask`.");if(!r.requests)throw new Error("Parameter `batchWriteParams.requests` is required when calling `pushTask`.");const a={method:"POST",path:"/2/tasks/{taskID}/push".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{},data:r};return i.request(a,t)},runTask({taskID:e},r){if(!e)throw new Error("Parameter `taskID` is required when calling `runTask`.");const t={method:"POST",path:"/2/tasks/{taskID}/run".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},runTaskV1({taskID:e},r){if(!e)throw new Error("Parameter `taskID` is required when calling `runTaskV1`.");const t={method:"POST",path:"/1/tasks/{taskID}/run".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},searchAuthentications(e,r){if(!e)throw new Error("Parameter `authenticationSearch` is required when calling `searchAuthentications`.");if(!e.authenticationIDs)throw new Error("Parameter `authenticationSearch.authenticationIDs` is required when calling `searchAuthentications`.");const t={method:"POST",path:"/1/authentications/search",queryParameters:{},headers:{},data:e};return i.request(t,r)},searchDestinations(e,r){if(!e)throw new Error("Parameter `destinationSearch` is required when calling `searchDestinations`.");if(!e.destinationIDs)throw new Error("Parameter `destinationSearch.destinationIDs` is required when calling `searchDestinations`.");const t={method:"POST",path:"/1/destinations/search",queryParameters:{},headers:{},data:e};return i.request(t,r)},searchSources(e,r){if(!e)throw new Error("Parameter `sourceSearch` is required when calling `searchSources`.");if(!e.sourceIDs)throw new Error("Parameter `sourceSearch.sourceIDs` is required when calling `searchSources`.");const t={method:"POST",path:"/1/sources/search",queryParameters:{},headers:{},data:e};return i.request(t,r)},searchTasks(e,r){if(!e)throw new Error("Parameter `taskSearch` is required when calling `searchTasks`.");if(!e.taskIDs)throw new Error("Parameter `taskSearch.taskIDs` is required when calling `searchTasks`.");const t={method:"POST",path:"/2/tasks/search",queryParameters:{},headers:{},data:e};return i.request(t,r)},searchTasksV1(e,r){if(!e)throw new Error("Parameter `taskSearch` is required when calling `searchTasksV1`.");if(!e.taskIDs)throw new Error("Parameter `taskSearch.taskIDs` is required when calling `searchTasksV1`.");const t={method:"POST",path:"/1/tasks/search",queryParameters:{},headers:{},data:e};return i.request(t,r)},searchTransformations(e,r){if(!e)throw new Error("Parameter `transformationSearch` is required when calling `searchTransformations`.");if(!e.transformationsIDs)throw new Error("Parameter `transformationSearch.transformationsIDs` is required when calling `searchTransformations`.");const t={method:"POST",path:"/1/transformations/search",queryParameters:{},headers:{},data:e};return i.request(t,r)},triggerDockerSourceDiscover({sourceID:e},r){if(!e)throw new Error("Parameter `sourceID` is required when calling `triggerDockerSourceDiscover`.");const t={method:"POST",path:"/1/sources/{sourceID}/discover".replace("{sourceID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},tryTransformations(e,r){if(!e)throw new Error("Parameter `transformationTry` is required when calling `tryTransformations`.");if(!e.code)throw new Error("Parameter `transformationTry.code` is required when calling `tryTransformations`.");if(!e.sampleRecord)throw new Error("Parameter `transformationTry.sampleRecord` is required when calling `tryTransformations`.");const t={method:"POST",path:"/1/transformations/try",queryParameters:{},headers:{},data:e};return i.request(t,r)},updateAuthentication({authenticationID:e,authenticationUpdate:r},t){if(!e)throw new Error("Parameter `authenticationID` is required when calling `updateAuthentication`.");if(!r)throw new Error("Parameter `authenticationUpdate` is required when calling `updateAuthentication`.");const a={method:"PATCH",path:"/1/authentications/{authenticationID}".replace("{authenticationID}",encodeURIComponent(e)),queryParameters:{},headers:{},data:r};return i.request(a,t)},updateDestination({destinationID:e,destinationUpdate:r},t){if(!e)throw new Error("Parameter `destinationID` is required when calling `updateDestination`.");if(!r)throw new Error("Parameter `destinationUpdate` is required when calling `updateDestination`.");const a={method:"PATCH",path:"/1/destinations/{destinationID}".replace("{destinationID}",encodeURIComponent(e)),queryParameters:{},headers:{},data:r};return i.request(a,t)},updateSource({sourceID:e,sourceUpdate:r},t){if(!e)throw new Error("Parameter `sourceID` is required when calling `updateSource`.");if(!r)throw new Error("Parameter `sourceUpdate` is required when calling `updateSource`.");const a={method:"PATCH",path:"/1/sources/{sourceID}".replace("{sourceID}",encodeURIComponent(e)),queryParameters:{},headers:{},data:r};return i.request(a,t)},updateTask({taskID:e,taskUpdate:r},t){if(!e)throw new Error("Parameter `taskID` is required when calling `updateTask`.");if(!r)throw new Error("Parameter `taskUpdate` is required when calling `updateTask`.");const a={method:"PATCH",path:"/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{},data:r};return i.request(a,t)},updateTaskV1({taskID:e,taskUpdate:r},t){if(!e)throw new Error("Parameter `taskID` is required when calling `updateTaskV1`.");if(!r)throw new Error("Parameter `taskUpdate` is required when calling `updateTaskV1`.");const a={method:"PATCH",path:"/1/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{},data:r};return i.request(a,t)},updateTransformation({transformationID:e,transformationCreate:r},t){if(!e)throw new Error("Parameter `transformationID` is required when calling `updateTransformation`.");if(!r)throw new Error("Parameter `transformationCreate` is required when calling `updateTransformation`.");if(!r.code)throw new Error("Parameter `transformationCreate.code` is required when calling `updateTransformation`.");if(!r.name)throw new Error("Parameter `transformationCreate.name` is required when calling `updateTransformation`.");const a={method:"PUT",path:"/1/transformations/{transformationID}".replace("{transformationID}",encodeURIComponent(e)),queryParameters:{},headers:{},data:r};return i.request(a,t)},validateSource(e,r=void 0){const t={method:"POST",path:"/1/sources/validate",queryParameters:{},headers:{},data:e||{}};return i.request(t,r)},validateSourceBeforeUpdate({sourceID:e,sourceUpdate:r},t){if(!e)throw new Error("Parameter `sourceID` is required when calling `validateSourceBeforeUpdate`.");if(!r)throw new Error("Parameter `sourceUpdate` is required when calling `validateSourceBeforeUpdate`.");const a={method:"POST",path:"/1/sources/{sourceID}/validate".replace("{sourceID}",encodeURIComponent(e)),queryParameters:{},headers:{},data:r};return i.request(a,t)}}}({appId:e,apiKey:n,region:s,timeouts:{connect:1e3,read:2e3,write:3e4},requester:{send:function(e){return new Promise((r=>{const t=new XMLHttpRequest;t.open(e.method,e.url,!0),Object.keys(e.headers).forEach((r=>t.setRequestHeader(r,e.headers[r])));const a=(e,a)=>setTimeout((()=>{t.abort(),r({status:0,content:a,isTimedOut:!0})}),e),n=a(e.connectTimeout,"Connection timeout");let s;t.onreadystatechange=()=>{t.readyState>t.OPENED&&void 0===s&&(clearTimeout(n),s=a(e.responseTimeout,"Socket timeout"))},t.onerror=()=>{0===t.status&&(clearTimeout(n),clearTimeout(s),r({content:t.responseText||"Network request failed",status:t.status,isTimedOut:!1}))},t.onload=()=>{clearTimeout(n),clearTimeout(s),r({content:t.responseText,status:t.status,isTimedOut:!1})},t.send(e.data)}))}},algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:a(),requestsCache:a({serializable:!1}),hostsCache:t({caches:[r({key:`${P}-${e}`}),a()]}),...o})},e.isOnDemandTrigger=function(e){return"onDemand"===e.type},e.isScheduleTrigger=function(e){return"schedule"===e.type},e.isSubscriptionTrigger=function(e){return"subscription"===e.type}}));
|
|
1
|
+
/*! ingestion.umd.js | 1.0.0-beta.14 | © Algolia, inc. | https://github.com/algolia/algoliasearch-client-javascript */
|
|
2
|
+
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r((e="undefined"!=typeof globalThis?globalThis:e||self)["@algolia/ingestion"]={})}(this,(function(e){"use strict";function r(e){let r;const t=`algolia-client-js-${e.key}`;function a(){return void 0===r&&(r=e.localStorage||window.localStorage),r}function n(){return JSON.parse(a().getItem(t)||"{}")}function s(e){a().setItem(t,JSON.stringify(e))}return{get:(r,t,a={miss:()=>Promise.resolve()})=>Promise.resolve().then((()=>(function(){const r=e.timeToLive?1e3*e.timeToLive:null,t=n(),a=Object.fromEntries(Object.entries(t).filter((([,e])=>void 0!==e.timestamp)));if(s(a),!r)return;s(Object.fromEntries(Object.entries(a).filter((([,e])=>{const t=(new Date).getTime();return!(e.timestamp+r<t)}))))}(),n()[JSON.stringify(r)]))).then((e=>Promise.all([e?e.value:t(),void 0!==e]))).then((([e,r])=>Promise.all([e,r||a.miss(e)]))).then((([e])=>e)),set:(e,r)=>Promise.resolve().then((()=>{const s=n();return s[JSON.stringify(e)]={timestamp:(new Date).getTime(),value:r},a().setItem(t,JSON.stringify(s)),r})),delete:e=>Promise.resolve().then((()=>{const r=n();delete r[JSON.stringify(e)],a().setItem(t,JSON.stringify(r))})),clear:()=>Promise.resolve().then((()=>{a().removeItem(t)}))}}function t(e){const r=[...e.caches],a=r.shift();return void 0===a?{get:(e,r,t={miss:()=>Promise.resolve()})=>r().then((e=>Promise.all([e,t.miss(e)]))).then((([e])=>e)),set:(e,r)=>Promise.resolve(r),delete:e=>Promise.resolve(),clear:()=>Promise.resolve()}:{get:(e,n,s={miss:()=>Promise.resolve()})=>a.get(e,n,s).catch((()=>t({caches:r}).get(e,n,s))),set:(e,n)=>a.set(e,n).catch((()=>t({caches:r}).set(e,n))),delete:e=>a.delete(e).catch((()=>t({caches:r}).delete(e))),clear:()=>a.clear().catch((()=>t({caches:r}).clear()))}}function a(e={serializable:!0}){let r={};return{get(t,a,n={miss:()=>Promise.resolve()}){const s=JSON.stringify(t);if(s in r)return Promise.resolve(e.serializable?JSON.parse(r[s]):r[s]);const o=a();return o.then((e=>n.miss(e))).then((()=>o))},set:(t,a)=>(r[JSON.stringify(t)]=e.serializable?JSON.stringify(a):a,Promise.resolve(a)),delete:e=>(delete r[JSON.stringify(e)],Promise.resolve()),clear:()=>(r={},Promise.resolve())}}const n=12e4;function s(e,r="up"){const t=Date.now();return{...e,status:r,lastUpdate:t,isUp:function(){return"up"===r||Date.now()-t>n},isTimedOut:function(){return"timed out"===r&&Date.now()-t<=n}}}function o(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,r||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}class i extends Error{constructor(e,r){super(e),o(this,"name","AlgoliaError"),r&&(this.name=r)}}class u extends i{constructor(e,r,t){super(e,t),o(this,"stackTrace",void 0),this.stackTrace=r}}class c extends u{constructor(e){super("Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support.",e,"RetryError")}}class d extends u{constructor(e,r,t,a="ApiError"){super(e,t,a),o(this,"status",void 0),this.status=r}}class h extends i{constructor(e,r){super(e,"DeserializationError"),o(this,"response",void 0),this.response=r}}class m extends d{constructor(e,r,t,a){super(e,r,a,"DetailedApiError"),o(this,"error",void 0),this.error=t}}function l(e,r,t){const a=(n=t,Object.keys(n).filter((e=>void 0!==n[e])).sort().map((e=>`${e}=${encodeURIComponent("[object Array]"===Object.prototype.toString.call(n[e])?n[e].join(","):n[e]).replaceAll("+","%20")}`)).join("&"));var n;let s=`${e.protocol}://${e.url}${e.port?`:${e.port}`:""}/${"/"===r.charAt(0)?r.substring(1):r}`;return a.length&&(s+=`?${a}`),s}function p(e){const r=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return{...e,request:{...e.request,headers:{...e.request.headers,...r}}}}function g({hosts:e,hostsCache:r,baseHeaders:t,baseQueryParameters:a,algoliaAgent:n,timeouts:o,requester:i,requestsCache:u,responsesCache:g}){async function w(u,g,w=!0){const P=[],f=function(e,r){if("GET"===e.method||void 0===e.data&&void 0===r.data)return;const t=Array.isArray(e.data)?e.data:{...e.data,...r.data};return JSON.stringify(t)}(u,g),q=function(e,r,t){const a={Accept:"application/json",...e,...r,...t},n={};return Object.keys(a).forEach((e=>{const r=a[e];n[e.toLowerCase()]=r})),n}(t,u.headers,g.headers),D="GET"===u.method?{...u.data,...g.data}:{},I={...a,...u.queryParameters,...D};if(n.value&&(I["x-algolia-agent"]=n.value),g&&g.queryParameters)for(const e of Object.keys(g.queryParameters))g.queryParameters[e]&&"[object Object]"!==Object.prototype.toString.call(g.queryParameters[e])?I[e]=g.queryParameters[e].toString():I[e]=g.queryParameters[e];let T=0;const y=async(e,t)=>{const a=e.pop();if(void 0===a)throw new c(function(e){return e.map((e=>p(e)))}(P));let n=w?g.timeouts?.read||o.read:g.timeouts?.write||o.write;const D={data:f,headers:q,method:u.method,url:l(a,u.path,I),connectTimeout:t(T,g.timeouts?.connect||o.connect),responseTimeout:t(T,n)},k=r=>{const t={request:D,response:r,host:a,triesLeft:e.length};return P.push(t),t},E=await i.send(D);if(function({isTimedOut:e,status:r}){return e||function({isTimedOut:e,status:r}){return!e&&!~~r}({isTimedOut:e,status:r})||2!=~~(r/100)&&4!=~~(r/100)}(E)){const n=k(E);return E.isTimedOut&&T++,console.log("Retryable failure",p(n)),await r.set(a,s(a,E.isTimedOut?"timed out":"down")),y(e,t)}if(function({status:e}){return 2==~~(e/100)}(E))return function(e){try{return JSON.parse(e.content)}catch(r){throw new h(r.message,e)}}(E);throw k(E),function({content:e,status:r},t){try{const a=JSON.parse(e);return"error"in a?new m(a.message,r,a.error,t):new d(a.message,r,t)}catch(e){}return new d(e,r,t)}(E,P)},k=e.filter((e=>"readWrite"===e.accept||(w?"read"===e.accept:"write"===e.accept))),E=await async function(e){const t=await Promise.all(e.map((e=>r.get(e,(()=>Promise.resolve(s(e))))))),a=t.filter((e=>e.isUp())),n=t.filter((e=>e.isTimedOut())),o=[...a,...n];return{hosts:o.length>0?o:e,getTimeout:(e,r)=>(0===n.length&&0===e?1:n.length+3+e)*r}}(k);return y([...E.hosts].reverse(),E.getTimeout)}return{hostsCache:r,requester:i,timeouts:o,algoliaAgent:n,baseHeaders:t,baseQueryParameters:a,hosts:e,request:function(e,r={}){const n=e.useReadTransporter||"GET"===e.method;if(!n)return w(e,r,n);const s=()=>w(e,r);if(!0!==(r.cacheable||e.cacheable))return s();const o={request:e,requestOptions:r,transporter:{queryParameters:a,headers:t}};return g.get(o,(()=>u.get(o,(()=>u.set(o,s()).then((e=>Promise.all([u.delete(o),e])),(e=>Promise.all([u.delete(o),Promise.reject(e)]))).then((([e,r])=>r))))),{miss:e=>g.set(o,e)})},requestsCache:u,responsesCache:g}}function w({algoliaAgents:e,client:r,version:t}){const a=function(e){const r={value:`Algolia for JavaScript (${e})`,add(e){const t=`; ${e.segment}${void 0!==e.version?` (${e.version})`:""}`;return-1===r.value.indexOf(t)&&(r.value=`${r.value}${t}`),r}};return r}(t).add({segment:r,version:t});return e.forEach((e=>a.add(e))),a}const P="1.0.0-beta.14",f=["eu","us"];e.apiClientVersion=P,e.ingestionClient=function(e,n,s,o){if(!e||"string"!=typeof e)throw new Error("`appId` is missing.");if(!n||"string"!=typeof n)throw new Error("`apiKey` is missing.");if(!s||s&&("string"!=typeof s||!f.includes(s)))throw new Error(`\`region\` is required and must be one of the following: ${f.join(", ")}`);return function({appId:e,apiKey:r,authMode:t,algoliaAgents:a,region:n,...s}){const o=function(e,r,t="WithinHeaders"){const a={"x-algolia-api-key":r,"x-algolia-application-id":e};return{headers:()=>"WithinHeaders"===t?a:{},queryParameters:()=>"WithinQueryParameters"===t?a:{}}}(e,r,t),i=g({hosts:(u=n,[{url:"data.{region}.algolia.com".replace("{region}",u),accept:"readWrite",protocol:"https"}]),...s,algoliaAgent:w({algoliaAgents:a,client:"Ingestion",version:P}),baseHeaders:{"content-type":"text/plain",...o.headers(),...s.baseHeaders},baseQueryParameters:{...o.queryParameters(),...s.baseQueryParameters}});var u;return{transporter:i,appId:e,clearCache:()=>Promise.all([i.requestsCache.clear(),i.responsesCache.clear()]).then((()=>{})),get _ua(){return i.algoliaAgent.value},addAlgoliaAgent(e,r){i.algoliaAgent.add({segment:e,version:r})},createAuthentication(e,r){if(!e)throw new Error("Parameter `authenticationCreate` is required when calling `createAuthentication`.");if(!e.type)throw new Error("Parameter `authenticationCreate.type` is required when calling `createAuthentication`.");if(!e.name)throw new Error("Parameter `authenticationCreate.name` is required when calling `createAuthentication`.");if(!e.input)throw new Error("Parameter `authenticationCreate.input` is required when calling `createAuthentication`.");const t={method:"POST",path:"/1/authentications",queryParameters:{},headers:{},data:e};return i.request(t,r)},createDestination(e,r){if(!e)throw new Error("Parameter `destinationCreate` is required when calling `createDestination`.");if(!e.type)throw new Error("Parameter `destinationCreate.type` is required when calling `createDestination`.");if(!e.name)throw new Error("Parameter `destinationCreate.name` is required when calling `createDestination`.");if(!e.input)throw new Error("Parameter `destinationCreate.input` is required when calling `createDestination`.");const t={method:"POST",path:"/1/destinations",queryParameters:{},headers:{},data:e};return i.request(t,r)},createSource(e,r){if(!e)throw new Error("Parameter `sourceCreate` is required when calling `createSource`.");if(!e.type)throw new Error("Parameter `sourceCreate.type` is required when calling `createSource`.");if(!e.name)throw new Error("Parameter `sourceCreate.name` is required when calling `createSource`.");if(!e.input)throw new Error("Parameter `sourceCreate.input` is required when calling `createSource`.");const t={method:"POST",path:"/1/sources",queryParameters:{},headers:{},data:e};return i.request(t,r)},createTask(e,r){if(!e)throw new Error("Parameter `taskCreate` is required when calling `createTask`.");if(!e.sourceID)throw new Error("Parameter `taskCreate.sourceID` is required when calling `createTask`.");if(!e.destinationID)throw new Error("Parameter `taskCreate.destinationID` is required when calling `createTask`.");if(!e.action)throw new Error("Parameter `taskCreate.action` is required when calling `createTask`.");const t={method:"POST",path:"/2/tasks",queryParameters:{},headers:{},data:e};return i.request(t,r)},createTaskV1(e,r){if(!e)throw new Error("Parameter `taskCreate` is required when calling `createTaskV1`.");if(!e.sourceID)throw new Error("Parameter `taskCreate.sourceID` is required when calling `createTaskV1`.");if(!e.destinationID)throw new Error("Parameter `taskCreate.destinationID` is required when calling `createTaskV1`.");if(!e.trigger)throw new Error("Parameter `taskCreate.trigger` is required when calling `createTaskV1`.");if(!e.action)throw new Error("Parameter `taskCreate.action` is required when calling `createTaskV1`.");const t={method:"POST",path:"/1/tasks",queryParameters:{},headers:{},data:e};return i.request(t,r)},createTransformation(e,r){if(!e)throw new Error("Parameter `transformationCreate` is required when calling `createTransformation`.");if(!e.code)throw new Error("Parameter `transformationCreate.code` is required when calling `createTransformation`.");if(!e.name)throw new Error("Parameter `transformationCreate.name` is required when calling `createTransformation`.");const t={method:"POST",path:"/1/transformations",queryParameters:{},headers:{},data:e};return i.request(t,r)},customDelete({path:e,parameters:r},t){if(!e)throw new Error("Parameter `path` is required when calling `customDelete`.");const a={method:"DELETE",path:"/{path}".replace("{path}",e),queryParameters:r||{},headers:{}};return i.request(a,t)},customGet({path:e,parameters:r},t){if(!e)throw new Error("Parameter `path` is required when calling `customGet`.");const a={method:"GET",path:"/{path}".replace("{path}",e),queryParameters:r||{},headers:{}};return i.request(a,t)},customPost({path:e,parameters:r,body:t},a){if(!e)throw new Error("Parameter `path` is required when calling `customPost`.");const n={method:"POST",path:"/{path}".replace("{path}",e),queryParameters:r||{},headers:{},data:t||{}};return i.request(n,a)},customPut({path:e,parameters:r,body:t},a){if(!e)throw new Error("Parameter `path` is required when calling `customPut`.");const n={method:"PUT",path:"/{path}".replace("{path}",e),queryParameters:r||{},headers:{},data:t||{}};return i.request(n,a)},deleteAuthentication({authenticationID:e},r){if(!e)throw new Error("Parameter `authenticationID` is required when calling `deleteAuthentication`.");const t={method:"DELETE",path:"/1/authentications/{authenticationID}".replace("{authenticationID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},deleteDestination({destinationID:e},r){if(!e)throw new Error("Parameter `destinationID` is required when calling `deleteDestination`.");const t={method:"DELETE",path:"/1/destinations/{destinationID}".replace("{destinationID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},deleteSource({sourceID:e},r){if(!e)throw new Error("Parameter `sourceID` is required when calling `deleteSource`.");const t={method:"DELETE",path:"/1/sources/{sourceID}".replace("{sourceID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},deleteTask({taskID:e},r){if(!e)throw new Error("Parameter `taskID` is required when calling `deleteTask`.");const t={method:"DELETE",path:"/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},deleteTaskV1({taskID:e},r){if(!e)throw new Error("Parameter `taskID` is required when calling `deleteTaskV1`.");const t={method:"DELETE",path:"/1/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},deleteTransformation({transformationID:e},r){if(!e)throw new Error("Parameter `transformationID` is required when calling `deleteTransformation`.");const t={method:"DELETE",path:"/1/transformations/{transformationID}".replace("{transformationID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},disableTask({taskID:e},r){if(!e)throw new Error("Parameter `taskID` is required when calling `disableTask`.");const t={method:"PUT",path:"/2/tasks/{taskID}/disable".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},disableTaskV1({taskID:e},r){if(!e)throw new Error("Parameter `taskID` is required when calling `disableTaskV1`.");const t={method:"PUT",path:"/1/tasks/{taskID}/disable".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},enableTask({taskID:e},r){if(!e)throw new Error("Parameter `taskID` is required when calling `enableTask`.");const t={method:"PUT",path:"/2/tasks/{taskID}/enable".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},enableTaskV1({taskID:e},r){if(!e)throw new Error("Parameter `taskID` is required when calling `enableTaskV1`.");const t={method:"PUT",path:"/1/tasks/{taskID}/enable".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},getAuthentication({authenticationID:e},r){if(!e)throw new Error("Parameter `authenticationID` is required when calling `getAuthentication`.");const t={method:"GET",path:"/1/authentications/{authenticationID}".replace("{authenticationID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},getDestination({destinationID:e},r){if(!e)throw new Error("Parameter `destinationID` is required when calling `getDestination`.");const t={method:"GET",path:"/1/destinations/{destinationID}".replace("{destinationID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},getEvent({runID:e,eventID:r},t){if(!e)throw new Error("Parameter `runID` is required when calling `getEvent`.");if(!r)throw new Error("Parameter `eventID` is required when calling `getEvent`.");const a={method:"GET",path:"/1/runs/{runID}/events/{eventID}".replace("{runID}",encodeURIComponent(e)).replace("{eventID}",encodeURIComponent(r)),queryParameters:{},headers:{}};return i.request(a,t)},getRun({runID:e},r){if(!e)throw new Error("Parameter `runID` is required when calling `getRun`.");const t={method:"GET",path:"/1/runs/{runID}".replace("{runID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},getSource({sourceID:e},r){if(!e)throw new Error("Parameter `sourceID` is required when calling `getSource`.");const t={method:"GET",path:"/1/sources/{sourceID}".replace("{sourceID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},getTask({taskID:e},r){if(!e)throw new Error("Parameter `taskID` is required when calling `getTask`.");const t={method:"GET",path:"/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},getTaskV1({taskID:e},r){if(!e)throw new Error("Parameter `taskID` is required when calling `getTaskV1`.");const t={method:"GET",path:"/1/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},getTransformation({transformationID:e},r){if(!e)throw new Error("Parameter `transformationID` is required when calling `getTransformation`.");const t={method:"GET",path:"/1/transformations/{transformationID}".replace("{transformationID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},listAuthentications({itemsPerPage:e,page:r,type:t,platform:a,sort:n,order:s}={},o=void 0){const u={};void 0!==e&&(u.itemsPerPage=e.toString()),void 0!==r&&(u.page=r.toString()),void 0!==t&&(u.type=t.toString()),void 0!==a&&(u.platform=a.toString()),void 0!==n&&(u.sort=n.toString()),void 0!==s&&(u.order=s.toString());const c={method:"GET",path:"/1/authentications",queryParameters:u,headers:{}};return i.request(c,o)},listDestinations({itemsPerPage:e,page:r,type:t,authenticationID:a,sort:n,order:s}={},o=void 0){const u={};void 0!==e&&(u.itemsPerPage=e.toString()),void 0!==r&&(u.page=r.toString()),void 0!==t&&(u.type=t.toString()),void 0!==a&&(u.authenticationID=a.toString()),void 0!==n&&(u.sort=n.toString()),void 0!==s&&(u.order=s.toString());const c={method:"GET",path:"/1/destinations",queryParameters:u,headers:{}};return i.request(c,o)},listEvents({runID:e,itemsPerPage:r,page:t,status:a,type:n,sort:s,order:o,startDate:u,endDate:c},d){if(!e)throw new Error("Parameter `runID` is required when calling `listEvents`.");const h="/1/runs/{runID}/events".replace("{runID}",encodeURIComponent(e)),m={};void 0!==r&&(m.itemsPerPage=r.toString()),void 0!==t&&(m.page=t.toString()),void 0!==a&&(m.status=a.toString()),void 0!==n&&(m.type=n.toString()),void 0!==s&&(m.sort=s.toString()),void 0!==o&&(m.order=o.toString()),void 0!==u&&(m.startDate=u.toString()),void 0!==c&&(m.endDate=c.toString());const l={method:"GET",path:h,queryParameters:m,headers:{}};return i.request(l,d)},listRuns({itemsPerPage:e,page:r,status:t,taskID:a,sort:n,order:s,startDate:o,endDate:u}={},c=void 0){const d={};void 0!==e&&(d.itemsPerPage=e.toString()),void 0!==r&&(d.page=r.toString()),void 0!==t&&(d.status=t.toString()),void 0!==a&&(d.taskID=a.toString()),void 0!==n&&(d.sort=n.toString()),void 0!==s&&(d.order=s.toString()),void 0!==o&&(d.startDate=o.toString()),void 0!==u&&(d.endDate=u.toString());const h={method:"GET",path:"/1/runs",queryParameters:d,headers:{}};return i.request(h,c)},listSources({itemsPerPage:e,page:r,type:t,authenticationID:a,sort:n,order:s}={},o=void 0){const u={};void 0!==e&&(u.itemsPerPage=e.toString()),void 0!==r&&(u.page=r.toString()),void 0!==t&&(u.type=t.toString()),void 0!==a&&(u.authenticationID=a.toString()),void 0!==n&&(u.sort=n.toString()),void 0!==s&&(u.order=s.toString());const c={method:"GET",path:"/1/sources",queryParameters:u,headers:{}};return i.request(c,o)},listTasks({itemsPerPage:e,page:r,action:t,enabled:a,sourceID:n,destinationID:s,triggerType:o,sort:u,order:c}={},d=void 0){const h={};void 0!==e&&(h.itemsPerPage=e.toString()),void 0!==r&&(h.page=r.toString()),void 0!==t&&(h.action=t.toString()),void 0!==a&&(h.enabled=a.toString()),void 0!==n&&(h.sourceID=n.toString()),void 0!==s&&(h.destinationID=s.toString()),void 0!==o&&(h.triggerType=o.toString()),void 0!==u&&(h.sort=u.toString()),void 0!==c&&(h.order=c.toString());const m={method:"GET",path:"/2/tasks",queryParameters:h,headers:{}};return i.request(m,d)},listTasksV1({itemsPerPage:e,page:r,action:t,enabled:a,sourceID:n,destinationID:s,triggerType:o,sort:u,order:c}={},d=void 0){const h={};void 0!==e&&(h.itemsPerPage=e.toString()),void 0!==r&&(h.page=r.toString()),void 0!==t&&(h.action=t.toString()),void 0!==a&&(h.enabled=a.toString()),void 0!==n&&(h.sourceID=n.toString()),void 0!==s&&(h.destinationID=s.toString()),void 0!==o&&(h.triggerType=o.toString()),void 0!==u&&(h.sort=u.toString()),void 0!==c&&(h.order=c.toString());const m={method:"GET",path:"/1/tasks",queryParameters:h,headers:{}};return i.request(m,d)},listTransformationModels(e){const r={method:"GET",path:"/1/transformations/copilot",queryParameters:{},headers:{}};return i.request(r,e)},listTransformations({itemsPerPage:e,page:r,sort:t,order:a}={},n=void 0){const s={};void 0!==e&&(s.itemsPerPage=e.toString()),void 0!==r&&(s.page=r.toString()),void 0!==t&&(s.sort=t.toString()),void 0!==a&&(s.order=a.toString());const o={method:"GET",path:"/1/transformations",queryParameters:s,headers:{}};return i.request(o,n)},pushTask({taskID:e,batchWriteParams:r},t){if(!e)throw new Error("Parameter `taskID` is required when calling `pushTask`.");if(!r)throw new Error("Parameter `batchWriteParams` is required when calling `pushTask`.");if(!r.requests)throw new Error("Parameter `batchWriteParams.requests` is required when calling `pushTask`.");const a={method:"POST",path:"/2/tasks/{taskID}/push".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{},data:r};return i.request(a,t)},runSource({sourceID:e,runSourcePayload:r},t){if(!e)throw new Error("Parameter `sourceID` is required when calling `runSource`.");const a={method:"POST",path:"/1/sources/{sourceID}/run".replace("{sourceID}",encodeURIComponent(e)),queryParameters:{},headers:{},data:r||{}};return i.request(a,t)},runTask({taskID:e},r){if(!e)throw new Error("Parameter `taskID` is required when calling `runTask`.");const t={method:"POST",path:"/2/tasks/{taskID}/run".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},runTaskV1({taskID:e},r){if(!e)throw new Error("Parameter `taskID` is required when calling `runTaskV1`.");const t={method:"POST",path:"/1/tasks/{taskID}/run".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},searchAuthentications(e,r){if(!e)throw new Error("Parameter `authenticationSearch` is required when calling `searchAuthentications`.");if(!e.authenticationIDs)throw new Error("Parameter `authenticationSearch.authenticationIDs` is required when calling `searchAuthentications`.");const t={method:"POST",path:"/1/authentications/search",queryParameters:{},headers:{},data:e};return i.request(t,r)},searchDestinations(e,r){if(!e)throw new Error("Parameter `destinationSearch` is required when calling `searchDestinations`.");if(!e.destinationIDs)throw new Error("Parameter `destinationSearch.destinationIDs` is required when calling `searchDestinations`.");const t={method:"POST",path:"/1/destinations/search",queryParameters:{},headers:{},data:e};return i.request(t,r)},searchSources(e,r){if(!e)throw new Error("Parameter `sourceSearch` is required when calling `searchSources`.");if(!e.sourceIDs)throw new Error("Parameter `sourceSearch.sourceIDs` is required when calling `searchSources`.");const t={method:"POST",path:"/1/sources/search",queryParameters:{},headers:{},data:e};return i.request(t,r)},searchTasks(e,r){if(!e)throw new Error("Parameter `taskSearch` is required when calling `searchTasks`.");if(!e.taskIDs)throw new Error("Parameter `taskSearch.taskIDs` is required when calling `searchTasks`.");const t={method:"POST",path:"/2/tasks/search",queryParameters:{},headers:{},data:e};return i.request(t,r)},searchTasksV1(e,r){if(!e)throw new Error("Parameter `taskSearch` is required when calling `searchTasksV1`.");if(!e.taskIDs)throw new Error("Parameter `taskSearch.taskIDs` is required when calling `searchTasksV1`.");const t={method:"POST",path:"/1/tasks/search",queryParameters:{},headers:{},data:e};return i.request(t,r)},searchTransformations(e,r){if(!e)throw new Error("Parameter `transformationSearch` is required when calling `searchTransformations`.");if(!e.transformationsIDs)throw new Error("Parameter `transformationSearch.transformationsIDs` is required when calling `searchTransformations`.");const t={method:"POST",path:"/1/transformations/search",queryParameters:{},headers:{},data:e};return i.request(t,r)},triggerDockerSourceDiscover({sourceID:e},r){if(!e)throw new Error("Parameter `sourceID` is required when calling `triggerDockerSourceDiscover`.");const t={method:"POST",path:"/1/sources/{sourceID}/discover".replace("{sourceID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(t,r)},tryTransformations(e,r){if(!e)throw new Error("Parameter `transformationTry` is required when calling `tryTransformations`.");if(!e.code)throw new Error("Parameter `transformationTry.code` is required when calling `tryTransformations`.");if(!e.sampleRecord)throw new Error("Parameter `transformationTry.sampleRecord` is required when calling `tryTransformations`.");const t={method:"POST",path:"/1/transformations/try",queryParameters:{},headers:{},data:e};return i.request(t,r)},updateAuthentication({authenticationID:e,authenticationUpdate:r},t){if(!e)throw new Error("Parameter `authenticationID` is required when calling `updateAuthentication`.");if(!r)throw new Error("Parameter `authenticationUpdate` is required when calling `updateAuthentication`.");const a={method:"PATCH",path:"/1/authentications/{authenticationID}".replace("{authenticationID}",encodeURIComponent(e)),queryParameters:{},headers:{},data:r};return i.request(a,t)},updateDestination({destinationID:e,destinationUpdate:r},t){if(!e)throw new Error("Parameter `destinationID` is required when calling `updateDestination`.");if(!r)throw new Error("Parameter `destinationUpdate` is required when calling `updateDestination`.");const a={method:"PATCH",path:"/1/destinations/{destinationID}".replace("{destinationID}",encodeURIComponent(e)),queryParameters:{},headers:{},data:r};return i.request(a,t)},updateSource({sourceID:e,sourceUpdate:r},t){if(!e)throw new Error("Parameter `sourceID` is required when calling `updateSource`.");if(!r)throw new Error("Parameter `sourceUpdate` is required when calling `updateSource`.");const a={method:"PATCH",path:"/1/sources/{sourceID}".replace("{sourceID}",encodeURIComponent(e)),queryParameters:{},headers:{},data:r};return i.request(a,t)},updateTask({taskID:e,taskUpdate:r},t){if(!e)throw new Error("Parameter `taskID` is required when calling `updateTask`.");if(!r)throw new Error("Parameter `taskUpdate` is required when calling `updateTask`.");const a={method:"PATCH",path:"/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{},data:r};return i.request(a,t)},updateTaskV1({taskID:e,taskUpdate:r},t){if(!e)throw new Error("Parameter `taskID` is required when calling `updateTaskV1`.");if(!r)throw new Error("Parameter `taskUpdate` is required when calling `updateTaskV1`.");const a={method:"PATCH",path:"/1/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{},data:r};return i.request(a,t)},updateTransformation({transformationID:e,transformationCreate:r},t){if(!e)throw new Error("Parameter `transformationID` is required when calling `updateTransformation`.");if(!r)throw new Error("Parameter `transformationCreate` is required when calling `updateTransformation`.");if(!r.code)throw new Error("Parameter `transformationCreate.code` is required when calling `updateTransformation`.");if(!r.name)throw new Error("Parameter `transformationCreate.name` is required when calling `updateTransformation`.");const a={method:"PUT",path:"/1/transformations/{transformationID}".replace("{transformationID}",encodeURIComponent(e)),queryParameters:{},headers:{},data:r};return i.request(a,t)},validateSource(e,r=void 0){const t={method:"POST",path:"/1/sources/validate",queryParameters:{},headers:{},data:e||{}};return i.request(t,r)},validateSourceBeforeUpdate({sourceID:e,sourceUpdate:r},t){if(!e)throw new Error("Parameter `sourceID` is required when calling `validateSourceBeforeUpdate`.");if(!r)throw new Error("Parameter `sourceUpdate` is required when calling `validateSourceBeforeUpdate`.");const a={method:"POST",path:"/1/sources/{sourceID}/validate".replace("{sourceID}",encodeURIComponent(e)),queryParameters:{},headers:{},data:r};return i.request(a,t)}}}({appId:e,apiKey:n,region:s,timeouts:{connect:1e3,read:2e3,write:3e4},requester:{send:function(e){return new Promise((r=>{const t=new XMLHttpRequest;t.open(e.method,e.url,!0),Object.keys(e.headers).forEach((r=>t.setRequestHeader(r,e.headers[r])));const a=(e,a)=>setTimeout((()=>{t.abort(),r({status:0,content:a,isTimedOut:!0})}),e),n=a(e.connectTimeout,"Connection timeout");let s;t.onreadystatechange=()=>{t.readyState>t.OPENED&&void 0===s&&(clearTimeout(n),s=a(e.responseTimeout,"Socket timeout"))},t.onerror=()=>{0===t.status&&(clearTimeout(n),clearTimeout(s),r({content:t.responseText||"Network request failed",status:t.status,isTimedOut:!1}))},t.onload=()=>{clearTimeout(n),clearTimeout(s),r({content:t.responseText,status:t.status,isTimedOut:!1})},t.send(e.data)}))}},algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:a(),requestsCache:a({serializable:!1}),hostsCache:t({caches:[r({key:`${P}-${e}`}),a()]}),...o})},e.isOnDemandTrigger=function(e){return"onDemand"===e.type},e.isScheduleTrigger=function(e){return"schedule"===e.type},e.isSubscriptionTrigger=function(e){return"subscription"===e.type}}));
|
|
@@ -12,6 +12,7 @@ import type { EventType } from './eventType';
|
|
|
12
12
|
import type { OrderKeys } from './orderKeys';
|
|
13
13
|
import type { PlatformWithNone } from './platformWithNone';
|
|
14
14
|
import type { RunSortKeys } from './runSortKeys';
|
|
15
|
+
import type { RunSourcePayload } from './runSourcePayload';
|
|
15
16
|
import type { RunStatus } from './runStatus';
|
|
16
17
|
import type { SortKeys } from './sortKeys';
|
|
17
18
|
import type { SourceSortKeys } from './sourceSortKeys';
|
|
@@ -499,6 +500,14 @@ export type ListTasksV1Props = {
|
|
|
499
500
|
* Properties for the `listTransformations` method.
|
|
500
501
|
*/
|
|
501
502
|
export type ListTransformationsProps = {
|
|
503
|
+
/**
|
|
504
|
+
* Number of items per page.
|
|
505
|
+
*/
|
|
506
|
+
itemsPerPage?: number;
|
|
507
|
+
/**
|
|
508
|
+
* Page number of the paginated API response.
|
|
509
|
+
*/
|
|
510
|
+
page?: number;
|
|
502
511
|
/**
|
|
503
512
|
* Property by which to sort the list.
|
|
504
513
|
*/
|
|
@@ -521,6 +530,19 @@ export type PushTaskProps = {
|
|
|
521
530
|
*/
|
|
522
531
|
batchWriteParams: BatchWriteParams;
|
|
523
532
|
};
|
|
533
|
+
/**
|
|
534
|
+
* Properties for the `runSource` method.
|
|
535
|
+
*/
|
|
536
|
+
export type RunSourceProps = {
|
|
537
|
+
/**
|
|
538
|
+
* Unique identifier of a source.
|
|
539
|
+
*/
|
|
540
|
+
sourceID: string;
|
|
541
|
+
/**
|
|
542
|
+
*
|
|
543
|
+
*/
|
|
544
|
+
runSourcePayload?: RunSourcePayload;
|
|
545
|
+
};
|
|
524
546
|
/**
|
|
525
547
|
* Properties for the `runTask` method.
|
|
526
548
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clientMethodProps.d.ts","sourceRoot":"","sources":["../../model/clientMethodProps.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,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G;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,YAAY,CAAC;CAC1B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB,oBAAoB,EAAE,oBAAoB,CAAC;CAC5C,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,YAAY,CAAC;CAC5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destination.d.ts","sourceRoot":"","sources":["../../model/destination.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB,IAAI,EAAE,eAAe,CAAC;IAEtB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb,KAAK,EAAE,gBAAgB,CAAC;IAExB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"destination.d.ts","sourceRoot":"","sources":["../../model/destination.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB,IAAI,EAAE,eAAe,CAAC;IAEtB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb,KAAK,EAAE,gBAAgB,CAAC;IAExB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destinationCreate.d.ts","sourceRoot":"","sources":["../../model/destinationCreate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,eAAe,CAAC;IAEtB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb,KAAK,EAAE,gBAAgB,CAAC;IAExB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"destinationCreate.d.ts","sourceRoot":"","sources":["../../model/destinationCreate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,eAAe,CAAC;IAEtB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb,KAAK,EAAE,gBAAgB,CAAC;IAExB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC9B,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import type { DestinationIndexName } from './destinationIndexName';
|
|
2
|
-
|
|
3
|
-
export type DestinationInput = DestinationIndexName | DestinationIndexPrefix;
|
|
2
|
+
export type DestinationInput = DestinationIndexName;
|
|
4
3
|
//# sourceMappingURL=destinationInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destinationInput.d.ts","sourceRoot":"","sources":["../../model/destinationInput.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"destinationInput.d.ts","sourceRoot":"","sources":["../../model/destinationInput.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAEnE,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destinationUpdate.d.ts","sourceRoot":"","sources":["../../model/destinationUpdate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,CAAC,EAAE,eAAe,CAAC;IAEvB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,gBAAgB,CAAC;IAEzB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"destinationUpdate.d.ts","sourceRoot":"","sources":["../../model/destinationUpdate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,CAAC,EAAE,eAAe,CAAC;IAEvB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,gBAAgB,CAAC;IAEzB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entityType.d.ts","sourceRoot":"","sources":["../../model/entityType.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,YAAY,GAAG,SAAS,CAAC"}
|
package/dist/model/index.d.ts
CHANGED
|
@@ -33,7 +33,6 @@ export * from './destination';
|
|
|
33
33
|
export * from './destinationCreate';
|
|
34
34
|
export * from './destinationCreateResponse';
|
|
35
35
|
export * from './destinationIndexName';
|
|
36
|
-
export * from './destinationIndexPrefix';
|
|
37
36
|
export * from './destinationInput';
|
|
38
37
|
export * from './destinationSearch';
|
|
39
38
|
export * from './destinationSortKeys';
|
|
@@ -43,6 +42,7 @@ export * from './destinationUpdateResponse';
|
|
|
43
42
|
export * from './dockerImageType';
|
|
44
43
|
export * from './dockerRegistry';
|
|
45
44
|
export * from './dockerStreamsInput';
|
|
45
|
+
export * from './entityType';
|
|
46
46
|
export * from './errorBase';
|
|
47
47
|
export * from './event';
|
|
48
48
|
export * from './eventSortKeys';
|
|
@@ -61,6 +61,7 @@ export * from './mappingInput';
|
|
|
61
61
|
export * from './mappingKitAction';
|
|
62
62
|
export * from './mappingTypeCSV';
|
|
63
63
|
export * from './methodType';
|
|
64
|
+
export * from './model';
|
|
64
65
|
export * from './onDemandTrigger';
|
|
65
66
|
export * from './onDemandTriggerInput';
|
|
66
67
|
export * from './onDemandTriggerType';
|
|
@@ -77,6 +78,8 @@ export * from './runProgress';
|
|
|
77
78
|
export * from './runReasonCode';
|
|
78
79
|
export * from './runResponse';
|
|
79
80
|
export * from './runSortKeys';
|
|
81
|
+
export * from './runSourcePayload';
|
|
82
|
+
export * from './runSourceResponse';
|
|
80
83
|
export * from './runStatus';
|
|
81
84
|
export * from './runType';
|
|
82
85
|
export * from './scheduleTrigger';
|
|
@@ -130,6 +133,7 @@ export * from './transformation';
|
|
|
130
133
|
export * from './transformationCreate';
|
|
131
134
|
export * from './transformationCreateResponse';
|
|
132
135
|
export * from './transformationError';
|
|
136
|
+
export * from './transformationModels';
|
|
133
137
|
export * from './transformationSearch';
|
|
134
138
|
export * from './transformationTry';
|
|
135
139
|
export * from './transformationTryResponse';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../model/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC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,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../model/model.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,KAAK,GAAG;IAClB,QAAQ,EAAE,MAAM,CAAC;IAEjB,SAAS,EAAE,MAAM,CAAC;IAElB,YAAY,EAAE,MAAM,CAAC;IAErB,EAAE,EAAE,MAAM,CAAC;IAEX,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { EntityType } from './entityType';
|
|
2
|
+
export type RunSourcePayload = {
|
|
3
|
+
/**
|
|
4
|
+
* List of index names to include in reidexing/update.
|
|
5
|
+
*/
|
|
6
|
+
indexToInclude?: string[];
|
|
7
|
+
/**
|
|
8
|
+
* List of index names to exclude in reidexing/update.
|
|
9
|
+
*/
|
|
10
|
+
indexToExclude?: string[];
|
|
11
|
+
/**
|
|
12
|
+
* List of entityID to update.
|
|
13
|
+
*/
|
|
14
|
+
entityIDs?: string[];
|
|
15
|
+
entityType?: EntityType;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=runSourcePayload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runSourcePayload.d.ts","sourceRoot":"","sources":["../../model/runSourcePayload.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAE1B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAE1B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IAErB,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type RunSourceResponse = {
|
|
2
|
+
/**
|
|
3
|
+
* Map of taskID sent for reindex with the corresponding runID.
|
|
4
|
+
*/
|
|
5
|
+
taskWithRunID: Record<string, string>;
|
|
6
|
+
/**
|
|
7
|
+
* Date of creation in RFC 3339 format.
|
|
8
|
+
*/
|
|
9
|
+
createdAt: string;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=runSourceResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runSourceResponse.d.ts","sourceRoot":"","sources":["../../model/runSourceResponse.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAEtC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transformationModels.d.ts","sourceRoot":"","sources":["../../model/transformationModels.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,KAAK,EAAE,CAAC;CACf,CAAC"}
|
|
@@ -4,7 +4,7 @@ import type { AuthenticationCreate } from '../model/authenticationCreate';
|
|
|
4
4
|
import type { AuthenticationCreateResponse } from '../model/authenticationCreateResponse';
|
|
5
5
|
import type { AuthenticationSearch } from '../model/authenticationSearch';
|
|
6
6
|
import type { AuthenticationUpdateResponse } from '../model/authenticationUpdateResponse';
|
|
7
|
-
import type { CustomDeleteProps, CustomGetProps, CustomPostProps, CustomPutProps, DeleteAuthenticationProps, DeleteDestinationProps, DeleteSourceProps, DeleteTaskProps, DeleteTaskV1Props, DeleteTransformationProps, DisableTaskProps, DisableTaskV1Props, EnableTaskProps, EnableTaskV1Props, GetAuthenticationProps, GetDestinationProps, GetEventProps, GetRunProps, GetSourceProps, GetTaskProps, GetTaskV1Props, GetTransformationProps, ListAuthenticationsProps, ListDestinationsProps, ListEventsProps, ListRunsProps, ListSourcesProps, ListTasksProps, ListTasksV1Props, ListTransformationsProps, PushTaskProps, RunTaskProps, RunTaskV1Props, TriggerDockerSourceDiscoverProps, UpdateAuthenticationProps, UpdateDestinationProps, UpdateSourceProps, UpdateTaskProps, UpdateTaskV1Props, UpdateTransformationProps, ValidateSourceBeforeUpdateProps } from '../model/clientMethodProps';
|
|
7
|
+
import type { CustomDeleteProps, CustomGetProps, CustomPostProps, CustomPutProps, DeleteAuthenticationProps, DeleteDestinationProps, DeleteSourceProps, DeleteTaskProps, DeleteTaskV1Props, DeleteTransformationProps, DisableTaskProps, DisableTaskV1Props, EnableTaskProps, EnableTaskV1Props, GetAuthenticationProps, GetDestinationProps, GetEventProps, GetRunProps, GetSourceProps, GetTaskProps, GetTaskV1Props, GetTransformationProps, ListAuthenticationsProps, ListDestinationsProps, ListEventsProps, ListRunsProps, ListSourcesProps, ListTasksProps, ListTasksV1Props, ListTransformationsProps, PushTaskProps, RunSourceProps, RunTaskProps, RunTaskV1Props, TriggerDockerSourceDiscoverProps, UpdateAuthenticationProps, UpdateDestinationProps, UpdateSourceProps, UpdateTaskProps, UpdateTaskV1Props, UpdateTransformationProps, ValidateSourceBeforeUpdateProps } from '../model/clientMethodProps';
|
|
8
8
|
import type { DeleteResponse } from '../model/deleteResponse';
|
|
9
9
|
import type { Destination } from '../model/destination';
|
|
10
10
|
import type { DestinationCreate } from '../model/destinationCreate';
|
|
@@ -23,6 +23,7 @@ import type { OnDemandTrigger } from '../model/onDemandTrigger';
|
|
|
23
23
|
import type { Run } from '../model/run';
|
|
24
24
|
import type { RunListResponse } from '../model/runListResponse';
|
|
25
25
|
import type { RunResponse } from '../model/runResponse';
|
|
26
|
+
import type { RunSourceResponse } from '../model/runSourceResponse';
|
|
26
27
|
import type { ScheduleTrigger } from '../model/scheduleTrigger';
|
|
27
28
|
import type { Source } from '../model/source';
|
|
28
29
|
import type { SourceCreate } from '../model/sourceCreate';
|
|
@@ -42,12 +43,13 @@ import type { TaskV1 } from '../model/taskV1';
|
|
|
42
43
|
import type { Transformation } from '../model/transformation';
|
|
43
44
|
import type { TransformationCreate } from '../model/transformationCreate';
|
|
44
45
|
import type { TransformationCreateResponse } from '../model/transformationCreateResponse';
|
|
46
|
+
import type { TransformationModels } from '../model/transformationModels';
|
|
45
47
|
import type { TransformationSearch } from '../model/transformationSearch';
|
|
46
48
|
import type { TransformationTry } from '../model/transformationTry';
|
|
47
49
|
import type { TransformationTryResponse } from '../model/transformationTryResponse';
|
|
48
50
|
import type { TransformationUpdateResponse } from '../model/transformationUpdateResponse';
|
|
49
51
|
import type { Trigger } from '../model/trigger';
|
|
50
|
-
export declare const apiClientVersion = "1.0.0-beta.
|
|
52
|
+
export declare const apiClientVersion = "1.0.0-beta.14";
|
|
51
53
|
export declare const REGIONS: readonly ["eu", "us"];
|
|
52
54
|
export type Region = (typeof REGIONS)[number];
|
|
53
55
|
/**
|
|
@@ -546,6 +548,17 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
546
548
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
547
549
|
*/
|
|
548
550
|
listTasksV1({ itemsPerPage, page, action, enabled, sourceID, destinationID, triggerType, sort, order, }?: ListTasksV1Props, requestOptions?: RequestOptions | undefined): Promise<ListTasksResponseV1>;
|
|
551
|
+
/**
|
|
552
|
+
* Retrieves a list of existing LLM transformation helpers.
|
|
553
|
+
*
|
|
554
|
+
* Required API Key ACLs:
|
|
555
|
+
* - addObject
|
|
556
|
+
* - deleteIndex
|
|
557
|
+
* - editSettings.
|
|
558
|
+
*
|
|
559
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
560
|
+
*/
|
|
561
|
+
listTransformationModels(requestOptions?: RequestOptions): Promise<TransformationModels>;
|
|
549
562
|
/**
|
|
550
563
|
* Retrieves a list of transformations.
|
|
551
564
|
*
|
|
@@ -555,11 +568,13 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
555
568
|
* - editSettings.
|
|
556
569
|
*
|
|
557
570
|
* @param listTransformations - The listTransformations object.
|
|
571
|
+
* @param listTransformations.itemsPerPage - Number of items per page.
|
|
572
|
+
* @param listTransformations.page - Page number of the paginated API response.
|
|
558
573
|
* @param listTransformations.sort - Property by which to sort the list.
|
|
559
574
|
* @param listTransformations.order - Sort order of the response, ascending or descending.
|
|
560
575
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
561
576
|
*/
|
|
562
|
-
listTransformations({ sort, order }?: ListTransformationsProps, requestOptions?: RequestOptions | undefined): Promise<ListTransformationsResponse>;
|
|
577
|
+
listTransformations({ itemsPerPage, page, sort, order }?: ListTransformationsProps, requestOptions?: RequestOptions | undefined): Promise<ListTransformationsResponse>;
|
|
563
578
|
/**
|
|
564
579
|
* Push a `batch` request payload through the Pipeline. You can check the status of task pushes with the observability endpoints.
|
|
565
580
|
*
|
|
@@ -574,6 +589,20 @@ export declare function createIngestionClient({ appId: appIdOption, apiKey: apiK
|
|
|
574
589
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
575
590
|
*/
|
|
576
591
|
pushTask({ taskID, batchWriteParams }: PushTaskProps, requestOptions?: RequestOptions): Promise<RunResponse>;
|
|
592
|
+
/**
|
|
593
|
+
* Runs all tasks linked to a source, only available for Shopify sources. It will create 1 run per task.
|
|
594
|
+
*
|
|
595
|
+
* Required API Key ACLs:
|
|
596
|
+
* - addObject
|
|
597
|
+
* - deleteIndex
|
|
598
|
+
* - editSettings.
|
|
599
|
+
*
|
|
600
|
+
* @param runSource - The runSource object.
|
|
601
|
+
* @param runSource.sourceID - Unique identifier of a source.
|
|
602
|
+
* @param runSource.runSourcePayload -.
|
|
603
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
604
|
+
*/
|
|
605
|
+
runSource({ sourceID, runSourcePayload }: RunSourceProps, requestOptions?: RequestOptions): Promise<RunSourceResponse>;
|
|
577
606
|
/**
|
|
578
607
|
* Runs a task. You can check the status of task runs with the observability endpoints.
|
|
579
608
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ingestionClient.d.ts","sourceRoot":"","sources":["../../src/ingestionClient.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACV,mBAAmB,EAKnB,cAAc,EACf,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AAC1F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AAC1F,OAAO,KAAK,EACV,iBAAiB,EACjB,cAAc,EACd,eAAe,EACf,cAAc,EACd,yBAAyB,EACzB,sBAAsB,EACtB,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,yBAAyB,EACzB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,iBAAiB,EACjB,sBAAsB,EACtB,mBAAmB,EACnB,aAAa,EACb,WAAW,EACX,cAAc,EACd,YAAY,EACZ,cAAc,EACd,sBAAsB,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;IA+B9B;;;;;;;OAOG;yCAEuB,iBAAiB,mBACxB,cAAc,GAC9B,OAAO,CAAC,kBAAkB,CAAC;IA+B9B;;;;;;;OAOG;qEAE2C,yBAAyB,mBACpD,cAAc,GAC9B,OAAO,CAAC,4BAA4B,CAAC;IA0CxC;;;;;;;;;;OAUG;iCAEa,YAAY,mBACV,cAAc,GAAG,SAAS,GACzC,OAAO,CAAC,mBAAmB,CAAC;IAgB/B;;;;;;;;;;;;OAYG;2DAE2B,+BAA+B,mBAC1C,cAAc,GAC9B,OAAO,CAAC,mBAAmB,CAAC;EA+BlC"}
|
|
@@ -14,6 +14,7 @@ import type { EventType } from './eventType';
|
|
|
14
14
|
import type { OrderKeys } from './orderKeys';
|
|
15
15
|
import type { PlatformWithNone } from './platformWithNone';
|
|
16
16
|
import type { RunSortKeys } from './runSortKeys';
|
|
17
|
+
import type { RunSourcePayload } from './runSourcePayload';
|
|
17
18
|
import type { RunStatus } from './runStatus';
|
|
18
19
|
import type { SortKeys } from './sortKeys';
|
|
19
20
|
import type { SourceSortKeys } from './sourceSortKeys';
|
|
@@ -531,6 +532,14 @@ export type ListTasksV1Props = {
|
|
|
531
532
|
* Properties for the `listTransformations` method.
|
|
532
533
|
*/
|
|
533
534
|
export type ListTransformationsProps = {
|
|
535
|
+
/**
|
|
536
|
+
* Number of items per page.
|
|
537
|
+
*/
|
|
538
|
+
itemsPerPage?: number;
|
|
539
|
+
/**
|
|
540
|
+
* Page number of the paginated API response.
|
|
541
|
+
*/
|
|
542
|
+
page?: number;
|
|
534
543
|
/**
|
|
535
544
|
* Property by which to sort the list.
|
|
536
545
|
*/
|
|
@@ -555,6 +564,20 @@ export type PushTaskProps = {
|
|
|
555
564
|
batchWriteParams: BatchWriteParams;
|
|
556
565
|
};
|
|
557
566
|
|
|
567
|
+
/**
|
|
568
|
+
* Properties for the `runSource` method.
|
|
569
|
+
*/
|
|
570
|
+
export type RunSourceProps = {
|
|
571
|
+
/**
|
|
572
|
+
* Unique identifier of a source.
|
|
573
|
+
*/
|
|
574
|
+
sourceID: string;
|
|
575
|
+
/**
|
|
576
|
+
*
|
|
577
|
+
*/
|
|
578
|
+
runSourcePayload?: RunSourcePayload;
|
|
579
|
+
};
|
|
580
|
+
|
|
558
581
|
/**
|
|
559
582
|
* Properties for the `runTask` method.
|
|
560
583
|
*/
|
package/model/destination.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { DestinationIndexName } from './destinationIndexName';
|
|
4
|
-
import type { DestinationIndexPrefix } from './destinationIndexPrefix';
|
|
5
4
|
|
|
6
|
-
export type DestinationInput = DestinationIndexName
|
|
5
|
+
export type DestinationInput = DestinationIndexName;
|
|
@@ -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
|
+
* Type of entity to update.
|
|
5
|
+
*/
|
|
6
|
+
export type EntityType = 'collection' | 'product';
|
package/model/index.ts
CHANGED
|
@@ -35,7 +35,6 @@ export * from './destination';
|
|
|
35
35
|
export * from './destinationCreate';
|
|
36
36
|
export * from './destinationCreateResponse';
|
|
37
37
|
export * from './destinationIndexName';
|
|
38
|
-
export * from './destinationIndexPrefix';
|
|
39
38
|
export * from './destinationInput';
|
|
40
39
|
export * from './destinationSearch';
|
|
41
40
|
export * from './destinationSortKeys';
|
|
@@ -45,6 +44,7 @@ export * from './destinationUpdateResponse';
|
|
|
45
44
|
export * from './dockerImageType';
|
|
46
45
|
export * from './dockerRegistry';
|
|
47
46
|
export * from './dockerStreamsInput';
|
|
47
|
+
export * from './entityType';
|
|
48
48
|
export * from './errorBase';
|
|
49
49
|
export * from './event';
|
|
50
50
|
export * from './eventSortKeys';
|
|
@@ -63,6 +63,7 @@ export * from './mappingInput';
|
|
|
63
63
|
export * from './mappingKitAction';
|
|
64
64
|
export * from './mappingTypeCSV';
|
|
65
65
|
export * from './methodType';
|
|
66
|
+
export * from './model';
|
|
66
67
|
export * from './onDemandTrigger';
|
|
67
68
|
export * from './onDemandTriggerInput';
|
|
68
69
|
export * from './onDemandTriggerType';
|
|
@@ -79,6 +80,8 @@ export * from './runProgress';
|
|
|
79
80
|
export * from './runReasonCode';
|
|
80
81
|
export * from './runResponse';
|
|
81
82
|
export * from './runSortKeys';
|
|
83
|
+
export * from './runSourcePayload';
|
|
84
|
+
export * from './runSourceResponse';
|
|
82
85
|
export * from './runStatus';
|
|
83
86
|
export * from './runType';
|
|
84
87
|
export * from './scheduleTrigger';
|
|
@@ -132,6 +135,7 @@ export * from './transformation';
|
|
|
132
135
|
export * from './transformationCreate';
|
|
133
136
|
export * from './transformationCreateResponse';
|
|
134
137
|
export * from './transformationError';
|
|
138
|
+
export * from './transformationModels';
|
|
135
139
|
export * from './transformationSearch';
|
|
136
140
|
export * from './transformationTry';
|
|
137
141
|
export * from './transformationTryResponse';
|
|
@@ -1,8 +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
|
-
export type
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
export type Model = {
|
|
4
|
+
fullname: string;
|
|
5
|
+
|
|
6
|
+
modelName: string;
|
|
7
|
+
|
|
8
|
+
systemPrompt: string;
|
|
9
|
+
|
|
10
|
+
id: string;
|
|
11
|
+
|
|
12
|
+
provider: string;
|
|
8
13
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
import type { EntityType } from './entityType';
|
|
4
|
+
|
|
5
|
+
export type RunSourcePayload = {
|
|
6
|
+
/**
|
|
7
|
+
* List of index names to include in reidexing/update.
|
|
8
|
+
*/
|
|
9
|
+
indexToInclude?: string[];
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* List of index names to exclude in reidexing/update.
|
|
13
|
+
*/
|
|
14
|
+
indexToExclude?: string[];
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* List of entityID to update.
|
|
18
|
+
*/
|
|
19
|
+
entityIDs?: string[];
|
|
20
|
+
|
|
21
|
+
entityType?: EntityType;
|
|
22
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
export type RunSourceResponse = {
|
|
4
|
+
/**
|
|
5
|
+
* Map of taskID sent for reindex with the corresponding runID.
|
|
6
|
+
*/
|
|
7
|
+
taskWithRunID: Record<string, string>;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Date of creation in RFC 3339 format.
|
|
11
|
+
*/
|
|
12
|
+
createdAt: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
import type { Model } from './model';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* List of available AI models for transformation purposes.
|
|
7
|
+
*/
|
|
8
|
+
export type TransformationModels = {
|
|
9
|
+
llms: Model[];
|
|
10
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@algolia/ingestion",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.14",
|
|
4
4
|
"description": "JavaScript client for ingestion",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"clean": "rm -rf ./dist || true"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@algolia/client-common": "5.0.0-beta.
|
|
46
|
-
"@algolia/requester-browser-xhr": "5.0.0-beta.
|
|
47
|
-
"@algolia/requester-node-http": "5.0.0-beta.
|
|
45
|
+
"@algolia/client-common": "5.0.0-beta.15",
|
|
46
|
+
"@algolia/requester-browser-xhr": "5.0.0-beta.15",
|
|
47
|
+
"@algolia/requester-node-http": "5.0.0-beta.15"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@types/node": "
|
|
51
|
-
"rollup": "4.
|
|
50
|
+
"@types/node": "22.1.0",
|
|
51
|
+
"rollup": "4.20.0",
|
|
52
52
|
"typescript": "5.5.4"
|
|
53
53
|
},
|
|
54
54
|
"engines": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"destinationIndexPrefix.d.ts","sourceRoot":"","sources":["../../model/destinationIndexPrefix.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC"}
|