@databricks/sdk-postgres 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/dist/v1/model.js CHANGED
@@ -3,16 +3,16 @@ import { Temporal } from '@js-temporal/polyfill';
3
3
  import { FieldMask } from '@databricks/sdk-core/wkt';
4
4
  import { z } from 'zod';
5
5
  /** The compute endpoint type. Either `read_write` or `read_only`. */
6
- export var EndpointType;
7
- (function (EndpointType) {
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
7
+ export const EndpointType = {
8
8
  /** Default value, not used */
9
- EndpointType["ENDPOINT_TYPE_UNSPECIFIED"] = "ENDPOINT_TYPE_UNSPECIFIED";
10
- EndpointType["ENDPOINT_TYPE_READ_WRITE"] = "ENDPOINT_TYPE_READ_WRITE";
11
- EndpointType["ENDPOINT_TYPE_READ_ONLY"] = "ENDPOINT_TYPE_READ_ONLY";
12
- })(EndpointType || (EndpointType = {}));
9
+ ENDPOINT_TYPE_UNSPECIFIED: 'ENDPOINT_TYPE_UNSPECIFIED',
10
+ ENDPOINT_TYPE_READ_WRITE: 'ENDPOINT_TYPE_READ_WRITE',
11
+ ENDPOINT_TYPE_READ_ONLY: 'ENDPOINT_TYPE_READ_ONLY',
12
+ };
13
13
  /** Error codes returned by Databricks APIs to indicate specific failure conditions. */
