@rlvt/datasources-openapi-client 1.0.358 → 1.0.360

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.
@@ -17,76 +17,6 @@ declare type PropsWithoutWriteonly<T> = {
17
17
  export declare type WithoutWriteonly<T> = T extends any ? T extends Primitive ? T : T extends Array<infer U> ? WithoutWriteonly<U>[] : keyof T extends never ? unknown : {
18
18
  [key in keyof Pick<T, PropsWithoutWriteonly<T>>]: Pick<T, PropsWithoutWriteonly<T>>[key] extends any ? WithoutWriteonly<Pick<T, PropsWithoutWriteonly<T>>[key]> : never;
19
19
  } : never;
20
- export declare enum AuthenticationMode {
21
- PASSWORD = "password",
22
- CLIENT_CREDENTIALS = "client_credentials",
23
- REFRESH_TOKEN = "refresh_token",
24
- ACCESS_TOKEN = "access_token",
25
- CUSTOM_PAYLOAD = "custom_payload",
26
- JWT_BEARER = "jwt_bearer"
27
- }
28
- export declare type OAuthClientConfiguration = {
29
- tokenUrl: string;
30
- authorizeUrl?: string;
31
- clientId: string;
32
- clientSecret: (string) & writeonlyP;
33
- scopes: string[];
34
- customPayload?: {
35
- tokenUrl: {
36
- headers?: {
37
- [key: string]: string;
38
- };
39
- query?: {
40
- [key: string]: string;
41
- };
42
- body?: {
43
- [key: string]: string;
44
- };
45
- };
46
- authorizeUrl: {
47
- headers?: {
48
- [key: string]: string;
49
- };
50
- query?: {
51
- [key: string]: string;
52
- };
53
- body?: {
54
- [key: string]: string;
55
- };
56
- };
57
- };
58
- accessTokenPath?: string;
59
- mode?: AuthenticationMode;
60
- accessTokenHeader?: string;
61
- accessTokenHeaderPrefix?: string;
62
- method?: "GET" | "POST";
63
- tokenExpiration?: number;
64
- };
65
- export declare type OAuthClient = {
66
- readonly companyId: (string) & readonlyP;
67
- readonly resourceGroupIds: (string[]) & readonlyP;
68
- username?: string;
69
- tokenUrl?: string;
70
- authorizeUrl?: string;
71
- password?: (string) & writeonlyP;
72
- refreshToken?: (string) & writeonlyP;
73
- accessToken?: (string) & writeonlyP;
74
- nextInChainClient?: string;
75
- } & {
76
- readonly id: (string) & readonlyP;
77
- } & {
78
- configuration: string | OAuthClientConfiguration;
79
- nextInChainConfiguration?: string;
80
- };
81
- export declare type InternalResponse_Array_OAuthClient = {
82
- program: string;
83
- version: string;
84
- datetime: string;
85
- status: string;
86
- code?: number;
87
- message: string;
88
- data: OAuthClient[];
89
- };
90
20
  export declare type InternalResponse_ = {
91
21
  program: string;
92
22
  version: string;
@@ -141,41 +71,164 @@ export declare enum DatasourceType {
141
71
  CRM = "crm",
142
72
  PUSH = "push"
143
73
  }
144
- export declare type InternalResponse_OAuthClient = {
74
+ export declare type InternalResponse_Array_datasourceId_string_name_string_columns_Array_name_string_type_Union_string_boolean_integer_date_datetime_decimal_text_nullable_Union_false_true_default_Union_undefined_null_string_number_false_true_Date_virtualColumns_Union_undefined_Array_name_string_type_Union_string_boolean_integer_date_datetime_decimal_text_nullable_Union_false_true_query_string_uniqueKeys_Union_undefined_Array_columns_Array_string_type_UniqueKey_indexes_Union_undefined_Array_columns_Array_string_type_Index_relations_Union_undefined_Array_columns_Array_string_type_Relation_reference_datasourceId_string_columns_Array_string_table_string = {
145
75
  program: string;
146
76
  version: string;
147
77
  datetime: string;
148
78
  status: string;
149
79
  code?: number;
150
80
  message: string;
151
- data: OAuthClient;
81
+ data: {
82
+ datasourceId: string;
83
+ name: string;
84
+ columns: {
85
+ name: string;
86
+ type: "string" | "boolean" | "integer" | "date" | "datetime" | "decimal" | "text";
87
+ nullable: boolean;
88
+ default?: string | number | (false) | (true) | string;
89
+ }[];
90
+ virtualColumns?: {
91
+ name: string;
92
+ type: "string" | "boolean" | "integer" | "date" | "datetime" | "decimal" | "text";
93
+ nullable: boolean;
94
+ query: string;
95
+ }[];
96
+ uniqueKeys?: {
97
+ columns: string[];
98
+ type: "UniqueKey";
99
+ }[];
100
+ indexes?: {
101
+ columns: string[];
102
+ type: "Index";
103
+ }[];
104
+ relations?: {
105
+ columns: string[];
106
+ type: "Relation";
107
+ reference: {
108
+ datasourceId: string;
109
+ columns: string[];
110
+ table: string;
111
+ };
112
+ }[];
113
+ }[];
152
114
  };
153
- export declare type OAuthClient_Without_Configuration = {
154
- readonly companyId: (string) & readonlyP;
155
- readonly resourceGroupIds: (string[]) & readonlyP;
156
- username?: string;
157
- tokenUrl?: string;
158
- authorizeUrl?: string;
159
- password?: (string) & writeonlyP;
160
- refreshToken?: (string) & writeonlyP;
161
- accessToken?: (string) & writeonlyP;
162
- nextInChainClient?: string;
163
- } & {
164
- readonly id: (string) & readonlyP;
165
- } & {
166
- configuration: string | OAuthClientConfiguration;
167
- nextInChainConfiguration?: string;
115
+ export declare type CreateSchemaBody = {
116
+ schema: {
117
+ datasourceId: string;
118
+ name: string;
119
+ columns: {
120
+ name: string;
121
+ type: "string" | "boolean" | "integer" | "date" | "datetime" | "decimal" | "text";
122
+ nullable: boolean;
123
+ default?: string | number | (false) | (true) | string;
124
+ }[];
125
+ virtualColumns?: {
126
+ name: string;
127
+ type: "string" | "boolean" | "integer" | "date" | "datetime" | "decimal" | "text";
128
+ nullable: boolean;
129
+ query: string;
130
+ }[];
131
+ uniqueKeys?: {
132
+ columns: string[];
133
+ type: "UniqueKey";
134
+ }[];
135
+ indexes?: {
136
+ columns: string[];
137
+ type: "Index";
138
+ }[];
139
+ relations?: {
140
+ columns: string[];
141
+ type: "Relation";
142
+ reference: {
143
+ datasourceId: string;
144
+ columns: string[];
145
+ table: string;
146
+ };
147
+ }[];
148
+ }[];
168
149
  };
169
- export declare type InternalResponse = {
150
+ export declare type ValidationIssue = {
151
+ message: string;
152
+ path: (string | number)[];
153
+ };
154
+ export declare type DatagraphValidationError = {
155
+ issues: ValidationIssue[];
156
+ name: string;
157
+ message: string;
158
+ stack?: string;
159
+ };
160
+ export declare type SafeParseFailure = {
161
+ success: false;
162
+ error: DatagraphValidationError;
163
+ };
164
+ export declare type SafeParseSuccess_Array_Intersection_datasourceId_string_name_string_columns_Array_Intersection_name_string_type_Union_string_number_boolean_name_integer_date_datetime_decimal_text_url_address_1_address_2_address_3_address_4_array_string_city_company_id_country_description_datetime_iso_event_id_event_name_image_url_latitude_longitude_locale_price_product_id_product_lifetime_record_string_reference_id_reference_ids_transaction_id_transaction_metadata_transaction_source_user_age_user_agent_user_birthday_user_tmp_id_workflow_event_mode_workflow_id_workflow_onsite_user_workflow_purchase_user_workflow_user_workflow_version_id_zipcode_nullable_Union_false_true_default_Union_undefined_null_string_number_false_true_Date_virtualColumns_Union_undefined_Array_name_string_type_Union_string_number_boolean_name_integer_date_datetime_decimal_text_url_address_1_address_2_address_3_address_4_array_string_city_company_id_country_description_datetime_iso_event_id_event_name_image_url_latitude_longitude_locale_price_product_id_product_lifetime_record_string_reference_id_reference_ids_transaction_id_transaction_metadata_transaction_source_user_age_user_agent_user_birthday_user_tmp_id_workflow_event_mode_workflow_id_workflow_onsite_user_workflow_purchase_user_workflow_user_workflow_version_id_zipcode_nullable_Union_false_true_query_string_uniqueKeys_Union_undefined_Array_type_UniqueKey_columns_Array_string_indexes_Union_undefined_Array_type_Index_columns_Array_string_relations_Union_undefined_Array_type_Relation_columns_Array_string_reference_datasourceId_string_table_string_columns_Array_string = {
165
+ success: true;
166
+ data: ({
167
+ datasourceId: string;
168
+ name: string;
169
+ columns: ({
170
+ name: string;
171
+ type: "string" | "number" | "boolean" | "name" | "integer" | "date" | "datetime" | "decimal" | "text" | "url" | "address_1" | "address_2" | "address_3" | "address_4" | "array_string" | "city" | "company_id" | "country" | "description" | "datetime_iso" | "event_id" | "event_name" | "image_url" | "latitude" | "longitude" | "locale" | "price" | "product_id" | "product_lifetime" | "record_string" | "reference_id" | "reference_ids" | "transaction_id" | "transaction_metadata" | "transaction_source" | "user_age" | "user_agent" | "user_birthday" | "user_tmp_id" | "workflow_event_mode" | "workflow_id" | "workflow_onsite_user" | "workflow_purchase_user" | "workflow_user" | "workflow_version_id" | "zipcode";
172
+ nullable: boolean;
173
+ } & {
174
+ default?: string | number | (false) | (true) | string;
175
+ })[];
176
+ } & {
177
+ virtualColumns?: {
178
+ name: string;
179
+ type: "string" | "number" | "boolean" | "name" | "integer" | "date" | "datetime" | "decimal" | "text" | "url" | "address_1" | "address_2" | "address_3" | "address_4" | "array_string" | "city" | "company_id" | "country" | "description" | "datetime_iso" | "event_id" | "event_name" | "image_url" | "latitude" | "longitude" | "locale" | "price" | "product_id" | "product_lifetime" | "record_string" | "reference_id" | "reference_ids" | "transaction_id" | "transaction_metadata" | "transaction_source" | "user_age" | "user_agent" | "user_birthday" | "user_tmp_id" | "workflow_event_mode" | "workflow_id" | "workflow_onsite_user" | "workflow_purchase_user" | "workflow_user" | "workflow_version_id" | "zipcode";
180
+ nullable: boolean;
181
+ query: string;
182
+ }[];
183
+ uniqueKeys?: {
184
+ type: "UniqueKey";
185
+ columns: string[];
186
+ }[];
187
+ indexes?: {
188
+ type: "Index";
189
+ columns: string[];
190
+ }[];
191
+ relations?: {
192
+ type: "Relation";
193
+ columns: string[];
194
+ reference: {
195
+ datasourceId: string;
196
+ table: string;
197
+ columns: string[];
198
+ };
199
+ }[];
200
+ })[];
201
+ };
202
+ export declare type RelationAnalysisResult = {
203
+ fromDatasourceId: string;
204
+ fromTable: string;
205
+ fromColumn: string;
206
+ fromDistinctCount: number | null;
207
+ toDatasourceId: string;
208
+ toTable: string;
209
+ toColumn: string;
210
+ toDistinctCount: number | null;
211
+ matchCount: number | null;
212
+ matchPercentage: number | null;
213
+ error?: string;
214
+ };
215
+ export declare type ValidateSchemaResponse = {
216
+ validation: SafeParseFailure | SafeParseSuccess_Array_Intersection_datasourceId_string_name_string_columns_Array_Intersection_name_string_type_Union_string_number_boolean_name_integer_date_datetime_decimal_text_url_address_1_address_2_address_3_address_4_array_string_city_company_id_country_description_datetime_iso_event_id_event_name_image_url_latitude_longitude_locale_price_product_id_product_lifetime_record_string_reference_id_reference_ids_transaction_id_transaction_metadata_transaction_source_user_age_user_agent_user_birthday_user_tmp_id_workflow_event_mode_workflow_id_workflow_onsite_user_workflow_purchase_user_workflow_user_workflow_version_id_zipcode_nullable_Union_false_true_default_Union_undefined_null_string_number_false_true_Date_virtualColumns_Union_undefined_Array_name_string_type_Union_string_number_boolean_name_integer_date_datetime_decimal_text_url_address_1_address_2_address_3_address_4_array_string_city_company_id_country_description_datetime_iso_event_id_event_name_image_url_latitude_longitude_locale_price_product_id_product_lifetime_record_string_reference_id_reference_ids_transaction_id_transaction_metadata_transaction_source_user_age_user_agent_user_birthday_user_tmp_id_workflow_event_mode_workflow_id_workflow_onsite_user_workflow_purchase_user_workflow_user_workflow_version_id_zipcode_nullable_Union_false_true_query_string_uniqueKeys_Union_undefined_Array_type_UniqueKey_columns_Array_string_indexes_Union_undefined_Array_type_Index_columns_Array_string_relations_Union_undefined_Array_type_Relation_columns_Array_string_reference_datasourceId_string_table_string_columns_Array_string;
217
+ relations: RelationAnalysisResult[];
218
+ };
219
+ export declare type InternalResponse_ValidateSchemaResponse = {
170
220
  program: string;
171
221
  version: string;
172
222
  datetime: string;
173
223
  status: string;
174
224
  code?: number;
175
225
  message: string;
176
- data: {};
226
+ data: ValidateSchemaResponse;
177
227
  };
178
- export declare type InternalResponse_url_string = {
228
+ export declare type ValidateSchemaBody = {
229
+ schema: AnyValue;
230
+ };
231
+ export declare type InternalResponse_Array_Array_datasourceId_string_name_string_columns_Array_name_string_type_Union_string_boolean_integer_date_datetime_decimal_text_nullable_Union_false_true_default_Union_undefined_null_string_number_false_true_Date_virtualColumns_Union_undefined_Array_name_string_type_Union_string_boolean_integer_date_datetime_decimal_text_nullable_Union_false_true_query_string_uniqueKeys_Union_undefined_Array_columns_Array_string_type_UniqueKey_indexes_Union_undefined_Array_columns_Array_string_type_Index_relations_Union_undefined_Array_columns_Array_string_type_Relation_reference_datasourceId_string_columns_Array_string_table_string = {
179
232
  program: string;
180
233
  version: string;
181
234
  datetime: string;
@@ -183,9 +236,80 @@ export declare type InternalResponse_url_string = {
183
236
  code?: number;
184
237
  message: string;
185
238
  data: {
186
- url: string;
187
- };
239
+ datasourceId: string;
240
+ name: string;
241
+ columns: {
242
+ name: string;
243
+ type: "string" | "boolean" | "integer" | "date" | "datetime" | "decimal" | "text";
244
+ nullable: boolean;
245
+ default?: string | number | (false) | (true) | string;
246
+ }[];
247
+ virtualColumns?: {
248
+ name: string;
249
+ type: "string" | "boolean" | "integer" | "date" | "datetime" | "decimal" | "text";
250
+ nullable: boolean;
251
+ query: string;
252
+ }[];
253
+ uniqueKeys?: {
254
+ columns: string[];
255
+ type: "UniqueKey";
256
+ }[];
257
+ indexes?: {
258
+ columns: string[];
259
+ type: "Index";
260
+ }[];
261
+ relations?: {
262
+ columns: string[];
263
+ type: "Relation";
264
+ reference: {
265
+ datasourceId: string;
266
+ columns: string[];
267
+ table: string;
268
+ };
269
+ }[];
270
+ }[][];
271
+ };
272
+ export declare type UpdateSchemaBody = {
273
+ schema: {
274
+ datasourceId: string;
275
+ name: string;
276
+ columns: {
277
+ name: string;
278
+ type: "string" | "boolean" | "integer" | "date" | "datetime" | "decimal" | "text";
279
+ nullable: boolean;
280
+ default?: string | number | (false) | (true) | string;
281
+ }[];
282
+ virtualColumns?: {
283
+ name: string;
284
+ type: "string" | "boolean" | "integer" | "date" | "datetime" | "decimal" | "text";
285
+ nullable: boolean;
286
+ query: string;
287
+ }[];
288
+ uniqueKeys?: {
289
+ columns: string[];
290
+ type: "UniqueKey";
291
+ }[];
292
+ indexes?: {
293
+ columns: string[];
294
+ type: "Index";
295
+ }[];
296
+ relations?: {
297
+ columns: string[];
298
+ type: "Relation";
299
+ reference: {
300
+ datasourceId: string;
301
+ columns: string[];
302
+ table: string;
303
+ };
304
+ }[];
305
+ }[];
188
306
  };
307
+ export declare enum DatasourceFetcherName {
308
+ WORKER = "worker",
309
+ INGESTER = "ingester",
310
+ PROXY = "proxy",
311
+ TRACKING = "tracking"
312
+ }
189
313
  export declare enum DatasourceMode {
190
314
  INGESTER = "ingester",
191
315
  WORKER = "worker",
@@ -193,12 +317,6 @@ export declare enum DatasourceMode {
193
317
  PUBSUB = "pubsub",
194
318
  PUSH = "push"
195
319
  }
196
- export declare enum DatasourceFetcherName {
197
- WORKER = "worker",
198
- INGESTER = "ingester",
199
- PROXY = "proxy",
200
- TRACKING = "tracking"
201
- }
202
320
  export declare enum DatasourceGenericSubType {
203
321
  USER = "user",
204
322
  TOP_ATTRIBUTES = "TOP_ATTRIBUTES",
@@ -415,9 +533,9 @@ export declare type IngesterFieldMap = {
415
533
  } | {
416
534
  name: "fallback";
417
535
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
418
- staticValue: string | number | string[] | {
536
+ staticValue: string | number | string[] | number[] | {
419
537
  [key: string]: string;
420
- } | number[] | {
538
+ } | {
421
539
  [key: string]: number;
422
540
  };
423
541
  };
@@ -467,6 +585,14 @@ export declare type IngesterFieldMap = {
467
585
  algorithm: string;
468
586
  salt?: string;
469
587
  };
588
+ } | {
589
+ name: "decipher";
590
+ params: {
591
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
592
+ key: string;
593
+ iv?: string;
594
+ inputEncoding?: "hex" | "base64";
595
+ };
470
596
  }))[];
471
597
  isPrimaryKey?: boolean;
472
598
  index: FieldIndexType;
@@ -498,7 +624,6 @@ export declare type Serialize_DatasourceTemplate = {
498
624
  hidden: boolean;
499
625
  template: {
500
626
  datasource: {
501
- mode: DatasourceMode;
502
627
  readonly fetcher?: ({
503
628
  name: DatasourceFetcherName;
504
629
  params: {};
@@ -537,6 +662,14 @@ export declare type Serialize_DatasourceTemplate = {
537
662
  minPurchaseCount?: number;
538
663
  }[];
539
664
  };
665
+ } | {
666
+ name: "product-exclusion";
667
+ params: {
668
+ mode: "inclusion" | "exclusion";
669
+ exclusionDatasourceId: string;
670
+ exclusionIdField: string;
671
+ productIdField: string;
672
+ };
540
673
  } | {
541
674
  name: "per-user";
542
675
  params: {};
@@ -553,6 +686,7 @@ export declare type Serialize_DatasourceTemplate = {
553
686
  outputField: string;
554
687
  };
555
688
  }) & readonlyP;
689
+ mode: DatasourceMode;
556
690
  };
557
691
  version: {
558
692
  type?: {
@@ -624,10 +758,9 @@ export declare type Serialize_DatasourceTemplate = {
624
758
  };
625
759
  detectMissingFields?: boolean;
626
760
  updateOptions?: {
627
- type: "override_previous_data";
628
761
  options: {};
762
+ type: "override_previous_data";
629
763
  } | {
630
- type: "upsert_data";
631
764
  options: {
632
765
  mode?: PinotUpsertMode;
633
766
  primaryKey: string;
@@ -638,9 +771,10 @@ export declare type Serialize_DatasourceTemplate = {
638
771
  deleteRecordColumn?: string;
639
772
  consistencyMode?: "NONE" | "SNAPSHOT";
640
773
  };
774
+ type: "upsert_data";
641
775
  } | {
642
- type: "keep_previous_data";
643
776
  options: {};
777
+ type: "keep_previous_data";
644
778
  };
645
779
  sources?: ({
646
780
  input?: {
@@ -681,7 +815,7 @@ export declare type Serialize_DatasourceTemplate = {
681
815
  };
682
816
  textEncoding?: string;
683
817
  options?: {
684
- method?: "GET" | "POST" | "PATCH" | "PUT";
818
+ method?: "GET" | "PATCH" | "POST" | "PUT";
685
819
  body?: string;
686
820
  headers?: {
687
821
  [key: string]: string;
@@ -1493,6 +1627,14 @@ export declare type Serialize_DatasourceTemplate = {
1493
1627
  algorithm?: string;
1494
1628
  salt?: string;
1495
1629
  };
1630
+ } | {
1631
+ name?: "decipher";
1632
+ params?: {
1633
+ algorithm?: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
1634
+ key?: string;
1635
+ iv?: string;
1636
+ inputEncoding?: "hex" | "base64";
1637
+ };
1496
1638
  })[];
1497
1639
  };
1498
1640
  sample?: {
@@ -1539,7 +1681,7 @@ export declare type Serialize_DatasourceTemplate = {
1539
1681
  };
1540
1682
  textEncoding?: string;
1541
1683
  options?: {
1542
- method?: "GET" | "POST" | "PATCH" | "PUT";
1684
+ method?: "GET" | "PATCH" | "POST" | "PUT";
1543
1685
  body?: string;
1544
1686
  headers?: {
1545
1687
  [key: string]: string;
@@ -2351,6 +2493,14 @@ export declare type Serialize_DatasourceTemplate = {
2351
2493
  algorithm?: string;
2352
2494
  salt?: string;
2353
2495
  };
2496
+ } | {
2497
+ name?: "decipher";
2498
+ params?: {
2499
+ algorithm?: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
2500
+ key?: string;
2501
+ iv?: string;
2502
+ inputEncoding?: "hex" | "base64";
2503
+ };
2354
2504
  })[];
2355
2505
  };
2356
2506
  sample?: {
@@ -2361,7 +2511,6 @@ export declare type Serialize_DatasourceTemplate = {
2361
2511
  };
2362
2512
  } | {
2363
2513
  datasource: {
2364
- mode: DatasourceMode;
2365
2514
  readonly fetcher?: ({
2366
2515
  name: DatasourceFetcherName;
2367
2516
  params: {};
@@ -2400,6 +2549,14 @@ export declare type Serialize_DatasourceTemplate = {
2400
2549
  minPurchaseCount?: number;
2401
2550
  }[];
2402
2551
  };
2552
+ } | {
2553
+ name: "product-exclusion";
2554
+ params: {
2555
+ mode: "inclusion" | "exclusion";
2556
+ exclusionDatasourceId: string;
2557
+ exclusionIdField: string;
2558
+ productIdField: string;
2559
+ };
2403
2560
  } | {
2404
2561
  name: "per-user";
2405
2562
  params: {};
@@ -2416,6 +2573,7 @@ export declare type Serialize_DatasourceTemplate = {
2416
2573
  outputField: string;
2417
2574
  };
2418
2575
  }) & readonlyP;
2576
+ mode: DatasourceMode;
2419
2577
  };
2420
2578
  version: {
2421
2579
  type?: {
@@ -2469,7 +2627,7 @@ export declare type Serialize_DatasourceTemplate = {
2469
2627
  };
2470
2628
  textEncoding?: string;
2471
2629
  options?: {
2472
- method?: "GET" | "POST" | "PATCH" | "PUT";
2630
+ method?: "GET" | "PATCH" | "POST" | "PUT";
2473
2631
  body?: string;
2474
2632
  headers?: {
2475
2633
  [key: string]: string;
@@ -3281,6 +3439,14 @@ export declare type Serialize_DatasourceTemplate = {
3281
3439
  algorithm?: string;
3282
3440
  salt?: string;
3283
3441
  };
3442
+ } | {
3443
+ name?: "decipher";
3444
+ params?: {
3445
+ algorithm?: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
3446
+ key?: string;
3447
+ iv?: string;
3448
+ inputEncoding?: "hex" | "base64";
3449
+ };
3284
3450
  })[];
3285
3451
  };
3286
3452
  sample?: {
@@ -3327,7 +3493,7 @@ export declare type Serialize_DatasourceTemplate = {
3327
3493
  };
3328
3494
  textEncoding?: string;
3329
3495
  options?: {
3330
- method?: "GET" | "POST" | "PATCH" | "PUT";
3496
+ method?: "GET" | "PATCH" | "POST" | "PUT";
3331
3497
  body?: string;
3332
3498
  headers?: {
3333
3499
  [key: string]: string;
@@ -4139,6 +4305,14 @@ export declare type Serialize_DatasourceTemplate = {
4139
4305
  algorithm?: string;
4140
4306
  salt?: string;
4141
4307
  };
4308
+ } | {
4309
+ name?: "decipher";
4310
+ params?: {
4311
+ algorithm?: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
4312
+ key?: string;
4313
+ iv?: string;
4314
+ inputEncoding?: "hex" | "base64";
4315
+ };
4142
4316
  })[];
4143
4317
  };
4144
4318
  sample?: {
@@ -4149,7 +4323,6 @@ export declare type Serialize_DatasourceTemplate = {
4149
4323
  };
4150
4324
  } | {
4151
4325
  datasource: {
4152
- mode: DatasourceMode;
4153
4326
  readonly fetcher?: ({
4154
4327
  name: DatasourceFetcherName;
4155
4328
  params: {};
@@ -4188,6 +4361,14 @@ export declare type Serialize_DatasourceTemplate = {
4188
4361
  minPurchaseCount?: number;
4189
4362
  }[];
4190
4363
  };
4364
+ } | {
4365
+ name: "product-exclusion";
4366
+ params: {
4367
+ mode: "inclusion" | "exclusion";
4368
+ exclusionDatasourceId: string;
4369
+ exclusionIdField: string;
4370
+ productIdField: string;
4371
+ };
4191
4372
  } | {
4192
4373
  name: "per-user";
4193
4374
  params: {};
@@ -4222,6 +4403,7 @@ export declare type Serialize_DatasourceTemplate = {
4222
4403
  tableName: string;
4223
4404
  }[];
4224
4405
  };
4406
+ mode: DatasourceMode;
4225
4407
  };
4226
4408
  version: {
4227
4409
  filter?: {
@@ -4747,10 +4929,9 @@ export declare type Serialize_DatasourceTemplate = {
4747
4929
  fieldsMap?: IngesterFieldMap[];
4748
4930
  readonly health?: (DatasourceHealth) & readonlyP;
4749
4931
  updateOptions?: {
4750
- type: "override_previous_data";
4751
4932
  options: {};
4933
+ type: "override_previous_data";
4752
4934
  } | {
4753
- type: "upsert_data";
4754
4935
  options: {
4755
4936
  mode?: PinotUpsertMode;
4756
4937
  primaryKey: string;
@@ -4761,15 +4942,15 @@ export declare type Serialize_DatasourceTemplate = {
4761
4942
  deleteRecordColumn?: string;
4762
4943
  consistencyMode?: "NONE" | "SNAPSHOT";
4763
4944
  };
4945
+ type: "upsert_data";
4764
4946
  } | {
4765
- type: "keep_previous_data";
4766
4947
  options: {};
4948
+ type: "keep_previous_data";
4767
4949
  };
4768
4950
  preProcessingAggregations?: PreProcessingAggregations[];
4769
4951
  };
4770
4952
  } | {
4771
4953
  datasource: {
4772
- mode: DatasourceMode;
4773
4954
  readonly fetcher?: ({
4774
4955
  name: DatasourceFetcherName;
4775
4956
  params: {};
@@ -4808,6 +4989,14 @@ export declare type Serialize_DatasourceTemplate = {
4808
4989
  minPurchaseCount?: number;
4809
4990
  }[];
4810
4991
  };
4992
+ } | {
4993
+ name: "product-exclusion";
4994
+ params: {
4995
+ mode: "inclusion" | "exclusion";
4996
+ exclusionDatasourceId: string;
4997
+ exclusionIdField: string;
4998
+ productIdField: string;
4999
+ };
4811
5000
  } | {
4812
5001
  name: "per-user";
4813
5002
  params: {};
@@ -4842,6 +5031,7 @@ export declare type Serialize_DatasourceTemplate = {
4842
5031
  tableName: string;
4843
5032
  }[];
4844
5033
  };
5034
+ mode: DatasourceMode;
4845
5035
  };
4846
5036
  version: {
4847
5037
  type?: {
@@ -4981,6 +5171,121 @@ export declare type InternalResponse_Array_string = {
4981
5171
  message: string;
4982
5172
  data: string[];
4983
5173
  };
5174
+ export declare enum AuthenticationMode {
5175
+ PASSWORD = "password",
5176
+ CLIENT_CREDENTIALS = "client_credentials",
5177
+ REFRESH_TOKEN = "refresh_token",
5178
+ ACCESS_TOKEN = "access_token",
5179
+ CUSTOM_PAYLOAD = "custom_payload",
5180
+ JWT_BEARER = "jwt_bearer"
5181
+ }
5182
+ export declare type OAuthClientConfiguration = {
5183
+ mode?: AuthenticationMode;
5184
+ method?: "GET" | "POST";
5185
+ tokenUrl: string;
5186
+ authorizeUrl?: string;
5187
+ clientId: string;
5188
+ clientSecret: (string) & writeonlyP;
5189
+ scopes: string[];
5190
+ customPayload?: {
5191
+ tokenUrl: {
5192
+ query?: {
5193
+ [key: string]: string;
5194
+ };
5195
+ body?: {
5196
+ [key: string]: string;
5197
+ };
5198
+ headers?: {
5199
+ [key: string]: string;
5200
+ };
5201
+ };
5202
+ authorizeUrl: {
5203
+ query?: {
5204
+ [key: string]: string;
5205
+ };
5206
+ body?: {
5207
+ [key: string]: string;
5208
+ };
5209
+ headers?: {
5210
+ [key: string]: string;
5211
+ };
5212
+ };
5213
+ };
5214
+ accessTokenPath?: string;
5215
+ accessTokenHeader?: string;
5216
+ accessTokenHeaderPrefix?: string;
5217
+ tokenExpiration?: number;
5218
+ };
5219
+ export declare type OAuthClient = {
5220
+ username?: string;
5221
+ password?: (string) & writeonlyP;
5222
+ readonly companyId: (string) & readonlyP;
5223
+ readonly resourceGroupIds: (string[]) & readonlyP;
5224
+ tokenUrl?: string;
5225
+ authorizeUrl?: string;
5226
+ refreshToken?: (string) & writeonlyP;
5227
+ accessToken?: (string) & writeonlyP;
5228
+ nextInChainClient?: string;
5229
+ } & {
5230
+ readonly id: (string) & readonlyP;
5231
+ } & {
5232
+ configuration: string | OAuthClientConfiguration;
5233
+ nextInChainConfiguration?: string;
5234
+ };
5235
+ export declare type InternalResponse_Array_OAuthClient = {
5236
+ program: string;
5237
+ version: string;
5238
+ datetime: string;
5239
+ status: string;
5240
+ code?: number;
5241
+ message: string;
5242
+ data: OAuthClient[];
5243
+ };
5244
+ export declare type InternalResponse_OAuthClient = {
5245
+ program: string;
5246
+ version: string;
5247
+ datetime: string;
5248
+ status: string;
5249
+ code?: number;
5250
+ message: string;
5251
+ data: OAuthClient;
5252
+ };
5253
+ export declare type OAuthClient_Without_Configuration = {
5254
+ username?: string;
5255
+ password?: (string) & writeonlyP;
5256
+ readonly companyId: (string) & readonlyP;
5257
+ readonly resourceGroupIds: (string[]) & readonlyP;
5258
+ tokenUrl?: string;
5259
+ authorizeUrl?: string;
5260
+ refreshToken?: (string) & writeonlyP;
5261
+ accessToken?: (string) & writeonlyP;
5262
+ nextInChainClient?: string;
5263
+ } & {
5264
+ readonly id: (string) & readonlyP;
5265
+ } & {
5266
+ configuration: string | OAuthClientConfiguration;
5267
+ nextInChainConfiguration?: string;
5268
+ };
5269
+ export declare type InternalResponse = {
5270
+ program: string;
5271
+ version: string;
5272
+ datetime: string;
5273
+ status: string;
5274
+ code?: number;
5275
+ message: string;
5276
+ data: {};
5277
+ };
5278
+ export declare type InternalResponse_url_string = {
5279
+ program: string;
5280
+ version: string;
5281
+ datetime: string;
5282
+ status: string;
5283
+ code?: number;
5284
+ message: string;
5285
+ data: {
5286
+ url: string;
5287
+ };
5288
+ };
4984
5289
  export declare type InternalResponse_current_Union_null_name_CONFIGURE_NAME_name_CONFIGURE_RESOURCE_GROUP_IDS_name_CONFIGURE_SOURCES_name_CONFIGURE_FIELDS_name_CONFIGURE_FIELD_field_name_string_type_Union_STRING_NUMBER_DATETIME_DATETIME_ISO_BOOLEAN_ADDRESS_1_ADDRESS_2_ADDRESS_3_ADDRESS_4_CITY_ZIPCODE_COUNTRY_LATITUDE_LONGITUDE_REFERENCE_ID_REFERENCE_IDS_PRODUCT_ID_PRICE_URL_IMAGE_URL_NAME_DESCRIPTION_PRODUCT_LIFETIME_LOCALE_ARRAY_STRING_ARRAY_NUMBER_RECORD_STRING_RECORD_NUMBER_COMPANY_ID_EVENT_NAME_EVENT_ID_USER_TMP_ID_USER_AGENT_WORKFLOW_ID_WORKFLOW_VERSION_ID_WORKFLOW_EVENT_MODE_TRANSACTION_ID_TRANSACTION_SOURCE_TRANSACTION_METADATA_WORKFLOW_PURCHASE_USER_WORKFLOW_USER_WORKFLOW_ONSITE_USER_USER_BIRTHDAY_USER_AGE_name_CREATE_OAUTH_CLIENT_configurationId_string_name_AUTHORIZE_OAUTH_CLIENT_slug_string_name_CONFIGURE_THRESHOLDS_name_CONFIGURE_API_KEY_slug_partoo_name_PATCH_name_VALIDATE_name_CONFIGURE_GOOGLE_TAG_MANAGER_name_CONFIGURE_REELEVANT_ANALYTICS_SCRIPT_name_CONFIGURE_PRODUCT_DATASOURCE_SOURCE_name_CONFIGURE_TRACKING_DATASOURCE_SOURCE_name_CONFIGURE_BEST_PRODUCT_QUERY_name_CONFIGURE_BEST_PRODUCT_FIELD_name_CONFIGURE_FETCHER_name_CONFIGURE_MERGE_DATASOURCE_SOURCE_name_CONFIGURE_MERGE_DATASOURCE_DEPENDENCY_name_CONFIGURE_MERGE_MAPPING_name_CONFIGURE_BOUGHT_TOGETHER_name_CONFIGURE_TOP_ATTRIBUTES_name_CONFIGURE_DESTINATION_type_smtp_name_CONFIGURE_HIERARCHY_next_Array_Union_name_CONFIGURE_NAME_name_CONFIGURE_RESOURCE_GROUP_IDS_name_CONFIGURE_SOURCES_name_CONFIGURE_FIELDS_name_CONFIGURE_FIELD_field_name_string_type_Union_STRING_NUMBER_DATETIME_DATETIME_ISO_BOOLEAN_ADDRESS_1_ADDRESS_2_ADDRESS_3_ADDRESS_4_CITY_ZIPCODE_COUNTRY_LATITUDE_LONGITUDE_REFERENCE_ID_REFERENCE_IDS_PRODUCT_ID_PRICE_URL_IMAGE_URL_NAME_DESCRIPTION_PRODUCT_LIFETIME_LOCALE_ARRAY_STRING_ARRAY_NUMBER_RECORD_STRING_RECORD_NUMBER_COMPANY_ID_EVENT_NAME_EVENT_ID_USER_TMP_ID_USER_AGENT_WORKFLOW_ID_WORKFLOW_VERSION_ID_WORKFLOW_EVENT_MODE_TRANSACTION_ID_TRANSACTION_SOURCE_TRANSACTION_METADATA_WORKFLOW_PURCHASE_USER_WORKFLOW_USER_WORKFLOW_ONSITE_USER_USER_BIRTHDAY_USER_AGE_name_CREATE_OAUTH_CLIENT_configurationId_string_name_AUTHORIZE_OAUTH_CLIENT_slug_string_name_CONFIGURE_THRESHOLDS_name_CONFIGURE_API_KEY_slug_partoo_name_PATCH_name_VALIDATE_name_CONFIGURE_GOOGLE_TAG_MANAGER_name_CONFIGURE_REELEVANT_ANALYTICS_SCRIPT_name_CONFIGURE_PRODUCT_DATASOURCE_SOURCE_name_CONFIGURE_TRACKING_DATASOURCE_SOURCE_name_CONFIGURE_BEST_PRODUCT_QUERY_name_CONFIGURE_BEST_PRODUCT_FIELD_name_CONFIGURE_FETCHER_name_CONFIGURE_MERGE_DATASOURCE_SOURCE_name_CONFIGURE_MERGE_DATASOURCE_DEPENDENCY_name_CONFIGURE_MERGE_MAPPING_name_CONFIGURE_BOUGHT_TOGETHER_name_CONFIGURE_TOP_ATTRIBUTES_name_CONFIGURE_DESTINATION_type_smtp_name_CONFIGURE_HIERARCHY = {
4985
5290
  program: string;
4986
5291
  version: string;
@@ -5155,7 +5460,7 @@ export declare type UrlSourceOptions = {
5155
5460
  };
5156
5461
  textEncoding?: string;
5157
5462
  options?: {
5158
- method?: "GET" | "POST" | "PATCH" | "PUT";
5463
+ method?: "GET" | "PATCH" | "POST" | "PUT";
5159
5464
  body?: string;
5160
5465
  headers?: {
5161
5466
  [key: string]: string;
@@ -6045,39 +6350,6 @@ export declare type SourceInput_Without_FieldsRules = {
6045
6350
  export declare type ProxyRefresh = {
6046
6351
  freq: number;
6047
6352
  };
6048
- export declare type Credentials = {
6049
- user: string;
6050
- pass: string;
6051
- };
6052
- export declare type AuthenticationTypeCustom = Credentials & {
6053
- type: "custom" | "Custom" | "CUSTOM";
6054
- method: string;
6055
- };
6056
- export declare type AuthenticationTypeLogin = Credentials & {
6057
- type?: "login" | "Login" | "LOGIN";
6058
- };
6059
- export declare type Options = {
6060
- user?: string;
6061
- clientId?: string;
6062
- clientSecret?: string;
6063
- refreshToken?: string;
6064
- accessUrl?: string;
6065
- accessToken?: string;
6066
- privateKey?: string | {
6067
- key: string;
6068
- passphrase: string;
6069
- };
6070
- expires?: number;
6071
- timeout?: number;
6072
- serviceClient?: string;
6073
- };
6074
- export declare type AuthenticationTypeOAuth2 = Options & {
6075
- type?: "oauth2" | "OAuth2" | "OAUTH2";
6076
- };
6077
- export declare type Address = {
6078
- name: string;
6079
- address: string;
6080
- };
6081
6353
  export declare type Error = {
6082
6354
  name: string;
6083
6355
  message: string;
@@ -6087,7 +6359,7 @@ export declare type Readable = {
6087
6359
  readonly readableAborted: (boolean) & readonlyP;
6088
6360
  readable: boolean;
6089
6361
  readonly readableDidRead: (boolean) & readonlyP;
6090
- readonly readableEncoding: ("ascii" | "utf8" | "utf-8" | "utf16le" | "utf-16le" | "ucs2" | "ucs-2" | "base64" | "base64url" | "latin1" | "binary" | "hex") & readonlyP;
6362
+ readonly readableEncoding: ("hex" | "base64" | "ascii" | "utf8" | "utf-8" | "utf16le" | "utf-16le" | "ucs2" | "ucs-2" | "base64url" | "latin1" | "binary") & readonlyP;
6091
6363
  readonly readableEnded: (boolean) & readonlyP;
6092
6364
  readonly readableFlowing: (boolean | null) & readonlyP;
6093
6365
  readonly readableHighWaterMark: (number) & readonlyP;
@@ -6119,6 +6391,39 @@ export declare type AttachmentLike = {
6119
6391
  content?: string | string | Readable;
6120
6392
  path?: string | Url;
6121
6393
  };
6394
+ export declare type Credentials = {
6395
+ user: string;
6396
+ pass: string;
6397
+ };
6398
+ export declare type AuthenticationTypeCustom = Credentials & {
6399
+ type: "custom" | "Custom" | "CUSTOM";
6400
+ method: string;
6401
+ };
6402
+ export declare type AuthenticationTypeLogin = Credentials & {
6403
+ type?: "login" | "Login" | "LOGIN";
6404
+ };
6405
+ export declare type Options = {
6406
+ user?: string;
6407
+ clientId?: string;
6408
+ clientSecret?: string;
6409
+ refreshToken?: string;
6410
+ accessUrl?: string;
6411
+ accessToken?: string;
6412
+ privateKey?: string | {
6413
+ key: string;
6414
+ passphrase: string;
6415
+ };
6416
+ expires?: number;
6417
+ timeout?: number;
6418
+ serviceClient?: string;
6419
+ };
6420
+ export declare type AuthenticationTypeOAuth2 = Options & {
6421
+ type?: "oauth2" | "OAuth2" | "OAUTH2";
6422
+ };
6423
+ export declare type Address = {
6424
+ name: string;
6425
+ address: string;
6426
+ };
6122
6427
  export declare type AmpAttachment = AttachmentLike & {
6123
6428
  href?: string;
6124
6429
  encoding?: string;
@@ -6206,9 +6511,9 @@ export declare type CurrentSteps = {
6206
6511
  } | {
6207
6512
  name: "fallback";
6208
6513
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
6209
- staticValue: string | number | string[] | {
6514
+ staticValue: string | number | string[] | number[] | {
6210
6515
  [key: string]: string;
6211
- } | number[] | {
6516
+ } | {
6212
6517
  [key: string]: number;
6213
6518
  };
6214
6519
  };
@@ -6258,6 +6563,14 @@ export declare type CurrentSteps = {
6258
6563
  algorithm: string;
6259
6564
  salt?: string;
6260
6565
  };
6566
+ } | {
6567
+ name: "decipher";
6568
+ params: {
6569
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
6570
+ key: string;
6571
+ iv?: string;
6572
+ inputEncoding?: "hex" | "base64";
6573
+ };
6261
6574
  }))[];
6262
6575
  };
6263
6576
  };
@@ -6330,9 +6643,9 @@ export declare type CurrentSteps = {
6330
6643
  } | {
6331
6644
  name: "fallback";
6332
6645
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
6333
- staticValue: string | number | string[] | {
6646
+ staticValue: string | number | string[] | number[] | {
6334
6647
  [key: string]: string;
6335
- } | number[] | {
6648
+ } | {
6336
6649
  [key: string]: number;
6337
6650
  };
6338
6651
  };
@@ -6382,6 +6695,14 @@ export declare type CurrentSteps = {
6382
6695
  algorithm: string;
6383
6696
  salt?: string;
6384
6697
  };
6698
+ } | {
6699
+ name: "decipher";
6700
+ params: {
6701
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
6702
+ key: string;
6703
+ iv?: string;
6704
+ inputEncoding?: "hex" | "base64";
6705
+ };
6385
6706
  }))[];
6386
6707
  };
6387
6708
  };
@@ -6457,9 +6778,9 @@ export declare type CurrentSteps = {
6457
6778
  } | {
6458
6779
  name: "fallback";
6459
6780
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
6460
- staticValue: string | number | string[] | {
6781
+ staticValue: string | number | string[] | number[] | {
6461
6782
  [key: string]: string;
6462
- } | number[] | {
6783
+ } | {
6463
6784
  [key: string]: number;
6464
6785
  };
6465
6786
  };
@@ -6509,6 +6830,14 @@ export declare type CurrentSteps = {
6509
6830
  algorithm: string;
6510
6831
  salt?: string;
6511
6832
  };
6833
+ } | {
6834
+ name: "decipher";
6835
+ params: {
6836
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
6837
+ key: string;
6838
+ iv?: string;
6839
+ inputEncoding?: "hex" | "base64";
6840
+ };
6512
6841
  }))[];
6513
6842
  };
6514
6843
  })[];
@@ -6595,9 +6924,9 @@ export declare type CurrentSteps = {
6595
6924
  } | {
6596
6925
  name: "fallback";
6597
6926
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
6598
- staticValue: string | number | string[] | {
6927
+ staticValue: string | number | string[] | number[] | {
6599
6928
  [key: string]: string;
6600
- } | number[] | {
6929
+ } | {
6601
6930
  [key: string]: number;
6602
6931
  };
6603
6932
  };
@@ -6647,6 +6976,14 @@ export declare type CurrentSteps = {
6647
6976
  algorithm: string;
6648
6977
  salt?: string;
6649
6978
  };
6979
+ } | {
6980
+ name: "decipher";
6981
+ params: {
6982
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
6983
+ key: string;
6984
+ iv?: string;
6985
+ inputEncoding?: "hex" | "base64";
6986
+ };
6650
6987
  }))[];
6651
6988
  };
6652
6989
  };
@@ -6801,6 +7138,14 @@ export declare type CurrentSteps = {
6801
7138
  minPurchaseCount?: number;
6802
7139
  }[];
6803
7140
  };
7141
+ } | {
7142
+ name: "product-exclusion";
7143
+ params: {
7144
+ exclusionDatasourceId: string;
7145
+ exclusionIdField: string;
7146
+ productIdField: string;
7147
+ mode: "inclusion" | "exclusion";
7148
+ };
6804
7149
  } | {
6805
7150
  name: "per-user";
6806
7151
  params: {};
@@ -6980,9 +7325,9 @@ export declare type CurrentSteps = {
6980
7325
  } | {
6981
7326
  name: "fallback";
6982
7327
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
6983
- staticValue: string | number | string[] | {
7328
+ staticValue: string | number | string[] | number[] | {
6984
7329
  [key: string]: string;
6985
- } | number[] | {
7330
+ } | {
6986
7331
  [key: string]: number;
6987
7332
  };
6988
7333
  };
@@ -7032,6 +7377,14 @@ export declare type CurrentSteps = {
7032
7377
  algorithm: string;
7033
7378
  salt?: string;
7034
7379
  };
7380
+ } | {
7381
+ name: "decipher";
7382
+ params: {
7383
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
7384
+ key: string;
7385
+ iv?: string;
7386
+ inputEncoding?: "hex" | "base64";
7387
+ };
7035
7388
  }))[];
7036
7389
  };
7037
7390
  };
@@ -7104,9 +7457,9 @@ export declare type CurrentSteps = {
7104
7457
  } | {
7105
7458
  name: "fallback";
7106
7459
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
7107
- staticValue: string | number | string[] | {
7460
+ staticValue: string | number | string[] | number[] | {
7108
7461
  [key: string]: string;
7109
- } | number[] | {
7462
+ } | {
7110
7463
  [key: string]: number;
7111
7464
  };
7112
7465
  };
@@ -7156,6 +7509,14 @@ export declare type CurrentSteps = {
7156
7509
  algorithm: string;
7157
7510
  salt?: string;
7158
7511
  };
7512
+ } | {
7513
+ name: "decipher";
7514
+ params: {
7515
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
7516
+ key: string;
7517
+ iv?: string;
7518
+ inputEncoding?: "hex" | "base64";
7519
+ };
7159
7520
  }))[];
7160
7521
  };
7161
7522
  };
