@algolia/ingestion 1.20.4 → 1.22.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
@@ -117,6 +117,10 @@ type Authentication = {
117
117
  */
118
118
  name: string;
119
119
  platform?: Platform | null;
120
+ /**
121
+ * Owner of the resource.
122
+ */
123
+ owner?: string | null;
120
124
  input: AuthInputPartial;
121
125
  /**
122
126
  * Date of creation in RFC 3339 format.
@@ -320,6 +324,10 @@ type Destination = {
320
324
  * Descriptive name for the resource.
321
325
  */
322
326
  name: string;
327
+ /**
328
+ * Owner of the resource.
329
+ */
330
+ owner?: string | null;
323
331
  input: DestinationInput;
324
332
  /**
325
333
  * Date of creation in RFC 3339 format.
@@ -671,6 +679,10 @@ type Source = {
671
679
  sourceID: string;
672
680
  type: SourceType;
673
681
  name: string;
682
+ /**
683
+ * Owner of the resource.
684
+ */
685
+ owner?: string | null;
674
686
  input?: SourceInput;
675
687
  /**
676
688
  * Universally unique identifier (UUID) of an authentication resource.
@@ -855,6 +867,10 @@ type Task = {
855
867
  * The next scheduled run of the task in RFC 3339 format.
856
868
  */
857
869
  nextRun?: string;
870
+ /**
871
+ * Owner of the resource.
872
+ */
873
+ owner?: string | null;
858
874
  input?: TaskInput;
859
875
  /**
860
876
  * Whether the task is enabled.
@@ -865,6 +881,7 @@ type Task = {
865
881
  */
866
882
  failureThreshold?: number;
867
883
  action?: ActionType;
884
+ subscriptionAction?: ActionType;
868
885
  /**
869
886
  * Date of the last cursor in RFC 3339 format.
870
887
  */
@@ -1030,6 +1047,10 @@ type Transformation = {
1030
1047
  * A descriptive name for your transformation of what it does.
1031
1048
  */
1032
1049
  description?: string;
1050
+ /**
1051
+ * Owner of the resource.
1052
+ */
1053
+ owner?: string | null;
1033
1054
  /**
1034
1055
  * Date of creation in RFC 3339 format.
1035
1056
  */
@@ -1203,6 +1224,7 @@ type TaskCreate = {
1203
1224
  */
1204
1225
  destinationID: string;
1205
1226
  action: ActionType;
1227
+ subscriptionAction?: ActionType;
1206
1228
  /**
1207
1229
  * Cron expression for the task\'s schedule.
1208
1230
  */
@@ -1574,6 +1596,7 @@ type TaskUpdate = {
1574
1596
  * Whether the task is enabled.
1575
1597
  */
1576
1598
  enabled?: boolean;
1599
+ subscriptionAction?: ActionType;
1577
1600
  /**
1578
1601
  * Maximum accepted percentage of failures for a task run to finish successfully.
1579
1602
  */
@@ -2278,7 +2301,7 @@ type ValidateSourceBeforeUpdateProps = {
2278
2301
  sourceUpdate: SourceUpdate;
2279
2302
  };
2280
2303
 
2281
- declare const apiClientVersion = "1.20.4";
2304
+ declare const apiClientVersion = "1.22.0";
2282
2305
  declare const REGIONS: readonly ["eu", "us"];
2283
2306
  type Region = (typeof REGIONS)[number];
2284
2307
  type RegionOptions = {
package/dist/node.d.cts CHANGED
@@ -117,6 +117,10 @@ type Authentication = {
117
117
  */
118
118
  name: string;
119
119
  platform?: Platform | null;
120
+ /**
121
+ * Owner of the resource.
122
+ */
123
+ owner?: string | null;
120
124
  input: AuthInputPartial;
121
125
  /**
122
126
  * Date of creation in RFC 3339 format.
@@ -320,6 +324,10 @@ type Destination = {
320
324
  * Descriptive name for the resource.
321
325
  */
322
326
  name: string;
327
+ /**
328
+ * Owner of the resource.
329
+ */
330
+ owner?: string | null;
323
331
  input: DestinationInput;
324
332
  /**
325
333
  * Date of creation in RFC 3339 format.
@@ -671,6 +679,10 @@ type Source = {
671
679
  sourceID: string;
672
680
  type: SourceType;
673
681
  name: string;
682
+ /**
683
+ * Owner of the resource.
684
+ */
685
+ owner?: string | null;
674
686
  input?: SourceInput;
675
687
  /**
676
688
  * Universally unique identifier (UUID) of an authentication resource.
@@ -855,6 +867,10 @@ type Task = {
855
867
  * The next scheduled run of the task in RFC 3339 format.
856
868
  */
857
869
  nextRun?: string;
870
+ /**
871
+ * Owner of the resource.
872
+ */
873
+ owner?: string | null;
858
874
  input?: TaskInput;
859
875
  /**
860
876
  * Whether the task is enabled.
@@ -865,6 +881,7 @@ type Task = {
865
881
  */
866
882
  failureThreshold?: number;
867
883
  action?: ActionType;
884
+ subscriptionAction?: ActionType;
868
885
  /**
869
886
  * Date of the last cursor in RFC 3339 format.
870
887
  */
@@ -1030,6 +1047,10 @@ type Transformation = {
1030
1047
  * A descriptive name for your transformation of what it does.
1031
1048
  */
1032
1049
  description?: string;
1050
+ /**
1051
+ * Owner of the resource.
1052
+ */
1053
+ owner?: string | null;
1033
1054
  /**
1034
1055
  * Date of creation in RFC 3339 format.
1035
1056
  */
@@ -1203,6 +1224,7 @@ type TaskCreate = {
1203
1224
  */
1204
1225
  destinationID: string;
1205
1226
  action: ActionType;
1227
+ subscriptionAction?: ActionType;
1206
1228
  /**
1207
1229
  * Cron expression for the task\'s schedule.
1208
1230
  */
@@ -1574,6 +1596,7 @@ type TaskUpdate = {
1574
1596
  * Whether the task is enabled.
1575
1597
  */
1576
1598
  enabled?: boolean;
1599
+ subscriptionAction?: ActionType;
1577
1600
  /**
1578
1601
  * Maximum accepted percentage of failures for a task run to finish successfully.
1579
1602
  */
@@ -2278,7 +2301,7 @@ type ValidateSourceBeforeUpdateProps = {
2278
2301
  sourceUpdate: SourceUpdate;
2279
2302
  };
2280
2303
 
2281
- declare const apiClientVersion = "1.20.4";
2304
+ declare const apiClientVersion = "1.22.0";
2282
2305
  declare const REGIONS: readonly ["eu", "us"];
2283
2306
  type Region = (typeof REGIONS)[number];
2284
2307
  type RegionOptions = {
package/dist/node.d.ts CHANGED
@@ -117,6 +117,10 @@ type Authentication = {
117
117
  */
118
118
  name: string;
119
119
  platform?: Platform | null;
120
+ /**
121
+ * Owner of the resource.
122
+ */
123
+ owner?: string | null;
120
124
  input: AuthInputPartial;
121
125
  /**
122
126
  * Date of creation in RFC 3339 format.
@@ -320,6 +324,10 @@ type Destination = {
320
324
  * Descriptive name for the resource.
321
325
  */
322
326
  name: string;
327
+ /**
328
+ * Owner of the resource.
329
+ */
330
+ owner?: string | null;
323
331
  input: DestinationInput;
324
332
  /**
325
333
  * Date of creation in RFC 3339 format.
@@ -671,6 +679,10 @@ type Source = {
671
679
  sourceID: string;
672
680
  type: SourceType;
673
681
  name: string;
682
+ /**
683
+ * Owner of the resource.
684
+ */
685
+ owner?: string | null;
674
686
  input?: SourceInput;
675
687
  /**
676
688
  * Universally unique identifier (UUID) of an authentication resource.
@@ -855,6 +867,10 @@ type Task = {
855
867
  * The next scheduled run of the task in RFC 3339 format.
856
868
  */
857
869
  nextRun?: string;
870
+ /**
871
+ * Owner of the resource.
872
+ */
873
+ owner?: string | null;
858
874
  input?: TaskInput;
859
875
  /**
860
876
  * Whether the task is enabled.
@@ -865,6 +881,7 @@ type Task = {
865
881
  */
866
882
  failureThreshold?: number;
867
883
  action?: ActionType;
884
+ subscriptionAction?: ActionType;
868
885
  /**
869
886
  * Date of the last cursor in RFC 3339 format.
870
887
  */
@@ -1030,6 +1047,10 @@ type Transformation = {
1030
1047
  * A descriptive name for your transformation of what it does.
1031
1048
  */
1032
1049
  description?: string;
1050
+ /**
1051
+ * Owner of the resource.
1052
+ */
1053
+ owner?: string | null;
1033
1054
  /**
1034
1055
  * Date of creation in RFC 3339 format.
1035
1056
  */
@@ -1203,6 +1224,7 @@ type TaskCreate = {
1203
1224
  */
1204
1225
  destinationID: string;
1205
1226
  action: ActionType;
1227
+ subscriptionAction?: ActionType;
1206
1228
  /**
1207
1229
  * Cron expression for the task\'s schedule.
1208
1230
  */
@@ -1574,6 +1596,7 @@ type TaskUpdate = {
1574
1596
  * Whether the task is enabled.
1575
1597
  */
1576
1598
  enabled?: boolean;
1599
+ subscriptionAction?: ActionType;
1577
1600
  /**
1578
1601
  * Maximum accepted percentage of failures for a task run to finish successfully.
1579
1602
  */
@@ -2278,7 +2301,7 @@ type ValidateSourceBeforeUpdateProps = {
2278
2301
  sourceUpdate: SourceUpdate;
2279
2302
  };
2280
2303
 
2281
- declare const apiClientVersion = "1.20.4";
2304
+ declare const apiClientVersion = "1.22.0";
2282
2305
  declare const REGIONS: readonly ["eu", "us"];
2283
2306
  type Region = (typeof REGIONS)[number];
2284
2307
  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.20.4";
32
+ var apiClientVersion = "1.22.0";
33
33
  var REGIONS = ["eu", "us"];
34
34
  function getDefaultHosts(region) {
35
35
  const url = "data.{region}.algolia.com".replace("{region}", region);