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