@@ -7231,9 +7592,9 @@ export declare type CurrentSteps = {
7231
7592
  } | {
7232
7593
  name: "fallback";
7233
7594
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
7234
- staticValue: string | number | string[] | {
7595
+ staticValue: string | number | string[] | number[] | {
7235
7596
  [key: string]: string;
7236
- } | number[] | {
7597
+ } | {
7237
7598
  [key: string]: number;
7238
7599
  };
7239
7600
  };
@@ -7283,6 +7644,14 @@ export declare type CurrentSteps = {
7283
7644
  algorithm: string;
7284
7645
  salt?: string;
7285
7646
  };
7647
+ } | {
7648
+ name: "decipher";
7649
+ params: {
7650
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
7651
+ key: string;
7652
+ iv?: string;
7653
+ inputEncoding?: "hex" | "base64";
7654
+ };
7286
7655
  }))[];
7287
7656
  };
7288
7657
  })[];
@@ -7369,9 +7738,9 @@ export declare type CurrentSteps = {
7369
7738
  } | {
7370
7739
  name: "fallback";
7371
7740
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
7372
- staticValue: string | number | string[] | {
7741
+ staticValue: string | number | string[] | number[] | {
7373
7742
  [key: string]: string;
7374
- } | number[] | {
7743
+ } | {
7375
7744
  [key: string]: number;
7376
7745
  };
7377
7746
  };
@@ -7421,6 +7790,14 @@ export declare type CurrentSteps = {
7421
7790
  algorithm: string;
7422
7791
  salt?: string;
7423
7792
  };
7793
+ } | {
7794
+ name: "decipher";
7795
+ params: {
7796
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
7797
+ key: string;
7798
+ iv?: string;
7799
+ inputEncoding?: "hex" | "base64";
7800
+ };
7424
7801
  }))[];
