@algolia/ingestion 1.23.3 → 1.23.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/browser.d.ts +5 -5
- package/dist/builds/browser.js +1 -1
- package/dist/builds/browser.js.map +1 -1
- package/dist/builds/browser.min.js +1 -1
- package/dist/builds/browser.min.js.map +1 -1
- package/dist/builds/browser.umd.js +1 -1
- package/dist/builds/fetch.js +1 -1
- package/dist/builds/fetch.js.map +1 -1
- package/dist/builds/node.cjs +1 -1
- package/dist/builds/node.cjs.map +1 -1
- package/dist/builds/node.js +1 -1
- package/dist/builds/node.js.map +1 -1
- package/dist/builds/worker.js +1 -1
- package/dist/builds/worker.js.map +1 -1
- package/dist/fetch.d.ts +5 -5
- package/dist/node.d.cts +5 -5
- package/dist/node.d.ts +5 -5
- package/dist/src/ingestionClient.cjs +1 -1
- package/dist/src/ingestionClient.cjs.map +1 -1
- package/dist/src/ingestionClient.js +5 -5
- package/dist/src/ingestionClient.js.map +1 -1
- package/dist/worker.d.ts +5 -5
- package/package.json +7 -7
package/dist/fetch.d.ts
CHANGED
|
@@ -290,7 +290,7 @@ type DeleteResponse = {
|
|
|
290
290
|
/**
|
|
291
291
|
* Record type for ecommerce sources.
|
|
292
292
|
*/
|
|
293
|
-
type RecordType = 'product' | 'variant';
|
|
293
|
+
type RecordType = 'product' | 'variant' | 'collection';
|
|
294
294
|
|
|
295
295
|
type DestinationIndexName = {
|
|
296
296
|
/**
|
|
@@ -420,7 +420,7 @@ type Event = {
|
|
|
420
420
|
* Universally unique identifier (UUID) of a task run.
|
|
421
421
|
*/
|
|
422
422
|
runID: string;
|
|
423
|
-
status: EventStatus;
|
|
423
|
+
status: EventStatus | null;
|
|
424
424
|
type: EventType;
|
|
425
425
|
/**
|
|
426
426
|
* The extracted record batch size.
|
|
@@ -428,7 +428,7 @@ type Event = {
|
|
|
428
428
|
batchSize: number;
|
|
429
429
|
data?: {
|
|
430
430
|
[key: string]: any;
|
|
431
|
-
};
|
|
431
|
+
} | null;
|
|
432
432
|
/**
|
|
433
433
|
* Date of publish RFC 3339 format.
|
|
434
434
|
*/
|
|
@@ -618,7 +618,7 @@ type SourceCommercetools = {
|
|
|
618
618
|
|
|
619
619
|
type SourceDocker = {
|
|
620
620
|
/**
|
|
621
|
-
*
|
|
621
|
+
* Name of the connector.
|
|
622
622
|
*/
|
|
623
623
|
image: string;
|
|
624
624
|
/**
|
|
@@ -2309,7 +2309,7 @@ type ValidateSourceBeforeUpdateProps = {
|
|
|
2309
2309
|
sourceUpdate: SourceUpdate;
|
|
2310
2310
|
};
|
|
2311
2311
|
|
|
2312
|
-
declare const apiClientVersion = "1.23.
|
|
2312
|
+
declare const apiClientVersion = "1.23.4";
|
|
2313
2313
|
declare const REGIONS: readonly ["eu", "us"];
|
|
2314
2314
|
type Region = (typeof REGIONS)[number];
|
|
2315
2315
|
type RegionOptions = {
|
package/dist/node.d.cts
CHANGED
|
@@ -290,7 +290,7 @@ type DeleteResponse = {
|
|
|
290
290
|
/**
|
|
291
291
|
* Record type for ecommerce sources.
|
|
292
292
|
*/
|
|
293
|
-
type RecordType = 'product' | 'variant';
|
|
293
|
+
type RecordType = 'product' | 'variant' | 'collection';
|
|
294
294
|
|
|
295
295
|
type DestinationIndexName = {
|
|
296
296
|
/**
|
|
@@ -420,7 +420,7 @@ type Event = {
|
|
|
420
420
|
* Universally unique identifier (UUID) of a task run.
|
|
421
421
|
*/
|
|
422
422
|
runID: string;
|
|
423
|
-
status: EventStatus;
|
|
423
|
+
status: EventStatus | null;
|
|
424
424
|
type: EventType;
|
|
425
425
|
/**
|
|
426
426
|
* The extracted record batch size.
|
|
@@ -428,7 +428,7 @@ type Event = {
|
|
|
428
428
|
batchSize: number;
|
|
429
429
|
data?: {
|
|
430
430
|
[key: string]: any;
|
|
431
|
-
};
|
|
431
|
+
} | null;
|
|
432
432
|
/**
|
|
433
433
|
* Date of publish RFC 3339 format.
|
|
434
434
|
*/
|
|
@@ -618,7 +618,7 @@ type SourceCommercetools = {
|
|
|
618
618
|
|
|
619
619
|
type SourceDocker = {
|
|
620
620
|
/**
|
|
621
|
-
*
|
|
621
|
+
* Name of the connector.
|
|
622
622
|
*/
|
|
623
623
|
image: string;
|
|
624
624
|
/**
|
|
@@ -2309,7 +2309,7 @@ type ValidateSourceBeforeUpdateProps = {
|
|
|
2309
2309
|
sourceUpdate: SourceUpdate;
|
|
2310
2310
|
};
|
|
2311
2311
|
|
|
2312
|
-
declare const apiClientVersion = "1.23.
|
|
2312
|
+
declare const apiClientVersion = "1.23.4";
|
|
2313
2313
|
declare const REGIONS: readonly ["eu", "us"];
|
|
2314
2314
|
type Region = (typeof REGIONS)[number];
|
|
2315
2315
|
type RegionOptions = {
|
package/dist/node.d.ts
CHANGED
|
@@ -290,7 +290,7 @@ type DeleteResponse = {
|
|
|
290
290
|
/**
|
|
291
291
|
* Record type for ecommerce sources.
|
|
292
292
|
*/
|
|
293
|
-
type RecordType = 'product' | 'variant';
|
|
293
|
+
type RecordType = 'product' | 'variant' | 'collection';
|
|
294
294
|
|
|
295
295
|
type DestinationIndexName = {
|
|
296
296
|
/**
|
|
@@ -420,7 +420,7 @@ type Event = {
|
|
|
420
420
|
* Universally unique identifier (UUID) of a task run.
|
|
421
421
|
*/
|
|
422
422
|
runID: string;
|
|
423
|
-
status: EventStatus;
|
|
423
|
+
status: EventStatus | null;
|
|
424
424
|
type: EventType;
|
|
425
425
|
/**
|
|
426
426
|
* The extracted record batch size.
|
|
@@ -428,7 +428,7 @@ type Event = {
|
|
|
428
428
|
batchSize: number;
|
|
429
429
|
data?: {
|
|
430
430
|
[key: string]: any;
|
|
431
|
-
};
|
|
431
|
+
} | null;
|
|
432
432
|
/**
|
|
433
433
|
* Date of publish RFC 3339 format.
|
|
434
434
|
*/
|
|
@@ -618,7 +618,7 @@ type SourceCommercetools = {
|
|
|
618
618
|
|
|
619
619
|
type SourceDocker = {
|
|
620
620
|
/**
|
|
621
|
-
*
|
|
621
|
+
* Name of the connector.
|
|
622
622
|
*/
|
|
623
623
|
image: string;
|
|
624
624
|
/**
|
|
@@ -2309,7 +2309,7 @@ type ValidateSourceBeforeUpdateProps = {
|
|
|
2309
2309
|
sourceUpdate: SourceUpdate;
|
|
2310
2310
|
};
|
|
2311
2311
|
|
|
2312
|
-
declare const apiClientVersion = "1.23.
|
|
2312
|
+
declare const apiClientVersion = "1.23.4";
|
|
2313
2313
|
declare const REGIONS: readonly ["eu", "us"];
|
|
2314
2314
|
type Region = (typeof REGIONS)[number];
|
|
2315
2315
|
type RegionOptions = {
|
|
@@ -29,7 +29,7 @@ __export(ingestionClient_exports, {
|
|
|
29
29
|
});
|
|
30
30
|
module.exports = __toCommonJS(ingestionClient_exports);
|
|
31
31
|
var import_client_common = require("@algolia/client-common");
|
|
32
|
-
var apiClientVersion = "1.23.
|
|
32
|
+
var apiClientVersion = "1.23.4";
|
|
33
33
|
var REGIONS = ["eu", "us"];
|
|
34
34
|
function getDefaultHosts(region) {
|
|
35
35
|
const url = "data.{region}.algolia.com".replace("{region}", region);
|