14
- export var ErrorCode;
15
- (function (ErrorCode) {
14
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
15
+ export const ErrorCode = {
16
16
  /**
17
17
  * Unknown error. This error generally should not be returned explicitly, but will be used
18
18
  * as a fallback if the error enum is missing from the message for some reason.
@@ -25,7 +25,7 @@ export var ErrorCode;
25
25
  * - google.rpc.Code: UNKNOWN = 2;
26
26
  * - HTTP code: 500 Internal Server Error
27
27
  */
28
- ErrorCode["UNKNOWN"] = "UNKNOWN";
28
+ UNKNOWN: 'UNKNOWN',
29
29
  /**
30
30
  * Internal error. This means that some invariants expected by the underlying system have been
31
31
  * broken. This error code is reserved for serious errors, which generally cannot be resolved
@@ -38,7 +38,7 @@ export var ErrorCode;
38
38
  * - google.rpc.Code: INTERNAL = 13;
39
39
  * - HTTP code: 500 Internal Server Error
40
40
  */
41
- ErrorCode["INTERNAL_ERROR"] = "INTERNAL_ERROR";
41
+ INTERNAL_ERROR: 'INTERNAL_ERROR',
42
42
  /**
43
43
  * The service is currently unavailable. This is most likely a transient condition, which can be
44
44
  * corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent
@@ -53,13 +53,13 @@ export var ErrorCode;
53
53
  * - google.rpc.Code: UNAVAILABLE = 14;
54
54
  * - HTTP code: 503 Service Unavailable
55
55
  */
56
- ErrorCode["TEMPORARILY_UNAVAILABLE"] = "TEMPORARILY_UNAVAILABLE";
56
+ TEMPORARILY_UNAVAILABLE: 'TEMPORARILY_UNAVAILABLE',
57
57
  /**
58
58
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
59
59
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
60
60
  * Indicates that an IOException has been internally thrown.
61
61
  */
62
- ErrorCode["IO_ERROR"] = "IO_ERROR";
62
+ IO_ERROR: 'IO_ERROR',
63
63
  /**
64
64
  * The request is invalid. Prefer more specific error code whenever possible.
65
65
  * Also see similar recommendation for the google.rpc.Code.FAILED_PRECONDITION.
@@ -70,14 +70,14 @@ export var ErrorCode;
70
70
  * - google.rpc.Code: FAILED_PRECONDITION = 9;
71
71
  * - HTTP code: 400 Bad Request
72
72
  */
73
- ErrorCode["BAD_REQUEST"] = "BAD_REQUEST";
73
+ BAD_REQUEST: 'BAD_REQUEST',
74
74
  /**
75
75
  * An external service is unavailable temporarily as it is being updated/re-deployed. Indicates
76
76
  * gateway proxy to safely retry the request.
77
77
  */
78
- ErrorCode["SERVICE_UNDER_MAINTENANCE"] = "SERVICE_UNDER_MAINTENANCE";
78
+ SERVICE_UNDER_MAINTENANCE: 'SERVICE_UNDER_MAINTENANCE',
79
79
  /** A workspace is temporarily unavailable as the workspace is being re-assigned. */
80
- ErrorCode["WORKSPACE_TEMPORARILY_UNAVAILABLE"] = "WORKSPACE_TEMPORARILY_UNAVAILABLE";
80
+ WORKSPACE_TEMPORARILY_UNAVAILABLE: 'WORKSPACE_TEMPORARILY_UNAVAILABLE',
81
81
  /**
82
82
  * The deadline expired before the operation could complete. For operations that change the state
83
83
  * of the system, this error may be returned even if the operation has completed successfully.
@@ -90,7 +90,7 @@ export var ErrorCode;
90
90
  * - google.rpc.Code: DEADLINE_EXCEEDED = 4;
91
91
  * - HTTP code: 504 Gateway Timeout
92
92
  */
93
- ErrorCode["DEADLINE_EXCEEDED"] = "DEADLINE_EXCEEDED";
93
+ DEADLINE_EXCEEDED: 'DEADLINE_EXCEEDED',
94
94
  /**
95
95
  * The operation was canceled by the caller. An example - client closed the connection without
96
96
  * waiting for a response.
@@ -99,7 +99,7 @@ export var ErrorCode;
99
99
  * - google.rpc.Code: CANCELLED = 1;
100
100
  * - HTTP code: 499 Client Closed Request
101
101
  */
102
- ErrorCode["CANCELLED"] = "CANCELLED";
102
+ CANCELLED: 'CANCELLED',
103
103
  /**
104
104
  * The operation is rejected because of either rate limiting or resource quota,
105
105
  * such as the client has sent too many requests recently or the client has allocated too many
@@ -112,7 +112,7 @@ export var ErrorCode;
112
112
  * - google.rpc.Code: RESOURCE_EXHAUSTED = 8;
113
113
  * - HTTP code: 429 Too Many Requests
114
114
  */
115
- ErrorCode["RESOURCE_EXHAUSTED"] = "RESOURCE_EXHAUSTED";
115
+ RESOURCE_EXHAUSTED: 'RESOURCE_EXHAUSTED',
116
116
  /**
117
117
  * The operation was aborted, typically due to a concurrency issue such as a sequencer
118
118
  * check failure, transaction abort, or transaction conflict.
@@ -121,7 +121,7 @@ export var ErrorCode;
121
121
  * - google.rpc.Code: ABORTED = 10;
122
122
  * - HTTP code: 409 Conflict
123
123
  */
124
- ErrorCode["ABORTED"] = "ABORTED";
124
+ ABORTED: 'ABORTED',
125
125
  /**
126
126
  * Operation was performed on a resource that does not exist,
127
127
  * e.g. file or directory was not found.
@@ -130,7 +130,7 @@ export var ErrorCode;
130
130
  * - google.rpc.Code: NOT_FOUND = 5;
131
131
  * - HTTP code: 404 Not Found
132
132
  */
133
- ErrorCode["NOT_FOUND"] = "NOT_FOUND";
133
+ NOT_FOUND: 'NOT_FOUND',
134
134
  /**
135
135
  * Operation was rejected due a conflict with an existing resource, e.g. attempted to create
136
136
  * file or directory that already exists.
@@ -141,7 +141,7 @@ export var ErrorCode;
141
141
  * - google.rpc.Code: ALREADY_EXISTS = 6;
142
142
  * - HTTP code: 409 Conflict
143
143
  */
144
- ErrorCode["ALREADY_EXISTS"] = "ALREADY_EXISTS";
144
+ ALREADY_EXISTS: 'ALREADY_EXISTS',
145
145
  /**
146
146
  * The request does not have valid authentication (AuthN) credentials for the operation.
147
147
  *
@@ -153,7 +153,7 @@ export var ErrorCode;
153
153
  * - google.rpc.Code: UNAUTHENTICATED = 16;
154
154
  * - HTTP code: 401 Unauthorized
155
155
  */
156
- ErrorCode["UNAUTHENTICATED"] = "UNAUTHENTICATED";
156
+ UNAUTHENTICATED: 'UNAUTHENTICATED',
157
157
  /**
158
158
  * The service is currently unavailable. Please note that the unavailability may or may not be transient.
159
159
  * That means if this is a non-transient condition, retrying it does not work. If the unavailability
@@ -168,7 +168,7 @@ export var ErrorCode;
168
168
  * - google.rpc.Code: UNAVAILABLE = 14;
169
169
  * - HTTP code: 503 Service Unavailable
170
170
  */
171
- ErrorCode["UNAVAILABLE"] = "UNAVAILABLE";
171
+ UNAVAILABLE: 'UNAVAILABLE',
172
172
  /**
173
173
  * Supplied value for a parameter was invalid (e.g., giving a number for a string parameter).
174
174
  *
@@ -176,7 +176,7 @@ export var ErrorCode;
176
176
  * - google.rpc.Code: INVALID_ARGUMENT = 3;
177
177
  * - HTTP code: 400 Bad Request
178
178
  */
179
- ErrorCode["INVALID_PARAMETER_VALUE"] = "INVALID_PARAMETER_VALUE";
179
+ INVALID_PARAMETER_VALUE: 'INVALID_PARAMETER_VALUE',
180
180
  /**
181
181
  * Indicates that the given API endpoint does not exist. Legacy, when possible - NOT_IMPLEMENTED
182
182
  * should be used instead to indicate that API doesn't exist.
@@ -185,15 +185,15 @@ export var ErrorCode;
185
185
  * - google.rpc.Code: NOT_FOUND = 5;
186
186
  * - HTTP code: 404 Not Found
187
187
  */
188
- ErrorCode["ENDPOINT_NOT_FOUND"] = "ENDPOINT_NOT_FOUND";
188
+ ENDPOINT_NOT_FOUND: 'ENDPOINT_NOT_FOUND',
189
189
  /** Indicates that the given API request was malformed. */
190
- ErrorCode["MALFORMED_REQUEST"] = "MALFORMED_REQUEST";
190
+ MALFORMED_REQUEST: 'MALFORMED_REQUEST',
191
191
  /**
192
192
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
193
193
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
194
194
  * If one or more of the inputs to a given RPC are not in a valid state for the action.
195
195
  */
196
- ErrorCode["INVALID_STATE"] = "INVALID_STATE";
196
+ INVALID_STATE: 'INVALID_STATE',
197
197
  /**
198
198
  * The caller does not have permission to execute the specified operation.
199
199
  * PERMISSION_DENIED must not be used for rejections caused by exhausting some resource,
@@ -207,7 +207,7 @@ export var ErrorCode;
207
207
  * - google.rpc.Code: PERMISSION_DENIED = 7;
208
208
  * - HTTP code: 403 Forbidden
209
209
  */
210
- ErrorCode["PERMISSION_DENIED"] = "PERMISSION_DENIED";
210
+ PERMISSION_DENIED: 'PERMISSION_DENIED',
211
211
  /**
212
212
  * NOTE: Deprecated due to inconsistent mapping in legacy code, see
213
213
  * https://docs.google.com/document/d/17TZIKX_Y39cJMBr333lc-d5dTvvBLSu3DPUyGU5eMJg/edit?disco=AAAAzVGt6FA.
@@ -219,7 +219,7 @@ export var ErrorCode;
219
219
  * - google.rpc.Code: NOT_FOUND = 5;
220
220
  * - HTTP code: 404 Not Found
221
221
  */
222
- ErrorCode["FEATURE_DISABLED"] = "FEATURE_DISABLED";
222
+ FEATURE_DISABLED: 'FEATURE_DISABLED',
223
223
  /**
224
224
  * The request does not have valid authentication (AuthN) credentials for the operation.
225
225
  *
@@ -240,7 +240,7 @@ export var ErrorCode;
240
240
  * - google.rpc.Code: UNAUTHENTICATED = 16;
241
241
  * - HTTP code: 401 Unauthorized
242
242
  */
243
- ErrorCode["CUSTOMER_UNAUTHORIZED"] = "CUSTOMER_UNAUTHORIZED";
243
+ CUSTOMER_UNAUTHORIZED: 'CUSTOMER_UNAUTHORIZED',
244
244
  /**
245
245
  * The operation is rejected because of request rate limit, for example rate limiting applied to
246
246
  * users, workspaces, IP addresses, etc.
@@ -254,16 +254,16 @@ export var ErrorCode;
254
254
  * - google.rpc.Code: RESOURCE_EXHAUSTED = 8;
255
255
  * - HTTP code: 429 Too Many Requests
256
256
  */
257
- ErrorCode["REQUEST_LIMIT_EXCEEDED"] = "REQUEST_LIMIT_EXCEEDED";
257
+ REQUEST_LIMIT_EXCEEDED: 'REQUEST_LIMIT_EXCEEDED',
258
258
  /** Indicates API request was rejected due a conflict with an existing resource. */
259
- ErrorCode["RESOURCE_CONFLICT"] = "RESOURCE_CONFLICT";
259
+ RESOURCE_CONFLICT: 'RESOURCE_CONFLICT',
260
260
  /**
261
261
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
262
262
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
263
263
  * Indicates that the HTTP response cannot be correctly deserialized.
264
264
  * This currently is only used in DUST test clients, and not by any real service code.
265
265
  */
266
- ErrorCode["UNPARSEABLE_HTTP_ERROR"] = "UNPARSEABLE_HTTP_ERROR";
266
+ UNPARSEABLE_HTTP_ERROR: 'UNPARSEABLE_HTTP_ERROR',
267
267
  /**
268
268
  * The operation is not implemented or is not supported/enabled in this service.
269
269
  *
@@ -271,7 +271,7 @@ export var ErrorCode;
271
271
  * - google.rpc.Code: UNIMPLEMENTED = 12;
272
272
  * - HTTP code: 501 Not Implemented
273
273
  */
274
- ErrorCode["NOT_IMPLEMENTED"] = "NOT_IMPLEMENTED";
274
+ NOT_IMPLEMENTED: 'NOT_IMPLEMENTED',
275
275
  /**
276
276
  * Unrecoverable data loss or corruption.
277
277
  *
@@ -286,15 +286,15 @@ export var ErrorCode;
286
286
  * - google.rpc.Code: DATA_LOSS = 15;
287
287
  * - HTTP code: 500 Internal Server Error
288
288
  */
289
- ErrorCode["DATA_LOSS"] = "DATA_LOSS";
289
+ DATA_LOSS: 'DATA_LOSS',
290
290
  /** If the user attempts to perform an invalid state transition on a shard. */
291
- ErrorCode["INVALID_STATE_TRANSITION"] = "INVALID_STATE_TRANSITION";
291
+ INVALID_STATE_TRANSITION: 'INVALID_STATE_TRANSITION',
292
292
  /**
293
293
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
294
294
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
295
295
  * Unable to perform the operation because the shard was locked by some other operation.
296
296
  */
297
- ErrorCode["COULD_NOT_ACQUIRE_LOCK"] = "COULD_NOT_ACQUIRE_LOCK";
297
+ COULD_NOT_ACQUIRE_LOCK: 'COULD_NOT_ACQUIRE_LOCK',
298
298
  /**
299
299
  * NOTE: Deprecated, prefer using ALREADY_EXISTS.
300
300
  * Unlike ALREADY_EXISTS - this maps to HTTP code 400 Bad Request due to legacy reasons,
@@ -302,7 +302,7 @@ export var ErrorCode;
302
302
  *
303
303
  * Operation was performed on a resource that already exists.
304
304
  */
305
- ErrorCode["RESOURCE_ALREADY_EXISTS"] = "RESOURCE_ALREADY_EXISTS";
305
+ RESOURCE_ALREADY_EXISTS: 'RESOURCE_ALREADY_EXISTS',
306
306
  /**
307
307
  * NOTE: Deprecated, prefer using NOT_FOUND - see the note for the RESOURCE_ALREADY_EXISTS,
308
308
  * because this pair of codes is related and RESOURCE_ALREADY_EXISTS has bad mapping to the HTTP
@@ -310,381 +310,373 @@ export var ErrorCode;
310
310
  *
311
311
  * Operation was performed on a resource that does not exist.
312
312
  */
313
- ErrorCode["RESOURCE_DOES_NOT_EXIST"] = "RESOURCE_DOES_NOT_EXIST";
313
+ RESOURCE_DOES_NOT_EXIST: 'RESOURCE_DOES_NOT_EXIST',
314
314
  /**
315
315
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
316
316
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
317
317
  */
318
- ErrorCode["QUOTA_EXCEEDED"] = "QUOTA_EXCEEDED";
318
+ QUOTA_EXCEEDED: 'QUOTA_EXCEEDED',
319
319
  /**
320
320
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
321
321
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
322
322
  */
323
- ErrorCode["MAX_BLOCK_SIZE_EXCEEDED"] = "MAX_BLOCK_SIZE_EXCEEDED";
323
+ MAX_BLOCK_SIZE_EXCEEDED: 'MAX_BLOCK_SIZE_EXCEEDED',
324
324
  /**
325
325
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
326
326
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
327
327
  */
328
- ErrorCode["MAX_READ_SIZE_EXCEEDED"] = "MAX_READ_SIZE_EXCEEDED";
329
- ErrorCode["PARTIAL_DELETE"] = "PARTIAL_DELETE";
330
- ErrorCode["MAX_LIST_SIZE_EXCEEDED"] = "MAX_LIST_SIZE_EXCEEDED";
328
+ MAX_READ_SIZE_EXCEEDED: 'MAX_READ_SIZE_EXCEEDED',
329
+ PARTIAL_DELETE: 'PARTIAL_DELETE',
330
+ MAX_LIST_SIZE_EXCEEDED: 'MAX_LIST_SIZE_EXCEEDED',
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
- ErrorCode["DRY_RUN_FAILED"] = "DRY_RUN_FAILED";
335
+ DRY_RUN_FAILED: 'DRY_RUN_FAILED',
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
  * Cluster request was rejected because it would exceed a resource limit.
340
340
  */
341
- ErrorCode["RESOURCE_LIMIT_EXCEEDED"] = "RESOURCE_LIMIT_EXCEEDED";
341
+ RESOURCE_LIMIT_EXCEEDED: 'RESOURCE_LIMIT_EXCEEDED',
342
342
  /**
343
343
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
344
344
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
345
345
  */
346
- ErrorCode["DIRECTORY_NOT_EMPTY"] = "DIRECTORY_NOT_EMPTY";
346
+ DIRECTORY_NOT_EMPTY: 'DIRECTORY_NOT_EMPTY',
347
347
  /**
348
348
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
349
349
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
350
350
  */
351
- ErrorCode["DIRECTORY_PROTECTED"] = "DIRECTORY_PROTECTED";
351
+ DIRECTORY_PROTECTED: 'DIRECTORY_PROTECTED',
352
352
  /**
353
353
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
354
354
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
355
355
  */
356
- ErrorCode["MAX_NOTEBOOK_SIZE_EXCEEDED"] = "MAX_NOTEBOOK_SIZE_EXCEEDED";
357
- ErrorCode["MAX_CHILD_NODE_SIZE_EXCEEDED"] = "MAX_CHILD_NODE_SIZE_EXCEEDED";
356
+ MAX_NOTEBOOK_SIZE_EXCEEDED: 'MAX_NOTEBOOK_SIZE_EXCEEDED',
357
+ MAX_CHILD_NODE_SIZE_EXCEEDED: 'MAX_CHILD_NODE_SIZE_EXCEEDED',
358
358
  /**
359
359
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
360
360
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
361
361
  */
362
- ErrorCode["SEARCH_QUERY_TOO_LONG"] = "SEARCH_QUERY_TOO_LONG";
362
+ SEARCH_QUERY_TOO_LONG: 'SEARCH_QUERY_TOO_LONG',
363
363
  /**
364
364
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
365
365
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
366
366
  */
367
- ErrorCode["SEARCH_QUERY_TOO_SHORT"] = "SEARCH_QUERY_TOO_SHORT";
367
+ SEARCH_QUERY_TOO_SHORT: 'SEARCH_QUERY_TOO_SHORT',
368
368
  /**
369
369
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
370
370
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
371
371
  */
372
- ErrorCode["MANAGED_RESOURCE_GROUP_DOES_NOT_EXIST"] = "MANAGED_RESOURCE_GROUP_DOES_NOT_EXIST";
372
+ MANAGED_RESOURCE_GROUP_DOES_NOT_EXIST: 'MANAGED_RESOURCE_GROUP_DOES_NOT_EXIST',
373
373
  /**
374
374
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
375
375
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
376
376
  */
377
- ErrorCode["PERMISSION_NOT_PROPAGATED"] = "PERMISSION_NOT_PROPAGATED";
377
+ PERMISSION_NOT_PROPAGATED: 'PERMISSION_NOT_PROPAGATED',
378
378
  /**
379
379
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
380
380
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
381
381
  */
382
- ErrorCode["DEPLOYMENT_TIMEOUT"] = "DEPLOYMENT_TIMEOUT";
382
+ DEPLOYMENT_TIMEOUT: 'DEPLOYMENT_TIMEOUT',
383
383
  /**
384
384
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
385
385
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
386
386
  */
387
- ErrorCode["GIT_CONFLICT"] = "GIT_CONFLICT";
387
+ GIT_CONFLICT: 'GIT_CONFLICT',
388
388
  /**
389
389
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
390
390
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
391
391
  */
392
- ErrorCode["GIT_UNKNOWN_REF"] = "GIT_UNKNOWN_REF";
392
+ GIT_UNKNOWN_REF: 'GIT_UNKNOWN_REF',
393
393
  /**
394
394
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
395
395
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
396
396
  */
397
- ErrorCode["GIT_SENSITIVE_TOKEN_DETECTED"] = "GIT_SENSITIVE_TOKEN_DETECTED";
397
+ GIT_SENSITIVE_TOKEN_DETECTED: 'GIT_SENSITIVE_TOKEN_DETECTED',
398
398
  /**
399
399
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
400
400
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
401
401
  */
402
- ErrorCode["GIT_URL_NOT_ON_ALLOW_LIST"] = "GIT_URL_NOT_ON_ALLOW_LIST";
402
+ GIT_URL_NOT_ON_ALLOW_LIST: 'GIT_URL_NOT_ON_ALLOW_LIST',
403
403
  /**
404
404
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
405
405
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
406
406
  */
407
- ErrorCode["GIT_REMOTE_ERROR"] = "GIT_REMOTE_ERROR";
407
+ GIT_REMOTE_ERROR: 'GIT_REMOTE_ERROR',
408
408
  /**
409
409
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
410
410
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
411
411
  */
412
- ErrorCode["PROJECTS_OPERATION_TIMEOUT"] = "PROJECTS_OPERATION_TIMEOUT";
412
+ PROJECTS_OPERATION_TIMEOUT: 'PROJECTS_OPERATION_TIMEOUT',
413
413
  /**
414
414
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
415
415
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
416
416
  */
417
- ErrorCode["IPYNB_FILE_IN_REPO"] = "IPYNB_FILE_IN_REPO";
417
+ IPYNB_FILE_IN_REPO: 'IPYNB_FILE_IN_REPO',
418
418
  /**
419
419
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
420
420
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
421
421
  */
422
- ErrorCode["INSECURE_PARTNER_RESPONSE"] = "INSECURE_PARTNER_RESPONSE";
422
+ INSECURE_PARTNER_RESPONSE: 'INSECURE_PARTNER_RESPONSE',
423
423
  /**
424
424
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
425
425
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
426
426
  */
427
- ErrorCode["MALFORMED_PARTNER_RESPONSE"] = "MALFORMED_PARTNER_RESPONSE";
428
- ErrorCode["METASTORE_DOES_NOT_EXIST"] = "METASTORE_DOES_NOT_EXIST";
427
+ MALFORMED_PARTNER_RESPONSE: 'MALFORMED_PARTNER_RESPONSE',
428
+ METASTORE_DOES_NOT_EXIST: 'METASTORE_DOES_NOT_EXIST',
429
429
  /**
430
430
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
431
431
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
432
432
  */
433
- ErrorCode["DAC_DOES_NOT_EXIST"] = "DAC_DOES_NOT_EXIST";
434
- ErrorCode["CATALOG_DOES_NOT_EXIST"] = "CATALOG_DOES_NOT_EXIST";
435
- ErrorCode["SCHEMA_DOES_NOT_EXIST"] = "SCHEMA_DOES_NOT_EXIST";
436
- ErrorCode["TABLE_DOES_NOT_EXIST"] = "TABLE_DOES_NOT_EXIST";
437
- ErrorCode["SHARE_DOES_NOT_EXIST"] = "SHARE_DOES_NOT_EXIST";
438
- ErrorCode["RECIPIENT_DOES_NOT_EXIST"] = "RECIPIENT_DOES_NOT_EXIST";
439
- ErrorCode["STORAGE_CREDENTIAL_DOES_NOT_EXIST"] = "STORAGE_CREDENTIAL_DOES_NOT_EXIST";
440
- ErrorCode["EXTERNAL_LOCATION_DOES_NOT_EXIST"] = "EXTERNAL_LOCATION_DOES_NOT_EXIST";
441
- ErrorCode["PRINCIPAL_DOES_NOT_EXIST"] = "PRINCIPAL_DOES_NOT_EXIST";
442
- ErrorCode["PROVIDER_DOES_NOT_EXIST"] = "PROVIDER_DOES_NOT_EXIST";
433
+ DAC_DOES_NOT_EXIST: 'DAC_DOES_NOT_EXIST',
434
+ CATALOG_DOES_NOT_EXIST: 'CATALOG_DOES_NOT_EXIST',
435
+ SCHEMA_DOES_NOT_EXIST: 'SCHEMA_DOES_NOT_EXIST',
436
+ TABLE_DOES_NOT_EXIST: 'TABLE_DOES_NOT_EXIST',
437
+ SHARE_DOES_NOT_EXIST: 'SHARE_DOES_NOT_EXIST',
438
+ RECIPIENT_DOES_NOT_EXIST: 'RECIPIENT_DOES_NOT_EXIST',
439
+ STORAGE_CREDENTIAL_DOES_NOT_EXIST: 'STORAGE_CREDENTIAL_DOES_NOT_EXIST',
440
+ EXTERNAL_LOCATION_DOES_NOT_EXIST: 'EXTERNAL_LOCATION_DOES_NOT_EXIST',
441
+ PRINCIPAL_DOES_NOT_EXIST: 'PRINCIPAL_DOES_NOT_EXIST',
442
+ PROVIDER_DOES_NOT_EXIST: 'PROVIDER_DOES_NOT_EXIST',
443
443
  /**
444
444
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
445
445
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
446
446
  */
447
- ErrorCode["METASTORE_ALREADY_EXISTS"] = "METASTORE_ALREADY_EXISTS";
447
+ METASTORE_ALREADY_EXISTS: 'METASTORE_ALREADY_EXISTS',
448
448
  /**
449
449
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
450
450
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
451
451
  */
452
- ErrorCode["DAC_ALREADY_EXISTS"] = "DAC_ALREADY_EXISTS";
452
+ DAC_ALREADY_EXISTS: 'DAC_ALREADY_EXISTS',
453
453
  /**
454
454
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
455
455
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
456
456
  */
457
- ErrorCode["CATALOG_ALREADY_EXISTS"] = "CATALOG_ALREADY_EXISTS";
457
+ CATALOG_ALREADY_EXISTS: 'CATALOG_ALREADY_EXISTS',
458
458
  /**
459
459
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
460
460
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
461
461
  */
462
- ErrorCode["SCHEMA_ALREADY_EXISTS"] = "SCHEMA_ALREADY_EXISTS";
462
+ SCHEMA_ALREADY_EXISTS: 'SCHEMA_ALREADY_EXISTS',
463
463
  /**
464
464
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
465
465
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
466
466
  */
467
- ErrorCode["TABLE_ALREADY_EXISTS"] = "TABLE_ALREADY_EXISTS";
467
+ TABLE_ALREADY_EXISTS: 'TABLE_ALREADY_EXISTS',
468
468
  /**
469
469
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
470
470
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
471
471
  */
472
- ErrorCode["SHARE_ALREADY_EXISTS"] = "SHARE_ALREADY_EXISTS";
472
+ SHARE_ALREADY_EXISTS: 'SHARE_ALREADY_EXISTS',
473
473
  /**
474
474
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
475
475
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
476
476
  */
477
- ErrorCode["RECIPIENT_ALREADY_EXISTS"] = "RECIPIENT_ALREADY_EXISTS";
477
+ RECIPIENT_ALREADY_EXISTS: 'RECIPIENT_ALREADY_EXISTS',
478
478
  /**
479
479
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
480
480
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
481
481
  */
482
- ErrorCode["STORAGE_CREDENTIAL_ALREADY_EXISTS"] = "STORAGE_CREDENTIAL_ALREADY_EXISTS";
482
+ STORAGE_CREDENTIAL_ALREADY_EXISTS: 'STORAGE_CREDENTIAL_ALREADY_EXISTS',
483
483
  /**
484
484
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
485
485
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
486
486
  */
487
- ErrorCode["EXTERNAL_LOCATION_ALREADY_EXISTS"] = "EXTERNAL_LOCATION_ALREADY_EXISTS";
487
+ EXTERNAL_LOCATION_ALREADY_EXISTS: 'EXTERNAL_LOCATION_ALREADY_EXISTS',
488
488
  /**
489
489
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
490
490
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
491
491
  */
492
- ErrorCode["PROVIDER_ALREADY_EXISTS"] = "PROVIDER_ALREADY_EXISTS";
492
+ PROVIDER_ALREADY_EXISTS: 'PROVIDER_ALREADY_EXISTS',
493
493
  /**
494
494
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
495
495
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
496
496
  */
497
- ErrorCode["CATALOG_NOT_EMPTY"] = "CATALOG_NOT_EMPTY";
497
+ CATALOG_NOT_EMPTY: 'CATALOG_NOT_EMPTY',
498
498
  /**
499
499
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
500
500
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
501
501
  */
502
- ErrorCode["SCHEMA_NOT_EMPTY"] = "SCHEMA_NOT_EMPTY";
502
+ SCHEMA_NOT_EMPTY: 'SCHEMA_NOT_EMPTY',
503
503
  /**
504
504
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
505
505
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
506
506
  */
507
- ErrorCode["METASTORE_NOT_EMPTY"] = "METASTORE_NOT_EMPTY";
507
+ METASTORE_NOT_EMPTY: 'METASTORE_NOT_EMPTY',
508
508
  /**
509
509
  * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
510
510
  * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
511
511
  */
512
- ErrorCode["PROVIDER_SHARE_NOT_ACCESSIBLE"] = "PROVIDER_SHARE_NOT_ACCESSIBLE";
513
- })(ErrorCode || (ErrorCode = {}));
512
+ PROVIDER_SHARE_NOT_ACCESSIBLE: 'PROVIDER_SHARE_NOT_ACCESSIBLE',
513
+ };
514
514
  /** The current phase of the data synchronization pipeline. */
