@databricks/sdk-uc-systemschemas 0.52.1 → 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 +1 -1
- package/dist/v1/client.d.ts.map +1 -1
- package/dist/v1/client.js +7 -13
- package/dist/v1/client.js.map +1 -1
- package/dist/v1/transport.d.ts +4 -2
- package/dist/v1/transport.d.ts.map +1 -1
- package/dist/v1/transport.js +15 -5
- package/dist/v1/transport.js.map +1 -1
- package/package.json +2 -2
package/dist/package.js
CHANGED
package/dist/v1/client.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { ClientOptions } from "@databricks/sdk-options/client";
|
|
|
6
6
|
declare class SystemSchemasClient {
|
|
7
7
|
private readonly options;
|
|
8
8
|
private readonly logger;
|
|
9
|
-
private readonly
|
|
9
|
+
private readonly clientInfo;
|
|
10
10
|
private config;
|
|
11
11
|
constructor(options: ClientOptions);
|
|
12
12
|
private resolveConfig;
|
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":";;;;;cAyCa,mBAAA;EAAA,iBACM,OAAA;EAAA,iBACA,MAAA;EAAA,iBAIA,UAAA;EAAA,QAIT,MAAA;cAEI,OAAA,EAAS,aAAA;EAAA,QAQb,aAAA;EAWI;;;;EAFN,mBAAA,CACJ,GAAA,EAAK,0BAAA,EACL,OAAA,GAAU,WAAA,GACT,OAAA,CAAQ,2BAAA;EAkCA;;;;EAHL,kBAAA,CACJ,GAAA,EAAK,yBAAA,EACL,OAAA,GAAU,WAAA,GACT,OAAA,CAAQ,0BAAA;EAqCR;;;;;;;;;EAHG,iBAAA,CACJ,GAAA,EAAK,wBAAA,EACL,OAAA,GAAU,WAAA,GACT,OAAA,CAAQ,yBAAA;EAiCJ,qBAAA,CACL,GAAA,EAAK,wBAAA,EACL,OAAA,GAAU,WAAA,GACT,cAAA,CAAe,gBAAA;AAAA"}
|
package/dist/v1/client.js
CHANGED
|
@@ -14,21 +14,18 @@ const PACKAGE_SEGMENT = {
|
|
|
14
14
|
var SystemSchemasClient = class {
|
|
15
15
|
options;
|
|
16
16
|
logger;
|
|
17
|
-
|
|
17
|
+
clientInfo;
|
|
18
18
|
config;
|
|
19
19
|
constructor(options) {
|
|
20
20
|
this.options = options;
|
|
21
21
|
this.logger = options.logger ?? new NoOpLogger();
|
|
22
|
-
this.
|
|
22
|
+
this.clientInfo = createDefault().with(PACKAGE_SEGMENT).with({
|
|
23
23
|
key: "sdk-js-auth",
|
|
24
24
|
value: VERSION
|
|
25
|
-
})
|
|
26
|
-
key: "auth",
|
|
27
|
-
value: options.credentials?.name() ?? "default"
|
|
28
|
-
}).toString();
|
|
25
|
+
});
|
|
29
26
|
}
|
|
30
27
|
resolveConfig() {
|
|
31
|
-
this.config ??= resolveClientConfig(this.options);
|
|
28
|
+
this.config ??= resolveClientConfig(this.options, this.clientInfo);
|
|
32
29
|
return this.config;
|
|
33
30
|
}
|
|
34
31
|
/**
|
|
@@ -41,8 +38,7 @@ var SystemSchemasClient = class {
|
|
|
41
38
|
let resp;
|
|
42
39
|
const call = async (callSignal) => {
|
|
43
40
|
const headers = new Headers();
|
|
44
|
-
if (workspaceId !== void 0) headers.set("X-Databricks-Workspace-Id", workspaceId);
|
|
45
|
-
headers.set("User-Agent", this.userAgent);
|
|
41
|
+
if (workspaceId !== void 0 && workspaceId !== "") headers.set("X-Databricks-Workspace-Id", workspaceId);
|
|
46
42
|
resp = parseResponse(await executeHttpCall({
|
|
47
43
|
request: buildHttpRequest("DELETE", url, headers, callSignal),
|
|
48
44
|
httpClient,
|
|
@@ -64,8 +60,7 @@ var SystemSchemasClient = class {
|
|
|
64
60
|
let resp;
|
|
65
61
|
const call = async (callSignal) => {
|
|
66
62
|
const headers = new Headers({ "Content-Type": "application/json" });
|
|
67
|
-
if (workspaceId !== void 0) headers.set("X-Databricks-Workspace-Id", workspaceId);
|
|
68
|
-
headers.set("User-Agent", this.userAgent);
|
|
63
|
+
if (workspaceId !== void 0 && workspaceId !== "") headers.set("X-Databricks-Workspace-Id", workspaceId);
|
|
69
64
|
resp = parseResponse(await executeHttpCall({
|
|
70
65
|
request: buildHttpRequest("PUT", url, headers, callSignal, body),
|
|
71
66
|
httpClient,
|
|
@@ -96,8 +91,7 @@ var SystemSchemasClient = class {
|
|
|
96
91
|
let resp;
|
|
97
92
|
const call = async (callSignal) => {
|
|
98
93
|
const headers = new Headers();
|
|
99
|
-
if (workspaceId !== void 0) headers.set("X-Databricks-Workspace-Id", workspaceId);
|
|
100
|
-
headers.set("User-Agent", this.userAgent);
|
|
94
|
+
if (workspaceId !== void 0 && workspaceId !== "") headers.set("X-Databricks-Workspace-Id", workspaceId);
|
|
101
95
|
resp = parseResponse(await executeHttpCall({
|
|
102
96
|
request: buildHttpRequest("GET", fullUrl, headers, callSignal),
|
|
103
97
|
httpClient,
|
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 DisableSystemSchemaRequest,\n DisableSystemSchemaResponse,\n EnableSystemSchemaRequest,\n EnableSystemSchemaResponse,\n ListSystemSchemasRequest,\n ListSystemSchemasResponse,\n SystemSchemaInfo,\n} from './model';\nimport {\n marshalEnableSystemSchemaRequestSchema,\n unmarshalDisableSystemSchemaResponseSchema,\n unmarshalEnableSystemSchemaResponseSchema,\n unmarshalListSystemSchemasResponseSchema,\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 SystemSchemasClient {\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 /**\n * Disables the system schema and removes it from the system catalog.\n * The caller must be an account admin or a metastore admin.\n */\n async disableSystemSchema(\n req: DisableSystemSchemaRequest,\n options?: CallOptions\n ): Promise<DisableSystemSchemaResponse> {\n const {host, workspaceId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.1/unity-catalog/metastores/${req.metastoreId ?? ''}/systemschemas/${req.schema ?? ''}`;\n let resp: DisableSystemSchemaResponse | 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', url, headers, callSignal);\n const respBody = await executeHttpCall({\n request: httpReq,\n httpClient,\n logger: this.logger,\n });\n resp = parseResponse(\n respBody,\n unmarshalDisableSystemSchemaResponseSchema\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 * Enables the system schema and adds it to the system catalog.\n * The caller must be an account admin or a metastore admin.\n */\n async enableSystemSchema(\n req: EnableSystemSchemaRequest,\n options?: CallOptions\n ): Promise<EnableSystemSchemaResponse> {\n const {host, workspaceId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.1/unity-catalog/metastores/${req.metastoreId ?? ''}/systemschemas/${req.schema ?? ''}`;\n const body = marshalRequest(req, marshalEnableSystemSchemaRequestSchema);\n let resp: EnableSystemSchemaResponse | 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(respBody, unmarshalEnableSystemSchemaResponseSchema);\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 system schemas for a metastore.\n * The caller must be an account admin or a metastore admin.\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 listSystemSchemas(\n req: ListSystemSchemasRequest,\n options?: CallOptions\n ): Promise<ListSystemSchemasResponse> {\n const {host, workspaceId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.1/unity-catalog/metastores/${req.metastoreId ?? ''}/systemschemas`;\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: ListSystemSchemasResponse | 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, unmarshalListSystemSchemasResponseSchema);\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 *listSystemSchemasIter(\n req: ListSystemSchemasRequest,\n options?: CallOptions\n ): AsyncGenerator<SystemSchemaInfo> {\n const pageReq: ListSystemSchemasRequest = {...req};\n for (;;) {\n const resp = await this.listSystemSchemas(pageReq, options);\n for (const item of resp.schemas ?? []) {\n yield item;\n }\n if (resp.nextPageToken === undefined || resp.nextPageToken === '') {\n return;\n }\n pageReq.pageToken = resp.nextPageToken;\n }\n }\n}\n"],"mappings":";;;;;;;;;AAmCA,MAAM,kBAAkB;CACtB,KAAK,iBAAyB,QAAQ,iBAAiB,GAAG;CAC1D,OAAOA;CACR;AAED,IAAa,sBAAb,MAAiC;CAC/B,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,CAA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["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 type {ClientInfo} from '@databricks/sdk-core/clientinfo';\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 DisableSystemSchemaRequest,\n DisableSystemSchemaResponse,\n EnableSystemSchemaRequest,\n EnableSystemSchemaResponse,\n ListSystemSchemasRequest,\n ListSystemSchemasResponse,\n SystemSchemaInfo,\n} from './model';\nimport {\n marshalEnableSystemSchemaRequestSchema,\n unmarshalDisableSystemSchemaResponseSchema,\n unmarshalEnableSystemSchemaResponseSchema,\n unmarshalListSystemSchemasResponseSchema,\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 SystemSchemasClient {\n private readonly options: ClientOptions;\n private readonly logger: Logger;\n // User-Agent segments, composed once at construction from createDefault()\n // merged with this package's identity. Each request adds the auth method,\n // which default credentials choose only when they first sign a request.\n private readonly clientInfo: ClientInfo;\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 this.clientInfo = createDefault()\n .with(PACKAGE_SEGMENT)\n .with({key: 'sdk-js-auth', value: AUTH_VERSION});\n }\n\n private resolveConfig(): Promise<ResolvedClientConfig> {\n this.config ??= resolveClientConfig(this.options, this.clientInfo);\n return this.config;\n }\n\n /**\n * Disables the system schema and removes it from the system catalog.\n * The caller must be an account admin or a metastore admin.\n */\n async disableSystemSchema(\n req: DisableSystemSchemaRequest,\n options?: CallOptions\n ): Promise<DisableSystemSchemaResponse> {\n const {host, workspaceId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.1/unity-catalog/metastores/${req.metastoreId ?? ''}/systemschemas/${req.schema ?? ''}`;\n let resp: DisableSystemSchemaResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers();\n if (workspaceId !== undefined && workspaceId !== '') {\n headers.set('X-Databricks-Workspace-Id', workspaceId);\n }\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 unmarshalDisableSystemSchemaResponseSchema\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 * Enables the system schema and adds it to the system catalog.\n * The caller must be an account admin or a metastore admin.\n */\n async enableSystemSchema(\n req: EnableSystemSchemaRequest,\n options?: CallOptions\n ): Promise<EnableSystemSchemaResponse> {\n const {host, workspaceId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.1/unity-catalog/metastores/${req.metastoreId ?? ''}/systemschemas/${req.schema ?? ''}`;\n const body = marshalRequest(req, marshalEnableSystemSchemaRequestSchema);\n let resp: EnableSystemSchemaResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers({'Content-Type': 'application/json'});\n if (workspaceId !== undefined && workspaceId !== '') {\n headers.set('X-Databricks-Workspace-Id', workspaceId);\n }\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(respBody, unmarshalEnableSystemSchemaResponseSchema);\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 system schemas for a metastore.\n * The caller must be an account admin or a metastore admin.\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 listSystemSchemas(\n req: ListSystemSchemasRequest,\n options?: CallOptions\n ): Promise<ListSystemSchemasResponse> {\n const {host, workspaceId, httpClient} = await this.resolveConfig();\n const url = `${host}/api/2.1/unity-catalog/metastores/${req.metastoreId ?? ''}/systemschemas`;\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: ListSystemSchemasResponse | undefined;\n const call = async (callSignal?: AbortSignal): Promise<void> => {\n const headers = new Headers();\n if (workspaceId !== undefined && workspaceId !== '') {\n headers.set('X-Databricks-Workspace-Id', workspaceId);\n }\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, unmarshalListSystemSchemasResponseSchema);\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 *listSystemSchemasIter(\n req: ListSystemSchemasRequest,\n options?: CallOptions\n ): AsyncGenerator<SystemSchemaInfo> {\n const pageReq: ListSystemSchemasRequest = {...req};\n for (;;) {\n const resp = await this.listSystemSchemas(pageReq, options);\n for (const item of resp.schemas ?? []) {\n yield item;\n }\n if (resp.nextPageToken === undefined || resp.nextPageToken === '') {\n return;\n }\n pageReq.pageToken = resp.nextPageToken;\n }\n }\n}\n"],"mappings":";;;;;;;;;AAoCA,MAAM,kBAAkB;CACtB,KAAK,iBAAyB,QAAQ,iBAAiB,GAAG;CAC1D,OAAOA;CACR;AAED,IAAa,sBAAb,MAAiC;CAC/B,AAAiB;CACjB,AAAiB;CAIjB,AAAiB;CAIjB,AAAQ;CAER,YAAY,SAAwB;AAClC,OAAK,UAAU;AACf,OAAK,SAAS,QAAQ,UAAU,IAAI,YAAY;AAChD,OAAK,aAAa,eAAe,CAC9B,KAAK,gBAAgB,CACrB,KAAK;GAAC,KAAK;GAAe,OAAOC;GAAa,CAAC;;CAGpD,AAAQ,gBAA+C;AACrD,OAAK,WAAW,oBAAoB,KAAK,SAAS,KAAK,WAAW;AAClE,SAAO,KAAK;;;;;;CAOd,MAAM,oBACJ,KACA,SACsC;EACtC,MAAM,EAAC,MAAM,aAAa,eAAc,MAAM,KAAK,eAAe;EAClE,MAAM,MAAM,GAAG,KAAK,oCAAoC,IAAI,eAAe,GAAG,iBAAiB,IAAI,UAAU;EAC7G,IAAI;EACJ,MAAM,OAAO,OAAO,eAA4C;GAC9D,MAAM,UAAU,IAAI,SAAS;AAC7B,OAAI,gBAAgB,UAAa,gBAAgB,GAC/C,SAAQ,IAAI,6BAA6B,YAAY;AAQvD,UAAO,cALU,MAAM,gBAAgB;IACrC,SAFc,iBAAiB,UAAU,KAAK,SAAS,WAAW;IAGlE;IACA,QAAQ,KAAK;IACd,CAAC,EAGA,2CACD;;AAEH,QAAM,YAAY,MAAM,QAAQ;AAChC,MAAI,SAAS,OACX,OAAM,IAAI,MAAM,wCAAwC;AAE1D,SAAO;;;;;;CAOT,MAAM,mBACJ,KACA,SACqC;EACrC,MAAM,EAAC,MAAM,aAAa,eAAc,MAAM,KAAK,eAAe;EAClE,MAAM,MAAM,GAAG,KAAK,oCAAoC,IAAI,eAAe,GAAG,i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E1D,SAAO;;CAGT,OAAO,sBACL,KACA,SACkC;EAClC,MAAM,UAAoC,EAAC,GAAG,KAAI;AAClD,WAAS;GACP,MAAM,OAAO,MAAM,KAAK,kBAAkB,SAAS,QAAQ;AAC3D,QAAK,MAAM,QAAQ,KAAK,WAAW,EAAE,CACnC,OAAM;AAER,OAAI,KAAK,kBAAkB,UAAa,KAAK,kBAAkB,GAC7D;AAEF,WAAQ,YAAY,KAAK"}
|
package/dist/v1/transport.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ClientInfo } from "@databricks/sdk-core/clientinfo";
|
|
1
2
|
import { HttpClient } from "@databricks/sdk-core/http";
|
|
2
3
|
import { ClientOptions } from "@databricks/sdk-options/client";
|
|
3
4
|
|
|
@@ -27,11 +28,12 @@ interface ResolvedClientConfig {
|
|
|
27
28
|
* A configuration profile is always resolved from the config file and
|
|
28
29
|
* environment variables (per options.profileOptions); it supplies host,
|
|
29
30
|
* accountId, workspaceId, and credentials wherever the caller did not set them
|
|
30
|
-
* explicitly. Explicit options always take precedence.
|
|
31
|
+
* explicitly. Explicit options always take precedence. Each request's
|
|
32
|
+
* User-Agent is clientInfo with the auth method of the credentials.
|
|
31
33
|
*
|
|
32
34
|
* @throws if host is neither provided nor present in the resolved profile.
|
|
33
35
|
*/
|
|
34
|
-
declare function resolveClientConfig(options: ClientOptions): Promise<ResolvedClientConfig>;
|
|
36
|
+
declare function resolveClientConfig(options: ClientOptions, clientInfo: ClientInfo): Promise<ResolvedClientConfig>;
|
|
35
37
|
//#endregion
|
|
36
38
|
export { ResolvedClientConfig, resolveClientConfig };
|
|
37
39
|
//# sourceMappingURL=transport.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transport.d.ts","names":[],"sources":["../../src/v1/transport.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"transport.d.ts","names":[],"sources":["../../src/v1/transport.ts"],"mappings":";;;;;;;AAmBA;;UAAiB,oBAAA;EAgBO;EAdtB,IAAA;EAMA;;;;EAAA,SAAA;EAQsB;AAcxB;;EAjBE,WAAA;EAkBS;EAfT,UAAA,EAAY,UAAA;AAAA;;;;;;;;;;;;iBAcQ,mBAAA,CACpB,OAAA,EAAS,aAAA,EACT,UAAA,EAAY,UAAA,GACX,OAAA,CAAQ,oBAAA"}
|
package/dist/v1/transport.js
CHANGED
|
@@ -9,18 +9,19 @@ import { resolve } from "@databricks/sdk-core/profiles";
|
|
|
9
9
|
* A configuration profile is always resolved from the config file and
|
|
10
10
|
* environment variables (per options.profileOptions); it supplies host,
|
|
11
11
|
* accountId, workspaceId, and credentials wherever the caller did not set them
|
|
12
|
-
* explicitly. Explicit options always take precedence.
|
|
12
|
+
* explicitly. Explicit options always take precedence. Each request's
|
|
13
|
+
* User-Agent is clientInfo with the auth method of the credentials.
|
|
13
14
|
*
|
|
14
15
|
* @throws if host is neither provided nor present in the resolved profile.
|
|
15
16
|
*/
|
|
16
|
-
async function resolveClientConfig(options) {
|
|
17
|
+
async function resolveClientConfig(options, clientInfo) {
|
|
17
18
|
const profile = await resolve(options.profileOptions);
|
|
18
19
|
const host = normalizeHost(options.host ?? profile.host);
|
|
19
20
|
if (host === void 0) throw new Error("Host is required.");
|
|
20
21
|
let httpClient = new AuthHttpClient(options.httpClient ?? newFetchHttpClient(), options.credentials ?? defaultCredentials({ profile: {
|
|
21
22
|
...profile,
|
|
22
23
|
host
|
|
23
|
-
} }));
|
|
24
|
+
} }), clientInfo);
|
|
24
25
|
if (options.timeout !== void 0) httpClient = new TimeoutHttpClient(httpClient, options.timeout);
|
|
25
26
|
const accountId = options.accountId ?? profile.accountId;
|
|
26
27
|
const workspaceId = options.workspaceId ?? profile.workspaceId;
|
|
@@ -36,16 +37,25 @@ function normalizeHost(host) {
|
|
|
36
37
|
if (trimmed === void 0 || trimmed === "") return;
|
|
37
38
|
return (/^https?:\/\//i.test(trimmed) ? trimmed : `https://${trimmed}`).replace(/\/$/, "");
|
|
38
39
|
}
|
|
39
|
-
/**
|
|
40
|
+
/**
|
|
41
|
+
* Wraps an HttpClient and adds authentication headers and the User-Agent to
|
|
42
|
+
* requests.
|
|
43
|
+
*/
|
|
40
44
|
var AuthHttpClient = class {
|
|
41
|
-
constructor(base, credentials) {
|
|
45
|
+
constructor(base, credentials, clientInfo) {
|
|
42
46
|
this.base = base;
|
|
43
47
|
this.credentials = credentials;
|
|
48
|
+
this.clientInfo = clientInfo;
|
|
44
49
|
}
|
|
45
50
|
async send(request) {
|
|
46
51
|
const authHeaders = await this.credentials.authHeaders();
|
|
47
52
|
const headers = new Headers(request.headers);
|
|
48
53
|
for (const h of authHeaders) headers.set(h.key, h.value);
|
|
54
|
+
const info = this.clientInfo.with({
|
|
55
|
+
key: "auth",
|
|
56
|
+
value: this.credentials.name()
|
|
57
|
+
});
|
|
58
|
+
headers.set("User-Agent", info.toString());
|
|
49
59
|
return this.base.send({
|
|
50
60
|
...request,
|
|
51
61
|
headers
|
package/dist/v1/transport.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transport.js","names":[],"sources":["../../src/v1/transport.ts"],"sourcesContent":["// Code generated from API definition by Databricks SDK Generator. DO NOT EDIT.\n\nimport type {Credentials} from '@databricks/sdk-auth';\nimport {defaultCredentials} from '@databricks/sdk-auth/credentials';\nimport type {\n HttpClient,\n HttpRequest,\n HttpResponse,\n} from '@databricks/sdk-core/http';\nimport {newFetchHttpClient} from '@databricks/sdk-core/http';\nimport type {Profile} from '@databricks/sdk-core/profiles';\nimport {resolve} from '@databricks/sdk-core/profiles';\nimport type {ClientOptions} from '@databricks/sdk-options/client';\n\n/**\n * The configuration a client needs to issue requests, resolved from\n * {@link ClientOptions} and a configuration profile.\n */\nexport interface ResolvedClientConfig {\n /** Host with any trailing slash removed. */\n host: string;\n\n /**\n * Default account ID for account-level paths that contain an account_id\n * segment. A request's own accountId still wins.\n */\n accountId?: string;\n\n /**\n * Workspace ID used to route workspace-level calls on unified hosts (SPOG).\n */\n workspaceId?: string;\n\n /** HTTP client with authentication, and any configured timeout, applied. */\n httpClient: HttpClient;\n}\n\n/**\n * Resolves {@link ClientOptions} into a {@link ResolvedClientConfig}.\n *\n * A configuration profile is always resolved from the config file and\n * environment variables (per options.profileOptions); it supplies host,\n * accountId, workspaceId, and credentials wherever the caller did not set them\n * explicitly. Explicit options always take precedence.\n *\n * @throws if host is neither provided nor present in the resolved profile.\n */\nexport async function resolveClientConfig(\n options: ClientOptions\n): Promise<ResolvedClientConfig> {\n const profile: Profile = await resolve(options.profileOptions);\n\n const host = normalizeHost(options.host ?? profile.host);\n if (host === undefined) {\n throw new Error('Host is required.');\n }\n\n // The provided httpClient (or the default fetch client) is the base wire;\n // authentication and the optional timeout are layered on top of it. The\n // default credential chain reuses the profile resolved above so that the\n // same profileOptions govern host and authentication alike.\n const base = options.httpClient ?? newFetchHttpClient();\n const credentials =\n options.credentials ?? defaultCredentials({profile: {...profile, host}});\n let httpClient: HttpClient = new AuthHttpClient(base
|
|
1
|
+
{"version":3,"file":"transport.js","names":[],"sources":["../../src/v1/transport.ts"],"sourcesContent":["// Code generated from API definition by Databricks SDK Generator. DO NOT EDIT.\n\nimport type {Credentials} from '@databricks/sdk-auth';\nimport {defaultCredentials} from '@databricks/sdk-auth/credentials';\nimport type {ClientInfo} from '@databricks/sdk-core/clientinfo';\nimport type {\n HttpClient,\n HttpRequest,\n HttpResponse,\n} from '@databricks/sdk-core/http';\nimport {newFetchHttpClient} from '@databricks/sdk-core/http';\nimport type {Profile} from '@databricks/sdk-core/profiles';\nimport {resolve} from '@databricks/sdk-core/profiles';\nimport type {ClientOptions} from '@databricks/sdk-options/client';\n\n/**\n * The configuration a client needs to issue requests, resolved from\n * {@link ClientOptions} and a configuration profile.\n */\nexport interface ResolvedClientConfig {\n /** Host with any trailing slash removed. */\n host: string;\n\n /**\n * Default account ID for account-level paths that contain an account_id\n * segment. A request's own accountId still wins.\n */\n accountId?: string;\n\n /**\n * Workspace ID used to route workspace-level calls on unified hosts (SPOG).\n */\n workspaceId?: string;\n\n /** HTTP client with authentication, and any configured timeout, applied. */\n httpClient: HttpClient;\n}\n\n/**\n * Resolves {@link ClientOptions} into a {@link ResolvedClientConfig}.\n *\n * A configuration profile is always resolved from the config file and\n * environment variables (per options.profileOptions); it supplies host,\n * accountId, workspaceId, and credentials wherever the caller did not set them\n * explicitly. Explicit options always take precedence. Each request's\n * User-Agent is clientInfo with the auth method of the credentials.\n *\n * @throws if host is neither provided nor present in the resolved profile.\n */\nexport async function resolveClientConfig(\n options: ClientOptions,\n clientInfo: ClientInfo\n): Promise<ResolvedClientConfig> {\n const profile: Profile = await resolve(options.profileOptions);\n\n const host = normalizeHost(options.host ?? profile.host);\n if (host === undefined) {\n throw new Error('Host is required.');\n }\n\n // The provided httpClient (or the default fetch client) is the base wire;\n // authentication and the optional timeout are layered on top of it. The\n // default credential chain reuses the profile resolved above so that the\n // same profileOptions govern host and authentication alike.\n const base = options.httpClient ?? newFetchHttpClient();\n const credentials =\n options.credentials ?? defaultCredentials({profile: {...profile, host}});\n let httpClient: HttpClient = new AuthHttpClient(\n base,\n credentials,\n clientInfo\n );\n if (options.timeout !== undefined) {\n httpClient = new TimeoutHttpClient(httpClient, options.timeout);\n }\n\n const accountId = options.accountId ?? profile.accountId;\n const workspaceId = options.workspaceId ?? profile.workspaceId;\n\n return {\n host,\n httpClient,\n ...(accountId !== undefined && {accountId}),\n ...(workspaceId !== undefined && {workspaceId}),\n };\n}\n\nfunction normalizeHost(host: string | undefined): string | undefined {\n const trimmed = host?.trim();\n if (trimmed === undefined || trimmed === '') {\n return undefined;\n }\n const absolute = /^https?:\\/\\//i.test(trimmed)\n ? trimmed\n : `https://${trimmed}`;\n return absolute.replace(/\\/$/, '');\n}\n\n/**\n * Wraps an HttpClient and adds authentication headers and the User-Agent to\n * requests.\n */\nclass AuthHttpClient implements HttpClient {\n constructor(\n private readonly base: HttpClient,\n private readonly credentials: Credentials,\n private readonly clientInfo: ClientInfo\n ) {}\n\n async send(request: HttpRequest): Promise<HttpResponse> {\n const authHeaders = await this.credentials.authHeaders();\n // Do not modify the original request.\n const headers = new Headers(request.headers);\n for (const h of authHeaders) {\n headers.set(h.key, h.value);\n }\n // Default credentials choose their auth method when they first sign a\n // request, so the method is read after signing.\n const info = this.clientInfo.with({\n key: 'auth',\n value: this.credentials.name(),\n });\n headers.set('User-Agent', info.toString());\n return this.base.send({...request, headers});\n }\n}\n\n/** Wraps an HttpClient and applies a default timeout to requests. */\nclass TimeoutHttpClient implements HttpClient {\n constructor(\n private readonly base: HttpClient,\n private readonly timeout: number\n ) {}\n\n async send(request: HttpRequest): Promise<HttpResponse> {\n const timeoutSignal = AbortSignal.timeout(this.timeout);\n const signal =\n request.signal !== undefined\n ? AbortSignal.any([request.signal, timeoutSignal])\n : timeoutSignal;\n return this.base.send({...request, signal});\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAiDA,eAAsB,oBACpB,SACA,YAC+B;CAC/B,MAAM,UAAmB,MAAM,QAAQ,QAAQ,eAAe;CAE9D,MAAM,OAAO,cAAc,QAAQ,QAAQ,QAAQ,KAAK;AACxD,KAAI,SAAS,OACX,OAAM,IAAI,MAAM,oBAAoB;CAUtC,IAAI,aAAyB,IAAI,eAHpB,QAAQ,cAAc,oBAAoB,EAErD,QAAQ,eAAe,mBAAmB,EAAC,SAAS;EAAC,GAAG;EAAS;EAAK,EAAC,CAAC,EAIxE,WACD;AACD,KAAI,QAAQ,YAAY,OACtB,cAAa,IAAI,kBAAkB,YAAY,QAAQ,QAAQ;CAGjE,MAAM,YAAY,QAAQ,aAAa,QAAQ;CAC/C,MAAM,cAAc,QAAQ,eAAe,QAAQ;AAEnD,QAAO;EACL;EACA;EACA,GAAI,cAAc,UAAa,EAAC,WAAU;EAC1C,GAAI,gBAAgB,UAAa,EAAC,aAAY;EAC/C;;AAGH,SAAS,cAAc,MAA8C;CACnE,MAAM,UAAU,MAAM,MAAM;AAC5B,KAAI,YAAY,UAAa,YAAY,GACvC;AAKF,SAHiB,gBAAgB,KAAK,QAAQ,GAC1C,UACA,WAAW,WACC,QAAQ,OAAO,GAAG;;;;;;AAOpC,IAAM,iBAAN,MAA2C;CACzC,YACE,AAAiB,MACjB,AAAiB,aACjB,AAAiB,YACjB;EAHiB;EACA;EACA;;CAGnB,MAAM,KAAK,SAA6C;EACtD,MAAM,cAAc,MAAM,KAAK,YAAY,aAAa;EAExD,MAAM,UAAU,IAAI,QAAQ,QAAQ,QAAQ;AAC5C,OAAK,MAAM,KAAK,YACd,SAAQ,IAAI,EAAE,KAAK,EAAE,MAAM;EAI7B,MAAM,OAAO,KAAK,WAAW,KAAK;GAChC,KAAK;GACL,OAAO,KAAK,YAAY,MAAM;GAC/B,CAAC;AACF,UAAQ,IAAI,cAAc,KAAK,UAAU,CAAC;AAC1C,SAAO,KAAK,KAAK,KAAK;GAAC,GAAG;GAAS;GAAQ,CAAC;;;;AAKhD,IAAM,oBAAN,MAA8C;CAC5C,YACE,AAAiB,MACjB,AAAiB,SACjB;EAFiB;EACA;;CAGnB,MAAM,KAAK,SAA6C;EACtD,MAAM,gBAAgB,YAAY,QAAQ,KAAK,QAAQ;EACvD,MAAM,SACJ,QAAQ,WAAW,SACf,YAAY,IAAI,CAAC,QAAQ,QAAQ,cAAc,CAAC,GAChD;AACN,SAAO,KAAK,KAAK,KAAK;GAAC,GAAG;GAAS;GAAO,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@databricks/sdk-uc-systemschemas",
|
|
3
|
-
"version": "0.52.
|
|
3
|
+
"version": "0.52.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@databricks/sdk-auth": ">=0.56.0 <1.0.0",
|
|
37
37
|
"@databricks/sdk-core": ">=0.52.0 <1.0.0",
|
|
38
|
-
"@databricks/sdk-options": ">=0.52.
|
|
38
|
+
"@databricks/sdk-options": ">=0.52.1 <1.0.0",
|
|
39
39
|
"@js-temporal/polyfill": "^0.5.0",
|
|
40
40
|
"json-bigint": "^1.0.0",
|
|
41
41
|
"zod": "^4.3.6"
|