7425
7802
  };
7426
7803
  };
@@ -7489,6 +7866,14 @@ export declare type CurrentSteps = {
7489
7866
  minPurchaseCount?: number;
7490
7867
  }[];
7491
7868
  };
7869
+ } | {
7870
+ name: "product-exclusion";
7871
+ params: {
7872
+ exclusionDatasourceId: string;
7873
+ exclusionIdField: string;
7874
+ productIdField: string;
7875
+ mode: "inclusion" | "exclusion";
7876
+ };
7492
7877
  } | {
7493
7878
  name: "per-user";
7494
7879
  params: {};
@@ -8108,6 +8493,14 @@ export declare type CurrentSteps = {
8108
8493
  minPurchaseCount?: number;
8109
8494
  }[];
8110
8495
  };
8496
+ } | {
8497
+ name: "product-exclusion";
8498
+ params: {
8499
+ exclusionDatasourceId: string;
8500
+ exclusionIdField: string;
8501
+ productIdField: string;
8502
+ mode: "inclusion" | "exclusion";
8503
+ };
8111
8504
  } | {
8112
8505
  name: "per-user";
8113
8506
  params: {};
@@ -8220,9 +8613,9 @@ export declare type CurrentSteps = {
8220
8613
  } | {
8221
8614
  name: "fallback";
8222
8615
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
8223
- staticValue: string | number | string[] | {
8616
+ staticValue: string | number | string[] | number[] | {
8224
8617
  [key: string]: string;
8225
- } | number[] | {
8618
+ } | {
8226
8619
  [key: string]: number;
8227
8620
  };
8228
8621
  };
@@ -8272,6 +8665,14 @@ export declare type CurrentSteps = {
8272
8665
  algorithm: string;
8273
8666
  salt?: string;
8274
8667
  };
8668
+ } | {
8669
+ name: "decipher";
8670
+ params: {
8671
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
8672
+ key: string;
8673
+ iv?: string;
8674
+ inputEncoding?: "hex" | "base64";
8675
+ };
8275
8676
  }))[];
