diff --git a/package-lock.json b/package-lock.json index 6813910fa..30f880f00 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6772,7 +6772,7 @@ }, "packages/aigateway": { "name": "@databricks/sdk-aigateway", - "version": "0.19.0", + "version": "0.20.0", "license": "Apache-2.0", "dependencies": { "@databricks/sdk-auth": ">=0.51.0 <1.0.0", @@ -7737,7 +7737,7 @@ }, "packages/pipelines": { "name": "@databricks/sdk-pipelines", - "version": "0.54.0", + "version": "0.55.0", "license": "Apache-2.0", "dependencies": { "@databricks/sdk-auth": ">=0.51.0 <1.0.0", diff --git a/packages/aigateway/src/v1/index.ts b/packages/aigateway/src/v1/index.ts index 0cbb6080e..5ad52ed6a 100644 --- a/packages/aigateway/src/v1/index.ts +++ b/packages/aigateway/src/v1/index.ts @@ -53,6 +53,7 @@ export type { ModelProviderServiceConfig_AwsAccessKey, ModelProviderServiceConfig_AzureOpenAiProviderConfig, ModelProviderServiceConfig_AzureOpenAiProviderDirectConfig, + ModelProviderServiceConfig_CustomProviderApiKeyHeaderAuth, ModelProviderServiceConfig_CustomProviderConfig, ModelProviderServiceConfig_CustomProviderDirectConfig, ModelProviderServiceConfig_EntraServicePrincipal, diff --git a/packages/aigateway/src/v1/model.ts b/packages/aigateway/src/v1/model.ts index 2f4b1ad93..d321e7483 100644 --- a/packages/aigateway/src/v1/model.ts +++ b/packages/aigateway/src/v1/model.ts @@ -621,6 +621,13 @@ export interface McpServiceConfig_SourceConnection { * invocation fails until the source connection is updated. */ isDeleted?: boolean | undefined; + /** + * Options needed to build the U2M authorize request, returned as a flat map. When set, it + * includes: `authorization_endpoint` (OAuth authorize URL), `token_endpoint` (token-exchange + * URL), `oauth_scope` (space-separated scopes to request), `client_id` (OAuth client id), and + * `oauth_provider` (the OAuth provider). + */ + options?: Record | undefined; } /** A caller's per-user OAuth credential for an MCP service. */ @@ -1021,6 +1028,26 @@ export interface ModelProviderServiceConfig_AzureOpenAiProviderDirectConfig { | undefined; } +/** + * Header-based API-key authentication for a custom provider: the secret is + * forwarded on outbound requests under a caller-chosen HTTP header, as + * `: `. + */ +// eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name. +export interface ModelProviderServiceConfig_CustomProviderApiKeyHeaderAuth { + /** + * HTTP header name that carries the API key on outbound requests (e.g., + * `Ocp-Apim-Subscription-Key`). The value forwarded under this header is + * supplied via `api_key_value`. + */ + apiKeyName?: string | undefined; + /** + * Secret value forwarded under the `api_key_name` header on outbound + * requests. Supplied as inline plaintext via `ProviderSecret.plaintext`. + */ + apiKeyValue?: ModelProviderServiceConfig_ProviderSecret | undefined; +} + /** * Custom OpenAI-compatible provider configuration with bearer-token * authentication. @@ -1042,8 +1069,9 @@ export interface ModelProviderServiceConfig_CustomProviderConfig { } /** - * Direct form of a custom provider configuration. Set `api_key` to the bearer - * token sent in the `Authorization` header. + * Direct form of a custom provider configuration. Set `api_key` to send the + * secret as an `Authorization` bearer token, or `header_auth` to forward it + * under a caller-chosen HTTP header. */ // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name. export interface ModelProviderServiceConfig_CustomProviderDirectConfig { @@ -1065,6 +1093,15 @@ export interface ModelProviderServiceConfig_CustomProviderDirectConfig { */ apiKey: ModelProviderServiceConfig_ProviderSecret; } + | { + $case: 'headerAuth'; + /** + * Header-based API-key auth: the secret is forwarded on outbound requests + * under a caller-chosen HTTP header rather than as an `Authorization` + * bearer token. Set this instead of `api_key` for header auth. + */ + headerAuth: ModelProviderServiceConfig_CustomProviderApiKeyHeaderAuth; + } | undefined; } @@ -1766,10 +1803,12 @@ export const unmarshalMcpServiceConfig_SourceConnectionSchema: z.ZodType ({ name: d.name, isDeleted: d.is_deleted, + options: d.options, })); export const unmarshalMcpServiceUserMappedCredentialSchema: z.ZodType = @@ -2074,6 +2113,20 @@ export const unmarshalModelProviderServiceConfig_AzureOpenAiProviderDirectConfig : undefined, })); +// eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name. +export const unmarshalModelProviderServiceConfig_CustomProviderApiKeyHeaderAuthSchema: z.ZodType = + z + .object({ + api_key_name: z.string().optional(), + api_key_value: z + .lazy(() => unmarshalModelProviderServiceConfig_ProviderSecretSchema) + .optional(), + }) + .transform(d => ({ + apiKeyName: d.api_key_name, + apiKeyValue: d.api_key_value, + })); + // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name. export const unmarshalModelProviderServiceConfig_CustomProviderConfigSchema: z.ZodType = z @@ -2100,13 +2153,21 @@ export const unmarshalModelProviderServiceConfig_CustomProviderDirectConfigSchem api_key: z .lazy(() => unmarshalModelProviderServiceConfig_ProviderSecretSchema) .optional(), + header_auth: z + .lazy( + () => + unmarshalModelProviderServiceConfig_CustomProviderApiKeyHeaderAuthSchema + ) + .optional(), }) .transform(d => ({ baseUrl: d.base_url, authMode: d.api_key !== undefined ? {$case: 'apiKey' as const, apiKey: d.api_key} - : undefined, + : d.header_auth !== undefined + ? {$case: 'headerAuth' as const, headerAuth: d.header_auth} + : undefined, })); // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name. @@ -2565,10 +2626,12 @@ export const marshalMcpServiceConfig_SourceConnectionSchema: z.ZodType = z .object({ name: z.string().optional(), isDeleted: z.boolean().optional(), + options: z.record(z.string(), z.string()).optional(), }) .transform(d => ({ name: d.name, is_deleted: d.isDeleted, + options: d.options, })); export const marshalMcpServiceUserMappedCredentialLoginSchema: z.ZodType = z @@ -2892,6 +2955,20 @@ export const marshalModelProviderServiceConfig_AzureOpenAiProviderDirectConfigSc }), })); +// eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name. +export const marshalModelProviderServiceConfig_CustomProviderApiKeyHeaderAuthSchema: z.ZodType = + z + .object({ + apiKeyName: z.string().optional(), + apiKeyValue: z + .lazy(() => marshalModelProviderServiceConfig_ProviderSecretSchema) + .optional(), + }) + .transform(d => ({ + api_key_name: d.apiKeyName, + api_key_value: d.apiKeyValue, + })); + // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name. export const marshalModelProviderServiceConfig_CustomProviderConfigSchema: z.ZodType = z @@ -2927,12 +3004,22 @@ export const marshalModelProviderServiceConfig_CustomProviderDirectConfigSchema: () => marshalModelProviderServiceConfig_ProviderSecretSchema ), }), + z.object({ + $case: z.literal('headerAuth'), + headerAuth: z.lazy( + () => + marshalModelProviderServiceConfig_CustomProviderApiKeyHeaderAuthSchema + ), + }), ]) .optional(), }) .transform(d => ({ base_url: d.baseUrl, ...(d.authMode?.$case === 'apiKey' && {api_key: d.authMode.apiKey}), + ...(d.authMode?.$case === 'headerAuth' && { + header_auth: d.authMode.headerAuth, + }), })); // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name. @@ -3360,6 +3447,7 @@ const mcpServiceConfigFieldMaskSchema: FieldMaskSchema = { const mcpServiceConfig_SourceConnectionFieldMaskSchema: FieldMaskSchema = { isDeleted: {wire: 'is_deleted'}, name: {wire: 'name'}, + options: {wire: 'options'}, }; const modelProviderServiceFieldMaskSchema: FieldMaskSchema = { @@ -3529,6 +3617,16 @@ const modelProviderServiceConfig_AzureOpenAiProviderDirectConfigFieldMaskSchema: }, }; +// eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name. +const modelProviderServiceConfig_CustomProviderApiKeyHeaderAuthFieldMaskSchema: FieldMaskSchema = + { + apiKeyName: {wire: 'api_key_name'}, + apiKeyValue: { + wire: 'api_key_value', + children: () => modelProviderServiceConfig_ProviderSecretFieldMaskSchema, + }, + }; + // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name. const modelProviderServiceConfig_CustomProviderConfigFieldMaskSchema: FieldMaskSchema = { @@ -3547,6 +3645,11 @@ const modelProviderServiceConfig_CustomProviderDirectConfigFieldMaskSchema: Fiel children: () => modelProviderServiceConfig_ProviderSecretFieldMaskSchema, }, baseUrl: {wire: 'base_url'}, + headerAuth: { + wire: 'header_auth', + children: () => + modelProviderServiceConfig_CustomProviderApiKeyHeaderAuthFieldMaskSchema, + }, }; // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name. diff --git a/packages/apps/src/v1/model.ts b/packages/apps/src/v1/model.ts index 11abb320d..8b51c7a09 100644 --- a/packages/apps/src/v1/model.ts +++ b/packages/apps/src/v1/model.ts @@ -1151,6 +1151,7 @@ export interface AppUpdate { /** Maximum number of app instances. Must be set together with `compute_min_instances`. */ computeMaxInstances?: number | undefined; gitRepository?: GitRepository | undefined; + telemetryExportDestinations?: TelemetryExportDestination[] | undefined; /** Forward the user's access token to the app. Requires stopping and starting app compute to take effect. */ forwardUserAccessToken?: boolean | undefined; } @@ -2055,6 +2056,9 @@ export const unmarshalAppUpdateSchema: z.ZodType = z compute_min_instances: z.number().optional(), compute_max_instances: z.number().optional(), git_repository: z.lazy(() => unmarshalGitRepositorySchema).optional(), + telemetry_export_destinations: z + .array(z.lazy(() => unmarshalTelemetryExportDestinationSchema)) + .optional(), forward_user_access_token: z.boolean().optional(), }) .transform(d => ({ @@ -2068,6 +2072,7 @@ export const unmarshalAppUpdateSchema: z.ZodType = z computeMinInstances: d.compute_min_instances, computeMaxInstances: d.compute_max_instances, gitRepository: d.git_repository, + telemetryExportDestinations: d.telemetry_export_destinations, forwardUserAccessToken: d.forward_user_access_token, })); diff --git a/packages/features/src/v1/model.ts b/packages/features/src/v1/model.ts index 598b345a5..5e1de8e13 100644 --- a/packages/features/src/v1/model.ts +++ b/packages/features/src/v1/model.ts @@ -887,13 +887,19 @@ export interface CreateStreamRequest { export interface CronSchedule { /** * The cron expression defining the schedule (e.g., "0 0 * * *" for daily at midnight). The - * schedule is interpreted in the UTC time zone. Required when mode is MANUAL (or unset). Left - * empty when mode is DERIVED, where the service computes it (aligned to UTC) from the features' - * window timing and fills it in on the response. + * schedule is interpreted in timezone_id (defaults to UTC). Required when mode is MANUAL (or + * unset). Left empty when mode is DERIVED, where the service computes it (aligned to UTC) from + * the features' window timing and fills it in on the response. */ cronExpression?: string | undefined; /** How the schedule is determined. Defaults to MANUAL when unset. */ mode?: CronSchedule_Mode | undefined; + /** + * A Java timezone ID. The schedule is resolved with respect to this timezone. Defaults to UTC + * when omitted. Can only be configured for MANUAL schedules; DERIVED schedules are always aligned + * to UTC. + */ + timezoneId?: string | undefined; } /** @@ -2546,10 +2552,12 @@ export const unmarshalCronScheduleSchema: z.ZodType = z .object({ cron_expression: z.string().optional(), mode: z.string().optional(), + timezone_id: z.string().optional(), }) .transform(d => ({ cronExpression: d.cron_expression, mode: d.mode, + timezoneId: d.timezone_id, })); export const unmarshalCustomUdfSchema: z.ZodType = z @@ -3997,10 +4005,12 @@ export const marshalCronScheduleSchema: z.ZodType = z .object({ cronExpression: z.string().optional(), mode: z.string().optional(), + timezoneId: z.string().optional(), }) .transform(d => ({ cron_expression: d.cronExpression, mode: d.mode, + timezone_id: d.timezoneId, })); export const marshalCustomUdfSchema: z.ZodType = z @@ -5170,6 +5180,7 @@ const countFunctionFieldMaskSchema: FieldMaskSchema = { const cronScheduleFieldMaskSchema: FieldMaskSchema = { cronExpression: {wire: 'cron_expression'}, mode: {wire: 'mode'}, + timezoneId: {wire: 'timezone_id'}, }; const customUdfFieldMaskSchema: FieldMaskSchema = { diff --git a/packages/jobs/src/v2/model.ts b/packages/jobs/src/v2/model.ts index 4fab28b1c..15d8814c4 100644 --- a/packages/jobs/src/v2/model.ts +++ b/packages/jobs/src/v2/model.ts @@ -1387,8 +1387,9 @@ export interface BaseRun { /** * The actual performance target used by the serverless run during execution. This can differ from the client-set performance target on the request depending on whether the performance mode is supported by the job type. * - * * `STANDARD`: Enables cost-efficient execution of serverless workloads. * * `PERFORMANCE_OPTIMIZED`: Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance. + * * `STANDARD`: Enables cost-efficient execution of serverless workloads. + * * `COST_OPTIMIZED`: Enables lower job costs by optimizing compute for your selected target duration time. Must provide a duration target. */ effectivePerformanceTarget?: PerformanceTarget_PerformanceTarget | undefined; /** The id of the usage policy used by this run for cost attribution purposes. */ @@ -1933,8 +1934,9 @@ export interface CreateJobRequest { * The performance mode on a serverless job. This field determines the level of compute performance or cost-efficiency for the run. * The performance target does not apply to tasks that run on Serverless GPU compute. * - * * `STANDARD`: Enables cost-efficient execution of serverless workloads. * * `PERFORMANCE_OPTIMIZED`: Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance. + * * `STANDARD`: Enables cost-efficient execution of serverless workloads. + * * `COST_OPTIMIZED`: Enables lower job costs by optimizing compute for your selected target duration time. Must provide a duration target. */ performanceTarget?: PerformanceTarget_PerformanceTarget | undefined; /** Path of the job parent folder in workspace file tree. If absent, the job doesn't have a workspace object. */ @@ -2703,8 +2705,9 @@ export interface GetRunResponse { /** * The actual performance target used by the serverless run during execution. This can differ from the client-set performance target on the request depending on whether the performance mode is supported by the job type. * - * * `STANDARD`: Enables cost-efficient execution of serverless workloads. * * `PERFORMANCE_OPTIMIZED`: Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance. + * * `STANDARD`: Enables cost-efficient execution of serverless workloads. + * * `COST_OPTIMIZED`: Enables lower job costs by optimizing compute for your selected target duration time. Must provide a duration target. */ effectivePerformanceTarget?: PerformanceTarget_PerformanceTarget | undefined; /** The id of the usage policy used by this run for cost attribution purposes. */ @@ -3039,8 +3042,9 @@ export interface JobSettings { * The performance mode on a serverless job. This field determines the level of compute performance or cost-efficiency for the run. * The performance target does not apply to tasks that run on Serverless GPU compute. * - * * `STANDARD`: Enables cost-efficient execution of serverless workloads. * * `PERFORMANCE_OPTIMIZED`: Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance. + * * `STANDARD`: Enables cost-efficient execution of serverless workloads. + * * `COST_OPTIMIZED`: Enables lower job costs by optimizing compute for your selected target duration time. Must provide a duration target. */ performanceTarget?: PerformanceTarget_PerformanceTarget | undefined; /** Path of the job parent folder in workspace file tree. If absent, the job doesn't have a workspace object. */ @@ -3654,8 +3658,9 @@ export interface Repair { /** * The actual performance target used by the serverless run during execution. This can differ from the client-set performance target on the request depending on whether the performance mode is supported by the job type. * - * * `STANDARD`: Enables cost-efficient execution of serverless workloads. * * `PERFORMANCE_OPTIMIZED`: Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance. + * * `STANDARD`: Enables cost-efficient execution of serverless workloads. + * * `COST_OPTIMIZED`: Enables lower job costs by optimizing compute for your selected target duration time. Must provide a duration target. */ effectivePerformanceTarget?: PerformanceTarget_PerformanceTarget | undefined; } @@ -3676,8 +3681,9 @@ export interface RepairRunRequest { /** * The performance mode on a serverless job. The performance target determines the level of compute performance or cost-efficiency for the run. This field overrides the performance target defined on the job level. * - * * `STANDARD`: Enables cost-efficient execution of serverless workloads. * * `PERFORMANCE_OPTIMIZED`: Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance. + * * `STANDARD`: Enables cost-efficient execution of serverless workloads. + * * `COST_OPTIMIZED`: Enables lower job costs by optimizing compute for your selected target duration time. Must provide a duration target. */ performanceTarget?: PerformanceTarget_PerformanceTarget | undefined; /** Controls whether the pipeline should perform a full refresh */ @@ -3953,8 +3959,9 @@ export interface Run { /** * The actual performance target used by the serverless run during execution. This can differ from the client-set performance target on the request depending on whether the performance mode is supported by the job type. * - * * `STANDARD`: Enables cost-efficient execution of serverless workloads. * * `PERFORMANCE_OPTIMIZED`: Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance. + * * `STANDARD`: Enables cost-efficient execution of serverless workloads. + * * `COST_OPTIMIZED`: Enables lower job costs by optimizing compute for your selected target duration time. Must provide a duration target. */ effectivePerformanceTarget?: PerformanceTarget_PerformanceTarget | undefined; /** The id of the usage policy used by this run for cost attribution purposes. */ @@ -4111,8 +4118,9 @@ export interface RunNowRequest { /** * The performance mode on a serverless job. The performance target determines the level of compute performance or cost-efficiency for the run. This field overrides the performance target defined on the job level. * - * * `STANDARD`: Enables cost-efficient execution of serverless workloads. * * `PERFORMANCE_OPTIMIZED`: Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance. + * * `STANDARD`: Enables cost-efficient execution of serverless workloads. + * * `COST_OPTIMIZED`: Enables lower job costs by optimizing compute for your selected target duration time. Must provide a duration target. */ performanceTarget?: PerformanceTarget_PerformanceTarget | undefined; /** Controls whether the pipeline should perform a full refresh */ @@ -4305,8 +4313,9 @@ export interface RunTask { /** * The actual performance target used by the serverless run during execution. This can differ from the client-set performance target on the request depending on whether the performance mode is supported by the job type. * - * * `STANDARD`: Enables cost-efficient execution of serverless workloads. * * `PERFORMANCE_OPTIMIZED`: Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance. + * * `STANDARD`: Enables cost-efficient execution of serverless workloads. + * * `COST_OPTIMIZED`: Enables lower job costs by optimizing compute for your selected target duration time. Must provide a duration target. */ effectivePerformanceTarget?: PerformanceTarget_PerformanceTarget | undefined; /** @@ -5083,8 +5092,9 @@ export interface SubmitRunRequest { * The performance mode on a serverless one-time run. This field determines the level of compute performance or cost-efficiency for the run. * The performance target does not apply to tasks that run on Serverless GPU compute. * - * * `STANDARD`: Enables cost-efficient execution of serverless workloads. * * `PERFORMANCE_OPTIMIZED`: Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance. + * * `STANDARD`: Enables cost-efficient execution of serverless workloads. + * * `COST_OPTIMIZED`: Enables lower job costs by optimizing compute for your selected target duration time. Must provide a duration target. */ performanceTarget?: PerformanceTarget_PerformanceTarget | undefined; } diff --git a/packages/lakeview/src/v1/client.ts b/packages/lakeview/src/v1/client.ts index 2922dd86c..b9cef8fe5 100644 --- a/packages/lakeview/src/v1/client.ts +++ b/packages/lakeview/src/v1/client.ts @@ -107,7 +107,8 @@ export class LakeviewClient { /** * Create a draft dashboard. * - * Requires the Databricks SQL access entitlement. + * Requires the [Databricks SQL access](https://docs.databricks.com/security/auth/entitlements) + * entitlement. Grant Databricks SQL access in addition to Workspace access. */ async createDashboard( req: CreateDashboardRequest, @@ -153,7 +154,12 @@ export class LakeviewClient { return resp; } - /** Create dashboard schedule. */ + /** + * Create dashboard schedule. + * + * Requires the [Databricks SQL access](https://docs.databricks.com/security/auth/entitlements) + * entitlement. Grant Databricks SQL access in addition to Workspace access. + */ async createSchedule( req: CreateScheduleRequest, options?: CallOptions @@ -183,7 +189,16 @@ export class LakeviewClient { return resp; } - /** Create schedule subscription. */ + /** + * Create schedule subscription. + * + * The caller must be a workspace user with one of the following + * [entitlements](https://docs.databricks.com/security/auth/entitlements): + * Workspace access, Databricks SQL access, or Consumer access. + * + * Account-level users who are not members of the workspace cannot call this + * endpoint, even if the dashboard has been shared with them. + */ async createSubscription( req: CreateSubscriptionRequest, options?: CallOptions @@ -216,7 +231,12 @@ export class LakeviewClient { return resp; } - /** Delete dashboard schedule. */ + /** + * Delete dashboard schedule. + * + * Requires the [Databricks SQL access](https://docs.databricks.com/security/auth/entitlements) + * entitlement. Grant Databricks SQL access in addition to Workspace access. + */ async deleteSchedule( req: DeleteScheduleRequest, options?: CallOptions @@ -245,7 +265,16 @@ export class LakeviewClient { await executeCall(call, options); } - /** Delete schedule subscription. */ + /** + * Delete schedule subscription. + * + * The caller must be a workspace user with one of the following + * [entitlements](https://docs.databricks.com/security/auth/entitlements): + * Workspace access, Databricks SQL access, or Consumer access. + * + * Account-level users who are not members of the workspace cannot call this + * endpoint, even if the dashboard has been shared with them. + */ async deleteSubscription( req: DeleteSubscriptionRequest, options?: CallOptions @@ -277,7 +306,8 @@ export class LakeviewClient { /** * Get a draft dashboard. * - * Requires the Databricks SQL access entitlement. + * Requires the [Databricks SQL access](https://docs.databricks.com/security/auth/entitlements) + * entitlement. Grant Databricks SQL access in addition to Workspace access. */ async getDashboard( req: GetDashboardRequest, @@ -393,7 +423,16 @@ export class LakeviewClient { return resp; } - /** Get dashboard schedule. */ + /** + * Get dashboard schedule. + * + * The caller must be a workspace user with one of the following + * [entitlements](https://docs.databricks.com/security/auth/entitlements): + * Workspace access, Databricks SQL access, or Consumer access. + * + * Account-level users who are not members of the workspace cannot call this + * endpoint, even if the dashboard has been shared with them. + */ async getSchedule( req: GetScheduleRequest, options?: CallOptions @@ -422,7 +461,16 @@ export class LakeviewClient { return resp; } - /** Get schedule subscription. */ + /** + * Get schedule subscription. + * + * The caller must be a workspace user with one of the following + * [entitlements](https://docs.databricks.com/security/auth/entitlements): + * Workspace access, Databricks SQL access, or Consumer access. + * + * Account-level users who are not members of the workspace cannot call this + * endpoint, even if the dashboard has been shared with them. + */ async getSubscription( req: GetSubscriptionRequest, options?: CallOptions @@ -454,7 +502,8 @@ export class LakeviewClient { /** * List dashboards. * - * Requires the Databricks SQL access entitlement. + * Requires the [Databricks SQL access](https://docs.databricks.com/security/auth/entitlements) + * entitlement. Grant Databricks SQL access in addition to Workspace access. */ async listDashboards( req: ListDashboardsRequest, @@ -516,7 +565,16 @@ export class LakeviewClient { } } - /** List dashboard schedules. */ + /** + * List dashboard schedules. + * + * The caller must be a workspace user with one of the following + * [entitlements](https://docs.databricks.com/security/auth/entitlements): + * Workspace access, Databricks SQL access, or Consumer access. + * + * Account-level users who are not members of the workspace cannot call this + * endpoint, even if the dashboard has been shared with them. + */ async listSchedules( req: ListSchedulesRequest, options?: CallOptions @@ -571,7 +629,16 @@ export class LakeviewClient { } } - /** List schedule subscriptions. */ + /** + * List schedule subscriptions. + * + * The caller must be a workspace user with one of the following + * [entitlements](https://docs.databricks.com/security/auth/entitlements): + * Workspace access, Databricks SQL access, or Consumer access. + * + * Account-level users who are not members of the workspace cannot call this + * endpoint, even if the dashboard has been shared with them. + */ async listSubscriptions( req: ListSubscriptionsRequest, options?: CallOptions @@ -662,7 +729,8 @@ export class LakeviewClient { /** * Publish the current draft dashboard. * - * Requires the Databricks SQL access entitlement. + * Requires the [Databricks SQL access](https://docs.databricks.com/security/auth/entitlements) + * entitlement. Grant Databricks SQL access in addition to Workspace access. */ async publishDashboard( req: PublishDashboardRequest, @@ -696,7 +764,8 @@ export class LakeviewClient { /** * Revert a dashboard's definition in draft mode to the last published version. * - * Requires the Databricks SQL access entitlement. + * Requires the [Databricks SQL access](https://docs.databricks.com/security/auth/entitlements) + * entitlement. Grant Databricks SQL access in addition to Workspace access. */ async revertDashboard( req: RevertDashboardRequest, @@ -730,7 +799,8 @@ export class LakeviewClient { /** * Trash a dashboard. * - * Requires the Databricks SQL access entitlement. + * Requires the [Databricks SQL access](https://docs.databricks.com/security/auth/entitlements) + * entitlement. Grant Databricks SQL access in addition to Workspace access. */ async trashDashboard( req: TrashDashboardRequest, @@ -763,7 +833,8 @@ export class LakeviewClient { /** * Unpublish the dashboard. * - * Requires the Databricks SQL access entitlement. + * Requires the [Databricks SQL access](https://docs.databricks.com/security/auth/entitlements) + * entitlement. Grant Databricks SQL access in addition to Workspace access. */ async unpublishDashboard( req: UnpublishDashboardRequest, @@ -796,7 +867,8 @@ export class LakeviewClient { /** * Update a draft dashboard. * - * Requires the Databricks SQL access entitlement. + * Requires the [Databricks SQL access](https://docs.databricks.com/security/auth/entitlements) + * entitlement. Grant Databricks SQL access in addition to Workspace access. */ async updateDashboard( req: UpdateDashboardRequest, @@ -842,7 +914,12 @@ export class LakeviewClient { return resp; } - /** Update dashboard schedule. */ + /** + * Update dashboard schedule. + * + * Requires the [Databricks SQL access](https://docs.databricks.com/security/auth/entitlements) + * entitlement. Grant Databricks SQL access in addition to Workspace access. + */ async updateSchedule( req: UpdateScheduleRequest, options?: CallOptions diff --git a/packages/pipelines/src/v2/model.ts b/packages/pipelines/src/v2/model.ts index ec8dd357c..65c94a654 100644 --- a/packages/pipelines/src/v2/model.ts +++ b/packages/pipelines/src/v2/model.ts @@ -97,7 +97,9 @@ export const IngestionSourceType = { JIRA: 'JIRA', CONFLUENCE: 'CONFLUENCE', META_MARKETING: 'META_MARKETING', + TIKTOK_ADS: 'TIKTOK_ADS', ZENDESK: 'ZENDESK', + SMARTSHEET: 'SMARTSHEET', RABBITMQ: 'RABBITMQ', FOREIGN_CATALOG: 'FOREIGN_CATALOG', } as const; diff --git a/packages/uc/abacpolicies/src/v1/model.ts b/packages/uc/abacpolicies/src/v1/model.ts index b40256f2c..5d1159201 100644 --- a/packages/uc/abacpolicies/src/v1/model.ts +++ b/packages/uc/abacpolicies/src/v1/model.ts @@ -42,6 +42,8 @@ export const SecurableType = { MODEL_SERVICE: 'MODEL_SERVICE', MCP_SERVICE: 'MCP_SERVICE', MODEL_PROVIDER_SERVICE: 'MODEL_PROVIDER_SERVICE', + AGENT_SERVICE: 'AGENT_SERVICE', + SKILL: 'SKILL', } as const; export type SecurableType = | (typeof SecurableType)[keyof typeof SecurableType] diff --git a/packages/uc/catalogs/src/v1/model.ts b/packages/uc/catalogs/src/v1/model.ts index 11d6a49fb..a5780ced4 100644 --- a/packages/uc/catalogs/src/v1/model.ts +++ b/packages/uc/catalogs/src/v1/model.ts @@ -50,6 +50,8 @@ export const SecurableType = { MODEL_SERVICE: 'MODEL_SERVICE', MCP_SERVICE: 'MCP_SERVICE', MODEL_PROVIDER_SERVICE: 'MODEL_PROVIDER_SERVICE', + AGENT_SERVICE: 'AGENT_SERVICE', + SKILL: 'SKILL', } as const; export type SecurableType = | (typeof SecurableType)[keyof typeof SecurableType] diff --git a/packages/uc/connections/src/v1/model.ts b/packages/uc/connections/src/v1/model.ts index fd9ec24cc..fd22b1b89 100644 --- a/packages/uc/connections/src/v1/model.ts +++ b/packages/uc/connections/src/v1/model.ts @@ -29,6 +29,7 @@ export const ConnectionType = { CONFLUENCE: 'CONFLUENCE', JDBC: 'JDBC', META_MARKETING: 'META_MARKETING', + TIKTOK_ADS: 'TIKTOK_ADS', HUBSPOT: 'HUBSPOT', ZENDESK: 'ZENDESK', AWS_SECRETS_MANAGER: 'AWS_SECRETS_MANAGER', @@ -89,6 +90,8 @@ export const SecurableType = { MODEL_SERVICE: 'MODEL_SERVICE', MCP_SERVICE: 'MCP_SERVICE', MODEL_PROVIDER_SERVICE: 'MODEL_PROVIDER_SERVICE', + AGENT_SERVICE: 'AGENT_SERVICE', + SKILL: 'SKILL', } as const; export type SecurableType = | (typeof SecurableType)[keyof typeof SecurableType] diff --git a/packages/uc/resourcequotas/src/v1/model.ts b/packages/uc/resourcequotas/src/v1/model.ts index 1786d4244..ae8f9fac0 100644 --- a/packages/uc/resourcequotas/src/v1/model.ts +++ b/packages/uc/resourcequotas/src/v1/model.ts @@ -27,6 +27,8 @@ export const SecurableType = { MODEL_SERVICE: 'MODEL_SERVICE', MCP_SERVICE: 'MCP_SERVICE', MODEL_PROVIDER_SERVICE: 'MODEL_PROVIDER_SERVICE', + AGENT_SERVICE: 'AGENT_SERVICE', + SKILL: 'SKILL', } as const; export type SecurableType = | (typeof SecurableType)[keyof typeof SecurableType] diff --git a/packages/uc/rfa/src/v1/model.ts b/packages/uc/rfa/src/v1/model.ts index 28a4fec52..fe95f6434 100644 --- a/packages/uc/rfa/src/v1/model.ts +++ b/packages/uc/rfa/src/v1/model.ts @@ -53,6 +53,8 @@ export const SecurableType = { MODEL_SERVICE: 'MODEL_SERVICE', MCP_SERVICE: 'MCP_SERVICE', MODEL_PROVIDER_SERVICE: 'MODEL_PROVIDER_SERVICE', + AGENT_SERVICE: 'AGENT_SERVICE', + SKILL: 'SKILL', } as const; export type SecurableType = | (typeof SecurableType)[keyof typeof SecurableType] diff --git a/packages/uc/tables/src/v1/model.ts b/packages/uc/tables/src/v1/model.ts index eeca2a809..89c03fad8 100644 --- a/packages/uc/tables/src/v1/model.ts +++ b/packages/uc/tables/src/v1/model.ts @@ -210,6 +210,8 @@ export const SecurableType = { MODEL_SERVICE: 'MODEL_SERVICE', MCP_SERVICE: 'MCP_SERVICE', MODEL_PROVIDER_SERVICE: 'MODEL_PROVIDER_SERVICE', + AGENT_SERVICE: 'AGENT_SERVICE', + SKILL: 'SKILL', } as const; export type SecurableType = | (typeof SecurableType)[keyof typeof SecurableType]