@databricks/sdk-uc-metastores 0.52.0 → 0.52.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/package.js +1 -1
- package/dist/v1/client.d.ts +7 -1
- package/dist/v1/client.d.ts.map +1 -1
- package/dist/v1/client.js +25 -1
- package/dist/v1/client.js.map +1 -1
- package/dist/v1/index.d.ts +2 -2
- package/dist/v1/model.d.ts +7 -1
- package/dist/v1/model.d.ts.map +1 -1
- package/dist/v1/model.js +6 -5
- package/dist/v1/model.js.map +1 -1
- package/package.json +1 -1
package/dist/package.js
CHANGED
package/dist/v1/client.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccountsCreateMetastoreAssignmentRequest, AccountsCreateMetastoreAssignmentResponse, AccountsCreateMetastoreRequest, AccountsCreateMetastoreResponse, AccountsDeleteMetastoreAssignmentRequest, AccountsDeleteMetastoreAssignmentResponse, AccountsDeleteMetastoreRequest, AccountsDeleteMetastoreResponse, AccountsGetMetastoreAssignmentRequest, AccountsGetMetastoreAssignmentResponse, AccountsGetMetastoreRequest, AccountsGetMetastoreResponse, AccountsListMetastoresRequest, AccountsListMetastoresResponse, AccountsListWorkspaceIdsForMetastoreRequest, AccountsListWorkspaceIdsForMetastoreResponse, AccountsUpdateMetastoreAssignmentRequest, AccountsUpdateMetastoreAssignmentResponse, AccountsUpdateMetastoreRequest, AccountsUpdateMetastoreResponse, CreateMetastoreAssignmentRequest, CreateMetastoreAssignmentResponse, CreateMetastoreRequest, DeleteMetastoreAssignmentRequest, DeleteMetastoreAssignmentResponse, DeleteMetastoreRequest, DeleteMetastoreResponse, GetCurrentMetastoreAssignmentRequest, GetMetastoreRequest, GetMetastoreSummaryRequest, GetMetastoreSummaryResponse, ListMetastoresRequest, ListMetastoresResponse, MetastoreAssignment, MetastoreInfo, UpdateMetastoreAssignmentRequest, UpdateMetastoreAssignmentResponse, UpdateMetastoreRequest } from "./model.js";
|
|
1
|
+
import { AccountsCreateMetastoreAssignmentRequest, AccountsCreateMetastoreAssignmentResponse, AccountsCreateMetastoreRequest, AccountsCreateMetastoreResponse, AccountsDeleteMetastoreAssignmentRequest, AccountsDeleteMetastoreAssignmentResponse, AccountsDeleteMetastoreRequest, AccountsDeleteMetastoreResponse, AccountsGetMetastoreAssignmentRequest, AccountsGetMetastoreAssignmentResponse, AccountsGetMetastoreRequest, AccountsGetMetastoreResponse, AccountsListMetastoresRequest, AccountsListMetastoresResponse, AccountsListWorkspaceIdsForMetastoreRequest, AccountsListWorkspaceIdsForMetastoreResponse, AccountsUpdateMetastoreAssignmentRequest, AccountsUpdateMetastoreAssignmentResponse, AccountsUpdateMetastoreRequest, AccountsUpdateMetastoreResponse, CreateMetastoreAssignmentRequest, CreateMetastoreAssignmentResponse, CreateMetastoreRequest, DeleteMetastoreAssignmentRequest, DeleteMetastoreAssignmentResponse, DeleteMetastoreRequest, DeleteMetastoreResponse, GetCurrentMetastoreAssignmentRequest, GetMetastoreRequest, GetMetastoreSummaryRequest, GetMetastoreSummaryResponse, ListMetastoresRequest, ListMetastoresResponse, MetastoreAssignment, MetastoreInfo, UndropMetastoreByIdRequest, UpdateMetastoreAssignmentRequest, UpdateMetastoreAssignmentResponse, UpdateMetastoreRequest } from "./model.js";
|
|
2
2
|
import { CallOptions } from "@databricks/sdk-options/call";
|
|
3
3
|
import { ClientOptions } from "@databricks/sdk-options/client";
|
|
4
4
|
|
|
@@ -72,6 +72,12 @@ declare class MetastoresClient {
|
|
|
72
72
|
*/
|
|
73
73
|
listMetastores(req: ListMetastoresRequest, options?: CallOptions): Promise<ListMetastoresResponse>;
|
|
74
74
|
listMetastoresIter(req: ListMetastoresRequest, options?: CallOptions): AsyncGenerator<MetastoreInfo>;
|
|
75
|
+
/**
|
|
76
|
+
* Restores a soft-deleted metastore identified by its ID. The caller must be an account admin.
|
|
77
|
+
* A metastore may be eligible for restoration for up to five days after deletion. Restoration
|
|
78
|
+
* may become unavailable earlier once permanent deletion begins. Returns the restored metastore.
|
|
79
|
+
*/
|
|
80
|
+
undropMetastoreById(req: UndropMetastoreByIdRequest, options?: CallOptions): Promise<MetastoreInfo>;
|
|
75
81
|
/**
|
|
76
82
|
* Updates information for a specific metastore. The caller must be a metastore admin.
|
|
77
83
|
* If the __owner__ field is set to the empty string (**""**), the ownership is updated
|
package/dist/v1/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","names":[],"sources":["../../src/v1/client.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"client.d.ts","names":[],"sources":["../../src/v1/client.ts"],"mappings":";;;;;cA+Fa,gBAAA;EAAA,iBACM,OAAA;EAAA,iBACA,MAAA;EAAA,iBAIA,SAAA;EAAA,QAIT,MAAA;cAEI,OAAA,EAAS,aAAA;EAAA,QAUb,aAAA;EAQI;EAFN,uBAAA,CACJ,GAAA,EAAK,8BAAA,EACL,OAAA,GAAU,WAAA,GACT,OAAA,CAAQ,+BAAA;EAAR;EA8BG,iCAAA,CACJ,GAAA,EAAK,wCAAA,EACL,OAAA,GAAU,WAAA,GACT,OAAA,CAAQ,yCAAA;EADC;EA+BN,uBAAA,CACJ,GAAA,EAAK,8BAAA,EACL,OAAA,GAAU,WAAA,GACT,OAAA,CAAQ,+BAAA;EAjCR;EAiEG,iCAAA,CACJ,GAAA,EAAK,wCAAA,EACL,OAAA,GAAU,WAAA,GACT,OAAA,CAAQ,yCAAA;EApCC;EA8DN,oBAAA,CACJ,GAAA,EAAK,2BAAA,EACL,OAAA,GAAU,WAAA,GACT,OAAA,CAAQ,4BAAA;EAhER;;;;;;EA+FG,sBAAA,CACJ,GAAA,EAAK,qCAAA,EACL,OAAA,GAAU,WAAA,GACT,OAAA,CAAQ,sCAAA;EAlCA;EA4DL,sBAAA,CACJ,GAAA,EAAK,6BAAA,EACL,OAAA,GAAU,WAAA,GACT,OAAA,CAAQ,8BAAA;EA/BJ;EAyDD,wBAAA,CACJ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;;EA2FN,eAAA,CACJ,GAAA,EAAK,sBAAA,EACL,OAAA,GAAU,WAAA,GACT,OAAA,CAAQ,aAAA;EAxDR;;;;;EAuFG,yBAAA,CACJ,GAAA,EAAK,gCAAA,EACL,OAAA,GAAU,WAAA,GACT,OAAA,CAAQ,iCAAA;AAAA"}
|
package/dist/v1/client.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolveClientConfig } from "./transport.js";
|
|
2
2
|
import { buildHttpRequest, executeCall, executeHttpCall, marshalRequest, parseResponse } from "./utils.js";
|
|
3
3
|
import { name, version } from "../package.js";
|
|
4
|
-
import { marshalAccountsCreateMetastoreAssignmentRequestSchema, marshalAccountsCreateMetastoreRequestSchema, marshalAccountsUpdateMetastoreAssignmentRequestSchema, marshalAccountsUpdateMetastoreRequestSchema, marshalCreateMetastoreAssignmentRequestSchema, marshalCreateMetastoreRequestSchema, marshalUpdateMetastoreAssignmentRequestSchema, marshalUpdateMetastoreRequestSchema, unmarshalAccountsCreateMetastoreAssignmentResponseSchema, unmarshalAccountsCreateMetastoreResponseSchema, unmarshalAccountsDeleteMetastoreAssignmentResponseSchema, unmarshalAccountsDeleteMetastoreResponseSchema, unmarshalAccountsGetMetastoreAssignmentResponseSchema, unmarshalAccountsGetMetastoreResponseSchema, unmarshalAccountsListMetastoresResponseSchema, unmarshalAccountsListWorkspaceIdsForMetastoreResponseSchema, unmarshalAccountsUpdateMetastoreAssignmentResponseSchema, unmarshalAccountsUpdateMetastoreResponseSchema, unmarshalCreateMetastoreAssignmentResponseSchema, unmarshalDeleteMetastoreAssignmentResponseSchema, unmarshalDeleteMetastoreResponseSchema, unmarshalGetMetastoreSummaryResponseSchema, unmarshalListMetastoresResponseSchema, unmarshalMetastoreAssignmentSchema, unmarshalMetastoreInfoSchema, unmarshalUpdateMetastoreAssignmentResponseSchema } from "./model.js";
|
|
4
|
+
import { marshalAccountsCreateMetastoreAssignmentRequestSchema, marshalAccountsCreateMetastoreRequestSchema, marshalAccountsUpdateMetastoreAssignmentRequestSchema, marshalAccountsUpdateMetastoreRequestSchema, marshalCreateMetastoreAssignmentRequestSchema, marshalCreateMetastoreRequestSchema, marshalUndropMetastoreByIdRequestSchema, marshalUpdateMetastoreAssignmentRequestSchema, marshalUpdateMetastoreRequestSchema, unmarshalAccountsCreateMetastoreAssignmentResponseSchema, unmarshalAccountsCreateMetastoreResponseSchema, unmarshalAccountsDeleteMetastoreAssignmentResponseSchema, unmarshalAccountsDeleteMetastoreResponseSchema, unmarshalAccountsGetMetastoreAssignmentResponseSchema, unmarshalAccountsGetMetastoreResponseSchema, unmarshalAccountsListMetastoresResponseSchema, unmarshalAccountsListWorkspaceIdsForMetastoreResponseSchema, unmarshalAccountsUpdateMetastoreAssignmentResponseSchema, unmarshalAccountsUpdateMetastoreResponseSchema, unmarshalCreateMetastoreAssignmentResponseSchema, unmarshalDeleteMetastoreAssignmentResponseSchema, unmarshalDeleteMetastoreResponseSchema, unmarshalGetMetastoreSummaryResponseSchema, unmarshalListMetastoresResponseSchema, unmarshalMetastoreAssignmentSchema, unmarshalMetastoreInfoSchema, unmarshalUpdateMetastoreAssignmentResponseSchema } from "./model.js";
|
|
5
5
|
import { VERSION } from "@databricks/sdk-auth";
|
|
6
6
|
import { createDefault } from "@databricks/sdk-core/clientinfo";
|
|
7
7
|
import { NoOpLogger } from "@databricks/sdk-core/logger";
|
|
@@ -421,6 +421,30 @@ var MetastoresClient = class {
|
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
423
|
/**
|
|
424
|
+
* Restores a soft-deleted metastore identified by its ID. The caller must be an account admin.
|
|
425
|
+
* A metastore may be eligible for restoration for up to five days after deletion. Restoration
|
|
426
|
+
* may become unavailable earlier once permanent deletion begins. Returns the restored metastore.
|
|
427
|
+
*/
|
|
428
|
+
async undropMetastoreById(req, options) {
|
|
429
|
+
const { host, workspaceId, httpClient } = await this.resolveConfig();
|
|
430
|
+
const url = `${host}/api/2.1/unity-catalog/metastores:undropById`;
|
|
431
|
+
const body = marshalRequest(req, marshalUndropMetastoreByIdRequestSchema);
|
|
432
|
+
let resp;
|
|
433
|
+
const call = async (callSignal) => {
|
|
434
|
+
const headers = new Headers({ "Content-Type": "application/json" });
|
|
435
|
+
if (workspaceId !== void 0) headers.set("X-Databricks-Workspace-Id", workspaceId);
|
|
436
|
+
headers.set("User-Agent", this.userAgent);
|
|
437
|
+
resp = parseResponse(await executeHttpCall({
|
|
438
|
+
request: buildHttpRequest("POST", url, headers, callSignal, body),
|
|
439
|
+
httpClient,
|
|
440
|
+
logger: this.logger
|
|
441
|
+
}), unmarshalMetastoreInfoSchema);
|
|
442
|
+
};
|
|
443
|
+
await executeCall(call, options);
|
|
444
|
+
if (resp === void 0) throw new Error("operation completed without a result.");
|
|
445
|
+
return resp;
|
|
446
|
+
}
|
|
447
|
+
/**
|
|
424
448
|
* Updates information for a specific metastore. The caller must be a metastore admin.
|
|
425
449
|
* If the __owner__ field is set to the empty string (**""**), the ownership is updated
|
|
426
450
|
* to the System User.
|
package/dist/v1/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","names":["pkgJson.version","AUTH_VERSION"],"sources":["../../src/v1/client.ts"],"sourcesContent":["// Code generated from API definition by Databricks SDK Generator. DO NOT EDIT.\n\nimport {VERSION as AUTH_VERSION} from '@databricks/sdk-auth';\nimport {createDefault} from '@databricks/sdk-core/clientinfo';\nimport type {Logger} from '@databricks/sdk-core/logger';\nimport {NoOpLogger} from '@databricks/sdk-core/logger';\nimport type {CallOptions} from '@databricks/sdk-options/call';\nimport type {ClientOptions} from '@databricks/sdk-options/client';\nimport type {ResolvedClientConfig} from './transport';\nimport {resolveClientConfig} from './transport';\nimport {\n buildHttpRequest,\n executeCall,\n executeHttpCall,\n marshalRequest,\n parseResponse,\n} from './utils';\nimport pkgJson from '../../package.json' with {type: 'json'};\nimport type {\n AccountsCreateMetastoreAssignmentRequest,\n AccountsCreateMetastoreAssignmentResponse,\n AccountsCreateMetastoreRequest,\n AccountsCreateMetastoreResponse,\n AccountsDeleteMetastoreAssignmentRequest,\n AccountsDeleteMetastoreAssignmentResponse,\n AccountsDeleteMetastoreRequest,\n AccountsDeleteMetastoreResponse,\n AccountsGetMetastoreAssignmentRequest,\n AccountsGetMetastoreAssignmentResponse,\n AccountsGetMetastoreRequest,\n AccountsGetMetastoreResponse,\n AccountsListMetastoresRequest,\n AccountsListMetastoresResponse,\n AccountsListWorkspaceIdsForMetastoreRequest,\n AccountsListWorkspaceIdsForMetastoreResponse,\n AccountsUpdateMetastoreAssignmentRequest,\n AccountsUpdateMetastoreAssignmentResponse,\n AccountsUpdateMetastoreRequest,\n AccountsUpdateMetastoreResponse,\n CreateMetastoreAssignmentRequest,\n CreateMetastoreAssignmentResponse,\n CreateMetastoreRequest,\n DeleteMetastoreAssignmentRequest,\n DeleteMetastoreAssignmentResponse,\n DeleteMetastoreRequest,\n DeleteMetastoreResponse,\n GetCurrentMetastoreAssignmentRequest,\n GetMetastoreRequest,\n GetMetastoreSummaryRequest,\n GetMetastoreSummaryResponse,\n ListMetastoresRequest,\n ListMetastoresResponse,\n MetastoreAssignment,\n MetastoreInfo,\n UpdateMetastoreAssignmentRequest,\n UpdateMetastoreAssignmentResponse,\n UpdateMetastoreRequest,\n} from './model';\nimport {\n marshalAccountsCreateMetastoreAssignmentRequestSchema,\n marshalAccountsCreateMetastoreRequestSchema,\n marshalAccountsUpdateMetastoreAssignmentRequestSchema,\n marshalAccountsUpdateMetastoreRequestSchema,\n marshalCreateMetastoreAssignmentRequestSchema,\n marshalCreateMetastoreRequestSchema,\n marshalUpdateMetastoreAssignmentRequestSchema,\n marshalUpdateMetastoreRequestSchema,\n unmarshalAccountsCreateMetastoreAssignmentResponseSchema,\n unmarshalAccountsCreateMetastoreResponseSchema,\n unmarshalAccountsDeleteMetastoreAssignmentResponseSchema,\n unmarshalAccountsDeleteMetastoreResponseSchema,\n unmarshalAccountsGetMetastoreAssignmentResponseSchema,\n unmarshalAccountsGetMetastoreResponseSchema,\n unmarshalAccountsListMetastoresResponseSchema,\n unmarshalAccountsListWorkspaceIdsForMetastoreResponseSchema,\n unmarshalAccountsUpdateMetastoreAssignmentResponseSchema,\n unmarshalAccountsUpdateMetastoreResponseSchema,\n unmarshalCreateMetastoreAssignmentResponseSchema,\n unmarshalDeleteMetastoreAssignmentResponseSchema,\n unmarshalDeleteMetastoreResponseSchema,\n unmarshalGetMetastoreSummaryResponseSchema,\n unmarshalListMetastoresResponseSchema,\n unmarshalMetastoreAssignmentSchema,\n unmarshalMetastoreInfoSchema,\n unmarshalUpdateMetastoreAssignmentResponseSchema,\n} from './model';\n\n// Package identity segment for this client to be used in the User-Agent header.\nconst PACKAGE_SEGMENT = {\n key: 'sdk-js-' + pkgJson.name.replace(/^@[^/]+\\/sdk-/, ''),\n value: pkgJson.version,\n};\n\nexport class MetastoresClient {\n private readonly options: ClientOptions;\n private readonly logger: Logger;\n // User-Agent header value. Composed once at construction from\n // createDefault() merged with this package's identity and the active\n // credential's name.\n private readonly userAgent: string;\n // Memoized configuration. The profile is resolved once, lazily, on the first\n // request, then reused; host, workspaceId/accountId, and credentials are\n // filled from it when not set explicitly on the options.\n private config: Promise<ResolvedClientConfig> | undefined;\n\n constructor(options: ClientOptions) {\n this.options = options;\n this.logger = options.logger ?? new NoOpLogger();\n const info = createDefault()\n .with(PACKAGE_SEGMENT)\n .with({key: 'sdk-js-auth', value: AUTH_VERSION})\n .with({key: 'auth', value: options.credentials?.name() ?? 'default'});\n this.userAgent = info.toString();\n }\n\n private resolveConfig(): Promise<ResolvedClientConfig> {\n this.config ??= resolveClientConfig(this.options);\n return this.config;\n }\n\n /** Creates a Unity Catalog metastore. */\n async createAccountsMetastore(\n req: AccountsCreateMetastoreRequest,\n options?: CallOptions\n ): Promise<AccountsCreateMetastoreResponse> {\n const {host, accountId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.0/accounts/${req.accountId ?? accountId ?? ''}/metastores`;\n const body = marshalRequest(\n req,\n marshalAccountsCreateMetastoreRequestSchema\n );\n let resp: AccountsCreateMetastoreResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers({'Content-Type': 'application/json'});\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('POST', url, headers, callSignal, body);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalAccountsCreateMetastoreResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /** Creates an assignment to a metastore for a workspace */\n async createAccountsMetastoreAssignment(\n req: AccountsCreateMetastoreAssignmentRequest,\n options?: CallOptions\n ): Promise<AccountsCreateMetastoreAssignmentResponse> {\n const {host, accountId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.0/accounts/${req.accountId ?? accountId ?? ''}/workspaces/${String(req.workspaceId ?? '')}/metastores/${req.metastoreId ?? ''}`;\n const body = marshalRequest(\n req,\n marshalAccountsCreateMetastoreAssignmentRequestSchema\n );\n let resp: AccountsCreateMetastoreAssignmentResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers({'Content-Type': 'application/json'});\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('POST', url, headers, callSignal, body);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalAccountsCreateMetastoreAssignmentResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /** Deletes a Unity Catalog metastore for an account, both specified by ID. */\n async deleteAccountsMetastore(\n req: AccountsDeleteMetastoreRequest,\n options?: CallOptions\n ): Promise<AccountsDeleteMetastoreResponse> {\n const {host, accountId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.0/accounts/${req.accountId ?? accountId ?? ''}/metastores/${req.metastoreId ?? ''}`;\n const params = new URLSearchParams();\n if (req.force !== undefined) {\n params.append('force', String(req.force));\n }\n const query = params.toString();\n const fullUrl = query !== '' ? `${url}?${query}` : url;\n let resp: AccountsDeleteMetastoreResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers();\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('DELETE', fullUrl, headers, callSignal);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalAccountsDeleteMetastoreResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /** Deletes a metastore assignment to a workspace, leaving the workspace with no metastore. */\n async deleteAccountsMetastoreAssignment(\n req: AccountsDeleteMetastoreAssignmentRequest,\n options?: CallOptions\n ): Promise<AccountsDeleteMetastoreAssignmentResponse> {\n const {host, accountId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.0/accounts/${req.accountId ?? accountId ?? ''}/workspaces/${String(req.workspaceId ?? '')}/metastores/${req.metastoreId ?? ''}`;\n let resp: AccountsDeleteMetastoreAssignmentResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers();\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('DELETE', url, headers, callSignal);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalAccountsDeleteMetastoreAssignmentResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /** Gets a Unity Catalog metastore from an account, both specified by ID. */\n async getAccountsMetastore(\n req: AccountsGetMetastoreRequest,\n options?: CallOptions\n ): Promise<AccountsGetMetastoreResponse> {\n const {host, accountId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.0/accounts/${req.accountId ?? accountId ?? ''}/metastores/${req.metastoreId ?? ''}`;\n let resp: AccountsGetMetastoreResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers();\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('GET', url, headers, callSignal);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalAccountsGetMetastoreResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /**\n * Gets the metastore assignment, if any, for the workspace specified by ID.\n * If the workspace is assigned a metastore, the mapping will be returned.\n * If no metastore is assigned to the workspace, the assignment will not be\n * found and a 404 returned.\n */\n async getMetastoreAssignment(\n req: AccountsGetMetastoreAssignmentRequest,\n options?: CallOptions\n ): Promise<AccountsGetMetastoreAssignmentResponse> {\n const {host, accountId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.0/accounts/${req.accountId ?? accountId ?? ''}/workspaces/${String(req.workspaceId ?? '')}/metastore`;\n let resp: AccountsGetMetastoreAssignmentResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers();\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('GET', url, headers, callSignal);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalAccountsGetMetastoreAssignmentResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /** Gets all Unity Catalog metastores associated with an account specified by ID. */\n async listAccountsMetastores(\n req: AccountsListMetastoresRequest,\n options?: CallOptions\n ): Promise<AccountsListMetastoresResponse> {\n const {host, accountId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.0/accounts/${req.accountId ?? accountId ?? ''}/metastores`;\n let resp: AccountsListMetastoresResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers();\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('GET', url, headers, callSignal);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalAccountsListMetastoresResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /** Gets a list of all <Databricks> workspace IDs that have been assigned to given metastore. */\n async listMetastoreAssignments(\n req: AccountsListWorkspaceIdsForMetastoreRequest,\n options?: CallOptions\n ): Promise<AccountsListWorkspaceIdsForMetastoreResponse> {\n const {host, accountId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.0/accounts/${req.accountId ?? accountId ?? ''}/metastores/${req.metastoreId ?? ''}/workspaces`;\n let resp: AccountsListWorkspaceIdsForMetastoreResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers();\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('GET', url, headers, callSignal);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalAccountsListWorkspaceIdsForMetastoreResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /** Updates an existing Unity Catalog metastore. */\n async updateAccountsMetastore(\n req: AccountsUpdateMetastoreRequest,\n options?: CallOptions\n ): Promise<AccountsUpdateMetastoreResponse> {\n const {host, accountId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.0/accounts/${req.accountId ?? accountId ?? ''}/metastores/${req.metastoreId ?? ''}`;\n const body = marshalRequest(\n req,\n marshalAccountsUpdateMetastoreRequestSchema\n );\n let resp: AccountsUpdateMetastoreResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers({'Content-Type': 'application/json'});\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('PUT', url, headers, callSignal, body);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalAccountsUpdateMetastoreResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /** Updates an assignment to a metastore for a workspace. Currently, only the default catalog may be updated. */\n async updateAccountsMetastoreAssignment(\n req: AccountsUpdateMetastoreAssignmentRequest,\n options?: CallOptions\n ): Promise<AccountsUpdateMetastoreAssignmentResponse> {\n const {host, accountId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.0/accounts/${req.accountId ?? accountId ?? ''}/workspaces/${String(req.workspaceId ?? '')}/metastores/${req.metastoreId ?? ''}`;\n const body = marshalRequest(\n req,\n marshalAccountsUpdateMetastoreAssignmentRequestSchema\n );\n let resp: AccountsUpdateMetastoreAssignmentResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers({'Content-Type': 'application/json'});\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('PUT', url, headers, callSignal, body);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalAccountsUpdateMetastoreAssignmentResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /**\n * Creates a new metastore based on a provided name and optional storage root path.\n * By default (if the __owner__ field is not set), the owner of the new metastore is the user calling\n * the __createMetastore__ API. If the __owner__ field is set to the empty string (**\"\"**), the ownership is\n * assigned to the System User instead.\n */\n async createMetastore(\n req: CreateMetastoreRequest,\n options?: CallOptions\n ): Promise<MetastoreInfo> {\n const {host, workspaceId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.1/unity-catalog/metastores`;\n const body = marshalRequest(req, marshalCreateMetastoreRequestSchema);\n let resp: MetastoreInfo | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers({'Content-Type': 'application/json'});\n if (workspaceId !== undefined) {\n headers.set('X-Databricks-Workspace-Id', workspaceId);\n }\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('POST', url, headers, callSignal, body);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(respBody, unmarshalMetastoreInfoSchema);\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /**\n * Creates a new metastore assignment.\n * If an assignment for the same __workspace_id__ exists, it will be overwritten by the new __metastore_id__ and\n * __default_catalog_name__. The caller must be an account admin.\n */\n async createMetastoreAssignment(\n req: CreateMetastoreAssignmentRequest,\n options?: CallOptions\n ): Promise<CreateMetastoreAssignmentResponse> {\n const {host, workspaceId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.1/unity-catalog/workspaces/${String(req.workspaceId ?? '')}/metastore`;\n const body = marshalRequest(\n req,\n marshalCreateMetastoreAssignmentRequestSchema\n );\n let resp: CreateMetastoreAssignmentResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers({'Content-Type': 'application/json'});\n if (workspaceId !== undefined) {\n headers.set('X-Databricks-Workspace-Id', workspaceId);\n }\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('PUT', url, headers, callSignal, body);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalCreateMetastoreAssignmentResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /** Deletes a metastore. The caller must be a metastore admin. */\n async deleteMetastore(\n req: DeleteMetastoreRequest,\n options?: CallOptions\n ): Promise<DeleteMetastoreResponse> {\n const {host, workspaceId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.1/unity-catalog/metastores/${req.id ?? ''}`;\n const params = new URLSearchParams();\n if (req.force !== undefined) {\n params.append('force', String(req.force));\n }\n const query = params.toString();\n const fullUrl = query !== '' ? `${url}?${query}` : url;\n let resp: DeleteMetastoreResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers();\n if (workspaceId !== undefined) {\n headers.set('X-Databricks-Workspace-Id', workspaceId);\n }\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('DELETE', fullUrl, headers, callSignal);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(respBody, unmarshalDeleteMetastoreResponseSchema);\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /** Deletes a metastore assignment. The caller must be an account administrator. */\n async deleteMetastoreAssignment(\n req: DeleteMetastoreAssignmentRequest,\n options?: CallOptions\n ): Promise<DeleteMetastoreAssignmentResponse> {\n const {host, workspaceId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.1/unity-catalog/workspaces/${String(req.workspaceId ?? '')}/metastore`;\n const params = new URLSearchParams();\n if (req.metastoreId !== undefined) {\n params.append('metastore_id', req.metastoreId);\n }\n const query = params.toString();\n const fullUrl = query !== '' ? `${url}?${query}` : url;\n let resp: DeleteMetastoreAssignmentResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers();\n if (workspaceId !== undefined) {\n headers.set('X-Databricks-Workspace-Id', workspaceId);\n }\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('DELETE', fullUrl, headers, callSignal);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalDeleteMetastoreAssignmentResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /** Gets the metastore assignment for the workspace being accessed. */\n async getCurrentMetastoreAssignment(\n _req: GetCurrentMetastoreAssignmentRequest,\n options?: CallOptions\n ): Promise<MetastoreAssignment> {\n const {host, workspaceId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.1/unity-catalog/current-metastore-assignment`;\n let resp: MetastoreAssignment | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers();\n if (workspaceId !== undefined) {\n headers.set('X-Databricks-Workspace-Id', workspaceId);\n }\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('GET', url, headers, callSignal);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(respBody, unmarshalMetastoreAssignmentSchema);\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /** Gets a metastore that matches the supplied ID. The caller must be a metastore admin to retrieve this info. */\n async getMetastore(\n req: GetMetastoreRequest,\n options?: CallOptions\n ): Promise<MetastoreInfo> {\n const {host, workspaceId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.1/unity-catalog/metastores/${req.id ?? ''}`;\n let resp: MetastoreInfo | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers();\n if (workspaceId !== undefined) {\n headers.set('X-Databricks-Workspace-Id', workspaceId);\n }\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('GET', url, headers, callSignal);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(respBody, unmarshalMetastoreInfoSchema);\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /**\n * Gets information about a metastore.\n * This summary includes the storage credential, the cloud vendor, the cloud region, and the global metastore ID.\n */\n async getMetastoreSummary(\n _req: GetMetastoreSummaryRequest,\n options?: CallOptions\n ): Promise<GetMetastoreSummaryResponse> {\n const {host, workspaceId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.1/unity-catalog/metastore_summary`;\n let resp: GetMetastoreSummaryResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers();\n if (workspaceId !== undefined) {\n headers.set('X-Databricks-Workspace-Id', workspaceId);\n }\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('GET', url, headers, callSignal);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalGetMetastoreSummaryResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /**\n * Gets an array of the available metastores (as __MetastoreInfo__ objects). The caller must be an admin to retrieve this info.\n * There is no guarantee of a specific ordering of the elements in the array.\n *\n * NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated calls will be deprecated soon.\n *\n * PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero results while still providing a next_page_token.\n * Clients must continue reading pages until next_page_token is absent, which is the only indication that the end of results has been reached.\n */\n async listMetastores(\n req: ListMetastoresRequest,\n options?: CallOptions\n ): Promise<ListMetastoresResponse> {\n const {host, workspaceId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.1/unity-catalog/metastores`;\n const params = new URLSearchParams();\n if (req.maxResults !== undefined) {\n params.append('max_results', String(req.maxResults));\n }\n if (req.pageToken !== undefined) {\n params.append('page_token', req.pageToken);\n }\n const query = params.toString();\n const fullUrl = query !== '' ? `${url}?${query}` : url;\n let resp: ListMetastoresResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers();\n if (workspaceId !== undefined) {\n headers.set('X-Databricks-Workspace-Id', workspaceId);\n }\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('GET', fullUrl, headers, callSignal);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(respBody, unmarshalListMetastoresResponseSchema);\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n async *listMetastoresIter(\n req: ListMetastoresRequest,\n options?: CallOptions\n ): AsyncGenerator<MetastoreInfo> {\n const pageReq: ListMetastoresRequest = {...req};\n for (;;) {\n const resp = await this.listMetastores(pageReq, options);\n for (const item of resp.metastores ?? []) {\n yield item;\n }\n if (resp.nextPageToken === undefined || resp.nextPageToken === '') {\n return;\n }\n pageReq.pageToken = resp.nextPageToken;\n }\n }\n\n /**\n * Updates information for a specific metastore. The caller must be a metastore admin.\n * If the __owner__ field is set to the empty string (**\"\"**), the ownership is updated\n * to the System User.\n */\n async updateMetastore(\n req: UpdateMetastoreRequest,\n options?: CallOptions\n ): Promise<MetastoreInfo> {\n const {host, workspaceId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.1/unity-catalog/metastores/${req.id ?? ''}`;\n const body = marshalRequest(req, marshalUpdateMetastoreRequestSchema);\n let resp: MetastoreInfo | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers({'Content-Type': 'application/json'});\n if (workspaceId !== undefined) {\n headers.set('X-Databricks-Workspace-Id', workspaceId);\n }\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('PATCH', url, headers, callSignal, body);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(respBody, unmarshalMetastoreInfoSchema);\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /**\n * Updates a metastore assignment. This operation can be used to update __metastore_id__ or __default_catalog_name__\n * for a specified Workspace, if the Workspace is already assigned a metastore.\n * The caller must be an account admin to update __metastore_id__; otherwise, the caller can be a Workspace admin.\n */\n async updateMetastoreAssignment(\n req: UpdateMetastoreAssignmentRequest,\n options?: CallOptions\n ): Promise<UpdateMetastoreAssignmentResponse> {\n const {host, workspaceId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.1/unity-catalog/workspaces/${String(req.workspaceId ?? '')}/metastore`;\n const body = marshalRequest(\n req,\n marshalUpdateMetastoreAssignmentRequestSchema\n );\n let resp: UpdateMetastoreAssignmentResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers({'Content-Type': 'application/json'});\n if (workspaceId !== undefined) {\n headers.set('X-Databricks-Workspace-Id', workspaceId);\n }\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('PATCH', url, headers, callSignal, body);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalUpdateMetastoreAssignmentResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n}\n"],"mappings":";;;;;;;;;AAwFA,MAAM,kBAAkB;CACtB,KAAK,iBAAyB,QAAQ,iBAAiB,GAAG;CAC1D,OAAOA;CACR;AAED,IAAa,mBAAb,MAA8B;CAC5B,AAAiB;CACjB,AAAiB;CAIjB,AAAiB;CAIjB,AAAQ;CAER,YAAY,SAAwB;AAClC,OAAK,UAAU;AACf,OAAK,SAAS,QAAQ,UAAU,IAAI,YAAY;AAKhD,OAAK,YAJQ,eAAe,CACzB,KAAK,gBAAgB,CACrB,KAAK;GAAC,KAAK;GAAe,OAAOC;GAAa,CAAC,CAC/C,KAAK;GAAC,KAAK;GAAQ,OAAO,QAAQ,aAAa,MAAM,IAAI;GAAU,CAAC,CACjD,UAAU;;CAGlC,AAAQ,gBAA+C;AACrD,OAAK,WAAW,oBAAoB,KAAK,QAAQ;AACjD,SAAO,KAAK;;;CAId,MAAM,wBACJ,KACA,SAC0C;EAC1C,MAAM,EAAC,MAAM,WAAW,eAAc,MAAM,KAAK,eAAe;EAChE,MAAM,MAAM,GAAG,KAAK,oBAAoB,I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AOzC,UAAO,cALU,MAAM,gBAAgB;IACrC,SAFc,iBAAiB,SAAS,KAAK,SAAS,YAAY,KAAK;IAGvE;IACA,QAAQ,KAAK;IACd,CAAC,EAC6B,6BAA6B;;AAE9D,QAAM,YAAY,MAAM,QAAQ;AAChC,MAAI,SAAS,OACX,OAAM,IAAI,MAAM,wCAAwC;AAE1D,SAAO;;;;;;;CAQT,MAAM,0BACJ,KACA,SAC4C;EAC5C,MAAM,EAAC,MAAM,aAAa,eAAc,MAAM,KAAK,eAAe;EAClE,MAAM,MAAM,GAAG,KAAK,oCAAoC,OAAO,IAAI,eAAe,GAAG,CAAC;EACtF,MAAM,OAAO,eACX,KACA,8CACD;EACD,IAAI;EACJ,MAAM,OAAO,OAAO,eAA4C;GAC9D,MAAM,UAAU,IAAI,QAAQ,EAAC,gBAAgB,oBAAmB,CAAC;AACjE,OAAI,gBAAgB,OAClB,SAAQ,IAAI,6BAA6B,YAAY;AAEvD,WAAQ,IAAI,cAAc,KAAK,UAAU;AAOzC,UAAO,cALU,MAAM,gBAAgB;IACrC,SAFc,iBAAiB,SAAS,KAAK,SAAS,YAAY,KAAK;IAGvE;IACA,QAAQ,KAAK;IACd,CAAC,EAGA,iDACD;;AAEH,QAAM,YAAY,MAAM,QAAQ;AAChC,MAAI,SAAS,OACX,OAAM,IAAI,MAAM,wCAAwC;AAE1D,SAAO"}
|
|
1
|
+
{"version":3,"file":"client.js","names":["pkgJson.version","AUTH_VERSION"],"sources":["../../src/v1/client.ts"],"sourcesContent":["// Code generated from API definition by Databricks SDK Generator. DO NOT EDIT.\n\nimport {VERSION as AUTH_VERSION} from '@databricks/sdk-auth';\nimport {createDefault} from '@databricks/sdk-core/clientinfo';\nimport type {Logger} from '@databricks/sdk-core/logger';\nimport {NoOpLogger} from '@databricks/sdk-core/logger';\nimport type {CallOptions} from '@databricks/sdk-options/call';\nimport type {ClientOptions} from '@databricks/sdk-options/client';\nimport type {ResolvedClientConfig} from './transport';\nimport {resolveClientConfig} from './transport';\nimport {\n buildHttpRequest,\n executeCall,\n executeHttpCall,\n marshalRequest,\n parseResponse,\n} from './utils';\nimport pkgJson from '../../package.json' with {type: 'json'};\nimport type {\n AccountsCreateMetastoreAssignmentRequest,\n AccountsCreateMetastoreAssignmentResponse,\n AccountsCreateMetastoreRequest,\n AccountsCreateMetastoreResponse,\n AccountsDeleteMetastoreAssignmentRequest,\n AccountsDeleteMetastoreAssignmentResponse,\n AccountsDeleteMetastoreRequest,\n AccountsDeleteMetastoreResponse,\n AccountsGetMetastoreAssignmentRequest,\n AccountsGetMetastoreAssignmentResponse,\n AccountsGetMetastoreRequest,\n AccountsGetMetastoreResponse,\n AccountsListMetastoresRequest,\n AccountsListMetastoresResponse,\n AccountsListWorkspaceIdsForMetastoreRequest,\n AccountsListWorkspaceIdsForMetastoreResponse,\n AccountsUpdateMetastoreAssignmentRequest,\n AccountsUpdateMetastoreAssignmentResponse,\n AccountsUpdateMetastoreRequest,\n AccountsUpdateMetastoreResponse,\n CreateMetastoreAssignmentRequest,\n CreateMetastoreAssignmentResponse,\n CreateMetastoreRequest,\n DeleteMetastoreAssignmentRequest,\n DeleteMetastoreAssignmentResponse,\n DeleteMetastoreRequest,\n DeleteMetastoreResponse,\n GetCurrentMetastoreAssignmentRequest,\n GetMetastoreRequest,\n GetMetastoreSummaryRequest,\n GetMetastoreSummaryResponse,\n ListMetastoresRequest,\n ListMetastoresResponse,\n MetastoreAssignment,\n MetastoreInfo,\n UndropMetastoreByIdRequest,\n UpdateMetastoreAssignmentRequest,\n UpdateMetastoreAssignmentResponse,\n UpdateMetastoreRequest,\n} from './model';\nimport {\n marshalAccountsCreateMetastoreAssignmentRequestSchema,\n marshalAccountsCreateMetastoreRequestSchema,\n marshalAccountsUpdateMetastoreAssignmentRequestSchema,\n marshalAccountsUpdateMetastoreRequestSchema,\n marshalCreateMetastoreAssignmentRequestSchema,\n marshalCreateMetastoreRequestSchema,\n marshalUndropMetastoreByIdRequestSchema,\n marshalUpdateMetastoreAssignmentRequestSchema,\n marshalUpdateMetastoreRequestSchema,\n unmarshalAccountsCreateMetastoreAssignmentResponseSchema,\n unmarshalAccountsCreateMetastoreResponseSchema,\n unmarshalAccountsDeleteMetastoreAssignmentResponseSchema,\n unmarshalAccountsDeleteMetastoreResponseSchema,\n unmarshalAccountsGetMetastoreAssignmentResponseSchema,\n unmarshalAccountsGetMetastoreResponseSchema,\n unmarshalAccountsListMetastoresResponseSchema,\n unmarshalAccountsListWorkspaceIdsForMetastoreResponseSchema,\n unmarshalAccountsUpdateMetastoreAssignmentResponseSchema,\n unmarshalAccountsUpdateMetastoreResponseSchema,\n unmarshalCreateMetastoreAssignmentResponseSchema,\n unmarshalDeleteMetastoreAssignmentResponseSchema,\n unmarshalDeleteMetastoreResponseSchema,\n unmarshalGetMetastoreSummaryResponseSchema,\n unmarshalListMetastoresResponseSchema,\n unmarshalMetastoreAssignmentSchema,\n unmarshalMetastoreInfoSchema,\n unmarshalUpdateMetastoreAssignmentResponseSchema,\n} from './model';\n\n// Package identity segment for this client to be used in the User-Agent header.\nconst PACKAGE_SEGMENT = {\n key: 'sdk-js-' + pkgJson.name.replace(/^@[^/]+\\/sdk-/, ''),\n value: pkgJson.version,\n};\n\nexport class MetastoresClient {\n private readonly options: ClientOptions;\n private readonly logger: Logger;\n // User-Agent header value. Composed once at construction from\n // createDefault() merged with this package's identity and the active\n // credential's name.\n private readonly userAgent: string;\n // Memoized configuration. The profile is resolved once, lazily, on the first\n // request, then reused; host, workspaceId/accountId, and credentials are\n // filled from it when not set explicitly on the options.\n private config: Promise<ResolvedClientConfig> | undefined;\n\n constructor(options: ClientOptions) {\n this.options = options;\n this.logger = options.logger ?? new NoOpLogger();\n const info = createDefault()\n .with(PACKAGE_SEGMENT)\n .with({key: 'sdk-js-auth', value: AUTH_VERSION})\n .with({key: 'auth', value: options.credentials?.name() ?? 'default'});\n this.userAgent = info.toString();\n }\n\n private resolveConfig(): Promise<ResolvedClientConfig> {\n this.config ??= resolveClientConfig(this.options);\n return this.config;\n }\n\n /** Creates a Unity Catalog metastore. */\n async createAccountsMetastore(\n req: AccountsCreateMetastoreRequest,\n options?: CallOptions\n ): Promise<AccountsCreateMetastoreResponse> {\n const {host, accountId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.0/accounts/${req.accountId ?? accountId ?? ''}/metastores`;\n const body = marshalRequest(\n req,\n marshalAccountsCreateMetastoreRequestSchema\n );\n let resp: AccountsCreateMetastoreResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers({'Content-Type': 'application/json'});\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('POST', url, headers, callSignal, body);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalAccountsCreateMetastoreResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /** Creates an assignment to a metastore for a workspace */\n async createAccountsMetastoreAssignment(\n req: AccountsCreateMetastoreAssignmentRequest,\n options?: CallOptions\n ): Promise<AccountsCreateMetastoreAssignmentResponse> {\n const {host, accountId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.0/accounts/${req.accountId ?? accountId ?? ''}/workspaces/${String(req.workspaceId ?? '')}/metastores/${req.metastoreId ?? ''}`;\n const body = marshalRequest(\n req,\n marshalAccountsCreateMetastoreAssignmentRequestSchema\n );\n let resp: AccountsCreateMetastoreAssignmentResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers({'Content-Type': 'application/json'});\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('POST', url, headers, callSignal, body);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalAccountsCreateMetastoreAssignmentResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /** Deletes a Unity Catalog metastore for an account, both specified by ID. */\n async deleteAccountsMetastore(\n req: AccountsDeleteMetastoreRequest,\n options?: CallOptions\n ): Promise<AccountsDeleteMetastoreResponse> {\n const {host, accountId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.0/accounts/${req.accountId ?? accountId ?? ''}/metastores/${req.metastoreId ?? ''}`;\n const params = new URLSearchParams();\n if (req.force !== undefined) {\n params.append('force', String(req.force));\n }\n const query = params.toString();\n const fullUrl = query !== '' ? `${url}?${query}` : url;\n let resp: AccountsDeleteMetastoreResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers();\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('DELETE', fullUrl, headers, callSignal);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalAccountsDeleteMetastoreResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /** Deletes a metastore assignment to a workspace, leaving the workspace with no metastore. */\n async deleteAccountsMetastoreAssignment(\n req: AccountsDeleteMetastoreAssignmentRequest,\n options?: CallOptions\n ): Promise<AccountsDeleteMetastoreAssignmentResponse> {\n const {host, accountId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.0/accounts/${req.accountId ?? accountId ?? ''}/workspaces/${String(req.workspaceId ?? '')}/metastores/${req.metastoreId ?? ''}`;\n let resp: AccountsDeleteMetastoreAssignmentResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers();\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('DELETE', url, headers, callSignal);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalAccountsDeleteMetastoreAssignmentResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /** Gets a Unity Catalog metastore from an account, both specified by ID. */\n async getAccountsMetastore(\n req: AccountsGetMetastoreRequest,\n options?: CallOptions\n ): Promise<AccountsGetMetastoreResponse> {\n const {host, accountId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.0/accounts/${req.accountId ?? accountId ?? ''}/metastores/${req.metastoreId ?? ''}`;\n let resp: AccountsGetMetastoreResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers();\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('GET', url, headers, callSignal);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalAccountsGetMetastoreResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /**\n * Gets the metastore assignment, if any, for the workspace specified by ID.\n * If the workspace is assigned a metastore, the mapping will be returned.\n * If no metastore is assigned to the workspace, the assignment will not be\n * found and a 404 returned.\n */\n async getMetastoreAssignment(\n req: AccountsGetMetastoreAssignmentRequest,\n options?: CallOptions\n ): Promise<AccountsGetMetastoreAssignmentResponse> {\n const {host, accountId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.0/accounts/${req.accountId ?? accountId ?? ''}/workspaces/${String(req.workspaceId ?? '')}/metastore`;\n let resp: AccountsGetMetastoreAssignmentResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers();\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('GET', url, headers, callSignal);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalAccountsGetMetastoreAssignmentResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /** Gets all Unity Catalog metastores associated with an account specified by ID. */\n async listAccountsMetastores(\n req: AccountsListMetastoresRequest,\n options?: CallOptions\n ): Promise<AccountsListMetastoresResponse> {\n const {host, accountId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.0/accounts/${req.accountId ?? accountId ?? ''}/metastores`;\n let resp: AccountsListMetastoresResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers();\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('GET', url, headers, callSignal);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalAccountsListMetastoresResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /** Gets a list of all <Databricks> workspace IDs that have been assigned to given metastore. */\n async listMetastoreAssignments(\n req: AccountsListWorkspaceIdsForMetastoreRequest,\n options?: CallOptions\n ): Promise<AccountsListWorkspaceIdsForMetastoreResponse> {\n const {host, accountId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.0/accounts/${req.accountId ?? accountId ?? ''}/metastores/${req.metastoreId ?? ''}/workspaces`;\n let resp: AccountsListWorkspaceIdsForMetastoreResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers();\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('GET', url, headers, callSignal);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalAccountsListWorkspaceIdsForMetastoreResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /** Updates an existing Unity Catalog metastore. */\n async updateAccountsMetastore(\n req: AccountsUpdateMetastoreRequest,\n options?: CallOptions\n ): Promise<AccountsUpdateMetastoreResponse> {\n const {host, accountId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.0/accounts/${req.accountId ?? accountId ?? ''}/metastores/${req.metastoreId ?? ''}`;\n const body = marshalRequest(\n req,\n marshalAccountsUpdateMetastoreRequestSchema\n );\n let resp: AccountsUpdateMetastoreResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers({'Content-Type': 'application/json'});\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('PUT', url, headers, callSignal, body);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalAccountsUpdateMetastoreResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /** Updates an assignment to a metastore for a workspace. Currently, only the default catalog may be updated. */\n async updateAccountsMetastoreAssignment(\n req: AccountsUpdateMetastoreAssignmentRequest,\n options?: CallOptions\n ): Promise<AccountsUpdateMetastoreAssignmentResponse> {\n const {host, accountId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.0/accounts/${req.accountId ?? accountId ?? ''}/workspaces/${String(req.workspaceId ?? '')}/metastores/${req.metastoreId ?? ''}`;\n const body = marshalRequest(\n req,\n marshalAccountsUpdateMetastoreAssignmentRequestSchema\n );\n let resp: AccountsUpdateMetastoreAssignmentResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers({'Content-Type': 'application/json'});\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('PUT', url, headers, callSignal, body);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalAccountsUpdateMetastoreAssignmentResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /**\n * Creates a new metastore based on a provided name and optional storage root path.\n * By default (if the __owner__ field is not set), the owner of the new metastore is the user calling\n * the __createMetastore__ API. If the __owner__ field is set to the empty string (**\"\"**), the ownership is\n * assigned to the System User instead.\n */\n async createMetastore(\n req: CreateMetastoreRequest,\n options?: CallOptions\n ): Promise<MetastoreInfo> {\n const {host, workspaceId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.1/unity-catalog/metastores`;\n const body = marshalRequest(req, marshalCreateMetastoreRequestSchema);\n let resp: MetastoreInfo | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers({'Content-Type': 'application/json'});\n if (workspaceId !== undefined) {\n headers.set('X-Databricks-Workspace-Id', workspaceId);\n }\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('POST', url, headers, callSignal, body);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(respBody, unmarshalMetastoreInfoSchema);\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /**\n * Creates a new metastore assignment.\n * If an assignment for the same __workspace_id__ exists, it will be overwritten by the new __metastore_id__ and\n * __default_catalog_name__. The caller must be an account admin.\n */\n async createMetastoreAssignment(\n req: CreateMetastoreAssignmentRequest,\n options?: CallOptions\n ): Promise<CreateMetastoreAssignmentResponse> {\n const {host, workspaceId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.1/unity-catalog/workspaces/${String(req.workspaceId ?? '')}/metastore`;\n const body = marshalRequest(\n req,\n marshalCreateMetastoreAssignmentRequestSchema\n );\n let resp: CreateMetastoreAssignmentResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers({'Content-Type': 'application/json'});\n if (workspaceId !== undefined) {\n headers.set('X-Databricks-Workspace-Id', workspaceId);\n }\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('PUT', url, headers, callSignal, body);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalCreateMetastoreAssignmentResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /** Deletes a metastore. The caller must be a metastore admin. */\n async deleteMetastore(\n req: DeleteMetastoreRequest,\n options?: CallOptions\n ): Promise<DeleteMetastoreResponse> {\n const {host, workspaceId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.1/unity-catalog/metastores/${req.id ?? ''}`;\n const params = new URLSearchParams();\n if (req.force !== undefined) {\n params.append('force', String(req.force));\n }\n const query = params.toString();\n const fullUrl = query !== '' ? `${url}?${query}` : url;\n let resp: DeleteMetastoreResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers();\n if (workspaceId !== undefined) {\n headers.set('X-Databricks-Workspace-Id', workspaceId);\n }\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('DELETE', fullUrl, headers, callSignal);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(respBody, unmarshalDeleteMetastoreResponseSchema);\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /** Deletes a metastore assignment. The caller must be an account administrator. */\n async deleteMetastoreAssignment(\n req: DeleteMetastoreAssignmentRequest,\n options?: CallOptions\n ): Promise<DeleteMetastoreAssignmentResponse> {\n const {host, workspaceId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.1/unity-catalog/workspaces/${String(req.workspaceId ?? '')}/metastore`;\n const params = new URLSearchParams();\n if (req.metastoreId !== undefined) {\n params.append('metastore_id', req.metastoreId);\n }\n const query = params.toString();\n const fullUrl = query !== '' ? `${url}?${query}` : url;\n let resp: DeleteMetastoreAssignmentResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers();\n if (workspaceId !== undefined) {\n headers.set('X-Databricks-Workspace-Id', workspaceId);\n }\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('DELETE', fullUrl, headers, callSignal);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalDeleteMetastoreAssignmentResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /** Gets the metastore assignment for the workspace being accessed. */\n async getCurrentMetastoreAssignment(\n _req: GetCurrentMetastoreAssignmentRequest,\n options?: CallOptions\n ): Promise<MetastoreAssignment> {\n const {host, workspaceId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.1/unity-catalog/current-metastore-assignment`;\n let resp: MetastoreAssignment | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers();\n if (workspaceId !== undefined) {\n headers.set('X-Databricks-Workspace-Id', workspaceId);\n }\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('GET', url, headers, callSignal);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(respBody, unmarshalMetastoreAssignmentSchema);\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /** Gets a metastore that matches the supplied ID. The caller must be a metastore admin to retrieve this info. */\n async getMetastore(\n req: GetMetastoreRequest,\n options?: CallOptions\n ): Promise<MetastoreInfo> {\n const {host, workspaceId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.1/unity-catalog/metastores/${req.id ?? ''}`;\n let resp: MetastoreInfo | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers();\n if (workspaceId !== undefined) {\n headers.set('X-Databricks-Workspace-Id', workspaceId);\n }\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('GET', url, headers, callSignal);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(respBody, unmarshalMetastoreInfoSchema);\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /**\n * Gets information about a metastore.\n * This summary includes the storage credential, the cloud vendor, the cloud region, and the global metastore ID.\n */\n async getMetastoreSummary(\n _req: GetMetastoreSummaryRequest,\n options?: CallOptions\n ): Promise<GetMetastoreSummaryResponse> {\n const {host, workspaceId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.1/unity-catalog/metastore_summary`;\n let resp: GetMetastoreSummaryResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers();\n if (workspaceId !== undefined) {\n headers.set('X-Databricks-Workspace-Id', workspaceId);\n }\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('GET', url, headers, callSignal);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalGetMetastoreSummaryResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /**\n * Gets an array of the available metastores (as __MetastoreInfo__ objects). The caller must be an admin to retrieve this info.\n * There is no guarantee of a specific ordering of the elements in the array.\n *\n * NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated calls will be deprecated soon.\n *\n * PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero results while still providing a next_page_token.\n * Clients must continue reading pages until next_page_token is absent, which is the only indication that the end of results has been reached.\n */\n async listMetastores(\n req: ListMetastoresRequest,\n options?: CallOptions\n ): Promise<ListMetastoresResponse> {\n const {host, workspaceId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.1/unity-catalog/metastores`;\n const params = new URLSearchParams();\n if (req.maxResults !== undefined) {\n params.append('max_results', String(req.maxResults));\n }\n if (req.pageToken !== undefined) {\n params.append('page_token', req.pageToken);\n }\n const query = params.toString();\n const fullUrl = query !== '' ? `${url}?${query}` : url;\n let resp: ListMetastoresResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers();\n if (workspaceId !== undefined) {\n headers.set('X-Databricks-Workspace-Id', workspaceId);\n }\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('GET', fullUrl, headers, callSignal);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(respBody, unmarshalListMetastoresResponseSchema);\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n async *listMetastoresIter(\n req: ListMetastoresRequest,\n options?: CallOptions\n ): AsyncGenerator<MetastoreInfo> {\n const pageReq: ListMetastoresRequest = {...req};\n for (;;) {\n const resp = await this.listMetastores(pageReq, options);\n for (const item of resp.metastores ?? []) {\n yield item;\n }\n if (resp.nextPageToken === undefined || resp.nextPageToken === '') {\n return;\n }\n pageReq.pageToken = resp.nextPageToken;\n }\n }\n\n /**\n * Restores a soft-deleted metastore identified by its ID. The caller must be an account admin.\n * A metastore may be eligible for restoration for up to five days after deletion. Restoration\n * may become unavailable earlier once permanent deletion begins. Returns the restored metastore.\n */\n async undropMetastoreById(\n req: UndropMetastoreByIdRequest,\n options?: CallOptions\n ): Promise<MetastoreInfo> {\n const {host, workspaceId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.1/unity-catalog/metastores:undropById`;\n const body = marshalRequest(req, marshalUndropMetastoreByIdRequestSchema);\n let resp: MetastoreInfo | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers({'Content-Type': 'application/json'});\n if (workspaceId !== undefined) {\n headers.set('X-Databricks-Workspace-Id', workspaceId);\n }\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('POST', url, headers, callSignal, body);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(respBody, unmarshalMetastoreInfoSchema);\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /**\n * Updates information for a specific metastore. The caller must be a metastore admin.\n * If the __owner__ field is set to the empty string (**\"\"**), the ownership is updated\n * to the System User.\n */\n async updateMetastore(\n req: UpdateMetastoreRequest,\n options?: CallOptions\n ): Promise<MetastoreInfo> {\n const {host, workspaceId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.1/unity-catalog/metastores/${req.id ?? ''}`;\n const body = marshalRequest(req, marshalUpdateMetastoreRequestSchema);\n let resp: MetastoreInfo | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers({'Content-Type': 'application/json'});\n if (workspaceId !== undefined) {\n headers.set('X-Databricks-Workspace-Id', workspaceId);\n }\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('PATCH', url, headers, callSignal, body);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(respBody, unmarshalMetastoreInfoSchema);\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n\n /**\n * Updates a metastore assignment. This operation can be used to update __metastore_id__ or __default_catalog_name__\n * for a specified Workspace, if the Workspace is already assigned a metastore.\n * The caller must be an account admin to update __metastore_id__; otherwise, the caller can be a Workspace admin.\n */\n async updateMetastoreAssignment(\n req: UpdateMetastoreAssignmentRequest,\n options?: CallOptions\n ): Promise<UpdateMetastoreAssignmentResponse> {\n const {host, workspaceId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.1/unity-catalog/workspaces/${String(req.workspaceId ?? '')}/metastore`;\n const body = marshalRequest(\n req,\n marshalUpdateMetastoreAssignmentRequestSchema\n );\n let resp: UpdateMetastoreAssignmentResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers({'Content-Type': 'application/json'});\n if (workspaceId !== undefined) {\n headers.set('X-Databricks-Workspace-Id', workspaceId);\n }\n headers.set('User-Agent', this.userAgent);\n const httpReq = buildHttpRequest('PATCH', url, headers, callSignal, body);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalUpdateMetastoreAssignmentResponseSchema\n );\n };\n await executeCall(call, options);\n if (resp === undefined) {\n throw new Error('operation completed without a result.');\n }\n return resp;\n }\n}\n"],"mappings":";;;;;;;;;AA0FA,MAAM,kBAAkB;CACtB,KAAK,iBAAyB,QAAQ,iBAAiB,GAAG;CAC1D,OAAOA;CACR;AAED,IAAa,mBAAb,MAA8B;CAC5B,AAAiB;CACjB,AAAiB;CAIjB,AAAiB;CAIjB,AAAQ;CAER,YAAY,SAAwB;AAClC,OAAK,UAAU;AACf,OAAK,SAAS,QAAQ,UAAU,IAAI,YAAY;AAKhD,OAAK,YAJQ,eAAe,CACzB,KAAK,gBAAgB,CACrB,KAAK;GAAC,KAAK;GAAe,OAAOC;GAAa,CAAC,CAC/C,KAAK;GAAC,KAAK;GAAQ,OAAO,QAAQ,aAAa,MAAM,IAAI;GAAU,CAAC,CACjD,UAAU;;CAGlC,AAAQ,gBAA+C;AACrD,OAAK,WAAW,oBAAoB,KAAK,QAAQ;AACjD,SAAO,KAAK;;;CAId,MAAM,wBACJ,KACA,SAC0C;EAC1C,MAAM,EAAC,MAAM,WAAW,eAAc,MAAM,KAAK,eAAe;EAChE,MAAM,MAAM,GAAG,KAAK,oBAAoB,IAAI,aAAa,aAAa,GAAG;EACzE,MAAM,OAAO,eACX,KACA,4CACD;EACD,IAAI;EACJ,MAAM,OAAO,OAAO,eAA4C;GAC9D,MAAM,UAAU,IAAI,QAAQ,EAAC,gBAAgB,oBAAmB,CAAC;AACjE,WAAQ,IAAI,cAAc,KAAK,UAAU;AAOzC,UAAO,cALU,MAAM,gBAAgB;IACrC,SAFc,iBAAiB,QAAQ,KAAK,SAAS,YAAY,KAAK;IAGtE;IACA,QAAQ,KAAK;IACd,CAAC,EAGA,+CACD;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CreateMetastoreRequest, AccountsCreateMetastoreResponse, AccountsDeleteMetastoreAssignmentRequest, AccountsDeleteMetastoreAssignmentResponse, AccountsDeleteMetastoreRequest, AccountsDeleteMetastoreResponse, AccountsGetMetastoreAssignmentRequest, AccountsGetMetastoreAssignmentResponse, AccountsGetMetastoreRequest, AccountsGetMetastoreResponse, AccountsListMetastoresRequest, AccountsListMetastoresResponse, AccountsListWorkspaceIdsForMetastoreRequest, AccountsListWorkspaceIdsForMetastoreResponse, AccountsUpdateMetastoreAssignmentRequest, AccountsUpdateMetastoreAssignmentResponse, AccountsUpdateMetastoreRequest, AccountsUpdateMetastoreResponse, CreateAccountsMetastore, CreateMetastoreAssignmentRequest, CreateMetastoreAssignmentResponse, CreateMetastoreRequest, DeleteMetastoreAssignmentRequest, DeleteMetastoreAssignmentResponse, DeleteMetastoreRequest, DeleteMetastoreResponse, DeltaSharingScope, DeltaSharingScope_Enum, GetCurrentMetastoreAssignmentRequest, GetMetastoreRequest, GetMetastoreSummaryRequest, GetMetastoreSummaryResponse, ListMetastoresRequest, ListMetastoresResponse, MetastoreAssignment, MetastoreInfo, UpdateAccountsMetastore, UpdateMetastoreAssignmentRequest, UpdateMetastoreAssignmentResponse, UpdateMetastoreRequest } from "./model.js";
|
|
1
|
+
import { AccountsCreateMetastoreAssignmentRequest, AccountsCreateMetastoreAssignmentResponse, AccountsCreateMetastoreRequest, AccountsCreateMetastoreResponse, AccountsDeleteMetastoreAssignmentRequest, AccountsDeleteMetastoreAssignmentResponse, AccountsDeleteMetastoreRequest, AccountsDeleteMetastoreResponse, AccountsGetMetastoreAssignmentRequest, AccountsGetMetastoreAssignmentResponse, AccountsGetMetastoreRequest, AccountsGetMetastoreResponse, AccountsListMetastoresRequest, AccountsListMetastoresResponse, AccountsListWorkspaceIdsForMetastoreRequest, AccountsListWorkspaceIdsForMetastoreResponse, AccountsUpdateMetastoreAssignmentRequest, AccountsUpdateMetastoreAssignmentResponse, AccountsUpdateMetastoreRequest, AccountsUpdateMetastoreResponse, CreateAccountsMetastore, CreateMetastoreAssignmentRequest, CreateMetastoreAssignmentResponse, CreateMetastoreRequest, DeleteMetastoreAssignmentRequest, DeleteMetastoreAssignmentResponse, DeleteMetastoreRequest, DeleteMetastoreResponse, DeltaSharingScope, DeltaSharingScope_Enum, GetCurrentMetastoreAssignmentRequest, GetMetastoreRequest, GetMetastoreSummaryRequest, GetMetastoreSummaryResponse, ListMetastoresRequest, ListMetastoresResponse, MetastoreAssignment, MetastoreInfo, UndropMetastoreByIdRequest, UpdateAccountsMetastore, UpdateMetastoreAssignmentRequest, UpdateMetastoreAssignmentResponse, UpdateMetastoreRequest } from "./model.js";
|
|
2
2
|
import { MetastoresClient } from "./client.js";
|
|
3
|
-
export { type AccountsCreateMetastoreAssignmentRequest, type AccountsCreateMetastoreAssignmentResponse, type AccountsCreateMetastoreRequest, type AccountsCreateMetastoreResponse, type AccountsDeleteMetastoreAssignmentRequest, type AccountsDeleteMetastoreAssignmentResponse, type AccountsDeleteMetastoreRequest, type AccountsDeleteMetastoreResponse, type AccountsGetMetastoreAssignmentRequest, type AccountsGetMetastoreAssignmentResponse, type AccountsGetMetastoreRequest, type AccountsGetMetastoreResponse, type AccountsListMetastoresRequest, type AccountsListMetastoresResponse, type AccountsListWorkspaceIdsForMetastoreRequest, type AccountsListWorkspaceIdsForMetastoreResponse, type AccountsUpdateMetastoreAssignmentRequest, type AccountsUpdateMetastoreAssignmentResponse, type AccountsUpdateMetastoreRequest, type AccountsUpdateMetastoreResponse, type CreateAccountsMetastore, type CreateMetastoreAssignmentRequest, type CreateMetastoreAssignmentResponse, type CreateMetastoreRequest, type DeleteMetastoreAssignmentRequest, type DeleteMetastoreAssignmentResponse, type DeleteMetastoreRequest, type DeleteMetastoreResponse, type DeltaSharingScope, DeltaSharingScope_Enum, type GetCurrentMetastoreAssignmentRequest, type GetMetastoreRequest, type GetMetastoreSummaryRequest, type GetMetastoreSummaryResponse, type ListMetastoresRequest, type ListMetastoresResponse, type MetastoreAssignment, type MetastoreInfo, MetastoresClient, type UpdateAccountsMetastore, type UpdateMetastoreAssignmentRequest, type UpdateMetastoreAssignmentResponse, type UpdateMetastoreRequest };
|
|
3
|
+
export { type AccountsCreateMetastoreAssignmentRequest, type AccountsCreateMetastoreAssignmentResponse, type AccountsCreateMetastoreRequest, type AccountsCreateMetastoreResponse, type AccountsDeleteMetastoreAssignmentRequest, type AccountsDeleteMetastoreAssignmentResponse, type AccountsDeleteMetastoreRequest, type AccountsDeleteMetastoreResponse, type AccountsGetMetastoreAssignmentRequest, type AccountsGetMetastoreAssignmentResponse, type AccountsGetMetastoreRequest, type AccountsGetMetastoreResponse, type AccountsListMetastoresRequest, type AccountsListMetastoresResponse, type AccountsListWorkspaceIdsForMetastoreRequest, type AccountsListWorkspaceIdsForMetastoreResponse, type AccountsUpdateMetastoreAssignmentRequest, type AccountsUpdateMetastoreAssignmentResponse, type AccountsUpdateMetastoreRequest, type AccountsUpdateMetastoreResponse, type CreateAccountsMetastore, type CreateMetastoreAssignmentRequest, type CreateMetastoreAssignmentResponse, type CreateMetastoreRequest, type DeleteMetastoreAssignmentRequest, type DeleteMetastoreAssignmentResponse, type DeleteMetastoreRequest, type DeleteMetastoreResponse, type DeltaSharingScope, DeltaSharingScope_Enum, type GetCurrentMetastoreAssignmentRequest, type GetMetastoreRequest, type GetMetastoreSummaryRequest, type GetMetastoreSummaryResponse, type ListMetastoresRequest, type ListMetastoresResponse, type MetastoreAssignment, type MetastoreInfo, MetastoresClient, type UndropMetastoreByIdRequest, type UpdateAccountsMetastore, type UpdateMetastoreAssignmentRequest, type UpdateMetastoreAssignmentResponse, type UpdateMetastoreRequest };
|
package/dist/v1/model.d.ts
CHANGED
|
@@ -354,6 +354,11 @@ interface MetastoreInfo {
|
|
|
354
354
|
/** Whether to allow non-DBR clients to directly access entities under the metastore. */
|
|
355
355
|
externalAccessEnabled?: boolean | undefined;
|
|
356
356
|
}
|
|
357
|
+
/** Request to restore a soft-deleted metastore by ID. */
|
|
358
|
+
interface UndropMetastoreByIdRequest {
|
|
359
|
+
/** Required. Id of the metastore to undrop. */
|
|
360
|
+
id?: string | undefined;
|
|
361
|
+
}
|
|
357
362
|
interface UpdateAccountsMetastore {
|
|
358
363
|
/** The user-specified name of the metastore. */
|
|
359
364
|
name?: string | undefined;
|
|
@@ -477,9 +482,10 @@ declare const marshalCreateAccountsMetastoreSchema: z.ZodType;
|
|
|
477
482
|
declare const marshalCreateMetastoreAssignmentRequestSchema: z.ZodType;
|
|
478
483
|
declare const marshalCreateMetastoreRequestSchema: z.ZodType;
|
|
479
484
|
declare const marshalMetastoreAssignmentSchema: z.ZodType;
|
|
485
|
+
declare const marshalUndropMetastoreByIdRequestSchema: z.ZodType;
|
|
480
486
|
declare const marshalUpdateAccountsMetastoreSchema: z.ZodType;
|
|
481
487
|
declare const marshalUpdateMetastoreAssignmentRequestSchema: z.ZodType;
|
|
482
488
|
declare const marshalUpdateMetastoreRequestSchema: z.ZodType;
|
|
483
489
|
//#endregion
|
|
484
|
-
export { AccountsCreateMetastoreAssignmentRequest, AccountsCreateMetastoreAssignmentResponse, AccountsCreateMetastoreRequest, AccountsCreateMetastoreResponse, AccountsDeleteMetastoreAssignmentRequest, AccountsDeleteMetastoreAssignmentResponse, AccountsDeleteMetastoreRequest, AccountsDeleteMetastoreResponse, AccountsGetMetastoreAssignmentRequest, AccountsGetMetastoreAssignmentResponse, AccountsGetMetastoreRequest, AccountsGetMetastoreResponse, AccountsListMetastoresRequest, AccountsListMetastoresResponse, AccountsListWorkspaceIdsForMetastoreRequest, AccountsListWorkspaceIdsForMetastoreResponse, AccountsUpdateMetastoreAssignmentRequest, AccountsUpdateMetastoreAssignmentResponse, AccountsUpdateMetastoreRequest, AccountsUpdateMetastoreResponse, CreateAccountsMetastore, CreateMetastoreAssignmentRequest, CreateMetastoreAssignmentResponse, CreateMetastoreRequest, DeleteMetastoreAssignmentRequest, DeleteMetastoreAssignmentResponse, DeleteMetastoreRequest, DeleteMetastoreResponse, DeltaSharingScope, DeltaSharingScope_Enum, GetCurrentMetastoreAssignmentRequest, GetMetastoreRequest, GetMetastoreSummaryRequest, GetMetastoreSummaryResponse, ListMetastoresRequest, ListMetastoresResponse, MetastoreAssignment, MetastoreInfo, UpdateAccountsMetastore, UpdateMetastoreAssignmentRequest, UpdateMetastoreAssignmentResponse, UpdateMetastoreRequest, marshalAccountsCreateMetastoreAssignmentRequestSchema, marshalAccountsCreateMetastoreRequestSchema, marshalAccountsUpdateMetastoreAssignmentRequestSchema, marshalAccountsUpdateMetastoreRequestSchema, marshalCreateAccountsMetastoreSchema, marshalCreateMetastoreAssignmentRequestSchema, marshalCreateMetastoreRequestSchema, marshalMetastoreAssignmentSchema, marshalUpdateAccountsMetastoreSchema, marshalUpdateMetastoreAssignmentRequestSchema, marshalUpdateMetastoreRequestSchema, unmarshalAccountsCreateMetastoreAssignmentResponseSchema, unmarshalAccountsCreateMetastoreResponseSchema, unmarshalAccountsDeleteMetastoreAssignmentResponseSchema, unmarshalAccountsDeleteMetastoreResponseSchema, unmarshalAccountsGetMetastoreAssignmentResponseSchema, unmarshalAccountsGetMetastoreResponseSchema, unmarshalAccountsListMetastoresResponseSchema, unmarshalAccountsListWorkspaceIdsForMetastoreResponseSchema, unmarshalAccountsUpdateMetastoreAssignmentResponseSchema, unmarshalAccountsUpdateMetastoreResponseSchema, unmarshalCreateMetastoreAssignmentResponseSchema, unmarshalDeleteMetastoreAssignmentResponseSchema, unmarshalDeleteMetastoreResponseSchema, unmarshalGetMetastoreSummaryResponseSchema, unmarshalListMetastoresResponseSchema, unmarshalMetastoreAssignmentSchema, unmarshalMetastoreInfoSchema, unmarshalUpdateMetastoreAssignmentResponseSchema };
|
|
490
|
+
export { AccountsCreateMetastoreAssignmentRequest, AccountsCreateMetastoreAssignmentResponse, AccountsCreateMetastoreRequest, AccountsCreateMetastoreResponse, AccountsDeleteMetastoreAssignmentRequest, AccountsDeleteMetastoreAssignmentResponse, AccountsDeleteMetastoreRequest, AccountsDeleteMetastoreResponse, AccountsGetMetastoreAssignmentRequest, AccountsGetMetastoreAssignmentResponse, AccountsGetMetastoreRequest, AccountsGetMetastoreResponse, AccountsListMetastoresRequest, AccountsListMetastoresResponse, AccountsListWorkspaceIdsForMetastoreRequest, AccountsListWorkspaceIdsForMetastoreResponse, AccountsUpdateMetastoreAssignmentRequest, AccountsUpdateMetastoreAssignmentResponse, AccountsUpdateMetastoreRequest, AccountsUpdateMetastoreResponse, CreateAccountsMetastore, CreateMetastoreAssignmentRequest, CreateMetastoreAssignmentResponse, CreateMetastoreRequest, DeleteMetastoreAssignmentRequest, DeleteMetastoreAssignmentResponse, DeleteMetastoreRequest, DeleteMetastoreResponse, DeltaSharingScope, DeltaSharingScope_Enum, GetCurrentMetastoreAssignmentRequest, GetMetastoreRequest, GetMetastoreSummaryRequest, GetMetastoreSummaryResponse, ListMetastoresRequest, ListMetastoresResponse, MetastoreAssignment, MetastoreInfo, UndropMetastoreByIdRequest, UpdateAccountsMetastore, UpdateMetastoreAssignmentRequest, UpdateMetastoreAssignmentResponse, UpdateMetastoreRequest, marshalAccountsCreateMetastoreAssignmentRequestSchema, marshalAccountsCreateMetastoreRequestSchema, marshalAccountsUpdateMetastoreAssignmentRequestSchema, marshalAccountsUpdateMetastoreRequestSchema, marshalCreateAccountsMetastoreSchema, marshalCreateMetastoreAssignmentRequestSchema, marshalCreateMetastoreRequestSchema, marshalMetastoreAssignmentSchema, marshalUndropMetastoreByIdRequestSchema, marshalUpdateAccountsMetastoreSchema, marshalUpdateMetastoreAssignmentRequestSchema, marshalUpdateMetastoreRequestSchema, unmarshalAccountsCreateMetastoreAssignmentResponseSchema, unmarshalAccountsCreateMetastoreResponseSchema, unmarshalAccountsDeleteMetastoreAssignmentResponseSchema, unmarshalAccountsDeleteMetastoreResponseSchema, unmarshalAccountsGetMetastoreAssignmentResponseSchema, unmarshalAccountsGetMetastoreResponseSchema, unmarshalAccountsListMetastoresResponseSchema, unmarshalAccountsListWorkspaceIdsForMetastoreResponseSchema, unmarshalAccountsUpdateMetastoreAssignmentResponseSchema, unmarshalAccountsUpdateMetastoreResponseSchema, unmarshalCreateMetastoreAssignmentResponseSchema, unmarshalDeleteMetastoreAssignmentResponseSchema, unmarshalDeleteMetastoreResponseSchema, unmarshalGetMetastoreSummaryResponseSchema, unmarshalListMetastoresResponseSchema, unmarshalMetastoreAssignmentSchema, unmarshalMetastoreInfoSchema, unmarshalUpdateMetastoreAssignmentResponseSchema };
|
|
485
491
|
//# sourceMappingURL=model.d.ts.map
|
package/dist/v1/model.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","names":[],"sources":["../../src/v1/model.ts"],"mappings":";;;cAKa,sBAAA;;AAAb;;;;WAYU,QAAA;EAEE;;;;EAAA,SAFF,qBAAA;AAAA;AAAA,KAEE,sBAAA,WACA,sBAAA,eAAqC,sBAAA;;UAIhC,wCAAA;EAEf;EAAA,SAAA;EAIA;EAFA,WAAA;EAGsB;EADtB,WAAA;EACA,mBAAA,GAAsB,mBAAA;AAAA;;UAKP,yCAAA;;UAGA,8BAAA;EAA8B;EAE7C,SAAA;EACA,aAAA,GAAgB,uBAAA;AAAA;AAAA,UAGD,+BAAA;EACf,aAAA,GAAgB,aAAA;AAAA;;UAID,wCAAA;EAL+B;EAO9C,SAAA;EANA;EAQA,WAAA;EAJe;EAMf,WAAA;AAAA;;UAKe,yCAAA;;UAGA,8BAAA;EARJ;EAUX,SAAA;EALwD;EAOxD,WAAA;EAPwD;EASxD,KAAA;AAAA;;UAKe,+BAAA;;UAGA,qCAAA;EARf;EAUA,SAAA;EAVK;EAYL,WAAA;AAAA;;UAIe,sCAAA;EACf,mBAAA,GAAsB,mBAAA;AAAA;;UAIP,2BAAA;EAXf;EAaA,SAAA;EAPe;EASf,WAAA;AAAA;;UAIe,4BAAA;EACf,aAAA,GAAgB,aAAA;AAAA;;UAID,6BAAA;EATJ;EAWX,SAAA;AAAA;;UAIe,8BAAA;EAVc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
|
7
7
|
};
|
|
8
8
|
const unmarshalAccountsCreateMetastoreAssignmentResponseSchema = z.object({});
|
|
9
|
-
const unmarshalAccountsCreateMetastoreResponseSchema = z.object({ metastore_info: z.lazy(() => unmarshalMetastoreInfoSchema).
|
|
9
|
+
const unmarshalAccountsCreateMetastoreResponseSchema = z.object({ metastore_info: z.lazy(() => unmarshalMetastoreInfoSchema).nullish().transform((v) => v ?? void 0) }).transform((d) => ({ metastoreInfo: d.metastore_info }));
|
|
10
10
|
const unmarshalAccountsDeleteMetastoreAssignmentResponseSchema = z.object({});
|
|
11
11
|
const unmarshalAccountsDeleteMetastoreResponseSchema = z.object({});
|
|
12
|
-
const unmarshalAccountsGetMetastoreAssignmentResponseSchema = z.object({ metastore_assignment: z.lazy(() => unmarshalMetastoreAssignmentSchema).
|
|
13
|
-
const unmarshalAccountsGetMetastoreResponseSchema = z.object({ metastore_info: z.lazy(() => unmarshalMetastoreInfoSchema).
|
|
12
|
+
const unmarshalAccountsGetMetastoreAssignmentResponseSchema = z.object({ metastore_assignment: z.lazy(() => unmarshalMetastoreAssignmentSchema).nullish().transform((v) => v ?? void 0) }).transform((d) => ({ metastoreAssignment: d.metastore_assignment }));
|
|
13
|
+
const unmarshalAccountsGetMetastoreResponseSchema = z.object({ metastore_info: z.lazy(() => unmarshalMetastoreInfoSchema).nullish().transform((v) => v ?? void 0) }).transform((d) => ({ metastoreInfo: d.metastore_info }));
|
|
14
14
|
const unmarshalAccountsListMetastoresResponseSchema = z.object({ metastores: z.array(z.lazy(() => unmarshalMetastoreInfoSchema)).optional() }).transform((d) => ({ metastores: d.metastores }));
|
|
15
15
|
const unmarshalAccountsListWorkspaceIdsForMetastoreResponseSchema = z.object({ workspace_ids: z.array(z.union([
|
|
16
16
|
z.number(),
|
|
@@ -18,7 +18,7 @@ const unmarshalAccountsListWorkspaceIdsForMetastoreResponseSchema = z.object({ w
|
|
|
18
18
|
z.string()
|
|
19
19
|
]).transform((v) => BigInt(v))).optional() }).transform((d) => ({ workspaceIds: d.workspace_ids }));
|
|
20
20
|
const unmarshalAccountsUpdateMetastoreAssignmentResponseSchema = z.object({});
|
|
21
|
-
const unmarshalAccountsUpdateMetastoreResponseSchema = z.object({ metastore_info: z.lazy(() => unmarshalMetastoreInfoSchema).
|
|
21
|
+
const unmarshalAccountsUpdateMetastoreResponseSchema = z.object({ metastore_info: z.lazy(() => unmarshalMetastoreInfoSchema).nullish().transform((v) => v ?? void 0) }).transform((d) => ({ metastoreInfo: d.metastore_info }));
|
|
22
22
|
const unmarshalCreateMetastoreAssignmentResponseSchema = z.object({});
|
|
23
23
|
const unmarshalDeleteMetastoreAssignmentResponseSchema = z.object({});
|
|
24
24
|
const unmarshalDeleteMetastoreResponseSchema = z.object({});
|
|
@@ -287,6 +287,7 @@ const marshalMetastoreAssignmentSchema = z.object({
|
|
|
287
287
|
metastore_id: d.metastoreId,
|
|
288
288
|
default_catalog_name: d.defaultCatalogName
|
|
289
289
|
}));
|
|
290
|
+
const marshalUndropMetastoreByIdRequestSchema = z.object({ id: z.string().optional() }).transform((d) => ({ id: d.id }));
|
|
290
291
|
const marshalUpdateAccountsMetastoreSchema = z.object({
|
|
291
292
|
name: z.string().optional(),
|
|
292
293
|
storageRoot: z.string().optional(),
|
|
@@ -384,5 +385,5 @@ const marshalUpdateMetastoreRequestSchema = z.object({
|
|
|
384
385
|
}));
|
|
385
386
|
|
|
386
387
|
//#endregion
|
|
387
|
-
export { DeltaSharingScope_Enum, marshalAccountsCreateMetastoreAssignmentRequestSchema, marshalAccountsCreateMetastoreRequestSchema, marshalAccountsUpdateMetastoreAssignmentRequestSchema, marshalAccountsUpdateMetastoreRequestSchema, marshalCreateAccountsMetastoreSchema, marshalCreateMetastoreAssignmentRequestSchema, marshalCreateMetastoreRequestSchema, marshalMetastoreAssignmentSchema, marshalUpdateAccountsMetastoreSchema, marshalUpdateMetastoreAssignmentRequestSchema, marshalUpdateMetastoreRequestSchema, unmarshalAccountsCreateMetastoreAssignmentResponseSchema, unmarshalAccountsCreateMetastoreResponseSchema, unmarshalAccountsDeleteMetastoreAssignmentResponseSchema, unmarshalAccountsDeleteMetastoreResponseSchema, unmarshalAccountsGetMetastoreAssignmentResponseSchema, unmarshalAccountsGetMetastoreResponseSchema, unmarshalAccountsListMetastoresResponseSchema, unmarshalAccountsListWorkspaceIdsForMetastoreResponseSchema, unmarshalAccountsUpdateMetastoreAssignmentResponseSchema, unmarshalAccountsUpdateMetastoreResponseSchema, unmarshalCreateMetastoreAssignmentResponseSchema, unmarshalDeleteMetastoreAssignmentResponseSchema, unmarshalDeleteMetastoreResponseSchema, unmarshalGetMetastoreSummaryResponseSchema, unmarshalListMetastoresResponseSchema, unmarshalMetastoreAssignmentSchema, unmarshalMetastoreInfoSchema, unmarshalUpdateMetastoreAssignmentResponseSchema };
|
|
388
|
+
export { DeltaSharingScope_Enum, marshalAccountsCreateMetastoreAssignmentRequestSchema, marshalAccountsCreateMetastoreRequestSchema, marshalAccountsUpdateMetastoreAssignmentRequestSchema, marshalAccountsUpdateMetastoreRequestSchema, marshalCreateAccountsMetastoreSchema, marshalCreateMetastoreAssignmentRequestSchema, marshalCreateMetastoreRequestSchema, marshalMetastoreAssignmentSchema, marshalUndropMetastoreByIdRequestSchema, marshalUpdateAccountsMetastoreSchema, marshalUpdateMetastoreAssignmentRequestSchema, marshalUpdateMetastoreRequestSchema, unmarshalAccountsCreateMetastoreAssignmentResponseSchema, unmarshalAccountsCreateMetastoreResponseSchema, unmarshalAccountsDeleteMetastoreAssignmentResponseSchema, unmarshalAccountsDeleteMetastoreResponseSchema, unmarshalAccountsGetMetastoreAssignmentResponseSchema, unmarshalAccountsGetMetastoreResponseSchema, unmarshalAccountsListMetastoresResponseSchema, unmarshalAccountsListWorkspaceIdsForMetastoreResponseSchema, unmarshalAccountsUpdateMetastoreAssignmentResponseSchema, unmarshalAccountsUpdateMetastoreResponseSchema, unmarshalCreateMetastoreAssignmentResponseSchema, unmarshalDeleteMetastoreAssignmentResponseSchema, unmarshalDeleteMetastoreResponseSchema, unmarshalGetMetastoreSummaryResponseSchema, unmarshalListMetastoresResponseSchema, unmarshalMetastoreAssignmentSchema, unmarshalMetastoreInfoSchema, unmarshalUpdateMetastoreAssignmentResponseSchema };
|
|
388
389
|
//# sourceMappingURL=model.js.map
|
package/dist/v1/model.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.js","names":[],"sources":["../../src/v1/model.ts"],"sourcesContent":["// Code generated from API definition by Databricks SDK Generator. DO NOT EDIT.\n\nimport {z} from 'zod';\n\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const DeltaSharingScope_Enum = {\n /**\n * Internal Delta Sharing enabled on metastore.\n * This applies to Databricks-managed authentication where both provider and recipient are\n * under the same account.\n */\n INTERNAL: 'INTERNAL',\n /**\n * Internal and External Delta Sharing enabled on metastore.\n * This allows all flavors of Delta Sharing.\n */\n INTERNAL_AND_EXTERNAL: 'INTERNAL_AND_EXTERNAL',\n} as const;\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.\nexport type DeltaSharingScope_Enum =\n | (typeof DeltaSharingScope_Enum)[keyof typeof DeltaSharingScope_Enum]\n | (string & {});\n\n/** The mapping from workspace to metastore. */\nexport interface AccountsCreateMetastoreAssignmentRequest {\n /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */\n accountId?: string | undefined;\n /** Workspace ID. */\n workspaceId?: bigint | undefined;\n /** Unity Catalog metastore ID */\n metastoreId?: string | undefined;\n metastoreAssignment?: MetastoreAssignment | undefined;\n}\n\n/** The metastore assignment was successfully created. */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface AccountsCreateMetastoreAssignmentResponse {}\n\n/** Properties of the new metastore. */\nexport interface AccountsCreateMetastoreRequest {\n /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */\n accountId?: string | undefined;\n metastoreInfo?: CreateAccountsMetastore | undefined;\n}\n\nexport interface AccountsCreateMetastoreResponse {\n metastoreInfo?: MetastoreInfo | undefined;\n}\n\n/** Delete a metastore assignment to a workspace */\nexport interface AccountsDeleteMetastoreAssignmentRequest {\n /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */\n accountId?: string | undefined;\n /** Workspace ID. */\n workspaceId?: bigint | undefined;\n /** Unity Catalog metastore ID */\n metastoreId?: string | undefined;\n}\n\n/** The metastore assignment was successfully deleted. */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface AccountsDeleteMetastoreAssignmentResponse {}\n\n/** Delete a metastore for the given account */\nexport interface AccountsDeleteMetastoreRequest {\n /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */\n accountId?: string | undefined;\n /** Unity Catalog metastore ID */\n metastoreId?: string | undefined;\n /** Force deletion even if the metastore is not empty. Default is false. */\n force?: boolean | undefined;\n}\n\n/** The metastore was successfully deleted. */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface AccountsDeleteMetastoreResponse {}\n\n/** Retrieves the assignment of which metastore to a given workspace */\nexport interface AccountsGetMetastoreAssignmentRequest {\n /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */\n accountId?: string | undefined;\n /** Workspace ID. */\n workspaceId?: bigint | undefined;\n}\n\n/** The workspace metastore assignment was successfully returned. */\nexport interface AccountsGetMetastoreAssignmentResponse {\n metastoreAssignment?: MetastoreAssignment | undefined;\n}\n\n/** Get a metastore for a given account */\nexport interface AccountsGetMetastoreRequest {\n /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */\n accountId?: string | undefined;\n /** Unity Catalog metastore ID */\n metastoreId?: string | undefined;\n}\n\n/** The metastore was successfully returned. */\nexport interface AccountsGetMetastoreResponse {\n metastoreInfo?: MetastoreInfo | undefined;\n}\n\n/** List the metastores for an account */\nexport interface AccountsListMetastoresRequest {\n /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */\n accountId?: string | undefined;\n}\n\n/** Metastores were returned successfully. */\nexport interface AccountsListMetastoresResponse {\n /** An array of metastore information objects. */\n metastores?: MetastoreInfo[] | undefined;\n}\n\n/** Lists all workspace IDs for a given metastore */\nexport interface AccountsListWorkspaceIdsForMetastoreRequest {\n /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */\n accountId?: string | undefined;\n /** Unity Catalog metastore ID */\n metastoreId?: string | undefined;\n}\n\n/** The metastore assignments were successfully returned. */\nexport interface AccountsListWorkspaceIdsForMetastoreResponse {\n workspaceIds?: bigint[] | undefined;\n}\n\n/** The metastore assignment to update. */\nexport interface AccountsUpdateMetastoreAssignmentRequest {\n /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */\n accountId?: string | undefined;\n /** Workspace ID. */\n workspaceId?: bigint | undefined;\n /** Unity Catalog metastore ID */\n metastoreId?: string | undefined;\n metastoreAssignment?: MetastoreAssignment | undefined;\n}\n\n/** The metastore assignment was successfully updated. */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface AccountsUpdateMetastoreAssignmentResponse {}\n\n/** Properties of the metastore to change. */\nexport interface AccountsUpdateMetastoreRequest {\n /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */\n accountId?: string | undefined;\n /** Unity Catalog metastore ID */\n metastoreId?: string | undefined;\n /** Properties of the metastore to change. */\n metastoreInfo?: UpdateAccountsMetastore | undefined;\n}\n\n/** The metastore update request succeeded. */\nexport interface AccountsUpdateMetastoreResponse {\n metastoreInfo?: MetastoreInfo | undefined;\n}\n\nexport interface CreateAccountsMetastore {\n /** The user-specified name of the metastore. */\n name?: string | undefined;\n /** The storage root URL for metastore */\n storageRoot?: string | undefined;\n /** Unique identifier of the metastore's (Default) Data Access Configuration. */\n defaultDataAccessConfigId?: string | undefined;\n /** UUID of storage credential to access the metastore storage_root. */\n storageRootCredentialId?: string | undefined;\n /** The scope of Delta Sharing enabled for the metastore. */\n deltaSharingScope?: DeltaSharingScope_Enum | undefined;\n /** The lifetime of delta sharing recipient token in seconds. */\n deltaSharingRecipientTokenLifetimeInSeconds?: bigint | undefined;\n /** The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name. */\n deltaSharingOrganizationName?: string | undefined;\n /** The owner of the metastore. */\n owner?: string | undefined;\n /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */\n privilegeModelVersion?: string | undefined;\n /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */\n region?: string | undefined;\n /** Unique identifier of metastore. */\n metastoreId?: string | undefined;\n /** Time at which this metastore was created, in epoch milliseconds. */\n createdAt?: bigint | undefined;\n /** Username of metastore creator. */\n createdBy?: string | undefined;\n /** Time at which the metastore was last modified, in epoch milliseconds. */\n updatedAt?: bigint | undefined;\n /** Username of user who last modified the metastore. */\n updatedBy?: string | undefined;\n /** Name of the storage credential to access the metastore storage_root. */\n storageRootCredentialName?: string | undefined;\n /** Cloud vendor of the metastore home shard (e.g., `aws`, `azure`, `gcp`). */\n cloud?: string | undefined;\n /** Globally unique metastore ID across clouds and regions, of the form `cloud:region:metastore_id`. */\n globalMetastoreId?: string | undefined;\n /** Whether to allow non-DBR clients to directly access entities under the metastore. */\n externalAccessEnabled?: boolean | undefined;\n}\n\nexport interface CreateMetastoreAssignmentRequest {\n /** A workspace ID. */\n workspaceId?: bigint | undefined;\n /** The unique ID of the metastore. */\n metastoreId?: string | undefined;\n /**\n * The name of the default catalog in the metastore.\n * This field is deprecated. Please use \"Default Namespace API\" to\n * configure the default catalog for a <Databricks> workspace.\n */\n defaultCatalogName?: string | undefined;\n}\n\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface CreateMetastoreAssignmentResponse {}\n\nexport interface CreateMetastoreRequest {\n /** The user-specified name of the metastore. */\n name?: string | undefined;\n /** The storage root URL for metastore */\n storageRoot?: string | undefined;\n /** Unique identifier of the metastore's (Default) Data Access Configuration. */\n defaultDataAccessConfigId?: string | undefined;\n /** UUID of storage credential to access the metastore storage_root. */\n storageRootCredentialId?: string | undefined;\n /** The scope of Delta Sharing enabled for the metastore. */\n deltaSharingScope?: DeltaSharingScope_Enum | undefined;\n /** The lifetime of delta sharing recipient token in seconds. */\n deltaSharingRecipientTokenLifetimeInSeconds?: bigint | undefined;\n /** The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name. */\n deltaSharingOrganizationName?: string | undefined;\n /** The owner of the metastore. */\n owner?: string | undefined;\n /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */\n privilegeModelVersion?: string | undefined;\n /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */\n region?: string | undefined;\n /** Unique identifier of metastore. */\n metastoreId?: string | undefined;\n /** Time at which this metastore was created, in epoch milliseconds. */\n createdAt?: bigint | undefined;\n /** Username of metastore creator. */\n createdBy?: string | undefined;\n /** Time at which the metastore was last modified, in epoch milliseconds. */\n updatedAt?: bigint | undefined;\n /** Username of user who last modified the metastore. */\n updatedBy?: string | undefined;\n /** Name of the storage credential to access the metastore storage_root. */\n storageRootCredentialName?: string | undefined;\n /** Cloud vendor of the metastore home shard (e.g., `aws`, `azure`, `gcp`). */\n cloud?: string | undefined;\n /** Globally unique metastore ID across clouds and regions, of the form `cloud:region:metastore_id`. */\n globalMetastoreId?: string | undefined;\n /** Whether to allow non-DBR clients to directly access entities under the metastore. */\n externalAccessEnabled?: boolean | undefined;\n}\n\nexport interface DeleteMetastoreAssignmentRequest {\n /** A workspace ID. */\n workspaceId?: bigint | undefined;\n /** Query for the ID of the metastore to delete. */\n metastoreId?: string | undefined;\n}\n\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface DeleteMetastoreAssignmentResponse {}\n\nexport interface DeleteMetastoreRequest {\n /** Unique ID of the metastore. */\n id?: string | undefined;\n /** Force deletion even if the metastore is not empty. Default is false. */\n force?: boolean | undefined;\n}\n\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface DeleteMetastoreResponse {}\n\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface DeltaSharingScope {}\n\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface GetCurrentMetastoreAssignmentRequest {}\n\nexport interface GetMetastoreRequest {\n /** Unique ID of the metastore. */\n id?: string | undefined;\n}\n\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface GetMetastoreSummaryRequest {}\n\nexport interface GetMetastoreSummaryResponse {\n /** Unique identifier of metastore. */\n metastoreId?: string | undefined;\n /** The user-specified name of the metastore. */\n name?: string | undefined;\n /** Unique identifier of the metastore's (Default) Data Access Configuration. */\n defaultDataAccessConfigId?: string | undefined;\n /** UUID of storage credential to access the metastore storage_root. */\n storageRootCredentialId?: string | undefined;\n /** Cloud vendor of the metastore home shard (e.g., `aws`, `azure`, `gcp`). */\n cloud?: string | undefined;\n /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */\n region?: string | undefined;\n /** Globally unique metastore ID across clouds and regions, of the form `cloud:region:metastore_id`. */\n globalMetastoreId?: string | undefined;\n /** Name of the storage credential to access the metastore storage_root. */\n storageRootCredentialName?: string | undefined;\n /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */\n privilegeModelVersion?: string | undefined;\n /** The scope of Delta Sharing enabled for the metastore. */\n deltaSharingScope?: DeltaSharingScope_Enum | undefined;\n /** The lifetime of delta sharing recipient token in seconds. */\n deltaSharingRecipientTokenLifetimeInSeconds?: bigint | undefined;\n /** The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name. */\n deltaSharingOrganizationName?: string | undefined;\n /** The storage root URL for metastore */\n storageRoot?: string | undefined;\n /** The owner of the metastore. */\n owner?: string | undefined;\n /** Time at which this metastore was created, in epoch milliseconds. */\n createdAt?: bigint | undefined;\n /** Username of metastore creator. */\n createdBy?: string | undefined;\n /** Time at which the metastore was last modified, in epoch milliseconds. */\n updatedAt?: bigint | undefined;\n /** Username of user who last modified the metastore. */\n updatedBy?: string | undefined;\n /** Whether to allow non-DBR clients to directly access entities under the metastore. */\n externalAccessEnabled?: boolean | undefined;\n}\n\nexport interface ListMetastoresRequest {\n /**\n * Maximum number of metastores to return.\n * - when set to a value greater than 0, the page length is the minimum of this value and a server configured value;\n * - when set to 0, the page length is set to a server configured value (recommended);\n * - when set to a value less than 0, an invalid parameter error is returned;\n * - If not set, all the metastores are returned (not recommended).\n * - Note: The number of returned metastores might be less than the specified max_results size, even zero.\n * The only definitive indication that no further metastores can be fetched is when the next_page_token is unset from the response.\n */\n maxResults?: number | undefined;\n /** Opaque pagination token to go to next page based on previous query. */\n pageToken?: string | undefined;\n}\n\nexport interface ListMetastoresResponse {\n /** An array of metastore information objects. */\n metastores?: MetastoreInfo[] | undefined;\n /**\n * Opaque token to retrieve the next page of results. Absent if there are no more pages.\n * __page_token__ should be set to this value for the next request (for the next page of results).\n */\n nextPageToken?: string | undefined;\n}\n\nexport interface MetastoreAssignment {\n /** The unique ID of the <Databricks> workspace. */\n workspaceId?: bigint | undefined;\n /** The unique ID of the metastore. */\n metastoreId?: string | undefined;\n /**\n * The name of the default catalog in the metastore. This field is deprecated.\n * Please use \"Default Namespace API\" to configure the default catalog for a <Databricks> workspace.\n */\n defaultCatalogName?: string | undefined;\n}\n\nexport interface MetastoreInfo {\n /** The user-specified name of the metastore. */\n name?: string | undefined;\n /** The storage root URL for metastore */\n storageRoot?: string | undefined;\n /** Unique identifier of the metastore's (Default) Data Access Configuration. */\n defaultDataAccessConfigId?: string | undefined;\n /** UUID of storage credential to access the metastore storage_root. */\n storageRootCredentialId?: string | undefined;\n /** The scope of Delta Sharing enabled for the metastore. */\n deltaSharingScope?: DeltaSharingScope_Enum | undefined;\n /** The lifetime of delta sharing recipient token in seconds. */\n deltaSharingRecipientTokenLifetimeInSeconds?: bigint | undefined;\n /** The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name. */\n deltaSharingOrganizationName?: string | undefined;\n /** The owner of the metastore. */\n owner?: string | undefined;\n /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */\n privilegeModelVersion?: string | undefined;\n /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */\n region?: string | undefined;\n /** Unique identifier of metastore. */\n metastoreId?: string | undefined;\n /** Time at which this metastore was created, in epoch milliseconds. */\n createdAt?: bigint | undefined;\n /** Username of metastore creator. */\n createdBy?: string | undefined;\n /** Time at which the metastore was last modified, in epoch milliseconds. */\n updatedAt?: bigint | undefined;\n /** Username of user who last modified the metastore. */\n updatedBy?: string | undefined;\n /** Name of the storage credential to access the metastore storage_root. */\n storageRootCredentialName?: string | undefined;\n /** Cloud vendor of the metastore home shard (e.g., `aws`, `azure`, `gcp`). */\n cloud?: string | undefined;\n /** Globally unique metastore ID across clouds and regions, of the form `cloud:region:metastore_id`. */\n globalMetastoreId?: string | undefined;\n /** Whether to allow non-DBR clients to directly access entities under the metastore. */\n externalAccessEnabled?: boolean | undefined;\n}\n\nexport interface UpdateAccountsMetastore {\n /** The user-specified name of the metastore. */\n name?: string | undefined;\n /** The storage root URL for metastore */\n storageRoot?: string | undefined;\n /** Unique identifier of the metastore's (Default) Data Access Configuration. */\n defaultDataAccessConfigId?: string | undefined;\n /** UUID of storage credential to access the metastore storage_root. */\n storageRootCredentialId?: string | undefined;\n /** The scope of Delta Sharing enabled for the metastore. */\n deltaSharingScope?: DeltaSharingScope_Enum | undefined;\n /** The lifetime of delta sharing recipient token in seconds. */\n deltaSharingRecipientTokenLifetimeInSeconds?: bigint | undefined;\n /** The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name. */\n deltaSharingOrganizationName?: string | undefined;\n /** The owner of the metastore. */\n owner?: string | undefined;\n /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */\n privilegeModelVersion?: string | undefined;\n /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */\n region?: string | undefined;\n /** Unique identifier of metastore. */\n metastoreId?: string | undefined;\n /** Time at which this metastore was created, in epoch milliseconds. */\n createdAt?: bigint | undefined;\n /** Username of metastore creator. */\n createdBy?: string | undefined;\n /** Time at which the metastore was last modified, in epoch milliseconds. */\n updatedAt?: bigint | undefined;\n /** Username of user who last modified the metastore. */\n updatedBy?: string | undefined;\n /** Name of the storage credential to access the metastore storage_root. */\n storageRootCredentialName?: string | undefined;\n /** Cloud vendor of the metastore home shard (e.g., `aws`, `azure`, `gcp`). */\n cloud?: string | undefined;\n /** Globally unique metastore ID across clouds and regions, of the form `cloud:region:metastore_id`. */\n globalMetastoreId?: string | undefined;\n /** Whether to allow non-DBR clients to directly access entities under the metastore. */\n externalAccessEnabled?: boolean | undefined;\n}\n\nexport interface UpdateMetastoreAssignmentRequest {\n /** A workspace ID. */\n workspaceId?: bigint | undefined;\n /** The unique ID of the metastore. */\n metastoreId?: string | undefined;\n /**\n * The name of the default catalog in the metastore.\n * This field is deprecated. Please use \"Default Namespace API\" to\n * configure the default catalog for a <Databricks> workspace.\n */\n defaultCatalogName?: string | undefined;\n}\n\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface UpdateMetastoreAssignmentResponse {}\n\nexport interface UpdateMetastoreRequest {\n /** Unique ID of the metastore. */\n id?: string | undefined;\n /** New name for the metastore. */\n newName?: string | undefined;\n /** The user-specified name of the metastore. */\n name?: string | undefined;\n /** The storage root URL for metastore */\n storageRoot?: string | undefined;\n /** Unique identifier of the metastore's (Default) Data Access Configuration. */\n defaultDataAccessConfigId?: string | undefined;\n /** UUID of storage credential to access the metastore storage_root. */\n storageRootCredentialId?: string | undefined;\n /** The scope of Delta Sharing enabled for the metastore. */\n deltaSharingScope?: DeltaSharingScope_Enum | undefined;\n /** The lifetime of delta sharing recipient token in seconds. */\n deltaSharingRecipientTokenLifetimeInSeconds?: bigint | undefined;\n /** The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name. */\n deltaSharingOrganizationName?: string | undefined;\n /** The owner of the metastore. */\n owner?: string | undefined;\n /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */\n privilegeModelVersion?: string | undefined;\n /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */\n region?: string | undefined;\n /** Unique identifier of metastore. */\n metastoreId?: string | undefined;\n /** Time at which this metastore was created, in epoch milliseconds. */\n createdAt?: bigint | undefined;\n /** Username of metastore creator. */\n createdBy?: string | undefined;\n /** Time at which the metastore was last modified, in epoch milliseconds. */\n updatedAt?: bigint | undefined;\n /** Username of user who last modified the metastore. */\n updatedBy?: string | undefined;\n /** Name of the storage credential to access the metastore storage_root. */\n storageRootCredentialName?: string | undefined;\n /** Cloud vendor of the metastore home shard (e.g., `aws`, `azure`, `gcp`). */\n cloud?: string | undefined;\n /** Globally unique metastore ID across clouds and regions, of the form `cloud:region:metastore_id`. */\n globalMetastoreId?: string | undefined;\n /** Whether to allow non-DBR clients to directly access entities under the metastore. */\n externalAccessEnabled?: boolean | undefined;\n}\n\nexport const unmarshalAccountsCreateMetastoreAssignmentResponseSchema: z.ZodType<AccountsCreateMetastoreAssignmentResponse> =\n z.object({});\n\nexport const unmarshalAccountsCreateMetastoreResponseSchema: z.ZodType<AccountsCreateMetastoreResponse> =\n z\n .object({\n metastore_info: z.lazy(() => unmarshalMetastoreInfoSchema).optional(),\n })\n .transform(d => ({\n metastoreInfo: d.metastore_info,\n }));\n\nexport const unmarshalAccountsDeleteMetastoreAssignmentResponseSchema: z.ZodType<AccountsDeleteMetastoreAssignmentResponse> =\n z.object({});\n\nexport const unmarshalAccountsDeleteMetastoreResponseSchema: z.ZodType<AccountsDeleteMetastoreResponse> =\n z.object({});\n\nexport const unmarshalAccountsGetMetastoreAssignmentResponseSchema: z.ZodType<AccountsGetMetastoreAssignmentResponse> =\n z\n .object({\n metastore_assignment: z\n .lazy(() => unmarshalMetastoreAssignmentSchema)\n .optional(),\n })\n .transform(d => ({\n metastoreAssignment: d.metastore_assignment,\n }));\n\nexport const unmarshalAccountsGetMetastoreResponseSchema: z.ZodType<AccountsGetMetastoreResponse> =\n z\n .object({\n metastore_info: z.lazy(() => unmarshalMetastoreInfoSchema).optional(),\n })\n .transform(d => ({\n metastoreInfo: d.metastore_info,\n }));\n\nexport const unmarshalAccountsListMetastoresResponseSchema: z.ZodType<AccountsListMetastoresResponse> =\n z\n .object({\n metastores: z\n .array(z.lazy(() => unmarshalMetastoreInfoSchema))\n .optional(),\n })\n .transform(d => ({\n metastores: d.metastores,\n }));\n\nexport const unmarshalAccountsListWorkspaceIdsForMetastoreResponseSchema: z.ZodType<AccountsListWorkspaceIdsForMetastoreResponse> =\n z\n .object({\n workspace_ids: z\n .array(\n z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n )\n .optional(),\n })\n .transform(d => ({\n workspaceIds: d.workspace_ids,\n }));\n\nexport const unmarshalAccountsUpdateMetastoreAssignmentResponseSchema: z.ZodType<AccountsUpdateMetastoreAssignmentResponse> =\n z.object({});\n\nexport const unmarshalAccountsUpdateMetastoreResponseSchema: z.ZodType<AccountsUpdateMetastoreResponse> =\n z\n .object({\n metastore_info: z.lazy(() => unmarshalMetastoreInfoSchema).optional(),\n })\n .transform(d => ({\n metastoreInfo: d.metastore_info,\n }));\n\nexport const unmarshalCreateMetastoreAssignmentResponseSchema: z.ZodType<CreateMetastoreAssignmentResponse> =\n z.object({});\n\nexport const unmarshalDeleteMetastoreAssignmentResponseSchema: z.ZodType<DeleteMetastoreAssignmentResponse> =\n z.object({});\n\nexport const unmarshalDeleteMetastoreResponseSchema: z.ZodType<DeleteMetastoreResponse> =\n z.object({});\n\nexport const unmarshalGetMetastoreSummaryResponseSchema: z.ZodType<GetMetastoreSummaryResponse> =\n z\n .object({\n metastore_id: z.string().optional(),\n name: z.string().optional(),\n default_data_access_config_id: z.string().optional(),\n storage_root_credential_id: z.string().optional(),\n cloud: z.string().optional(),\n region: z.string().optional(),\n global_metastore_id: z.string().optional(),\n storage_root_credential_name: z.string().optional(),\n privilege_model_version: z.string().optional(),\n delta_sharing_scope: z.string().optional(),\n delta_sharing_recipient_token_lifetime_in_seconds: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n delta_sharing_organization_name: z.string().optional(),\n storage_root: z.string().optional(),\n owner: z.string().optional(),\n created_at: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n created_by: z.string().optional(),\n updated_at: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n updated_by: z.string().optional(),\n external_access_enabled: z.boolean().optional(),\n })\n .transform(d => ({\n metastoreId: d.metastore_id,\n name: d.name,\n defaultDataAccessConfigId: d.default_data_access_config_id,\n storageRootCredentialId: d.storage_root_credential_id,\n cloud: d.cloud,\n region: d.region,\n globalMetastoreId: d.global_metastore_id,\n storageRootCredentialName: d.storage_root_credential_name,\n privilegeModelVersion: d.privilege_model_version,\n deltaSharingScope: d.delta_sharing_scope,\n deltaSharingRecipientTokenLifetimeInSeconds:\n d.delta_sharing_recipient_token_lifetime_in_seconds,\n deltaSharingOrganizationName: d.delta_sharing_organization_name,\n storageRoot: d.storage_root,\n owner: d.owner,\n createdAt: d.created_at,\n createdBy: d.created_by,\n updatedAt: d.updated_at,\n updatedBy: d.updated_by,\n externalAccessEnabled: d.external_access_enabled,\n }));\n\nexport const unmarshalListMetastoresResponseSchema: z.ZodType<ListMetastoresResponse> =\n z\n .object({\n metastores: z\n .array(z.lazy(() => unmarshalMetastoreInfoSchema))\n .optional(),\n next_page_token: z.string().optional(),\n })\n .transform(d => ({\n metastores: d.metastores,\n nextPageToken: d.next_page_token,\n }));\n\nexport const unmarshalMetastoreAssignmentSchema: z.ZodType<MetastoreAssignment> =\n z\n .object({\n workspace_id: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n metastore_id: z.string().optional(),\n default_catalog_name: z.string().optional(),\n })\n .transform(d => ({\n workspaceId: d.workspace_id,\n metastoreId: d.metastore_id,\n defaultCatalogName: d.default_catalog_name,\n }));\n\nexport const unmarshalMetastoreInfoSchema: z.ZodType<MetastoreInfo> = z\n .object({\n name: z.string().optional(),\n storage_root: z.string().optional(),\n default_data_access_config_id: z.string().optional(),\n storage_root_credential_id: z.string().optional(),\n delta_sharing_scope: z.string().optional(),\n delta_sharing_recipient_token_lifetime_in_seconds: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n delta_sharing_organization_name: z.string().optional(),\n owner: z.string().optional(),\n privilege_model_version: z.string().optional(),\n region: z.string().optional(),\n metastore_id: z.string().optional(),\n created_at: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n created_by: z.string().optional(),\n updated_at: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n updated_by: z.string().optional(),\n storage_root_credential_name: z.string().optional(),\n cloud: z.string().optional(),\n global_metastore_id: z.string().optional(),\n external_access_enabled: z.boolean().optional(),\n })\n .transform(d => ({\n name: d.name,\n storageRoot: d.storage_root,\n defaultDataAccessConfigId: d.default_data_access_config_id,\n storageRootCredentialId: d.storage_root_credential_id,\n deltaSharingScope: d.delta_sharing_scope,\n deltaSharingRecipientTokenLifetimeInSeconds:\n d.delta_sharing_recipient_token_lifetime_in_seconds,\n deltaSharingOrganizationName: d.delta_sharing_organization_name,\n owner: d.owner,\n privilegeModelVersion: d.privilege_model_version,\n region: d.region,\n metastoreId: d.metastore_id,\n createdAt: d.created_at,\n createdBy: d.created_by,\n updatedAt: d.updated_at,\n updatedBy: d.updated_by,\n storageRootCredentialName: d.storage_root_credential_name,\n cloud: d.cloud,\n globalMetastoreId: d.global_metastore_id,\n externalAccessEnabled: d.external_access_enabled,\n }));\n\nexport const unmarshalUpdateMetastoreAssignmentResponseSchema: z.ZodType<UpdateMetastoreAssignmentResponse> =\n z.object({});\n\nexport const marshalAccountsCreateMetastoreAssignmentRequestSchema: z.ZodType =\n z\n .object({\n accountId: z.string().optional(),\n workspaceId: z.bigint().optional(),\n metastoreId: z.string().optional(),\n metastoreAssignment: z\n .lazy(() => marshalMetastoreAssignmentSchema)\n .optional(),\n })\n .transform(d => ({\n account_id: d.accountId,\n workspace_id: d.workspaceId,\n metastore_id: d.metastoreId,\n metastore_assignment: d.metastoreAssignment,\n }));\n\nexport const marshalAccountsCreateMetastoreRequestSchema: z.ZodType = z\n .object({\n accountId: z.string().optional(),\n metastoreInfo: z\n .lazy(() => marshalCreateAccountsMetastoreSchema)\n .optional(),\n })\n .transform(d => ({\n account_id: d.accountId,\n metastore_info: d.metastoreInfo,\n }));\n\nexport const marshalAccountsUpdateMetastoreAssignmentRequestSchema: z.ZodType =\n z\n .object({\n accountId: z.string().optional(),\n workspaceId: z.bigint().optional(),\n metastoreId: z.string().optional(),\n metastoreAssignment: z\n .lazy(() => marshalMetastoreAssignmentSchema)\n .optional(),\n })\n .transform(d => ({\n account_id: d.accountId,\n workspace_id: d.workspaceId,\n metastore_id: d.metastoreId,\n metastore_assignment: d.metastoreAssignment,\n }));\n\nexport const marshalAccountsUpdateMetastoreRequestSchema: z.ZodType = z\n .object({\n accountId: z.string().optional(),\n metastoreId: z.string().optional(),\n metastoreInfo: z\n .lazy(() => marshalUpdateAccountsMetastoreSchema)\n .optional(),\n })\n .transform(d => ({\n account_id: d.accountId,\n metastore_id: d.metastoreId,\n metastore_info: d.metastoreInfo,\n }));\n\nexport const marshalCreateAccountsMetastoreSchema: z.ZodType = z\n .object({\n name: z.string().optional(),\n storageRoot: z.string().optional(),\n defaultDataAccessConfigId: z.string().optional(),\n storageRootCredentialId: z.string().optional(),\n deltaSharingScope: z.string().optional(),\n deltaSharingRecipientTokenLifetimeInSeconds: z.bigint().optional(),\n deltaSharingOrganizationName: z.string().optional(),\n owner: z.string().optional(),\n privilegeModelVersion: z.string().optional(),\n region: z.string().optional(),\n metastoreId: z.string().optional(),\n createdAt: z.bigint().optional(),\n createdBy: z.string().optional(),\n updatedAt: z.bigint().optional(),\n updatedBy: z.string().optional(),\n storageRootCredentialName: z.string().optional(),\n cloud: z.string().optional(),\n globalMetastoreId: z.string().optional(),\n externalAccessEnabled: z.boolean().optional(),\n })\n .transform(d => ({\n name: d.name,\n storage_root: d.storageRoot,\n default_data_access_config_id: d.defaultDataAccessConfigId,\n storage_root_credential_id: d.storageRootCredentialId,\n delta_sharing_scope: d.deltaSharingScope,\n delta_sharing_recipient_token_lifetime_in_seconds:\n d.deltaSharingRecipientTokenLifetimeInSeconds,\n delta_sharing_organization_name: d.deltaSharingOrganizationName,\n owner: d.owner,\n privilege_model_version: d.privilegeModelVersion,\n region: d.region,\n metastore_id: d.metastoreId,\n created_at: d.createdAt,\n created_by: d.createdBy,\n updated_at: d.updatedAt,\n updated_by: d.updatedBy,\n storage_root_credential_name: d.storageRootCredentialName,\n cloud: d.cloud,\n global_metastore_id: d.globalMetastoreId,\n external_access_enabled: d.externalAccessEnabled,\n }));\n\nexport const marshalCreateMetastoreAssignmentRequestSchema: z.ZodType = z\n .object({\n workspaceId: z.bigint().optional(),\n metastoreId: z.string().optional(),\n defaultCatalogName: z.string().optional(),\n })\n .transform(d => ({\n workspace_id: d.workspaceId,\n metastore_id: d.metastoreId,\n default_catalog_name: d.defaultCatalogName,\n }));\n\nexport const marshalCreateMetastoreRequestSchema: z.ZodType = z\n .object({\n name: z.string().optional(),\n storageRoot: z.string().optional(),\n defaultDataAccessConfigId: z.string().optional(),\n storageRootCredentialId: z.string().optional(),\n deltaSharingScope: z.string().optional(),\n deltaSharingRecipientTokenLifetimeInSeconds: z.bigint().optional(),\n deltaSharingOrganizationName: z.string().optional(),\n owner: z.string().optional(),\n privilegeModelVersion: z.string().optional(),\n region: z.string().optional(),\n metastoreId: z.string().optional(),\n createdAt: z.bigint().optional(),\n createdBy: z.string().optional(),\n updatedAt: z.bigint().optional(),\n updatedBy: z.string().optional(),\n storageRootCredentialName: z.string().optional(),\n cloud: z.string().optional(),\n globalMetastoreId: z.string().optional(),\n externalAccessEnabled: z.boolean().optional(),\n })\n .transform(d => ({\n name: d.name,\n storage_root: d.storageRoot,\n default_data_access_config_id: d.defaultDataAccessConfigId,\n storage_root_credential_id: d.storageRootCredentialId,\n delta_sharing_scope: d.deltaSharingScope,\n delta_sharing_recipient_token_lifetime_in_seconds:\n d.deltaSharingRecipientTokenLifetimeInSeconds,\n delta_sharing_organization_name: d.deltaSharingOrganizationName,\n owner: d.owner,\n privilege_model_version: d.privilegeModelVersion,\n region: d.region,\n metastore_id: d.metastoreId,\n created_at: d.createdAt,\n created_by: d.createdBy,\n updated_at: d.updatedAt,\n updated_by: d.updatedBy,\n storage_root_credential_name: d.storageRootCredentialName,\n cloud: d.cloud,\n global_metastore_id: d.globalMetastoreId,\n external_access_enabled: d.externalAccessEnabled,\n }));\n\nexport const marshalMetastoreAssignmentSchema: z.ZodType = z\n .object({\n workspaceId: z.bigint().optional(),\n metastoreId: z.string().optional(),\n defaultCatalogName: z.string().optional(),\n })\n .transform(d => ({\n workspace_id: d.workspaceId,\n metastore_id: d.metastoreId,\n default_catalog_name: d.defaultCatalogName,\n }));\n\nexport const marshalUpdateAccountsMetastoreSchema: z.ZodType = z\n .object({\n name: z.string().optional(),\n storageRoot: z.string().optional(),\n defaultDataAccessConfigId: z.string().optional(),\n storageRootCredentialId: z.string().optional(),\n deltaSharingScope: z.string().optional(),\n deltaSharingRecipientTokenLifetimeInSeconds: z.bigint().optional(),\n deltaSharingOrganizationName: z.string().optional(),\n owner: z.string().optional(),\n privilegeModelVersion: z.string().optional(),\n region: z.string().optional(),\n metastoreId: z.string().optional(),\n createdAt: z.bigint().optional(),\n createdBy: z.string().optional(),\n updatedAt: z.bigint().optional(),\n updatedBy: z.string().optional(),\n storageRootCredentialName: z.string().optional(),\n cloud: z.string().optional(),\n globalMetastoreId: z.string().optional(),\n externalAccessEnabled: z.boolean().optional(),\n })\n .transform(d => ({\n name: d.name,\n storage_root: d.storageRoot,\n default_data_access_config_id: d.defaultDataAccessConfigId,\n storage_root_credential_id: d.storageRootCredentialId,\n delta_sharing_scope: d.deltaSharingScope,\n delta_sharing_recipient_token_lifetime_in_seconds:\n d.deltaSharingRecipientTokenLifetimeInSeconds,\n delta_sharing_organization_name: d.deltaSharingOrganizationName,\n owner: d.owner,\n privilege_model_version: d.privilegeModelVersion,\n region: d.region,\n metastore_id: d.metastoreId,\n created_at: d.createdAt,\n created_by: d.createdBy,\n updated_at: d.updatedAt,\n updated_by: d.updatedBy,\n storage_root_credential_name: d.storageRootCredentialName,\n cloud: d.cloud,\n global_metastore_id: d.globalMetastoreId,\n external_access_enabled: d.externalAccessEnabled,\n }));\n\nexport const marshalUpdateMetastoreAssignmentRequestSchema: z.ZodType = z\n .object({\n workspaceId: z.bigint().optional(),\n metastoreId: z.string().optional(),\n defaultCatalogName: z.string().optional(),\n })\n .transform(d => ({\n workspace_id: d.workspaceId,\n metastore_id: d.metastoreId,\n default_catalog_name: d.defaultCatalogName,\n }));\n\nexport const marshalUpdateMetastoreRequestSchema: z.ZodType = z\n .object({\n id: z.string().optional(),\n newName: z.string().optional(),\n name: z.string().optional(),\n storageRoot: z.string().optional(),\n defaultDataAccessConfigId: z.string().optional(),\n storageRootCredentialId: z.string().optional(),\n deltaSharingScope: z.string().optional(),\n deltaSharingRecipientTokenLifetimeInSeconds: z.bigint().optional(),\n deltaSharingOrganizationName: z.string().optional(),\n owner: z.string().optional(),\n privilegeModelVersion: z.string().optional(),\n region: z.string().optional(),\n metastoreId: z.string().optional(),\n createdAt: z.bigint().optional(),\n createdBy: z.string().optional(),\n updatedAt: z.bigint().optional(),\n updatedBy: z.string().optional(),\n storageRootCredentialName: z.string().optional(),\n cloud: z.string().optional(),\n globalMetastoreId: z.string().optional(),\n externalAccessEnabled: z.boolean().optional(),\n })\n .transform(d => ({\n id: d.id,\n new_name: d.newName,\n name: d.name,\n storage_root: d.storageRoot,\n default_data_access_config_id: d.defaultDataAccessConfigId,\n storage_root_credential_id: d.storageRootCredentialId,\n delta_sharing_scope: d.deltaSharingScope,\n delta_sharing_recipient_token_lifetime_in_seconds:\n d.deltaSharingRecipientTokenLifetimeInSeconds,\n delta_sharing_organization_name: d.deltaSharingOrganizationName,\n owner: d.owner,\n privilege_model_version: d.privilegeModelVersion,\n region: d.region,\n metastore_id: d.metastoreId,\n created_at: d.createdAt,\n created_by: d.createdBy,\n updated_at: d.updatedAt,\n updated_by: d.updatedBy,\n storage_root_credential_name: d.storageRootCredentialName,\n cloud: d.cloud,\n global_metastore_id: d.globalMetastoreId,\n external_access_enabled: d.externalAccessEnabled,\n }));\n"],"mappings":";;;AAKA,MAAa,yBAAyB;CAMpC,UAAU;CAKV,uBAAuB;CACxB;AA8eD,MAAa,2DACX,EAAE,OAAO,EAAE,CAAC;AAEd,MAAa,iDACX,EACG,OAAO,EACN,gBAAgB,EAAE,WAAW,6BAA6B,CAAC,UAAU,EACtE,CAAC,CACD,WAAU,OAAM,EACf,eAAe,EAAE,gBAClB,EAAE;AAEP,MAAa,2DACX,EAAE,OAAO,EAAE,CAAC;AAEd,MAAa,iDACX,EAAE,OAAO,EAAE,CAAC;AAEd,MAAa,wDACX,EACG,OAAO,EACN,sBAAsB,EACnB,WAAW,mCAAmC,CAC9C,UAAU,EACd,CAAC,CACD,WAAU,OAAM,EACf,qBAAqB,EAAE,sBACxB,EAAE;AAEP,MAAa,8CACX,EACG,OAAO,EACN,gBAAgB,EAAE,WAAW,6BAA6B,CAAC,UAA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;CACxC,6CAA6C,EAAE,QAAQ,CAAC,UAAU;CAClE,8BAA8B,EAAE,QAAQ,CAAC,UAAU;CACnD,OAAO,EAAE,QAAQ,CAAC,UAAU;CAC5B,uBAAuB,EAAE,QAAQ,CAAC,UAAU;CAC5C,QAAQ,EAAE,QAAQ,CAAC,UAAU;CAC7B,aAAa,EAAE,QAAQ,CAAC,UAAU;CAClC,WAAW,EAAE,QAAQ,CAAC,UAAU;CAChC,WAAW,EAAE,QAAQ,CAAC,UAAU;CAChC,WAAW,EAAE,QAAQ,CAAC,UAAU;CAChC,WAAW,EAAE,QAAQ,CAAC,UAAU;CAChC,2BAA2B,EAAE,QAAQ,CAAC,UAAU;CAChD,OAAO,EAAE,QAAQ,CAAC,UAAU;CAC5B,mBAAmB,EAAE,QAAQ,CAAC,UAAU;CACxC,uBAAuB,EAAE,SAAS,CAAC,UAAU;CAC9C,CAAC,CACD,WAAU,OAAM;CACf,IAAI,EAAE;CACN,UAAU,EAAE;CACZ,MAAM,EAAE;CACR,cAAc,EAAE;CAChB,+BAA+B,EAAE;CACjC,4BAA4B,EAAE;CAC9B,qBAAqB,EAAE;CACvB,mDACE,EAAE;CACJ,iCAAiC,EAAE;CACnC,OAAO,EAAE;CACT,yBAAyB,EAAE;CAC3B,QAAQ,EAAE;CACV,cAAc,EAAE;CAChB,YAAY,EAAE;CACd,YAAY,EAAE;CACd,YAAY,EAAE;CACd,YAAY,EAAE;CACd,8BAA8B,EAAE;CAChC,OAAO,EAAE;CACT,qBAAqB,EAAE;CACvB,yBAAyB,EAAE;CAC5B,EAAE"}
|
|
1
|
+
{"version":3,"file":"model.js","names":[],"sources":["../../src/v1/model.ts"],"sourcesContent":["// Code generated from API definition by Databricks SDK Generator. DO NOT EDIT.\n\nimport {z} from 'zod';\n\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const DeltaSharingScope_Enum = {\n /**\n * Internal Delta Sharing enabled on metastore.\n * This applies to Databricks-managed authentication where both provider and recipient are\n * under the same account.\n */\n INTERNAL: 'INTERNAL',\n /**\n * Internal and External Delta Sharing enabled on metastore.\n * This allows all flavors of Delta Sharing.\n */\n INTERNAL_AND_EXTERNAL: 'INTERNAL_AND_EXTERNAL',\n} as const;\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.\nexport type DeltaSharingScope_Enum =\n | (typeof DeltaSharingScope_Enum)[keyof typeof DeltaSharingScope_Enum]\n | (string & {});\n\n/** The mapping from workspace to metastore. */\nexport interface AccountsCreateMetastoreAssignmentRequest {\n /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */\n accountId?: string | undefined;\n /** Workspace ID. */\n workspaceId?: bigint | undefined;\n /** Unity Catalog metastore ID */\n metastoreId?: string | undefined;\n metastoreAssignment?: MetastoreAssignment | undefined;\n}\n\n/** The metastore assignment was successfully created. */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface AccountsCreateMetastoreAssignmentResponse {}\n\n/** Properties of the new metastore. */\nexport interface AccountsCreateMetastoreRequest {\n /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */\n accountId?: string | undefined;\n metastoreInfo?: CreateAccountsMetastore | undefined;\n}\n\nexport interface AccountsCreateMetastoreResponse {\n metastoreInfo?: MetastoreInfo | undefined;\n}\n\n/** Delete a metastore assignment to a workspace */\nexport interface AccountsDeleteMetastoreAssignmentRequest {\n /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */\n accountId?: string | undefined;\n /** Workspace ID. */\n workspaceId?: bigint | undefined;\n /** Unity Catalog metastore ID */\n metastoreId?: string | undefined;\n}\n\n/** The metastore assignment was successfully deleted. */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface AccountsDeleteMetastoreAssignmentResponse {}\n\n/** Delete a metastore for the given account */\nexport interface AccountsDeleteMetastoreRequest {\n /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */\n accountId?: string | undefined;\n /** Unity Catalog metastore ID */\n metastoreId?: string | undefined;\n /** Force deletion even if the metastore is not empty. Default is false. */\n force?: boolean | undefined;\n}\n\n/** The metastore was successfully deleted. */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface AccountsDeleteMetastoreResponse {}\n\n/** Retrieves the assignment of which metastore to a given workspace */\nexport interface AccountsGetMetastoreAssignmentRequest {\n /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */\n accountId?: string | undefined;\n /** Workspace ID. */\n workspaceId?: bigint | undefined;\n}\n\n/** The workspace metastore assignment was successfully returned. */\nexport interface AccountsGetMetastoreAssignmentResponse {\n metastoreAssignment?: MetastoreAssignment | undefined;\n}\n\n/** Get a metastore for a given account */\nexport interface AccountsGetMetastoreRequest {\n /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */\n accountId?: string | undefined;\n /** Unity Catalog metastore ID */\n metastoreId?: string | undefined;\n}\n\n/** The metastore was successfully returned. */\nexport interface AccountsGetMetastoreResponse {\n metastoreInfo?: MetastoreInfo | undefined;\n}\n\n/** List the metastores for an account */\nexport interface AccountsListMetastoresRequest {\n /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */\n accountId?: string | undefined;\n}\n\n/** Metastores were returned successfully. */\nexport interface AccountsListMetastoresResponse {\n /** An array of metastore information objects. */\n metastores?: MetastoreInfo[] | undefined;\n}\n\n/** Lists all workspace IDs for a given metastore */\nexport interface AccountsListWorkspaceIdsForMetastoreRequest {\n /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */\n accountId?: string | undefined;\n /** Unity Catalog metastore ID */\n metastoreId?: string | undefined;\n}\n\n/** The metastore assignments were successfully returned. */\nexport interface AccountsListWorkspaceIdsForMetastoreResponse {\n workspaceIds?: bigint[] | undefined;\n}\n\n/** The metastore assignment to update. */\nexport interface AccountsUpdateMetastoreAssignmentRequest {\n /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */\n accountId?: string | undefined;\n /** Workspace ID. */\n workspaceId?: bigint | undefined;\n /** Unity Catalog metastore ID */\n metastoreId?: string | undefined;\n metastoreAssignment?: MetastoreAssignment | undefined;\n}\n\n/** The metastore assignment was successfully updated. */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface AccountsUpdateMetastoreAssignmentResponse {}\n\n/** Properties of the metastore to change. */\nexport interface AccountsUpdateMetastoreRequest {\n /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */\n accountId?: string | undefined;\n /** Unity Catalog metastore ID */\n metastoreId?: string | undefined;\n /** Properties of the metastore to change. */\n metastoreInfo?: UpdateAccountsMetastore | undefined;\n}\n\n/** The metastore update request succeeded. */\nexport interface AccountsUpdateMetastoreResponse {\n metastoreInfo?: MetastoreInfo | undefined;\n}\n\nexport interface CreateAccountsMetastore {\n /** The user-specified name of the metastore. */\n name?: string | undefined;\n /** The storage root URL for metastore */\n storageRoot?: string | undefined;\n /** Unique identifier of the metastore's (Default) Data Access Configuration. */\n defaultDataAccessConfigId?: string | undefined;\n /** UUID of storage credential to access the metastore storage_root. */\n storageRootCredentialId?: string | undefined;\n /** The scope of Delta Sharing enabled for the metastore. */\n deltaSharingScope?: DeltaSharingScope_Enum | undefined;\n /** The lifetime of delta sharing recipient token in seconds. */\n deltaSharingRecipientTokenLifetimeInSeconds?: bigint | undefined;\n /** The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name. */\n deltaSharingOrganizationName?: string | undefined;\n /** The owner of the metastore. */\n owner?: string | undefined;\n /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */\n privilegeModelVersion?: string | undefined;\n /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */\n region?: string | undefined;\n /** Unique identifier of metastore. */\n metastoreId?: string | undefined;\n /** Time at which this metastore was created, in epoch milliseconds. */\n createdAt?: bigint | undefined;\n /** Username of metastore creator. */\n createdBy?: string | undefined;\n /** Time at which the metastore was last modified, in epoch milliseconds. */\n updatedAt?: bigint | undefined;\n /** Username of user who last modified the metastore. */\n updatedBy?: string | undefined;\n /** Name of the storage credential to access the metastore storage_root. */\n storageRootCredentialName?: string | undefined;\n /** Cloud vendor of the metastore home shard (e.g., `aws`, `azure`, `gcp`). */\n cloud?: string | undefined;\n /** Globally unique metastore ID across clouds and regions, of the form `cloud:region:metastore_id`. */\n globalMetastoreId?: string | undefined;\n /** Whether to allow non-DBR clients to directly access entities under the metastore. */\n externalAccessEnabled?: boolean | undefined;\n}\n\nexport interface CreateMetastoreAssignmentRequest {\n /** A workspace ID. */\n workspaceId?: bigint | undefined;\n /** The unique ID of the metastore. */\n metastoreId?: string | undefined;\n /**\n * The name of the default catalog in the metastore.\n * This field is deprecated. Please use \"Default Namespace API\" to\n * configure the default catalog for a <Databricks> workspace.\n */\n defaultCatalogName?: string | undefined;\n}\n\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface CreateMetastoreAssignmentResponse {}\n\nexport interface CreateMetastoreRequest {\n /** The user-specified name of the metastore. */\n name?: string | undefined;\n /** The storage root URL for metastore */\n storageRoot?: string | undefined;\n /** Unique identifier of the metastore's (Default) Data Access Configuration. */\n defaultDataAccessConfigId?: string | undefined;\n /** UUID of storage credential to access the metastore storage_root. */\n storageRootCredentialId?: string | undefined;\n /** The scope of Delta Sharing enabled for the metastore. */\n deltaSharingScope?: DeltaSharingScope_Enum | undefined;\n /** The lifetime of delta sharing recipient token in seconds. */\n deltaSharingRecipientTokenLifetimeInSeconds?: bigint | undefined;\n /** The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name. */\n deltaSharingOrganizationName?: string | undefined;\n /** The owner of the metastore. */\n owner?: string | undefined;\n /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */\n privilegeModelVersion?: string | undefined;\n /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */\n region?: string | undefined;\n /** Unique identifier of metastore. */\n metastoreId?: string | undefined;\n /** Time at which this metastore was created, in epoch milliseconds. */\n createdAt?: bigint | undefined;\n /** Username of metastore creator. */\n createdBy?: string | undefined;\n /** Time at which the metastore was last modified, in epoch milliseconds. */\n updatedAt?: bigint | undefined;\n /** Username of user who last modified the metastore. */\n updatedBy?: string | undefined;\n /** Name of the storage credential to access the metastore storage_root. */\n storageRootCredentialName?: string | undefined;\n /** Cloud vendor of the metastore home shard (e.g., `aws`, `azure`, `gcp`). */\n cloud?: string | undefined;\n /** Globally unique metastore ID across clouds and regions, of the form `cloud:region:metastore_id`. */\n globalMetastoreId?: string | undefined;\n /** Whether to allow non-DBR clients to directly access entities under the metastore. */\n externalAccessEnabled?: boolean | undefined;\n}\n\nexport interface DeleteMetastoreAssignmentRequest {\n /** A workspace ID. */\n workspaceId?: bigint | undefined;\n /** Query for the ID of the metastore to delete. */\n metastoreId?: string | undefined;\n}\n\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface DeleteMetastoreAssignmentResponse {}\n\nexport interface DeleteMetastoreRequest {\n /** Unique ID of the metastore. */\n id?: string | undefined;\n /** Force deletion even if the metastore is not empty. Default is false. */\n force?: boolean | undefined;\n}\n\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface DeleteMetastoreResponse {}\n\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface DeltaSharingScope {}\n\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface GetCurrentMetastoreAssignmentRequest {}\n\nexport interface GetMetastoreRequest {\n /** Unique ID of the metastore. */\n id?: string | undefined;\n}\n\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface GetMetastoreSummaryRequest {}\n\nexport interface GetMetastoreSummaryResponse {\n /** Unique identifier of metastore. */\n metastoreId?: string | undefined;\n /** The user-specified name of the metastore. */\n name?: string | undefined;\n /** Unique identifier of the metastore's (Default) Data Access Configuration. */\n defaultDataAccessConfigId?: string | undefined;\n /** UUID of storage credential to access the metastore storage_root. */\n storageRootCredentialId?: string | undefined;\n /** Cloud vendor of the metastore home shard (e.g., `aws`, `azure`, `gcp`). */\n cloud?: string | undefined;\n /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */\n region?: string | undefined;\n /** Globally unique metastore ID across clouds and regions, of the form `cloud:region:metastore_id`. */\n globalMetastoreId?: string | undefined;\n /** Name of the storage credential to access the metastore storage_root. */\n storageRootCredentialName?: string | undefined;\n /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */\n privilegeModelVersion?: string | undefined;\n /** The scope of Delta Sharing enabled for the metastore. */\n deltaSharingScope?: DeltaSharingScope_Enum | undefined;\n /** The lifetime of delta sharing recipient token in seconds. */\n deltaSharingRecipientTokenLifetimeInSeconds?: bigint | undefined;\n /** The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name. */\n deltaSharingOrganizationName?: string | undefined;\n /** The storage root URL for metastore */\n storageRoot?: string | undefined;\n /** The owner of the metastore. */\n owner?: string | undefined;\n /** Time at which this metastore was created, in epoch milliseconds. */\n createdAt?: bigint | undefined;\n /** Username of metastore creator. */\n createdBy?: string | undefined;\n /** Time at which the metastore was last modified, in epoch milliseconds. */\n updatedAt?: bigint | undefined;\n /** Username of user who last modified the metastore. */\n updatedBy?: string | undefined;\n /** Whether to allow non-DBR clients to directly access entities under the metastore. */\n externalAccessEnabled?: boolean | undefined;\n}\n\nexport interface ListMetastoresRequest {\n /**\n * Maximum number of metastores to return.\n * - when set to a value greater than 0, the page length is the minimum of this value and a server configured value;\n * - when set to 0, the page length is set to a server configured value (recommended);\n * - when set to a value less than 0, an invalid parameter error is returned;\n * - If not set, all the metastores are returned (not recommended).\n * - Note: The number of returned metastores might be less than the specified max_results size, even zero.\n * The only definitive indication that no further metastores can be fetched is when the next_page_token is unset from the response.\n */\n maxResults?: number | undefined;\n /** Opaque pagination token to go to next page based on previous query. */\n pageToken?: string | undefined;\n}\n\nexport interface ListMetastoresResponse {\n /** An array of metastore information objects. */\n metastores?: MetastoreInfo[] | undefined;\n /**\n * Opaque token to retrieve the next page of results. Absent if there are no more pages.\n * __page_token__ should be set to this value for the next request (for the next page of results).\n */\n nextPageToken?: string | undefined;\n}\n\nexport interface MetastoreAssignment {\n /** The unique ID of the <Databricks> workspace. */\n workspaceId?: bigint | undefined;\n /** The unique ID of the metastore. */\n metastoreId?: string | undefined;\n /**\n * The name of the default catalog in the metastore. This field is deprecated.\n * Please use \"Default Namespace API\" to configure the default catalog for a <Databricks> workspace.\n */\n defaultCatalogName?: string | undefined;\n}\n\nexport interface MetastoreInfo {\n /** The user-specified name of the metastore. */\n name?: string | undefined;\n /** The storage root URL for metastore */\n storageRoot?: string | undefined;\n /** Unique identifier of the metastore's (Default) Data Access Configuration. */\n defaultDataAccessConfigId?: string | undefined;\n /** UUID of storage credential to access the metastore storage_root. */\n storageRootCredentialId?: string | undefined;\n /** The scope of Delta Sharing enabled for the metastore. */\n deltaSharingScope?: DeltaSharingScope_Enum | undefined;\n /** The lifetime of delta sharing recipient token in seconds. */\n deltaSharingRecipientTokenLifetimeInSeconds?: bigint | undefined;\n /** The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name. */\n deltaSharingOrganizationName?: string | undefined;\n /** The owner of the metastore. */\n owner?: string | undefined;\n /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */\n privilegeModelVersion?: string | undefined;\n /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */\n region?: string | undefined;\n /** Unique identifier of metastore. */\n metastoreId?: string | undefined;\n /** Time at which this metastore was created, in epoch milliseconds. */\n createdAt?: bigint | undefined;\n /** Username of metastore creator. */\n createdBy?: string | undefined;\n /** Time at which the metastore was last modified, in epoch milliseconds. */\n updatedAt?: bigint | undefined;\n /** Username of user who last modified the metastore. */\n updatedBy?: string | undefined;\n /** Name of the storage credential to access the metastore storage_root. */\n storageRootCredentialName?: string | undefined;\n /** Cloud vendor of the metastore home shard (e.g., `aws`, `azure`, `gcp`). */\n cloud?: string | undefined;\n /** Globally unique metastore ID across clouds and regions, of the form `cloud:region:metastore_id`. */\n globalMetastoreId?: string | undefined;\n /** Whether to allow non-DBR clients to directly access entities under the metastore. */\n externalAccessEnabled?: boolean | undefined;\n}\n\n/** Request to restore a soft-deleted metastore by ID. */\nexport interface UndropMetastoreByIdRequest {\n /** Required. Id of the metastore to undrop. */\n id?: string | undefined;\n}\n\nexport interface UpdateAccountsMetastore {\n /** The user-specified name of the metastore. */\n name?: string | undefined;\n /** The storage root URL for metastore */\n storageRoot?: string | undefined;\n /** Unique identifier of the metastore's (Default) Data Access Configuration. */\n defaultDataAccessConfigId?: string | undefined;\n /** UUID of storage credential to access the metastore storage_root. */\n storageRootCredentialId?: string | undefined;\n /** The scope of Delta Sharing enabled for the metastore. */\n deltaSharingScope?: DeltaSharingScope_Enum | undefined;\n /** The lifetime of delta sharing recipient token in seconds. */\n deltaSharingRecipientTokenLifetimeInSeconds?: bigint | undefined;\n /** The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name. */\n deltaSharingOrganizationName?: string | undefined;\n /** The owner of the metastore. */\n owner?: string | undefined;\n /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */\n privilegeModelVersion?: string | undefined;\n /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */\n region?: string | undefined;\n /** Unique identifier of metastore. */\n metastoreId?: string | undefined;\n /** Time at which this metastore was created, in epoch milliseconds. */\n createdAt?: bigint | undefined;\n /** Username of metastore creator. */\n createdBy?: string | undefined;\n /** Time at which the metastore was last modified, in epoch milliseconds. */\n updatedAt?: bigint | undefined;\n /** Username of user who last modified the metastore. */\n updatedBy?: string | undefined;\n /** Name of the storage credential to access the metastore storage_root. */\n storageRootCredentialName?: string | undefined;\n /** Cloud vendor of the metastore home shard (e.g., `aws`, `azure`, `gcp`). */\n cloud?: string | undefined;\n /** Globally unique metastore ID across clouds and regions, of the form `cloud:region:metastore_id`. */\n globalMetastoreId?: string | undefined;\n /** Whether to allow non-DBR clients to directly access entities under the metastore. */\n externalAccessEnabled?: boolean | undefined;\n}\n\nexport interface UpdateMetastoreAssignmentRequest {\n /** A workspace ID. */\n workspaceId?: bigint | undefined;\n /** The unique ID of the metastore. */\n metastoreId?: string | undefined;\n /**\n * The name of the default catalog in the metastore.\n * This field is deprecated. Please use \"Default Namespace API\" to\n * configure the default catalog for a <Databricks> workspace.\n */\n defaultCatalogName?: string | undefined;\n}\n\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface UpdateMetastoreAssignmentResponse {}\n\nexport interface UpdateMetastoreRequest {\n /** Unique ID of the metastore. */\n id?: string | undefined;\n /** New name for the metastore. */\n newName?: string | undefined;\n /** The user-specified name of the metastore. */\n name?: string | undefined;\n /** The storage root URL for metastore */\n storageRoot?: string | undefined;\n /** Unique identifier of the metastore's (Default) Data Access Configuration. */\n defaultDataAccessConfigId?: string | undefined;\n /** UUID of storage credential to access the metastore storage_root. */\n storageRootCredentialId?: string | undefined;\n /** The scope of Delta Sharing enabled for the metastore. */\n deltaSharingScope?: DeltaSharingScope_Enum | undefined;\n /** The lifetime of delta sharing recipient token in seconds. */\n deltaSharingRecipientTokenLifetimeInSeconds?: bigint | undefined;\n /** The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name. */\n deltaSharingOrganizationName?: string | undefined;\n /** The owner of the metastore. */\n owner?: string | undefined;\n /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */\n privilegeModelVersion?: string | undefined;\n /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */\n region?: string | undefined;\n /** Unique identifier of metastore. */\n metastoreId?: string | undefined;\n /** Time at which this metastore was created, in epoch milliseconds. */\n createdAt?: bigint | undefined;\n /** Username of metastore creator. */\n createdBy?: string | undefined;\n /** Time at which the metastore was last modified, in epoch milliseconds. */\n updatedAt?: bigint | undefined;\n /** Username of user who last modified the metastore. */\n updatedBy?: string | undefined;\n /** Name of the storage credential to access the metastore storage_root. */\n storageRootCredentialName?: string | undefined;\n /** Cloud vendor of the metastore home shard (e.g., `aws`, `azure`, `gcp`). */\n cloud?: string | undefined;\n /** Globally unique metastore ID across clouds and regions, of the form `cloud:region:metastore_id`. */\n globalMetastoreId?: string | undefined;\n /** Whether to allow non-DBR clients to directly access entities under the metastore. */\n externalAccessEnabled?: boolean | undefined;\n}\n\nexport const unmarshalAccountsCreateMetastoreAssignmentResponseSchema: z.ZodType<AccountsCreateMetastoreAssignmentResponse> =\n z.object({});\n\nexport const unmarshalAccountsCreateMetastoreResponseSchema: z.ZodType<AccountsCreateMetastoreResponse> =\n z\n .object({\n metastore_info: z\n .lazy(() => unmarshalMetastoreInfoSchema)\n .nullish()\n .transform(v => v ?? undefined),\n })\n .transform(d => ({\n metastoreInfo: d.metastore_info,\n }));\n\nexport const unmarshalAccountsDeleteMetastoreAssignmentResponseSchema: z.ZodType<AccountsDeleteMetastoreAssignmentResponse> =\n z.object({});\n\nexport const unmarshalAccountsDeleteMetastoreResponseSchema: z.ZodType<AccountsDeleteMetastoreResponse> =\n z.object({});\n\nexport const unmarshalAccountsGetMetastoreAssignmentResponseSchema: z.ZodType<AccountsGetMetastoreAssignmentResponse> =\n z\n .object({\n metastore_assignment: z\n .lazy(() => unmarshalMetastoreAssignmentSchema)\n .nullish()\n .transform(v => v ?? undefined),\n })\n .transform(d => ({\n metastoreAssignment: d.metastore_assignment,\n }));\n\nexport const unmarshalAccountsGetMetastoreResponseSchema: z.ZodType<AccountsGetMetastoreResponse> =\n z\n .object({\n metastore_info: z\n .lazy(() => unmarshalMetastoreInfoSchema)\n .nullish()\n .transform(v => v ?? undefined),\n })\n .transform(d => ({\n metastoreInfo: d.metastore_info,\n }));\n\nexport const unmarshalAccountsListMetastoresResponseSchema: z.ZodType<AccountsListMetastoresResponse> =\n z\n .object({\n metastores: z\n .array(z.lazy(() => unmarshalMetastoreInfoSchema))\n .optional(),\n })\n .transform(d => ({\n metastores: d.metastores,\n }));\n\nexport const unmarshalAccountsListWorkspaceIdsForMetastoreResponseSchema: z.ZodType<AccountsListWorkspaceIdsForMetastoreResponse> =\n z\n .object({\n workspace_ids: z\n .array(\n z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n )\n .optional(),\n })\n .transform(d => ({\n workspaceIds: d.workspace_ids,\n }));\n\nexport const unmarshalAccountsUpdateMetastoreAssignmentResponseSchema: z.ZodType<AccountsUpdateMetastoreAssignmentResponse> =\n z.object({});\n\nexport const unmarshalAccountsUpdateMetastoreResponseSchema: z.ZodType<AccountsUpdateMetastoreResponse> =\n z\n .object({\n metastore_info: z\n .lazy(() => unmarshalMetastoreInfoSchema)\n .nullish()\n .transform(v => v ?? undefined),\n })\n .transform(d => ({\n metastoreInfo: d.metastore_info,\n }));\n\nexport const unmarshalCreateMetastoreAssignmentResponseSchema: z.ZodType<CreateMetastoreAssignmentResponse> =\n z.object({});\n\nexport const unmarshalDeleteMetastoreAssignmentResponseSchema: z.ZodType<DeleteMetastoreAssignmentResponse> =\n z.object({});\n\nexport const unmarshalDeleteMetastoreResponseSchema: z.ZodType<DeleteMetastoreResponse> =\n z.object({});\n\nexport const unmarshalGetMetastoreSummaryResponseSchema: z.ZodType<GetMetastoreSummaryResponse> =\n z\n .object({\n metastore_id: z.string().optional(),\n name: z.string().optional(),\n default_data_access_config_id: z.string().optional(),\n storage_root_credential_id: z.string().optional(),\n cloud: z.string().optional(),\n region: z.string().optional(),\n global_metastore_id: z.string().optional(),\n storage_root_credential_name: z.string().optional(),\n privilege_model_version: z.string().optional(),\n delta_sharing_scope: z.string().optional(),\n delta_sharing_recipient_token_lifetime_in_seconds: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n delta_sharing_organization_name: z.string().optional(),\n storage_root: z.string().optional(),\n owner: z.string().optional(),\n created_at: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n created_by: z.string().optional(),\n updated_at: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n updated_by: z.string().optional(),\n external_access_enabled: z.boolean().optional(),\n })\n .transform(d => ({\n metastoreId: d.metastore_id,\n name: d.name,\n defaultDataAccessConfigId: d.default_data_access_config_id,\n storageRootCredentialId: d.storage_root_credential_id,\n cloud: d.cloud,\n region: d.region,\n globalMetastoreId: d.global_metastore_id,\n storageRootCredentialName: d.storage_root_credential_name,\n privilegeModelVersion: d.privilege_model_version,\n deltaSharingScope: d.delta_sharing_scope,\n deltaSharingRecipientTokenLifetimeInSeconds:\n d.delta_sharing_recipient_token_lifetime_in_seconds,\n deltaSharingOrganizationName: d.delta_sharing_organization_name,\n storageRoot: d.storage_root,\n owner: d.owner,\n createdAt: d.created_at,\n createdBy: d.created_by,\n updatedAt: d.updated_at,\n updatedBy: d.updated_by,\n externalAccessEnabled: d.external_access_enabled,\n }));\n\nexport const unmarshalListMetastoresResponseSchema: z.ZodType<ListMetastoresResponse> =\n z\n .object({\n metastores: z\n .array(z.lazy(() => unmarshalMetastoreInfoSchema))\n .optional(),\n next_page_token: z.string().optional(),\n })\n .transform(d => ({\n metastores: d.metastores,\n nextPageToken: d.next_page_token,\n }));\n\nexport const unmarshalMetastoreAssignmentSchema: z.ZodType<MetastoreAssignment> =\n z\n .object({\n workspace_id: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n metastore_id: z.string().optional(),\n default_catalog_name: z.string().optional(),\n })\n .transform(d => ({\n workspaceId: d.workspace_id,\n metastoreId: d.metastore_id,\n defaultCatalogName: d.default_catalog_name,\n }));\n\nexport const unmarshalMetastoreInfoSchema: z.ZodType<MetastoreInfo> = z\n .object({\n name: z.string().optional(),\n storage_root: z.string().optional(),\n default_data_access_config_id: z.string().optional(),\n storage_root_credential_id: z.string().optional(),\n delta_sharing_scope: z.string().optional(),\n delta_sharing_recipient_token_lifetime_in_seconds: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n delta_sharing_organization_name: z.string().optional(),\n owner: z.string().optional(),\n privilege_model_version: z.string().optional(),\n region: z.string().optional(),\n metastore_id: z.string().optional(),\n created_at: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n created_by: z.string().optional(),\n updated_at: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n updated_by: z.string().optional(),\n storage_root_credential_name: z.string().optional(),\n cloud: z.string().optional(),\n global_metastore_id: z.string().optional(),\n external_access_enabled: z.boolean().optional(),\n })\n .transform(d => ({\n name: d.name,\n storageRoot: d.storage_root,\n defaultDataAccessConfigId: d.default_data_access_config_id,\n storageRootCredentialId: d.storage_root_credential_id,\n deltaSharingScope: d.delta_sharing_scope,\n deltaSharingRecipientTokenLifetimeInSeconds:\n d.delta_sharing_recipient_token_lifetime_in_seconds,\n deltaSharingOrganizationName: d.delta_sharing_organization_name,\n owner: d.owner,\n privilegeModelVersion: d.privilege_model_version,\n region: d.region,\n metastoreId: d.metastore_id,\n createdAt: d.created_at,\n createdBy: d.created_by,\n updatedAt: d.updated_at,\n updatedBy: d.updated_by,\n storageRootCredentialName: d.storage_root_credential_name,\n cloud: d.cloud,\n globalMetastoreId: d.global_metastore_id,\n externalAccessEnabled: d.external_access_enabled,\n }));\n\nexport const unmarshalUpdateMetastoreAssignmentResponseSchema: z.ZodType<UpdateMetastoreAssignmentResponse> =\n z.object({});\n\nexport const marshalAccountsCreateMetastoreAssignmentRequestSchema: z.ZodType =\n z\n .object({\n accountId: z.string().optional(),\n workspaceId: z.bigint().optional(),\n metastoreId: z.string().optional(),\n metastoreAssignment: z\n .lazy(() => marshalMetastoreAssignmentSchema)\n .optional(),\n })\n .transform(d => ({\n account_id: d.accountId,\n workspace_id: d.workspaceId,\n metastore_id: d.metastoreId,\n metastore_assignment: d.metastoreAssignment,\n }));\n\nexport const marshalAccountsCreateMetastoreRequestSchema: z.ZodType = z\n .object({\n accountId: z.string().optional(),\n metastoreInfo: z\n .lazy(() => marshalCreateAccountsMetastoreSchema)\n .optional(),\n })\n .transform(d => ({\n account_id: d.accountId,\n metastore_info: d.metastoreInfo,\n }));\n\nexport const marshalAccountsUpdateMetastoreAssignmentRequestSchema: z.ZodType =\n z\n .object({\n accountId: z.string().optional(),\n workspaceId: z.bigint().optional(),\n metastoreId: z.string().optional(),\n metastoreAssignment: z\n .lazy(() => marshalMetastoreAssignmentSchema)\n .optional(),\n })\n .transform(d => ({\n account_id: d.accountId,\n workspace_id: d.workspaceId,\n metastore_id: d.metastoreId,\n metastore_assignment: d.metastoreAssignment,\n }));\n\nexport const marshalAccountsUpdateMetastoreRequestSchema: z.ZodType = z\n .object({\n accountId: z.string().optional(),\n metastoreId: z.string().optional(),\n metastoreInfo: z\n .lazy(() => marshalUpdateAccountsMetastoreSchema)\n .optional(),\n })\n .transform(d => ({\n account_id: d.accountId,\n metastore_id: d.metastoreId,\n metastore_info: d.metastoreInfo,\n }));\n\nexport const marshalCreateAccountsMetastoreSchema: z.ZodType = z\n .object({\n name: z.string().optional(),\n storageRoot: z.string().optional(),\n defaultDataAccessConfigId: z.string().optional(),\n storageRootCredentialId: z.string().optional(),\n deltaSharingScope: z.string().optional(),\n deltaSharingRecipientTokenLifetimeInSeconds: z.bigint().optional(),\n deltaSharingOrganizationName: z.string().optional(),\n owner: z.string().optional(),\n privilegeModelVersion: z.string().optional(),\n region: z.string().optional(),\n metastoreId: z.string().optional(),\n createdAt: z.bigint().optional(),\n createdBy: z.string().optional(),\n updatedAt: z.bigint().optional(),\n updatedBy: z.string().optional(),\n storageRootCredentialName: z.string().optional(),\n cloud: z.string().optional(),\n globalMetastoreId: z.string().optional(),\n externalAccessEnabled: z.boolean().optional(),\n })\n .transform(d => ({\n name: d.name,\n storage_root: d.storageRoot,\n default_data_access_config_id: d.defaultDataAccessConfigId,\n storage_root_credential_id: d.storageRootCredentialId,\n delta_sharing_scope: d.deltaSharingScope,\n delta_sharing_recipient_token_lifetime_in_seconds:\n d.deltaSharingRecipientTokenLifetimeInSeconds,\n delta_sharing_organization_name: d.deltaSharingOrganizationName,\n owner: d.owner,\n privilege_model_version: d.privilegeModelVersion,\n region: d.region,\n metastore_id: d.metastoreId,\n created_at: d.createdAt,\n created_by: d.createdBy,\n updated_at: d.updatedAt,\n updated_by: d.updatedBy,\n storage_root_credential_name: d.storageRootCredentialName,\n cloud: d.cloud,\n global_metastore_id: d.globalMetastoreId,\n external_access_enabled: d.externalAccessEnabled,\n }));\n\nexport const marshalCreateMetastoreAssignmentRequestSchema: z.ZodType = z\n .object({\n workspaceId: z.bigint().optional(),\n metastoreId: z.string().optional(),\n defaultCatalogName: z.string().optional(),\n })\n .transform(d => ({\n workspace_id: d.workspaceId,\n metastore_id: d.metastoreId,\n default_catalog_name: d.defaultCatalogName,\n }));\n\nexport const marshalCreateMetastoreRequestSchema: z.ZodType = z\n .object({\n name: z.string().optional(),\n storageRoot: z.string().optional(),\n defaultDataAccessConfigId: z.string().optional(),\n storageRootCredentialId: z.string().optional(),\n deltaSharingScope: z.string().optional(),\n deltaSharingRecipientTokenLifetimeInSeconds: z.bigint().optional(),\n deltaSharingOrganizationName: z.string().optional(),\n owner: z.string().optional(),\n privilegeModelVersion: z.string().optional(),\n region: z.string().optional(),\n metastoreId: z.string().optional(),\n createdAt: z.bigint().optional(),\n createdBy: z.string().optional(),\n updatedAt: z.bigint().optional(),\n updatedBy: z.string().optional(),\n storageRootCredentialName: z.string().optional(),\n cloud: z.string().optional(),\n globalMetastoreId: z.string().optional(),\n externalAccessEnabled: z.boolean().optional(),\n })\n .transform(d => ({\n name: d.name,\n storage_root: d.storageRoot,\n default_data_access_config_id: d.defaultDataAccessConfigId,\n storage_root_credential_id: d.storageRootCredentialId,\n delta_sharing_scope: d.deltaSharingScope,\n delta_sharing_recipient_token_lifetime_in_seconds:\n d.deltaSharingRecipientTokenLifetimeInSeconds,\n delta_sharing_organization_name: d.deltaSharingOrganizationName,\n owner: d.owner,\n privilege_model_version: d.privilegeModelVersion,\n region: d.region,\n metastore_id: d.metastoreId,\n created_at: d.createdAt,\n created_by: d.createdBy,\n updated_at: d.updatedAt,\n updated_by: d.updatedBy,\n storage_root_credential_name: d.storageRootCredentialName,\n cloud: d.cloud,\n global_metastore_id: d.globalMetastoreId,\n external_access_enabled: d.externalAccessEnabled,\n }));\n\nexport const marshalMetastoreAssignmentSchema: z.ZodType = z\n .object({\n workspaceId: z.bigint().optional(),\n metastoreId: z.string().optional(),\n defaultCatalogName: z.string().optional(),\n })\n .transform(d => ({\n workspace_id: d.workspaceId,\n metastore_id: d.metastoreId,\n default_catalog_name: d.defaultCatalogName,\n }));\n\nexport const marshalUndropMetastoreByIdRequestSchema: z.ZodType = z\n .object({\n id: z.string().optional(),\n })\n .transform(d => ({\n id: d.id,\n }));\n\nexport const marshalUpdateAccountsMetastoreSchema: z.ZodType = z\n .object({\n name: z.string().optional(),\n storageRoot: z.string().optional(),\n defaultDataAccessConfigId: z.string().optional(),\n storageRootCredentialId: z.string().optional(),\n deltaSharingScope: z.string().optional(),\n deltaSharingRecipientTokenLifetimeInSeconds: z.bigint().optional(),\n deltaSharingOrganizationName: z.string().optional(),\n owner: z.string().optional(),\n privilegeModelVersion: z.string().optional(),\n region: z.string().optional(),\n metastoreId: z.string().optional(),\n createdAt: z.bigint().optional(),\n createdBy: z.string().optional(),\n updatedAt: z.bigint().optional(),\n updatedBy: z.string().optional(),\n storageRootCredentialName: z.string().optional(),\n cloud: z.string().optional(),\n globalMetastoreId: z.string().optional(),\n externalAccessEnabled: z.boolean().optional(),\n })\n .transform(d => ({\n name: d.name,\n storage_root: d.storageRoot,\n default_data_access_config_id: d.defaultDataAccessConfigId,\n storage_root_credential_id: d.storageRootCredentialId,\n delta_sharing_scope: d.deltaSharingScope,\n delta_sharing_recipient_token_lifetime_in_seconds:\n d.deltaSharingRecipientTokenLifetimeInSeconds,\n delta_sharing_organization_name: d.deltaSharingOrganizationName,\n owner: d.owner,\n privilege_model_version: d.privilegeModelVersion,\n region: d.region,\n metastore_id: d.metastoreId,\n created_at: d.createdAt,\n created_by: d.createdBy,\n updated_at: d.updatedAt,\n updated_by: d.updatedBy,\n storage_root_credential_name: d.storageRootCredentialName,\n cloud: d.cloud,\n global_metastore_id: d.globalMetastoreId,\n external_access_enabled: d.externalAccessEnabled,\n }));\n\nexport const marshalUpdateMetastoreAssignmentRequestSchema: z.ZodType = z\n .object({\n workspaceId: z.bigint().optional(),\n metastoreId: z.string().optional(),\n defaultCatalogName: z.string().optional(),\n })\n .transform(d => ({\n workspace_id: d.workspaceId,\n metastore_id: d.metastoreId,\n default_catalog_name: d.defaultCatalogName,\n }));\n\nexport const marshalUpdateMetastoreRequestSchema: z.ZodType = z\n .object({\n id: z.string().optional(),\n newName: z.string().optional(),\n name: z.string().optional(),\n storageRoot: z.string().optional(),\n defaultDataAccessConfigId: z.string().optional(),\n storageRootCredentialId: z.string().optional(),\n deltaSharingScope: z.string().optional(),\n deltaSharingRecipientTokenLifetimeInSeconds: z.bigint().optional(),\n deltaSharingOrganizationName: z.string().optional(),\n owner: z.string().optional(),\n privilegeModelVersion: z.string().optional(),\n region: z.string().optional(),\n metastoreId: z.string().optional(),\n createdAt: z.bigint().optional(),\n createdBy: z.string().optional(),\n updatedAt: z.bigint().optional(),\n updatedBy: z.string().optional(),\n storageRootCredentialName: z.string().optional(),\n cloud: z.string().optional(),\n globalMetastoreId: z.string().optional(),\n externalAccessEnabled: z.boolean().optional(),\n })\n .transform(d => ({\n id: d.id,\n new_name: d.newName,\n name: d.name,\n storage_root: d.storageRoot,\n default_data_access_config_id: d.defaultDataAccessConfigId,\n storage_root_credential_id: d.storageRootCredentialId,\n delta_sharing_scope: d.deltaSharingScope,\n delta_sharing_recipient_token_lifetime_in_seconds:\n d.deltaSharingRecipientTokenLifetimeInSeconds,\n delta_sharing_organization_name: d.deltaSharingOrganizationName,\n owner: d.owner,\n privilege_model_version: d.privilegeModelVersion,\n region: d.region,\n metastore_id: d.metastoreId,\n created_at: d.createdAt,\n created_by: d.createdBy,\n updated_at: d.updatedAt,\n updated_by: d.updatedBy,\n storage_root_credential_name: d.storageRootCredentialName,\n cloud: d.cloud,\n global_metastore_id: d.globalMetastoreId,\n external_access_enabled: d.externalAccessEnabled,\n }));\n"],"mappings":";;;AAKA,MAAa,yBAAyB;CAMpC,UAAU;CAKV,uBAAuB;CACxB;AAofD,MAAa,2DACX,EAAE,OAAO,EAAE,CAAC;AAEd,MAAa,iDACX,EACG,OAAO,EACN,gBAAgB,EACb,WAAW,6BAA6B,CACxC,SAAS,CACT,WAAU,MAAK,KAAK,OAAU,EAClC,CAAC,CACD,WAAU,OAAM,EACf,eAAe,EAAE,gBAClB,EAAE;AAEP,MAAa,2DACX,EAAE,OAAO,EAAE,CAAC;AAEd,MAAa,iDACX,EAAE,OAAO,EAAE,CAAC;AAEd,MAAa,wDACX,EACG,OAAO,EACN,sBAAsB,EACnB,WAAW,mCAAmC,CAC9C,SAAS,CACT,WAAU,MAAK,KAAK,OAAU,EAClC,CAAC,CACD,WAAU,OAAM,EACf,qBAAqB,EAAE,sBACxB,EAAE;AAEP,MAAa,8CACX,EACG,OAAO,EACN,gBAAgB,EACb,WAAW,6BAA6B,CACxC,SAAS,CACT,WAAU,MAAK,KAAK,OAAU,EAClC,CAAC,CACD,WAAU,OAAM,EACf,eAAe,EAAE,gBAClB,EAAE;AAEP,MAAa,gDACX,EACG,OAAO,EACN,YAAY,EACT,MA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