515
- export var ProvisioningPhase;
516
- (function (ProvisioningPhase) {
515
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
516
+ export const ProvisioningPhase = {
517
517
  /** The default phase. It should not be reported by any synced tables. */
518
- ProvisioningPhase["PROVISIONING_PHASE_UNSPECIFIED"] = "PROVISIONING_PHASE_UNSPECIFIED";
518
+ PROVISIONING_PHASE_UNSPECIFIED: 'PROVISIONING_PHASE_UNSPECIFIED',
519
519
  /** Ingestion phase of the synced table. This is when the synced table is ingesting data from the delta table. */
520
- ProvisioningPhase["PROVISIONING_PHASE_MAIN"] = "PROVISIONING_PHASE_MAIN";
520
+ PROVISIONING_PHASE_MAIN: 'PROVISIONING_PHASE_MAIN',
521
521
  /** Index scan phase of the synced table. This is when the synced table is creating indexes on the ingested data. */
522
- ProvisioningPhase["PROVISIONING_PHASE_INDEX_SCAN"] = "PROVISIONING_PHASE_INDEX_SCAN";
522
+ PROVISIONING_PHASE_INDEX_SCAN: 'PROVISIONING_PHASE_INDEX_SCAN',
523
523
  /** Index sort phase of the synced table. This is when the synced table is creating indexes on the ingested data. */
524
- ProvisioningPhase["PROVISIONING_PHASE_INDEX_SORT"] = "PROVISIONING_PHASE_INDEX_SORT";
525
- })(ProvisioningPhase || (ProvisioningPhase = {}));
524
+ PROVISIONING_PHASE_INDEX_SORT: 'PROVISIONING_PHASE_INDEX_SORT',
525
+ };
526
526
  /** The state of a synced table. */
