@rlvt/datasources-openapi-client 1.0.260 → 1.0.262

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.
@@ -152,7 +152,10 @@ export declare enum FieldMapType {
152
152
  WORKFLOW_VERSION_ID = "workflow_version_id",
153
153
  WORKFLOW_USER = "workflow_user",
154
154
  WORKFLOW_ONSITE_USER = "workflow_onsite_user",
155
- WORKFLOW_EVENT_MODE = "workflow_event_mode"
155
+ WORKFLOW_EVENT_MODE = "workflow_event_mode",
156
+ TRANSACTION_ID = "transaction_id",
157
+ TRANSACTION_SOURCE = "transaction_source",
158
+ TRANSACTION_METADATA = "transaction_metadata"
156
159
  }
157
160
  export declare type Condition_Without_Path_Operator = {
158
161
  path: string;
@@ -173,6 +176,10 @@ export declare type Condition = {
173
176
  operator: "=" | "!=" | ">=" | "<=";
174
177
  value: string | number | (false) | (true);
175
178
  };
179
+ export declare type Condition_Without_Value_Operator = {
180
+ value: string | number | (false) | (true);
181
+ operator: "=" | "!=" | ">=" | "<=";
182
+ };
176
183
  export declare enum FieldSource {
177
184
  USER = "user",
178
185
  USER_STATIC = "user_static",
@@ -282,6 +289,20 @@ export declare type PinotFieldMap = {
282
289
  params: {
283
290
  separator: string;
284
291
  };
292
+ } | {
293
+ name: "case";
294
+ params: {
295
+ cases: {
296
+ conditions: Condition_Without_Value_Operator[];
297
+ value: string;
298
+ }[];
299
+ };
300
+ } | {
301
+ name: "hash";
302
+ params: {
303
+ algorithm: string;
304
+ salt?: string;
305
+ };
285
306
  }))[];
286
307
  source?: FieldSource;
287
308
  ignoreIfMissing?: boolean;
@@ -427,6 +448,20 @@ export declare type FieldMap = {
427
448
  params: {
428
449
  separator: string;
429
450
  };
451
+ } | {
452
+ name: "case";
453
+ params: {
454
+ cases: {
455
+ conditions: Condition_Without_Value_Operator[];
456
+ value: string;
457
+ }[];
458
+ };
459
+ } | {
460
+ name: "hash";
461
+ params: {
462
+ algorithm: string;
463
+ salt?: string;
464
+ };
430
465
  }))[];
431
466
  source?: FieldSource;
432
467
  ignoreIfMissing?: boolean;
@@ -462,7 +497,8 @@ export declare enum DatasourceAnalyticsSubType {
462
497
  GOOGLE_TAG_MANAGER = "google_tag_manager",
463
498
  SHOPIFY = "shopify",
464
499
  WORKFLOW_EVENTS = "workflow_events",
465
- USER = "user"
500
+ USER = "user",
501
+ PURCHASES = "purchases"
466
502
  }
467
503
  export declare enum StepName {
468
504
  CONFIGURE_NAME = "configure_name",
@@ -553,6 +589,9 @@ export declare type _Without_ = {
553
589
  purchaseTimestampField: string;
554
590
  purchaseClientField: string;
555
591
  };
592
+ } | {
593
+ name: "per-user";
594
+ params: {};
556
595
  }) & readonlyP;
557
596
  };
558
597
  version: {
@@ -565,6 +604,9 @@ export declare type _Without_ = {
565
604
  } | {
566
605
  name: "location";
567
606
  subtype: DatasourceLocationSubType;
607
+ } | {
608
+ name: "analytics";
609
+ subtype: "purchases";
568
610
  } | {
569
611
  name: "crm";
570
612
  subtype: "user";
@@ -638,6 +680,15 @@ export declare type _Without_ = {
638
680
  };
639
681
  detectMissingFields?: boolean;
640
682
  maximumEntries?: number;
683
+ pullOptions?: {
684
+ type: "override_previous_data";
685
+ options: {};
686
+ } | {
687
+ type: "keep_previous_data";
688
+ options: {
689
+ primaryKey?: string;
690
+ };
691
+ };
641
692
  };
642
693
  } | {
643
694
  datasource: {
@@ -689,6 +740,9 @@ export declare type _Without_ = {
689
740
  purchaseTimestampField: string;
690
741
  purchaseClientField: string;
691
742
  };
743
+ } | {
744
+ name: "per-user";
745
+ params: {};
692
746
  }) & readonlyP;
693
747
  };
694
748
  version: {
@@ -768,6 +822,9 @@ export declare type _Without_ = {
768
822
  purchaseTimestampField: string;
769
823
  purchaseClientField: string;
770
824
  };
825
+ } | {
826
+ name: "per-user";
827
+ params: {};
771
828
  }) & readonlyP;
772
829
  storageOptions?: {
773
830
  partitionCount: number;
@@ -1083,6 +1140,9 @@ export declare type __id_string_companyId_string_or_null_resourceGroupIds_string
1083
1140
  purchaseTimestampField: string;
1084
1141
  purchaseClientField: string;
1085
1142
  };
1143
+ } | {
1144
+ name: "per-user";
1145
+ params: {};
1086
1146
  }) & readonlyP;
1087
1147
  storageOptions: {
1088
1148
  partitionCount: number;
@@ -1793,6 +1853,20 @@ export declare type SourceInput = {
1793
1853
  params: {
1794
1854
  separator: string;
1795
1855
  };
1856
+ } | {
1857
+ name: "case";
1858
+ params: {
1859
+ cases: {
1860
+ conditions: Condition_Without_Value_Operator[];
1861
+ value: string;
1862
+ }[];
1863
+ };
1864
+ } | {
1865
+ name: "hash";
1866
+ params: {
1867
+ algorithm: string;
1868
+ salt?: string;
1869
+ };
1796
1870
  }))[];