8276
8677
  };
8277
8678
  };
@@ -8344,9 +8745,9 @@ export declare type CurrentSteps = {
8344
8745
  } | {
8345
8746
  name: "fallback";
8346
8747
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
8347
- staticValue: string | number | string[] | {
8748
+ staticValue: string | number | string[] | number[] | {
8348
8749
  [key: string]: string;
8349
- } | number[] | {
8750
+ } | {
8350
8751
  [key: string]: number;
8351
8752
  };
8352
8753
  };
@@ -8396,6 +8797,14 @@ export declare type CurrentSteps = {
8396
8797
  algorithm: string;
8397
8798
  salt?: string;
8398
8799
  };
8800
+ } | {
8801
+ name: "decipher";
8802
+ params: {
8803
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
8804
+ key: string;
8805
+ iv?: string;
8806
+ inputEncoding?: "hex" | "base64";
8807
+ };
8399
8808
  }))[];
8400
8809
  };
8401
8810
  };
@@ -8471,9 +8880,9 @@ export declare type CurrentSteps = {
8471
8880
  } | {
8472
8881
  name: "fallback";
8473
8882
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
8474
- staticValue: string | number | string[] | {
8883
+ staticValue: string | number | string[] | number[] | {
8475
8884
  [key: string]: string;
8476
- } | number[] | {
8885
+ } | {
8477
8886
  [key: string]: number;
8478
8887
  };
8479
8888
  };
@@ -8523,6 +8932,14 @@ export declare type CurrentSteps = {
8523
8932
  algorithm: string;
8524
8933
  salt?: string;
8525
8934
  };
8935
+ } | {
8936
+ name: "decipher";
8937
+ params: {
8938
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
8939
+ key: string;
8940
+ iv?: string;
8941
+ inputEncoding?: "hex" | "base64";
8942
+ };
8526
8943
  }))[];
8527
8944
  };
8528
8945
  })[];
@@ -8609,9 +9026,9 @@ export declare type CurrentSteps = {
8609
9026
  } | {
8610
9027
  name: "fallback";
8611
9028
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
8612
- staticValue: string | number | string[] | {
9029
+ staticValue: string | number | string[] | number[] | {
8613
9030
  [key: string]: string;
8614
- } | number[] | {
9031
+ } | {
8615
9032
  [key: string]: number;
8616
9033
  };
8617
9034
  };
@@ -8661,6 +9078,14 @@ export declare type CurrentSteps = {
8661
9078
  algorithm: string;
8662
9079
  salt?: string;
8663
9080
  };
9081
+ } | {
9082
+ name: "decipher";
9083
+ params: {
9084
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
9085
+ key: string;
9086
+ iv?: string;
9087
+ inputEncoding?: "hex" | "base64";
9088
+ };
8664
9089
  }))[];
8665
9090
  };
8666
9091
  };
@@ -8722,6 +9147,14 @@ export declare type CurrentSteps = {
8722
9147
  minPurchaseCount?: number;
8723
9148
  }[];
8724
9149
  };
9150
+ } | {
9151
+ name: "product-exclusion";
9152
+ params: {
9153
+ exclusionDatasourceId: string;
9154
+ exclusionIdField: string;
9155
+ productIdField: string;
9156
+ mode: "inclusion" | "exclusion";
9157
+ };
8725
9158
  } | {
8726
9159
  name: "per-user";
8727
9160
  params: {};
@@ -8795,6 +9228,14 @@ export declare type CurrentSteps = {
8795
9228
  minPurchaseCount?: number;
8796
9229
  }[];
8797
9230
  };
9231
+ } | {
9232
+ name: "product-exclusion";
9233
+ params: {
9234
+ exclusionDatasourceId: string;
9235
+ exclusionIdField: string;
9236
+ productIdField: string;
9237
+ mode: "inclusion" | "exclusion";
9238
+ };
8798
9239
  } | {
8799
9240
  name: "per-user";
8800
9241
  params: {};
@@ -8823,11 +9264,12 @@ export declare type CurrentSteps = {
8823
9264
  destination: {
8824
9265
  type: "smtp";
8825
9266
  options: {
9267
+ date?: string | string;
9268
+ text?: string | string | Readable | AttachmentLike;
8826
9269
  url?: string;
8827
9270
  secure?: boolean;
8828
9271
  host?: string;
8829
9272
  port?: number;
8830
- date?: string | string;
8831
9273
  auth?: AuthenticationTypeCustom | AuthenticationTypeLogin | AuthenticationTypeOAuth2;
8832
9274
  authMethod?: string;
8833
9275
  cc?: string | Address | (string | Address)[];
@@ -8838,7 +9280,6 @@ export declare type CurrentSteps = {
8838
9280
  requireTLS?: boolean;
8839
9281
  html?: string | string | Readable | AttachmentLike;
8840
9282
  amp?: string | string | Readable | AmpAttachment;
8841
- text?: string | string | Readable | AttachmentLike;
8842
9283
  };
8843
9284
  };
8844
9285
  };
@@ -8927,9 +9368,9 @@ export declare type CurrentSteps = {
8927
9368
  } | {
8928
9369
  name: "fallback";
8929
9370
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
8930
- staticValue: string | number | string[] | {
9371
+ staticValue: string | number | string[] | number[] | {
8931
9372
  [key: string]: string;
8932
- } | number[] | {
9373
+ } | {
8933
9374
  [key: string]: number;
8934
9375
  };
8935
9376
  };
@@ -8979,6 +9420,14 @@ export declare type CurrentSteps = {
8979
9420
  algorithm: string;
8980
9421
  salt?: string;
8981
9422
  };
9423
+ } | {
9424
+ name: "decipher";
9425
+ params: {
9426
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
9427
+ key: string;
9428
+ iv?: string;
9429
+ inputEncoding?: "hex" | "base64";
9430
+ };
8982
9431
  }))[];
8983
9432
  };
8984
9433
  };
@@ -9051,9 +9500,9 @@ export declare type CurrentSteps = {
9051
9500
  } | {
9052
9501
  name: "fallback";
9053
9502
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
9054
- staticValue: string | number | string[] | {
9503
+ staticValue: string | number | string[] | number[] | {
9055
9504
  [key: string]: string;
9056
- } | number[] | {
9505
+ } | {
9057
9506
  [key: string]: number;
9058
9507
  };
9059
9508
  };
@@ -9103,6 +9552,14 @@ export declare type CurrentSteps = {
9103
9552
  algorithm: string;
9104
9553
  salt?: string;
9105
9554
  };
9555
+ } | {
9556
+ name: "decipher";
9557
+ params: {
9558
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
9559
+ key: string;
9560
+ iv?: string;
9561
+ inputEncoding?: "hex" | "base64";
9562
+ };
9106
9563
  }))[];
9107
9564
  };
9108
9565
  };
@@ -9178,9 +9635,9 @@ export declare type CurrentSteps = {
9178
9635
  } | {
9179
9636
  name: "fallback";
9180
9637
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
9181
- staticValue: string | number | string[] | {
9638
+ staticValue: string | number | string[] | number[] | {
9182
9639
  [key: string]: string;
9183
- } | number[] | {
9640
+ } | {
9184
9641
  [key: string]: number;
9185
9642
  };
9186
9643
  };
@@ -9230,6 +9687,14 @@ export declare type CurrentSteps = {
9230
9687
  algorithm: string;
9231
9688
  salt?: string;
9232
9689
  };
9690
+ } | {
9691
+ name: "decipher";
9692
+ params: {
9693
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
9694
+ key: string;
9695
+ iv?: string;
9696
+ inputEncoding?: "hex" | "base64";
9697
+ };
9233
9698
  }))[];
9234
9699
  };
9235
9700
  })[];
@@ -9316,9 +9781,9 @@ export declare type CurrentSteps = {
9316
9781
  } | {
9317
9782
  name: "fallback";
9318
9783
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
9319
- staticValue: string | number | string[] | {
9784
+ staticValue: string | number | string[] | number[] | {
9320
9785
  [key: string]: string;
9321
- } | number[] | {
9786
+ } | {
9322
9787
  [key: string]: number;
9323
9788
  };
9324
9789
  };
@@ -9368,6 +9833,14 @@ export declare type CurrentSteps = {
9368
9833
  algorithm: string;
9369
9834
  salt?: string;
9370
9835
  };
9836
+ } | {
9837
+ name: "decipher";
9838
+ params: {
9839
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
9840
+ key: string;
9841
+ iv?: string;
9842
+ inputEncoding?: "hex" | "base64";
9843
+ };
9371
9844
  }))[];
9372
9845
  };
9373
9846
  };
@@ -9522,6 +9995,14 @@ export declare type CurrentSteps = {
9522
9995
  minPurchaseCount?: number;
9523
9996
  }[];
9524
9997
  };
9998
+ } | {
9999
+ name: "product-exclusion";
10000
+ params: {
10001
+ exclusionDatasourceId: string;
10002
+ exclusionIdField: string;
10003
+ productIdField: string;
10004
+ mode: "inclusion" | "exclusion";
10005
+ };
9525
10006
  } | {
9526
10007
  name: "per-user";
9527
10008
  params: {};
@@ -9701,9 +10182,9 @@ export declare type CurrentSteps = {
9701
10182
  } | {
9702
10183
  name: "fallback";
9703
10184
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
9704
- staticValue: string | number | string[] | {
10185
+ staticValue: string | number | string[] | number[] | {
9705
10186
  [key: string]: string;
9706
- } | number[] | {
10187
+ } | {
9707
10188
  [key: string]: number;
9708
10189
  };
9709
10190
  };
@@ -9753,6 +10234,14 @@ export declare type CurrentSteps = {
9753
10234
  algorithm: string;
9754
10235
  salt?: string;
9755
10236
  };
10237
+ } | {
10238
+ name: "decipher";
10239
+ params: {
10240
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
10241
+ key: string;
10242
+ iv?: string;
10243
+ inputEncoding?: "hex" | "base64";
10244
+ };
9756
10245
  }))[];
9757
10246
  };
9758
10247
  };
@@ -9825,9 +10314,9 @@ export declare type CurrentSteps = {
9825
10314
  } | {
9826
10315
  name: "fallback";
9827
10316
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
9828
- staticValue: string | number | string[] | {
10317
+ staticValue: string | number | string[] | number[] | {
9829
10318
  [key: string]: string;
9830
- } | number[] | {
10319
+ } | {
9831
10320
  [key: string]: number;
9832
10321
  };
9833
10322
  };
@@ -9877,6 +10366,14 @@ export declare type CurrentSteps = {
9877
10366
  algorithm: string;
9878
10367
  salt?: string;
9879
10368
  };
10369
+ } | {
10370
+ name: "decipher";
10371
+ params: {
10372
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
10373
+ key: string;
10374
+ iv?: string;
10375
+ inputEncoding?: "hex" | "base64";
10376
+ };
9880
10377
  }))[];
9881
10378
  };
9882
10379
  };
@@ -9952,9 +10449,9 @@ export declare type CurrentSteps = {
9952
10449
  } | {
9953
10450
  name: "fallback";
9954
10451
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
9955
- staticValue: string | number | string[] | {
10452
+ staticValue: string | number | string[] | number[] | {
9956
10453
  [key: string]: string;
9957
- } | number[] | {
10454
+ } | {
9958
10455
  [key: string]: number;
9959
10456
  };
9960
10457
  };
@@ -10004,6 +10501,14 @@ export declare type CurrentSteps = {
10004
10501
  algorithm: string;
10005
10502
  salt?: string;
10006
10503
  };
10504
+ } | {
10505
+ name: "decipher";
10506
+ params: {
10507
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
10508
+ key: string;
10509
+ iv?: string;
10510
+ inputEncoding?: "hex" | "base64";
10511
+ };
10007
10512
  }))[];
10008
10513
  };
10009
10514
  })[];
@@ -10090,9 +10595,9 @@ export declare type CurrentSteps = {
10090
10595
  } | {
10091
10596
  name: "fallback";
10092
10597
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
10093
- staticValue: string | number | string[] | {
10598
+ staticValue: string | number | string[] | number[] | {
10094
10599
  [key: string]: string;
10095
- } | number[] | {
10600
+ } | {
10096
10601
  [key: string]: number;
10097
10602
  };
10098
10603
  };
@@ -10142,6 +10647,14 @@ export declare type CurrentSteps = {
10142
10647
  algorithm: string;
10143
10648
  salt?: string;
10144
10649
  };
10650
+ } | {
10651
+ name: "decipher";
10652
+ params: {
10653
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
10654
+ key: string;
10655
+ iv?: string;
10656
+ inputEncoding?: "hex" | "base64";
10657
+ };
10145
10658
  }))[];
10146
10659
  };
10147
10660
  };
@@ -10210,6 +10723,14 @@ export declare type CurrentSteps = {
10210
10723
  minPurchaseCount?: number;
10211
10724
  }[];
10212
10725
  };
10726
+ } | {
10727
+ name: "product-exclusion";
10728
+ params: {
10729
+ exclusionDatasourceId: string;
10730
+ exclusionIdField: string;
10731
+ productIdField: string;
10732
+ mode: "inclusion" | "exclusion";
10733
+ };
10213
10734
  } | {
10214
10735
  name: "per-user";
10215
10736
  params: {};
@@ -10829,6 +11350,14 @@ export declare type CurrentSteps = {
10829
11350
  minPurchaseCount?: number;
10830
11351
  }[];
10831
11352
  };
11353
+ } | {
11354
+ name: "product-exclusion";
11355
+ params: {
11356
+ exclusionDatasourceId: string;
11357
+ exclusionIdField: string;
11358
+ productIdField: string;
11359
+ mode: "inclusion" | "exclusion";
11360
+ };
10832
11361
  } | {
10833
11362
  name: "per-user";
10834
11363
  params: {};
@@ -10941,9 +11470,9 @@ export declare type CurrentSteps = {
10941
11470
  } | {
10942
11471
  name: "fallback";
10943
11472
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
10944
- staticValue: string | number | string[] | {
11473
+ staticValue: string | number | string[] | number[] | {
10945
11474
  [key: string]: string;
10946
- } | number[] | {
11475
+ } | {
10947
11476
  [key: string]: number;
10948
11477
  };
10949
11478
  };
@@ -10993,6 +11522,14 @@ export declare type CurrentSteps = {
10993
11522
  algorithm: string;
10994
11523
  salt?: string;
10995
11524
  };
11525
+ } | {
11526
+ name: "decipher";
11527
+ params: {
11528
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
11529
+ key: string;
11530
+ iv?: string;
11531
+ inputEncoding?: "hex" | "base64";
11532
+ };
10996
11533
  }))[];
10997
11534
  };
10998
11535
  };
@@ -11065,9 +11602,9 @@ export declare type CurrentSteps = {
11065
11602
  } | {
11066
11603
  name: "fallback";
11067
11604
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
11068
- staticValue: string | number | string[] | {
11605
+ staticValue: string | number | string[] | number[] | {
11069
11606
  [key: string]: string;
11070
- } | number[] | {
11607
+ } | {
11071
11608
  [key: string]: number;
11072
11609
  };
11073
11610
  };
@@ -11117,6 +11654,14 @@ export declare type CurrentSteps = {
11117
11654
  algorithm: string;
11118
11655
  salt?: string;
11119
11656
  };
11657
+ } | {
11658
+ name: "decipher";
11659
+ params: {
11660
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
11661
+ key: string;
11662
+ iv?: string;
11663
+ inputEncoding?: "hex" | "base64";
11664
+ };
11120
11665
  }))[];
11121
11666
  };
11122
11667
  };
@@ -11192,9 +11737,9 @@ export declare type CurrentSteps = {
11192
11737
  } | {
11193
11738
  name: "fallback";
11194
11739
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
11195
- staticValue: string | number | string[] | {
11740
+ staticValue: string | number | string[] | number[] | {
11196
11741
  [key: string]: string;
11197
- } | number[] | {
11742
+ } | {
11198
11743
  [key: string]: number;
11199
11744
  };
11200
11745
  };
@@ -11244,6 +11789,14 @@ export declare type CurrentSteps = {
11244
11789
  algorithm: string;
11245
11790
  salt?: string;
11246
11791
  };
11792
+ } | {
11793
+ name: "decipher";
11794
+ params: {
11795
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
11796
+ key: string;
11797
+ iv?: string;
11798
+ inputEncoding?: "hex" | "base64";
11799
+ };
11247
11800
  }))[];
11248
11801
  };
11249
11802
  })[];
@@ -11330,9 +11883,9 @@ export declare type CurrentSteps = {
11330
11883
  } | {
11331
11884
  name: "fallback";
11332
11885
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
11333
- staticValue: string | number | string[] | {
11886
+ staticValue: string | number | string[] | number[] | {
11334
11887
  [key: string]: string;
11335
- } | number[] | {
11888
+ } | {
11336
11889
  [key: string]: number;
11337
11890
  };
11338
11891
  };
@@ -11382,6 +11935,14 @@ export declare type CurrentSteps = {
11382
11935
  algorithm: string;
11383
11936
  salt?: string;
11384
11937
  };
11938
+ } | {
11939
+ name: "decipher";
11940
+ params: {
11941
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
11942
+ key: string;
11943
+ iv?: string;
11944
+ inputEncoding?: "hex" | "base64";
11945
+ };
11385
11946
  }))[];
11386
11947
  };
11387
11948
  };
@@ -11443,6 +12004,14 @@ export declare type CurrentSteps = {
11443
12004
  minPurchaseCount?: number;
11444
12005
  }[];
