@databricks/sdk-genie 0.1.0-dev.3 → 0.1.0-dev.5
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/v1/model.d.ts +283 -269
- package/dist/v1/model.d.ts.map +1 -1
- package/dist/v1/model.js +300 -303
- package/dist/v1/model.js.map +1 -1
- package/dist/v1/utils.d.ts.map +1 -1
- package/dist/v1/utils.js +2 -1
- package/dist/v1/utils.js.map +1 -1
- package/package.json +6 -6
- package/src/v1/client.ts +0 -1302
- package/src/v1/index.ts +0 -102
- package/src/v1/model.ts +0 -2738
- package/src/v1/transport.ts +0 -73
- package/src/v1/utils.ts +0 -180
package/dist/v1/model.d.ts
CHANGED
|
@@ -1,32 +1,33 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare
|
|
3
|
-
BOOLEAN
|
|
4
|
-
BYTE
|
|
5
|
-
SHORT
|
|
6
|
-
INT
|
|
7
|
-
LONG
|
|
8
|
-
FLOAT
|
|
9
|
-
DOUBLE
|
|
10
|
-
DATE
|
|
11
|
-
TIMESTAMP
|
|
12
|
-
STRING
|
|
13
|
-
BINARY
|
|
14
|
-
DECIMAL
|
|
15
|
-
INTERVAL
|
|
16
|
-
ARRAY
|
|
17
|
-
STRUCT
|
|
18
|
-
MAP
|
|
19
|
-
CHAR
|
|
20
|
-
NULL
|
|
21
|
-
USER_DEFINED_TYPE
|
|
22
|
-
TIMESTAMP_NTZ
|
|
23
|
-
VARIANT
|
|
24
|
-
GEOMETRY
|
|
25
|
-
GEOGRAPHY
|
|
26
|
-
TABLE_TYPE
|
|
27
|
-
}
|
|
2
|
+
export declare const ColumnTypeName: {
|
|
3
|
+
readonly BOOLEAN: "BOOLEAN";
|
|
4
|
+
readonly BYTE: "BYTE";
|
|
5
|
+
readonly SHORT: "SHORT";
|
|
6
|
+
readonly INT: "INT";
|
|
7
|
+
readonly LONG: "LONG";
|
|
8
|
+
readonly FLOAT: "FLOAT";
|
|
9
|
+
readonly DOUBLE: "DOUBLE";
|
|
10
|
+
readonly DATE: "DATE";
|
|
11
|
+
readonly TIMESTAMP: "TIMESTAMP";
|
|
12
|
+
readonly STRING: "STRING";
|
|
13
|
+
readonly BINARY: "BINARY";
|
|
14
|
+
readonly DECIMAL: "DECIMAL";
|
|
15
|
+
readonly INTERVAL: "INTERVAL";
|
|
16
|
+
readonly ARRAY: "ARRAY";
|
|
17
|
+
readonly STRUCT: "STRUCT";
|
|
18
|
+
readonly MAP: "MAP";
|
|
19
|
+
readonly CHAR: "CHAR";
|
|
20
|
+
readonly NULL: "NULL";
|
|
21
|
+
readonly USER_DEFINED_TYPE: "USER_DEFINED_TYPE";
|
|
22
|
+
readonly TIMESTAMP_NTZ: "TIMESTAMP_NTZ";
|
|
23
|
+
readonly VARIANT: "VARIANT";
|
|
24
|
+
readonly GEOMETRY: "GEOMETRY";
|
|
25
|
+
readonly GEOGRAPHY: "GEOGRAPHY";
|
|
26
|
+
readonly TABLE_TYPE: "TABLE_TYPE";
|
|
27
|
+
};
|
|
28
|
+
export type ColumnTypeName = (typeof ColumnTypeName)[keyof typeof ColumnTypeName] | (string & {});
|
|
28
29
|
/** Error codes returned by Databricks APIs to indicate specific failure conditions. */
|
|
29
|
-
export declare
|
|
30
|
+
export declare const ErrorCode: {
|
|
30
31
|
/**
|
|
31
32
|
* Unknown error. This error generally should not be returned explicitly, but will be used
|
|
32
33
|
* as a fallback if the error enum is missing from the message for some reason.
|
|
@@ -39,7 +40,7 @@ export declare enum ErrorCode {
|
|
|
39
40
|
* - google.rpc.Code: UNKNOWN = 2;
|
|
40
41
|
* - HTTP code: 500 Internal Server Error
|
|
41
42
|
*/
|
|
42
|
-
UNKNOWN
|
|
43
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
43
44
|
/**
|
|
44
45
|
* Internal error. This means that some invariants expected by the underlying system have been
|
|
45
46
|
* broken. This error code is reserved for serious errors, which generally cannot be resolved
|
|
@@ -52,7 +53,7 @@ export declare enum ErrorCode {
|
|
|
52
53
|
* - google.rpc.Code: INTERNAL = 13;
|
|
53
54
|
* - HTTP code: 500 Internal Server Error
|
|
54
55
|
*/
|
|
55
|
-
INTERNAL_ERROR
|
|
56
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
56
57
|
/**
|
|
57
58
|
* The service is currently unavailable. This is most likely a transient condition, which can be
|
|
58
59
|
* corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent
|
|
@@ -67,13 +68,13 @@ export declare enum ErrorCode {
|
|
|
67
68
|
* - google.rpc.Code: UNAVAILABLE = 14;
|
|
68
69
|
* - HTTP code: 503 Service Unavailable
|
|
69
70
|
*/
|
|
70
|
-
TEMPORARILY_UNAVAILABLE
|
|
71
|
+
readonly TEMPORARILY_UNAVAILABLE: "TEMPORARILY_UNAVAILABLE";
|
|
71
72
|
/**
|
|
72
73
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
73
74
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
74
75
|
* Indicates that an IOException has been internally thrown.
|
|
75
76
|
*/
|
|
76
|
-
IO_ERROR
|
|
77
|
+
readonly IO_ERROR: "IO_ERROR";
|
|
77
78
|
/**
|
|
78
79
|
* The request is invalid. Prefer more specific error code whenever possible.
|
|
79
80
|
* Also see similar recommendation for the google.rpc.Code.FAILED_PRECONDITION.
|
|
@@ -84,14 +85,14 @@ export declare enum ErrorCode {
|
|
|
84
85
|
* - google.rpc.Code: FAILED_PRECONDITION = 9;
|
|
85
86
|
* - HTTP code: 400 Bad Request
|
|
86
87
|
*/
|
|
87
|
-
BAD_REQUEST
|
|
88
|
+
readonly BAD_REQUEST: "BAD_REQUEST";
|
|
88
89
|
/**
|
|
89
90
|
* An external service is unavailable temporarily as it is being updated/re-deployed. Indicates
|
|
90
91
|
* gateway proxy to safely retry the request.
|
|
91
92
|
*/
|
|
92
|
-
SERVICE_UNDER_MAINTENANCE
|
|
93
|
+
readonly SERVICE_UNDER_MAINTENANCE: "SERVICE_UNDER_MAINTENANCE";
|
|
93
94
|
/** A workspace is temporarily unavailable as the workspace is being re-assigned. */
|
|
94
|
-
WORKSPACE_TEMPORARILY_UNAVAILABLE
|
|
95
|
+
readonly WORKSPACE_TEMPORARILY_UNAVAILABLE: "WORKSPACE_TEMPORARILY_UNAVAILABLE";
|
|
95
96
|
/**
|
|
96
97
|
* The deadline expired before the operation could complete. For operations that change the state
|
|
97
98
|
* of the system, this error may be returned even if the operation has completed successfully.
|
|
@@ -104,7 +105,7 @@ export declare enum ErrorCode {
|
|
|
104
105
|
* - google.rpc.Code: DEADLINE_EXCEEDED = 4;
|
|
105
106
|
* - HTTP code: 504 Gateway Timeout
|
|
106
107
|
*/
|
|
107
|
-
DEADLINE_EXCEEDED
|
|
108
|
+
readonly DEADLINE_EXCEEDED: "DEADLINE_EXCEEDED";
|
|
108
109
|
/**
|
|
109
110
|
* The operation was canceled by the caller. An example - client closed the connection without
|
|
110
111
|
* waiting for a response.
|
|
@@ -113,7 +114,7 @@ export declare enum ErrorCode {
|
|
|
113
114
|
* - google.rpc.Code: CANCELLED = 1;
|
|
114
115
|
* - HTTP code: 499 Client Closed Request
|
|
115
116
|
*/
|
|
116
|
-
CANCELLED
|
|
117
|
+
readonly CANCELLED: "CANCELLED";
|
|
117
118
|
/**
|
|
118
119
|
* The operation is rejected because of either rate limiting or resource quota,
|
|
119
120
|
* such as the client has sent too many requests recently or the client has allocated too many
|
|
@@ -126,7 +127,7 @@ export declare enum ErrorCode {
|
|
|
126
127
|
* - google.rpc.Code: RESOURCE_EXHAUSTED = 8;
|
|
127
128
|
* - HTTP code: 429 Too Many Requests
|
|
128
129
|
*/
|
|
129
|
-
RESOURCE_EXHAUSTED
|
|
130
|
+
readonly RESOURCE_EXHAUSTED: "RESOURCE_EXHAUSTED";
|
|
130
131
|
/**
|
|
131
132
|
* The operation was aborted, typically due to a concurrency issue such as a sequencer
|
|
132
133
|
* check failure, transaction abort, or transaction conflict.
|
|
@@ -135,7 +136,7 @@ export declare enum ErrorCode {
|
|
|
135
136
|
* - google.rpc.Code: ABORTED = 10;
|
|
136
137
|
* - HTTP code: 409 Conflict
|
|
137
138
|
*/
|
|
138
|
-
ABORTED
|
|
139
|
+
readonly ABORTED: "ABORTED";
|
|
139
140
|
/**
|
|
140
141
|
* Operation was performed on a resource that does not exist,
|
|
141
142
|
* e.g. file or directory was not found.
|
|
@@ -144,7 +145,7 @@ export declare enum ErrorCode {
|
|
|
144
145
|
* - google.rpc.Code: NOT_FOUND = 5;
|
|
145
146
|
* - HTTP code: 404 Not Found
|
|
146
147
|
*/
|
|
147
|
-
NOT_FOUND
|
|
148
|
+
readonly NOT_FOUND: "NOT_FOUND";
|
|
148
149
|
/**
|
|
149
150
|
* Operation was rejected due a conflict with an existing resource, e.g. attempted to create
|
|
150
151
|
* file or directory that already exists.
|
|
@@ -155,7 +156,7 @@ export declare enum ErrorCode {
|
|
|
155
156
|
* - google.rpc.Code: ALREADY_EXISTS = 6;
|
|
156
157
|
* - HTTP code: 409 Conflict
|
|
157
158
|
*/
|
|
158
|
-
ALREADY_EXISTS
|
|
159
|
+
readonly ALREADY_EXISTS: "ALREADY_EXISTS";
|
|
159
160
|
/**
|
|
160
161
|
* The request does not have valid authentication (AuthN) credentials for the operation.
|
|
161
162
|
*
|
|
@@ -167,7 +168,7 @@ export declare enum ErrorCode {
|
|
|
167
168
|
* - google.rpc.Code: UNAUTHENTICATED = 16;
|
|
168
169
|
* - HTTP code: 401 Unauthorized
|
|
169
170
|
*/
|
|
170
|
-
UNAUTHENTICATED
|
|
171
|
+
readonly UNAUTHENTICATED: "UNAUTHENTICATED";
|
|
171
172
|
/**
|
|
172
173
|
* The service is currently unavailable. Please note that the unavailability may or may not be transient.
|
|
173
174
|
* That means if this is a non-transient condition, retrying it does not work. If the unavailability
|
|
@@ -182,7 +183,7 @@ export declare enum ErrorCode {
|
|
|
182
183
|
* - google.rpc.Code: UNAVAILABLE = 14;
|
|
183
184
|
* - HTTP code: 503 Service Unavailable
|
|
184
185
|
*/
|
|
185
|
-
UNAVAILABLE
|
|
186
|
+
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
186
187
|
/**
|
|
187
188
|
* Supplied value for a parameter was invalid (e.g., giving a number for a string parameter).
|
|
188
189
|
*
|
|
@@ -190,7 +191,7 @@ export declare enum ErrorCode {
|
|
|
190
191
|
* - google.rpc.Code: INVALID_ARGUMENT = 3;
|
|
191
192
|
* - HTTP code: 400 Bad Request
|
|
192
193
|
*/
|
|
193
|
-
INVALID_PARAMETER_VALUE
|
|
194
|
+
readonly INVALID_PARAMETER_VALUE: "INVALID_PARAMETER_VALUE";
|
|
194
195
|
/**
|
|
195
196
|
* Indicates that the given API endpoint does not exist. Legacy, when possible - NOT_IMPLEMENTED
|
|
196
197
|
* should be used instead to indicate that API doesn't exist.
|
|
@@ -199,15 +200,15 @@ export declare enum ErrorCode {
|
|
|
199
200
|
* - google.rpc.Code: NOT_FOUND = 5;
|
|
200
201
|
* - HTTP code: 404 Not Found
|
|
201
202
|
*/
|
|
202
|
-
ENDPOINT_NOT_FOUND
|
|
203
|
+
readonly ENDPOINT_NOT_FOUND: "ENDPOINT_NOT_FOUND";
|
|
203
204
|
/** Indicates that the given API request was malformed. */
|
|
204
|
-
MALFORMED_REQUEST
|
|
205
|
+
readonly MALFORMED_REQUEST: "MALFORMED_REQUEST";
|
|
205
206
|
/**
|
|
206
207
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
207
208
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
208
209
|
* If one or more of the inputs to a given RPC are not in a valid state for the action.
|
|
209
210
|
*/
|
|
210
|
-
INVALID_STATE
|
|
211
|
+
readonly INVALID_STATE: "INVALID_STATE";
|
|
211
212
|
/**
|
|
212
213
|
* The caller does not have permission to execute the specified operation.
|
|
213
214
|
* PERMISSION_DENIED must not be used for rejections caused by exhausting some resource,
|
|
@@ -221,7 +222,7 @@ export declare enum ErrorCode {
|
|
|
221
222
|
* - google.rpc.Code: PERMISSION_DENIED = 7;
|
|
222
223
|
* - HTTP code: 403 Forbidden
|
|
223
224
|
*/
|
|
224
|
-
PERMISSION_DENIED
|
|
225
|
+
readonly PERMISSION_DENIED: "PERMISSION_DENIED";
|
|
225
226
|
/**
|
|
226
227
|
* NOTE: Deprecated due to inconsistent mapping in legacy code, see
|
|
227
228
|
* https://docs.google.com/document/d/17TZIKX_Y39cJMBr333lc-d5dTvvBLSu3DPUyGU5eMJg/edit?disco=AAAAzVGt6FA.
|
|
@@ -233,7 +234,7 @@ export declare enum ErrorCode {
|
|
|
233
234
|
* - google.rpc.Code: NOT_FOUND = 5;
|
|
234
235
|
* - HTTP code: 404 Not Found
|
|
235
236
|
*/
|
|
236
|
-
FEATURE_DISABLED
|
|
237
|
+
readonly FEATURE_DISABLED: "FEATURE_DISABLED";
|
|
237
238
|
/**
|
|
238
239
|
* The request does not have valid authentication (AuthN) credentials for the operation.
|
|
239
240
|
*
|
|
@@ -254,7 +255,7 @@ export declare enum ErrorCode {
|
|
|
254
255
|
* - google.rpc.Code: UNAUTHENTICATED = 16;
|
|
255
256
|
* - HTTP code: 401 Unauthorized
|
|
256
257
|
*/
|
|
257
|
-
CUSTOMER_UNAUTHORIZED
|
|
258
|
+
readonly CUSTOMER_UNAUTHORIZED: "CUSTOMER_UNAUTHORIZED";
|
|
258
259
|
/**
|
|
259
260
|
* The operation is rejected because of request rate limit, for example rate limiting applied to
|
|
260
261
|
* users, workspaces, IP addresses, etc.
|
|
@@ -268,16 +269,16 @@ export declare enum ErrorCode {
|
|
|
268
269
|
* - google.rpc.Code: RESOURCE_EXHAUSTED = 8;
|
|
269
270
|
* - HTTP code: 429 Too Many Requests
|
|
270
271
|
*/
|
|
271
|
-
REQUEST_LIMIT_EXCEEDED
|
|
272
|
+
readonly REQUEST_LIMIT_EXCEEDED: "REQUEST_LIMIT_EXCEEDED";
|
|
272
273
|
/** Indicates API request was rejected due a conflict with an existing resource. */
|
|
273
|
-
RESOURCE_CONFLICT
|
|
274
|
+
readonly RESOURCE_CONFLICT: "RESOURCE_CONFLICT";
|
|
274
275
|
/**
|
|
275
276
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
276
277
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
277
278
|
* Indicates that the HTTP response cannot be correctly deserialized.
|
|
278
279
|
* This currently is only used in DUST test clients, and not by any real service code.
|
|
279
280
|
*/
|
|
280
|
-
UNPARSEABLE_HTTP_ERROR
|
|
281
|
+
readonly UNPARSEABLE_HTTP_ERROR: "UNPARSEABLE_HTTP_ERROR";
|
|
281
282
|
/**
|
|
282
283
|
* The operation is not implemented or is not supported/enabled in this service.
|
|
283
284
|
*
|
|
@@ -285,7 +286,7 @@ export declare enum ErrorCode {
|
|
|
285
286
|
* - google.rpc.Code: UNIMPLEMENTED = 12;
|
|
286
287
|
* - HTTP code: 501 Not Implemented
|
|
287
288
|
*/
|
|
288
|
-
NOT_IMPLEMENTED
|
|
289
|
+
readonly NOT_IMPLEMENTED: "NOT_IMPLEMENTED";
|
|
289
290
|
/**
|
|
290
291
|
* Unrecoverable data loss or corruption.
|
|
291
292
|
*
|
|
@@ -300,15 +301,15 @@ export declare enum ErrorCode {
|
|
|
300
301
|
* - google.rpc.Code: DATA_LOSS = 15;
|
|
301
302
|
* - HTTP code: 500 Internal Server Error
|
|
302
303
|
*/
|
|
303
|
-
DATA_LOSS
|
|
304
|
+
readonly DATA_LOSS: "DATA_LOSS";
|
|
304
305
|
/** If the user attempts to perform an invalid state transition on a shard. */
|
|
305
|
-
INVALID_STATE_TRANSITION
|
|
306
|
+
readonly INVALID_STATE_TRANSITION: "INVALID_STATE_TRANSITION";
|
|
306
307
|
/**
|
|
307
308
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
308
309
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
309
310
|
* Unable to perform the operation because the shard was locked by some other operation.
|
|
310
311
|
*/
|
|
311
|
-
COULD_NOT_ACQUIRE_LOCK
|
|
312
|
+
readonly COULD_NOT_ACQUIRE_LOCK: "COULD_NOT_ACQUIRE_LOCK";
|
|
312
313
|
/**
|
|
313
314
|
* NOTE: Deprecated, prefer using ALREADY_EXISTS.
|
|
314
315
|
* Unlike ALREADY_EXISTS - this maps to HTTP code 400 Bad Request due to legacy reasons,
|
|
@@ -316,7 +317,7 @@ export declare enum ErrorCode {
|
|
|
316
317
|
*
|
|
317
318
|
* Operation was performed on a resource that already exists.
|
|
318
319
|
*/
|
|
319
|
-
RESOURCE_ALREADY_EXISTS
|
|
320
|
+
readonly RESOURCE_ALREADY_EXISTS: "RESOURCE_ALREADY_EXISTS";
|
|
320
321
|
/**
|
|
321
322
|
* NOTE: Deprecated, prefer using NOT_FOUND - see the note for the RESOURCE_ALREADY_EXISTS,
|
|
322
323
|
* because this pair of codes is related and RESOURCE_ALREADY_EXISTS has bad mapping to the HTTP
|
|
@@ -324,240 +325,246 @@ export declare enum ErrorCode {
|
|
|
324
325
|
*
|
|
325
326
|
* Operation was performed on a resource that does not exist.
|
|
326
327
|
*/
|
|
327
|
-
RESOURCE_DOES_NOT_EXIST
|
|
328
|
+
readonly RESOURCE_DOES_NOT_EXIST: "RESOURCE_DOES_NOT_EXIST";
|
|
328
329
|
/**
|
|
329
330
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
330
331
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
331
332
|
*/
|
|
332
|
-
QUOTA_EXCEEDED
|
|
333
|
+
readonly QUOTA_EXCEEDED: "QUOTA_EXCEEDED";
|
|
333
334
|
/**
|
|
334
335
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
335
336
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
336
337
|
*/
|
|
337
|
-
MAX_BLOCK_SIZE_EXCEEDED
|
|
338
|
+
readonly MAX_BLOCK_SIZE_EXCEEDED: "MAX_BLOCK_SIZE_EXCEEDED";
|
|
338
339
|
/**
|
|
339
340
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
340
341
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
341
342
|
*/
|
|
342
|
-
MAX_READ_SIZE_EXCEEDED
|
|
343
|
-
PARTIAL_DELETE
|
|
344
|
-
MAX_LIST_SIZE_EXCEEDED
|
|
343
|
+
readonly MAX_READ_SIZE_EXCEEDED: "MAX_READ_SIZE_EXCEEDED";
|
|
344
|
+
readonly PARTIAL_DELETE: "PARTIAL_DELETE";
|
|
345
|
+
readonly MAX_LIST_SIZE_EXCEEDED: "MAX_LIST_SIZE_EXCEEDED";
|
|
345
346
|
/**
|
|
346
347
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
347
348
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
348
349
|
*/
|
|
349
|
-
DRY_RUN_FAILED
|
|
350
|
+
readonly DRY_RUN_FAILED: "DRY_RUN_FAILED";
|
|
350
351
|
/**
|
|
351
352
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
352
353
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
353
354
|
* Cluster request was rejected because it would exceed a resource limit.
|
|
354
355
|
*/
|
|
355
|
-
RESOURCE_LIMIT_EXCEEDED
|
|
356
|
+
readonly RESOURCE_LIMIT_EXCEEDED: "RESOURCE_LIMIT_EXCEEDED";
|
|
356
357
|
/**
|
|
357
358
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
358
359
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
359
360
|
*/
|
|
360
|
-
DIRECTORY_NOT_EMPTY
|
|
361
|
+
readonly DIRECTORY_NOT_EMPTY: "DIRECTORY_NOT_EMPTY";
|
|
361
362
|
/**
|
|
362
363
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
363
364
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
364
365
|
*/
|
|
365
|
-
DIRECTORY_PROTECTED
|
|
366
|
+
readonly DIRECTORY_PROTECTED: "DIRECTORY_PROTECTED";
|
|
366
367
|
/**
|
|
367
368
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
368
369
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
369
370
|
*/
|
|
370
|
-
MAX_NOTEBOOK_SIZE_EXCEEDED
|
|
371
|
-
MAX_CHILD_NODE_SIZE_EXCEEDED
|
|
371
|
+
readonly MAX_NOTEBOOK_SIZE_EXCEEDED: "MAX_NOTEBOOK_SIZE_EXCEEDED";
|
|
372
|
+
readonly MAX_CHILD_NODE_SIZE_EXCEEDED: "MAX_CHILD_NODE_SIZE_EXCEEDED";
|
|
372
373
|
/**
|
|
373
374
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
374
375
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
375
376
|
*/
|
|
376
|
-
SEARCH_QUERY_TOO_LONG
|
|
377
|
+
readonly SEARCH_QUERY_TOO_LONG: "SEARCH_QUERY_TOO_LONG";
|
|
377
378
|
/**
|
|
378
379
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
379
380
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
380
381
|
*/
|
|
381
|
-
SEARCH_QUERY_TOO_SHORT
|
|
382
|
+
readonly SEARCH_QUERY_TOO_SHORT: "SEARCH_QUERY_TOO_SHORT";
|
|
382
383
|
/**
|
|
383
384
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
384
385
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
385
386
|
*/
|
|
386
|
-
MANAGED_RESOURCE_GROUP_DOES_NOT_EXIST
|
|
387
|
+
readonly MANAGED_RESOURCE_GROUP_DOES_NOT_EXIST: "MANAGED_RESOURCE_GROUP_DOES_NOT_EXIST";
|
|
387
388
|
/**
|
|
388
389
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
389
390
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
390
391
|
*/
|
|
391
|
-
PERMISSION_NOT_PROPAGATED
|
|
392
|
+
readonly PERMISSION_NOT_PROPAGATED: "PERMISSION_NOT_PROPAGATED";
|
|
392
393
|
/**
|
|
393
394
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
394
395
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
395
396
|
*/
|
|
396
|
-
DEPLOYMENT_TIMEOUT
|
|
397
|
+
readonly DEPLOYMENT_TIMEOUT: "DEPLOYMENT_TIMEOUT";
|
|
397
398
|
/**
|
|
398
399
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
399
400
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
400
401
|
*/
|
|
401
|
-
GIT_CONFLICT
|
|
402
|
+
readonly GIT_CONFLICT: "GIT_CONFLICT";
|
|
402
403
|
/**
|
|
403
404
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
404
405
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
405
406
|
*/
|
|
406
|
-
GIT_UNKNOWN_REF
|
|
407
|
+
readonly GIT_UNKNOWN_REF: "GIT_UNKNOWN_REF";
|
|
407
408
|
/**
|
|
408
409
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
409
410
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
410
411
|
*/
|
|
411
|
-
GIT_SENSITIVE_TOKEN_DETECTED
|
|
412
|
+
readonly GIT_SENSITIVE_TOKEN_DETECTED: "GIT_SENSITIVE_TOKEN_DETECTED";
|
|
412
413
|
/**
|
|
413
414
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
414
415
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
415
416
|
*/
|
|
416
|
-
GIT_URL_NOT_ON_ALLOW_LIST
|
|
417
|
+
readonly GIT_URL_NOT_ON_ALLOW_LIST: "GIT_URL_NOT_ON_ALLOW_LIST";
|
|
417
418
|
/**
|
|
418
419
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
419
420
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
420
421
|
*/
|
|
421
|
-
GIT_REMOTE_ERROR
|
|
422
|
+
readonly GIT_REMOTE_ERROR: "GIT_REMOTE_ERROR";
|
|
422
423
|
/**
|
|
423
424
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
424
425
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
425
426
|
*/
|
|
426
|
-
PROJECTS_OPERATION_TIMEOUT
|
|
427
|
+
readonly PROJECTS_OPERATION_TIMEOUT: "PROJECTS_OPERATION_TIMEOUT";
|
|
427
428
|
/**
|
|
428
429
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
429
430
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
430
431
|
*/
|
|
431
|
-
IPYNB_FILE_IN_REPO
|
|
432
|
+
readonly IPYNB_FILE_IN_REPO: "IPYNB_FILE_IN_REPO";
|
|
432
433
|
/**
|
|
433
434
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
434
435
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
435
436
|
*/
|
|
436
|
-
INSECURE_PARTNER_RESPONSE
|
|
437
|
+
readonly INSECURE_PARTNER_RESPONSE: "INSECURE_PARTNER_RESPONSE";
|
|
437
438
|
/**
|
|
438
439
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
439
440
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
440
441
|
*/
|
|
441
|
-
MALFORMED_PARTNER_RESPONSE
|
|
442
|
-
METASTORE_DOES_NOT_EXIST
|
|
442
|
+
readonly MALFORMED_PARTNER_RESPONSE: "MALFORMED_PARTNER_RESPONSE";
|
|
443
|
+
readonly METASTORE_DOES_NOT_EXIST: "METASTORE_DOES_NOT_EXIST";
|
|
443
444
|
/**
|
|
444
445
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
445
446
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
446
447
|
*/
|
|
447
|
-
DAC_DOES_NOT_EXIST
|
|
448
|
-
CATALOG_DOES_NOT_EXIST
|
|
449
|
-
SCHEMA_DOES_NOT_EXIST
|
|
450
|
-
TABLE_DOES_NOT_EXIST
|
|
451
|
-
SHARE_DOES_NOT_EXIST
|
|
452
|
-
RECIPIENT_DOES_NOT_EXIST
|
|
453
|
-
STORAGE_CREDENTIAL_DOES_NOT_EXIST
|
|
454
|
-
EXTERNAL_LOCATION_DOES_NOT_EXIST
|
|
455
|
-
PRINCIPAL_DOES_NOT_EXIST
|
|
456
|
-
PROVIDER_DOES_NOT_EXIST
|
|
448
|
+
readonly DAC_DOES_NOT_EXIST: "DAC_DOES_NOT_EXIST";
|
|
449
|
+
readonly CATALOG_DOES_NOT_EXIST: "CATALOG_DOES_NOT_EXIST";
|
|
450
|
+
readonly SCHEMA_DOES_NOT_EXIST: "SCHEMA_DOES_NOT_EXIST";
|
|
451
|
+
readonly TABLE_DOES_NOT_EXIST: "TABLE_DOES_NOT_EXIST";
|
|
452
|
+
readonly SHARE_DOES_NOT_EXIST: "SHARE_DOES_NOT_EXIST";
|
|
453
|
+
readonly RECIPIENT_DOES_NOT_EXIST: "RECIPIENT_DOES_NOT_EXIST";
|
|
454
|
+
readonly STORAGE_CREDENTIAL_DOES_NOT_EXIST: "STORAGE_CREDENTIAL_DOES_NOT_EXIST";
|
|
455
|
+
readonly EXTERNAL_LOCATION_DOES_NOT_EXIST: "EXTERNAL_LOCATION_DOES_NOT_EXIST";
|
|
456
|
+
readonly PRINCIPAL_DOES_NOT_EXIST: "PRINCIPAL_DOES_NOT_EXIST";
|
|
457
|
+
readonly PROVIDER_DOES_NOT_EXIST: "PROVIDER_DOES_NOT_EXIST";
|
|
457
458
|
/**
|
|
458
459
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
459
460
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
460
461
|
*/
|
|
461
|
-
METASTORE_ALREADY_EXISTS
|
|
462
|
+
readonly METASTORE_ALREADY_EXISTS: "METASTORE_ALREADY_EXISTS";
|
|
462
463
|
/**
|
|
463
464
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
464
465
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
465
466
|
*/
|
|
466
|
-
DAC_ALREADY_EXISTS
|
|
467
|
+
readonly DAC_ALREADY_EXISTS: "DAC_ALREADY_EXISTS";
|
|
467
468
|
/**
|
|
468
469
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
469
470
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
470
471
|
*/
|
|
471
|
-
CATALOG_ALREADY_EXISTS
|
|
472
|
+
readonly CATALOG_ALREADY_EXISTS: "CATALOG_ALREADY_EXISTS";
|
|
472
473
|
/**
|
|
473
474
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
474
475
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
475
476
|
*/
|
|
476
|
-
SCHEMA_ALREADY_EXISTS
|
|
477
|
+
readonly SCHEMA_ALREADY_EXISTS: "SCHEMA_ALREADY_EXISTS";
|
|
477
478
|
/**
|
|
478
479
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
479
480
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
480
481
|
*/
|
|
481
|
-
TABLE_ALREADY_EXISTS
|
|
482
|
+
readonly TABLE_ALREADY_EXISTS: "TABLE_ALREADY_EXISTS";
|
|
482
483
|
/**
|
|
483
484
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
484
485
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
485
486
|
*/
|
|
486
|
-
SHARE_ALREADY_EXISTS
|
|
487
|
+
readonly SHARE_ALREADY_EXISTS: "SHARE_ALREADY_EXISTS";
|
|
487
488
|
/**
|
|
488
489
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
489
490
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
490
491
|
*/
|
|
491
|
-
RECIPIENT_ALREADY_EXISTS
|
|
492
|
+
readonly RECIPIENT_ALREADY_EXISTS: "RECIPIENT_ALREADY_EXISTS";
|
|
492
493
|
/**
|
|
493
494
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
494
495
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
495
496
|
*/
|
|
496
|
-
STORAGE_CREDENTIAL_ALREADY_EXISTS
|
|
497
|
+
readonly STORAGE_CREDENTIAL_ALREADY_EXISTS: "STORAGE_CREDENTIAL_ALREADY_EXISTS";
|
|
497
498
|
/**
|
|
498
499
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
499
500
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
500
501
|
*/
|
|
501
|
-
EXTERNAL_LOCATION_ALREADY_EXISTS
|
|
502
|
+
readonly EXTERNAL_LOCATION_ALREADY_EXISTS: "EXTERNAL_LOCATION_ALREADY_EXISTS";
|
|
502
503
|
/**
|
|
503
504
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
504
505
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
505
506
|
*/
|
|
506
|
-
PROVIDER_ALREADY_EXISTS
|
|
507
|
+
readonly PROVIDER_ALREADY_EXISTS: "PROVIDER_ALREADY_EXISTS";
|
|
507
508
|
/**
|
|
508
509
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
509
510
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
510
511
|
*/
|
|
511
|
-
CATALOG_NOT_EMPTY
|
|
512
|
+
readonly CATALOG_NOT_EMPTY: "CATALOG_NOT_EMPTY";
|
|
512
513
|
/**
|
|
513
514
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
514
515
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
515
516
|
*/
|
|
516
|
-
SCHEMA_NOT_EMPTY
|
|
517
|
+
readonly SCHEMA_NOT_EMPTY: "SCHEMA_NOT_EMPTY";
|
|
517
518
|
/**
|
|
518
519
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
519
520
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
520
521
|
*/
|
|
521
|
-
METASTORE_NOT_EMPTY
|
|
522
|
+
readonly METASTORE_NOT_EMPTY: "METASTORE_NOT_EMPTY";
|
|
522
523
|
/**
|
|
523
524
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
524
525
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
525
526
|
*/
|
|
526
|
-
PROVIDER_SHARE_NOT_ACCESSIBLE
|
|
527
|
-
}
|
|
528
|
-
export
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
527
|
+
readonly PROVIDER_SHARE_NOT_ACCESSIBLE: "PROVIDER_SHARE_NOT_ACCESSIBLE";
|
|
528
|
+
};
|
|
529
|
+
export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode] | (string & {});
|
|
530
|
+
export declare const EvaluationStatusType: {
|
|
531
|
+
readonly EVALUATION_STATUS_TYPE_UNSPECIFIED: "EVALUATION_STATUS_TYPE_UNSPECIFIED";
|
|
532
|
+
readonly RUNNING: "RUNNING";
|
|
533
|
+
readonly DONE: "DONE";
|
|
534
|
+
readonly NOT_STARTED: "NOT_STARTED";
|
|
535
|
+
readonly EVALUATION_FAILED: "EVALUATION_FAILED";
|
|
536
|
+
readonly EVALUATION_CANCELLED: "EVALUATION_CANCELLED";
|
|
537
|
+
readonly EVALUATION_TIMEOUT: "EVALUATION_TIMEOUT";
|
|
538
|
+
};
|
|
539
|
+
export type EvaluationStatusType = (typeof EvaluationStatusType)[keyof typeof EvaluationStatusType] | (string & {});
|
|
540
|
+
export declare const Format: {
|
|
541
|
+
readonly FORMAT_UNSPECIFIED: "FORMAT_UNSPECIFIED";
|
|
542
|
+
readonly JSON_ARRAY: "JSON_ARRAY";
|
|
543
|
+
readonly ARROW_STREAM: "ARROW_STREAM";
|
|
544
|
+
readonly CSV: "CSV";
|
|
545
|
+
};
|
|
546
|
+
export type Format = (typeof Format)[keyof typeof Format] | (string & {});
|
|
547
|
+
export declare const GenieEvalAssessment: {
|
|
548
|
+
readonly GENIE_EVAL_ASSESSMENT_UNSPECIFIED: "GENIE_EVAL_ASSESSMENT_UNSPECIFIED";
|
|
549
|
+
readonly GOOD: "GOOD";
|
|
550
|
+
readonly BAD: "BAD";
|
|
551
|
+
readonly NEEDS_REVIEW: "NEEDS_REVIEW";
|
|
552
|
+
};
|
|
553
|
+
export type GenieEvalAssessment = (typeof GenieEvalAssessment)[keyof typeof GenieEvalAssessment] | (string & {});
|
|
554
|
+
export declare const GenieEvalResponseType: {
|
|
555
|
+
readonly GENIE_EVAL_RESPONSE_TYPE_UNSPECIFIED: "GENIE_EVAL_RESPONSE_TYPE_UNSPECIFIED";
|
|
556
|
+
readonly TEXT: "TEXT";
|
|
557
|
+
readonly SQL: "SQL";
|
|
558
|
+
};
|
|
559
|
+
export type GenieEvalResponseType = (typeof GenieEvalResponseType)[keyof typeof GenieEvalResponseType] | (string & {});
|
|
554
560
|
/** Feedback rating for Genie messages */
|
|
555
|
-
export declare
|
|
556
|
-
GENIE_FEEDBACK_RATING_UNSPECIFIED
|
|
557
|
-
POSITIVE
|
|
558
|
-
NEGATIVE
|
|
559
|
-
NONE
|
|
560
|
-
}
|
|
561
|
+
export declare const GenieFeedbackRating: {
|
|
562
|
+
readonly GENIE_FEEDBACK_RATING_UNSPECIFIED: "GENIE_FEEDBACK_RATING_UNSPECIFIED";
|
|
563
|
+
readonly POSITIVE: "POSITIVE";
|
|
564
|
+
readonly NEGATIVE: "NEGATIVE";
|
|
565
|
+
readonly NONE: "NONE";
|
|
566
|
+
};
|
|
567
|
+
export type GenieFeedbackRating = (typeof GenieFeedbackRating)[keyof typeof GenieFeedbackRating] | (string & {});
|
|
561
568
|
/**
|
|
562
569
|
* copied from proto3 / Google Well Known Types, source:
|
|
563
570
|
* https://github.com/protocolbuffers/protobuf/blob/450d24ca820750c5db5112a6f0b0c2efb9758021/src/google/protobuf/struct.proto
|
|
@@ -566,45 +573,48 @@ export declare enum GenieFeedbackRating {
|
|
|
566
573
|
*
|
|
567
574
|
* The JSON representation for `NullValue` is JSON `null`.
|
|
568
575
|
*/
|
|
569
|
-
export declare
|
|
576
|
+
export declare const NullValue: {
|
|
570
577
|
/** Null value. */
|
|
571
|
-
NULL_VALUE
|
|
572
|
-
}
|
|
573
|
-
export
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
578
|
+
readonly NULL_VALUE: "NULL_VALUE";
|
|
579
|
+
};
|
|
580
|
+
export type NullValue = (typeof NullValue)[keyof typeof NullValue] | (string & {});
|
|
581
|
+
export declare const ScoreReason: {
|
|
582
|
+
readonly SCORE_REASON_UNSPECIFIED: "SCORE_REASON_UNSPECIFIED";
|
|
583
|
+
readonly EMPTY_RESULT: "EMPTY_RESULT";
|
|
584
|
+
readonly RESULT_MISSING_ROWS: "RESULT_MISSING_ROWS";
|
|
585
|
+
readonly RESULT_EXTRA_ROWS: "RESULT_EXTRA_ROWS";
|
|
586
|
+
readonly RESULT_MISSING_COLUMNS: "RESULT_MISSING_COLUMNS";
|
|
587
|
+
readonly RESULT_EXTRA_COLUMNS: "RESULT_EXTRA_COLUMNS";
|
|
588
|
+
readonly SINGLE_CELL_DIFFERENCE: "SINGLE_CELL_DIFFERENCE";
|
|
589
|
+
readonly EMPTY_GOOD_SQL: "EMPTY_GOOD_SQL";
|
|
590
|
+
readonly COLUMN_TYPE_DIFFERENCE: "COLUMN_TYPE_DIFFERENCE";
|
|
583
591
|
/** Deprecated LLM Judge error categories - kept for backward compatibility */
|
|
584
|
-
LLM_JUDGE_MISSING_JOIN
|
|
585
|
-
LLM_JUDGE_WRONG_FILTER
|
|
586
|
-
LLM_JUDGE_WRONG_AGGREGATION
|
|
587
|
-
LLM_JUDGE_WRONG_COLUMNS
|
|
588
|
-
LLM_JUDGE_SYNTAX_ERROR
|
|
589
|
-
LLM_JUDGE_SEMANTIC_ERROR
|
|
592
|
+
readonly LLM_JUDGE_MISSING_JOIN: "LLM_JUDGE_MISSING_JOIN";
|
|
593
|
+
readonly LLM_JUDGE_WRONG_FILTER: "LLM_JUDGE_WRONG_FILTER";
|
|
594
|
+
readonly LLM_JUDGE_WRONG_AGGREGATION: "LLM_JUDGE_WRONG_AGGREGATION";
|
|
595
|
+
readonly LLM_JUDGE_WRONG_COLUMNS: "LLM_JUDGE_WRONG_COLUMNS";
|
|
596
|
+
readonly LLM_JUDGE_SYNTAX_ERROR: "LLM_JUDGE_SYNTAX_ERROR";
|
|
597
|
+
readonly LLM_JUDGE_SEMANTIC_ERROR: "LLM_JUDGE_SEMANTIC_ERROR";
|
|
590
598
|
/** New LLM Judge error categories - aligned with LlmJudgeFunctionSpec */
|
|
591
|
-
LLM_JUDGE_OTHER
|
|
592
|
-
LLM_JUDGE_MISSING_OR_INCORRECT_FILTER
|
|
593
|
-
LLM_JUDGE_INCOMPLETE_OR_PARTIAL_OUTPUT
|
|
594
|
-
LLM_JUDGE_MISINTERPRETATION_OF_USER_REQUEST
|
|
595
|
-
LLM_JUDGE_INSTRUCTION_COMPLIANCE_OR_MISSING_BUSINESS_LOGIC
|
|
596
|
-
LLM_JUDGE_INCORRECT_METRIC_CALCULATION
|
|
597
|
-
LLM_JUDGE_INCORRECT_TABLE_OR_FIELD_USAGE
|
|
598
|
-
LLM_JUDGE_INCORRECT_FUNCTION_USAGE
|
|
599
|
-
LLM_JUDGE_MISSING_OR_INCORRECT_JOIN
|
|
600
|
-
LLM_JUDGE_MISSING_OR_INCORRECT_AGGREGATION
|
|
601
|
-
LLM_JUDGE_FORMATTING_ERROR
|
|
602
|
-
}
|
|
599
|
+
readonly LLM_JUDGE_OTHER: "LLM_JUDGE_OTHER";
|
|
600
|
+
readonly LLM_JUDGE_MISSING_OR_INCORRECT_FILTER: "LLM_JUDGE_MISSING_OR_INCORRECT_FILTER";
|
|
601
|
+
readonly LLM_JUDGE_INCOMPLETE_OR_PARTIAL_OUTPUT: "LLM_JUDGE_INCOMPLETE_OR_PARTIAL_OUTPUT";
|
|
602
|
+
readonly LLM_JUDGE_MISINTERPRETATION_OF_USER_REQUEST: "LLM_JUDGE_MISINTERPRETATION_OF_USER_REQUEST";
|
|
603
|
+
readonly LLM_JUDGE_INSTRUCTION_COMPLIANCE_OR_MISSING_BUSINESS_LOGIC: "LLM_JUDGE_INSTRUCTION_COMPLIANCE_OR_MISSING_BUSINESS_LOGIC";
|
|
604
|
+
readonly LLM_JUDGE_INCORRECT_METRIC_CALCULATION: "LLM_JUDGE_INCORRECT_METRIC_CALCULATION";
|
|
605
|
+
readonly LLM_JUDGE_INCORRECT_TABLE_OR_FIELD_USAGE: "LLM_JUDGE_INCORRECT_TABLE_OR_FIELD_USAGE";
|
|
606
|
+
readonly LLM_JUDGE_INCORRECT_FUNCTION_USAGE: "LLM_JUDGE_INCORRECT_FUNCTION_USAGE";
|
|
607
|
+
readonly LLM_JUDGE_MISSING_OR_INCORRECT_JOIN: "LLM_JUDGE_MISSING_OR_INCORRECT_JOIN";
|
|
608
|
+
readonly LLM_JUDGE_MISSING_OR_INCORRECT_AGGREGATION: "LLM_JUDGE_MISSING_OR_INCORRECT_AGGREGATION";
|
|
609
|
+
readonly LLM_JUDGE_FORMATTING_ERROR: "LLM_JUDGE_FORMATTING_ERROR";
|
|
610
|
+
};
|
|
611
|
+
export type ScoreReason = (typeof ScoreReason)[keyof typeof ScoreReason] | (string & {});
|
|
603
612
|
/** Purpose/intent of a text attachment */
|
|
604
|
-
export declare
|
|
605
|
-
TEXT_ATTACHMENT_PURPOSE_UNSPECIFIED
|
|
606
|
-
FOLLOW_UP_QUESTION
|
|
607
|
-
}
|
|
613
|
+
export declare const TextAttachmentPurpose: {
|
|
614
|
+
readonly TEXT_ATTACHMENT_PURPOSE_UNSPECIFIED: "TEXT_ATTACHMENT_PURPOSE_UNSPECIFIED";
|
|
615
|
+
readonly FOLLOW_UP_QUESTION: "FOLLOW_UP_QUESTION";
|
|
616
|
+
};
|
|
617
|
+
export type TextAttachmentPurpose = (typeof TextAttachmentPurpose)[keyof typeof TextAttachmentPurpose] | (string & {});
|
|
608
618
|
/**
|
|
609
619
|
* ThoughtType.
|
|
610
620
|
* The possible values are:
|
|
@@ -617,85 +627,87 @@ export declare enum TextAttachmentPurpose {
|
|
|
617
627
|
* The category of a Thought.
|
|
618
628
|
* Additional values may be added in the future.
|
|
619
629
|
*/
|
|
620
|
-
export declare
|
|
621
|
-
THOUGHT_TYPE_UNSPECIFIED
|
|
630
|
+
export declare const ThoughtType: {
|
|
631
|
+
readonly THOUGHT_TYPE_UNSPECIFIED: "THOUGHT_TYPE_UNSPECIFIED";
|
|
622
632
|
/** A high-level description of how the question was interpreted. */
|
|
623
|
-
THOUGHT_TYPE_DESCRIPTION
|
|
633
|
+
readonly THOUGHT_TYPE_DESCRIPTION: "THOUGHT_TYPE_DESCRIPTION";
|
|
624
634
|
/** How ambiguous parts of the question were resolved. */
|
|
625
|
-
THOUGHT_TYPE_UNDERSTANDING
|
|
635
|
+
readonly THOUGHT_TYPE_UNDERSTANDING: "THOUGHT_TYPE_UNDERSTANDING";
|
|
626
636
|
/** Which tables or datasets were identified as relevant. */
|
|
627
|
-
THOUGHT_TYPE_DATA_SOURCING
|
|
637
|
+
readonly THOUGHT_TYPE_DATA_SOURCING: "THOUGHT_TYPE_DATA_SOURCING";
|
|
628
638
|
/** Which author-defined instructions were referenced. */
|
|
629
|
-
THOUGHT_TYPE_INSTRUCTIONS
|
|
639
|
+
readonly THOUGHT_TYPE_INSTRUCTIONS: "THOUGHT_TYPE_INSTRUCTIONS";
|
|
630
640
|
/** The logical steps taken to compute the answer. */
|
|
631
|
-
THOUGHT_TYPE_STEPS
|
|
632
|
-
}
|
|
633
|
-
export
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
641
|
+
readonly THOUGHT_TYPE_STEPS: "THOUGHT_TYPE_STEPS";
|
|
642
|
+
};
|
|
643
|
+
export type ThoughtType = (typeof ThoughtType)[keyof typeof ThoughtType] | (string & {});
|
|
644
|
+
export declare const MessageError_Type: {
|
|
645
|
+
readonly TYPE_UNSPECIFIED: "TYPE_UNSPECIFIED";
|
|
646
|
+
readonly UNEXPECTED_REPLY_PROCESS_EXCEPTION: "UNEXPECTED_REPLY_PROCESS_EXCEPTION";
|
|
647
|
+
readonly GENERIC_CHAT_COMPLETION_EXCEPTION: "GENERIC_CHAT_COMPLETION_EXCEPTION";
|
|
637
648
|
/** TokenCounter estimates were off and OpenAi responds with an error due to the token limit. */
|
|
638
|
-
CONTEXT_EXCEEDED_EXCEPTION
|
|
639
|
-
DEPLOYMENT_NOT_FOUND_EXCEPTION
|
|
640
|
-
FUNCTIONS_NOT_AVAILABLE_EXCEPTION
|
|
641
|
-
INVALID_COMPLETION_REQUEST_EXCEPTION
|
|
642
|
-
CONTENT_FILTER_EXCEPTION
|
|
643
|
-
FUNCTION_ARGUMENTS_INVALID_JSON_EXCEPTION
|
|
644
|
-
RETRYABLE_PROCESSING_EXCEPTION
|
|
645
|
-
INVALID_FUNCTION_CALL_EXCEPTION
|
|
649
|
+
readonly CONTEXT_EXCEEDED_EXCEPTION: "CONTEXT_EXCEEDED_EXCEPTION";
|
|
650
|
+
readonly DEPLOYMENT_NOT_FOUND_EXCEPTION: "DEPLOYMENT_NOT_FOUND_EXCEPTION";
|
|
651
|
+
readonly FUNCTIONS_NOT_AVAILABLE_EXCEPTION: "FUNCTIONS_NOT_AVAILABLE_EXCEPTION";
|
|
652
|
+
readonly INVALID_COMPLETION_REQUEST_EXCEPTION: "INVALID_COMPLETION_REQUEST_EXCEPTION";
|
|
653
|
+
readonly CONTENT_FILTER_EXCEPTION: "CONTENT_FILTER_EXCEPTION";
|
|
654
|
+
readonly FUNCTION_ARGUMENTS_INVALID_JSON_EXCEPTION: "FUNCTION_ARGUMENTS_INVALID_JSON_EXCEPTION";
|
|
655
|
+
readonly RETRYABLE_PROCESSING_EXCEPTION: "RETRYABLE_PROCESSING_EXCEPTION";
|
|
656
|
+
readonly INVALID_FUNCTION_CALL_EXCEPTION: "INVALID_FUNCTION_CALL_EXCEPTION";
|
|
646
657
|
/** Request can not fit into model or the configured limits and TokenCounter registers token limit exceeded. */
|
|
647
|
-
LOCAL_CONTEXT_EXCEEDED_EXCEPTION
|
|
648
|
-
CHAT_COMPLETION_NETWORK_EXCEPTION
|
|
649
|
-
INVALID_CHAT_COMPLETION_JSON_EXCEPTION
|
|
650
|
-
GENERIC_CHAT_COMPLETION_SERVICE_EXCEPTION
|
|
651
|
-
WAREHOUSE_ACCESS_MISSING_EXCEPTION
|
|
652
|
-
WAREHOUSE_NOT_FOUND_EXCEPTION
|
|
653
|
-
NO_TABLES_TO_QUERY_EXCEPTION
|
|
654
|
-
SQL_EXECUTION_EXCEPTION
|
|
655
|
-
REPLY_PROCESS_TIMEOUT_EXCEPTION
|
|
656
|
-
COULD_NOT_GET_UC_SCHEMA_EXCEPTION
|
|
657
|
-
INVALID_TABLE_IDENTIFIER_EXCEPTION
|
|
658
|
-
TOO_MANY_TABLES_EXCEPTION
|
|
659
|
-
FUNCTION_ARGUMENTS_INVALID_EXCEPTION
|
|
660
|
-
GENERIC_SQL_EXEC_API_CALL_EXCEPTION
|
|
661
|
-
CHAT_COMPLETION_CLIENT_EXCEPTION
|
|
662
|
-
CHAT_COMPLETION_CLIENT_TIMEOUT_EXCEPTION
|
|
663
|
-
UNKNOWN_AI_MODEL
|
|
664
|
-
TABLES_MISSING_EXCEPTION
|
|
665
|
-
MESSAGE_DELETED_WHILE_EXECUTING_EXCEPTION
|
|
666
|
-
MESSAGE_UPDATED_WHILE_EXECUTING_EXCEPTION
|
|
667
|
-
BLOCK_MULTIPLE_EXECUTIONS_EXCEPTION
|
|
668
|
-
INVALID_CERTIFIED_ANSWER_IDENTIFIER_EXCEPTION
|
|
669
|
-
TOO_MANY_CERTIFIED_ANSWERS_EXCEPTION
|
|
670
|
-
RATE_LIMIT_EXCEEDED_GENERIC_EXCEPTION
|
|
671
|
-
RATE_LIMIT_EXCEEDED_SPECIFIED_WAIT_EXCEPTION
|
|
672
|
-
FUNCTION_CALL_MISSING_PARAMETER_EXCEPTION
|
|
673
|
-
INVALID_CERTIFIED_ANSWER_FUNCTION_EXCEPTION
|
|
674
|
-
ILLEGAL_PARAMETER_DEFINITION_EXCEPTION
|
|
675
|
-
NO_QUERY_TO_VISUALIZE_EXCEPTION
|
|
676
|
-
NO_DEPLOYMENTS_AVAILABLE_TO_WORKSPACE
|
|
677
|
-
STOP_PROCESS_DUE_TO_AUTO_REGENERATE
|
|
678
|
-
FUNCTION_ARGUMENTS_INVALID_TYPE_EXCEPTION
|
|
679
|
-
MESSAGE_CANCELLED_WHILE_EXECUTING_EXCEPTION
|
|
680
|
-
COULD_NOT_GET_MODEL_DEPLOYMENTS_EXCEPTION
|
|
681
|
-
GENERATED_SQL_QUERY_TOO_LONG_EXCEPTION
|
|
682
|
-
MISSING_SQL_QUERY_EXCEPTION
|
|
683
|
-
DESCRIBE_QUERY_UNEXPECTED_FAILURE
|
|
684
|
-
DESCRIBE_QUERY_TIMEOUT
|
|
685
|
-
DESCRIBE_QUERY_INVALID_SQL_ERROR
|
|
686
|
-
INVALID_SQL_UNKNOWN_TABLE_EXCEPTION
|
|
687
|
-
INVALID_SQL_MULTIPLE_STATEMENTS_EXCEPTION
|
|
688
|
-
INVALID_SQL_MULTIPLE_DATASET_REFERENCES_EXCEPTION
|
|
689
|
-
MESSAGE_ATTACHMENT_TOO_LONG_ERROR
|
|
690
|
-
INTERNAL_CATALOG_PATH_OVERLAP_EXCEPTION
|
|
691
|
-
INTERNAL_CATALOG_MISSING_UC_PATH_EXCEPTION
|
|
692
|
-
EXCEEDED_MAX_TOKEN_LENGTH_EXCEPTION
|
|
693
|
-
INTERNAL_CATALOG_ASSET_CREATION_ONGOING_EXCEPTION
|
|
694
|
-
INTERNAL_CATALOG_ASSET_CREATION_FAILED_EXCEPTION
|
|
695
|
-
INTERNAL_CATALOG_ASSET_CREATION_UNSUPPORTED_EXCEPTION
|
|
696
|
-
UNSUPPORTED_CONVERSATION_TYPE_EXCEPTION
|
|
697
|
-
COULD_NOT_GET_DASHBOARD_SCHEMA_EXCEPTION
|
|
698
|
-
}
|
|
658
|
+
readonly LOCAL_CONTEXT_EXCEEDED_EXCEPTION: "LOCAL_CONTEXT_EXCEEDED_EXCEPTION";
|
|
659
|
+
readonly CHAT_COMPLETION_NETWORK_EXCEPTION: "CHAT_COMPLETION_NETWORK_EXCEPTION";
|
|
660
|
+
readonly INVALID_CHAT_COMPLETION_JSON_EXCEPTION: "INVALID_CHAT_COMPLETION_JSON_EXCEPTION";
|
|
661
|
+
readonly GENERIC_CHAT_COMPLETION_SERVICE_EXCEPTION: "GENERIC_CHAT_COMPLETION_SERVICE_EXCEPTION";
|
|
662
|
+
readonly WAREHOUSE_ACCESS_MISSING_EXCEPTION: "WAREHOUSE_ACCESS_MISSING_EXCEPTION";
|
|
663
|
+
readonly WAREHOUSE_NOT_FOUND_EXCEPTION: "WAREHOUSE_NOT_FOUND_EXCEPTION";
|
|
664
|
+
readonly NO_TABLES_TO_QUERY_EXCEPTION: "NO_TABLES_TO_QUERY_EXCEPTION";
|
|
665
|
+
readonly SQL_EXECUTION_EXCEPTION: "SQL_EXECUTION_EXCEPTION";
|
|
666
|
+
readonly REPLY_PROCESS_TIMEOUT_EXCEPTION: "REPLY_PROCESS_TIMEOUT_EXCEPTION";
|
|
667
|
+
readonly COULD_NOT_GET_UC_SCHEMA_EXCEPTION: "COULD_NOT_GET_UC_SCHEMA_EXCEPTION";
|
|
668
|
+
readonly INVALID_TABLE_IDENTIFIER_EXCEPTION: "INVALID_TABLE_IDENTIFIER_EXCEPTION";
|
|
669
|
+
readonly TOO_MANY_TABLES_EXCEPTION: "TOO_MANY_TABLES_EXCEPTION";
|
|
670
|
+
readonly FUNCTION_ARGUMENTS_INVALID_EXCEPTION: "FUNCTION_ARGUMENTS_INVALID_EXCEPTION";
|
|
671
|
+
readonly GENERIC_SQL_EXEC_API_CALL_EXCEPTION: "GENERIC_SQL_EXEC_API_CALL_EXCEPTION";
|
|
672
|
+
readonly CHAT_COMPLETION_CLIENT_EXCEPTION: "CHAT_COMPLETION_CLIENT_EXCEPTION";
|
|
673
|
+
readonly CHAT_COMPLETION_CLIENT_TIMEOUT_EXCEPTION: "CHAT_COMPLETION_CLIENT_TIMEOUT_EXCEPTION";
|
|
674
|
+
readonly UNKNOWN_AI_MODEL: "UNKNOWN_AI_MODEL";
|
|
675
|
+
readonly TABLES_MISSING_EXCEPTION: "TABLES_MISSING_EXCEPTION";
|
|
676
|
+
readonly MESSAGE_DELETED_WHILE_EXECUTING_EXCEPTION: "MESSAGE_DELETED_WHILE_EXECUTING_EXCEPTION";
|
|
677
|
+
readonly MESSAGE_UPDATED_WHILE_EXECUTING_EXCEPTION: "MESSAGE_UPDATED_WHILE_EXECUTING_EXCEPTION";
|
|
678
|
+
readonly BLOCK_MULTIPLE_EXECUTIONS_EXCEPTION: "BLOCK_MULTIPLE_EXECUTIONS_EXCEPTION";
|
|
679
|
+
readonly INVALID_CERTIFIED_ANSWER_IDENTIFIER_EXCEPTION: "INVALID_CERTIFIED_ANSWER_IDENTIFIER_EXCEPTION";
|
|
680
|
+
readonly TOO_MANY_CERTIFIED_ANSWERS_EXCEPTION: "TOO_MANY_CERTIFIED_ANSWERS_EXCEPTION";
|
|
681
|
+
readonly RATE_LIMIT_EXCEEDED_GENERIC_EXCEPTION: "RATE_LIMIT_EXCEEDED_GENERIC_EXCEPTION";
|
|
682
|
+
readonly RATE_LIMIT_EXCEEDED_SPECIFIED_WAIT_EXCEPTION: "RATE_LIMIT_EXCEEDED_SPECIFIED_WAIT_EXCEPTION";
|
|
683
|
+
readonly FUNCTION_CALL_MISSING_PARAMETER_EXCEPTION: "FUNCTION_CALL_MISSING_PARAMETER_EXCEPTION";
|
|
684
|
+
readonly INVALID_CERTIFIED_ANSWER_FUNCTION_EXCEPTION: "INVALID_CERTIFIED_ANSWER_FUNCTION_EXCEPTION";
|
|
685
|
+
readonly ILLEGAL_PARAMETER_DEFINITION_EXCEPTION: "ILLEGAL_PARAMETER_DEFINITION_EXCEPTION";
|
|
686
|
+
readonly NO_QUERY_TO_VISUALIZE_EXCEPTION: "NO_QUERY_TO_VISUALIZE_EXCEPTION";
|
|
687
|
+
readonly NO_DEPLOYMENTS_AVAILABLE_TO_WORKSPACE: "NO_DEPLOYMENTS_AVAILABLE_TO_WORKSPACE";
|
|
688
|
+
readonly STOP_PROCESS_DUE_TO_AUTO_REGENERATE: "STOP_PROCESS_DUE_TO_AUTO_REGENERATE";
|
|
689
|
+
readonly FUNCTION_ARGUMENTS_INVALID_TYPE_EXCEPTION: "FUNCTION_ARGUMENTS_INVALID_TYPE_EXCEPTION";
|
|
690
|
+
readonly MESSAGE_CANCELLED_WHILE_EXECUTING_EXCEPTION: "MESSAGE_CANCELLED_WHILE_EXECUTING_EXCEPTION";
|
|
691
|
+
readonly COULD_NOT_GET_MODEL_DEPLOYMENTS_EXCEPTION: "COULD_NOT_GET_MODEL_DEPLOYMENTS_EXCEPTION";
|
|
692
|
+
readonly GENERATED_SQL_QUERY_TOO_LONG_EXCEPTION: "GENERATED_SQL_QUERY_TOO_LONG_EXCEPTION";
|
|
693
|
+
readonly MISSING_SQL_QUERY_EXCEPTION: "MISSING_SQL_QUERY_EXCEPTION";
|
|
694
|
+
readonly DESCRIBE_QUERY_UNEXPECTED_FAILURE: "DESCRIBE_QUERY_UNEXPECTED_FAILURE";
|
|
695
|
+
readonly DESCRIBE_QUERY_TIMEOUT: "DESCRIBE_QUERY_TIMEOUT";
|
|
696
|
+
readonly DESCRIBE_QUERY_INVALID_SQL_ERROR: "DESCRIBE_QUERY_INVALID_SQL_ERROR";
|
|
697
|
+
readonly INVALID_SQL_UNKNOWN_TABLE_EXCEPTION: "INVALID_SQL_UNKNOWN_TABLE_EXCEPTION";
|
|
698
|
+
readonly INVALID_SQL_MULTIPLE_STATEMENTS_EXCEPTION: "INVALID_SQL_MULTIPLE_STATEMENTS_EXCEPTION";
|
|
699
|
+
readonly INVALID_SQL_MULTIPLE_DATASET_REFERENCES_EXCEPTION: "INVALID_SQL_MULTIPLE_DATASET_REFERENCES_EXCEPTION";
|
|
700
|
+
readonly MESSAGE_ATTACHMENT_TOO_LONG_ERROR: "MESSAGE_ATTACHMENT_TOO_LONG_ERROR";
|
|
701
|
+
readonly INTERNAL_CATALOG_PATH_OVERLAP_EXCEPTION: "INTERNAL_CATALOG_PATH_OVERLAP_EXCEPTION";
|
|
702
|
+
readonly INTERNAL_CATALOG_MISSING_UC_PATH_EXCEPTION: "INTERNAL_CATALOG_MISSING_UC_PATH_EXCEPTION";
|
|
703
|
+
readonly EXCEEDED_MAX_TOKEN_LENGTH_EXCEPTION: "EXCEEDED_MAX_TOKEN_LENGTH_EXCEPTION";
|
|
704
|
+
readonly INTERNAL_CATALOG_ASSET_CREATION_ONGOING_EXCEPTION: "INTERNAL_CATALOG_ASSET_CREATION_ONGOING_EXCEPTION";
|
|
705
|
+
readonly INTERNAL_CATALOG_ASSET_CREATION_FAILED_EXCEPTION: "INTERNAL_CATALOG_ASSET_CREATION_FAILED_EXCEPTION";
|
|
706
|
+
readonly INTERNAL_CATALOG_ASSET_CREATION_UNSUPPORTED_EXCEPTION: "INTERNAL_CATALOG_ASSET_CREATION_UNSUPPORTED_EXCEPTION";
|
|
707
|
+
readonly UNSUPPORTED_CONVERSATION_TYPE_EXCEPTION: "UNSUPPORTED_CONVERSATION_TYPE_EXCEPTION";
|
|
708
|
+
readonly COULD_NOT_GET_DASHBOARD_SCHEMA_EXCEPTION: "COULD_NOT_GET_DASHBOARD_SCHEMA_EXCEPTION";
|
|
709
|
+
};
|
|
710
|
+
export type MessageError_Type = (typeof MessageError_Type)[keyof typeof MessageError_Type] | (string & {});
|
|
699
711
|
/**
|
|
700
712
|
* MessageStatus.
|
|
701
713
|
* The possible values are:
|
|
@@ -710,27 +722,29 @@ export declare enum MessageError_Type {
|
|
|
710
722
|
* * `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.
|
|
711
723
|
* * `CANCELLED`: Message has been cancelled.
|
|
712
724
|
*/
|
|
713
|
-
export declare
|
|
714
|
-
FETCHING_METADATA
|
|
715
|
-
FILTERING_CONTEXT
|
|
716
|
-
ASKING_AI
|
|
717
|
-
PENDING_WAREHOUSE
|
|
718
|
-
EXECUTING_QUERY
|
|
719
|
-
FAILED
|
|
720
|
-
COMPLETED
|
|
721
|
-
SUBMITTED
|
|
722
|
-
QUERY_RESULT_EXPIRED
|
|
723
|
-
CANCELLED
|
|
724
|
-
}
|
|
725
|
-
export
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
725
|
+
export declare const MessageStatus_MessageStatus: {
|
|
726
|
+
readonly FETCHING_METADATA: "FETCHING_METADATA";
|
|
727
|
+
readonly FILTERING_CONTEXT: "FILTERING_CONTEXT";
|
|
728
|
+
readonly ASKING_AI: "ASKING_AI";
|
|
729
|
+
readonly PENDING_WAREHOUSE: "PENDING_WAREHOUSE";
|
|
730
|
+
readonly EXECUTING_QUERY: "EXECUTING_QUERY";
|
|
731
|
+
readonly FAILED: "FAILED";
|
|
732
|
+
readonly COMPLETED: "COMPLETED";
|
|
733
|
+
readonly SUBMITTED: "SUBMITTED";
|
|
734
|
+
readonly QUERY_RESULT_EXPIRED: "QUERY_RESULT_EXPIRED";
|
|
735
|
+
readonly CANCELLED: "CANCELLED";
|
|
736
|
+
};
|
|
737
|
+
export type MessageStatus_MessageStatus = (typeof MessageStatus_MessageStatus)[keyof typeof MessageStatus_MessageStatus] | (string & {});
|
|
738
|
+
export declare const StatementStatus_State: {
|
|
739
|
+
readonly STATE_UNSPECIFIED: "STATE_UNSPECIFIED";
|
|
740
|
+
readonly PENDING: "PENDING";
|
|
741
|
+
readonly RUNNING: "RUNNING";
|
|
742
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
743
|
+
readonly FAILED: "FAILED";
|
|
744
|
+
readonly CANCELED: "CANCELED";
|
|
745
|
+
readonly CLOSED: "CLOSED";
|
|
746
|
+
};
|
|
747
|
+
export type StatementStatus_State = (typeof StatementStatus_State)[keyof typeof StatementStatus_State] | (string & {});
|
|
734
748
|
export interface ChunkInfo {
|
|
735
749
|
/** The position within the sequence of result set chunks. */
|
|
736
750
|
chunkIndex?: number | undefined;
|