527
- export var SyncedTableState;
528
- (function (SyncedTableState) {
527
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
528
+ export const SyncedTableState = {
529
529
  /** The default state. It should not be reported by any synced tables. */
530
- SyncedTableState["SYNCED_TABLE_STATE_UNSPECIFIED"] = "SYNCED_TABLE_STATE_UNSPECIFIED";
530
+ SYNCED_TABLE_STATE_UNSPECIFIED: 'SYNCED_TABLE_STATE_UNSPECIFIED',
531
531
  /**
532
532
  * The synced table has just been created and resources are being provisioned. This is also the
533
533
  * catch-all state if there is not a more suitable state to report for the synced table.
534
534
  */
535
- SyncedTableState["SYNCED_TABLE_PROVISIONING"] = "SYNCED_TABLE_PROVISIONING";
535
+ SYNCED_TABLE_PROVISIONING: 'SYNCED_TABLE_PROVISIONING',
536
536
  /** The synced table is provisioning resources for the data synchronization pipeline. */
537
- SyncedTableState["SYNCED_TABLE_PROVISIONING_PIPELINE_RESOURCES"] = "SYNCED_TABLE_PROVISIONING_PIPELINE_RESOURCES";
537
+ SYNCED_TABLE_PROVISIONING_PIPELINE_RESOURCES: 'SYNCED_TABLE_PROVISIONING_PIPELINE_RESOURCES',
538
538
  /** The synced table is executing the initial data synchronization. */
539
- SyncedTableState["SYNCED_TABLE_PROVISIONING_INITIAL_SNAPSHOT"] = "SYNCED_TABLE_PROVISIONING_INITIAL_SNAPSHOT";
539
+ SYNCED_TABLE_PROVISIONING_INITIAL_SNAPSHOT: 'SYNCED_TABLE_PROVISIONING_INITIAL_SNAPSHOT',
540
540
  /** The synced table is ready to serve data. */
541
- SyncedTableState["SYNCED_TABLE_ONLINE"] = "SYNCED_TABLE_ONLINE";
541
+ SYNCED_TABLE_ONLINE: 'SYNCED_TABLE_ONLINE',
542
542
  /**
543
543
  * The synced table is ready to serve data and is continuously updating. Only shown for synced
544
544
  * tables using the "Continuous" sync mode.
545
545
  */
546
- SyncedTableState["SYNCED_TABLE_ONLINE_CONTINUOUS_UPDATE"] = "SYNCED_TABLE_ONLINE_CONTINUOUS_UPDATE";
546
+ SYNCED_TABLE_ONLINE_CONTINUOUS_UPDATE: 'SYNCED_TABLE_ONLINE_CONTINUOUS_UPDATE',
547
547
  /**
548
548
  * The synced table is ready to serve data and an active update is in progress. Only shown for
549
549
  * synced tables using the "Triggered" sync mode.
550
550
  */
551
- SyncedTableState["SYNCED_TABLE_ONLINE_TRIGGERED_UPDATE"] = "SYNCED_TABLE_ONLINE_TRIGGERED_UPDATE";
551
+ SYNCED_TABLE_ONLINE_TRIGGERED_UPDATE: 'SYNCED_TABLE_ONLINE_TRIGGERED_UPDATE',
552
552
  /**
553
553
  * The synced table is ready to serve data and there are no active updates. Only shown for synced
554
554
  * tables using the "Triggered" sync mode.
555
555
  */
556
- SyncedTableState["SYNCED_TABLE_ONLINE_NO_PENDING_UPDATE"] = "SYNCED_TABLE_ONLINE_NO_PENDING_UPDATE";
556
+ SYNCED_TABLE_ONLINE_NO_PENDING_UPDATE: 'SYNCED_TABLE_ONLINE_NO_PENDING_UPDATE',
557
557
  /** The synced table has encountered an internal error and is not available for serving. */
558
- SyncedTableState["SYNCED_TABLE_OFFLINE"] = "SYNCED_TABLE_OFFLINE";
558
+ SYNCED_TABLE_OFFLINE: 'SYNCED_TABLE_OFFLINE',
559
559
  /**
560
560
  * The synced table is not available for serving because the data synchronization pipeline has
561
561
  * failed. Please review the pipeline event logs to troubleshoot.
562
562
  */
563
- SyncedTableState["SYNCED_TABLE_OFFLINE_FAILED"] = "SYNCED_TABLE_OFFLINE_FAILED";
563
+ SYNCED_TABLE_OFFLINE_FAILED: 'SYNCED_TABLE_OFFLINE_FAILED',
564
564
  /**
565
565
  * The data synchronization pipeline has encountered an error but the synced table is still
566
566
  * available for serving (potentially stale) data. Please review the pipeline event logs to
567
567
  * troubleshoot.
568
568
  */
569
- SyncedTableState["SYNCED_TABLE_ONLINE_PIPELINE_FAILED"] = "SYNCED_TABLE_ONLINE_PIPELINE_FAILED";
569
+ SYNCED_TABLE_ONLINE_PIPELINE_FAILED: 'SYNCED_TABLE_ONLINE_PIPELINE_FAILED',
570
570
  /**
571
571
  * The synced table is available for serving, and is provisioning resources for a newly started
572
572
  * data synchronization pipeline.
573
573
  */
574
- SyncedTableState["SYNCED_TABLE_ONLINE_UPDATING_PIPELINE_RESOURCES"] = "SYNCED_TABLE_ONLINE_UPDATING_PIPELINE_RESOURCES";
575
- })(SyncedTableState || (SyncedTableState = {}));
574
+ SYNCED_TABLE_ONLINE_UPDATING_PIPELINE_RESOURCES: 'SYNCED_TABLE_ONLINE_UPDATING_PIPELINE_RESOURCES',
575
+ };
576
576
  /** The state of the branch. */
