@databricks/sdk-alerts 0.49.0 → 0.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/package.js CHANGED
@@ -1,6 +1,6 @@
1
1
  //#region package.json
2
2
  var name = "@databricks/sdk-alerts";
3
- var version = "0.49.0";
3
+ var version = "0.50.0";
4
4
 
5
5
  //#endregion
6
6
  export { name, version };
@@ -50,7 +50,7 @@ declare const SchedulePauseStatus: {
50
50
  };
51
51
  type SchedulePauseStatus = (typeof SchedulePauseStatus)[keyof typeof SchedulePauseStatus] | (string & {});
52
52
  interface Alert {
53
- /** UUID identifying the alert. */
53
+ /** The canonical identifier of the alert to retrieve information about. */
54
54
  id?: string | undefined;
55
55
  /** The display name of the alert. */
56
56
  displayName?: string | undefined;
@@ -95,8 +95,17 @@ interface Alert {
95
95
  */
96
96
  effectiveRunAs?: AlertRunAs | undefined;
97
97
  /**
98
- * Query parameters bound when executing the alert query, referenced in the
99
- * query text with `:name` syntax. Static values only.
98
+ * A list of parameters to pass into the alert SQL query statement containing parameter markers. Static values only.
99
+ *
100
+ * Reference a parameter in the query text as `:name`. Each parameter must have a unique, non-empty name.
101
+ * Each parameter consists of a name, a value, and optionally a type. To represent a NULL
102
+ * value, the `value` field may be omitted or set to `null` explicitly. If the `type` field
103
+ * is omitted, the value is interpreted as a string.
104
+ *
105
+ * If the type is given, parameters will be checked for type correctness according
106
+ * to the given type. A value is correct if the provided string can be converted to
107
+ * the requested type using the `cast` function. The exact semantics are described in
108
+ * the section [`cast` function](https://docs.databricks.com/sql/language-manual/functions/cast.html) of the SQL language reference.
100
109
  */
101
110
  parameters?: AlertStatementParameter[] | undefined;
102
111
  }
@@ -166,21 +175,20 @@ interface AlertRunAs {
166
175
  } | undefined;
167
176
  }
168
177
  /**
169
- * Redash-owned copy of the internal StatementParameter for the external AlertV2 API.
170
- * The internal `ordinal` and `args` fields are intentionally omitted: the public API
171
- * supports only flat, named scalar parameters; complex types (ARRAY, MAP, STRUCT) are
172
- * not supported. This mirrors SEA's public StatementParameter schema, see:
173
- * cmdexec/sql-exec-api/proto/sql_exec_api_service.proto:763-779
178
+ * A named parameter bound to the alert query. Only flat, named scalar parameters are
179
+ * supported; complex types such as ARRAY, MAP, and STRUCT are not.
174
180
  */
175
181
  interface AlertStatementParameter {
176
- /** The name of the parameter, referenced in the query as `:name`. */
182
+ /**
183
+ * The name of the parameter. Reference it in the query text as `:name`. Required, must be
184
+ * non-empty, and must be unique across the alert's parameters.
185
+ */
177
186
  name?: string | undefined;
178
- /** The bound value for the parameter, given as a string. If omitted, the value is interpreted as NULL. */
187
+ /** The value bound to the parameter, represented as a string. If omitted, the value is interpreted as NULL. */
179
188
  value?: string | undefined;
180
189
  /**
181
- * The SQL data type of the parameter, e.g. STRING, INT, or DATE. Defaults to STRING. This is a
182
- * string rather than an enum because scalar subtypes such as DECIMAL(10, 4) cannot be enumerated.
183
- * Complex types such as ARRAY, MAP, and STRUCT are not supported.
190
+ * The SQL data type of the parameter, for example `STRING`, `INT`, or `DECIMAL(10, 2)`. If no type is given
191
+ * the type is assumed to be `STRING`. Complex types such as `ARRAY`, `MAP`, and `STRUCT` are not supported.
184
192
  */
185
193
  type?: string | undefined;
186
194
  }
