@rlvt/datasources-openapi-client 1.0.262 → 1.0.263
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 +103 -73
- package/build/definitions.d.ts +32 -16
- package/build/definitions.js +2 -1
- package/package.json +1 -1
package/build/api.d.ts
CHANGED
|
@@ -63,15 +63,20 @@ export default class {
|
|
|
63
63
|
readonly?: "__readonly" | undefined;
|
|
64
64
|
};
|
|
65
65
|
configuration: string | {
|
|
66
|
-
tokenUrl: string;
|
|
67
|
-
authorizeUrl?: string | undefined;
|
|
68
66
|
clientId: string;
|
|
69
67
|
scopes: string[];
|
|
68
|
+
method?: "GET" | "POST" | undefined;
|
|
69
|
+
tokenUrl: string;
|
|
70
|
+
authorizeUrl?: string | undefined;
|
|
70
71
|
authorizeUrlQueryParams?: {
|
|
71
72
|
[x: string]: string;
|
|
72
73
|
} | undefined;
|
|
73
74
|
mode?: import("./definitions").AuthenticationMode | undefined;
|
|
74
75
|
accessTokenHeader?: string | undefined;
|
|
76
|
+
payload?: {
|
|
77
|
+
[x: string]: "clientId" | "clientSecret" | "scopes";
|
|
78
|
+
} | undefined;
|
|
79
|
+
tokenExpiration?: number | undefined;
|
|
75
80
|
};
|
|
76
81
|
}[];
|
|
77
82
|
}, any>>;
|
|
@@ -89,33 +94,43 @@ export default class {
|
|
|
89
94
|
writeonly?: "__writeonly" | undefined;
|
|
90
95
|
}) | undefined;
|
|
91
96
|
configuration: string | {
|
|
92
|
-
tokenUrl: string;
|
|
93
|
-
authorizeUrl?: string | undefined;
|
|
94
97
|
clientId: string;
|
|
95
98
|
clientSecret: string & {
|
|
96
99
|
writeonly?: "__writeonly" | undefined;
|
|
97
100
|
};
|
|
98
101
|
scopes: string[];
|
|
102
|
+
method?: "GET" | "POST" | undefined;
|
|
103
|
+
tokenUrl: string;
|
|
104
|
+
authorizeUrl?: string | undefined;
|
|
99
105
|
authorizeUrlQueryParams?: {
|
|
100
106
|
[x: string]: string;
|
|
101
107
|
} | undefined;
|
|
102
108
|
mode?: import("./definitions").AuthenticationMode | undefined;
|
|
103
109
|
accessTokenHeader?: string | undefined;
|
|
110
|
+
payload?: {
|
|
111
|
+
[x: string]: "clientId" | "clientSecret" | "scopes";
|
|
112
|
+
} | undefined;
|
|
113
|
+
tokenExpiration?: number | undefined;
|
|
104
114
|
};
|
|
105
115
|
} & {
|
|
106
116
|
configuration: string | {
|
|
107
|
-
tokenUrl: string;
|
|
108
|
-
authorizeUrl?: string | undefined;
|
|
109
117
|
clientId: string;
|
|
110
118
|
clientSecret: string & {
|
|
111
119
|
writeonly?: "__writeonly" | undefined;
|
|
112
120
|
};
|
|
113
121
|
scopes: string[];
|
|
122
|
+
method?: "GET" | "POST" | undefined;
|
|
123
|
+
tokenUrl: string;
|
|
124
|
+
authorizeUrl?: string | undefined;
|
|
114
125
|
authorizeUrlQueryParams?: {
|
|
115
126
|
[x: string]: string;
|
|
116
127
|
} | undefined;
|
|
117
128
|
mode?: import("./definitions").AuthenticationMode | undefined;
|
|
118
129
|
accessTokenHeader?: string | undefined;
|
|
130
|
+
payload?: {
|
|
131
|
+
[x: string]: "clientId" | "clientSecret" | "scopes";
|
|
132
|
+
} | undefined;
|
|
133
|
+
tokenExpiration?: number | undefined;
|
|
119
134
|
};
|
|
120
135
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
121
136
|
status: "success";
|
|
@@ -145,47 +160,62 @@ export default class {
|
|
|
145
160
|
readonly?: "__readonly" | undefined;
|
|
146
161
|
};
|
|
147
162
|
configuration: string | {
|
|
148
|
-
tokenUrl: string;
|
|
149
|
-
authorizeUrl?: string | undefined;
|
|
150
163
|
clientId: string;
|
|
151
164
|
scopes: string[];
|
|
165
|
+
method?: "GET" | "POST" | undefined;
|
|
166
|
+
tokenUrl: string;
|
|
167
|
+
authorizeUrl?: string | undefined;
|
|
152
168
|
authorizeUrlQueryParams?: {
|
|
153
169
|
[x: string]: string;
|
|
154
170
|
} | undefined;
|
|
155
171
|
mode?: import("./definitions").AuthenticationMode | undefined;
|
|
156
172
|
accessTokenHeader?: string | undefined;
|
|
173
|
+
payload?: {
|
|
174
|
+
[x: string]: "clientId" | "clientSecret" | "scopes";
|
|
175
|
+
} | undefined;
|
|
176
|
+
tokenExpiration?: number | undefined;
|
|
157
177
|
};
|
|
158
178
|
};
|
|
159
179
|
}, any>>;
|
|
160
180
|
update: (params: {
|
|
161
181
|
id: string;
|
|
162
182
|
}, data: {
|
|
163
|
-
tokenUrl?: string | undefined;
|
|
164
|
-
authorizeUrl?: string | undefined;
|
|
165
183
|
clientId?: string | undefined;
|
|
166
184
|
clientSecret?: (string & {
|
|
167
185
|
writeonly?: "__writeonly" | undefined;
|
|
168
186
|
}) | undefined;
|
|
169
187
|
scopes?: string[] | undefined;
|
|
188
|
+
method?: "GET" | "POST" | undefined;
|
|
189
|
+
tokenUrl?: string | undefined;
|
|
190
|
+
authorizeUrl?: string | undefined;
|
|
170
191
|
authorizeUrlQueryParams?: {
|
|
171
192
|
[x: string]: string;
|
|
172
193
|
} | undefined;
|
|
173
194
|
mode?: import("./definitions").AuthenticationMode | undefined;
|
|
174
195
|
accessTokenHeader?: string | undefined;
|
|
196
|
+
payload?: {
|
|
197
|
+
[x: string]: "clientId" | "clientSecret" | "scopes";
|
|
198
|
+
} | undefined;
|
|
199
|
+
tokenExpiration?: number | undefined;
|
|
175
200
|
} & {
|
|
176
201
|
configuration?: {
|
|
177
|
-
tokenUrl?: string | undefined;
|
|
178
|
-
authorizeUrl?: string | undefined;
|
|
179
202
|
clientId?: string | undefined;
|
|
180
203
|
clientSecret?: (string & {
|
|
181
204
|
writeonly?: "__writeonly" | undefined;
|
|
182
205
|
}) | undefined;
|
|
183
206
|
scopes?: string[] | undefined;
|
|
207
|
+
method?: "GET" | "POST" | undefined;
|
|
208
|
+
tokenUrl?: string | undefined;
|
|
209
|
+
authorizeUrl?: string | undefined;
|
|
184
210
|
authorizeUrlQueryParams?: {
|
|
185
211
|
[x: string]: string;
|
|
186
212
|
} | undefined;
|
|
187
213
|
mode?: import("./definitions").AuthenticationMode | undefined;
|
|
188
214
|
accessTokenHeader?: string | undefined;
|
|
215
|
+
payload?: {
|
|
216
|
+
[x: string]: "clientId" | "clientSecret" | "scopes";
|
|
217
|
+
} | undefined;
|
|
218
|
+
tokenExpiration?: number | undefined;
|
|
189
219
|
} | undefined;
|
|
190
220
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
191
221
|
status: "success";
|
|
@@ -354,7 +384,7 @@ export default class {
|
|
|
354
384
|
headers?: {
|
|
355
385
|
[x: string]: string;
|
|
356
386
|
} | undefined;
|
|
357
|
-
method?: "GET" | "
|
|
387
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
358
388
|
timeout?: number | undefined;
|
|
359
389
|
oauth?: string | undefined;
|
|
360
390
|
pagination?: {
|
|
@@ -683,7 +713,7 @@ export default class {
|
|
|
683
713
|
headers?: {
|
|
684
714
|
[x: string]: string;
|
|
685
715
|
} | undefined;
|
|
686
|
-
method?: "GET" | "
|
|
716
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
687
717
|
timeout?: number | undefined;
|
|
688
718
|
oauth?: string | undefined;
|
|
689
719
|
variables?: {
|
|
@@ -1741,7 +1771,7 @@ export default class {
|
|
|
1741
1771
|
headers?: {
|
|
1742
1772
|
[x: string]: string;
|
|
1743
1773
|
} | undefined;
|
|
1744
|
-
method?: "GET" | "
|
|
1774
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
1745
1775
|
timeout?: number | undefined;
|
|
1746
1776
|
oauth?: string | undefined;
|
|
1747
1777
|
pagination?: {
|
|
@@ -2545,7 +2575,7 @@ export default class {
|
|
|
2545
2575
|
headers?: {
|
|
2546
2576
|
[x: string]: string;
|
|
2547
2577
|
} | undefined;
|
|
2548
|
-
method?: "GET" | "
|
|
2578
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
2549
2579
|
timeout?: number | undefined;
|
|
2550
2580
|
oauth?: string | undefined;
|
|
2551
2581
|
pagination?: {
|
|
@@ -3301,7 +3331,7 @@ export default class {
|
|
|
3301
3331
|
headers?: {
|
|
3302
3332
|
[x: string]: string;
|
|
3303
3333
|
} | undefined;
|
|
3304
|
-
method?: "GET" | "
|
|
3334
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
3305
3335
|
timeout?: number | undefined;
|
|
3306
3336
|
oauth?: string | undefined;
|
|
3307
3337
|
pagination?: {
|
|
@@ -3631,7 +3661,7 @@ export default class {
|
|
|
3631
3661
|
headers?: {
|
|
3632
3662
|
[x: string]: string;
|
|
3633
3663
|
} | undefined;
|
|
3634
|
-
method?: "GET" | "
|
|
3664
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
3635
3665
|
timeout?: number | undefined;
|
|
3636
3666
|
oauth?: string | undefined;
|
|
3637
3667
|
pagination?: {
|
|
@@ -4436,7 +4466,7 @@ export default class {
|
|
|
4436
4466
|
headers?: {
|
|
4437
4467
|
[x: string]: string;
|
|
4438
4468
|
} | undefined;
|
|
4439
|
-
method?: "GET" | "
|
|
4469
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
4440
4470
|
timeout?: number | undefined;
|
|
4441
4471
|
oauth?: string | undefined;
|
|
4442
4472
|
pagination?: {
|
|
@@ -5192,7 +5222,7 @@ export default class {
|
|
|
5192
5222
|
headers?: {
|
|
5193
5223
|
[x: string]: string;
|
|
5194
5224
|
} | undefined;
|
|
5195
|
-
method?: "GET" | "
|
|
5225
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
5196
5226
|
timeout?: number | undefined;
|
|
5197
5227
|
oauth?: string | undefined;
|
|
5198
5228
|
pagination?: {
|
|
@@ -5638,7 +5668,7 @@ export default class {
|
|
|
5638
5668
|
headers?: {
|
|
5639
5669
|
[x: string]: string;
|
|
5640
5670
|
} | undefined;
|
|
5641
|
-
method?: "GET" | "
|
|
5671
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
5642
5672
|
timeout?: number | undefined;
|
|
5643
5673
|
oauth?: string | undefined;
|
|
5644
5674
|
variables?: {
|
|
@@ -6364,7 +6394,7 @@ export default class {
|
|
|
6364
6394
|
headers?: {
|
|
6365
6395
|
[x: string]: string;
|
|
6366
6396
|
} | undefined;
|
|
6367
|
-
method?: "GET" | "
|
|
6397
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
6368
6398
|
timeout?: number | undefined;
|
|
6369
6399
|
oauth?: string | undefined;
|
|
6370
6400
|
pagination?: {
|
|
@@ -7120,7 +7150,7 @@ export default class {
|
|
|
7120
7150
|
headers?: {
|
|
7121
7151
|
[x: string]: string;
|
|
7122
7152
|
} | undefined;
|
|
7123
|
-
method?: "GET" | "
|
|
7153
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
7124
7154
|
timeout?: number | undefined;
|
|
7125
7155
|
oauth?: string | undefined;
|
|
7126
7156
|
pagination?: {
|
|
@@ -7927,7 +7957,7 @@ export default class {
|
|
|
7927
7957
|
headers?: {
|
|
7928
7958
|
[x: string]: string;
|
|
7929
7959
|
} | undefined;
|
|
7930
|
-
method?: "GET" | "
|
|
7960
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
7931
7961
|
timeout?: number | undefined;
|
|
7932
7962
|
oauth?: string | undefined;
|
|
7933
7963
|
pagination?: {
|
|
@@ -8731,7 +8761,7 @@ export default class {
|
|
|
8731
8761
|
headers?: {
|
|
8732
8762
|
[x: string]: string;
|
|
8733
8763
|
} | undefined;
|
|
8734
|
-
method?: "GET" | "
|
|
8764
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
8735
8765
|
timeout?: number | undefined;
|
|
8736
8766
|
oauth?: string | undefined;
|
|
8737
8767
|
pagination?: {
|
|
@@ -9487,7 +9517,7 @@ export default class {
|
|
|
9487
9517
|
headers?: {
|
|
9488
9518
|
[x: string]: string;
|
|
9489
9519
|
} | undefined;
|
|
9490
|
-
method?: "GET" | "
|
|
9520
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
9491
9521
|
timeout?: number | undefined;
|
|
9492
9522
|
oauth?: string | undefined;
|
|
9493
9523
|
pagination?: {
|
|
@@ -9817,7 +9847,7 @@ export default class {
|
|
|
9817
9847
|
headers?: {
|
|
9818
9848
|
[x: string]: string;
|
|
9819
9849
|
} | undefined;
|
|
9820
|
-
method?: "GET" | "
|
|
9850
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
9821
9851
|
timeout?: number | undefined;
|
|
9822
9852
|
oauth?: string | undefined;
|
|
9823
9853
|
pagination?: {
|
|
@@ -10622,7 +10652,7 @@ export default class {
|
|
|
10622
10652
|
headers?: {
|
|
10623
10653
|
[x: string]: string;
|
|
10624
10654
|
} | undefined;
|
|
10625
|
-
method?: "GET" | "
|
|
10655
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
10626
10656
|
timeout?: number | undefined;
|
|
10627
10657
|
oauth?: string | undefined;
|
|
10628
10658
|
pagination?: {
|
|
@@ -11378,7 +11408,7 @@ export default class {
|
|
|
11378
11408
|
headers?: {
|
|
11379
11409
|
[x: string]: string;
|
|
11380
11410
|
} | undefined;
|
|
11381
|
-
method?: "GET" | "
|
|
11411
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
11382
11412
|
timeout?: number | undefined;
|
|
11383
11413
|
oauth?: string | undefined;
|
|
11384
11414
|
pagination?: {
|
|
@@ -11824,7 +11854,7 @@ export default class {
|
|
|
11824
11854
|
headers?: {
|
|
11825
11855
|
[x: string]: string;
|
|
11826
11856
|
} | undefined;
|
|
11827
|
-
method?: "GET" | "
|
|
11857
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
11828
11858
|
timeout?: number | undefined;
|
|
11829
11859
|
oauth?: string | undefined;
|
|
11830
11860
|
variables?: {
|
|
@@ -12550,7 +12580,7 @@ export default class {
|
|
|
12550
12580
|
headers?: {
|
|
12551
12581
|
[x: string]: string;
|
|
12552
12582
|
} | undefined;
|
|
12553
|
-
method?: "GET" | "
|
|
12583
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
12554
12584
|
timeout?: number | undefined;
|
|
12555
12585
|
oauth?: string | undefined;
|
|
12556
12586
|
pagination?: {
|
|
@@ -13306,7 +13336,7 @@ export default class {
|
|
|
13306
13336
|
headers?: {
|
|
13307
13337
|
[x: string]: string;
|
|
13308
13338
|
} | undefined;
|
|
13309
|
-
method?: "GET" | "
|
|
13339
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
13310
13340
|
timeout?: number | undefined;
|
|
13311
13341
|
oauth?: string | undefined;
|
|
13312
13342
|
pagination?: {
|
|
@@ -14112,7 +14142,7 @@ export default class {
|
|
|
14112
14142
|
headers?: {
|
|
14113
14143
|
[x: string]: string;
|
|
14114
14144
|
} | undefined;
|
|
14115
|
-
method?: "GET" | "
|
|
14145
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
14116
14146
|
timeout?: number | undefined;
|
|
14117
14147
|
oauth?: string | undefined;
|
|
14118
14148
|
pagination?: {
|
|
@@ -14916,7 +14946,7 @@ export default class {
|
|
|
14916
14946
|
headers?: {
|
|
14917
14947
|
[x: string]: string;
|
|
14918
14948
|
} | undefined;
|
|
14919
|
-
method?: "GET" | "
|
|
14949
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
14920
14950
|
timeout?: number | undefined;
|
|
14921
14951
|
oauth?: string | undefined;
|
|
14922
14952
|
pagination?: {
|
|
@@ -15672,7 +15702,7 @@ export default class {
|
|
|
15672
15702
|
headers?: {
|
|
15673
15703
|
[x: string]: string;
|
|
15674
15704
|
} | undefined;
|
|
15675
|
-
method?: "GET" | "
|
|
15705
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
15676
15706
|
timeout?: number | undefined;
|
|
15677
15707
|
oauth?: string | undefined;
|
|
15678
15708
|
pagination?: {
|
|
@@ -16002,7 +16032,7 @@ export default class {
|
|
|
16002
16032
|
headers?: {
|
|
16003
16033
|
[x: string]: string;
|
|
16004
16034
|
} | undefined;
|
|
16005
|
-
method?: "GET" | "
|
|
16035
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
16006
16036
|
timeout?: number | undefined;
|
|
16007
16037
|
oauth?: string | undefined;
|
|
16008
16038
|
pagination?: {
|
|
@@ -16807,7 +16837,7 @@ export default class {
|
|
|
16807
16837
|
headers?: {
|
|
16808
16838
|
[x: string]: string;
|
|
16809
16839
|
} | undefined;
|
|
16810
|
-
method?: "GET" | "
|
|
16840
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
16811
16841
|
timeout?: number | undefined;
|
|
16812
16842
|
oauth?: string | undefined;
|
|
16813
16843
|
pagination?: {
|
|
@@ -17563,7 +17593,7 @@ export default class {
|
|
|
17563
17593
|
headers?: {
|
|
17564
17594
|
[x: string]: string;
|
|
17565
17595
|
} | undefined;
|
|
17566
|
-
method?: "GET" | "
|
|
17596
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
17567
17597
|
timeout?: number | undefined;
|
|
17568
17598
|
oauth?: string | undefined;
|
|
17569
17599
|
pagination?: {
|
|
@@ -18025,7 +18055,7 @@ export default class {
|
|
|
18025
18055
|
headers?: {
|
|
18026
18056
|
[x: string]: string;
|
|
18027
18057
|
} | undefined;
|
|
18028
|
-
method?: "GET" | "
|
|
18058
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
18029
18059
|
timeout?: number | undefined;
|
|
18030
18060
|
oauth?: string | undefined;
|
|
18031
18061
|
variables?: {
|
|
@@ -18751,7 +18781,7 @@ export default class {
|
|
|
18751
18781
|
headers?: {
|
|
18752
18782
|
[x: string]: string;
|
|
18753
18783
|
} | undefined;
|
|
18754
|
-
method?: "GET" | "
|
|
18784
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
18755
18785
|
timeout?: number | undefined;
|
|
18756
18786
|
oauth?: string | undefined;
|
|
18757
18787
|
pagination?: {
|
|
@@ -19507,7 +19537,7 @@ export default class {
|
|
|
19507
19537
|
headers?: {
|
|
19508
19538
|
[x: string]: string;
|
|
19509
19539
|
} | undefined;
|
|
19510
|
-
method?: "GET" | "
|
|
19540
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
19511
19541
|
timeout?: number | undefined;
|
|
19512
19542
|
oauth?: string | undefined;
|
|
19513
19543
|
pagination?: {
|
|
@@ -19863,10 +19893,10 @@ export default class {
|
|
|
19863
19893
|
readonly id: string & {
|
|
19864
19894
|
readonly?: "__readonly" | undefined;
|
|
19865
19895
|
};
|
|
19896
|
+
payload: unknown;
|
|
19866
19897
|
version: string;
|
|
19867
19898
|
contentVersion: number;
|
|
19868
19899
|
type: "too_many_invalid_entries" | "entries_drop_rate_too_high" | "failed_to_pull" | "fatal" | "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";
|
|
19869
|
-
payload: unknown;
|
|
19870
19900
|
datasourceId: string;
|
|
19871
19901
|
date: string;
|
|
19872
19902
|
level: import("./definitions").LogLevel;
|
|
@@ -19919,7 +19949,7 @@ export default class {
|
|
|
19919
19949
|
headers?: {
|
|
19920
19950
|
[x: string]: string;
|
|
19921
19951
|
} | undefined;
|
|
19922
|
-
method?: "GET" | "
|
|
19952
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
19923
19953
|
timeout?: number | undefined;
|
|
19924
19954
|
oauth?: string | undefined;
|
|
19925
19955
|
pagination?: {
|
|
@@ -20424,7 +20454,7 @@ export default class {
|
|
|
20424
20454
|
headers?: {
|
|
20425
20455
|
[x: string]: string;
|
|
20426
20456
|
} | undefined;
|
|
20427
|
-
method?: "GET" | "
|
|
20457
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
20428
20458
|
timeout?: number | undefined;
|
|
20429
20459
|
oauth?: string | undefined;
|
|
20430
20460
|
pagination?: {
|
|
@@ -21180,7 +21210,7 @@ export default class {
|
|
|
21180
21210
|
headers?: {
|
|
21181
21211
|
[x: string]: string;
|
|
21182
21212
|
} | undefined;
|
|
21183
|
-
method?: "GET" | "
|
|
21213
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
21184
21214
|
timeout?: number | undefined;
|
|
21185
21215
|
oauth?: string | undefined;
|
|
21186
21216
|
pagination?: {
|
|
@@ -22350,7 +22380,7 @@ export default class {
|
|
|
22350
22380
|
headers?: {
|
|
22351
22381
|
[x: string]: string;
|
|
22352
22382
|
} | undefined;
|
|
22353
|
-
method?: "GET" | "
|
|
22383
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
22354
22384
|
timeout?: number | undefined;
|
|
22355
22385
|
oauth?: string | undefined;
|
|
22356
22386
|
variables?: {
|
|
@@ -22837,7 +22867,7 @@ export default class {
|
|
|
22837
22867
|
headers?: {
|
|
22838
22868
|
[x: string]: string;
|
|
22839
22869
|
} | undefined;
|
|
22840
|
-
method?: "GET" | "
|
|
22870
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
22841
22871
|
timeout?: number | undefined;
|
|
22842
22872
|
oauth?: string | undefined;
|
|
22843
22873
|
pagination?: {
|
|
@@ -23593,7 +23623,7 @@ export default class {
|
|
|
23593
23623
|
headers?: {
|
|
23594
23624
|
[x: string]: string;
|
|
23595
23625
|
} | undefined;
|
|
23596
|
-
method?: "GET" | "
|
|
23626
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
23597
23627
|
timeout?: number | undefined;
|
|
23598
23628
|
oauth?: string | undefined;
|
|
23599
23629
|
pagination?: {
|
|
@@ -24981,7 +25011,7 @@ export default class {
|
|
|
24981
25011
|
headers?: {
|
|
24982
25012
|
[x: string]: string;
|
|
24983
25013
|
} | undefined;
|
|
24984
|
-
method?: "GET" | "
|
|
25014
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
24985
25015
|
timeout?: number | undefined;
|
|
24986
25016
|
oauth?: string | undefined;
|
|
24987
25017
|
pagination?: {
|
|
@@ -25486,7 +25516,7 @@ export default class {
|
|
|
25486
25516
|
headers?: {
|
|
25487
25517
|
[x: string]: string;
|
|
25488
25518
|
} | undefined;
|
|
25489
|
-
method?: "GET" | "
|
|
25519
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
25490
25520
|
timeout?: number | undefined;
|
|
25491
25521
|
oauth?: string | undefined;
|
|
25492
25522
|
pagination?: {
|
|
@@ -26242,7 +26272,7 @@ export default class {
|
|
|
26242
26272
|
headers?: {
|
|
26243
26273
|
[x: string]: string;
|
|
26244
26274
|
} | undefined;
|
|
26245
|
-
method?: "GET" | "
|
|
26275
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
26246
26276
|
timeout?: number | undefined;
|
|
26247
26277
|
oauth?: string | undefined;
|
|
26248
26278
|
pagination?: {
|
|
@@ -27412,7 +27442,7 @@ export default class {
|
|
|
27412
27442
|
headers?: {
|
|
27413
27443
|
[x: string]: string;
|
|
27414
27444
|
} | undefined;
|
|
27415
|
-
method?: "GET" | "
|
|
27445
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
27416
27446
|
timeout?: number | undefined;
|
|
27417
27447
|
oauth?: string | undefined;
|
|
27418
27448
|
variables?: {
|
|
@@ -27899,7 +27929,7 @@ export default class {
|
|
|
27899
27929
|
headers?: {
|
|
27900
27930
|
[x: string]: string;
|
|
27901
27931
|
} | undefined;
|
|
27902
|
-
method?: "GET" | "
|
|
27932
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
27903
27933
|
timeout?: number | undefined;
|
|
27904
27934
|
oauth?: string | undefined;
|
|
27905
27935
|
pagination?: {
|
|
@@ -28655,7 +28685,7 @@ export default class {
|
|
|
28655
28685
|
headers?: {
|
|
28656
28686
|
[x: string]: string;
|
|
28657
28687
|
} | undefined;
|
|
28658
|
-
method?: "GET" | "
|
|
28688
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
28659
28689
|
timeout?: number | undefined;
|
|
28660
28690
|
oauth?: string | undefined;
|
|
28661
28691
|
pagination?: {
|
|
@@ -30043,7 +30073,7 @@ export default class {
|
|
|
30043
30073
|
headers?: {
|
|
30044
30074
|
[x: string]: string;
|
|
30045
30075
|
} | undefined;
|
|
30046
|
-
method?: "GET" | "
|
|
30076
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
30047
30077
|
timeout?: number | undefined;
|
|
30048
30078
|
oauth?: string | undefined;
|
|
30049
30079
|
pagination?: {
|
|
@@ -30548,7 +30578,7 @@ export default class {
|
|
|
30548
30578
|
headers?: {
|
|
30549
30579
|
[x: string]: string;
|
|
30550
30580
|
} | undefined;
|
|
30551
|
-
method?: "GET" | "
|
|
30581
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
30552
30582
|
timeout?: number | undefined;
|
|
30553
30583
|
oauth?: string | undefined;
|
|
30554
30584
|
pagination?: {
|
|
@@ -31304,7 +31334,7 @@ export default class {
|
|
|
31304
31334
|
headers?: {
|
|
31305
31335
|
[x: string]: string;
|
|
31306
31336
|
} | undefined;
|
|
31307
|
-
method?: "GET" | "
|
|
31337
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
31308
31338
|
timeout?: number | undefined;
|
|
31309
31339
|
oauth?: string | undefined;
|
|
31310
31340
|
pagination?: {
|
|
@@ -32474,7 +32504,7 @@ export default class {
|
|
|
32474
32504
|
headers?: {
|
|
32475
32505
|
[x: string]: string;
|
|
32476
32506
|
} | undefined;
|
|
32477
|
-
method?: "GET" | "
|
|
32507
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
32478
32508
|
timeout?: number | undefined;
|
|
32479
32509
|
oauth?: string | undefined;
|
|
32480
32510
|
variables?: {
|
|
@@ -32961,7 +32991,7 @@ export default class {
|
|
|
32961
32991
|
headers?: {
|
|
32962
32992
|
[x: string]: string;
|
|
32963
32993
|
} | undefined;
|
|
32964
|
-
method?: "GET" | "
|
|
32994
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
32965
32995
|
timeout?: number | undefined;
|
|
32966
32996
|
oauth?: string | undefined;
|
|
32967
32997
|
pagination?: {
|
|
@@ -33717,7 +33747,7 @@ export default class {
|
|
|
33717
33747
|
headers?: {
|
|
33718
33748
|
[x: string]: string;
|
|
33719
33749
|
} | undefined;
|
|
33720
|
-
method?: "GET" | "
|
|
33750
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
33721
33751
|
timeout?: number | undefined;
|
|
33722
33752
|
oauth?: string | undefined;
|
|
33723
33753
|
pagination?: {
|
|
@@ -35105,7 +35135,7 @@ export default class {
|
|
|
35105
35135
|
headers?: {
|
|
35106
35136
|
[x: string]: string;
|
|
35107
35137
|
} | undefined;
|
|
35108
|
-
method?: "GET" | "
|
|
35138
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
35109
35139
|
timeout?: number | undefined;
|
|
35110
35140
|
oauth?: string | undefined;
|
|
35111
35141
|
pagination?: {
|
|
@@ -35610,7 +35640,7 @@ export default class {
|
|
|
35610
35640
|
headers?: {
|
|
35611
35641
|
[x: string]: string;
|
|
35612
35642
|
} | undefined;
|
|
35613
|
-
method?: "GET" | "
|
|
35643
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
35614
35644
|
timeout?: number | undefined;
|
|
35615
35645
|
oauth?: string | undefined;
|
|
35616
35646
|
pagination?: {
|
|
@@ -36366,7 +36396,7 @@ export default class {
|
|
|
36366
36396
|
headers?: {
|
|
36367
36397
|
[x: string]: string;
|
|
36368
36398
|
} | undefined;
|
|
36369
|
-
method?: "GET" | "
|
|
36399
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
36370
36400
|
timeout?: number | undefined;
|
|
36371
36401
|
oauth?: string | undefined;
|
|
36372
36402
|
pagination?: {
|
|
@@ -37536,7 +37566,7 @@ export default class {
|
|
|
37536
37566
|
headers?: {
|
|
37537
37567
|
[x: string]: string;
|
|
37538
37568
|
} | undefined;
|
|
37539
|
-
method?: "GET" | "
|
|
37569
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
37540
37570
|
timeout?: number | undefined;
|
|
37541
37571
|
oauth?: string | undefined;
|
|
37542
37572
|
variables?: {
|
|
@@ -38023,7 +38053,7 @@ export default class {
|
|
|
38023
38053
|
headers?: {
|
|
38024
38054
|
[x: string]: string;
|
|
38025
38055
|
} | undefined;
|
|
38026
|
-
method?: "GET" | "
|
|
38056
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
38027
38057
|
timeout?: number | undefined;
|
|
38028
38058
|
oauth?: string | undefined;
|
|
38029
38059
|
pagination?: {
|
|
@@ -38779,7 +38809,7 @@ export default class {
|
|
|
38779
38809
|
headers?: {
|
|
38780
38810
|
[x: string]: string;
|
|
38781
38811
|
} | undefined;
|
|
38782
|
-
method?: "GET" | "
|
|
38812
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
38783
38813
|
timeout?: number | undefined;
|
|
38784
38814
|
oauth?: string | undefined;
|
|
38785
38815
|
pagination?: {
|
|
@@ -40173,7 +40203,7 @@ export default class {
|
|
|
40173
40203
|
headers?: {
|
|
40174
40204
|
[x: string]: string;
|
|
40175
40205
|
} | undefined;
|
|
40176
|
-
method?: "GET" | "
|
|
40206
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
40177
40207
|
timeout?: number | undefined;
|
|
40178
40208
|
oauth?: string | undefined;
|
|
40179
40209
|
pagination?: {
|
|
@@ -40677,7 +40707,7 @@ export default class {
|
|
|
40677
40707
|
headers?: {
|
|
40678
40708
|
[x: string]: string;
|
|
40679
40709
|
} | undefined;
|
|
40680
|
-
method?: "GET" | "
|
|
40710
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
40681
40711
|
timeout?: number | undefined;
|
|
40682
40712
|
oauth?: string | undefined;
|
|
40683
40713
|
pagination?: {
|
|
@@ -41434,7 +41464,7 @@ export default class {
|
|
|
41434
41464
|
headers?: {
|
|
41435
41465
|
[x: string]: string;
|
|
41436
41466
|
} | undefined;
|
|
41437
|
-
method?: "GET" | "
|
|
41467
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
41438
41468
|
timeout?: number | undefined;
|
|
41439
41469
|
oauth?: string | undefined;
|
|
41440
41470
|
pagination?: {
|
|
@@ -42597,7 +42627,7 @@ export default class {
|
|
|
42597
42627
|
headers?: {
|
|
42598
42628
|
[x: string]: string;
|
|
42599
42629
|
} | undefined;
|
|
42600
|
-
method?: "GET" | "
|
|
42630
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
42601
42631
|
timeout?: number | undefined;
|
|
42602
42632
|
oauth?: string | undefined;
|
|
42603
42633
|
variables?: {
|
|
@@ -43082,7 +43112,7 @@ export default class {
|
|
|
43082
43112
|
headers?: {
|
|
43083
43113
|
[x: string]: string;
|
|
43084
43114
|
} | undefined;
|
|
43085
|
-
method?: "GET" | "
|
|
43115
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
43086
43116
|
timeout?: number | undefined;
|
|
43087
43117
|
oauth?: string | undefined;
|
|
43088
43118
|
pagination?: {
|
|
@@ -43839,7 +43869,7 @@ export default class {
|
|
|
43839
43869
|
headers?: {
|
|
43840
43870
|
[x: string]: string;
|
|
43841
43871
|
} | undefined;
|
|
43842
|
-
method?: "GET" | "
|
|
43872
|
+
method?: "GET" | "POST" | "PATCH" | "PUT" | undefined;
|
|
43843
43873
|
timeout?: number | undefined;
|
|
43844
43874
|
oauth?: string | undefined;
|
|
43845
43875
|
pagination?: {
|
|
@@ -45369,10 +45399,10 @@ export default class {
|
|
|
45369
45399
|
readonly id: string & {
|
|
45370
45400
|
readonly?: "__readonly" | undefined;
|
|
45371
45401
|
};
|
|
45402
|
+
payload: unknown;
|
|
45372
45403
|
version: string;
|
|
45373
45404
|
contentVersion: number;
|
|
45374
45405
|
type: "too_many_invalid_entries" | "entries_drop_rate_too_high" | "failed_to_pull" | "fatal" | "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";
|
|
45375
|
-
payload: unknown;
|
|
45376
45406
|
datasourceId: string;
|
|
45377
45407
|
date: string;
|
|
45378
45408
|
level: import("./definitions").LogLevel;
|
package/build/definitions.d.ts
CHANGED
|
@@ -31,9 +31,10 @@ export declare enum AuthenticationMode {
|
|
|
31
31
|
PASSWORD = "password",
|
|
32
32
|
CLIENT_CREDENTIALS = "client_credentials",
|
|
33
33
|
REFRESH_TOKEN = "refresh_token",
|
|
34
|
-
ACCESS_TOKEN = "access_token"
|
|
34
|
+
ACCESS_TOKEN = "access_token",
|
|
35
|
+
CUSTOM_PAYLOAD = "custom_payload"
|
|
35
36
|
}
|
|
36
|
-
export declare type
|
|
37
|
+
export declare type _tokenUrl_string_authorizeUrl_string_or_undefined_clientId_string_clientSecret_string_scopes_string_Array_authorizeUrlQueryParams___x_string__string___or_undefined_mode_OAuthClientConfiguration_Without_TokenUrl_AuthorizeUrl_ToJSON_ClientId_ClientSecret_Scopes_AuthorizeUrlQueryParams_Mode_AccessTokenHeader_Method_Payload_TokenExpiration = {
|
|
37
38
|
tokenUrl: string;
|
|
38
39
|
authorizeUrl?: string;
|
|
39
40
|
clientId: string;
|
|
@@ -44,8 +45,13 @@ export declare type _tokenUrl_string_authorizeUrl_string_or_undefined_clientId_s
|
|
|
44
45
|
};
|
|
45
46
|
mode?: AuthenticationMode;
|
|
46
47
|
accessTokenHeader?: string;
|
|
48
|
+
method?: "GET" | "POST";
|
|
49
|
+
payload?: {
|
|
50
|
+
[key: string]: "clientId" | "clientSecret" | "scopes";
|
|
51
|
+
};
|
|
52
|
+
tokenExpiration?: number;
|
|
47
53
|
};
|
|
48
|
-
export declare type OAuthClientConfiguration =
|
|
54
|
+
export declare type OAuthClientConfiguration = _tokenUrl_string_authorizeUrl_string_or_undefined_clientId_string_clientSecret_string_scopes_string_Array_authorizeUrlQueryParams___x_string__string___or_undefined_mode_OAuthClientConfiguration_Without_TokenUrl_AuthorizeUrl_ToJSON_ClientId_ClientSecret_Scopes_AuthorizeUrlQueryParams_Mode_AccessTokenHeader_Method_Payload_TokenExpiration;
|
|
49
55
|
export declare type OAuthClient = _readonlycompanyId_string_readonlyresourceGroupIds_string_Array_username_string_or_undefined_tokenUrl_string_or_undefined_authorizeUrl_string_or_undefined_password_string_or_undefined_refreshToken_string_or_undefined_accessToken_string_or_undefined___Without_CompanyId_ResourceGroupIds_Username_TokenUrl_AuthorizeUrl_Password_RefreshToken_AccessToken_GetRedirectUri_GetCallbackUri_ToJSON_GetTokensFromCode_StoreAccessToken & {
|
|
50
56
|
readonly id: (string) & readonlyP;
|
|
51
57
|
} & {
|
|
@@ -56,7 +62,7 @@ export declare type OAuthClient_Without_CompanyId_ResourceGroupIds_Username_Toke
|
|
|
56
62
|
} & {
|
|
57
63
|
configuration: string | OAuthClientConfiguration;
|
|
58
64
|
};
|
|
59
|
-
export declare type
|
|
65
|
+
export declare type Partial_Pick_Pick__tokenUrl_string_authorizeUrl_string_or_undefined_clientId_string_clientSecret_string_scopes_string_Array_authorizeUrlQueryParams___x_string__string___or_undefined_mode_OAuthClientConfiguration_tokenUrl_or_authorizeUrl_or_toJSON_or_clientId_or_clientSecret_or_scopes_or_authorizeUrlQueryParams_or_mode_or_accessTokenHeader_or_method_or_payload_or_tokenExpiration___ = {
|
|
60
66
|
tokenUrl?: string;
|
|
61
67
|
authorizeUrl?: string;
|
|
62
68
|
clientId?: string;
|
|
@@ -67,8 +73,13 @@ export declare type Partial_Pick_Pick__tokenUrl_string_authorizeUrl_string_or_un
|
|
|
67
73
|
};
|
|
68
74
|
mode?: AuthenticationMode;
|
|
69
75
|
accessTokenHeader?: string;
|
|
76
|
+
method?: "GET" | "POST";
|
|
77
|
+
payload?: {
|
|
78
|
+
[key: string]: "clientId" | "clientSecret" | "scopes";
|
|
79
|
+
};
|
|
80
|
+
tokenExpiration?: number;
|
|
70
81
|
};
|
|
71
|
-
export declare type
|
|
82
|
+
export declare type Partial_Pick__tokenUrl_string_authorizeUrl_string_or_undefined_clientId_string_clientSecret_string_scopes_string_Array_authorizeUrlQueryParams___x_string__string___or_undefined_mode_OAuthClientConfiguration_tokenUrl_or_authorizeUrl_or_toJSON_or_clientId_or_clientSecret_or_scopes_or_authorizeUrlQueryParams_or_mode_or_accessTokenHeader_or_method_or_payload_or_tokenExpiration___ = {
|
|
72
83
|
tokenUrl?: string;
|
|
73
84
|
authorizeUrl?: string;
|
|
74
85
|
clientId?: string;
|
|
@@ -79,6 +90,11 @@ export declare type Partial_Pick__tokenUrl_string_authorizeUrl_string_or_undefin
|
|
|
79
90
|
};
|
|
80
91
|
mode?: AuthenticationMode;
|
|
81
92
|
accessTokenHeader?: string;
|
|
93
|
+
method?: "GET" | "POST";
|
|
94
|
+
payload?: {
|
|
95
|
+
[key: string]: "clientId" | "clientSecret" | "scopes";
|
|
96
|
+
};
|
|
97
|
+
tokenExpiration?: number;
|
|
82
98
|
};
|
|
83
99
|
export declare enum DatasourceMode {
|
|
84
100
|
INGESTER = "ingester",
|
|
@@ -312,8 +328,9 @@ export declare type PinotFieldMap = {
|
|
|
312
328
|
readonly primitive: ("string" | "number" | "datetime" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
|
|
313
329
|
};
|
|
314
330
|
export declare type DatasourceHealth = 0 | 1 | 2;
|
|
315
|
-
export declare type
|
|
331
|
+
export declare type _oauth_string_or_undefined_method_GET_or_POST_or_PATCH_or_PUT_or_undefined_pagination__type_body_or_query_subtype_page_or_offset_or_undefined_value_string_startAt_number_or_undefined___or__type_hypermediaAttribute_value_string___or__type_pageToken_value_string_param_string___or__type_linkHeader___or_undefined_body_string_or_undefined_headers___x_string__string___or_undefined_query___x_string__string___or_undefined_timeout_number_or_undefined___Without_ = {
|
|
316
332
|
oauth?: string;
|
|
333
|
+
method?: "GET" | "POST" | "PATCH" | "PUT";
|
|
317
334
|
pagination?: {
|
|
318
335
|
type: "body" | "query";
|
|
319
336
|
subtype?: "page" | "offset";
|
|
@@ -329,7 +346,6 @@ export declare type _oauth_string_or_undefined_pagination__type_body_or_query_su
|
|
|
329
346
|
} | {
|
|
330
347
|
type: "linkHeader";
|
|
331
348
|
};
|
|
332
|
-
method?: "GET" | "PATCH" | "POST" | "PUT";
|
|
333
349
|
body?: string;
|
|
334
350
|
headers?: {
|
|
335
351
|
[key: string]: string;
|
|
@@ -476,9 +492,9 @@ export declare type QueriableField_Without_Name_Enum_Required_Unique = {
|
|
|
476
492
|
required: boolean;
|
|
477
493
|
unique: boolean;
|
|
478
494
|
};
|
|
479
|
-
export declare type
|
|
495
|
+
export declare type _oauth_string_or_undefined_method_GET_or_POST_or_PATCH_or_PUT_or_undefined_body_string_or_undefined_headers___x_string__string___or_undefined_query___x_string__string___or_undefined_timeout_number_or_undefined_variables_VariableDefinition_Array_or_undefined___Without_ = {
|
|
480
496
|
oauth?: string;
|
|
481
|
-
method?: "GET" | "
|
|
497
|
+
method?: "GET" | "POST" | "PATCH" | "PUT";
|
|
482
498
|
body?: string;
|
|
483
499
|
headers?: {
|
|
484
500
|
[key: string]: string;
|
|
@@ -613,7 +629,7 @@ export declare type _Without_ = {
|
|
|
613
629
|
};
|
|
614
630
|
fieldsMap?: PinotFieldMap[];
|
|
615
631
|
readonly health?: (DatasourceHealth) & readonlyP;
|
|
616
|
-
apiOptions?:
|
|
632
|
+
apiOptions?: _oauth_string_or_undefined_method_GET_or_POST_or_PATCH_or_PUT_or_undefined_pagination__type_body_or_query_subtype_page_or_offset_or_undefined_value_string_startAt_number_or_undefined___or__type_hypermediaAttribute_value_string___or__type_pageToken_value_string_param_string___or__type_linkHeader___or_undefined_body_string_or_undefined_headers___x_string__string___or_undefined_query___x_string__string___or_undefined_timeout_number_or_undefined___Without_;
|
|
617
633
|
sample?: {
|
|
618
634
|
[key: string]: AnyValue;
|
|
619
635
|
};
|
|
@@ -755,7 +771,7 @@ export declare type _Without_ = {
|
|
|
755
771
|
};
|
|
756
772
|
fieldsMap?: FieldMap[];
|
|
757
773
|
readonly health?: (DatasourceHealth) & readonlyP;
|
|
758
|
-
apiOptions?:
|
|
774
|
+
apiOptions?: _oauth_string_or_undefined_method_GET_or_POST_or_PATCH_or_PUT_or_undefined_body_string_or_undefined_headers___x_string__string___or_undefined_query___x_string__string___or_undefined_timeout_number_or_undefined_variables_VariableDefinition_Array_or_undefined___Without_;
|
|
759
775
|
sample?: {
|
|
760
776
|
[key: string]: AnyValue;
|
|
761
777
|
};
|
|
@@ -1213,7 +1229,7 @@ export declare type UrlSourceOptions = {
|
|
|
1213
1229
|
};
|
|
1214
1230
|
textEncoding?: string;
|
|
1215
1231
|
options?: {
|
|
1216
|
-
method?: "GET" | "
|
|
1232
|
+
method?: "GET" | "POST" | "PATCH" | "PUT";
|
|
1217
1233
|
body?: string;
|
|
1218
1234
|
headers?: {
|
|
1219
1235
|
[key: string]: string;
|
|
@@ -1897,7 +1913,7 @@ export declare type WorkerDatasourceVersion__Without_Id_Mode_State_Type_FieldsMa
|
|
|
1897
1913
|
};
|
|
1898
1914
|
fieldsMap: PinotFieldMap[];
|
|
1899
1915
|
readonly health: ("OK" | "WARNING" | "ERROR") & readonlyP;
|
|
1900
|
-
apiOptions?:
|
|
1916
|
+
apiOptions?: _oauth_string_or_undefined_method_GET_or_POST_or_PATCH_or_PUT_or_undefined_pagination__type_body_or_query_subtype_page_or_offset_or_undefined_value_string_startAt_number_or_undefined___or__type_hypermediaAttribute_value_string___or__type_pageToken_value_string_param_string___or__type_linkHeader___or_undefined_body_string_or_undefined_headers___x_string__string___or_undefined_query___x_string__string___or_undefined_timeout_number_or_undefined___Without_;
|
|
1901
1917
|
sample?: {
|
|
1902
1918
|
[key: string]: AnyValue;
|
|
1903
1919
|
};
|
|
@@ -2189,7 +2205,7 @@ export declare type ProxyDatasourceVersion__Without_Id_Mode_State_Type_FieldsMap
|
|
|
2189
2205
|
subtype: "user";
|
|
2190
2206
|
};
|
|
2191
2207
|
fieldsMap: FieldMap[];
|
|
2192
|
-
apiOptions?:
|
|
2208
|
+
apiOptions?: _oauth_string_or_undefined_method_GET_or_POST_or_PATCH_or_PUT_or_undefined_body_string_or_undefined_headers___x_string__string___or_undefined_query___x_string__string___or_undefined_timeout_number_or_undefined_variables_VariableDefinition_Array_or_undefined___Without_;
|
|
2193
2209
|
sample?: {
|
|
2194
2210
|
[key: string]: AnyValue;
|
|
2195
2211
|
};
|
|
@@ -2436,7 +2452,7 @@ export declare type FieldMap_Without_Name_Type_Source_Primitive_Selected_IgnoreI
|
|
|
2436
2452
|
locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en";
|
|
2437
2453
|
};
|
|
2438
2454
|
};
|
|
2439
|
-
export declare type WorkerApiOptions =
|
|
2455
|
+
export declare type WorkerApiOptions = _oauth_string_or_undefined_method_GET_or_POST_or_PATCH_or_PUT_or_undefined_pagination__type_body_or_query_subtype_page_or_offset_or_undefined_value_string_startAt_number_or_undefined___or__type_hypermediaAttribute_value_string___or__type_pageToken_value_string_param_string___or__type_linkHeader___or_undefined_body_string_or_undefined_headers___x_string__string___or_undefined_query___x_string__string___or_undefined_timeout_number_or_undefined___Without_;
|
|
2440
2456
|
export declare type Format = {
|
|
2441
2457
|
type: DatasourceFormat;
|
|
2442
2458
|
options: DatasourceFormatOptions;
|
|
@@ -2535,7 +2551,7 @@ export declare type Partial_Pick_WorkerDatasourceVersion_aggregationPipeline_or_
|
|
|
2535
2551
|
};
|
|
2536
2552
|
sftpPublicKey?: string;
|
|
2537
2553
|
};
|
|
2538
|
-
export declare type ProxyApiOptions =
|
|
2554
|
+
export declare type ProxyApiOptions = _oauth_string_or_undefined_method_GET_or_POST_or_PATCH_or_PUT_or_undefined_body_string_or_undefined_headers___x_string__string___or_undefined_query___x_string__string___or_undefined_timeout_number_or_undefined_variables_VariableDefinition_Array_or_undefined___Without_;
|
|
2539
2555
|
export declare type Partial_Pick_ProxyDatasourceVersion_apiOptions_or_sample_or_textEncoding_or_format_ = {
|
|
2540
2556
|
apiOptions?: ProxyApiOptions;
|
|
2541
2557
|
sample?: {
|
package/build/definitions.js
CHANGED
|
@@ -9,6 +9,7 @@ var AuthenticationMode;
|
|
|
9
9
|
AuthenticationMode["CLIENT_CREDENTIALS"] = "client_credentials";
|
|
10
10
|
AuthenticationMode["REFRESH_TOKEN"] = "refresh_token";
|
|
11
11
|
AuthenticationMode["ACCESS_TOKEN"] = "access_token";
|
|
12
|
+
AuthenticationMode["CUSTOM_PAYLOAD"] = "custom_payload";
|
|
12
13
|
})(AuthenticationMode = exports.AuthenticationMode || (exports.AuthenticationMode = {}));
|
|
13
14
|
var DatasourceMode;
|
|
14
15
|
(function (DatasourceMode) {
|
|
@@ -189,4 +190,4 @@ var FieldMapRuleName;
|
|
|
189
190
|
FieldMapRuleName["CASE"] = "case";
|
|
190
191
|
FieldMapRuleName["HASH"] = "hash";
|
|
191
192
|
})(FieldMapRuleName = exports.FieldMapRuleName || (exports.FieldMapRuleName = {}));
|
|
192
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
193
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291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