@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/v1/model.d.ts
CHANGED
|
@@ -1,238 +1,241 @@
|
|
|
1
|
-
import { Temporal } from
|
|
2
|
-
import { FieldMask } from
|
|
3
|
-
import { z } from
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { Temporal } from "@js-temporal/polyfill";
|
|
2
|
+
import { FieldMask } from "@databricks/sdk-core/wkt";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
|
|
5
|
+
//#region src/v1/model.d.ts
|
|
6
|
+
declare const AlertOperator: {
|
|
7
|
+
readonly GREATER_THAN: "GREATER_THAN";
|
|
8
|
+
readonly GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL";
|
|
9
|
+
readonly LESS_THAN: "LESS_THAN";
|
|
10
|
+
readonly LESS_THAN_OR_EQUAL: "LESS_THAN_OR_EQUAL";
|
|
11
|
+
readonly EQUAL: "EQUAL";
|
|
12
|
+
readonly NOT_EQUAL: "NOT_EQUAL";
|
|
13
|
+
readonly IS_NULL: "IS_NULL";
|
|
12
14
|
};
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
type AlertOperator = (typeof AlertOperator)[keyof typeof AlertOperator] | (string & {});
|
|
16
|
+
declare const AlertState: {
|
|
17
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
18
|
+
readonly OK: "OK";
|
|
19
|
+
readonly TRIGGERED: "TRIGGERED";
|
|
18
20
|
};
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
type AlertState = (typeof AlertState)[keyof typeof AlertState] | (string & {});
|
|
22
|
+
declare const LifecycleState: {
|
|
23
|
+
readonly ACTIVE: "ACTIVE";
|
|
24
|
+
readonly TRASHED: "TRASHED";
|
|
23
25
|
};
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
26
|
+
type LifecycleState = (typeof LifecycleState)[keyof typeof LifecycleState] | (string & {});
|
|
27
|
+
interface Alert {
|
|
28
|
+
/** UUID identifying the alert. */
|
|
29
|
+
id?: string | undefined;
|
|
30
|
+
/** The display name of the alert. */
|
|
31
|
+
displayName?: string | undefined;
|
|
32
|
+
/** UUID of the query attached to the alert. */
|
|
33
|
+
queryId?: string | undefined;
|
|
34
|
+
/** 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. */
|
|
35
|
+
state?: AlertState | undefined;
|
|
36
|
+
/** 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. */
|
|
37
|
+
secondsToRetrigger?: number | undefined;
|
|
38
|
+
/** The workspace state of the alert. Used for tracking trashed status. */
|
|
39
|
+
lifecycleState?: LifecycleState | undefined;
|
|
40
|
+
/** Timestamp when the alert was last triggered, if the alert has been triggered before. */
|
|
41
|
+
triggerTime?: Temporal.Instant | undefined;
|
|
42
|
+
/** Custom body of alert notification, if it exists. See [here](/sql/user/alerts/index.html) for custom templating instructions. */
|
|
43
|
+
customBody?: string | undefined;
|
|
44
|
+
/** 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. */
|
|
45
|
+
customSubject?: string | undefined;
|
|
46
|
+
/** Trigger conditions of the alert. */
|
|
47
|
+
condition?: AlertCondition | undefined;
|
|
48
|
+
/** The owner's username. This field is set to "Unavailable" if the user has been deleted. */
|
|
49
|
+
ownerUserName?: string | undefined;
|
|
50
|
+
/** The workspace path of the folder containing the alert. */
|
|
51
|
+
parentPath?: string | undefined;
|
|
52
|
+
/** The timestamp indicating when the alert was created. */
|
|
53
|
+
createTime?: Temporal.Instant | undefined;
|
|
54
|
+
/** The timestamp indicating when the alert was updated. */
|
|
55
|
+
updateTime?: Temporal.Instant | undefined;
|
|
56
|
+
/** Whether to notify alert subscribers when alert returns back to normal. */
|
|
57
|
+
notifyOnOk?: boolean | undefined;
|
|
56
58
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
59
|
+
interface AlertCondition {
|
|
60
|
+
/** Operator used for comparison in alert evaluation. */
|
|
61
|
+
op?: AlertOperator | undefined;
|
|
62
|
+
/** Name of the column from the query result to use for comparison in alert evaluation. */
|
|
63
|
+
operand?: AlertOperand | undefined;
|
|
64
|
+
/** Threshold value used for comparison in alert evaluation. */
|
|
65
|
+
threshold?: AlertOperand | undefined;
|
|
66
|
+
/** Alert state if result is empty. */
|
|
67
|
+
emptyResultState?: AlertState | undefined;
|
|
66
68
|
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
69
|
+
interface AlertOperand {
|
|
70
|
+
/** Only one of the following fields may be set, depending on the type of operand/threshold. */
|
|
71
|
+
operand?: {
|
|
72
|
+
$case: 'value';
|
|
73
|
+
value: AlertOperandValue;
|
|
74
|
+
} | {
|
|
75
|
+
$case: 'column';
|
|
76
|
+
column: AlertOperandColumn;
|
|
77
|
+
} | undefined;
|
|
76
78
|
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
+
interface AlertOperandColumn {
|
|
80
|
+
name?: string | undefined;
|
|
79
81
|
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
82
|
+
interface AlertOperandValue {
|
|
83
|
+
/** Only one of the following fields may be set, depending on the type of threshold value. */
|
|
84
|
+
thresholdValue?: {
|
|
85
|
+
$case: 'stringValue';
|
|
86
|
+
stringValue: string;
|
|
87
|
+
} | {
|
|
88
|
+
$case: 'doubleValue';
|
|
89
|
+
doubleValue: number;
|
|
90
|
+
} | {
|
|
91
|
+
$case: 'boolValue';
|
|
92
|
+
boolValue: boolean;
|
|
93
|
+
} | undefined;
|
|
92
94
|
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
interface CreateAlertRequest {
|
|
96
|
+
alert?: CreateAlertRequestAlert | undefined;
|
|
97
|
+
/** 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. */
|
|
98
|
+
autoResolveDisplayName?: boolean | undefined;
|
|
97
99
|
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
100
|
+
interface CreateAlertRequestAlert {
|
|
101
|
+
/** UUID identifying the alert. */
|
|
102
|
+
id?: string | undefined;
|
|
103
|
+
/** The display name of the alert. */
|
|
104
|
+
displayName?: string | undefined;
|
|
105
|
+
/** UUID of the query attached to the alert. */
|
|
106
|
+
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
|
+
/** 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
|
+
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
|
+
/** Custom body of alert notification, if it exists. See [here](/sql/user/alerts/index.html) for custom templating instructions. */
|
|
116
|
+
customBody?: string | undefined;
|
|
117
|
+
/** 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
|
+
customSubject?: string | undefined;
|
|
119
|
+
/** Trigger conditions of the alert. */
|
|
120
|
+
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
|
+
/** The workspace path of the folder containing the alert. */
|
|
124
|
+
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
|
+
/** Whether to notify alert subscribers when alert returns back to normal. */
|
|
130
|
+
notifyOnOk?: boolean | undefined;
|
|
129
131
|
}
|
|
130
132
|
/**
|
|
131
133
|
* Represents an empty message, similar to google.protobuf.Empty, which is not available in the firm
|
|
132
134
|
* right now.
|
|
133
135
|
*/
|
|
134
|
-
|
|
136
|
+
interface Empty {}
|
|
137
|
+
interface GetAlertRequest {
|
|
138
|
+
id?: string | undefined;
|
|
135
139
|
}
|
|
136
|
-
|
|
137
|
-
|
|
140
|
+
interface ListAlertsRequest {
|
|
141
|
+
pageToken?: string | undefined;
|
|
142
|
+
pageSize?: number | undefined;
|
|
138
143
|
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
144
|
+
interface ListAlertsResponse {
|
|
145
|
+
results?: ListAlertsResponseAlert[] | undefined;
|
|
146
|
+
nextPageToken?: string | undefined;
|
|
142
147
|
}
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
148
|
+
interface ListAlertsResponseAlert {
|
|
149
|
+
/** UUID identifying the alert. */
|
|
150
|
+
id?: string | undefined;
|
|
151
|
+
/** The display name of the alert. */
|
|
152
|
+
displayName?: string | undefined;
|
|
153
|
+
/** UUID of the query attached to the alert. */
|
|
154
|
+
queryId?: string | undefined;
|
|
155
|
+
/** 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. */
|
|
156
|
+
state?: AlertState | undefined;
|
|
157
|
+
/** 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. */
|
|
158
|
+
secondsToRetrigger?: number | undefined;
|
|
159
|
+
/** The workspace state of the alert. Used for tracking trashed status. */
|
|
160
|
+
lifecycleState?: LifecycleState | undefined;
|
|
161
|
+
/** Timestamp when the alert was last triggered, if the alert has been triggered before. */
|
|
162
|
+
triggerTime?: Temporal.Instant | undefined;
|
|
163
|
+
/** Custom body of alert notification, if it exists. See [here](/sql/user/alerts/index.html) for custom templating instructions. */
|
|
164
|
+
customBody?: string | undefined;
|
|
165
|
+
/** 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. */
|
|
166
|
+
customSubject?: string | undefined;
|
|
167
|
+
/** Trigger conditions of the alert. */
|
|
168
|
+
condition?: AlertCondition | undefined;
|
|
169
|
+
/** The owner's username. This field is set to "Unavailable" if the user has been deleted. */
|
|
170
|
+
ownerUserName?: string | undefined;
|
|
171
|
+
/** The workspace path of the folder containing the alert. */
|
|
172
|
+
parentPath?: string | undefined;
|
|
173
|
+
/** The timestamp indicating when the alert was created. */
|
|
174
|
+
createTime?: Temporal.Instant | undefined;
|
|
175
|
+
/** The timestamp indicating when the alert was updated. */
|
|
176
|
+
updateTime?: Temporal.Instant | undefined;
|
|
177
|
+
/** Whether to notify alert subscribers when alert returns back to normal. */
|
|
178
|
+
notifyOnOk?: boolean | undefined;
|
|
146
179
|
}
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
id?: string | undefined;
|
|
150
|
-
/** The display name of the alert. */
|
|
151
|
-
displayName?: string | undefined;
|
|
152
|
-
/** UUID of the query attached to the alert. */
|
|
153
|
-
queryId?: string | undefined;
|
|
154
|
-
/** 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. */
|
|
155
|
-
state?: AlertState | undefined;
|
|
156
|
-
/** 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. */
|
|
157
|
-
secondsToRetrigger?: number | undefined;
|
|
158
|
-
/** The workspace state of the alert. Used for tracking trashed status. */
|
|
159
|
-
lifecycleState?: LifecycleState | undefined;
|
|
160
|
-
/** Timestamp when the alert was last triggered, if the alert has been triggered before. */
|
|
161
|
-
triggerTime?: Temporal.Instant | undefined;
|
|
162
|
-
/** Custom body of alert notification, if it exists. See [here](/sql/user/alerts/index.html) for custom templating instructions. */
|
|
163
|
-
customBody?: string | undefined;
|
|
164
|
-
/** 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. */
|
|
165
|
-
customSubject?: string | undefined;
|
|
166
|
-
/** Trigger conditions of the alert. */
|
|
167
|
-
condition?: AlertCondition | undefined;
|
|
168
|
-
/** The owner's username. This field is set to "Unavailable" if the user has been deleted. */
|
|
169
|
-
ownerUserName?: string | undefined;
|
|
170
|
-
/** The workspace path of the folder containing the alert. */
|
|
171
|
-
parentPath?: string | undefined;
|
|
172
|
-
/** The timestamp indicating when the alert was created. */
|
|
173
|
-
createTime?: Temporal.Instant | undefined;
|
|
174
|
-
/** The timestamp indicating when the alert was updated. */
|
|
175
|
-
updateTime?: Temporal.Instant | undefined;
|
|
176
|
-
/** Whether to notify alert subscribers when alert returns back to normal. */
|
|
177
|
-
notifyOnOk?: boolean | undefined;
|
|
180
|
+
interface TrashAlertRequest {
|
|
181
|
+
id?: string | undefined;
|
|
178
182
|
}
|
|
179
|
-
|
|
180
|
-
|
|
183
|
+
interface UpdateAlertRequest {
|
|
184
|
+
alert?: UpdateAlertRequestAlert | undefined;
|
|
185
|
+
updateMask?: FieldMask<UpdateAlertRequestAlert> | undefined;
|
|
186
|
+
id?: string | undefined;
|
|
187
|
+
/** 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. */
|
|
188
|
+
autoResolveDisplayName?: boolean | undefined;
|
|
181
189
|
}
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
190
|
+
interface UpdateAlertRequestAlert {
|
|
191
|
+
/** UUID identifying the alert. */
|
|
192
|
+
id?: string | undefined;
|
|
193
|
+
/** The display name of the alert. */
|
|
194
|
+
displayName?: string | undefined;
|
|
195
|
+
/** UUID of the query attached to the alert. */
|
|
196
|
+
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
|
+
/** 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
|
+
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
|
+
/** Custom body of alert notification, if it exists. See [here](/sql/user/alerts/index.html) for custom templating instructions. */
|
|
206
|
+
customBody?: string | undefined;
|
|
207
|
+
/** 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. */
|
|
208
|
+
customSubject?: string | undefined;
|
|
209
|
+
/** Trigger conditions of the alert. */
|
|
210
|
+
condition?: AlertCondition | undefined;
|
|
211
|
+
/** The owner's username. This field is set to "Unavailable" if the user has been deleted. */
|
|
212
|
+
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
|
+
/** Whether to notify alert subscribers when alert returns back to normal. */
|
|
220
|
+
notifyOnOk?: boolean | undefined;
|
|
188
221
|
}
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
/** Trigger conditions of the alert. */
|
|
209
|
-
condition?: AlertCondition | undefined;
|
|
210
|
-
/** The owner's username. This field is set to "Unavailable" if the user has been deleted. */
|
|
211
|
-
ownerUserName?: string | undefined;
|
|
212
|
-
/** The workspace path of the folder containing the alert. */
|
|
213
|
-
parentPath?: string | undefined;
|
|
214
|
-
/** The timestamp indicating when the alert was created. */
|
|
215
|
-
createTime?: Temporal.Instant | undefined;
|
|
216
|
-
/** The timestamp indicating when the alert was updated. */
|
|
217
|
-
updateTime?: Temporal.Instant | undefined;
|
|
218
|
-
/** Whether to notify alert subscribers when alert returns back to normal. */
|
|
219
|
-
notifyOnOk?: boolean | undefined;
|
|
220
|
-
}
|
|
221
|
-
export declare const unmarshalAlertSchema: z.ZodType<Alert>;
|
|
222
|
-
export declare const unmarshalAlertConditionSchema: z.ZodType<AlertCondition>;
|
|
223
|
-
export declare const unmarshalAlertOperandSchema: z.ZodType<AlertOperand>;
|
|
224
|
-
export declare const unmarshalAlertOperandColumnSchema: z.ZodType<AlertOperandColumn>;
|
|
225
|
-
export declare const unmarshalAlertOperandValueSchema: z.ZodType<AlertOperandValue>;
|
|
226
|
-
export declare const unmarshalEmptySchema: z.ZodType<Empty>;
|
|
227
|
-
export declare const unmarshalListAlertsResponseSchema: z.ZodType<ListAlertsResponse>;
|
|
228
|
-
export declare const unmarshalListAlertsResponseAlertSchema: z.ZodType<ListAlertsResponseAlert>;
|
|
229
|
-
export declare const marshalAlertConditionSchema: z.ZodType;
|
|
230
|
-
export declare const marshalAlertOperandSchema: z.ZodType;
|
|
231
|
-
export declare const marshalAlertOperandColumnSchema: z.ZodType;
|
|
232
|
-
export declare const marshalAlertOperandValueSchema: z.ZodType;
|
|
233
|
-
export declare const marshalCreateAlertRequestSchema: z.ZodType;
|
|
234
|
-
export declare const marshalCreateAlertRequestAlertSchema: z.ZodType;
|
|
235
|
-
export declare const marshalUpdateAlertRequestSchema: z.ZodType;
|
|
236
|
-
export declare const marshalUpdateAlertRequestAlertSchema: z.ZodType;
|
|
237
|
-
export declare function updateAlertRequestAlertFieldMask(...paths: string[]): FieldMask<UpdateAlertRequestAlert>;
|
|
222
|
+
declare const unmarshalAlertSchema: z.ZodType<Alert>;
|
|
223
|
+
declare const unmarshalAlertConditionSchema: z.ZodType<AlertCondition>;
|
|
224
|
+
declare const unmarshalAlertOperandSchema: z.ZodType<AlertOperand>;
|
|
225
|
+
declare const unmarshalAlertOperandColumnSchema: z.ZodType<AlertOperandColumn>;
|
|
226
|
+
declare const unmarshalAlertOperandValueSchema: z.ZodType<AlertOperandValue>;
|
|
227
|
+
declare const unmarshalEmptySchema: z.ZodType<Empty>;
|
|
228
|
+
declare const unmarshalListAlertsResponseSchema: z.ZodType<ListAlertsResponse>;
|
|
229
|
+
declare const unmarshalListAlertsResponseAlertSchema: z.ZodType<ListAlertsResponseAlert>;
|
|
230
|
+
declare const marshalAlertConditionSchema: z.ZodType;
|
|
231
|
+
declare const marshalAlertOperandSchema: z.ZodType;
|
|
232
|
+
declare const marshalAlertOperandColumnSchema: z.ZodType;
|
|
233
|
+
declare const marshalAlertOperandValueSchema: z.ZodType;
|
|
234
|
+
declare const marshalCreateAlertRequestSchema: z.ZodType;
|
|
235
|
+
declare const marshalCreateAlertRequestAlertSchema: z.ZodType;
|
|
236
|
+
declare const marshalUpdateAlertRequestSchema: z.ZodType;
|
|
237
|
+
declare const marshalUpdateAlertRequestAlertSchema: z.ZodType;
|
|
238
|
+
declare function updateAlertRequestAlertFieldMask(...paths: string[]): FieldMask<UpdateAlertRequestAlert>;
|
|
239
|
+
//#endregion
|
|
240
|
+
export { Alert, AlertCondition, AlertOperand, AlertOperandColumn, AlertOperandValue, AlertOperator, AlertState, CreateAlertRequest, CreateAlertRequestAlert, Empty, GetAlertRequest, LifecycleState, ListAlertsRequest, ListAlertsResponse, ListAlertsResponseAlert, TrashAlertRequest, UpdateAlertRequest, UpdateAlertRequestAlert, marshalAlertConditionSchema, marshalAlertOperandColumnSchema, marshalAlertOperandSchema, marshalAlertOperandValueSchema, marshalCreateAlertRequestAlertSchema, marshalCreateAlertRequestSchema, marshalUpdateAlertRequestAlertSchema, marshalUpdateAlertRequestSchema, unmarshalAlertConditionSchema, unmarshalAlertOperandColumnSchema, unmarshalAlertOperandSchema, unmarshalAlertOperandValueSchema, unmarshalAlertSchema, unmarshalEmptySchema, unmarshalListAlertsResponseAlertSchema, unmarshalListAlertsResponseSchema, updateAlertRequestAlertFieldMask };
|
|
238
241
|
//# sourceMappingURL=model.d.ts.map
|
package/dist/v1/model.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","
|
|
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,kBAAA;EACf,IAAA;AAAA;AAAA,UAGe,iBAAA;EA5BO;EA8BtB,cAAA;IACK,KAAA;IAAsB,WAAA;EAAA;IACtB,KAAA;IAAsB,WAAA;EAAA;IACt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