From 0f0b43d4b882f13bf3f3da4f1b591162ee88c8c3 Mon Sep 17 00:00:00 2001 From: "databricks-ci-ghec-2[bot]" <184307802+databricks-ci-ghec-2[bot]@users.noreply.github.com> Date: Tue, 18 Aug 2026 03:37:11 +0000 Subject: [PATCH] Update SDK to 990607d483c294005a72e86210ac0ee61bce2f02 --- package-lock.json | 676 +++++++++++----------- packages/apps/src/v1/model.ts | 77 +++ packages/clusterpolicies/src/v2/client.ts | 125 ++++ packages/clusterpolicies/src/v2/index.ts | 6 + packages/clusterpolicies/src/v2/model.ts | 155 +++++ packages/clusters/src/v2/client.ts | 134 +++++ packages/clusters/src/v2/index.ts | 6 + packages/clusters/src/v2/model.ts | 122 ++++ packages/features/src/v1/index.ts | 2 + packages/features/src/v1/model.ts | 87 ++- packages/pipelines/src/v2/model.ts | 4 + 11 files changed, 1055 insertions(+), 339 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6721644dd..7d81555fa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6724,12 +6724,12 @@ }, "packages/accessmanagement": { "name": "@databricks/sdk-accessmanagement", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -6740,12 +6740,12 @@ }, "packages/aigateway": { "name": "@databricks/sdk-aigateway", - "version": "0.4.0", + "version": "0.5.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -6756,12 +6756,12 @@ }, "packages/alerts": { "name": "@databricks/sdk-alerts", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -6772,12 +6772,12 @@ }, "packages/apps": { "name": "@databricks/sdk-apps", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -6805,10 +6805,10 @@ }, "packages/auth": { "name": "@databricks/sdk-auth", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-core": ">=0.37.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", "zod": "^4.3.6" }, "engines": { @@ -6817,12 +6817,12 @@ }, "packages/authentication": { "name": "@databricks/sdk-authentication", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -6850,12 +6850,12 @@ }, "packages/budgetpolicy": { "name": "@databricks/sdk-budgetpolicy", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -6866,12 +6866,12 @@ }, "packages/budgets": { "name": "@databricks/sdk-budgets", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -6933,12 +6933,12 @@ }, "packages/cleanrooms": { "name": "@databricks/sdk-cleanrooms", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -6949,12 +6949,12 @@ }, "packages/clusterlibraries": { "name": "@databricks/sdk-clusterlibraries", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -6965,12 +6965,12 @@ }, "packages/clusterpolicies": { "name": "@databricks/sdk-clusterpolicies", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -6981,12 +6981,12 @@ }, "packages/clusters": { "name": "@databricks/sdk-clusters", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -6997,12 +6997,12 @@ }, "packages/commandexecution": { "name": "@databricks/sdk-commandexecution", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7030,7 +7030,7 @@ }, "packages/core": { "name": "@databricks/sdk-core", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { "json-bigint": "^1.0.0", @@ -7059,12 +7059,12 @@ }, "packages/customllms": { "name": "@databricks/sdk-customllms", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7075,12 +7075,12 @@ }, "packages/database": { "name": "@databricks/sdk-database", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7091,12 +7091,12 @@ }, "packages/dataclassification": { "name": "@databricks/sdk-dataclassification", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7107,12 +7107,12 @@ }, "packages/dataquality": { "name": "@databricks/sdk-dataquality", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7123,12 +7123,12 @@ }, "packages/disasterrecovery": { "name": "@databricks/sdk-disasterrecovery", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7156,12 +7156,12 @@ }, "packages/environments": { "name": "@databricks/sdk-environments", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7190,12 +7190,12 @@ }, "packages/experiments": { "name": "@databricks/sdk-experiments", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7257,12 +7257,12 @@ }, "packages/features": { "name": "@databricks/sdk-features", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7273,12 +7273,12 @@ }, "packages/featurestore": { "name": "@databricks/sdk-featurestore", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7289,12 +7289,12 @@ }, "packages/files": { "name": "@databricks/sdk-files", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7305,12 +7305,12 @@ }, "packages/forecasting": { "name": "@databricks/sdk-forecasting", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7338,12 +7338,12 @@ }, "packages/genie": { "name": "@databricks/sdk-genie", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7354,12 +7354,12 @@ }, "packages/gitcredentials": { "name": "@databricks/sdk-gitcredentials", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7370,12 +7370,12 @@ }, "packages/globalinitscripts": { "name": "@databricks/sdk-globalinitscripts", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7403,12 +7403,12 @@ }, "packages/instancepools": { "name": "@databricks/sdk-instancepools", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7419,12 +7419,12 @@ }, "packages/instanceprofiles": { "name": "@databricks/sdk-instanceprofiles", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7435,12 +7435,12 @@ }, "packages/jobs": { "name": "@databricks/sdk-jobs", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7451,12 +7451,12 @@ }, "packages/keyconfigurations": { "name": "@databricks/sdk-keyconfigurations", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7467,12 +7467,12 @@ }, "packages/knowledgeassistants": { "name": "@databricks/sdk-knowledgeassistants", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7483,12 +7483,12 @@ }, "packages/lakeview": { "name": "@databricks/sdk-lakeview", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7499,12 +7499,12 @@ }, "packages/logdelivery": { "name": "@databricks/sdk-logdelivery", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7515,12 +7515,12 @@ }, "packages/marketplaces": { "name": "@databricks/sdk-marketplaces", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7548,12 +7548,12 @@ }, "packages/modelregistry": { "name": "@databricks/sdk-modelregistry", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7564,12 +7564,12 @@ }, "packages/modelserving": { "name": "@databricks/sdk-modelserving", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7580,12 +7580,12 @@ }, "packages/modelservingquery": { "name": "@databricks/sdk-modelservingquery", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7596,12 +7596,12 @@ }, "packages/networking": { "name": "@databricks/sdk-networking", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7612,12 +7612,12 @@ }, "packages/notificationdestinations": { "name": "@databricks/sdk-notificationdestinations", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7628,12 +7628,12 @@ }, "packages/oauth": { "name": "@databricks/sdk-oauth", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7661,11 +7661,11 @@ }, "packages/options": { "name": "@databricks/sdk-options", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0" + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0" }, "engines": { "node": ">=22.0.0" @@ -7673,12 +7673,12 @@ }, "packages/pipelines": { "name": "@databricks/sdk-pipelines", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7689,12 +7689,12 @@ }, "packages/policyfamilies": { "name": "@databricks/sdk-policyfamilies", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7705,12 +7705,12 @@ }, "packages/postgres": { "name": "@databricks/sdk-postgres", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7721,12 +7721,12 @@ }, "packages/queries": { "name": "@databricks/sdk-queries", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7737,12 +7737,12 @@ }, "packages/queryhistory": { "name": "@databricks/sdk-queryhistory", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7770,12 +7770,12 @@ }, "packages/repos": { "name": "@databricks/sdk-repos", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7837,12 +7837,12 @@ }, "packages/scim": { "name": "@databricks/sdk-scim", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7870,12 +7870,12 @@ }, "packages/secrets": { "name": "@databricks/sdk-secrets", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7903,12 +7903,12 @@ }, "packages/settings": { "name": "@databricks/sdk-settings", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7919,12 +7919,12 @@ }, "packages/sharing": { "name": "@databricks/sdk-sharing", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7935,12 +7935,12 @@ }, "packages/statementexecution": { "name": "@databricks/sdk-statementexecution", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7951,12 +7951,12 @@ }, "packages/storageconfigurations": { "name": "@databricks/sdk-storageconfigurations", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -7967,12 +7967,12 @@ }, "packages/supervisoragents": { "name": "@databricks/sdk-supervisoragents", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8017,12 +8017,12 @@ }, "packages/tagassignments": { "name": "@databricks/sdk-tagassignments", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8033,12 +8033,12 @@ }, "packages/tagpolicies": { "name": "@databricks/sdk-tagpolicies", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8049,12 +8049,12 @@ }, "packages/tokenmanagement": { "name": "@databricks/sdk-tokenmanagement", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8065,12 +8065,12 @@ }, "packages/tokens": { "name": "@databricks/sdk-tokens", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8081,12 +8081,12 @@ }, "packages/uc/abacpolicies": { "name": "@databricks/sdk-uc-abacpolicies", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8097,12 +8097,12 @@ }, "packages/uc/artifactallowlists": { "name": "@databricks/sdk-uc-artifactallowlists", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8113,12 +8113,12 @@ }, "packages/uc/catalogs": { "name": "@databricks/sdk-uc-catalogs", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8129,12 +8129,12 @@ }, "packages/uc/connections": { "name": "@databricks/sdk-uc-connections", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8145,12 +8145,12 @@ }, "packages/uc/credentials": { "name": "@databricks/sdk-uc-credentials", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8161,12 +8161,12 @@ }, "packages/uc/entitytagassignments": { "name": "@databricks/sdk-uc-entitytagassignments", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8177,12 +8177,12 @@ }, "packages/uc/externallineage": { "name": "@databricks/sdk-uc-externallineage", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8193,12 +8193,12 @@ }, "packages/uc/externallocations": { "name": "@databricks/sdk-uc-externallocations", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8209,12 +8209,12 @@ }, "packages/uc/externalmetadata": { "name": "@databricks/sdk-uc-externalmetadata", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8225,12 +8225,12 @@ }, "packages/uc/functions": { "name": "@databricks/sdk-uc-functions", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8241,12 +8241,12 @@ }, "packages/uc/grants": { "name": "@databricks/sdk-uc-grants", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8257,12 +8257,12 @@ }, "packages/uc/metastores": { "name": "@databricks/sdk-uc-metastores", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8273,12 +8273,12 @@ }, "packages/uc/onlinetables": { "name": "@databricks/sdk-uc-onlinetables", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8306,12 +8306,12 @@ }, "packages/uc/registeredmodels": { "name": "@databricks/sdk-uc-registeredmodels", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8322,12 +8322,12 @@ }, "packages/uc/resourcequotas": { "name": "@databricks/sdk-uc-resourcequotas", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8338,12 +8338,12 @@ }, "packages/uc/rfa": { "name": "@databricks/sdk-uc-rfa", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8354,12 +8354,12 @@ }, "packages/uc/schemas": { "name": "@databricks/sdk-uc-schemas", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8370,12 +8370,12 @@ }, "packages/uc/secrets": { "name": "@databricks/sdk-uc-secrets", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8386,12 +8386,12 @@ }, "packages/uc/systemschemas": { "name": "@databricks/sdk-uc-systemschemas", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8402,12 +8402,12 @@ }, "packages/uc/tables": { "name": "@databricks/sdk-uc-tables", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8418,12 +8418,12 @@ }, "packages/uc/volumes": { "name": "@databricks/sdk-uc-volumes", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8434,12 +8434,12 @@ }, "packages/uc/workspacebindings": { "name": "@databricks/sdk-uc-workspacebindings", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8450,12 +8450,12 @@ }, "packages/usagedashboards": { "name": "@databricks/sdk-usagedashboards", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8483,12 +8483,12 @@ }, "packages/vectorsearch": { "name": "@databricks/sdk-vectorsearch", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8516,12 +8516,12 @@ }, "packages/warehouses": { "name": "@databricks/sdk-warehouses", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" @@ -8566,12 +8566,12 @@ }, "packages/workspaces": { "name": "@databricks/sdk-workspaces", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@databricks/sdk-auth": ">=0.37.0 <1.0.0", - "@databricks/sdk-core": ">=0.37.0 <1.0.0", - "@databricks/sdk-options": ">=0.37.0 <1.0.0", + "@databricks/sdk-auth": ">=0.38.0 <1.0.0", + "@databricks/sdk-core": ">=0.38.0 <1.0.0", + "@databricks/sdk-options": ">=0.38.0 <1.0.0", "@js-temporal/polyfill": "^0.5.0", "json-bigint": "^1.0.0", "zod": "^4.3.6" diff --git a/packages/apps/src/v1/model.ts b/packages/apps/src/v1/model.ts index 95d48ddda..a0c060a04 100644 --- a/packages/apps/src/v1/model.ts +++ b/packages/apps/src/v1/model.ts @@ -868,6 +868,12 @@ export interface App { * created. This field tracks the workspace source code path of the last active deployment. */ defaultSourceCodePath?: string | undefined; + /** + * The Git source of the app's most recent active deployment, including the repository + * configuration and the resolved reference. Populated by the system after a Git-based + * deployment and used as the default reference when automatic deployments are enabled. + */ + defaultGitSource?: GitSource | undefined; budgetPolicyId?: string | undefined; effectiveBudgetPolicyId?: string | undefined; servicePrincipalClientId?: string | undefined; @@ -895,6 +901,18 @@ export interface App { thumbnailUrl?: string | undefined; /** Name of the space this app belongs to. */ space?: string | undefined; + deploymentSource?: + | {$case: 'sourceCodePath'; sourceCodePath: string} + | { + $case: 'gitSource'; + /** + * The Git source to deploy from, specifying the reference to check out (branch, tag, or + * commit) and an optional path to the app source code within the repository configured in + * git_repository. + */ + gitSource: GitSource; + } + | undefined; /** Forward the user's access token to the app. Requires stopping and starting app compute to take effect. */ forwardUserAccessToken?: boolean | undefined; } @@ -1290,6 +1308,16 @@ export interface GitRepository { * bitbucketServer, azureDevOpsServices, gitLab, gitLabEnterpriseEdition, awsCodeCommit. */ provider?: string | undefined; + /** + * When true, automatically deploys the app on push events to the branch configured in + * the app's deployment_source.git_source. + */ + autoDeploy?: boolean | undefined; + /** + * ID of a personal access token Git credential owned by the caller, used to + * grant the app's service principal access to this repository. + */ + callerCredentialId?: bigint | undefined; } /** Complete git source specification including repository location and reference. */ @@ -1575,6 +1603,7 @@ export const unmarshalAppSchema: z.ZodType = z .optional(), service_principal_name: z.string().optional(), default_source_code_path: z.string().optional(), + default_git_source: z.lazy(() => unmarshalGitSourceSchema).optional(), budget_policy_id: z.string().optional(), effective_budget_policy_id: z.string().optional(), service_principal_client_id: z.string().optional(), @@ -1594,6 +1623,8 @@ export const unmarshalAppSchema: z.ZodType = z .optional(), thumbnail_url: z.string().optional(), space: z.string().optional(), + source_code_path: z.string().optional(), + git_source: z.lazy(() => unmarshalGitSourceSchema).optional(), forward_user_access_token: z.boolean().optional(), }) .transform(d => ({ @@ -1612,6 +1643,7 @@ export const unmarshalAppSchema: z.ZodType = z servicePrincipalId: d.service_principal_id, servicePrincipalName: d.service_principal_name, defaultSourceCodePath: d.default_source_code_path, + defaultGitSource: d.default_git_source, budgetPolicyId: d.budget_policy_id, effectiveBudgetPolicyId: d.effective_budget_policy_id, servicePrincipalClientId: d.service_principal_client_id, @@ -1629,6 +1661,12 @@ export const unmarshalAppSchema: z.ZodType = z telemetryExportDestinations: d.telemetry_export_destinations, thumbnailUrl: d.thumbnail_url, space: d.space, + deploymentSource: + d.source_code_path !== undefined + ? {$case: 'sourceCodePath' as const, sourceCodePath: d.source_code_path} + : d.git_source !== undefined + ? {$case: 'gitSource' as const, gitSource: d.git_source} + : undefined, forwardUserAccessToken: d.forward_user_access_token, })); @@ -2107,10 +2145,17 @@ export const unmarshalGitRepositorySchema: z.ZodType = z .object({ url: z.string().optional(), provider: z.string().optional(), + auto_deploy: z.boolean().optional(), + caller_credential_id: z + .union([z.number(), z.bigint()]) + .transform(v => BigInt(v)) + .optional(), }) .transform(d => ({ url: d.url, provider: d.provider, + autoDeploy: d.auto_deploy, + callerCredentialId: d.caller_credential_id, })); export const unmarshalGitSourceSchema: z.ZodType = z @@ -2333,6 +2378,7 @@ export const marshalAppSchema: z.ZodType = z servicePrincipalId: z.bigint().optional(), servicePrincipalName: z.string().optional(), defaultSourceCodePath: z.string().optional(), + defaultGitSource: z.lazy(() => marshalGitSourceSchema).optional(), budgetPolicyId: z.string().optional(), effectiveBudgetPolicyId: z.string().optional(), servicePrincipalClientId: z.string().optional(), @@ -2352,6 +2398,18 @@ export const marshalAppSchema: z.ZodType = z .optional(), thumbnailUrl: z.string().optional(), space: z.string().optional(), + deploymentSource: z + .discriminatedUnion('$case', [ + z.object({ + $case: z.literal('sourceCodePath'), + sourceCodePath: z.string(), + }), + z.object({ + $case: z.literal('gitSource'), + gitSource: z.lazy(() => marshalGitSourceSchema), + }), + ]) + .optional(), forwardUserAccessToken: z.boolean().optional(), }) .transform(d => ({ @@ -2370,6 +2428,7 @@ export const marshalAppSchema: z.ZodType = z service_principal_id: d.servicePrincipalId, service_principal_name: d.servicePrincipalName, default_source_code_path: d.defaultSourceCodePath, + default_git_source: d.defaultGitSource, budget_policy_id: d.budgetPolicyId, effective_budget_policy_id: d.effectiveBudgetPolicyId, service_principal_client_id: d.servicePrincipalClientId, @@ -2387,6 +2446,12 @@ export const marshalAppSchema: z.ZodType = z telemetry_export_destinations: d.telemetryExportDestinations, thumbnail_url: d.thumbnailUrl, space: d.space, + ...(d.deploymentSource?.$case === 'sourceCodePath' && { + source_code_path: d.deploymentSource.sourceCodePath, + }), + ...(d.deploymentSource?.$case === 'gitSource' && { + git_source: d.deploymentSource.gitSource, + }), forward_user_access_token: d.forwardUserAccessToken, })); @@ -2862,10 +2927,14 @@ export const marshalGitRepositorySchema: z.ZodType = z .object({ url: z.string().optional(), provider: z.string().optional(), + autoDeploy: z.boolean().optional(), + callerCredentialId: z.bigint().optional(), }) .transform(d => ({ url: d.url, provider: d.provider, + auto_deploy: d.autoDeploy, + caller_credential_id: d.callerCredentialId, })); export const marshalGitSourceSchema: z.ZodType = z @@ -3018,6 +3087,10 @@ const appFieldMaskSchema: FieldMaskSchema = { }, createTime: {wire: 'create_time'}, creator: {wire: 'creator'}, + defaultGitSource: { + wire: 'default_git_source', + children: () => gitSourceFieldMaskSchema, + }, defaultSourceCodePath: {wire: 'default_source_code_path'}, description: {wire: 'description'}, effectiveBudgetPolicyId: {wire: 'effective_budget_policy_id'}, @@ -3028,6 +3101,7 @@ const appFieldMaskSchema: FieldMaskSchema = { wire: 'git_repository', children: () => gitRepositoryFieldMaskSchema, }, + gitSource: {wire: 'git_source', children: () => gitSourceFieldMaskSchema}, id: {wire: 'id'}, name: {wire: 'name'}, oauth2AppClientId: {wire: 'oauth2_app_client_id'}, @@ -3040,6 +3114,7 @@ const appFieldMaskSchema: FieldMaskSchema = { servicePrincipalClientId: {wire: 'service_principal_client_id'}, servicePrincipalId: {wire: 'service_principal_id'}, servicePrincipalName: {wire: 'service_principal_name'}, + sourceCodePath: {wire: 'source_code_path'}, space: {wire: 'space'}, telemetryExportDestinations: {wire: 'telemetry_export_destinations'}, thumbnailUrl: {wire: 'thumbnail_url'}, @@ -3093,6 +3168,8 @@ const computeStatusFieldMaskSchema: FieldMaskSchema = { }; const gitRepositoryFieldMaskSchema: FieldMaskSchema = { + autoDeploy: {wire: 'auto_deploy'}, + callerCredentialId: {wire: 'caller_credential_id'}, provider: {wire: 'provider'}, url: {wire: 'url'}, }; diff --git a/packages/clusterpolicies/src/v2/client.ts b/packages/clusterpolicies/src/v2/client.ts index cbc69f3df..60c31f408 100644 --- a/packages/clusterpolicies/src/v2/client.ts +++ b/packages/clusterpolicies/src/v2/client.ts @@ -17,24 +17,32 @@ import { } from './utils'; import pkgJson from '../../package.json' with {type: 'json'}; import type { + ClusterPolicyRevision, CreatePolicyRequest, CreatePolicyResponse, DeletePolicyRequest, DeletePolicyResponse, EditPolicyRequest, EditPolicyResponse, + GetClusterPolicyRevisionRequest, GetPolicyRequest, + ListClusterPolicyRevisionsRequest, + ListClusterPolicyRevisionsResponse, ListPoliciesRequest, ListPoliciesResponse, Policy, + RollbackClusterPolicyRequest, } from './model'; import { marshalCreatePolicyRequestSchema, marshalDeletePolicyRequestSchema, marshalEditPolicyRequestSchema, + marshalRollbackClusterPolicyRequestSchema, + unmarshalClusterPolicyRevisionSchema, unmarshalCreatePolicyResponseSchema, unmarshalDeletePolicyResponseSchema, unmarshalEditPolicyResponseSchema, + unmarshalListClusterPolicyRevisionsResponseSchema, unmarshalListPoliciesResponseSchema, unmarshalPolicySchema, } from './model'; @@ -72,6 +80,123 @@ export class ClusterPoliciesClient { return this.config; } + /** Get details of a cluster policy revision. */ + async getClusterPolicyRevision( + req: GetClusterPolicyRevisionRequest, + options?: CallOptions + ): Promise { + const {host, workspaceId, httpClient} = await this.resolveConfig(); + const url = `${host}/api/2.0/${req.name ?? ''}`; + let resp: ClusterPolicyRevision | undefined; + const call = async (callSignal?: AbortSignal): Promise => { + const headers = new Headers(); + if (workspaceId !== undefined) { + headers.set('X-Databricks-Workspace-Id', workspaceId); + } + headers.set('User-Agent', this.userAgent); + const httpReq = buildHttpRequest('GET', url, headers, callSignal); + const respBody = await executeHttpCall({ + request: httpReq, + httpClient, + logger: this.logger, + }); + resp = parseResponse(respBody, unmarshalClusterPolicyRevisionSchema); + }; + await executeCall(call, options); + if (resp === undefined) { + throw new Error('operation completed without a result.'); + } + return resp; + } + + /** Lists a cluster policy's revisions, ordered from most to least recent. */ + async listClusterPolicyRevisions( + req: ListClusterPolicyRevisionsRequest, + options?: CallOptions + ): Promise { + const {host, workspaceId, httpClient} = await this.resolveConfig(); + const url = `${host}/api/2.0/${req.parent ?? ''}/revisions`; + const params = new URLSearchParams(); + if (req.pageSize !== undefined) { + params.append('page_size', String(req.pageSize)); + } + if (req.pageToken !== undefined) { + params.append('page_token', req.pageToken); + } + const query = params.toString(); + const fullUrl = query !== '' ? `${url}?${query}` : url; + let resp: ListClusterPolicyRevisionsResponse | undefined; + const call = async (callSignal?: AbortSignal): Promise => { + const headers = new Headers(); + if (workspaceId !== undefined) { + headers.set('X-Databricks-Workspace-Id', workspaceId); + } + headers.set('User-Agent', this.userAgent); + const httpReq = buildHttpRequest('GET', fullUrl, headers, callSignal); + const respBody = await executeHttpCall({ + request: httpReq, + httpClient, + logger: this.logger, + }); + resp = parseResponse( + respBody, + unmarshalListClusterPolicyRevisionsResponseSchema + ); + }; + await executeCall(call, options); + if (resp === undefined) { + throw new Error('operation completed without a result.'); + } + return resp; + } + + async *listClusterPolicyRevisionsIter( + req: ListClusterPolicyRevisionsRequest, + options?: CallOptions + ): AsyncGenerator { + const pageReq: ListClusterPolicyRevisionsRequest = {...req}; + for (;;) { + const resp = await this.listClusterPolicyRevisions(pageReq, options); + for (const item of resp.clusterPolicyRevisions ?? []) { + yield item; + } + if (resp.nextPageToken === undefined || resp.nextPageToken === '') { + return; + } + pageReq.pageToken = resp.nextPageToken; + } + } + + /** Rolls back a cluster policy to a previous revision. */ + async rollbackClusterPolicy( + req: RollbackClusterPolicyRequest, + options?: CallOptions + ): Promise { + const {host, workspaceId, httpClient} = await this.resolveConfig(); + const url = `${host}/api/2.0/${req.name ?? ''}/rollback`; + const body = marshalRequest(req, marshalRollbackClusterPolicyRequestSchema); + let resp: ClusterPolicyRevision | undefined; + const call = async (callSignal?: AbortSignal): Promise => { + const headers = new Headers({'Content-Type': 'application/json'}); + if (workspaceId !== undefined) { + headers.set('X-Databricks-Workspace-Id', workspaceId); + } + headers.set('User-Agent', this.userAgent); + const httpReq = buildHttpRequest('POST', url, headers, callSignal, body); + const respBody = await executeHttpCall({ + request: httpReq, + httpClient, + logger: this.logger, + }); + resp = parseResponse(respBody, unmarshalClusterPolicyRevisionSchema); + }; + await executeCall(call, options); + if (resp === undefined) { + throw new Error('operation completed without a result.'); + } + return resp; + } + /** Creates a new policy with prescribed settings. */ async createPolicy( req: CreatePolicyRequest, diff --git a/packages/clusterpolicies/src/v2/index.ts b/packages/clusterpolicies/src/v2/index.ts index 79176d710..e36e74ac7 100644 --- a/packages/clusterpolicies/src/v2/index.ts +++ b/packages/clusterpolicies/src/v2/index.ts @@ -9,18 +9,24 @@ export {ClusterPoliciesClient} from './client'; export {ListOrder, PolicySortColumn} from './model'; export type { + ClusterPolicyRevision, CreatePolicyRequest, CreatePolicyResponse, DeletePolicyRequest, DeletePolicyResponse, EditPolicyRequest, EditPolicyResponse, + GetClusterPolicyRevisionRequest, GetPolicyRequest, Library, + ListClusterPolicyRevisionsRequest, + ListClusterPolicyRevisionsResponse, ListPoliciesRequest, ListPoliciesResponse, MavenLibrary, Policy, + PolicyOwnAttributes, PythonPyPiLibrary, RCranLibrary, + RollbackClusterPolicyRequest, } from './model'; diff --git a/packages/clusterpolicies/src/v2/model.ts b/packages/clusterpolicies/src/v2/model.ts index 24c4aff89..551ca1100 100644 --- a/packages/clusterpolicies/src/v2/model.ts +++ b/packages/clusterpolicies/src/v2/model.ts @@ -1,5 +1,6 @@ // Code generated from API definition by Databricks SDK Generator. DO NOT EDIT. +import {Temporal} from '@js-temporal/polyfill'; import {z} from 'zod'; // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object. @@ -22,6 +23,24 @@ export type PolicySortColumn = | (typeof PolicySortColumn)[keyof typeof PolicySortColumn] | (string & {}); +/** + * Represents a cluster policy revision. + * + * Only the 100 most recent revisions are stored for each cluster policy. + */ +export interface ClusterPolicyRevision { + /** ID of the cluster policy revision. */ + revisionId?: string | undefined; + /** Time when the cluster policy revision was created. */ + createTime?: Temporal.Instant | undefined; + /** Settings used to create/edit the policy. */ + settings?: PolicyOwnAttributes | undefined; + /** Name of the user who edited this policy. */ + editUser?: string | undefined; + /** Whether this is the current revision. */ + isCurrent?: boolean | undefined; +} + export interface CreatePolicyRequest { /** * Cluster Policy name requested by the user. This has to be unique. Length must be between 1 and 100 @@ -104,6 +123,15 @@ export interface EditPolicyRequest { // eslint-disable-next-line @typescript-eslint/no-empty-object-type export interface EditPolicyResponse {} +/** Request to get a cluster policy revision by ID. */ +export interface GetClusterPolicyRevisionRequest { + /** + * The fully qualified resource name of the cluster policy revision. + * Format: cluster-policies/{policy_id}/revisions/{revision_id}. + */ + name?: string | undefined; +} + export interface GetPolicyRequest { /** Canonical unique identifier for the Cluster Policy. */ policyId?: string | undefined; @@ -170,6 +198,27 @@ export interface Library { | undefined; } +/** Request to list cluster policy revisions. */ +export interface ListClusterPolicyRevisionsRequest { + /** + * The fully qualified resource name of the parent cluster. + * Format: cluster-policies/{policy_id}. + */ + parent?: string | undefined; + /** Maximum number of cluster policy revisions to return per page. */ + pageSize?: number | undefined; + /** Pagination token from a previous list cluster policy revisions request. */ + pageToken?: string | undefined; +} + +/** Response when listing cluster policy revisions. */ +export interface ListClusterPolicyRevisionsResponse { + /** Cluster policy revisions in the current page. */ + clusterPolicyRevisions?: ClusterPolicyRevision[] | undefined; + /** Token for fetching the next page. Empty when there are no more results. */ + nextPageToken?: string | undefined; +} + export interface ListPoliciesRequest { /** * The order in which the policies get listed. @@ -254,6 +303,38 @@ export interface Policy { libraries?: Library[] | undefined; } +export interface PolicyOwnAttributes { + /** + * Cluster Policy name requested by the user. This has to be unique. Length must be between 1 and 100 + * characters. + */ + name?: string | undefined; + /** Policy definition document expressed in [Databricks Cluster Policy Definition Language](https://docs.databricks.com/administration-guide/clusters/policy-definition.html). */ + definition?: string | undefined; + /** Additional human-readable description of the cluster policy. */ + description?: string | undefined; + /** + * ID of the policy family. The cluster policy's policy definition inherits the policy + * family's policy definition. + * + * Cannot be used with `definition`. Use `policy_family_definition_overrides` instead to + * customize the policy definition. + */ + policyFamilyId?: string | undefined; + /** + * Policy definition JSON document expressed in [Databricks Policy Definition Language](https://docs.databricks.com/administration-guide/clusters/policy-definition.html). + * The JSON document must be passed as a string and cannot be embedded in the requests. + * + * You can use this to customize the policy definition inherited from the policy family. + * Policy rules specified here are merged into the inherited policy definition. + */ + policyFamilyDefinitionOverrides?: string | undefined; + /** Max number of clusters per user that can be active using this policy. If not present, there is no max limit. */ + maxClustersPerUser?: bigint | undefined; + /** A list of libraries to be installed on the next cluster restart that uses this policy. The maximum number of libraries is 500. */ + libraries?: Library[] | undefined; +} + export interface PythonPyPiLibrary { /** * The name of the pypi package to install. An optional exact version specification is also @@ -274,6 +355,35 @@ export interface RCranLibrary { repo?: string | undefined; } +/** Request to roll back cluster policy. */ +export interface RollbackClusterPolicyRequest { + /** + * The fully qualified resource name of the cluster policy revision. + * Format: cluster-policies/{policy_id}/revisions/{revision_id}. + */ + name?: string | undefined; +} + +export const unmarshalClusterPolicyRevisionSchema: z.ZodType = + z + .object({ + revision_id: z.string().optional(), + create_time: z + .string() + .transform(s => Temporal.Instant.from(s)) + .optional(), + settings: z.lazy(() => unmarshalPolicyOwnAttributesSchema).optional(), + edit_user: z.string().optional(), + is_current: z.boolean().optional(), + }) + .transform(d => ({ + revisionId: d.revision_id, + createTime: d.create_time, + settings: d.settings, + editUser: d.edit_user, + isCurrent: d.is_current, + })); + export const unmarshalCreatePolicyResponseSchema: z.ZodType = z .object({ @@ -321,6 +431,19 @@ export const unmarshalLibrarySchema: z.ZodType = z : undefined, })); +export const unmarshalListClusterPolicyRevisionsResponseSchema: z.ZodType = + z + .object({ + cluster_policy_revisions: z + .array(z.lazy(() => unmarshalClusterPolicyRevisionSchema)) + .optional(), + next_page_token: z.string().optional(), + }) + .transform(d => ({ + clusterPolicyRevisions: d.cluster_policy_revisions, + nextPageToken: d.next_page_token, + })); + export const unmarshalListPoliciesResponseSchema: z.ZodType = z .object({ @@ -376,6 +499,30 @@ export const unmarshalPolicySchema: z.ZodType = z libraries: d.libraries, })); +export const unmarshalPolicyOwnAttributesSchema: z.ZodType = + z + .object({ + name: z.string().optional(), + definition: z.string().optional(), + description: z.string().optional(), + policy_family_id: z.string().optional(), + policy_family_definition_overrides: z.string().optional(), + max_clusters_per_user: z + .union([z.number(), z.bigint()]) + .transform(v => BigInt(v)) + .optional(), + libraries: z.array(z.lazy(() => unmarshalLibrarySchema)).optional(), + }) + .transform(d => ({ + name: d.name, + definition: d.definition, + description: d.description, + policyFamilyId: d.policy_family_id, + policyFamilyDefinitionOverrides: d.policy_family_definition_overrides, + maxClustersPerUser: d.max_clusters_per_user, + libraries: d.libraries, + })); + export const unmarshalPythonPyPiLibrarySchema: z.ZodType = z .object({ package: z.string().optional(), @@ -510,3 +657,11 @@ export const marshalRCranLibrarySchema: z.ZodType = z package: d.package, repo: d.repo, })); + +export const marshalRollbackClusterPolicyRequestSchema: z.ZodType = z + .object({ + name: z.string().optional(), + }) + .transform(d => ({ + name: d.name, + })); diff --git a/packages/clusters/src/v2/client.ts b/packages/clusters/src/v2/client.ts index abfc852d7..8d8175b4f 100644 --- a/packages/clusters/src/v2/client.ts +++ b/packages/clusters/src/v2/client.ts @@ -27,6 +27,7 @@ import type { ClusterCompliance, ClusterEvent, ClusterInfo, + ClusterRevision, CreateClusterRequest, CreateClusterResponse, DeleteClusterRequest, @@ -36,6 +37,7 @@ import type { EnforcePolicyComplianceForClusterRequest, EnforcePolicyComplianceForClusterResponse, GetClusterRequest, + GetClusterRevisionRequest, GetEventsResponse, GetPolicyComplianceForClusterRequest, GetPolicyComplianceForClusterResponse, @@ -45,6 +47,8 @@ import type { ListAvailableZonesResponse, ListClusterComplianceForPolicyRequest, ListClusterComplianceForPolicyResponse, + ListClusterRevisionsRequest, + ListClusterRevisionsResponse, ListClustersRequest, ListClustersResponse, ListEventsRequest, @@ -58,6 +62,7 @@ import type { ResizeClusterResponse, RestartClusterRequest, RestartClusterResponse, + RollbackClusterRequest, StartClusterRequest, StartClusterResponse, UnpinClusterRequest, @@ -78,12 +83,14 @@ import { marshalPinClusterRequestSchema, marshalResizeClusterRequestSchema, marshalRestartClusterRequestSchema, + marshalRollbackClusterRequestSchema, marshalStartClusterRequestSchema, marshalUnpinClusterRequestSchema, marshalUpdateClusterRequestSchema, unmarshalCancelPendingClusterEnforcementResponseSchema, unmarshalChangeClusterOwnerResponseSchema, unmarshalClusterInfoSchema, + unmarshalClusterRevisionSchema, unmarshalCreateClusterResponseSchema, unmarshalDeleteClusterResponseSchema, unmarshalEditClusterResponseSchema, @@ -93,6 +100,7 @@ import { unmarshalGetSparkVersionsResponseSchema, unmarshalListAvailableZonesResponseSchema, unmarshalListClusterComplianceForPolicyResponseSchema, + unmarshalListClusterRevisionsResponseSchema, unmarshalListClustersResponseSchema, unmarshalListNodeTypesResponseSchema, unmarshalPermanentDeleteClusterResponseSchema, @@ -188,6 +196,132 @@ export class ClustersClient { } } + /** Get details of a cluster revision. */ + async getClusterRevision( + req: GetClusterRevisionRequest, + options?: CallOptions + ): Promise { + const {host, workspaceId, httpClient} = await this.resolveConfig(); + const url = `${host}/api/2.1/${req.name ?? ''}`; + let resp: ClusterRevision | undefined; + const call = async (callSignal?: AbortSignal): Promise => { + const headers = new Headers(); + if (workspaceId !== undefined) { + headers.set('X-Databricks-Workspace-Id', workspaceId); + } + headers.set('User-Agent', this.userAgent); + const httpReq = buildHttpRequest('GET', url, headers, callSignal); + const respBody = await executeHttpCall({ + request: httpReq, + httpClient, + logger: this.logger, + }); + resp = parseResponse(respBody, unmarshalClusterRevisionSchema); + }; + await executeCall(call, options); + if (resp === undefined) { + throw new Error('operation completed without a result.'); + } + return resp; + } + + /** Lists a cluster's revisions, ordered from most to least recent. */ + async listClusterRevisions( + req: ListClusterRevisionsRequest, + options?: CallOptions + ): Promise { + const {host, workspaceId, httpClient} = await this.resolveConfig(); + const url = `${host}/api/2.1/${req.parent ?? ''}/revisions`; + const params = new URLSearchParams(); + if (req.pageSize !== undefined) { + params.append('page_size', String(req.pageSize)); + } + if (req.pageToken !== undefined) { + params.append('page_token', req.pageToken); + } + const query = params.toString(); + const fullUrl = query !== '' ? `${url}?${query}` : url; + let resp: ListClusterRevisionsResponse | undefined; + const call = async (callSignal?: AbortSignal): Promise => { + const headers = new Headers(); + if (workspaceId !== undefined) { + headers.set('X-Databricks-Workspace-Id', workspaceId); + } + headers.set('User-Agent', this.userAgent); + const httpReq = buildHttpRequest('GET', fullUrl, headers, callSignal); + const respBody = await executeHttpCall({ + request: httpReq, + httpClient, + logger: this.logger, + }); + resp = parseResponse( + respBody, + unmarshalListClusterRevisionsResponseSchema + ); + }; + await executeCall(call, options); + if (resp === undefined) { + throw new Error('operation completed without a result.'); + } + return resp; + } + + async *listClusterRevisionsIter( + req: ListClusterRevisionsRequest, + options?: CallOptions + ): AsyncGenerator { + const pageReq: ListClusterRevisionsRequest = {...req}; + for (;;) { + const resp = await this.listClusterRevisions(pageReq, options); + for (const item of resp.clusterRevisions ?? []) { + yield item; + } + if (resp.nextPageToken === undefined || resp.nextPageToken === '') { + return; + } + pageReq.pageToken = resp.nextPageToken; + } + } + + /** + * Rolls back a cluster to a previous revision. + * A cluster can be rolled back if it is in a `RUNNING` or `TERMINATED` state. + * + * If a cluster is rolled back while in a `RUNNING` state, it will be restarted so that the new attributes can take effect. + * + * If a cluster is rolled back while in a `TERMINATED` state, it will remain `TERMINATED`. + * The next time it is started using the `clusters/start` API, the new attributes will take effect. + * Any attempt to roll back a cluster in any other state will be rejected with an `INVALID_PARAMETER_VALUE` error code. + */ + async rollbackCluster( + req: RollbackClusterRequest, + options?: CallOptions + ): Promise { + const {host, workspaceId, httpClient} = await this.resolveConfig(); + const url = `${host}/api/2.1/${req.name ?? ''}/rollback`; + const body = marshalRequest(req, marshalRollbackClusterRequestSchema); + let resp: ClusterRevision | undefined; + const call = async (callSignal?: AbortSignal): Promise => { + const headers = new Headers({'Content-Type': 'application/json'}); + if (workspaceId !== undefined) { + headers.set('X-Databricks-Workspace-Id', workspaceId); + } + headers.set('User-Agent', this.userAgent); + const httpReq = buildHttpRequest('POST', url, headers, callSignal, body); + const respBody = await executeHttpCall({ + request: httpReq, + httpClient, + logger: this.logger, + }); + resp = parseResponse(respBody, unmarshalClusterRevisionSchema); + }; + await executeCall(call, options); + if (resp === undefined) { + throw new Error('operation completed without a result.'); + } + return resp; + } + /** Change the owner of the cluster. You must be an admin and the cluster must be terminated to perform this operation. The service principal application ID can be supplied as an argument to `owner_username`. */ async changeClusterOwner( req: ChangeClusterOwnerRequest, diff --git a/packages/clusters/src/v2/index.ts b/packages/clusters/src/v2/index.ts index aa1c88d28..302a45066 100644 --- a/packages/clusters/src/v2/index.ts +++ b/packages/clusters/src/v2/index.ts @@ -19,6 +19,7 @@ export { AwsAvailability, AzureAvailability, CloudProviderNodeStatus, + ClusterEditReason, ComputeKind, ConfidentialComputeType, DataPlaneClusterEventType, @@ -57,6 +58,7 @@ export type { ClusterInfo, ClusterInfo_ComputeSpec, ClusterLogConf, + ClusterRevision, ClusterSize, ClusterState, CreateClusterRequest, @@ -77,6 +79,7 @@ export type { GcpAttributes, GcsStorageInfo, GetClusterRequest, + GetClusterRevisionRequest, GetEventsResponse, GetPolicyComplianceForClusterRequest, GetPolicyComplianceForClusterResponse, @@ -90,6 +93,8 @@ export type { ListAvailableZonesResponse, ListClusterComplianceForPolicyRequest, ListClusterComplianceForPolicyResponse, + ListClusterRevisionsRequest, + ListClusterRevisionsResponse, ListClustersRequest, ListClustersResponse, ListEventsRequest, @@ -111,6 +116,7 @@ export type { ResizeClusterResponse, RestartClusterRequest, RestartClusterResponse, + RollbackClusterRequest, S3StorageInfo, SparkInfo, SparkInfo_SparkNode, diff --git a/packages/clusters/src/v2/model.ts b/packages/clusters/src/v2/model.ts index 4d503bdc4..b3746c682 100644 --- a/packages/clusters/src/v2/model.ts +++ b/packages/clusters/src/v2/model.ts @@ -55,6 +55,27 @@ export type CloudProviderNodeStatus = | (typeof CloudProviderNodeStatus)[keyof typeof CloudProviderNodeStatus] | (string & {}); +/** Possible reasons a cluster might be edited. */ +// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object. +export const ClusterEditReason = { + /** Default value. Not used. */ + CLUSTER_EDIT_REASON_UNSPECIFIED: 'CLUSTER_EDIT_REASON_UNSPECIFIED', + /** Cluster was initially created. */ + CREATION: 'CREATION', + /** Cluster was manually edited by the user. */ + MANUAL_EDIT: 'MANUAL_EDIT', + /** Cluster was edited as part of a policy enforcement. */ + POLICY_ENFORCEMENT: 'POLICY_ENFORCEMENT', + /** + * Cluster was edited as part of a policy enforcement that + * was scheduled on the next cluster termination / restart. + */ + DEFERRED_POLICY_ENFORCEMENT: 'DEFERRED_POLICY_ENFORCEMENT', +} as const; +export type ClusterEditReason = + | (typeof ClusterEditReason)[keyof typeof ClusterEditReason] + | (string & {}); + /** * The kind of compute described by this compute specification. * @@ -1956,6 +1977,26 @@ export interface ClusterLogConf { | undefined; } +/** + * Represents a cluster revision. + * + * Only the 100 most recent revisions are stored for each cluster. + */ +export interface ClusterRevision { + /** ID of the cluster revision. */ + revisionId?: string | undefined; + /** Time when the cluster revision was created. */ + createTime?: Temporal.Instant | undefined; + /** Settings used to create/edit the cluster. */ + settings?: ClusterInfo_ComputeSpec | undefined; + /** Reason the cluster was edited. */ + editReason?: ClusterEditReason | undefined; + /** Name of the user who edited this cluster. */ + editUser?: string | undefined; + /** Whether this is the current revision. */ + isCurrent?: boolean | undefined; +} + export interface ClusterSize { size?: | { @@ -2778,6 +2819,15 @@ export interface GetClusterRequest { clusterId?: string | undefined; } +/** Request to get a cluster revision by ID. */ +export interface GetClusterRevisionRequest { + /** + * The fully qualified resource name of the cluster revision. + * Format: clusters/{cluster_id}/revisions/{revision_id}. + */ + name?: string | undefined; +} + export interface GetEventsResponse { events?: ClusterEvent[] | undefined; /** @@ -3045,6 +3095,27 @@ export interface ListClusterComplianceForPolicyResponse { prevPageToken?: string | undefined; } +/** Request to list cluster revisions. */ +export interface ListClusterRevisionsRequest { + /** + * The fully qualified resource name of the parent cluster. + * Format: clusters/{cluster_id}. + */ + parent?: string | undefined; + /** Maximum number of cluster revisions to return per page. */ + pageSize?: number | undefined; + /** Pagination token from a previous list cluster revisions request. */ + pageToken?: string | undefined; +} + +/** Response when listing cluster revisions. */ +export interface ListClusterRevisionsResponse { + /** Cluster revisions in the current page. */ + clusterRevisions?: ClusterRevision[] | undefined; + /** Token for fetching the next page. Empty when there are no more results. */ + nextPageToken?: string | undefined; +} + export interface ListClustersRequest { /** Use next_page_token or prev_page_token returned from the previous request to list the next or previous page of clusters respectively. */ pageToken?: string | undefined; @@ -3318,6 +3389,15 @@ export interface RestartClusterRequest { // eslint-disable-next-line @typescript-eslint/no-empty-object-type export interface RestartClusterResponse {} +/** Request to roll back cluster. */ +export interface RollbackClusterRequest { + /** + * The fully qualified resource name of the cluster revision. + * Format: clusters/{cluster_id}/revisions/{revision_id}. + */ + name?: string | undefined; +} + /** A storage location in Amazon S3 */ export interface S3StorageInfo { /** @@ -4097,6 +4177,27 @@ export const unmarshalClusterLogConfSchema: z.ZodType = z : undefined, })); +export const unmarshalClusterRevisionSchema: z.ZodType = z + .object({ + revision_id: z.string().optional(), + create_time: z + .string() + .transform(s => Temporal.Instant.from(s)) + .optional(), + settings: z.lazy(() => unmarshalClusterInfo_ComputeSpecSchema).optional(), + edit_reason: z.string().optional(), + edit_user: z.string().optional(), + is_current: z.boolean().optional(), + }) + .transform(d => ({ + revisionId: d.revision_id, + createTime: d.create_time, + settings: d.settings, + editReason: d.edit_reason, + editUser: d.edit_user, + isCurrent: d.is_current, + })); + export const unmarshalClusterSizeSchema: z.ZodType = z .object({ num_workers: z.number().optional(), @@ -4549,6 +4650,19 @@ export const unmarshalListClusterComplianceForPolicyResponseSchema: z.ZodType
  • = + z + .object({ + cluster_revisions: z + .array(z.lazy(() => unmarshalClusterRevisionSchema)) + .optional(), + next_page_token: z.string().optional(), + }) + .transform(d => ({ + clusterRevisions: d.cluster_revisions, + nextPageToken: d.next_page_token, + })); + export const unmarshalListClustersResponseSchema: z.ZodType = z .object({ @@ -5402,6 +5516,14 @@ export const marshalRestartClusterRequestSchema: z.ZodType = z restart_user: d.restartUser, })); +export const marshalRollbackClusterRequestSchema: z.ZodType = z + .object({ + name: z.string().optional(), + }) + .transform(d => ({ + name: d.name, + })); + export const marshalS3StorageInfoSchema: z.ZodType = z .object({ destination: z.string().optional(), diff --git a/packages/features/src/v1/index.ts b/packages/features/src/v1/index.ts index f674f6c17..186f9fce6 100644 --- a/packages/features/src/v1/index.ts +++ b/packages/features/src/v1/index.ts @@ -32,6 +32,7 @@ export type { CreateMaterializedFeatureRequest, CreateStreamRequest, CronSchedule, + CustomUdf, DataSource, DeleteFeatureRequest, DeleteKafkaConfigRequest, @@ -55,6 +56,7 @@ export type { GetStreamRequest, IngestionConfig, IngestionDestination, + InputBinding, JobContext, KafkaConfig, KafkaSource, diff --git a/packages/features/src/v1/model.ts b/packages/features/src/v1/model.ts index 462e6fb90..d93212479 100644 --- a/packages/features/src/v1/model.ts +++ b/packages/features/src/v1/model.ts @@ -266,6 +266,20 @@ export interface CronSchedule { cronExpression?: string | undefined; } +/** + * A CustomUdf function applies a registered Unity Catalog function row-wise to + * source columns, producing a single output column per row. + */ +export interface CustomUdf { + /** Fully qualified 3-part Unity Catalog path of the function to apply. */ + functionPath?: string | undefined; + /** + * Binds each UC function parameter to a source column. + * May be empty for zero-argument functions (e.g. a timestamp generator). + */ + inputBindings?: InputBinding[] | undefined; +} + /** Specifies the data source backing a feature. Exactly one source type must be set. */ export interface DataSource { dataSource?: @@ -498,6 +512,11 @@ export interface Function { /** Selects the latest value of a single column in a data source */ columnSelection: ColumnSelection; } + | { + $case: 'customUdf'; + /** Applies a registered Unity Catalog function row-wise to source columns. */ + customUdf: CustomUdf; + } | undefined; } @@ -579,6 +598,14 @@ export interface IngestionDestination { | undefined; } +/** Binds a single UC function parameter to a source column. */ +export interface InputBinding { + /** Name of the UC function parameter. */ + parameter?: string | undefined; + /** Source column whose value is passed for this parameter at execution time. */ + column?: string | undefined; +} + export interface JobContext { /** The job ID where this API invoked. */ jobId?: bigint | undefined; @@ -1650,6 +1677,18 @@ export const unmarshalCronScheduleSchema: z.ZodType = z cronExpression: d.cron_expression, })); +export const unmarshalCustomUdfSchema: z.ZodType = z + .object({ + function_path: z.string().optional(), + input_bindings: z + .array(z.lazy(() => unmarshalInputBindingSchema)) + .optional(), + }) + .transform(d => ({ + functionPath: d.function_path, + inputBindings: d.input_bindings, + })); + export const unmarshalDataSourceSchema: z.ZodType = z .object({ delta_table_source: z @@ -1823,6 +1862,7 @@ export const unmarshalFunctionSchema: z.ZodType = z .lazy(() => unmarshalAggregationFunctionSchema) .optional(), column_selection: z.lazy(() => unmarshalColumnSelectionSchema).optional(), + custom_udf: z.lazy(() => unmarshalCustomUdfSchema).optional(), }) .transform(d => ({ functionType: d.function_type, @@ -1838,7 +1878,9 @@ export const unmarshalFunctionSchema: z.ZodType = z $case: 'columnSelection' as const, columnSelection: d.column_selection, } - : undefined, + : d.custom_udf !== undefined + ? {$case: 'customUdf' as const, customUdf: d.custom_udf} + : undefined, })); // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name. @@ -1894,6 +1936,16 @@ export const unmarshalIngestionDestinationSchema: z.ZodType = z + .object({ + parameter: z.string().optional(), + column: z.string().optional(), + }) + .transform(d => ({ + parameter: d.parameter, + column: d.column, + })); + export const unmarshalJobContextSchema: z.ZodType = z .object({ job_id: z @@ -2880,6 +2932,16 @@ export const marshalCronScheduleSchema: z.ZodType = z cron_expression: d.cronExpression, })); +export const marshalCustomUdfSchema: z.ZodType = z + .object({ + functionPath: z.string().optional(), + inputBindings: z.array(z.lazy(() => marshalInputBindingSchema)).optional(), + }) + .transform(d => ({ + function_path: d.functionPath, + input_bindings: d.inputBindings, + })); + export const marshalDataSourceSchema: z.ZodType = z .object({ dataSource: z @@ -3065,6 +3127,10 @@ export const marshalFunctionSchema: z.ZodType = z $case: z.literal('columnSelection'), columnSelection: z.lazy(() => marshalColumnSelectionSchema), }), + z.object({ + $case: z.literal('customUdf'), + customUdf: z.lazy(() => marshalCustomUdfSchema), + }), ]) .optional(), }) @@ -3077,6 +3143,9 @@ export const marshalFunctionSchema: z.ZodType = z ...(d.function?.$case === 'columnSelection' && { column_selection: d.function.columnSelection, }), + ...(d.function?.$case === 'customUdf' && { + custom_udf: d.function.customUdf, + }), })); // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name. @@ -3127,6 +3196,16 @@ export const marshalIngestionDestinationSchema: z.ZodType = z }), })); +export const marshalInputBindingSchema: z.ZodType = z + .object({ + parameter: z.string().optional(), + column: z.string().optional(), + }) + .transform(d => ({ + parameter: d.parameter, + column: d.column, + })); + export const marshalJobContextSchema: z.ZodType = z .object({ jobId: z.bigint().optional(), @@ -3924,6 +4003,11 @@ const cronScheduleFieldMaskSchema: FieldMaskSchema = { cronExpression: {wire: 'cron_expression'}, }; +const customUdfFieldMaskSchema: FieldMaskSchema = { + functionPath: {wire: 'function_path'}, + inputBindings: {wire: 'input_bindings'}, +}; + const dataSourceFieldMaskSchema: FieldMaskSchema = { deltaTableSource: { wire: 'delta_table_source', @@ -4020,6 +4104,7 @@ const functionFieldMaskSchema: FieldMaskSchema = { wire: 'column_selection', children: () => columnSelectionFieldMaskSchema, }, + customUdf: {wire: 'custom_udf', children: () => customUdfFieldMaskSchema}, extraParameters: {wire: 'extra_parameters'}, functionType: {wire: 'function_type'}, }; diff --git a/packages/pipelines/src/v2/model.ts b/packages/pipelines/src/v2/model.ts index ff9ec66f8..0d2fd17f6 100644 --- a/packages/pipelines/src/v2/model.ts +++ b/packages/pipelines/src/v2/model.ts @@ -999,6 +999,8 @@ export interface GetPipelineResponse { * Maximum total size: 10k characters (JSON format) */ parameters?: Record | undefined; + /** Serverless compute ID resolved for the pipeline. */ + effectiveServerlessComputeId?: string | undefined; } export interface GetUpdateRequest { @@ -3307,6 +3309,7 @@ export const unmarshalGetPipelineResponseSchema: z.ZodType effective_publishing_mode: z.string().optional(), run_as: z.lazy(() => unmarshalPipelinesJobRunAsSchema).optional(), parameters: z.record(z.string(), z.string()).optional(), + effective_serverless_compute_id: z.string().optional(), }) .transform(d => ({ pipelineId: d.pipeline_id, @@ -3324,6 +3327,7 @@ export const unmarshalGetPipelineResponseSchema: z.ZodType effectivePublishingMode: d.effective_publishing_mode, runAs: d.run_as, parameters: d.parameters, + effectiveServerlessComputeId: d.effective_serverless_compute_id, })); export const unmarshalGetUpdateResponseSchema: z.ZodType = z