577
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.
578
- export var BranchStatus_State;
579
- (function (BranchStatus_State) {
577
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
578
+ export const BranchStatus_State = {
580
579
  /** Default value, not used. */
581
- BranchStatus_State["STATE_UNSPECIFIED"] = "STATE_UNSPECIFIED";
580
+ STATE_UNSPECIFIED: 'STATE_UNSPECIFIED',
582
581
  /** The branch is being created but is not yet available for querying. */
583
- BranchStatus_State["INIT"] = "INIT";
582
+ INIT: 'INIT',
584
583
  /** The branch is being imported and is not yet available for querying. */
585
- BranchStatus_State["IMPORTING"] = "IMPORTING";
584
+ IMPORTING: 'IMPORTING',
586
585
  /** The branch is being reset to a specific point in time or LSN and is not yet available for querying. */
587
- BranchStatus_State["RESETTING"] = "RESETTING";
586
+ RESETTING: 'RESETTING',
588
587
  /** The branch is fully operational and ready for querying. */
589
- BranchStatus_State["READY"] = "READY";
588
+ READY: 'READY',
590
589
  /** The branch is stored in cost-effective archival storage. Expect slow query response times. */
591
- BranchStatus_State["ARCHIVED"] = "ARCHIVED";
590
+ ARCHIVED: 'ARCHIVED',
592
591
  /** The branch is deleted and is not available for querying, but can be undeleted. */
593
- BranchStatus_State["DELETED"] = "DELETED";
594
- })(BranchStatus_State || (BranchStatus_State = {}));
592
+ DELETED: 'DELETED',
593
+ };
595
594
  /** The state of the compute endpoint. */
596
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.
597
- export var EndpointStatus_State;
598
- (function (EndpointStatus_State) {
595
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
596
+ export const EndpointStatus_State = {
599
597
  /** Default value, not used */
600
- EndpointStatus_State["STATE_UNSPECIFIED"] = "STATE_UNSPECIFIED";
601
- EndpointStatus_State["INIT"] = "INIT";
602
- EndpointStatus_State["ACTIVE"] = "ACTIVE";
603
- EndpointStatus_State["IDLE"] = "IDLE";
604
- EndpointStatus_State["DEGRADED"] = "DEGRADED";
605
- })(EndpointStatus_State || (EndpointStatus_State = {}));
606
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.
607
- export var ProvisioningInfo_State;
608
- (function (ProvisioningInfo_State) {
609
- ProvisioningInfo_State["STATE_UNSPECIFIED"] = "STATE_UNSPECIFIED";
610
- ProvisioningInfo_State["PROVISIONING"] = "PROVISIONING";
611
- ProvisioningInfo_State["ACTIVE"] = "ACTIVE";
612
- ProvisioningInfo_State["FAILED"] = "FAILED";
613
- ProvisioningInfo_State["DELETING"] = "DELETING";
614
- ProvisioningInfo_State["UPDATING"] = "UPDATING";
615
- ProvisioningInfo_State["DEGRADED"] = "DEGRADED";
616
- })(ProvisioningInfo_State || (ProvisioningInfo_State = {}));
617
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.
618
- export var RequestedClaims_PermissionSet;
619
- (function (RequestedClaims_PermissionSet) {
620
- RequestedClaims_PermissionSet["PERMISSION_SET_UNSPECIFIED"] = "PERMISSION_SET_UNSPECIFIED";
621
- RequestedClaims_PermissionSet["READ_ONLY"] = "READ_ONLY";
622
- })(RequestedClaims_PermissionSet || (RequestedClaims_PermissionSet = {}));
598
+ STATE_UNSPECIFIED: 'STATE_UNSPECIFIED',
599
+ INIT: 'INIT',
600
+ ACTIVE: 'ACTIVE',
601
+ IDLE: 'IDLE',
602
+ DEGRADED: 'DEGRADED',
603
+ };
604
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
605
+ export const ProvisioningInfo_State = {
606
+ STATE_UNSPECIFIED: 'STATE_UNSPECIFIED',
607
+ PROVISIONING: 'PROVISIONING',
608
+ ACTIVE: 'ACTIVE',
609
+ FAILED: 'FAILED',
610
+ DELETING: 'DELETING',
611
+ UPDATING: 'UPDATING',
612
+ DEGRADED: 'DEGRADED',
613
+ };
614
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
615
+ export const RequestedClaims_PermissionSet = {
616
+ PERMISSION_SET_UNSPECIFIED: 'PERMISSION_SET_UNSPECIFIED',
617
+ READ_ONLY: 'READ_ONLY',
618
+ };
623
619
  /** How the role is authenticated when connecting to Postgres. */
624
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.
625
- export var Role_AuthMethod;
626
- (function (Role_AuthMethod) {
627
- Role_AuthMethod["AUTH_METHOD_UNSPECIFIED"] = "AUTH_METHOD_UNSPECIFIED";
620
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
621
+ export const Role_AuthMethod = {
622
+ AUTH_METHOD_UNSPECIFIED: 'AUTH_METHOD_UNSPECIFIED',
628
623
  /** NO_LOGIN means this role cannot be used for interactive access */
629
- Role_AuthMethod["NO_LOGIN"] = "NO_LOGIN";
624
+ NO_LOGIN: 'NO_LOGIN',
630
625
  /** PG_PASSWORD_SCRAM_SHA_256 is a password-based authentication */
631
- Role_AuthMethod["PG_PASSWORD_SCRAM_SHA_256"] = "PG_PASSWORD_SCRAM_SHA_256";
626
+ PG_PASSWORD_SCRAM_SHA_256: 'PG_PASSWORD_SCRAM_SHA_256',
632
627
  /**
633
628
  * LAKEBASE_OAUTH_V1 is for logging in with the managed identities like
634
629
  * the <Databricks> service principal, <Databricks> Group or <Databricks> user.
635
630
  */
636
- Role_AuthMethod["LAKEBASE_OAUTH_V1"] = "LAKEBASE_OAUTH_V1";
637
- })(Role_AuthMethod || (Role_AuthMethod = {}));
631
+ LAKEBASE_OAUTH_V1: 'LAKEBASE_OAUTH_V1',
632
+ };
638
633
  /**
639
634
  * The type of the <Databricks> managed identity that this Role represents.
640
635
  * Leave empty if you wish to create a regular Postgres role not associated with a <Databricks> identity.
641
636
  */
642
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.
643
- export var Role_IdentityType;
644
- (function (Role_IdentityType) {
637
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
638
+ export const Role_IdentityType = {
645
639
  /** Default value, not used */
646
- Role_IdentityType["IDENTITY_TYPE_UNSPECIFIED"] = "IDENTITY_TYPE_UNSPECIFIED";
640
+ IDENTITY_TYPE_UNSPECIFIED: 'IDENTITY_TYPE_UNSPECIFIED',
647
641
  /** A user in a <Databricks> workspace. */
648
- Role_IdentityType["USER"] = "USER";
642
+ USER: 'USER',
649
643
  /** A service principal in a <Databricks> workspace. */
650
- Role_IdentityType["SERVICE_PRINCIPAL"] = "SERVICE_PRINCIPAL";
644
+ SERVICE_PRINCIPAL: 'SERVICE_PRINCIPAL',
651
645
  /** A group in a <Databricks> workspace. */
652
- Role_IdentityType["GROUP"] = "GROUP";
653
- })(Role_IdentityType || (Role_IdentityType = {}));
646
+ GROUP: 'GROUP',
647
+ };
654
648
  /** Roles that the DatabaseInstanceRole can be a member of. */
