@databricks/sdk-dataquality 0.34.0 → 0.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"model.js","sourceRoot":"","sources":["../../src/v1/model.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAE/E,OAAO,EAAC,SAAS,EAAC,MAAM,0BAA0B,CAAC;AAEnD,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,uFAAuF;AACvF,4FAA4F;AAC5F,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,mCAAmC,EAAE,qCAAqC;IAC1E,iBAAiB;IACjB,iCAAiC,EAAE,mCAAmC;IACtE,kBAAkB;IAClB,kCAAkC,EAAE,oCAAoC;IACxE,cAAc;IACd,8BAA8B,EAAE,gCAAgC;IAChE,aAAa;IACb,6BAA6B,EAAE,+BAA+B;IAC9D,cAAc;IACd,8BAA8B,EAAE,gCAAgC;IAChE,eAAe;IACf,+BAA+B,EAAE,iCAAiC;IAClE,eAAe;IACf,+BAA+B,EAAE,iCAAiC;IAClE,eAAe;IACf,+BAA+B,EAAE,iCAAiC;IAClE,eAAe;IACf,+BAA+B,EAAE,iCAAiC;IAClE,cAAc;IACd,8BAA8B,EAAE,gCAAgC;CACxD,CAAC;AAKX,uEAAuE;AACvE,4FAA4F;AAC5F,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,sCAAsC,EACpC,wCAAwC;IAC1C,uCAAuC;IACvC,mCAAmC,EAAE,qCAAqC;IAC1E,mCAAmC;IACnC,iCAAiC,EAAE,mCAAmC;CAC9D,CAAC;AAKX,8BAA8B;AAC9B,4FAA4F;AAC5F,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,6CAA6C,EAC3C,+CAA+C;IACjD,wDAAwD;IACxD,2CAA2C,EACzC,6CAA6C;IAC/C,4DAA4D;IAC5D,yCAAyC,EACvC,2CAA2C;IAC7C,kEAAk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CAAC;AAEF,MAAM,sBAAsB,GAAoB;IAC9C,SAAS,EAAE,EAAC,IAAI,EAAE,aAAa,EAAC;IAChC,OAAO,EAAE,EAAC,IAAI,EAAE,SAAS,EAAC;IAC1B,QAAQ,EAAE,EAAC,IAAI,EAAE,WAAW,EAAC;IAC7B,UAAU,EAAE,EAAC,IAAI,EAAE,aAAa,EAAC;IACjC,SAAS,EAAE,EAAC,IAAI,EAAE,YAAY,EAAC;IAC/B,WAAW,EAAE,EAAC,IAAI,EAAE,eAAe,EAAC;IACpC,KAAK,EAAE,EAAC,IAAI,EAAE,OAAO,EAAC;IACtB,OAAO,EAAE,EAAC,IAAI,EAAE,SAAS,EAAC;CAC3B,CAAC;AAEF,MAAM,UAAU,gBAAgB,CAAC,GAAG,KAAe;IACjD,OAAO,SAAS,CAAC,KAAK,CAAU,KAAK,EAAE,sBAAsB,CAAC,CAAC;AACjE,CAAC;AAED,MAAM,6BAA6B,GAAoB,EAAE,CAAC;AAE1D,MAAM,+BAA+B,GAAoB;IACvD,aAAa,EAAE,EAAC,IAAI,EAAE,eAAe,EAAC;IACtC,eAAe,EAAE,EAAC,IAAI,EAAE,kBAAkB,EAAC;CAC5C,CAAC"}
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()])\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()])\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()])\n .transform(v => BigInt(v))\n .optional(),\n end_time_ms: z\n .union([z.number(), z.bigint()])\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,qCAAqC;CAErC,mCAAmC;CACpC;;AAOD,MAAa,gCAAgC;CAC3C,+CACE;CAEF,6CACE;CAEF,2CACE;CAEF,yCACE;CACH;;AAOD,MAAa,sBAAsB;CACjC,mCAAmC;CACnC,8BAA8B;CAC9B,+BAA+B;CAC/B,sCAAsC;CACtC,6BAA6B;CAC7B,8BAA8B;CAC/B;;AAOD,MAAa,uBAAuB;CAClC,oCAAoC;CAEpC,uCACE;CAEF,mCAAmC;CACpC;;AAOD,MAAa,eAAe;CAC1B,+BAA+B;CAE/B,+BAA+B;CAE/B,+BAA+B;CAE/B,+BAA+B;CAE/B,8BAA8B;CAE9B,gCAAgC;CACjC;;AAOD,MAAa,iBAAiB;CAC5B,iCAAiC;CAE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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,23 +1,25 @@
1
- import type { HttpClient } from '@databricks/sdk-core/http';
2
- import type { ClientOptions } from '@databricks/sdk-options/client';
1
+ import { HttpClient } from "@databricks/sdk-core/http";
2
+ import { ClientOptions } from "@databricks/sdk-options/client";
3
+
4
+ //#region src/v1/transport.d.ts
3
5
  /**
4
6
  * The configuration a client needs to issue requests, resolved from
5
7
  * {@link ClientOptions} and a configuration profile.
6
8
  */
