@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
|
@@ -14,189 +14,111 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from "axios";
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from './base.js';
|
|
15
15
|
/**
|
|
16
16
|
* Bulk CSV analysis request.
|
|
17
|
-
* @export
|
|
18
|
-
* @interface AnalyzeCsvRequest
|
|
19
17
|
*/
|
|
20
18
|
export interface AnalyzeCsvRequest {
|
|
21
19
|
/**
|
|
22
20
|
* List of individual CSV analysis requests.
|
|
23
|
-
* @type {Array<AnalyzeCsvRequestItem>}
|
|
24
|
-
* @memberof AnalyzeCsvRequest
|
|
25
21
|
*/
|
|
26
22
|
analyzeRequests: Array<AnalyzeCsvRequestItem>;
|
|
27
23
|
}
|
|
28
24
|
/**
|
|
29
25
|
* CSV analysis request.
|
|
30
|
-
* @export
|
|
31
|
-
* @interface AnalyzeCsvRequestItem
|
|
32
26
|
*/
|
|
33
27
|
export interface AnalyzeCsvRequestItem {
|
|
34
28
|
/**
|
|
35
29
|
* Location of the CSV file to analyze.
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof AnalyzeCsvRequestItem
|
|
38
30
|
*/
|
|
39
31
|
location: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {AnalyzeCsvRequestItemConfig}
|
|
43
|
-
* @memberof AnalyzeCsvRequestItem
|
|
44
|
-
*/
|
|
45
32
|
config?: AnalyzeCsvRequestItemConfig;
|
|
46
33
|
}
|
|
47
34
|
/**
|
|
48
35
|
* CSV analysis request config.
|
|
49
|
-
* @export
|
|
50
|
-
* @interface AnalyzeCsvRequestItemConfig
|
|
51
36
|
*/
|
|
52
37
|
export interface AnalyzeCsvRequestItemConfig {
|
|
53
38
|
/**
|
|
54
39
|
* Number of rows to return in the flight that represents analysis result. If 0, no rows are returned, if less than 0, all rows that were in the sample are returned.
|
|
55
|
-
* @type {number}
|
|
56
|
-
* @memberof AnalyzeCsvRequestItemConfig
|
|
57
40
|
*/
|
|
58
41
|
resultRows?: number;
|
|
59
42
|
/**
|
|
60
43
|
* Maximum number of rows to work with during header detection.
|
|
61
|
-
* @type {number}
|
|
62
|
-
* @memberof AnalyzeCsvRequestItemConfig
|
|
63
44
|
*/
|
|
64
45
|
headerDetectMaxRows?: number;
|
|
65
46
|
/**
|
|
66
47
|
* Number of rows to consider as header, if null, header will be detected.
|
|
67
|
-
* @type {number}
|
|
68
|
-
* @memberof AnalyzeCsvRequestItemConfig
|
|
69
48
|
*/
|
|
70
49
|
headerRowCount?: number;
|
|
71
50
|
/**
|
|
72
51
|
* Possible column delimiters.
|
|
73
|
-
* @type {Array<string>}
|
|
74
|
-
* @memberof AnalyzeCsvRequestItemConfig
|
|
75
52
|
*/
|
|
76
53
|
delimiters?: Array<string>;
|
|
77
54
|
}
|
|
78
55
|
/**
|
|
79
56
|
* Describes the results of a CSV analysis of a single file.
|
|
80
|
-
* @export
|
|
81
|
-
* @interface AnalyzeCsvResponse
|
|
82
57
|
*/
|
|
83
58
|
export interface AnalyzeCsvResponse {
|
|
84
59
|
/**
|
|
85
60
|
* Location of the analyzed file in the source data source.
|
|
86
|
-
* @type {string}
|
|
87
|
-
* @memberof AnalyzeCsvResponse
|
|
88
61
|
*/
|
|
89
62
|
location: string;
|
|
90
63
|
/**
|
|
91
64
|
* List of column metadata.
|
|
92
|
-
* @type {Array<AnalyzeCsvResponseColumn>}
|
|
93
|
-
* @memberof AnalyzeCsvResponse
|
|
94
65
|
*/
|
|
95
66
|
columns: Array<AnalyzeCsvResponseColumn>;
|
|
96
67
|
/**
|
|
97
68
|
* Preview of the first N rows of the file.
|
|
98
|
-
* @type {Array<Array<object>>}
|
|
99
|
-
* @memberof AnalyzeCsvResponse
|
|
100
69
|
*/
|
|
101
70
|
previewData: Array<Array<object>>;
|
|
102
|
-
/**
|
|
103
|
-
*
|
|
104
|
-
* @type {AnalyzeCsvResponseConfig}
|
|
105
|
-
* @memberof AnalyzeCsvResponse
|
|
106
|
-
*/
|
|
107
71
|
config?: AnalyzeCsvResponseConfig;
|
|
108
72
|
}
|
|
109
73
|
/**
|
|
110
74
|
* Describes the result column.
|
|
111
|
-
* @export
|
|
112
|
-
* @interface AnalyzeCsvResponseColumn
|
|
113
75
|
*/
|
|
114
76
|
export interface AnalyzeCsvResponseColumn {
|
|
115
77
|
/**
|
|
116
78
|
* Name of the column as specified in the file (or autogenerated one if the file has no header).
|
|
117
|
-
* @type {string}
|
|
118
|
-
* @memberof AnalyzeCsvResponseColumn
|
|
119
79
|
*/
|
|
120
80
|
name: string;
|
|
121
81
|
/**
|
|
122
82
|
* Type of the column (e.g. string, bool, etc.).
|
|
123
|
-
* @type {string}
|
|
124
|
-
* @memberof AnalyzeCsvResponseColumn
|
|
125
83
|
*/
|
|
126
84
|
type: string;
|
|
127
85
|
/**
|
|
128
86
|
* List of date formats that can be used to parse this column as date. Null if there are none.
|
|
129
|
-
* @type {Array<string>}
|
|
130
|
-
* @memberof AnalyzeCsvResponseColumn
|
|
131
87
|
*/
|
|
132
88
|
detectedDateFormats?: Array<string>;
|
|
133
89
|
}
|
|
134
90
|
/**
|
|
135
91
|
* Config used to process the CSV file.
|
|
136
|
-
* @export
|
|
137
|
-
* @interface AnalyzeCsvResponseConfig
|
|
138
92
|
*/
|
|
139
93
|
export interface AnalyzeCsvResponseConfig {
|
|
140
|
-
/**
|
|
141
|
-
*
|
|
142
|
-
* @type {CsvReadOptions}
|
|
143
|
-
* @memberof AnalyzeCsvResponseConfig
|
|
144
|
-
*/
|
|
145
94
|
readOptions?: CsvReadOptions;
|
|
146
|
-
/**
|
|
147
|
-
*
|
|
148
|
-
* @type {CsvParseOptions}
|
|
149
|
-
* @memberof AnalyzeCsvResponseConfig
|
|
150
|
-
*/
|
|
151
95
|
parseOptions?: CsvParseOptions;
|
|
152
|
-
/**
|
|
153
|
-
*
|
|
154
|
-
* @type {CsvConvertOptions}
|
|
155
|
-
* @memberof AnalyzeCsvResponseConfig
|
|
156
|
-
*/
|
|
157
96
|
convertOptions?: CsvConvertOptions;
|
|
158
97
|
}
|
|
159
98
|
/**
|
|
160
99
|
* Information about a period in time and how much cached data was removed.
|
|
161
|
-
* @export
|
|
162
|
-
* @interface CacheRemovalInterval
|
|
163
100
|
*/
|
|
164
101
|
export interface CacheRemovalInterval {
|
|
165
102
|
/**
|
|
166
103
|
* Start timestamp of the removal interval.
|
|
167
|
-
* @type {string}
|
|
168
|
-
* @memberof CacheRemovalInterval
|
|
169
104
|
*/
|
|
170
105
|
from: string;
|
|
171
106
|
/**
|
|
172
107
|
* End timestamp of the removal interval.
|
|
173
|
-
* @type {string}
|
|
174
|
-
* @memberof CacheRemovalInterval
|
|
175
108
|
*/
|
|
176
109
|
to: string;
|
|
177
110
|
/**
|
|
178
111
|
* Bytes removed during this interval.
|
|
179
|
-
* @type {number}
|
|
180
|
-
* @memberof CacheRemovalInterval
|
|
181
112
|
*/
|
|
182
113
|
removed: number;
|
|
183
114
|
}
|
|
184
115
|
/**
|
|
185
116
|
* Result of scan of data source physical model.
|
|
186
|
-
* @export
|
|
187
|
-
* @interface CacheUsageData
|
|
188
117
|
*/
|
|
189
118
|
export interface CacheUsageData {
|
|
190
|
-
/**
|
|
191
|
-
*
|
|
192
|
-
* @type {OrganizationCacheUsage}
|
|
193
|
-
* @memberof CacheUsageData
|
|
194
|
-
*/
|
|
195
119
|
organizationCacheUsage: OrganizationCacheUsage;
|
|
196
120
|
/**
|
|
197
121
|
* Map of data about the cache usage of the individual workspaces.
|
|
198
|
-
* @type {{ [key: string]: WorkspaceCacheUsage; }}
|
|
199
|
-
* @memberof CacheUsageData
|
|
200
122
|
*/
|
|
201
123
|
workspaceCacheUsages: {
|
|
202
124
|
[key: string]: WorkspaceCacheUsage;
|
|
@@ -204,286 +126,185 @@ export interface CacheUsageData {
|
|
|
204
126
|
}
|
|
205
127
|
/**
|
|
206
128
|
* Options for converting CSV files when reading.
|
|
207
|
-
* @export
|
|
208
|
-
* @interface CsvConvertOptions
|
|
209
129
|
*/
|
|
210
130
|
export interface CsvConvertOptions {
|
|
211
131
|
/**
|
|
212
132
|
* Whether to check UTF8 validity of string columns.
|
|
213
|
-
* @type {boolean}
|
|
214
|
-
* @memberof CsvConvertOptions
|
|
215
133
|
*/
|
|
216
134
|
checkUtf8?: boolean;
|
|
217
135
|
/**
|
|
218
136
|
* Information about the column types in the table.
|
|
219
|
-
* @type {Array<CsvConvertOptionsColumnType>}
|
|
220
|
-
* @memberof CsvConvertOptions
|
|
221
137
|
*/
|
|
222
138
|
columnTypes?: Array<CsvConvertOptionsColumnType>;
|
|
223
139
|
/**
|
|
224
140
|
* Sequence of strings that denote nulls in the data.
|
|
225
|
-
* @type {Array<string>}
|
|
226
|
-
* @memberof CsvConvertOptions
|
|
227
141
|
*/
|
|
228
142
|
nullValues?: Array<string>;
|
|
229
143
|
/**
|
|
230
144
|
* Sequence of strings that denote true Booleans in the data.
|
|
231
|
-
* @type {Array<string>}
|
|
232
|
-
* @memberof CsvConvertOptions
|
|
233
145
|
*/
|
|
234
146
|
trueValues?: Array<string>;
|
|
235
147
|
/**
|
|
236
148
|
* Sequence of strings that denote false Booleans in the data.
|
|
237
|
-
* @type {Array<string>}
|
|
238
|
-
* @memberof CsvConvertOptions
|
|
239
149
|
*/
|
|
240
150
|
falseValues?: Array<string>;
|
|
241
151
|
/**
|
|
242
152
|
* The character used as decimal point in floating-point and decimal data.
|
|
243
|
-
* @type {string}
|
|
244
|
-
* @memberof CsvConvertOptions
|
|
245
153
|
*/
|
|
246
154
|
decimalPoint?: string;
|
|
247
155
|
/**
|
|
248
156
|
* Whether string / binary columns can have null values.
|
|
249
|
-
* @type {boolean}
|
|
250
|
-
* @memberof CsvConvertOptions
|
|
251
157
|
*/
|
|
252
158
|
stringsCanBeNull?: boolean;
|
|
253
159
|
/**
|
|
254
160
|
* Whether quoted values can be null.
|
|
255
|
-
* @type {boolean}
|
|
256
|
-
* @memberof CsvConvertOptions
|
|
257
161
|
*/
|
|
258
162
|
quotedStringsCanBeNull?: boolean;
|
|
259
163
|
/**
|
|
260
164
|
* The names of columns to include in the Table. If empty, the Table will include all columns from the CSV file. If not empty, only these columns will be included, in this order.
|
|
261
|
-
* @type {Array<string>}
|
|
262
|
-
* @memberof CsvConvertOptions
|
|
263
165
|
*/
|
|
264
166
|
includeColumns?: Array<string>;
|
|
265
167
|
/**
|
|
266
168
|
* If false, columns in includeColumns but not in the CSV file will error out.
|
|
267
|
-
* @type {boolean}
|
|
268
|
-
* @memberof CsvConvertOptions
|
|
269
169
|
*/
|
|
270
170
|
includeMissingColumns?: boolean;
|
|
271
171
|
/**
|
|
272
172
|
* Whether to try to automatically dict-encode string / binary data.
|
|
273
|
-
* @type {boolean}
|
|
274
|
-
* @memberof CsvConvertOptions
|
|
275
173
|
*/
|
|
276
174
|
autoDictEncode?: boolean;
|
|
277
175
|
/**
|
|
278
176
|
* The maximum dictionary cardinality for autoDictEncode.
|
|
279
|
-
* @type {number}
|
|
280
|
-
* @memberof CsvConvertOptions
|
|
281
177
|
*/
|
|
282
178
|
autoDictMaxCardinality?: number;
|
|
283
179
|
/**
|
|
284
180
|
* Sequence of strptime()-compatible format strings, tried in order when attempting to infer or convert timestamp values.
|
|
285
|
-
* @type {Array<string>}
|
|
286
|
-
* @memberof CsvConvertOptions
|
|
287
181
|
*/
|
|
288
182
|
timestampParsers?: Array<string>;
|
|
289
183
|
}
|
|
290
184
|
/**
|
|
291
185
|
* Information about a certain column in the table.
|
|
292
|
-
* @export
|
|
293
|
-
* @interface CsvConvertOptionsColumnType
|
|
294
186
|
*/
|
|
295
187
|
export interface CsvConvertOptionsColumnType {
|
|
296
188
|
/**
|
|
297
189
|
* The column name.
|
|
298
|
-
* @type {string}
|
|
299
|
-
* @memberof CsvConvertOptionsColumnType
|
|
300
190
|
*/
|
|
301
191
|
name?: string;
|
|
302
192
|
/**
|
|
303
193
|
* The column type.
|
|
304
|
-
* @type {string}
|
|
305
|
-
* @memberof CsvConvertOptionsColumnType
|
|
306
194
|
*/
|
|
307
195
|
type?: string;
|
|
308
196
|
/**
|
|
309
197
|
* Whether the data in the given column can be null.
|
|
310
|
-
* @type {boolean}
|
|
311
|
-
* @memberof CsvConvertOptionsColumnType
|
|
312
198
|
*/
|
|
313
199
|
nullable?: boolean;
|
|
314
200
|
}
|
|
315
201
|
/**
|
|
316
202
|
* Body of the CSV manifest.
|
|
317
|
-
* @export
|
|
318
|
-
* @interface CsvManifestBody
|
|
319
203
|
*/
|
|
320
204
|
export interface CsvManifestBody {
|
|
321
|
-
/**
|
|
322
|
-
*
|
|
323
|
-
* @type {CsvReadOptions}
|
|
324
|
-
* @memberof CsvManifestBody
|
|
325
|
-
*/
|
|
326
205
|
read?: CsvReadOptions;
|
|
327
|
-
/**
|
|
328
|
-
*
|
|
329
|
-
* @type {CsvParseOptions}
|
|
330
|
-
* @memberof CsvManifestBody
|
|
331
|
-
*/
|
|
332
206
|
parse?: CsvParseOptions;
|
|
333
|
-
/**
|
|
334
|
-
*
|
|
335
|
-
* @type {CsvConvertOptions}
|
|
336
|
-
* @memberof CsvManifestBody
|
|
337
|
-
*/
|
|
338
207
|
convert?: CsvConvertOptions;
|
|
339
208
|
/**
|
|
340
209
|
* Map of column names to date formats to use when parsing them as dates.
|
|
341
|
-
* @type {{ [key: string]: string; }}
|
|
342
|
-
* @memberof CsvManifestBody
|
|
343
210
|
*/
|
|
344
211
|
column_date_formats?: {
|
|
345
212
|
[key: string]: string;
|
|
346
213
|
};
|
|
347
214
|
/**
|
|
348
215
|
* Method used to read the CSV file.
|
|
349
|
-
* @type {string}
|
|
350
|
-
* @memberof CsvManifestBody
|
|
351
216
|
*/
|
|
352
217
|
read_method?: string;
|
|
353
218
|
}
|
|
354
219
|
/**
|
|
355
220
|
* Options for parsing CSV files.
|
|
356
|
-
* @export
|
|
357
|
-
* @interface CsvParseOptions
|
|
358
221
|
*/
|
|
359
222
|
export interface CsvParseOptions {
|
|
360
223
|
/**
|
|
361
224
|
* The character delimiting individual cells in the CSV data.
|
|
362
|
-
* @type {string}
|
|
363
|
-
* @memberof CsvParseOptions
|
|
364
225
|
*/
|
|
365
226
|
delimiter?: string;
|
|
366
227
|
/**
|
|
367
228
|
* The character used optionally for quoting CSV values or false to disable quoting.
|
|
368
|
-
* @type {object}
|
|
369
|
-
* @memberof CsvParseOptions
|
|
370
229
|
*/
|
|
371
230
|
quoteChar?: object;
|
|
372
231
|
/**
|
|
373
232
|
* Whether two quotes in a quoted CSV value denote a single quote in the data.
|
|
374
|
-
* @type {boolean}
|
|
375
|
-
* @memberof CsvParseOptions
|
|
376
233
|
*/
|
|
377
234
|
doubleQuote?: boolean;
|
|
378
235
|
/**
|
|
379
236
|
* The character used optionally for escaping special characters or false to disable escaping.
|
|
380
|
-
* @type {object}
|
|
381
|
-
* @memberof CsvParseOptions
|
|
382
237
|
*/
|
|
383
238
|
escapeChar?: object;
|
|
384
239
|
/**
|
|
385
240
|
* Whether newline characters are allowed in CSV values.
|
|
386
|
-
* @type {boolean}
|
|
387
|
-
* @memberof CsvParseOptions
|
|
388
241
|
*/
|
|
389
242
|
newlinesInValues?: boolean;
|
|
390
243
|
/**
|
|
391
244
|
* Whether empty lines are ignored in CSV input.
|
|
392
|
-
* @type {boolean}
|
|
393
|
-
* @memberof CsvParseOptions
|
|
394
245
|
*/
|
|
395
246
|
ignoreEmptyLines?: boolean;
|
|
396
247
|
}
|
|
397
248
|
/**
|
|
398
249
|
* Options for reading CSV files.
|
|
399
|
-
* @export
|
|
400
|
-
* @interface CsvReadOptions
|
|
401
250
|
*/
|
|
402
251
|
export interface CsvReadOptions {
|
|
403
252
|
/**
|
|
404
253
|
* Whether to use multiple threads to accelerate reading.
|
|
405
|
-
* @type {boolean}
|
|
406
|
-
* @memberof CsvReadOptions
|
|
407
254
|
*/
|
|
408
255
|
useThreads?: boolean;
|
|
409
256
|
/**
|
|
410
257
|
* How many bytes to process at a time from the input stream.
|
|
411
|
-
* @type {number}
|
|
412
|
-
* @memberof CsvReadOptions
|
|
413
258
|
*/
|
|
414
259
|
blockSize?: number;
|
|
415
260
|
/**
|
|
416
261
|
* The number of rows to skip before the column names (if any) and the CSV data.
|
|
417
|
-
* @type {number}
|
|
418
|
-
* @memberof CsvReadOptions
|
|
419
262
|
*/
|
|
420
263
|
skipRows?: number;
|
|
421
264
|
/**
|
|
422
265
|
* The number of rows to skip after the column names.
|
|
423
|
-
* @type {number}
|
|
424
|
-
* @memberof CsvReadOptions
|
|
425
266
|
*/
|
|
426
267
|
skipRowsAfterNames?: number;
|
|
427
268
|
/**
|
|
428
269
|
* The column names of the target table.
|
|
429
|
-
* @type {Array<string>}
|
|
430
|
-
* @memberof CsvReadOptions
|
|
431
270
|
*/
|
|
432
271
|
columnNames?: Array<string>;
|
|
433
272
|
/**
|
|
434
273
|
* Whether to autogenerate column names if columnNames is empty.
|
|
435
|
-
* @type {boolean}
|
|
436
|
-
* @memberof CsvReadOptions
|
|
437
274
|
*/
|
|
438
275
|
autoGenerateColumnNames?: boolean;
|
|
439
276
|
/**
|
|
440
277
|
* The character encoding of the CSV data.
|
|
441
|
-
* @type {string}
|
|
442
|
-
* @memberof CsvReadOptions
|
|
443
278
|
*/
|
|
444
279
|
encoding?: string;
|
|
445
280
|
}
|
|
446
281
|
/**
|
|
447
282
|
* Request to delete files from the storage.
|
|
448
|
-
* @export
|
|
449
|
-
* @interface DeleteFilesRequest
|
|
450
283
|
*/
|
|
451
284
|
export interface DeleteFilesRequest {
|
|
452
285
|
/**
|
|
453
286
|
* Names of the files to delete.
|
|
454
|
-
* @type {Array<string>}
|
|
455
|
-
* @memberof DeleteFilesRequest
|
|
456
287
|
*/
|
|
457
288
|
fileNames: Array<string>;
|
|
458
289
|
}
|
|
459
290
|
/**
|
|
460
291
|
* File stored in GD Storage.
|
|
461
|
-
* @export
|
|
462
|
-
* @interface GdStorageFile
|
|
463
292
|
*/
|
|
464
293
|
export interface GdStorageFile {
|
|
465
294
|
/**
|
|
466
295
|
* Name of the file.
|
|
467
|
-
* @type {string}
|
|
468
|
-
* @memberof GdStorageFile
|
|
469
296
|
*/
|
|
470
297
|
name: string;
|
|
471
298
|
/**
|
|
472
299
|
* Size of the file in bytes.
|
|
473
|
-
* @type {number}
|
|
474
|
-
* @memberof GdStorageFile
|
|
475
300
|
*/
|
|
476
301
|
size: number;
|
|
477
302
|
/**
|
|
478
303
|
* Last modification timestamp of the file.
|
|
479
|
-
* @type {string}
|
|
480
|
-
* @memberof GdStorageFile
|
|
481
304
|
*/
|
|
482
305
|
modifiedAt: string;
|
|
483
306
|
/**
|
|
484
307
|
* Type of the file.
|
|
485
|
-
* @type {string}
|
|
486
|
-
* @memberof GdStorageFile
|
|
487
308
|
*/
|
|
488
309
|
type: GdStorageFileTypeEnum;
|
|
489
310
|
}
|
|
@@ -493,83 +314,42 @@ export declare const GdStorageFileTypeEnum: {
|
|
|
493
314
|
export type GdStorageFileTypeEnum = (typeof GdStorageFileTypeEnum)[keyof typeof GdStorageFileTypeEnum];
|
|
494
315
|
/**
|
|
495
316
|
* Request containing the information necessary to import one or more CSV files from the staging area.
|
|
496
|
-
* @export
|
|
497
|
-
* @interface ImportCsvRequest
|
|
498
317
|
*/
|
|
499
318
|
export interface ImportCsvRequest {
|
|
500
319
|
/**
|
|
501
320
|
* Information about the individual tables.
|
|
502
|
-
* @type {Array<ImportCsvRequestTable>}
|
|
503
|
-
* @memberof ImportCsvRequest
|
|
504
321
|
*/
|
|
505
322
|
tables: Array<ImportCsvRequestTable>;
|
|
506
323
|
}
|
|
507
324
|
/**
|
|
508
325
|
* Information about a particular table.
|
|
509
|
-
* @export
|
|
510
|
-
* @interface ImportCsvRequestTable
|
|
511
326
|
*/
|
|
512
327
|
export interface ImportCsvRequestTable {
|
|
513
328
|
/**
|
|
514
329
|
* Name of the table.
|
|
515
|
-
* @type {string}
|
|
516
|
-
* @memberof ImportCsvRequestTable
|
|
517
330
|
*/
|
|
518
331
|
name: string;
|
|
519
|
-
/**
|
|
520
|
-
*
|
|
521
|
-
* @type {ImportCsvRequestTableSource}
|
|
522
|
-
* @memberof ImportCsvRequestTable
|
|
523
|
-
*/
|
|
524
332
|
source: ImportCsvRequestTableSource;
|
|
525
333
|
}
|
|
526
334
|
/**
|
|
527
335
|
* Information about source data for a particular table.
|
|
528
|
-
* @export
|
|
529
|
-
* @interface ImportCsvRequestTableSource
|
|
530
336
|
*/
|
|
531
337
|
export interface ImportCsvRequestTableSource {
|
|
532
338
|
/**
|
|
533
339
|
* Location of the data in the staging area.
|
|
534
|
-
* @type {string}
|
|
535
|
-
* @memberof ImportCsvRequestTableSource
|
|
536
340
|
*/
|
|
537
341
|
location: string;
|
|
538
|
-
/**
|
|
539
|
-
*
|
|
540
|
-
* @type {ImportCsvRequestTableSourceConfig}
|
|
541
|
-
* @memberof ImportCsvRequestTableSource
|
|
542
|
-
*/
|
|
543
342
|
config: ImportCsvRequestTableSourceConfig;
|
|
544
343
|
}
|
|
545
344
|
/**
|
|
546
345
|
* Config to use when accessing the data for executions, etc.
|
|
547
|
-
* @export
|
|
548
|
-
* @interface ImportCsvRequestTableSourceConfig
|
|
549
346
|
*/
|
|
550
347
|
export interface ImportCsvRequestTableSourceConfig {
|
|
551
|
-
/**
|
|
552
|
-
*
|
|
553
|
-
* @type {CsvReadOptions}
|
|
554
|
-
* @memberof ImportCsvRequestTableSourceConfig
|
|
555
|
-
*/
|
|
556
348
|
readOptions?: CsvReadOptions;
|
|
557
|
-
/**
|
|
558
|
-
*
|
|
559
|
-
* @type {CsvParseOptions}
|
|
560
|
-
* @memberof ImportCsvRequestTableSourceConfig
|
|
561
|
-
*/
|
|
562
349
|
parseOptions?: CsvParseOptions;
|
|
563
|
-
/**
|
|
564
|
-
*
|
|
565
|
-
* @type {CsvConvertOptions}
|
|
566
|
-
* @memberof ImportCsvRequestTableSourceConfig
|
|
567
|
-
*/
|
|
568
350
|
convertOptions?: CsvConvertOptions;
|
|
569
351
|
/**
|
|
570
352
|
* Date formats to use to use to read the given columns.
|
|
571
|
-
* @type {{ [key: string]: string; }}
|
|
572
|
-
* @memberof ImportCsvRequestTableSourceConfig
|
|
573
353
|
*/
|
|
574
354
|
columnDateFormats?: {
|
|
575
355
|
[key: string]: string;
|
|
@@ -577,222 +357,137 @@ export interface ImportCsvRequestTableSourceConfig {
|
|
|
577
357
|
}
|
|
578
358
|
/**
|
|
579
359
|
* Response containing the information about the imported CSV file.
|
|
580
|
-
* @export
|
|
581
|
-
* @interface ImportCsvResponse
|
|
582
360
|
*/
|
|
583
361
|
export interface ImportCsvResponse {
|
|
584
362
|
/**
|
|
585
363
|
* Name of the table the file was imported to.
|
|
586
|
-
* @type {string}
|
|
587
|
-
* @memberof ImportCsvResponse
|
|
588
364
|
*/
|
|
589
365
|
name: string;
|
|
590
366
|
/**
|
|
591
367
|
* Version the file was imported as.
|
|
592
|
-
* @type {number}
|
|
593
|
-
* @memberof ImportCsvResponse
|
|
594
368
|
*/
|
|
595
369
|
version: number;
|
|
596
370
|
}
|
|
597
371
|
/**
|
|
598
372
|
* Settings for organization cache.
|
|
599
|
-
* @export
|
|
600
|
-
* @interface OrganizationCacheSettings
|
|
601
373
|
*/
|
|
602
374
|
export interface OrganizationCacheSettings {
|
|
603
375
|
/**
|
|
604
376
|
* Extra cache budget the organization can allocate among its workspaces, in bytes.
|
|
605
|
-
* @type {number}
|
|
606
|
-
* @memberof OrganizationCacheSettings
|
|
607
377
|
*/
|
|
608
378
|
extraCacheBudget: number;
|
|
609
379
|
}
|
|
610
380
|
/**
|
|
611
381
|
* Data about the whole organization\'s cache usage.
|
|
612
|
-
* @export
|
|
613
|
-
* @interface OrganizationCacheUsage
|
|
614
382
|
*/
|
|
615
383
|
export interface OrganizationCacheUsage {
|
|
616
|
-
/**
|
|
617
|
-
*
|
|
618
|
-
* @type {OrganizationCacheSettings}
|
|
619
|
-
* @memberof OrganizationCacheUsage
|
|
620
|
-
*/
|
|
621
384
|
settings: OrganizationCacheSettings;
|
|
622
|
-
/**
|
|
623
|
-
*
|
|
624
|
-
* @type {OrganizationCurrentCacheUsage}
|
|
625
|
-
* @memberof OrganizationCacheUsage
|
|
626
|
-
*/
|
|
627
385
|
current: OrganizationCurrentCacheUsage;
|
|
628
386
|
/**
|
|
629
387
|
* List of cache removal intervals.
|
|
630
|
-
* @type {Array<CacheRemovalInterval>}
|
|
631
|
-
* @memberof OrganizationCacheUsage
|
|
632
388
|
*/
|
|
633
389
|
removalIntervals: Array<CacheRemovalInterval>;
|
|
634
390
|
}
|
|
635
391
|
/**
|
|
636
392
|
* Current cache usage of the organization.
|
|
637
|
-
* @export
|
|
638
|
-
* @interface OrganizationCurrentCacheUsage
|
|
639
393
|
*/
|
|
640
394
|
export interface OrganizationCurrentCacheUsage {
|
|
641
395
|
/**
|
|
642
396
|
* Cache currently used by the organization, in bytes.
|
|
643
|
-
* @type {number}
|
|
644
|
-
* @memberof OrganizationCurrentCacheUsage
|
|
645
397
|
*/
|
|
646
398
|
cacheUsed: number;
|
|
647
399
|
/**
|
|
648
400
|
* Start timestamp of removal period.
|
|
649
|
-
* @type {string}
|
|
650
|
-
* @memberof OrganizationCurrentCacheUsage
|
|
651
401
|
*/
|
|
652
402
|
removalPeriodStart?: string;
|
|
653
403
|
/**
|
|
654
404
|
* Bytes removed since start due to insufficient cache.
|
|
655
|
-
* @type {number}
|
|
656
|
-
* @memberof OrganizationCurrentCacheUsage
|
|
657
405
|
*/
|
|
658
406
|
removedSinceStart: number;
|
|
659
407
|
}
|
|
660
408
|
/**
|
|
661
409
|
* Request to read the manifests of the specified CSV files.
|
|
662
|
-
* @export
|
|
663
|
-
* @interface ReadCsvFileManifestsRequest
|
|
664
410
|
*/
|
|
665
411
|
export interface ReadCsvFileManifestsRequest {
|
|
666
412
|
/**
|
|
667
413
|
* Files to read the manifests for.
|
|
668
|
-
* @type {Array<ReadCsvFileManifestsRequestItem>}
|
|
669
|
-
* @memberof ReadCsvFileManifestsRequest
|
|
670
414
|
*/
|
|
671
415
|
manifestRequests: Array<ReadCsvFileManifestsRequestItem>;
|
|
672
416
|
}
|
|
673
417
|
/**
|
|
674
418
|
* Request to read the manifest of a single CSV file.
|
|
675
|
-
* @export
|
|
676
|
-
* @interface ReadCsvFileManifestsRequestItem
|
|
677
419
|
*/
|
|
678
420
|
export interface ReadCsvFileManifestsRequestItem {
|
|
679
421
|
/**
|
|
680
422
|
* Name of the CSV file to read the manifest for.
|
|
681
|
-
* @type {string}
|
|
682
|
-
* @memberof ReadCsvFileManifestsRequestItem
|
|
683
423
|
*/
|
|
684
424
|
fileName: string;
|
|
685
425
|
/**
|
|
686
426
|
* Optional version of the file to read the manifest for. If null or not specified, the latest version is read.
|
|
687
|
-
* @type {number}
|
|
688
|
-
* @memberof ReadCsvFileManifestsRequestItem
|
|
689
427
|
*/
|
|
690
428
|
version?: number;
|
|
691
429
|
}
|
|
692
430
|
/**
|
|
693
431
|
* Describes the results of a CSV manifest read of a single file.
|
|
694
|
-
* @export
|
|
695
|
-
* @interface ReadCsvFileManifestsResponse
|
|
696
432
|
*/
|
|
697
433
|
export interface ReadCsvFileManifestsResponse {
|
|
698
434
|
/**
|
|
699
435
|
* Name of the file in the source data source.
|
|
700
|
-
* @type {string}
|
|
701
|
-
* @memberof ReadCsvFileManifestsResponse
|
|
702
436
|
*/
|
|
703
437
|
name: string;
|
|
704
438
|
/**
|
|
705
439
|
* Version of the file in the source data source.
|
|
706
|
-
* @type {number}
|
|
707
|
-
* @memberof ReadCsvFileManifestsResponse
|
|
708
440
|
*/
|
|
709
441
|
version: number;
|
|
710
|
-
/**
|
|
711
|
-
*
|
|
712
|
-
* @type {CsvManifestBody}
|
|
713
|
-
* @memberof ReadCsvFileManifestsResponse
|
|
714
|
-
*/
|
|
715
442
|
manifest: CsvManifestBody;
|
|
716
443
|
}
|
|
717
444
|
/**
|
|
718
445
|
* Information related to the file uploaded to the staging area.
|
|
719
|
-
* @export
|
|
720
|
-
* @interface UploadFileResponse
|
|
721
446
|
*/
|
|
722
447
|
export interface UploadFileResponse {
|
|
723
448
|
/**
|
|
724
449
|
* Location to use when referencing the uploaded file in subsequent requests.
|
|
725
|
-
* @type {string}
|
|
726
|
-
* @memberof UploadFileResponse
|
|
727
450
|
*/
|
|
728
451
|
location: string;
|
|
729
452
|
}
|
|
730
453
|
/**
|
|
731
454
|
* Cache settings for the workspace.
|
|
732
|
-
* @export
|
|
733
|
-
* @interface WorkspaceCacheSettings
|
|
734
455
|
*/
|
|
735
456
|
export interface WorkspaceCacheSettings {
|
|
736
457
|
/**
|
|
737
458
|
* Extra cache for the workspace, in bytes.
|
|
738
|
-
* @type {number}
|
|
739
|
-
* @memberof WorkspaceCacheSettings
|
|
740
459
|
*/
|
|
741
460
|
extraCache: number;
|
|
742
461
|
}
|
|
743
462
|
/**
|
|
744
463
|
* Data about a particular workspace cache usage.
|
|
745
|
-
* @export
|
|
746
|
-
* @interface WorkspaceCacheUsage
|
|
747
464
|
*/
|
|
748
465
|
export interface WorkspaceCacheUsage {
|
|
749
|
-
/**
|
|
750
|
-
*
|
|
751
|
-
* @type {WorkspaceCacheSettings}
|
|
752
|
-
* @memberof WorkspaceCacheUsage
|
|
753
|
-
*/
|
|
754
466
|
settings: WorkspaceCacheSettings;
|
|
755
|
-
/**
|
|
756
|
-
*
|
|
757
|
-
* @type {WorkspaceCurrentCacheUsage}
|
|
758
|
-
* @memberof WorkspaceCacheUsage
|
|
759
|
-
*/
|
|
760
467
|
current: WorkspaceCurrentCacheUsage;
|
|
761
468
|
/**
|
|
762
469
|
* List of cache removal intervals for workspace.
|
|
763
|
-
* @type {Array<CacheRemovalInterval>}
|
|
764
|
-
* @memberof WorkspaceCacheUsage
|
|
765
470
|
*/
|
|
766
471
|
removalIntervals: Array<CacheRemovalInterval>;
|
|
767
472
|
}
|
|
768
473
|
/**
|
|
769
474
|
* Current cache usage of the workspace.
|
|
770
|
-
* @export
|
|
771
|
-
* @interface WorkspaceCurrentCacheUsage
|
|
772
475
|
*/
|
|
773
476
|
export interface WorkspaceCurrentCacheUsage {
|
|
774
477
|
/**
|
|
775
478
|
* Cache used by the workspace.
|
|
776
|
-
* @type {number}
|
|
777
|
-
* @memberof WorkspaceCurrentCacheUsage
|
|
778
479
|
*/
|
|
779
480
|
cacheUsed: number;
|
|
780
481
|
/**
|
|
781
482
|
* Cache available for the workspace.
|
|
782
|
-
* @type {number}
|
|
783
|
-
* @memberof WorkspaceCurrentCacheUsage
|
|
784
483
|
*/
|
|
785
484
|
cacheAvailable: number;
|
|
786
485
|
/**
|
|
787
486
|
* Start timestamp of removal period for the workspace.
|
|
788
|
-
* @type {string}
|
|
789
|
-
* @memberof WorkspaceCurrentCacheUsage
|
|
790
487
|
*/
|
|
791
488
|
removalPeriodStart: string;
|
|
792
489
|
/**
|
|
793
490
|
* Bytes removed since start due to insufficient cache for the workspace.
|
|
794
|
-
* @type {number}
|
|
795
|
-
* @memberof WorkspaceCurrentCacheUsage
|
|
796
491
|
*/
|
|
797
492
|
removedSinceStart: number;
|
|
798
493
|
}
|
|
@@ -854,11 +549,11 @@ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
854
549
|
/**
|
|
855
550
|
* Provides a location for uploading staging files.
|
|
856
551
|
* @summary Upload a file to the staging area
|
|
857
|
-
* @param {
|
|
552
|
+
* @param {File} file The file to upload.
|
|
858
553
|
* @param {*} [options] Override http request option.
|
|
859
554
|
* @throws {RequiredError}
|
|
860
555
|
*/
|
|
861
|
-
stagingUpload: (file:
|
|
556
|
+
stagingUpload: (file: File, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
862
557
|
};
|
|
863
558
|
/**
|
|
864
559
|
* ActionsApi - functional programming interface
|
|
@@ -918,11 +613,11 @@ export declare const ActionsApiFp: (configuration?: Configuration) => {
|
|
|
918
613
|
/**
|
|
919
614
|
* Provides a location for uploading staging files.
|
|
920
615
|
* @summary Upload a file to the staging area
|
|
921
|
-
* @param {
|
|
616
|
+
* @param {File} file The file to upload.
|
|
922
617
|
* @param {*} [options] Override http request option.
|
|
923
618
|
* @throws {RequiredError}
|
|
924
619
|
*/
|
|
925
|
-
stagingUpload(file:
|
|
620
|
+
stagingUpload(file: File, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UploadFileResponse>>;
|
|
926
621
|
};
|
|
927
622
|
/**
|
|
928
623
|
* ActionsApi - factory interface
|
|
@@ -1145,10 +840,10 @@ export interface ActionsApiReadCsvFileManifestsRequest {
|
|
|
1145
840
|
export interface ActionsApiStagingUploadRequest {
|
|
1146
841
|
/**
|
|
1147
842
|
* The file to upload.
|
|
1148
|
-
* @type {
|
|
843
|
+
* @type {File}
|
|
1149
844
|
* @memberof ActionsApiStagingUpload
|
|
1150
845
|
*/
|
|
1151
|
-
readonly file:
|
|
846
|
+
readonly file: File;
|
|
1152
847
|
}
|
|
1153
848
|
/**
|
|
1154
849
|
* ActionsApi - object-oriented interface
|
|
@@ -1762,11 +1457,11 @@ export declare const DataSourceStagingLocationApiAxiosParamCreator: (configurati
|
|
|
1762
1457
|
/**
|
|
1763
1458
|
* Provides a location for uploading staging files.
|
|
1764
1459
|
* @summary Upload a file to the staging area
|
|
1765
|
-
* @param {
|
|
1460
|
+
* @param {File} file The file to upload.
|
|
1766
1461
|
* @param {*} [options] Override http request option.
|
|
1767
1462
|
* @throws {RequiredError}
|
|
1768
1463
|
*/
|
|
1769
|
-
stagingUpload: (file:
|
|
1464
|
+
stagingUpload: (file: File, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1770
1465
|
};
|
|
1771
1466
|
/**
|
|
1772
1467
|
* DataSourceStagingLocationApi - functional programming interface
|
|
@@ -1776,11 +1471,11 @@ export declare const DataSourceStagingLocationApiFp: (configuration?: Configurat
|
|
|
1776
1471
|
/**
|
|
1777
1472
|
* Provides a location for uploading staging files.
|
|
1778
1473
|
* @summary Upload a file to the staging area
|
|
1779
|
-
* @param {
|
|
1474
|
+
* @param {File} file The file to upload.
|
|
1780
1475
|
* @param {*} [options] Override http request option.
|
|
1781
1476
|
* @throws {RequiredError}
|
|
1782
1477
|
*/
|
|
1783
|
-
stagingUpload(file:
|
|
1478
|
+
stagingUpload(file: File, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UploadFileResponse>>;
|
|
1784
1479
|
};
|
|
1785
1480
|
/**
|
|
1786
1481
|
* DataSourceStagingLocationApi - factory interface
|
|
@@ -1820,10 +1515,10 @@ export interface DataSourceStagingLocationApiInterface {
|
|
|
1820
1515
|
export interface DataSourceStagingLocationApiStagingUploadRequest {
|
|
1821
1516
|
/**
|
|
1822
1517
|
* The file to upload.
|
|
1823
|
-
* @type {
|
|
1518
|
+
* @type {File}
|
|
1824
1519
|
* @memberof DataSourceStagingLocationApiStagingUpload
|
|
1825
1520
|
*/
|
|
1826
|
-
readonly file:
|
|
1521
|
+
readonly file: File;
|
|
1827
1522
|
}
|
|
1828
1523
|
/**
|
|
1829
1524
|
* DataSourceStagingLocationApi - object-oriented interface
|