@databricks/sdk-alerts 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.
- package/dist/package.js +7 -0
- package/dist/package.js.map +1 -0
- package/dist/v1/client.d.ts +25 -21
- package/dist/v1/client.d.ts.map +1 -1
- package/dist/v1/client.js +146 -185
- package/dist/v1/client.js.map +1 -1
- package/dist/v1/index.d.ts +3 -8
- package/dist/v1/index.js +4 -8
- package/dist/v1/model.d.ts +219 -216
- package/dist/v1/model.d.ts.map +1 -1
- package/dist/v1/model.js +288 -360
- package/dist/v1/model.js.map +1 -1
- package/dist/v1/transport.d.ts +21 -17
- package/dist/v1/transport.d.ts.map +1 -1
- package/dist/v1/transport.js +60 -69
- package/dist/v1/transport.js.map +1 -1
- package/dist/v1/utils.d.ts +18 -14
- package/dist/v1/utils.d.ts.map +1 -1
- package/dist/v1/utils.js +76 -103
- package/dist/v1/utils.js.map +1 -1
- package/dist/v2/client.d.ts +25 -21
- package/dist/v2/client.d.ts.map +1 -1
- package/dist/v2/client.js +154 -197
- package/dist/v2/client.js.map +1 -1
- package/dist/v2/index.d.ts +3 -8
- package/dist/v2/index.js +4 -8
- package/dist/v2/model.d.ts +224 -224
- package/dist/v2/model.d.ts.map +1 -1
- package/dist/v2/model.js +375 -449
- package/dist/v2/model.js.map +1 -1
- package/dist/v2/transport.d.ts +21 -17
- package/dist/v2/transport.d.ts.map +1 -1
- package/dist/v2/transport.js +60 -69
- package/dist/v2/transport.js.map +1 -1
- package/dist/v2/utils.d.ts +18 -14
- package/dist/v2/utils.d.ts.map +1 -1
- package/dist/v2/utils.js +76 -103
- package/dist/v2/utils.js.map +1 -1
- package/package.json +5 -5
- package/dist/v1/index.d.ts.map +0 -1
- package/dist/v1/index.js.map +0 -1
- package/dist/v2/index.d.ts.map +0 -1
- package/dist/v2/index.js.map +0 -1
package/dist/v2/model.d.ts
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
import { Temporal } from
|
|
2
|
-
import { FieldMask } from
|
|
3
|
-
import { z } from
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { Temporal } from "@js-temporal/polyfill";
|
|
2
|
+
import { FieldMask } from "@databricks/sdk-core/wkt";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
|
|
5
|
+
//#region src/v2/model.d.ts
|
|
6
|
+
declare const Aggregation: {
|
|
7
|
+
readonly SUM: "SUM";
|
|
8
|
+
readonly COUNT: "COUNT";
|
|
9
|
+
readonly COUNT_DISTINCT: "COUNT_DISTINCT";
|
|
10
|
+
readonly AVG: "AVG";
|
|
11
|
+
readonly MEDIAN: "MEDIAN";
|
|
12
|
+
readonly MIN: "MIN";
|
|
13
|
+
readonly MAX: "MAX";
|
|
14
|
+
readonly STDDEV: "STDDEV";
|
|
13
15
|
};
|
|
14
|
-
|
|
16
|
+
type Aggregation = (typeof Aggregation)[keyof typeof Aggregation] | (string & {});
|
|
15
17
|
/**
|
|
16
18
|
* UNSPECIFIED - default unspecify value for proto enum, do not use it in the code
|
|
17
19
|
* UNKNOWN - alert not yet evaluated
|
|
@@ -19,152 +21,149 @@ export type Aggregation = (typeof Aggregation)[keyof typeof Aggregation] | (stri
|
|
|
19
21
|
* OK - alert is not triggered
|
|
20
22
|
* ERROR - alert evaluation failed
|
|
21
23
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
readonly ERROR: "ERROR";
|
|
24
|
+
declare const AlertEvaluationState: {
|
|
25
|
+
/** Deprecated. Please avoid using `UNKNOWN` as empty_result_state. */readonly UNKNOWN: "UNKNOWN";
|
|
26
|
+
readonly TRIGGERED: "TRIGGERED";
|
|
27
|
+
readonly OK: "OK";
|
|
28
|
+
readonly ERROR: "ERROR";
|
|
28
29
|
};
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
type AlertEvaluationState = (typeof AlertEvaluationState)[keyof typeof AlertEvaluationState] | (string & {});
|
|
31
|
+
declare const AlertLifecycleState: {
|
|
32
|
+
readonly ACTIVE: "ACTIVE";
|
|
33
|
+
readonly DELETED: "DELETED";
|
|
33
34
|
};
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
35
|
+
type AlertLifecycleState = (typeof AlertLifecycleState)[keyof typeof AlertLifecycleState] | (string & {});
|
|
36
|
+
declare const ComparisonOperator: {
|
|
37
|
+
readonly LESS_THAN: "LESS_THAN";
|
|
38
|
+
readonly GREATER_THAN: "GREATER_THAN";
|
|
39
|
+
readonly EQUAL: "EQUAL";
|
|
40
|
+
readonly NOT_EQUAL: "NOT_EQUAL";
|
|
41
|
+
readonly GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL";
|
|
42
|
+
readonly LESS_THAN_OR_EQUAL: "LESS_THAN_OR_EQUAL";
|
|
43
|
+
readonly IS_NULL: "IS_NULL";
|
|
44
|
+
readonly IS_NOT_NULL: "IS_NOT_NULL";
|
|
44
45
|
};
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof ComparisonOperator] | (string & {});
|
|
47
|
+
declare const SchedulePauseStatus: {
|
|
48
|
+
readonly UNPAUSED: "UNPAUSED";
|
|
49
|
+
readonly PAUSED: "PAUSED";
|
|
49
50
|
};
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
51
|
+
type SchedulePauseStatus = (typeof SchedulePauseStatus)[keyof typeof SchedulePauseStatus] | (string & {});
|
|
52
|
+
interface Alert {
|
|
53
|
+
/** UUID identifying the alert. */
|
|
54
|
+
id?: string | undefined;
|
|
55
|
+
/** The display name of the alert. */
|
|
56
|
+
displayName?: string | undefined;
|
|
57
|
+
/** The owner's username. This field is set to "Unavailable" if the user has been deleted. */
|
|
58
|
+
ownerUserName?: string | undefined;
|
|
59
|
+
/** The timestamp indicating when the alert was created. */
|
|
60
|
+
createTime?: Temporal.Instant | undefined;
|
|
61
|
+
/** The timestamp indicating when the alert was updated. */
|
|
62
|
+
updateTime?: Temporal.Instant | undefined;
|
|
63
|
+
/** The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated. */
|
|
64
|
+
parentPath?: string | undefined;
|
|
65
|
+
/** Text of the query to be run. */
|
|
66
|
+
queryText?: string | undefined;
|
|
67
|
+
/** ID of the SQL warehouse attached to the alert. */
|
|
68
|
+
warehouseId?: string | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* The run as username or application ID of service principal.
|
|
71
|
+
* On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role.
|
|
72
|
+
* Deprecated: Use `run_as` field instead. This field will be removed in a future release.
|
|
73
|
+
*/
|
|
74
|
+
runAsUserName?: string | undefined;
|
|
75
|
+
evaluation?: AlertEvaluation | undefined;
|
|
76
|
+
schedule?: CronSchedule | undefined;
|
|
77
|
+
/** Indicates whether the query is trashed. */
|
|
78
|
+
lifecycleState?: AlertLifecycleState | undefined;
|
|
79
|
+
/** Custom summary for the alert. support mustache template. */
|
|
80
|
+
customSummary?: string | undefined;
|
|
81
|
+
/** Custom description for the alert. support mustache template. */
|
|
82
|
+
customDescription?: string | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* Specifies the identity that will be used to run the alert.
|
|
85
|
+
* This field allows you to configure alerts to run as a specific user or service principal.
|
|
86
|
+
* - For user identity: Set `user_name` to the email of an active workspace user. Users can only set this to their own email.
|
|
87
|
+
* - For service principal: Set `service_principal_name` to the application ID. Requires the `servicePrincipal/user` role.
|
|
88
|
+
* If not specified, the alert will run as the request user.
|
|
89
|
+
*/
|
|
90
|
+
runAs?: AlertRunAs | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* The actual identity that will be used to execute the alert.
|
|
93
|
+
* This is an output-only field that shows the resolved run-as identity after applying
|
|
94
|
+
* permissions and defaults.
|
|
95
|
+
*/
|
|
96
|
+
effectiveRunAs?: AlertRunAs | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* Query parameters bound when executing the alert query, referenced in the
|
|
99
|
+
* query text with `:name` syntax. Static values only.
|
|
100
|
+
*/
|
|
101
|
+
parameters?: AlertStatementParameter[] | undefined;
|
|
101
102
|
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
103
|
+
interface AlertEvaluation {
|
|
104
|
+
/** Source column from result to use to evaluate alert */
|
|
105
|
+
source?: AlertOperandColumn | undefined;
|
|
106
|
+
/** Operator used for comparison in alert evaluation. */
|
|
107
|
+
comparisonOperator?: ComparisonOperator | undefined;
|
|
108
|
+
/** Threshold to user for alert evaluation, can be a column or a value. */
|
|
109
|
+
threshold?: AlertOperand | undefined;
|
|
110
|
+
/** User or Notification Destination to notify when alert is triggered. */
|
|
111
|
+
notification?: AlertNotification | undefined;
|
|
112
|
+
/** Latest state of alert evaluation. */
|
|
113
|
+
state?: AlertEvaluationState | undefined;
|
|
114
|
+
/** Timestamp of the last evaluation. */
|
|
115
|
+
lastEvaluatedAt?: Temporal.Instant | undefined;
|
|
116
|
+
/** Alert state if result is empty. Please avoid setting this field to be `UNKNOWN` because `UNKNOWN` state is planned to be deprecated. */
|
|
117
|
+
emptyResultState?: AlertEvaluationState | undefined;
|
|
117
118
|
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
119
|
+
interface AlertNotification {
|
|
120
|
+
subscriptions?: AlertSubscription[] | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* Number of seconds an alert waits after being triggered before it is allowed to send another notification.
|
|
123
|
+
* If set to 0 or omitted, the alert will not send any further notifications after the first trigger
|
|
124
|
+
* Setting this value to 1 allows the alert to send a notification on every evaluation where the condition is met, effectively making it always retrigger for notification purposes.
|
|
125
|
+
*/
|
|
126
|
+
retriggerSeconds?: number | undefined;
|
|
127
|
+
/** Whether to notify alert subscribers when alert returns back to normal. */
|
|
128
|
+
notifyOnOk?: boolean | undefined;
|
|
128
129
|
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
130
|
+
interface AlertOperand {
|
|
131
|
+
/** Only one of the following fields may be set, depending on the type of operand/threshold. */
|
|
132
|
+
operand?: {
|
|
133
|
+
$case: 'column';
|
|
134
|
+
column: AlertOperandColumn;
|
|
135
|
+
} | {
|
|
136
|
+
$case: 'value';
|
|
137
|
+
value: AlertOperandValue;
|
|
138
|
+
} | undefined;
|
|
138
139
|
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
140
|
+
interface AlertOperandColumn {
|
|
141
|
+
name?: string | undefined;
|
|
142
|
+
display?: string | undefined;
|
|
143
|
+
/** If not set, the behavior is equivalent to using `First row` in the UI. */
|
|
144
|
+
aggregation?: Aggregation | undefined;
|
|
144
145
|
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
146
|
+
interface AlertOperandValue {
|
|
147
|
+
/** Only one of the following fields may be set, depending on the type of threshold value. */
|
|
148
|
+
value?: {
|
|
149
|
+
$case: 'stringValue';
|
|
150
|
+
stringValue: string;
|
|
151
|
+
} | {
|
|
152
|
+
$case: 'doubleValue';
|
|
153
|
+
doubleValue: number;
|
|
154
|
+
} | {
|
|
155
|
+
$case: 'boolValue';
|
|
156
|
+
boolValue: boolean;
|
|
157
|
+
} | undefined;
|
|
157
158
|
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
servicePrincipalName: string;
|
|
167
|
-
} | undefined;
|
|
159
|
+
interface AlertRunAs {
|
|
160
|
+
identity?: {
|
|
161
|
+
$case: 'userName'; /** The email of an active workspace user. Can only set this field to their own email. */
|
|
162
|
+
userName: string;
|
|
163
|
+
} | {
|
|
164
|
+
$case: 'servicePrincipalName'; /** Application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. */
|
|
165
|
+
servicePrincipalName: string;
|
|
166
|
+
} | undefined;
|
|
168
167
|
}
|
|
169
168
|
/**
|
|
170
169
|
* Redash-owned copy of the internal StatementParameter for the external AlertV2 API.
|
|
@@ -173,92 +172,93 @@ export interface AlertRunAs {
|
|
|
173
172
|
* not supported. This mirrors SEA's public StatementParameter schema, see:
|
|
174
173
|
* cmdexec/sql-exec-api/proto/sql_exec_api_service.proto:763-779
|
|
175
174
|
*/
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
175
|
+
interface AlertStatementParameter {
|
|
176
|
+
/** The name of the parameter, referenced in the query as `:name`. */
|
|
177
|
+
name?: string | undefined;
|
|
178
|
+
/** The bound value for the parameter, given as a string. If omitted, the value is interpreted as NULL. */
|
|
179
|
+
value?: string | undefined;
|
|
180
|
+
/**
|
|
181
|
+
* The SQL data type of the parameter, e.g. STRING, INT, or DATE. Defaults to STRING. This is a
|
|
182
|
+
* string rather than an enum because scalar subtypes such as DECIMAL(10, 4) cannot be enumerated.
|
|
183
|
+
* Complex types such as ARRAY, MAP, and STRUCT are not supported.
|
|
184
|
+
*/
|
|
185
|
+
type?: string | undefined;
|
|
187
186
|
}
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
187
|
+
interface AlertSubscription {
|
|
188
|
+
subscriptionType?: {
|
|
189
|
+
$case: 'userEmail';
|
|
190
|
+
userEmail: string;
|
|
191
|
+
} | {
|
|
192
|
+
$case: 'destinationId';
|
|
193
|
+
destinationId: string;
|
|
194
|
+
} | undefined;
|
|
196
195
|
}
|
|
197
|
-
|
|
198
|
-
|
|
196
|
+
interface CreateAlertRequest {
|
|
197
|
+
alert?: Alert | undefined;
|
|
199
198
|
}
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
199
|
+
interface CronSchedule {
|
|
200
|
+
/**
|
|
201
|
+
* A cron expression using quartz syntax that specifies the schedule for this pipeline.
|
|
202
|
+
* Should use the quartz format described here: http://www.quartz-scheduler.org/documentation/quartz-2.1.7/tutorials/tutorial-lesson-06.html
|
|
203
|
+
*/
|
|
204
|
+
quartzCronSchedule?: string | undefined;
|
|
205
|
+
/**
|
|
206
|
+
* A Java timezone id. The schedule will be resolved using this timezone.
|
|
207
|
+
* This will be combined with the quartz_cron_schedule to determine the schedule.
|
|
208
|
+
* See https://docs.databricks.com/sql/language-manual/sql-ref-syntax-aux-conf-mgmt-set-timezone.html for details.
|
|
209
|
+
*/
|
|
210
|
+
timezoneId?: string | undefined;
|
|
211
|
+
/** Indicate whether this schedule is paused or not. */
|
|
212
|
+
pauseStatus?: SchedulePauseStatus | undefined;
|
|
214
213
|
}
|
|
215
214
|
/**
|
|
216
215
|
* Represents an empty message, similar to google.protobuf.Empty, which is not available in the firm
|
|
217
216
|
* right now.
|
|
218
217
|
*/
|
|
219
|
-
|
|
218
|
+
interface Empty {}
|
|
219
|
+
interface GetAlertRequest {
|
|
220
|
+
id?: string | undefined;
|
|
220
221
|
}
|
|
221
|
-
|
|
222
|
-
|
|
222
|
+
interface ListAlertsRequest {
|
|
223
|
+
pageToken?: string | undefined;
|
|
224
|
+
pageSize?: number | undefined;
|
|
223
225
|
}
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
226
|
+
interface ListAlertsResponse {
|
|
227
|
+
alerts?: Alert[] | undefined;
|
|
228
|
+
nextPageToken?: string | undefined;
|
|
227
229
|
}
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
230
|
+
interface TrashAlertRequest {
|
|
231
|
+
id?: string | undefined;
|
|
232
|
+
/** Whether to permanently delete the alert. If not set, the alert will only be soft deleted. */
|
|
233
|
+
purge?: boolean | undefined;
|
|
231
234
|
}
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
purge?: boolean | undefined;
|
|
235
|
+
interface UpdateAlertRequest {
|
|
236
|
+
alert?: Alert | undefined;
|
|
237
|
+
updateMask?: FieldMask<Alert> | undefined;
|
|
236
238
|
}
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
export
|
|
262
|
-
export declare const marshalCronScheduleSchema: z.ZodType;
|
|
263
|
-
export declare function alertFieldMask(...paths: string[]): FieldMask<Alert>;
|
|
239
|
+
declare const unmarshalAlertSchema: z.ZodType<Alert>;
|
|
240
|
+
declare const unmarshalAlertEvaluationSchema: z.ZodType<AlertEvaluation>;
|
|
241
|
+
declare const unmarshalAlertNotificationSchema: z.ZodType<AlertNotification>;
|
|
242
|
+
declare const unmarshalAlertOperandSchema: z.ZodType<AlertOperand>;
|
|
243
|
+
declare const unmarshalAlertOperandColumnSchema: z.ZodType<AlertOperandColumn>;
|
|
244
|
+
declare const unmarshalAlertOperandValueSchema: z.ZodType<AlertOperandValue>;
|
|
245
|
+
declare const unmarshalAlertRunAsSchema: z.ZodType<AlertRunAs>;
|
|
246
|
+
declare const unmarshalAlertStatementParameterSchema: z.ZodType<AlertStatementParameter>;
|
|
247
|
+
declare const unmarshalAlertSubscriptionSchema: z.ZodType<AlertSubscription>;
|
|
248
|
+
declare const unmarshalCronScheduleSchema: z.ZodType<CronSchedule>;
|
|
249
|
+
declare const unmarshalEmptySchema: z.ZodType<Empty>;
|
|
250
|
+
declare const unmarshalListAlertsResponseSchema: z.ZodType<ListAlertsResponse>;
|
|
251
|
+
declare const marshalAlertSchema: z.ZodType;
|
|
252
|
+
declare const marshalAlertEvaluationSchema: z.ZodType;
|
|
253
|
+
declare const marshalAlertNotificationSchema: z.ZodType;
|
|
254
|
+
declare const marshalAlertOperandSchema: z.ZodType;
|
|
255
|
+
declare const marshalAlertOperandColumnSchema: z.ZodType;
|
|
256
|
+
declare const marshalAlertOperandValueSchema: z.ZodType;
|
|
257
|
+
declare const marshalAlertRunAsSchema: z.ZodType;
|
|
258
|
+
declare const marshalAlertStatementParameterSchema: z.ZodType;
|
|
259
|
+
declare const marshalAlertSubscriptionSchema: z.ZodType;
|
|
260
|
+
declare const marshalCronScheduleSchema: z.ZodType;
|
|
261
|
+
declare function alertFieldMask(...paths: string[]): FieldMask<Alert>;
|
|
262
|
+
//#endregion
|
|
263
|
+
export { Aggregation, Alert, AlertEvaluation, AlertEvaluationState, AlertLifecycleState, AlertNotification, AlertOperand, AlertOperandColumn, AlertOperandValue, AlertRunAs, AlertStatementParameter, AlertSubscription, ComparisonOperator, CreateAlertRequest, CronSchedule, Empty, GetAlertRequest, ListAlertsRequest, ListAlertsResponse, SchedulePauseStatus, TrashAlertRequest, UpdateAlertRequest, alertFieldMask, marshalAlertEvaluationSchema, marshalAlertNotificationSchema, marshalAlertOperandColumnSchema, marshalAlertOperandSchema, marshalAlertOperandValueSchema, marshalAlertRunAsSchema, marshalAlertSchema, marshalAlertStatementParameterSchema, marshalAlertSubscriptionSchema, marshalCronScheduleSchema, unmarshalAlertEvaluationSchema, unmarshalAlertNotificationSchema, unmarshalAlertOperandColumnSchema, unmarshalAlertOperandSchema, unmarshalAlertOperandValueSchema, unmarshalAlertRunAsSchema, unmarshalAlertSchema, unmarshalAlertStatementParameterSchema, unmarshalAlertSubscriptionSchema, unmarshalCronScheduleSchema, unmarshalEmptySchema, unmarshalListAlertsResponseSchema };
|
|
264
264
|
//# sourceMappingURL=model.d.ts.map
|
package/dist/v2/model.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","
|
|
1
|
+
{"version":3,"file":"model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