@@ -1 +1 @@
1
- {"version":3,"file":"model.d.ts","names":[],"sources":["../../src/v2/model.ts"],"mappings":";;;;;cAQa,WAAA;EAAA;;;;;;;;;KAUD,WAAA,WACA,WAAA,eAA0B,WAAA;;;;;;AADtC;;cAYa,oBAAA;EAXD;;;;;KAkBA,oBAAA,WACA,oBAAA,eAAmC,oBAAA;AAAA,cAIlC,mBAAA;EAAA,SAGH,MAAA;EAAA,SAAA,OAAA;AAAA;AAAA,KACE,mBAAA,WACA,mBAAA,eAAkC,mBAAA;AAAA,cAIjC,kBAAA;EAAA;;;;;;;;;KAUD,kBAAA,WACA,kBAAA,eAAiC,kBAAA;AAAA,cAIhC,mBAAA;EAAA,SAGH,QAAA;EAAA,SAAA,M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AA,cAiBrC,sCAAA,EAAwC,CAAA,CAAE,OAAA,CAAQ,uBAAA;AAAA,cAalD,gCAAA,EAAkC,CAAA,CAAE,OAAA,CAAQ,iBAAA;AAAA,cAc5C,2BAAA,EAA6B,CAAA,CAAE,OAAA,CAAQ,YAAA;AAAA,cAYvC,oBAAA,EAAsB,CAAA,CAAE,OAAA,CAAQ,KAAA;AAAA,cAEhC,iCAAA,EAAmC,CAAA,CAAE,OAAA,CAAQ,kBAAA;AAAA,cAW7C,kBAAA,EAAoB,CAAA,CAAE,OAAA;AAAA,cAgDtB,4BAAA,EAA8B,CAAA,CAAE,OAAA;AAAA,cAuBhC,8BAAA,EAAgC,CAAA,CAAE,OAAA;AAAA,cAclC,yBAAA,EAA2B,CAAA,CAAE,OAAA;AAAA,cAoB7B,+BAAA,EAAiC,CAAA,CAAE,OAAA;AAAA,cAYnC,8BAAA,EAAgC,CAAA,CAAE,OAAA;AAAA,cAoBlC,uBAAA,EAAyB,CAAA,CAAE,OAAA;AAAA,cAmB3B,oCAAA,EAAsC,CAAA,CAAE,OAAA;AAAA,cAYxC,8BAAA,EAAgC,CAAA,CAAE,OAAA;AAAA,cAqBlC,yBAAA,EAA2B,CAAA,CAAE,OAAA;AAAA,iBAsC1B,cAAA,CAAA,GAAkB,KAAA,aAAkB,SAAA,CAAU,KAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"model.js","names":[],"sources":["../../src/v2/model.ts"],"sourcesContent":["// Code generated from API definition by Databricks SDK Generator. DO NOT EDIT.\n\nimport {Temporal} from '@js-temporal/polyfill';\nimport {FieldMask} from '@databricks/sdk-core/wkt';\nimport type {FieldMaskSchema} from '@databricks/sdk-core/wkt';\nimport {z} from 'zod';\n\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const Aggregation = {\n SUM: 'SUM',\n COUNT: 'COUNT',\n COUNT_DISTINCT: 'COUNT_DISTINCT',\n AVG: 'AVG',\n MEDIAN: 'MEDIAN',\n MIN: 'MIN',\n MAX: 'MAX',\n STDDEV: 'STDDEV',\n} as const;\nexport type Aggregation =\n | (typeof Aggregation)[keyof typeof Aggregation]\n | (string & {});\n\n/**\n * UNSPECIFIED - default unspecify value for proto enum, do not use it in the code\n * UNKNOWN - alert not yet evaluated\n * TRIGGERED - alert is triggered\n * OK - alert is not triggered\n * ERROR - alert evaluation failed\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const AlertEvaluationState = {\n /** Deprecated. Please avoid using `UNKNOWN` as empty_result_state. */\n UNKNOWN: 'UNKNOWN',\n TRIGGERED: 'TRIGGERED',\n OK: 'OK',\n ERROR: 'ERROR',\n} as const;\nexport type AlertEvaluationState =\n | (typeof AlertEvaluationState)[keyof typeof AlertEvaluationState]\n | (string & {});\n\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const AlertLifecycleState = {\n ACTIVE: 'ACTIVE',\n DELETED: 'DELETED',\n} as const;\nexport type AlertLifecycleState =\n | (typeof AlertLifecycleState)[keyof typeof AlertLifecycleState]\n | (string & {});\n\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const ComparisonOperator = {\n LESS_THAN: 'LESS_THAN',\n GREATER_THAN: 'GREATER_THAN',\n EQUAL: 'EQUAL',\n NOT_EQUAL: 'NOT_EQUAL',\n GREATER_THAN_OR_EQUAL: 'GREATER_THAN_OR_EQUAL',\n LESS_THAN_OR_EQUAL: 'LESS_THAN_OR_EQUAL',\n IS_NULL: 'IS_NULL',\n IS_NOT_NULL: 'IS_NOT_NULL',\n} as const;\nexport type ComparisonOperator =\n | (typeof ComparisonOperator)[keyof typeof ComparisonOperator]\n | (string & {});\n\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const SchedulePauseStatus = {\n UNPAUSED: 'UNPAUSED',\n PAUSED: 'PAUSED',\n} as const;\nexport type SchedulePauseStatus =\n | (typeof SchedulePauseStatus)[keyof typeof SchedulePauseStatus]\n | (string & {});\n\nexport interface Alert {\n /** UUID identifying the alert. */\n id?: string | undefined;\n /** The display name of the alert. */\n displayName?: string | undefined;\n /** The owner's username. This field is set to \"Unavailable\" if the user has been deleted. */\n ownerUserName?: string | undefined;\n /** The timestamp indicating when the alert was created. */\n createTime?: Temporal.Instant | undefined;\n /** The timestamp indicating when the alert was updated. */\n updateTime?: Temporal.Instant | undefined;\n /** The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated. */\n parentPath?: string | undefined;\n /** Text of the query to be run. */\n queryText?: string | undefined;\n /** ID of the SQL warehouse attached to the alert. */\n warehouseId?: string | undefined;\n /**\n * The run as username or application ID of service principal.\n * On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role.\n * Deprecated: Use `run_as` field instead. This field will be removed in a future release.\n */\n runAsUserName?: string | undefined;\n evaluation?: AlertEvaluation | undefined;\n schedule?: CronSchedule | undefined;\n /** Indicates whether the query is trashed. */\n lifecycleState?: AlertLifecycleState | undefined;\n /** Custom summary for the alert. support mustache template. */\n customSummary?: string | undefined;\n /** Custom description for the alert. support mustache template. */\n customDescription?: string | undefined;\n /**\n * Specifies the identity that will be used to run the alert.\n * This field allows you to configure alerts to run as a specific user or service principal.\n * - For user identity: Set `user_name` to the email of an active workspace user. Users can only set this to their own email.\n * - For service principal: Set `service_principal_name` to the application ID. Requires the `servicePrincipal/user` role.\n * If not specified, the alert will run as the request user.\n */\n runAs?: AlertRunAs | undefined;\n /**\n * The actual identity that will be used to execute the alert.\n * This is an output-only field that shows the resolved run-as identity after applying\n * permissions and defaults.\n */\n effectiveRunAs?: AlertRunAs | undefined;\n /**\n * Query parameters bound when executing the alert query, referenced in the\n * query text with `:name` syntax. Static values only.\n */\n parameters?: AlertStatementParameter[] | undefined;\n}\n\nexport interface AlertEvaluation {\n /** Source column from result to use to evaluate alert */\n source?: AlertOperandColumn | undefined;\n /** Operator used for comparison in alert evaluation. */\n comparisonOperator?: ComparisonOperator | undefined;\n /** Threshold to user for alert evaluation, can be a column or a value. */\n threshold?: AlertOperand | undefined;\n /** User or Notification Destination to notify when alert is triggered. */\n notification?: AlertNotification | undefined;\n /** Latest state of alert evaluation. */\n state?: AlertEvaluationState | undefined;\n /** Timestamp of the last evaluation. */\n lastEvaluatedAt?: Temporal.Instant | undefined;\n /** Alert state if result is empty. Please avoid setting this field to be `UNKNOWN` because `UNKNOWN` state is planned to be deprecated. */\n emptyResultState?: AlertEvaluationState | undefined;\n}\n\nexport interface AlertNotification {\n subscriptions?: AlertSubscription[] | undefined;\n /**\n * Number of seconds an alert waits after being triggered before it is allowed to send another notification.\n * If set to 0 or omitted, the alert will not send any further notifications after the first trigger\n * Setting this value to 1 allows the alert to send a notification on every evaluation where the condition is met, effectively making it always retrigger for notification purposes.\n */\n retriggerSeconds?: number | undefined;\n /** Whether to notify alert subscribers when alert returns back to normal. */\n notifyOnOk?: boolean | undefined;\n}\n\nexport interface AlertOperand {\n /** Only one of the following fields may be set, depending on the type of operand/threshold. */\n operand?:\n | {$case: 'column'; column: AlertOperandColumn}\n | {$case: 'value'; value: AlertOperandValue}\n | undefined;\n}\n\nexport interface AlertOperandColumn {\n name?: string | undefined;\n display?: string | undefined;\n /** If not set, the behavior is equivalent to using `First row` in the UI. */\n aggregation?: Aggregation | undefined;\n}\n\nexport interface AlertOperandValue {\n /** Only one of the following fields may be set, depending on the type of threshold value. */\n value?:\n | {$case: 'stringValue'; stringValue: string}\n | {$case: 'doubleValue'; doubleValue: number}\n | {$case: 'boolValue'; boolValue: boolean}\n | undefined;\n}\n\nexport interface AlertRunAs {\n identity?:\n | {\n $case: 'userName';\n /** The email of an active workspace user. Can only set this field to their own email. */\n userName: string;\n }\n | {\n $case: 'servicePrincipalName';\n /** Application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. */\n servicePrincipalName: string;\n }\n | undefined;\n}\n\n/**\n * Redash-owned copy of the internal StatementParameter for the external AlertV2 API.\n * The internal `ordinal` and `args` fields are intentionally omitted: the public API\n * supports only flat, named scalar parameters; complex types (ARRAY, MAP, STRUCT) are\n * not supported. This mirrors SEA's public StatementParameter schema, see:\n * cmdexec/sql-exec-api/proto/sql_exec_api_service.proto:763-779\n */\nexport interface AlertStatementParameter {\n /** The name of the parameter, referenced in the query as `:name`. */\n name?: string | undefined;\n /** The bound value for the parameter, given as a string. If omitted, the value is interpreted as NULL. */\n value?: string | undefined;\n /**\n * The SQL data type of the parameter, e.g. STRING, INT, or DATE. Defaults to STRING. This is a\n * string rather than an enum because scalar subtypes such as DECIMAL(10, 4) cannot be enumerated.\n * Complex types such as ARRAY, MAP, and STRUCT are not supported.\n */\n type?: string | undefined;\n}\n\nexport interface AlertSubscription {\n subscriptionType?:\n | {$case: 'userEmail'; userEmail: string}\n | {$case: 'destinationId'; destinationId: string}\n | undefined;\n}\n\nexport interface CreateAlertRequest {\n alert?: Alert | undefined;\n}\n\nexport interface CronSchedule {\n /**\n * A cron expression using quartz syntax that specifies the schedule for this pipeline.\n * Should use the quartz format described here: http://www.quartz-scheduler.org/documentation/quartz-2.1.7/tutorials/tutorial-lesson-06.html\n */\n quartzCronSchedule?: string | undefined;\n /**\n * A Java timezone id. The schedule will be resolved using this timezone.\n * This will be combined with the quartz_cron_schedule to determine the schedule.\n * See https://docs.databricks.com/sql/language-manual/sql-ref-syntax-aux-conf-mgmt-set-timezone.html for details.\n */\n timezoneId?: string | undefined;\n /** Indicate whether this schedule is paused or not. */\n pauseStatus?: SchedulePauseStatus | undefined;\n}\n\n/**\n * Represents an empty message, similar to google.protobuf.Empty, which is not available in the firm\n * right now.\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface Empty {}\n\nexport interface GetAlertRequest {\n id?: string | undefined;\n}\n\nexport interface ListAlertsRequest {\n pageToken?: string | undefined;\n pageSize?: number | undefined;\n}\n\nexport interface ListAlertsResponse {\n alerts?: Alert[] | undefined;\n nextPageToken?: string | undefined;\n}\n\nexport interface TrashAlertRequest {\n id?: string | undefined;\n /** Whether to permanently delete the alert. If not set, the alert will only be soft deleted. */\n purge?: boolean | undefined;\n}\n\nexport interface UpdateAlertRequest {\n alert?: Alert | undefined;\n updateMask?: FieldMask<Alert> | undefined;\n}\n\nexport const unmarshalAlertSchema: z.ZodType<Alert> = z\n .object({\n id: z.string().optional(),\n display_name: z.string().optional(),\n owner_user_name: z.string().optional(),\n create_time: z\n .string()\n .transform(s => Temporal.Instant.from(s))\n .optional(),\n update_time: z\n .string()\n .transform(s => Temporal.Instant.from(s))\n .optional(),\n parent_path: z.string().optional(),\n query_text: z.string().optional(),\n warehouse_id: z.string().optional(),\n run_as_user_name: z.string().optional(),\n evaluation: z.lazy(() => unmarshalAlertEvaluationSchema).optional(),\n schedule: z.lazy(() => unmarshalCronScheduleSchema).optional(),\n lifecycle_state: z.string().optional(),\n custom_summary: z.string().optional(),\n custom_description: z.string().optional(),\n run_as: z.lazy(() => unmarshalAlertRunAsSchema).optional(),\n effective_run_as: z.lazy(() => unmarshalAlertRunAsSchema).optional(),\n parameters: z\n .array(z.lazy(() => unmarshalAlertStatementParameterSchema))\n .optional(),\n })\n .transform(d => ({\n id: d.id,\n displayName: d.display_name,\n ownerUserName: d.owner_user_name,\n createTime: d.create_time,\n updateTime: d.update_time,\n parentPath: d.parent_path,\n queryText: d.query_text,\n warehouseId: d.warehouse_id,\n runAsUserName: d.run_as_user_name,\n evaluation: d.evaluation,\n schedule: d.schedule,\n lifecycleState: d.lifecycle_state,\n customSummary: d.custom_summary,\n customDescription: d.custom_description,\n runAs: d.run_as,\n effectiveRunAs: d.effective_run_as,\n parameters: d.parameters,\n }));\n\nexport const unmarshalAlertEvaluationSchema: z.ZodType<AlertEvaluation> = z\n .object({\n source: z.lazy(() => unmarshalAlertOperandColumnSchema).optional(),\n comparison_operator: z.string().optional(),\n threshold: z.lazy(() => unmarshalAlertOperandSchema).optional(),\n notification: z.lazy(() => unmarshalAlertNotificationSchema).optional(),\n state: z.string().optional(),\n last_evaluated_at: z\n .string()\n .transform(s => Temporal.Instant.from(s))\n .optional(),\n empty_result_state: z.string().optional(),\n })\n .transform(d => ({\n source: d.source,\n comparisonOperator: d.comparison_operator,\n threshold: d.threshold,\n notification: d.notification,\n state: d.state,\n lastEvaluatedAt: d.last_evaluated_at,\n emptyResultState: d.empty_result_state,\n }));\n\nexport const unmarshalAlertNotificationSchema: z.ZodType<AlertNotification> = z\n .object({\n subscriptions: z\n .array(z.lazy(() => unmarshalAlertSubscriptionSchema))\n .optional(),\n retrigger_seconds: z.number().optional(),\n notify_on_ok: z.boolean().optional(),\n })\n .transform(d => ({\n subscriptions: d.subscriptions,\n retriggerSeconds: d.retrigger_seconds,\n notifyOnOk: d.notify_on_ok,\n }));\n\nexport const unmarshalAlertOperandSchema: z.ZodType<AlertOperand> = z\n .object({\n column: z.lazy(() => unmarshalAlertOperandColumnSchema).optional(),\n value: z.lazy(() => unmarshalAlertOperandValueSchema).optional(),\n })\n .transform(d => ({\n operand:\n d.column !== undefined\n ? {$case: 'column' as const, column: d.column}\n : d.value !== undefined\n ? {$case: 'value' as const, value: d.value}\n : undefined,\n }));\n\nexport const unmarshalAlertOperandColumnSchema: z.ZodType<AlertOperandColumn> =\n z\n .object({\n name: z.string().optional(),\n display: z.string().optional(),\n aggregation: z.string().optional(),\n })\n .transform(d => ({\n name: d.name,\n display: d.display,\n aggregation: d.aggregation,\n }));\n\nexport const unmarshalAlertOperandValueSchema: z.ZodType<AlertOperandValue> = z\n .object({\n string_value: z.string().optional(),\n double_value: z.number().optional(),\n bool_value: z.boolean().optional(),\n })\n .transform(d => ({\n value:\n d.string_value !== undefined\n ? {$case: 'stringValue' as const, stringValue: d.string_value}\n : d.double_value !== undefined\n ? {$case: 'doubleValue' as const, doubleValue: d.double_value}\n : d.bool_value !== undefined\n ? {$case: 'boolValue' as const, boolValue: d.bool_value}\n : undefined,\n }));\n\nexport const unmarshalAlertRunAsSchema: z.ZodType<AlertRunAs> = z\n .object({\n user_name: z.string().optional(),\n service_principal_name: z.string().optional(),\n })\n .transform(d => ({\n identity:\n d.user_name !== undefined\n ? {$case: 'userName' as const, userName: d.user_name}\n : d.service_principal_name !== undefined\n ? {\n $case: 'servicePrincipalName' as const,\n servicePrincipalName: d.service_principal_name,\n }\n : undefined,\n }));\n\nexport const unmarshalAlertStatementParameterSchema: z.ZodType<AlertStatementParameter> =\n z\n .object({\n name: z.string().optional(),\n value: z.string().optional(),\n type: z.string().optional(),\n })\n .transform(d => ({\n name: d.name,\n value: d.value,\n type: d.type,\n }));\n\nexport const unmarshalAlertSubscriptionSchema: z.ZodType<AlertSubscription> = z\n .object({\n user_email: z.string().optional(),\n destination_id: z.string().optional(),\n })\n .transform(d => ({\n subscriptionType:\n d.user_email !== undefined\n ? {$case: 'userEmail' as const, userEmail: d.user_email}\n : d.destination_id !== undefined\n ? {$case: 'destinationId' as const, destinationId: d.destination_id}\n : undefined,\n }));\n\nexport const unmarshalCronScheduleSchema: z.ZodType<CronSchedule> = z\n .object({\n quartz_cron_schedule: z.string().optional(),\n timezone_id: z.string().optional(),\n pause_status: z.string().optional(),\n })\n .transform(d => ({\n quartzCronSchedule: d.quartz_cron_schedule,\n timezoneId: d.timezone_id,\n pauseStatus: d.pause_status,\n }));\n\nexport const unmarshalEmptySchema: z.ZodType<Empty> = z.object({});\n\nexport const unmarshalListAlertsResponseSchema: z.ZodType<ListAlertsResponse> =\n z\n .object({\n alerts: z.array(z.lazy(() => unmarshalAlertSchema)).optional(),\n next_page_token: z.string().optional(),\n })\n .transform(d => ({\n alerts: d.alerts,\n nextPageToken: d.next_page_token,\n }));\n\nexport const marshalAlertSchema: z.ZodType = z\n .object({\n id: z.string().optional(),\n displayName: z.string().optional(),\n ownerUserName: z.string().optional(),\n createTime: z\n .any()\n .transform((d: Temporal.Instant) => d.toString())\n .optional(),\n updateTime: z\n .any()\n .transform((d: Temporal.Instant) => d.toString())\n .optional(),\n parentPath: z.string().optional(),\n queryText: z.string().optional(),\n warehouseId: z.string().optional(),\n runAsUserName: z.string().optional(),\n evaluation: z.lazy(() => marshalAlertEvaluationSchema).optional(),\n schedule: z.lazy(() => marshalCronScheduleSchema).optional(),\n lifecycleState: z.string().optional(),\n customSummary: z.string().optional(),\n customDescription: z.string().optional(),\n runAs: z.lazy(() => marshalAlertRunAsSchema).optional(),\n effectiveRunAs: z.lazy(() => marshalAlertRunAsSchema).optional(),\n parameters: z\n .array(z.lazy(() => marshalAlertStatementParameterSchema))\n .optional(),\n })\n .transform(d => ({\n id: d.id,\n display_name: d.displayName,\n owner_user_name: d.ownerUserName,\n create_time: d.createTime,\n update_time: d.updateTime,\n parent_path: d.parentPath,\n query_text: d.queryText,\n warehouse_id: d.warehouseId,\n run_as_user_name: d.runAsUserName,\n evaluation: d.evaluation,\n schedule: d.schedule,\n lifecycle_state: d.lifecycleState,\n custom_summary: d.customSummary,\n custom_description: d.customDescription,\n run_as: d.runAs,\n effective_run_as: d.effectiveRunAs,\n parameters: d.parameters,\n }));\n\nexport const marshalAlertEvaluationSchema: z.ZodType = z\n .object({\n source: z.lazy(() => marshalAlertOperandColumnSchema).optional(),\n comparisonOperator: z.string().optional(),\n threshold: z.lazy(() => marshalAlertOperandSchema).optional(),\n notification: z.lazy(() => marshalAlertNotificationSchema).optional(),\n state: z.string().optional(),\n lastEvaluatedAt: z\n .any()\n .transform((d: Temporal.Instant) => d.toString())\n .optional(),\n emptyResultState: z.string().optional(),\n })\n .transform(d => ({\n source: d.source,\n comparison_operator: d.comparisonOperator,\n threshold: d.threshold,\n notification: d.notification,\n state: d.state,\n last_evaluated_at: d.lastEvaluatedAt,\n empty_result_state: d.emptyResultState,\n }));\n\nexport const marshalAlertNotificationSchema: z.ZodType = z\n .object({\n subscriptions: z\n .array(z.lazy(() => marshalAlertSubscriptionSchema))\n .optional(),\n retriggerSeconds: z.number().optional(),\n notifyOnOk: z.boolean().optional(),\n })\n .transform(d => ({\n subscriptions: d.subscriptions,\n retrigger_seconds: d.retriggerSeconds,\n notify_on_ok: d.notifyOnOk,\n }));\n\nexport const marshalAlertOperandSchema: z.ZodType = z\n .object({\n operand: z\n .discriminatedUnion('$case', [\n z.object({\n $case: z.literal('column'),\n column: z.lazy(() => marshalAlertOperandColumnSchema),\n }),\n z.object({\n $case: z.literal('value'),\n value: z.lazy(() => marshalAlertOperandValueSchema),\n }),\n ])\n .optional(),\n })\n .transform(d => ({\n ...(d.operand?.$case === 'column' && {column: d.operand.column}),\n ...(d.operand?.$case === 'value' && {value: d.operand.value}),\n }));\n\nexport const marshalAlertOperandColumnSchema: z.ZodType = z\n .object({\n name: z.string().optional(),\n display: z.string().optional(),\n aggregation: z.string().optional(),\n })\n .transform(d => ({\n name: d.name,\n display: d.display,\n aggregation: d.aggregation,\n }));\n\nexport const marshalAlertOperandValueSchema: z.ZodType = z\n .object({\n value: z\n .discriminatedUnion('$case', [\n z.object({$case: z.literal('stringValue'), stringValue: z.string()}),\n z.object({$case: z.literal('doubleValue'), doubleValue: z.number()}),\n z.object({$case: z.literal('boolValue'), boolValue: z.boolean()}),\n ])\n .optional(),\n })\n .transform(d => ({\n ...(d.value?.$case === 'stringValue' && {\n string_value: d.value.stringValue,\n }),\n ...(d.value?.$case === 'doubleValue' && {\n double_value: d.value.doubleValue,\n }),\n ...(d.value?.$case === 'boolValue' && {bool_value: d.value.boolValue}),\n }));\n\nexport const marshalAlertRunAsSchema: z.ZodType = z\n .object({\n identity: z\n .discriminatedUnion('$case', [\n z.object({$case: z.literal('userName'), userName: z.string()}),\n z.object({\n $case: z.literal('servicePrincipalName'),\n servicePrincipalName: z.string(),\n }),\n ])\n .optional(),\n })\n .transform(d => ({\n ...(d.identity?.$case === 'userName' && {user_name: d.identity.userName}),\n ...(d.identity?.$case === 'servicePrincipalName' && {\n service_principal_name: d.identity.servicePrincipalName,\n }),\n }));\n\nexport const marshalAlertStatementParameterSchema: z.ZodType = z\n .object({\n name: z.string().optional(),\n value: z.string().optional(),\n type: z.string().optional(),\n })\n .transform(d => ({\n name: d.name,\n value: d.value,\n type: d.type,\n }));\n\nexport const marshalAlertSubscriptionSchema: z.ZodType = z\n .object({\n subscriptionType: z\n .discriminatedUnion('$case', [\n z.object({$case: z.literal('userEmail'), userEmail: z.string()}),\n z.object({\n $case: z.literal('destinationId'),\n destinationId: z.string(),\n }),\n ])\n .optional(),\n })\n .transform(d => ({\n ...(d.subscriptionType?.$case === 'userEmail' && {\n user_email: d.subscriptionType.userEmail,\n }),\n ...(d.subscriptionType?.$case === 'destinationId' && {\n destination_id: d.subscriptionType.destinationId,\n }),\n }));\n\nexport const marshalCronScheduleSchema: z.ZodType = z\n .object({\n quartzCronSchedule: z.string().optional(),\n timezoneId: z.string().optional(),\n pauseStatus: z.string().optional(),\n })\n .transform(d => ({\n quartz_cron_schedule: d.quartzCronSchedule,\n timezone_id: d.timezoneId,\n pause_status: d.pauseStatus,\n }));\n\nconst alertFieldMaskSchema: FieldMaskSchema = {\n createTime: {wire: 'create_time'},\n customDescription: {wire: 'custom_description'},\n customSummary: {wire: 'custom_summary'},\n displayName: {wire: 'display_name'},\n effectiveRunAs: {\n wire: 'effective_run_as',\n children: () => alertRunAsFieldMaskSchema,\n },\n evaluation: {\n wire: 'evaluation',\n children: () => alertEvaluationFieldMaskSchema,\n },\n id: {wire: 'id'},\n lifecycleState: {wire: 'lifecycle_state'},\n ownerUserName: {wire: 'owner_user_name'},\n parameters: {wire: 'parameters'},\n parentPath: {wire: 'parent_path'},\n queryText: {wire: 'query_text'},\n runAs: {wire: 'run_as', children: () => alertRunAsFieldMaskSchema},\n runAsUserName: {wire: 'run_as_user_name'},\n schedule: {wire: 'schedule', children: () => cronScheduleFieldMaskSchema},\n updateTime: {wire: 'update_time'},\n warehouseId: {wire: 'warehouse_id'},\n};\n\nexport function alertFieldMask(...paths: string[]): FieldMask<Alert> {\n return FieldMask.build<Alert>(paths, alertFieldMaskSchema);\n}\n\nconst alertEvaluationFieldMaskSchema: FieldMaskSchema = {\n comparisonOperator: {wire: 'comparison_operator'},\n emptyResultState: {wire: 'empty_result_state'},\n lastEvaluatedAt: {wire: 'last_evaluated_at'},\n notification: {\n wire: 'notification',\n children: () => alertNotificationFieldMaskSchema,\n },\n source: {wire: 'source', children: () => alertOperandColumnFieldMaskSchema},\n state: {wire: 'state'},\n threshold: {wire: 'threshold', children: () => alertOperandFieldMaskSchema},\n};\n\nconst alertNotificationFieldMaskSchema: FieldMaskSchema = {\n notifyOnOk: {wire: 'notify_on_ok'},\n retriggerSeconds: {wire: 'retrigger_seconds'},\n subscriptions: {wire: 'subscriptions'},\n};\n\nconst alertOperandFieldMaskSchema: FieldMaskSchema = {\n column: {wire: 'column', children: () => alertOperandColumnFieldMaskSchema},\n value: {wire: 'value', children: () => alertOperandValueFieldMaskSchema},\n};\n\nconst alertOperandColumnFieldMaskSchema: FieldMaskSchema = {\n aggregation: {wire: 'aggregation'},\n display: {wire: 'display'},\n name: {wire: 'name'},\n};\n\nconst alertOperandValueFieldMaskSchema: FieldMaskSchema = {\n boolValue: {wire: 'bool_value'},\n doubleValue: {wire: 'double_value'},\n stringValue: {wire: 'string_value'},\n};\n\nconst alertRunAsFieldMaskSchema: FieldMaskSchema = {\n servicePrincipalName: {wire: 'service_principal_name'},\n userName: {wire: 'user_name'},\n};\n\nconst cronScheduleFieldMaskSchema: FieldMaskSchema = {\n pauseStatus: {wire: 'pause_status'},\n quartzCronSchedule: {wire: 'quartz_cron_schedule'},\n timezoneId: {wire: 'timezone_id'},\n};\n"],"mappings":";;;;;AAQA,MAAa,cAAc;CACzB,KAAK;CACL,OAAO;CACP,gBAAgB;CAChB,KAAK;CACL,QAAQ;CACR,KAAK;CACL,KAAK;CACL,QAAQ;CACT;;;;;;;;AAaD,MAAa,uBAAuB;CAElC,SAAS;CACT,WAAW;CACX,IAAI;CACJ,OAAO;CACR;AAMD,MAAa,sBAAsB;CACjC,QAAQ;CACR,SAAS;CACV;AAMD,MAAa,qBAAqB;CAChC,WAAW;CACX,cAAc;CACd,OAAO;CACP,WAAW;CACX,uBAAuB;CACvB,oBAAoB;CACpB,SAAS;CACT,aAAa;CACd;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,kBAAkB,EAAC,MAAM,qBAAoB;CAC7C,eAAe,EAAC,MAAM,iBAAgB;CACvC;AAED,MAAM,8BAA+C;CACnD,QAAQ;EAAC,MAAM;EAAU,gBAAgB;EAAkC;CAC3E,OAAO;EAAC,MAAM;EAAS,gBAAgB;EAAiC;CACzE;AAED,MAAM,oCAAqD;CACzD,aAAa,EAAC,MAAM,eAAc;CAClC,SAAS,EAAC,MAAM,WAAU;CAC1B,MAAM,EAAC,MAAM,QAAO;CACrB;AAED,MAAM,mCAAoD;CACxD,WAAW,EAAC,MAAM,cAAa;CAC/B,aAAa,EAAC,MAAM,gBAAe;CACnC,aAAa,EAAC,MAAM,gBAAe;CACpC;AAED,MAAM,4BAA6C;CACjD,sBAAsB,EAAC,MAAM,0BAAyB;CACtD,UAAU,EAAC,MAAM,aAAY;CAC9B;AAED,MAAM,8BAA+C;CACnD,aAAa,EAAC,MAAM,gBAAe;CACnC,oBAAoB,EAAC,MAAM,wBAAuB;CAClD,YAAY,EAAC,MAAM,eAAc;CAClC"}
1
+ {"version":3,"file":"model.js","names":[],"sources":["../../src/v2/model.ts"],"sourcesContent":["// Code generated from API definition by Databricks SDK Generator. DO NOT EDIT.\n\nimport {Temporal} from '@js-temporal/polyfill';\nimport {FieldMask} from '@databricks/sdk-core/wkt';\nimport type {FieldMaskSchema} from '@databricks/sdk-core/wkt';\nimport {z} from 'zod';\n\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const Aggregation = {\n SUM: 'SUM',\n COUNT: 'COUNT',\n COUNT_DISTINCT: 'COUNT_DISTINCT',\n AVG: 'AVG',\n MEDIAN: 'MEDIAN',\n MIN: 'MIN',\n MAX: 'MAX',\n STDDEV: 'STDDEV',\n} as const;\nexport type Aggregation =\n | (typeof Aggregation)[keyof typeof Aggregation]\n | (string & {});\n\n/**\n * UNSPECIFIED - default unspecify value for proto enum, do not use it in the code\n * UNKNOWN - alert not yet evaluated\n * TRIGGERED - alert is triggered\n * OK - alert is not triggered\n * ERROR - alert evaluation failed\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const AlertEvaluationState = {\n /** Deprecated. Please avoid using `UNKNOWN` as empty_result_state. */\n UNKNOWN: 'UNKNOWN',\n TRIGGERED: 'TRIGGERED',\n OK: 'OK',\n ERROR: 'ERROR',\n} as const;\nexport type AlertEvaluationState =\n | (typeof AlertEvaluationState)[keyof typeof AlertEvaluationState]\n | (string & {});\n\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const AlertLifecycleState = {\n ACTIVE: 'ACTIVE',\n DELETED: 'DELETED',\n} as const;\nexport type AlertLifecycleState =\n | (typeof AlertLifecycleState)[keyof typeof AlertLifecycleState]\n | (string & {});\n\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const ComparisonOperator = {\n LESS_THAN: 'LESS_THAN',\n GREATER_THAN: 'GREATER_THAN',\n EQUAL: 'EQUAL',\n NOT_EQUAL: 'NOT_EQUAL',\n GREATER_THAN_OR_EQUAL: 'GREATER_THAN_OR_EQUAL',\n LESS_THAN_OR_EQUAL: 'LESS_THAN_OR_EQUAL',\n IS_NULL: 'IS_NULL',\n IS_NOT_NULL: 'IS_NOT_NULL',\n} as const;\nexport type ComparisonOperator =\n | (typeof ComparisonOperator)[keyof typeof ComparisonOperator]\n | (string & {});\n\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const SchedulePauseStatus = {\n UNPAUSED: 'UNPAUSED',\n PAUSED: 'PAUSED',\n} as const;\nexport type SchedulePauseStatus =\n | (typeof SchedulePauseStatus)[keyof typeof SchedulePauseStatus]\n | (string & {});\n\nexport interface Alert {\n /** The canonical identifier of the alert to retrieve information about. */\n id?: string | undefined;\n /** The display name of the alert. */\n displayName?: string | undefined;\n /** The owner's username. This field is set to \"Unavailable\" if the user has been deleted. */\n ownerUserName?: string | undefined;\n /** The timestamp indicating when the alert was created. */\n createTime?: Temporal.Instant | undefined;\n /** The timestamp indicating when the alert was updated. */\n updateTime?: Temporal.Instant | undefined;\n /** The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated. */\n parentPath?: string | undefined;\n /** Text of the query to be run. */\n queryText?: string | undefined;\n /** ID of the SQL warehouse attached to the alert. */\n warehouseId?: string | undefined;\n /**\n * The run as username or application ID of service principal.\n * On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role.\n * Deprecated: Use `run_as` field instead. This field will be removed in a future release.\n */\n runAsUserName?: string | undefined;\n evaluation?: AlertEvaluation | undefined;\n schedule?: CronSchedule | undefined;\n /** Indicates whether the query is trashed. */\n lifecycleState?: AlertLifecycleState | undefined;\n /** Custom summary for the alert. support mustache template. */\n customSummary?: string | undefined;\n /** Custom description for the alert. support mustache template. */\n customDescription?: string | undefined;\n /**\n * Specifies the identity that will be used to run the alert.\n * This field allows you to configure alerts to run as a specific user or service principal.\n * - For user identity: Set `user_name` to the email of an active workspace user. Users can only set this to their own email.\n * - For service principal: Set `service_principal_name` to the application ID. Requires the `servicePrincipal/user` role.\n * If not specified, the alert will run as the request user.\n */\n runAs?: AlertRunAs | undefined;\n /**\n * The actual identity that will be used to execute the alert.\n * This is an output-only field that shows the resolved run-as identity after applying\n * permissions and defaults.\n */\n effectiveRunAs?: AlertRunAs | undefined;\n /**\n * A list of parameters to pass into the alert SQL query statement containing parameter markers. Static values only.\n *\n * Reference a parameter in the query text as `:name`. Each parameter must have a unique, non-empty name.\n * Each parameter consists of a name, a value, and optionally a type. To represent a NULL\n * value, the `value` field may be omitted or set to `null` explicitly. If the `type` field\n * is omitted, the value is interpreted as a string.\n *\n * If the type is given, parameters will be checked for type correctness according\n * to the given type. A value is correct if the provided string can be converted to\n * the requested type using the `cast` function. The exact semantics are described in\n * the section [`cast` function](https://docs.databricks.com/sql/language-manual/functions/cast.html) of the SQL language reference.\n */\n parameters?: AlertStatementParameter[] | undefined;\n}\n\nexport interface AlertEvaluation {\n /** Source column from result to use to evaluate alert */\n source?: AlertOperandColumn | undefined;\n /** Operator used for comparison in alert evaluation. */\n comparisonOperator?: ComparisonOperator | undefined;\n /** Threshold to user for alert evaluation, can be a column or a value. */\n threshold?: AlertOperand | undefined;\n /** User or Notification Destination to notify when alert is triggered. */\n notification?: AlertNotification | undefined;\n /** Latest state of alert evaluation. */\n state?: AlertEvaluationState | undefined;\n /** Timestamp of the last evaluation. */\n lastEvaluatedAt?: Temporal.Instant | undefined;\n /** Alert state if result is empty. Please avoid setting this field to be `UNKNOWN` because `UNKNOWN` state is planned to be deprecated. */\n emptyResultState?: AlertEvaluationState | undefined;\n}\n\nexport interface AlertNotification {\n subscriptions?: AlertSubscription[] | undefined;\n /**\n * Number of seconds an alert waits after being triggered before it is allowed to send another notification.\n * If set to 0 or omitted, the alert will not send any further notifications after the first trigger\n * Setting this value to 1 allows the alert to send a notification on every evaluation where the condition is met, effectively making it always retrigger for notification purposes.\n */\n retriggerSeconds?: number | undefined;\n /** Whether to notify alert subscribers when alert returns back to normal. */\n notifyOnOk?: boolean | undefined;\n}\n\nexport interface AlertOperand {\n /** Only one of the following fields may be set, depending on the type of operand/threshold. */\n operand?:\n | {$case: 'column'; column: AlertOperandColumn}\n | {$case: 'value'; value: AlertOperandValue}\n | undefined;\n}\n\nexport interface AlertOperandColumn {\n name?: string | undefined;\n display?: string | undefined;\n /** If not set, the behavior is equivalent to using `First row` in the UI. */\n aggregation?: Aggregation | undefined;\n}\n\nexport interface AlertOperandValue {\n /** Only one of the following fields may be set, depending on the type of threshold value. */\n value?:\n | {$case: 'stringValue'; stringValue: string}\n | {$case: 'doubleValue'; doubleValue: number}\n | {$case: 'boolValue'; boolValue: boolean}\n | undefined;\n}\n\nexport interface AlertRunAs {\n identity?:\n | {\n $case: 'userName';\n /** The email of an active workspace user. Can only set this field to their own email. */\n userName: string;\n }\n | {\n $case: 'servicePrincipalName';\n /** Application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. */\n servicePrincipalName: string;\n }\n | undefined;\n}\n\n/**\n * A named parameter bound to the alert query. Only flat, named scalar parameters are\n * supported; complex types such as ARRAY, MAP, and STRUCT are not.\n */\nexport interface AlertStatementParameter {\n /**\n * The name of the parameter. Reference it in the query text as `:name`. Required, must be\n * non-empty, and must be unique across the alert's parameters.\n */\n name?: string | undefined;\n /** The value bound to the parameter, represented as a string. If omitted, the value is interpreted as NULL. */\n value?: string | undefined;\n /**\n * The SQL data type of the parameter, for example `STRING`, `INT`, or `DECIMAL(10, 2)`. If no type is given\n * the type is assumed to be `STRING`. Complex types such as `ARRAY`, `MAP`, and `STRUCT` are not supported.\n */\n type?: string | undefined;\n}\n\nexport interface AlertSubscription {\n subscriptionType?:\n | {$case: 'userEmail'; userEmail: string}\n | {$case: 'destinationId'; destinationId: string}\n | undefined;\n}\n\nexport interface CreateAlertRequest {\n alert?: Alert | undefined;\n}\n\nexport interface CronSchedule {\n /**\n * A cron expression using quartz syntax that specifies the schedule for this pipeline.\n * Should use the quartz format described here: http://www.quartz-scheduler.org/documentation/quartz-2.1.7/tutorials/tutorial-lesson-06.html\n */\n quartzCronSchedule?: string | undefined;\n /**\n * A Java timezone id. The schedule will be resolved using this timezone.\n * This will be combined with the quartz_cron_schedule to determine the schedule.\n * See https://docs.databricks.com/sql/language-manual/sql-ref-syntax-aux-conf-mgmt-set-timezone.html for details.\n */\n timezoneId?: string | undefined;\n /** Indicate whether this schedule is paused or not. */\n pauseStatus?: SchedulePauseStatus | undefined;\n}\n\n/**\n * Represents an empty message, similar to google.protobuf.Empty, which is not available in the firm\n * right now.\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface Empty {}\n\nexport interface GetAlertRequest {\n id?: string | undefined;\n}\n\nexport interface ListAlertsRequest {\n pageToken?: string | undefined;\n pageSize?: number | undefined;\n}\n\nexport interface ListAlertsResponse {\n alerts?: Alert[] | undefined;\n nextPageToken?: string | undefined;\n}\n\nexport interface TrashAlertRequest {\n id?: string | undefined;\n /** Whether to permanently delete the alert. If not set, the alert will only be soft deleted. */\n purge?: boolean | undefined;\n}\n\nexport interface UpdateAlertRequest {\n alert?: Alert | undefined;\n updateMask?: FieldMask<Alert> | undefined;\n}\n\nexport const unmarshalAlertSchema: z.ZodType<Alert> = z\n .object({\n id: z.string().optional(),\n display_name: z.string().optional(),\n owner_user_name: z.string().optional(),\n create_time: z\n .string()\n .transform(s => Temporal.Instant.from(s))\n .optional(),\n update_time: z\n .string()\n .transform(s => Temporal.Instant.from(s))\n .optional(),\n parent_path: z.string().optional(),\n query_text: z.string().optional(),\n warehouse_id: z.string().optional(),\n run_as_user_name: z.string().optional(),\n evaluation: z.lazy(() => unmarshalAlertEvaluationSchema).optional(),\n schedule: z.lazy(() => unmarshalCronScheduleSchema).optional(),\n lifecycle_state: z.string().optional(),\n custom_summary: z.string().optional(),\n custom_description: z.string().optional(),\n run_as: z.lazy(() => unmarshalAlertRunAsSchema).optional(),\n effective_run_as: z.lazy(() => unmarshalAlertRunAsSchema).optional(),\n parameters: z\n .array(z.lazy(() => unmarshalAlertStatementParameterSchema))\n .optional(),\n })\n .transform(d => ({\n id: d.id,\n displayName: d.display_name,\n ownerUserName: d.owner_user_name,\n createTime: d.create_time,\n updateTime: d.update_time,\n parentPath: d.parent_path,\n queryText: d.query_text,\n warehouseId: d.warehouse_id,\n runAsUserName: d.run_as_user_name,\n evaluation: d.evaluation,\n schedule: d.schedule,\n lifecycleState: d.lifecycle_state,\n customSummary: d.custom_summary,\n customDescription: d.custom_description,\n runAs: d.run_as,\n effectiveRunAs: d.effective_run_as,\n parameters: d.parameters,\n }));\n\nexport const unmarshalAlertEvaluationSchema: z.ZodType<AlertEvaluation> = z\n .object({\n source: z.lazy(() => unmarshalAlertOperandColumnSchema).optional(),\n comparison_operator: z.string().optional(),\n threshold: z.lazy(() => unmarshalAlertOperandSchema).optional(),\n notification: z.lazy(() => unmarshalAlertNotificationSchema).optional(),\n state: z.string().optional(),\n last_evaluated_at: z\n .string()\n .transform(s => Temporal.Instant.from(s))\n .optional(),\n empty_result_state: z.string().optional(),\n })\n .transform(d => ({\n source: d.source,\n comparisonOperator: d.comparison_operator,\n threshold: d.threshold,\n notification: d.notification,\n state: d.state,\n lastEvaluatedAt: d.last_evaluated_at,\n emptyResultState: d.empty_result_state,\n }));\n\nexport const unmarshalAlertNotificationSchema: z.ZodType<AlertNotification> = z\n .object({\n subscriptions: z\n .array(z.lazy(() => unmarshalAlertSubscriptionSchema))\n .optional(),\n retrigger_seconds: z.number().optional(),\n notify_on_ok: z.boolean().optional(),\n })\n .transform(d => ({\n subscriptions: d.subscriptions,\n retriggerSeconds: d.retrigger_seconds,\n notifyOnOk: d.notify_on_ok,\n }));\n\nexport const unmarshalAlertOperandSchema: z.ZodType<AlertOperand> = z\n .object({\n column: z.lazy(() => unmarshalAlertOperandColumnSchema).optional(),\n value: z.lazy(() => unmarshalAlertOperandValueSchema).optional(),\n })\n .transform(d => ({\n operand:\n d.column !== undefined\n ? {$case: 'column' as const, column: d.column}\n : d.value !== undefined\n ? {$case: 'value' as const, value: d.value}\n : undefined,\n }));\n\nexport const unmarshalAlertOperandColumnSchema: z.ZodType<AlertOperandColumn> =\n z\n .object({\n name: z.string().optional(),\n display: z.string().optional(),\n aggregation: z.string().optional(),\n })\n .transform(d => ({\n name: d.name,\n display: d.display,\n aggregation: d.aggregation,\n }));\n\nexport const unmarshalAlertOperandValueSchema: z.ZodType<AlertOperandValue> = z\n .object({\n string_value: z.string().optional(),\n double_value: z.number().optional(),\n bool_value: z.boolean().optional(),\n })\n .transform(d => ({\n value:\n d.string_value !== undefined\n ? {$case: 'stringValue' as const, stringValue: d.string_value}\n : d.double_value !== undefined\n ? {$case: 'doubleValue' as const, doubleValue: d.double_value}\n : d.bool_value !== undefined\n ? {$case: 'boolValue' as const, boolValue: d.bool_value}\n : undefined,\n }));\n\nexport const unmarshalAlertRunAsSchema: z.ZodType<AlertRunAs> = z\n .object({\n user_name: z.string().optional(),\n service_principal_name: z.string().optional(),\n })\n .transform(d => ({\n identity:\n d.user_name !== undefined\n ? {$case: 'userName' as const, userName: d.user_name}\n : d.service_principal_name !== undefined\n ? {\n $case: 'servicePrincipalName' as const,\n servicePrincipalName: d.service_principal_name,\n }\n : undefined,\n }));\n\nexport const unmarshalAlertStatementParameterSchema: z.ZodType<AlertStatementParameter> =\n z\n .object({\n name: z.string().optional(),\n value: z.string().optional(),\n type: z.string().optional(),\n })\n .transform(d => ({\n name: d.name,\n value: d.value,\n type: d.type,\n }));\n\nexport const unmarshalAlertSubscriptionSchema: z.ZodType<AlertSubscription> = z\n .object({\n user_email: z.string().optional(),\n destination_id: z.string().optional(),\n })\n .transform(d => ({\n subscriptionType:\n d.user_email !== undefined\n ? {$case: 'userEmail' as const, userEmail: d.user_email}\n : d.destination_id !== undefined\n ? {$case: 'destinationId' as const, destinationId: d.destination_id}\n : undefined,\n }));\n\nexport const unmarshalCronScheduleSchema: z.ZodType<CronSchedule> = z\n .object({\n quartz_cron_schedule: z.string().optional(),\n timezone_id: z.string().optional(),\n pause_status: z.string().optional(),\n })\n .transform(d => ({\n quartzCronSchedule: d.quartz_cron_schedule,\n timezoneId: d.timezone_id,\n pauseStatus: d.pause_status,\n }));\n\nexport const unmarshalEmptySchema: z.ZodType<Empty> = z.object({});\n\nexport const unmarshalListAlertsResponseSchema: z.ZodType<ListAlertsResponse> =\n z\n .object({\n alerts: z.array(z.lazy(() => unmarshalAlertSchema)).optional(),\n next_page_token: z.string().optional(),\n })\n .transform(d => ({\n alerts: d.alerts,\n nextPageToken: d.next_page_token,\n }));\n\nexport const marshalAlertSchema: z.ZodType = z\n .object({\n id: z.string().optional(),\n displayName: z.string().optional(),\n ownerUserName: z.string().optional(),\n createTime: z\n .any()\n .transform((d: Temporal.Instant) => d.toString())\n .optional(),\n updateTime: z\n .any()\n .transform((d: Temporal.Instant) => d.toString())\n .optional(),\n parentPath: z.string().optional(),\n queryText: z.string().optional(),\n warehouseId: z.string().optional(),\n runAsUserName: z.string().optional(),\n evaluation: z.lazy(() => marshalAlertEvaluationSchema).optional(),\n schedule: z.lazy(() => marshalCronScheduleSchema).optional(),\n lifecycleState: z.string().optional(),\n customSummary: z.string().optional(),\n customDescription: z.string().optional(),\n runAs: z.lazy(() => marshalAlertRunAsSchema).optional(),\n effectiveRunAs: z.lazy(() => marshalAlertRunAsSchema).optional(),\n parameters: z\n .array(z.lazy(() => marshalAlertStatementParameterSchema))\n .optional(),\n })\n .transform(d => ({\n id: d.id,\n display_name: d.displayName,\n owner_user_name: d.ownerUserName,\n create_time: d.createTime,\n update_time: d.updateTime,\n parent_path: d.parentPath,\n query_text: d.queryText,\n warehouse_id: d.warehouseId,\n run_as_user_name: d.runAsUserName,\n evaluation: d.evaluation,\n schedule: d.schedule,\n lifecycle_state: d.lifecycleState,\n custom_summary: d.customSummary,\n custom_description: d.customDescription,\n run_as: d.runAs,\n effective_run_as: d.effectiveRunAs,\n parameters: d.parameters,\n }));\n\nexport const marshalAlertEvaluationSchema: z.ZodType = z\n .object({\n source: z.lazy(() => marshalAlertOperandColumnSchema).optional(),\n comparisonOperator: z.string().optional(),\n threshold: z.lazy(() => marshalAlertOperandSchema).optional(),\n notification: z.lazy(() => marshalAlertNotificationSchema).optional(),\n state: z.string().optional(),\n lastEvaluatedAt: z\n .any()\n .transform((d: Temporal.Instant) => d.toString())\n .optional(),\n emptyResultState: z.string().optional(),\n })\n .transform(d => ({\n source: d.source,\n comparison_operator: d.comparisonOperator,\n threshold: d.threshold,\n notification: d.notification,\n state: d.state,\n last_evaluated_at: d.lastEvaluatedAt,\n empty_result_state: d.emptyResultState,\n }));\n\nexport const marshalAlertNotificationSchema: z.ZodType = z\n .object({\n subscriptions: z\n .array(z.lazy(() => marshalAlertSubscriptionSchema))\n .optional(),\n retriggerSeconds: z.number().optional(),\n notifyOnOk: z.boolean().optional(),\n })\n .transform(d => ({\n subscriptions: d.subscriptions,\n retrigger_seconds: d.retriggerSeconds,\n notify_on_ok: d.notifyOnOk,\n }));\n\nexport const marshalAlertOperandSchema: z.ZodType = z\n .object({\n operand: z\n .discriminatedUnion('$case', [\n z.object({\n $case: z.literal('column'),\n column: z.lazy(() => marshalAlertOperandColumnSchema),\n }),\n z.object({\n $case: z.literal('value'),\n value: z.lazy(() => marshalAlertOperandValueSchema),\n }),\n ])\n .optional(),\n })\n .transform(d => ({\n ...(d.operand?.$case === 'column' && {column: d.operand.column}),\n ...(d.operand?.$case === 'value' && {value: d.operand.value}),\n }));\n\nexport const marshalAlertOperandColumnSchema: z.ZodType = z\n .object({\n name: z.string().optional(),\n display: z.string().optional(),\n aggregation: z.string().optional(),\n })\n .transform(d => ({\n name: d.name,\n display: d.display,\n aggregation: d.aggregation,\n }));\n\nexport const marshalAlertOperandValueSchema: z.ZodType = z\n .object({\n value: z\n .discriminatedUnion('$case', [\n z.object({$case: z.literal('stringValue'), stringValue: z.string()}),\n z.object({$case: z.literal('doubleValue'), doubleValue: z.number()}),\n z.object({$case: z.literal('boolValue'), boolValue: z.boolean()}),\n ])\n .optional(),\n })\n .transform(d => ({\n ...(d.value?.$case === 'stringValue' && {\n string_value: d.value.stringValue,\n }),\n ...(d.value?.$case === 'doubleValue' && {\n double_value: d.value.doubleValue,\n }),\n ...(d.value?.$case === 'boolValue' && {bool_value: d.value.boolValue}),\n }));\n\nexport const marshalAlertRunAsSchema: z.ZodType = z\n .object({\n identity: z\n .discriminatedUnion('$case', [\n z.object({$case: z.literal('userName'), userName: z.string()}),\n z.object({\n $case: z.literal('servicePrincipalName'),\n servicePrincipalName: z.string(),\n }),\n ])\n .optional(),\n })\n .transform(d => ({\n ...(d.identity?.$case === 'userName' && {user_name: d.identity.userName}),\n ...(d.identity?.$case === 'servicePrincipalName' && {\n service_principal_name: d.identity.servicePrincipalName,\n }),\n }));\n\nexport const marshalAlertStatementParameterSchema: z.ZodType = z\n .object({\n name: z.string().optional(),\n value: z.string().optional(),\n type: z.string().optional(),\n })\n .transform(d => ({\n name: d.name,\n value: d.value,\n type: d.type,\n }));\n\nexport const marshalAlertSubscriptionSchema: z.ZodType = z\n .object({\n subscriptionType: z\n .discriminatedUnion('$case', [\n z.object({$case: z.literal('userEmail'), userEmail: z.string()}),\n z.object({\n $case: z.literal('destinationId'),\n destinationId: z.string(),\n }),\n ])\n .optional(),\n })\n .transform(d => ({\n ...(d.subscriptionType?.$case === 'userEmail' && {\n user_email: d.subscriptionType.userEmail,\n }),\n ...(d.subscriptionType?.$case === 'destinationId' && {\n destination_id: d.subscriptionType.destinationId,\n }),\n }));\n\nexport const marshalCronScheduleSchema: z.ZodType = z\n .object({\n quartzCronSchedule: z.string().optional(),\n timezoneId: z.string().optional(),\n pauseStatus: z.string().optional(),\n })\n .transform(d => ({\n quartz_cron_schedule: d.quartzCronSchedule,\n timezone_id: d.timezoneId,\n pause_status: d.pauseStatus,\n }));\n\nconst alertFieldMaskSchema: FieldMaskSchema = {\n createTime: {wire: 'create_time'},\n customDescription: {wire: 'custom_description'},\n customSummary: {wire: 'custom_summary'},\n displayName: {wire: 'display_name'},\n effectiveRunAs: {\n wire: 'effective_run_as',\n children: () => alertRunAsFieldMaskSchema,\n },\n evaluation: {\n wire: 'evaluation',\n children: () => alertEvaluationFieldMaskSchema,\n },\n id: {wire: 'id'},\n lifecycleState: {wire: 'lifecycle_state'},\n ownerUserName: {wire: 'owner_user_name'},\n parameters: {wire: 'parameters'},\n parentPath: {wire: 'parent_path'},\n queryText: {wire: 'query_text'},\n runAs: {wire: 'run_as', children: () => alertRunAsFieldMaskSchema},\n runAsUserName: {wire: 'run_as_user_name'},\n schedule: {wire: 'schedule', children: () => cronScheduleFieldMaskSchema},\n updateTime: {wire: 'update_time'},\n warehouseId: {wire: 'warehouse_id'},\n};\n\nexport function alertFieldMask(...paths: string[]): FieldMask<Alert> {\n return FieldMask.build<Alert>(paths, alertFieldMaskSchema);\n}\n\nconst alertEvaluationFieldMaskSchema: FieldMaskSchema = {\n comparisonOperator: {wire: 'comparison_operator'},\n emptyResultState: {wire: 'empty_result_state'},\n lastEvaluatedAt: {wire: 'last_evaluated_at'},\n notification: {\n wire: 'notification',\n children: () => alertNotificationFieldMaskSchema,\n },\n source: {wire: 'source', children: () => alertOperandColumnFieldMaskSchema},\n state: {wire: 'state'},\n threshold: {wire: 'threshold', children: () => alertOperandFieldMaskSchema},\n};\n\nconst alertNotificationFieldMaskSchema: FieldMaskSchema = {\n notifyOnOk: {wire: 'notify_on_ok'},\n retriggerSeconds: {wire: 'retrigger_seconds'},\n subscriptions: {wire: 'subscriptions'},\n};\n\nconst alertOperandFieldMaskSchema: FieldMaskSchema = {\n column: {wire: 'column', children: () => alertOperandColumnFieldMaskSchema},\n value: {wire: 'value', children: () => alertOperandValueFieldMaskSchema},\n};\n\nconst alertOperandColumnFieldMaskSchema: FieldMaskSchema = {\n aggregation: {wire: 'aggregation'},\n display: {wire: 'display'},\n name: {wire: 'name'},\n};\n\nconst alertOperandValueFieldMaskSchema: FieldMaskSchema = {\n boolValue: {wire: 'bool_value'},\n doubleValue: {wire: 'double_value'},\n stringValue: {wire: 'string_value'},\n};\n\nconst alertRunAsFieldMaskSchema: FieldMaskSchema = {\n servicePrincipalName: {wire: 'service_principal_name'},\n userName: {wire: 'user_name'},\n};\n\nconst cronScheduleFieldMaskSchema: FieldMaskSchema = {\n pauseStatus: {wire: 'pause_status'},\n quartzCronSchedule: {wire: 'quartz_cron_schedule'},\n timezoneId: {wire: 'timezone_id'},\n};\n"],"mappings":";;;;;AAQA,MAAa,cAAc;CACzB,KAAK;CACL,OAAO;CACP,gBAAgB;CAChB,KAAK;CACL,QAAQ;CACR,KAAK;CACL,KAAK;CACL,QAAQ;CACT;;;;;;;;AAaD,MAAa,uBAAuB;CAElC,SAAS;CACT,WAAW;CACX,IAAI;CACJ,OAAO;CACR;AAMD,MAAa,sBAAsB;CACjC,QAAQ;CACR,SAAS;CACV;AAMD,MAAa,qBAAqB;CAChC,WAAW;CACX,cAAc;CACd,OAAO;CACP,WAAW;CACX,uBAAuB;CACvB,oBAAoB;CACpB,SAAS;CACT,aAAa;CACd;AAMD,MAA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AAC,MAAM,qBAAoB;CAC7C,eAAe,EAAC,MAAM,iBAAgB;CACvC;AAED,MAAM,8BAA+C;CACnD,QAAQ;EAAC,MAAM;EAAU,gBAAgB;EAAkC;CAC3E,OAAO;EAAC,MAAM;EAAS,gBAAgB;EAAiC;CACzE;AAED,MAAM,oCAAqD;CACzD,aAAa,EAAC,MAAM,eAAc;CAClC,SAAS,EAAC,MAAM,WAAU;CAC1B,MAAM,EAAC,MAAM,QAAO;CACrB;AAED,MAAM,mCAAoD;CACxD,WAAW,EAAC,MAAM,cAAa;CAC/B,aAAa,EAAC,MAAM,gBAAe;CACnC,aAAa,EAAC,MAAM,gBAAe;CACpC;AAED,MAAM,4BAA6C;CACjD,sBAAsB,EAAC,MAAM,0BAAyB;CACtD,UAAU,EAAC,MAAM,aAAY;CAC9B;AAED,MAAM,8BAA+C;CACnD,aAAa,EAAC,MAAM,gBAAe;CACnC,oBAAoB,EAAC,MAAM,wBAAuB;CAClD,YAAY,EAAC,MAAM,eAAc;CAClC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databricks/sdk-alerts",
3
- "version": "0.49.0",
3
+ "version": "0.50.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "exports": {
@@ -38,9 +38,9 @@
38
38
  "directory": "packages/alerts"
39
39
  },
40
40
  "dependencies": {
41
- "@databricks/sdk-auth": ">=0.49.0 <1.0.0",
42
- "@databricks/sdk-core": ">=0.49.0 <1.0.0",
43
- "@databricks/sdk-options": ">=0.49.0 <1.0.0",
41
+ "@databricks/sdk-auth": ">=0.50.0 <1.0.0",
42
+ "@databricks/sdk-core": ">=0.50.0 <1.0.0",
43
+ "@databricks/sdk-options": ">=0.50.0 <1.0.0",
44
44
  "@js-temporal/polyfill": "^0.5.0",
45
45
  "json-bigint": "^1.0.0",
46
46
  "zod": "^4.3.6"