655
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.
656
- export var Role_MembershipRole;
657
- (function (Role_MembershipRole) {
649
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
650
+ export const Role_MembershipRole = {
658
651
  /** Indicates that the DatabaseInstanceRole is not a member of any standard, managed roles. */
659
- Role_MembershipRole["MEMBERSHIP_ROLE_UNSPECIFIED"] = "MEMBERSHIP_ROLE_UNSPECIFIED";
652
+ MEMBERSHIP_ROLE_UNSPECIFIED: 'MEMBERSHIP_ROLE_UNSPECIFIED',
660
653
  /** Indicates membership in DATABRICKS_SUPERUSER, the highest set of privileges exposed to customers. */
661
- Role_MembershipRole["DATABRICKS_SUPERUSER"] = "DATABRICKS_SUPERUSER";
662
- })(Role_MembershipRole || (Role_MembershipRole = {}));
654
+ DATABRICKS_SUPERUSER: 'DATABRICKS_SUPERUSER',
655
+ };
663
656
  /** Scheduling policy of the synced table's underlying pipeline. */
664
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.
665
- export var SyncedTable_SyncedTableSpec_SyncedTableSchedulingPolicy;
666
- (function (SyncedTable_SyncedTableSpec_SyncedTableSchedulingPolicy) {
667
- SyncedTable_SyncedTableSpec_SyncedTableSchedulingPolicy["SYNCED_TABLE_SCHEDULING_POLICY_UNSPECIFIED"] = "SYNCED_TABLE_SCHEDULING_POLICY_UNSPECIFIED";
657
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
658
+ export const SyncedTable_SyncedTableSpec_SyncedTableSchedulingPolicy = {
659
+ SYNCED_TABLE_SCHEDULING_POLICY_UNSPECIFIED: 'SYNCED_TABLE_SCHEDULING_POLICY_UNSPECIFIED',
668
660
  /**
669
661
  * Pipeline runs continuously after generating the initial data.
670
662
  * Requires the source table to have Change Data Feed (CDF) enabled.
671
663
  */
672
- SyncedTable_SyncedTableSpec_SyncedTableSchedulingPolicy["CONTINUOUS"] = "CONTINUOUS";
664
+ CONTINUOUS: 'CONTINUOUS',
673
665
  /**
674
666
  * Pipeline stops after generating the initial data and can be triggered later (manually, through a cron job or through data triggers).
675
667
  * Requires the source table to have Change Data Feed (CDF) enabled.
676
668
  */
677
- SyncedTable_SyncedTableSpec_SyncedTableSchedulingPolicy["TRIGGERED"] = "TRIGGERED";
669
+ TRIGGERED: 'TRIGGERED',
678
670
  /**
679
671
  * Pipeline stops after generating the initial data and can be triggered later (manually, through a cron job or through data triggers).
680
672
  * Successive updates always perform a full copy of the source table data (no incremental updates).
681
673
  * Does not require the source table to have Change Data Feed (CDF) enabled.
682
674
  */
683
- SyncedTable_SyncedTableSpec_SyncedTableSchedulingPolicy["SNAPSHOT"] = "SNAPSHOT";
684
- })(SyncedTable_SyncedTableSpec_SyncedTableSchedulingPolicy || (SyncedTable_SyncedTableSpec_SyncedTableSchedulingPolicy = {}));
675
+ SNAPSHOT: 'SNAPSHOT',
676
+ };
685
677
  export const unmarshalApiErrorSchema = z
686
678
  .object({
687
- error_code: z.enum(ErrorCode).optional(),
679
+ error_code: z.string().optional(),
688
680
  message: z.string().optional(),
689
681
  stack_trace: z.string().optional(),
690
682
  details: z.array(z.record(z.string(), z.unknown())).optional(),
@@ -710,6 +702,7 @@ export const unmarshalBranchSchema = z
710
702
  .optional(),
711
703
  spec: z.lazy(() => unmarshalBranchSpecSchema).optional(),
712
704
  status: z.lazy(() => unmarshalBranchStatusSchema).optional(),
705
+ branch_id: z.string().optional(),
713
706
  })
714
707
  .transform(d => ({
715
708
  name: d.name,
@@ -719,6 +712,7 @@ export const unmarshalBranchSchema = z
719
712
  updateTime: d.update_time,
720
713
  spec: d.spec,
721
714
  status: d.status,
715
+ branchId: d.branch_id,
722
716
  }));
723
717
  export const unmarshalBranchOperationMetadataSchema = z.object({});
724
718
  export const unmarshalBranchSpecSchema = z
@@ -763,8 +757,8 @@ export const unmarshalBranchStatusSchema = z
763
757
  .optional(),
764
758
  default: z.boolean().optional(),
765
759
  is_protected: z.boolean().optional(),
766
- current_state: z.enum(BranchStatus_State).optional(),
767
- pending_state: z.enum(BranchStatus_State).optional(),
760
+ current_state: z.string().optional(),
761
+ pending_state: z.string().optional(),
768
762
  state_change_time: z
769
763
  .string()
770
764
  .transform(s => Temporal.Instant.from(s))
@@ -816,6 +810,7 @@ export const unmarshalCatalogSchema = z
816
810
  .string()
817
811
  .transform(s => Temporal.Instant.from(s))
818
812
  .optional(),
813
+ catalog_id: z.string().optional(),
819
814
  })
820
815
  .transform(d => ({
821
816
  name: d.name,
@@ -824,6 +819,7 @@ export const unmarshalCatalogSchema = z
824
819
  status: d.status,
825
820
  createTime: d.create_time,
826
821
  updateTime: d.update_time,
822
+ catalogId: d.catalog_id,
827
823
  }));
828
824
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
829
825
  export const unmarshalCatalog_CatalogSpecSchema = z
@@ -864,6 +860,7 @@ export const unmarshalDatabaseSchema = z
864
860
  .optional(),
865
861
  spec: z.lazy(() => unmarshalDatabase_DatabaseSpecSchema).optional(),
866
862
  status: z.lazy(() => unmarshalDatabase_DatabaseStatusSchema).optional(),
863
+ database_id: z.string().optional(),
867
864
  })
868
865
  .transform(d => ({
869
866
  name: d.name,
@@ -872,6 +869,7 @@ export const unmarshalDatabaseSchema = z
872
869
  updateTime: d.update_time,
873
870
  spec: d.spec,
874
871
  status: d.status,
872
+ databaseId: d.database_id,
875
873
  }));
876
874
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
877
875
  export const unmarshalDatabase_DatabaseSpecSchema = z
@@ -938,6 +936,7 @@ export const unmarshalEndpointSchema = z
938
936
  .optional(),
939
937
  spec: z.lazy(() => unmarshalEndpointSpecSchema).optional(),
940
938
  status: z.lazy(() => unmarshalEndpointStatusSchema).optional(),
939
+ endpoint_id: z.string().optional(),
941
940
  })
942
941
  .transform(d => ({
943
942
  name: d.name,
@@ -947,6 +946,7 @@ export const unmarshalEndpointSchema = z
947
946
  updateTime: d.update_time,
948
947
  spec: d.spec,
949
948
  status: d.status,
949
+ endpointId: d.endpoint_id,
950
950
  }));
951
951
  export const unmarshalEndpointGroupSpecSchema = z
952
952
  .object({
@@ -989,7 +989,7 @@ export const unmarshalEndpointSettingsSchema = z
989
989
  }));
990
990
  export const unmarshalEndpointSpecSchema = z
991
991
  .object({
992
- endpoint_type: z.enum(EndpointType).optional(),
992
+ endpoint_type: z.string().optional(),
993
993
  autoscaling_limit_min_cu: z.number().optional(),
994
994
  autoscaling_limit_max_cu: z.number().optional(),
995
995
  disabled: z.boolean().optional(),
@@ -1019,12 +1019,12 @@ export const unmarshalEndpointSpecSchema = z
1019
1019
  }));
1020
1020
  export const unmarshalEndpointStatusSchema = z
1021
1021
  .object({
1022
- endpoint_type: z.enum(EndpointType).optional(),
1022
+ endpoint_type: z.string().optional(),
1023
1023
  hosts: z.lazy(() => unmarshalEndpointHostsSchema).optional(),
1024
1024
  autoscaling_limit_min_cu: z.number().optional(),
1025
1025
  autoscaling_limit_max_cu: z.number().optional(),
1026
- current_state: z.enum(EndpointStatus_State).optional(),
1027
- pending_state: z.enum(EndpointStatus_State).optional(),
1026
+ current_state: z.string().optional(),
1027
+ pending_state: z.string().optional(),
1028
1028
  disabled: z.boolean().optional(),
1029
1029
  suspend_timeout_duration: z
1030
1030
  .string()
@@ -1153,6 +1153,7 @@ export const unmarshalProjectSchema = z
1153
1153
  .string()
1154
1154
  .transform(s => Temporal.Instant.from(s))
1155
1155
  .optional(),
1156
+ project_id: z.string().optional(),
1156
1157
  })
1157
1158
  .transform(d => ({
1158
1159
  name: d.name,
@@ -1164,6 +1165,7 @@ export const unmarshalProjectSchema = z
1164
1165
  initialEndpointSpec: d.initial_endpoint_spec,
1165
1166
  deleteTime: d.delete_time,
1166
1167
  purgeTime: d.purge_time,
1168
+ projectId: d.project_id,
1167
1169
  }));
1168
1170
  export const unmarshalProjectCustomTagSchema = z
1169
1171
  .object({
@@ -1283,6 +1285,7 @@ export const unmarshalRoleSchema = z
1283
1285
  .optional(),
1284
1286
  spec: z.lazy(() => unmarshalRole_RoleSpecSchema).optional(),
1285
1287
  status: z.lazy(() => unmarshalRole_RoleStatusSchema).optional(),
1288
+ role_id: z.string().optional(),
1286
1289
  })