1797
1871
  };
1798
1872
  };
@@ -1801,7 +1875,7 @@ export declare type SampleObj = {
1801
1875
  [key: string]: AnyValue;
1802
1876
  };
1803
1877
  };
1804
- export declare type WorkerDatasourceVersion__Without_Id_Mode_State_Type_FieldsMap_Health_ApiOptions_Sample_TextEncoding_Format_AggregationPipeline_Refresh_DetectMissingFields_MaximumEntries_PendingSteps_AvailableFieldsTypes_RequiredFieldsTypes_UniqueFieldsTypes_ImportantFieldsTypes_BatchSize_RowBlacklist_PullOptions_SourceFetchStates_SftpPublicKey_Sources_ = {
1878
+ export declare type WorkerDatasourceVersion__Without_Id_Mode_State_Type_FieldsMap_Health_ApiOptions_Sample_TextEncoding_Format_AggregationPipeline_Refresh_DetectMissingFields_MaximumEntries_PullOptions_PendingSteps_AvailableFieldsTypes_RequiredFieldsTypes_UniqueFieldsTypes_ImportantFieldsTypes_BatchSize_RowBlacklist_SourceFetchStates_SftpPublicKey_Sources_ = {
1805
1879
  readonly id: (string) & readonlyP;
1806
1880
  mode: "worker";
1807
1881
  readonly state: (DatasourceVersionState) & readonlyP;
@@ -1814,6 +1888,9 @@ export declare type WorkerDatasourceVersion__Without_Id_Mode_State_Type_FieldsMa
1814
1888
  } | {
1815
1889
  name: "location";
1816
1890
  subtype: DatasourceLocationSubType;
1891
+ } | {
1892
+ name: "analytics";
1893
+ subtype: "purchases";
1817
1894
  } | {
1818
1895
  name: "crm";
1819
1896
  subtype: "user";
@@ -1886,6 +1963,15 @@ export declare type WorkerDatasourceVersion__Without_Id_Mode_State_Type_FieldsMa
1886
1963
  };
1887
1964
  detectMissingFields: boolean;
1888
1965
  maximumEntries?: number;
1966
+ pullOptions: {
1967
+ type: "override_previous_data";
1968
+ options: {};
1969
+ } | {
1970
+ type: "keep_previous_data";
1971
+ options: {
1972
+ primaryKey?: string;
1973
+ };
1974
+ };
1889
1975
  readonly pendingSteps?: (({
1890
1976
  name: "configure_name";
1891
1977
  } | {
@@ -1978,15 +2064,6 @@ export declare type WorkerDatasourceVersion__Without_Id_Mode_State_Type_FieldsMa
1978
2064
  rowBlacklist?: {
1979
2065
  [key: string]: (string | number)[];
1980
2066
  };
1981
- pullOptions: {
1982
- type: "override_previous_data";
1983
- options: {};
1984
- } | {
1985
- type: "keep_previous_data";
1986
- options: {
1987
- primaryKey?: string;
1988
- };
1989
- };
1990
2067
  sourceFetchStates: {
1991
2068
  [key: string]: {
1992
2069
  [key: string]: AnyValue;
@@ -2053,11 +2130,14 @@ export declare type __id_string_companyId_string_or_null_resourceGroupIds_string
2053
2130
  purchaseTimestampField: string;
2054
2131
  purchaseClientField: string;
2055
2132
  };
2133
+ } | {
2134
+ name: "per-user";
2135
+ params: {};
2056
2136
  }) & readonlyP;
2057
- versions: ((WorkerDatasourceVersion__Without_Id_Mode_State_Type_FieldsMap_Health_ApiOptions_Sample_TextEncoding_Format_AggregationPipeline_Refresh_DetectMissingFields_MaximumEntries_PendingSteps_AvailableFieldsTypes_RequiredFieldsTypes_UniqueFieldsTypes_ImportantFieldsTypes_BatchSize_RowBlacklist_PullOptions_SourceFetchStates_SftpPublicKey_Sources_ & {
2137
+ versions: ((WorkerDatasourceVersion__Without_Id_Mode_State_Type_FieldsMap_Health_ApiOptions_Sample_TextEncoding_Format_AggregationPipeline_Refresh_DetectMissingFields_MaximumEntries_PullOptions_PendingSteps_AvailableFieldsTypes_RequiredFieldsTypes_UniqueFieldsTypes_ImportantFieldsTypes_BatchSize_RowBlacklist_SourceFetchStates_SftpPublicKey_Sources_ & {
2058
2138
  fileName: string;
2059
2139
  isAPI: false;
2060
- }) | (WorkerDatasourceVersion__Without_Id_Mode_State_Type_FieldsMap_Health_ApiOptions_Sample_TextEncoding_Format_AggregationPipeline_Refresh_DetectMissingFields_MaximumEntries_PendingSteps_AvailableFieldsTypes_RequiredFieldsTypes_UniqueFieldsTypes_ImportantFieldsTypes_BatchSize_RowBlacklist_PullOptions_SourceFetchStates_SftpPublicKey_Sources_ & {
2140
+ }) | (WorkerDatasourceVersion__Without_Id_Mode_State_Type_FieldsMap_Health_ApiOptions_Sample_TextEncoding_Format_AggregationPipeline_Refresh_DetectMissingFields_MaximumEntries_PullOptions_PendingSteps_AvailableFieldsTypes_RequiredFieldsTypes_UniqueFieldsTypes_ImportantFieldsTypes_BatchSize_RowBlacklist_SourceFetchStates_SftpPublicKey_Sources_ & {
2061
2141
  url: string;
2062
2142
  urls: string[];
2063
2143
  isAPI: true;
@@ -2274,6 +2354,9 @@ export declare type __id_string_companyId_string_or_null_resourceGroupIds_string
2274
2354
  purchaseTimestampField: string;
2275
2355
  purchaseClientField: string;
2276
2356
  };
2357
+ } | {
2358
+ name: "per-user";
2359
+ params: {};
2277
2360
  }) & readonlyP;
2278
2361
  versions: (ProxyDatasourceVersion__Without_Id_Mode_State_Type_FieldsMap_ApiOptions_Sample_TextEncoding_Urls_Format_Refresh_Url_PendingSteps_AvailableFieldsTypes_RequiredFieldsTypes_UniqueFieldsTypes_ImportantFieldsTypes_Sources_ & {
2279
2362
  readonly health: ("OK" | "WARNING" | "ERROR") & readonlyP;
@@ -2383,7 +2466,7 @@ export declare type Partial_Pick_PullDatasourceVersion_sample_or_textEncoding_or
2383
2466
  textEncoding?: string;
2384
2467
  format?: Format;
2385
2468
  };
2386
- export declare type Partial_Pick_WorkerDatasourceVersion_aggregationPipeline_or_refresh_or_detectMissingFields_or_batchSize_or_rowBlacklist_or_pullOptions_or_sftpPublicKey_ = {
2469
+ export declare type Partial_Pick_WorkerDatasourceVersion_aggregationPipeline_or_refresh_or_detectMissingFields_or_pullOptions_or_batchSize_or_rowBlacklist_or_sftpPublicKey_ = {
2387
2470
  aggregationPipeline?: ({
2388
2471
  name: "unwind";
2389
2472
  params: {
@@ -2437,10 +2520,6 @@ export declare type Partial_Pick_WorkerDatasourceVersion_aggregationPipeline_or_
2437
2520
  datasourceIds: string[];
2438
2521
  };
2439
2522
  detectMissingFields?: boolean;
2440
- batchSize?: number;
2441
- rowBlacklist?: {
2442
- [key: string]: (string | number)[];
2443
- };
2444
2523
  pullOptions?: {
2445
2524
  type: "override_previous_data";
2446
2525
  options: {};
@@ -2450,6 +2529,10 @@ export declare type Partial_Pick_WorkerDatasourceVersion_aggregationPipeline_or_
2450
2529
  primaryKey?: string;
2451
2530
  };
2452
2531
  };
2532
+ batchSize?: number;
2533
+ rowBlacklist?: {
2534
+ [key: string]: (string | number)[];
2535
+ };
2453
2536
  sftpPublicKey?: string;
2454
2537
  };
2455
2538
  export declare type ProxyApiOptions = _oauth_string_or_undefined_method_GET_or_PATCH_or_POST_or_PUT_or_undefined_body_string_or_undefined_headers___x_string__string___or_undefined_query___x_string__string___or_undefined_timeout_number_or_undefined_variables_VariableDefinition_Array_or_undefined___Without_;
@@ -2612,6 +2695,20 @@ export declare type CurrentSteps = {
2612
2695
  params: {
2613
2696
  separator: string;
2614
2697
  };
2698
+ } | {
2699
+ name: "case";
2700
+ params: {
2701
+ cases: {
2702
+ conditions: Condition_Without_Value_Operator[];
2703
+ value: string;
2704
+ }[];
2705
+ };
2706
+ } | {
2707
+ name: "hash";
2708
+ params: {
2709
+ algorithm: string;
2710
+ salt?: string;
2711
+ };
2615
2712
  }))[];
2616
2713
  };
2617
2714
  })[];
@@ -2723,6 +2820,20 @@ export declare type CurrentSteps = {
2723
2820
  params: {
2724
2821
  separator: string;
2725
2822
  };
2823
+ } | {
2824
+ name: "case";
2825
+ params: {
2826
+ cases: {
2827
+ conditions: Condition_Without_Value_Operator[];
2828
+ value: string;
2829
+ }[];
2830
+ };
2831
+ } | {
2832
+ name: "hash";
2833
+ params: {
2834
+ algorithm: string;
2835
+ salt?: string;
2836
+ };
2726
2837
  }))[];
2727
2838
  source?: FieldSource;
2728
2839
  ignoreIfMissing?: boolean;
@@ -2838,6 +2949,20 @@ export declare type CurrentSteps = {
2838
2949
  params: {
2839
2950
  separator: string;
2840
2951
  };
2952
+ } | {
2953
+ name: "case";
2954
+ params: {
2955
+ cases: {
2956
+ conditions: Condition_Without_Value_Operator[];
2957
+ value: string;
2958
+ }[];
2959
+ };
2960
+ } | {
2961
+ name: "hash";
2962
+ params: {
2963
+ algorithm: string;
2964
+ salt?: string;
2965
+ };
2841
2966
  }))[];
