@algolia/ingestion 1.11.0 → 1.12.0
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 -3
- 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/fetch.d.ts +5 -3
- package/dist/node.d.cts +5 -3
- package/dist/node.d.ts +5 -3
- package/dist/src/ingestionClient.cjs +1 -1
- package/dist/src/ingestionClient.cjs.map +1 -1
- package/dist/src/ingestionClient.js +1 -1
- package/dist/src/ingestionClient.js.map +1 -1
- package/package.json +5 -5
package/dist/fetch.d.ts
CHANGED
|
@@ -94,7 +94,7 @@ type AuthInputPartial = AuthGoogleServiceAccountPartial | AuthBasicPartial | Aut
|
|
|
94
94
|
/**
|
|
95
95
|
* Type of authentication. This determines the type of credentials required in the `input` object.
|
|
96
96
|
*/
|
|
97
|
-
type AuthenticationType = 'googleServiceAccount' | 'basic' | 'apiKey' | 'oauth' | 'algolia' | 'algoliaInsights';
|
|
97
|
+
type AuthenticationType = 'googleServiceAccount' | 'basic' | 'apiKey' | 'oauth' | 'algolia' | 'algoliaInsights' | 'secrets';
|
|
98
98
|
|
|
99
99
|
/**
|
|
100
100
|
* Name of an ecommerce platform with which to authenticate. This determines which authentication type you can select.
|
|
@@ -214,7 +214,9 @@ type AuthOAuth = {
|
|
|
214
214
|
scope?: string;
|
|
215
215
|
};
|
|
216
216
|
|
|
217
|
-
type AuthInput = AuthGoogleServiceAccount | AuthBasic | AuthAPIKey | AuthOAuth | AuthAlgolia | AuthAlgoliaInsights
|
|
217
|
+
type AuthInput = AuthGoogleServiceAccount | AuthBasic | AuthAPIKey | AuthOAuth | AuthAlgolia | AuthAlgoliaInsights | {
|
|
218
|
+
[key: string]: string;
|
|
219
|
+
};
|
|
218
220
|
|
|
219
221
|
/**
|
|
220
222
|
* Request body for creating a new authentication resource.
|
|
@@ -2255,7 +2257,7 @@ type ValidateSourceBeforeUpdateProps = {
|
|
|
2255
2257
|
sourceUpdate: SourceUpdate;
|
|
2256
2258
|
};
|
|
2257
2259
|
|
|
2258
|
-
declare const apiClientVersion = "1.
|
|
2260
|
+
declare const apiClientVersion = "1.12.0";
|
|
2259
2261
|
declare const REGIONS: readonly ["eu", "us"];
|
|
2260
2262
|
type Region = (typeof REGIONS)[number];
|
|
2261
2263
|
type RegionOptions = {
|
package/dist/node.d.cts
CHANGED
|
@@ -94,7 +94,7 @@ type AuthInputPartial = AuthGoogleServiceAccountPartial | AuthBasicPartial | Aut
|
|
|
94
94
|
/**
|
|
95
95
|
* Type of authentication. This determines the type of credentials required in the `input` object.
|
|
96
96
|
*/
|
|
97
|
-
type AuthenticationType = 'googleServiceAccount' | 'basic' | 'apiKey' | 'oauth' | 'algolia' | 'algoliaInsights';
|
|
97
|
+
type AuthenticationType = 'googleServiceAccount' | 'basic' | 'apiKey' | 'oauth' | 'algolia' | 'algoliaInsights' | 'secrets';
|
|
98
98
|
|
|
99
99
|
/**
|
|
100
100
|
* Name of an ecommerce platform with which to authenticate. This determines which authentication type you can select.
|
|
@@ -214,7 +214,9 @@ type AuthOAuth = {
|
|
|
214
214
|
scope?: string;
|
|
215
215
|
};
|
|
216
216
|
|
|
217
|
-
type AuthInput = AuthGoogleServiceAccount | AuthBasic | AuthAPIKey | AuthOAuth | AuthAlgolia | AuthAlgoliaInsights
|
|
217
|
+
type AuthInput = AuthGoogleServiceAccount | AuthBasic | AuthAPIKey | AuthOAuth | AuthAlgolia | AuthAlgoliaInsights | {
|
|
218
|
+
[key: string]: string;
|
|
219
|
+
};
|
|
218
220
|
|
|
219
221
|
/**
|
|
220
222
|
* Request body for creating a new authentication resource.
|
|
@@ -2255,7 +2257,7 @@ type ValidateSourceBeforeUpdateProps = {
|
|
|
2255
2257
|
sourceUpdate: SourceUpdate;
|
|
2256
2258
|
};
|
|
2257
2259
|
|
|
2258
|
-
declare const apiClientVersion = "1.
|
|
2260
|
+
declare const apiClientVersion = "1.12.0";
|
|
2259
2261
|
declare const REGIONS: readonly ["eu", "us"];
|
|
2260
2262
|
type Region = (typeof REGIONS)[number];
|
|
2261
2263
|
type RegionOptions = {
|
package/dist/node.d.ts
CHANGED
|
@@ -94,7 +94,7 @@ type AuthInputPartial = AuthGoogleServiceAccountPartial | AuthBasicPartial | Aut
|
|
|
94
94
|
/**
|
|
95
95
|
* Type of authentication. This determines the type of credentials required in the `input` object.
|
|
96
96
|
*/
|
|
97
|
-
type AuthenticationType = 'googleServiceAccount' | 'basic' | 'apiKey' | 'oauth' | 'algolia' | 'algoliaInsights';
|
|
97
|
+
type AuthenticationType = 'googleServiceAccount' | 'basic' | 'apiKey' | 'oauth' | 'algolia' | 'algoliaInsights' | 'secrets';
|
|
98
98
|
|
|
99
99
|
/**
|
|
100
100
|
* Name of an ecommerce platform with which to authenticate. This determines which authentication type you can select.
|
|
@@ -214,7 +214,9 @@ type AuthOAuth = {
|
|
|
214
214
|
scope?: string;
|
|
215
215
|
};
|
|
216
216
|
|
|
217
|
-
type AuthInput = AuthGoogleServiceAccount | AuthBasic | AuthAPIKey | AuthOAuth | AuthAlgolia | AuthAlgoliaInsights
|
|
217
|
+
type AuthInput = AuthGoogleServiceAccount | AuthBasic | AuthAPIKey | AuthOAuth | AuthAlgolia | AuthAlgoliaInsights | {
|
|
218
|
+
[key: string]: string;
|
|
219
|
+
};
|
|
218
220
|
|
|
219
221
|
/**
|
|
220
222
|
* Request body for creating a new authentication resource.
|
|
@@ -2255,7 +2257,7 @@ type ValidateSourceBeforeUpdateProps = {
|
|
|
2255
2257
|
sourceUpdate: SourceUpdate;
|
|
2256
2258
|
};
|
|
2257
2259
|
|
|
2258
|
-
declare const apiClientVersion = "1.
|
|
2260
|
+
declare const apiClientVersion = "1.12.0";
|
|
2259
2261
|
declare const REGIONS: readonly ["eu", "us"];
|
|
2260
2262
|
type Region = (typeof REGIONS)[number];
|
|
2261
2263
|
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.
|
|
32
|
+
var apiClientVersion = "1.12.0";
|
|
33
33
|
var REGIONS = ["eu", "us"];
|
|
34
34
|
function getDefaultHosts(region) {
|
|
35
35
|
const url = "data.{region}.algolia.com".replace("{region}", region);
|