1287
1290
  .transform(d => ({
1288
1291
  name: d.name,
@@ -1291,6 +1294,7 @@ export const unmarshalRoleSchema = z
1291
1294
  updateTime: d.update_time,
1292
1295
  spec: d.spec,
1293
1296
  status: d.status,
1297
+ roleId: d.role_id,
1294
1298
  }));
1295
1299
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1296
1300
  export const unmarshalRole_AttributesSchema = z
@@ -1307,10 +1311,10 @@ export const unmarshalRole_AttributesSchema = z
1307
1311
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1308
1312
  export const unmarshalRole_RoleSpecSchema = z
1309
1313
  .object({
1310
- membership_roles: z.array(z.enum(Role_MembershipRole)).optional(),
1311
- identity_type: z.enum(Role_IdentityType).optional(),
1314
+ membership_roles: z.array(z.string()).optional(),
1315
+ identity_type: z.string().optional(),
1312
1316
  attributes: z.lazy(() => unmarshalRole_AttributesSchema).optional(),
1313
- auth_method: z.enum(Role_AuthMethod).optional(),
1317
+ auth_method: z.string().optional(),
1314
1318
  postgres_role: z.string().optional(),
1315
1319
  })
1316
1320
  .transform(d => ({
@@ -1323,10 +1327,10 @@ export const unmarshalRole_RoleSpecSchema = z
1323
1327
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1324
1328
  export const unmarshalRole_RoleStatusSchema = z
1325
1329
  .object({
1326
- membership_roles: z.array(z.enum(Role_MembershipRole)).optional(),
1327
- identity_type: z.enum(Role_IdentityType).optional(),
1330
+ membership_roles: z.array(z.string()).optional(),
1331
+ identity_type: z.string().optional(),
1328
1332
  attributes: z.lazy(() => unmarshalRole_AttributesSchema).optional(),
1329
- auth_method: z.enum(Role_AuthMethod).optional(),
1333
+ auth_method: z.string().optional(),
1330
1334
  postgres_role: z.string().optional(),
1331
1335
  role_id: z.string().optional(),
1332
1336
  })
@@ -1351,6 +1355,7 @@ export const unmarshalSyncedTableSchema = z
1351
1355
  .string()
1352
1356
  .transform(s => Temporal.Instant.from(s))
1353
1357
  .optional(),
1358
+ synced_table_id: z.string().optional(),
1354
1359
  })
1355
1360
  .transform(d => ({
1356
1361
  name: d.name,
@@ -1358,15 +1363,14 @@ export const unmarshalSyncedTableSchema = z
1358
1363
  spec: d.spec,
1359
1364
  status: d.status,
1360
1365
  createTime: d.create_time,
1366
+ syncedTableId: d.synced_table_id,
1361
1367
  }));
1362
1368
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1363
1369
  export const unmarshalSyncedTable_SyncedTableSpecSchema = z
1364
1370
  .object({
1365
1371
  postgres_database: z.string().optional(),
1366
1372
  branch: z.string().optional(),
1367
- scheduling_policy: z
1368
- .enum(SyncedTable_SyncedTableSpec_SyncedTableSchedulingPolicy)
1369
- .optional(),
1373
+ scheduling_policy: z.string().optional(),
1370
1374
  source_table_full_name: z.string().optional(),
1371
1375
  primary_key_columns: z.array(z.string()).optional(),
1372
1376
  timeseries_key: z.string().optional(),
@@ -1391,12 +1395,12 @@ export const unmarshalSyncedTable_SyncedTableSpecSchema = z
1391
1395
  export const unmarshalSyncedTable_SyncedTableStatusSchema = z
1392
1396
  .object({
1393
1397
  message: z.string().optional(),
1394
- detailed_state: z.enum(SyncedTableState).optional(),
1398
+ detailed_state: z.string().optional(),
1395
1399
  last_sync: z.lazy(() => unmarshalSyncedTablePositionSchema).optional(),
1396
1400
  ongoing_sync_progress: z
1397
1401
  .lazy(() => unmarshalSyncedTablePipelineProgressSchema)
1398
1402
  .optional(),
1399
- provisioning_phase: z.enum(ProvisioningPhase).optional(),
1403
+ provisioning_phase: z.string().optional(),
1400
1404
  last_processed_commit_version: z
1401
1405
  .union([z.number(), z.bigint()])
1402
1406
  .transform(v => BigInt(v))
@@ -1406,9 +1410,7 @@ export const unmarshalSyncedTable_SyncedTableStatusSchema = z
1406
1410
  .transform(s => Temporal.Instant.from(s))
1407
1411
  .optional(),
1408
1412
  pipeline_id: z.string().optional(),
1409
- unity_catalog_provisioning_state: z
1410
- .enum(ProvisioningInfo_State)
1411
- .optional(),
1413
+ unity_catalog_provisioning_state: z.string().optional(),
1412
1414
  project: z.string().optional(),
1413
1415
  })
1414
1416
  .transform(d => ({
@@ -1487,6 +1489,7 @@ export const marshalBranchSchema = z
1487
1489
  .optional(),
1488
1490
  spec: z.lazy(() => marshalBranchSpecSchema).optional(),
1489
1491
  status: z.lazy(() => marshalBranchStatusSchema).optional(),
1492
+ branchId: z.string().optional(),
1490
1493
  })
1491
1494
  .transform(d => ({
1492
1495
  name: d.name,
@@ -1496,6 +1499,7 @@ export const marshalBranchSchema = z
1496
1499
  update_time: d.updateTime,
1497
1500
  spec: d.spec,
1498
1501
  status: d.status,
1502
+ branch_id: d.branchId,
1499
1503
  }));
1500
1504
  export const marshalBranchSpecSchema = z
1501
1505
  .object({
@@ -1545,8 +1549,8 @@ export const marshalBranchStatusSchema = z
1545
1549
  .optional(),
1546
1550
  default: z.boolean().optional(),
1547
1551
  isProtected: z.boolean().optional(),
1548
- currentState: z.enum(BranchStatus_State).optional(),
1549
- pendingState: z.enum(BranchStatus_State).optional(),
1552
+ currentState: z.string().optional(),
1553
+ pendingState: z.string().optional(),
1550
1554
  stateChangeTime: z
1551
1555
  .any()
1552
1556
  .transform((d) => d.toString())
@@ -1595,6 +1599,7 @@ export const marshalCatalogSchema = z
1595
1599
  .any()
1596
1600
  .transform((d) => d.toString())
1597
1601
  .optional(),
1602
+ catalogId: z.string().optional(),
1598
1603
  })
1599
1604
  .transform(d => ({
1600
1605
  name: d.name,
@@ -1603,6 +1608,7 @@ export const marshalCatalogSchema = z
1603
1608
  status: d.status,
1604
1609
  create_time: d.createTime,
1605
1610
  update_time: d.updateTime,
1611
+ catalog_id: d.catalogId,
1606
1612
  }));
1607
1613
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1608
1614
  export const marshalCatalog_CatalogSpecSchema = z
@@ -1642,6 +1648,7 @@ export const marshalDatabaseSchema = z
1642
1648
  .optional(),
1643
1649
  spec: z.lazy(() => marshalDatabase_DatabaseSpecSchema).optional(),
1644
1650
  status: z.lazy(() => marshalDatabase_DatabaseStatusSchema).optional(),
1651
+ databaseId: z.string().optional(),
1645
1652
  })
1646
1653
  .transform(d => ({
1647
1654
  name: d.name,
@@ -1650,6 +1657,7 @@ export const marshalDatabaseSchema = z
1650
1657
  update_time: d.updateTime,
1651
1658
  spec: d.spec,
1652
1659
  status: d.status,
1660
+ database_id: d.databaseId,
1653
1661
  }));
1654
1662
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1655
1663
  export const marshalDatabase_DatabaseSpecSchema = z
@@ -1700,6 +1708,7 @@ export const marshalEndpointSchema = z
1700
1708
  .optional(),
1701
1709
  spec: z.lazy(() => marshalEndpointSpecSchema).optional(),
1702
1710
  status: z.lazy(() => marshalEndpointStatusSchema).optional(),
1711
+ endpointId: z.string().optional(),
1703
1712
  })
1704
1713
  .transform(d => ({
1705
1714
  name: d.name,
@@ -1709,6 +1718,7 @@ export const marshalEndpointSchema = z
1709
1718
  update_time: d.updateTime,
1710
1719
  spec: d.spec,
1711
1720
  status: d.status,
1721
+ endpoint_id: d.endpointId,
1712
1722
  }));
1713
1723
  export const marshalEndpointGroupSpecSchema = z
1714
1724
  .object({
@@ -1750,7 +1760,7 @@ export const marshalEndpointSettingsSchema = z
1750
1760
  }));
1751
1761
  export const marshalEndpointSpecSchema = z
1752
1762
  .object({
1753
- endpointType: z.enum(EndpointType).optional(),
1763
+ endpointType: z.string().optional(),
1754
1764
  autoscalingLimitMinCu: z.number().optional(),
1755
1765
  autoscalingLimitMaxCu: z.number().optional(),
1756
1766
  disabled: z.boolean().optional(),
@@ -1784,12 +1794,12 @@ export const marshalEndpointSpecSchema = z
1784
1794
  }));
1785
1795
  export const marshalEndpointStatusSchema = z
