@algolia/ingestion 1.12.0 → 1.14.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,7 +89,9 @@ 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.
@@ -854,7 +856,7 @@ type Task = {
854
856
  * Maximum accepted percentage of failures for a task run to finish successfully.
855
857
  */
856
858
  failureThreshold?: number;
857
- action: ActionType;
859
+ action?: ActionType;
858
860
  /**
859
861
  * Date of the last cursor in RFC 3339 format.
860
862
  */
@@ -972,7 +974,7 @@ type TaskV1 = {
972
974
  * Maximum accepted percentage of failures for a task run to finish successfully.
973
975
  */
974
976
  failureThreshold?: number;
975
- action: ActionType;
977
+ action?: ActionType;
976
978
  /**
977
979
  * Date of the last cursor in RFC 3339 format.
978
980
  */
@@ -2257,7 +2259,7 @@ type ValidateSourceBeforeUpdateProps = {
2257
2259
  sourceUpdate: SourceUpdate;
2258
2260
  };
2259
2261
 
2260
- declare const apiClientVersion = "1.12.0";
2262
+ declare const apiClientVersion = "1.14.0";
2261
2263
  declare const REGIONS: readonly ["eu", "us"];
2262
2264
  type Region = (typeof REGIONS)[number];
2263
2265
  type RegionOptions = {
package/dist/node.d.cts CHANGED
@@ -89,7 +89,9 @@ 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.
@@ -854,7 +856,7 @@ type Task = {
854
856
  * Maximum accepted percentage of failures for a task run to finish successfully.
855
857
  */
856
858
  failureThreshold?: number;
857
- action: ActionType;
859
+ action?: ActionType;
858
860
  /**
859
861
  * Date of the last cursor in RFC 3339 format.
860
862
  */
@@ -972,7 +974,7 @@ type TaskV1 = {
972
974
  * Maximum accepted percentage of failures for a task run to finish successfully.
973
975
  */
974
976
  failureThreshold?: number;
975
- action: ActionType;
977
+ action?: ActionType;
976
978
  /**
977
979
  * Date of the last cursor in RFC 3339 format.
978
980
  */
@@ -2257,7 +2259,7 @@ type ValidateSourceBeforeUpdateProps = {
2257
2259
  sourceUpdate: SourceUpdate;
2258
2260
  };
2259
2261
 
2260
- declare const apiClientVersion = "1.12.0";
2262
+ declare const apiClientVersion = "1.14.0";
2261
2263
  declare const REGIONS: readonly ["eu", "us"];
2262
2264
  type Region = (typeof REGIONS)[number];
2263
2265
  type RegionOptions = {
package/dist/node.d.ts CHANGED
@@ -89,7 +89,9 @@ 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.
@@ -854,7 +856,7 @@ type Task = {
854
856
  * Maximum accepted percentage of failures for a task run to finish successfully.
855
857
  */
856
858
  failureThreshold?: number;
857
- action: ActionType;
859
+ action?: ActionType;
858
860
  /**
859
861
  * Date of the last cursor in RFC 3339 format.
860
862
  */
@@ -972,7 +974,7 @@ type TaskV1 = {
972
974
  * Maximum accepted percentage of failures for a task run to finish successfully.
973
975
  */
974
976
  failureThreshold?: number;
975
- action: ActionType;
977
+ action?: ActionType;
976
978
  /**
977
979
  * Date of the last cursor in RFC 3339 format.
978
980
  */
@@ -2257,7 +2259,7 @@ type ValidateSourceBeforeUpdateProps = {
2257
2259
  sourceUpdate: SourceUpdate;
2258
2260
  };
2259
2261
 
2260
- declare const apiClientVersion = "1.12.0";
2262
+ declare const apiClientVersion = "1.14.0";
2261
2263
  declare const REGIONS: readonly ["eu", "us"];
2262
2264
  type Region = (typeof REGIONS)[number];
2263
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.12.0";
32
+ var apiClientVersion = "1.14.0";
33
33
  var REGIONS = ["eu", "us"];
34
34
  function getDefaultHosts(region) {
35
35
  const url = "data.{region}.algolia.com".replace("{region}", region);