2842
2967
  };
2843
2968
  };
@@ -2946,10 +3071,6 @@ export declare type CurrentSteps = {
2946
3071
  datasourceIds: string[];
2947
3072
  };
2948
3073
  detectMissingFields: boolean;
2949
- batchSize: number;
2950
- rowBlacklist?: {
2951
- [key: string]: (string | number)[];
2952
- };
2953
3074
  pullOptions: {
2954
3075
  type: "override_previous_data";
2955
3076
  options: {};
@@ -2959,6 +3080,10 @@ export declare type CurrentSteps = {
2959
3080
  primaryKey?: string;
2960
3081
  };
2961
3082
  };
3083
+ batchSize: number;
3084
+ rowBlacklist?: {
3085
+ [key: string]: (string | number)[];
3086
+ };
2962
3087
  sftpPublicKey?: string;
2963
3088
  };
2964
3089
  }) | ({
@@ -3011,6 +3136,9 @@ export declare type CurrentSteps = {
3011
3136
  purchaseTimestampField: string;
3012
3137
  purchaseClientField: string;
3013
3138
  };
3139
+ } | {
3140
+ name: "per-user";
3141
+ params: {};
3014
3142
  };
3015
3143
  }) | ({
3016
3144
  name: "validate";
@@ -3242,6 +3370,20 @@ export declare type CurrentSteps = {
3242
3370
  params: {
3243
3371
  separator: string;
3244
3372
  };
3373
+ } | {
3374
+ name: "case";
3375
+ params: {
3376
+ cases: {
3377
+ conditions: Condition_Without_Value_Operator[];
3378
+ value: string;
3379
+ }[];
3380
+ };
3381
+ } | {
3382
+ name: "hash";
3383
+ params: {
3384
+ algorithm: string;
3385
+ salt?: string;
3386
+ };
3245
3387
  }))[];