1786
1796
  .object({
1787
- endpointType: z.enum(EndpointType).optional(),
1797
+ endpointType: z.string().optional(),
1788
1798
  hosts: z.lazy(() => marshalEndpointHostsSchema).optional(),
1789
1799
  autoscalingLimitMinCu: z.number().optional(),
1790
1800
  autoscalingLimitMaxCu: z.number().optional(),
1791
- currentState: z.enum(EndpointStatus_State).optional(),
1792
- pendingState: z.enum(EndpointStatus_State).optional(),
1801
+ currentState: z.string().optional(),
1802
+ pendingState: z.string().optional(),
1793
1803
  disabled: z.boolean().optional(),
1794
1804
  suspendTimeoutDuration: z
1795
1805
  .any()
@@ -1864,6 +1874,7 @@ export const marshalProjectSchema = z
1864
1874
  .any()
1865
1875
  .transform((d) => d.toString())
1866
1876
  .optional(),
1877
+ projectId: z.string().optional(),
1867
1878
  })
1868
1879
  .transform(d => ({
1869
1880
  name: d.name,
@@ -1875,6 +1886,7 @@ export const marshalProjectSchema = z
1875
1886
  initial_endpoint_spec: d.initialEndpointSpec,
1876
1887
  delete_time: d.deleteTime,
1877
1888
  purge_time: d.purgeTime,
1889
+ project_id: d.projectId,
1878
1890
  }));
1879
1891
  export const marshalProjectCustomTagSchema = z
1880
1892
  .object({
@@ -1975,7 +1987,7 @@ export const marshalProjectStatusSchema = z
1975
1987
  }));
1976
1988
  export const marshalRequestedClaimsSchema = z
1977
1989
  .object({
1978
- permissionSet: z.enum(RequestedClaims_PermissionSet).optional(),
1990
+ permissionSet: z.string().optional(),
1979
1991
  resources: z.array(z.lazy(() => marshalRequestedResourceSchema)).optional(),
1980
1992
  })
1981
1993
  .transform(d => ({
@@ -2009,6 +2021,7 @@ export const marshalRoleSchema = z
2009
2021
  .optional(),
2010
2022
  spec: z.lazy(() => marshalRole_RoleSpecSchema).optional(),
2011
2023
  status: z.lazy(() => marshalRole_RoleStatusSchema).optional(),
2024
+ roleId: z.string().optional(),
2012
2025
  })
2013
2026
  .transform(d => ({
2014
2027
  name: d.name,
@@ -2017,6 +2030,7 @@ export const marshalRoleSchema = z
2017
2030
  update_time: d.updateTime,
2018
2031
  spec: d.spec,
2019
2032
  status: d.status,
2033
+ role_id: d.roleId,
2020
2034
  }));
2021
2035
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
2022
2036
  export const marshalRole_AttributesSchema = z
@@ -2033,10 +2047,10 @@ export const marshalRole_AttributesSchema = z
2033
2047
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
2034
2048
  export const marshalRole_RoleSpecSchema = z
2035
2049
  .object({
2036
- membershipRoles: z.array(z.enum(Role_MembershipRole)).optional(),
2037
- identityType: z.enum(Role_IdentityType).optional(),
2050
+ membershipRoles: z.array(z.string()).optional(),
2051
+ identityType: z.string().optional(),
2038
2052
  attributes: z.lazy(() => marshalRole_AttributesSchema).optional(),
2039
- authMethod: z.enum(Role_AuthMethod).optional(),
2053
+ authMethod: z.string().optional(),
2040
2054
  postgresRole: z.string().optional(),
2041
2055
  })
2042
2056
  .transform(d => ({
@@ -2049,10 +2063,10 @@ export const marshalRole_RoleSpecSchema = z
2049
2063
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
2050
2064
  export const marshalRole_RoleStatusSchema = z
2051
2065
  .object({
2052
- membershipRoles: z.array(z.enum(Role_MembershipRole)).optional(),
2053
- identityType: z.enum(Role_IdentityType).optional(),
2066
+ membershipRoles: z.array(z.string()).optional(),
2067
+ identityType: z.string().optional(),
2054
2068
  attributes: z.lazy(() => marshalRole_AttributesSchema).optional(),
2055
- authMethod: z.enum(Role_AuthMethod).optional(),
2069
+ authMethod: z.string().optional(),
2056
2070
  postgresRole: z.string().optional(),
2057
2071
  roleId: z.string().optional(),
2058
2072
  })
@@ -2074,6 +2088,7 @@ export const marshalSyncedTableSchema = z
2074
2088
  .any()
2075
2089
  .transform((d) => d.toString())
2076
2090
  .optional(),
2091
+ syncedTableId: z.string().optional(),
2077
2092
  })
2078
2093
  .transform(d => ({
2079
2094
  name: d.name,
@@ -2081,15 +2096,14 @@ export const marshalSyncedTableSchema = z
2081
2096
  spec: d.spec,
2082
2097
  status: d.status,
2083
2098
  create_time: d.createTime,
2099
+ synced_table_id: d.syncedTableId,
2084
2100
  }));
2085
2101
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
2086
2102
  export const marshalSyncedTable_SyncedTableSpecSchema = z
2087
2103
  .object({
2088
2104
  postgresDatabase: z.string().optional(),
2089
2105
  branch: z.string().optional(),
2090
- schedulingPolicy: z
2091
- .enum(SyncedTable_SyncedTableSpec_SyncedTableSchedulingPolicy)
2092
- .optional(),
2106
+ schedulingPolicy: z.string().optional(),
2093
2107
  sourceTableFullName: z.string().optional(),
2094
2108
  primaryKeyColumns: z.array(z.string()).optional(),
2095
2109
  timeseriesKey: z.string().optional(),
@@ -2112,19 +2126,19 @@ export const marshalSyncedTable_SyncedTableSpecSchema = z
2112
2126
  export const marshalSyncedTable_SyncedTableStatusSchema = z
2113
2127
  .object({
2114
2128
  message: z.string().optional(),
2115
- detailedState: z.enum(SyncedTableState).optional(),
2129
+ detailedState: z.string().optional(),
2116
2130
  lastSync: z.lazy(() => marshalSyncedTablePositionSchema).optional(),
2117
2131
  ongoingSyncProgress: z
2118
2132
  .lazy(() => marshalSyncedTablePipelineProgressSchema)
2119
2133
  .optional(),
2120
- provisioningPhase: z.enum(ProvisioningPhase).optional(),
2134
+ provisioningPhase: z.string().optional(),
2121
2135
  lastProcessedCommitVersion: z.bigint().optional(),
2122
2136
  lastSyncTime: z
2123
2137
  .any()
2124
2138
  .transform((d) => d.toString())
2125
2139
  .optional(),
2126
2140
  pipelineId: z.string().optional(),
2127
- unityCatalogProvisioningState: z.enum(ProvisioningInfo_State).optional(),
2141
+ unityCatalogProvisioningState: z.string().optional(),
2128
2142
  project: z.string().optional(),
2129
2143
  })
2130
2144
  .transform(d => ({
@@ -2195,6 +2209,7 @@ export const marshalUndeleteProjectRequestSchema = z
2195
2209
  name: d.name,
2196
2210
  }));
2197
2211
  const branchFieldMaskSchema = {
2212
+ branchId: { wire: 'branch_id' },
2198
2213
  createTime: { wire: 'create_time' },
2199
2214
  name: { wire: 'name' },
2200
2215
  parent: { wire: 'parent' },
@@ -2232,6 +2247,7 @@ const branchStatusFieldMaskSchema = {
2232
2247
  };
2233
2248
  const databaseFieldMaskSchema = {
2234
2249
  createTime: { wire: 'create_time' },
2250
+ databaseId: { wire: 'database_id' },
2235
2251
  name: { wire: 'name' },
2236
2252
  parent: { wire: 'parent' },
2237
2253
  spec: { wire: 'spec', children: () => database_DatabaseSpecFieldMaskSchema },
@@ -2257,6 +2273,7 @@ const database_DatabaseStatusFieldMaskSchema = {
2257
2273
  };
2258
2274
  const endpointFieldMaskSchema = {
2259
2275
  createTime: { wire: 'create_time' },
2276
+ endpointId: { wire: 'endpoint_id' },
2260
2277
  name: { wire: 'name' },
2261
2278
  parent: { wire: 'parent' },
2262
2279
  spec: { wire: 'spec', children: () => endpointSpecFieldMaskSchema },
@@ -2318,6 +2335,7 @@ const projectFieldMaskSchema = {
2318
2335
  children: () => initialEndpointSpecFieldMaskSchema,
2319
2336
  },
2320
2337
  name: { wire: 'name' },
2338
+ projectId: { wire: 'project_id' },
2321
2339
  purgeTime: { wire: 'purge_time' },
2322
2340
  spec: { wire: 'spec', children: () => projectSpecFieldMaskSchema },
2323
2341
  status: { wire: 'status', children: () => projectStatusFieldMaskSchema },
@@ -2368,6 +2386,7 @@ const roleFieldMaskSchema = {
2368
2386
  createTime: { wire: 'create_time' },
2369
2387
  name: { wire: 'name' },
2370
2388
  parent: { wire: 'parent' },
2389
+ roleId: { wire: 'role_id' },
2371
2390
  spec: { wire: 'spec', children: () => role_RoleSpecFieldMaskSchema },
2372
2391
  status: { wire: 'status', children: () => role_RoleStatusFieldMaskSchema },
2373
2392
  updateTime: { wire: 'update_time' },