@rlvt/datasources-openapi-client 1.0.367 → 1.0.369
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/api.d.ts +6510 -1972
- package/build/api.js +17 -1
- package/build/definitions.d.ts +1526 -115
- package/build/definitions.js +24 -24
- package/package.json +1 -1
package/build/definitions.d.ts
CHANGED
|
@@ -401,6 +401,16 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
401
401
|
outputField: string;
|
|
402
402
|
};
|
|
403
403
|
}) & readonlyP;
|
|
404
|
+
storageOptions?: {
|
|
405
|
+
destinations: {
|
|
406
|
+
type: "bigquery";
|
|
407
|
+
dataset: string;
|
|
408
|
+
tableName: string;
|
|
409
|
+
deduplicateOptions?: {
|
|
410
|
+
enabled: boolean;
|
|
411
|
+
};
|
|
412
|
+
}[];
|
|
413
|
+
};
|
|
404
414
|
mode: DatasourceMode;
|
|
405
415
|
};
|
|
406
416
|
version: {
|
|
@@ -554,6 +564,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
554
564
|
type?: "csv";
|
|
555
565
|
options?: {
|
|
556
566
|
csvDelimiter?: string;
|
|
567
|
+
csvColumns?: string[];
|
|
557
568
|
};
|
|
558
569
|
} | {
|
|
559
570
|
type?: "ndjson";
|
|
@@ -652,6 +663,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
652
663
|
type?: "csv";
|
|
653
664
|
options?: {
|
|
654
665
|
csvDelimiter?: string;
|
|
666
|
+
csvColumns?: string[];
|
|
655
667
|
};
|
|
656
668
|
} | {
|
|
657
669
|
type?: "ndjson";
|
|
@@ -704,6 +716,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
704
716
|
type?: "csv";
|
|
705
717
|
options?: {
|
|
706
718
|
csvDelimiter?: string;
|
|
719
|
+
csvColumns?: string[];
|
|
707
720
|
};
|
|
708
721
|
} | {
|
|
709
722
|
type?: "ndjson";
|
|
@@ -759,6 +772,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
759
772
|
type?: "csv";
|
|
760
773
|
options?: {
|
|
761
774
|
csvDelimiter?: string;
|
|
775
|
+
csvColumns?: string[];
|
|
762
776
|
};
|
|
763
777
|
} | {
|
|
764
778
|
type?: "ndjson";
|
|
@@ -834,6 +848,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
834
848
|
type?: "csv";
|
|
835
849
|
options?: {
|
|
836
850
|
csvDelimiter?: string;
|
|
851
|
+
csvColumns?: string[];
|
|
837
852
|
};
|
|
838
853
|
} | {
|
|
839
854
|
type?: "ndjson";
|
|
@@ -884,6 +899,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
884
899
|
type?: "csv";
|
|
885
900
|
options?: {
|
|
886
901
|
csvDelimiter?: string;
|
|
902
|
+
csvColumns?: string[];
|
|
887
903
|
};
|
|
888
904
|
} | {
|
|
889
905
|
type?: "ndjson";
|
|
@@ -942,6 +958,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
942
958
|
type?: "csv";
|
|
943
959
|
options?: {
|
|
944
960
|
csvDelimiter?: string;
|
|
961
|
+
csvColumns?: string[];
|
|
945
962
|
};
|
|
946
963
|
} | {
|
|
947
964
|
type?: "ndjson";
|
|
@@ -1464,6 +1481,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
1464
1481
|
type?: "csv";
|
|
1465
1482
|
options?: {
|
|
1466
1483
|
csvDelimiter?: string;
|
|
1484
|
+
csvColumns?: string[];
|
|
1467
1485
|
};
|
|
1468
1486
|
} | {
|
|
1469
1487
|
type?: "ndjson";
|
|
@@ -1562,6 +1580,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
1562
1580
|
type?: "csv";
|
|
1563
1581
|
options?: {
|
|
1564
1582
|
csvDelimiter?: string;
|
|
1583
|
+
csvColumns?: string[];
|
|
1565
1584
|
};
|
|
1566
1585
|
} | {
|
|
1567
1586
|
type?: "ndjson";
|
|
@@ -1614,6 +1633,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
1614
1633
|
type?: "csv";
|
|
1615
1634
|
options?: {
|
|
1616
1635
|
csvDelimiter?: string;
|
|
1636
|
+
csvColumns?: string[];
|
|
1617
1637
|
};
|
|
1618
1638
|
} | {
|
|
1619
1639
|
type?: "ndjson";
|
|
@@ -1669,6 +1689,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
1669
1689
|
type?: "csv";
|
|
1670
1690
|
options?: {
|
|
1671
1691
|
csvDelimiter?: string;
|
|
1692
|
+
csvColumns?: string[];
|
|
1672
1693
|
};
|
|
1673
1694
|
} | {
|
|
1674
1695
|
type?: "ndjson";
|
|
@@ -1744,6 +1765,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
1744
1765
|
type?: "csv";
|
|
1745
1766
|
options?: {
|
|
1746
1767
|
csvDelimiter?: string;
|
|
1768
|
+
csvColumns?: string[];
|
|
1747
1769
|
};
|
|
1748
1770
|
} | {
|
|
1749
1771
|
type?: "ndjson";
|
|
@@ -1794,6 +1816,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
1794
1816
|
type?: "csv";
|
|
1795
1817
|
options?: {
|
|
1796
1818
|
csvDelimiter?: string;
|
|
1819
|
+
csvColumns?: string[];
|
|
1797
1820
|
};
|
|
1798
1821
|
} | {
|
|
1799
1822
|
type?: "ndjson";
|
|
@@ -1852,6 +1875,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
1852
1875
|
type?: "csv";
|
|
1853
1876
|
options?: {
|
|
1854
1877
|
csvDelimiter?: string;
|
|
1878
|
+
csvColumns?: string[];
|
|
1855
1879
|
};
|
|
1856
1880
|
} | {
|
|
1857
1881
|
type?: "ndjson";
|
|
@@ -2465,6 +2489,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
2465
2489
|
type?: "csv";
|
|
2466
2490
|
options?: {
|
|
2467
2491
|
csvDelimiter?: string;
|
|
2492
|
+
csvColumns?: string[];
|
|
2468
2493
|
};
|
|
2469
2494
|
} | {
|
|
2470
2495
|
type?: "ndjson";
|
|
@@ -2563,6 +2588,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
2563
2588
|
type?: "csv";
|
|
2564
2589
|
options?: {
|
|
2565
2590
|
csvDelimiter?: string;
|
|
2591
|
+
csvColumns?: string[];
|
|
2566
2592
|
};
|
|
2567
2593
|
} | {
|
|
2568
2594
|
type?: "ndjson";
|
|
@@ -2615,6 +2641,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
2615
2641
|
type?: "csv";
|
|
2616
2642
|
options?: {
|
|
2617
2643
|
csvDelimiter?: string;
|
|
2644
|
+
csvColumns?: string[];
|
|
2618
2645
|
};
|
|
2619
2646
|
} | {
|
|
2620
2647
|
type?: "ndjson";
|
|
@@ -2670,6 +2697,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
2670
2697
|
type?: "csv";
|
|
2671
2698
|
options?: {
|
|
2672
2699
|
csvDelimiter?: string;
|
|
2700
|
+
csvColumns?: string[];
|
|
2673
2701
|
};
|
|
2674
2702
|
} | {
|
|
2675
2703
|
type?: "ndjson";
|
|
@@ -2745,6 +2773,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
2745
2773
|
type?: "csv";
|
|
2746
2774
|
options?: {
|
|
2747
2775
|
csvDelimiter?: string;
|
|
2776
|
+
csvColumns?: string[];
|
|
2748
2777
|
};
|
|
2749
2778
|
} | {
|
|
2750
2779
|
type?: "ndjson";
|
|
@@ -2795,6 +2824,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
2795
2824
|
type?: "csv";
|
|
2796
2825
|
options?: {
|
|
2797
2826
|
csvDelimiter?: string;
|
|
2827
|
+
csvColumns?: string[];
|
|
2798
2828
|
};
|
|
2799
2829
|
} | {
|
|
2800
2830
|
type?: "ndjson";
|
|
@@ -2853,6 +2883,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
2853
2883
|
type?: "csv";
|
|
2854
2884
|
options?: {
|
|
2855
2885
|
csvDelimiter?: string;
|
|
2886
|
+
csvColumns?: string[];
|
|
2856
2887
|
};
|
|
2857
2888
|
} | {
|
|
2858
2889
|
type?: "ndjson";
|
|
@@ -3375,6 +3406,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
3375
3406
|
type?: "csv";
|
|
3376
3407
|
options?: {
|
|
3377
3408
|
csvDelimiter?: string;
|
|
3409
|
+
csvColumns?: string[];
|
|
3378
3410
|
};
|
|
3379
3411
|
} | {
|
|
3380
3412
|
type?: "ndjson";
|
|
@@ -3473,6 +3505,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
3473
3505
|
type?: "csv";
|
|
3474
3506
|
options?: {
|
|
3475
3507
|
csvDelimiter?: string;
|
|
3508
|
+
csvColumns?: string[];
|
|
3476
3509
|
};
|
|
3477
3510
|
} | {
|
|
3478
3511
|
type?: "ndjson";
|
|
@@ -3525,6 +3558,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
3525
3558
|
type?: "csv";
|
|
3526
3559
|
options?: {
|
|
3527
3560
|
csvDelimiter?: string;
|
|
3561
|
+
csvColumns?: string[];
|
|
3528
3562
|
};
|
|
3529
3563
|
} | {
|
|
3530
3564
|
type?: "ndjson";
|
|
@@ -3580,6 +3614,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
3580
3614
|
type?: "csv";
|
|
3581
3615
|
options?: {
|
|
3582
3616
|
csvDelimiter?: string;
|
|
3617
|
+
csvColumns?: string[];
|
|
3583
3618
|
};
|
|
3584
3619
|
} | {
|
|
3585
3620
|
type?: "ndjson";
|
|
@@ -3655,6 +3690,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
3655
3690
|
type?: "csv";
|
|
3656
3691
|
options?: {
|
|
3657
3692
|
csvDelimiter?: string;
|
|
3693
|
+
csvColumns?: string[];
|
|
3658
3694
|
};
|
|
3659
3695
|
} | {
|
|
3660
3696
|
type?: "ndjson";
|
|
@@ -3705,6 +3741,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
3705
3741
|
type?: "csv";
|
|
3706
3742
|
options?: {
|
|
3707
3743
|
csvDelimiter?: string;
|
|
3744
|
+
csvColumns?: string[];
|
|
3708
3745
|
};
|
|
3709
3746
|
} | {
|
|
3710
3747
|
type?: "ndjson";
|
|
@@ -3763,6 +3800,7 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
3763
3800
|
type?: "csv";
|
|
3764
3801
|
options?: {
|
|
3765
3802
|
csvDelimiter?: string;
|
|
3803
|
+
csvColumns?: string[];
|
|
3766
3804
|
};
|
|
3767
3805
|
} | {
|
|
3768
3806
|
type?: "ndjson";
|
|
@@ -4307,6 +4345,14 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
4307
4345
|
};
|
|
4308
4346
|
}) & readonlyP;
|
|
4309
4347
|
storageOptions?: {
|
|
4348
|
+
destinations: {
|
|
4349
|
+
type: "bigquery";
|
|
4350
|
+
dataset: string;
|
|
4351
|
+
tableName: string;
|
|
4352
|
+
deduplicateOptions?: {
|
|
4353
|
+
enabled: boolean;
|
|
4354
|
+
};
|
|
4355
|
+
}[];
|
|
4310
4356
|
partitionCount: number;
|
|
4311
4357
|
segments: {
|
|
4312
4358
|
offlineSize: number;
|
|
@@ -4318,11 +4364,6 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
4318
4364
|
value: number;
|
|
4319
4365
|
unit: "DAYS";
|
|
4320
4366
|
};
|
|
4321
|
-
destinations: {
|
|
4322
|
-
type: "bigquery";
|
|
4323
|
-
dataset: string;
|
|
4324
|
-
tableName: string;
|
|
4325
|
-
}[];
|
|
4326
4367
|
};
|
|
4327
4368
|
mode: DatasourceMode;
|
|
4328
4369
|
};
|
|
@@ -4730,6 +4771,14 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
4730
4771
|
};
|
|
4731
4772
|
}) & readonlyP;
|
|
4732
4773
|
storageOptions?: {
|
|
4774
|
+
destinations: {
|
|
4775
|
+
type: "bigquery";
|
|
4776
|
+
dataset: string;
|
|
4777
|
+
tableName: string;
|
|
4778
|
+
deduplicateOptions?: {
|
|
4779
|
+
enabled: boolean;
|
|
4780
|
+
};
|
|
4781
|
+
}[];
|
|
4733
4782
|
partitionCount: number;
|
|
4734
4783
|
segments: {
|
|
4735
4784
|
offlineSize: number;
|
|
@@ -4741,11 +4790,6 @@ export declare type Serialize_DatasourceTemplate = {
|
|
|
4741
4790
|
value: number;
|
|
4742
4791
|
unit: "DAYS";
|
|
4743
4792
|
};
|
|
4744
|
-
destinations: {
|
|
4745
|
-
type: "bigquery";
|
|
4746
|
-
dataset: string;
|
|
4747
|
-
tableName: string;
|
|
4748
|
-
}[];
|
|
4749
4793
|
};
|
|
4750
4794
|
mode: DatasourceMode;
|
|
4751
4795
|
};
|
|
@@ -4897,6 +4941,69 @@ export declare type InternalResponse_Array_string = {
|
|
|
4897
4941
|
message: string;
|
|
4898
4942
|
data: string[];
|
|
4899
4943
|
};
|
|
4944
|
+
export declare type InternalResponse_ = {
|
|
4945
|
+
program: string;
|
|
4946
|
+
version: string;
|
|
4947
|
+
datetime: string;
|
|
4948
|
+
status: string;
|
|
4949
|
+
code?: number;
|
|
4950
|
+
message: string;
|
|
4951
|
+
data: {};
|
|
4952
|
+
};
|
|
4953
|
+
export declare enum DatasourceType {
|
|
4954
|
+
GENERIC = "generic",
|
|
4955
|
+
LOCATION = "location",
|
|
4956
|
+
PRODUCT = "product",
|
|
4957
|
+
ANALYTICS = "analytics",
|
|
4958
|
+
CRM = "crm",
|
|
4959
|
+
PUSH = "push",
|
|
4960
|
+
LOOP = "loop"
|
|
4961
|
+
}
|
|
4962
|
+
export declare type InternalResponse = {
|
|
4963
|
+
program: string;
|
|
4964
|
+
version: string;
|
|
4965
|
+
datetime: string;
|
|
4966
|
+
status: string;
|
|
4967
|
+
code?: number;
|
|
4968
|
+
message: string;
|
|
4969
|
+
data: {
|
|
4970
|
+
[key: string]: AnyValue;
|
|
4971
|
+
};
|
|
4972
|
+
};
|
|
4973
|
+
export declare type TestTokenStep = {
|
|
4974
|
+
name: string;
|
|
4975
|
+
status: "success" | "failed";
|
|
4976
|
+
durationMs: number;
|
|
4977
|
+
detail?: {
|
|
4978
|
+
[key: string]: AnyValue;
|
|
4979
|
+
};
|
|
4980
|
+
error?: string;
|
|
4981
|
+
};
|
|
4982
|
+
export declare type TestTokenResult = {
|
|
4983
|
+
success: boolean;
|
|
4984
|
+
steps: TestTokenStep[];
|
|
4985
|
+
};
|
|
4986
|
+
export declare type InternalResponse_TestTokenResult = {
|
|
4987
|
+
program: string;
|
|
4988
|
+
version: string;
|
|
4989
|
+
datetime: string;
|
|
4990
|
+
status: string;
|
|
4991
|
+
code?: number;
|
|
4992
|
+
message: string;
|
|
4993
|
+
data: TestTokenResult;
|
|
4994
|
+
};
|
|
4995
|
+
export declare type InternalResponse_cacheKey_string_deleted_Union_false_true = {
|
|
4996
|
+
program: string;
|
|
4997
|
+
version: string;
|
|
4998
|
+
datetime: string;
|
|
4999
|
+
status: string;
|
|
5000
|
+
code?: number;
|
|
5001
|
+
message: string;
|
|
5002
|
+
data: {
|
|
5003
|
+
cacheKey: string;
|
|
5004
|
+
deleted: boolean;
|
|
5005
|
+
};
|
|
5006
|
+
};
|
|
4900
5007
|
export declare type ObjectId = string;
|
|
4901
5008
|
export declare enum AuthenticationMode {
|
|
4902
5009
|
PASSWORD = "password",
|
|
@@ -4958,6 +5065,9 @@ export declare type DatasourceAuth = {
|
|
|
4958
5065
|
} & {
|
|
4959
5066
|
configuration: string | DatasourceAuthConfiguration;
|
|
4960
5067
|
nextInChainConfiguration?: string;
|
|
5068
|
+
hasRefreshToken?: boolean;
|
|
5069
|
+
hasAccessToken?: boolean;
|
|
5070
|
+
hasPassword?: boolean;
|
|
4961
5071
|
};
|
|
4962
5072
|
export declare type InternalResponse_Array_DatasourceAuth = {
|
|
4963
5073
|
program: string;
|
|
@@ -4968,25 +5078,7 @@ export declare type InternalResponse_Array_DatasourceAuth = {
|
|
|
4968
5078
|
message: string;
|
|
4969
5079
|
data: DatasourceAuth[];
|
|
4970
5080
|
};
|
|
4971
|
-
export declare type
|
|
4972
|
-
program: string;
|
|
4973
|
-
version: string;
|
|
4974
|
-
datetime: string;
|
|
4975
|
-
status: string;
|
|
4976
|
-
code?: number;
|
|
4977
|
-
message: string;
|
|
4978
|
-
data: {};
|
|
4979
|
-
};
|
|
4980
|
-
export declare enum DatasourceType {
|
|
4981
|
-
GENERIC = "generic",
|
|
4982
|
-
LOCATION = "location",
|
|
4983
|
-
PRODUCT = "product",
|
|
4984
|
-
ANALYTICS = "analytics",
|
|
4985
|
-
CRM = "crm",
|
|
4986
|
-
PUSH = "push",
|
|
4987
|
-
LOOP = "loop"
|
|
4988
|
-
}
|
|
4989
|
-
export declare type InternalResponse_Intersection_Serialize_id_string_configuration_Union_string_DatasourceAuthConfiguration_nextInChainConfiguration_Union_undefined_string = {
|
|
5081
|
+
export declare type InternalResponse_Intersection_Serialize_id_string_configuration_Union_string_DatasourceAuthConfiguration_nextInChainConfiguration_Union_undefined_string_hasRefreshToken_Union_undefined_false_true_hasAccessToken_Union_undefined_false_true_hasPassword_Union_undefined_false_true = {
|
|
4990
5082
|
program: string;
|
|
4991
5083
|
version: string;
|
|
4992
5084
|
datetime: string;
|
|
@@ -5008,6 +5100,9 @@ export declare type InternalResponse_Intersection_Serialize_id_string_configurat
|
|
|
5008
5100
|
} & {
|
|
5009
5101
|
configuration: string | DatasourceAuthConfiguration;
|
|
5010
5102
|
nextInChainConfiguration?: string;
|
|
5103
|
+
hasRefreshToken?: boolean;
|
|
5104
|
+
hasAccessToken?: boolean;
|
|
5105
|
+
hasPassword?: boolean;
|
|
5011
5106
|
};
|
|
5012
5107
|
};
|
|
5013
5108
|
export declare type DatasourceAuth_Without_Configuration = {
|
|
@@ -5025,15 +5120,9 @@ export declare type DatasourceAuth_Without_Configuration = {
|
|
|
5025
5120
|
} & {
|
|
5026
5121
|
configuration: string | DatasourceAuthConfiguration;
|
|
5027
5122
|
nextInChainConfiguration?: string;
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
version: string;
|
|
5032
|
-
datetime: string;
|
|
5033
|
-
status: string;
|
|
5034
|
-
code?: number;
|
|
5035
|
-
message: string;
|
|
5036
|
-
data: {};
|
|
5123
|
+
hasRefreshToken?: boolean;
|
|
5124
|
+
hasAccessToken?: boolean;
|
|
5125
|
+
hasPassword?: boolean;
|
|
5037
5126
|
};
|
|
5038
5127
|
export declare type InternalResponse_url_string = {
|
|
5039
5128
|
program: string;
|
|
@@ -5304,7 +5393,7 @@ export declare type DatagraphEntityVersion = {
|
|
|
5304
5393
|
readonly state: (DatagraphEntityVersionState) & readonlyP;
|
|
5305
5394
|
readonly definition: (Entity) & readonlyP;
|
|
5306
5395
|
};
|
|
5307
|
-
export declare type
|
|
5396
|
+
export declare type Serialize_DatagraphEntity = {
|
|
5308
5397
|
readonly companyId: (ObjectId) & readonlyP;
|
|
5309
5398
|
readonly resourceGroupIds: (ObjectId[]) & readonlyP;
|
|
5310
5399
|
readonly versions: ((ObjectId | (Document & DatagraphEntityVersion & {
|
|
@@ -5314,6 +5403,12 @@ export declare type DatagraphEntity = {
|
|
|
5314
5403
|
} & IObjectWithTypegooseFunction))[]) & readonlyP;
|
|
5315
5404
|
readonly archivedAt: (string | null) & readonlyP;
|
|
5316
5405
|
};
|
|
5406
|
+
export declare type DatagraphEntity = Serialize_DatagraphEntity & {
|
|
5407
|
+
readonly id: (string) & readonlyP;
|
|
5408
|
+
} & {
|
|
5409
|
+
readonly createdAt: (string) & readonlyP;
|
|
5410
|
+
readonly updatedAt: (string) & readonlyP;
|
|
5411
|
+
};
|
|
5317
5412
|
export declare type InternalResponse_DatagraphEntity = {
|
|
5318
5413
|
program: string;
|
|
5319
5414
|
version: string;
|
|
@@ -5503,6 +5598,7 @@ export declare type UrlSourceOptions = {
|
|
|
5503
5598
|
type: "csv";
|
|
5504
5599
|
options: {
|
|
5505
5600
|
csvDelimiter?: string;
|
|
5601
|
+
csvColumns?: string[];
|
|
5506
5602
|
};
|
|
5507
5603
|
} | {
|
|
5508
5604
|
type: "ndjson";
|
|
@@ -5609,6 +5705,7 @@ export declare type KafkaSourceOptions = {
|
|
|
5609
5705
|
type: "csv";
|
|
5610
5706
|
options: {
|
|
5611
5707
|
csvDelimiter?: string;
|
|
5708
|
+
csvColumns?: string[];
|
|
5612
5709
|
};
|
|
5613
5710
|
} | {
|
|
5614
5711
|
type: "ndjson";
|
|
@@ -6244,6 +6341,7 @@ export declare type SourceInput_Without_FieldsRules = {
|
|
|
6244
6341
|
type: "csv";
|
|
6245
6342
|
options: {
|
|
6246
6343
|
csvDelimiter?: string;
|
|
6344
|
+
csvColumns?: string[];
|
|
6247
6345
|
};
|
|
6248
6346
|
} | {
|
|
6249
6347
|
type: "ndjson";
|
|
@@ -6288,6 +6386,7 @@ export declare type SourceInput_Without_FieldsRules = {
|
|
|
6288
6386
|
type: "csv";
|
|
6289
6387
|
options: {
|
|
6290
6388
|
csvDelimiter?: string;
|
|
6389
|
+
csvColumns?: string[];
|
|
6291
6390
|
};
|
|
6292
6391
|
} | {
|
|
6293
6392
|
type: "ndjson";
|
|
@@ -6335,6 +6434,7 @@ export declare type SourceInput_Without_FieldsRules = {
|
|
|
6335
6434
|
type: "csv";
|
|
6336
6435
|
options: {
|
|
6337
6436
|
csvDelimiter?: string;
|
|
6437
|
+
csvColumns?: string[];
|
|
6338
6438
|
};
|
|
6339
6439
|
} | {
|
|
6340
6440
|
type: "ndjson";
|
|
@@ -6385,6 +6485,7 @@ export declare type SourceInput_Without_FieldsRules = {
|
|
|
6385
6485
|
type: "csv";
|
|
6386
6486
|
options: {
|
|
6387
6487
|
csvDelimiter?: string;
|
|
6488
|
+
csvColumns?: string[];
|
|
6388
6489
|
};
|
|
6389
6490
|
} | {
|
|
6390
6491
|
type: "ndjson";
|
|
@@ -6435,6 +6536,7 @@ export declare type SourceInput_Without_FieldsRules = {
|
|
|
6435
6536
|
type: "csv";
|
|
6436
6537
|
options: {
|
|
6437
6538
|
csvDelimiter?: string;
|
|
6539
|
+
csvColumns?: string[];
|
|
6438
6540
|
};
|
|
6439
6541
|
} | {
|
|
6440
6542
|
type: "ndjson";
|
|
@@ -7236,6 +7338,14 @@ export declare type CurrentSteps = {
|
|
|
7236
7338
|
};
|
|
7237
7339
|
segmentBatchSize?: number;
|
|
7238
7340
|
sftpPublicKey?: string;
|
|
7341
|
+
destinations?: {
|
|
7342
|
+
type: "bigquery";
|
|
7343
|
+
dataset: string;
|
|
7344
|
+
tableName: string;
|
|
7345
|
+
deduplicateOptions?: {
|
|
7346
|
+
enabled: boolean;
|
|
7347
|
+
};
|
|
7348
|
+
}[];
|
|
7239
7349
|
};
|
|
7240
7350
|
}) | ({
|
|
7241
7351
|
name: "configure_fetcher";
|
|
@@ -8675,6 +8785,14 @@ export declare type CurrentSteps = {
|
|
|
8675
8785
|
username: string;
|
|
8676
8786
|
password: string;
|
|
8677
8787
|
};
|
|
8788
|
+
destinations?: {
|
|
8789
|
+
type: "bigquery";
|
|
8790
|
+
dataset: string;
|
|
8791
|
+
tableName: string;
|
|
8792
|
+
deduplicateOptions?: {
|
|
8793
|
+
enabled: boolean;
|
|
8794
|
+
};
|
|
8795
|
+
}[];
|
|
8678
8796
|
};
|
|
8679
8797
|
}) | ({
|
|
8680
8798
|
name: "configure_fetcher";
|
|
@@ -9340,6 +9458,19 @@ export declare type CurrentSteps = {
|
|
|
9340
9458
|
value?: {
|
|
9341
9459
|
value: string;
|
|
9342
9460
|
};
|
|
9461
|
+
}) | ({
|
|
9462
|
+
name: "patch";
|
|
9463
|
+
} & {
|
|
9464
|
+
value?: {
|
|
9465
|
+
destinations?: {
|
|
9466
|
+
type: "bigquery";
|
|
9467
|
+
dataset: string;
|
|
9468
|
+
tableName: string;
|
|
9469
|
+
deduplicateOptions?: {
|
|
9470
|
+
enabled: boolean;
|
|
9471
|
+
};
|
|
9472
|
+
}[];
|
|
9473
|
+
};
|
|
9343
9474
|
}) | ({
|
|
9344
9475
|
name: "configure_fetcher";
|
|
9345
9476
|
} & {
|
|
@@ -10205,6 +10336,14 @@ export declare type CurrentSteps = {
|
|
|
10205
10336
|
};
|
|
10206
10337
|
segmentBatchSize?: number;
|
|
10207
10338
|
sftpPublicKey?: string;
|
|
10339
|
+
destinations?: {
|
|
10340
|
+
type: "bigquery";
|
|
10341
|
+
dataset: string;
|
|
10342
|
+
tableName: string;
|
|
10343
|
+
deduplicateOptions?: {
|
|
10344
|
+
enabled: boolean;
|
|
10345
|
+
};
|
|
10346
|
+
}[];
|
|
10208
10347
|
};
|
|
10209
10348
|
}) | ({
|
|
10210
10349
|
name: "configure_fetcher";
|
|
@@ -11644,6 +11783,14 @@ export declare type CurrentSteps = {
|
|
|
11644
11783
|
username: string;
|
|
11645
11784
|
password: string;
|
|
11646
11785
|
};
|
|
11786
|
+
destinations?: {
|
|
11787
|
+
type: "bigquery";
|
|
11788
|
+
dataset: string;
|
|
11789
|
+
tableName: string;
|
|
11790
|
+
deduplicateOptions?: {
|
|
11791
|
+
enabled: boolean;
|
|
11792
|
+
};
|
|
11793
|
+
}[];
|
|
11647
11794
|
};
|
|
11648
11795
|
}) | ({
|
|
11649
11796
|
name: "configure_fetcher";
|
|
@@ -12309,6 +12456,19 @@ export declare type CurrentSteps = {
|
|
|
12309
12456
|
value?: {
|
|
12310
12457
|
value: string;
|
|
12311
12458
|
};
|
|
12459
|
+
}) | ({
|
|
12460
|
+
name: "patch";
|
|
12461
|
+
} & {
|
|
12462
|
+
value?: {
|
|
12463
|
+
destinations?: {
|
|
12464
|
+
type: "bigquery";
|
|
12465
|
+
dataset: string;
|
|
12466
|
+
tableName: string;
|
|
12467
|
+
deduplicateOptions?: {
|
|
12468
|
+
enabled: boolean;
|
|
12469
|
+
};
|
|
12470
|
+
}[];
|
|
12471
|
+
};
|
|
12312
12472
|
}) | ({
|
|
12313
12473
|
name: "configure_fetcher";
|
|
12314
12474
|
} & {
|
|
@@ -13174,6 +13334,14 @@ export declare type CurrentSteps = {
|
|
|
13174
13334
|
};
|
|
13175
13335
|
segmentBatchSize?: number;
|
|
13176
13336
|
sftpPublicKey?: string;
|
|
13337
|
+
destinations?: {
|
|
13338
|
+
type: "bigquery";
|
|
13339
|
+
dataset: string;
|
|
13340
|
+
tableName: string;
|
|
13341
|
+
deduplicateOptions?: {
|
|
13342
|
+
enabled: boolean;
|
|
13343
|
+
};
|
|
13344
|
+
}[];
|
|
13177
13345
|
};
|
|
13178
13346
|
}) | ({
|
|
13179
13347
|
name: "configure_fetcher";
|
|
@@ -14613,6 +14781,14 @@ export declare type CurrentSteps = {
|
|
|
14613
14781
|
username: string;
|
|
14614
14782
|
password: string;
|
|
14615
14783
|
};
|
|
14784
|
+
destinations?: {
|
|
14785
|
+
type: "bigquery";
|
|
14786
|
+
dataset: string;
|
|
14787
|
+
tableName: string;
|
|
14788
|
+
deduplicateOptions?: {
|
|
14789
|
+
enabled: boolean;
|
|
14790
|
+
};
|
|
14791
|
+
}[];
|
|
14616
14792
|
};
|
|
14617
14793
|
}) | ({
|
|
14618
14794
|
name: "configure_fetcher";
|
|
@@ -15278,6 +15454,19 @@ export declare type CurrentSteps = {
|
|
|
15278
15454
|
value?: {
|
|
15279
15455
|
value: string;
|
|
15280
15456
|
};
|
|
15457
|
+
}) | ({
|
|
15458
|
+
name: "patch";
|
|
15459
|
+
} & {
|
|
15460
|
+
value?: {
|
|
15461
|
+
destinations?: {
|
|
15462
|
+
type: "bigquery";
|
|
15463
|
+
dataset: string;
|
|
15464
|
+
tableName: string;
|
|
15465
|
+
deduplicateOptions?: {
|
|
15466
|
+
enabled: boolean;
|
|
15467
|
+
};
|
|
15468
|
+
}[];
|
|
15469
|
+
};
|
|
15281
15470
|
}) | ({
|
|
15282
15471
|
name: "configure_fetcher";
|
|
15283
15472
|
} & {
|
|
@@ -16143,6 +16332,14 @@ export declare type CurrentSteps = {
|
|
|
16143
16332
|
};
|
|
16144
16333
|
segmentBatchSize?: number;
|
|
16145
16334
|
sftpPublicKey?: string;
|
|
16335
|
+
destinations?: {
|
|
16336
|
+
type: "bigquery";
|
|
16337
|
+
dataset: string;
|
|
16338
|
+
tableName: string;
|
|
16339
|
+
deduplicateOptions?: {
|
|
16340
|
+
enabled: boolean;
|
|
16341
|
+
};
|
|
16342
|
+
}[];
|
|
16146
16343
|
};
|
|
16147
16344
|
}) | ({
|
|
16148
16345
|
name: "configure_fetcher";
|
|
@@ -17582,6 +17779,14 @@ export declare type CurrentSteps = {
|
|
|
17582
17779
|
username: string;
|
|
17583
17780
|
password: string;
|
|
17584
17781
|
};
|
|
17782
|
+
destinations?: {
|
|
17783
|
+
type: "bigquery";
|
|
17784
|
+
dataset: string;
|
|
17785
|
+
tableName: string;
|
|
17786
|
+
deduplicateOptions?: {
|
|
17787
|
+
enabled: boolean;
|
|
17788
|
+
};
|
|
17789
|
+
}[];
|
|
17585
17790
|
};
|
|
17586
17791
|
}) | ({
|
|
17587
17792
|
name: "configure_fetcher";
|
|
@@ -18247,6 +18452,19 @@ export declare type CurrentSteps = {
|
|
|
18247
18452
|
value?: {
|
|
18248
18453
|
value: string;
|
|
18249
18454
|
};
|
|
18455
|
+
}) | ({
|
|
18456
|
+
name: "patch";
|
|
18457
|
+
} & {
|
|
18458
|
+
value?: {
|
|
18459
|
+
destinations?: {
|
|
18460
|
+
type: "bigquery";
|
|
18461
|
+
dataset: string;
|
|
18462
|
+
tableName: string;
|
|
18463
|
+
deduplicateOptions?: {
|
|
18464
|
+
enabled: boolean;
|
|
18465
|
+
};
|
|
18466
|
+
}[];
|
|
18467
|
+
};
|
|
18250
18468
|
}) | ({
|
|
18251
18469
|
name: "configure_fetcher";
|
|
18252
18470
|
} & {
|
|
@@ -18473,7 +18691,7 @@ export declare type InternalResponse_Array_Intersection_Document_Omit_IObjectWit
|
|
|
18473
18691
|
code?: number;
|
|
18474
18692
|
message: string;
|
|
18475
18693
|
data: (Document & ({
|
|
18476
|
-
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";
|
|
18694
|
+
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" | "zero_rows_update" | "start" | "end" | "content_update" | "geocoding_address" | "geocoding_country" | "invalid_type" | "invalid_line" | "invalid_unwind_source" | "required_values_empty";
|
|
18477
18695
|
datasourceId: ObjectId;
|
|
18478
18696
|
payload: AnyValue;
|
|
18479
18697
|
date: string;
|
|
@@ -18486,73 +18704,1246 @@ export declare type InternalResponse_Array_Intersection_Document_Omit_IObjectWit
|
|
|
18486
18704
|
version: string;
|
|
18487
18705
|
}) & IObjectWithTypegooseFunction)[];
|
|
18488
18706
|
};
|
|
18489
|
-
export declare
|
|
18490
|
-
|
|
18491
|
-
|
|
18492
|
-
|
|
18493
|
-
export declare type PubsubDatasource = AnyValue;
|
|
18494
|
-
export declare type InternalResponse_Array_Union_PushDatasource_WorkerDatasource_ProxyDatasource_IngesterDatasource_PubsubDatasource = {
|
|
18495
|
-
program: string;
|
|
18496
|
-
version: string;
|
|
18497
|
-
datetime: string;
|
|
18498
|
-
status: string;
|
|
18499
|
-
code?: number;
|
|
18500
|
-
message: string;
|
|
18501
|
-
data: (PushDatasource | WorkerDatasource | ProxyDatasource | IngesterDatasource | PubsubDatasource)[];
|
|
18502
|
-
};
|
|
18503
|
-
export declare enum DatasourceStatus {
|
|
18504
|
-
DRAFT = "draft",
|
|
18505
|
-
PUBLISHED = "published",
|
|
18506
|
-
UPDATING = "updating",
|
|
18507
|
-
PAUSED = "paused",
|
|
18508
|
-
ERROR = "error"
|
|
18707
|
+
export declare enum DatasourceLoopSubType {
|
|
18708
|
+
SCORES = "scores",
|
|
18709
|
+
MESSAGING_PLAN = "messaging_plan",
|
|
18710
|
+
AUDIT = "audit"
|
|
18509
18711
|
}
|
|
18510
|
-
export declare
|
|
18511
|
-
|
|
18512
|
-
|
|
18513
|
-
|
|
18514
|
-
|
|
18515
|
-
|
|
18516
|
-
|
|
18517
|
-
|
|
18518
|
-
|
|
18519
|
-
|
|
18520
|
-
|
|
18521
|
-
|
|
18522
|
-
|
|
18523
|
-
program: string;
|
|
18524
|
-
version: string;
|
|
18525
|
-
datetime: string;
|
|
18526
|
-
status: string;
|
|
18527
|
-
code?: number;
|
|
18528
|
-
message: string;
|
|
18529
|
-
data: (PushDatasource & {
|
|
18530
|
-
example?: {
|
|
18531
|
-
[key: string]: AnyValue;
|
|
18532
|
-
};
|
|
18533
|
-
queriableFields?: QueriableField[];
|
|
18534
|
-
}) | (WorkerDatasource & {
|
|
18535
|
-
example?: {
|
|
18536
|
-
[key: string]: AnyValue;
|
|
18537
|
-
};
|
|
18538
|
-
queriableFields?: QueriableField[];
|
|
18539
|
-
}) | (ProxyDatasource & {
|
|
18540
|
-
example?: {
|
|
18541
|
-
[key: string]: AnyValue;
|
|
18712
|
+
export declare enum DatasourceVersionState {
|
|
18713
|
+
LIVE = "LIVE",
|
|
18714
|
+
DRAFT = "DRAFT",
|
|
18715
|
+
SCHEDULED = "SCHEDULED",
|
|
18716
|
+
INACTIVE = "INACTIVE"
|
|
18717
|
+
}
|
|
18718
|
+
export declare type DatasourceVersion = {
|
|
18719
|
+
readonly id: (string) & readonlyP;
|
|
18720
|
+
type: {
|
|
18721
|
+
name: "analytics";
|
|
18722
|
+
options: {
|
|
18723
|
+
autoExclusions?: boolean;
|
|
18724
|
+
noStats?: boolean;
|
|
18542
18725
|
};
|
|
18543
|
-
|
|
18544
|
-
}
|
|
18545
|
-
|
|
18546
|
-
|
|
18726
|
+
subtype: "purchases";
|
|
18727
|
+
} | {
|
|
18728
|
+
name: "generic";
|
|
18729
|
+
subtype: DatasourceGenericSubType;
|
|
18730
|
+
} | {
|
|
18731
|
+
name: "crm";
|
|
18732
|
+
subtype: DatasourceCRMSubType;
|
|
18733
|
+
} | {
|
|
18734
|
+
name: "product";
|
|
18735
|
+
subtype: DatasourceProductSubType;
|
|
18736
|
+
} | {
|
|
18737
|
+
name: "location";
|
|
18738
|
+
subtype: DatasourceLocationSubType;
|
|
18739
|
+
} | {
|
|
18740
|
+
name: "analytics";
|
|
18741
|
+
subtype: "reelevant" | "google_tag_manager" | "workflow_events" | "user" | "mutable";
|
|
18742
|
+
} | {
|
|
18743
|
+
name: "push";
|
|
18744
|
+
subtype: "email";
|
|
18745
|
+
} | {
|
|
18746
|
+
name: "loop";
|
|
18747
|
+
subtype: DatasourceLoopSubType;
|
|
18748
|
+
};
|
|
18749
|
+
fieldsMap: {
|
|
18750
|
+
name: string;
|
|
18751
|
+
type: FieldMapType;
|
|
18752
|
+
source?: FieldSource;
|
|
18753
|
+
selected: boolean;
|
|
18754
|
+
ignoreIfMissing?: boolean;
|
|
18755
|
+
metadata?: {
|
|
18756
|
+
locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en";
|
|
18547
18757
|
};
|
|
18548
|
-
|
|
18549
|
-
}
|
|
18550
|
-
|
|
18551
|
-
|
|
18758
|
+
readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
|
|
18759
|
+
}[];
|
|
18760
|
+
mode: DatasourceMode;
|
|
18761
|
+
readonly state: (DatasourceVersionState) & readonlyP;
|
|
18762
|
+
readonly pendingSteps?: (({
|
|
18763
|
+
name: "configure_name";
|
|
18764
|
+
} | {
|
|
18765
|
+
name: "configure_resource_group_ids";
|
|
18766
|
+
} | {
|
|
18767
|
+
name: "configure_sources";
|
|
18768
|
+
} | {
|
|
18769
|
+
name: "configure_fields";
|
|
18770
|
+
} | {
|
|
18771
|
+
name: "configure_field";
|
|
18772
|
+
field: {
|
|
18773
|
+
name: string;
|
|
18774
|
+
type: FieldMapType;
|
|
18552
18775
|
};
|
|
18553
|
-
|
|
18554
|
-
|
|
18555
|
-
|
|
18776
|
+
} | {
|
|
18777
|
+
name: "create_oauth_client";
|
|
18778
|
+
configurationId: string;
|
|
18779
|
+
} | {
|
|
18780
|
+
name: "authorize_oauth_client";
|
|
18781
|
+
slug: string;
|
|
18782
|
+
} | {
|
|
18783
|
+
name: "configure_thresholds";
|
|
18784
|
+
} | {
|
|
18785
|
+
name: "configure_api_key";
|
|
18786
|
+
slug: "partoo";
|
|
18787
|
+
} | {
|
|
18788
|
+
name: "patch";
|
|
18789
|
+
} | {
|
|
18790
|
+
name: "validate";
|
|
18791
|
+
} | {
|
|
18792
|
+
name: "configure_google_tag_manager";
|
|
18793
|
+
} | {
|
|
18794
|
+
name: "configure_reelevant_analytics_script";
|
|
18795
|
+
} | {
|
|
18796
|
+
name: "configure_product_datasource_source";
|
|
18797
|
+
} | {
|
|
18798
|
+
name: "configure_tracking_datasource_source";
|
|
18799
|
+
} | {
|
|
18800
|
+
name: "configure_best_product_query";
|
|
18801
|
+
} | {
|
|
18802
|
+
name: "configure_best_product_field";
|
|
18803
|
+
} | {
|
|
18804
|
+
name: "configure_fetcher";
|
|
18805
|
+
} | {
|
|
18806
|
+
name: "configure_merge_datasource_source";
|
|
18807
|
+
} | {
|
|
18808
|
+
name: "configure_merge_datasource_dependency";
|
|
18809
|
+
} | {
|
|
18810
|
+
name: "configure_merge_mapping";
|
|
18811
|
+
} | {
|
|
18812
|
+
name: "configure_bought_together";
|
|
18813
|
+
} | {
|
|
18814
|
+
name: "configure_top_attributes";
|
|
18815
|
+
} | {
|
|
18816
|
+
name: "configure_destination";
|
|
18817
|
+
type: "smtp";
|
|
18818
|
+
} | {
|
|
18819
|
+
name: "configure_hierarchy";
|
|
18820
|
+
} | {
|
|
18821
|
+
name: "google_my_business_set_url";
|
|
18822
|
+
urls: {
|
|
18823
|
+
getAccount: string;
|
|
18824
|
+
final: string;
|
|
18825
|
+
};
|
|
18826
|
+
} | {
|
|
18827
|
+
name: "setup_instagram";
|
|
18828
|
+
urls: {
|
|
18829
|
+
getAccount: string;
|
|
18830
|
+
getAccountInfos: string;
|
|
18831
|
+
final: string;
|
|
18832
|
+
};
|
|
18833
|
+
})[]) & readonlyP;
|
|
18834
|
+
readonly availableFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP;
|
|
18835
|
+
readonly requiredFieldsTypes: ({
|
|
18836
|
+
[key: string]: FieldMapType;
|
|
18837
|
+
}[]) & readonlyP;
|
|
18838
|
+
readonly uniqueFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP;
|
|
18839
|
+
readonly importantFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP;
|
|
18840
|
+
} & {
|
|
18841
|
+
readonly health: ("ERROR" | "WARNING" | "OK") & readonlyP;
|
|
18842
|
+
};
|
|
18843
|
+
export declare enum DatasourceStatus {
|
|
18844
|
+
DRAFT = "draft",
|
|
18845
|
+
PUBLISHED = "published",
|
|
18846
|
+
UPDATING = "updating",
|
|
18847
|
+
PAUSED = "paused",
|
|
18848
|
+
ERROR = "error"
|
|
18849
|
+
}
|
|
18850
|
+
export declare type Serialize_PushDatasource = {
|
|
18851
|
+
name: string;
|
|
18852
|
+
hidden: boolean;
|
|
18853
|
+
readonly template?: (ObjectId | null) & readonlyP;
|
|
18854
|
+
readonly fetcher: ({
|
|
18855
|
+
name: DatasourceFetcherName;
|
|
18856
|
+
params: {};
|
|
18857
|
+
} | {
|
|
18858
|
+
name: "fdj-bets";
|
|
18859
|
+
params: {};
|
|
18860
|
+
} | {
|
|
18861
|
+
name: "renault-prices";
|
|
18862
|
+
params: {};
|
|
18863
|
+
} | {
|
|
18864
|
+
name: "decathlon-product-fallback";
|
|
18865
|
+
params: {};
|
|
18866
|
+
} | {
|
|
18867
|
+
name: "generic-unwind-rows";
|
|
18868
|
+
params: {
|
|
18869
|
+
source: string;
|
|
18870
|
+
destination: string;
|
|
18871
|
+
columnDestination: string;
|
|
18872
|
+
valueType: string;
|
|
18873
|
+
};
|
|
18874
|
+
} | {
|
|
18875
|
+
name: "workflow-events";
|
|
18876
|
+
params: {};
|
|
18877
|
+
} | {
|
|
18878
|
+
name: "expired-product-lifetime";
|
|
18879
|
+
params: {
|
|
18880
|
+
purchaseDatasourceId: string;
|
|
18881
|
+
purchaseQuery: string;
|
|
18882
|
+
purchaseReferenceIdField: string;
|
|
18883
|
+
purchaseTimestampField: string;
|
|
18884
|
+
purchaseClientField: string;
|
|
18885
|
+
temporalities?: {
|
|
18886
|
+
maxLifetime: number;
|
|
18887
|
+
windowStart: number;
|
|
18888
|
+
windowEnd: number;
|
|
18889
|
+
minPurchaseCount?: number;
|
|
18890
|
+
}[];
|
|
18891
|
+
};
|
|
18892
|
+
} | {
|
|
18893
|
+
name: "product-exclusion";
|
|
18894
|
+
params: {
|
|
18895
|
+
mode: "inclusion" | "exclusion";
|
|
18896
|
+
exclusionDatasourceId: string;
|
|
18897
|
+
exclusionIdField: string;
|
|
18898
|
+
productIdField: string;
|
|
18899
|
+
};
|
|
18900
|
+
} | {
|
|
18901
|
+
name: "per-user";
|
|
18902
|
+
params: {};
|
|
18903
|
+
} | {
|
|
18904
|
+
name: "generic-proxy-lock";
|
|
18905
|
+
params: {
|
|
18906
|
+
ttl: number;
|
|
18907
|
+
};
|
|
18908
|
+
} | {
|
|
18909
|
+
name: "generic-proxy-aggregation";
|
|
18910
|
+
params: {
|
|
18911
|
+
targetField: string;
|
|
18912
|
+
aggregationType: "sum" | "avg" | "min" | "max";
|
|
18913
|
+
outputField: string;
|
|
18914
|
+
};
|
|
18915
|
+
}) & readonlyP;
|
|
18916
|
+
storageOptions: {
|
|
18917
|
+
destinations: {
|
|
18918
|
+
type: "bigquery";
|
|
18919
|
+
dataset: string;
|
|
18920
|
+
tableName: string;
|
|
18921
|
+
deduplicateOptions?: {
|
|
18922
|
+
enabled: boolean;
|
|
18923
|
+
};
|
|
18924
|
+
}[];
|
|
18925
|
+
partitionCount: number;
|
|
18926
|
+
segments: {
|
|
18927
|
+
offlineSize: number;
|
|
18928
|
+
offlineReplication: number;
|
|
18929
|
+
realtimeSize: number;
|
|
18930
|
+
realtimeReplication: number;
|
|
18931
|
+
};
|
|
18932
|
+
retention?: {
|
|
18933
|
+
value: number;
|
|
18934
|
+
unit: "DAYS";
|
|
18935
|
+
};
|
|
18936
|
+
};
|
|
18937
|
+
mode: "push";
|
|
18938
|
+
companyId: ObjectId;
|
|
18939
|
+
resourceGroupIds: ObjectId[];
|
|
18940
|
+
versions: (ObjectId | (Document & DatasourceVersion & {
|
|
18941
|
+
_id: ObjectId;
|
|
18942
|
+
} & {
|
|
18943
|
+
__v: number;
|
|
18944
|
+
} & IObjectWithTypegooseFunction))[];
|
|
18945
|
+
readonly archivedAt: (string | null) & readonlyP;
|
|
18946
|
+
status: DatasourceStatus;
|
|
18947
|
+
readonly configurationUpdatedAt: (string) & readonlyP;
|
|
18948
|
+
readonly lastSuccessfulIngestion?: (string) & readonlyP;
|
|
18949
|
+
readonly lastFailedIngestion?: (string) & readonlyP;
|
|
18950
|
+
readonly lastFailureReason?: (string) & readonlyP;
|
|
18951
|
+
hierarchy: string[];
|
|
18952
|
+
readonly hasWarnings: (boolean) & readonlyP;
|
|
18953
|
+
};
|
|
18954
|
+
export declare type PushDatasource = Serialize_PushDatasource & {
|
|
18955
|
+
readonly id: (string) & readonlyP;
|
|
18956
|
+
} & {
|
|
18957
|
+
readonly createdAt: (string) & readonlyP;
|
|
18958
|
+
readonly updatedAt: (string) & readonlyP;
|
|
18959
|
+
};
|
|
18960
|
+
export declare type WorkerDatasourceVersion = {
|
|
18961
|
+
readonly id: (string) & readonlyP;
|
|
18962
|
+
type: {
|
|
18963
|
+
name: "analytics";
|
|
18964
|
+
options: {
|
|
18965
|
+
autoExclusions?: boolean;
|
|
18966
|
+
noStats?: boolean;
|
|
18967
|
+
};
|
|
18968
|
+
subtype: "purchases";
|
|
18969
|
+
} | {
|
|
18970
|
+
name: "generic";
|
|
18971
|
+
subtype: DatasourceGenericSubType;
|
|
18972
|
+
} | {
|
|
18973
|
+
name: "crm";
|
|
18974
|
+
subtype: DatasourceCRMSubType;
|
|
18975
|
+
} | {
|
|
18976
|
+
name: "product";
|
|
18977
|
+
subtype: DatasourceProductSubType;
|
|
18978
|
+
} | {
|
|
18979
|
+
name: "location";
|
|
18980
|
+
subtype: DatasourceLocationSubType;
|
|
18981
|
+
} | {
|
|
18982
|
+
name: "analytics";
|
|
18983
|
+
subtype: "reelevant" | "google_tag_manager" | "workflow_events" | "user" | "mutable";
|
|
18984
|
+
} | {
|
|
18985
|
+
name: "push";
|
|
18986
|
+
subtype: "email";
|
|
18987
|
+
} | {
|
|
18988
|
+
name: "loop";
|
|
18989
|
+
subtype: DatasourceLoopSubType;
|
|
18990
|
+
};
|
|
18991
|
+
fieldsMap: {
|
|
18992
|
+
name: string;
|
|
18993
|
+
type: FieldMapType;
|
|
18994
|
+
source?: FieldSource;
|
|
18995
|
+
selected: boolean;
|
|
18996
|
+
ignoreIfMissing?: boolean;
|
|
18997
|
+
metadata?: {
|
|
18998
|
+
locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en";
|
|
18999
|
+
};
|
|
19000
|
+
readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
|
|
19001
|
+
}[];
|
|
19002
|
+
mode: DatasourceMode;
|
|
19003
|
+
readonly state: (DatasourceVersionState) & readonlyP;
|
|
19004
|
+
readonly pendingSteps?: (({
|
|
19005
|
+
name: "configure_name";
|
|
19006
|
+
} | {
|
|
19007
|
+
name: "configure_resource_group_ids";
|
|
19008
|
+
} | {
|
|
19009
|
+
name: "configure_sources";
|
|
19010
|
+
} | {
|
|
19011
|
+
name: "configure_fields";
|
|
19012
|
+
} | {
|
|
19013
|
+
name: "configure_field";
|
|
19014
|
+
field: {
|
|
19015
|
+
name: string;
|
|
19016
|
+
type: FieldMapType;
|
|
19017
|
+
};
|
|
19018
|
+
} | {
|
|
19019
|
+
name: "create_oauth_client";
|
|
19020
|
+
configurationId: string;
|
|
19021
|
+
} | {
|
|
19022
|
+
name: "authorize_oauth_client";
|
|
19023
|
+
slug: string;
|
|
19024
|
+
} | {
|
|
19025
|
+
name: "configure_thresholds";
|
|
19026
|
+
} | {
|
|
19027
|
+
name: "configure_api_key";
|
|
19028
|
+
slug: "partoo";
|
|
19029
|
+
} | {
|
|
19030
|
+
name: "patch";
|
|
19031
|
+
} | {
|
|
19032
|
+
name: "validate";
|
|
19033
|
+
} | {
|
|
19034
|
+
name: "configure_google_tag_manager";
|
|
19035
|
+
} | {
|
|
19036
|
+
name: "configure_reelevant_analytics_script";
|
|
19037
|
+
} | {
|
|
19038
|
+
name: "configure_product_datasource_source";
|
|
19039
|
+
} | {
|
|
19040
|
+
name: "configure_tracking_datasource_source";
|
|
19041
|
+
} | {
|
|
19042
|
+
name: "configure_best_product_query";
|
|
19043
|
+
} | {
|
|
19044
|
+
name: "configure_best_product_field";
|
|
19045
|
+
} | {
|
|
19046
|
+
name: "configure_fetcher";
|
|
19047
|
+
} | {
|
|
19048
|
+
name: "configure_merge_datasource_source";
|
|
19049
|
+
} | {
|
|
19050
|
+
name: "configure_merge_datasource_dependency";
|
|
19051
|
+
} | {
|
|
19052
|
+
name: "configure_merge_mapping";
|
|
19053
|
+
} | {
|
|
19054
|
+
name: "configure_bought_together";
|
|
19055
|
+
} | {
|
|
19056
|
+
name: "configure_top_attributes";
|
|
19057
|
+
} | {
|
|
19058
|
+
name: "configure_destination";
|
|
19059
|
+
type: "smtp";
|
|
19060
|
+
} | {
|
|
19061
|
+
name: "configure_hierarchy";
|
|
19062
|
+
} | {
|
|
19063
|
+
name: "google_my_business_set_url";
|
|
19064
|
+
urls: {
|
|
19065
|
+
getAccount: string;
|
|
19066
|
+
final: string;
|
|
19067
|
+
};
|
|
19068
|
+
} | {
|
|
19069
|
+
name: "setup_instagram";
|
|
19070
|
+
urls: {
|
|
19071
|
+
getAccount: string;
|
|
19072
|
+
getAccountInfos: string;
|
|
19073
|
+
final: string;
|
|
19074
|
+
};
|
|
19075
|
+
})[]) & readonlyP;
|
|
19076
|
+
readonly availableFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP;
|
|
19077
|
+
readonly requiredFieldsTypes: ({
|
|
19078
|
+
[key: string]: FieldMapType;
|
|
19079
|
+
}[]) & readonlyP;
|
|
19080
|
+
readonly uniqueFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP;
|
|
19081
|
+
readonly importantFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP;
|
|
19082
|
+
} & {
|
|
19083
|
+
readonly health: ("ERROR" | "WARNING" | "OK") & readonlyP;
|
|
19084
|
+
};
|
|
19085
|
+
export declare type Serialize_WorkerDatasource = {
|
|
19086
|
+
name: string;
|
|
19087
|
+
hidden: boolean;
|
|
19088
|
+
readonly template?: (ObjectId | null) & readonlyP;
|
|
19089
|
+
readonly fetcher: ({
|
|
19090
|
+
name: DatasourceFetcherName;
|
|
19091
|
+
params: {};
|
|
19092
|
+
} | {
|
|
19093
|
+
name: "fdj-bets";
|
|
19094
|
+
params: {};
|
|
19095
|
+
} | {
|
|
19096
|
+
name: "renault-prices";
|
|
19097
|
+
params: {};
|
|
19098
|
+
} | {
|
|
19099
|
+
name: "decathlon-product-fallback";
|
|
19100
|
+
params: {};
|
|
19101
|
+
} | {
|
|
19102
|
+
name: "generic-unwind-rows";
|
|
19103
|
+
params: {
|
|
19104
|
+
source: string;
|
|
19105
|
+
destination: string;
|
|
19106
|
+
columnDestination: string;
|
|
19107
|
+
valueType: string;
|
|
19108
|
+
};
|
|
19109
|
+
} | {
|
|
19110
|
+
name: "workflow-events";
|
|
19111
|
+
params: {};
|
|
19112
|
+
} | {
|
|
19113
|
+
name: "expired-product-lifetime";
|
|
19114
|
+
params: {
|
|
19115
|
+
purchaseDatasourceId: string;
|
|
19116
|
+
purchaseQuery: string;
|
|
19117
|
+
purchaseReferenceIdField: string;
|
|
19118
|
+
purchaseTimestampField: string;
|
|
19119
|
+
purchaseClientField: string;
|
|
19120
|
+
temporalities?: {
|
|
19121
|
+
maxLifetime: number;
|
|
19122
|
+
windowStart: number;
|
|
19123
|
+
windowEnd: number;
|
|
19124
|
+
minPurchaseCount?: number;
|
|
19125
|
+
}[];
|
|
19126
|
+
};
|
|
19127
|
+
} | {
|
|
19128
|
+
name: "product-exclusion";
|
|
19129
|
+
params: {
|
|
19130
|
+
mode: "inclusion" | "exclusion";
|
|
19131
|
+
exclusionDatasourceId: string;
|
|
19132
|
+
exclusionIdField: string;
|
|
19133
|
+
productIdField: string;
|
|
19134
|
+
};
|
|
19135
|
+
} | {
|
|
19136
|
+
name: "per-user";
|
|
19137
|
+
params: {};
|
|
19138
|
+
} | {
|
|
19139
|
+
name: "generic-proxy-lock";
|
|
19140
|
+
params: {
|
|
19141
|
+
ttl: number;
|
|
19142
|
+
};
|
|
19143
|
+
} | {
|
|
19144
|
+
name: "generic-proxy-aggregation";
|
|
19145
|
+
params: {
|
|
19146
|
+
targetField: string;
|
|
19147
|
+
aggregationType: "sum" | "avg" | "min" | "max";
|
|
19148
|
+
outputField: string;
|
|
19149
|
+
};
|
|
19150
|
+
}) & readonlyP;
|
|
19151
|
+
storageOptions: {
|
|
19152
|
+
destinations: {
|
|
19153
|
+
type: "bigquery";
|
|
19154
|
+
dataset: string;
|
|
19155
|
+
tableName: string;
|
|
19156
|
+
deduplicateOptions?: {
|
|
19157
|
+
enabled: boolean;
|
|
19158
|
+
};
|
|
19159
|
+
}[];
|
|
19160
|
+
};
|
|
19161
|
+
mode: "worker";
|
|
19162
|
+
companyId: ObjectId;
|
|
19163
|
+
resourceGroupIds: ObjectId[];
|
|
19164
|
+
versions: (ObjectId | (Document & WorkerDatasourceVersion & {
|
|
19165
|
+
_id: ObjectId;
|
|
19166
|
+
} & {
|
|
19167
|
+
__v: number;
|
|
19168
|
+
} & IObjectWithTypegooseFunction))[];
|
|
19169
|
+
readonly archivedAt: (string | null) & readonlyP;
|
|
19170
|
+
status: DatasourceStatus;
|
|
19171
|
+
readonly configurationUpdatedAt: (string) & readonlyP;
|
|
19172
|
+
readonly lastSuccessfulIngestion?: (string) & readonlyP;
|
|
19173
|
+
readonly lastFailedIngestion?: (string) & readonlyP;
|
|
19174
|
+
readonly lastFailureReason?: (string) & readonlyP;
|
|
19175
|
+
hierarchy: string[];
|
|
19176
|
+
readonly hasWarnings: (boolean) & readonlyP;
|
|
19177
|
+
readonly contentVersion: (number) & readonlyP;
|
|
19178
|
+
thresholds: {
|
|
19179
|
+
type: "too_many_invalid_entries";
|
|
19180
|
+
value: number;
|
|
19181
|
+
trigger: {
|
|
19182
|
+
type: "error";
|
|
19183
|
+
value: "too_many_invalid_entries";
|
|
19184
|
+
};
|
|
19185
|
+
}[] | {
|
|
19186
|
+
type: "entries_drop_rate_too_high";
|
|
19187
|
+
value: number;
|
|
19188
|
+
trigger: {
|
|
19189
|
+
type: "warning";
|
|
19190
|
+
value: "entries_drop_rate_too_high";
|
|
19191
|
+
} | {
|
|
19192
|
+
type: "error";
|
|
19193
|
+
value: "entries_drop_rate_too_high";
|
|
19194
|
+
};
|
|
19195
|
+
}[];
|
|
19196
|
+
attempts?: number;
|
|
19197
|
+
readonly lastRunAt: (string | null) & readonlyP;
|
|
19198
|
+
readonly currentLiveVersion: (ObjectId | null) & readonlyP;
|
|
19199
|
+
readonly pausedAt: (string | null) & readonlyP;
|
|
19200
|
+
readonly isPaused: (boolean) & readonlyP;
|
|
19201
|
+
};
|
|
19202
|
+
export declare type WorkerDatasource = Serialize_WorkerDatasource & {
|
|
19203
|
+
readonly id: (string) & readonlyP;
|
|
19204
|
+
} & {
|
|
19205
|
+
readonly createdAt: (string) & readonlyP;
|
|
19206
|
+
readonly updatedAt: (string) & readonlyP;
|
|
19207
|
+
};
|
|
19208
|
+
export declare type ProxyDatasourceVersion = {
|
|
19209
|
+
readonly id: (string) & readonlyP;
|
|
19210
|
+
type: {
|
|
19211
|
+
name: "analytics";
|
|
19212
|
+
options: {
|
|
19213
|
+
autoExclusions?: boolean;
|
|
19214
|
+
noStats?: boolean;
|
|
19215
|
+
};
|
|
19216
|
+
subtype: "purchases";
|
|
19217
|
+
} | {
|
|
19218
|
+
name: "generic";
|
|
19219
|
+
subtype: DatasourceGenericSubType;
|
|
19220
|
+
} | {
|
|
19221
|
+
name: "crm";
|
|
19222
|
+
subtype: DatasourceCRMSubType;
|
|
19223
|
+
} | {
|
|
19224
|
+
name: "product";
|
|
19225
|
+
subtype: DatasourceProductSubType;
|
|
19226
|
+
} | {
|
|
19227
|
+
name: "location";
|
|
19228
|
+
subtype: DatasourceLocationSubType;
|
|
19229
|
+
} | {
|
|
19230
|
+
name: "analytics";
|
|
19231
|
+
subtype: "reelevant" | "google_tag_manager" | "workflow_events" | "user" | "mutable";
|
|
19232
|
+
} | {
|
|
19233
|
+
name: "push";
|
|
19234
|
+
subtype: "email";
|
|
19235
|
+
} | {
|
|
19236
|
+
name: "loop";
|
|
19237
|
+
subtype: DatasourceLoopSubType;
|
|
19238
|
+
};
|
|
19239
|
+
fieldsMap: {
|
|
19240
|
+
name: string;
|
|
19241
|
+
type: FieldMapType;
|
|
19242
|
+
source?: FieldSource;
|
|
19243
|
+
selected: boolean;
|
|
19244
|
+
ignoreIfMissing?: boolean;
|
|
19245
|
+
metadata?: {
|
|
19246
|
+
locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en";
|
|
19247
|
+
};
|
|
19248
|
+
readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
|
|
19249
|
+
}[];
|
|
19250
|
+
mode: DatasourceMode;
|
|
19251
|
+
readonly state: (DatasourceVersionState) & readonlyP;
|
|
19252
|
+
readonly pendingSteps?: (({
|
|
19253
|
+
name: "configure_name";
|
|
19254
|
+
} | {
|
|
19255
|
+
name: "configure_resource_group_ids";
|
|
19256
|
+
} | {
|
|
19257
|
+
name: "configure_sources";
|
|
19258
|
+
} | {
|
|
19259
|
+
name: "configure_fields";
|
|
19260
|
+
} | {
|
|
19261
|
+
name: "configure_field";
|
|
19262
|
+
field: {
|
|
19263
|
+
name: string;
|
|
19264
|
+
type: FieldMapType;
|
|
19265
|
+
};
|
|
19266
|
+
} | {
|
|
19267
|
+
name: "create_oauth_client";
|
|
19268
|
+
configurationId: string;
|
|
19269
|
+
} | {
|
|
19270
|
+
name: "authorize_oauth_client";
|
|
19271
|
+
slug: string;
|
|
19272
|
+
} | {
|
|
19273
|
+
name: "configure_thresholds";
|
|
19274
|
+
} | {
|
|
19275
|
+
name: "configure_api_key";
|
|
19276
|
+
slug: "partoo";
|
|
19277
|
+
} | {
|
|
19278
|
+
name: "patch";
|
|
19279
|
+
} | {
|
|
19280
|
+
name: "validate";
|
|
19281
|
+
} | {
|
|
19282
|
+
name: "configure_google_tag_manager";
|
|
19283
|
+
} | {
|
|
19284
|
+
name: "configure_reelevant_analytics_script";
|
|
19285
|
+
} | {
|
|
19286
|
+
name: "configure_product_datasource_source";
|
|
19287
|
+
} | {
|
|
19288
|
+
name: "configure_tracking_datasource_source";
|
|
19289
|
+
} | {
|
|
19290
|
+
name: "configure_best_product_query";
|
|
19291
|
+
} | {
|
|
19292
|
+
name: "configure_best_product_field";
|
|
19293
|
+
} | {
|
|
19294
|
+
name: "configure_fetcher";
|
|
19295
|
+
} | {
|
|
19296
|
+
name: "configure_merge_datasource_source";
|
|
19297
|
+
} | {
|
|
19298
|
+
name: "configure_merge_datasource_dependency";
|
|
19299
|
+
} | {
|
|
19300
|
+
name: "configure_merge_mapping";
|
|
19301
|
+
} | {
|
|
19302
|
+
name: "configure_bought_together";
|
|
19303
|
+
} | {
|
|
19304
|
+
name: "configure_top_attributes";
|
|
19305
|
+
} | {
|
|
19306
|
+
name: "configure_destination";
|
|
19307
|
+
type: "smtp";
|
|
19308
|
+
} | {
|
|
19309
|
+
name: "configure_hierarchy";
|
|
19310
|
+
} | {
|
|
19311
|
+
name: "google_my_business_set_url";
|
|
19312
|
+
urls: {
|
|
19313
|
+
getAccount: string;
|
|
19314
|
+
final: string;
|
|
19315
|
+
};
|
|
19316
|
+
} | {
|
|
19317
|
+
name: "setup_instagram";
|
|
19318
|
+
urls: {
|
|
19319
|
+
getAccount: string;
|
|
19320
|
+
getAccountInfos: string;
|
|
19321
|
+
final: string;
|
|
19322
|
+
};
|
|
19323
|
+
})[]) & readonlyP;
|
|
19324
|
+
readonly availableFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP;
|
|
19325
|
+
readonly requiredFieldsTypes: ({
|
|
19326
|
+
[key: string]: FieldMapType;
|
|
19327
|
+
}[]) & readonlyP;
|
|
19328
|
+
readonly uniqueFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP;
|
|
19329
|
+
readonly importantFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP;
|
|
19330
|
+
} & {
|
|
19331
|
+
readonly health: ("ERROR" | "WARNING" | "OK") & readonlyP;
|
|
19332
|
+
};
|
|
19333
|
+
export declare type Serialize_ProxyDatasource = {
|
|
19334
|
+
name: string;
|
|
19335
|
+
hidden: boolean;
|
|
19336
|
+
readonly template?: (ObjectId | null) & readonlyP;
|
|
19337
|
+
readonly fetcher: ({
|
|
19338
|
+
name: DatasourceFetcherName;
|
|
19339
|
+
params: {};
|
|
19340
|
+
} | {
|
|
19341
|
+
name: "fdj-bets";
|
|
19342
|
+
params: {};
|
|
19343
|
+
} | {
|
|
19344
|
+
name: "renault-prices";
|
|
19345
|
+
params: {};
|
|
19346
|
+
} | {
|
|
19347
|
+
name: "decathlon-product-fallback";
|
|
19348
|
+
params: {};
|
|
19349
|
+
} | {
|
|
19350
|
+
name: "generic-unwind-rows";
|
|
19351
|
+
params: {
|
|
19352
|
+
source: string;
|
|
19353
|
+
destination: string;
|
|
19354
|
+
columnDestination: string;
|
|
19355
|
+
valueType: string;
|
|
19356
|
+
};
|
|
19357
|
+
} | {
|
|
19358
|
+
name: "workflow-events";
|
|
19359
|
+
params: {};
|
|
19360
|
+
} | {
|
|
19361
|
+
name: "expired-product-lifetime";
|
|
19362
|
+
params: {
|
|
19363
|
+
purchaseDatasourceId: string;
|
|
19364
|
+
purchaseQuery: string;
|
|
19365
|
+
purchaseReferenceIdField: string;
|
|
19366
|
+
purchaseTimestampField: string;
|
|
19367
|
+
purchaseClientField: string;
|
|
19368
|
+
temporalities?: {
|
|
19369
|
+
maxLifetime: number;
|
|
19370
|
+
windowStart: number;
|
|
19371
|
+
windowEnd: number;
|
|
19372
|
+
minPurchaseCount?: number;
|
|
19373
|
+
}[];
|
|
19374
|
+
};
|
|
19375
|
+
} | {
|
|
19376
|
+
name: "product-exclusion";
|
|
19377
|
+
params: {
|
|
19378
|
+
mode: "inclusion" | "exclusion";
|
|
19379
|
+
exclusionDatasourceId: string;
|
|
19380
|
+
exclusionIdField: string;
|
|
19381
|
+
productIdField: string;
|
|
19382
|
+
};
|
|
19383
|
+
} | {
|
|
19384
|
+
name: "per-user";
|
|
19385
|
+
params: {};
|
|
19386
|
+
} | {
|
|
19387
|
+
name: "generic-proxy-lock";
|
|
19388
|
+
params: {
|
|
19389
|
+
ttl: number;
|
|
19390
|
+
};
|
|
19391
|
+
} | {
|
|
19392
|
+
name: "generic-proxy-aggregation";
|
|
19393
|
+
params: {
|
|
19394
|
+
targetField: string;
|
|
19395
|
+
aggregationType: "sum" | "avg" | "min" | "max";
|
|
19396
|
+
outputField: string;
|
|
19397
|
+
};
|
|
19398
|
+
}) & readonlyP;
|
|
19399
|
+
mode: "proxy";
|
|
19400
|
+
companyId: ObjectId;
|
|
19401
|
+
resourceGroupIds: ObjectId[];
|
|
19402
|
+
versions: (ObjectId | (Document & ProxyDatasourceVersion & {
|
|
19403
|
+
_id: ObjectId;
|
|
19404
|
+
} & {
|
|
19405
|
+
__v: number;
|
|
19406
|
+
} & IObjectWithTypegooseFunction))[];
|
|
19407
|
+
readonly archivedAt: (string | null) & readonlyP;
|
|
19408
|
+
status: DatasourceStatus;
|
|
19409
|
+
readonly configurationUpdatedAt: (string) & readonlyP;
|
|
19410
|
+
readonly lastSuccessfulIngestion?: (string) & readonlyP;
|
|
19411
|
+
readonly lastFailedIngestion?: (string) & readonlyP;
|
|
19412
|
+
readonly lastFailureReason?: (string) & readonlyP;
|
|
19413
|
+
hierarchy: string[];
|
|
19414
|
+
readonly hasWarnings: (boolean) & readonlyP;
|
|
19415
|
+
};
|
|
19416
|
+
export declare type ProxyDatasource = Serialize_ProxyDatasource & {
|
|
19417
|
+
readonly id: (string) & readonlyP;
|
|
19418
|
+
} & {
|
|
19419
|
+
readonly createdAt: (string) & readonlyP;
|
|
19420
|
+
readonly updatedAt: (string) & readonlyP;
|
|
19421
|
+
};
|
|
19422
|
+
export declare type IngesterDatasourceVersion = {
|
|
19423
|
+
readonly id: (string) & readonlyP;
|
|
19424
|
+
type: {
|
|
19425
|
+
name: "analytics";
|
|
19426
|
+
options: {
|
|
19427
|
+
autoExclusions?: boolean;
|
|
19428
|
+
noStats?: boolean;
|
|
19429
|
+
};
|
|
19430
|
+
subtype: "purchases";
|
|
19431
|
+
} | {
|
|
19432
|
+
name: "generic";
|
|
19433
|
+
subtype: DatasourceGenericSubType;
|
|
19434
|
+
} | {
|
|
19435
|
+
name: "crm";
|
|
19436
|
+
subtype: DatasourceCRMSubType;
|
|
19437
|
+
} | {
|
|
19438
|
+
name: "product";
|
|
19439
|
+
subtype: DatasourceProductSubType;
|
|
19440
|
+
} | {
|
|
19441
|
+
name: "location";
|
|
19442
|
+
subtype: DatasourceLocationSubType;
|
|
19443
|
+
} | {
|
|
19444
|
+
name: "analytics";
|
|
19445
|
+
subtype: "reelevant" | "google_tag_manager" | "workflow_events" | "user" | "mutable";
|
|
19446
|
+
} | {
|
|
19447
|
+
name: "push";
|
|
19448
|
+
subtype: "email";
|
|
19449
|
+
} | {
|
|
19450
|
+
name: "loop";
|
|
19451
|
+
subtype: DatasourceLoopSubType;
|
|
19452
|
+
};
|
|
19453
|
+
fieldsMap: {
|
|
19454
|
+
name: string;
|
|
19455
|
+
type: FieldMapType;
|
|
19456
|
+
source?: FieldSource;
|
|
19457
|
+
selected: boolean;
|
|
19458
|
+
ignoreIfMissing?: boolean;
|
|
19459
|
+
metadata?: {
|
|
19460
|
+
locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en";
|
|
19461
|
+
};
|
|
19462
|
+
readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
|
|
19463
|
+
}[];
|
|
19464
|
+
mode: DatasourceMode;
|
|
19465
|
+
readonly state: (DatasourceVersionState) & readonlyP;
|
|
19466
|
+
readonly pendingSteps?: (({
|
|
19467
|
+
name: "configure_name";
|
|
19468
|
+
} | {
|
|
19469
|
+
name: "configure_resource_group_ids";
|
|
19470
|
+
} | {
|
|
19471
|
+
name: "configure_sources";
|
|
19472
|
+
} | {
|
|
19473
|
+
name: "configure_fields";
|
|
19474
|
+
} | {
|
|
19475
|
+
name: "configure_field";
|
|
19476
|
+
field: {
|
|
19477
|
+
name: string;
|
|
19478
|
+
type: FieldMapType;
|
|
19479
|
+
};
|
|
19480
|
+
} | {
|
|
19481
|
+
name: "create_oauth_client";
|
|
19482
|
+
configurationId: string;
|
|
19483
|
+
} | {
|
|
19484
|
+
name: "authorize_oauth_client";
|
|
19485
|
+
slug: string;
|
|
19486
|
+
} | {
|
|
19487
|
+
name: "configure_thresholds";
|
|
19488
|
+
} | {
|
|
19489
|
+
name: "configure_api_key";
|
|
19490
|
+
slug: "partoo";
|
|
19491
|
+
} | {
|
|
19492
|
+
name: "patch";
|
|
19493
|
+
} | {
|
|
19494
|
+
name: "validate";
|
|
19495
|
+
} | {
|
|
19496
|
+
name: "configure_google_tag_manager";
|
|
19497
|
+
} | {
|
|
19498
|
+
name: "configure_reelevant_analytics_script";
|
|
19499
|
+
} | {
|
|
19500
|
+
name: "configure_product_datasource_source";
|
|
19501
|
+
} | {
|
|
19502
|
+
name: "configure_tracking_datasource_source";
|
|
19503
|
+
} | {
|
|
19504
|
+
name: "configure_best_product_query";
|
|
19505
|
+
} | {
|
|
19506
|
+
name: "configure_best_product_field";
|
|
19507
|
+
} | {
|
|
19508
|
+
name: "configure_fetcher";
|
|
19509
|
+
} | {
|
|
19510
|
+
name: "configure_merge_datasource_source";
|
|
19511
|
+
} | {
|
|
19512
|
+
name: "configure_merge_datasource_dependency";
|
|
19513
|
+
} | {
|
|
19514
|
+
name: "configure_merge_mapping";
|
|
19515
|
+
} | {
|
|
19516
|
+
name: "configure_bought_together";
|
|
19517
|
+
} | {
|
|
19518
|
+
name: "configure_top_attributes";
|
|
19519
|
+
} | {
|
|
19520
|
+
name: "configure_destination";
|
|
19521
|
+
type: "smtp";
|
|
19522
|
+
} | {
|
|
19523
|
+
name: "configure_hierarchy";
|
|
19524
|
+
} | {
|
|
19525
|
+
name: "google_my_business_set_url";
|
|
19526
|
+
urls: {
|
|
19527
|
+
getAccount: string;
|
|
19528
|
+
final: string;
|
|
19529
|
+
};
|
|
19530
|
+
} | {
|
|
19531
|
+
name: "setup_instagram";
|
|
19532
|
+
urls: {
|
|
19533
|
+
getAccount: string;
|
|
19534
|
+
getAccountInfos: string;
|
|
19535
|
+
final: string;
|
|
19536
|
+
};
|
|
19537
|
+
})[]) & readonlyP;
|
|
19538
|
+
readonly availableFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP;
|
|
19539
|
+
readonly requiredFieldsTypes: ({
|
|
19540
|
+
[key: string]: FieldMapType;
|
|
19541
|
+
}[]) & readonlyP;
|
|
19542
|
+
readonly uniqueFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP;
|
|
19543
|
+
readonly importantFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP;
|
|
19544
|
+
} & {
|
|
19545
|
+
readonly health: ("ERROR" | "WARNING" | "OK") & readonlyP;
|
|
19546
|
+
};
|
|
19547
|
+
export declare type Serialize_IngesterDatasource = {
|
|
19548
|
+
name: string;
|
|
19549
|
+
hidden: boolean;
|
|
19550
|
+
readonly template?: (ObjectId | null) & readonlyP;
|
|
19551
|
+
readonly fetcher: ({
|
|
19552
|
+
name: DatasourceFetcherName;
|
|
19553
|
+
params: {};
|
|
19554
|
+
} | {
|
|
19555
|
+
name: "fdj-bets";
|
|
19556
|
+
params: {};
|
|
19557
|
+
} | {
|
|
19558
|
+
name: "renault-prices";
|
|
19559
|
+
params: {};
|
|
19560
|
+
} | {
|
|
19561
|
+
name: "decathlon-product-fallback";
|
|
19562
|
+
params: {};
|
|
19563
|
+
} | {
|
|
19564
|
+
name: "generic-unwind-rows";
|
|
19565
|
+
params: {
|
|
19566
|
+
source: string;
|
|
19567
|
+
destination: string;
|
|
19568
|
+
columnDestination: string;
|
|
19569
|
+
valueType: string;
|
|
19570
|
+
};
|
|
19571
|
+
} | {
|
|
19572
|
+
name: "workflow-events";
|
|
19573
|
+
params: {};
|
|
19574
|
+
} | {
|
|
19575
|
+
name: "expired-product-lifetime";
|
|
19576
|
+
params: {
|
|
19577
|
+
purchaseDatasourceId: string;
|
|
19578
|
+
purchaseQuery: string;
|
|
19579
|
+
purchaseReferenceIdField: string;
|
|
19580
|
+
purchaseTimestampField: string;
|
|
19581
|
+
purchaseClientField: string;
|
|
19582
|
+
temporalities?: {
|
|
19583
|
+
maxLifetime: number;
|
|
19584
|
+
windowStart: number;
|
|
19585
|
+
windowEnd: number;
|
|
19586
|
+
minPurchaseCount?: number;
|
|
19587
|
+
}[];
|
|
19588
|
+
};
|
|
19589
|
+
} | {
|
|
19590
|
+
name: "product-exclusion";
|
|
19591
|
+
params: {
|
|
19592
|
+
mode: "inclusion" | "exclusion";
|
|
19593
|
+
exclusionDatasourceId: string;
|
|
19594
|
+
exclusionIdField: string;
|
|
19595
|
+
productIdField: string;
|
|
19596
|
+
};
|
|
19597
|
+
} | {
|
|
19598
|
+
name: "per-user";
|
|
19599
|
+
params: {};
|
|
19600
|
+
} | {
|
|
19601
|
+
name: "generic-proxy-lock";
|
|
19602
|
+
params: {
|
|
19603
|
+
ttl: number;
|
|
19604
|
+
};
|
|
19605
|
+
} | {
|
|
19606
|
+
name: "generic-proxy-aggregation";
|
|
19607
|
+
params: {
|
|
19608
|
+
targetField: string;
|
|
19609
|
+
aggregationType: "sum" | "avg" | "min" | "max";
|
|
19610
|
+
outputField: string;
|
|
19611
|
+
};
|
|
19612
|
+
}) & readonlyP;
|
|
19613
|
+
storageOptions: {
|
|
19614
|
+
destinations: {
|
|
19615
|
+
type: "bigquery";
|
|
19616
|
+
dataset: string;
|
|
19617
|
+
tableName: string;
|
|
19618
|
+
deduplicateOptions?: {
|
|
19619
|
+
enabled: boolean;
|
|
19620
|
+
};
|
|
19621
|
+
}[];
|
|
19622
|
+
partitionCount: number;
|
|
19623
|
+
segments: {
|
|
19624
|
+
offlineSize: number;
|
|
19625
|
+
offlineReplication: number;
|
|
19626
|
+
realtimeSize: number;
|
|
19627
|
+
realtimeReplication: number;
|
|
19628
|
+
};
|
|
19629
|
+
retention?: {
|
|
19630
|
+
value: number;
|
|
19631
|
+
unit: "DAYS";
|
|
19632
|
+
};
|
|
19633
|
+
};
|
|
19634
|
+
mode: "ingester";
|
|
19635
|
+
companyId: ObjectId;
|
|
19636
|
+
resourceGroupIds: ObjectId[];
|
|
19637
|
+
versions: (ObjectId | (Document & IngesterDatasourceVersion & {
|
|
19638
|
+
_id: ObjectId;
|
|
19639
|
+
} & {
|
|
19640
|
+
__v: number;
|
|
19641
|
+
} & IObjectWithTypegooseFunction))[];
|
|
19642
|
+
readonly archivedAt: (string | null) & readonlyP;
|
|
19643
|
+
status: DatasourceStatus;
|
|
19644
|
+
readonly configurationUpdatedAt: (string) & readonlyP;
|
|
19645
|
+
readonly lastSuccessfulIngestion?: (string) & readonlyP;
|
|
19646
|
+
readonly lastFailedIngestion?: (string) & readonlyP;
|
|
19647
|
+
readonly lastFailureReason?: (string) & readonlyP;
|
|
19648
|
+
hierarchy: string[];
|
|
19649
|
+
readonly hasWarnings: (boolean) & readonlyP;
|
|
19650
|
+
};
|
|
19651
|
+
export declare type IngesterDatasource = Serialize_IngesterDatasource & {
|
|
19652
|
+
readonly id: (string) & readonlyP;
|
|
19653
|
+
} & {
|
|
19654
|
+
readonly createdAt: (string) & readonlyP;
|
|
19655
|
+
readonly updatedAt: (string) & readonlyP;
|
|
19656
|
+
};
|
|
19657
|
+
export declare type PubsubDatasourceVersion = {
|
|
19658
|
+
readonly id: (string) & readonlyP;
|
|
19659
|
+
type: {
|
|
19660
|
+
name: "analytics";
|
|
19661
|
+
options: {
|
|
19662
|
+
autoExclusions?: boolean;
|
|
19663
|
+
noStats?: boolean;
|
|
19664
|
+
};
|
|
19665
|
+
subtype: "purchases";
|
|
19666
|
+
} | {
|
|
19667
|
+
name: "generic";
|
|
19668
|
+
subtype: DatasourceGenericSubType;
|
|
19669
|
+
} | {
|
|
19670
|
+
name: "crm";
|
|
19671
|
+
subtype: DatasourceCRMSubType;
|
|
19672
|
+
} | {
|
|
19673
|
+
name: "product";
|
|
19674
|
+
subtype: DatasourceProductSubType;
|
|
19675
|
+
} | {
|
|
19676
|
+
name: "location";
|
|
19677
|
+
subtype: DatasourceLocationSubType;
|
|
19678
|
+
} | {
|
|
19679
|
+
name: "analytics";
|
|
19680
|
+
subtype: "reelevant" | "google_tag_manager" | "workflow_events" | "user" | "mutable";
|
|
19681
|
+
} | {
|
|
19682
|
+
name: "push";
|
|
19683
|
+
subtype: "email";
|
|
19684
|
+
} | {
|
|
19685
|
+
name: "loop";
|
|
19686
|
+
subtype: DatasourceLoopSubType;
|
|
19687
|
+
};
|
|
19688
|
+
fieldsMap: {
|
|
19689
|
+
name: string;
|
|
19690
|
+
type: FieldMapType;
|
|
19691
|
+
source?: FieldSource;
|
|
19692
|
+
selected: boolean;
|
|
19693
|
+
ignoreIfMissing?: boolean;
|
|
19694
|
+
metadata?: {
|
|
19695
|
+
locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en";
|
|
19696
|
+
};
|
|
19697
|
+
readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
|
|
19698
|
+
}[];
|
|
19699
|
+
mode: DatasourceMode;
|
|
19700
|
+
readonly state: (DatasourceVersionState) & readonlyP;
|
|
19701
|
+
readonly pendingSteps?: (({
|
|
19702
|
+
name: "configure_name";
|
|
19703
|
+
} | {
|
|
19704
|
+
name: "configure_resource_group_ids";
|
|
19705
|
+
} | {
|
|
19706
|
+
name: "configure_sources";
|
|
19707
|
+
} | {
|
|
19708
|
+
name: "configure_fields";
|
|
19709
|
+
} | {
|
|
19710
|
+
name: "configure_field";
|
|
19711
|
+
field: {
|
|
19712
|
+
name: string;
|
|
19713
|
+
type: FieldMapType;
|
|
19714
|
+
};
|
|
19715
|
+
} | {
|
|
19716
|
+
name: "create_oauth_client";
|
|
19717
|
+
configurationId: string;
|
|
19718
|
+
} | {
|
|
19719
|
+
name: "authorize_oauth_client";
|
|
19720
|
+
slug: string;
|
|
19721
|
+
} | {
|
|
19722
|
+
name: "configure_thresholds";
|
|
19723
|
+
} | {
|
|
19724
|
+
name: "configure_api_key";
|
|
19725
|
+
slug: "partoo";
|
|
19726
|
+
} | {
|
|
19727
|
+
name: "patch";
|
|
19728
|
+
} | {
|
|
19729
|
+
name: "validate";
|
|
19730
|
+
} | {
|
|
19731
|
+
name: "configure_google_tag_manager";
|
|
19732
|
+
} | {
|
|
19733
|
+
name: "configure_reelevant_analytics_script";
|
|
19734
|
+
} | {
|
|
19735
|
+
name: "configure_product_datasource_source";
|
|
19736
|
+
} | {
|
|
19737
|
+
name: "configure_tracking_datasource_source";
|
|
19738
|
+
} | {
|
|
19739
|
+
name: "configure_best_product_query";
|
|
19740
|
+
} | {
|
|
19741
|
+
name: "configure_best_product_field";
|
|
19742
|
+
} | {
|
|
19743
|
+
name: "configure_fetcher";
|
|
19744
|
+
} | {
|
|
19745
|
+
name: "configure_merge_datasource_source";
|
|
19746
|
+
} | {
|
|
19747
|
+
name: "configure_merge_datasource_dependency";
|
|
19748
|
+
} | {
|
|
19749
|
+
name: "configure_merge_mapping";
|
|
19750
|
+
} | {
|
|
19751
|
+
name: "configure_bought_together";
|
|
19752
|
+
} | {
|
|
19753
|
+
name: "configure_top_attributes";
|
|
19754
|
+
} | {
|
|
19755
|
+
name: "configure_destination";
|
|
19756
|
+
type: "smtp";
|
|
19757
|
+
} | {
|
|
19758
|
+
name: "configure_hierarchy";
|
|
19759
|
+
} | {
|
|
19760
|
+
name: "google_my_business_set_url";
|
|
19761
|
+
urls: {
|
|
19762
|
+
getAccount: string;
|
|
19763
|
+
final: string;
|
|
19764
|
+
};
|
|
19765
|
+
} | {
|
|
19766
|
+
name: "setup_instagram";
|
|
19767
|
+
urls: {
|
|
19768
|
+
getAccount: string;
|
|
19769
|
+
getAccountInfos: string;
|
|
19770
|
+
final: string;
|
|
19771
|
+
};
|
|
19772
|
+
})[]) & readonlyP;
|
|
19773
|
+
readonly availableFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP;
|
|
19774
|
+
readonly requiredFieldsTypes: ({
|
|
19775
|
+
[key: string]: FieldMapType;
|
|
19776
|
+
}[]) & readonlyP;
|
|
19777
|
+
readonly uniqueFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP;
|
|
19778
|
+
readonly importantFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP;
|
|
19779
|
+
} & {
|
|
19780
|
+
readonly health: ("ERROR" | "WARNING" | "OK") & readonlyP;
|
|
19781
|
+
};
|
|
19782
|
+
export declare type Serialize_PubsubDatasource = {
|
|
19783
|
+
name: string;
|
|
19784
|
+
hidden: boolean;
|
|
19785
|
+
readonly template?: (ObjectId | null) & readonlyP;
|
|
19786
|
+
readonly fetcher: ({
|
|
19787
|
+
name: DatasourceFetcherName;
|
|
19788
|
+
params: {};
|
|
19789
|
+
} | {
|
|
19790
|
+
name: "fdj-bets";
|
|
19791
|
+
params: {};
|
|
19792
|
+
} | {
|
|
19793
|
+
name: "renault-prices";
|
|
19794
|
+
params: {};
|
|
19795
|
+
} | {
|
|
19796
|
+
name: "decathlon-product-fallback";
|
|
19797
|
+
params: {};
|
|
19798
|
+
} | {
|
|
19799
|
+
name: "generic-unwind-rows";
|
|
19800
|
+
params: {
|
|
19801
|
+
source: string;
|
|
19802
|
+
destination: string;
|
|
19803
|
+
columnDestination: string;
|
|
19804
|
+
valueType: string;
|
|
19805
|
+
};
|
|
19806
|
+
} | {
|
|
19807
|
+
name: "workflow-events";
|
|
19808
|
+
params: {};
|
|
19809
|
+
} | {
|
|
19810
|
+
name: "expired-product-lifetime";
|
|
19811
|
+
params: {
|
|
19812
|
+
purchaseDatasourceId: string;
|
|
19813
|
+
purchaseQuery: string;
|
|
19814
|
+
purchaseReferenceIdField: string;
|
|
19815
|
+
purchaseTimestampField: string;
|
|
19816
|
+
purchaseClientField: string;
|
|
19817
|
+
temporalities?: {
|
|
19818
|
+
maxLifetime: number;
|
|
19819
|
+
windowStart: number;
|
|
19820
|
+
windowEnd: number;
|
|
19821
|
+
minPurchaseCount?: number;
|
|
19822
|
+
}[];
|
|
19823
|
+
};
|
|
19824
|
+
} | {
|
|
19825
|
+
name: "product-exclusion";
|
|
19826
|
+
params: {
|
|
19827
|
+
mode: "inclusion" | "exclusion";
|
|
19828
|
+
exclusionDatasourceId: string;
|
|
19829
|
+
exclusionIdField: string;
|
|
19830
|
+
productIdField: string;
|
|
19831
|
+
};
|
|
19832
|
+
} | {
|
|
19833
|
+
name: "per-user";
|
|
19834
|
+
params: {};
|
|
19835
|
+
} | {
|
|
19836
|
+
name: "generic-proxy-lock";
|
|
19837
|
+
params: {
|
|
19838
|
+
ttl: number;
|
|
19839
|
+
};
|
|
19840
|
+
} | {
|
|
19841
|
+
name: "generic-proxy-aggregation";
|
|
19842
|
+
params: {
|
|
19843
|
+
targetField: string;
|
|
19844
|
+
aggregationType: "sum" | "avg" | "min" | "max";
|
|
19845
|
+
outputField: string;
|
|
19846
|
+
};
|
|
19847
|
+
}) & readonlyP;
|
|
19848
|
+
storageOptions: {
|
|
19849
|
+
destinations: {
|
|
19850
|
+
type: "bigquery";
|
|
19851
|
+
dataset: string;
|
|
19852
|
+
tableName: string;
|
|
19853
|
+
deduplicateOptions?: {
|
|
19854
|
+
enabled: boolean;
|
|
19855
|
+
};
|
|
19856
|
+
}[];
|
|
19857
|
+
partitionCount: number;
|
|
19858
|
+
segments: {
|
|
19859
|
+
offlineSize: number;
|
|
19860
|
+
offlineReplication: number;
|
|
19861
|
+
realtimeSize: number;
|
|
19862
|
+
realtimeReplication: number;
|
|
19863
|
+
};
|
|
19864
|
+
retention?: {
|
|
19865
|
+
value: number;
|
|
19866
|
+
unit: "DAYS";
|
|
19867
|
+
};
|
|
19868
|
+
};
|
|
19869
|
+
mode: "pubsub";
|
|
19870
|
+
companyId: ObjectId;
|
|
19871
|
+
resourceGroupIds: ObjectId[];
|
|
19872
|
+
versions: (ObjectId | (Document & PubsubDatasourceVersion & {
|
|
19873
|
+
_id: ObjectId;
|
|
19874
|
+
} & {
|
|
19875
|
+
__v: number;
|
|
19876
|
+
} & IObjectWithTypegooseFunction))[];
|
|
19877
|
+
readonly archivedAt: (string | null) & readonlyP;
|
|
19878
|
+
status: DatasourceStatus;
|
|
19879
|
+
readonly configurationUpdatedAt: (string) & readonlyP;
|
|
19880
|
+
readonly lastSuccessfulIngestion?: (string) & readonlyP;
|
|
19881
|
+
readonly lastFailedIngestion?: (string) & readonlyP;
|
|
19882
|
+
readonly lastFailureReason?: (string) & readonlyP;
|
|
19883
|
+
hierarchy: string[];
|
|
19884
|
+
readonly hasWarnings: (boolean) & readonlyP;
|
|
19885
|
+
};
|
|
19886
|
+
export declare type PubsubDatasource = Serialize_PubsubDatasource & {
|
|
19887
|
+
readonly id: (string) & readonlyP;
|
|
19888
|
+
} & {
|
|
19889
|
+
readonly createdAt: (string) & readonlyP;
|
|
19890
|
+
readonly updatedAt: (string) & readonlyP;
|
|
19891
|
+
};
|
|
19892
|
+
export declare type InternalResponse_Array_Union_PushDatasource_WorkerDatasource_ProxyDatasource_IngesterDatasource_PubsubDatasource = {
|
|
19893
|
+
program: string;
|
|
19894
|
+
version: string;
|
|
19895
|
+
datetime: string;
|
|
19896
|
+
status: string;
|
|
19897
|
+
code?: number;
|
|
19898
|
+
message: string;
|
|
19899
|
+
data: (PushDatasource | WorkerDatasource | ProxyDatasource | IngesterDatasource | PubsubDatasource)[];
|
|
19900
|
+
};
|
|
19901
|
+
export declare type FieldMap_With_Name_Type_Primitive = {
|
|
19902
|
+
name: string;
|
|
19903
|
+
type: FieldMapType;
|
|
19904
|
+
readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
|
|
19905
|
+
};
|
|
19906
|
+
export declare type QueriableField = FieldMap_With_Name_Type_Primitive & {
|
|
19907
|
+
required: boolean;
|
|
19908
|
+
unique: boolean;
|
|
19909
|
+
sortable: boolean;
|
|
19910
|
+
enum?: (string | number)[];
|
|
19911
|
+
allowedOperators: (("$eq" | "$ne" | "$contains" | "$notcontains" | "$startswith" | "$endswith" | "$empty" | "eq" | "ne" | "contains" | "notcontains" | "startswith" | "endswith" | "empty" | "$neq" | "$nne" | "$lt" | "$lte" | "$gt" | "$gte" | "neq" | "nne" | "lt" | "lte" | "gt" | "gte" | "$rangefuture" | "$rangepast" | "$nrangefuture" | "$nrangepast" | "rangefuture" | "rangepast" | "nrangefuture" | "nrangepast") | ("$eq" | "$ne" | "$contains" | "$notcontains" | "$startswith" | "$endswith" | "$empty" | "eq" | "ne" | "contains" | "notcontains" | "startswith" | "endswith" | "empty" | "$neq" | "$nne" | "$lt" | "$lte" | "$gt" | "$gte" | "neq" | "nne" | "lt" | "lte" | "gt" | "gte" | "$rangefuture" | "$rangepast" | "$nrangefuture" | "$nrangepast" | "rangefuture" | "rangepast" | "nrangefuture" | "nrangepast"))[];
|
|
19912
|
+
};
|
|
19913
|
+
export declare type InternalResponse_Union_Intersection_PushDatasource_example_Union_undefined_Record_queriableFields_Union_undefined_Array_QueriableField_Intersection_WorkerDatasource_example_Union_undefined_Record_queriableFields_Union_undefined_Array_QueriableField_Intersection_ProxyDatasource_example_Union_undefined_Record_queriableFields_Union_undefined_Array_QueriableField_Intersection_IngesterDatasource_example_Union_undefined_Record_queriableFields_Union_undefined_Array_QueriableField_Intersection_PubsubDatasource_example_Union_undefined_Record_queriableFields_Union_undefined_Array_QueriableField = {
|
|
19914
|
+
program: string;
|
|
19915
|
+
version: string;
|
|
19916
|
+
datetime: string;
|
|
19917
|
+
status: string;
|
|
19918
|
+
code?: number;
|
|
19919
|
+
message: string;
|
|
19920
|
+
data: (PushDatasource & {
|
|
19921
|
+
example?: {
|
|
19922
|
+
[key: string]: AnyValue;
|
|
19923
|
+
};
|
|
19924
|
+
queriableFields?: QueriableField[];
|
|
19925
|
+
}) | (WorkerDatasource & {
|
|
19926
|
+
example?: {
|
|
19927
|
+
[key: string]: AnyValue;
|
|
19928
|
+
};
|
|
19929
|
+
queriableFields?: QueriableField[];
|
|
19930
|
+
}) | (ProxyDatasource & {
|
|
19931
|
+
example?: {
|
|
19932
|
+
[key: string]: AnyValue;
|
|
19933
|
+
};
|
|
19934
|
+
queriableFields?: QueriableField[];
|
|
19935
|
+
}) | (IngesterDatasource & {
|
|
19936
|
+
example?: {
|
|
19937
|
+
[key: string]: AnyValue;
|
|
19938
|
+
};
|
|
19939
|
+
queriableFields?: QueriableField[];
|
|
19940
|
+
}) | (PubsubDatasource & {
|
|
19941
|
+
example?: {
|
|
19942
|
+
[key: string]: AnyValue;
|
|
19943
|
+
};
|
|
19944
|
+
queriableFields?: QueriableField[];
|
|
19945
|
+
});
|
|
19946
|
+
};
|
|
18556
19947
|
export declare type InternalResponse_example_Record = {
|
|
18557
19948
|
program: string;
|
|
18558
19949
|
version: string;
|
|
@@ -18595,16 +19986,11 @@ export declare type DatasourceLocation = {
|
|
|
18595
19986
|
name: "location";
|
|
18596
19987
|
subtype: DatasourceLocationSubType;
|
|
18597
19988
|
};
|
|
18598
|
-
export declare enum DatasourceLoopSubType {
|
|
18599
|
-
SCORES = "scores",
|
|
18600
|
-
MESSAGING_PLAN = "messaging_plan",
|
|
18601
|
-
AUDIT = "audit"
|
|
18602
|
-
}
|
|
18603
19989
|
export declare type DatasourceLoop = {
|
|
18604
19990
|
name: "loop";
|
|
18605
19991
|
subtype: DatasourceLoopSubType;
|
|
18606
19992
|
};
|
|
18607
|
-
export declare type
|
|
19993
|
+
export declare type InternalResponse_Intersection_bucket_string_path_string_format_Union_type_csv_options_csvDelimiter_Union_undefined_string_csvColumns_Union_undefined_Array_string_type_ndjson_options__type_json_options_rootPath_string_type_xml_options_rootPath_string_type_xlsx_options__type_parquet_options_columnsList_Union_undefined_Array_string_version_Union_undefined_string_type_avro_options__textEncoding_string_PgpDecryptionOptions = {
|
|
18608
19994
|
program: string;
|
|
18609
19995
|
version: string;
|
|
18610
19996
|
datetime: string;
|
|
@@ -18618,6 +20004,7 @@ export declare type InternalResponse_Intersection_bucket_string_path_string_form
|
|
|
18618
20004
|
type: "csv";
|
|
18619
20005
|
options: {
|
|
18620
20006
|
csvDelimiter?: string;
|
|
20007
|
+
csvColumns?: string[];
|
|
18621
20008
|
};
|
|
18622
20009
|
} | {
|
|
18623
20010
|
type: "ndjson";
|
|
@@ -19522,6 +20909,15 @@ export declare type WorkerSteps = {
|
|
|
19522
20909
|
};
|
|
19523
20910
|
segmentBatchSize?: number;
|
|
19524
20911
|
sftpPublicKey?: string;
|
|
20912
|
+
} & {
|
|
20913
|
+
destinations?: {
|
|
20914
|
+
type: "bigquery";
|
|
20915
|
+
dataset: string;
|
|
20916
|
+
tableName: string;
|
|
20917
|
+
deduplicateOptions?: {
|
|
20918
|
+
enabled: boolean;
|
|
20919
|
+
};
|
|
20920
|
+
}[];
|
|
19525
20921
|
};
|
|
19526
20922
|
} | {
|
|
19527
20923
|
name: "configure_fetcher";
|
|
@@ -20929,6 +22325,15 @@ export declare type IngesterSteps = {
|
|
|
20929
22325
|
username: string;
|
|
20930
22326
|
password: string;
|
|
20931
22327
|
};
|
|
22328
|
+
} & {
|
|
22329
|
+
destinations?: {
|
|
22330
|
+
type: "bigquery";
|
|
22331
|
+
dataset: string;
|
|
22332
|
+
tableName: string;
|
|
22333
|
+
deduplicateOptions?: {
|
|
22334
|
+
enabled: boolean;
|
|
22335
|
+
};
|
|
22336
|
+
}[];
|
|
20932
22337
|
};
|
|
20933
22338
|
} | {
|
|
20934
22339
|
name: "configure_fetcher";
|
|
@@ -21576,6 +22981,18 @@ export declare type PubsubSteps = {
|
|
|
21576
22981
|
payload: {
|
|
21577
22982
|
value: string;
|
|
21578
22983
|
};
|
|
22984
|
+
} | {
|
|
22985
|
+
name: "patch";
|
|
22986
|
+
payload: {
|
|
22987
|
+
destinations?: {
|
|
22988
|
+
type: "bigquery";
|
|
22989
|
+
dataset: string;
|
|
22990
|
+
tableName: string;
|
|
22991
|
+
deduplicateOptions?: {
|
|
22992
|
+
enabled: boolean;
|
|
22993
|
+
};
|
|
22994
|
+
}[];
|
|
22995
|
+
};
|
|
21579
22996
|
} | {
|
|
21580
22997
|
name: "configure_fetcher";
|
|
21581
22998
|
payload: {
|
|
@@ -21749,10 +23166,4 @@ export declare type PushSteps = {
|
|
|
21749
23166
|
name: "configure_hierarchy";
|
|
21750
23167
|
payload: string[];
|
|
21751
23168
|
};
|
|
21752
|
-
export declare enum DatasourceVersionState {
|
|
21753
|
-
LIVE = "LIVE",
|
|
21754
|
-
DRAFT = "DRAFT",
|
|
21755
|
-
SCHEDULED = "SCHEDULED",
|
|
21756
|
-
INACTIVE = "INACTIVE"
|
|
21757
|
-
}
|
|
21758
23169
|
export {};
|