3246
3388
  };
3247
3389
  })[];
@@ -3353,6 +3495,20 @@ export declare type CurrentSteps = {
3353
3495
  params: {
3354
3496
  separator: string;
3355
3497
  };
3498
+ } | {
3499
+ name: "case";
3500
+ params: {
3501
+ cases: {
3502
+ conditions: Condition_Without_Value_Operator[];
3503
+ value: string;
3504
+ }[];
3505
+ };
3506
+ } | {
3507
+ name: "hash";
3508
+ params: {
3509
+ algorithm: string;
3510
+ salt?: string;
3511
+ };
3356
3512
  }))[];
3357
3513
  source?: FieldSource;
3358
3514
  ignoreIfMissing?: boolean;
@@ -3468,6 +3624,20 @@ export declare type CurrentSteps = {
3468
3624
  params: {
3469
3625
  separator: string;
3470
3626
  };
3627
+ } | {
3628
+ name: "case";
3629
+ params: {
3630
+ cases: {
3631
+ conditions: Condition_Without_Value_Operator[];
3632
+ value: string;
3633
+ }[];
3634
+ };
3635
+ } | {
3636
+ name: "hash";
3637
+ params: {
3638
+ algorithm: string;
3639
+ salt?: string;
3640
+ };
3471
3641
  }))[];
3472
3642
  };
3473
3643
  };
@@ -3554,6 +3724,9 @@ export declare type CurrentSteps = {
3554
3724
  purchaseTimestampField: string;
3555
3725
  purchaseClientField: string;
3556
3726
  };
3727
+ } | {
3728
+ name: "per-user";
3729
+ params: {};
3557
3730
  };
3558
3731
  }) | ({
3559
3732
  name: "validate";
@@ -3679,6 +3852,20 @@ export declare type CurrentSteps = {
3679
3852
  params: {
3680
3853
  separator: string;
3681
3854
  };
3855
+ } | {
3856
+ name: "case";
3857
+ params: {
3858
+ cases: {
3859
+ conditions: Condition_Without_Value_Operator[];
3860
+ value: string;
3861
+ }[];
3862
+ };
3863
+ } | {
3864
+ name: "hash";
3865
+ params: {
3866
+ algorithm: string;
3867
+ salt?: string;
3868
+ };
3682
3869
  }))[];
3683
3870
  source?: FieldSource;
3684
3871
  ignoreIfMissing?: boolean;
@@ -3737,6 +3924,9 @@ export declare type CurrentSteps = {
3737
3924
  purchaseTimestampField: string;
3738
3925
  purchaseClientField: string;
3739
3926
  };
3927
+ } | {
3928
+ name: "per-user";
3929
+ params: {};
3740
3930
  };
3741
3931
  }) | ({
3742
3932
  name: "validate";
@@ -3904,6 +4094,20 @@ export declare type CurrentSteps = {
3904
4094
  params: {
3905
4095
  separator: string;
3906
4096
  };
4097
+ } | {
4098
+ name: "case";
4099
+ params: {
4100
+ cases: {
4101
+ conditions: Condition_Without_Value_Operator[];
4102
+ value: string;
4103
+ }[];
4104
+ };
4105
+ } | {
4106
+ name: "hash";
4107
+ params: {
4108
+ algorithm: string;
4109
+ salt?: string;
4110
+ };
3907
4111
  }))[];
3908
4112
  };
3909
4113
  })[];
@@ -4015,6 +4219,20 @@ export declare type CurrentSteps = {
4015
4219
  params: {
4016
4220
  separator: string;
4017
4221
  };
4222
+ } | {
4223
+ name: "case";
4224
+ params: {
4225
+ cases: {
4226
+ conditions: Condition_Without_Value_Operator[];
4227
+ value: string;
4228
+ }[];
4229
+ };
4230
+ } | {
4231
+ name: "hash";
4232
+ params: {
4233
+ algorithm: string;
4234
+ salt?: string;
4235
+ };
4018
4236
  }))[];
4019
4237
  source?: FieldSource;
4020
4238
  ignoreIfMissing?: boolean;
@@ -4130,6 +4348,20 @@ export declare type CurrentSteps = {
4130
4348
  params: {
4131
4349
  separator: string;
4132
4350
  };
4351
+ } | {
4352
+ name: "case";
4353
+ params: {
4354
+ cases: {
4355
+ conditions: Condition_Without_Value_Operator[];
4356
+ value: string;
4357
+ }[];
4358
+ };
4359
+ } | {
4360
+ name: "hash";
4361
+ params: {
4362
+ algorithm: string;
4363
+ salt?: string;
4364
+ };
4133
4365
  }))[];