11445
12006
  };
12007
+ } | {
12008
+ name: "product-exclusion";
12009
+ params: {
12010
+ exclusionDatasourceId: string;
12011
+ exclusionIdField: string;
12012
+ productIdField: string;
12013
+ mode: "inclusion" | "exclusion";
12014
+ };
11446
12015
  } | {
11447
12016
  name: "per-user";
11448
12017
  params: {};
@@ -11516,6 +12085,14 @@ export declare type CurrentSteps = {
11516
12085
  minPurchaseCount?: number;
11517
12086
  }[];
11518
12087
  };
12088
+ } | {
12089
+ name: "product-exclusion";
12090
+ params: {
12091
+ exclusionDatasourceId: string;
12092
+ exclusionIdField: string;
12093
+ productIdField: string;
12094
+ mode: "inclusion" | "exclusion";
12095
+ };
11519
12096
  } | {
11520
12097
  name: "per-user";
11521
12098
  params: {};
@@ -11544,11 +12121,12 @@ export declare type CurrentSteps = {
11544
12121
  destination: {
11545
12122
  type: "smtp";
11546
12123
  options: {
12124
+ date?: string | string;
12125
+ text?: string | string | Readable | AttachmentLike;
11547
12126
  url?: string;
11548
12127
  secure?: boolean;
11549
12128
  host?: string;
11550
12129
  port?: number;
11551
- date?: string | string;
11552
12130
  auth?: AuthenticationTypeCustom | AuthenticationTypeLogin | AuthenticationTypeOAuth2;
11553
12131
  authMethod?: string;
11554
12132
  cc?: string | Address | (string | Address)[];
@@ -11559,7 +12137,6 @@ export declare type CurrentSteps = {
11559
12137
  requireTLS?: boolean;
11560
12138
  html?: string | string | Readable | AttachmentLike;
11561
12139
  amp?: string | string | Readable | AmpAttachment;
11562
- text?: string | string | Readable | AttachmentLike;
11563
12140
  };
11564
12141
  };
11565
12142
  };
@@ -11648,9 +12225,9 @@ export declare type CurrentSteps = {
11648
12225
  } | {
11649
12226
  name: "fallback";
11650
12227
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
11651
- staticValue: string | number | string[] | {
12228
+ staticValue: string | number | string[] | number[] | {
11652
12229
  [key: string]: string;
11653
- } | number[] | {
12230
+ } | {
11654
12231
  [key: string]: number;
11655
12232
  };
11656
12233
  };
@@ -11700,6 +12277,14 @@ export declare type CurrentSteps = {
11700
12277
  algorithm: string;
11701
12278
  salt?: string;
11702
12279
  };
12280
+ } | {
12281
+ name: "decipher";
12282
+ params: {
12283
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
12284
+ key: string;
12285
+ iv?: string;
12286
+ inputEncoding?: "hex" | "base64";
12287
+ };
11703
12288
  }))[];
11704
12289
  };
11705
12290
  };
@@ -11772,9 +12357,9 @@ export declare type CurrentSteps = {
11772
12357
  } | {
11773
12358
  name: "fallback";
11774
12359
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
11775
- staticValue: string | number | string[] | {
12360
+ staticValue: string | number | string[] | number[] | {
11776
12361
  [key: string]: string;
11777
- } | number[] | {
12362
+ } | {
11778
12363
  [key: string]: number;
11779
12364
  };
11780
12365
  };
@@ -11824,6 +12409,14 @@ export declare type CurrentSteps = {
11824
12409
  algorithm: string;
11825
12410
  salt?: string;
11826
12411
  };
12412
+ } | {
12413
+ name: "decipher";
12414
+ params: {
12415
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
12416
+ key: string;
12417
+ iv?: string;
12418
+ inputEncoding?: "hex" | "base64";
12419
+ };
11827
12420
  }))[];
11828
12421
  };
11829
12422
  };
@@ -11899,9 +12492,9 @@ export declare type CurrentSteps = {
11899
12492
  } | {
11900
12493
  name: "fallback";
11901
12494
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
11902
- staticValue: string | number | string[] | {
12495
+ staticValue: string | number | string[] | number[] | {
11903
12496
  [key: string]: string;
11904
- } | number[] | {
12497
+ } | {
11905
12498
  [key: string]: number;
11906
12499
  };
11907
12500
  };
@@ -11951,6 +12544,14 @@ export declare type CurrentSteps = {
11951
12544
  algorithm: string;
11952
12545
  salt?: string;
11953
12546
  };
12547
+ } | {
12548
+ name: "decipher";
12549
+ params: {
12550
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
12551
+ key: string;
12552
+ iv?: string;
12553
+ inputEncoding?: "hex" | "base64";
12554
+ };
11954
12555
  }))[];
11955
12556
  };
11956
12557
  })[];
@@ -12037,9 +12638,9 @@ export declare type CurrentSteps = {
12037
12638
  } | {
12038
12639
  name: "fallback";
12039
12640
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
12040
- staticValue: string | number | string[] | {
12641
+ staticValue: string | number | string[] | number[] | {
12041
12642
  [key: string]: string;
12042
- } | number[] | {
12643
+ } | {
12043
12644
  [key: string]: number;
12044
12645
  };
12045
12646
  };
@@ -12089,6 +12690,14 @@ export declare type CurrentSteps = {
12089
12690
  algorithm: string;
12090
12691
  salt?: string;
12091
12692
  };
12693
+ } | {
12694
+ name: "decipher";
12695
+ params: {
12696
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
12697
+ key: string;
12698
+ iv?: string;
12699
+ inputEncoding?: "hex" | "base64";
12700
+ };
12092
12701
  }))[];
12093
12702
  };
12094
12703
  };
@@ -12243,6 +12852,14 @@ export declare type CurrentSteps = {
12243
12852
  minPurchaseCount?: number;
12244
12853
  }[];
12245
12854
  };
12855
+ } | {
12856
+ name: "product-exclusion";
12857
+ params: {
12858
+ exclusionDatasourceId: string;
12859
+ exclusionIdField: string;
12860
+ productIdField: string;
12861
+ mode: "inclusion" | "exclusion";
12862
+ };
12246
12863
  } | {
12247
12864
  name: "per-user";
12248
12865
  params: {};
@@ -12422,9 +13039,9 @@ export declare type CurrentSteps = {
12422
13039
  } | {
12423
13040
  name: "fallback";
12424
13041
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
12425
- staticValue: string | number | string[] | {
13042
+ staticValue: string | number | string[] | number[] | {
12426
13043
  [key: string]: string;
12427
- } | number[] | {
13044
+ } | {
12428
13045
  [key: string]: number;
12429
13046
  };
12430
13047
  };
@@ -12474,6 +13091,14 @@ export declare type CurrentSteps = {
12474
13091
  algorithm: string;
12475
13092
  salt?: string;
12476
13093
  };
13094
+ } | {
13095
+ name: "decipher";
13096
+ params: {
13097
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
13098
+ key: string;
13099
+ iv?: string;
13100
+ inputEncoding?: "hex" | "base64";
13101
+ };
12477
13102
  }))[];
12478
13103
  };
12479
13104
  };
@@ -12546,9 +13171,9 @@ export declare type CurrentSteps = {
12546
13171
  } | {
12547
13172
  name: "fallback";
12548
13173
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
12549
- staticValue: string | number | string[] | {
13174
+ staticValue: string | number | string[] | number[] | {
12550
13175
  [key: string]: string;
12551
- } | number[] | {
13176
+ } | {
12552
13177
  [key: string]: number;
12553
13178
  };
12554
13179
  };
@@ -12598,6 +13223,14 @@ export declare type CurrentSteps = {
12598
13223
  algorithm: string;
12599
13224
  salt?: string;
12600
13225
  };
13226
+ } | {
13227
+ name: "decipher";
13228
+ params: {
13229
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
13230
+ key: string;
13231
+ iv?: string;
13232
+ inputEncoding?: "hex" | "base64";
13233
+ };
12601
13234
  }))[];
12602
13235
  };
12603
13236
  };
@@ -12673,9 +13306,9 @@ export declare type CurrentSteps = {
12673
13306
  } | {
12674
13307
  name: "fallback";
12675
13308
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
12676
- staticValue: string | number | string[] | {
13309
+ staticValue: string | number | string[] | number[] | {
12677
13310
  [key: string]: string;
12678
- } | number[] | {
13311
+ } | {
12679
13312
  [key: string]: number;
12680
13313
  };
12681
13314
  };
@@ -12725,6 +13358,14 @@ export declare type CurrentSteps = {
12725
13358
  algorithm: string;
12726
13359
  salt?: string;
12727
13360
  };
13361
+ } | {
13362
+ name: "decipher";
13363
+ params: {
13364
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
13365
+ key: string;
13366
+ iv?: string;
13367
+ inputEncoding?: "hex" | "base64";
13368
+ };
12728
13369
  }))[];
12729
13370
  };
12730
13371
  })[];
@@ -12811,9 +13452,9 @@ export declare type CurrentSteps = {
12811
13452
  } | {
12812
13453
  name: "fallback";
12813
13454
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
12814
- staticValue: string | number | string[] | {
13455
+ staticValue: string | number | string[] | number[] | {
12815
13456
  [key: string]: string;
12816
- } | number[] | {
13457
+ } | {
12817
13458
  [key: string]: number;
12818
13459
  };
12819
13460
  };
@@ -12863,6 +13504,14 @@ export declare type CurrentSteps = {
12863
13504
  algorithm: string;
12864
13505
  salt?: string;
12865
13506
  };
13507
+ } | {
13508
+ name: "decipher";
13509
+ params: {
13510
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
13511
+ key: string;
13512
+ iv?: string;
13513
+ inputEncoding?: "hex" | "base64";
13514
+ };
12866
13515
  }))[];
12867
13516
  };
12868
13517
  };
@@ -12931,6 +13580,14 @@ export declare type CurrentSteps = {
12931
13580
  minPurchaseCount?: number;
12932
13581
  }[];
12933
13582
  };
13583
+ } | {
13584
+ name: "product-exclusion";
13585
+ params: {
13586
+ exclusionDatasourceId: string;
13587
+ exclusionIdField: string;
13588
+ productIdField: string;
13589
+ mode: "inclusion" | "exclusion";
13590
+ };
12934
13591
  } | {
12935
13592
  name: "per-user";
12936
13593
  params: {};
@@ -13550,6 +14207,14 @@ export declare type CurrentSteps = {
13550
14207
  minPurchaseCount?: number;
13551
14208
  }[];
13552
14209
  };
14210
+ } | {
14211
+ name: "product-exclusion";
14212
+ params: {
14213
+ exclusionDatasourceId: string;
14214
+ exclusionIdField: string;
14215
+ productIdField: string;
14216
+ mode: "inclusion" | "exclusion";
14217
+ };
13553
14218
  } | {
13554
14219
  name: "per-user";
13555
14220
  params: {};
@@ -13662,9 +14327,9 @@ export declare type CurrentSteps = {
13662
14327
  } | {
13663
14328
  name: "fallback";
13664
14329
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
13665
- staticValue: string | number | string[] | {
14330
+ staticValue: string | number | string[] | number[] | {
13666
14331
  [key: string]: string;
13667
- } | number[] | {
14332
+ } | {
13668
14333
  [key: string]: number;
13669
14334
  };
13670
14335
  };
@@ -13714,6 +14379,14 @@ export declare type CurrentSteps = {
13714
14379
  algorithm: string;
13715
14380
  salt?: string;
13716
14381
  };
14382
+ } | {
14383
+ name: "decipher";
14384
+ params: {
14385
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
14386
+ key: string;
14387
+ iv?: string;
14388
+ inputEncoding?: "hex" | "base64";
14389
+ };
13717
14390
  }))[];
13718
14391
  };
13719
14392
  };
@@ -13786,9 +14459,9 @@ export declare type CurrentSteps = {
13786
14459
  } | {
13787
14460
  name: "fallback";
13788
14461
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
13789
- staticValue: string | number | string[] | {
14462
+ staticValue: string | number | string[] | number[] | {
13790
14463
  [key: string]: string;
13791
- } | number[] | {
14464
+ } | {
13792
14465
  [key: string]: number;
13793
14466
  };
13794
14467
  };
@@ -13838,6 +14511,14 @@ export declare type CurrentSteps = {
13838
14511
  algorithm: string;
13839
14512
  salt?: string;
13840
14513
  };
14514
+ } | {
14515
+ name: "decipher";
14516
+ params: {
14517
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
14518
+ key: string;
14519
+ iv?: string;
14520
+ inputEncoding?: "hex" | "base64";
14521
+ };
13841
14522
  }))[];
13842
14523
  };
13843
14524
  };
@@ -13913,9 +14594,9 @@ export declare type CurrentSteps = {
13913
14594
  } | {
13914
14595
  name: "fallback";
13915
14596
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
13916
- staticValue: string | number | string[] | {
14597
+ staticValue: string | number | string[] | number[] | {
13917
14598
  [key: string]: string;
13918
- } | number[] | {
14599
+ } | {
13919
14600
  [key: string]: number;
13920
14601
  };
13921
14602
  };
@@ -13965,6 +14646,14 @@ export declare type CurrentSteps = {
13965
14646
  algorithm: string;
13966
14647
  salt?: string;
13967
14648
  };
14649
+ } | {
14650
+ name: "decipher";
14651
+ params: {
14652
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
14653
+ key: string;
14654
+ iv?: string;
14655
+ inputEncoding?: "hex" | "base64";
14656
+ };
13968
14657
  }))[];
13969
14658
  };
13970
14659
  })[];
@@ -14051,9 +14740,9 @@ export declare type CurrentSteps = {
14051
14740
  } | {
14052
14741
  name: "fallback";
14053
14742
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
14054
- staticValue: string | number | string[] | {
14743
+ staticValue: string | number | string[] | number[] | {
14055
14744
  [key: string]: string;
14056
- } | number[] | {
14745
+ } | {
14057
14746
  [key: string]: number;
14058
14747
  };
14059
14748
  };
@@ -14103,6 +14792,14 @@ export declare type CurrentSteps = {
14103
14792
  algorithm: string;
14104
14793
  salt?: string;
14105
14794
  };
14795
+ } | {
14796
+ name: "decipher";
14797
+ params: {
14798
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
14799
+ key: string;
14800
+ iv?: string;
14801
+ inputEncoding?: "hex" | "base64";
14802
+ };
14106
14803
  }))[];
14107
14804
  };
14108
14805
  };
@@ -14164,6 +14861,14 @@ export declare type CurrentSteps = {
14164
14861
  minPurchaseCount?: number;
14165
14862
  }[];
14166
14863
  };
14864
+ } | {
14865
+ name: "product-exclusion";
14866
+ params: {
14867
+ exclusionDatasourceId: string;
14868
+ exclusionIdField: string;
14869
+ productIdField: string;
14870
+ mode: "inclusion" | "exclusion";
14871
+ };
14167
14872
  } | {
14168
14873
  name: "per-user";
14169
14874
  params: {};
@@ -14237,6 +14942,14 @@ export declare type CurrentSteps = {
14237
14942
  minPurchaseCount?: number;
14238
14943
  }[];
14239
14944
  };
14945
+ } | {
14946
+ name: "product-exclusion";
14947
+ params: {
14948
+ exclusionDatasourceId: string;
14949
+ exclusionIdField: string;
14950
+ productIdField: string;
14951
+ mode: "inclusion" | "exclusion";
14952
+ };
14240
14953
  } | {
14241
14954
  name: "per-user";
14242
14955
  params: {};
@@ -14265,11 +14978,12 @@ export declare type CurrentSteps = {
14265
14978
  destination: {
14266
14979
  type: "smtp";
14267
14980
  options: {
14981
+ date?: string | string;
14982
+ text?: string | string | Readable | AttachmentLike;
14268
14983
  url?: string;
14269
14984
  secure?: boolean;
14270
14985
  host?: string;
14271
14986
  port?: number;
14272
- date?: string | string;
14273
14987
  auth?: AuthenticationTypeCustom | AuthenticationTypeLogin | AuthenticationTypeOAuth2;
14274
14988
  authMethod?: string;
14275
14989
  cc?: string | Address | (string | Address)[];
@@ -14280,7 +14994,6 @@ export declare type CurrentSteps = {
14280
14994
  requireTLS?: boolean;
14281
14995
  html?: string | string | Readable | AttachmentLike;
14282
14996
  amp?: string | string | Readable | AmpAttachment;
14283
- text?: string | string | Readable | AttachmentLike;
14284
14997
  };
14285
14998
  };
14286
14999
  };
@@ -14369,9 +15082,9 @@ export declare type CurrentSteps = {
14369
15082
  } | {
14370
15083
  name: "fallback";
14371
15084
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
14372
- staticValue: string | number | string[] | {
15085
+ staticValue: string | number | string[] | number[] | {
14373
15086
  [key: string]: string;
14374
- } | number[] | {
15087
+ } | {
14375
15088
  [key: string]: number;
14376
15089
  };
14377
15090
  };
@@ -14421,6 +15134,14 @@ export declare type CurrentSteps = {
14421
15134
  algorithm: string;
14422
15135
  salt?: string;
14423
15136
  };
15137
+ } | {
15138
+ name: "decipher";
15139
+ params: {
15140
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
15141
+ key: string;
15142
+ iv?: string;
15143
+ inputEncoding?: "hex" | "base64";
15144
+ };
14424
15145
  }))[];
14425
15146
  };
