@databricks/sdk-genie 0.1.0-dev.4 → 0.1.0-dev.6
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/README.md +28 -0
- package/dist/v1/client.d.ts +3 -3
- package/dist/v1/client.d.ts.map +1 -1
- package/dist/v1/client.js +151 -125
- package/dist/v1/client.js.map +1 -1
- package/dist/v1/index.d.ts +1 -1
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/model.d.ts +283 -273
- 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/transport.d.ts +30 -2
- package/dist/v1/transport.d.ts.map +1 -1
- package/dist/v1/transport.js +33 -16
- package/dist/v1/transport.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 +9 -5
- 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.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
// Code generated from API definition by Databricks SDK Generator. DO NOT EDIT.
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
3
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
|
|
4
|
+
export const ColumnTypeName = {
|
|
5
|
+
BOOLEAN: 'BOOLEAN',
|
|
6
|
+
BYTE: 'BYTE',
|
|
7
|
+
SHORT: 'SHORT',
|
|
8
|
+
INT: 'INT',
|
|
9
|
+
LONG: 'LONG',
|
|
10
|
+
FLOAT: 'FLOAT',
|
|
11
|
+
DOUBLE: 'DOUBLE',
|
|
12
|
+
DATE: 'DATE',
|
|
13
|
+
TIMESTAMP: 'TIMESTAMP',
|
|
14
|
+
STRING: 'STRING',
|
|
15
|
+
BINARY: 'BINARY',
|
|
16
|
+
DECIMAL: 'DECIMAL',
|
|
17
|
+
INTERVAL: 'INTERVAL',
|
|
18
|
+
ARRAY: 'ARRAY',
|
|
19
|
+
STRUCT: 'STRUCT',
|
|
20
|
+
MAP: 'MAP',
|
|
21
|
+
CHAR: 'CHAR',
|
|
22
|
+
NULL: 'NULL',
|
|
23
|
+
USER_DEFINED_TYPE: 'USER_DEFINED_TYPE',
|
|
24
|
+
TIMESTAMP_NTZ: 'TIMESTAMP_NTZ',
|
|
25
|
+
VARIANT: 'VARIANT',
|
|
26
|
+
GEOMETRY: 'GEOMETRY',
|
|
27
|
+
GEOGRAPHY: 'GEOGRAPHY',
|
|
28
|
+
TABLE_TYPE: 'TABLE_TYPE',
|
|
29
|
+
};
|
|
30
30
|
/** Error codes returned by Databricks APIs to indicate specific failure conditions. */
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
|
|
32
|
+
export const ErrorCode = {
|
|
33
33
|
/**
|
|
34
34
|
* Unknown error. This error generally should not be returned explicitly, but will be used
|
|
35
35
|
* as a fallback if the error enum is missing from the message for some reason.
|
|
@@ -42,7 +42,7 @@ export var ErrorCode;
|
|
|
42
42
|
* - google.rpc.Code: UNKNOWN = 2;
|
|
43
43
|
* - HTTP code: 500 Internal Server Error
|
|
44
44
|
*/
|
|
45
|
-
|
|
45
|
+
UNKNOWN: 'UNKNOWN',
|
|
46
46
|
/**
|
|
47
47
|
* Internal error. This means that some invariants expected by the underlying system have been
|
|
48
48
|
* broken. This error code is reserved for serious errors, which generally cannot be resolved
|
|
@@ -55,7 +55,7 @@ export var ErrorCode;
|
|
|
55
55
|
* - google.rpc.Code: INTERNAL = 13;
|
|
56
56
|
* - HTTP code: 500 Internal Server Error
|
|
57
57
|
*/
|
|
58
|
-
|
|
58
|
+
INTERNAL_ERROR: 'INTERNAL_ERROR',
|
|
59
59
|
/**
|
|
60
60
|
* The service is currently unavailable. This is most likely a transient condition, which can be
|
|
61
61
|
* corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent
|
|
@@ -70,13 +70,13 @@ export var ErrorCode;
|
|
|
70
70
|
* - google.rpc.Code: UNAVAILABLE = 14;
|
|
71
71
|
* - HTTP code: 503 Service Unavailable
|
|
72
72
|
*/
|
|
73
|
-
|
|
73
|
+
TEMPORARILY_UNAVAILABLE: 'TEMPORARILY_UNAVAILABLE',
|
|
74
74
|
/**
|
|
75
75
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
76
76
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
77
77
|
* Indicates that an IOException has been internally thrown.
|
|
78
78
|
*/
|
|
79
|
-
|
|
79
|
+
IO_ERROR: 'IO_ERROR',
|
|
80
80
|
/**
|
|
81
81
|
* The request is invalid. Prefer more specific error code whenever possible.
|
|
82
82
|
* Also see similar recommendation for the google.rpc.Code.FAILED_PRECONDITION.
|
|
@@ -87,14 +87,14 @@ export var ErrorCode;
|
|
|
87
87
|
* - google.rpc.Code: FAILED_PRECONDITION = 9;
|
|
88
88
|
* - HTTP code: 400 Bad Request
|
|
89
89
|
*/
|
|
90
|
-
|
|
90
|
+
BAD_REQUEST: 'BAD_REQUEST',
|
|
91
91
|
/**
|
|
92
92
|
* An external service is unavailable temporarily as it is being updated/re-deployed. Indicates
|
|
93
93
|
* gateway proxy to safely retry the request.
|
|
94
94
|
*/
|
|
95
|
-
|
|
95
|
+
SERVICE_UNDER_MAINTENANCE: 'SERVICE_UNDER_MAINTENANCE',
|
|
96
96
|
/** A workspace is temporarily unavailable as the workspace is being re-assigned. */
|
|
97
|
-
|
|
97
|
+
WORKSPACE_TEMPORARILY_UNAVAILABLE: 'WORKSPACE_TEMPORARILY_UNAVAILABLE',
|
|
98
98
|
/**
|
|
99
99
|
* The deadline expired before the operation could complete. For operations that change the state
|
|
100
100
|
* of the system, this error may be returned even if the operation has completed successfully.
|
|
@@ -107,7 +107,7 @@ export var ErrorCode;
|
|
|
107
107
|
* - google.rpc.Code: DEADLINE_EXCEEDED = 4;
|
|
108
108
|
* - HTTP code: 504 Gateway Timeout
|
|
109
109
|
*/
|
|
110
|
-
|
|
110
|
+
DEADLINE_EXCEEDED: 'DEADLINE_EXCEEDED',
|
|
111
111
|
/**
|
|
112
112
|
* The operation was canceled by the caller. An example - client closed the connection without
|
|
113
113
|
* waiting for a response.
|
|
@@ -116,7 +116,7 @@ export var ErrorCode;
|
|
|
116
116
|
* - google.rpc.Code: CANCELLED = 1;
|
|
117
117
|
* - HTTP code: 499 Client Closed Request
|
|
118
118
|
*/
|
|
119
|
-
|
|
119
|
+
CANCELLED: 'CANCELLED',
|
|
120
120
|
/**
|
|
121
121
|
* The operation is rejected because of either rate limiting or resource quota,
|
|
122
122
|
* such as the client has sent too many requests recently or the client has allocated too many
|
|
@@ -129,7 +129,7 @@ export var ErrorCode;
|
|
|
129
129
|
* - google.rpc.Code: RESOURCE_EXHAUSTED = 8;
|
|
130
130
|
* - HTTP code: 429 Too Many Requests
|
|
131
131
|
*/
|
|
132
|
-
|
|
132
|
+
RESOURCE_EXHAUSTED: 'RESOURCE_EXHAUSTED',
|
|
133
133
|
/**
|
|
134
134
|
* The operation was aborted, typically due to a concurrency issue such as a sequencer
|
|
135
135
|
* check failure, transaction abort, or transaction conflict.
|
|
@@ -138,7 +138,7 @@ export var ErrorCode;
|
|
|
138
138
|
* - google.rpc.Code: ABORTED = 10;
|
|
139
139
|
* - HTTP code: 409 Conflict
|
|
140
140
|
*/
|
|
141
|
-
|
|
141
|
+
ABORTED: 'ABORTED',
|
|
142
142
|
/**
|
|
143
143
|
* Operation was performed on a resource that does not exist,
|
|
144
144
|
* e.g. file or directory was not found.
|
|
@@ -147,7 +147,7 @@ export var ErrorCode;
|
|
|
147
147
|
* - google.rpc.Code: NOT_FOUND = 5;
|
|
148
148
|
* - HTTP code: 404 Not Found
|
|
149
149
|
*/
|
|
150
|
-
|
|
150
|
+
NOT_FOUND: 'NOT_FOUND',
|
|
151
151
|
/**
|
|
152
152
|
* Operation was rejected due a conflict with an existing resource, e.g. attempted to create
|
|
153
153
|
* file or directory that already exists.
|
|
@@ -158,7 +158,7 @@ export var ErrorCode;
|
|
|
158
158
|
* - google.rpc.Code: ALREADY_EXISTS = 6;
|
|
159
159
|
* - HTTP code: 409 Conflict
|
|
160
160
|
*/
|
|
161
|
-
|
|
161
|
+
ALREADY_EXISTS: 'ALREADY_EXISTS',
|
|
162
162
|
/**
|
|
163
163
|
* The request does not have valid authentication (AuthN) credentials for the operation.
|
|
164
164
|
*
|
|
@@ -170,7 +170,7 @@ export var ErrorCode;
|
|
|
170
170
|
* - google.rpc.Code: UNAUTHENTICATED = 16;
|
|
171
171
|
* - HTTP code: 401 Unauthorized
|
|
172
172
|
*/
|
|
173
|
-
|
|
173
|
+
UNAUTHENTICATED: 'UNAUTHENTICATED',
|
|
174
174
|
/**
|
|
175
175
|
* The service is currently unavailable. Please note that the unavailability may or may not be transient.
|
|
176
176
|
* That means if this is a non-transient condition, retrying it does not work. If the unavailability
|
|
@@ -185,7 +185,7 @@ export var ErrorCode;
|
|
|
185
185
|
* - google.rpc.Code: UNAVAILABLE = 14;
|
|
186
186
|
* - HTTP code: 503 Service Unavailable
|
|
187
187
|
*/
|
|
188
|
-
|
|
188
|
+
UNAVAILABLE: 'UNAVAILABLE',
|
|
189
189
|
/**
|
|
190
190
|
* Supplied value for a parameter was invalid (e.g., giving a number for a string parameter).
|
|
191
191
|
*
|
|
@@ -193,7 +193,7 @@ export var ErrorCode;
|
|
|
193
193
|
* - google.rpc.Code: INVALID_ARGUMENT = 3;
|
|
194
194
|
* - HTTP code: 400 Bad Request
|
|
195
195
|
*/
|
|
196
|
-
|
|
196
|
+
INVALID_PARAMETER_VALUE: 'INVALID_PARAMETER_VALUE',
|
|
197
197
|
/**
|
|
198
198
|
* Indicates that the given API endpoint does not exist. Legacy, when possible - NOT_IMPLEMENTED
|
|
199
199
|
* should be used instead to indicate that API doesn't exist.
|
|
@@ -202,15 +202,15 @@ export var ErrorCode;
|
|
|
202
202
|
* - google.rpc.Code: NOT_FOUND = 5;
|
|
203
203
|
* - HTTP code: 404 Not Found
|
|
204
204
|
*/
|
|
205
|
-
|
|
205
|
+
ENDPOINT_NOT_FOUND: 'ENDPOINT_NOT_FOUND',
|
|
206
206
|
/** Indicates that the given API request was malformed. */
|
|
207
|
-
|
|
207
|
+
MALFORMED_REQUEST: 'MALFORMED_REQUEST',
|
|
208
208
|
/**
|
|
209
209
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
210
210
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
211
211
|
* If one or more of the inputs to a given RPC are not in a valid state for the action.
|
|
212
212
|
*/
|
|
213
|
-
|
|
213
|
+
INVALID_STATE: 'INVALID_STATE',
|
|
214
214
|
/**
|
|
215
215
|
* The caller does not have permission to execute the specified operation.
|
|
216
216
|
* PERMISSION_DENIED must not be used for rejections caused by exhausting some resource,
|
|
@@ -224,7 +224,7 @@ export var ErrorCode;
|
|
|
224
224
|
* - google.rpc.Code: PERMISSION_DENIED = 7;
|
|
225
225
|
* - HTTP code: 403 Forbidden
|
|
226
226
|
*/
|
|
227
|
-
|
|
227
|
+
PERMISSION_DENIED: 'PERMISSION_DENIED',
|
|
228
228
|
/**
|
|
229
229
|
* NOTE: Deprecated due to inconsistent mapping in legacy code, see
|
|
230
230
|
* https://docs.google.com/document/d/17TZIKX_Y39cJMBr333lc-d5dTvvBLSu3DPUyGU5eMJg/edit?disco=AAAAzVGt6FA.
|
|
@@ -236,7 +236,7 @@ export var ErrorCode;
|
|
|
236
236
|
* - google.rpc.Code: NOT_FOUND = 5;
|
|
237
237
|
* - HTTP code: 404 Not Found
|
|
238
238
|
*/
|
|
239
|
-
|
|
239
|
+
FEATURE_DISABLED: 'FEATURE_DISABLED',
|
|
240
240
|
/**
|
|
241
241
|
* The request does not have valid authentication (AuthN) credentials for the operation.
|
|
242
242
|
*
|
|
@@ -257,7 +257,7 @@ export var ErrorCode;
|
|
|
257
257
|
* - google.rpc.Code: UNAUTHENTICATED = 16;
|
|
258
258
|
* - HTTP code: 401 Unauthorized
|
|
259
259
|
*/
|
|
260
|
-
|
|
260
|
+
CUSTOMER_UNAUTHORIZED: 'CUSTOMER_UNAUTHORIZED',
|
|
261
261
|
/**
|
|
262
262
|
* The operation is rejected because of request rate limit, for example rate limiting applied to
|
|
263
263
|
* users, workspaces, IP addresses, etc.
|
|
@@ -271,16 +271,16 @@ export var ErrorCode;
|
|
|
271
271
|
* - google.rpc.Code: RESOURCE_EXHAUSTED = 8;
|
|
272
272
|
* - HTTP code: 429 Too Many Requests
|
|
273
273
|
*/
|
|
274
|
-
|
|
274
|
+
REQUEST_LIMIT_EXCEEDED: 'REQUEST_LIMIT_EXCEEDED',
|
|
275
275
|
/** Indicates API request was rejected due a conflict with an existing resource. */
|
|
276
|
-
|
|
276
|
+
RESOURCE_CONFLICT: 'RESOURCE_CONFLICT',
|
|
277
277
|
/**
|
|
278
278
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
279
279
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
280
280
|
* Indicates that the HTTP response cannot be correctly deserialized.
|
|
281
281
|
* This currently is only used in DUST test clients, and not by any real service code.
|
|
282
282
|
*/
|
|
283
|
-
|
|
283
|
+
UNPARSEABLE_HTTP_ERROR: 'UNPARSEABLE_HTTP_ERROR',
|
|
284
284
|
/**
|
|
285
285
|
* The operation is not implemented or is not supported/enabled in this service.
|
|
286
286
|
*
|
|
@@ -288,7 +288,7 @@ export var ErrorCode;
|
|
|
288
288
|
* - google.rpc.Code: UNIMPLEMENTED = 12;
|
|
289
289
|
* - HTTP code: 501 Not Implemented
|
|
290
290
|
*/
|
|
291
|
-
|
|
291
|
+
NOT_IMPLEMENTED: 'NOT_IMPLEMENTED',
|
|
292
292
|
/**
|
|
293
293
|
* Unrecoverable data loss or corruption.
|
|
294
294
|
*
|
|
@@ -303,15 +303,15 @@ export var ErrorCode;
|
|
|
303
303
|
* - google.rpc.Code: DATA_LOSS = 15;
|
|
304
304
|
* - HTTP code: 500 Internal Server Error
|
|
305
305
|
*/
|
|
306
|
-
|
|
306
|
+
DATA_LOSS: 'DATA_LOSS',
|
|
307
307
|
/** If the user attempts to perform an invalid state transition on a shard. */
|
|
308
|
-
|
|
308
|
+
INVALID_STATE_TRANSITION: 'INVALID_STATE_TRANSITION',
|
|
309
309
|
/**
|
|
310
310
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
311
311
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
312
312
|
* Unable to perform the operation because the shard was locked by some other operation.
|
|
313
313
|
*/
|
|
314
|
-
|
|
314
|
+
COULD_NOT_ACQUIRE_LOCK: 'COULD_NOT_ACQUIRE_LOCK',
|
|
315
315
|
/**
|
|
316
316
|
* NOTE: Deprecated, prefer using ALREADY_EXISTS.
|
|
317
317
|
* Unlike ALREADY_EXISTS - this maps to HTTP code 400 Bad Request due to legacy reasons,
|
|
@@ -319,7 +319,7 @@ export var ErrorCode;
|
|
|
319
319
|
*
|
|
320
320
|
* Operation was performed on a resource that already exists.
|
|
321
321
|
*/
|
|
322
|
-
|
|
322
|
+
RESOURCE_ALREADY_EXISTS: 'RESOURCE_ALREADY_EXISTS',
|
|
323
323
|
/**
|
|
324
324
|
* NOTE: Deprecated, prefer using NOT_FOUND - see the note for the RESOURCE_ALREADY_EXISTS,
|
|
325
325
|
* because this pair of codes is related and RESOURCE_ALREADY_EXISTS has bad mapping to the HTTP
|
|
@@ -327,245 +327,245 @@ export var ErrorCode;
|
|
|
327
327
|
*
|
|
328
328
|
* Operation was performed on a resource that does not exist.
|
|
329
329
|
*/
|
|
330
|
-
|
|
330
|
+
RESOURCE_DOES_NOT_EXIST: 'RESOURCE_DOES_NOT_EXIST',
|
|
331
331
|
/**
|
|
332
332
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
333
333
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
334
334
|
*/
|
|
335
|
-
|
|
335
|
+
QUOTA_EXCEEDED: 'QUOTA_EXCEEDED',
|
|
336
336
|
/**
|
|
337
337
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
338
338
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
339
339
|
*/
|
|
340
|
-
|
|
340
|
+
MAX_BLOCK_SIZE_EXCEEDED: 'MAX_BLOCK_SIZE_EXCEEDED',
|
|
341
341
|
/**
|
|
342
342
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
343
343
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
344
344
|
*/
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
345
|
+
MAX_READ_SIZE_EXCEEDED: 'MAX_READ_SIZE_EXCEEDED',
|
|
346
|
+
PARTIAL_DELETE: 'PARTIAL_DELETE',
|
|
347
|
+
MAX_LIST_SIZE_EXCEEDED: 'MAX_LIST_SIZE_EXCEEDED',
|
|
348
348
|
/**
|
|
349
349
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
350
350
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
351
351
|
*/
|
|
352
|
-
|
|
352
|
+
DRY_RUN_FAILED: 'DRY_RUN_FAILED',
|
|
353
353
|
/**
|
|
354
354
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
355
355
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
356
356
|
* Cluster request was rejected because it would exceed a resource limit.
|
|
357
357
|
*/
|
|
358
|
-
|
|
358
|
+
RESOURCE_LIMIT_EXCEEDED: 'RESOURCE_LIMIT_EXCEEDED',
|
|
359
359
|
/**
|
|
360
360
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
361
361
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
362
362
|
*/
|
|
363
|
-
|
|
363
|
+
DIRECTORY_NOT_EMPTY: 'DIRECTORY_NOT_EMPTY',
|
|
364
364
|
/**
|
|
365
365
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
366
366
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
367
367
|
*/
|
|
368
|
-
|
|
368
|
+
DIRECTORY_PROTECTED: 'DIRECTORY_PROTECTED',
|
|
369
369
|
/**
|
|
370
370
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
371
371
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
372
372
|
*/
|
|
373
|
-
|
|
374
|
-
|
|
373
|
+
MAX_NOTEBOOK_SIZE_EXCEEDED: 'MAX_NOTEBOOK_SIZE_EXCEEDED',
|
|
374
|
+
MAX_CHILD_NODE_SIZE_EXCEEDED: 'MAX_CHILD_NODE_SIZE_EXCEEDED',
|
|
375
375
|
/**
|
|
376
376
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
377
377
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
378
378
|
*/
|
|
379
|
-
|
|
379
|
+
SEARCH_QUERY_TOO_LONG: 'SEARCH_QUERY_TOO_LONG',
|
|
380
380
|
/**
|
|
381
381
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
382
382
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
383
383
|
*/
|
|
384
|
-
|
|
384
|
+
SEARCH_QUERY_TOO_SHORT: 'SEARCH_QUERY_TOO_SHORT',
|
|
385
385
|
/**
|
|
386
386
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
387
387
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
388
388
|
*/
|
|
389
|
-
|
|
389
|
+
MANAGED_RESOURCE_GROUP_DOES_NOT_EXIST: 'MANAGED_RESOURCE_GROUP_DOES_NOT_EXIST',
|
|
390
390
|
/**
|
|
391
391
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
392
392
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
393
393
|
*/
|
|
394
|
-
|
|
394
|
+
PERMISSION_NOT_PROPAGATED: 'PERMISSION_NOT_PROPAGATED',
|
|
395
395
|
/**
|
|
396
396
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
397
397
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
398
398
|
*/
|
|
399
|
-
|
|
399
|
+
DEPLOYMENT_TIMEOUT: 'DEPLOYMENT_TIMEOUT',
|
|
400
400
|
/**
|
|
401
401
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
402
402
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
403
403
|
*/
|
|
404
|
-
|
|
404
|
+
GIT_CONFLICT: 'GIT_CONFLICT',
|
|
405
405
|
/**
|
|
406
406
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
407
407
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
408
408
|
*/
|
|
409
|
-
|
|
409
|
+
GIT_UNKNOWN_REF: 'GIT_UNKNOWN_REF',
|
|
410
410
|
/**
|
|
411
411
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
412
412
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
413
413
|
*/
|
|
414
|
-
|
|
414
|
+
GIT_SENSITIVE_TOKEN_DETECTED: 'GIT_SENSITIVE_TOKEN_DETECTED',
|
|
415
415
|
/**
|
|
416
416
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
417
417
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
418
418
|
*/
|
|
419
|
-
|
|
419
|
+
GIT_URL_NOT_ON_ALLOW_LIST: 'GIT_URL_NOT_ON_ALLOW_LIST',
|
|
420
420
|
/**
|
|
421
421
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
422
422
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
423
423
|
*/
|
|
424
|
-
|
|
424
|
+
GIT_REMOTE_ERROR: 'GIT_REMOTE_ERROR',
|
|
425
425
|
/**
|
|
426
426
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
427
427
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
428
428
|
*/
|
|
429
|
-
|
|
429
|
+
PROJECTS_OPERATION_TIMEOUT: 'PROJECTS_OPERATION_TIMEOUT',
|
|
430
430
|
/**
|
|
431
431
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
432
432
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
433
433
|
*/
|
|
434
|
-
|
|
434
|
+
IPYNB_FILE_IN_REPO: 'IPYNB_FILE_IN_REPO',
|
|
435
435
|
/**
|
|
436
436
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
437
437
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
438
438
|
*/
|
|
439
|
-
|
|
439
|
+
INSECURE_PARTNER_RESPONSE: 'INSECURE_PARTNER_RESPONSE',
|
|
440
440
|
/**
|
|
441
441
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
442
442
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
443
443
|
*/
|
|
444
|
-
|
|
445
|
-
|
|
444
|
+
MALFORMED_PARTNER_RESPONSE: 'MALFORMED_PARTNER_RESPONSE',
|
|
445
|
+
METASTORE_DOES_NOT_EXIST: 'METASTORE_DOES_NOT_EXIST',
|
|
446
446
|
/**
|
|
447
447
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
448
448
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
449
449
|
*/
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
450
|
+
DAC_DOES_NOT_EXIST: 'DAC_DOES_NOT_EXIST',
|
|
451
|
+
CATALOG_DOES_NOT_EXIST: 'CATALOG_DOES_NOT_EXIST',
|
|
452
|
+
SCHEMA_DOES_NOT_EXIST: 'SCHEMA_DOES_NOT_EXIST',
|
|
453
|
+
TABLE_DOES_NOT_EXIST: 'TABLE_DOES_NOT_EXIST',
|
|
454
|
+
SHARE_DOES_NOT_EXIST: 'SHARE_DOES_NOT_EXIST',
|
|
455
|
+
RECIPIENT_DOES_NOT_EXIST: 'RECIPIENT_DOES_NOT_EXIST',
|
|
456
|
+
STORAGE_CREDENTIAL_DOES_NOT_EXIST: 'STORAGE_CREDENTIAL_DOES_NOT_EXIST',
|
|
457
|
+
EXTERNAL_LOCATION_DOES_NOT_EXIST: 'EXTERNAL_LOCATION_DOES_NOT_EXIST',
|
|
458
|
+
PRINCIPAL_DOES_NOT_EXIST: 'PRINCIPAL_DOES_NOT_EXIST',
|
|
459
|
+
PROVIDER_DOES_NOT_EXIST: 'PROVIDER_DOES_NOT_EXIST',
|
|
460
460
|
/**
|
|
461
461
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
462
462
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
463
463
|
*/
|
|
464
|
-
|
|
464
|
+
METASTORE_ALREADY_EXISTS: 'METASTORE_ALREADY_EXISTS',
|
|
465
465
|
/**
|
|
466
466
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
467
467
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
468
468
|
*/
|
|
469
|
-
|
|
469
|
+
DAC_ALREADY_EXISTS: 'DAC_ALREADY_EXISTS',
|
|
470
470
|
/**
|
|
471
471
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
472
472
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
473
473
|
*/
|
|
474
|
-
|
|
474
|
+
CATALOG_ALREADY_EXISTS: 'CATALOG_ALREADY_EXISTS',
|
|
475
475
|
/**
|
|
476
476
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
477
477
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
478
478
|
*/
|
|
479
|
-
|
|
479
|
+
SCHEMA_ALREADY_EXISTS: 'SCHEMA_ALREADY_EXISTS',
|
|
480
480
|
/**
|
|
481
481
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
482
482
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
483
483
|
*/
|
|
484
|
-
|
|
484
|
+
TABLE_ALREADY_EXISTS: 'TABLE_ALREADY_EXISTS',
|
|
485
485
|
/**
|
|
486
486
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
487
487
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
488
488
|
*/
|
|
489
|
-
|
|
489
|
+
SHARE_ALREADY_EXISTS: 'SHARE_ALREADY_EXISTS',
|
|
490
490
|
/**
|
|
491
491
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
492
492
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
493
493
|
*/
|
|
494
|
-
|
|
494
|
+
RECIPIENT_ALREADY_EXISTS: 'RECIPIENT_ALREADY_EXISTS',
|
|
495
495
|
/**
|
|
496
496
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
497
497
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
498
498
|
*/
|
|
499
|
-
|
|
499
|
+
STORAGE_CREDENTIAL_ALREADY_EXISTS: 'STORAGE_CREDENTIAL_ALREADY_EXISTS',
|
|
500
500
|
/**
|
|
501
501
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
502
502
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
503
503
|
*/
|
|
504
|
-
|
|
504
|
+
EXTERNAL_LOCATION_ALREADY_EXISTS: 'EXTERNAL_LOCATION_ALREADY_EXISTS',
|
|
505
505
|
/**
|
|
506
506
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
507
507
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
508
508
|
*/
|
|
509
|
-
|
|
509
|
+
PROVIDER_ALREADY_EXISTS: 'PROVIDER_ALREADY_EXISTS',
|
|
510
510
|
/**
|
|
511
511
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
512
512
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
513
513
|
*/
|
|
514
|
-
|
|
514
|
+
CATALOG_NOT_EMPTY: 'CATALOG_NOT_EMPTY',
|
|
515
515
|
/**
|
|
516
516
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
517
517
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
518
518
|
*/
|
|
519
|
-
|
|
519
|
+
SCHEMA_NOT_EMPTY: 'SCHEMA_NOT_EMPTY',
|
|
520
520
|
/**
|
|
521
521
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
522
522
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
523
523
|
*/
|
|
524
|
-
|
|
524
|
+
METASTORE_NOT_EMPTY: 'METASTORE_NOT_EMPTY',
|
|
525
525
|
/**
|
|
526
526
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
527
527
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
528
528
|
*/
|
|
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
|
-
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
}
|
|
529
|
+
PROVIDER_SHARE_NOT_ACCESSIBLE: 'PROVIDER_SHARE_NOT_ACCESSIBLE',
|
|
530
|
+
};
|
|
531
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
|
|
532
|
+
export const EvaluationStatusType = {
|
|
533
|
+
EVALUATION_STATUS_TYPE_UNSPECIFIED: 'EVALUATION_STATUS_TYPE_UNSPECIFIED',
|
|
534
|
+
RUNNING: 'RUNNING',
|
|
535
|
+
DONE: 'DONE',
|
|
536
|
+
NOT_STARTED: 'NOT_STARTED',
|
|
537
|
+
EVALUATION_FAILED: 'EVALUATION_FAILED',
|
|
538
|
+
EVALUATION_CANCELLED: 'EVALUATION_CANCELLED',
|
|
539
|
+
EVALUATION_TIMEOUT: 'EVALUATION_TIMEOUT',
|
|
540
|
+
};
|
|
541
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
|
|
542
|
+
export const Format = {
|
|
543
|
+
FORMAT_UNSPECIFIED: 'FORMAT_UNSPECIFIED',
|
|
544
|
+
JSON_ARRAY: 'JSON_ARRAY',
|
|
545
|
+
ARROW_STREAM: 'ARROW_STREAM',
|
|
546
|
+
CSV: 'CSV',
|
|
547
|
+
};
|
|
548
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
|
|
549
|
+
export const GenieEvalAssessment = {
|
|
550
|
+
GENIE_EVAL_ASSESSMENT_UNSPECIFIED: 'GENIE_EVAL_ASSESSMENT_UNSPECIFIED',
|
|
551
|
+
GOOD: 'GOOD',
|
|
552
|
+
BAD: 'BAD',
|
|
553
|
+
NEEDS_REVIEW: 'NEEDS_REVIEW',
|
|
554
|
+
};
|
|
555
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
|
|
556
|
+
export const GenieEvalResponseType = {
|
|
557
|
+
GENIE_EVAL_RESPONSE_TYPE_UNSPECIFIED: 'GENIE_EVAL_RESPONSE_TYPE_UNSPECIFIED',
|
|
558
|
+
TEXT: 'TEXT',
|
|
559
|
+
SQL: 'SQL',
|
|
560
|
+
};
|
|
561
561
|
/** Feedback rating for Genie messages */
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
}
|
|
562
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
|
|
563
|
+
export const GenieFeedbackRating = {
|
|
564
|
+
GENIE_FEEDBACK_RATING_UNSPECIFIED: 'GENIE_FEEDBACK_RATING_UNSPECIFIED',
|
|
565
|
+
POSITIVE: 'POSITIVE',
|
|
566
|
+
NEGATIVE: 'NEGATIVE',
|
|
567
|
+
NONE: 'NONE',
|
|
568
|
+
};
|
|
569
569
|
/**
|
|
570
570
|
* copied from proto3 / Google Well Known Types, source:
|
|
571
571
|
* https://github.com/protocolbuffers/protobuf/blob/450d24ca820750c5db5112a6f0b0c2efb9758021/src/google/protobuf/struct.proto
|
|
@@ -574,48 +574,48 @@ export var GenieFeedbackRating;
|
|
|
574
574
|
*
|
|
575
575
|
* The JSON representation for `NullValue` is JSON `null`.
|
|
576
576
|
*/
|
|
577
|
-
|
|
578
|
-
|
|
577
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
|
|
578
|
+
export const NullValue = {
|
|
579
579
|
/** Null value. */
|
|
580
|
-
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
580
|
+
NULL_VALUE: 'NULL_VALUE',
|
|
581
|
+
};
|
|
582
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
|
|
583
|
+
export const ScoreReason = {
|
|
584
|
+
SCORE_REASON_UNSPECIFIED: 'SCORE_REASON_UNSPECIFIED',
|
|
585
|
+
EMPTY_RESULT: 'EMPTY_RESULT',
|
|
586
|
+
RESULT_MISSING_ROWS: 'RESULT_MISSING_ROWS',
|
|
587
|
+
RESULT_EXTRA_ROWS: 'RESULT_EXTRA_ROWS',
|
|
588
|
+
RESULT_MISSING_COLUMNS: 'RESULT_MISSING_COLUMNS',
|
|
589
|
+
RESULT_EXTRA_COLUMNS: 'RESULT_EXTRA_COLUMNS',
|
|
590
|
+
SINGLE_CELL_DIFFERENCE: 'SINGLE_CELL_DIFFERENCE',
|
|
591
|
+
EMPTY_GOOD_SQL: 'EMPTY_GOOD_SQL',
|
|
592
|
+
COLUMN_TYPE_DIFFERENCE: 'COLUMN_TYPE_DIFFERENCE',
|
|
593
593
|
/** Deprecated LLM Judge error categories - kept for backward compatibility */
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
594
|
+
LLM_JUDGE_MISSING_JOIN: 'LLM_JUDGE_MISSING_JOIN',
|
|
595
|
+
LLM_JUDGE_WRONG_FILTER: 'LLM_JUDGE_WRONG_FILTER',
|
|
596
|
+
LLM_JUDGE_WRONG_AGGREGATION: 'LLM_JUDGE_WRONG_AGGREGATION',
|
|
597
|
+
LLM_JUDGE_WRONG_COLUMNS: 'LLM_JUDGE_WRONG_COLUMNS',
|
|
598
|
+
LLM_JUDGE_SYNTAX_ERROR: 'LLM_JUDGE_SYNTAX_ERROR',
|
|
599
|
+
LLM_JUDGE_SEMANTIC_ERROR: 'LLM_JUDGE_SEMANTIC_ERROR',
|
|
600
600
|
/** New LLM Judge error categories - aligned with LlmJudgeFunctionSpec */
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
}
|
|
601
|
+
LLM_JUDGE_OTHER: 'LLM_JUDGE_OTHER',
|
|
602
|
+
LLM_JUDGE_MISSING_OR_INCORRECT_FILTER: 'LLM_JUDGE_MISSING_OR_INCORRECT_FILTER',
|
|
603
|
+
LLM_JUDGE_INCOMPLETE_OR_PARTIAL_OUTPUT: 'LLM_JUDGE_INCOMPLETE_OR_PARTIAL_OUTPUT',
|
|
604
|
+
LLM_JUDGE_MISINTERPRETATION_OF_USER_REQUEST: 'LLM_JUDGE_MISINTERPRETATION_OF_USER_REQUEST',
|
|
605
|
+
LLM_JUDGE_INSTRUCTION_COMPLIANCE_OR_MISSING_BUSINESS_LOGIC: 'LLM_JUDGE_INSTRUCTION_COMPLIANCE_OR_MISSING_BUSINESS_LOGIC',
|
|
606
|
+
LLM_JUDGE_INCORRECT_METRIC_CALCULATION: 'LLM_JUDGE_INCORRECT_METRIC_CALCULATION',
|
|
607
|
+
LLM_JUDGE_INCORRECT_TABLE_OR_FIELD_USAGE: 'LLM_JUDGE_INCORRECT_TABLE_OR_FIELD_USAGE',
|
|
608
|
+
LLM_JUDGE_INCORRECT_FUNCTION_USAGE: 'LLM_JUDGE_INCORRECT_FUNCTION_USAGE',
|
|
609
|
+
LLM_JUDGE_MISSING_OR_INCORRECT_JOIN: 'LLM_JUDGE_MISSING_OR_INCORRECT_JOIN',
|
|
610
|
+
LLM_JUDGE_MISSING_OR_INCORRECT_AGGREGATION: 'LLM_JUDGE_MISSING_OR_INCORRECT_AGGREGATION',
|
|
611
|
+
LLM_JUDGE_FORMATTING_ERROR: 'LLM_JUDGE_FORMATTING_ERROR',
|
|
612
|
+
};
|
|
613
613
|
/** Purpose/intent of a text attachment */
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
}
|
|
614
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
|
|
615
|
+
export const TextAttachmentPurpose = {
|
|
616
|
+
TEXT_ATTACHMENT_PURPOSE_UNSPECIFIED: 'TEXT_ATTACHMENT_PURPOSE_UNSPECIFIED',
|
|
617
|
+
FOLLOW_UP_QUESTION: 'FOLLOW_UP_QUESTION',
|
|
618
|
+
};
|
|
619
619
|
/**
|
|
620
620
|
* ThoughtType.
|
|
621
621
|
* The possible values are:
|
|
@@ -628,88 +628,87 @@ export var TextAttachmentPurpose;
|
|
|
628
628
|
* The category of a Thought.
|
|
629
629
|
* Additional values may be added in the future.
|
|
630
630
|
*/
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
631
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
|
|
632
|
+
export const ThoughtType = {
|
|
633
|
+
THOUGHT_TYPE_UNSPECIFIED: 'THOUGHT_TYPE_UNSPECIFIED',
|
|
634
634
|
/** A high-level description of how the question was interpreted. */
|
|
635
|
-
|
|
635
|
+
THOUGHT_TYPE_DESCRIPTION: 'THOUGHT_TYPE_DESCRIPTION',
|
|
636
636
|
/** How ambiguous parts of the question were resolved. */
|
|
637
|
-
|
|
637
|
+
THOUGHT_TYPE_UNDERSTANDING: 'THOUGHT_TYPE_UNDERSTANDING',
|
|
638
638
|
/** Which tables or datasets were identified as relevant. */
|
|
639
|
-
|
|
639
|
+
THOUGHT_TYPE_DATA_SOURCING: 'THOUGHT_TYPE_DATA_SOURCING',
|
|
640
640
|
/** Which author-defined instructions were referenced. */
|
|
641
|
-
|
|
641
|
+
THOUGHT_TYPE_INSTRUCTIONS: 'THOUGHT_TYPE_INSTRUCTIONS',
|
|
642
642
|
/** The logical steps taken to compute the answer. */
|
|
643
|
-
|
|
644
|
-
}
|
|
645
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention --
|
|
646
|
-
export
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
MessageError_Type["GENERIC_CHAT_COMPLETION_EXCEPTION"] = "GENERIC_CHAT_COMPLETION_EXCEPTION";
|
|
643
|
+
THOUGHT_TYPE_STEPS: 'THOUGHT_TYPE_STEPS',
|
|
644
|
+
};
|
|
645
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
|
|
646
|
+
export const MessageError_Type = {
|
|
647
|
+
TYPE_UNSPECIFIED: 'TYPE_UNSPECIFIED',
|
|
648
|
+
UNEXPECTED_REPLY_PROCESS_EXCEPTION: 'UNEXPECTED_REPLY_PROCESS_EXCEPTION',
|
|
649
|
+
GENERIC_CHAT_COMPLETION_EXCEPTION: 'GENERIC_CHAT_COMPLETION_EXCEPTION',
|
|
651
650
|
/** TokenCounter estimates were off and OpenAi responds with an error due to the token limit. */
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
651
|
+
CONTEXT_EXCEEDED_EXCEPTION: 'CONTEXT_EXCEEDED_EXCEPTION',
|
|
652
|
+
DEPLOYMENT_NOT_FOUND_EXCEPTION: 'DEPLOYMENT_NOT_FOUND_EXCEPTION',
|
|
653
|
+
FUNCTIONS_NOT_AVAILABLE_EXCEPTION: 'FUNCTIONS_NOT_AVAILABLE_EXCEPTION',
|
|
654
|
+
INVALID_COMPLETION_REQUEST_EXCEPTION: 'INVALID_COMPLETION_REQUEST_EXCEPTION',
|
|
655
|
+
CONTENT_FILTER_EXCEPTION: 'CONTENT_FILTER_EXCEPTION',
|
|
656
|
+
FUNCTION_ARGUMENTS_INVALID_JSON_EXCEPTION: 'FUNCTION_ARGUMENTS_INVALID_JSON_EXCEPTION',
|
|
657
|
+
RETRYABLE_PROCESSING_EXCEPTION: 'RETRYABLE_PROCESSING_EXCEPTION',
|
|
658
|
+
INVALID_FUNCTION_CALL_EXCEPTION: 'INVALID_FUNCTION_CALL_EXCEPTION',
|
|
660
659
|
/** Request can not fit into model or the configured limits and TokenCounter registers token limit exceeded. */
|
|
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
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
}
|
|
660
|
+
LOCAL_CONTEXT_EXCEEDED_EXCEPTION: 'LOCAL_CONTEXT_EXCEEDED_EXCEPTION',
|
|
661
|
+
CHAT_COMPLETION_NETWORK_EXCEPTION: 'CHAT_COMPLETION_NETWORK_EXCEPTION',
|
|
662
|
+
INVALID_CHAT_COMPLETION_JSON_EXCEPTION: 'INVALID_CHAT_COMPLETION_JSON_EXCEPTION',
|
|
663
|
+
GENERIC_CHAT_COMPLETION_SERVICE_EXCEPTION: 'GENERIC_CHAT_COMPLETION_SERVICE_EXCEPTION',
|
|
664
|
+
WAREHOUSE_ACCESS_MISSING_EXCEPTION: 'WAREHOUSE_ACCESS_MISSING_EXCEPTION',
|
|
665
|
+
WAREHOUSE_NOT_FOUND_EXCEPTION: 'WAREHOUSE_NOT_FOUND_EXCEPTION',
|
|
666
|
+
NO_TABLES_TO_QUERY_EXCEPTION: 'NO_TABLES_TO_QUERY_EXCEPTION',
|
|
667
|
+
SQL_EXECUTION_EXCEPTION: 'SQL_EXECUTION_EXCEPTION',
|
|
668
|
+
REPLY_PROCESS_TIMEOUT_EXCEPTION: 'REPLY_PROCESS_TIMEOUT_EXCEPTION',
|
|
669
|
+
COULD_NOT_GET_UC_SCHEMA_EXCEPTION: 'COULD_NOT_GET_UC_SCHEMA_EXCEPTION',
|
|
670
|
+
INVALID_TABLE_IDENTIFIER_EXCEPTION: 'INVALID_TABLE_IDENTIFIER_EXCEPTION',
|
|
671
|
+
TOO_MANY_TABLES_EXCEPTION: 'TOO_MANY_TABLES_EXCEPTION',
|
|
672
|
+
FUNCTION_ARGUMENTS_INVALID_EXCEPTION: 'FUNCTION_ARGUMENTS_INVALID_EXCEPTION',
|
|
673
|
+
GENERIC_SQL_EXEC_API_CALL_EXCEPTION: 'GENERIC_SQL_EXEC_API_CALL_EXCEPTION',
|
|
674
|
+
CHAT_COMPLETION_CLIENT_EXCEPTION: 'CHAT_COMPLETION_CLIENT_EXCEPTION',
|
|
675
|
+
CHAT_COMPLETION_CLIENT_TIMEOUT_EXCEPTION: 'CHAT_COMPLETION_CLIENT_TIMEOUT_EXCEPTION',
|
|
676
|
+
UNKNOWN_AI_MODEL: 'UNKNOWN_AI_MODEL',
|
|
677
|
+
TABLES_MISSING_EXCEPTION: 'TABLES_MISSING_EXCEPTION',
|
|
678
|
+
MESSAGE_DELETED_WHILE_EXECUTING_EXCEPTION: 'MESSAGE_DELETED_WHILE_EXECUTING_EXCEPTION',
|
|
679
|
+
MESSAGE_UPDATED_WHILE_EXECUTING_EXCEPTION: 'MESSAGE_UPDATED_WHILE_EXECUTING_EXCEPTION',
|
|
680
|
+
BLOCK_MULTIPLE_EXECUTIONS_EXCEPTION: 'BLOCK_MULTIPLE_EXECUTIONS_EXCEPTION',
|
|
681
|
+
INVALID_CERTIFIED_ANSWER_IDENTIFIER_EXCEPTION: 'INVALID_CERTIFIED_ANSWER_IDENTIFIER_EXCEPTION',
|
|
682
|
+
TOO_MANY_CERTIFIED_ANSWERS_EXCEPTION: 'TOO_MANY_CERTIFIED_ANSWERS_EXCEPTION',
|
|
683
|
+
RATE_LIMIT_EXCEEDED_GENERIC_EXCEPTION: 'RATE_LIMIT_EXCEEDED_GENERIC_EXCEPTION',
|
|
684
|
+
RATE_LIMIT_EXCEEDED_SPECIFIED_WAIT_EXCEPTION: 'RATE_LIMIT_EXCEEDED_SPECIFIED_WAIT_EXCEPTION',
|
|
685
|
+
FUNCTION_CALL_MISSING_PARAMETER_EXCEPTION: 'FUNCTION_CALL_MISSING_PARAMETER_EXCEPTION',
|
|
686
|
+
INVALID_CERTIFIED_ANSWER_FUNCTION_EXCEPTION: 'INVALID_CERTIFIED_ANSWER_FUNCTION_EXCEPTION',
|
|
687
|
+
ILLEGAL_PARAMETER_DEFINITION_EXCEPTION: 'ILLEGAL_PARAMETER_DEFINITION_EXCEPTION',
|
|
688
|
+
NO_QUERY_TO_VISUALIZE_EXCEPTION: 'NO_QUERY_TO_VISUALIZE_EXCEPTION',
|
|
689
|
+
NO_DEPLOYMENTS_AVAILABLE_TO_WORKSPACE: 'NO_DEPLOYMENTS_AVAILABLE_TO_WORKSPACE',
|
|
690
|
+
STOP_PROCESS_DUE_TO_AUTO_REGENERATE: 'STOP_PROCESS_DUE_TO_AUTO_REGENERATE',
|
|
691
|
+
FUNCTION_ARGUMENTS_INVALID_TYPE_EXCEPTION: 'FUNCTION_ARGUMENTS_INVALID_TYPE_EXCEPTION',
|
|
692
|
+
MESSAGE_CANCELLED_WHILE_EXECUTING_EXCEPTION: 'MESSAGE_CANCELLED_WHILE_EXECUTING_EXCEPTION',
|
|
693
|
+
COULD_NOT_GET_MODEL_DEPLOYMENTS_EXCEPTION: 'COULD_NOT_GET_MODEL_DEPLOYMENTS_EXCEPTION',
|
|
694
|
+
GENERATED_SQL_QUERY_TOO_LONG_EXCEPTION: 'GENERATED_SQL_QUERY_TOO_LONG_EXCEPTION',
|
|
695
|
+
MISSING_SQL_QUERY_EXCEPTION: 'MISSING_SQL_QUERY_EXCEPTION',
|
|
696
|
+
DESCRIBE_QUERY_UNEXPECTED_FAILURE: 'DESCRIBE_QUERY_UNEXPECTED_FAILURE',
|
|
697
|
+
DESCRIBE_QUERY_TIMEOUT: 'DESCRIBE_QUERY_TIMEOUT',
|
|
698
|
+
DESCRIBE_QUERY_INVALID_SQL_ERROR: 'DESCRIBE_QUERY_INVALID_SQL_ERROR',
|
|
699
|
+
INVALID_SQL_UNKNOWN_TABLE_EXCEPTION: 'INVALID_SQL_UNKNOWN_TABLE_EXCEPTION',
|
|
700
|
+
INVALID_SQL_MULTIPLE_STATEMENTS_EXCEPTION: 'INVALID_SQL_MULTIPLE_STATEMENTS_EXCEPTION',
|
|
701
|
+
INVALID_SQL_MULTIPLE_DATASET_REFERENCES_EXCEPTION: 'INVALID_SQL_MULTIPLE_DATASET_REFERENCES_EXCEPTION',
|
|
702
|
+
MESSAGE_ATTACHMENT_TOO_LONG_ERROR: 'MESSAGE_ATTACHMENT_TOO_LONG_ERROR',
|
|
703
|
+
INTERNAL_CATALOG_PATH_OVERLAP_EXCEPTION: 'INTERNAL_CATALOG_PATH_OVERLAP_EXCEPTION',
|
|
704
|
+
INTERNAL_CATALOG_MISSING_UC_PATH_EXCEPTION: 'INTERNAL_CATALOG_MISSING_UC_PATH_EXCEPTION',
|
|
705
|
+
EXCEEDED_MAX_TOKEN_LENGTH_EXCEPTION: 'EXCEEDED_MAX_TOKEN_LENGTH_EXCEPTION',
|
|
706
|
+
INTERNAL_CATALOG_ASSET_CREATION_ONGOING_EXCEPTION: 'INTERNAL_CATALOG_ASSET_CREATION_ONGOING_EXCEPTION',
|
|
707
|
+
INTERNAL_CATALOG_ASSET_CREATION_FAILED_EXCEPTION: 'INTERNAL_CATALOG_ASSET_CREATION_FAILED_EXCEPTION',
|
|
708
|
+
INTERNAL_CATALOG_ASSET_CREATION_UNSUPPORTED_EXCEPTION: 'INTERNAL_CATALOG_ASSET_CREATION_UNSUPPORTED_EXCEPTION',
|
|
709
|
+
UNSUPPORTED_CONVERSATION_TYPE_EXCEPTION: 'UNSUPPORTED_CONVERSATION_TYPE_EXCEPTION',
|
|
710
|
+
COULD_NOT_GET_DASHBOARD_SCHEMA_EXCEPTION: 'COULD_NOT_GET_DASHBOARD_SCHEMA_EXCEPTION',
|
|
711
|
+
};
|
|
713
712
|
/**
|
|
714
713
|
* MessageStatus.
|
|
715
714
|
* The possible values are:
|
|
@@ -724,31 +723,29 @@ export var MessageError_Type;
|
|
|
724
723
|
* * `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
724
|
* * `CANCELLED`: Message has been cancelled.
|
|
726
725
|
*/
|
|
727
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention --
|
|
728
|
-
export
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
StatementStatus_State["CLOSED"] = "CLOSED";
|
|
751
|
-
})(StatementStatus_State || (StatementStatus_State = {}));
|
|
726
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
|
|
727
|
+
export const MessageStatus_MessageStatus = {
|
|
728
|
+
FETCHING_METADATA: 'FETCHING_METADATA',
|
|
729
|
+
FILTERING_CONTEXT: 'FILTERING_CONTEXT',
|
|
730
|
+
ASKING_AI: 'ASKING_AI',
|
|
731
|
+
PENDING_WAREHOUSE: 'PENDING_WAREHOUSE',
|
|
732
|
+
EXECUTING_QUERY: 'EXECUTING_QUERY',
|
|
733
|
+
FAILED: 'FAILED',
|
|
734
|
+
COMPLETED: 'COMPLETED',
|
|
735
|
+
SUBMITTED: 'SUBMITTED',
|
|
736
|
+
QUERY_RESULT_EXPIRED: 'QUERY_RESULT_EXPIRED',
|
|
737
|
+
CANCELLED: 'CANCELLED',
|
|
738
|
+
};
|
|
739
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
|
|
740
|
+
export const StatementStatus_State = {
|
|
741
|
+
STATE_UNSPECIFIED: 'STATE_UNSPECIFIED',
|
|
742
|
+
PENDING: 'PENDING',
|
|
743
|
+
RUNNING: 'RUNNING',
|
|
744
|
+
SUCCEEDED: 'SUCCEEDED',
|
|
745
|
+
FAILED: 'FAILED',
|
|
746
|
+
CANCELED: 'CANCELED',
|
|
747
|
+
CLOSED: 'CLOSED',
|
|
748
|
+
};
|
|
752
749
|
export const unmarshalChunkInfoSchema = z
|
|
753
750
|
.object({
|
|
754
751
|
chunk_index: z.number().optional(),
|
|
@@ -779,7 +776,7 @@ export const unmarshalColumnInfoSchema = z
|
|
|
779
776
|
.object({
|
|
780
777
|
name: z.string().optional(),
|
|
781
778
|
type_text: z.string().optional(),
|
|
782
|
-
type_name: z.
|
|
779
|
+
type_name: z.string().optional(),
|
|
783
780
|
position: z.number().optional(),
|
|
784
781
|
type_precision: z.number().optional(),
|
|
785
782
|
type_scale: z.number().optional(),
|
|
@@ -819,7 +816,7 @@ export const unmarshalColumnMaskSchema = z
|
|
|
819
816
|
}));
|
|
820
817
|
export const unmarshalDatabricksServiceExceptionProtoSchema = z
|
|
821
818
|
.object({
|
|
822
|
-
error_code: z.
|
|
819
|
+
error_code: z.string().optional(),
|
|
823
820
|
message: z.string().optional(),
|
|
824
821
|
stack_trace: z.string().optional(),
|
|
825
822
|
})
|
|
@@ -930,7 +927,7 @@ export const unmarshalGenieEvalResponseSchema = z
|
|
|
930
927
|
sql_execution_result: z
|
|
931
928
|
.lazy(() => unmarshalStatementResponseSchema)
|
|
932
929
|
.optional(),
|
|
933
|
-
response_type: z.
|
|
930
|
+
response_type: z.string().optional(),
|
|
934
931
|
})
|
|
935
932
|
.transform(d => ({
|
|
936
933
|
response: d.response,
|
|
@@ -942,7 +939,7 @@ export const unmarshalGenieEvalResultSchema = z
|
|
|
942
939
|
result_id: z.string().optional(),
|
|
943
940
|
space_id: z.string().optional(),
|
|
944
941
|
benchmark_question_id: z.string().optional(),
|
|
945
|
-
status: z.
|
|
942
|
+
status: z.string().optional(),
|
|
946
943
|
question: z.string().optional(),
|
|
947
944
|
benchmark_answer: z.string().optional(),
|
|
948
945
|
created_by_user: z
|
|
@@ -964,10 +961,10 @@ export const unmarshalGenieEvalResultDetailsSchema = z
|
|
|
964
961
|
result_id: z.string().optional(),
|
|
965
962
|
space_id: z.string().optional(),
|
|
966
963
|
benchmark_question_id: z.string().optional(),
|
|
967
|
-
eval_run_status: z.
|
|
968
|
-
assessment: z.
|
|
964
|
+
eval_run_status: z.string().optional(),
|
|
965
|
+
assessment: z.string().optional(),
|
|
969
966
|
manual_assessment: z.boolean().optional(),
|
|
970
|
-
assessment_reasons: z.array(z.
|
|
967
|
+
assessment_reasons: z.array(z.string()).optional(),
|
|
971
968
|
actual_response: z
|
|
972
969
|
.array(z.lazy(() => unmarshalGenieEvalResponseSchema))
|
|
973
970
|
.optional(),
|
|
@@ -989,7 +986,7 @@ export const unmarshalGenieEvalResultDetailsSchema = z
|
|
|
989
986
|
export const unmarshalGenieEvalRunResponseSchema = z
|
|
990
987
|
.object({
|
|
991
988
|
eval_run_id: z.string().optional(),
|
|
992
|
-
eval_run_status: z.
|
|
989
|
+
eval_run_status: z.string().optional(),
|
|
993
990
|
run_by_user: z
|
|
994
991
|
.union([z.number(), z.bigint()])
|
|
995
992
|
.transform(v => BigInt(v))
|
|
@@ -1032,7 +1029,7 @@ export const unmarshalGenieEvalRunResponseSchema = z
|
|
|
1032
1029
|
}));
|
|
1033
1030
|
export const unmarshalGenieFeedbackSchema = z
|
|
1034
1031
|
.object({
|
|
1035
|
-
rating: z.
|
|
1032
|
+
rating: z.string().optional(),
|
|
1036
1033
|
comment: z.string().optional(),
|
|
1037
1034
|
})
|
|
1038
1035
|
.transform(d => ({
|
|
@@ -1156,7 +1153,7 @@ export const unmarshalGenieMessageSchema = z
|
|
|
1156
1153
|
.union([z.number(), z.bigint()])
|
|
1157
1154
|
.transform(v => BigInt(v))
|
|
1158
1155
|
.optional(),
|
|
1159
|
-
status: z.
|
|
1156
|
+
status: z.string().optional(),
|
|
1160
1157
|
content: z.string().optional(),
|
|
1161
1158
|
attachments: z
|
|
1162
1159
|
.array(z.lazy(() => unmarshalGenieAttachmentSchema))
|
|
@@ -1306,7 +1303,7 @@ export const unmarshalMapStringValueEntrySchema = z
|
|
|
1306
1303
|
export const unmarshalMessageErrorSchema = z
|
|
1307
1304
|
.object({
|
|
1308
1305
|
error: z.string().optional(),
|
|
1309
|
-
type: z.
|
|
1306
|
+
type: z.string().optional(),
|
|
1310
1307
|
})
|
|
1311
1308
|
.transform(d => ({
|
|
1312
1309
|
error: d.error,
|
|
@@ -1385,7 +1382,7 @@ export const unmarshalResultDataSchema = z
|
|
|
1385
1382
|
}));
|
|
1386
1383
|
export const unmarshalResultManifestSchema = z
|
|
1387
1384
|
.object({
|
|
1388
|
-
format: z.
|
|
1385
|
+
format: z.string().optional(),
|
|
1389
1386
|
schema: z.lazy(() => unmarshalSchemaSchema).optional(),
|
|
1390
1387
|
total_chunk_count: z.number().optional(),
|
|
1391
1388
|
chunks: z.array(z.lazy(() => unmarshalChunkInfoSchema)).optional(),
|
|
@@ -1432,7 +1429,7 @@ export const unmarshalStatementResponseSchema = z
|
|
|
1432
1429
|
}));
|
|
1433
1430
|
export const unmarshalStatementStatusSchema = z
|
|
1434
1431
|
.object({
|
|
1435
|
-
state: z.
|
|
1432
|
+
state: z.string().optional(),
|
|
1436
1433
|
error: z
|
|
1437
1434
|
.lazy(() => unmarshalDatabricksServiceExceptionProtoSchema)
|
|
1438
1435
|
.optional(),
|
|
@@ -1456,7 +1453,7 @@ export const unmarshalTextAttachmentSchema = z
|
|
|
1456
1453
|
.object({
|
|
1457
1454
|
content: z.string().optional(),
|
|
1458
1455
|
id: z.string().optional(),
|
|
1459
|
-
purpose: z.
|
|
1456
|
+
purpose: z.string().optional(),
|
|
1460
1457
|
})
|
|
1461
1458
|
.transform(d => ({
|
|
1462
1459
|
content: d.content,
|
|
@@ -1465,7 +1462,7 @@ export const unmarshalTextAttachmentSchema = z
|
|
|
1465
1462
|
}));
|
|
1466
1463
|
export const unmarshalThoughtSchema = z
|
|
1467
1464
|
.object({
|
|
1468
|
-
thought_type: z.
|
|
1465
|
+
thought_type: z.string().optional(),
|
|
1469
1466
|
content: z.string().optional(),
|
|
1470
1467
|
})
|
|
1471
1468
|
.transform(d => ({
|
|
@@ -1474,7 +1471,7 @@ export const unmarshalThoughtSchema = z
|
|
|
1474
1471
|
}));
|
|
1475
1472
|
export const unmarshalValueSchema = z
|
|
1476
1473
|
.object({
|
|
1477
|
-
null_value: z.
|
|
1474
|
+
null_value: z.string().optional(),
|
|
1478
1475
|
number_value: z.number().optional(),
|
|
1479
1476
|
string_value: z.string().optional(),
|
|
1480
1477
|
bool_value: z.boolean().optional(),
|
|
@@ -1586,7 +1583,7 @@ export const marshalGenieSendMessageFeedbackRequestSchema = z
|
|
|
1586
1583
|
spaceId: z.string().optional(),
|
|
1587
1584
|
conversationId: z.string().optional(),
|
|
1588
1585
|
messageId: z.string().optional(),
|
|
1589
|
-
rating: z.
|
|
1586
|
+
rating: z.string().optional(),
|
|
1590
1587
|
comment: z.string().optional(),
|
|
1591
1588
|
})
|
|
1592
1589
|
.transform(d => ({
|