4134
4366
  };
4135
4367
  };
@@ -4238,10 +4470,6 @@ export declare type CurrentSteps = {
4238
4470
  datasourceIds: string[];
4239
4471
  };
4240
4472
  detectMissingFields: boolean;
4241
- batchSize: number;
4242
- rowBlacklist?: {
4243
- [key: string]: (string | number)[];
4244
- };
4245
4473
  pullOptions: {
4246
4474
  type: "override_previous_data";
4247
4475
  options: {};
@@ -4251,6 +4479,10 @@ export declare type CurrentSteps = {
4251
4479
  primaryKey?: string;
4252
4480
  };
4253
4481
  };
4482
+ batchSize: number;
4483
+ rowBlacklist?: {
4484
+ [key: string]: (string | number)[];
4485
+ };
4254
4486
  sftpPublicKey?: string;
4255
4487
  };
4256
4488
  }) | ({
@@ -4303,6 +4535,9 @@ export declare type CurrentSteps = {
4303
4535
  purchaseTimestampField: string;
4304
4536
  purchaseClientField: string;
4305
4537
  };
4538
+ } | {
4539
+ name: "per-user";
4540
+ params: {};
4306
4541
  };
4307
4542
  }) | ({
4308
4543
  name: "validate";
@@ -4534,6 +4769,20 @@ export declare type CurrentSteps = {
4534
4769
  params: {
4535
4770
  separator: string;
4536
4771
  };
4772
+ } | {
4773
+ name: "case";
4774
+ params: {
4775
+ cases: {
4776
+ conditions: Condition_Without_Value_Operator[];
4777
+ value: string;
4778
+ }[];
4779
+ };
4780
+ } | {
4781
+ name: "hash";
4782
+ params: {
4783
+ algorithm: string;
4784
+ salt?: string;
4785
+ };
4537
4786
  }))[];
4538
4787
  };
4539
4788
  })[];
@@ -4645,6 +4894,20 @@ export declare type CurrentSteps = {
4645
4894
  params: {
4646
4895
  separator: string;
4647
4896
  };
4897
+ } | {
4898
+ name: "case";
4899
+ params: {
4900
+ cases: {
4901
+ conditions: Condition_Without_Value_Operator[];
4902
+ value: string;
4903
+ }[];
4904
+ };
4905
+ } | {
4906
+ name: "hash";
4907
+ params: {
4908
+ algorithm: string;
4909
+ salt?: string;
4910
+ };
4648
4911
  }))[];
4649
4912
  source?: FieldSource;
4650
4913
  ignoreIfMissing?: boolean;
@@ -4760,6 +5023,20 @@ export declare type CurrentSteps = {
4760
5023
  params: {
4761
5024
  separator: string;
4762
5025
  };
5026
+ } | {
5027
+ name: "case";
5028
+ params: {
5029
+ cases: {
5030
+ conditions: Condition_Without_Value_Operator[];
5031
+ value: string;
5032
+ }[];
5033
+ };
5034
+ } | {
5035
+ name: "hash";
5036
+ params: {
5037
+ algorithm: string;
5038
+ salt?: string;
5039
+ };
4763
5040
  }))[];
4764
5041
  };
4765
5042
  };
@@ -4846,6 +5123,9 @@ export declare type CurrentSteps = {
4846
5123
  purchaseTimestampField: string;
4847
5124
  purchaseClientField: string;
4848
5125
  };
5126
+ } | {
5127
+ name: "per-user";
5128
+ params: {};
4849
5129
  };
4850
5130
  }) | ({
4851
5131
  name: "validate";
@@ -4971,6 +5251,20 @@ export declare type CurrentSteps = {
4971
5251
  params: {
4972
5252
  separator: string;
4973
5253
  };
5254
+ } | {
5255
+ name: "case";
5256
+ params: {
5257
+ cases: {
5258
+ conditions: Condition_Without_Value_Operator[];
5259
+ value: string;
5260
+ }[];
5261
+ };
5262
+ } | {
5263
+ name: "hash";
5264
+ params: {
5265
+ algorithm: string;
5266
+ salt?: string;
5267
+ };
4974
5268
  }))[];
4975
5269
  source?: FieldSource;
4976
5270
  ignoreIfMissing?: boolean;
@@ -5029,6 +5323,9 @@ export declare type CurrentSteps = {
5029
5323
  purchaseTimestampField: string;
5030
5324
  purchaseClientField: string;
5031
5325
  };
5326
+ } | {
5327
+ name: "per-user";
5328
+ params: {};
5032
5329
  };
5033
5330
  }) | ({
5034
5331
  name: "validate";
@@ -5196,6 +5493,20 @@ export declare type CurrentSteps = {
5196
5493
  params: {
5197
5494
  separator: string;
5198
5495
  };
5496
+ } | {
5497
+ name: "case";
5498
+ params: {
5499
+ cases: {
5500
+ conditions: Condition_Without_Value_Operator[];
5501
+ value: string;
5502
+ }[];
5503
+ };
5504
+ } | {
5505
+ name: "hash";
5506
+ params: {
5507
+ algorithm: string;
5508
+ salt?: string;
5509
+ };
5199
5510
  }))[];
5200
5511
  };
5201
5512
  })[];