14426
15147
  };
@@ -14493,9 +15214,9 @@ export declare type CurrentSteps = {
14493
15214
  } | {
14494
15215
  name: "fallback";
14495
15216
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
14496
- staticValue: string | number | string[] | {
15217
+ staticValue: string | number | string[] | number[] | {
14497
15218
  [key: string]: string;
14498
- } | number[] | {
15219
+ } | {
14499
15220
  [key: string]: number;
14500
15221
  };
14501
15222
  };
@@ -14545,6 +15266,14 @@ export declare type CurrentSteps = {
14545
15266
  algorithm: string;
14546
15267
  salt?: string;
14547
15268
  };
15269
+ } | {
15270
+ name: "decipher";
15271
+ params: {
15272
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
15273
+ key: string;
15274
+ iv?: string;
15275
+ inputEncoding?: "hex" | "base64";
15276
+ };
14548
15277
  }))[];
14549
15278
  };
14550
15279
  };
@@ -14620,9 +15349,9 @@ export declare type CurrentSteps = {
14620
15349
  } | {
14621
15350
  name: "fallback";
14622
15351
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
14623
- staticValue: string | number | string[] | {
15352
+ staticValue: string | number | string[] | number[] | {
14624
15353
  [key: string]: string;
14625
- } | number[] | {
15354
+ } | {
14626
15355
  [key: string]: number;
14627
15356
  };
14628
15357
  };
@@ -14672,6 +15401,14 @@ export declare type CurrentSteps = {
14672
15401
  algorithm: string;
14673
15402
  salt?: string;
14674
15403
  };
15404
+ } | {
15405
+ name: "decipher";
15406
+ params: {
15407
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
15408
+ key: string;
15409
+ iv?: string;
15410
+ inputEncoding?: "hex" | "base64";
15411
+ };
14675
15412
  }))[];
14676
15413
  };
14677
15414
  })[];
@@ -14758,9 +15495,9 @@ export declare type CurrentSteps = {
14758
15495
  } | {
14759
15496
  name: "fallback";
14760
15497
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
14761
- staticValue: string | number | string[] | {
15498
+ staticValue: string | number | string[] | number[] | {
14762
15499
  [key: string]: string;
14763
- } | number[] | {
15500
+ } | {
14764
15501
  [key: string]: number;
14765
15502
  };
14766
15503
  };
@@ -14810,6 +15547,14 @@ export declare type CurrentSteps = {
14810
15547
  algorithm: string;
14811
15548
  salt?: string;
14812
15549
  };
15550
+ } | {
15551
+ name: "decipher";
15552
+ params: {
15553
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
15554
+ key: string;
15555
+ iv?: string;
15556
+ inputEncoding?: "hex" | "base64";
15557
+ };
14813
15558
  }))[];
14814
15559
  };
14815
15560
  };
@@ -14964,6 +15709,14 @@ export declare type CurrentSteps = {
14964
15709
  minPurchaseCount?: number;
14965
15710
  }[];
14966
15711
  };
15712
+ } | {
15713
+ name: "product-exclusion";
15714
+ params: {
15715
+ exclusionDatasourceId: string;
15716
+ exclusionIdField: string;
15717
+ productIdField: string;
15718
+ mode: "inclusion" | "exclusion";
15719
+ };
14967
15720
  } | {
14968
15721
  name: "per-user";
14969
15722
  params: {};
@@ -15143,9 +15896,9 @@ export declare type CurrentSteps = {
15143
15896
  } | {
15144
15897
  name: "fallback";
15145
15898
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
15146
- staticValue: string | number | string[] | {
15899
+ staticValue: string | number | string[] | number[] | {
15147
15900
  [key: string]: string;
15148
- } | number[] | {
15901
+ } | {
15149
15902
  [key: string]: number;
15150
15903
  };
15151
15904
  };
@@ -15195,6 +15948,14 @@ export declare type CurrentSteps = {
15195
15948
  algorithm: string;
15196
15949
  salt?: string;
15197
15950
  };
15951
+ } | {
15952
+ name: "decipher";
15953
+ params: {
15954
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
15955
+ key: string;
15956
+ iv?: string;
15957
+ inputEncoding?: "hex" | "base64";
15958
+ };
15198
15959
  }))[];
15199
15960
  };
15200
15961
  };
@@ -15267,9 +16028,9 @@ export declare type CurrentSteps = {
15267
16028
  } | {
15268
16029
  name: "fallback";
15269
16030
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
15270
- staticValue: string | number | string[] | {
16031
+ staticValue: string | number | string[] | number[] | {
15271
16032
  [key: string]: string;
15272
- } | number[] | {
16033
+ } | {
15273
16034
  [key: string]: number;
15274
16035
  };
15275
16036
  };
@@ -15319,6 +16080,14 @@ export declare type CurrentSteps = {
15319
16080
  algorithm: string;
15320
16081
  salt?: string;
15321
16082
  };
16083
+ } | {
16084
+ name: "decipher";
16085
+ params: {
16086
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
16087
+ key: string;
16088
+ iv?: string;
16089
+ inputEncoding?: "hex" | "base64";
16090
+ };
15322
16091
  }))[];
15323
16092
  };
15324
16093
  };
@@ -15394,9 +16163,9 @@ export declare type CurrentSteps = {
15394
16163
  } | {
15395
16164
  name: "fallback";
15396
16165
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
15397
- staticValue: string | number | string[] | {
16166
+ staticValue: string | number | string[] | number[] | {
15398
16167
  [key: string]: string;
15399
- } | number[] | {
16168
+ } | {
15400
16169
  [key: string]: number;
15401
16170
  };
15402
16171
  };
@@ -15446,6 +16215,14 @@ export declare type CurrentSteps = {
15446
16215
  algorithm: string;
15447
16216
  salt?: string;
15448
16217
  };
16218
+ } | {
16219
+ name: "decipher";
16220
+ params: {
16221
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
16222
+ key: string;
16223
+ iv?: string;
16224
+ inputEncoding?: "hex" | "base64";
16225
+ };
15449
16226
  }))[];
15450
16227
  };
15451
16228
  })[];
@@ -15532,9 +16309,9 @@ export declare type CurrentSteps = {
15532
16309
  } | {
15533
16310
  name: "fallback";
15534
16311
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
15535
- staticValue: string | number | string[] | {
16312
+ staticValue: string | number | string[] | number[] | {
15536
16313
  [key: string]: string;
15537
- } | number[] | {
16314
+ } | {
15538
16315
  [key: string]: number;
15539
16316
  };
15540
16317
  };
@@ -15584,6 +16361,14 @@ export declare type CurrentSteps = {
15584
16361
  algorithm: string;
15585
16362
  salt?: string;
15586
16363
  };
16364
+ } | {
16365
+ name: "decipher";
16366
+ params: {
16367
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
16368
+ key: string;
16369
+ iv?: string;
16370
+ inputEncoding?: "hex" | "base64";
16371
+ };
15587
16372
  }))[];
15588
16373
  };
15589
16374
  };
@@ -15652,6 +16437,14 @@ export declare type CurrentSteps = {
15652
16437
  minPurchaseCount?: number;
15653
16438
  }[];
15654
16439
  };
16440
+ } | {
16441
+ name: "product-exclusion";
16442
+ params: {
16443
+ exclusionDatasourceId: string;
16444
+ exclusionIdField: string;
16445
+ productIdField: string;
16446
+ mode: "inclusion" | "exclusion";
16447
+ };
15655
16448
  } | {
15656
16449
  name: "per-user";
15657
16450
  params: {};
@@ -16271,6 +17064,14 @@ export declare type CurrentSteps = {
16271
17064
  minPurchaseCount?: number;
16272
17065
  }[];
16273
17066
  };
17067
+ } | {
17068
+ name: "product-exclusion";
17069
+ params: {
17070
+ exclusionDatasourceId: string;
17071
+ exclusionIdField: string;
17072
+ productIdField: string;
17073
+ mode: "inclusion" | "exclusion";
17074
+ };
16274
17075
  } | {
16275
17076
  name: "per-user";
16276
17077
  params: {};
@@ -16383,9 +17184,9 @@ export declare type CurrentSteps = {
16383
17184
  } | {
16384
17185
  name: "fallback";
16385
17186
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
16386
- staticValue: string | number | string[] | {
17187
+ staticValue: string | number | string[] | number[] | {
16387
17188
  [key: string]: string;
16388
- } | number[] | {
17189
+ } | {
16389
17190
  [key: string]: number;
16390
17191
  };
16391
17192
  };
@@ -16435,6 +17236,14 @@ export declare type CurrentSteps = {
16435
17236
  algorithm: string;
16436
17237
  salt?: string;
16437
17238
  };
17239
+ } | {
17240
+ name: "decipher";
17241
+ params: {
17242
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
17243
+ key: string;
17244
+ iv?: string;
17245
+ inputEncoding?: "hex" | "base64";
17246
+ };
16438
17247
  }))[];
16439
17248
  };
16440
17249
  };
@@ -16507,9 +17316,9 @@ export declare type CurrentSteps = {
16507
17316
  } | {
16508
17317
  name: "fallback";
16509
17318
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
16510
- staticValue: string | number | string[] | {
17319
+ staticValue: string | number | string[] | number[] | {
16511
17320
  [key: string]: string;
16512
- } | number[] | {
17321
+ } | {
16513
17322
  [key: string]: number;
16514
17323
  };
16515
17324
  };
@@ -16559,6 +17368,14 @@ export declare type CurrentSteps = {
16559
17368
  algorithm: string;
16560
17369
  salt?: string;
16561
17370
  };
17371
+ } | {
17372
+ name: "decipher";
17373
+ params: {
17374
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
17375
+ key: string;
17376
+ iv?: string;
17377
+ inputEncoding?: "hex" | "base64";
17378
+ };
16562
17379
  }))[];
16563
17380
  };
16564
17381
  };
@@ -16634,9 +17451,9 @@ export declare type CurrentSteps = {
16634
17451
  } | {
16635
17452
  name: "fallback";
16636
17453
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
16637
- staticValue: string | number | string[] | {
17454
+ staticValue: string | number | string[] | number[] | {
16638
17455
  [key: string]: string;
16639
- } | number[] | {
17456
+ } | {
16640
17457
  [key: string]: number;
16641
17458
  };
16642
17459
  };
@@ -16686,6 +17503,14 @@ export declare type CurrentSteps = {
16686
17503
  algorithm: string;
16687
17504
  salt?: string;
16688
17505
  };
17506
+ } | {
17507
+ name: "decipher";
17508
+ params: {
17509
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
17510
+ key: string;
17511
+ iv?: string;
17512
+ inputEncoding?: "hex" | "base64";
17513
+ };
16689
17514
  }))[];
16690
17515
  };
16691
17516
  })[];
@@ -16772,9 +17597,9 @@ export declare type CurrentSteps = {
16772
17597
  } | {
16773
17598
  name: "fallback";
16774
17599
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
16775
- staticValue: string | number | string[] | {
17600
+ staticValue: string | number | string[] | number[] | {
16776
17601
  [key: string]: string;
16777
- } | number[] | {
17602
+ } | {
16778
17603
  [key: string]: number;
16779
17604
  };
16780
17605
  };
@@ -16824,6 +17649,14 @@ export declare type CurrentSteps = {
16824
17649
  algorithm: string;
16825
17650
  salt?: string;
16826
17651
  };
17652
+ } | {
17653
+ name: "decipher";
17654
+ params: {
17655
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
17656
+ key: string;
17657
+ iv?: string;
17658
+ inputEncoding?: "hex" | "base64";
17659
+ };
16827
17660
  }))[];
16828
17661
  };
16829
17662
  };
@@ -16885,6 +17718,14 @@ export declare type CurrentSteps = {
16885
17718
  minPurchaseCount?: number;
16886
17719
  }[];
16887
17720
  };
17721
+ } | {
17722
+ name: "product-exclusion";
17723
+ params: {
17724
+ exclusionDatasourceId: string;
17725
+ exclusionIdField: string;
17726
+ productIdField: string;
17727
+ mode: "inclusion" | "exclusion";
17728
+ };
16888
17729
  } | {
16889
17730
  name: "per-user";
16890
17731
  params: {};
@@ -16958,6 +17799,14 @@ export declare type CurrentSteps = {
16958
17799
  minPurchaseCount?: number;
16959
17800
  }[];
16960
17801
  };
