@databricks/sdk-uc-resourcequotas 0.52.5 → 0.53.1
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/model.d.ts +2 -1
- package/dist/v1/model.d.ts.map +1 -1
- package/dist/v1/model.js +3 -2
- package/dist/v1/model.js.map +1 -1
- package/package.json +5 -5
package/dist/package.js
CHANGED
package/dist/v1/model.d.ts
CHANGED
|
@@ -25,7 +25,8 @@ declare const SecurableType: {
|
|
|
25
25
|
readonly MCP_SERVICE: "MCP_SERVICE";
|
|
26
26
|
readonly MODEL_PROVIDER_SERVICE: "MODEL_PROVIDER_SERVICE";
|
|
27
27
|
readonly AGENT_SERVICE: "AGENT_SERVICE";
|
|
28
|
-
readonly SKILL: "SKILL";
|
|
28
|
+
readonly SKILL: "SKILL"; /** A Feature Store feature in Unity Catalog. Three-level namespace catalog.schema.feature. */
|
|
29
|
+
readonly FEATURE: "FEATURE";
|
|
29
30
|
};
|
|
30
31
|
type SecurableType = (typeof SecurableType)[keyof typeof SecurableType] | (string & {});
|
|
31
32
|
interface GetQuotaRequest {
|
package/dist/v1/model.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","names":[],"sources":["../../src/v1/model.ts"],"mappings":";;;;cAMa,aAAA;EAAA
|
|
1
|
+
{"version":3,"file":"model.d.ts","names":[],"sources":["../../src/v1/model.ts"],"mappings":";;;;cAMa,aAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;KA4BD,aAAA,WACA,aAAA,eAA4B,aAAA;AAAA,UAGvB,eAAA;;EAEf,mBAAA;EANuB;EAQvB,cAAA;EAPU;EASV,SAAA;AAAA;AAAA,UAGe,gBAAA;;EAEf,SAAA,GAAY,SAAA;AAAA;AAAA,UAGG,iBAAA;EARf;EAUA,UAAA;EAVS;EAYT,SAAA;AAAA;AAAA,UAGe,kBAAA;EAVf;EAYA,MAAA,GAAS,SAAA;EATM;;;;EAcf,aAAA;AAAA;AAAA,UAGe,SAAA;;EAEf,mBAAA,GAAsB,aAAA;EAVtB;EAYA,cAAA;EAPA;EASA,SAAA;EATa;EAWb,UAAA;EARwB;EAUxB,UAAA;EARmC;EAUnC,eAAA;AAAA;AAAA,cAGW,+BAAA,EAAiC,CAAA,CAAE,OAAA,CAAQ,gBAAA;AAAA,cAW3C,iCAAA,EAAmC,CAAA,CAAE,OAAA,CAAQ,kBAAA;AAAA,cAW7C,wBAAA,EAA0B,CAAA,CAAE,OAAA,CAAQ,SAAA"}
|
package/dist/v1/model.js
CHANGED
|
@@ -25,9 +25,10 @@ const SecurableType = {
|
|
|
25
25
|
MCP_SERVICE: "MCP_SERVICE",
|
|
26
26
|
MODEL_PROVIDER_SERVICE: "MODEL_PROVIDER_SERVICE",
|
|
27
27
|
AGENT_SERVICE: "AGENT_SERVICE",
|
|
28
|
-
SKILL: "SKILL"
|
|
28
|
+
SKILL: "SKILL",
|
|
29
|
+
FEATURE: "FEATURE"
|
|
29
30
|
};
|
|
30
|
-
const unmarshalGetQuotaResponseSchema = z.object({ quota_info: z.lazy(() => unmarshalQuotaInfoSchema).
|
|
31
|
+
const unmarshalGetQuotaResponseSchema = z.object({ quota_info: z.lazy(() => unmarshalQuotaInfoSchema).nullish().transform((v) => v ?? void 0) }).transform((d) => ({ quotaInfo: d.quota_info }));
|
|
31
32
|
const unmarshalListQuotasResponseSchema = z.object({
|
|
32
33
|
quotas: z.array(z.lazy(() => unmarshalQuotaInfoSchema)).optional(),
|
|
33
34
|
next_page_token: z.string().optional()
|
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/** The type of Unity Catalog securable. */\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const SecurableType = {\n CATALOG: 'CATALOG',\n SCHEMA: 'SCHEMA',\n TABLE: 'TABLE',\n STORAGE_CREDENTIAL: 'STORAGE_CREDENTIAL',\n EXTERNAL_LOCATION: 'EXTERNAL_LOCATION',\n FUNCTION: 'FUNCTION',\n SHARE: 'SHARE',\n PROVIDER: 'PROVIDER',\n RECIPIENT: 'RECIPIENT',\n CLEAN_ROOM: 'CLEAN_ROOM',\n METASTORE: 'METASTORE',\n PIPELINE: 'PIPELINE',\n VOLUME: 'VOLUME',\n CONNECTION: 'CONNECTION',\n CREDENTIAL: 'CREDENTIAL',\n EXTERNAL_METADATA: 'EXTERNAL_METADATA',\n /** TODO: [UC-2980] Staging tables aren't full-fleged securables yet. */\n STAGING_TABLE: 'STAGING_TABLE',\n MODEL: 'MODEL',\n MODEL_SERVICE: 'MODEL_SERVICE',\n MCP_SERVICE: 'MCP_SERVICE',\n MODEL_PROVIDER_SERVICE: 'MODEL_PROVIDER_SERVICE',\n AGENT_SERVICE: 'AGENT_SERVICE',\n SKILL: 'SKILL',\n} as const;\nexport type SecurableType =\n | (typeof SecurableType)[keyof typeof SecurableType]\n | (string & {});\n\nexport interface GetQuotaRequest {\n /** Securable type of the quota parent. */\n parentSecurableType?: string | undefined;\n /** Full name of the parent resource. Provide the metastore ID if the parent is a metastore. */\n parentFullName?: string | undefined;\n /** Name of the quota. Follows the pattern of the quota type, with \"-quota\" added as a suffix. */\n quotaName?: string | undefined;\n}\n\nexport interface GetQuotaResponse {\n /** The returned QuotaInfo. */\n quotaInfo?: QuotaInfo | undefined;\n}\n\nexport interface ListQuotasRequest {\n /** The number of quotas to return. */\n maxResults?: number | undefined;\n /** Opaque token for the next page of results. */\n pageToken?: string | undefined;\n}\n\nexport interface ListQuotasResponse {\n /** An array of returned QuotaInfos. */\n quotas?: QuotaInfo[] | 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.\n */\n nextPageToken?: string | undefined;\n}\n\nexport interface QuotaInfo {\n /** The quota parent securable type. */\n parentSecurableType?: SecurableType | undefined;\n /** Name of the parent resource. Returns metastore ID if the parent is a metastore. */\n parentFullName?: string | undefined;\n /** The name of the quota. */\n quotaName?: string | undefined;\n /** The current usage of the resource quota. */\n quotaCount?: number | undefined;\n /** The current limit of the resource quota. */\n quotaLimit?: number | undefined;\n /** The timestamp that indicates when the quota count was last updated. */\n lastRefreshedAt?: bigint | undefined;\n}\n\nexport const unmarshalGetQuotaResponseSchema: z.ZodType<GetQuotaResponse> = z\n .object({\n quota_info: z.lazy(() => unmarshalQuotaInfoSchema).
|
|
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/** The type of Unity Catalog securable. */\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const SecurableType = {\n CATALOG: 'CATALOG',\n SCHEMA: 'SCHEMA',\n TABLE: 'TABLE',\n STORAGE_CREDENTIAL: 'STORAGE_CREDENTIAL',\n EXTERNAL_LOCATION: 'EXTERNAL_LOCATION',\n FUNCTION: 'FUNCTION',\n SHARE: 'SHARE',\n PROVIDER: 'PROVIDER',\n RECIPIENT: 'RECIPIENT',\n CLEAN_ROOM: 'CLEAN_ROOM',\n METASTORE: 'METASTORE',\n PIPELINE: 'PIPELINE',\n VOLUME: 'VOLUME',\n CONNECTION: 'CONNECTION',\n CREDENTIAL: 'CREDENTIAL',\n EXTERNAL_METADATA: 'EXTERNAL_METADATA',\n /** TODO: [UC-2980] Staging tables aren't full-fleged securables yet. */\n STAGING_TABLE: 'STAGING_TABLE',\n MODEL: 'MODEL',\n MODEL_SERVICE: 'MODEL_SERVICE',\n MCP_SERVICE: 'MCP_SERVICE',\n MODEL_PROVIDER_SERVICE: 'MODEL_PROVIDER_SERVICE',\n AGENT_SERVICE: 'AGENT_SERVICE',\n SKILL: 'SKILL',\n /** A Feature Store feature in Unity Catalog. Three-level namespace catalog.schema.feature. */\n FEATURE: 'FEATURE',\n} as const;\nexport type SecurableType =\n | (typeof SecurableType)[keyof typeof SecurableType]\n | (string & {});\n\nexport interface GetQuotaRequest {\n /** Securable type of the quota parent. */\n parentSecurableType?: string | undefined;\n /** Full name of the parent resource. Provide the metastore ID if the parent is a metastore. */\n parentFullName?: string | undefined;\n /** Name of the quota. Follows the pattern of the quota type, with \"-quota\" added as a suffix. */\n quotaName?: string | undefined;\n}\n\nexport interface GetQuotaResponse {\n /** The returned QuotaInfo. */\n quotaInfo?: QuotaInfo | undefined;\n}\n\nexport interface ListQuotasRequest {\n /** The number of quotas to return. */\n maxResults?: number | undefined;\n /** Opaque token for the next page of results. */\n pageToken?: string | undefined;\n}\n\nexport interface ListQuotasResponse {\n /** An array of returned QuotaInfos. */\n quotas?: QuotaInfo[] | 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.\n */\n nextPageToken?: string | undefined;\n}\n\nexport interface QuotaInfo {\n /** The quota parent securable type. */\n parentSecurableType?: SecurableType | undefined;\n /** Name of the parent resource. Returns metastore ID if the parent is a metastore. */\n parentFullName?: string | undefined;\n /** The name of the quota. */\n quotaName?: string | undefined;\n /** The current usage of the resource quota. */\n quotaCount?: number | undefined;\n /** The current limit of the resource quota. */\n quotaLimit?: number | undefined;\n /** The timestamp that indicates when the quota count was last updated. */\n lastRefreshedAt?: bigint | undefined;\n}\n\nexport const unmarshalGetQuotaResponseSchema: z.ZodType<GetQuotaResponse> = z\n .object({\n quota_info: z\n .lazy(() => unmarshalQuotaInfoSchema)\n .nullish()\n .transform(v => v ?? undefined),\n })\n .transform(d => ({\n quotaInfo: d.quota_info,\n }));\n\nexport const unmarshalListQuotasResponseSchema: z.ZodType<ListQuotasResponse> =\n z\n .object({\n quotas: z.array(z.lazy(() => unmarshalQuotaInfoSchema)).optional(),\n next_page_token: z.string().optional(),\n })\n .transform(d => ({\n quotas: d.quotas,\n nextPageToken: d.next_page_token,\n }));\n\nexport const unmarshalQuotaInfoSchema: z.ZodType<QuotaInfo> = z\n .object({\n parent_securable_type: z.string().optional(),\n parent_full_name: z.string().optional(),\n quota_name: z.string().optional(),\n quota_count: z.number().optional(),\n quota_limit: z.number().optional(),\n last_refreshed_at: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n })\n .transform(d => ({\n parentSecurableType: d.parent_securable_type,\n parentFullName: d.parent_full_name,\n quotaName: d.quota_name,\n quotaCount: d.quota_count,\n quotaLimit: d.quota_limit,\n lastRefreshedAt: d.last_refreshed_at,\n }));\n"],"mappings":";;;;AAMA,MAAa,gBAAgB;CAC3B,SAAS;CACT,QAAQ;CACR,OAAO;CACP,oBAAoB;CACpB,mBAAmB;CACnB,UAAU;CACV,OAAO;CACP,UAAU;CACV,WAAW;CACX,YAAY;CACZ,WAAW;CACX,UAAU;CACV,QAAQ;CACR,YAAY;CACZ,YAAY;CACZ,mBAAmB;CAEnB,eAAe;CACf,OAAO;CACP,eAAe;CACf,aAAa;CACb,wBAAwB;CACxB,eAAe;CACf,OAAO;CAEP,SAAS;CACV;AAmDD,MAAa,kCAA+D,EACzE,OAAO,EACN,YAAY,EACT,WAAW,yBAAyB,CACpC,SAAS,CACT,WAAU,MAAK,KAAK,OAAU,EAClC,CAAC,CACD,WAAU,OAAM,EACf,WAAW,EAAE,YACd,EAAE;AAEL,MAAa,oCACX,EACG,OAAO;CACN,QAAQ,EAAE,MAAM,EAAE,WAAW,yBAAyB,CAAC,CAAC,UAAU;CAClE,iBAAiB,EAAE,QAAQ,CAAC,UAAU;CACvC,CAAC,CACD,WAAU,OAAM;CACf,QAAQ,EAAE;CACV,eAAe,EAAE;CAClB,EAAE;AAEP,MAAa,2BAAiD,EAC3D,OAAO;CACN,uBAAuB,EAAE,QAAQ,CAAC,UAAU;CAC5C,kBAAkB,EAAE,QAAQ,CAAC,UAAU;CACvC,YAAY,EAAE,QAAQ,CAAC,UAAU;CACjC,aAAa,EAAE,QAAQ,CAAC,UAAU;CAClC,aAAa,EAAE,QAAQ,CAAC,UAAU;CAClC,mBAAmB,EAChB,MAAM;EAAC,EAAE,QAAQ;EAAE,EAAE,QAAQ;EAAE,EAAE,QAAQ;EAAC,CAAC,CAC3C,WAAU,MAAK,OAAO,EAAE,CAAC,CACzB,UAAU;CACd,CAAC,CACD,WAAU,OAAM;CACf,qBAAqB,EAAE;CACvB,gBAAgB,EAAE;CAClB,WAAW,EAAE;CACb,YAAY,EAAE;CACd,YAAY,EAAE;CACd,iBAAiB,EAAE;CACpB,EAAE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@databricks/sdk-uc-resourcequotas",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.53.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"directory": "packages/uc/resourcequotas"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@databricks/sdk-auth": ">=0.
|
|
37
|
-
"@databricks/sdk-core": ">=0.
|
|
38
|
-
"@databricks/sdk-options": ">=0.
|
|
36
|
+
"@databricks/sdk-auth": ">=0.56.0 <1.0.0",
|
|
37
|
+
"@databricks/sdk-core": ">=0.52.0 <1.0.0",
|
|
38
|
+
"@databricks/sdk-options": ">=0.52.0 <1.0.0",
|
|
39
39
|
"@js-temporal/polyfill": "^0.5.0",
|
|
40
40
|
"json-bigint": "^1.0.0",
|
|
41
41
|
"zod": "^4.3.6"
|
|
42
42
|
},
|
|
43
43
|
"engines": {
|
|
44
|
-
"node": "
|
|
44
|
+
"node": "^22.23.4 || ^24.22.1 || >=26.12.1"
|
|
45
45
|
}
|
|
46
46
|
}
|