@databricks/sdk-dataquality 0.51.2 → 0.51.4

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-dataquality";
3
- var version = "0.51.2";
3
+ var version = "0.51.4";
4
4
 
5
5
  //#endregion
6
6
  export { name, version };
@@ -71,6 +71,20 @@ type RefreshTrigger = (typeof RefreshTrigger)[keyof typeof RefreshTrigger] | (st
71
71
  interface AnomalyDetectionConfig {
72
72
  /** List of fully qualified table names to exclude from anomaly detection. */
73
73
  excludedTableFullNames?: string[] | undefined;
74
+ /**
75
+ * Who to alert when anomaly detection finds unhealthy tables in this schema. Applicable to
76
+ * `schema` monitors only. This is the same schema alert you manage from **Manage alerts** in the
77
+ * Data Quality Monitoring UI, so a change made in either place shows in both.
78
+ *
79
+ * Set the recipients in `on_unhealthy_table`; `on_failure` is not supported here. Only
80
+ * `destination_ids` and `destination_user_ids` are supported.
81
+ *
82
+ * On update, an update mask of `*`, `anomaly_detection_config`, or
83
+ * `anomaly_detection_config.notification_settings` replaces the alert's recipients with the ones
84
+ * in the request; omitting the field, or leaving both recipient lists empty, removes the alert.
85
+ * Other masks leave the alert unchanged.
86
+ */
87
+ notificationSettings?: NotificationSettings | undefined;
74
88
  }
75
89
  /** Request to cancel a refresh. */
76
90
  interface CancelRefreshRequest {
@@ -356,11 +370,29 @@ interface Monitor {
356
370
  interface NotificationDestination {
357
371
  /** The list of email addresses to send the notification to. A maximum of 5 email addresses is supported. */
358
372
  emailAddresses?: string[] | undefined;
373
+ /**
374
+ * The notification-destination IDs (Slack / Teams / webhook) to send the notification to. The
375
+ * destinations must already exist in the workspace; a workspace admin creates them. A maximum of
376
+ * 25 destination IDs is supported.
377
+ * Only supported on schema monitors, via `anomaly_detection_config`; rejected on table monitors.
378
+ */
379
+ destinationIds?: string[] | undefined;
380
+ /**
381
+ * The IDs of the workspace users to notify by email. A maximum of 25 user IDs is supported.
382
+ * Only supported on schema monitors, via `anomaly_detection_config`; rejected on table monitors.
383
+ */
384
+ destinationUserIds?: bigint[] | undefined;
359
385
  }
360
386
  /** Settings for sending notifications on the data quality monitoring. */
361
387
  interface NotificationSettings {
362
388
  /** Destinations to send notifications on failure/timeout. */
363
389
  onFailure?: NotificationDestination | undefined;
390
+ /**
391
+ * Recipients to notify when anomaly detection finds unhealthy tables in the schema. Each
392
+ * recipient gets one notification per important unhealthy table. Only supported on schema
393
+ * monitors, via `anomaly_detection_config`.
394
+ */
395
+ onUnhealthyTable?: NotificationDestination | undefined;
364
396
  }
365
397
  /** The Refresh object gives information on a refresh of the data quality monitoring pipeline. */
366
398
  interface Refresh {
@@ -1 +1 @@
1
- {"version":3,"file":"model.d.ts","names":[],"sources":["../../src/v1/model.ts"],"mappings":";;;;;cAQa,sBAAA;EAAA,qFAsBH;EAAA,iFAAA;EAAA;;;;;;+EACE;EAAA;;;KAAA,sBAAA,WACA,sBAAA,eAAqC,sBAAA;;cAKpC,uBAAA;EAAA;;;;KAQD,uBAAA,WACA,uBAAA,eAAsC,uBAAA;;cAKrC,6BAAA;EAAA,yGAL4D;EAAA,qGAiB/D;EAAA,iGAAA;EAAA;;KACE,6BAAA,WACA,6BAAA,eAA4C,6BAAA;;cAK3C,mBAAA;EAAA;;;;;;;KAQD,mBAAA,WACA,mBAAA,eAAkC,mBAAA;;cAKjC,oBAAA;EAAA;;;;KAQD,oBAAA,WACA,oBAAA,eAAmC,oBAAA;;cAKlC,YAAA;EAAA;2EAnBoD;EAAA,yEAYvD;EAAA,yEAAA;EAAA;;;KAoBE,YAAA,WACA,YAAA,eAA2B,YAAA;AApBvC;AAAA,cAyBa,cAAA;EAAA,6EAxBD;EAAA,2EAKC;EAAA;;;KA4BD,cAAA,WACA,cAAA,eAA6B,cAAA;;UAIxB,sBAAA;;EAEf,sBAAA;AAAA;;UAIe,oBAAA;EA1BO;EA4BtB,UAAA;EA3BU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etectionConfigSchema = z.object({ excluded_table_full_names: z.array(z.string()).optional() }).transform((d) => ({ excludedTableFullNames: d.excluded_table_full_names }));
63
+ const unmarshalAnomalyDetectionConfigSchema = z.object({
64
+ excluded_table_full_names: z.array(z.string()).optional(),
65
+ notification_settings: z.lazy(() => unmarshalNotificationSettingsSchema).optional()
66
+ }).transform((d) => ({
67
+ excludedTableFullNames: d.excluded_table_full_names,
68
+ notificationSettings: d.notification_settings
69
+ }));
64
70
  const unmarshalCancelRefreshResponseSchema = z.object({ refresh: z.lazy(() => unmarshalRefreshSchema).optional() }).transform((d) => ({ refresh: d.refresh }));
65
71
  const unmarshalCronScheduleSchema = z.object({
66
72
  quartz_cron_expression: z.string().optional(),
@@ -178,8 +184,26 @@ const unmarshalMonitorSchema = z.object({
178
184
  anomalyDetectionConfig: d.anomaly_detection_config,
179
185
  dataProfilingConfig: d.data_profiling_config
180
186
  }));
181
- const unmarshalNotificationDestinationSchema = z.object({ email_addresses: z.array(z.string()).optional() }).transform((d) => ({ emailAddresses: d.email_addresses }));
182
- const unmarshalNotificationSettingsSchema = z.object({ on_failure: z.lazy(() => unmarshalNotificationDestinationSchema).optional() }).transform((d) => ({ onFailure: d.on_failure }));
187
+ const unmarshalNotificationDestinationSchema = z.object({
188
+ email_addresses: z.array(z.string()).optional(),
189
+ destination_ids: z.array(z.string()).optional(),
190
+ destination_user_ids: z.array(z.union([
191
+ z.number(),
192
+ z.bigint(),
193
+ z.string()
194
+ ]).transform((v) => BigInt(v))).optional()
195
+ }).transform((d) => ({
196
+ emailAddresses: d.email_addresses,
197
+ destinationIds: d.destination_ids,
198
+ destinationUserIds: d.destination_user_ids
199
+ }));
200
+ const unmarshalNotificationSettingsSchema = z.object({
201
+ on_failure: z.lazy(() => unmarshalNotificationDestinationSchema).optional(),
202
+ on_unhealthy_table: z.lazy(() => unmarshalNotificationDestinationSchema).optional()
203
+ }).transform((d) => ({
204
+ onFailure: d.on_failure,
205
+ onUnhealthyTable: d.on_unhealthy_table
206
+ }));
183
207
  const unmarshalRefreshSchema = z.object({
184
208
  object_type: z.string().optional(),
185
209
  object_id: z.string().optional(),
@@ -219,7 +243,13 @@ const unmarshalTimeSeriesConfigSchema = z.object({
219
243
  timestampColumn: d.timestamp_column,
220
244
  granularities: d.granularities
221
245
  }));
222
- const marshalAnomalyDetectionConfigSchema = z.object({ excludedTableFullNames: z.array(z.string()).optional() }).transform((d) => ({ excluded_table_full_names: d.excludedTableFullNames }));
246
+ const marshalAnomalyDetectionConfigSchema = z.object({
247
+ excludedTableFullNames: z.array(z.string()).optional(),
248
+ notificationSettings: z.lazy(() => marshalNotificationSettingsSchema).optional()
249
+ }).transform((d) => ({
250
+ excluded_table_full_names: d.excludedTableFullNames,
251
+ notification_settings: d.notificationSettings
252
+ }));
223
253
  const marshalCancelRefreshRequestSchema = z.object({
224
254
  objectType: z.string().optional(),
225
255
  objectId: z.string().optional(),
@@ -331,8 +361,22 @@ const marshalMonitorSchema = z.object({
331
361
  anomaly_detection_config: d.anomalyDetectionConfig,
332
362
  data_profiling_config: d.dataProfilingConfig
333
363
  }));
334
- const marshalNotificationDestinationSchema = z.object({ emailAddresses: z.array(z.string()).optional() }).transform((d) => ({ email_addresses: d.emailAddresses }));
335
- const marshalNotificationSettingsSchema = z.object({ onFailure: z.lazy(() => marshalNotificationDestinationSchema).optional() }).transform((d) => ({ on_failure: d.onFailure }));
364
+ const marshalNotificationDestinationSchema = z.object({
365
+ emailAddresses: z.array(z.string()).optional(),
366
+ destinationIds: z.array(z.string()).optional(),
367
+ destinationUserIds: z.array(z.bigint()).optional()
368
+ }).transform((d) => ({
369
+ email_addresses: d.emailAddresses,
370
+ destination_ids: d.destinationIds,
371
+ destination_user_ids: d.destinationUserIds
372
+ }));
373
+ const marshalNotificationSettingsSchema = z.object({
374
+ onFailure: z.lazy(() => marshalNotificationDestinationSchema).optional(),
375
+ onUnhealthyTable: z.lazy(() => marshalNotificationDestinationSchema).optional()
376
+ }).transform((d) => ({
377
+ on_failure: d.onFailure,
378
+ on_unhealthy_table: d.onUnhealthyTable
379
+ }));
336
380
  const marshalRefreshSchema = z.object({
337
381
  objectType: z.string().optional(),
338
382
  objectId: z.string().optional(),
@@ -360,7 +404,13 @@ const marshalTimeSeriesConfigSchema = z.object({
360
404
  timestamp_column: d.timestampColumn,
361
405
  granularities: d.granularities
362
406
  }));
363
- const anomalyDetectionConfigFieldMaskSchema = { excludedTableFullNames: { wire: "excluded_table_full_names" } };
407
+ const anomalyDetectionConfigFieldMaskSchema = {
408
+ excludedTableFullNames: { wire: "excluded_table_full_names" },
409
+ notificationSettings: {
410
+ wire: "notification_settings",
411
+ children: () => notificationSettingsFieldMaskSchema
412
+ }
413
+ };
364
414
  const cronScheduleFieldMaskSchema = {
365
415
  pauseStatus: { wire: "pause_status" },
366
416
  quartzCronExpression: { wire: "quartz_cron_expression" },
@@ -426,11 +476,21 @@ const monitorFieldMaskSchema = {
426
476
  function monitorFieldMask(...paths) {
427
477
  return FieldMask.build(paths, monitorFieldMaskSchema);
428
478
  }
429
- const notificationDestinationFieldMaskSchema = { emailAddresses: { wire: "email_addresses" } };
430
- const notificationSettingsFieldMaskSchema = { onFailure: {
431
- wire: "on_failure",
432
- children: () => notificationDestinationFieldMaskSchema
433
- } };
479
+ const notificationDestinationFieldMaskSchema = {
480
+ destinationIds: { wire: "destination_ids" },
481
+ destinationUserIds: { wire: "destination_user_ids" },
482
+ emailAddresses: { wire: "email_addresses" }
483
+ };
484
+ const notificationSettingsFieldMaskSchema = {
485
+ onFailure: {
486
+ wire: "on_failure",
487
+ children: () => notificationDestinationFieldMaskSchema
488
+ },
489
+ onUnhealthyTable: {
490
+ wire: "on_unhealthy_table",
491
+ children: () => notificationDestinationFieldMaskSchema
492
+ }
493
+ };
434
494
  const refreshFieldMaskSchema = {
435
495
  endTimeMs: { wire: "end_time_ms" },
436
496
  message: { wire: "message" },
@@ -1 +1 @@
1
- {"version":3,"file":"model.js","names":[],"sources":["../../src/v1/model.ts"],"sourcesContent":["// Code generated from API definition by Databricks SDK Generator. DO NOT EDIT.\n\nimport {FieldMask} from '@databricks/sdk-core/wkt';\nimport type {FieldMaskSchema} from '@databricks/sdk-core/wkt';\nimport {z} from 'zod';\n\n/** The granularity for aggregating data into time windows based on their timestamp. */\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const AggregationGranularity = {\n AGGREGATION_GRANULARITY_UNSPECIFIED: 'AGGREGATION_GRANULARITY_UNSPECIFIED',\n /** 5 minutes. */\n AGGREGATION_GRANULARITY_5_MINUTES: 'AGGREGATION_GRANULARITY_5_MINUTES',\n /** 30 minutes. */\n AGGREGATION_GRANULARITY_30_MINUTES: 'AGGREGATION_GRANULARITY_30_MINUTES',\n /** 1 hour. */\n AGGREGATION_GRANULARITY_1_HOUR: 'AGGREGATION_GRANULARITY_1_HOUR',\n /** 1 day. */\n AGGREGATION_GRANULARITY_1_DAY: 'AGGREGATION_GRANULARITY_1_DAY',\n /** 1 week. */\n AGGREGATION_GRANULARITY_1_WEEK: 'AGGREGATION_GRANULARITY_1_WEEK',\n /** 2 weeks. */\n AGGREGATION_GRANULARITY_2_WEEKS: 'AGGREGATION_GRANULARITY_2_WEEKS',\n /** 3 weeks. */\n AGGREGATION_GRANULARITY_3_WEEKS: 'AGGREGATION_GRANULARITY_3_WEEKS',\n /** 4 weeks. */\n AGGREGATION_GRANULARITY_4_WEEKS: 'AGGREGATION_GRANULARITY_4_WEEKS',\n /** 1 month. */\n AGGREGATION_GRANULARITY_1_MONTH: 'AGGREGATION_GRANULARITY_1_MONTH',\n /** 1 year. */\n AGGREGATION_GRANULARITY_1_YEAR: 'AGGREGATION_GRANULARITY_1_YEAR',\n} as const;\nexport type AggregationGranularity =\n | (typeof AggregationGranularity)[keyof typeof AggregationGranularity]\n | (string & {});\n\n/** The data quality monitoring workflow cron schedule pause status. */\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const CronSchedulePauseStatus = {\n CRON_SCHEDULE_PAUSE_STATUS_UNSPECIFIED:\n 'CRON_SCHEDULE_PAUSE_STATUS_UNSPECIFIED',\n /** The cron schedule is not paused. */\n CRON_SCHEDULE_PAUSE_STATUS_UNPAUSED: 'CRON_SCHEDULE_PAUSE_STATUS_UNPAUSED',\n /** The cron schedule is paused. */\n CRON_SCHEDULE_PAUSE_STATUS_PAUSED: 'CRON_SCHEDULE_PAUSE_STATUS_PAUSED',\n} as const;\nexport type CronSchedulePauseStatus =\n | (typeof CronSchedulePauseStatus)[keyof typeof CronSchedulePauseStatus]\n | (string & {});\n\n/** The custom metric type. */\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const DataProfilingCustomMetricType = {\n DATA_PROFILING_CUSTOM_METRIC_TYPE_UNSPECIFIED:\n 'DATA_PROFILING_CUSTOM_METRIC_TYPE_UNSPECIFIED',\n /** Only depend on the existing columns in the table. */\n DATA_PROFILING_CUSTOM_METRIC_TYPE_AGGREGATE:\n 'DATA_PROFILING_CUSTOM_METRIC_TYPE_AGGREGATE',\n /** Only depend on previously computed aggregate metrics. */\n DATA_PROFILING_CUSTOM_METRIC_TYPE_DERIVED:\n 'DATA_PROFILING_CUSTOM_METRIC_TYPE_DERIVED',\n /** Depend on previously computed aggregate or derived metrics. */\n DATA_PROFILING_CUSTOM_METRIC_TYPE_DRIFT:\n 'DATA_PROFILING_CUSTOM_METRIC_TYPE_DRIFT',\n} as const;\nexport type DataProfilingCustomMetricType =\n | (typeof DataProfilingCustomMetricType)[keyof typeof DataProfilingCustomMetricType]\n | (string & {});\n\n/** The status of the data profiling monitor. */\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const DataProfilingStatus = {\n DATA_PROFILING_STATUS_UNSPECIFIED: 'DATA_PROFILING_STATUS_UNSPECIFIED',\n DATA_PROFILING_STATUS_ACTIVE: 'DATA_PROFILING_STATUS_ACTIVE',\n DATA_PROFILING_STATUS_PENDING: 'DATA_PROFILING_STATUS_PENDING',\n DATA_PROFILING_STATUS_DELETE_PENDING: 'DATA_PROFILING_STATUS_DELETE_PENDING',\n DATA_PROFILING_STATUS_ERROR: 'DATA_PROFILING_STATUS_ERROR',\n DATA_PROFILING_STATUS_FAILED: 'DATA_PROFILING_STATUS_FAILED',\n} as const;\nexport type DataProfilingStatus =\n | (typeof DataProfilingStatus)[keyof typeof DataProfilingStatus]\n | (string & {});\n\n/** Inference problem type the model aims to solve. */\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const InferenceProblemType = {\n INFERENCE_PROBLEM_TYPE_UNSPECIFIED: 'INFERENCE_PROBLEM_TYPE_UNSPECIFIED',\n /** Classification inference problem. */\n INFERENCE_PROBLEM_TYPE_CLASSIFICATION:\n 'INFERENCE_PROBLEM_TYPE_CLASSIFICATION',\n /** Regression inference problem. */\n INFERENCE_PROBLEM_TYPE_REGRESSION: 'INFERENCE_PROBLEM_TYPE_REGRESSION',\n} as const;\nexport type InferenceProblemType =\n | (typeof InferenceProblemType)[keyof typeof InferenceProblemType]\n | (string & {});\n\n/** The state of the refresh. */\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const RefreshState = {\n MONITOR_REFRESH_STATE_UNKNOWN: 'MONITOR_REFRESH_STATE_UNKNOWN',\n /** The refresh is pending. */\n MONITOR_REFRESH_STATE_PENDING: 'MONITOR_REFRESH_STATE_PENDING',\n /** The refresh is running. */\n MONITOR_REFRESH_STATE_RUNNING: 'MONITOR_REFRESH_STATE_RUNNING',\n /** The refresh is successful. */\n MONITOR_REFRESH_STATE_SUCCESS: 'MONITOR_REFRESH_STATE_SUCCESS',\n /** The refresh has failed. */\n MONITOR_REFRESH_STATE_FAILED: 'MONITOR_REFRESH_STATE_FAILED',\n /** The refresh is cancelled. */\n MONITOR_REFRESH_STATE_CANCELED: 'MONITOR_REFRESH_STATE_CANCELED',\n} as const;\nexport type RefreshState =\n | (typeof RefreshState)[keyof typeof RefreshState]\n | (string & {});\n\n/** The trigger of the refresh. */\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const RefreshTrigger = {\n MONITOR_REFRESH_TRIGGER_UNKNOWN: 'MONITOR_REFRESH_TRIGGER_UNKNOWN',\n /** The refresh has been triggered manually. */\n MONITOR_REFRESH_TRIGGER_MANUAL: 'MONITOR_REFRESH_TRIGGER_MANUAL',\n /** The refresh has been triggered from a schedule. */\n MONITOR_REFRESH_TRIGGER_SCHEDULE: 'MONITOR_REFRESH_TRIGGER_SCHEDULE',\n /** The refresh has been triggered from a data change. */\n MONITOR_REFRESH_TRIGGER_DATA_CHANGE: 'MONITOR_REFRESH_TRIGGER_DATA_CHANGE',\n} as const;\nexport type RefreshTrigger =\n | (typeof RefreshTrigger)[keyof typeof RefreshTrigger]\n | (string & {});\n\n/** Anomaly Detection Configurations. */\nexport interface AnomalyDetectionConfig {\n /** List of fully qualified table names to exclude from anomaly detection. */\n excludedTableFullNames?: string[] | undefined;\n}\n\n/** Request to cancel a refresh. */\nexport interface CancelRefreshRequest {\n /** The type of the monitored object. Can be one of the following: `schema` or `table`. */\n objectType?: string | undefined;\n /**\n * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.\n *\n * Find the `schema_id` from either:\n * 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.\n *\n * Find the `table_id` from either:\n * 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.\n */\n objectId?: string | undefined;\n /** Unique id of the refresh operation. */\n refreshId?: bigint | undefined;\n}\n\n/** Response to cancelling a refresh. */\nexport interface CancelRefreshResponse {\n /** The refresh to cancel. */\n refresh?: Refresh | undefined;\n}\n\n/** Request to create a Monitor. */\nexport interface CreateMonitorRequest {\n /** The monitor to create. */\n monitor?: Monitor | undefined;\n}\n\n/** Request to create a refresh. */\nexport interface CreateRefreshRequest {\n /** The refresh to create */\n refresh?: Refresh | undefined;\n}\n\n/** The data quality monitoring workflow cron schedule. */\nexport interface CronSchedule {\n /** The expression that determines when to run the monitor. See [examples](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html). */\n quartzCronExpression?: string | undefined;\n /**\n * A Java timezone id. The schedule for a job will be resolved with respect to this timezone.\n * See `Java TimeZone <http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html>`_ for details.\n * The timezone id (e.g., ``America/Los_Angeles``) in which to evaluate the quartz expression.\n */\n timezoneId?: string | undefined;\n /** Read only field that indicates whether the schedule is paused or not. */\n pauseStatus?: CronSchedulePauseStatus | undefined;\n}\n\n/** Data Profiling Configurations. */\nexport interface DataProfilingConfig {\n /** ID of the schema where output tables are created. */\n outputSchemaId?: string | undefined;\n /**\n * Field for specifying the absolute path to a custom directory to store data-monitoring\n * assets. Normally prepopulated to a default user location via UI and Python APIs.\n */\n assetsDir?: string | undefined;\n /** (--[Create:REQ Update:REQ]--) Analysis config which is used to determine analysis logic. */\n analysisConfig?:\n | {\n $case: 'inferenceLog';\n /** `Analysis Configuration` for monitoring inference log tables. */\n inferenceLog: InferenceLogConfig;\n }\n | {\n $case: 'timeSeries';\n /** `Analysis Configuration` for monitoring time series tables. */\n timeSeries: TimeSeriesConfig;\n }\n | {\n $case: 'snapshot';\n /** `Analysis Configuration` for monitoring snapshot tables. */\n snapshot: SnapshotConfig;\n }\n | undefined;\n /**\n * List of column expressions to slice data with for targeted analysis. The data is grouped by\n * each expression independently, resulting in a separate slice for each predicate and its\n * complements. For example `slicing_exprs=[“col_1”, “col_2 > 10”]` will generate the following\n * slices: two slices for `col_2 > 10` (True and False), and one slice per unique value in\n * `col1`. For high-cardinality columns, only the top 100 unique values by frequency will\n * generate slices.\n */\n slicingExprs?: string[] | undefined;\n /** Custom metrics. */\n customMetrics?: DataProfilingCustomMetric[] | undefined;\n /**\n * Baseline table name.\n * Baseline data is used to compute drift from the data in the monitored `table_name`.\n * The baseline table and the monitored table shall have the same schema.\n */\n baselineTableName?: string | undefined;\n /** The cron schedule. */\n schedule?: CronSchedule | undefined;\n /** Field for specifying notification settings. */\n notificationSettings?: NotificationSettings | undefined;\n /** Whether to skip creating a default dashboard summarizing data quality metrics. */\n skipBuiltinDashboard?: boolean | undefined;\n /**\n * Optional argument to specify the warehouse for dashboard creation. If not specified, the first running\n * warehouse will be used.\n */\n warehouseId?: string | undefined;\n /** Unity Catalog table to monitor. Format: `catalog.schema.table_name` */\n monitoredTableName?: string | undefined;\n /** The data profiling monitor status. */\n status?: DataProfilingStatus | undefined;\n /** The latest error message for a monitor failure. */\n latestMonitorFailureMessage?: string | undefined;\n /** Table that stores profile metrics data. Format: `catalog.schema.table_name`. */\n profileMetricsTableName?: string | undefined;\n /** Table that stores drift metrics data. Format: `catalog.schema.table_name`. */\n driftMetricsTableName?: string | undefined;\n /**\n * Id of dashboard that visualizes the computed metrics.\n * This can be empty if the monitor is in PENDING state.\n */\n dashboardId?: string | undefined;\n /**\n * Represents the current monitor configuration version in use. The version will be represented in a\n * numeric fashion (1,2,3...). The field has flexibility to take on negative values, which can indicate corrupted\n * monitor_version numbers.\n */\n monitorVersion?: bigint | undefined;\n /** The warehouse for dashboard creation */\n effectiveWarehouseId?: string | undefined;\n}\n\n/** Custom metric definition. */\nexport interface DataProfilingCustomMetric {\n /** Name of the metric in the output tables. */\n name?: string | undefined;\n /** Jinja template for a SQL expression that specifies how to compute the metric. See [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition). */\n definition?: string | undefined;\n /**\n * A list of column names in the input table the metric should be computed for.\n * Can use ``\":table\"`` to indicate that the metric needs information from multiple columns.\n */\n inputColumns?: string[] | undefined;\n /** The output type of the custom metric. */\n outputDataType?: string | undefined;\n /** The type of the custom metric. */\n type?: DataProfilingCustomMetricType | undefined;\n}\n\n/** Request to delete a Monitor. */\nexport interface DeleteMonitorRequest {\n /** The type of the monitored object. Can be one of the following: `schema` or `table`. */\n objectType?: string | undefined;\n /**\n * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.\n *\n * Find the `schema_id` from either:\n * 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.\n *\n * Find the `table_id` from either:\n * 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.\n */\n objectId?: string | undefined;\n}\n\n/** Request to delete a ronitor. */\nexport interface DeleteRefreshRequest {\n /** The type of the monitored object. Can be one of the following: `schema` or `table`. */\n objectType?: string | undefined;\n /**\n * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.\n *\n * Find the `schema_id` from either:\n * 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.\n *\n * Find the `table_id` from either:\n * 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.\n */\n objectId?: string | undefined;\n /** Unique id of the refresh operation. */\n refreshId?: bigint | undefined;\n}\n\n/** Request to get a Monitor. */\nexport interface GetMonitorRequest {\n /** The type of the monitored object. Can be one of the following: `schema` or `table`. */\n objectType?: string | undefined;\n /**\n * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.\n *\n * Find the `schema_id` from either:\n * 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.\n *\n * Find the `table_id` from either:\n * 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.\n */\n objectId?: string | undefined;\n}\n\n/** Request to get a refresh. */\nexport interface GetRefreshRequest {\n /** The type of the monitored object. Can be one of the following: `schema` or `table`. */\n objectType?: string | undefined;\n /**\n * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.\n *\n * Find the `schema_id` from either:\n * 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.\n *\n * Find the `table_id` from either:\n * 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.\n */\n objectId?: string | undefined;\n /** Unique id of the refresh operation. */\n refreshId?: bigint | undefined;\n}\n\n/** Inference log configuration. */\nexport interface InferenceLogConfig {\n /** Problem type the model aims to solve. */\n problemType?: InferenceProblemType | undefined;\n /** Column for the timestamp. */\n timestampColumn?: string | undefined;\n /** List of granularities to use when aggregating data into time windows based on their timestamp. */\n granularities?: AggregationGranularity[] | undefined;\n /** Column for the prediction. */\n predictionColumn?: string | undefined;\n /** Column for the label. */\n labelColumn?: string | undefined;\n /** Column for the model identifier. */\n modelIdColumn?: string | undefined;\n}\n\n/** Request to list Monitors. */\nexport interface ListMonitorRequest {\n pageToken?: string | undefined;\n pageSize?: number | undefined;\n}\n\n/** Response for listing Monitors. */\nexport interface ListMonitorResponse {\n monitors?: Monitor[] | undefined;\n nextPageToken?: string | undefined;\n}\n\n/** Request to list refreshes. */\nexport interface ListRefreshRequest {\n /** The type of the monitored object. Can be one of the following: `schema` or `table`. */\n objectType?: string | undefined;\n /**\n * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.\n *\n * Find the `schema_id` from either:\n * 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.\n *\n * Find the `table_id` from either:\n * 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.\n */\n objectId?: string | undefined;\n pageToken?: string | undefined;\n pageSize?: number | undefined;\n}\n\n/** Response for listing refreshes. */\nexport interface ListRefreshResponse {\n refreshes?: Refresh[] | undefined;\n nextPageToken?: string | undefined;\n}\n\n/** Monitor for the data quality of unity catalog entities such as schema or table. */\nexport interface Monitor {\n /** The type of the monitored object. Can be one of the following: `schema` or `table`. */\n objectType?: string | undefined;\n /**\n * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.\n *\n * Find the `schema_id` from either:\n * 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.\n *\n * Find the `table_id` from either:\n * 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.\n */\n objectId?: string | undefined;\n /** Anomaly Detection Configuration, applicable to `schema` object types. */\n anomalyDetectionConfig?: AnomalyDetectionConfig | undefined;\n /**\n * Data Profiling Configuration, applicable to `table` object types. Exactly one `Analysis Configuration`\n * must be present.\n */\n dataProfilingConfig?: DataProfilingConfig | undefined;\n}\n\n/** Destination of the data quality monitoring notification. */\nexport interface NotificationDestination {\n /** The list of email addresses to send the notification to. A maximum of 5 email addresses is supported. */\n emailAddresses?: string[] | undefined;\n}\n\n/** Settings for sending notifications on the data quality monitoring. */\nexport interface NotificationSettings {\n /** Destinations to send notifications on failure/timeout. */\n onFailure?: NotificationDestination | undefined;\n}\n\n/** The Refresh object gives information on a refresh of the data quality monitoring pipeline. */\nexport interface Refresh {\n /** The type of the monitored object. Can be one of the following: `schema` or `table`. */\n objectType?: string | undefined;\n /**\n * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.\n *\n * Find the `schema_id` from either:\n * 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.\n *\n * Find the `table_id` from either:\n * 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.\n */\n objectId?: string | undefined;\n /** Unique id of the refresh operation. */\n refreshId?: bigint | undefined;\n /** The current state of the refresh. */\n state?: RefreshState | undefined;\n /** An optional message to give insight into the current state of the refresh (e.g. FAILURE messages). */\n message?: string | undefined;\n /** Time when the refresh started (milliseconds since 1/1/1970 UTC). */\n startTimeMs?: bigint | undefined;\n /** Time when the refresh ended (milliseconds since 1/1/1970 UTC). */\n endTimeMs?: bigint | undefined;\n /** What triggered the refresh. */\n trigger?: RefreshTrigger | undefined;\n}\n\n/** Snapshot analysis configuration. */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface SnapshotConfig {}\n\n/** Time series analysis configuration. */\nexport interface TimeSeriesConfig {\n /** Column for the timestamp. */\n timestampColumn?: string | undefined;\n /** List of granularities to use when aggregating data into time windows based on their timestamp. */\n granularities?: AggregationGranularity[] | undefined;\n}\n\n/** Request to update a Monitor. */\nexport interface UpdateMonitorRequest {\n /** The type of the monitored object. Can be one of the following: `schema` or `table`. */\n objectType?: string | undefined;\n /**\n * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.\n *\n * Find the `schema_id` from either:\n * 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.\n *\n * Find the `table_id` from either:\n * 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.\n */\n objectId?: string | undefined;\n /** The monitor to update. */\n monitor?: Monitor | undefined;\n /**\n * The field mask to specify which fields to update as a comma-separated list.\n * Example value: `data_profiling_config.custom_metrics,data_profiling_config.schedule.quartz_cron_expression`\n */\n updateMask?: FieldMask<Monitor> | undefined;\n}\n\n/** Request to update a refresh. */\nexport interface UpdateRefreshRequest {\n /** The type of the monitored object. Can be one of the following: `schema` or `table`. */\n objectType?: string | undefined;\n /**\n * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.\n *\n * Find the `schema_id` from either:\n * 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.\n *\n * Find the `table_id` from either:\n * 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.\n */\n objectId?: string | undefined;\n /** Unique id of the refresh operation. */\n refreshId?: bigint | undefined;\n /** The refresh to update. */\n refresh?: Refresh | undefined;\n /** The field mask to specify which fields to update. */\n updateMask?: FieldMask<Refresh> | undefined;\n}\n\nexport const unmarshalAnomalyDetectionConfigSchema: z.ZodType<AnomalyDetectionConfig> =\n z\n .object({\n excluded_table_full_names: z.array(z.string()).optional(),\n })\n .transform(d => ({\n excludedTableFullNames: d.excluded_table_full_names,\n }));\n\nexport const unmarshalCancelRefreshResponseSchema: z.ZodType<CancelRefreshResponse> =\n z\n .object({\n refresh: z.lazy(() => unmarshalRefreshSchema).optional(),\n })\n .transform(d => ({\n refresh: d.refresh,\n }));\n\nexport const unmarshalCronScheduleSchema: z.ZodType<CronSchedule> = z\n .object({\n quartz_cron_expression: z.string().optional(),\n timezone_id: z.string().optional(),\n pause_status: z.string().optional(),\n })\n .transform(d => ({\n quartzCronExpression: d.quartz_cron_expression,\n timezoneId: d.timezone_id,\n pauseStatus: d.pause_status,\n }));\n\nexport const unmarshalDataProfilingConfigSchema: z.ZodType<DataProfilingConfig> =\n z\n .object({\n output_schema_id: z.string().optional(),\n assets_dir: z.string().optional(),\n inference_log: z.lazy(() => unmarshalInferenceLogConfigSchema).optional(),\n time_series: z.lazy(() => unmarshalTimeSeriesConfigSchema).optional(),\n snapshot: z.lazy(() => unmarshalSnapshotConfigSchema).optional(),\n slicing_exprs: z.array(z.string()).optional(),\n custom_metrics: z\n .array(z.lazy(() => unmarshalDataProfilingCustomMetricSchema))\n .optional(),\n baseline_table_name: z.string().optional(),\n schedule: z.lazy(() => unmarshalCronScheduleSchema).optional(),\n notification_settings: z\n .lazy(() => unmarshalNotificationSettingsSchema)\n .optional(),\n skip_builtin_dashboard: z.boolean().optional(),\n warehouse_id: z.string().optional(),\n monitored_table_name: z.string().optional(),\n status: z.string().optional(),\n latest_monitor_failure_message: z.string().optional(),\n profile_metrics_table_name: z.string().optional(),\n drift_metrics_table_name: z.string().optional(),\n dashboard_id: z.string().optional(),\n monitor_version: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n effective_warehouse_id: z.string().optional(),\n })\n .transform(d => ({\n outputSchemaId: d.output_schema_id,\n assetsDir: d.assets_dir,\n analysisConfig:\n d.inference_log !== undefined\n ? {$case: 'inferenceLog' as const, inferenceLog: d.inference_log}\n : d.time_series !== undefined\n ? {$case: 'timeSeries' as const, timeSeries: d.time_series}\n : d.snapshot !== undefined\n ? {$case: 'snapshot' as const, snapshot: d.snapshot}\n : undefined,\n slicingExprs: d.slicing_exprs,\n customMetrics: d.custom_metrics,\n baselineTableName: d.baseline_table_name,\n schedule: d.schedule,\n notificationSettings: d.notification_settings,\n skipBuiltinDashboard: d.skip_builtin_dashboard,\n warehouseId: d.warehouse_id,\n monitoredTableName: d.monitored_table_name,\n status: d.status,\n latestMonitorFailureMessage: d.latest_monitor_failure_message,\n profileMetricsTableName: d.profile_metrics_table_name,\n driftMetricsTableName: d.drift_metrics_table_name,\n dashboardId: d.dashboard_id,\n monitorVersion: d.monitor_version,\n effectiveWarehouseId: d.effective_warehouse_id,\n }));\n\nexport const unmarshalDataProfilingCustomMetricSchema: z.ZodType<DataProfilingCustomMetric> =\n z\n .object({\n name: z.string().optional(),\n definition: z.string().optional(),\n input_columns: z.array(z.string()).optional(),\n output_data_type: z.string().optional(),\n type: z.string().optional(),\n })\n .transform(d => ({\n name: d.name,\n definition: d.definition,\n inputColumns: d.input_columns,\n outputDataType: d.output_data_type,\n type: d.type,\n }));\n\nexport const unmarshalInferenceLogConfigSchema: z.ZodType<InferenceLogConfig> =\n z\n .object({\n problem_type: z.string().optional(),\n timestamp_column: z.string().optional(),\n granularities: z.array(z.string()).optional(),\n prediction_column: z.string().optional(),\n label_column: z.string().optional(),\n model_id_column: z.string().optional(),\n })\n .transform(d => ({\n problemType: d.problem_type,\n timestampColumn: d.timestamp_column,\n granularities: d.granularities,\n predictionColumn: d.prediction_column,\n labelColumn: d.label_column,\n modelIdColumn: d.model_id_column,\n }));\n\nexport const unmarshalListMonitorResponseSchema: z.ZodType<ListMonitorResponse> =\n z\n .object({\n monitors: z.array(z.lazy(() => unmarshalMonitorSchema)).optional(),\n next_page_token: z.string().optional(),\n })\n .transform(d => ({\n monitors: d.monitors,\n nextPageToken: d.next_page_token,\n }));\n\nexport const unmarshalListRefreshResponseSchema: z.ZodType<ListRefreshResponse> =\n z\n .object({\n refreshes: z.array(z.lazy(() => unmarshalRefreshSchema)).optional(),\n next_page_token: z.string().optional(),\n })\n .transform(d => ({\n refreshes: d.refreshes,\n nextPageToken: d.next_page_token,\n }));\n\nexport const unmarshalMonitorSchema: z.ZodType<Monitor> = z\n .object({\n object_type: z.string().optional(),\n object_id: z.string().optional(),\n anomaly_detection_config: z\n .lazy(() => unmarshalAnomalyDetectionConfigSchema)\n .optional(),\n data_profiling_config: z\n .lazy(() => unmarshalDataProfilingConfigSchema)\n .optional(),\n })\n .transform(d => ({\n objectType: d.object_type,\n objectId: d.object_id,\n anomalyDetectionConfig: d.anomaly_detection_config,\n dataProfilingConfig: d.data_profiling_config,\n }));\n\nexport const unmarshalNotificationDestinationSchema: z.ZodType<NotificationDestination> =\n z\n .object({\n email_addresses: z.array(z.string()).optional(),\n })\n .transform(d => ({\n emailAddresses: d.email_addresses,\n }));\n\nexport const unmarshalNotificationSettingsSchema: z.ZodType<NotificationSettings> =\n z\n .object({\n on_failure: z\n .lazy(() => unmarshalNotificationDestinationSchema)\n .optional(),\n })\n .transform(d => ({\n onFailure: d.on_failure,\n }));\n\nexport const unmarshalRefreshSchema: z.ZodType<Refresh> = z\n .object({\n object_type: z.string().optional(),\n object_id: z.string().optional(),\n refresh_id: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n state: z.string().optional(),\n message: z.string().optional(),\n start_time_ms: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n end_time_ms: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n trigger: z.string().optional(),\n })\n .transform(d => ({\n objectType: d.object_type,\n objectId: d.object_id,\n refreshId: d.refresh_id,\n state: d.state,\n message: d.message,\n startTimeMs: d.start_time_ms,\n endTimeMs: d.end_time_ms,\n trigger: d.trigger,\n }));\n\nexport const unmarshalSnapshotConfigSchema: z.ZodType<SnapshotConfig> =\n z.object({});\n\nexport const unmarshalTimeSeriesConfigSchema: z.ZodType<TimeSeriesConfig> = z\n .object({\n timestamp_column: z.string().optional(),\n granularities: z.array(z.string()).optional(),\n })\n .transform(d => ({\n timestampColumn: d.timestamp_column,\n granularities: d.granularities,\n }));\n\nexport const marshalAnomalyDetectionConfigSchema: z.ZodType = z\n .object({\n excludedTableFullNames: z.array(z.string()).optional(),\n })\n .transform(d => ({\n excluded_table_full_names: d.excludedTableFullNames,\n }));\n\nexport const marshalCancelRefreshRequestSchema: z.ZodType = z\n .object({\n objectType: z.string().optional(),\n objectId: z.string().optional(),\n refreshId: z.bigint().optional(),\n })\n .transform(d => ({\n object_type: d.objectType,\n object_id: d.objectId,\n refresh_id: d.refreshId,\n }));\n\nexport const marshalCronScheduleSchema: z.ZodType = z\n .object({\n quartzCronExpression: z.string().optional(),\n timezoneId: z.string().optional(),\n pauseStatus: z.string().optional(),\n })\n .transform(d => ({\n quartz_cron_expression: d.quartzCronExpression,\n timezone_id: d.timezoneId,\n pause_status: d.pauseStatus,\n }));\n\nexport const marshalDataProfilingConfigSchema: z.ZodType = z\n .object({\n outputSchemaId: z.string().optional(),\n assetsDir: z.string().optional(),\n analysisConfig: z\n .discriminatedUnion('$case', [\n z.object({\n $case: z.literal('inferenceLog'),\n inferenceLog: z.lazy(() => marshalInferenceLogConfigSchema),\n }),\n z.object({\n $case: z.literal('timeSeries'),\n timeSeries: z.lazy(() => marshalTimeSeriesConfigSchema),\n }),\n z.object({\n $case: z.literal('snapshot'),\n snapshot: z.lazy(() => marshalSnapshotConfigSchema),\n }),\n ])\n .optional(),\n slicingExprs: z.array(z.string()).optional(),\n customMetrics: z\n .array(z.lazy(() => marshalDataProfilingCustomMetricSchema))\n .optional(),\n baselineTableName: z.string().optional(),\n schedule: z.lazy(() => marshalCronScheduleSchema).optional(),\n notificationSettings: z\n .lazy(() => marshalNotificationSettingsSchema)\n .optional(),\n skipBuiltinDashboard: z.boolean().optional(),\n warehouseId: z.string().optional(),\n monitoredTableName: z.string().optional(),\n status: z.string().optional(),\n latestMonitorFailureMessage: z.string().optional(),\n profileMetricsTableName: z.string().optional(),\n driftMetricsTableName: z.string().optional(),\n dashboardId: z.string().optional(),\n monitorVersion: z.bigint().optional(),\n effectiveWarehouseId: z.string().optional(),\n })\n .transform(d => ({\n output_schema_id: d.outputSchemaId,\n assets_dir: d.assetsDir,\n ...(d.analysisConfig?.$case === 'inferenceLog' && {\n inference_log: d.analysisConfig.inferenceLog,\n }),\n ...(d.analysisConfig?.$case === 'timeSeries' && {\n time_series: d.analysisConfig.timeSeries,\n }),\n ...(d.analysisConfig?.$case === 'snapshot' && {\n snapshot: d.analysisConfig.snapshot,\n }),\n slicing_exprs: d.slicingExprs,\n custom_metrics: d.customMetrics,\n baseline_table_name: d.baselineTableName,\n schedule: d.schedule,\n notification_settings: d.notificationSettings,\n skip_builtin_dashboard: d.skipBuiltinDashboard,\n warehouse_id: d.warehouseId,\n monitored_table_name: d.monitoredTableName,\n status: d.status,\n latest_monitor_failure_message: d.latestMonitorFailureMessage,\n profile_metrics_table_name: d.profileMetricsTableName,\n drift_metrics_table_name: d.driftMetricsTableName,\n dashboard_id: d.dashboardId,\n monitor_version: d.monitorVersion,\n effective_warehouse_id: d.effectiveWarehouseId,\n }));\n\nexport const marshalDataProfilingCustomMetricSchema: z.ZodType = z\n .object({\n name: z.string().optional(),\n definition: z.string().optional(),\n inputColumns: z.array(z.string()).optional(),\n outputDataType: z.string().optional(),\n type: z.string().optional(),\n })\n .transform(d => ({\n name: d.name,\n definition: d.definition,\n input_columns: d.inputColumns,\n output_data_type: d.outputDataType,\n type: d.type,\n }));\n\nexport const marshalInferenceLogConfigSchema: z.ZodType = z\n .object({\n problemType: z.string().optional(),\n timestampColumn: z.string().optional(),\n granularities: z.array(z.string()).optional(),\n predictionColumn: z.string().optional(),\n labelColumn: z.string().optional(),\n modelIdColumn: z.string().optional(),\n })\n .transform(d => ({\n problem_type: d.problemType,\n timestamp_column: d.timestampColumn,\n granularities: d.granularities,\n prediction_column: d.predictionColumn,\n label_column: d.labelColumn,\n model_id_column: d.modelIdColumn,\n }));\n\nexport const marshalMonitorSchema: z.ZodType = z\n .object({\n objectType: z.string().optional(),\n objectId: z.string().optional(),\n anomalyDetectionConfig: z\n .lazy(() => marshalAnomalyDetectionConfigSchema)\n .optional(),\n dataProfilingConfig: z\n .lazy(() => marshalDataProfilingConfigSchema)\n .optional(),\n })\n .transform(d => ({\n object_type: d.objectType,\n object_id: d.objectId,\n anomaly_detection_config: d.anomalyDetectionConfig,\n data_profiling_config: d.dataProfilingConfig,\n }));\n\nexport const marshalNotificationDestinationSchema: z.ZodType = z\n .object({\n emailAddresses: z.array(z.string()).optional(),\n })\n .transform(d => ({\n email_addresses: d.emailAddresses,\n }));\n\nexport const marshalNotificationSettingsSchema: z.ZodType = z\n .object({\n onFailure: z.lazy(() => marshalNotificationDestinationSchema).optional(),\n })\n .transform(d => ({\n on_failure: d.onFailure,\n }));\n\nexport const marshalRefreshSchema: z.ZodType = z\n .object({\n objectType: z.string().optional(),\n objectId: z.string().optional(),\n refreshId: z.bigint().optional(),\n state: z.string().optional(),\n message: z.string().optional(),\n startTimeMs: z.bigint().optional(),\n endTimeMs: z.bigint().optional(),\n trigger: z.string().optional(),\n })\n .transform(d => ({\n object_type: d.objectType,\n object_id: d.objectId,\n refresh_id: d.refreshId,\n state: d.state,\n message: d.message,\n start_time_ms: d.startTimeMs,\n end_time_ms: d.endTimeMs,\n trigger: d.trigger,\n }));\n\nexport const marshalSnapshotConfigSchema: z.ZodType = z.object({});\n\nexport const marshalTimeSeriesConfigSchema: z.ZodType = z\n .object({\n timestampColumn: z.string().optional(),\n granularities: z.array(z.string()).optional(),\n })\n .transform(d => ({\n timestamp_column: d.timestampColumn,\n granularities: d.granularities,\n }));\n\nconst anomalyDetectionConfigFieldMaskSchema: FieldMaskSchema = {\n excludedTableFullNames: {wire: 'excluded_table_full_names'},\n};\n\nconst cronScheduleFieldMaskSchema: FieldMaskSchema = {\n pauseStatus: {wire: 'pause_status'},\n quartzCronExpression: {wire: 'quartz_cron_expression'},\n timezoneId: {wire: 'timezone_id'},\n};\n\nconst dataProfilingConfigFieldMaskSchema: FieldMaskSchema = {\n assetsDir: {wire: 'assets_dir'},\n baselineTableName: {wire: 'baseline_table_name'},\n customMetrics: {wire: 'custom_metrics'},\n dashboardId: {wire: 'dashboard_id'},\n driftMetricsTableName: {wire: 'drift_metrics_table_name'},\n effectiveWarehouseId: {wire: 'effective_warehouse_id'},\n inferenceLog: {\n wire: 'inference_log',\n children: () => inferenceLogConfigFieldMaskSchema,\n },\n latestMonitorFailureMessage: {wire: 'latest_monitor_failure_message'},\n monitorVersion: {wire: 'monitor_version'},\n monitoredTableName: {wire: 'monitored_table_name'},\n notificationSettings: {\n wire: 'notification_settings',\n children: () => notificationSettingsFieldMaskSchema,\n },\n outputSchemaId: {wire: 'output_schema_id'},\n profileMetricsTableName: {wire: 'profile_metrics_table_name'},\n schedule: {wire: 'schedule', children: () => cronScheduleFieldMaskSchema},\n skipBuiltinDashboard: {wire: 'skip_builtin_dashboard'},\n slicingExprs: {wire: 'slicing_exprs'},\n snapshot: {wire: 'snapshot', children: () => snapshotConfigFieldMaskSchema},\n status: {wire: 'status'},\n timeSeries: {\n wire: 'time_series',\n children: () => timeSeriesConfigFieldMaskSchema,\n },\n warehouseId: {wire: 'warehouse_id'},\n};\n\nconst inferenceLogConfigFieldMaskSchema: FieldMaskSchema = {\n granularities: {wire: 'granularities'},\n labelColumn: {wire: 'label_column'},\n modelIdColumn: {wire: 'model_id_column'},\n predictionColumn: {wire: 'prediction_column'},\n problemType: {wire: 'problem_type'},\n timestampColumn: {wire: 'timestamp_column'},\n};\n\nconst monitorFieldMaskSchema: FieldMaskSchema = {\n anomalyDetectionConfig: {\n wire: 'anomaly_detection_config',\n children: () => anomalyDetectionConfigFieldMaskSchema,\n },\n dataProfilingConfig: {\n wire: 'data_profiling_config',\n children: () => dataProfilingConfigFieldMaskSchema,\n },\n objectId: {wire: 'object_id'},\n objectType: {wire: 'object_type'},\n};\n\nexport function monitorFieldMask(...paths: string[]): FieldMask<Monitor> {\n return FieldMask.build<Monitor>(paths, monitorFieldMaskSchema);\n}\n\nconst notificationDestinationFieldMaskSchema: FieldMaskSchema = {\n emailAddresses: {wire: 'email_addresses'},\n};\n\nconst notificationSettingsFieldMaskSchema: FieldMaskSchema = {\n onFailure: {\n wire: 'on_failure',\n children: () => notificationDestinationFieldMaskSchema,\n },\n};\n\nconst refreshFieldMaskSchema: FieldMaskSchema = {\n endTimeMs: {wire: 'end_time_ms'},\n message: {wire: 'message'},\n objectId: {wire: 'object_id'},\n objectType: {wire: 'object_type'},\n refreshId: {wire: 'refresh_id'},\n startTimeMs: {wire: 'start_time_ms'},\n state: {wire: 'state'},\n trigger: {wire: 'trigger'},\n};\n\nexport function refreshFieldMask(...paths: string[]): FieldMask<Refresh> {\n return FieldMask.build<Refresh>(paths, refreshFieldMaskSchema);\n}\n\nconst snapshotConfigFieldMaskSchema: FieldMaskSchema = {};\n\nconst timeSeriesConfigFieldMaskSchema: FieldMaskSchema = {\n granularities: {wire: 'granularities'},\n timestampColumn: {wire: 'timestamp_column'},\n};\n"],"mappings":";;;;;AAQA,MAAa,yBAAyB;CACpC,qCAAqC;CAErC,mCAAmC;CAEnC,oCAAoC;CAEpC,gCAAgC;CAEhC,+BAA+B;CAE/B,gCAAgC;CAEhC,iCAAiC;CAEjC,iCAAiC;CAEjC,iCAAiC;CAEjC,iCAAiC;CAEjC,gCAAgC;CACjC;;AAOD,MAAa,0BAA0B;CACrC,wCACE;CAEF,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C5C;AAED,MAAM,yBAA0C;CAC9C,wBAAwB;EACtB,MAAM;EACN,gBAAgB;EACjB;CACD,qBAAqB;EACnB,MAAM;EACN,gBAAgB;EACjB;CACD,UAAU,EAAC,MAAM,aAAY;CAC7B,YAAY,EAAC,MAAM,eAAc;CAClC;AAED,SAAgB,iBAAiB,GAAG,OAAqC;AACvE,QAAO,UAAU,MAAe,OAAO,uBAAuB;;AAGhE,MAAM,yCAA0D,EAC9D,gBAAgB,EAAC,MAAM,mBAAkB,EAC1C;AAED,MAAM,sCAAuD,EAC3D,WAAW;CACT,MAAM;CACN,gBAAgB;CACjB,EACF;AAED,MAAM,yBAA0C;CAC9C,WAAW,EAAC,MAAM,eAAc;CAChC,SAAS,EAAC,MAAM,WAAU;CAC1B,UAAU,EAAC,MAAM,aAAY;CAC7B,YAAY,EAAC,MAAM,eAAc;CACjC,WAAW,EAAC,MAAM,cAAa;CAC/B,aAAa,EAAC,MAAM,iBAAgB;CACpC,OAAO,EAAC,MAAM,SAAQ;CACtB,SAAS,EAAC,MAAM,WAAU;CAC3B;AAED,SAAgB,iBAAiB,GAAG,OAAqC;AACvE,QAAO,UAAU,MAAe,OAAO,uBAAuB;;AAGhE,MAAM,gCAAiD,EAAE;AAEzD,MAAM,kCAAmD;CACvD,eAAe,EAAC,MAAM,iBAAgB;CACtC,iBAAiB,EAAC,MAAM,oBAAmB;CAC5C"}
1
+ {"version":3,"file":"model.js","names":[],"sources":["../../src/v1/model.ts"],"sourcesContent":["// Code generated from API definition by Databricks SDK Generator. DO NOT EDIT.\n\nimport {FieldMask} from '@databricks/sdk-core/wkt';\nimport type {FieldMaskSchema} from '@databricks/sdk-core/wkt';\nimport {z} from 'zod';\n\n/** The granularity for aggregating data into time windows based on their timestamp. */\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const AggregationGranularity = {\n AGGREGATION_GRANULARITY_UNSPECIFIED: 'AGGREGATION_GRANULARITY_UNSPECIFIED',\n /** 5 minutes. */\n AGGREGATION_GRANULARITY_5_MINUTES: 'AGGREGATION_GRANULARITY_5_MINUTES',\n /** 30 minutes. */\n AGGREGATION_GRANULARITY_30_MINUTES: 'AGGREGATION_GRANULARITY_30_MINUTES',\n /** 1 hour. */\n AGGREGATION_GRANULARITY_1_HOUR: 'AGGREGATION_GRANULARITY_1_HOUR',\n /** 1 day. */\n AGGREGATION_GRANULARITY_1_DAY: 'AGGREGATION_GRANULARITY_1_DAY',\n /** 1 week. */\n AGGREGATION_GRANULARITY_1_WEEK: 'AGGREGATION_GRANULARITY_1_WEEK',\n /** 2 weeks. */\n AGGREGATION_GRANULARITY_2_WEEKS: 'AGGREGATION_GRANULARITY_2_WEEKS',\n /** 3 weeks. */\n AGGREGATION_GRANULARITY_3_WEEKS: 'AGGREGATION_GRANULARITY_3_WEEKS',\n /** 4 weeks. */\n AGGREGATION_GRANULARITY_4_WEEKS: 'AGGREGATION_GRANULARITY_4_WEEKS',\n /** 1 month. */\n AGGREGATION_GRANULARITY_1_MONTH: 'AGGREGATION_GRANULARITY_1_MONTH',\n /** 1 year. */\n AGGREGATION_GRANULARITY_1_YEAR: 'AGGREGATION_GRANULARITY_1_YEAR',\n} as const;\nexport type AggregationGranularity =\n | (typeof AggregationGranularity)[keyof typeof AggregationGranularity]\n | (string & {});\n\n/** The data quality monitoring workflow cron schedule pause status. */\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const CronSchedulePauseStatus = {\n CRON_SCHEDULE_PAUSE_STATUS_UNSPECIFIED:\n 'CRON_SCHEDULE_PAUSE_STATUS_UNSPECIFIED',\n /** The cron schedule is not paused. */\n CRON_SCHEDULE_PAUSE_STATUS_UNPAUSED: 'CRON_SCHEDULE_PAUSE_STATUS_UNPAUSED',\n /** The cron schedule is paused. */\n CRON_SCHEDULE_PAUSE_STATUS_PAUSED: 'CRON_SCHEDULE_PAUSE_STATUS_PAUSED',\n} as const;\nexport type CronSchedulePauseStatus =\n | (typeof CronSchedulePauseStatus)[keyof typeof CronSchedulePauseStatus]\n | (string & {});\n\n/** The custom metric type. */\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const DataProfilingCustomMetricType = {\n DATA_PROFILING_CUSTOM_METRIC_TYPE_UNSPECIFIED:\n 'DATA_PROFILING_CUSTOM_METRIC_TYPE_UNSPECIFIED',\n /** Only depend on the existing columns in the table. */\n DATA_PROFILING_CUSTOM_METRIC_TYPE_AGGREGATE:\n 'DATA_PROFILING_CUSTOM_METRIC_TYPE_AGGREGATE',\n /** Only depend on previously computed aggregate metrics. */\n DATA_PROFILING_CUSTOM_METRIC_TYPE_DERIVED:\n 'DATA_PROFILING_CUSTOM_METRIC_TYPE_DERIVED',\n /** Depend on previously computed aggregate or derived metrics. */\n DATA_PROFILING_CUSTOM_METRIC_TYPE_DRIFT:\n 'DATA_PROFILING_CUSTOM_METRIC_TYPE_DRIFT',\n} as const;\nexport type DataProfilingCustomMetricType =\n | (typeof DataProfilingCustomMetricType)[keyof typeof DataProfilingCustomMetricType]\n | (string & {});\n\n/** The status of the data profiling monitor. */\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const DataProfilingStatus = {\n DATA_PROFILING_STATUS_UNSPECIFIED: 'DATA_PROFILING_STATUS_UNSPECIFIED',\n DATA_PROFILING_STATUS_ACTIVE: 'DATA_PROFILING_STATUS_ACTIVE',\n DATA_PROFILING_STATUS_PENDING: 'DATA_PROFILING_STATUS_PENDING',\n DATA_PROFILING_STATUS_DELETE_PENDING: 'DATA_PROFILING_STATUS_DELETE_PENDING',\n DATA_PROFILING_STATUS_ERROR: 'DATA_PROFILING_STATUS_ERROR',\n DATA_PROFILING_STATUS_FAILED: 'DATA_PROFILING_STATUS_FAILED',\n} as const;\nexport type DataProfilingStatus =\n | (typeof DataProfilingStatus)[keyof typeof DataProfilingStatus]\n | (string & {});\n\n/** Inference problem type the model aims to solve. */\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const InferenceProblemType = {\n INFERENCE_PROBLEM_TYPE_UNSPECIFIED: 'INFERENCE_PROBLEM_TYPE_UNSPECIFIED',\n /** Classification inference problem. */\n INFERENCE_PROBLEM_TYPE_CLASSIFICATION:\n 'INFERENCE_PROBLEM_TYPE_CLASSIFICATION',\n /** Regression inference problem. */\n INFERENCE_PROBLEM_TYPE_REGRESSION: 'INFERENCE_PROBLEM_TYPE_REGRESSION',\n} as const;\nexport type InferenceProblemType =\n | (typeof InferenceProblemType)[keyof typeof InferenceProblemType]\n | (string & {});\n\n/** The state of the refresh. */\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const RefreshState = {\n MONITOR_REFRESH_STATE_UNKNOWN: 'MONITOR_REFRESH_STATE_UNKNOWN',\n /** The refresh is pending. */\n MONITOR_REFRESH_STATE_PENDING: 'MONITOR_REFRESH_STATE_PENDING',\n /** The refresh is running. */\n MONITOR_REFRESH_STATE_RUNNING: 'MONITOR_REFRESH_STATE_RUNNING',\n /** The refresh is successful. */\n MONITOR_REFRESH_STATE_SUCCESS: 'MONITOR_REFRESH_STATE_SUCCESS',\n /** The refresh has failed. */\n MONITOR_REFRESH_STATE_FAILED: 'MONITOR_REFRESH_STATE_FAILED',\n /** The refresh is cancelled. */\n MONITOR_REFRESH_STATE_CANCELED: 'MONITOR_REFRESH_STATE_CANCELED',\n} as const;\nexport type RefreshState =\n | (typeof RefreshState)[keyof typeof RefreshState]\n | (string & {});\n\n/** The trigger of the refresh. */\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const RefreshTrigger = {\n MONITOR_REFRESH_TRIGGER_UNKNOWN: 'MONITOR_REFRESH_TRIGGER_UNKNOWN',\n /** The refresh has been triggered manually. */\n MONITOR_REFRESH_TRIGGER_MANUAL: 'MONITOR_REFRESH_TRIGGER_MANUAL',\n /** The refresh has been triggered from a schedule. */\n MONITOR_REFRESH_TRIGGER_SCHEDULE: 'MONITOR_REFRESH_TRIGGER_SCHEDULE',\n /** The refresh has been triggered from a data change. */\n MONITOR_REFRESH_TRIGGER_DATA_CHANGE: 'MONITOR_REFRESH_TRIGGER_DATA_CHANGE',\n} as const;\nexport type RefreshTrigger =\n | (typeof RefreshTrigger)[keyof typeof RefreshTrigger]\n | (string & {});\n\n/** Anomaly Detection Configurations. */\nexport interface AnomalyDetectionConfig {\n /** List of fully qualified table names to exclude from anomaly detection. */\n excludedTableFullNames?: string[] | undefined;\n /**\n * Who to alert when anomaly detection finds unhealthy tables in this schema. Applicable to\n * `schema` monitors only. This is the same schema alert you manage from **Manage alerts** in the\n * Data Quality Monitoring UI, so a change made in either place shows in both.\n *\n * Set the recipients in `on_unhealthy_table`; `on_failure` is not supported here. Only\n * `destination_ids` and `destination_user_ids` are supported.\n *\n * On update, an update mask of `*`, `anomaly_detection_config`, or\n * `anomaly_detection_config.notification_settings` replaces the alert's recipients with the ones\n * in the request; omitting the field, or leaving both recipient lists empty, removes the alert.\n * Other masks leave the alert unchanged.\n */\n notificationSettings?: NotificationSettings | undefined;\n}\n\n/** Request to cancel a refresh. */\nexport interface CancelRefreshRequest {\n /** The type of the monitored object. Can be one of the following: `schema` or `table`. */\n objectType?: string | undefined;\n /**\n * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.\n *\n * Find the `schema_id` from either:\n * 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.\n *\n * Find the `table_id` from either:\n * 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.\n */\n objectId?: string | undefined;\n /** Unique id of the refresh operation. */\n refreshId?: bigint | undefined;\n}\n\n/** Response to cancelling a refresh. */\nexport interface CancelRefreshResponse {\n /** The refresh to cancel. */\n refresh?: Refresh | undefined;\n}\n\n/** Request to create a Monitor. */\nexport interface CreateMonitorRequest {\n /** The monitor to create. */\n monitor?: Monitor | undefined;\n}\n\n/** Request to create a refresh. */\nexport interface CreateRefreshRequest {\n /** The refresh to create */\n refresh?: Refresh | undefined;\n}\n\n/** The data quality monitoring workflow cron schedule. */\nexport interface CronSchedule {\n /** The expression that determines when to run the monitor. See [examples](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html). */\n quartzCronExpression?: string | undefined;\n /**\n * A Java timezone id. The schedule for a job will be resolved with respect to this timezone.\n * See `Java TimeZone <http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html>`_ for details.\n * The timezone id (e.g., ``America/Los_Angeles``) in which to evaluate the quartz expression.\n */\n timezoneId?: string | undefined;\n /** Read only field that indicates whether the schedule is paused or not. */\n pauseStatus?: CronSchedulePauseStatus | undefined;\n}\n\n/** Data Profiling Configurations. */\nexport interface DataProfilingConfig {\n /** ID of the schema where output tables are created. */\n outputSchemaId?: string | undefined;\n /**\n * Field for specifying the absolute path to a custom directory to store data-monitoring\n * assets. Normally prepopulated to a default user location via UI and Python APIs.\n */\n assetsDir?: string | undefined;\n /** (--[Create:REQ Update:REQ]--) Analysis config which is used to determine analysis logic. */\n analysisConfig?:\n | {\n $case: 'inferenceLog';\n /** `Analysis Configuration` for monitoring inference log tables. */\n inferenceLog: InferenceLogConfig;\n }\n | {\n $case: 'timeSeries';\n /** `Analysis Configuration` for monitoring time series tables. */\n timeSeries: TimeSeriesConfig;\n }\n | {\n $case: 'snapshot';\n /** `Analysis Configuration` for monitoring snapshot tables. */\n snapshot: SnapshotConfig;\n }\n | undefined;\n /**\n * List of column expressions to slice data with for targeted analysis. The data is grouped by\n * each expression independently, resulting in a separate slice for each predicate and its\n * complements. For example `slicing_exprs=[“col_1”, “col_2 > 10”]` will generate the following\n * slices: two slices for `col_2 > 10` (True and False), and one slice per unique value in\n * `col1`. For high-cardinality columns, only the top 100 unique values by frequency will\n * generate slices.\n */\n slicingExprs?: string[] | undefined;\n /** Custom metrics. */\n customMetrics?: DataProfilingCustomMetric[] | undefined;\n /**\n * Baseline table name.\n * Baseline data is used to compute drift from the data in the monitored `table_name`.\n * The baseline table and the monitored table shall have the same schema.\n */\n baselineTableName?: string | undefined;\n /** The cron schedule. */\n schedule?: CronSchedule | undefined;\n /** Field for specifying notification settings. */\n notificationSettings?: NotificationSettings | undefined;\n /** Whether to skip creating a default dashboard summarizing data quality metrics. */\n skipBuiltinDashboard?: boolean | undefined;\n /**\n * Optional argument to specify the warehouse for dashboard creation. If not specified, the first running\n * warehouse will be used.\n */\n warehouseId?: string | undefined;\n /** Unity Catalog table to monitor. Format: `catalog.schema.table_name` */\n monitoredTableName?: string | undefined;\n /** The data profiling monitor status. */\n status?: DataProfilingStatus | undefined;\n /** The latest error message for a monitor failure. */\n latestMonitorFailureMessage?: string | undefined;\n /** Table that stores profile metrics data. Format: `catalog.schema.table_name`. */\n profileMetricsTableName?: string | undefined;\n /** Table that stores drift metrics data. Format: `catalog.schema.table_name`. */\n driftMetricsTableName?: string | undefined;\n /**\n * Id of dashboard that visualizes the computed metrics.\n * This can be empty if the monitor is in PENDING state.\n */\n dashboardId?: string | undefined;\n /**\n * Represents the current monitor configuration version in use. The version will be represented in a\n * numeric fashion (1,2,3...). The field has flexibility to take on negative values, which can indicate corrupted\n * monitor_version numbers.\n */\n monitorVersion?: bigint | undefined;\n /** The warehouse for dashboard creation */\n effectiveWarehouseId?: string | undefined;\n}\n\n/** Custom metric definition. */\nexport interface DataProfilingCustomMetric {\n /** Name of the metric in the output tables. */\n name?: string | undefined;\n /** Jinja template for a SQL expression that specifies how to compute the metric. See [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition). */\n definition?: string | undefined;\n /**\n * A list of column names in the input table the metric should be computed for.\n * Can use ``\":table\"`` to indicate that the metric needs information from multiple columns.\n */\n inputColumns?: string[] | undefined;\n /** The output type of the custom metric. */\n outputDataType?: string | undefined;\n /** The type of the custom metric. */\n type?: DataProfilingCustomMetricType | undefined;\n}\n\n/** Request to delete a Monitor. */\nexport interface DeleteMonitorRequest {\n /** The type of the monitored object. Can be one of the following: `schema` or `table`. */\n objectType?: string | undefined;\n /**\n * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.\n *\n * Find the `schema_id` from either:\n * 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.\n *\n * Find the `table_id` from either:\n * 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.\n */\n objectId?: string | undefined;\n}\n\n/** Request to delete a ronitor. */\nexport interface DeleteRefreshRequest {\n /** The type of the monitored object. Can be one of the following: `schema` or `table`. */\n objectType?: string | undefined;\n /**\n * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.\n *\n * Find the `schema_id` from either:\n * 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.\n *\n * Find the `table_id` from either:\n * 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.\n */\n objectId?: string | undefined;\n /** Unique id of the refresh operation. */\n refreshId?: bigint | undefined;\n}\n\n/** Request to get a Monitor. */\nexport interface GetMonitorRequest {\n /** The type of the monitored object. Can be one of the following: `schema` or `table`. */\n objectType?: string | undefined;\n /**\n * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.\n *\n * Find the `schema_id` from either:\n * 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.\n *\n * Find the `table_id` from either:\n * 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.\n */\n objectId?: string | undefined;\n}\n\n/** Request to get a refresh. */\nexport interface GetRefreshRequest {\n /** The type of the monitored object. Can be one of the following: `schema` or `table`. */\n objectType?: string | undefined;\n /**\n * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.\n *\n * Find the `schema_id` from either:\n * 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.\n *\n * Find the `table_id` from either:\n * 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.\n */\n objectId?: string | undefined;\n /** Unique id of the refresh operation. */\n refreshId?: bigint | undefined;\n}\n\n/** Inference log configuration. */\nexport interface InferenceLogConfig {\n /** Problem type the model aims to solve. */\n problemType?: InferenceProblemType | undefined;\n /** Column for the timestamp. */\n timestampColumn?: string | undefined;\n /** List of granularities to use when aggregating data into time windows based on their timestamp. */\n granularities?: AggregationGranularity[] | undefined;\n /** Column for the prediction. */\n predictionColumn?: string | undefined;\n /** Column for the label. */\n labelColumn?: string | undefined;\n /** Column for the model identifier. */\n modelIdColumn?: string | undefined;\n}\n\n/** Request to list Monitors. */\nexport interface ListMonitorRequest {\n pageToken?: string | undefined;\n pageSize?: number | undefined;\n}\n\n/** Response for listing Monitors. */\nexport interface ListMonitorResponse {\n monitors?: Monitor[] | undefined;\n nextPageToken?: string | undefined;\n}\n\n/** Request to list refreshes. */\nexport interface ListRefreshRequest {\n /** The type of the monitored object. Can be one of the following: `schema` or `table`. */\n objectType?: string | undefined;\n /**\n * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.\n *\n * Find the `schema_id` from either:\n * 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.\n *\n * Find the `table_id` from either:\n * 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.\n */\n objectId?: string | undefined;\n pageToken?: string | undefined;\n pageSize?: number | undefined;\n}\n\n/** Response for listing refreshes. */\nexport interface ListRefreshResponse {\n refreshes?: Refresh[] | undefined;\n nextPageToken?: string | undefined;\n}\n\n/** Monitor for the data quality of unity catalog entities such as schema or table. */\nexport interface Monitor {\n /** The type of the monitored object. Can be one of the following: `schema` or `table`. */\n objectType?: string | undefined;\n /**\n * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.\n *\n * Find the `schema_id` from either:\n * 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.\n *\n * Find the `table_id` from either:\n * 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.\n */\n objectId?: string | undefined;\n /** Anomaly Detection Configuration, applicable to `schema` object types. */\n anomalyDetectionConfig?: AnomalyDetectionConfig | undefined;\n /**\n * Data Profiling Configuration, applicable to `table` object types. Exactly one `Analysis Configuration`\n * must be present.\n */\n dataProfilingConfig?: DataProfilingConfig | undefined;\n}\n\n/** Destination of the data quality monitoring notification. */\nexport interface NotificationDestination {\n /** The list of email addresses to send the notification to. A maximum of 5 email addresses is supported. */\n emailAddresses?: string[] | undefined;\n /**\n * The notification-destination IDs (Slack / Teams / webhook) to send the notification to. The\n * destinations must already exist in the workspace; a workspace admin creates them. A maximum of\n * 25 destination IDs is supported.\n * Only supported on schema monitors, via `anomaly_detection_config`; rejected on table monitors.\n */\n destinationIds?: string[] | undefined;\n /**\n * The IDs of the workspace users to notify by email. A maximum of 25 user IDs is supported.\n * Only supported on schema monitors, via `anomaly_detection_config`; rejected on table monitors.\n */\n destinationUserIds?: bigint[] | undefined;\n}\n\n/** Settings for sending notifications on the data quality monitoring. */\nexport interface NotificationSettings {\n /** Destinations to send notifications on failure/timeout. */\n onFailure?: NotificationDestination | undefined;\n /**\n * Recipients to notify when anomaly detection finds unhealthy tables in the schema. Each\n * recipient gets one notification per important unhealthy table. Only supported on schema\n * monitors, via `anomaly_detection_config`.\n */\n onUnhealthyTable?: NotificationDestination | undefined;\n}\n\n/** The Refresh object gives information on a refresh of the data quality monitoring pipeline. */\nexport interface Refresh {\n /** The type of the monitored object. Can be one of the following: `schema` or `table`. */\n objectType?: string | undefined;\n /**\n * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.\n *\n * Find the `schema_id` from either:\n * 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.\n *\n * Find the `table_id` from either:\n * 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.\n */\n objectId?: string | undefined;\n /** Unique id of the refresh operation. */\n refreshId?: bigint | undefined;\n /** The current state of the refresh. */\n state?: RefreshState | undefined;\n /** An optional message to give insight into the current state of the refresh (e.g. FAILURE messages). */\n message?: string | undefined;\n /** Time when the refresh started (milliseconds since 1/1/1970 UTC). */\n startTimeMs?: bigint | undefined;\n /** Time when the refresh ended (milliseconds since 1/1/1970 UTC). */\n endTimeMs?: bigint | undefined;\n /** What triggered the refresh. */\n trigger?: RefreshTrigger | undefined;\n}\n\n/** Snapshot analysis configuration. */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface SnapshotConfig {}\n\n/** Time series analysis configuration. */\nexport interface TimeSeriesConfig {\n /** Column for the timestamp. */\n timestampColumn?: string | undefined;\n /** List of granularities to use when aggregating data into time windows based on their timestamp. */\n granularities?: AggregationGranularity[] | undefined;\n}\n\n/** Request to update a Monitor. */\nexport interface UpdateMonitorRequest {\n /** The type of the monitored object. Can be one of the following: `schema` or `table`. */\n objectType?: string | undefined;\n /**\n * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.\n *\n * Find the `schema_id` from either:\n * 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.\n *\n * Find the `table_id` from either:\n * 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.\n */\n objectId?: string | undefined;\n /** The monitor to update. */\n monitor?: Monitor | undefined;\n /**\n * The field mask to specify which fields to update as a comma-separated list.\n * Example value: `data_profiling_config.custom_metrics,data_profiling_config.schedule.quartz_cron_expression`\n */\n updateMask?: FieldMask<Monitor> | undefined;\n}\n\n/** Request to update a refresh. */\nexport interface UpdateRefreshRequest {\n /** The type of the monitored object. Can be one of the following: `schema` or `table`. */\n objectType?: string | undefined;\n /**\n * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.\n *\n * Find the `schema_id` from either:\n * 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.\n *\n * Find the `table_id` from either:\n * 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.\n * 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.\n */\n objectId?: string | undefined;\n /** Unique id of the refresh operation. */\n refreshId?: bigint | undefined;\n /** The refresh to update. */\n refresh?: Refresh | undefined;\n /** The field mask to specify which fields to update. */\n updateMask?: FieldMask<Refresh> | undefined;\n}\n\nexport const unmarshalAnomalyDetectionConfigSchema: z.ZodType<AnomalyDetectionConfig> =\n z\n .object({\n excluded_table_full_names: z.array(z.string()).optional(),\n notification_settings: z\n .lazy(() => unmarshalNotificationSettingsSchema)\n .optional(),\n })\n .transform(d => ({\n excludedTableFullNames: d.excluded_table_full_names,\n notificationSettings: d.notification_settings,\n }));\n\nexport const unmarshalCancelRefreshResponseSchema: z.ZodType<CancelRefreshResponse> =\n z\n .object({\n refresh: z.lazy(() => unmarshalRefreshSchema).optional(),\n })\n .transform(d => ({\n refresh: d.refresh,\n }));\n\nexport const unmarshalCronScheduleSchema: z.ZodType<CronSchedule> = z\n .object({\n quartz_cron_expression: z.string().optional(),\n timezone_id: z.string().optional(),\n pause_status: z.string().optional(),\n })\n .transform(d => ({\n quartzCronExpression: d.quartz_cron_expression,\n timezoneId: d.timezone_id,\n pauseStatus: d.pause_status,\n }));\n\nexport const unmarshalDataProfilingConfigSchema: z.ZodType<DataProfilingConfig> =\n z\n .object({\n output_schema_id: z.string().optional(),\n assets_dir: z.string().optional(),\n inference_log: z.lazy(() => unmarshalInferenceLogConfigSchema).optional(),\n time_series: z.lazy(() => unmarshalTimeSeriesConfigSchema).optional(),\n snapshot: z.lazy(() => unmarshalSnapshotConfigSchema).optional(),\n slicing_exprs: z.array(z.string()).optional(),\n custom_metrics: z\n .array(z.lazy(() => unmarshalDataProfilingCustomMetricSchema))\n .optional(),\n baseline_table_name: z.string().optional(),\n schedule: z.lazy(() => unmarshalCronScheduleSchema).optional(),\n notification_settings: z\n .lazy(() => unmarshalNotificationSettingsSchema)\n .optional(),\n skip_builtin_dashboard: z.boolean().optional(),\n warehouse_id: z.string().optional(),\n monitored_table_name: z.string().optional(),\n status: z.string().optional(),\n latest_monitor_failure_message: z.string().optional(),\n profile_metrics_table_name: z.string().optional(),\n drift_metrics_table_name: z.string().optional(),\n dashboard_id: z.string().optional(),\n monitor_version: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n effective_warehouse_id: z.string().optional(),\n })\n .transform(d => ({\n outputSchemaId: d.output_schema_id,\n assetsDir: d.assets_dir,\n analysisConfig:\n d.inference_log !== undefined\n ? {$case: 'inferenceLog' as const, inferenceLog: d.inference_log}\n : d.time_series !== undefined\n ? {$case: 'timeSeries' as const, timeSeries: d.time_series}\n : d.snapshot !== undefined\n ? {$case: 'snapshot' as const, snapshot: d.snapshot}\n : undefined,\n slicingExprs: d.slicing_exprs,\n customMetrics: d.custom_metrics,\n baselineTableName: d.baseline_table_name,\n schedule: d.schedule,\n notificationSettings: d.notification_settings,\n skipBuiltinDashboard: d.skip_builtin_dashboard,\n warehouseId: d.warehouse_id,\n monitoredTableName: d.monitored_table_name,\n status: d.status,\n latestMonitorFailureMessage: d.latest_monitor_failure_message,\n profileMetricsTableName: d.profile_metrics_table_name,\n driftMetricsTableName: d.drift_metrics_table_name,\n dashboardId: d.dashboard_id,\n monitorVersion: d.monitor_version,\n effectiveWarehouseId: d.effective_warehouse_id,\n }));\n\nexport const unmarshalDataProfilingCustomMetricSchema: z.ZodType<DataProfilingCustomMetric> =\n z\n .object({\n name: z.string().optional(),\n definition: z.string().optional(),\n input_columns: z.array(z.string()).optional(),\n output_data_type: z.string().optional(),\n type: z.string().optional(),\n })\n .transform(d => ({\n name: d.name,\n definition: d.definition,\n inputColumns: d.input_columns,\n outputDataType: d.output_data_type,\n type: d.type,\n }));\n\nexport const unmarshalInferenceLogConfigSchema: z.ZodType<InferenceLogConfig> =\n z\n .object({\n problem_type: z.string().optional(),\n timestamp_column: z.string().optional(),\n granularities: z.array(z.string()).optional(),\n prediction_column: z.string().optional(),\n label_column: z.string().optional(),\n model_id_column: z.string().optional(),\n })\n .transform(d => ({\n problemType: d.problem_type,\n timestampColumn: d.timestamp_column,\n granularities: d.granularities,\n predictionColumn: d.prediction_column,\n labelColumn: d.label_column,\n modelIdColumn: d.model_id_column,\n }));\n\nexport const unmarshalListMonitorResponseSchema: z.ZodType<ListMonitorResponse> =\n z\n .object({\n monitors: z.array(z.lazy(() => unmarshalMonitorSchema)).optional(),\n next_page_token: z.string().optional(),\n })\n .transform(d => ({\n monitors: d.monitors,\n nextPageToken: d.next_page_token,\n }));\n\nexport const unmarshalListRefreshResponseSchema: z.ZodType<ListRefreshResponse> =\n z\n .object({\n refreshes: z.array(z.lazy(() => unmarshalRefreshSchema)).optional(),\n next_page_token: z.string().optional(),\n })\n .transform(d => ({\n refreshes: d.refreshes,\n nextPageToken: d.next_page_token,\n }));\n\nexport const unmarshalMonitorSchema: z.ZodType<Monitor> = z\n .object({\n object_type: z.string().optional(),\n object_id: z.string().optional(),\n anomaly_detection_config: z\n .lazy(() => unmarshalAnomalyDetectionConfigSchema)\n .optional(),\n data_profiling_config: z\n .lazy(() => unmarshalDataProfilingConfigSchema)\n .optional(),\n })\n .transform(d => ({\n objectType: d.object_type,\n objectId: d.object_id,\n anomalyDetectionConfig: d.anomaly_detection_config,\n dataProfilingConfig: d.data_profiling_config,\n }));\n\nexport const unmarshalNotificationDestinationSchema: z.ZodType<NotificationDestination> =\n z\n .object({\n email_addresses: z.array(z.string()).optional(),\n destination_ids: z.array(z.string()).optional(),\n destination_user_ids: z\n .array(\n z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n )\n .optional(),\n })\n .transform(d => ({\n emailAddresses: d.email_addresses,\n destinationIds: d.destination_ids,\n destinationUserIds: d.destination_user_ids,\n }));\n\nexport const unmarshalNotificationSettingsSchema: z.ZodType<NotificationSettings> =\n z\n .object({\n on_failure: z\n .lazy(() => unmarshalNotificationDestinationSchema)\n .optional(),\n on_unhealthy_table: z\n .lazy(() => unmarshalNotificationDestinationSchema)\n .optional(),\n })\n .transform(d => ({\n onFailure: d.on_failure,\n onUnhealthyTable: d.on_unhealthy_table,\n }));\n\nexport const unmarshalRefreshSchema: z.ZodType<Refresh> = z\n .object({\n object_type: z.string().optional(),\n object_id: z.string().optional(),\n refresh_id: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n state: z.string().optional(),\n message: z.string().optional(),\n start_time_ms: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n end_time_ms: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n trigger: z.string().optional(),\n })\n .transform(d => ({\n objectType: d.object_type,\n objectId: d.object_id,\n refreshId: d.refresh_id,\n state: d.state,\n message: d.message,\n startTimeMs: d.start_time_ms,\n endTimeMs: d.end_time_ms,\n trigger: d.trigger,\n }));\n\nexport const unmarshalSnapshotConfigSchema: z.ZodType<SnapshotConfig> =\n z.object({});\n\nexport const unmarshalTimeSeriesConfigSchema: z.ZodType<TimeSeriesConfig> = z\n .object({\n timestamp_column: z.string().optional(),\n granularities: z.array(z.string()).optional(),\n })\n .transform(d => ({\n timestampColumn: d.timestamp_column,\n granularities: d.granularities,\n }));\n\nexport const marshalAnomalyDetectionConfigSchema: z.ZodType = z\n .object({\n excludedTableFullNames: z.array(z.string()).optional(),\n notificationSettings: z\n .lazy(() => marshalNotificationSettingsSchema)\n .optional(),\n })\n .transform(d => ({\n excluded_table_full_names: d.excludedTableFullNames,\n notification_settings: d.notificationSettings,\n }));\n\nexport const marshalCancelRefreshRequestSchema: z.ZodType = z\n .object({\n objectType: z.string().optional(),\n objectId: z.string().optional(),\n refreshId: z.bigint().optional(),\n })\n .transform(d => ({\n object_type: d.objectType,\n object_id: d.objectId,\n refresh_id: d.refreshId,\n }));\n\nexport const marshalCronScheduleSchema: z.ZodType = z\n .object({\n quartzCronExpression: z.string().optional(),\n timezoneId: z.string().optional(),\n pauseStatus: z.string().optional(),\n })\n .transform(d => ({\n quartz_cron_expression: d.quartzCronExpression,\n timezone_id: d.timezoneId,\n pause_status: d.pauseStatus,\n }));\n\nexport const marshalDataProfilingConfigSchema: z.ZodType = z\n .object({\n outputSchemaId: z.string().optional(),\n assetsDir: z.string().optional(),\n analysisConfig: z\n .discriminatedUnion('$case', [\n z.object({\n $case: z.literal('inferenceLog'),\n inferenceLog: z.lazy(() => marshalInferenceLogConfigSchema),\n }),\n z.object({\n $case: z.literal('timeSeries'),\n timeSeries: z.lazy(() => marshalTimeSeriesConfigSchema),\n }),\n z.object({\n $case: z.literal('snapshot'),\n snapshot: z.lazy(() => marshalSnapshotConfigSchema),\n }),\n ])\n .optional(),\n slicingExprs: z.array(z.string()).optional(),\n customMetrics: z\n .array(z.lazy(() => marshalDataProfilingCustomMetricSchema))\n .optional(),\n baselineTableName: z.string().optional(),\n schedule: z.lazy(() => marshalCronScheduleSchema).optional(),\n notificationSettings: z\n .lazy(() => marshalNotificationSettingsSchema)\n .optional(),\n skipBuiltinDashboard: z.boolean().optional(),\n warehouseId: z.string().optional(),\n monitoredTableName: z.string().optional(),\n status: z.string().optional(),\n latestMonitorFailureMessage: z.string().optional(),\n profileMetricsTableName: z.string().optional(),\n driftMetricsTableName: z.string().optional(),\n dashboardId: z.string().optional(),\n monitorVersion: z.bigint().optional(),\n effectiveWarehouseId: z.string().optional(),\n })\n .transform(d => ({\n output_schema_id: d.outputSchemaId,\n assets_dir: d.assetsDir,\n ...(d.analysisConfig?.$case === 'inferenceLog' && {\n inference_log: d.analysisConfig.inferenceLog,\n }),\n ...(d.analysisConfig?.$case === 'timeSeries' && {\n time_series: d.analysisConfig.timeSeries,\n }),\n ...(d.analysisConfig?.$case === 'snapshot' && {\n snapshot: d.analysisConfig.snapshot,\n }),\n slicing_exprs: d.slicingExprs,\n custom_metrics: d.customMetrics,\n baseline_table_name: d.baselineTableName,\n schedule: d.schedule,\n notification_settings: d.notificationSettings,\n skip_builtin_dashboard: d.skipBuiltinDashboard,\n warehouse_id: d.warehouseId,\n monitored_table_name: d.monitoredTableName,\n status: d.status,\n latest_monitor_failure_message: d.latestMonitorFailureMessage,\n profile_metrics_table_name: d.profileMetricsTableName,\n drift_metrics_table_name: d.driftMetricsTableName,\n dashboard_id: d.dashboardId,\n monitor_version: d.monitorVersion,\n effective_warehouse_id: d.effectiveWarehouseId,\n }));\n\nexport const marshalDataProfilingCustomMetricSchema: z.ZodType = z\n .object({\n name: z.string().optional(),\n definition: z.string().optional(),\n inputColumns: z.array(z.string()).optional(),\n outputDataType: z.string().optional(),\n type: z.string().optional(),\n })\n .transform(d => ({\n name: d.name,\n definition: d.definition,\n input_columns: d.inputColumns,\n output_data_type: d.outputDataType,\n type: d.type,\n }));\n\nexport const marshalInferenceLogConfigSchema: z.ZodType = z\n .object({\n problemType: z.string().optional(),\n timestampColumn: z.string().optional(),\n granularities: z.array(z.string()).optional(),\n predictionColumn: z.string().optional(),\n labelColumn: z.string().optional(),\n modelIdColumn: z.string().optional(),\n })\n .transform(d => ({\n problem_type: d.problemType,\n timestamp_column: d.timestampColumn,\n granularities: d.granularities,\n prediction_column: d.predictionColumn,\n label_column: d.labelColumn,\n model_id_column: d.modelIdColumn,\n }));\n\nexport const marshalMonitorSchema: z.ZodType = z\n .object({\n objectType: z.string().optional(),\n objectId: z.string().optional(),\n anomalyDetectionConfig: z\n .lazy(() => marshalAnomalyDetectionConfigSchema)\n .optional(),\n dataProfilingConfig: z\n .lazy(() => marshalDataProfilingConfigSchema)\n .optional(),\n })\n .transform(d => ({\n object_type: d.objectType,\n object_id: d.objectId,\n anomaly_detection_config: d.anomalyDetectionConfig,\n data_profiling_config: d.dataProfilingConfig,\n }));\n\nexport const marshalNotificationDestinationSchema: z.ZodType = z\n .object({\n emailAddresses: z.array(z.string()).optional(),\n destinationIds: z.array(z.string()).optional(),\n destinationUserIds: z.array(z.bigint()).optional(),\n })\n .transform(d => ({\n email_addresses: d.emailAddresses,\n destination_ids: d.destinationIds,\n destination_user_ids: d.destinationUserIds,\n }));\n\nexport const marshalNotificationSettingsSchema: z.ZodType = z\n .object({\n onFailure: z.lazy(() => marshalNotificationDestinationSchema).optional(),\n onUnhealthyTable: z\n .lazy(() => marshalNotificationDestinationSchema)\n .optional(),\n })\n .transform(d => ({\n on_failure: d.onFailure,\n on_unhealthy_table: d.onUnhealthyTable,\n }));\n\nexport const marshalRefreshSchema: z.ZodType = z\n .object({\n objectType: z.string().optional(),\n objectId: z.string().optional(),\n refreshId: z.bigint().optional(),\n state: z.string().optional(),\n message: z.string().optional(),\n startTimeMs: z.bigint().optional(),\n endTimeMs: z.bigint().optional(),\n trigger: z.string().optional(),\n })\n .transform(d => ({\n object_type: d.objectType,\n object_id: d.objectId,\n refresh_id: d.refreshId,\n state: d.state,\n message: d.message,\n start_time_ms: d.startTimeMs,\n end_time_ms: d.endTimeMs,\n trigger: d.trigger,\n }));\n\nexport const marshalSnapshotConfigSchema: z.ZodType = z.object({});\n\nexport const marshalTimeSeriesConfigSchema: z.ZodType = z\n .object({\n timestampColumn: z.string().optional(),\n granularities: z.array(z.string()).optional(),\n })\n .transform(d => ({\n timestamp_column: d.timestampColumn,\n granularities: d.granularities,\n }));\n\nconst anomalyDetectionConfigFieldMaskSchema: FieldMaskSchema = {\n excludedTableFullNames: {wire: 'excluded_table_full_names'},\n notificationSettings: {\n wire: 'notification_settings',\n children: () => notificationSettingsFieldMaskSchema,\n },\n};\n\nconst cronScheduleFieldMaskSchema: FieldMaskSchema = {\n pauseStatus: {wire: 'pause_status'},\n quartzCronExpression: {wire: 'quartz_cron_expression'},\n timezoneId: {wire: 'timezone_id'},\n};\n\nconst dataProfilingConfigFieldMaskSchema: FieldMaskSchema = {\n assetsDir: {wire: 'assets_dir'},\n baselineTableName: {wire: 'baseline_table_name'},\n customMetrics: {wire: 'custom_metrics'},\n dashboardId: {wire: 'dashboard_id'},\n driftMetricsTableName: {wire: 'drift_metrics_table_name'},\n effectiveWarehouseId: {wire: 'effective_warehouse_id'},\n inferenceLog: {\n wire: 'inference_log',\n children: () => inferenceLogConfigFieldMaskSchema,\n },\n latestMonitorFailureMessage: {wire: 'latest_monitor_failure_message'},\n monitorVersion: {wire: 'monitor_version'},\n monitoredTableName: {wire: 'monitored_table_name'},\n notificationSettings: {\n wire: 'notification_settings',\n children: () => notificationSettingsFieldMaskSchema,\n },\n outputSchemaId: {wire: 'output_schema_id'},\n profileMetricsTableName: {wire: 'profile_metrics_table_name'},\n schedule: {wire: 'schedule', children: () => cronScheduleFieldMaskSchema},\n skipBuiltinDashboard: {wire: 'skip_builtin_dashboard'},\n slicingExprs: {wire: 'slicing_exprs'},\n snapshot: {wire: 'snapshot', children: () => snapshotConfigFieldMaskSchema},\n status: {wire: 'status'},\n timeSeries: {\n wire: 'time_series',\n children: () => timeSeriesConfigFieldMaskSchema,\n },\n warehouseId: {wire: 'warehouse_id'},\n};\n\nconst inferenceLogConfigFieldMaskSchema: FieldMaskSchema = {\n granularities: {wire: 'granularities'},\n labelColumn: {wire: 'label_column'},\n modelIdColumn: {wire: 'model_id_column'},\n predictionColumn: {wire: 'prediction_column'},\n problemType: {wire: 'problem_type'},\n timestampColumn: {wire: 'timestamp_column'},\n};\n\nconst monitorFieldMaskSchema: FieldMaskSchema = {\n anomalyDetectionConfig: {\n wire: 'anomaly_detection_config',\n children: () => anomalyDetectionConfigFieldMaskSchema,\n },\n dataProfilingConfig: {\n wire: 'data_profiling_config',\n children: () => dataProfilingConfigFieldMaskSchema,\n },\n objectId: {wire: 'object_id'},\n objectType: {wire: 'object_type'},\n};\n\nexport function monitorFieldMask(...paths: string[]): FieldMask<Monitor> {\n return FieldMask.build<Monitor>(paths, monitorFieldMaskSchema);\n}\n\nconst notificationDestinationFieldMaskSchema: FieldMaskSchema = {\n destinationIds: {wire: 'destination_ids'},\n destinationUserIds: {wire: 'destination_user_ids'},\n emailAddresses: {wire: 'email_addresses'},\n};\n\nconst notificationSettingsFieldMaskSchema: FieldMaskSchema = {\n onFailure: {\n wire: 'on_failure',\n children: () => notificationDestinationFieldMaskSchema,\n },\n onUnhealthyTable: {\n wire: 'on_unhealthy_table',\n children: () => notificationDestinationFieldMaskSchema,\n },\n};\n\nconst refreshFieldMaskSchema: FieldMaskSchema = {\n endTimeMs: {wire: 'end_time_ms'},\n message: {wire: 'message'},\n objectId: {wire: 'object_id'},\n objectType: {wire: 'object_type'},\n refreshId: {wire: 'refresh_id'},\n startTimeMs: {wire: 'start_time_ms'},\n state: {wire: 'state'},\n trigger: {wire: 'trigger'},\n};\n\nexport function refreshFieldMask(...paths: string[]): FieldMask<Refresh> {\n return FieldMask.build<Refresh>(paths, refreshFieldMaskSchema);\n}\n\nconst snapshotConfigFieldMaskSchema: FieldMaskSchema = {};\n\nconst timeSeriesConfigFieldMaskSchema: FieldMaskSchema = {\n granularities: {wire: 'granularities'},\n timestampColumn: {wire: 'timestamp_column'},\n};\n"],"mappings":";;;;;AAQA,MAAa,yBAAyB;CACpC,qCAAqC;CAErC,mCAAmC;CAEnC,oCAAoC;CAEpC,gCAAgC;CAEhC,+BAA+B;CAE/B,gCAAgC;CAEhC,iCAAiC;CAEjC,iCAAiC;CAEjC,iCAAiC;CAEjC,iCAAiC;CAEjC,gCAAgC;CACjC;;AAOD,MAAa,0BAA0B;CACrC,wCACE;CAEF,qCAAqC;CAErC,mCAAmC;C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W,EAAC,MAAM,eAAc;CAChC,SAAS,EAAC,MAAM,WAAU;CAC1B,UAAU,EAAC,MAAM,aAAY;CAC7B,YAAY,EAAC,MAAM,eAAc;CACjC,WAAW,EAAC,MAAM,cAAa;CAC/B,aAAa,EAAC,MAAM,iBAAgB;CACpC,OAAO,EAAC,MAAM,SAAQ;CACtB,SAAS,EAAC,MAAM,WAAU;CAC3B;AAED,SAAgB,iBAAiB,GAAG,OAAqC;AACvE,QAAO,UAAU,MAAe,OAAO,uBAAuB;;AAGhE,MAAM,gCAAiD,EAAE;AAEzD,MAAM,kCAAmD;CACvD,eAAe,EAAC,MAAM,iBAAgB;CACtC,iBAAiB,EAAC,MAAM,oBAAmB;CAC5C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databricks/sdk-dataquality",
3
- "version": "0.51.2",
3
+ "version": "0.51.4",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "exports": {
@@ -33,9 +33,9 @@
33
33
  "directory": "packages/dataquality"
34
34
  },
35
35
  "dependencies": {
36
- "@databricks/sdk-auth": ">=0.53.0 <1.0.0",
36
+ "@databricks/sdk-auth": ">=0.55.0 <1.0.0",
37
37
  "@databricks/sdk-core": ">=0.51.2 <1.0.0",
38
- "@databricks/sdk-options": ">=0.51.2 <1.0.0",
38
+ "@databricks/sdk-options": ">=0.51.4 <1.0.0",
39
39
  "@js-temporal/polyfill": "^0.5.0",
40
40
  "json-bigint": "^1.0.0",
41
41
  "zod": "^4.3.6"