17802
+ } | {
17803
+ name: "product-exclusion";
17804
+ params: {
17805
+ exclusionDatasourceId: string;
17806
+ exclusionIdField: string;
17807
+ productIdField: string;
17808
+ mode: "inclusion" | "exclusion";
17809
+ };
16961
17810
  } | {
16962
17811
  name: "per-user";
16963
17812
  params: {};
@@ -16986,11 +17835,12 @@ export declare type CurrentSteps = {
16986
17835
  destination: {
16987
17836
  type: "smtp";
16988
17837
  options: {
17838
+ date?: string | string;
17839
+ text?: string | string | Readable | AttachmentLike;
16989
17840
  url?: string;
16990
17841
  secure?: boolean;
16991
17842
  host?: string;
16992
17843
  port?: number;
16993
- date?: string | string;
16994
17844
  auth?: AuthenticationTypeCustom | AuthenticationTypeLogin | AuthenticationTypeOAuth2;
16995
17845
  authMethod?: string;
16996
17846
  cc?: string | Address | (string | Address)[];
@@ -17001,7 +17851,6 @@ export declare type CurrentSteps = {
17001
17851
  requireTLS?: boolean;
17002
17852
  html?: string | string | Readable | AttachmentLike;
17003
17853
  amp?: string | string | Readable | AmpAttachment;
17004
- text?: string | string | Readable | AttachmentLike;
17005
17854
  };
17006
17855
  };
17007
17856
  };
@@ -17023,11 +17872,11 @@ export declare type InternalResponse_CurrentSteps = {
17023
17872
  export declare type Document = AnyValue;
17024
17873
  export declare type LogLevel = 0 | 1 | 2;
17025
17874
  export declare type DatasourceLog = {
17875
+ datasourceId: string;
17026
17876
  type: "too_many_invalid_entries" | "entries_drop_rate_too_high" | "failed_to_pull" | "fatal" | "entries_drop_rate_too_high" | "refresh_time_too_small" | "missing_fields" | "failed_to_refresh_dependents" | "start" | "end" | "content_update" | "geocoding_address" | "geocoding_country" | "invalid_type" | "invalid_line" | "invalid_unwind_source" | "required_values_empty";
17877
+ date: string;
17027
17878
  payload: AnyValue;
17028
17879
  contentVersion: number;
17029
- datasourceId: string;
17030
- date: string;
17031
17880
  level: LogLevel;
17032
17881
  entryIndex?: number;
17033
17882
  } & {
@@ -17052,10 +17901,8 @@ export declare enum DatasourceStatus {
17052
17901
  ERROR = "error"
17053
17902
  }
17054
17903
  export declare type Serialize_PushDatasource = {
17055
- companyId: string | null;
17056
- resourceGroupIds: string[];
17057
- mode: "push";
17058
17904
  name: string;
17905
+ status: DatasourceStatus;
17059
17906
  readonly template?: (string) & readonlyP;
17060
17907
  readonly fetcher: ({
17061
17908
  name: DatasourceFetcherName;
@@ -17095,6 +17942,14 @@ export declare type Serialize_PushDatasource = {
17095
17942
  minPurchaseCount?: number;
17096
17943
  }[];
17097
17944
  };
17945
+ } | {
17946
+ name: "product-exclusion";
17947
+ params: {
17948
+ mode: "inclusion" | "exclusion";
17949
+ exclusionDatasourceId: string;
17950
+ exclusionIdField: string;
17951
+ productIdField: string;
17952
+ };
17098
17953
  } | {
17099
17954
  name: "per-user";
17100
17955
  params: {};
@@ -17129,29 +17984,31 @@ export declare type Serialize_PushDatasource = {
17129
17984
  tableName: string;
17130
17985
  }[];
17131
17986
  };
17987
+ mode: "push";
17988
+ companyId: string | null;
17989
+ resourceGroupIds: string[];
17132
17990
  readonly configurationUpdatedAt: (string) & readonlyP;
17133
17991
  readonly archivedAt: (string | null) & readonlyP;
17134
17992
  versions: ({
17135
- readonly id: (string) & readonlyP;
17136
- mode: "push";
17137
17993
  type: {
17138
17994
  name: "push";
17139
17995
  subtype: "email";
17140
17996
  };
17141
- readonly state: ("LIVE" | "DRAFT" | "INACTIVE") & readonlyP;
17997
+ readonly id: (string) & readonlyP;
17142
17998
  fieldsMap: IngesterFieldMap[];
17999
+ mode: "push";
17143
18000
  destination: {
17144
- type: "smtp";
17145
18001
  options: {
18002
+ date?: string | string;
18003
+ text?: string | string | Readable | AttachmentLike;
17146
18004
  url?: string;
17147
18005
  secure?: boolean;
17148
18006
  host?: string;
17149
18007
  port?: number;
17150
- date?: string | string;
17151
18008
  auth?: {
17152
18009
  user: string;
17153
- method: string;
17154
18010
  type: "custom" | "Custom" | "CUSTOM";
18011
+ method: string;
17155
18012
  pass: string;
17156
18013
  } | {
17157
18014
  user: string;
@@ -17159,16 +18016,16 @@ export declare type Serialize_PushDatasource = {
17159
18016
  pass: string;
17160
18017
  } | {
17161
18018
  user?: string;
17162
- refreshToken?: string;
17163
- accessToken?: string;
17164
- clientId?: string;
17165
- clientSecret?: string;
17166
18019
  type?: "oauth2" | "OAuth2" | "OAUTH2";
17167
18020
  timeout?: number;
17168
18021
  privateKey?: string | {
17169
18022
  key: string;
17170
18023
  passphrase: string;
17171
18024
  };
18025
+ refreshToken?: string;
18026
+ accessToken?: string;
18027
+ clientId?: string;
18028
+ clientSecret?: string;
17172
18029
  accessUrl?: string;
17173
18030
  expires?: number;
17174
18031
  serviceClient?: string;
@@ -17182,9 +18039,10 @@ export declare type Serialize_PushDatasource = {
17182
18039
  requireTLS?: boolean;
17183
18040
  html?: string | string | Readable | AttachmentLike;
17184
18041
  amp?: string | string | Readable | AmpAttachment;
17185
- text?: string | string | Readable | AttachmentLike;
17186
18042
  };
18043
+ type: "smtp";
17187
18044
  };
18045
+ readonly state: ("LIVE" | "DRAFT" | "INACTIVE") & readonlyP;
17188
18046
  readonly pendingSteps?: (({
17189
18047
  name: "configure_name";
17190
18048
  } | {
@@ -17264,7 +18122,6 @@ export declare type Serialize_PushDatasource = {
17264
18122
  } & {
17265
18123
  readonly health: ("OK" | "WARNING" | "ERROR") & readonlyP;
17266
18124
  })[];
17267
- status: DatasourceStatus;
17268
18125
  hierarchy: string[];
17269
18126
  readonly hasWarnings: (boolean) & readonlyP;
17270
18127
  };
@@ -17274,12 +18131,6 @@ export declare type PushDatasource = Serialize_PushDatasource & {
17274
18131
  readonly createdAt: (string) & readonlyP;
17275
18132
  readonly updatedAt: (string) & readonlyP;
17276
18133
  };
17277
- export declare enum DatasourceVersionState {
17278
- LIVE = "LIVE",
17279
- DRAFT = "DRAFT",
17280
- SCHEDULED = "SCHEDULED",
17281
- INACTIVE = "INACTIVE"
17282
- }
17283
18134
  export declare type SourceInput = {
17284
18135
  source: ({
17285
18136
  type: "url";
@@ -17907,9 +18758,9 @@ export declare type SourceInput = {
17907
18758
  } | {
17908
18759
  name: "fallback";
17909
18760
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
17910
- staticValue: string | number | string[] | {
18761
+ staticValue: string | number | string[] | number[] | {
17911
18762
  [key: string]: string;
17912
- } | number[] | {
18763
+ } | {
17913
18764
  [key: string]: number;
17914
18765
  };
17915
18766
  };
@@ -17959,6 +18810,14 @@ export declare type SourceInput = {
17959
18810
  algorithm: string;
17960
18811
  salt?: string;
17961
18812
  };
18813
+ } | {
18814
+ name: "decipher";
18815
+ params: {
18816
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
18817
+ key: string;
18818
+ iv?: string;
18819
+ inputEncoding?: "hex" | "base64";
18820
+ };
17962
18821
  }))[];
17963
18822
  };
17964
18823
  };
@@ -17967,11 +18826,15 @@ export declare type SampleObj = {
17967
18826
  [key: string]: AnyValue;
17968
18827
  };
17969
18828
  };
18829
+ export declare enum DatasourceVersionState {
18830
+ LIVE = "LIVE",
18831
+ DRAFT = "DRAFT",
18832
+ SCHEDULED = "SCHEDULED",
18833
+ INACTIVE = "INACTIVE"
18834
+ }
17970
18835
  export declare type Serialize_WorkerDatasource = {
17971
- companyId: string | null;
17972
- resourceGroupIds: string[];
17973
- mode: "worker";
17974
18836
  name: string;
18837
+ status: DatasourceStatus;
17975
18838
  readonly template?: (string) & readonlyP;
17976
18839
  readonly fetcher: ({
17977
18840
  name: DatasourceFetcherName;
@@ -18011,6 +18874,14 @@ export declare type Serialize_WorkerDatasource = {
18011
18874
  minPurchaseCount?: number;
18012
18875
  }[];
18013
18876
  };
18877
+ } | {
18878
+ name: "product-exclusion";
18879
+ params: {
18880
+ mode: "inclusion" | "exclusion";
18881
+ exclusionDatasourceId: string;
18882
+ exclusionIdField: string;
18883
+ productIdField: string;
18884
+ };
18014
18885
  } | {
18015
18886
  name: "per-user";
18016
18887
  params: {};
@@ -18027,11 +18898,12 @@ export declare type Serialize_WorkerDatasource = {
18027
18898
  outputField: string;
18028
18899
  };
18029
18900
  }) & readonlyP;
18901
+ mode: "worker";
18902
+ companyId: string | null;
18903
+ resourceGroupIds: string[];
18030
18904
  readonly configurationUpdatedAt: (string) & readonlyP;
18031
18905
  readonly archivedAt: (string | null) & readonlyP;
18032
18906
  versions: ({
18033
- readonly id: (string) & readonlyP;
18034
- mode: "worker";
18035
18907
  type: {
18036
18908
  name: "analytics";
18037
18909
  options: {
@@ -18052,7 +18924,7 @@ export declare type Serialize_WorkerDatasource = {
18052
18924
  name: "location";
18053
18925
  subtype: DatasourceLocationSubType;
18054
18926
  };
18055
- readonly state: (DatasourceVersionState) & readonlyP;
18927
+ readonly id: (string) & readonlyP;
18056
18928
  fieldsMap: OlapFieldMap[];
18057
18929
  aggregationPipeline: ({
18058
18930
  name: "merge";
@@ -18101,10 +18973,9 @@ export declare type Serialize_WorkerDatasource = {
18101
18973
  };
18102
18974
  detectMissingFields: boolean;
18103
18975
  updateOptions: {
18104
- type: "override_previous_data";
18105
18976
  options: {};
18977
+ type: "override_previous_data";
18106
18978
  } | {
18107
- type: "upsert_data";
18108
18979
  options: {
18109
18980
  mode?: PinotUpsertMode;
18110
18981
  primaryKey: string;
@@ -18115,9 +18986,10 @@ export declare type Serialize_WorkerDatasource = {
18115
18986
  deleteRecordColumn?: string;
18116
18987
  consistencyMode?: "NONE" | "SNAPSHOT";
18117
18988
  };
18989
+ type: "upsert_data";
18118
18990
  } | {
18119
- type: "keep_previous_data";
18120
18991
  options: {};
18992
+ type: "keep_previous_data";
18121
18993
  };
18122
18994
  sources: ({
18123
18995
  input: SourceInput & SampleObj;
@@ -18125,6 +18997,8 @@ export declare type Serialize_WorkerDatasource = {
18125
18997
  type: "append";
18126
18998
  input: SourceInput & SampleObj;
18127
18999
  })[];
19000
+ mode: "worker";
19001
+ readonly state: (DatasourceVersionState) & readonlyP;
18128
19002
  readonly pendingSteps?: (({
18129
19003
  name: "configure_name";
18130
19004
  } | {
@@ -18211,7 +19085,6 @@ export declare type Serialize_WorkerDatasource = {
18211
19085
  } & {
18212
19086
  readonly health: ("OK" | "WARNING" | "ERROR") & readonlyP;
18213
19087
  })[];
18214
- status: DatasourceStatus;
18215
19088
  hierarchy: string[];
18216
19089
  readonly hasWarnings: (boolean) & readonlyP;
18217
19090
  readonly contentVersion: (number) & readonlyP;
@@ -18246,10 +19119,8 @@ export declare type WorkerDatasource = Serialize_WorkerDatasource & {
18246
19119
  readonly updatedAt: (string) & readonlyP;
18247
19120
  };
18248
19121
  export declare type Serialize_ProxyDatasource = {
18249
- companyId: string | null;
18250
- resourceGroupIds: string[];
18251
- mode: "proxy";
18252
19122
  name: string;
19123
+ status: DatasourceStatus;
18253
19124
  readonly template?: (string) & readonlyP;
18254
19125
  readonly fetcher: ({
18255
19126
  name: DatasourceFetcherName;
@@ -18289,6 +19160,14 @@ export declare type Serialize_ProxyDatasource = {
18289
19160
  minPurchaseCount?: number;
18290
19161
  }[];
18291
19162
  };
19163
+ } | {
19164
+ name: "product-exclusion";
19165
+ params: {
19166
+ mode: "inclusion" | "exclusion";
19167
+ exclusionDatasourceId: string;
19168
+ exclusionIdField: string;
19169
+ productIdField: string;
19170
+ };
18292
19171
  } | {
18293
19172
  name: "per-user";
18294
19173
  params: {};
@@ -18305,11 +19184,12 @@ export declare type Serialize_ProxyDatasource = {
18305
19184
  outputField: string;
18306
19185
  };
18307
19186
  }) & readonlyP;
19187
+ mode: "proxy";
19188
+ companyId: string | null;
19189
+ resourceGroupIds: string[];
18308
19190
  readonly configurationUpdatedAt: (string) & readonlyP;
18309
19191
  readonly archivedAt: (string | null) & readonlyP;
18310
19192
  versions: ({
18311
- readonly id: (string) & readonlyP;
18312
- mode: "proxy";
18313
19193
  type: {
18314
19194
  name: "generic";
18315
19195
  subtype: DatasourceGenericSubType;
@@ -18317,7 +19197,7 @@ export declare type Serialize_ProxyDatasource = {
18317
19197
  name: "crm";
18318
19198
  subtype: DatasourceCRMSubType;
18319
19199
  };
18320
- readonly state: ("LIVE" | "DRAFT" | "INACTIVE") & readonlyP;
19200
+ readonly id: (string) & readonlyP;
18321
19201
  fieldsMap: FieldMap[];
18322
19202
  refresh: {
18323
19203
  freq: number;
@@ -18328,6 +19208,8 @@ export declare type Serialize_ProxyDatasource = {
18328
19208
  type: "append";
18329
19209
  input: SourceInput & SampleObj;
18330
19210
  })[];
19211
+ mode: "proxy";
19212
+ readonly state: ("LIVE" | "DRAFT" | "INACTIVE") & readonlyP;
18331
19213
  readonly pendingSteps?: (({
18332
19214
  name: "configure_name";
18333
19215
  } | {
@@ -18408,7 +19290,6 @@ export declare type Serialize_ProxyDatasource = {
18408
19290
  } & {
18409
19291
  readonly health: ("OK" | "WARNING" | "ERROR") & readonlyP;
18410
19292
  })[];
18411
- status: DatasourceStatus;
18412
19293
  hierarchy: string[];
18413
19294
  readonly hasWarnings: (boolean) & readonlyP;
18414
19295
  };
@@ -18419,10 +19300,8 @@ export declare type ProxyDatasource = Serialize_ProxyDatasource & {
18419
19300
  readonly updatedAt: (string) & readonlyP;
18420
19301
  };
18421
19302
  export declare type Serialize_IngesterDatasource = {
18422
- companyId: string | null;
18423
- resourceGroupIds: string[];
18424
- mode: "ingester";
18425
19303
  name: string;
19304
+ status: DatasourceStatus;
18426
19305
  readonly template?: (string) & readonlyP;
18427
19306
  readonly fetcher: ({
18428
19307
  name: DatasourceFetcherName;
@@ -18462,6 +19341,14 @@ export declare type Serialize_IngesterDatasource = {
18462
19341
  minPurchaseCount?: number;
18463
19342
  }[];
18464
19343
  };
19344
+ } | {
19345
+ name: "product-exclusion";
19346
+ params: {
19347
+ mode: "inclusion" | "exclusion";
19348
+ exclusionDatasourceId: string;
19349
+ exclusionIdField: string;
19350
+ productIdField: string;
19351
+ };
18465
19352
  } | {
18466
19353
  name: "per-user";
18467
19354
  params: {};
@@ -18496,11 +19383,12 @@ export declare type Serialize_IngesterDatasource = {
18496
19383
  tableName: string;
18497
19384
  }[];
18498
19385
  };
19386
+ mode: "ingester";
19387
+ companyId: string | null;
19388
+ resourceGroupIds: string[];
18499
19389
  readonly configurationUpdatedAt: (string) & readonlyP;
18500
19390
  readonly archivedAt: (string | null) & readonlyP;
18501
19391
  versions: ({
18502
- readonly id: (string) & readonlyP;
18503
- mode: "ingester";
18504
19392
  filter?: {
18505
19393
  $and: ({
18506
19394
  $and: ({
@@ -19021,13 +19909,12 @@ export declare type Serialize_IngesterDatasource = {
19021
19909
  name: "analytics";
19022
19910
  subtype: "reelevant" | "google_tag_manager" | "workflow_events" | "user" | "mutable";
19023
19911
  };
19024
- readonly state: ("LIVE" | "DRAFT") & readonlyP;
19912
+ readonly id: (string) & readonlyP;
19025
19913
  fieldsMap: IngesterFieldMap[];
19026
19914
  updateOptions: {
19027
- type: "override_previous_data";
19028
19915
  options: {};
19916
+ type: "override_previous_data";
19029
19917
  } | {
19030
- type: "upsert_data";
19031
19918
  options: {
19032
19919
  mode?: PinotUpsertMode;
19033
19920
  primaryKey: string;
@@ -19038,11 +19925,14 @@ export declare type Serialize_IngesterDatasource = {
19038
19925
  deleteRecordColumn?: string;
19039
19926
  consistencyMode?: "NONE" | "SNAPSHOT";
19040
19927
  };
19928
+ type: "upsert_data";
19041
19929
  } | {
19042
- type: "keep_previous_data";
19043
19930
  options: {};
19931
+ type: "keep_previous_data";
19044
19932
  };
19045
19933
  preProcessingAggregations?: PreProcessingAggregations[];
19934
+ mode: "ingester";
19935
+ readonly state: ("LIVE" | "DRAFT") & readonlyP;
19046
19936
  readonly pendingSteps?: (({
19047
19937
  name: "configure_name";
19048
19938
  } | {
@@ -19120,17 +20010,16 @@ export declare type Serialize_IngesterDatasource = {
19120
20010
  readonly uniqueFieldsTypes: (FieldMapType[]) & readonlyP;
19121
20011
  readonly importantFieldsTypes: (FieldMapType[]) & readonlyP;
19122
20012
  authentication?: {
19123
- type: "bearer";
19124
20013
  value: string;
20014
+ type: "bearer";
19125
20015
  } | {
20016
+ type: "basic";
19126
20017
  username: string;
19127
20018
  password: string;
19128
- type: "basic";
19129
20019
  };
19130
20020
  } & {
19131
20021
  readonly health: ("OK" | "WARNING" | "ERROR") & readonlyP;
19132
20022
  })[];
19133
- status: DatasourceStatus;
19134
20023
  hierarchy: string[];
19135
20024
  readonly hasWarnings: (boolean) & readonlyP;
19136
20025
  };
@@ -19141,10 +20030,8 @@ export declare type IngesterDatasource = Serialize_IngesterDatasource & {
19141
20030
  readonly updatedAt: (string) & readonlyP;
19142
20031
  };
19143
20032
  export declare type Serialize_PubsubDatasource = {
19144
- companyId: string | null;
19145
- resourceGroupIds: string[];
19146
- mode: "pubsub";
19147
20033
  name: string;
20034
+ status: DatasourceStatus;
19148
20035
  readonly template?: (string) & readonlyP;
19149
20036
  readonly fetcher: ({
19150
20037
  name: DatasourceFetcherName;
@@ -19184,6 +20071,14 @@ export declare type Serialize_PubsubDatasource = {
19184
20071
  minPurchaseCount?: number;
19185
20072
  }[];
19186
20073
  };
20074
+ } | {
20075
+ name: "product-exclusion";
20076
+ params: {
20077
+ mode: "inclusion" | "exclusion";
20078
+ exclusionDatasourceId: string;
20079
+ exclusionIdField: string;
20080
+ productIdField: string;
20081
+ };
19187
20082
  } | {
19188
20083
  name: "per-user";
19189
20084
  params: {};
@@ -19218,11 +20113,12 @@ export declare type Serialize_PubsubDatasource = {
19218
20113
  tableName: string;
19219
20114
  }[];
19220
20115
  };
20116
+ mode: "pubsub";
20117
+ companyId: string | null;
20118
+ resourceGroupIds: string[];
19221
20119
  readonly configurationUpdatedAt: (string) & readonlyP;
19222
20120
  readonly archivedAt: (string | null) & readonlyP;
19223
20121
  versions: ({
19224
- readonly id: (string) & readonlyP;
19225
- mode: "pubsub";
19226
20122
  type: {
19227
20123
  name: "analytics";
19228
20124
  options: {
@@ -19243,7 +20139,7 @@ export declare type Serialize_PubsubDatasource = {
19243
20139
  name: "location";
19244
20140
  subtype: DatasourceLocationSubType;
19245
20141
  };
19246
- readonly state: ("LIVE" | "DRAFT" | "INACTIVE") & readonlyP;
20142
+ readonly id: (string) & readonlyP;
19247
20143
  fieldsMap: FieldMap[];
19248
20144
  sources: ({
19249
20145
  input: SourceInput & SampleObj;
@@ -19251,6 +20147,8 @@ export declare type Serialize_PubsubDatasource = {
19251
20147
  type: "append";
19252
20148
  input: SourceInput & SampleObj;
19253
20149
  })[];
20150
+ mode: "pubsub";
20151
+ readonly state: ("LIVE" | "DRAFT" | "INACTIVE") & readonlyP;
19254
20152
  readonly pendingSteps?: (({
19255
20153
  name: "configure_name";
19256
20154
  } | {
@@ -19330,7 +20228,6 @@ export declare type Serialize_PubsubDatasource = {
19330
20228
  } & {
19331
20229
  readonly health: ("OK" | "WARNING" | "ERROR") & readonlyP;
19332
20230
  })[];
19333
- status: DatasourceStatus;
19334
20231
  hierarchy: string[];
19335
20232
  readonly hasWarnings: (boolean) & readonlyP;
19336
20233
  };
@@ -19446,6 +20343,17 @@ export declare type InternalResponse_FileSourceOptions = {
19446
20343
  message: string;
19447
20344
  data: FileSourceOptions;
19448
20345
  };
20346
+ export declare type InternalResponse_password_string = {
20347
+ program: string;
20348
+ version: string;
20349
+ datetime: string;
20350
+ status: string;
20351
+ code?: number;
20352
+ message: string;
20353
+ data: {
20354
+ password: string;
20355
+ };
20356
+ };
19449
20357
  export declare type InternalResponse_fields_Array_Intersection_FieldMap_rulesPerSources_Record = {
19450
20358
  program: string;
19451
20359
  version: string;
@@ -19521,9 +20429,9 @@ export declare type InternalResponse_fields_Array_Intersection_FieldMap_rulesPer
19521
20429
  } | {
19522
20430
  name: "fallback";
19523
20431
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
19524
- staticValue: string | number | string[] | {
20432
+ staticValue: string | number | string[] | number[] | {
19525
20433
  [key: string]: string;
19526
- } | number[] | {
20434
+ } | {
19527
20435
  [key: string]: number;
19528
20436
  };
19529
20437
  };
@@ -19573,6 +20481,14 @@ export declare type InternalResponse_fields_Array_Intersection_FieldMap_rulesPer
19573
20481
  algorithm: string;
19574
20482
  salt?: string;
19575
20483
  };
20484
+ } | {
20485
+ name: "decipher";
20486
+ params: {
20487
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
20488
+ key: string;
20489
+ iv?: string;
20490
+ inputEncoding?: "hex" | "base64";
20491
+ };
19576
20492
  }))[];
19577
20493
  };
19578
20494
  })[];
@@ -19590,7 +20506,8 @@ export declare enum FieldMapRuleName {
19590
20506
  SPLIT = "split",
19591
20507
  CUSTOM = "custom",
19592
20508
  CASE = "case",
19593
- HASH = "hash"
20509
+ HASH = "hash",
20510
+ DECIPHER = "decipher"
19594
20511
  }
19595
20512
  export declare type DatasourceTypeName = DatasourceType;
19596
20513
  export declare enum DatasourceAnalyticsSubType {
@@ -19697,9 +20614,9 @@ export declare type WorkerSteps = {
19697
20614
  } | {
19698
20615
  name: "fallback";
19699
20616
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
19700
- staticValue: string | number | string[] | {
20617
+ staticValue: string | number | string[] | number[] | {
19701
20618
  [key: string]: string;
19702
- } | number[] | {
20619
+ } | {
19703
20620
  [key: string]: number;
19704
20621
  };
19705
20622
  };
@@ -19749,6 +20666,14 @@ export declare type WorkerSteps = {
19749
20666
  algorithm: string;
19750
20667
  salt?: string;
19751
20668
  };
20669
+ } | {
20670
+ name: "decipher";
20671
+ params: {
20672
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
20673
+ key: string;
20674
+ iv?: string;
20675
+ inputEncoding?: "hex" | "base64";
20676
+ };
19752
20677
  }))[];
19753
20678
  };
19754
20679
  };
@@ -19821,9 +20746,9 @@ export declare type WorkerSteps = {
19821
20746
  } | {
19822
20747
  name: "fallback";
19823
20748
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
19824
- staticValue: string | number | string[] | {
20749
+ staticValue: string | number | string[] | number[] | {
19825
20750
  [key: string]: string;
19826
- } | number[] | {
20751
+ } | {
19827
20752
  [key: string]: number;
19828
20753
  };
19829
20754
  };
@@ -19873,6 +20798,14 @@ export declare type WorkerSteps = {
19873
20798
  algorithm: string;
19874
20799
  salt?: string;
19875
20800
  };
20801
+ } | {
20802
+ name: "decipher";
20803
+ params: {
20804
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
20805
+ key: string;
20806
+ iv?: string;
20807
+ inputEncoding?: "hex" | "base64";
20808
+ };
19876
20809
  }))[];
19877
20810
  };
19878
20811
  };
@@ -19947,9 +20880,9 @@ export declare type WorkerSteps = {
19947
20880
  } | {
19948
20881
  name: "fallback";
19949
20882
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
19950
- staticValue: string | number | string[] | {
20883
+ staticValue: string | number | string[] | number[] | {
19951
20884
  [key: string]: string;
19952
- } | number[] | {
20885
+ } | {
19953
20886
  [key: string]: number;
19954
20887
  };
19955
20888
  };
@@ -19999,6 +20932,14 @@ export declare type WorkerSteps = {
19999
20932
  algorithm: string;
20000
20933
  salt?: string;
20001
20934
  };
20935
+ } | {
20936
+ name: "decipher";
20937
+ params: {
20938
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
20939
+ key: string;
20940
+ iv?: string;
20941
+ inputEncoding?: "hex" | "base64";
20942
+ };
20002
20943
  }))[];
20003
20944
  };
20004
20945
  })[];
@@ -20071,9 +21012,9 @@ export declare type WorkerSteps = {
20071
21012
  } | {
20072
21013
  name: "fallback";
20073
21014
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
20074
- staticValue: string | number | string[] | {
21015
+ staticValue: string | number | string[] | number[] | {
20075
21016
  [key: string]: string;
20076
- } | number[] | {
21017
+ } | {
20077
21018
  [key: string]: number;
20078
21019
  };
20079
21020
  };
@@ -20123,6 +21064,14 @@ export declare type WorkerSteps = {
20123
21064
  algorithm: string;
20124
21065
  salt?: string;
20125
21066
  };
21067
+ } | {
21068
+ name: "decipher";
21069
+ params: {
21070
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
21071
+ key: string;
21072
+ iv?: string;
21073
+ inputEncoding?: "hex" | "base64";
21074
+ };
20126
21075
  }))[];
20127
21076
  };
20128
21077
  };
@@ -20268,6 +21217,14 @@ export declare type WorkerSteps = {
20268
21217
  minPurchaseCount?: number;
20269
21218
  }[];
20270
21219
  };
21220
+ } | {
21221
+ name: "product-exclusion";
21222
+ params: {
21223
+ exclusionDatasourceId: string;
21224
+ exclusionIdField: string;
21225
+ productIdField: string;
21226
+ mode: "inclusion" | "exclusion";
21227
+ };
20271
21228
  } | {
20272
21229
  name: "per-user";
20273
21230
  params: {};
@@ -20434,9 +21391,9 @@ export declare type ProxySteps = {
20434
21391
  } | {
20435
21392
  name: "fallback";
20436
21393
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
20437
- staticValue: string | number | string[] | {
21394
+ staticValue: string | number | string[] | number[] | {
20438
21395
  [key: string]: string;
20439
- } | number[] | {
21396
+ } | {
20440
21397
  [key: string]: number;
20441
21398
  };
20442
21399
  };
@@ -20486,6 +21443,14 @@ export declare type ProxySteps = {
20486
21443
  algorithm: string;
20487
21444
  salt?: string;
20488
21445
  };
21446
+ } | {
21447
+ name: "decipher";
21448
+ params: {
21449
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
21450
+ key: string;
21451
+ iv?: string;
21452
+ inputEncoding?: "hex" | "base64";
21453
+ };
20489
21454
  }))[];
20490
21455
  };
20491
21456
  };
@@ -20558,9 +21523,9 @@ export declare type ProxySteps = {
20558
21523
  } | {
20559
21524
  name: "fallback";
20560
21525
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
20561
- staticValue: string | number | string[] | {
21526
+ staticValue: string | number | string[] | number[] | {
20562
21527
  [key: string]: string;
20563
- } | number[] | {
21528
+ } | {
20564
21529
  [key: string]: number;
20565
21530
  };
20566
21531
  };
@@ -20610,6 +21575,14 @@ export declare type ProxySteps = {
20610
21575
  algorithm: string;
20611
21576
  salt?: string;
20612
21577
  };
21578
+ } | {
21579
+ name: "decipher";
21580
+ params: {
21581
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
21582
+ key: string;
21583
+ iv?: string;
21584
+ inputEncoding?: "hex" | "base64";
21585
+ };
20613
21586
  }))[];
20614
21587
  };
20615
21588
  };
@@ -20684,9 +21657,9 @@ export declare type ProxySteps = {
20684
21657
  } | {
20685
21658
  name: "fallback";
20686
21659
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
20687
- staticValue: string | number | string[] | {
21660
+ staticValue: string | number | string[] | number[] | {
20688
21661
  [key: string]: string;
20689
- } | number[] | {
21662
+ } | {
20690
21663
  [key: string]: number;
20691
21664
  };
20692
21665
  };
@@ -20736,6 +21709,14 @@ export declare type ProxySteps = {
20736
21709
  algorithm: string;
20737
21710
  salt?: string;
20738
21711
  };
21712
+ } | {
21713
+ name: "decipher";
21714
+ params: {
21715
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
21716
+ key: string;
21717
+ iv?: string;
21718
+ inputEncoding?: "hex" | "base64";
21719
+ };
20739
21720
  }))[];
20740
21721
  };
20741
21722
  })[];
@@ -20808,9 +21789,9 @@ export declare type ProxySteps = {
20808
21789
  } | {
20809
21790
  name: "fallback";
20810
21791
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
20811
- staticValue: string | number | string[] | {
21792
+ staticValue: string | number | string[] | number[] | {
20812
21793
  [key: string]: string;
20813
- } | number[] | {
21794
+ } | {
20814
21795
  [key: string]: number;
20815
21796
  };
20816
21797
  };
@@ -20860,6 +21841,14 @@ export declare type ProxySteps = {
20860
21841
  algorithm: string;
20861
21842
  salt?: string;
20862
21843
  };
21844
+ } | {
21845
+ name: "decipher";
21846
+ params: {
21847
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
21848
+ key: string;
21849
+ iv?: string;
21850
+ inputEncoding?: "hex" | "base64";
21851
+ };
20863
21852
  }))[];
20864
21853
  };
20865
21854
  };