@@ -5307,6 +5618,20 @@ export declare type CurrentSteps = {
5307
5618
  params: {
5308
5619
  separator: string;
5309
5620
  };
5621
+ } | {
5622
+ name: "case";
5623
+ params: {
5624
+ cases: {
5625
+ conditions: Condition_Without_Value_Operator[];
5626
+ value: string;
5627
+ }[];
5628
+ };
5629
+ } | {
5630
+ name: "hash";
5631
+ params: {
5632
+ algorithm: string;
5633
+ salt?: string;
5634
+ };
5310
5635
  }))[];
5311
5636
  source?: FieldSource;
5312
5637
  ignoreIfMissing?: boolean;
@@ -5422,6 +5747,20 @@ export declare type CurrentSteps = {
5422
5747
  params: {
5423
5748
  separator: string;
5424
5749
  };
5750
+ } | {
5751
+ name: "case";
5752
+ params: {
5753
+ cases: {
5754
+ conditions: Condition_Without_Value_Operator[];
5755
+ value: string;
5756
+ }[];
5757
+ };
5758
+ } | {
5759
+ name: "hash";
5760
+ params: {
5761
+ algorithm: string;
5762
+ salt?: string;
5763
+ };
5425
5764
  }))[];
5426
5765
  };
5427
5766
  };
@@ -5530,10 +5869,6 @@ export declare type CurrentSteps = {
5530
5869
  datasourceIds: string[];
5531
5870
  };
5532
5871
  detectMissingFields: boolean;
5533
- batchSize: number;
5534
- rowBlacklist?: {
5535
- [key: string]: (string | number)[];
5536
- };
5537
5872
  pullOptions: {
5538
5873
  type: "override_previous_data";
5539
5874
  options: {};
@@ -5543,6 +5878,10 @@ export declare type CurrentSteps = {
5543
5878
  primaryKey?: string;
5544
5879
  };
5545
5880
  };
5881
+ batchSize: number;
5882
+ rowBlacklist?: {
5883
+ [key: string]: (string | number)[];
5884
+ };
5546
5885
  sftpPublicKey?: string;
5547
5886
  };
5548
5887
  }) | ({
@@ -5595,6 +5934,9 @@ export declare type CurrentSteps = {
5595
5934
  purchaseTimestampField: string;
5596
5935
  purchaseClientField: string;
5597
5936
  };
5937
+ } | {
5938
+ name: "per-user";
5939
+ params: {};
5598
5940
  };
5599
5941
  }) | ({
5600
5942
  name: "validate";
@@ -5826,6 +6168,20 @@ export declare type CurrentSteps = {
5826
6168
  params: {
5827
6169
  separator: string;
5828
6170
  };
6171
+ } | {
6172
+ name: "case";
6173
+ params: {
6174
+ cases: {
6175
+ conditions: Condition_Without_Value_Operator[];
6176
+ value: string;
6177
+ }[];
6178
+ };
6179
+ } | {
6180
+ name: "hash";
6181
+ params: {
6182
+ algorithm: string;
6183
+ salt?: string;
6184
+ };
5829
6185
  }))[];
5830
6186
  };
5831
6187
  })[];
@@ -5937,6 +6293,20 @@ export declare type CurrentSteps = {
5937
6293
  params: {
5938
6294
  separator: string;
5939
6295
  };
6296
+ } | {
6297
+ name: "case";
6298
+ params: {
6299
+ cases: {
6300
+ conditions: Condition_Without_Value_Operator[];
6301
+ value: string;
6302
+ }[];
6303
+ };
6304
+ } | {
6305
+ name: "hash";
6306
+ params: {
6307
+ algorithm: string;
6308
+ salt?: string;
6309
+ };
5940
6310
  }))[];
5941
6311
  source?: FieldSource;
5942
6312
  ignoreIfMissing?: boolean;
@@ -6052,6 +6422,20 @@ export declare type CurrentSteps = {
6052
6422
  params: {
6053
6423
  separator: string;
6054
6424
  };
6425
+ } | {
6426
+ name: "case";
6427
+ params: {
6428
+ cases: {
6429
+ conditions: Condition_Without_Value_Operator[];
6430
+ value: string;
6431
+ }[];
6432
+ };
6433
+ } | {
6434
+ name: "hash";
6435
+ params: {
6436
+ algorithm: string;
6437
+ salt?: string;
6438
+ };
6055
6439
  }))[];
6056
6440
  };
6057
6441
  };
@@ -6138,6 +6522,9 @@ export declare type CurrentSteps = {
6138
6522
  purchaseTimestampField: string;
6139
6523
  purchaseClientField: string;
6140
6524
  };
6525
+ } | {
6526
+ name: "per-user";
6527
+ params: {};
6141
6528
  };
6142
6529
  }) | ({
6143
6530
  name: "validate";
@@ -6263,6 +6650,20 @@ export declare type CurrentSteps = {
6263
6650
  params: {
6264
6651
  separator: string;
6265
6652
  };
6653
+ } | {
6654
+ name: "case";
6655
+ params: {
6656
+ cases: {
6657
+ conditions: Condition_Without_Value_Operator[];
6658
+ value: string;
6659
+ }[];
6660
+ };
6661
+ } | {
6662
+ name: "hash";
6663
+ params: {
6664
+ algorithm: string;
6665
+ salt?: string;
6666
+ };
6266
6667
  }))[];
6267
6668
  source?: FieldSource;
6268
6669
  ignoreIfMissing?: boolean;
@@ -6321,6 +6722,9 @@ export declare type CurrentSteps = {
6321
6722
  purchaseTimestampField: string;
6322
6723
  purchaseClientField: string;
6323
6724
  };
6725
+ } | {
6726
+ name: "per-user";
6727
+ params: {};
6324
6728
  };
