@databricks/sdk-alerts 0.51.0 → 0.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/package.js CHANGED
@@ -1,6 +1,6 @@
1
1
  //#region package.json
2
2
  var name = "@databricks/sdk-alerts";
3
- var version = "0.51.0";
3
+ var version = "0.52.0";
4
4
 
5
5
  //#endregion
6
6
  export { name, version };
@@ -98,34 +98,20 @@ interface CreateAlertRequest {
98
98
  autoResolveDisplayName?: boolean | undefined;
99
99
  }
100
100
  interface CreateAlertRequestAlert {
101
- /** UUID identifying the alert. */
102
- id?: string | undefined;
103
101
  /** The display name of the alert. */
104
102
  displayName?: string | undefined;
105
103
  /** UUID of the query attached to the alert. */
106
104
  queryId?: string | undefined;
107
- /** Current state of the alert's trigger status. This field is set to UNKNOWN if the alert has not yet been evaluated or ran into an error during the last evaluation. */
108
- state?: AlertState | undefined;
109
105
  /** Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again. */
110
106
  secondsToRetrigger?: number | undefined;
111
- /** The workspace state of the alert. Used for tracking trashed status. */
112
- lifecycleState?: LifecycleState | undefined;
113
- /** Timestamp when the alert was last triggered, if the alert has been triggered before. */
114
- triggerTime?: Temporal.Instant | undefined;
115
107
  /** Custom body of alert notification, if it exists. See [here](/sql/user/alerts/index.html) for custom templating instructions. */
116
108
  customBody?: string | undefined;
117
109
  /** Custom subject of alert notification, if it exists. This can include email subject entries and Slack notification headers, for example. See [here](/sql/user/alerts/index.html) for custom templating instructions. */
118
110
  customSubject?: string | undefined;
119
111
  /** Trigger conditions of the alert. */
120
112
  condition?: AlertCondition | undefined;
121
- /** The owner's username. This field is set to "Unavailable" if the user has been deleted. */
122
- ownerUserName?: string | undefined;
123
113
  /** The workspace path of the folder containing the alert. */
124
114
  parentPath?: string | undefined;
125
- /** The timestamp indicating when the alert was created. */
126
- createTime?: Temporal.Instant | undefined;
127
- /** The timestamp indicating when the alert was updated. */
128
- updateTime?: Temporal.Instant | undefined;
129
115
  /** Whether to notify alert subscribers when alert returns back to normal. */
130
116
  notifyOnOk?: boolean | undefined;
131
117
  }