@@ -20920,6 +21909,14 @@ export declare type ProxySteps = {
20920
21909
  minPurchaseCount?: number;
20921
21910
  }[];
20922
21911
  };
21912
+ } | {
21913
+ name: "product-exclusion";
21914
+ params: {
21915
+ exclusionDatasourceId: string;
21916
+ exclusionIdField: string;
21917
+ productIdField: string;
21918
+ mode: "inclusion" | "exclusion";
21919
+ };
20923
21920
  } | {
20924
21921
  name: "per-user";
20925
21922
  params: {};
@@ -21533,6 +22530,14 @@ export declare type IngesterSteps = {
21533
22530
  minPurchaseCount?: number;
21534
22531
  }[];
21535
22532
  };
22533
+ } | {
22534
+ name: "product-exclusion";
22535
+ params: {
22536
+ exclusionDatasourceId: string;
22537
+ exclusionIdField: string;
22538
+ productIdField: string;
22539
+ mode: "inclusion" | "exclusion";
22540
+ };
21536
22541
  } | {
21537
22542
  name: "per-user";
21538
22543
  params: {};
@@ -21639,9 +22644,9 @@ export declare type PubsubSteps = {
21639
22644
  } | {
21640
22645
  name: "fallback";
21641
22646
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
21642
- staticValue: string | number | string[] | {
22647
+ staticValue: string | number | string[] | number[] | {
21643
22648
  [key: string]: string;
21644
- } | number[] | {
22649
+ } | {
21645
22650
  [key: string]: number;
21646
22651
  };
21647
22652
  };
@@ -21691,6 +22696,14 @@ export declare type PubsubSteps = {
21691
22696
  algorithm: string;
21692
22697
  salt?: string;
21693
22698
  };
22699
+ } | {
22700
+ name: "decipher";
22701
+ params: {
22702
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
22703
+ key: string;
22704
+ iv?: string;
22705
+ inputEncoding?: "hex" | "base64";
22706
+ };
21694
22707
  }))[];
21695
22708
  };
21696
22709
  };
@@ -21763,9 +22776,9 @@ export declare type PubsubSteps = {
21763
22776
  } | {
21764
22777
  name: "fallback";
21765
22778
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
21766
- staticValue: string | number | string[] | {
22779
+ staticValue: string | number | string[] | number[] | {
21767
22780
  [key: string]: string;
21768
- } | number[] | {
22781
+ } | {
21769
22782
  [key: string]: number;
21770
22783
  };
21771
22784
  };
@@ -21815,6 +22828,14 @@ export declare type PubsubSteps = {
21815
22828
  algorithm: string;
21816
22829
  salt?: string;
21817
22830
  };
22831
+ } | {
22832
+ name: "decipher";
22833
+ params: {
22834
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
22835
+ key: string;
22836
+ iv?: string;
22837
+ inputEncoding?: "hex" | "base64";
22838
+ };
21818
22839
  }))[];
21819
22840
  };
21820
22841
  };
@@ -21889,9 +22910,9 @@ export declare type PubsubSteps = {
21889
22910
  } | {
21890
22911
  name: "fallback";
21891
22912
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
21892
- staticValue: string | number | string[] | {
22913
+ staticValue: string | number | string[] | number[] | {
21893
22914
  [key: string]: string;
21894
- } | number[] | {
22915
+ } | {
21895
22916
  [key: string]: number;
21896
22917
  };
21897
22918
  };
@@ -21941,6 +22962,14 @@ export declare type PubsubSteps = {
21941
22962
  algorithm: string;
21942
22963
  salt?: string;
21943
22964
  };
22965
+ } | {
22966
+ name: "decipher";
22967
+ params: {
22968
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
22969
+ key: string;
22970
+ iv?: string;
22971
+ inputEncoding?: "hex" | "base64";
22972
+ };
21944
22973
  }))[];
21945
22974
  };
21946
22975
  })[];
@@ -22013,9 +23042,9 @@ export declare type PubsubSteps = {
22013
23042
  } | {
22014
23043
  name: "fallback";
22015
23044
  params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
22016
- staticValue: string | number | string[] | {
23045
+ staticValue: string | number | string[] | number[] | {
22017
23046
  [key: string]: string;
22018
- } | number[] | {
23047
+ } | {
22019
23048
  [key: string]: number;
22020
23049
  };
22021
23050
  };
@@ -22065,6 +23094,14 @@ export declare type PubsubSteps = {
22065
23094
  algorithm: string;
22066
23095
  salt?: string;
22067
23096
  };
23097
+ } | {
23098
+ name: "decipher";
23099
+ params: {
23100
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
23101
+ key: string;
23102
+ iv?: string;
23103
+ inputEncoding?: "hex" | "base64";
23104
+ };
22068
23105
  }))[];
22069
23106
  };
22070
23107
  };
@@ -22119,6 +23156,14 @@ export declare type PubsubSteps = {
22119
23156
  minPurchaseCount?: number;
22120
23157
  }[];
22121
23158
  };
23159
+ } | {
23160
+ name: "product-exclusion";
23161
+ params: {
23162
+ exclusionDatasourceId: string;
23163
+ exclusionIdField: string;
23164
+ productIdField: string;
23165
+ mode: "inclusion" | "exclusion";
23166
+ };
22122
23167
  } | {
22123
23168
  name: "per-user";
22124
23169
  params: {};
@@ -22188,6 +23233,14 @@ export declare type PushSteps = {
22188
23233
  minPurchaseCount?: number;
22189
23234
  }[];
22190
23235
  };
23236
+ } | {
23237
+ name: "product-exclusion";
23238
+ params: {
23239
+ exclusionDatasourceId: string;
23240
+ exclusionIdField: string;
23241
+ productIdField: string;
23242
+ mode: "inclusion" | "exclusion";
23243
+ };
22191
23244
  } | {
22192
23245
  name: "per-user";
22193
23246
  params: {};
@@ -22213,11 +23266,12 @@ export declare type PushSteps = {
22213
23266
  destination: {
22214
23267
  type: "smtp";
22215
23268
  options: {
23269
+ date?: string | string;
23270
+ text?: string | string | Readable | AttachmentLike;
22216
23271
  url?: string;
22217
23272
  secure?: boolean;
22218
23273
  host?: string;
22219
23274
  port?: number;
22220
- date?: string | string;
22221
23275
  auth?: AuthenticationTypeCustom | AuthenticationTypeLogin | AuthenticationTypeOAuth2;
22222
23276
  authMethod?: string;
22223
23277
  cc?: string | Address | (string | Address)[];
@@ -22228,7 +23282,6 @@ export declare type PushSteps = {
22228
23282
  requireTLS?: boolean;
22229
23283
  html?: string | string | Readable | AttachmentLike;
22230
23284
  amp?: string | string | Readable | AmpAttachment;
22231
- text?: string | string | Readable | AttachmentLike;
22232
23285
  };
22233
23286
  };
22234
23287
  };