6325
6729
  }) | ({
6326
6730
  name: "validate";
@@ -6488,6 +6892,20 @@ export declare type CurrentSteps = {
6488
6892
  params: {
6489
6893
  separator: string;
6490
6894
  };
6895
+ } | {
6896
+ name: "case";
6897
+ params: {
6898
+ cases: {
6899
+ conditions: Condition_Without_Value_Operator[];
6900
+ value: string;
6901
+ }[];
6902
+ };
6903
+ } | {
6904
+ name: "hash";
6905
+ params: {
6906
+ algorithm: string;
6907
+ salt?: string;
6908
+ };
6491
6909
  }))[];
6492
6910
  };
6493
6911
  })[];
@@ -6599,6 +7017,20 @@ export declare type CurrentSteps = {
6599
7017
  params: {
6600
7018
  separator: string;
6601
7019
  };
7020
+ } | {
7021
+ name: "case";
7022
+ params: {
7023
+ cases: {
7024
+ conditions: Condition_Without_Value_Operator[];
7025
+ value: string;
7026
+ }[];
7027
+ };
7028
+ } | {
7029
+ name: "hash";
7030
+ params: {
7031
+ algorithm: string;
7032
+ salt?: string;
7033
+ };
6602
7034
  }))[];
6603
7035
  source?: FieldSource;
6604
7036
  ignoreIfMissing?: boolean;
@@ -6714,6 +7146,20 @@ export declare type CurrentSteps = {
6714
7146
  params: {
6715
7147
  separator: string;
6716
7148
  };
7149
+ } | {
7150
+ name: "case";
7151
+ params: {
7152
+ cases: {
7153
+ conditions: Condition_Without_Value_Operator[];
7154
+ value: string;
7155
+ }[];
7156
+ };
7157
+ } | {
7158
+ name: "hash";
7159
+ params: {
7160
+ algorithm: string;
7161
+ salt?: string;
7162
+ };
6717
7163
  }))[];
6718
7164
  };
6719
7165
  };
@@ -6822,10 +7268,6 @@ export declare type CurrentSteps = {
6822
7268
  datasourceIds: string[];
6823
7269
  };
6824
7270
  detectMissingFields: boolean;
6825
- batchSize: number;
6826
- rowBlacklist?: {
6827
- [key: string]: (string | number)[];
6828
- };
6829
7271
  pullOptions: {
6830
7272
  type: "override_previous_data";
6831
7273
  options: {};
@@ -6835,6 +7277,10 @@ export declare type CurrentSteps = {
6835
7277
  primaryKey?: string;
6836
7278
  };
6837
7279
  };
7280
+ batchSize: number;
7281
+ rowBlacklist?: {
7282
+ [key: string]: (string | number)[];
7283
+ };
6838
7284
  sftpPublicKey?: string;
6839
7285
  };
6840
7286
  }) | ({
@@ -6887,6 +7333,9 @@ export declare type CurrentSteps = {
6887
7333
  purchaseTimestampField: string;
6888
7334
  purchaseClientField: string;
6889
7335
  };
7336
+ } | {
7337
+ name: "per-user";
7338
+ params: {};
6890
7339
  };
6891
7340
  }) | ({
6892
7341
  name: "validate";
@@ -7118,6 +7567,20 @@ export declare type CurrentSteps = {
7118
7567
  params: {
7119
7568
  separator: string;
7120
7569
  };
7570
+ } | {
7571
+ name: "case";
7572
+ params: {
7573
+ cases: {
7574
+ conditions: Condition_Without_Value_Operator[];
7575
+ value: string;
7576
+ }[];
7577
+ };
7578
+ } | {
7579
+ name: "hash";
7580
+ params: {
7581
+ algorithm: string;
7582
+ salt?: string;
7583
+ };
7121
7584
  }))[];
7122
7585
  };
7123
7586
  })[];
@@ -7229,6 +7692,20 @@ export declare type CurrentSteps = {
7229
7692
  params: {
7230
7693
  separator: string;
7231
7694
  };
7695
+ } | {
7696
+ name: "case";
7697
+ params: {
7698
+ cases: {
7699
+ conditions: Condition_Without_Value_Operator[];
7700
+ value: string;
7701
+ }[];
7702
+ };
7703
+ } | {
7704
+ name: "hash";
7705
+ params: {
7706
+ algorithm: string;
7707
+ salt?: string;
7708
+ };
7232
7709
  }))[];
7233
7710
  source?: FieldSource;
7234
7711
  ignoreIfMissing?: boolean;
@@ -7344,6 +7821,20 @@ export declare type CurrentSteps = {
7344
7821
  params: {
7345
7822
  separator: string;
7346
7823
  };
7824
+ } | {
7825
+ name: "case";
7826
+ params: {
7827
+ cases: {
7828
+ conditions: Condition_Without_Value_Operator[];
7829
+ value: string;
7830
+ }[];
7831
+ };
7832
+ } | {
7833
+ name: "hash";
7834
+ params: {
7835
+ algorithm: string;
7836
+ salt?: string;
7837
+ };
7347
7838
  }))[];
7348
7839
  };
7349
7840
  };
@@ -7430,6 +7921,9 @@ export declare type CurrentSteps = {
7430
7921
  purchaseTimestampField: string;
7431
7922
  purchaseClientField: string;
7432
7923
  };
7924
+ } | {
7925
+ name: "per-user";
7926
+ params: {};
7433
7927
  };