@@ -168,8 +154,6 @@ interface ListAlertsResponseAlert {
168
154
  condition?: AlertCondition | undefined;
169
155
  /** The owner's username. This field is set to "Unavailable" if the user has been deleted. */
170
156
  ownerUserName?: string | undefined;
171
- /** The workspace path of the folder containing the alert. */
172
- parentPath?: string | undefined;
173
157
  /** The timestamp indicating when the alert was created. */
174
158
  createTime?: Temporal.Instant | undefined;
175
159
  /** The timestamp indicating when the alert was updated. */
@@ -188,20 +172,12 @@ interface UpdateAlertRequest {
188
172
  autoResolveDisplayName?: boolean | undefined;
189
173
  }
190
174
  interface UpdateAlertRequestAlert {
191
- /** UUID identifying the alert. */
192
- id?: string | undefined;
193
175
  /** The display name of the alert. */
194
176
  displayName?: string | undefined;
195
177
  /** UUID of the query attached to the alert. */
196
178
  queryId?: string | undefined;
197
- /** Current state of the alert's trigger status. This field is set to UNKNOWN if the alert has not yet been evaluated or ran into an error during the last evaluation. */
198
- state?: AlertState | undefined;
199
179
  /** Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again. */
200
180
  secondsToRetrigger?: number | undefined;
201
- /** The workspace state of the alert. Used for tracking trashed status. */
202
- lifecycleState?: LifecycleState | undefined;
203
- /** Timestamp when the alert was last triggered, if the alert has been triggered before. */
204
- triggerTime?: Temporal.Instant | undefined;
205
181
  /** Custom body of alert notification, if it exists. See [here](/sql/user/alerts/index.html) for custom templating instructions. */
206
182
  customBody?: string | undefined;
207
183
  /** Custom subject of alert notification, if it exists. This can include email subject entries and Slack notification headers, for example. See [here](/sql/user/alerts/index.html) for custom templating instructions. */
@@ -210,12 +186,6 @@ interface UpdateAlertRequestAlert {
210
186
  condition?: AlertCondition | undefined;
211
187
  /** The owner's username. This field is set to "Unavailable" if the user has been deleted. */
212
188
  ownerUserName?: string | undefined;
213
- /** The workspace path of the folder containing the alert. */
214
- parentPath?: string | undefined;
215
- /** The timestamp indicating when the alert was created. */
216
- createTime?: Temporal.Instant | undefined;
217
- /** The timestamp indicating when the alert was updated. */
218
- updateTime?: Temporal.Instant | undefined;
219
189
  /** Whether to notify alert subscribers when alert returns back to normal. */
220
190
  notifyOnOk?: boolean | undefined;
221
191
  }
@@ -1 +1 @@
1
- {"version":3,"file":"model.d.ts","names":[],"sources":["../../src/v1/model.ts"],"mappings":";;;;;cAQa,aAAA;EAAA;;;;;;;;KASD,aAAA,WACA,aAAA,eAA4B,aAAA;AAAA,cAI3B,UAAA;EAAA;;;;KAKD,UAAA,WACA,UAAA,eAAyB,UAAA;AAAA,cAIxB,cAAA;EAAA,SAGH,MAAA;EAAA,SAAA,OAAA;AAAA;AAAA,KACE,cAAA,WACA,cAAA,eAA6B,cAAA;AAAA,UAGxB,KAAA;;EAEf,EAAA;;EAEA,WAAA;;EAEA,OAAA;;EAEA,KAAA,GAAQ,UAAA;EArBY;EAuBpB,kBAAA;EAtBU;EAwBV,cAAA,GAAiB,cAAA;EApBN;EAsBX,WAAA,GAAc,QAAA,CAAS,OAAA;;EAEvB,UAAA;;EAEA,aAAA;EAtBwB;EAwBxB,SAAA,GAAY,cAAA;EAvBF;EAyBV,aAAA;EAtBe;EAwBf,UAAA;;EAEA,UAAA,GAAa,QAAA,CAAS,OAAA;EAdL;EAgBjB,UAAA,GAAa,QAAA,CAAS,OAAA;EARV;EAUZ,UAAA;AAAA;AAAA,UAGe,cAAA;EALc;EAO7B,EAAA,GAAK,aAAA;EA/BL;EAiCA,OAAA,GAAU,YAAA;EA7BV;EA+BA,SAAA,GAAY,YAAA;EA7BZ;EA+BA,gBAAA,GAAmB,UAAA;AAAA;AAAA,UAGJ,YAAA;EA9BD;EAgCd,OAAA;IACK,KAAA;IAAgB,KAAA,EAAO,iBAAA;EAAA;IACvB,KAAA;IAAiB,MAAA,EAAQ,kBAAA;EAAA;AAAA;AAAA,UAIf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,6 @@ const unmarshalListAlertsResponseAlertSchema = z.object({
110
110
  custom_subject: z.string().optional(),
111
111
  condition: z.lazy(() => unmarshalAlertConditionSchema).optional(),
112
112
  owner_user_name: z.string().optional(),
113
- parent_path: z.string().optional(),
114
113
  create_time: z.string().transform((s) => Temporal.Instant.from(s)).optional(),
115
114
  update_time: z.string().transform((s) => Temporal.Instant.from(s)).optional(),
116
115
  notify_on_ok: z.boolean().optional()
@@ -126,7 +125,6 @@ const unmarshalListAlertsResponseAlertSchema = z.object({
126
125
  customSubject: d.custom_subject,
127
126
  condition: d.condition,
128
127
  ownerUserName: d.owner_user_name,
129
- parentPath: d.parent_path,
130
128
  createTime: d.create_time,
131
129
  updateTime: d.update_time,
132
130
  notifyOnOk: d.notify_on_ok
@@ -179,36 +177,22 @@ const marshalCreateAlertRequestSchema = z.object({
179
177
  auto_resolve_display_name: d.autoResolveDisplayName
180
178
  }));
181
179
  const marshalCreateAlertRequestAlertSchema = z.object({
182
- id: z.string().optional(),
183
180
  displayName: z.string().optional(),
184
181
  queryId: z.string().optional(),
185
- state: z.string().optional(),
186
182
  secondsToRetrigger: z.number().optional(),
187
- lifecycleState: z.string().optional(),
188
- triggerTime: z.any().transform((d) => d.toString()).optional(),
189
183
  customBody: z.string().optional(),
190
184
  customSubject: z.string().optional(),
191
185
  condition: z.lazy(() => marshalAlertConditionSchema).optional(),
192
- ownerUserName: z.string().optional(),
193
186
  parentPath: z.string().optional(),
194
- createTime: z.any().transform((d) => d.toString()).optional(),
195
- updateTime: z.any().transform((d) => d.toString()).optional(),
196
187
  notifyOnOk: z.boolean().optional()
197
188
  }).transform((d) => ({
198
- id: d.id,
199
189
  display_name: d.displayName,
200
190
  query_id: d.queryId,
201
- state: d.state,
202
191
  seconds_to_retrigger: d.secondsToRetrigger,
203
- lifecycle_state: d.lifecycleState,
204
- trigger_time: d.triggerTime,
205
192
  custom_body: d.customBody,
206
193
  custom_subject: d.customSubject,
207
194
  condition: d.condition,
208
- owner_user_name: d.ownerUserName,
209
195
  parent_path: d.parentPath,
210
- create_time: d.createTime,
211
- update_time: d.updateTime,
212
196
  notify_on_ok: d.notifyOnOk
213
197
  }));
214
198
  const marshalUpdateAlertRequestSchema = z.object({
@@ -223,36 +207,22 @@ const marshalUpdateAlertRequestSchema = z.object({
223
207
  auto_resolve_display_name: d.autoResolveDisplayName
224
208
  }));
225
209
  const marshalUpdateAlertRequestAlertSchema = z.object({
226
- id: z.string().optional(),
227
210
  displayName: z.string().optional(),
228
211
  queryId: z.string().optional(),
229
- state: z.string().optional(),
230
212
  secondsToRetrigger: z.number().optional(),
231
- lifecycleState: z.string().optional(),
232
- triggerTime: z.any().transform((d) => d.toString()).optional(),
233
213
  customBody: z.string().optional(),
234
214
  customSubject: z.string().optional(),
235
215
  condition: z.lazy(() => marshalAlertConditionSchema).optional(),
236
216
  ownerUserName: z.string().optional(),
237
- parentPath: z.string().optional(),
238
- createTime: z.any().transform((d) => d.toString()).optional(),
239
- updateTime: z.any().transform((d) => d.toString()).optional(),
240
217
  notifyOnOk: z.boolean().optional()
241
218
  }).transform((d) => ({
242
- id: d.id,
243
219
  display_name: d.displayName,
244
220
  query_id: d.queryId,
245
- state: d.state,
246
221
  seconds_to_retrigger: d.secondsToRetrigger,
247
- lifecycle_state: d.lifecycleState,
248
- trigger_time: d.triggerTime,
249
222
  custom_body: d.customBody,
250
223
  custom_subject: d.customSubject,
251
224
  condition: d.condition,
252
225
  owner_user_name: d.ownerUserName,
253
- parent_path: d.parentPath,
254
- create_time: d.createTime,
255
- update_time: d.updateTime,
256
226
  notify_on_ok: d.notifyOnOk
257
227
  }));
258
228
  const alertConditionFieldMaskSchema = {
@@ -288,20 +258,13 @@ const updateAlertRequestAlertFieldMaskSchema = {
288
258
  wire: "condition",
289
259
  children: () => alertConditionFieldMaskSchema
290
260
  },
291
- createTime: { wire: "create_time" },
292
261
  customBody: { wire: "custom_body" },
293
262
  customSubject: { wire: "custom_subject" },
294
263
  displayName: { wire: "display_name" },
295
- id: { wire: "id" },
296
- lifecycleState: { wire: "lifecycle_state" },
297
264
  notifyOnOk: { wire: "notify_on_ok" },
298
265
  ownerUserName: { wire: "owner_user_name" },
299
- parentPath: { wire: "parent_path" },
300
266
  queryId: { wire: "query_id" },
301
- secondsToRetrigger: { wire: "seconds_to_retrigger" },
302
- state: { wire: "state" },
303
- triggerTime: { wire: "trigger_time" },
304
- updateTime: { wire: "update_time" }
267
+ secondsToRetrigger: { wire: "seconds_to_retrigger" }
305
268
  };
306
269
  function updateAlertRequestAlertFieldMask(...paths) {
307
270
  return FieldMask.build(paths, updateAlertRequestAlertFieldMaskSchema);
@@ -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 {Temporal} from '@js-temporal/polyfill';\nimport {FieldMask} from '@databricks/sdk-core/wkt';\nimport type {FieldMaskSchema} from '@databricks/sdk-core/wkt';\nimport {z} from 'zod';\n\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const AlertOperator = {\n GREATER_THAN: 'GREATER_THAN',\n GREATER_THAN_OR_EQUAL: 'GREATER_THAN_OR_EQUAL',\n LESS_THAN: 'LESS_THAN',\n LESS_THAN_OR_EQUAL: 'LESS_THAN_OR_EQUAL',\n EQUAL: 'EQUAL',\n NOT_EQUAL: 'NOT_EQUAL',\n IS_NULL: 'IS_NULL',\n} as const;\nexport type AlertOperator =\n | (typeof AlertOperator)[keyof typeof AlertOperator]\n | (string & {});\n\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const AlertState = {\n UNKNOWN: 'UNKNOWN',\n OK: 'OK',\n TRIGGERED: 'TRIGGERED',\n} as const;\nexport type AlertState =\n | (typeof AlertState)[keyof typeof AlertState]\n | (string & {});\n\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const LifecycleState = {\n ACTIVE: 'ACTIVE',\n TRASHED: 'TRASHED',\n} as const;\nexport type LifecycleState =\n | (typeof LifecycleState)[keyof typeof LifecycleState]\n | (string & {});\n\nexport interface Alert {\n /** UUID identifying the alert. */\n id?: string | undefined;\n /** The display name of the alert. */\n displayName?: string | undefined;\n /** UUID of the query attached to the alert. */\n queryId?: string | undefined;\n /** Current state of the alert's trigger status. This field is set to UNKNOWN if the alert has not yet been evaluated or ran into an error during the last evaluation. */\n state?: AlertState | undefined;\n /** Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again. */\n secondsToRetrigger?: number | undefined;\n /** The workspace state of the alert. Used for tracking trashed status. */\n lifecycleState?: LifecycleState | undefined;\n /** Timestamp when the alert was last triggered, if the alert has been triggered before. */\n triggerTime?: Temporal.Instant | undefined;\n /** Custom body of alert notification, if it exists. See [here](/sql/user/alerts/index.html) for custom templating instructions. */\n customBody?: string | undefined;\n /** Custom subject of alert notification, if it exists. This can include email subject entries and Slack notification headers, for example. See [here](/sql/user/alerts/index.html) for custom templating instructions. */\n customSubject?: string | undefined;\n /** Trigger conditions of the alert. */\n condition?: AlertCondition | undefined;\n /** The owner's username. This field is set to \"Unavailable\" if the user has been deleted. */\n ownerUserName?: string | undefined;\n /** The workspace path of the folder containing the alert. */\n parentPath?: string | undefined;\n /** The timestamp indicating when the alert was created. */\n createTime?: Temporal.Instant | undefined;\n /** The timestamp indicating when the alert was updated. */\n updateTime?: Temporal.Instant | undefined;\n /** Whether to notify alert subscribers when alert returns back to normal. */\n notifyOnOk?: boolean | undefined;\n}\n\nexport interface AlertCondition {\n /** Operator used for comparison in alert evaluation. */\n op?: AlertOperator | undefined;\n /** Name of the column from the query result to use for comparison in alert evaluation. */\n operand?: AlertOperand | undefined;\n /** Threshold value used for comparison in alert evaluation. */\n threshold?: AlertOperand | undefined;\n /** Alert state if result is empty. */\n emptyResultState?: AlertState | undefined;\n}\n\nexport interface AlertOperand {\n /** Only one of the following fields may be set, depending on the type of operand/threshold. */\n operand?:\n | {$case: 'value'; value: AlertOperandValue}\n | {$case: 'column'; column: AlertOperandColumn}\n | undefined;\n}\n\nexport interface AlertOperandColumn {\n name?: string | undefined;\n}\n\nexport interface AlertOperandValue {\n /** Only one of the following fields may be set, depending on the type of threshold value. */\n thresholdValue?:\n | {$case: 'stringValue'; stringValue: string}\n | {$case: 'doubleValue'; doubleValue: number}\n | {$case: 'boolValue'; boolValue: boolean}\n | undefined;\n}\n\nexport interface CreateAlertRequest {\n alert?: CreateAlertRequestAlert | undefined;\n /** If true, automatically resolve alert display name conflicts. Otherwise, fail the request if the alert's display name conflicts with an existing alert's display name. */\n autoResolveDisplayName?: boolean | undefined;\n}\n\nexport interface CreateAlertRequestAlert {\n /** UUID identifying the alert. */\n id?: string | undefined;\n /** The display name of the alert. */\n displayName?: string | undefined;\n /** UUID of the query attached to the alert. */\n queryId?: string | undefined;\n /** Current state of the alert's trigger status. This field is set to UNKNOWN if the alert has not yet been evaluated or ran into an error during the last evaluation. */\n state?: AlertState | undefined;\n /** Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again. */\n secondsToRetrigger?: number | undefined;\n /** The workspace state of the alert. Used for tracking trashed status. */\n lifecycleState?: LifecycleState | undefined;\n /** Timestamp when the alert was last triggered, if the alert has been triggered before. */\n triggerTime?: Temporal.Instant | undefined;\n /** Custom body of alert notification, if it exists. See [here](/sql/user/alerts/index.html) for custom templating instructions. */\n customBody?: string | undefined;\n /** Custom subject of alert notification, if it exists. This can include email subject entries and Slack notification headers, for example. See [here](/sql/user/alerts/index.html) for custom templating instructions. */\n customSubject?: string | undefined;\n /** Trigger conditions of the alert. */\n condition?: AlertCondition | undefined;\n /** The owner's username. This field is set to \"Unavailable\" if the user has been deleted. */\n ownerUserName?: string | undefined;\n /** The workspace path of the folder containing the alert. */\n parentPath?: string | undefined;\n /** The timestamp indicating when the alert was created. */\n createTime?: Temporal.Instant | undefined;\n /** The timestamp indicating when the alert was updated. */\n updateTime?: Temporal.Instant | undefined;\n /** Whether to notify alert subscribers when alert returns back to normal. */\n notifyOnOk?: boolean | undefined;\n}\n\n/**\n * Represents an empty message, similar to google.protobuf.Empty, which is not available in the firm\n * right now.\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface Empty {}\n\nexport interface GetAlertRequest {\n id?: string | undefined;\n}\n\nexport interface ListAlertsRequest {\n pageToken?: string | undefined;\n pageSize?: number | undefined;\n}\n\nexport interface ListAlertsResponse {\n results?: ListAlertsResponseAlert[] | undefined;\n nextPageToken?: string | undefined;\n}\n\nexport interface ListAlertsResponseAlert {\n /** UUID identifying the alert. */\n id?: string | undefined;\n /** The display name of the alert. */\n displayName?: string | undefined;\n /** UUID of the query attached to the alert. */\n queryId?: string | undefined;\n /** Current state of the alert's trigger status. This field is set to UNKNOWN if the alert has not yet been evaluated or ran into an error during the last evaluation. */\n state?: AlertState | undefined;\n /** Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again. */\n secondsToRetrigger?: number | undefined;\n /** The workspace state of the alert. Used for tracking trashed status. */\n lifecycleState?: LifecycleState | undefined;\n /** Timestamp when the alert was last triggered, if the alert has been triggered before. */\n triggerTime?: Temporal.Instant | undefined;\n /** Custom body of alert notification, if it exists. See [here](/sql/user/alerts/index.html) for custom templating instructions. */\n customBody?: string | undefined;\n /** Custom subject of alert notification, if it exists. This can include email subject entries and Slack notification headers, for example. See [here](/sql/user/alerts/index.html) for custom templating instructions. */\n customSubject?: string | undefined;\n /** Trigger conditions of the alert. */\n condition?: AlertCondition | undefined;\n /** The owner's username. This field is set to \"Unavailable\" if the user has been deleted. */\n ownerUserName?: string | undefined;\n /** The workspace path of the folder containing the alert. */\n parentPath?: string | undefined;\n /** The timestamp indicating when the alert was created. */\n createTime?: Temporal.Instant | undefined;\n /** The timestamp indicating when the alert was updated. */\n updateTime?: Temporal.Instant | undefined;\n /** Whether to notify alert subscribers when alert returns back to normal. */\n notifyOnOk?: boolean | undefined;\n}\n\nexport interface TrashAlertRequest {\n id?: string | undefined;\n}\n\nexport interface UpdateAlertRequest {\n alert?: UpdateAlertRequestAlert | undefined;\n updateMask?: FieldMask<UpdateAlertRequestAlert> | undefined;\n id?: string | undefined;\n /** If true, automatically resolve alert display name conflicts. Otherwise, fail the request if the alert's display name conflicts with an existing alert's display name. */\n autoResolveDisplayName?: boolean | undefined;\n}\n\nexport interface UpdateAlertRequestAlert {\n /** UUID identifying the alert. */\n id?: string | undefined;\n /** The display name of the alert. */\n displayName?: string | undefined;\n /** UUID of the query attached to the alert. */\n queryId?: string | undefined;\n /** Current state of the alert's trigger status. This field is set to UNKNOWN if the alert has not yet been evaluated or ran into an error during the last evaluation. */\n state?: AlertState | undefined;\n /** Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again. */\n secondsToRetrigger?: number | undefined;\n /** The workspace state of the alert. Used for tracking trashed status. */\n lifecycleState?: LifecycleState | undefined;\n /** Timestamp when the alert was last triggered, if the alert has been triggered before. */\n triggerTime?: Temporal.Instant | undefined;\n /** Custom body of alert notification, if it exists. See [here](/sql/user/alerts/index.html) for custom templating instructions. */\n customBody?: string | undefined;\n /** Custom subject of alert notification, if it exists. This can include email subject entries and Slack notification headers, for example. See [here](/sql/user/alerts/index.html) for custom templating instructions. */\n customSubject?: string | undefined;\n /** Trigger conditions of the alert. */\n condition?: AlertCondition | undefined;\n /** The owner's username. This field is set to \"Unavailable\" if the user has been deleted. */\n ownerUserName?: string | undefined;\n /** The workspace path of the folder containing the alert. */\n parentPath?: string | undefined;\n /** The timestamp indicating when the alert was created. */\n createTime?: Temporal.Instant | undefined;\n /** The timestamp indicating when the alert was updated. */\n updateTime?: Temporal.Instant | undefined;\n /** Whether to notify alert subscribers when alert returns back to normal. */\n notifyOnOk?: boolean | undefined;\n}\n\nexport const unmarshalAlertSchema: z.ZodType<Alert> = z\n .object({\n id: z.string().optional(),\n display_name: z.string().optional(),\n query_id: z.string().optional(),\n state: z.string().optional(),\n seconds_to_retrigger: z.number().optional(),\n lifecycle_state: z.string().optional(),\n trigger_time: z\n .string()\n .transform(s => Temporal.Instant.from(s))\n .optional(),\n custom_body: z.string().optional(),\n custom_subject: z.string().optional(),\n condition: z.lazy(() => unmarshalAlertConditionSchema).optional(),\n owner_user_name: z.string().optional(),\n parent_path: z.string().optional(),\n create_time: z\n .string()\n .transform(s => Temporal.Instant.from(s))\n .optional(),\n update_time: z\n .string()\n .transform(s => Temporal.Instant.from(s))\n .optional(),\n notify_on_ok: z.boolean().optional(),\n })\n .transform(d => ({\n id: d.id,\n displayName: d.display_name,\n queryId: d.query_id,\n state: d.state,\n secondsToRetrigger: d.seconds_to_retrigger,\n lifecycleState: d.lifecycle_state,\n triggerTime: d.trigger_time,\n customBody: d.custom_body,\n customSubject: d.custom_subject,\n condition: d.condition,\n ownerUserName: d.owner_user_name,\n parentPath: d.parent_path,\n createTime: d.create_time,\n updateTime: d.update_time,\n notifyOnOk: d.notify_on_ok,\n }));\n\nexport const unmarshalAlertConditionSchema: z.ZodType<AlertCondition> = z\n .object({\n op: z.string().optional(),\n operand: z.lazy(() => unmarshalAlertOperandSchema).optional(),\n threshold: z.lazy(() => unmarshalAlertOperandSchema).optional(),\n empty_result_state: z.string().optional(),\n })\n .transform(d => ({\n op: d.op,\n operand: d.operand,\n threshold: d.threshold,\n emptyResultState: d.empty_result_state,\n }));\n\nexport const unmarshalAlertOperandSchema: z.ZodType<AlertOperand> = z\n .object({\n value: z.lazy(() => unmarshalAlertOperandValueSchema).optional(),\n column: z.lazy(() => unmarshalAlertOperandColumnSchema).optional(),\n })\n .transform(d => ({\n operand:\n d.value !== undefined\n ? {$case: 'value' as const, value: d.value}\n : d.column !== undefined\n ? {$case: 'column' as const, column: d.column}\n : undefined,\n }));\n\nexport const unmarshalAlertOperandColumnSchema: z.ZodType<AlertOperandColumn> =\n z\n .object({\n name: z.string().optional(),\n })\n .transform(d => ({\n name: d.name,\n }));\n\nexport const unmarshalAlertOperandValueSchema: z.ZodType<AlertOperandValue> = z\n .object({\n string_value: z.string().optional(),\n double_value: z.number().optional(),\n bool_value: z.boolean().optional(),\n })\n .transform(d => ({\n thresholdValue:\n d.string_value !== undefined\n ? {$case: 'stringValue' as const, stringValue: d.string_value}\n : d.double_value !== undefined\n ? {$case: 'doubleValue' as const, doubleValue: d.double_value}\n : d.bool_value !== undefined\n ? {$case: 'boolValue' as const, boolValue: d.bool_value}\n : undefined,\n }));\n\nexport const unmarshalEmptySchema: z.ZodType<Empty> = z.object({});\n\nexport const unmarshalListAlertsResponseSchema: z.ZodType<ListAlertsResponse> =\n z\n .object({\n results: z\n .array(z.lazy(() => unmarshalListAlertsResponseAlertSchema))\n .optional(),\n next_page_token: z.string().optional(),\n })\n .transform(d => ({\n results: d.results,\n nextPageToken: d.next_page_token,\n }));\n\nexport const unmarshalListAlertsResponseAlertSchema: z.ZodType<ListAlertsResponseAlert> =\n z\n .object({\n id: z.string().optional(),\n display_name: z.string().optional(),\n query_id: z.string().optional(),\n state: z.string().optional(),\n seconds_to_retrigger: z.number().optional(),\n lifecycle_state: z.string().optional(),\n trigger_time: z\n .string()\n .transform(s => Temporal.Instant.from(s))\n .optional(),\n custom_body: z.string().optional(),\n custom_subject: z.string().optional(),\n condition: z.lazy(() => unmarshalAlertConditionSchema).optional(),\n owner_user_name: z.string().optional(),\n parent_path: z.string().optional(),\n create_time: z\n .string()\n .transform(s => Temporal.Instant.from(s))\n .optional(),\n update_time: z\n .string()\n .transform(s => Temporal.Instant.from(s))\n .optional(),\n notify_on_ok: z.boolean().optional(),\n })\n .transform(d => ({\n id: d.id,\n displayName: d.display_name,\n queryId: d.query_id,\n state: d.state,\n secondsToRetrigger: d.seconds_to_retrigger,\n lifecycleState: d.lifecycle_state,\n triggerTime: d.trigger_time,\n customBody: d.custom_body,\n customSubject: d.custom_subject,\n condition: d.condition,\n ownerUserName: d.owner_user_name,\n parentPath: d.parent_path,\n createTime: d.create_time,\n updateTime: d.update_time,\n notifyOnOk: d.notify_on_ok,\n }));\n\nexport const marshalAlertConditionSchema: z.ZodType = z\n .object({\n op: z.string().optional(),\n operand: z.lazy(() => marshalAlertOperandSchema).optional(),\n threshold: z.lazy(() => marshalAlertOperandSchema).optional(),\n emptyResultState: z.string().optional(),\n })\n .transform(d => ({\n op: d.op,\n operand: d.operand,\n threshold: d.threshold,\n empty_result_state: d.emptyResultState,\n }));\n\nexport const marshalAlertOperandSchema: z.ZodType = z\n .object({\n operand: z\n .discriminatedUnion('$case', [\n z.object({\n $case: z.literal('value'),\n value: z.lazy(() => marshalAlertOperandValueSchema),\n }),\n z.object({\n $case: z.literal('column'),\n column: z.lazy(() => marshalAlertOperandColumnSchema),\n }),\n ])\n .optional(),\n })\n .transform(d => ({\n ...(d.operand?.$case === 'value' && {value: d.operand.value}),\n ...(d.operand?.$case === 'column' && {column: d.operand.column}),\n }));\n\nexport const marshalAlertOperandColumnSchema: z.ZodType = z\n .object({\n name: z.string().optional(),\n })\n .transform(d => ({\n name: d.name,\n }));\n\nexport const marshalAlertOperandValueSchema: z.ZodType = z\n .object({\n thresholdValue: z\n .discriminatedUnion('$case', [\n z.object({$case: z.literal('stringValue'), stringValue: z.string()}),\n z.object({$case: z.literal('doubleValue'), doubleValue: z.number()}),\n z.object({$case: z.literal('boolValue'), boolValue: z.boolean()}),\n ])\n .optional(),\n })\n .transform(d => ({\n ...(d.thresholdValue?.$case === 'stringValue' && {\n string_value: d.thresholdValue.stringValue,\n }),\n ...(d.thresholdValue?.$case === 'doubleValue' && {\n double_value: d.thresholdValue.doubleValue,\n }),\n ...(d.thresholdValue?.$case === 'boolValue' && {\n bool_value: d.thresholdValue.boolValue,\n }),\n }));\n\nexport const marshalCreateAlertRequestSchema: z.ZodType = z\n .object({\n alert: z.lazy(() => marshalCreateAlertRequestAlertSchema).optional(),\n autoResolveDisplayName: z.boolean().optional(),\n })\n .transform(d => ({\n alert: d.alert,\n auto_resolve_display_name: d.autoResolveDisplayName,\n }));\n\nexport const marshalCreateAlertRequestAlertSchema: z.ZodType = z\n .object({\n id: z.string().optional(),\n displayName: z.string().optional(),\n queryId: z.string().optional(),\n state: z.string().optional(),\n secondsToRetrigger: z.number().optional(),\n lifecycleState: z.string().optional(),\n triggerTime: z\n .any()\n .transform((d: Temporal.Instant) => d.toString())\n .optional(),\n customBody: z.string().optional(),\n customSubject: z.string().optional(),\n condition: z.lazy(() => marshalAlertConditionSchema).optional(),\n ownerUserName: z.string().optional(),\n parentPath: z.string().optional(),\n createTime: z\n .any()\n .transform((d: Temporal.Instant) => d.toString())\n .optional(),\n updateTime: z\n .any()\n .transform((d: Temporal.Instant) => d.toString())\n .optional(),\n notifyOnOk: z.boolean().optional(),\n })\n .transform(d => ({\n id: d.id,\n display_name: d.displayName,\n query_id: d.queryId,\n state: d.state,\n seconds_to_retrigger: d.secondsToRetrigger,\n lifecycle_state: d.lifecycleState,\n trigger_time: d.triggerTime,\n custom_body: d.customBody,\n custom_subject: d.customSubject,\n condition: d.condition,\n owner_user_name: d.ownerUserName,\n parent_path: d.parentPath,\n create_time: d.createTime,\n update_time: d.updateTime,\n notify_on_ok: d.notifyOnOk,\n }));\n\nexport const marshalUpdateAlertRequestSchema: z.ZodType = z\n .object({\n alert: z.lazy(() => marshalUpdateAlertRequestAlertSchema).optional(),\n updateMask: z\n .any()\n .transform((m: FieldMask) => m.toString())\n .optional(),\n id: z.string().optional(),\n autoResolveDisplayName: z.boolean().optional(),\n })\n .transform(d => ({\n alert: d.alert,\n update_mask: d.updateMask,\n id: d.id,\n auto_resolve_display_name: d.autoResolveDisplayName,\n }));\n\nexport const marshalUpdateAlertRequestAlertSchema: z.ZodType = z\n .object({\n id: z.string().optional(),\n displayName: z.string().optional(),\n queryId: z.string().optional(),\n state: z.string().optional(),\n secondsToRetrigger: z.number().optional(),\n lifecycleState: z.string().optional(),\n triggerTime: z\n .any()\n .transform((d: Temporal.Instant) => d.toString())\n .optional(),\n customBody: z.string().optional(),\n customSubject: z.string().optional(),\n condition: z.lazy(() => marshalAlertConditionSchema).optional(),\n ownerUserName: z.string().optional(),\n parentPath: z.string().optional(),\n createTime: z\n .any()\n .transform((d: Temporal.Instant) => d.toString())\n .optional(),\n updateTime: z\n .any()\n .transform((d: Temporal.Instant) => d.toString())\n .optional(),\n notifyOnOk: z.boolean().optional(),\n })\n .transform(d => ({\n id: d.id,\n display_name: d.displayName,\n query_id: d.queryId,\n state: d.state,\n seconds_to_retrigger: d.secondsToRetrigger,\n lifecycle_state: d.lifecycleState,\n trigger_time: d.triggerTime,\n custom_body: d.customBody,\n custom_subject: d.customSubject,\n condition: d.condition,\n owner_user_name: d.ownerUserName,\n parent_path: d.parentPath,\n create_time: d.createTime,\n update_time: d.updateTime,\n notify_on_ok: d.notifyOnOk,\n }));\n\nconst alertConditionFieldMaskSchema: FieldMaskSchema = {\n emptyResultState: {wire: 'empty_result_state'},\n op: {wire: 'op'},\n operand: {wire: 'operand', children: () => alertOperandFieldMaskSchema},\n threshold: {wire: 'threshold', children: () => alertOperandFieldMaskSchema},\n};\n\nconst alertOperandFieldMaskSchema: FieldMaskSchema = {\n column: {wire: 'column', children: () => alertOperandColumnFieldMaskSchema},\n value: {wire: 'value', children: () => alertOperandValueFieldMaskSchema},\n};\n\nconst alertOperandColumnFieldMaskSchema: FieldMaskSchema = {\n name: {wire: 'name'},\n};\n\nconst alertOperandValueFieldMaskSchema: FieldMaskSchema = {\n boolValue: {wire: 'bool_value'},\n doubleValue: {wire: 'double_value'},\n stringValue: {wire: 'string_value'},\n};\n\nconst updateAlertRequestAlertFieldMaskSchema: FieldMaskSchema = {\n condition: {wire: 'condition', children: () => alertConditionFieldMaskSchema},\n createTime: {wire: 'create_time'},\n customBody: {wire: 'custom_body'},\n customSubject: {wire: 'custom_subject'},\n displayName: {wire: 'display_name'},\n id: {wire: 'id'},\n lifecycleState: {wire: 'lifecycle_state'},\n notifyOnOk: {wire: 'notify_on_ok'},\n ownerUserName: {wire: 'owner_user_name'},\n parentPath: {wire: 'parent_path'},\n queryId: {wire: 'query_id'},\n secondsToRetrigger: {wire: 'seconds_to_retrigger'},\n state: {wire: 'state'},\n triggerTime: {wire: 'trigger_time'},\n updateTime: {wire: 'update_time'},\n};\n\nexport function updateAlertRequestAlertFieldMask(\n ...paths: string[]\n): FieldMask<UpdateAlertRequestAlert> {\n return FieldMask.build<UpdateAlertRequestAlert>(\n paths,\n updateAlertRequestAlertFieldMaskSchema\n );\n}\n"],"mappings":";;;;;AAQA,MAAa,gBAAgB;CAC3B,cAAc;CACd,uBAAuB;CACvB,WAAW;CACX,oBAAoB;CACpB,OAAO;CACP,WAAW;CACX,SAAS;CACV;AAMD,MAAa,aAAa;CACxB,SAAS;CACT,IAAI;CACJ,WAAW;CACZ;AAMD,MAAa,iBAAiB;CAC5B,QAAQ;CACR,SAAS;CACV;AAgND,MAAa,uBAAyC,EACnD,OAAO;CACN,IAAI,EAAE,QAAQ,CAAC,UAAU;CACzB,cAAc,EAAE,QAAQ,CAAC,UAAU;CACnC,UAAU,EAAE,QAAQ,CAAC,UAAU;CAC/B,OAAO,EAAE,QAAQ,CAAC,UAAU;CAC5B,sBAAsB,EAAE,QAAQ,CAAC,UAAU;CAC3C,iBAAiB,EAAE,QAAQ,CAAC,UAAU;CACtC,cAAc,EACX,QAAQ,CACR,WAAU,MAAK,SAAS,QAAQ,KAAK,EAAE,CAAC,CACxC,UAAU;CACb,aAAa,EAAE,QAAQ,CAAC,UAAU;CAClC,gBAAgB,EAAE,QAAQ,CAAC,UAAU;CACrC,WAAW,EAAE,WAAW,8BAA8B,CAAC,UAAU;CACjE,iBAAiB,EAAE,QAAQ,CAAC,UAAU;CACtC,aAAa,EAAE,QAAQ,CAAC,UAAU;CAClC,aAAa,EACV,QAAQ,CACR,WAAU,MAAK,SAAS,QAAQ,KAAK,EAAE,CAAC,CACxC,UAAU;CACb,aAAa,EACV,QAAQ,CACR,WAAU,MAAK,SAAS,QAAQ,KAAK,EAAE,CAAC,CACxC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AAc;CACjC,eAAe,EAAC,MAAM,kBAAiB;CACvC,aAAa,EAAC,MAAM,gBAAe;CACnC,IAAI,EAAC,MAAM,MAAK;CAChB,gBAAgB,EAAC,MAAM,mBAAkB;CACzC,YAAY,EAAC,MAAM,gBAAe;CAClC,eAAe,EAAC,MAAM,mBAAkB;CACxC,YAAY,EAAC,MAAM,eAAc;CACjC,SAAS,EAAC,MAAM,YAAW;CAC3B,oBAAoB,EAAC,MAAM,wBAAuB;CAClD,OAAO,EAAC,MAAM,SAAQ;CACtB,aAAa,EAAC,MAAM,gBAAe;CACnC,YAAY,EAAC,MAAM,eAAc;CAClC;AAED,SAAgB,iCACd,GAAG,OACiC;AACpC,QAAO,UAAU,MACf,OACA,uCACD"}
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 {Temporal} from '@js-temporal/polyfill';\nimport {FieldMask} from '@databricks/sdk-core/wkt';\nimport type {FieldMaskSchema} from '@databricks/sdk-core/wkt';\nimport {z} from 'zod';\n\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const AlertOperator = {\n GREATER_THAN: 'GREATER_THAN',\n GREATER_THAN_OR_EQUAL: 'GREATER_THAN_OR_EQUAL',\n LESS_THAN: 'LESS_THAN',\n LESS_THAN_OR_EQUAL: 'LESS_THAN_OR_EQUAL',\n EQUAL: 'EQUAL',\n NOT_EQUAL: 'NOT_EQUAL',\n IS_NULL: 'IS_NULL',\n} as const;\nexport type AlertOperator =\n | (typeof AlertOperator)[keyof typeof AlertOperator]\n | (string & {});\n\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const AlertState = {\n UNKNOWN: 'UNKNOWN',\n OK: 'OK',\n TRIGGERED: 'TRIGGERED',\n} as const;\nexport type AlertState =\n | (typeof AlertState)[keyof typeof AlertState]\n | (string & {});\n\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const LifecycleState = {\n ACTIVE: 'ACTIVE',\n TRASHED: 'TRASHED',\n} as const;\nexport type LifecycleState =\n | (typeof LifecycleState)[keyof typeof LifecycleState]\n | (string & {});\n\nexport interface Alert {\n /** UUID identifying the alert. */\n id?: string | undefined;\n /** The display name of the alert. */\n displayName?: string | undefined;\n /** UUID of the query attached to the alert. */\n queryId?: string | undefined;\n /** Current state of the alert's trigger status. This field is set to UNKNOWN if the alert has not yet been evaluated or ran into an error during the last evaluation. */\n state?: AlertState | undefined;\n /** Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again. */\n secondsToRetrigger?: number | undefined;\n /** The workspace state of the alert. Used for tracking trashed status. */\n lifecycleState?: LifecycleState | undefined;\n /** Timestamp when the alert was last triggered, if the alert has been triggered before. */\n triggerTime?: Temporal.Instant | undefined;\n /** Custom body of alert notification, if it exists. See [here](/sql/user/alerts/index.html) for custom templating instructions. */\n customBody?: string | undefined;\n /** Custom subject of alert notification, if it exists. This can include email subject entries and Slack notification headers, for example. See [here](/sql/user/alerts/index.html) for custom templating instructions. */\n customSubject?: string | undefined;\n /** Trigger conditions of the alert. */\n condition?: AlertCondition | undefined;\n /** The owner's username. This field is set to \"Unavailable\" if the user has been deleted. */\n ownerUserName?: string | undefined;\n /** The workspace path of the folder containing the alert. */\n parentPath?: string | undefined;\n /** The timestamp indicating when the alert was created. */\n createTime?: Temporal.Instant | undefined;\n /** The timestamp indicating when the alert was updated. */\n updateTime?: Temporal.Instant | undefined;\n /** Whether to notify alert subscribers when alert returns back to normal. */\n notifyOnOk?: boolean | undefined;\n}\n\nexport interface AlertCondition {\n /** Operator used for comparison in alert evaluation. */\n op?: AlertOperator | undefined;\n /** Name of the column from the query result to use for comparison in alert evaluation. */\n operand?: AlertOperand | undefined;\n /** Threshold value used for comparison in alert evaluation. */\n threshold?: AlertOperand | undefined;\n /** Alert state if result is empty. */\n emptyResultState?: AlertState | undefined;\n}\n\nexport interface AlertOperand {\n /** Only one of the following fields may be set, depending on the type of operand/threshold. */\n operand?:\n | {$case: 'value'; value: AlertOperandValue}\n | {$case: 'column'; column: AlertOperandColumn}\n | undefined;\n}\n\nexport interface AlertOperandColumn {\n name?: string | undefined;\n}\n\nexport interface AlertOperandValue {\n /** Only one of the following fields may be set, depending on the type of threshold value. */\n thresholdValue?:\n | {$case: 'stringValue'; stringValue: string}\n | {$case: 'doubleValue'; doubleValue: number}\n | {$case: 'boolValue'; boolValue: boolean}\n | undefined;\n}\n\nexport interface CreateAlertRequest {\n alert?: CreateAlertRequestAlert | undefined;\n /** If true, automatically resolve alert display name conflicts. Otherwise, fail the request if the alert's display name conflicts with an existing alert's display name. */\n autoResolveDisplayName?: boolean | undefined;\n}\n\nexport interface CreateAlertRequestAlert {\n /** The display name of the alert. */\n displayName?: string | undefined;\n /** UUID of the query attached to the alert. */\n queryId?: string | undefined;\n /** Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again. */\n secondsToRetrigger?: number | undefined;\n /** Custom body of alert notification, if it exists. See [here](/sql/user/alerts/index.html) for custom templating instructions. */\n customBody?: string | undefined;\n /** Custom subject of alert notification, if it exists. This can include email subject entries and Slack notification headers, for example. See [here](/sql/user/alerts/index.html) for custom templating instructions. */\n customSubject?: string | undefined;\n /** Trigger conditions of the alert. */\n condition?: AlertCondition | undefined;\n /** The workspace path of the folder containing the alert. */\n parentPath?: string | undefined;\n /** Whether to notify alert subscribers when alert returns back to normal. */\n notifyOnOk?: boolean | undefined;\n}\n\n/**\n * Represents an empty message, similar to google.protobuf.Empty, which is not available in the firm\n * right now.\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface Empty {}\n\nexport interface GetAlertRequest {\n id?: string | undefined;\n}\n\nexport interface ListAlertsRequest {\n pageToken?: string | undefined;\n pageSize?: number | undefined;\n}\n\nexport interface ListAlertsResponse {\n results?: ListAlertsResponseAlert[] | undefined;\n nextPageToken?: string | undefined;\n}\n\nexport interface ListAlertsResponseAlert {\n /** UUID identifying the alert. */\n id?: string | undefined;\n /** The display name of the alert. */\n displayName?: string | undefined;\n /** UUID of the query attached to the alert. */\n queryId?: string | undefined;\n /** Current state of the alert's trigger status. This field is set to UNKNOWN if the alert has not yet been evaluated or ran into an error during the last evaluation. */\n state?: AlertState | undefined;\n /** Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again. */\n secondsToRetrigger?: number | undefined;\n /** The workspace state of the alert. Used for tracking trashed status. */\n lifecycleState?: LifecycleState | undefined;\n /** Timestamp when the alert was last triggered, if the alert has been triggered before. */\n triggerTime?: Temporal.Instant | undefined;\n /** Custom body of alert notification, if it exists. See [here](/sql/user/alerts/index.html) for custom templating instructions. */\n customBody?: string | undefined;\n /** Custom subject of alert notification, if it exists. This can include email subject entries and Slack notification headers, for example. See [here](/sql/user/alerts/index.html) for custom templating instructions. */\n customSubject?: string | undefined;\n /** Trigger conditions of the alert. */\n condition?: AlertCondition | undefined;\n /** The owner's username. This field is set to \"Unavailable\" if the user has been deleted. */\n ownerUserName?: string | undefined;\n /** The timestamp indicating when the alert was created. */\n createTime?: Temporal.Instant | undefined;\n /** The timestamp indicating when the alert was updated. */\n updateTime?: Temporal.Instant | undefined;\n /** Whether to notify alert subscribers when alert returns back to normal. */\n notifyOnOk?: boolean | undefined;\n}\n\nexport interface TrashAlertRequest {\n id?: string | undefined;\n}\n\nexport interface UpdateAlertRequest {\n alert?: UpdateAlertRequestAlert | undefined;\n updateMask?: FieldMask<UpdateAlertRequestAlert> | undefined;\n id?: string | undefined;\n /** If true, automatically resolve alert display name conflicts. Otherwise, fail the request if the alert's display name conflicts with an existing alert's display name. */\n autoResolveDisplayName?: boolean | undefined;\n}\n\nexport interface UpdateAlertRequestAlert {\n /** The display name of the alert. */\n displayName?: string | undefined;\n /** UUID of the query attached to the alert. */\n queryId?: string | undefined;\n /** Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again. */\n secondsToRetrigger?: number | undefined;\n /** Custom body of alert notification, if it exists. See [here](/sql/user/alerts/index.html) for custom templating instructions. */\n customBody?: string | undefined;\n /** Custom subject of alert notification, if it exists. This can include email subject entries and Slack notification headers, for example. See [here](/sql/user/alerts/index.html) for custom templating instructions. */\n customSubject?: string | undefined;\n /** Trigger conditions of the alert. */\n condition?: AlertCondition | undefined;\n /** The owner's username. This field is set to \"Unavailable\" if the user has been deleted. */\n ownerUserName?: string | undefined;\n /** Whether to notify alert subscribers when alert returns back to normal. */\n notifyOnOk?: boolean | undefined;\n}\n\nexport const unmarshalAlertSchema: z.ZodType<Alert> = z\n .object({\n id: z.string().optional(),\n display_name: z.string().optional(),\n query_id: z.string().optional(),\n state: z.string().optional(),\n seconds_to_retrigger: z.number().optional(),\n lifecycle_state: z.string().optional(),\n trigger_time: z\n .string()\n .transform(s => Temporal.Instant.from(s))\n .optional(),\n custom_body: z.string().optional(),\n custom_subject: z.string().optional(),\n condition: z.lazy(() => unmarshalAlertConditionSchema).optional(),\n owner_user_name: z.string().optional(),\n parent_path: z.string().optional(),\n create_time: z\n .string()\n .transform(s => Temporal.Instant.from(s))\n .optional(),\n update_time: z\n .string()\n .transform(s => Temporal.Instant.from(s))\n .optional(),\n notify_on_ok: z.boolean().optional(),\n })\n .transform(d => ({\n id: d.id,\n displayName: d.display_name,\n queryId: d.query_id,\n state: d.state,\n secondsToRetrigger: d.seconds_to_retrigger,\n lifecycleState: d.lifecycle_state,\n triggerTime: d.trigger_time,\n customBody: d.custom_body,\n customSubject: d.custom_subject,\n condition: d.condition,\n ownerUserName: d.owner_user_name,\n parentPath: d.parent_path,\n createTime: d.create_time,\n updateTime: d.update_time,\n notifyOnOk: d.notify_on_ok,\n }));\n\nexport const unmarshalAlertConditionSchema: z.ZodType<AlertCondition> = z\n .object({\n op: z.string().optional(),\n operand: z.lazy(() => unmarshalAlertOperandSchema).optional(),\n threshold: z.lazy(() => unmarshalAlertOperandSchema).optional(),\n empty_result_state: z.string().optional(),\n })\n .transform(d => ({\n op: d.op,\n operand: d.operand,\n threshold: d.threshold,\n emptyResultState: d.empty_result_state,\n }));\n\nexport const unmarshalAlertOperandSchema: z.ZodType<AlertOperand> = z\n .object({\n value: z.lazy(() => unmarshalAlertOperandValueSchema).optional(),\n column: z.lazy(() => unmarshalAlertOperandColumnSchema).optional(),\n })\n .transform(d => ({\n operand:\n d.value !== undefined\n ? {$case: 'value' as const, value: d.value}\n : d.column !== undefined\n ? {$case: 'column' as const, column: d.column}\n : undefined,\n }));\n\nexport const unmarshalAlertOperandColumnSchema: z.ZodType<AlertOperandColumn> =\n z\n .object({\n name: z.string().optional(),\n })\n .transform(d => ({\n name: d.name,\n }));\n\nexport const unmarshalAlertOperandValueSchema: z.ZodType<AlertOperandValue> = z\n .object({\n string_value: z.string().optional(),\n double_value: z.number().optional(),\n bool_value: z.boolean().optional(),\n })\n .transform(d => ({\n thresholdValue:\n d.string_value !== undefined\n ? {$case: 'stringValue' as const, stringValue: d.string_value}\n : d.double_value !== undefined\n ? {$case: 'doubleValue' as const, doubleValue: d.double_value}\n : d.bool_value !== undefined\n ? {$case: 'boolValue' as const, boolValue: d.bool_value}\n : undefined,\n }));\n\nexport const unmarshalEmptySchema: z.ZodType<Empty> = z.object({});\n\nexport const unmarshalListAlertsResponseSchema: z.ZodType<ListAlertsResponse> =\n z\n .object({\n results: z\n .array(z.lazy(() => unmarshalListAlertsResponseAlertSchema))\n .optional(),\n next_page_token: z.string().optional(),\n })\n .transform(d => ({\n results: d.results,\n nextPageToken: d.next_page_token,\n }));\n\nexport const unmarshalListAlertsResponseAlertSchema: z.ZodType<ListAlertsResponseAlert> =\n z\n .object({\n id: z.string().optional(),\n display_name: z.string().optional(),\n query_id: z.string().optional(),\n state: z.string().optional(),\n seconds_to_retrigger: z.number().optional(),\n lifecycle_state: z.string().optional(),\n trigger_time: z\n .string()\n .transform(s => Temporal.Instant.from(s))\n .optional(),\n custom_body: z.string().optional(),\n custom_subject: z.string().optional(),\n condition: z.lazy(() => unmarshalAlertConditionSchema).optional(),\n owner_user_name: z.string().optional(),\n create_time: z\n .string()\n .transform(s => Temporal.Instant.from(s))\n .optional(),\n update_time: z\n .string()\n .transform(s => Temporal.Instant.from(s))\n .optional(),\n notify_on_ok: z.boolean().optional(),\n })\n .transform(d => ({\n id: d.id,\n displayName: d.display_name,\n queryId: d.query_id,\n state: d.state,\n secondsToRetrigger: d.seconds_to_retrigger,\n lifecycleState: d.lifecycle_state,\n triggerTime: d.trigger_time,\n customBody: d.custom_body,\n customSubject: d.custom_subject,\n condition: d.condition,\n ownerUserName: d.owner_user_name,\n createTime: d.create_time,\n updateTime: d.update_time,\n notifyOnOk: d.notify_on_ok,\n }));\n\nexport const marshalAlertConditionSchema: z.ZodType = z\n .object({\n op: z.string().optional(),\n operand: z.lazy(() => marshalAlertOperandSchema).optional(),\n threshold: z.lazy(() => marshalAlertOperandSchema).optional(),\n emptyResultState: z.string().optional(),\n })\n .transform(d => ({\n op: d.op,\n operand: d.operand,\n threshold: d.threshold,\n empty_result_state: d.emptyResultState,\n }));\n\nexport const marshalAlertOperandSchema: z.ZodType = z\n .object({\n operand: z\n .discriminatedUnion('$case', [\n z.object({\n $case: z.literal('value'),\n value: z.lazy(() => marshalAlertOperandValueSchema),\n }),\n z.object({\n $case: z.literal('column'),\n column: z.lazy(() => marshalAlertOperandColumnSchema),\n }),\n ])\n .optional(),\n })\n .transform(d => ({\n ...(d.operand?.$case === 'value' && {value: d.operand.value}),\n ...(d.operand?.$case === 'column' && {column: d.operand.column}),\n }));\n\nexport const marshalAlertOperandColumnSchema: z.ZodType = z\n .object({\n name: z.string().optional(),\n })\n .transform(d => ({\n name: d.name,\n }));\n\nexport const marshalAlertOperandValueSchema: z.ZodType = z\n .object({\n thresholdValue: z\n .discriminatedUnion('$case', [\n z.object({$case: z.literal('stringValue'), stringValue: z.string()}),\n z.object({$case: z.literal('doubleValue'), doubleValue: z.number()}),\n z.object({$case: z.literal('boolValue'), boolValue: z.boolean()}),\n ])\n .optional(),\n })\n .transform(d => ({\n ...(d.thresholdValue?.$case === 'stringValue' && {\n string_value: d.thresholdValue.stringValue,\n }),\n ...(d.thresholdValue?.$case === 'doubleValue' && {\n double_value: d.thresholdValue.doubleValue,\n }),\n ...(d.thresholdValue?.$case === 'boolValue' && {\n bool_value: d.thresholdValue.boolValue,\n }),\n }));\n\nexport const marshalCreateAlertRequestSchema: z.ZodType = z\n .object({\n alert: z.lazy(() => marshalCreateAlertRequestAlertSchema).optional(),\n autoResolveDisplayName: z.boolean().optional(),\n })\n .transform(d => ({\n alert: d.alert,\n auto_resolve_display_name: d.autoResolveDisplayName,\n }));\n\nexport const marshalCreateAlertRequestAlertSchema: z.ZodType = z\n .object({\n displayName: z.string().optional(),\n queryId: z.string().optional(),\n secondsToRetrigger: z.number().optional(),\n customBody: z.string().optional(),\n customSubject: z.string().optional(),\n condition: z.lazy(() => marshalAlertConditionSchema).optional(),\n parentPath: z.string().optional(),\n notifyOnOk: z.boolean().optional(),\n })\n .transform(d => ({\n display_name: d.displayName,\n query_id: d.queryId,\n seconds_to_retrigger: d.secondsToRetrigger,\n custom_body: d.customBody,\n custom_subject: d.customSubject,\n condition: d.condition,\n parent_path: d.parentPath,\n notify_on_ok: d.notifyOnOk,\n }));\n\nexport const marshalUpdateAlertRequestSchema: z.ZodType = z\n .object({\n alert: z.lazy(() => marshalUpdateAlertRequestAlertSchema).optional(),\n updateMask: z\n .any()\n .transform((m: FieldMask) => m.toString())\n .optional(),\n id: z.string().optional(),\n autoResolveDisplayName: z.boolean().optional(),\n })\n .transform(d => ({\n alert: d.alert,\n update_mask: d.updateMask,\n id: d.id,\n auto_resolve_display_name: d.autoResolveDisplayName,\n }));\n\nexport const marshalUpdateAlertRequestAlertSchema: z.ZodType = z\n .object({\n displayName: z.string().optional(),\n queryId: z.string().optional(),\n secondsToRetrigger: z.number().optional(),\n customBody: z.string().optional(),\n customSubject: z.string().optional(),\n condition: z.lazy(() => marshalAlertConditionSchema).optional(),\n ownerUserName: z.string().optional(),\n notifyOnOk: z.boolean().optional(),\n })\n .transform(d => ({\n display_name: d.displayName,\n query_id: d.queryId,\n seconds_to_retrigger: d.secondsToRetrigger,\n custom_body: d.customBody,\n custom_subject: d.customSubject,\n condition: d.condition,\n owner_user_name: d.ownerUserName,\n notify_on_ok: d.notifyOnOk,\n }));\n\nconst alertConditionFieldMaskSchema: FieldMaskSchema = {\n emptyResultState: {wire: 'empty_result_state'},\n op: {wire: 'op'},\n operand: {wire: 'operand', children: () => alertOperandFieldMaskSchema},\n threshold: {wire: 'threshold', children: () => alertOperandFieldMaskSchema},\n};\n\nconst alertOperandFieldMaskSchema: FieldMaskSchema = {\n column: {wire: 'column', children: () => alertOperandColumnFieldMaskSchema},\n value: {wire: 'value', children: () => alertOperandValueFieldMaskSchema},\n};\n\nconst alertOperandColumnFieldMaskSchema: FieldMaskSchema = {\n name: {wire: 'name'},\n};\n\nconst alertOperandValueFieldMaskSchema: FieldMaskSchema = {\n boolValue: {wire: 'bool_value'},\n doubleValue: {wire: 'double_value'},\n stringValue: {wire: 'string_value'},\n};\n\nconst updateAlertRequestAlertFieldMaskSchema: FieldMaskSchema = {\n condition: {wire: 'condition', children: () => alertConditionFieldMaskSchema},\n customBody: {wire: 'custom_body'},\n customSubject: {wire: 'custom_subject'},\n displayName: {wire: 'display_name'},\n notifyOnOk: {wire: 'notify_on_ok'},\n ownerUserName: {wire: 'owner_user_name'},\n queryId: {wire: 'query_id'},\n secondsToRetrigger: {wire: 'seconds_to_retrigger'},\n};\n\nexport function updateAlertRequestAlertFieldMask(\n ...paths: string[]\n): FieldMask<UpdateAlertRequestAlert> {\n return FieldMask.build<UpdateAlertRequestAlert>(\n paths,\n updateAlertRequestAlertFieldMaskSchema\n );\n}\n"],"mappings":";;;;;AAQA,MAAa,gBAAgB;CAC3B,cAAc;CACd,uBAAuB;CACvB,WAAW;CACX,oBAAo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nD;AAED,SAAgB,iCACd,GAAG,OACiC;AACpC,QAAO,UAAU,MACf,OACA,uCACD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databricks/sdk-alerts",
3
- "version": "0.51.0",
3
+ "version": "0.52.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "exports": {