@gooddata/api-client-tiger 10.42.0-alpha.3 → 10.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/__version.d.ts +2 -1
- package/esm/__version.d.ts.map +1 -1
- package/esm/__version.js +2 -1
- package/esm/__version.js.map +1 -1
- package/esm/api-client-tiger.d.ts +658 -17668
- package/esm/generated/afm-rest-api/api.d.ts +41 -1883
- package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/api.js +0 -18
- package/esm/generated/afm-rest-api/api.js.map +1 -1
- package/esm/generated/afm-rest-api/base.d.ts +11 -24
- package/esm/generated/afm-rest-api/base.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/base.js +3 -19
- package/esm/generated/afm-rest-api/base.js.map +1 -1
- package/esm/generated/afm-rest-api/configuration.d.ts +5 -14
- package/esm/generated/afm-rest-api/configuration.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/configuration.js +11 -15
- package/esm/generated/afm-rest-api/configuration.js.map +1 -1
- package/esm/generated/auth-json-api/api.d.ts +15 -230
- package/esm/generated/auth-json-api/api.d.ts.map +1 -1
- package/esm/generated/auth-json-api/api.js.map +1 -1
- package/esm/generated/auth-json-api/base.d.ts +11 -24
- package/esm/generated/auth-json-api/base.d.ts.map +1 -1
- package/esm/generated/auth-json-api/base.js +3 -19
- package/esm/generated/auth-json-api/base.js.map +1 -1
- package/esm/generated/auth-json-api/configuration.d.ts +5 -14
- package/esm/generated/auth-json-api/configuration.d.ts.map +1 -1
- package/esm/generated/auth-json-api/configuration.js +11 -15
- package/esm/generated/auth-json-api/configuration.js.map +1 -1
- package/esm/generated/automation-json-api/api.d.ts +33 -1837
- package/esm/generated/automation-json-api/api.d.ts.map +1 -1
- package/esm/generated/automation-json-api/api.js +2 -2
- package/esm/generated/automation-json-api/api.js.map +1 -1
- package/esm/generated/automation-json-api/base.d.ts +11 -24
- package/esm/generated/automation-json-api/base.d.ts.map +1 -1
- package/esm/generated/automation-json-api/base.js +3 -19
- package/esm/generated/automation-json-api/base.js.map +1 -1
- package/esm/generated/automation-json-api/configuration.d.ts +5 -14
- package/esm/generated/automation-json-api/configuration.d.ts.map +1 -1
- package/esm/generated/automation-json-api/configuration.js +11 -15
- package/esm/generated/automation-json-api/configuration.js.map +1 -1
- package/esm/generated/export-json-api/api.d.ts +35 -1046
- package/esm/generated/export-json-api/api.d.ts.map +1 -1
- package/esm/generated/export-json-api/api.js.map +1 -1
- package/esm/generated/export-json-api/base.d.ts +11 -24
- package/esm/generated/export-json-api/base.d.ts.map +1 -1
- package/esm/generated/export-json-api/base.js +3 -19
- package/esm/generated/export-json-api/base.js.map +1 -1
- package/esm/generated/export-json-api/configuration.d.ts +5 -14
- package/esm/generated/export-json-api/configuration.d.ts.map +1 -1
- package/esm/generated/export-json-api/configuration.js +11 -15
- package/esm/generated/export-json-api/configuration.js.map +1 -1
- package/esm/generated/metadata-json-api/api.d.ts +496 -12213
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js +92 -110
- package/esm/generated/metadata-json-api/api.js.map +1 -1
- package/esm/generated/metadata-json-api/base.d.ts +11 -24
- package/esm/generated/metadata-json-api/base.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/base.js +3 -19
- package/esm/generated/metadata-json-api/base.js.map +1 -1
- package/esm/generated/metadata-json-api/configuration.d.ts +5 -14
- package/esm/generated/metadata-json-api/configuration.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/configuration.js +11 -15
- package/esm/generated/metadata-json-api/configuration.js.map +1 -1
- package/esm/generated/metadata-json-api/openapi-spec.json +9762 -9762
- package/esm/generated/result-json-api/api.d.ts +12 -317
- package/esm/generated/result-json-api/api.d.ts.map +1 -1
- package/esm/generated/result-json-api/api.js +4 -4
- package/esm/generated/result-json-api/api.js.map +1 -1
- package/esm/generated/result-json-api/base.d.ts +11 -24
- package/esm/generated/result-json-api/base.d.ts.map +1 -1
- package/esm/generated/result-json-api/base.js +3 -19
- package/esm/generated/result-json-api/base.js.map +1 -1
- package/esm/generated/result-json-api/configuration.d.ts +5 -14
- package/esm/generated/result-json-api/configuration.d.ts.map +1 -1
- package/esm/generated/result-json-api/configuration.js +11 -15
- package/esm/generated/result-json-api/configuration.js.map +1 -1
- package/esm/generated/scan-json-api/api.d.ts +4 -369
- package/esm/generated/scan-json-api/api.d.ts.map +1 -1
- package/esm/generated/scan-json-api/api.js.map +1 -1
- package/esm/generated/scan-json-api/base.d.ts +11 -24
- package/esm/generated/scan-json-api/base.d.ts.map +1 -1
- package/esm/generated/scan-json-api/base.js +3 -19
- package/esm/generated/scan-json-api/base.js.map +1 -1
- package/esm/generated/scan-json-api/configuration.d.ts +5 -14
- package/esm/generated/scan-json-api/configuration.d.ts.map +1 -1
- package/esm/generated/scan-json-api/configuration.js +11 -15
- package/esm/generated/scan-json-api/configuration.js.map +1 -1
- package/esm/index.d.ts +4 -3
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -1
- package/esm/index.js.map +1 -1
- package/package.json +5 -5
|
@@ -12,23 +12,8 @@
|
|
|
12
12
|
import { Configuration } from "./configuration.js";
|
|
13
13
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from "axios";
|
|
14
14
|
import { RequestArgs, BaseAPI } from './base.js';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface ColumnStatistic
|
|
19
|
-
*/
|
|
20
15
|
export interface ColumnStatistic {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof ColumnStatistic
|
|
25
|
-
*/
|
|
26
16
|
type: ColumnStatisticTypeEnum;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof ColumnStatistic
|
|
31
|
-
*/
|
|
32
17
|
value?: string;
|
|
33
18
|
}
|
|
34
19
|
export declare const ColumnStatisticTypeEnum: {
|
|
@@ -44,60 +29,18 @@ export declare const ColumnStatisticTypeEnum: {
|
|
|
44
29
|
readonly PERCENTILE_75: "PERCENTILE_75";
|
|
45
30
|
};
|
|
46
31
|
export type ColumnStatisticTypeEnum = (typeof ColumnStatisticTypeEnum)[keyof typeof ColumnStatisticTypeEnum];
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @export
|
|
50
|
-
* @interface ColumnStatisticWarning
|
|
51
|
-
*/
|
|
52
32
|
export interface ColumnStatisticWarning {
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof ColumnStatisticWarning
|
|
57
|
-
*/
|
|
58
33
|
action: string;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @type {string}
|
|
62
|
-
* @memberof ColumnStatisticWarning
|
|
63
|
-
*/
|
|
64
34
|
message: string;
|
|
65
35
|
}
|
|
66
36
|
/**
|
|
67
37
|
* A request to retrieve statistics for a column.
|
|
68
|
-
* @export
|
|
69
|
-
* @interface ColumnStatisticsRequest
|
|
70
38
|
*/
|
|
71
39
|
export interface ColumnStatisticsRequest {
|
|
72
|
-
|
|
73
|
-
*
|
|
74
|
-
* @type {SqlQuery | Table}
|
|
75
|
-
* @memberof ColumnStatisticsRequest
|
|
76
|
-
*/
|
|
77
|
-
from: SqlQuery | Table;
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {string}
|
|
81
|
-
* @memberof ColumnStatisticsRequest
|
|
82
|
-
*/
|
|
40
|
+
from: ColumnStatisticsRequestFrom;
|
|
83
41
|
columnName: string;
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {Array<string>}
|
|
87
|
-
* @memberof ColumnStatisticsRequest
|
|
88
|
-
*/
|
|
89
42
|
statistics?: Array<ColumnStatisticsRequestStatisticsEnum>;
|
|
90
|
-
/**
|
|
91
|
-
*
|
|
92
|
-
* @type {HistogramProperties}
|
|
93
|
-
* @memberof ColumnStatisticsRequest
|
|
94
|
-
*/
|
|
95
43
|
histogram?: HistogramProperties;
|
|
96
|
-
/**
|
|
97
|
-
*
|
|
98
|
-
* @type {FrequencyProperties}
|
|
99
|
-
* @memberof ColumnStatisticsRequest
|
|
100
|
-
*/
|
|
101
44
|
frequency?: FrequencyProperties;
|
|
102
45
|
}
|
|
103
46
|
export declare const ColumnStatisticsRequestStatisticsEnum: {
|
|
@@ -114,121 +57,69 @@ export declare const ColumnStatisticsRequestStatisticsEnum: {
|
|
|
114
57
|
};
|
|
115
58
|
export type ColumnStatisticsRequestStatisticsEnum = (typeof ColumnStatisticsRequestStatisticsEnum)[keyof typeof ColumnStatisticsRequestStatisticsEnum];
|
|
116
59
|
/**
|
|
117
|
-
*
|
|
118
|
-
* @export
|
|
119
|
-
* @interface ColumnStatisticsResponse
|
|
60
|
+
* @type ColumnStatisticsRequestFrom
|
|
120
61
|
*/
|
|
62
|
+
export type ColumnStatisticsRequestFrom = SqlQuery | Table;
|
|
121
63
|
export interface ColumnStatisticsResponse {
|
|
122
|
-
/**
|
|
123
|
-
*
|
|
124
|
-
* @type {Array<ColumnStatistic>}
|
|
125
|
-
* @memberof ColumnStatisticsResponse
|
|
126
|
-
*/
|
|
127
64
|
statistics?: Array<ColumnStatistic>;
|
|
128
|
-
/**
|
|
129
|
-
*
|
|
130
|
-
* @type {Histogram}
|
|
131
|
-
* @memberof ColumnStatisticsResponse
|
|
132
|
-
*/
|
|
133
65
|
histogram?: Histogram;
|
|
134
|
-
/**
|
|
135
|
-
*
|
|
136
|
-
* @type {Frequency}
|
|
137
|
-
* @memberof ColumnStatisticsResponse
|
|
138
|
-
*/
|
|
139
66
|
frequency?: Frequency;
|
|
140
|
-
/**
|
|
141
|
-
*
|
|
142
|
-
* @type {Array<ColumnStatisticWarning>}
|
|
143
|
-
* @memberof ColumnStatisticsResponse
|
|
144
|
-
*/
|
|
145
67
|
warnings?: Array<ColumnStatisticWarning>;
|
|
146
68
|
}
|
|
147
69
|
/**
|
|
148
70
|
* Warning related to single column.
|
|
149
|
-
* @export
|
|
150
|
-
* @interface ColumnWarning
|
|
151
71
|
*/
|
|
152
72
|
export interface ColumnWarning {
|
|
153
73
|
/**
|
|
154
74
|
* Column name.
|
|
155
|
-
* @type {string}
|
|
156
|
-
* @memberof ColumnWarning
|
|
157
75
|
*/
|
|
158
76
|
name: string;
|
|
159
77
|
/**
|
|
160
78
|
* Warning message related to the column.
|
|
161
|
-
* @type {string}
|
|
162
|
-
* @memberof ColumnWarning
|
|
163
79
|
*/
|
|
164
80
|
message: string;
|
|
165
81
|
}
|
|
166
82
|
/**
|
|
167
83
|
* A parameter for testing data source connection
|
|
168
|
-
* @export
|
|
169
|
-
* @interface DataSourceParameter
|
|
170
84
|
*/
|
|
171
85
|
export interface DataSourceParameter {
|
|
172
86
|
/**
|
|
173
87
|
* Parameter name.
|
|
174
|
-
* @type {string}
|
|
175
|
-
* @memberof DataSourceParameter
|
|
176
88
|
*/
|
|
177
89
|
name: string;
|
|
178
90
|
/**
|
|
179
91
|
* Parameter value.
|
|
180
|
-
* @type {string}
|
|
181
|
-
* @memberof DataSourceParameter
|
|
182
92
|
*/
|
|
183
93
|
value: string;
|
|
184
94
|
}
|
|
185
95
|
/**
|
|
186
96
|
* Result of getSchemata. Contains list of available DB schema names.
|
|
187
|
-
* @export
|
|
188
|
-
* @interface DataSourceSchemata
|
|
189
97
|
*/
|
|
190
98
|
export interface DataSourceSchemata {
|
|
191
|
-
/**
|
|
192
|
-
*
|
|
193
|
-
* @type {Array<string>}
|
|
194
|
-
* @memberof DataSourceSchemata
|
|
195
|
-
*/
|
|
196
99
|
schemaNames: Array<string>;
|
|
197
100
|
}
|
|
198
101
|
/**
|
|
199
102
|
* A table column.
|
|
200
|
-
* @export
|
|
201
|
-
* @interface DeclarativeColumn
|
|
202
103
|
*/
|
|
203
104
|
export interface DeclarativeColumn {
|
|
204
105
|
/**
|
|
205
106
|
* Column name
|
|
206
|
-
* @type {string}
|
|
207
|
-
* @memberof DeclarativeColumn
|
|
208
107
|
*/
|
|
209
108
|
name: string;
|
|
210
109
|
/**
|
|
211
110
|
* Column type
|
|
212
|
-
* @type {string}
|
|
213
|
-
* @memberof DeclarativeColumn
|
|
214
111
|
*/
|
|
215
112
|
dataType: DeclarativeColumnDataTypeEnum;
|
|
216
113
|
/**
|
|
217
114
|
* Is column part of primary key?
|
|
218
|
-
* @type {boolean}
|
|
219
|
-
* @memberof DeclarativeColumn
|
|
220
115
|
*/
|
|
221
116
|
isPrimaryKey?: boolean;
|
|
222
117
|
/**
|
|
223
118
|
* Referenced table (Foreign key)
|
|
224
|
-
* @type {string}
|
|
225
|
-
* @memberof DeclarativeColumn
|
|
226
119
|
*/
|
|
227
120
|
referencedTableId?: string;
|
|
228
121
|
/**
|
|
229
122
|
* Referenced table (Foreign key)
|
|
230
|
-
* @type {string}
|
|
231
|
-
* @memberof DeclarativeColumn
|
|
232
123
|
*/
|
|
233
124
|
referencedTableColumn?: string;
|
|
234
125
|
}
|
|
@@ -244,260 +135,130 @@ export declare const DeclarativeColumnDataTypeEnum: {
|
|
|
244
135
|
export type DeclarativeColumnDataTypeEnum = (typeof DeclarativeColumnDataTypeEnum)[keyof typeof DeclarativeColumnDataTypeEnum];
|
|
245
136
|
/**
|
|
246
137
|
* A database table.
|
|
247
|
-
* @export
|
|
248
|
-
* @interface DeclarativeTable
|
|
249
138
|
*/
|
|
250
139
|
export interface DeclarativeTable {
|
|
251
140
|
/**
|
|
252
141
|
* Table id.
|
|
253
|
-
* @type {string}
|
|
254
|
-
* @memberof DeclarativeTable
|
|
255
142
|
*/
|
|
256
143
|
id: string;
|
|
257
144
|
/**
|
|
258
145
|
* Path to table.
|
|
259
|
-
* @type {Array<string>}
|
|
260
|
-
* @memberof DeclarativeTable
|
|
261
146
|
*/
|
|
262
147
|
path: Array<string>;
|
|
263
148
|
/**
|
|
264
149
|
* Table type: TABLE or VIEW.
|
|
265
|
-
* @type {string}
|
|
266
|
-
* @memberof DeclarativeTable
|
|
267
150
|
*/
|
|
268
151
|
type: string;
|
|
269
152
|
/**
|
|
270
153
|
* Table or view name prefix used in scan. Will be stripped when generating LDM.
|
|
271
|
-
* @type {string}
|
|
272
|
-
* @memberof DeclarativeTable
|
|
273
154
|
*/
|
|
274
155
|
namePrefix?: string;
|
|
275
156
|
/**
|
|
276
157
|
* An array of physical columns
|
|
277
|
-
* @type {Array<DeclarativeColumn>}
|
|
278
|
-
* @memberof DeclarativeTable
|
|
279
158
|
*/
|
|
280
159
|
columns: Array<DeclarativeColumn>;
|
|
281
160
|
}
|
|
282
161
|
/**
|
|
283
162
|
* A physical data model (PDM) tables.
|
|
284
|
-
* @export
|
|
285
|
-
* @interface DeclarativeTables
|
|
286
163
|
*/
|
|
287
164
|
export interface DeclarativeTables {
|
|
288
165
|
/**
|
|
289
166
|
* An array of physical database tables.
|
|
290
|
-
* @type {Array<DeclarativeTable>}
|
|
291
|
-
* @memberof DeclarativeTables
|
|
292
167
|
*/
|
|
293
168
|
tables: Array<DeclarativeTable>;
|
|
294
169
|
}
|
|
295
|
-
/**
|
|
296
|
-
*
|
|
297
|
-
* @export
|
|
298
|
-
* @interface Frequency
|
|
299
|
-
*/
|
|
300
170
|
export interface Frequency {
|
|
301
|
-
/**
|
|
302
|
-
*
|
|
303
|
-
* @type {Array<FrequencyBucket>}
|
|
304
|
-
* @memberof Frequency
|
|
305
|
-
*/
|
|
306
171
|
buckets: Array<FrequencyBucket>;
|
|
307
172
|
}
|
|
308
|
-
/**
|
|
309
|
-
*
|
|
310
|
-
* @export
|
|
311
|
-
* @interface FrequencyBucket
|
|
312
|
-
*/
|
|
313
173
|
export interface FrequencyBucket {
|
|
314
|
-
/**
|
|
315
|
-
*
|
|
316
|
-
* @type {number}
|
|
317
|
-
* @memberof FrequencyBucket
|
|
318
|
-
*/
|
|
319
174
|
count: number;
|
|
320
|
-
/**
|
|
321
|
-
*
|
|
322
|
-
* @type {string}
|
|
323
|
-
* @memberof FrequencyBucket
|
|
324
|
-
*/
|
|
325
175
|
value?: string;
|
|
326
176
|
}
|
|
327
|
-
/**
|
|
328
|
-
*
|
|
329
|
-
* @export
|
|
330
|
-
* @interface FrequencyProperties
|
|
331
|
-
*/
|
|
332
177
|
export interface FrequencyProperties {
|
|
333
178
|
/**
|
|
334
179
|
* The maximum number of distinct values to return.
|
|
335
|
-
* @type {number}
|
|
336
|
-
* @memberof FrequencyProperties
|
|
337
180
|
*/
|
|
338
181
|
valueLimit?: number;
|
|
339
182
|
}
|
|
340
|
-
/**
|
|
341
|
-
*
|
|
342
|
-
* @export
|
|
343
|
-
* @interface Histogram
|
|
344
|
-
*/
|
|
345
183
|
export interface Histogram {
|
|
346
|
-
/**
|
|
347
|
-
*
|
|
348
|
-
* @type {Array<HistogramBucket>}
|
|
349
|
-
* @memberof Histogram
|
|
350
|
-
*/
|
|
351
184
|
buckets: Array<HistogramBucket>;
|
|
352
185
|
}
|
|
353
|
-
/**
|
|
354
|
-
*
|
|
355
|
-
* @export
|
|
356
|
-
* @interface HistogramBucket
|
|
357
|
-
*/
|
|
358
186
|
export interface HistogramBucket {
|
|
359
|
-
/**
|
|
360
|
-
*
|
|
361
|
-
* @type {number}
|
|
362
|
-
* @memberof HistogramBucket
|
|
363
|
-
*/
|
|
364
187
|
count: number;
|
|
365
|
-
/**
|
|
366
|
-
*
|
|
367
|
-
* @type {number}
|
|
368
|
-
* @memberof HistogramBucket
|
|
369
|
-
*/
|
|
370
188
|
lowerBound: number;
|
|
371
|
-
/**
|
|
372
|
-
*
|
|
373
|
-
* @type {number}
|
|
374
|
-
* @memberof HistogramBucket
|
|
375
|
-
*/
|
|
376
189
|
upperBound: number;
|
|
377
190
|
}
|
|
378
|
-
/**
|
|
379
|
-
*
|
|
380
|
-
* @export
|
|
381
|
-
* @interface HistogramProperties
|
|
382
|
-
*/
|
|
383
191
|
export interface HistogramProperties {
|
|
384
|
-
/**
|
|
385
|
-
*
|
|
386
|
-
* @type {number}
|
|
387
|
-
* @memberof HistogramProperties
|
|
388
|
-
*/
|
|
389
192
|
bucketCount: number;
|
|
390
193
|
}
|
|
391
194
|
/**
|
|
392
195
|
* A request containing all information critical to model scanning.
|
|
393
|
-
* @export
|
|
394
|
-
* @interface ScanRequest
|
|
395
196
|
*/
|
|
396
197
|
export interface ScanRequest {
|
|
397
198
|
/**
|
|
398
199
|
* A separator between prefixes and the names.
|
|
399
|
-
* @type {string}
|
|
400
|
-
* @memberof ScanRequest
|
|
401
200
|
*/
|
|
402
201
|
separator: string;
|
|
403
202
|
/**
|
|
404
203
|
* A flag indicating whether the tables should be scanned.
|
|
405
|
-
* @type {boolean}
|
|
406
|
-
* @memberof ScanRequest
|
|
407
204
|
*/
|
|
408
205
|
scanTables: boolean;
|
|
409
206
|
/**
|
|
410
207
|
* A flag indicating whether the views should be scanned.
|
|
411
|
-
* @type {boolean}
|
|
412
|
-
* @memberof ScanRequest
|
|
413
208
|
*/
|
|
414
209
|
scanViews: boolean;
|
|
415
210
|
/**
|
|
416
211
|
* What schemata will be scanned.
|
|
417
|
-
* @type {Array<string>}
|
|
418
|
-
* @memberof ScanRequest
|
|
419
212
|
*/
|
|
420
213
|
schemata?: Array<string>;
|
|
421
214
|
/**
|
|
422
215
|
* Tables starting with this prefix will be scanned. The prefix is then followed by the value of `separator` parameter. Given the table prefix is `out_table` and separator is `__`, the table with name like `out_table__customers` will be scanned.
|
|
423
|
-
* @type {string}
|
|
424
|
-
* @memberof ScanRequest
|
|
425
216
|
*/
|
|
426
217
|
tablePrefix?: string;
|
|
427
218
|
/**
|
|
428
219
|
* Views starting with this prefix will be scanned. The prefix is then followed by the value of `separator` parameter. Given the view prefix is `out_view` and separator is `__`, the table with name like `out_view__us_customers` will be scanned.
|
|
429
|
-
* @type {string}
|
|
430
|
-
* @memberof ScanRequest
|
|
431
220
|
*/
|
|
432
221
|
viewPrefix?: string;
|
|
433
222
|
}
|
|
434
223
|
/**
|
|
435
224
|
* Result of scan of data source physical model.
|
|
436
|
-
* @export
|
|
437
|
-
* @interface ScanResultPdm
|
|
438
225
|
*/
|
|
439
226
|
export interface ScanResultPdm {
|
|
440
|
-
/**
|
|
441
|
-
*
|
|
442
|
-
* @type {DeclarativeTables}
|
|
443
|
-
* @memberof ScanResultPdm
|
|
444
|
-
*/
|
|
445
227
|
pdm: DeclarativeTables;
|
|
446
|
-
/**
|
|
447
|
-
*
|
|
448
|
-
* @type {Array<TableWarning>}
|
|
449
|
-
* @memberof ScanResultPdm
|
|
450
|
-
*/
|
|
451
228
|
warnings: Array<TableWarning>;
|
|
452
229
|
}
|
|
453
230
|
/**
|
|
454
231
|
* A request with SQL query to by analyzed.
|
|
455
|
-
* @export
|
|
456
|
-
* @interface ScanSqlRequest
|
|
457
232
|
*/
|
|
458
233
|
export interface ScanSqlRequest {
|
|
459
234
|
/**
|
|
460
235
|
* SQL query to be analyzed.
|
|
461
|
-
* @type {string}
|
|
462
|
-
* @memberof ScanSqlRequest
|
|
463
236
|
*/
|
|
464
237
|
sql: string;
|
|
465
238
|
}
|
|
466
239
|
/**
|
|
467
240
|
* Result of scanSql. Consists of array of query columns including type. Sql query result data preview can be attached optionally
|
|
468
|
-
* @export
|
|
469
|
-
* @interface ScanSqlResponse
|
|
470
241
|
*/
|
|
471
242
|
export interface ScanSqlResponse {
|
|
472
243
|
/**
|
|
473
244
|
* Array of columns with types.
|
|
474
|
-
* @type {Array<SqlColumn>}
|
|
475
|
-
* @memberof ScanSqlResponse
|
|
476
245
|
*/
|
|
477
246
|
columns: Array<SqlColumn>;
|
|
478
247
|
/**
|
|
479
248
|
* Array of rows where each row is another array of string values.
|
|
480
|
-
* @type {Array<Array<string>>}
|
|
481
|
-
* @memberof ScanSqlResponse
|
|
482
249
|
*/
|
|
483
|
-
dataPreview?: Array<Array<string>>;
|
|
250
|
+
dataPreview?: Array<Array<string | null>>;
|
|
484
251
|
}
|
|
485
252
|
/**
|
|
486
253
|
* A SQL query result column.
|
|
487
|
-
* @export
|
|
488
|
-
* @interface SqlColumn
|
|
489
254
|
*/
|
|
490
255
|
export interface SqlColumn {
|
|
491
256
|
/**
|
|
492
257
|
* Column name
|
|
493
|
-
* @type {string}
|
|
494
|
-
* @memberof SqlColumn
|
|
495
258
|
*/
|
|
496
259
|
name: string;
|
|
497
260
|
/**
|
|
498
261
|
* Column type
|
|
499
|
-
* @type {string}
|
|
500
|
-
* @memberof SqlColumn
|
|
501
262
|
*/
|
|
502
263
|
dataType: SqlColumnDataTypeEnum;
|
|
503
264
|
}
|
|
@@ -511,154 +272,70 @@ export declare const SqlColumnDataTypeEnum: {
|
|
|
511
272
|
readonly BOOLEAN: "BOOLEAN";
|
|
512
273
|
};
|
|
513
274
|
export type SqlColumnDataTypeEnum = (typeof SqlColumnDataTypeEnum)[keyof typeof SqlColumnDataTypeEnum];
|
|
514
|
-
/**
|
|
515
|
-
*
|
|
516
|
-
* @export
|
|
517
|
-
* @interface SqlQuery
|
|
518
|
-
*/
|
|
519
275
|
export interface SqlQuery {
|
|
520
|
-
/**
|
|
521
|
-
*
|
|
522
|
-
* @type {string}
|
|
523
|
-
* @memberof SqlQuery
|
|
524
|
-
*/
|
|
525
276
|
sql: string;
|
|
526
277
|
}
|
|
527
|
-
/**
|
|
528
|
-
*
|
|
529
|
-
* @export
|
|
530
|
-
* @interface SqlQueryAllOf
|
|
531
|
-
*/
|
|
532
|
-
export interface SqlQueryAllOf {
|
|
533
|
-
/**
|
|
534
|
-
*
|
|
535
|
-
* @type {string}
|
|
536
|
-
* @memberof SqlQueryAllOf
|
|
537
|
-
*/
|
|
538
|
-
sql?: string;
|
|
539
|
-
}
|
|
540
|
-
/**
|
|
541
|
-
*
|
|
542
|
-
* @export
|
|
543
|
-
* @interface Table
|
|
544
|
-
*/
|
|
545
278
|
export interface Table {
|
|
546
|
-
/**
|
|
547
|
-
*
|
|
548
|
-
* @type {string}
|
|
549
|
-
* @memberof Table
|
|
550
|
-
*/
|
|
551
279
|
tableName: string;
|
|
552
280
|
}
|
|
553
|
-
/**
|
|
554
|
-
*
|
|
555
|
-
* @export
|
|
556
|
-
* @interface TableAllOf
|
|
557
|
-
*/
|
|
558
|
-
export interface TableAllOf {
|
|
559
|
-
/**
|
|
560
|
-
*
|
|
561
|
-
* @type {string}
|
|
562
|
-
* @memberof TableAllOf
|
|
563
|
-
*/
|
|
564
|
-
tableName?: string;
|
|
565
|
-
}
|
|
566
281
|
/**
|
|
567
282
|
* Warnings related to single table.
|
|
568
|
-
* @export
|
|
569
|
-
* @interface TableWarning
|
|
570
283
|
*/
|
|
571
284
|
export interface TableWarning {
|
|
572
285
|
/**
|
|
573
286
|
* Table name.
|
|
574
|
-
* @type {string}
|
|
575
|
-
* @memberof TableWarning
|
|
576
287
|
*/
|
|
577
288
|
name: string;
|
|
578
289
|
/**
|
|
579
290
|
* Warning message related to the table.
|
|
580
|
-
* @type {string}
|
|
581
|
-
* @memberof TableWarning
|
|
582
291
|
*/
|
|
583
292
|
message?: string;
|
|
584
|
-
/**
|
|
585
|
-
*
|
|
586
|
-
* @type {Array<ColumnWarning>}
|
|
587
|
-
* @memberof TableWarning
|
|
588
|
-
*/
|
|
589
293
|
columns: Array<ColumnWarning>;
|
|
590
294
|
}
|
|
591
295
|
/**
|
|
592
296
|
* A request containing all information for testing data source definition.
|
|
593
|
-
* @export
|
|
594
|
-
* @interface TestDefinitionRequest
|
|
595
297
|
*/
|
|
596
298
|
export interface TestDefinitionRequest {
|
|
597
299
|
/**
|
|
598
300
|
* Type of database, where test should connect to.
|
|
599
|
-
* @type {string}
|
|
600
|
-
* @memberof TestDefinitionRequest
|
|
601
301
|
*/
|
|
602
302
|
type: TestDefinitionRequestTypeEnum;
|
|
603
303
|
/**
|
|
604
304
|
* URL to database in JDBC format, where test should connect to.
|
|
605
|
-
* @type {string}
|
|
606
|
-
* @memberof TestDefinitionRequest
|
|
607
305
|
*/
|
|
608
306
|
url?: string;
|
|
609
307
|
/**
|
|
610
308
|
* Database schema.
|
|
611
|
-
* @type {string}
|
|
612
|
-
* @memberof TestDefinitionRequest
|
|
613
309
|
*/
|
|
614
310
|
schema?: string;
|
|
615
311
|
/**
|
|
616
312
|
* Database user name.
|
|
617
|
-
* @type {string}
|
|
618
|
-
* @memberof TestDefinitionRequest
|
|
619
313
|
*/
|
|
620
314
|
username?: string;
|
|
621
315
|
/**
|
|
622
316
|
* Database user password.
|
|
623
|
-
* @type {string}
|
|
624
|
-
* @memberof TestDefinitionRequest
|
|
625
317
|
*/
|
|
626
318
|
password?: string;
|
|
627
319
|
/**
|
|
628
320
|
* Secret for token based authentication for data sources which supports it.
|
|
629
|
-
* @type {string}
|
|
630
|
-
* @memberof TestDefinitionRequest
|
|
631
321
|
*/
|
|
632
322
|
token?: string;
|
|
633
323
|
/**
|
|
634
324
|
* Private key for data sources which supports key-pair authentication.
|
|
635
|
-
* @type {string}
|
|
636
|
-
* @memberof TestDefinitionRequest
|
|
637
325
|
*/
|
|
638
326
|
privateKey?: string;
|
|
639
327
|
/**
|
|
640
328
|
* Passphrase for a encrypted version of a private key.
|
|
641
|
-
* @type {string}
|
|
642
|
-
* @memberof TestDefinitionRequest
|
|
643
329
|
*/
|
|
644
330
|
privateKeyPassphrase?: string;
|
|
645
331
|
/**
|
|
646
332
|
* Id for client based authentication for data sources which supports it.
|
|
647
|
-
* @type {string}
|
|
648
|
-
* @memberof TestDefinitionRequest
|
|
649
333
|
*/
|
|
650
334
|
clientId?: string;
|
|
651
335
|
/**
|
|
652
336
|
* Secret for client based authentication for data sources which supports it.
|
|
653
|
-
* @type {string}
|
|
654
|
-
* @memberof TestDefinitionRequest
|
|
655
337
|
*/
|
|
656
338
|
clientSecret?: string;
|
|
657
|
-
/**
|
|
658
|
-
*
|
|
659
|
-
* @type {Array<DataSourceParameter>}
|
|
660
|
-
* @memberof TestDefinitionRequest
|
|
661
|
-
*/
|
|
662
339
|
parameters?: Array<DataSourceParameter>;
|
|
663
340
|
}
|
|
664
341
|
export declare const TestDefinitionRequestTypeEnum: {
|
|
@@ -692,113 +369,71 @@ export declare const TestDefinitionRequestTypeEnum: {
|
|
|
692
369
|
export type TestDefinitionRequestTypeEnum = (typeof TestDefinitionRequestTypeEnum)[keyof typeof TestDefinitionRequestTypeEnum];
|
|
693
370
|
/**
|
|
694
371
|
* A structure containing duration of the test queries run on a data source. It is omitted if an error happens.
|
|
695
|
-
* @export
|
|
696
|
-
* @interface TestQueryDuration
|
|
697
372
|
*/
|
|
698
373
|
export interface TestQueryDuration {
|
|
699
374
|
/**
|
|
700
375
|
* Field containing duration of a test select query on a data source. In milliseconds.
|
|
701
|
-
* @type {number}
|
|
702
|
-
* @memberof TestQueryDuration
|
|
703
376
|
*/
|
|
704
377
|
simpleSelect: number;
|
|
705
378
|
/**
|
|
706
379
|
* Field containing duration of a test \'create table as select\' query on a datasource. In milliseconds. The field is omitted if a data source doesn\'t support caching.
|
|
707
|
-
* @type {number}
|
|
708
|
-
* @memberof TestQueryDuration
|
|
709
380
|
*/
|
|
710
381
|
createCacheTable?: number;
|
|
711
382
|
}
|
|
712
383
|
/**
|
|
713
384
|
* A request containing all information for testing existing data source.
|
|
714
|
-
* @export
|
|
715
|
-
* @interface TestRequest
|
|
716
385
|
*/
|
|
717
386
|
export interface TestRequest {
|
|
718
387
|
/**
|
|
719
388
|
* URL to database in JDBC format, where test should connect to.
|
|
720
|
-
* @type {string}
|
|
721
|
-
* @memberof TestRequest
|
|
722
389
|
*/
|
|
723
390
|
url?: string;
|
|
724
391
|
/**
|
|
725
392
|
* Database schema.
|
|
726
|
-
* @type {string}
|
|
727
|
-
* @memberof TestRequest
|
|
728
393
|
*/
|
|
729
394
|
schema?: string;
|
|
730
395
|
/**
|
|
731
396
|
* Database user name.
|
|
732
|
-
* @type {string}
|
|
733
|
-
* @memberof TestRequest
|
|
734
397
|
*/
|
|
735
398
|
username?: string;
|
|
736
399
|
/**
|
|
737
400
|
* Database user password.
|
|
738
|
-
* @type {string}
|
|
739
|
-
* @memberof TestRequest
|
|
740
401
|
*/
|
|
741
402
|
password?: string;
|
|
742
403
|
/**
|
|
743
404
|
* Secret for token based authentication for data sources which supports it.
|
|
744
|
-
* @type {string}
|
|
745
|
-
* @memberof TestRequest
|
|
746
405
|
*/
|
|
747
406
|
token?: string;
|
|
748
407
|
/**
|
|
749
408
|
* Private key for data sources which supports key-pair authentication.
|
|
750
|
-
* @type {string}
|
|
751
|
-
* @memberof TestRequest
|
|
752
409
|
*/
|
|
753
410
|
privateKey?: string;
|
|
754
411
|
/**
|
|
755
412
|
* Passphrase for a encrypted version of a private key.
|
|
756
|
-
* @type {string}
|
|
757
|
-
* @memberof TestRequest
|
|
758
413
|
*/
|
|
759
414
|
privateKeyPassphrase?: string;
|
|
760
415
|
/**
|
|
761
416
|
* Id for client based authentication for data sources which supports it.
|
|
762
|
-
* @type {string}
|
|
763
|
-
* @memberof TestRequest
|
|
764
417
|
*/
|
|
765
418
|
clientId?: string;
|
|
766
419
|
/**
|
|
767
420
|
* Secret for client based authentication for data sources which supports it.
|
|
768
|
-
* @type {string}
|
|
769
|
-
* @memberof TestRequest
|
|
770
421
|
*/
|
|
771
422
|
clientSecret?: string;
|
|
772
|
-
/**
|
|
773
|
-
*
|
|
774
|
-
* @type {Array<DataSourceParameter>}
|
|
775
|
-
* @memberof TestRequest
|
|
776
|
-
*/
|
|
777
423
|
parameters?: Array<DataSourceParameter>;
|
|
778
424
|
}
|
|
779
425
|
/**
|
|
780
426
|
* Response from data source testing.
|
|
781
|
-
* @export
|
|
782
|
-
* @interface TestResponse
|
|
783
427
|
*/
|
|
784
428
|
export interface TestResponse {
|
|
785
429
|
/**
|
|
786
430
|
* A flag indicating whether test passed or not.
|
|
787
|
-
* @type {boolean}
|
|
788
|
-
* @memberof TestResponse
|
|
789
431
|
*/
|
|
790
432
|
successful: boolean;
|
|
791
433
|
/**
|
|
792
434
|
* Field containing more details in case of a failure. Details are available to a privileged user only.
|
|
793
|
-
* @type {string}
|
|
794
|
-
* @memberof TestResponse
|
|
795
435
|
*/
|
|
796
436
|
error?: string;
|
|
797
|
-
/**
|
|
798
|
-
*
|
|
799
|
-
* @type {TestQueryDuration}
|
|
800
|
-
* @memberof TestResponse
|
|
801
|
-
*/
|
|
802
437
|
queryDurationMillis?: TestQueryDuration;
|
|
803
438
|
}
|
|
804
439
|
/**
|