7434
7928
  }) | ({
7435
7929
  name: "validate";
@@ -7555,6 +8049,20 @@ export declare type CurrentSteps = {
7555
8049
  params: {
7556
8050
  separator: string;
7557
8051
  };
8052
+ } | {
8053
+ name: "case";
8054
+ params: {
8055
+ cases: {
8056
+ conditions: Condition_Without_Value_Operator[];
8057
+ value: string;
8058
+ }[];
8059
+ };
8060
+ } | {
8061
+ name: "hash";
8062
+ params: {
8063
+ algorithm: string;
8064
+ salt?: string;
8065
+ };
7558
8066
  }))[];
7559
8067
  source?: FieldSource;
7560
8068
  ignoreIfMissing?: boolean;
@@ -7613,6 +8121,9 @@ export declare type CurrentSteps = {
7613
8121
  purchaseTimestampField: string;
7614
8122
  purchaseClientField: string;
7615
8123
  };
8124
+ } | {
8125
+ name: "per-user";
8126
+ params: {};
7616
8127
  };
7617
8128
  }) | ({
7618
8129
  name: "validate";
@@ -7647,7 +8158,9 @@ export declare enum FieldMapRuleName {
7647
8158
  DECRYPT = "decrypt",
7648
8159
  INTERPOLATE = "interpolate",
7649
8160
  SPLIT = "split",
7650
- CUSTOM = "custom"
8161
+ CUSTOM = "custom",
8162
+ CASE = "case",
8163
+ HASH = "hash"
7651
8164
  }
7652
8165
  export declare type DatasourceTypeName = DatasourceType;
7653
8166
  export declare type DatasourceTypeObject = {
@@ -7795,6 +8308,20 @@ export declare type WorkerSteps = {
7795
8308
  params: {
7796
8309
  separator: string;
7797
8310
  };
8311
+ } | {
8312
+ name: "case";
8313
+ params: {
8314
+ cases: {
8315
+ conditions: Condition_Without_Value_Operator[];
8316
+ value: string;
8317
+ }[];
8318
+ };
8319
+ } | {
8320
+ name: "hash";
8321
+ params: {
8322
+ algorithm: string;
8323
+ salt?: string;
8324
+ };
7798
8325
  }))[];
7799
8326
  };
7800
8327
  })[];
@@ -7899,6 +8426,20 @@ export declare type WorkerSteps = {
7899
8426
  params: {
7900
8427
  separator: string;
7901
8428
  };
8429
+ } | {
8430
+ name: "case";
8431
+ params: {
8432
+ cases: {
8433
+ conditions: Condition_Without_Value_Operator[];
8434
+ value: string;
8435
+ }[];
8436
+ };
8437
+ } | {
8438
+ name: "hash";
8439
+ params: {
8440
+ algorithm: string;
8441
+ salt?: string;
8442
+ };
7902
8443
  }))[];
7903
8444
  };
7904
8445
  });
@@ -7938,7 +8479,7 @@ export declare type WorkerSteps = {
7938
8479
  };
7939
8480
  } | {
7940
8481
  name: "patch";
7941
- payload: Partial_Pick_WorkerDatasourceVersion_aggregationPipeline_or_refresh_or_detectMissingFields_or_batchSize_or_rowBlacklist_or_pullOptions_or_sftpPublicKey_;
8482
+ payload: Partial_Pick_WorkerDatasourceVersion_aggregationPipeline_or_refresh_or_detectMissingFields_or_pullOptions_or_batchSize_or_rowBlacklist_or_sftpPublicKey_;
7942
8483
  } | {
7943
8484
  name: "configure_fetcher";
7944
8485
  payload: {
@@ -7988,6 +8529,9 @@ export declare type WorkerSteps = {
7988
8529
  purchaseTimestampField: string;
7989
8530
  purchaseClientField: string;
7990
8531
  };
8532
+ } | {
8533
+ name: "per-user";
8534
+ params: {};
7991
8535
  };
7992
8536
  } | {
7993
8537
  name: "validate";
@@ -8194,6 +8738,20 @@ export declare type ProxySteps = {
8194
8738
  params: {
8195
8739
  separator: string;
8196
8740
  };
8741
+ } | {
8742
+ name: "case";
8743
+ params: {
8744
+ cases: {
8745
+ conditions: Condition_Without_Value_Operator[];
8746
+ value: string;
8747
+ }[];
8748
+ };
8749
+ } | {
8750
+ name: "hash";
8751
+ params: {
8752
+ algorithm: string;
8753
+ salt?: string;
8754
+ };
8197
8755
  }))[];
8198
8756
  };
8199
8757
  })[];
@@ -8298,6 +8856,20 @@ export declare type ProxySteps = {
8298
8856
  params: {
8299
8857
  separator: string;
8300
8858
  };
8859
+ } | {
8860
+ name: "case";
8861
+ params: {
8862
+ cases: {
8863
+ conditions: Condition_Without_Value_Operator[];
8864
+ value: string;
8865
+ }[];
8866
+ };
8867
+ } | {
8868
+ name: "hash";
8869
+ params: {
8870
+ algorithm: string;
8871
+ salt?: string;
8872
+ };
8301
8873
  }))[];
8302
8874
  };
8303
8875
  });
@@ -8367,6 +8939,9 @@ export declare type ProxySteps = {
8367
8939
  purchaseTimestampField: string;
8368
8940
  purchaseClientField: string;
8369
8941
  };
8942
+ } | {
8943
+ name: "per-user";
8944
+ params: {};
8370
8945
  };
8371
8946
  } | {
8372
8947
  name: "validate";
@@ -8433,6 +9008,9 @@ export declare type IngesterSteps = {
8433
9008
  purchaseTimestampField: string;
8434
9009
  purchaseClientField: string;
8435
9010
  };
9011
+ } | {
9012
+ name: "per-user";
9013
+ params: {};
8436
9014
  };
8437
9015
  } | {
8438
9016
  name: "validate";