7
- export interface ResolvedClientConfig {
8
- /** Host with any trailing slash removed. */
9
- host: string;
10
- /**
11
- * Default account ID for account-level paths that contain an account_id
12
- * segment. A request's own accountId still wins.
13
- */
14
- accountId?: string;
15
- /**
16
- * Workspace ID used to route workspace-level calls on unified hosts (SPOG).
17
- */
18
- workspaceId?: string;
19
- /** HTTP client with authentication, and any configured timeout, applied. */
20
- httpClient: HttpClient;
9
+ interface ResolvedClientConfig {
10
+ /** Host with any trailing slash removed. */
11
+ host: string;
12
+ /**
13
+ * Default account ID for account-level paths that contain an account_id
14
+ * segment. A request's own accountId still wins.
15
+ */
16
+ accountId?: string;
17
+ /**
18
+ * Workspace ID used to route workspace-level calls on unified hosts (SPOG).
19
+ */
20
+ workspaceId?: string;
21
+ /** HTTP client with authentication, and any configured timeout, applied. */
22
+ httpClient: HttpClient;
21
23
  }
22
24
  /**
23
25
  * Resolves {@link ClientOptions} into a {@link ResolvedClientConfig}.
@@ -29,5 +31,7 @@ export interface ResolvedClientConfig {
29
31
  *
30
32
  * @throws if host is neither provided nor present in the resolved profile.
31
33
  */
32
- export declare function resolveClientConfig(options: ClientOptions): Promise<ResolvedClientConfig>;
34
+ declare function resolveClientConfig(options: ClientOptions): Promise<ResolvedClientConfig>;
35
+ //#endregion
36
+ export { ResolvedClientConfig, resolveClientConfig };
33
37
  //# sourceMappingURL=transport.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../../src/v1/transport.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,UAAU,EAGX,MAAM,2BAA2B,CAAC;AAInC,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,gCAAgC,CAAC;AAElE;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,4CAA4C;IAC5C,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,4EAA4E;IAC5E,UAAU,EAAE,UAAU,CAAC;CACxB;AAED;;;;;;;;;GASG;AACH,wBAAsB,mBAAmB,CACvC,OAAO,EAAE,aAAa,GACrB,OAAO,CAAC,oBAAoB,CAAC,CA4B/B"}
1
+ {"version":3,"file":"transport.d.ts","names":[],"sources":["../../src/v1/transport.ts"],"mappings":";;;;;;AAkBA;;UAAiB,oBAAA;EAgBO;EAdtB,IAAA;EAMA;;;;EAAA,SAAA;EAQsB;AAaxB;;EAhBE,WAAA;EAiBS;EAdT,UAAA,EAAY,UAAA;AAAA;;;;;;;;;;;iBAaQ,mBAAA,CACpB,OAAA,EAAS,aAAA,GACR,OAAA,CAAQ,oBAAA"}
@@ -1,74 +1,65 @@
1
- // Code generated from API definition by Databricks SDK Generator. DO NOT EDIT.
2
- import { defaultCredentials } from '@databricks/sdk-auth/credentials';
3
- import { newFetchHttpClient } from '@databricks/sdk-core/http';
4
- import { resolve } from '@databricks/sdk-core/profiles';
1
+ import { defaultCredentials } from "@databricks/sdk-auth/credentials";
2
+ import { newFetchHttpClient } from "@databricks/sdk-core/http";
3
+ import { resolve } from "@databricks/sdk-core/profiles";
4
+
5
+ //#region src/v1/transport.ts
5
6
  /**
6
- * Resolves {@link ClientOptions} into a {@link ResolvedClientConfig}.
7
- *
8
- * A configuration profile is always resolved from the config file and
9
- * environment variables (per options.profileOptions); it supplies host,
10
- * accountId, workspaceId, and credentials wherever the caller did not set them
11
- * explicitly. Explicit options always take precedence.
12
- *
13
- * @throws if host is neither provided nor present in the resolved profile.
14
- */
15
- export async function resolveClientConfig(options) {
16
- const profile = await resolve(options.profileOptions);
17
- const host = options.host ?? profile.host;
18
- if (host === undefined) {
19
- throw new Error('Host is required.');
20
- }
21
- // The provided httpClient (or the default fetch client) is the base wire;
22
- // authentication and the optional timeout are layered on top of it. The
23
- // default credential chain reuses the profile resolved above so that the
24
- // same profileOptions govern host and authentication alike.
25
- const base = options.httpClient ?? newFetchHttpClient();
26
- const credentials = options.credentials ?? defaultCredentials({ profile });
27
- let httpClient = new AuthHttpClient(base, credentials);
28
- if (options.timeout !== undefined) {
29
- httpClient = new TimeoutHttpClient(httpClient, options.timeout);
30
- }
31
- const accountId = options.accountId ?? profile.accountId;
32
- const workspaceId = options.workspaceId ?? profile.workspaceId;
33
- return {
34
- host: host.replace(/\/$/, ''),
35
- httpClient,
36
- ...(accountId !== undefined && { accountId }),
37
- ...(workspaceId !== undefined && { workspaceId }),
38
- };
7
+ * Resolves {@link ClientOptions} into a {@link ResolvedClientConfig}.
8
+ *
9
+ * A configuration profile is always resolved from the config file and
10
+ * environment variables (per options.profileOptions); it supplies host,
11
+ * accountId, workspaceId, and credentials wherever the caller did not set them
12
+ * explicitly. Explicit options always take precedence.
13
+ *
14
+ * @throws if host is neither provided nor present in the resolved profile.
15
+ */
16
+ async function resolveClientConfig(options) {
17
+ const profile = await resolve(options.profileOptions);
18
+ const host = options.host ?? profile.host;
19
+ if (host === void 0) throw new Error("Host is required.");
20
+ let httpClient = new AuthHttpClient(options.httpClient ?? newFetchHttpClient(), options.credentials ?? defaultCredentials({ profile }));
21
+ if (options.timeout !== void 0) httpClient = new TimeoutHttpClient(httpClient, options.timeout);
22
+ const accountId = options.accountId ?? profile.accountId;
23
+ const workspaceId = options.workspaceId ?? profile.workspaceId;
24
+ return {
25
+ host: host.replace(/\/$/, ""),
26
+ httpClient,
27
+ ...accountId !== void 0 && { accountId },
28
+ ...workspaceId !== void 0 && { workspaceId }
29
+ };
39
30
  }
40
31
  /** Wraps an HttpClient and adds authentication headers to requests. */
41
- class AuthHttpClient {
42
- base;
43
- credentials;
44
- constructor(base, credentials) {
45
- this.base = base;
46
- this.credentials = credentials;
47
- }
48
- async send(request) {
49
- const authHeaders = await this.credentials.authHeaders();
50
- // Do not modify the original request.
51
- const headers = new Headers(request.headers);
52
- for (const h of authHeaders) {
53
- headers.set(h.key, h.value);
54
- }
55
- return this.base.send({ ...request, headers });
56
- }
57
- }
32
+ var AuthHttpClient = class {
33
+ constructor(base, credentials) {
34
+ this.base = base;
35
+ this.credentials = credentials;
36
+ }
37
+ async send(request) {
38
+ const authHeaders = await this.credentials.authHeaders();
39
+ const headers = new Headers(request.headers);
40
+ for (const h of authHeaders) headers.set(h.key, h.value);
41
+ return this.base.send({
42
+ ...request,
43
+ headers
44
+ });
45
+ }
46
+ };
58
47
  /** Wraps an HttpClient and applies a default timeout to requests. */
59
- class TimeoutHttpClient {
60
- base;
61
- timeout;
62
- constructor(base, timeout) {
63
- this.base = base;
64
- this.timeout = timeout;
65
- }
66
- async send(request) {
67
- const timeoutSignal = AbortSignal.timeout(this.timeout);
68
- const signal = request.signal !== undefined
69
- ? AbortSignal.any([request.signal, timeoutSignal])
70
- : timeoutSignal;
71
- return this.base.send({ ...request, signal });
72
- }
73
- }
48
+ var TimeoutHttpClient = class {
49
+ constructor(base, timeout) {
50
+ this.base = base;
51
+ this.timeout = timeout;
52
+ }
53
+ async send(request) {
54
+ const timeoutSignal = AbortSignal.timeout(this.timeout);
55
+ const signal = request.signal !== void 0 ? AbortSignal.any([request.signal, timeoutSignal]) : timeoutSignal;
56
+ return this.base.send({
57
+ ...request,
58
+ signal
59
+ });
60
+ }
61
+ };
62
+
63
+ //#endregion
64
+ export { resolveClientConfig };
74
65
  //# sourceMappingURL=transport.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"transport.js","sourceRoot":"","sources":["../../src/v1/transport.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAG/E,OAAO,EAAC,kBAAkB,EAAC,MAAM,kCAAkC,CAAC;AAMpE,OAAO,EAAC,kBAAkB,EAAC,MAAM,2BAA2B,CAAC;AAE7D,OAAO,EAAC,OAAO,EAAC,MAAM,+BAA+B,CAAC;AA0BtD;;;;;;;;;GASG;AACH,MAAM,CAAC,KAAK,UAAU,mBAAmB,CACvC,OAAsB;IAEtB,MAAM,OAAO,GAAY,MAAM,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;IAE/D,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAC1C,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;QACvB,MAAM,IAAI,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACvC,CAAC;IAED,0EAA0E;IAC1E,wEAAwE;IACxE,yEAAyE;IACzE,4DAA4D;IAC5D,MAAM,IAAI,GAAG,OAAO,CAAC,UAAU,IAAI,kBAAkB,EAAE,CAAC;IACxD,MAAM,WAAW,GAAG,OAAO,CAAC,WAAW,IAAI,kBAAkB,CAAC,EAAC,OAAO,EAAC,CAAC,CAAC;IACzE,IAAI,UAAU,GAAe,IAAI,cAAc,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;IACnE,IAAI,OAAO,CAAC,OAAO,KAAK,SAAS,EAAE,CAAC;QAClC,UAAU,GAAG,IAAI,iBAAiB,CAAC,UAAU,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;IAClE,CAAC;IAED,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,I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D,MAAM,MAAM,GACV,OAAO,CAAC,MAAM,KAAK,SAAS;YAC1B,CAAC,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;YAClD,CAAC,CAAC,aAAa,CAAC;QACpB,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EAAC,GAAG,OAAO,EAAE,MAAM,EAAC,CAAC,CAAC;IAC9C,CAAC;CACF"}
1
+ {"version":3,"file":"transport.js","names":[],"sources":["../../src/v1/transport.ts"],"sourcesContent":["// Code generated from API definition by Databricks SDK Generator. DO NOT EDIT.\n\nimport type {Credentials} from '@databricks/sdk-auth';\nimport {defaultCredentials} from '@databricks/sdk-auth/credentials';\nimport type {\n HttpClient,\n HttpRequest,\n HttpResponse,\n} from '@databricks/sdk-core/http';\nimport {newFetchHttpClient} from '@databricks/sdk-core/http';\nimport type {Profile} from '@databricks/sdk-core/profiles';\nimport {resolve} from '@databricks/sdk-core/profiles';\nimport type {ClientOptions} from '@databricks/sdk-options/client';\n\n/**\n * The configuration a client needs to issue requests, resolved from\n * {@link ClientOptions} and a configuration profile.\n */\nexport interface ResolvedClientConfig {\n /** Host with any trailing slash removed. */\n host: string;\n\n /**\n * Default account ID for account-level paths that contain an account_id\n * segment. A request's own accountId still wins.\n */\n accountId?: string;\n\n /**\n * Workspace ID used to route workspace-level calls on unified hosts (SPOG).\n */\n workspaceId?: string;\n\n /** HTTP client with authentication, and any configured timeout, applied. */\n httpClient: HttpClient;\n}\n\n/**\n * Resolves {@link ClientOptions} into a {@link ResolvedClientConfig}.\n *\n * A configuration profile is always resolved from the config file and\n * environment variables (per options.profileOptions); it supplies host,\n * accountId, workspaceId, and credentials wherever the caller did not set them\n * explicitly. Explicit options always take precedence.\n *\n * @throws if host is neither provided nor present in the resolved profile.\n */\nexport async function resolveClientConfig(\n options: ClientOptions\n): Promise<ResolvedClientConfig> {\n const profile: Profile = await resolve(options.profileOptions);\n\n const host = options.host ?? profile.host;\n if (host === undefined) {\n throw new Error('Host is required.');\n }\n\n // The provided httpClient (or the default fetch client) is the base wire;\n // authentication and the optional timeout are layered on top of it. The\n // default credential chain reuses the profile resolved above so that the\n // same profileOptions govern host and authentication alike.\n const base = options.httpClient ?? newFetchHttpClient();\n const credentials = options.credentials ?? defaultCredentials({profile});\n let httpClient: HttpClient = new AuthHttpClient(base, credentials);\n if (options.timeout !== undefined) {\n httpClient = new TimeoutHttpClient(httpClient, options.timeout);\n }\n\n const accountId = options.accountId ?? profile.accountId;\n const workspaceId = options.workspaceId ?? profile.workspaceId;\n\n return {\n host: host.replace(/\\/$/, ''),\n httpClient,\n ...(accountId !== undefined && {accountId}),\n ...(workspaceId !== undefined && {workspaceId}),\n };\n}\n\n/** Wraps an HttpClient and adds authentication headers to requests. */\nclass AuthHttpClient implements HttpClient {\n constructor(\n private readonly base: HttpClient,\n private readonly credentials: Credentials\n ) {}\n\n async send(request: HttpRequest): Promise<HttpResponse> {\n const authHeaders = await this.credentials.authHeaders();\n // Do not modify the original request.\n const headers = new Headers(request.headers);\n for (const h of authHeaders) {\n headers.set(h.key, h.value);\n }\n return this.base.send({...request, headers});\n }\n}\n\n/** Wraps an HttpClient and applies a default timeout to requests. */\nclass TimeoutHttpClient implements HttpClient {\n constructor(\n private readonly base: HttpClient,\n private readonly timeout: number\n ) {}\n\n async send(request: HttpRequest): Promise<HttpResponse> {\n const timeoutSignal = AbortSignal.timeout(this.timeout);\n const signal =\n request.signal !== undefined\n ? AbortSignal.any([request.signal, timeoutSignal])\n : timeoutSignal;\n return this.base.send({...request, signal});\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;AA+CA,eAAsB,oBACpB,SAC+B;CAC/B,MAAM,UAAmB,MAAM,QAAQ,QAAQ,eAAe;CAE9D,MAAM,OAAO,QAAQ,QAAQ,QAAQ;AACrC,KAAI,SAAS,OACX,OAAM,IAAI,MAAM,oBAAoB;CAStC,IAAI,aAAyB,IAAI,eAFpB,QAAQ,cAAc,oBAAoB,EACnC,QAAQ,eAAe,mBAAmB,EAAC,SAAQ,CAAC,CACN;AAClE,KAAI,QAAQ,YAAY,OACtB,cAAa,IAAI,kBAAkB,YAAY,QAAQ,QAAQ;CAGjE,MAAM,YAAY,QAAQ,aAAa,QAAQ;CAC/C,MAAM,cAAc,QAAQ,eAAe,QAAQ;AAEnD,QAAO;EACL,MAAM,KAAK,QAAQ,OAAO,GAAG;EAC7B;EACA,GAAI,cAAc,UAAa,EAAC,WAAU;EAC1C,GAAI,gBAAgB,UAAa,EAAC,aAAY;EAC/C;;;AAIH,IAAM,iBAAN,MAA2C;CACzC,YACE,AAAiB,MACjB,AAAiB,aACjB;EAFiB;EACA;;CAGnB,MAAM,KAAK,SAA6C;EACtD,MAAM,cAAc,MAAM,KAAK,YAAY,aAAa;EAExD,MAAM,UAAU,IAAI,QAAQ,QAAQ,QAAQ;AAC5C,OAAK,MAAM,KAAK,YACd,SAAQ,IAAI,EAAE,KAAK,EAAE,MAAM;AAE7B,SAAO,KAAK,KAAK,KAAK;GAAC,GAAG;GAAS;GAAQ,CAAC;;;;AAKhD,IAAM,oBAAN,MAA8C;CAC5C,YACE,AAAiB,MACjB,AAAiB,SACjB;EAFiB;EACA;;CAGnB,MAAM,KAAK,SAA6C;EACtD,MAAM,gBAAgB,YAAY,QAAQ,KAAK,QAAQ;EACvD,MAAM,SACJ,QAAQ,WAAW,SACf,YAAY,IAAI,CAAC,QAAQ,QAAQ,cAAc,CAAC,GAChD;AACN,SAAO,KAAK,KAAK,KAAK;GAAC,GAAG;GAAS;GAAO,CAAC"}
@@ -1,21 +1,25 @@
1
- import type { HttpClient, HttpRequest } from '@databricks/sdk-core/http';
2
- import type { Logger } from '@databricks/sdk-core/logger';
3
- import type { CallOptions } from '@databricks/sdk-options/call';
4
- import type { z } from 'zod';
5
- export interface HttpCallOptions {
6
- readonly request: HttpRequest;
7
- readonly httpClient: HttpClient;
8
- readonly logger: Logger;
1
+ import { Logger } from "@databricks/sdk-core/logger";
2
+ import { HttpClient, HttpRequest } from "@databricks/sdk-core/http";
3
+ import { z } from "zod";
4
+ import { CallOptions } from "@databricks/sdk-options/call";
5
+
6
+ //#region src/v1/utils.d.ts
7
+ interface HttpCallOptions {
8
+ readonly request: HttpRequest;
9
+ readonly httpClient: HttpClient;
10
+ readonly logger: Logger;
9
11
  }
10
12
  /**
11
13
  * Translates public CallOptions to the internal Options shape accepted by
12
14
  * execute(). Even though the shapes match today, this isolates the public
13
15
  * API from the executor's internal type so they can diverge.
14
16
  */
15
- export declare function executeCall(call: (signal?: AbortSignal) => Promise<void>, options?: CallOptions): Promise<void>;
16
- export declare function executeHttpCall(opts: HttpCallOptions): Promise<Uint8Array>;
17
- export declare function buildHttpRequest(method: string, url: string, headers: Headers, signal?: AbortSignal, body?: string | ReadableStream<Uint8Array>): HttpRequest;
18
- export declare function parseResponse<T>(body: Uint8Array, schema: z.ZodType<T>): T;
19
- export declare function marshalRequest(data: unknown, schema: z.ZodType): string;
20
- export declare function flattenQueryParams(prefix: string, value: unknown, params: URLSearchParams): void;
17
+ declare function executeCall(call: (signal?: AbortSignal) => Promise<void>, options?: CallOptions): Promise<void>;
18
+ declare function executeHttpCall(opts: HttpCallOptions): Promise<Uint8Array>;
19
+ declare function buildHttpRequest(method: string, url: string, headers: Headers, signal?: AbortSignal, body?: string | ReadableStream<Uint8Array>): HttpRequest;
20
+ declare function parseResponse<T>(body: Uint8Array, schema: z.ZodType<T>): T;
21
+ declare function marshalRequest(data: unknown, schema: z.ZodType): string;
22
+ declare function flattenQueryParams(prefix: string, value: unknown, params: URLSearchParams): void;
23
+ //#endregion
24
+ export { HttpCallOptions, buildHttpRequest, executeCall, executeHttpCall, flattenQueryParams, marshalRequest, parseResponse };
21
25
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/v1/utils.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,UAAU,EACV,WAAW,EAEZ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