@databricks/sdk-genie 0.34.0 → 0.36.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/dist/package.js +7 -0
- package/dist/package.js.map +1 -0
- package/dist/v1/client.d.ts +167 -163
- package/dist/v1/client.d.ts.map +1 -1
- package/dist/v1/client.js +804 -1049
- package/dist/v1/client.js.map +1 -1
- package/dist/v1/index.d.ts +3 -7
- package/dist/v1/index.js +4 -7
- package/dist/v1/model.d.ts +1615 -1639
- package/dist/v1/model.d.ts.map +1 -1
- package/dist/v1/model.js +926 -1622
- package/dist/v1/model.js.map +1 -1
- package/dist/v1/transport.d.ts +21 -17
- package/dist/v1/transport.d.ts.map +1 -1
- package/dist/v1/transport.js +60 -69
- package/dist/v1/transport.js.map +1 -1
- package/dist/v1/utils.d.ts +22 -19
- package/dist/v1/utils.d.ts.map +1 -1
- package/dist/v1/utils.js +114 -145
- package/dist/v1/utils.js.map +1 -1
- package/package.json +5 -5
- package/dist/v1/index.d.ts.map +0 -1
- package/dist/v1/index.js.map +0 -1
package/dist/v1/model.d.ts
CHANGED
|
@@ -1,570 +1,568 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/v1/model.d.ts
|
|
4
|
+
declare const ColumnTypeName: {
|
|
5
|
+
readonly BOOLEAN: "BOOLEAN";
|
|
6
|
+
readonly BYTE: "BYTE";
|
|
7
|
+
readonly SHORT: "SHORT";
|
|
8
|
+
readonly INT: "INT";
|
|
9
|
+
readonly LONG: "LONG";
|
|
10
|
+
readonly FLOAT: "FLOAT";
|
|
11
|
+
readonly DOUBLE: "DOUBLE";
|
|
12
|
+
readonly DATE: "DATE";
|
|
13
|
+
readonly TIMESTAMP: "TIMESTAMP";
|
|
14
|
+
readonly STRING: "STRING";
|
|
15
|
+
readonly BINARY: "BINARY";
|
|
16
|
+
readonly DECIMAL: "DECIMAL";
|
|
17
|
+
readonly INTERVAL: "INTERVAL";
|
|
18
|
+
readonly ARRAY: "ARRAY";
|
|
19
|
+
readonly STRUCT: "STRUCT";
|
|
20
|
+
readonly MAP: "MAP";
|
|
21
|
+
readonly CHAR: "CHAR";
|
|
22
|
+
readonly NULL: "NULL";
|
|
23
|
+
readonly USER_DEFINED_TYPE: "USER_DEFINED_TYPE";
|
|
24
|
+
readonly TIMESTAMP_NTZ: "TIMESTAMP_NTZ";
|
|
25
|
+
readonly VARIANT: "VARIANT";
|
|
26
|
+
readonly GEOMETRY: "GEOMETRY";
|
|
27
|
+
readonly GEOGRAPHY: "GEOGRAPHY";
|
|
28
|
+
readonly TABLE_TYPE: "TABLE_TYPE";
|
|
27
29
|
};
|
|
28
|
-
|
|
30
|
+
type ColumnTypeName = (typeof ColumnTypeName)[keyof typeof ColumnTypeName] | (string & {});
|
|
29
31
|
/** Error codes returned by Databricks APIs to indicate specific failure conditions. */
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
525
|
-
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
526
|
-
*/
|
|
527
|
-
readonly PROVIDER_SHARE_NOT_ACCESSIBLE: "PROVIDER_SHARE_NOT_ACCESSIBLE";
|
|
32
|
+
declare const ErrorCode: {
|
|
33
|
+
/**
|
|
34
|
+
* Unknown error. This error generally should not be returned explicitly, but will be used
|
|
35
|
+
* as a fallback if the error enum is missing from the message for some reason.
|
|
36
|
+
*
|
|
37
|
+
* It's assigned tag 0 to follow the best practice from
|
|
38
|
+
* https://developers.google.com/protocol-buffers/docs/style#enums
|
|
39
|
+
*
|
|
40
|
+
* TODO(PLAT-55898): Add custom option to declare HTTP and gRPC mappings.
|
|
41
|
+
* Maps to:
|
|
42
|
+
* - google.rpc.Code: UNKNOWN = 2;
|
|
43
|
+
* - HTTP code: 500 Internal Server Error
|
|
44
|
+
*/
|
|
45
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
46
|
+
/**
|
|
47
|
+
* Internal error. This means that some invariants expected by the underlying system have been
|
|
48
|
+
* broken. This error code is reserved for serious errors, which generally cannot be resolved
|
|
49
|
+
* by the user.
|
|
50
|
+
*
|
|
51
|
+
* Prefer this over all kinds of detailed error messages (e.g IO_ERROR), unless there's some
|
|
52
|
+
* automation that relies on the custom error code.
|
|
53
|
+
*
|
|
54
|
+
* Maps to:
|
|
55
|
+
* - google.rpc.Code: INTERNAL = 13;
|
|
56
|
+
* - HTTP code: 500 Internal Server Error
|
|
57
|
+
*/
|
|
58
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
59
|
+
/**
|
|
60
|
+
* The service is currently unavailable. This is most likely a transient condition, which can be
|
|
61
|
+
* corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent
|
|
62
|
+
* operations.
|
|
63
|
+
*
|
|
64
|
+
* Prefer this over SERVICE_UNDER_MAINTENANCE, WORKSPACE_TEMPORARILY_UNAVAILABLE.
|
|
65
|
+
*
|
|
66
|
+
* See https://docs.google.com/document/d/1FL8p2sbYWqBPL-UvhzI7uXAw4EoLG7Rj6PAOQWZRSOk/edit#
|
|
67
|
+
* for guideline on how to pick this vs RESOURCE_EXHAUSTED.
|
|
68
|
+
*
|
|
69
|
+
* Maps to:
|
|
70
|
+
* - google.rpc.Code: UNAVAILABLE = 14;
|
|
71
|
+
* - HTTP code: 503 Service Unavailable
|
|
72
|
+
*/
|
|
73
|
+
readonly TEMPORARILY_UNAVAILABLE: "TEMPORARILY_UNAVAILABLE";
|
|
74
|
+
/**
|
|
75
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
76
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
77
|
+
* Indicates that an IOException has been internally thrown.
|
|
78
|
+
*/
|
|
79
|
+
readonly IO_ERROR: "IO_ERROR";
|
|
80
|
+
/**
|
|
81
|
+
* The request is invalid. Prefer more specific error code whenever possible.
|
|
82
|
+
* Also see similar recommendation for the google.rpc.Code.FAILED_PRECONDITION.
|
|
83
|
+
*
|
|
84
|
+
* Prefer this error code over MALFORMED_REQUEST, INVALID_STATE, UNPARSEABLE_HTTP_ERROR.
|
|
85
|
+
*
|
|
86
|
+
* Maps to:
|
|
87
|
+
* - google.rpc.Code: FAILED_PRECONDITION = 9;
|
|
88
|
+
* - HTTP code: 400 Bad Request
|
|
89
|
+
*/
|
|
90
|
+
readonly BAD_REQUEST: "BAD_REQUEST";
|
|
91
|
+
/**
|
|
92
|
+
* An external service is unavailable temporarily as it is being updated/re-deployed. Indicates
|
|
93
|
+
* gateway proxy to safely retry the request.
|
|
94
|
+
*/
|
|
95
|
+
readonly SERVICE_UNDER_MAINTENANCE: "SERVICE_UNDER_MAINTENANCE"; /** A workspace is temporarily unavailable as the workspace is being re-assigned. */
|
|
96
|
+
readonly WORKSPACE_TEMPORARILY_UNAVAILABLE: "WORKSPACE_TEMPORARILY_UNAVAILABLE";
|
|
97
|
+
/**
|
|
98
|
+
* The deadline expired before the operation could complete. For operations that change the state
|
|
99
|
+
* of the system, this error may be returned even if the operation has completed successfully.
|
|
100
|
+
* For example, a successful response from a server could have been delayed long enough for
|
|
101
|
+
* the deadline to expire. When possible - implementations should make sure further processing of
|
|
102
|
+
* the request is aborted, e.g. by throwing an exception instead of making the RPC request,
|
|
103
|
+
* making the database query, etc.
|
|
104
|
+
*
|
|
105
|
+
* Maps to:
|
|
106
|
+
* - google.rpc.Code: DEADLINE_EXCEEDED = 4;
|
|
107
|
+
* - HTTP code: 504 Gateway Timeout
|
|
108
|
+
*/
|
|
109
|
+
readonly DEADLINE_EXCEEDED: "DEADLINE_EXCEEDED";
|
|
110
|
+
/**
|
|
111
|
+
* The operation was canceled by the caller. An example - client closed the connection without
|
|
112
|
+
* waiting for a response.
|
|
113
|
+
*
|
|
114
|
+
* Maps to:
|
|
115
|
+
* - google.rpc.Code: CANCELLED = 1;
|
|
116
|
+
* - HTTP code: 499 Client Closed Request
|
|
117
|
+
*/
|
|
118
|
+
readonly CANCELLED: "CANCELLED";
|
|
119
|
+
/**
|
|
120
|
+
* The operation is rejected because of either rate limiting or resource quota,
|
|
121
|
+
* such as the client has sent too many requests recently or the client has allocated too many
|
|
122
|
+
* resources.
|
|
123
|
+
*
|
|
124
|
+
* See https://docs.google.com/document/d/1FL8p2sbYWqBPL-UvhzI7uXAw4EoLG7Rj6PAOQWZRSOk/edit#
|
|
125
|
+
* for guideline on how to pick this vs TEMPORARILY_UNAVAILABLE.
|
|
126
|
+
*
|
|
127
|
+
* Maps to:
|
|
128
|
+
* - google.rpc.Code: RESOURCE_EXHAUSTED = 8;
|
|
129
|
+
* - HTTP code: 429 Too Many Requests
|
|
130
|
+
*/
|
|
131
|
+
readonly RESOURCE_EXHAUSTED: "RESOURCE_EXHAUSTED";
|
|
132
|
+
/**
|
|
133
|
+
* The operation was aborted, typically due to a concurrency issue such as a sequencer
|
|
134
|
+
* check failure, transaction abort, or transaction conflict.
|
|
135
|
+
*
|
|
136
|
+
* Maps to:
|
|
137
|
+
* - google.rpc.Code: ABORTED = 10;
|
|
138
|
+
* - HTTP code: 409 Conflict
|
|
139
|
+
*/
|
|
140
|
+
readonly ABORTED: "ABORTED";
|
|
141
|
+
/**
|
|
142
|
+
* Operation was performed on a resource that does not exist,
|
|
143
|
+
* e.g. file or directory was not found.
|
|
144
|
+
*
|
|
145
|
+
* Maps to:
|
|
146
|
+
* - google.rpc.Code: NOT_FOUND = 5;
|
|
147
|
+
* - HTTP code: 404 Not Found
|
|
148
|
+
*/
|
|
149
|
+
readonly NOT_FOUND: "NOT_FOUND";
|
|
150
|
+
/**
|
|
151
|
+
* Operation was rejected due a conflict with an existing resource, e.g. attempted to create
|
|
152
|
+
* file or directory that already exists.
|
|
153
|
+
*
|
|
154
|
+
* Prefer this over RESOURCE_CONFLICT.
|
|
155
|
+
*
|
|
156
|
+
* Maps to:
|
|
157
|
+
* - google.rpc.Code: ALREADY_EXISTS = 6;
|
|
158
|
+
* - HTTP code: 409 Conflict
|
|
159
|
+
*/
|
|
160
|
+
readonly ALREADY_EXISTS: "ALREADY_EXISTS";
|
|
161
|
+
/**
|
|
162
|
+
* The request does not have valid authentication (AuthN) credentials for the operation.
|
|
163
|
+
*
|
|
164
|
+
* Prefer this over CUSTOMER_UNAUTHORIZED, unless you need to keep consistent behavior with legacy
|
|
165
|
+
* code.
|
|
166
|
+
* For authorization (AuthZ) errors use PERMISSION_DENIED.
|
|
167
|
+
*
|
|
168
|
+
* Maps to:
|
|
169
|
+
* - google.rpc.Code: UNAUTHENTICATED = 16;
|
|
170
|
+
* - HTTP code: 401 Unauthorized
|
|
171
|
+
*/
|
|
172
|
+
readonly UNAUTHENTICATED: "UNAUTHENTICATED";
|
|
173
|
+
/**
|
|
174
|
+
* The service is currently unavailable. Please note that the unavailability may or may not be transient.
|
|
175
|
+
* That means if this is a non-transient condition, retrying it does not work. If the unavailability
|
|
176
|
+
* is certainly a transient condition, pleases use `TEMPORARILY_UNAVAILABLE` which signals its transient
|
|
177
|
+
* nature explicitly.
|
|
178
|
+
* An example of this error code’s use case is that when DNS resolution fails, the DNS resolver does
|
|
179
|
+
* not know whether it is because the domain name is completely wrong (non-transient situation) or
|
|
180
|
+
* the domain name is valid but the DNS server does not have an entry for this domain name yet (transient
|
|
181
|
+
* situation). Hence, `UNAVAILABLE` is suitable for this case.
|
|
182
|
+
*
|
|
183
|
+
* Maps to:
|
|
184
|
+
* - google.rpc.Code: UNAVAILABLE = 14;
|
|
185
|
+
* - HTTP code: 503 Service Unavailable
|
|
186
|
+
*/
|
|
187
|
+
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
188
|
+
/**
|
|
189
|
+
* Supplied value for a parameter was invalid (e.g., giving a number for a string parameter).
|
|
190
|
+
*
|
|
191
|
+
* Maps to:
|
|
192
|
+
* - google.rpc.Code: INVALID_ARGUMENT = 3;
|
|
193
|
+
* - HTTP code: 400 Bad Request
|
|
194
|
+
*/
|
|
195
|
+
readonly INVALID_PARAMETER_VALUE: "INVALID_PARAMETER_VALUE";
|
|
196
|
+
/**
|
|
197
|
+
* Indicates that the given API endpoint does not exist. Legacy, when possible - NOT_IMPLEMENTED
|
|
198
|
+
* should be used instead to indicate that API doesn't exist.
|
|
199
|
+
*
|
|
200
|
+
* Maps to:
|
|
201
|
+
* - google.rpc.Code: NOT_FOUND = 5;
|
|
202
|
+
* - HTTP code: 404 Not Found
|
|
203
|
+
*/
|
|
204
|
+
readonly ENDPOINT_NOT_FOUND: "ENDPOINT_NOT_FOUND"; /** Indicates that the given API request was malformed. */
|
|
205
|
+
readonly MALFORMED_REQUEST: "MALFORMED_REQUEST";
|
|
206
|
+
/**
|
|
207
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
208
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
209
|
+
* If one or more of the inputs to a given RPC are not in a valid state for the action.
|
|
210
|
+
*/
|
|
211
|
+
readonly INVALID_STATE: "INVALID_STATE";
|
|
212
|
+
/**
|
|
213
|
+
* The caller does not have permission to execute the specified operation.
|
|
214
|
+
* PERMISSION_DENIED must not be used for rejections caused by exhausting some resource,
|
|
215
|
+
* use RESOURCE_EXHAUSTED instead for those errors.
|
|
216
|
+
* PERMISSION_DENIED must not be used if the caller can not be identified,
|
|
217
|
+
* use CUSTOMER_UNAUTHORIZED instead for those errors.
|
|
218
|
+
* This error code does not imply the request is valid or the requested entity exists or
|
|
219
|
+
* satisfies other pre-conditions.
|
|
220
|
+
*
|
|
221
|
+
* Maps to:
|
|
222
|
+
* - google.rpc.Code: PERMISSION_DENIED = 7;
|
|
223
|
+
* - HTTP code: 403 Forbidden
|
|
224
|
+
*/
|
|
225
|
+
readonly PERMISSION_DENIED: "PERMISSION_DENIED";
|
|
226
|
+
/**
|
|
227
|
+
* NOTE: Deprecated due to inconsistent mapping in legacy code, see
|
|
228
|
+
* https://docs.google.com/document/d/17TZIKX_Y39cJMBr333lc-d5dTvvBLSu3DPUyGU5eMJg/edit?disco=AAAAzVGt6FA.
|
|
229
|
+
* Prefer using NOT_FOUND or PERMISSION_DENIED.
|
|
230
|
+
*
|
|
231
|
+
* If a given user/entity is trying to use a feature which has been disabled.
|
|
232
|
+
*
|
|
233
|
+
* Maps to:
|
|
234
|
+
* - google.rpc.Code: NOT_FOUND = 5;
|
|
235
|
+
* - HTTP code: 404 Not Found
|
|
236
|
+
*/
|
|
237
|
+
readonly FEATURE_DISABLED: "FEATURE_DISABLED";
|
|
238
|
+
/**
|
|
239
|
+
* The request does not have valid authentication (AuthN) credentials for the operation.
|
|
240
|
+
*
|
|
241
|
+
* For authentication (AuthN) errors prefer using UNAUTHENTICATED, unless you need to keep
|
|
242
|
+
* consistent behavior with legacy code.
|
|
243
|
+
* For authorization (AuthZ) errors use PERMISSION_DENIED.
|
|
244
|
+
*
|
|
245
|
+
* Important: name is confusing, this error code is for authentication (AuthN) errors, not
|
|
246
|
+
* authorization (AuthZ) errors. It maps to 401 Unauthorized and suffers from the same confusing
|
|
247
|
+
* naming. See https://datatracker.ietf.org/doc/html/rfc7235#section-3.1 - "[...] status code
|
|
248
|
+
* indicates that the request has not been applied because it lacks valid authentication
|
|
249
|
+
* credentials for the target resource. [...] If the request included authentication credentials,
|
|
250
|
+
* then the 401 response indicates that authorization has been refused for those credentials."
|
|
251
|
+
*
|
|
252
|
+
* Also, see https://stackoverflow.com/a/6937030/16352922, it covers it pretty well.
|
|
253
|
+
*
|
|
254
|
+
* Maps to:
|
|
255
|
+
* - google.rpc.Code: UNAUTHENTICATED = 16;
|
|
256
|
+
* - HTTP code: 401 Unauthorized
|
|
257
|
+
*/
|
|
258
|
+
readonly CUSTOMER_UNAUTHORIZED: "CUSTOMER_UNAUTHORIZED";
|
|
259
|
+
/**
|
|
260
|
+
* The operation is rejected because of request rate limit, for example rate limiting applied to
|
|
261
|
+
* users, workspaces, IP addresses, etc.
|
|
262
|
+
*
|
|
263
|
+
* Prefer a more generic RESOURCE_EXHAUSTED for the new use cases.
|
|
264
|
+
*
|
|
265
|
+
* See https://docs.google.com/document/d/1FL8p2sbYWqBPL-UvhzI7uXAw4EoLG7Rj6PAOQWZRSOk/edit#
|
|
266
|
+
* for guideline on the rate limiting vs throttling.
|
|
267
|
+
*
|
|
268
|
+
* Maps to:
|
|
269
|
+
* - google.rpc.Code: RESOURCE_EXHAUSTED = 8;
|
|
270
|
+
* - HTTP code: 429 Too Many Requests
|
|
271
|
+
*/
|
|
272
|
+
readonly REQUEST_LIMIT_EXCEEDED: "REQUEST_LIMIT_EXCEEDED"; /** Indicates API request was rejected due a conflict with an existing resource. */
|
|
273
|
+
readonly RESOURCE_CONFLICT: "RESOURCE_CONFLICT";
|
|
274
|
+
/**
|
|
275
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
276
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
277
|
+
* Indicates that the HTTP response cannot be correctly deserialized.
|
|
278
|
+
* This currently is only used in DUST test clients, and not by any real service code.
|
|
279
|
+
*/
|
|
280
|
+
readonly UNPARSEABLE_HTTP_ERROR: "UNPARSEABLE_HTTP_ERROR";
|
|
281
|
+
/**
|
|
282
|
+
* The operation is not implemented or is not supported/enabled in this service.
|
|
283
|
+
*
|
|
284
|
+
* Maps to:
|
|
285
|
+
* - google.rpc.Code: UNIMPLEMENTED = 12;
|
|
286
|
+
* - HTTP code: 501 Not Implemented
|
|
287
|
+
*/
|
|
288
|
+
readonly NOT_IMPLEMENTED: "NOT_IMPLEMENTED";
|
|
289
|
+
/**
|
|
290
|
+
* Unrecoverable data loss or corruption.
|
|
291
|
+
*
|
|
292
|
+
* One of the major use cases is to indicate that server failed to validate the integrity of
|
|
293
|
+
* the request. This error can occur when the checksum specified in the `X-Databricks-Checksum`
|
|
294
|
+
* request header (or trailer) doesn't match the actual request content checksum.
|
|
295
|
+
*
|
|
296
|
+
* Note, in case of the severe corruption that results in a malformed request, the server may
|
|
297
|
+
* send a generic `400 Bad Request` response rather than sending this error code.
|
|
298
|
+
*
|
|
299
|
+
* Maps to:
|
|
300
|
+
* - google.rpc.Code: DATA_LOSS = 15;
|
|
301
|
+
* - HTTP code: 500 Internal Server Error
|
|
302
|
+
*/
|
|
303
|
+
readonly DATA_LOSS: "DATA_LOSS"; /** If the user attempts to perform an invalid state transition on a shard. */
|
|
304
|
+
readonly INVALID_STATE_TRANSITION: "INVALID_STATE_TRANSITION";
|
|
305
|
+
/**
|
|
306
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
307
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
308
|
+
* Unable to perform the operation because the shard was locked by some other operation.
|
|
309
|
+
*/
|
|
310
|
+
readonly COULD_NOT_ACQUIRE_LOCK: "COULD_NOT_ACQUIRE_LOCK";
|
|
311
|
+
/**
|
|
312
|
+
* NOTE: Deprecated, prefer using ALREADY_EXISTS.
|
|
313
|
+
* Unlike ALREADY_EXISTS - this maps to HTTP code 400 Bad Request due to legacy reasons,
|
|
314
|
+
* remapping will be a backwards incompatible change.
|
|
315
|
+
*
|
|
316
|
+
* Operation was performed on a resource that already exists.
|
|
317
|
+
*/
|
|
318
|
+
readonly RESOURCE_ALREADY_EXISTS: "RESOURCE_ALREADY_EXISTS";
|
|
319
|
+
/**
|
|
320
|
+
* NOTE: Deprecated, prefer using NOT_FOUND - see the note for the RESOURCE_ALREADY_EXISTS,
|
|
321
|
+
* because this pair of codes is related and RESOURCE_ALREADY_EXISTS has bad mapping to the HTTP
|
|
322
|
+
* codes we added new error codes NOT_FOUND and ALREADY_EXISTS, and recommend to use them instead.
|
|
323
|
+
*
|
|
324
|
+
* Operation was performed on a resource that does not exist.
|
|
325
|
+
*/
|
|
326
|
+
readonly RESOURCE_DOES_NOT_EXIST: "RESOURCE_DOES_NOT_EXIST";
|
|
327
|
+
/**
|
|
328
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
329
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
330
|
+
*/
|
|
331
|
+
readonly QUOTA_EXCEEDED: "QUOTA_EXCEEDED";
|
|
332
|
+
/**
|
|
333
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
334
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
335
|
+
*/
|
|
336
|
+
readonly MAX_BLOCK_SIZE_EXCEEDED: "MAX_BLOCK_SIZE_EXCEEDED";
|
|
337
|
+
/**
|
|
338
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
339
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
340
|
+
*/
|
|
341
|
+
readonly MAX_READ_SIZE_EXCEEDED: "MAX_READ_SIZE_EXCEEDED";
|
|
342
|
+
readonly PARTIAL_DELETE: "PARTIAL_DELETE";
|
|
343
|
+
readonly MAX_LIST_SIZE_EXCEEDED: "MAX_LIST_SIZE_EXCEEDED";
|
|
344
|
+
/**
|
|
345
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
346
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
347
|
+
*/
|
|
348
|
+
readonly DRY_RUN_FAILED: "DRY_RUN_FAILED";
|
|
349
|
+
/**
|
|
350
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
351
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
352
|
+
* Cluster request was rejected because it would exceed a resource limit.
|
|
353
|
+
*/
|
|
354
|
+
readonly RESOURCE_LIMIT_EXCEEDED: "RESOURCE_LIMIT_EXCEEDED";
|
|
355
|
+
/**
|
|
356
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
357
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
358
|
+
*/
|
|
359
|
+
readonly DIRECTORY_NOT_EMPTY: "DIRECTORY_NOT_EMPTY";
|
|
360
|
+
/**
|
|
361
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
362
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
363
|
+
*/
|
|
364
|
+
readonly DIRECTORY_PROTECTED: "DIRECTORY_PROTECTED";
|
|
365
|
+
/**
|
|
366
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
367
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
368
|
+
*/
|
|
369
|
+
readonly MAX_NOTEBOOK_SIZE_EXCEEDED: "MAX_NOTEBOOK_SIZE_EXCEEDED";
|
|
370
|
+
readonly MAX_CHILD_NODE_SIZE_EXCEEDED: "MAX_CHILD_NODE_SIZE_EXCEEDED";
|
|
371
|
+
/**
|
|
372
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
373
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
374
|
+
*/
|
|
375
|
+
readonly SEARCH_QUERY_TOO_LONG: "SEARCH_QUERY_TOO_LONG";
|
|
376
|
+
/**
|
|
377
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
378
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
379
|
+
*/
|
|
380
|
+
readonly SEARCH_QUERY_TOO_SHORT: "SEARCH_QUERY_TOO_SHORT";
|
|
381
|
+
/**
|
|
382
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
383
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
384
|
+
*/
|
|
385
|
+
readonly MANAGED_RESOURCE_GROUP_DOES_NOT_EXIST: "MANAGED_RESOURCE_GROUP_DOES_NOT_EXIST";
|
|
386
|
+
/**
|
|
387
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
388
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
389
|
+
*/
|
|
390
|
+
readonly PERMISSION_NOT_PROPAGATED: "PERMISSION_NOT_PROPAGATED";
|
|
391
|
+
/**
|
|
392
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
393
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
394
|
+
*/
|
|
395
|
+
readonly DEPLOYMENT_TIMEOUT: "DEPLOYMENT_TIMEOUT";
|
|
396
|
+
/**
|
|
397
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
398
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
399
|
+
*/
|
|
400
|
+
readonly GIT_CONFLICT: "GIT_CONFLICT";
|
|
401
|
+
/**
|
|
402
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
403
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
404
|
+
*/
|
|
405
|
+
readonly GIT_UNKNOWN_REF: "GIT_UNKNOWN_REF";
|
|
406
|
+
/**
|
|
407
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
408
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
409
|
+
*/
|
|
410
|
+
readonly GIT_SENSITIVE_TOKEN_DETECTED: "GIT_SENSITIVE_TOKEN_DETECTED";
|
|
411
|
+
/**
|
|
412
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
413
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
414
|
+
*/
|
|
415
|
+
readonly GIT_URL_NOT_ON_ALLOW_LIST: "GIT_URL_NOT_ON_ALLOW_LIST";
|
|
416
|
+
/**
|
|
417
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
418
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
419
|
+
*/
|
|
420
|
+
readonly GIT_REMOTE_ERROR: "GIT_REMOTE_ERROR";
|
|
421
|
+
/**
|
|
422
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
423
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
424
|
+
*/
|
|
425
|
+
readonly PROJECTS_OPERATION_TIMEOUT: "PROJECTS_OPERATION_TIMEOUT";
|
|
426
|
+
/**
|
|
427
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
428
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
429
|
+
*/
|
|
430
|
+
readonly IPYNB_FILE_IN_REPO: "IPYNB_FILE_IN_REPO";
|
|
431
|
+
/**
|
|
432
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
433
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
434
|
+
*/
|
|
435
|
+
readonly INSECURE_PARTNER_RESPONSE: "INSECURE_PARTNER_RESPONSE";
|
|
436
|
+
/**
|
|
437
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
438
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
439
|
+
*/
|
|
440
|
+
readonly MALFORMED_PARTNER_RESPONSE: "MALFORMED_PARTNER_RESPONSE";
|
|
441
|
+
readonly METASTORE_DOES_NOT_EXIST: "METASTORE_DOES_NOT_EXIST";
|
|
442
|
+
/**
|
|
443
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
444
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
445
|
+
*/
|
|
446
|
+
readonly DAC_DOES_NOT_EXIST: "DAC_DOES_NOT_EXIST";
|
|
447
|
+
readonly CATALOG_DOES_NOT_EXIST: "CATALOG_DOES_NOT_EXIST";
|
|
448
|
+
readonly SCHEMA_DOES_NOT_EXIST: "SCHEMA_DOES_NOT_EXIST";
|
|
449
|
+
readonly TABLE_DOES_NOT_EXIST: "TABLE_DOES_NOT_EXIST";
|
|
450
|
+
readonly SHARE_DOES_NOT_EXIST: "SHARE_DOES_NOT_EXIST";
|
|
451
|
+
readonly RECIPIENT_DOES_NOT_EXIST: "RECIPIENT_DOES_NOT_EXIST";
|
|
452
|
+
readonly STORAGE_CREDENTIAL_DOES_NOT_EXIST: "STORAGE_CREDENTIAL_DOES_NOT_EXIST";
|
|
453
|
+
readonly EXTERNAL_LOCATION_DOES_NOT_EXIST: "EXTERNAL_LOCATION_DOES_NOT_EXIST";
|
|
454
|
+
readonly PRINCIPAL_DOES_NOT_EXIST: "PRINCIPAL_DOES_NOT_EXIST";
|
|
455
|
+
readonly PROVIDER_DOES_NOT_EXIST: "PROVIDER_DOES_NOT_EXIST";
|
|
456
|
+
/**
|
|
457
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
458
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
459
|
+
*/
|
|
460
|
+
readonly METASTORE_ALREADY_EXISTS: "METASTORE_ALREADY_EXISTS";
|
|
461
|
+
/**
|
|
462
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
463
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
464
|
+
*/
|
|
465
|
+
readonly DAC_ALREADY_EXISTS: "DAC_ALREADY_EXISTS";
|
|
466
|
+
/**
|
|
467
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
468
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
469
|
+
*/
|
|
470
|
+
readonly CATALOG_ALREADY_EXISTS: "CATALOG_ALREADY_EXISTS";
|
|
471
|
+
/**
|
|
472
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
473
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
474
|
+
*/
|
|
475
|
+
readonly SCHEMA_ALREADY_EXISTS: "SCHEMA_ALREADY_EXISTS";
|
|
476
|
+
/**
|
|
477
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
478
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
479
|
+
*/
|
|
480
|
+
readonly TABLE_ALREADY_EXISTS: "TABLE_ALREADY_EXISTS";
|
|
481
|
+
/**
|
|
482
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
483
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
484
|
+
*/
|
|
485
|
+
readonly SHARE_ALREADY_EXISTS: "SHARE_ALREADY_EXISTS";
|
|
486
|
+
/**
|
|
487
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
488
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
489
|
+
*/
|
|
490
|
+
readonly RECIPIENT_ALREADY_EXISTS: "RECIPIENT_ALREADY_EXISTS";
|
|
491
|
+
/**
|
|
492
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
493
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
494
|
+
*/
|
|
495
|
+
readonly STORAGE_CREDENTIAL_ALREADY_EXISTS: "STORAGE_CREDENTIAL_ALREADY_EXISTS";
|
|
496
|
+
/**
|
|
497
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
498
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
499
|
+
*/
|
|
500
|
+
readonly EXTERNAL_LOCATION_ALREADY_EXISTS: "EXTERNAL_LOCATION_ALREADY_EXISTS";
|
|
501
|
+
/**
|
|
502
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
503
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
504
|
+
*/
|
|
505
|
+
readonly PROVIDER_ALREADY_EXISTS: "PROVIDER_ALREADY_EXISTS";
|
|
506
|
+
/**
|
|
507
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
508
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
509
|
+
*/
|
|
510
|
+
readonly CATALOG_NOT_EMPTY: "CATALOG_NOT_EMPTY";
|
|
511
|
+
/**
|
|
512
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
513
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
514
|
+
*/
|
|
515
|
+
readonly SCHEMA_NOT_EMPTY: "SCHEMA_NOT_EMPTY";
|
|
516
|
+
/**
|
|
517
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
518
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
519
|
+
*/
|
|
520
|
+
readonly METASTORE_NOT_EMPTY: "METASTORE_NOT_EMPTY";
|
|
521
|
+
/**
|
|
522
|
+
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
523
|
+
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
524
|
+
*/
|
|
525
|
+
readonly PROVIDER_SHARE_NOT_ACCESSIBLE: "PROVIDER_SHARE_NOT_ACCESSIBLE";
|
|
528
526
|
};
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
527
|
+
type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode] | (string & {});
|
|
528
|
+
declare const EvaluationStatusType: {
|
|
529
|
+
readonly EVALUATION_STATUS_TYPE_UNSPECIFIED: "EVALUATION_STATUS_TYPE_UNSPECIFIED";
|
|
530
|
+
readonly RUNNING: "RUNNING";
|
|
531
|
+
readonly DONE: "DONE";
|
|
532
|
+
readonly NOT_STARTED: "NOT_STARTED";
|
|
533
|
+
readonly EVALUATION_FAILED: "EVALUATION_FAILED";
|
|
534
|
+
readonly EVALUATION_CANCELLED: "EVALUATION_CANCELLED";
|
|
535
|
+
readonly EVALUATION_TIMEOUT: "EVALUATION_TIMEOUT";
|
|
538
536
|
};
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
537
|
+
type EvaluationStatusType = (typeof EvaluationStatusType)[keyof typeof EvaluationStatusType] | (string & {});
|
|
538
|
+
declare const Format: {
|
|
539
|
+
readonly FORMAT_UNSPECIFIED: "FORMAT_UNSPECIFIED";
|
|
540
|
+
readonly JSON_ARRAY: "JSON_ARRAY";
|
|
541
|
+
readonly ARROW_STREAM: "ARROW_STREAM";
|
|
542
|
+
readonly CSV: "CSV";
|
|
545
543
|
};
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
544
|
+
type Format = (typeof Format)[keyof typeof Format] | (string & {});
|
|
545
|
+
declare const GenieEvalAssessment: {
|
|
546
|
+
readonly GENIE_EVAL_ASSESSMENT_UNSPECIFIED: "GENIE_EVAL_ASSESSMENT_UNSPECIFIED";
|
|
547
|
+
readonly GOOD: "GOOD";
|
|
548
|
+
readonly BAD: "BAD";
|
|
549
|
+
readonly NEEDS_REVIEW: "NEEDS_REVIEW";
|
|
552
550
|
};
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
551
|
+
type GenieEvalAssessment = (typeof GenieEvalAssessment)[keyof typeof GenieEvalAssessment] | (string & {});
|
|
552
|
+
declare const GenieEvalResponseType: {
|
|
553
|
+
readonly GENIE_EVAL_RESPONSE_TYPE_UNSPECIFIED: "GENIE_EVAL_RESPONSE_TYPE_UNSPECIFIED";
|
|
554
|
+
readonly TEXT: "TEXT";
|
|
555
|
+
readonly SQL: "SQL";
|
|
558
556
|
};
|
|
559
|
-
|
|
557
|
+
type GenieEvalResponseType = (typeof GenieEvalResponseType)[keyof typeof GenieEvalResponseType] | (string & {});
|
|
560
558
|
/** Feedback rating for Genie messages */
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
559
|
+
declare const GenieFeedbackRating: {
|
|
560
|
+
readonly GENIE_FEEDBACK_RATING_UNSPECIFIED: "GENIE_FEEDBACK_RATING_UNSPECIFIED";
|
|
561
|
+
readonly POSITIVE: "POSITIVE";
|
|
562
|
+
readonly NEGATIVE: "NEGATIVE";
|
|
563
|
+
readonly NONE: "NONE";
|
|
566
564
|
};
|
|
567
|
-
|
|
565
|
+
type GenieFeedbackRating = (typeof GenieFeedbackRating)[keyof typeof GenieFeedbackRating] | (string & {});
|
|
568
566
|
/**
|
|
569
567
|
* copied from proto3 / Google Well Known Types, source:
|
|
570
568
|
* https://github.com/protocolbuffers/protobuf/blob/450d24ca820750c5db5112a6f0b0c2efb9758021/src/google/protobuf/struct.proto
|
|
@@ -573,50 +571,45 @@ export type GenieFeedbackRating = (typeof GenieFeedbackRating)[keyof typeof Geni
|
|
|
573
571
|
*
|
|
574
572
|
* The JSON representation for `NullValue` is JSON `null`.
|
|
575
573
|
*/
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
readonly NULL_VALUE: "NULL_VALUE";
|
|
574
|
+
declare const NullValue: {
|
|
575
|
+
/** Null value. */readonly NULL_VALUE: "NULL_VALUE";
|
|
579
576
|
};
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
readonly LLM_JUDGE_MISSING_OR_INCORRECT_AGGREGATION: "LLM_JUDGE_MISSING_OR_INCORRECT_AGGREGATION";
|
|
609
|
-
readonly LLM_JUDGE_FORMATTING_ERROR: "LLM_JUDGE_FORMATTING_ERROR";
|
|
577
|
+
type NullValue = (typeof NullValue)[keyof typeof NullValue] | (string & {});
|
|
578
|
+
declare const ScoreReason: {
|
|
579
|
+
readonly SCORE_REASON_UNSPECIFIED: "SCORE_REASON_UNSPECIFIED";
|
|
580
|
+
readonly EMPTY_RESULT: "EMPTY_RESULT";
|
|
581
|
+
readonly RESULT_MISSING_ROWS: "RESULT_MISSING_ROWS";
|
|
582
|
+
readonly RESULT_EXTRA_ROWS: "RESULT_EXTRA_ROWS";
|
|
583
|
+
readonly RESULT_MISSING_COLUMNS: "RESULT_MISSING_COLUMNS";
|
|
584
|
+
readonly RESULT_EXTRA_COLUMNS: "RESULT_EXTRA_COLUMNS";
|
|
585
|
+
readonly SINGLE_CELL_DIFFERENCE: "SINGLE_CELL_DIFFERENCE";
|
|
586
|
+
readonly EMPTY_GOOD_SQL: "EMPTY_GOOD_SQL";
|
|
587
|
+
readonly COLUMN_TYPE_DIFFERENCE: "COLUMN_TYPE_DIFFERENCE"; /** Deprecated LLM Judge error categories - kept for backward compatibility */
|
|
588
|
+
readonly LLM_JUDGE_MISSING_JOIN: "LLM_JUDGE_MISSING_JOIN";
|
|
589
|
+
readonly LLM_JUDGE_WRONG_FILTER: "LLM_JUDGE_WRONG_FILTER";
|
|
590
|
+
readonly LLM_JUDGE_WRONG_AGGREGATION: "LLM_JUDGE_WRONG_AGGREGATION";
|
|
591
|
+
readonly LLM_JUDGE_WRONG_COLUMNS: "LLM_JUDGE_WRONG_COLUMNS";
|
|
592
|
+
readonly LLM_JUDGE_SYNTAX_ERROR: "LLM_JUDGE_SYNTAX_ERROR";
|
|
593
|
+
readonly LLM_JUDGE_SEMANTIC_ERROR: "LLM_JUDGE_SEMANTIC_ERROR"; /** New LLM Judge error categories - aligned with LlmJudgeFunctionSpec */
|
|
594
|
+
readonly LLM_JUDGE_OTHER: "LLM_JUDGE_OTHER";
|
|
595
|
+
readonly LLM_JUDGE_MISSING_OR_INCORRECT_FILTER: "LLM_JUDGE_MISSING_OR_INCORRECT_FILTER";
|
|
596
|
+
readonly LLM_JUDGE_INCOMPLETE_OR_PARTIAL_OUTPUT: "LLM_JUDGE_INCOMPLETE_OR_PARTIAL_OUTPUT";
|
|
597
|
+
readonly LLM_JUDGE_MISINTERPRETATION_OF_USER_REQUEST: "LLM_JUDGE_MISINTERPRETATION_OF_USER_REQUEST";
|
|
598
|
+
readonly LLM_JUDGE_INSTRUCTION_COMPLIANCE_OR_MISSING_BUSINESS_LOGIC: "LLM_JUDGE_INSTRUCTION_COMPLIANCE_OR_MISSING_BUSINESS_LOGIC";
|
|
599
|
+
readonly LLM_JUDGE_INCORRECT_METRIC_CALCULATION: "LLM_JUDGE_INCORRECT_METRIC_CALCULATION";
|
|
600
|
+
readonly LLM_JUDGE_INCORRECT_TABLE_OR_FIELD_USAGE: "LLM_JUDGE_INCORRECT_TABLE_OR_FIELD_USAGE";
|
|
601
|
+
readonly LLM_JUDGE_INCORRECT_FUNCTION_USAGE: "LLM_JUDGE_INCORRECT_FUNCTION_USAGE";
|
|
602
|
+
readonly LLM_JUDGE_MISSING_OR_INCORRECT_JOIN: "LLM_JUDGE_MISSING_OR_INCORRECT_JOIN";
|
|
603
|
+
readonly LLM_JUDGE_MISSING_OR_INCORRECT_AGGREGATION: "LLM_JUDGE_MISSING_OR_INCORRECT_AGGREGATION";
|
|
604
|
+
readonly LLM_JUDGE_FORMATTING_ERROR: "LLM_JUDGE_FORMATTING_ERROR";
|
|
610
605
|
};
|
|
611
|
-
|
|
606
|
+
type ScoreReason = (typeof ScoreReason)[keyof typeof ScoreReason] | (string & {});
|
|
612
607
|
/** Purpose/intent of a text attachment */
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
/** A clarifying question Genie asks back to the user, not the answer. */
|
|
617
|
-
readonly FOLLOW_UP_QUESTION: "FOLLOW_UP_QUESTION";
|
|
608
|
+
declare const TextAttachmentPurpose: {
|
|
609
|
+
/** Default value. Returned when the text attachment purpose is not set. */readonly TEXT_ATTACHMENT_PURPOSE_UNSPECIFIED: "TEXT_ATTACHMENT_PURPOSE_UNSPECIFIED"; /** A clarifying question Genie asks back to the user, not the answer. */
|
|
610
|
+
readonly FOLLOW_UP_QUESTION: "FOLLOW_UP_QUESTION";
|
|
618
611
|
};
|
|
619
|
-
|
|
612
|
+
type TextAttachmentPurpose = (typeof TextAttachmentPurpose)[keyof typeof TextAttachmentPurpose] | (string & {});
|
|
620
613
|
/**
|
|
621
614
|
* ThoughtType.
|
|
622
615
|
* The possible values are:
|
|
@@ -629,87 +622,80 @@ export type TextAttachmentPurpose = (typeof TextAttachmentPurpose)[keyof typeof
|
|
|
629
622
|
* The category of a Thought.
|
|
630
623
|
* Additional values may be added in the future.
|
|
631
624
|
*/
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
readonly THOUGHT_TYPE_DATA_SOURCING: "THOUGHT_TYPE_DATA_SOURCING";
|
|
640
|
-
/** Which author-defined instructions were referenced. */
|
|
641
|
-
readonly THOUGHT_TYPE_INSTRUCTIONS: "THOUGHT_TYPE_INSTRUCTIONS";
|
|
642
|
-
/** The logical steps taken to compute the answer. */
|
|
643
|
-
readonly THOUGHT_TYPE_STEPS: "THOUGHT_TYPE_STEPS";
|
|
625
|
+
declare const ThoughtType: {
|
|
626
|
+
readonly THOUGHT_TYPE_UNSPECIFIED: "THOUGHT_TYPE_UNSPECIFIED"; /** A high-level description of how the question was interpreted. */
|
|
627
|
+
readonly THOUGHT_TYPE_DESCRIPTION: "THOUGHT_TYPE_DESCRIPTION"; /** How ambiguous parts of the question were resolved. */
|
|
628
|
+
readonly THOUGHT_TYPE_UNDERSTANDING: "THOUGHT_TYPE_UNDERSTANDING"; /** Which tables or datasets were identified as relevant. */
|
|
629
|
+
readonly THOUGHT_TYPE_DATA_SOURCING: "THOUGHT_TYPE_DATA_SOURCING"; /** Which author-defined instructions were referenced. */
|
|
630
|
+
readonly THOUGHT_TYPE_INSTRUCTIONS: "THOUGHT_TYPE_INSTRUCTIONS"; /** The logical steps taken to compute the answer. */
|
|
631
|
+
readonly THOUGHT_TYPE_STEPS: "THOUGHT_TYPE_STEPS";
|
|
644
632
|
};
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
readonly UNSUPPORTED_CONVERSATION_TYPE_EXCEPTION: "UNSUPPORTED_CONVERSATION_TYPE_EXCEPTION";
|
|
710
|
-
readonly COULD_NOT_GET_DASHBOARD_SCHEMA_EXCEPTION: "COULD_NOT_GET_DASHBOARD_SCHEMA_EXCEPTION";
|
|
633
|
+
type ThoughtType = (typeof ThoughtType)[keyof typeof ThoughtType] | (string & {});
|
|
634
|
+
declare const MessageError_Type: {
|
|
635
|
+
readonly TYPE_UNSPECIFIED: "TYPE_UNSPECIFIED";
|
|
636
|
+
readonly UNEXPECTED_REPLY_PROCESS_EXCEPTION: "UNEXPECTED_REPLY_PROCESS_EXCEPTION";
|
|
637
|
+
readonly GENERIC_CHAT_COMPLETION_EXCEPTION: "GENERIC_CHAT_COMPLETION_EXCEPTION"; /** TokenCounter estimates were off and OpenAi responds with an error due to the token limit. */
|
|
638
|
+
readonly CONTEXT_EXCEEDED_EXCEPTION: "CONTEXT_EXCEEDED_EXCEPTION";
|
|
639
|
+
readonly DEPLOYMENT_NOT_FOUND_EXCEPTION: "DEPLOYMENT_NOT_FOUND_EXCEPTION";
|
|
640
|
+
readonly FUNCTIONS_NOT_AVAILABLE_EXCEPTION: "FUNCTIONS_NOT_AVAILABLE_EXCEPTION";
|
|
641
|
+
readonly INVALID_COMPLETION_REQUEST_EXCEPTION: "INVALID_COMPLETION_REQUEST_EXCEPTION";
|
|
642
|
+
readonly CONTENT_FILTER_EXCEPTION: "CONTENT_FILTER_EXCEPTION";
|
|
643
|
+
readonly FUNCTION_ARGUMENTS_INVALID_JSON_EXCEPTION: "FUNCTION_ARGUMENTS_INVALID_JSON_EXCEPTION";
|
|
644
|
+
readonly RETRYABLE_PROCESSING_EXCEPTION: "RETRYABLE_PROCESSING_EXCEPTION";
|
|
645
|
+
readonly INVALID_FUNCTION_CALL_EXCEPTION: "INVALID_FUNCTION_CALL_EXCEPTION"; /** Request can not fit into model or the configured limits and TokenCounter registers token limit exceeded. */
|
|
646
|
+
readonly LOCAL_CONTEXT_EXCEEDED_EXCEPTION: "LOCAL_CONTEXT_EXCEEDED_EXCEPTION";
|
|
647
|
+
readonly CHAT_COMPLETION_NETWORK_EXCEPTION: "CHAT_COMPLETION_NETWORK_EXCEPTION";
|
|
648
|
+
readonly INVALID_CHAT_COMPLETION_JSON_EXCEPTION: "INVALID_CHAT_COMPLETION_JSON_EXCEPTION";
|
|
649
|
+
readonly GENERIC_CHAT_COMPLETION_SERVICE_EXCEPTION: "GENERIC_CHAT_COMPLETION_SERVICE_EXCEPTION";
|
|
650
|
+
readonly WAREHOUSE_ACCESS_MISSING_EXCEPTION: "WAREHOUSE_ACCESS_MISSING_EXCEPTION";
|
|
651
|
+
readonly WAREHOUSE_NOT_FOUND_EXCEPTION: "WAREHOUSE_NOT_FOUND_EXCEPTION";
|
|
652
|
+
readonly NO_TABLES_TO_QUERY_EXCEPTION: "NO_TABLES_TO_QUERY_EXCEPTION";
|
|
653
|
+
readonly SQL_EXECUTION_EXCEPTION: "SQL_EXECUTION_EXCEPTION";
|
|
654
|
+
readonly REPLY_PROCESS_TIMEOUT_EXCEPTION: "REPLY_PROCESS_TIMEOUT_EXCEPTION";
|
|
655
|
+
readonly COULD_NOT_GET_UC_SCHEMA_EXCEPTION: "COULD_NOT_GET_UC_SCHEMA_EXCEPTION";
|
|
656
|
+
readonly INVALID_TABLE_IDENTIFIER_EXCEPTION: "INVALID_TABLE_IDENTIFIER_EXCEPTION";
|
|
657
|
+
readonly TOO_MANY_TABLES_EXCEPTION: "TOO_MANY_TABLES_EXCEPTION";
|
|
658
|
+
readonly FUNCTION_ARGUMENTS_INVALID_EXCEPTION: "FUNCTION_ARGUMENTS_INVALID_EXCEPTION";
|
|
659
|
+
readonly GENERIC_SQL_EXEC_API_CALL_EXCEPTION: "GENERIC_SQL_EXEC_API_CALL_EXCEPTION";
|
|
660
|
+
readonly CHAT_COMPLETION_CLIENT_EXCEPTION: "CHAT_COMPLETION_CLIENT_EXCEPTION";
|
|
661
|
+
readonly CHAT_COMPLETION_CLIENT_TIMEOUT_EXCEPTION: "CHAT_COMPLETION_CLIENT_TIMEOUT_EXCEPTION";
|
|
662
|
+
readonly UNKNOWN_AI_MODEL: "UNKNOWN_AI_MODEL";
|
|
663
|
+
readonly TABLES_MISSING_EXCEPTION: "TABLES_MISSING_EXCEPTION";
|
|
664
|
+
readonly MESSAGE_DELETED_WHILE_EXECUTING_EXCEPTION: "MESSAGE_DELETED_WHILE_EXECUTING_EXCEPTION";
|
|
665
|
+
readonly MESSAGE_UPDATED_WHILE_EXECUTING_EXCEPTION: "MESSAGE_UPDATED_WHILE_EXECUTING_EXCEPTION";
|
|
666
|
+
readonly BLOCK_MULTIPLE_EXECUTIONS_EXCEPTION: "BLOCK_MULTIPLE_EXECUTIONS_EXCEPTION";
|
|
667
|
+
readonly INVALID_CERTIFIED_ANSWER_IDENTIFIER_EXCEPTION: "INVALID_CERTIFIED_ANSWER_IDENTIFIER_EXCEPTION";
|
|
668
|
+
readonly TOO_MANY_CERTIFIED_ANSWERS_EXCEPTION: "TOO_MANY_CERTIFIED_ANSWERS_EXCEPTION";
|
|
669
|
+
readonly RATE_LIMIT_EXCEEDED_GENERIC_EXCEPTION: "RATE_LIMIT_EXCEEDED_GENERIC_EXCEPTION";
|
|
670
|
+
readonly RATE_LIMIT_EXCEEDED_SPECIFIED_WAIT_EXCEPTION: "RATE_LIMIT_EXCEEDED_SPECIFIED_WAIT_EXCEPTION";
|
|
671
|
+
readonly FUNCTION_CALL_MISSING_PARAMETER_EXCEPTION: "FUNCTION_CALL_MISSING_PARAMETER_EXCEPTION";
|
|
672
|
+
readonly INVALID_CERTIFIED_ANSWER_FUNCTION_EXCEPTION: "INVALID_CERTIFIED_ANSWER_FUNCTION_EXCEPTION";
|
|
673
|
+
readonly ILLEGAL_PARAMETER_DEFINITION_EXCEPTION: "ILLEGAL_PARAMETER_DEFINITION_EXCEPTION";
|
|
674
|
+
readonly NO_QUERY_TO_VISUALIZE_EXCEPTION: "NO_QUERY_TO_VISUALIZE_EXCEPTION";
|
|
675
|
+
readonly NO_DEPLOYMENTS_AVAILABLE_TO_WORKSPACE: "NO_DEPLOYMENTS_AVAILABLE_TO_WORKSPACE";
|
|
676
|
+
readonly STOP_PROCESS_DUE_TO_AUTO_REGENERATE: "STOP_PROCESS_DUE_TO_AUTO_REGENERATE";
|
|
677
|
+
readonly FUNCTION_ARGUMENTS_INVALID_TYPE_EXCEPTION: "FUNCTION_ARGUMENTS_INVALID_TYPE_EXCEPTION";
|
|
678
|
+
readonly MESSAGE_CANCELLED_WHILE_EXECUTING_EXCEPTION: "MESSAGE_CANCELLED_WHILE_EXECUTING_EXCEPTION";
|
|
679
|
+
readonly COULD_NOT_GET_MODEL_DEPLOYMENTS_EXCEPTION: "COULD_NOT_GET_MODEL_DEPLOYMENTS_EXCEPTION";
|
|
680
|
+
readonly GENERATED_SQL_QUERY_TOO_LONG_EXCEPTION: "GENERATED_SQL_QUERY_TOO_LONG_EXCEPTION";
|
|
681
|
+
readonly MISSING_SQL_QUERY_EXCEPTION: "MISSING_SQL_QUERY_EXCEPTION";
|
|
682
|
+
readonly DESCRIBE_QUERY_UNEXPECTED_FAILURE: "DESCRIBE_QUERY_UNEXPECTED_FAILURE";
|
|
683
|
+
readonly DESCRIBE_QUERY_TIMEOUT: "DESCRIBE_QUERY_TIMEOUT";
|
|
684
|
+
readonly DESCRIBE_QUERY_INVALID_SQL_ERROR: "DESCRIBE_QUERY_INVALID_SQL_ERROR";
|
|
685
|
+
readonly INVALID_SQL_UNKNOWN_TABLE_EXCEPTION: "INVALID_SQL_UNKNOWN_TABLE_EXCEPTION";
|
|
686
|
+
readonly INVALID_SQL_MULTIPLE_STATEMENTS_EXCEPTION: "INVALID_SQL_MULTIPLE_STATEMENTS_EXCEPTION";
|
|
687
|
+
readonly INVALID_SQL_MULTIPLE_DATASET_REFERENCES_EXCEPTION: "INVALID_SQL_MULTIPLE_DATASET_REFERENCES_EXCEPTION";
|
|
688
|
+
readonly MESSAGE_ATTACHMENT_TOO_LONG_ERROR: "MESSAGE_ATTACHMENT_TOO_LONG_ERROR";
|
|
689
|
+
readonly INTERNAL_CATALOG_PATH_OVERLAP_EXCEPTION: "INTERNAL_CATALOG_PATH_OVERLAP_EXCEPTION";
|
|
690
|
+
readonly INTERNAL_CATALOG_MISSING_UC_PATH_EXCEPTION: "INTERNAL_CATALOG_MISSING_UC_PATH_EXCEPTION";
|
|
691
|
+
readonly EXCEEDED_MAX_TOKEN_LENGTH_EXCEPTION: "EXCEEDED_MAX_TOKEN_LENGTH_EXCEPTION";
|
|
692
|
+
readonly INTERNAL_CATALOG_ASSET_CREATION_ONGOING_EXCEPTION: "INTERNAL_CATALOG_ASSET_CREATION_ONGOING_EXCEPTION";
|
|
693
|
+
readonly INTERNAL_CATALOG_ASSET_CREATION_FAILED_EXCEPTION: "INTERNAL_CATALOG_ASSET_CREATION_FAILED_EXCEPTION";
|
|
694
|
+
readonly INTERNAL_CATALOG_ASSET_CREATION_UNSUPPORTED_EXCEPTION: "INTERNAL_CATALOG_ASSET_CREATION_UNSUPPORTED_EXCEPTION";
|
|
695
|
+
readonly UNSUPPORTED_CONVERSATION_TYPE_EXCEPTION: "UNSUPPORTED_CONVERSATION_TYPE_EXCEPTION";
|
|
696
|
+
readonly COULD_NOT_GET_DASHBOARD_SCHEMA_EXCEPTION: "COULD_NOT_GET_DASHBOARD_SCHEMA_EXCEPTION";
|
|
711
697
|
};
|
|
712
|
-
|
|
698
|
+
type MessageError_Type = (typeof MessageError_Type)[keyof typeof MessageError_Type] | (string & {});
|
|
713
699
|
/**
|
|
714
700
|
* MessageStatus.
|
|
715
701
|
* The possible values are:
|
|
@@ -724,93 +710,93 @@ export type MessageError_Type = (typeof MessageError_Type)[keyof typeof MessageE
|
|
|
724
710
|
* * `QUERY_RESULT_EXPIRED`: SQL result is not available anymore. The user needs to rerun the query. Rerun the SQL query result by calling [executeMessageAttachmentQuery](:method:genie/executeMessageAttachmentQuery) API.
|
|
725
711
|
* * `CANCELLED`: Message has been cancelled.
|
|
726
712
|
*/
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
713
|
+
declare const MessageStatus_MessageStatus: {
|
|
714
|
+
readonly FETCHING_METADATA: "FETCHING_METADATA";
|
|
715
|
+
readonly FILTERING_CONTEXT: "FILTERING_CONTEXT";
|
|
716
|
+
readonly ASKING_AI: "ASKING_AI";
|
|
717
|
+
readonly PENDING_WAREHOUSE: "PENDING_WAREHOUSE";
|
|
718
|
+
readonly EXECUTING_QUERY: "EXECUTING_QUERY";
|
|
719
|
+
readonly FAILED: "FAILED";
|
|
720
|
+
readonly COMPLETED: "COMPLETED";
|
|
721
|
+
readonly SUBMITTED: "SUBMITTED";
|
|
722
|
+
readonly QUERY_RESULT_EXPIRED: "QUERY_RESULT_EXPIRED";
|
|
723
|
+
readonly CANCELLED: "CANCELLED";
|
|
738
724
|
};
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
725
|
+
type MessageStatus_MessageStatus = (typeof MessageStatus_MessageStatus)[keyof typeof MessageStatus_MessageStatus] | (string & {});
|
|
726
|
+
declare const StatementStatus_State: {
|
|
727
|
+
readonly STATE_UNSPECIFIED: "STATE_UNSPECIFIED";
|
|
728
|
+
readonly PENDING: "PENDING";
|
|
729
|
+
readonly RUNNING: "RUNNING";
|
|
730
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
731
|
+
readonly FAILED: "FAILED";
|
|
732
|
+
readonly CANCELED: "CANCELED";
|
|
733
|
+
readonly CLOSED: "CLOSED";
|
|
748
734
|
};
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
}
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
735
|
+
type StatementStatus_State = (typeof StatementStatus_State)[keyof typeof StatementStatus_State] | (string & {});
|
|
736
|
+
interface ChunkInfo {
|
|
737
|
+
/** The position within the sequence of result set chunks. */
|
|
738
|
+
chunkIndex?: number | undefined;
|
|
739
|
+
/** The starting row offset within the result set. */
|
|
740
|
+
rowOffset?: bigint | undefined;
|
|
741
|
+
/** The number of rows within the result chunk. */
|
|
742
|
+
rowCount?: bigint | undefined;
|
|
743
|
+
/**
|
|
744
|
+
* The number of bytes in the result chunk. This field is not available when using `INLINE`
|
|
745
|
+
* disposition.
|
|
746
|
+
*/
|
|
747
|
+
byteCount?: bigint | undefined;
|
|
748
|
+
/**
|
|
749
|
+
* When fetching, provides the `chunk_index` for the _next_ chunk. If absent, indicates there are no
|
|
750
|
+
* more chunks. The next chunk can be fetched with a
|
|
751
|
+
* :method:statementexecution/getstatementresultchunkn request.
|
|
752
|
+
*/
|
|
753
|
+
nextChunkIndex?: number | undefined;
|
|
754
|
+
/**
|
|
755
|
+
* When fetching, provides a link to fetch the _next_ chunk. If absent, indicates there are no more
|
|
756
|
+
* chunks. This link is an absolute `path` to be joined with your `$DATABRICKS_HOST`, and should be
|
|
757
|
+
* treated as an opaque link. This is an alternative to using `next_chunk_index`.
|
|
758
|
+
*/
|
|
759
|
+
nextChunkInternalLink?: string | undefined;
|
|
760
|
+
}
|
|
761
|
+
interface ColumnInfo {
|
|
762
|
+
/** Name of Column. */
|
|
763
|
+
name?: string | undefined;
|
|
764
|
+
/** Full data type specification as SQL/catalogString text. */
|
|
765
|
+
typeText?: string | undefined;
|
|
766
|
+
typeName?: ColumnTypeName | undefined;
|
|
767
|
+
/** Ordinal position of column (starting at position 0). */
|
|
768
|
+
position?: number | undefined;
|
|
769
|
+
/** Digits of precision; required for DecimalTypes. */
|
|
770
|
+
typePrecision?: number | undefined;
|
|
771
|
+
/** Digits to right of decimal; Required for DecimalTypes. */
|
|
772
|
+
typeScale?: number | undefined;
|
|
773
|
+
/** Format of IntervalType. */
|
|
774
|
+
typeIntervalType?: string | undefined;
|
|
775
|
+
/** Full data type specification, JSON-serialized. */
|
|
776
|
+
typeJson?: string | undefined;
|
|
777
|
+
/** User-provided free-form text description. */
|
|
778
|
+
comment?: string | undefined;
|
|
779
|
+
/** Whether field may be Null (default: true). */
|
|
780
|
+
nullable?: boolean | undefined;
|
|
781
|
+
/** Partition index for column. */
|
|
782
|
+
partitionIndex?: number | undefined;
|
|
783
|
+
mask?: ColumnMask | undefined;
|
|
784
|
+
}
|
|
785
|
+
interface ColumnMask {
|
|
786
|
+
/** The full name of the column mask SQL UDF. */
|
|
787
|
+
functionName?: string | undefined;
|
|
788
|
+
/**
|
|
789
|
+
* The list of additional table columns to be passed as input to the column mask function. The
|
|
790
|
+
* first arg of the mask function should be of the type of the column being masked and the
|
|
791
|
+
* types of the rest of the args should match the types of columns in 'using_column_names'.
|
|
792
|
+
*/
|
|
793
|
+
usingColumnNames?: string[] | undefined;
|
|
794
|
+
/**
|
|
795
|
+
* The list of additional table columns or literals to be passed as additional arguments to
|
|
796
|
+
* a column mask function. This is the replacement of the deprecated using_column_names field and
|
|
797
|
+
* carries information about the types (alias or constant) of the arguments to the mask function.
|
|
798
|
+
*/
|
|
799
|
+
usingArguments?: PolicyFunctionArgument[] | undefined;
|
|
814
800
|
}
|
|
815
801
|
/**
|
|
816
802
|
* Serialization format for DatabricksServiceException.
|
|
@@ -818,678 +804,675 @@ export interface ColumnMask {
|
|
|
818
804
|
* defined in /api-base/proto/exception_with_details.proto except the later one has an extra error
|
|
819
805
|
* details field defined.
|
|
820
806
|
*/
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
}
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
807
|
+
interface DatabricksServiceExceptionProto {
|
|
808
|
+
errorCode?: ErrorCode | undefined;
|
|
809
|
+
message?: string | undefined;
|
|
810
|
+
stackTrace?: string | undefined;
|
|
811
|
+
}
|
|
812
|
+
interface DownloadMessageAttachmentVisualizationRequest {
|
|
813
|
+
/**
|
|
814
|
+
* The resource name of the attachment to render, in the format
|
|
815
|
+
* `spaces/{space_id}/conversations/{conversation_id}/messages/{message_id}/attachments/{attachment_id}`.
|
|
816
|
+
*/
|
|
817
|
+
name?: string | undefined;
|
|
818
|
+
}
|
|
819
|
+
interface DownloadMessageAttachmentVisualizationResponse {
|
|
820
|
+
/**
|
|
821
|
+
* The rendered visualization as a PNG image. Returned as the raw HTTP
|
|
822
|
+
* response body rather than a JSON field.
|
|
823
|
+
*/
|
|
824
|
+
contents?: ReadableStream | undefined;
|
|
825
|
+
}
|
|
826
|
+
interface ExternalLink {
|
|
827
|
+
/**
|
|
828
|
+
* A URL pointing to a
|
|
829
|
+
* chunk of result data, hosted by an external service, with a short expiration time
|
|
830
|
+
* (<= 15 minutes). As this URL contains a temporary credential, it should be considered sensitive
|
|
831
|
+
* and the client should not expose this URL in a log.
|
|
832
|
+
*/
|
|
833
|
+
externalLink?: string | undefined;
|
|
834
|
+
/**
|
|
835
|
+
* Indicates the date-time that the given external link will expire and
|
|
836
|
+
* becomes invalid, after which point a new `external_link` must be requested.
|
|
837
|
+
*/
|
|
838
|
+
expiration?: string | undefined;
|
|
839
|
+
/**
|
|
840
|
+
* HTTP headers that must be included with a GET request to the `external_link`.
|
|
841
|
+
* Each header is provided as a key-value pair.
|
|
842
|
+
* Headers are typically used to pass a decryption key to the external service.
|
|
843
|
+
* The values of these headers should be considered sensitive and the client should not expose
|
|
844
|
+
* these values in a log.
|
|
845
|
+
*/
|
|
846
|
+
httpHeaders?: Record<string, string> | undefined;
|
|
847
|
+
/** The position within the sequence of result set chunks. */
|
|
848
|
+
chunkIndex?: number | undefined;
|
|
849
|
+
/** The starting row offset within the result set. */
|
|
850
|
+
rowOffset?: bigint | undefined;
|
|
851
|
+
/** The number of rows within the result chunk. */
|
|
852
|
+
rowCount?: bigint | undefined;
|
|
853
|
+
/**
|
|
854
|
+
* The number of bytes in the result chunk. This field is not available when using `INLINE`
|
|
855
|
+
* disposition.
|
|
856
|
+
*/
|
|
857
|
+
byteCount?: bigint | undefined;
|
|
858
|
+
/**
|
|
859
|
+
* When fetching, provides the `chunk_index` for the _next_ chunk. If absent, indicates there are no
|
|
860
|
+
* more chunks. The next chunk can be fetched with a
|
|
861
|
+
* :method:statementexecution/getstatementresultchunkn request.
|
|
862
|
+
*/
|
|
863
|
+
nextChunkIndex?: number | undefined;
|
|
864
|
+
/**
|
|
865
|
+
* When fetching, provides a link to fetch the _next_ chunk. If absent, indicates there are no more
|
|
866
|
+
* chunks. This link is an absolute `path` to be joined with your `$DATABRICKS_HOST`, and should be
|
|
867
|
+
* treated as an opaque link. This is an alternative to using `next_chunk_index`.
|
|
868
|
+
*/
|
|
869
|
+
nextChunkInternalLink?: string | undefined;
|
|
884
870
|
}
|
|
885
871
|
/** Genie AI Response */
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
sqlExecutionResult?: StatementResponse | undefined;
|
|
995
|
-
/** Type of response */
|
|
996
|
-
responseType?: GenieEvalResponseType | undefined;
|
|
872
|
+
interface GenieAttachment {
|
|
873
|
+
attachment?: {
|
|
874
|
+
$case: 'text';
|
|
875
|
+
/**
|
|
876
|
+
* Text Attachment if Genie responds with text
|
|
877
|
+
* This also contains the final summary when available.
|
|
878
|
+
*/
|
|
879
|
+
text: TextAttachment;
|
|
880
|
+
} | {
|
|
881
|
+
$case: 'query'; /** Query Attachment if Genie responds with a SQL query */
|
|
882
|
+
query: GenieQueryAttachment;
|
|
883
|
+
} | {
|
|
884
|
+
$case: 'suggestedQuestions'; /** Follow-up questions suggested by Genie */
|
|
885
|
+
suggestedQuestions: GenieSuggestedQuestionsAttachment;
|
|
886
|
+
} | {
|
|
887
|
+
$case: 'viz'; /** Visualization generated by Genie, if requested via `enable_visualization` */
|
|
888
|
+
viz: GenieVizAttachment;
|
|
889
|
+
} | undefined;
|
|
890
|
+
/** Attachment ID */
|
|
891
|
+
attachmentId?: string | undefined;
|
|
892
|
+
}
|
|
893
|
+
interface GenieConversation {
|
|
894
|
+
/**
|
|
895
|
+
* Conversation ID.
|
|
896
|
+
* Legacy identifier, use conversation_id instead
|
|
897
|
+
*/
|
|
898
|
+
id?: string | undefined;
|
|
899
|
+
/** Genie space ID */
|
|
900
|
+
spaceId?: string | undefined;
|
|
901
|
+
/** ID of the user who created the conversation */
|
|
902
|
+
userId?: bigint | undefined;
|
|
903
|
+
/** Timestamp when the message was created */
|
|
904
|
+
createdTimestamp?: bigint | undefined;
|
|
905
|
+
/** Timestamp when the message was last updated */
|
|
906
|
+
lastUpdatedTimestamp?: bigint | undefined;
|
|
907
|
+
/** Conversation title */
|
|
908
|
+
title?: string | undefined;
|
|
909
|
+
/** Conversation ID */
|
|
910
|
+
conversationId?: string | undefined;
|
|
911
|
+
}
|
|
912
|
+
interface GenieConversationSummary {
|
|
913
|
+
conversationId?: string | undefined;
|
|
914
|
+
title?: string | undefined;
|
|
915
|
+
createdTimestamp?: bigint | undefined;
|
|
916
|
+
}
|
|
917
|
+
interface GenieCreateConversationMessageRequest {
|
|
918
|
+
/** The ID associated with the Genie space where the conversation is started. */
|
|
919
|
+
spaceId?: string | undefined;
|
|
920
|
+
/** The ID associated with the conversation. */
|
|
921
|
+
conversationId?: string | undefined;
|
|
922
|
+
/** User message content. */
|
|
923
|
+
content?: string | undefined;
|
|
924
|
+
/** Enable visualization generation. */
|
|
925
|
+
enableVisualization?: boolean | undefined;
|
|
926
|
+
}
|
|
927
|
+
interface GenieCreateEvalRunRequest {
|
|
928
|
+
/** The ID associated with the Genie space where the evaluations will be executed. */
|
|
929
|
+
spaceId?: string | undefined;
|
|
930
|
+
/** List of benchmark question IDs to evaluate. These questions must exist in the specified Genie space. If none are specified, then all benchmark questions are evaluated. */
|
|
931
|
+
benchmarkQuestionIds?: string[] | undefined;
|
|
932
|
+
}
|
|
933
|
+
interface GenieCreateMessageCommentRequest {
|
|
934
|
+
/** The ID associated with the Genie space. */
|
|
935
|
+
spaceId?: string | undefined;
|
|
936
|
+
/** The ID associated with the conversation. */
|
|
937
|
+
conversationId?: string | undefined;
|
|
938
|
+
/** The ID associated with the message. */
|
|
939
|
+
messageId?: string | undefined;
|
|
940
|
+
/** Comment text content. */
|
|
941
|
+
content?: string | undefined;
|
|
942
|
+
}
|
|
943
|
+
interface GenieCreateSpaceRequest {
|
|
944
|
+
/** Warehouse to associate with the new space */
|
|
945
|
+
warehouseId?: string | undefined;
|
|
946
|
+
/** Parent folder path where the space will be registered */
|
|
947
|
+
parentPath?: string | undefined;
|
|
948
|
+
/**
|
|
949
|
+
* The contents of the Genie Space in serialized string form.
|
|
950
|
+
* Use the [Get Genie Space](:method:genie/getspace) API to retrieve an example response, which includes the `serialized_space` field.
|
|
951
|
+
* This field provides the structure of the JSON string that represents the space's layout and components.
|
|
952
|
+
*/
|
|
953
|
+
serializedSpace?: string | undefined;
|
|
954
|
+
/** Optional title override */
|
|
955
|
+
title?: string | undefined;
|
|
956
|
+
/** Optional description */
|
|
957
|
+
description?: string | undefined;
|
|
958
|
+
}
|
|
959
|
+
interface GenieDeleteConversationMessageRequest {
|
|
960
|
+
/** The ID associated with the Genie space where the message is located. */
|
|
961
|
+
spaceId?: string | undefined;
|
|
962
|
+
/** The ID associated with the conversation. */
|
|
963
|
+
conversationId?: string | undefined;
|
|
964
|
+
/** The ID associated with the message to delete. */
|
|
965
|
+
messageId?: string | undefined;
|
|
966
|
+
}
|
|
967
|
+
interface GenieDeleteConversationRequest {
|
|
968
|
+
/** The ID associated with the Genie space where the conversation is located. */
|
|
969
|
+
spaceId?: string | undefined;
|
|
970
|
+
/** The ID of the conversation to delete. */
|
|
971
|
+
conversationId?: string | undefined;
|
|
972
|
+
}
|
|
973
|
+
interface GenieEvalResponse {
|
|
974
|
+
/** The response content (either text or SQL query). */
|
|
975
|
+
response?: string | undefined;
|
|
976
|
+
/** SQL Statement Execution response. */
|
|
977
|
+
sqlExecutionResult?: StatementResponse | undefined;
|
|
978
|
+
/** Type of response */
|
|
979
|
+
responseType?: GenieEvalResponseType | undefined;
|
|
997
980
|
}
|
|
998
981
|
/**
|
|
999
982
|
* Shows summary information for an evaluation result.
|
|
1000
983
|
* For detailed information including SQL execution results, actual/expected responses, and assessment scores, use GenieGetEvalResultDetails.
|
|
1001
984
|
*/
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
985
|
+
interface GenieEvalResult {
|
|
986
|
+
/** Unique identifier for this evaluation result. */
|
|
987
|
+
resultId?: string | undefined;
|
|
988
|
+
/** The ID of the space the evaluation result belongs to. */
|
|
989
|
+
spaceId?: string | undefined;
|
|
990
|
+
/** The ID of the benchmark question that was evaluated. */
|
|
991
|
+
benchmarkQuestionId?: string | undefined;
|
|
992
|
+
/** Current status of this evaluation result. */
|
|
993
|
+
status?: EvaluationStatusType | undefined;
|
|
994
|
+
/** Stored snapshot of original benchmark question text. */
|
|
995
|
+
question?: string | undefined;
|
|
996
|
+
/** Stored snapshot of original benchmark answer text. */
|
|
997
|
+
benchmarkAnswer?: string | undefined;
|
|
998
|
+
/** User ID who created evaluation result. */
|
|
999
|
+
createdByUser?: bigint | undefined;
|
|
1017
1000
|
}
|
|
1018
1001
|
/** Shows detailed information for an evaluation result. */
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
}
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
}
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
}
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1002
|
+
interface GenieEvalResultDetails {
|
|
1003
|
+
/** The unique identifier for the evaluation result. */
|
|
1004
|
+
resultId?: string | undefined;
|
|
1005
|
+
/** The ID of the space the evaluation result belongs to. */
|
|
1006
|
+
spaceId?: string | undefined;
|
|
1007
|
+
/** The ID of the benchmark question that was evaluated. */
|
|
1008
|
+
benchmarkQuestionId?: string | undefined;
|
|
1009
|
+
/** Current status of the evaluation run. */
|
|
1010
|
+
evalRunStatus?: EvaluationStatusType | undefined;
|
|
1011
|
+
/** Assessment of the evaluation result: good, bad, or needs review */
|
|
1012
|
+
assessment?: GenieEvalAssessment | undefined;
|
|
1013
|
+
/** Whether this evaluation was manually assessed. */
|
|
1014
|
+
manualAssessment?: boolean | undefined;
|
|
1015
|
+
/**
|
|
1016
|
+
* Reasons for the assessment score.
|
|
1017
|
+
*
|
|
1018
|
+
* Assessment reasons describe why a Genie response was scored as BAD.
|
|
1019
|
+
*
|
|
1020
|
+
* Deterministic values (compared against the ground truth result):
|
|
1021
|
+
* - EMPTY_RESULT: Genie's generated SQL results were empty for this benchmark question.
|
|
1022
|
+
* - RESULT_MISSING_ROWS: Genie's generated SQL response is missing rows from the provided ground truth SQL.
|
|
1023
|
+
* - RESULT_EXTRA_ROWS: Genie's generated SQL response has more rows than the provided ground truth SQL.
|
|
1024
|
+
* - RESULT_MISSING_COLUMNS: Genie's generated SQL response is missing columns from the provided ground truth SQL.
|
|
1025
|
+
* - RESULT_EXTRA_COLUMNS: Genie's generated SQL response has more columns than the provided ground truth SQL.
|
|
1026
|
+
* - SINGLE_CELL_DIFFERENCE: Single value result was produced but differs from ground truth result.
|
|
1027
|
+
* - EMPTY_GOOD_SQL: The benchmark SQL returned an empty result.
|
|
1028
|
+
* - COLUMN_TYPE_DIFFERENCE: The values between the results match but the column type is different.
|
|
1029
|
+
*
|
|
1030
|
+
* LLM judge ratings explain the factors driving BAD results:
|
|
1031
|
+
* - LLM_JUDGE_MISSING_OR_INCORRECT_FILTER: Genie's generated SQL is missing a WHERE clause condition or has incorrect filter logic that excludes/includes wrong data.
|
|
1032
|
+
* - LLM_JUDGE_INCOMPLETE_OR_PARTIAL_OUTPUT: Genie's generated SQL returns only some of the requested data or columns, missing parts of what the ground truth SQL returns.
|
|
1033
|
+
* - LLM_JUDGE_MISINTERPRETATION_OF_USER_REQUEST: Genie's generated SQL fundamentally misunderstands what the user is asking for, addressing the wrong question or goal.
|
|
1034
|
+
* - LLM_JUDGE_INSTRUCTION_COMPLIANCE_OR_MISSING_BUSINESS_LOGIC: Genie's generated SQL fails to apply specified instructions or business logic that should be followed.
|
|
1035
|
+
* - LLM_JUDGE_INCORRECT_METRIC_CALCULATION: Genie's generated SQL uses incorrect logic or makes wrong assumptions when calculating metrics.
|
|
1036
|
+
* - LLM_JUDGE_INCORRECT_TABLE_OR_FIELD_USAGE: Genie's generated SQL references wrong tables, columns, or uses fields that don't match the ground truth SQL's intent.
|
|
1037
|
+
* - LLM_JUDGE_INCORRECT_FUNCTION_USAGE: Genie's generated SQL uses SQL functions incorrectly or inappropriately (wrong parameters, wrong function for the task, etc.).
|
|
1038
|
+
* - LLM_JUDGE_MISSING_OR_INCORRECT_JOIN: Genie's generated SQL is missing necessary joins between tables or has incorrect join conditions/types that produce wrong results.
|
|
1039
|
+
* - LLM_JUDGE_MISSING_OR_INCORRECT_AGGREGATION: Genie's generated SQL is missing GROUP BY clauses or has incorrect grouping that doesn't match the requested aggregation level.
|
|
1040
|
+
* - LLM_JUDGE_FORMATTING_ERROR: Genie's generated SQL output has incorrect formatting, ordering (ORDER BY), or presentation issues that don't match expectations.
|
|
1041
|
+
* - LLM_JUDGE_OTHER: LLM judge identified an error that doesn't fall into other categories.
|
|
1042
|
+
*
|
|
1043
|
+
* Deprecated LLM judge values (kept for backward compatibility, do not use):
|
|
1044
|
+
* - LLM_JUDGE_MISSING_JOIN (deprecated)
|
|
1045
|
+
* - LLM_JUDGE_WRONG_FILTER (deprecated)
|
|
1046
|
+
* - LLM_JUDGE_WRONG_AGGREGATION (deprecated)
|
|
1047
|
+
* - LLM_JUDGE_WRONG_COLUMNS (deprecated)
|
|
1048
|
+
* - LLM_JUDGE_SYNTAX_ERROR (deprecated)
|
|
1049
|
+
* - LLM_JUDGE_SEMANTIC_ERROR (deprecated)
|
|
1050
|
+
*/
|
|
1051
|
+
assessmentReasons?: ScoreReason[] | undefined;
|
|
1052
|
+
/** The actual response generated by Genie. */
|
|
1053
|
+
actualResponse?: GenieEvalResponse[] | undefined;
|
|
1054
|
+
/** The expected responses from the benchmark. */
|
|
1055
|
+
expectedResponse?: GenieEvalResponse[] | undefined;
|
|
1056
|
+
}
|
|
1057
|
+
interface GenieEvalRunResponse {
|
|
1058
|
+
/** The unique identifier for the evaluation run. */
|
|
1059
|
+
evalRunId?: string | undefined;
|
|
1060
|
+
/** Current status of the evaluation run. */
|
|
1061
|
+
evalRunStatus?: EvaluationStatusType | undefined;
|
|
1062
|
+
/** User ID who initiated the evaluation run. */
|
|
1063
|
+
runByUser?: bigint | undefined;
|
|
1064
|
+
/** Timestamp when the evaluation run was created (milliseconds since epoch). */
|
|
1065
|
+
createdTimestamp?: bigint | undefined;
|
|
1066
|
+
/** Total number of questions in the evaluation run. */
|
|
1067
|
+
numQuestions?: bigint | undefined;
|
|
1068
|
+
/** Number of questions answered correctly. */
|
|
1069
|
+
numCorrect?: bigint | undefined;
|
|
1070
|
+
/** Number of questions that need manual review. */
|
|
1071
|
+
numNeedsReview?: bigint | undefined;
|
|
1072
|
+
/** Number of questions that have been completed. */
|
|
1073
|
+
numDone?: bigint | undefined;
|
|
1074
|
+
/** Timestamp when the evaluation run was last updated (milliseconds since epoch). */
|
|
1075
|
+
lastUpdatedTimestamp?: bigint | undefined;
|
|
1076
|
+
}
|
|
1077
|
+
interface GenieExecuteMessageAttachmentQueryRequest {
|
|
1078
|
+
/** Message ID */
|
|
1079
|
+
messageId?: string | undefined;
|
|
1080
|
+
/** Genie space ID */
|
|
1081
|
+
spaceId?: string | undefined;
|
|
1082
|
+
/** Conversation ID */
|
|
1083
|
+
conversationId?: string | undefined;
|
|
1084
|
+
/** Attachment ID */
|
|
1085
|
+
attachmentId?: string | undefined;
|
|
1086
|
+
}
|
|
1087
|
+
interface GenieExecuteMessageQueryRequest {
|
|
1088
|
+
/** Message ID */
|
|
1089
|
+
messageId?: string | undefined;
|
|
1090
|
+
/** Genie space ID */
|
|
1091
|
+
spaceId?: string | undefined;
|
|
1092
|
+
/** Conversation ID */
|
|
1093
|
+
conversationId?: string | undefined;
|
|
1111
1094
|
}
|
|
1112
1095
|
/** Feedback containing rating and optional comment */
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
}
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
}
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
}
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
}
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
}
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
}
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
}
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
}
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
}
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
}
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
}
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
}
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
}
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
}
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
}
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
}
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
}
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
}
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
}
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
}
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
}
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
}
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
}
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
}
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
}
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
}
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1096
|
+
interface GenieFeedback {
|
|
1097
|
+
/** The feedback rating */
|
|
1098
|
+
rating?: GenieFeedbackRating | undefined;
|
|
1099
|
+
/** Optional feedback comment text */
|
|
1100
|
+
comment?: string | undefined;
|
|
1101
|
+
}
|
|
1102
|
+
interface GenieGenerateDownloadFullQueryResultRequest {
|
|
1103
|
+
/** Genie space ID */
|
|
1104
|
+
spaceId?: string | undefined;
|
|
1105
|
+
/** Conversation ID */
|
|
1106
|
+
conversationId?: string | undefined;
|
|
1107
|
+
/** Message ID */
|
|
1108
|
+
messageId?: string | undefined;
|
|
1109
|
+
/** Attachment ID */
|
|
1110
|
+
attachmentId?: string | undefined;
|
|
1111
|
+
}
|
|
1112
|
+
interface GenieGenerateDownloadFullQueryResultResponse {
|
|
1113
|
+
/** Download ID. Use this ID to track the download request in subsequent polling calls */
|
|
1114
|
+
downloadId?: string | undefined;
|
|
1115
|
+
/** JWT signature for the download_id to ensure secure access to query results */
|
|
1116
|
+
downloadIdSignature?: string | undefined;
|
|
1117
|
+
}
|
|
1118
|
+
interface GenieGetConversationMessageRequest {
|
|
1119
|
+
/** The ID associated with the Genie space where the target conversation is located. */
|
|
1120
|
+
spaceId?: string | undefined;
|
|
1121
|
+
/** The ID associated with the target conversation. */
|
|
1122
|
+
conversationId?: string | undefined;
|
|
1123
|
+
/** The ID associated with the target message from the identified conversation. */
|
|
1124
|
+
messageId?: string | undefined;
|
|
1125
|
+
}
|
|
1126
|
+
interface GenieGetDownloadFullQueryResultRequest {
|
|
1127
|
+
/** Genie space ID */
|
|
1128
|
+
spaceId?: string | undefined;
|
|
1129
|
+
/** Conversation ID */
|
|
1130
|
+
conversationId?: string | undefined;
|
|
1131
|
+
/** Message ID */
|
|
1132
|
+
messageId?: string | undefined;
|
|
1133
|
+
/** Attachment ID */
|
|
1134
|
+
attachmentId?: string | undefined;
|
|
1135
|
+
/** Download ID. This ID is provided by the [Generate Download endpoint](:method:genie/generateDownloadFullQueryResult) */
|
|
1136
|
+
downloadId?: string | undefined;
|
|
1137
|
+
/** JWT signature for the download_id to ensure secure access to query results */
|
|
1138
|
+
downloadIdSignature?: string | undefined;
|
|
1139
|
+
}
|
|
1140
|
+
interface GenieGetDownloadFullQueryResultResponse {
|
|
1141
|
+
/** SQL Statement Execution response. See [Get status, manifest, and result first chunk](:method:statementexecution/getstatement) for more details. */
|
|
1142
|
+
statementResponse?: StatementResponse | undefined;
|
|
1143
|
+
}
|
|
1144
|
+
interface GenieGetEvalResultDetailsRequest {
|
|
1145
|
+
/** The ID associated with the Genie space where the evaluation run is located. */
|
|
1146
|
+
spaceId?: string | undefined;
|
|
1147
|
+
/** The unique identifier for the evaluation run. */
|
|
1148
|
+
evalRunId?: string | undefined;
|
|
1149
|
+
/** The unique identifier for the evaluation result. */
|
|
1150
|
+
resultId?: string | undefined;
|
|
1151
|
+
}
|
|
1152
|
+
interface GenieGetEvalRunRequest {
|
|
1153
|
+
/** The ID associated with the Genie space where the evaluation run is located. */
|
|
1154
|
+
spaceId?: string | undefined;
|
|
1155
|
+
evalRunId?: string | undefined;
|
|
1156
|
+
}
|
|
1157
|
+
interface GenieGetMessageAttachmentQueryResultRequest {
|
|
1158
|
+
/** Message ID */
|
|
1159
|
+
messageId?: string | undefined;
|
|
1160
|
+
/** Genie space ID */
|
|
1161
|
+
spaceId?: string | undefined;
|
|
1162
|
+
/** Conversation ID */
|
|
1163
|
+
conversationId?: string | undefined;
|
|
1164
|
+
/** Attachment ID */
|
|
1165
|
+
attachmentId?: string | undefined;
|
|
1166
|
+
}
|
|
1167
|
+
interface GenieGetMessageQueryResultRequest {
|
|
1168
|
+
/** Message ID */
|
|
1169
|
+
messageId?: string | undefined;
|
|
1170
|
+
/** Genie space ID */
|
|
1171
|
+
spaceId?: string | undefined;
|
|
1172
|
+
/** Conversation ID */
|
|
1173
|
+
conversationId?: string | undefined;
|
|
1174
|
+
}
|
|
1175
|
+
interface GenieGetMessageQueryResultResponse {
|
|
1176
|
+
/** SQL Statement Execution response. See [Get status, manifest, and result first chunk](:method:statementexecution/getstatement) for more details. */
|
|
1177
|
+
statementResponse?: StatementResponse | undefined;
|
|
1178
|
+
}
|
|
1179
|
+
interface GenieGetQueryResultByAttachmentRequest {
|
|
1180
|
+
/** Message ID */
|
|
1181
|
+
messageId?: string | undefined;
|
|
1182
|
+
/** Genie space ID */
|
|
1183
|
+
spaceId?: string | undefined;
|
|
1184
|
+
/** Conversation ID */
|
|
1185
|
+
conversationId?: string | undefined;
|
|
1186
|
+
/** Attachment ID */
|
|
1187
|
+
attachmentId?: string | undefined;
|
|
1188
|
+
}
|
|
1189
|
+
interface GenieGetSpaceRequest {
|
|
1190
|
+
/** The ID associated with the Genie space */
|
|
1191
|
+
spaceId?: string | undefined;
|
|
1192
|
+
/**
|
|
1193
|
+
* Whether to include the serialized space export in the response.
|
|
1194
|
+
* Requires at least CAN EDIT permission on the space.
|
|
1195
|
+
*/
|
|
1196
|
+
includeSerializedSpace?: boolean | undefined;
|
|
1197
|
+
}
|
|
1198
|
+
interface GenieListConversationCommentsRequest {
|
|
1199
|
+
/** The ID associated with the Genie space. */
|
|
1200
|
+
spaceId?: string | undefined;
|
|
1201
|
+
/** The ID associated with the conversation. */
|
|
1202
|
+
conversationId?: string | undefined;
|
|
1203
|
+
/** Maximum number of comments to return per page. */
|
|
1204
|
+
pageSize?: number | undefined;
|
|
1205
|
+
/** Pagination token for getting the next page of results. */
|
|
1206
|
+
pageToken?: string | undefined;
|
|
1207
|
+
}
|
|
1208
|
+
interface GenieListConversationCommentsResponse {
|
|
1209
|
+
/** List of comments in the conversation. */
|
|
1210
|
+
comments?: GenieMessageComment[] | undefined;
|
|
1211
|
+
/** Token to get the next page of results. */
|
|
1212
|
+
nextPageToken?: string | undefined;
|
|
1213
|
+
}
|
|
1214
|
+
interface GenieListConversationMessagesRequest {
|
|
1215
|
+
/** The ID associated with the Genie space where the conversation is located */
|
|
1216
|
+
spaceId?: string | undefined;
|
|
1217
|
+
/** The ID of the conversation to list messages from */
|
|
1218
|
+
conversationId?: string | undefined;
|
|
1219
|
+
/** Maximum number of messages to return per page */
|
|
1220
|
+
pageSize?: number | undefined;
|
|
1221
|
+
/** Token to get the next page of results */
|
|
1222
|
+
pageToken?: string | undefined;
|
|
1223
|
+
}
|
|
1224
|
+
interface GenieListConversationMessagesResponse {
|
|
1225
|
+
/** List of messages in the conversation. */
|
|
1226
|
+
messages?: GenieMessage[] | undefined;
|
|
1227
|
+
/** The token to use for retrieving the next page of results. */
|
|
1228
|
+
nextPageToken?: string | undefined;
|
|
1229
|
+
}
|
|
1230
|
+
interface GenieListConversationsRequest {
|
|
1231
|
+
/** The ID of the Genie space to retrieve conversations from. */
|
|
1232
|
+
spaceId?: string | undefined;
|
|
1233
|
+
/** Maximum number of conversations to return per page */
|
|
1234
|
+
pageSize?: number | undefined;
|
|
1235
|
+
/** Token to get the next page of results */
|
|
1236
|
+
pageToken?: string | undefined;
|
|
1237
|
+
/**
|
|
1238
|
+
* Include all conversations in the space across all users.
|
|
1239
|
+
* Requires at least CAN MANAGE permission on the space.
|
|
1240
|
+
*/
|
|
1241
|
+
includeAll?: boolean | undefined;
|
|
1242
|
+
}
|
|
1243
|
+
interface GenieListConversationsResponse {
|
|
1244
|
+
/** List of conversations in the Genie space */
|
|
1245
|
+
conversations?: GenieConversationSummary[] | undefined;
|
|
1246
|
+
/** Token to get the next page of results */
|
|
1247
|
+
nextPageToken?: string | undefined;
|
|
1248
|
+
}
|
|
1249
|
+
interface GenieListEvalResultsRequest {
|
|
1250
|
+
/** The ID associated with the Genie space where the evaluation run is located. */
|
|
1251
|
+
spaceId?: string | undefined;
|
|
1252
|
+
/** The unique identifier for the evaluation run. */
|
|
1253
|
+
evalRunId?: string | undefined;
|
|
1254
|
+
/** Maximum number of eval results to return per page. */
|
|
1255
|
+
pageSize?: number | undefined;
|
|
1256
|
+
/** Opaque token to retrieve the next page of results. */
|
|
1257
|
+
pageToken?: string | undefined;
|
|
1258
|
+
}
|
|
1259
|
+
interface GenieListEvalResultsResponse {
|
|
1260
|
+
/** List of evaluation results for the specified run. */
|
|
1261
|
+
evalResults?: GenieEvalResult[] | undefined;
|
|
1262
|
+
/** The token to use for retrieving the next page of results. */
|
|
1263
|
+
nextPageToken?: string | undefined;
|
|
1264
|
+
}
|
|
1265
|
+
interface GenieListEvalRunsRequest {
|
|
1266
|
+
/** The ID associated with the Genie space where the evaluation run is located. */
|
|
1267
|
+
spaceId?: string | undefined;
|
|
1268
|
+
/** Maximum number of evaluation runs to return per page */
|
|
1269
|
+
pageSize?: number | undefined;
|
|
1270
|
+
/** Token to get the next page of results */
|
|
1271
|
+
pageToken?: string | undefined;
|
|
1272
|
+
}
|
|
1273
|
+
interface GenieListEvalRunsResponse {
|
|
1274
|
+
/** List of evaluation runs for a space on provided page token and page size */
|
|
1275
|
+
evalRuns?: GenieEvalRunResponse[] | undefined;
|
|
1276
|
+
/** The token to use for retrieving the next page of results. */
|
|
1277
|
+
nextPageToken?: string | undefined;
|
|
1278
|
+
}
|
|
1279
|
+
interface GenieListMessageCommentsRequest {
|
|
1280
|
+
/** The ID associated with the Genie space. */
|
|
1281
|
+
spaceId?: string | undefined;
|
|
1282
|
+
/** The ID associated with the conversation. */
|
|
1283
|
+
conversationId?: string | undefined;
|
|
1284
|
+
/** The ID associated with the message. */
|
|
1285
|
+
messageId?: string | undefined;
|
|
1286
|
+
/** Maximum number of comments to return per page. */
|
|
1287
|
+
pageSize?: number | undefined;
|
|
1288
|
+
/** Pagination token for getting the next page of results. */
|
|
1289
|
+
pageToken?: string | undefined;
|
|
1290
|
+
}
|
|
1291
|
+
interface GenieListMessageCommentsResponse {
|
|
1292
|
+
/** List of comments on the message. */
|
|
1293
|
+
comments?: GenieMessageComment[] | undefined;
|
|
1294
|
+
/** Token to get the next page of results. */
|
|
1295
|
+
nextPageToken?: string | undefined;
|
|
1296
|
+
}
|
|
1297
|
+
interface GenieListSpacesRequest {
|
|
1298
|
+
/** Maximum number of spaces to return per page */
|
|
1299
|
+
pageSize?: number | undefined;
|
|
1300
|
+
/** Pagination token for getting the next page of results */
|
|
1301
|
+
pageToken?: string | undefined;
|
|
1302
|
+
}
|
|
1303
|
+
interface GenieListSpacesResponse {
|
|
1304
|
+
/** List of Genie spaces */
|
|
1305
|
+
spaces?: GenieSpace[] | undefined;
|
|
1306
|
+
/** Token to get the next page of results */
|
|
1307
|
+
nextPageToken?: string | undefined;
|
|
1308
|
+
}
|
|
1309
|
+
interface GenieMessage {
|
|
1310
|
+
/**
|
|
1311
|
+
* Message ID.
|
|
1312
|
+
* Legacy identifier, use message_id instead
|
|
1313
|
+
*/
|
|
1314
|
+
id?: string | undefined;
|
|
1315
|
+
/** Genie space ID */
|
|
1316
|
+
spaceId?: string | undefined;
|
|
1317
|
+
/** Conversation ID */
|
|
1318
|
+
conversationId?: string | undefined;
|
|
1319
|
+
/** ID of the user who created the message */
|
|
1320
|
+
userId?: bigint | undefined;
|
|
1321
|
+
/** Timestamp when the message was created */
|
|
1322
|
+
createdTimestamp?: bigint | undefined;
|
|
1323
|
+
/** Timestamp when the message was last updated */
|
|
1324
|
+
lastUpdatedTimestamp?: bigint | undefined;
|
|
1325
|
+
status?: MessageStatus_MessageStatus | undefined;
|
|
1326
|
+
/** User message content */
|
|
1327
|
+
content?: string | undefined;
|
|
1328
|
+
/** AI-generated response to the message */
|
|
1329
|
+
attachments?: GenieAttachment[] | undefined;
|
|
1330
|
+
/**
|
|
1331
|
+
* The result of SQL query if the message includes a query attachment.
|
|
1332
|
+
* Deprecated. Use `query_result_metadata` in `GenieQueryAttachment` instead.
|
|
1333
|
+
*/
|
|
1334
|
+
queryResult?: Result | undefined;
|
|
1335
|
+
/** Error message if Genie failed to respond to the message */
|
|
1336
|
+
error?: MessageError | undefined;
|
|
1337
|
+
/** Message ID */
|
|
1338
|
+
messageId?: string | undefined;
|
|
1339
|
+
/** User feedback for the message if provided */
|
|
1340
|
+
feedback?: GenieFeedback | undefined;
|
|
1358
1341
|
}
|
|
1359
1342
|
/** A comment on a Genie conversation message. */
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
}
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
}
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
}
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
}
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
}
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
}
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1343
|
+
interface GenieMessageComment {
|
|
1344
|
+
/** Genie space ID */
|
|
1345
|
+
spaceId?: string | undefined;
|
|
1346
|
+
/** Conversation ID */
|
|
1347
|
+
conversationId?: string | undefined;
|
|
1348
|
+
/** Message ID */
|
|
1349
|
+
messageId?: string | undefined;
|
|
1350
|
+
/** Comment ID */
|
|
1351
|
+
messageCommentId?: string | undefined;
|
|
1352
|
+
/** ID of the user who created the comment */
|
|
1353
|
+
userId?: bigint | undefined;
|
|
1354
|
+
/** Comment text content */
|
|
1355
|
+
content?: string | undefined;
|
|
1356
|
+
/** Timestamp when the comment was created */
|
|
1357
|
+
createdTimestamp?: bigint | undefined;
|
|
1358
|
+
}
|
|
1359
|
+
interface GenieQueryAttachment {
|
|
1360
|
+
/** Name of the query */
|
|
1361
|
+
title?: string | undefined;
|
|
1362
|
+
/** AI generated SQL query */
|
|
1363
|
+
query?: string | undefined;
|
|
1364
|
+
/** Description of the query */
|
|
1365
|
+
description?: string | undefined;
|
|
1366
|
+
/** Time when the user updated the query last */
|
|
1367
|
+
lastUpdatedTimestamp?: bigint | undefined;
|
|
1368
|
+
parameters?: QueryAttachmentParameter[] | undefined;
|
|
1369
|
+
id?: string | undefined;
|
|
1370
|
+
/** Statement Execution API statement id. Use [Get status, manifest, and result first chunk](:method:statementexecution/getstatement) to get the full result data. */
|
|
1371
|
+
statementId?: string | undefined;
|
|
1372
|
+
/** Metadata associated with the query result. */
|
|
1373
|
+
queryResultMetadata?: GenieResultMetadata | undefined;
|
|
1374
|
+
/** Insights into how Genie came to generate the SQL. */
|
|
1375
|
+
thoughts?: Thought[] | undefined;
|
|
1376
|
+
}
|
|
1377
|
+
interface GenieResultMetadata {
|
|
1378
|
+
/** The number of rows in the result set. */
|
|
1379
|
+
rowCount?: bigint | undefined;
|
|
1380
|
+
/** Indicates whether the result set is truncated. */
|
|
1381
|
+
isTruncated?: boolean | undefined;
|
|
1382
|
+
}
|
|
1383
|
+
interface GenieSendMessageFeedbackRequest {
|
|
1384
|
+
/** The ID associated with the Genie space where the message is located. */
|
|
1385
|
+
spaceId?: string | undefined;
|
|
1386
|
+
/** The ID associated with the conversation. */
|
|
1387
|
+
conversationId?: string | undefined;
|
|
1388
|
+
/** The ID associated with the message to provide feedback for. */
|
|
1389
|
+
messageId?: string | undefined;
|
|
1390
|
+
/** The rating (POSITIVE, NEGATIVE, or NONE). */
|
|
1391
|
+
rating?: GenieFeedbackRating | undefined;
|
|
1392
|
+
/** Optional text feedback that will be stored as a comment. */
|
|
1393
|
+
comment?: string | undefined;
|
|
1394
|
+
}
|
|
1395
|
+
interface GenieSpace {
|
|
1396
|
+
/** Genie space ID */
|
|
1397
|
+
spaceId?: string | undefined;
|
|
1398
|
+
/** Title of the Genie Space */
|
|
1399
|
+
title?: string | undefined;
|
|
1400
|
+
/** Description of the Genie Space */
|
|
1401
|
+
description?: string | undefined;
|
|
1402
|
+
/** Warehouse associated with the Genie Space */
|
|
1403
|
+
warehouseId?: string | undefined;
|
|
1404
|
+
/** Parent folder path of the Genie Space */
|
|
1405
|
+
parentPath?: string | undefined;
|
|
1406
|
+
/**
|
|
1407
|
+
* The contents of the Genie Space in serialized string form.
|
|
1408
|
+
* This field is excluded in List Genie spaces responses.
|
|
1409
|
+
* Use the [Get Genie Space](:method:genie/getspace) API to retrieve an example response, which includes the `serialized_space` field.
|
|
1410
|
+
* This field provides the structure of the JSON string that represents the space's layout and components.
|
|
1411
|
+
*/
|
|
1412
|
+
serializedSpace?: string | undefined;
|
|
1413
|
+
/**
|
|
1414
|
+
* ETag for this space. Pass this value back in the update request to prevent overwriting
|
|
1415
|
+
* concurrent changes.
|
|
1416
|
+
*/
|
|
1417
|
+
etag?: string | undefined;
|
|
1418
|
+
}
|
|
1419
|
+
interface GenieStartConversationRequest {
|
|
1420
|
+
/** The ID associated with the Genie space where you want to start a conversation. */
|
|
1421
|
+
spaceId?: string | undefined;
|
|
1422
|
+
/** The text of the message that starts the conversation. */
|
|
1423
|
+
content?: string | undefined;
|
|
1424
|
+
/** Enable visualization generation. */
|
|
1425
|
+
enableVisualization?: boolean | undefined;
|
|
1426
|
+
}
|
|
1427
|
+
interface GenieStartConversationResponse {
|
|
1428
|
+
/** Message ID */
|
|
1429
|
+
messageId?: string | undefined;
|
|
1430
|
+
message?: GenieMessage | undefined;
|
|
1431
|
+
/** Conversation ID */
|
|
1432
|
+
conversationId?: string | undefined;
|
|
1433
|
+
conversation?: GenieConversation | undefined;
|
|
1451
1434
|
}
|
|
1452
1435
|
/** Follow-up questions suggested by Genie */
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
}
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
}
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1436
|
+
interface GenieSuggestedQuestionsAttachment {
|
|
1437
|
+
/** The suggested follow-up questions */
|
|
1438
|
+
questions?: string[] | undefined;
|
|
1439
|
+
}
|
|
1440
|
+
interface GenieTrashSpaceRequest {
|
|
1441
|
+
/** The ID associated with the Genie space to be sent to the trash. */
|
|
1442
|
+
spaceId?: string | undefined;
|
|
1443
|
+
}
|
|
1444
|
+
interface GenieUpdateSpaceRequest {
|
|
1445
|
+
/** Genie space ID */
|
|
1446
|
+
spaceId?: string | undefined;
|
|
1447
|
+
/**
|
|
1448
|
+
* The contents of the Genie Space in serialized string form (full replacement).
|
|
1449
|
+
* Use the [Get Genie Space](:method:genie/getspace) API to retrieve an example response, which includes the `serialized_space` field.
|
|
1450
|
+
* This field provides the structure of the JSON string that represents the space's layout and components.
|
|
1451
|
+
*/
|
|
1452
|
+
serializedSpace?: string | undefined;
|
|
1453
|
+
/** Optional title override */
|
|
1454
|
+
title?: string | undefined;
|
|
1455
|
+
/** Optional description */
|
|
1456
|
+
description?: string | undefined;
|
|
1457
|
+
/** Optional warehouse override */
|
|
1458
|
+
warehouseId?: string | undefined;
|
|
1459
|
+
/**
|
|
1460
|
+
* ETag returned by a previous GET or UPDATE. When set, the update will fail if the space
|
|
1461
|
+
* has been modified since. Omit to apply the update unconditionally.
|
|
1462
|
+
*/
|
|
1463
|
+
etag?: string | undefined;
|
|
1464
|
+
/** Parent workspace folder path to move this Genie space under. */
|
|
1465
|
+
parentPath?: string | undefined;
|
|
1483
1466
|
}
|
|
1484
1467
|
/**
|
|
1485
1468
|
* Visualization generated by Genie for a query result. Use the attachment ID
|
|
1486
1469
|
* with the download visualization API to retrieve the rendered image.
|
|
1487
1470
|
*/
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1471
|
+
interface GenieVizAttachment {
|
|
1472
|
+
/** Name of the visualization */
|
|
1473
|
+
title?: string | undefined;
|
|
1474
|
+
/** The ID of the query attachment the visualization was generated from */
|
|
1475
|
+
queryAttachmentId?: string | undefined;
|
|
1493
1476
|
}
|
|
1494
1477
|
/**
|
|
1495
1478
|
* copied from proto3 / Google Well Known Types, source:
|
|
@@ -1498,54 +1481,51 @@ export interface GenieVizAttachment {
|
|
|
1498
1481
|
*
|
|
1499
1482
|
* The JSON representation for `ListValue` is JSON array.
|
|
1500
1483
|
*/
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1484
|
+
interface ListValue {
|
|
1485
|
+
/** Repeated field of dynamically typed values. */
|
|
1486
|
+
values?: Value[] | undefined;
|
|
1504
1487
|
}
|
|
1505
1488
|
/**
|
|
1506
1489
|
* <Databricks> proto compiler is too old and does not support map.
|
|
1507
1490
|
* This is wire compatible with map<string,string>.
|
|
1508
1491
|
* See https://developers.google.com/protocol-buffers/docs/proto#backwards_compatibility.
|
|
1509
1492
|
*/
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1493
|
+
interface MapStringValueEntry {
|
|
1494
|
+
key?: string | undefined;
|
|
1495
|
+
value?: Value | undefined;
|
|
1513
1496
|
}
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
}
|
|
1518
|
-
export interface MessageStatus {
|
|
1497
|
+
interface MessageError {
|
|
1498
|
+
error?: string | undefined;
|
|
1499
|
+
type?: MessageError_Type | undefined;
|
|
1519
1500
|
}
|
|
1501
|
+
interface MessageStatus {}
|
|
1520
1502
|
/**
|
|
1521
1503
|
* A positional argument passed to a row filter or column mask function.
|
|
1522
1504
|
* Distinguishes between column references and literals.
|
|
1523
1505
|
*/
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
/** JWT corresponding to the statement contained in this result */
|
|
1548
|
-
statementIdSignature?: string | undefined;
|
|
1506
|
+
interface PolicyFunctionArgument {
|
|
1507
|
+
arg?: {
|
|
1508
|
+
$case: 'column'; /** A column reference. */
|
|
1509
|
+
column: string;
|
|
1510
|
+
} | {
|
|
1511
|
+
$case: 'constant'; /** A constant literal. */
|
|
1512
|
+
constant: string;
|
|
1513
|
+
} | undefined;
|
|
1514
|
+
}
|
|
1515
|
+
interface QueryAttachmentParameter {
|
|
1516
|
+
keyword?: string | undefined;
|
|
1517
|
+
value?: string | undefined;
|
|
1518
|
+
sqlType?: string | undefined;
|
|
1519
|
+
}
|
|
1520
|
+
interface Result {
|
|
1521
|
+
/** Statement Execution API statement id. Use [Get status, manifest, and result first chunk](:method:statementexecution/getstatement) to get the full result data. */
|
|
1522
|
+
statementId?: string | undefined;
|
|
1523
|
+
/** Row count of the result */
|
|
1524
|
+
rowCount?: bigint | undefined;
|
|
1525
|
+
/** If result is truncated */
|
|
1526
|
+
isTruncated?: boolean | undefined;
|
|
1527
|
+
/** JWT corresponding to the statement contained in this result */
|
|
1528
|
+
statementIdSignature?: string | undefined;
|
|
1549
1529
|
}
|
|
1550
1530
|
/**
|
|
1551
1531
|
* Contains the result data of a single chunk when using `INLINE` disposition. When using
|
|
@@ -1555,88 +1535,88 @@ export interface Result {
|
|
|
1555
1535
|
* array prepares the API to return multiple links in a single response. Currently only a single
|
|
1556
1536
|
* link is returned.)
|
|
1557
1537
|
*/
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1538
|
+
interface ResultData {
|
|
1539
|
+
externalLinks?: ExternalLink[] | undefined;
|
|
1540
|
+
/**
|
|
1541
|
+
* The `JSON_ARRAY` format is an array of arrays of values, where each non-null value is
|
|
1542
|
+
* formatted as a string. Null values are encoded as JSON `null`.
|
|
1543
|
+
*/
|
|
1544
|
+
dataArray?: ListValue[] | undefined;
|
|
1545
|
+
/** The position within the sequence of result set chunks. */
|
|
1546
|
+
chunkIndex?: number | undefined;
|
|
1547
|
+
/** The starting row offset within the result set. */
|
|
1548
|
+
rowOffset?: bigint | undefined;
|
|
1549
|
+
/** The number of rows within the result chunk. */
|
|
1550
|
+
rowCount?: bigint | undefined;
|
|
1551
|
+
/**
|
|
1552
|
+
* The number of bytes in the result chunk. This field is not available when using `INLINE`
|
|
1553
|
+
* disposition.
|
|
1554
|
+
*/
|
|
1555
|
+
byteCount?: bigint | undefined;
|
|
1556
|
+
/**
|
|
1557
|
+
* When fetching, provides the `chunk_index` for the _next_ chunk. If absent, indicates there are no
|
|
1558
|
+
* more chunks. The next chunk can be fetched with a
|
|
1559
|
+
* :method:statementexecution/getstatementresultchunkn request.
|
|
1560
|
+
*/
|
|
1561
|
+
nextChunkIndex?: number | undefined;
|
|
1562
|
+
/**
|
|
1563
|
+
* When fetching, provides a link to fetch the _next_ chunk. If absent, indicates there are no more
|
|
1564
|
+
* chunks. This link is an absolute `path` to be joined with your `$DATABRICKS_HOST`, and should be
|
|
1565
|
+
* treated as an opaque link. This is an alternative to using `next_chunk_index`.
|
|
1566
|
+
*/
|
|
1567
|
+
nextChunkInternalLink?: string | undefined;
|
|
1588
1568
|
}
|
|
1589
1569
|
/** The result manifest provides schema and metadata for the result set. */
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
}
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
}
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1570
|
+
interface ResultManifest {
|
|
1571
|
+
format?: Format | undefined;
|
|
1572
|
+
schema?: Schema | undefined;
|
|
1573
|
+
/** The total number of chunks that the result set has been divided into. */
|
|
1574
|
+
totalChunkCount?: number | undefined;
|
|
1575
|
+
/** Array of result set chunk metadata. */
|
|
1576
|
+
chunks?: ChunkInfo[] | undefined;
|
|
1577
|
+
/** The total number of rows in the result set. */
|
|
1578
|
+
totalRowCount?: bigint | undefined;
|
|
1579
|
+
/**
|
|
1580
|
+
* The total number of bytes in the result set. This field is not available when using `INLINE`
|
|
1581
|
+
* disposition.
|
|
1582
|
+
*/
|
|
1583
|
+
totalByteCount?: bigint | undefined;
|
|
1584
|
+
/** Indicates whether the result is truncated due to `row_limit` or `byte_limit`. */
|
|
1585
|
+
truncated?: boolean | undefined;
|
|
1586
|
+
}
|
|
1587
|
+
interface Schema {
|
|
1588
|
+
columnCount?: number | undefined;
|
|
1589
|
+
columns?: ColumnInfo[] | undefined;
|
|
1590
|
+
}
|
|
1591
|
+
interface StatementResponse {
|
|
1592
|
+
/**
|
|
1593
|
+
* The statement ID is returned upon successfully submitting a SQL statement, and is a required
|
|
1594
|
+
* reference for all subsequent calls.
|
|
1595
|
+
*/
|
|
1596
|
+
statementId?: string | undefined;
|
|
1597
|
+
status?: StatementStatus | undefined;
|
|
1598
|
+
manifest?: ResultManifest | undefined;
|
|
1599
|
+
result?: ResultData | undefined;
|
|
1620
1600
|
}
|
|
1621
1601
|
/** The status response includes execution state and if relevant, error information. */
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1602
|
+
interface StatementStatus {
|
|
1603
|
+
/**
|
|
1604
|
+
* Statement execution state:
|
|
1605
|
+
* - `PENDING`: waiting for warehouse
|
|
1606
|
+
* - `RUNNING`: running
|
|
1607
|
+
* - `SUCCEEDED`: execution was successful, result data available for fetch
|
|
1608
|
+
* - `FAILED`: execution failed; reason for failure described in accompanying error message
|
|
1609
|
+
* - `CANCELED`: user canceled; can come from explicit cancel call, or timeout with
|
|
1610
|
+
* `on_wait_timeout=CANCEL`
|
|
1611
|
+
* - `CLOSED`: execution successful, and statement closed; result no longer available for fetch
|
|
1612
|
+
*/
|
|
1613
|
+
state?: StatementStatus_State | undefined;
|
|
1614
|
+
error?: DatabricksServiceExceptionProto | undefined;
|
|
1615
|
+
/**
|
|
1616
|
+
* SQLSTATE error code returned when the statement execution fails.
|
|
1617
|
+
* Only populated when the statement status is `FAILED`.
|
|
1618
|
+
*/
|
|
1619
|
+
sqlState?: string | undefined;
|
|
1640
1620
|
}
|
|
1641
1621
|
/**
|
|
1642
1622
|
* copied from proto3 / Google Well Known Types, source:
|
|
@@ -1650,40 +1630,40 @@ export interface StatementStatus {
|
|
|
1650
1630
|
*
|
|
1651
1631
|
* The JSON representation for `Struct` is JSON object.
|
|
1652
1632
|
*/
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1633
|
+
interface Struct {
|
|
1634
|
+
/** Unordered map of dynamically typed values. */
|
|
1635
|
+
fields?: MapStringValueEntry[] | undefined;
|
|
1656
1636
|
}
|
|
1657
1637
|
/**
|
|
1658
1638
|
* A text response on a conversation message: the answer, the final summary, or a
|
|
1659
1639
|
* clarifying follow-up question, along with optional phase and verification metadata.
|
|
1660
1640
|
*/
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1641
|
+
interface TextAttachment {
|
|
1642
|
+
/** AI generated message */
|
|
1643
|
+
content?: string | undefined;
|
|
1644
|
+
id?: string | undefined;
|
|
1645
|
+
/**
|
|
1646
|
+
* Purpose of this text attachment. A completed message may contain more than
|
|
1647
|
+
* one text attachment (for example a clarifying follow-up question alongside
|
|
1648
|
+
* the final answer); use this field to tell them apart. `TEXT_ATTACHMENT_PURPOSE_ANSWER`
|
|
1649
|
+
* marks the final answer/summary and `FOLLOW_UP_QUESTION` marks a clarifying question.
|
|
1650
|
+
*/
|
|
1651
|
+
purpose?: TextAttachmentPurpose | undefined;
|
|
1672
1652
|
}
|
|
1673
1653
|
/** A single thought in the AI's reasoning process for a query. */
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1654
|
+
interface Thought {
|
|
1655
|
+
/**
|
|
1656
|
+
* The category of this thought.
|
|
1657
|
+
* The possible values are:
|
|
1658
|
+
* * `THOUGHT_TYPE_DESCRIPTION`: A high-level description of how the question was interpreted.
|
|
1659
|
+
* * `THOUGHT_TYPE_UNDERSTANDING`: How ambiguous parts of the question were resolved.
|
|
1660
|
+
* * `THOUGHT_TYPE_DATA_SOURCING`: Which tables or datasets were identified as relevant.
|
|
1661
|
+
* * `THOUGHT_TYPE_INSTRUCTIONS`: Which author-defined instructions were referenced.
|
|
1662
|
+
* * `THOUGHT_TYPE_STEPS`: The logical steps taken to compute the answer.
|
|
1663
|
+
*/
|
|
1664
|
+
thoughtType?: ThoughtType | undefined;
|
|
1665
|
+
/** The md formatted content for this thought. */
|
|
1666
|
+
content?: string | undefined;
|
|
1687
1667
|
}
|
|
1688
1668
|
/**
|
|
1689
1669
|
* copied from proto3 / Google Well Known Types, source:
|
|
@@ -1695,88 +1675,84 @@ export interface Thought {
|
|
|
1695
1675
|
*
|
|
1696
1676
|
* The JSON representation for `Value` is JSON value.
|
|
1697
1677
|
*/
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
export
|
|
1778
|
-
export declare const marshalGenieGenerateDownloadFullQueryResultRequestSchema: z.ZodType;
|
|
1779
|
-
export declare const marshalGenieSendMessageFeedbackRequestSchema: z.ZodType;
|
|
1780
|
-
export declare const marshalGenieStartConversationRequestSchema: z.ZodType;
|
|
1781
|
-
export declare const marshalGenieUpdateSpaceRequestSchema: z.ZodType;
|
|
1678
|
+
interface Value {
|
|
1679
|
+
/** The kind of value. */
|
|
1680
|
+
kind?: {
|
|
1681
|
+
$case: 'nullValue'; /** Represents a null value. */
|
|
1682
|
+
nullValue: NullValue;
|
|
1683
|
+
} | {
|
|
1684
|
+
$case: 'numberValue'; /** Represents a double value. */
|
|
1685
|
+
numberValue: number;
|
|
1686
|
+
} | {
|
|
1687
|
+
$case: 'stringValue'; /** Represents a string value. */
|
|
1688
|
+
stringValue: string;
|
|
1689
|
+
} | {
|
|
1690
|
+
$case: 'boolValue'; /** Represents a boolean value. */
|
|
1691
|
+
boolValue: boolean;
|
|
1692
|
+
} | {
|
|
1693
|
+
$case: 'structValue'; /** Represents a structured value. */
|
|
1694
|
+
structValue: Struct;
|
|
1695
|
+
} | {
|
|
1696
|
+
$case: 'listValue'; /** Represents a repeated `Value`. */
|
|
1697
|
+
listValue: ListValue;
|
|
1698
|
+
} | undefined;
|
|
1699
|
+
}
|
|
1700
|
+
declare const unmarshalChunkInfoSchema: z.ZodType<ChunkInfo>;
|
|
1701
|
+
declare const unmarshalColumnInfoSchema: z.ZodType<ColumnInfo>;
|
|
1702
|
+
declare const unmarshalColumnMaskSchema: z.ZodType<ColumnMask>;
|
|
1703
|
+
declare const unmarshalDatabricksServiceExceptionProtoSchema: z.ZodType<DatabricksServiceExceptionProto>;
|
|
1704
|
+
declare const unmarshalExternalLinkSchema: z.ZodType<ExternalLink>;
|
|
1705
|
+
declare const unmarshalGenieAttachmentSchema: z.ZodType<GenieAttachment>;
|
|
1706
|
+
declare const unmarshalGenieConversationSchema: z.ZodType<GenieConversation>;
|
|
1707
|
+
declare const unmarshalGenieConversationSummarySchema: z.ZodType<GenieConversationSummary>;
|
|
1708
|
+
declare const unmarshalGenieEvalResponseSchema: z.ZodType<GenieEvalResponse>;
|
|
1709
|
+
declare const unmarshalGenieEvalResultSchema: z.ZodType<GenieEvalResult>;
|
|
1710
|
+
declare const unmarshalGenieEvalResultDetailsSchema: z.ZodType<GenieEvalResultDetails>;
|
|
1711
|
+
declare const unmarshalGenieEvalRunResponseSchema: z.ZodType<GenieEvalRunResponse>;
|
|
1712
|
+
declare const unmarshalGenieFeedbackSchema: z.ZodType<GenieFeedback>;
|
|
1713
|
+
declare const unmarshalGenieGenerateDownloadFullQueryResultResponseSchema: z.ZodType<GenieGenerateDownloadFullQueryResultResponse>;
|
|
1714
|
+
declare const unmarshalGenieGetDownloadFullQueryResultResponseSchema: z.ZodType<GenieGetDownloadFullQueryResultResponse>;
|
|
1715
|
+
declare const unmarshalGenieGetMessageQueryResultResponseSchema: z.ZodType<GenieGetMessageQueryResultResponse>;
|
|
1716
|
+
declare const unmarshalGenieListConversationCommentsResponseSchema: z.ZodType<GenieListConversationCommentsResponse>;
|
|
1717
|
+
declare const unmarshalGenieListConversationMessagesResponseSchema: z.ZodType<GenieListConversationMessagesResponse>;
|
|
1718
|
+
declare const unmarshalGenieListConversationsResponseSchema: z.ZodType<GenieListConversationsResponse>;
|
|
1719
|
+
declare const unmarshalGenieListEvalResultsResponseSchema: z.ZodType<GenieListEvalResultsResponse>;
|
|
1720
|
+
declare const unmarshalGenieListEvalRunsResponseSchema: z.ZodType<GenieListEvalRunsResponse>;
|
|
1721
|
+
declare const unmarshalGenieListMessageCommentsResponseSchema: z.ZodType<GenieListMessageCommentsResponse>;
|
|
1722
|
+
declare const unmarshalGenieListSpacesResponseSchema: z.ZodType<GenieListSpacesResponse>;
|
|
1723
|
+
declare const unmarshalGenieMessageSchema: z.ZodType<GenieMessage>;
|
|
1724
|
+
declare const unmarshalGenieMessageCommentSchema: z.ZodType<GenieMessageComment>;
|
|
1725
|
+
declare const unmarshalGenieQueryAttachmentSchema: z.ZodType<GenieQueryAttachment>;
|
|
1726
|
+
declare const unmarshalGenieResultMetadataSchema: z.ZodType<GenieResultMetadata>;
|
|
1727
|
+
declare const unmarshalGenieSpaceSchema: z.ZodType<GenieSpace>;
|
|
1728
|
+
declare const unmarshalGenieStartConversationResponseSchema: z.ZodType<GenieStartConversationResponse>;
|
|
1729
|
+
declare const unmarshalGenieSuggestedQuestionsAttachmentSchema: z.ZodType<GenieSuggestedQuestionsAttachment>;
|
|
1730
|
+
declare const unmarshalGenieVizAttachmentSchema: z.ZodType<GenieVizAttachment>;
|
|
1731
|
+
declare const unmarshalListValueSchema: z.ZodType<ListValue>;
|
|
1732
|
+
declare const unmarshalMapStringValueEntrySchema: z.ZodType<MapStringValueEntry>;
|
|
1733
|
+
declare const unmarshalMessageErrorSchema: z.ZodType<MessageError>;
|
|
1734
|
+
declare const unmarshalPolicyFunctionArgumentSchema: z.ZodType<PolicyFunctionArgument>;
|
|
1735
|
+
declare const unmarshalQueryAttachmentParameterSchema: z.ZodType<QueryAttachmentParameter>;
|
|
1736
|
+
declare const unmarshalResultSchema: z.ZodType<Result>;
|
|
1737
|
+
declare const unmarshalResultDataSchema: z.ZodType<ResultData>;
|
|
1738
|
+
declare const unmarshalResultManifestSchema: z.ZodType<ResultManifest>;
|
|
1739
|
+
declare const unmarshalSchemaSchema: z.ZodType<Schema>;
|
|
1740
|
+
declare const unmarshalStatementResponseSchema: z.ZodType<StatementResponse>;
|
|
1741
|
+
declare const unmarshalStatementStatusSchema: z.ZodType<StatementStatus>;
|
|
1742
|
+
declare const unmarshalStructSchema: z.ZodType<Struct>;
|
|
1743
|
+
declare const unmarshalTextAttachmentSchema: z.ZodType<TextAttachment>;
|
|
1744
|
+
declare const unmarshalThoughtSchema: z.ZodType<Thought>;
|
|
1745
|
+
declare const unmarshalValueSchema: z.ZodType<Value>;
|
|
1746
|
+
declare const marshalGenieCreateConversationMessageRequestSchema: z.ZodType;
|
|
1747
|
+
declare const marshalGenieCreateEvalRunRequestSchema: z.ZodType;
|
|
1748
|
+
declare const marshalGenieCreateMessageCommentRequestSchema: z.ZodType;
|
|
1749
|
+
declare const marshalGenieCreateSpaceRequestSchema: z.ZodType;
|
|
1750
|
+
declare const marshalGenieExecuteMessageAttachmentQueryRequestSchema: z.ZodType;
|
|
1751
|
+
declare const marshalGenieExecuteMessageQueryRequestSchema: z.ZodType;
|
|
1752
|
+
declare const marshalGenieGenerateDownloadFullQueryResultRequestSchema: z.ZodType;
|
|
1753
|
+
declare const marshalGenieSendMessageFeedbackRequestSchema: z.ZodType;
|
|
1754
|
+
declare const marshalGenieStartConversationRequestSchema: z.ZodType;
|
|
1755
|
+
declare const marshalGenieUpdateSpaceRequestSchema: z.ZodType;
|
|
1756
|
+
//#endregion
|
|
1757
|
+
export { ChunkInfo, ColumnInfo, ColumnMask, ColumnTypeName, DatabricksServiceExceptionProto, DownloadMessageAttachmentVisualizationRequest, DownloadMessageAttachmentVisualizationResponse, ErrorCode, EvaluationStatusType, ExternalLink, Format, GenieAttachment, GenieConversation, GenieConversationSummary, GenieCreateConversationMessageRequest, GenieCreateEvalRunRequest, GenieCreateMessageCommentRequest, GenieCreateSpaceRequest, GenieDeleteConversationMessageRequest, GenieDeleteConversationRequest, GenieEvalAssessment, GenieEvalResponse, GenieEvalResponseType, GenieEvalResult, GenieEvalResultDetails, GenieEvalRunResponse, GenieExecuteMessageAttachmentQueryRequest, GenieExecuteMessageQueryRequest, GenieFeedback, GenieFeedbackRating, GenieGenerateDownloadFullQueryResultRequest, GenieGenerateDownloadFullQueryResultResponse, GenieGetConversationMessageRequest, GenieGetDownloadFullQueryResultRequest, GenieGetDownloadFullQueryResultResponse, GenieGetEvalResultDetailsRequest, GenieGetEvalRunRequest, GenieGetMessageAttachmentQueryResultRequest, GenieGetMessageQueryResultRequest, GenieGetMessageQueryResultResponse, GenieGetQueryResultByAttachmentRequest, GenieGetSpaceRequest, GenieListConversationCommentsRequest, GenieListConversationCommentsResponse, GenieListConversationMessagesRequest, GenieListConversationMessagesResponse, GenieListConversationsRequest, GenieListConversationsResponse, GenieListEvalResultsRequest, GenieListEvalResultsResponse, GenieListEvalRunsRequest, GenieListEvalRunsResponse, GenieListMessageCommentsRequest, GenieListMessageCommentsResponse, GenieListSpacesRequest, GenieListSpacesResponse, GenieMessage, GenieMessageComment, GenieQueryAttachment, GenieResultMetadata, GenieSendMessageFeedbackRequest, GenieSpace, GenieStartConversationRequest, GenieStartConversationResponse, GenieSuggestedQuestionsAttachment, GenieTrashSpaceRequest, GenieUpdateSpaceRequest, GenieVizAttachment, ListValue, MapStringValueEntry, MessageError, MessageError_Type, MessageStatus, MessageStatus_MessageStatus, NullValue, PolicyFunctionArgument, QueryAttachmentParameter, Result, ResultData, ResultManifest, Schema, ScoreReason, StatementResponse, StatementStatus, StatementStatus_State, Struct, TextAttachment, TextAttachmentPurpose, Thought, ThoughtType, Value, marshalGenieCreateConversationMessageRequestSchema, marshalGenieCreateEvalRunRequestSchema, marshalGenieCreateMessageCommentRequestSchema, marshalGenieCreateSpaceRequestSchema, marshalGenieExecuteMessageAttachmentQueryRequestSchema, marshalGenieExecuteMessageQueryRequestSchema, marshalGenieGenerateDownloadFullQueryResultRequestSchema, marshalGenieSendMessageFeedbackRequestSchema, marshalGenieStartConversationRequestSchema, marshalGenieUpdateSpaceRequestSchema, unmarshalChunkInfoSchema, unmarshalColumnInfoSchema, unmarshalColumnMaskSchema, unmarshalDatabricksServiceExceptionProtoSchema, unmarshalExternalLinkSchema, unmarshalGenieAttachmentSchema, unmarshalGenieConversationSchema, unmarshalGenieConversationSummarySchema, unmarshalGenieEvalResponseSchema, unmarshalGenieEvalResultDetailsSchema, unmarshalGenieEvalResultSchema, unmarshalGenieEvalRunResponseSchema, unmarshalGenieFeedbackSchema, unmarshalGenieGenerateDownloadFullQueryResultResponseSchema, unmarshalGenieGetDownloadFullQueryResultResponseSchema, unmarshalGenieGetMessageQueryResultResponseSchema, unmarshalGenieListConversationCommentsResponseSchema, unmarshalGenieListConversationMessagesResponseSchema, unmarshalGenieListConversationsResponseSchema, unmarshalGenieListEvalResultsResponseSchema, unmarshalGenieListEvalRunsResponseSchema, unmarshalGenieListMessageCommentsResponseSchema, unmarshalGenieListSpacesResponseSchema, unmarshalGenieMessageCommentSchema, unmarshalGenieMessageSchema, unmarshalGenieQueryAttachmentSchema, unmarshalGenieResultMetadataSchema, unmarshalGenieSpaceSchema, unmarshalGenieStartConversationResponseSchema, unmarshalGenieSuggestedQuestionsAttachmentSchema, unmarshalGenieVizAttachmentSchema, unmarshalListValueSchema, unmarshalMapStringValueEntrySchema, unmarshalMessageErrorSchema, unmarshalPolicyFunctionArgumentSchema, unmarshalQueryAttachmentParameterSchema, unmarshalResultDataSchema, unmarshalResultManifestSchema, unmarshalResultSchema, unmarshalSchemaSchema, unmarshalStatementResponseSchema, unmarshalStatementStatusSchema, unmarshalStructSchema, unmarshalTextAttachmentSchema, unmarshalThoughtSchema, unmarshalValueSchema };
|
|
1782
1758
|
//# sourceMappingURL=model.d.ts.map
|