@dx-do/client 7.6.0 → 7.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,41 +1,436 @@
1
- import { PlatformFilters } from '../filter/platform-filter';
2
- export declare namespace AlarmQueue {
3
- interface AlarmQueueFilterSettings {
4
- displayAlgorithmicSituations: boolean;
5
- expandVisualizations: boolean;
6
- autoRefreshAlarms: boolean;
7
- displayclosedalarms: boolean;
8
- alarmsPartOfSituations: boolean;
9
- displayMaintenanceAlarms: boolean;
10
- }
11
- interface AlarmQueue {
12
- filterName: string;
13
- isDefault: boolean;
14
- isPinned: boolean;
15
- id: string;
16
- createdBy: string;
17
- updatedBy: string;
18
- creationTime: number;
19
- lastUpdated: number;
20
- rank: string;
21
- alarmCategory: string;
22
- personal: string;
23
- ownerRole: string;
24
- sharedToRoles: string[];
25
- groupSelected: boolean;
26
- defaultRoleData: unknown;
27
- isComplexFilter: boolean;
28
- displayColumns?: Record<string, boolean>;
29
- columnPreferences?: Record<string, Record<string, unknown>>;
30
- columnOrder?: string[];
31
- sortColumn?: `${string}:${string}`;
32
- filterSettings: AlarmQueueFilterSettings;
33
- }
34
- interface AlarmQueueDetail extends AlarmQueue {
35
- filterExpressions: PlatformFilters.PlatformFilter;
36
- }
37
- interface AlarmQueueListResponse {
38
- alarmFilters: AlarmQueue[];
39
- }
1
+ import { z } from 'zod/v4';
2
+ import type { PolicyFilterAtom, PolicyFilterExpression } from '../channel/notify-policy-template';
3
+ /**
4
+ * Alarm queues — the UI name for `oi/v2/api/alarmfilters` ("alarm filters"):
5
+ * saved alarm searches with display preferences, personal to their creator or
6
+ * owned by a role and shared to other roles. Shapes and defaults below are the
7
+ * key sets the DXO2 UI sends and receives, observed in HAR captures on the lab
8
+ * tenant (create x2, update, pin, list, detail; delete read live from DevTools).
9
+ *
10
+ * The filter expression is the same and/or tree notification policies use
11
+ * (`filterExpressionV1`), so the atom / expression schemas are shared with
12
+ * `../channel/notify-policy-template`.
13
+ */
14
+ export type AlarmQueueFilterAtom = PolicyFilterAtom;
15
+ export type AlarmQueueFilterExpression = PolicyFilterExpression;
16
+ /**
17
+ * Every `alarmCategory` the alarm-filter store holds: `rawAlarm` entries are
18
+ * alarm queues (All Alarms view), `service` and `situation` entries are the
19
+ * filters of the Service Alarms and Situations views (see alarm-filter.ts),
20
+ * `monitoredInventory` entries are the Inventory page's queues (see
21
+ * model/inventory/inventory-queue.ts, which reads them through their own API).
22
+ */
23
+ export declare const ALARM_QUEUE_CATEGORIES: readonly ["rawAlarm", "service", "situation", "monitoredInventory"];
24
+ export type AlarmQueueCategory = (typeof ALARM_QUEUE_CATEGORIES)[number];
25
+ export declare const ALARM_QUEUE_FILTER_SETTING_KEYS: readonly ["displayclosedalarms", "alarmsPartOfSituations", "displayMaintenanceAlarms", "displayAlgorithmicSituations", "expandVisualizations", "autoRefreshAlarms"];
26
+ export type AlarmQueueFilterSettingKey = (typeof ALARM_QUEUE_FILTER_SETTING_KEYS)[number];
27
+ export declare const AlarmQueueFilterSettingsSchema: z.ZodObject<{
28
+ displayclosedalarms: z.ZodBoolean;
29
+ alarmsPartOfSituations: z.ZodBoolean;
30
+ displayMaintenanceAlarms: z.ZodBoolean;
31
+ displayAlgorithmicSituations: z.ZodBoolean;
32
+ expandVisualizations: z.ZodBoolean;
33
+ autoRefreshAlarms: z.ZodBoolean;
34
+ }, z.core.$loose>;
35
+ export type AlarmQueueFilterSettings = z.infer<typeof AlarmQueueFilterSettingsSchema>;
36
+ export declare const ALARM_QUEUE_DEFAULT_FILTER_SETTINGS: AlarmQueueFilterSettings;
37
+ /** One alarm queue as the list and detail reads return it. */
38
+ export declare const AlarmQueueSchema: z.ZodObject<{
39
+ id: z.ZodString;
40
+ filterName: z.ZodString;
41
+ alarmCategory: z.ZodString;
42
+ personal: z.ZodOptional<z.ZodBoolean>;
43
+ ownerRole: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ sharedToRoles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
45
+ isPinned: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
46
+ isDefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
47
+ createdBy: z.ZodOptional<z.ZodString>;
48
+ updatedBy: z.ZodOptional<z.ZodString>;
49
+ creationTime: z.ZodOptional<z.ZodString>;
50
+ lastUpdated: z.ZodOptional<z.ZodString>;
51
+ rank: z.ZodOptional<z.ZodString>;
52
+ groupSelected: z.ZodOptional<z.ZodBoolean>;
53
+ isComplexFilter: z.ZodOptional<z.ZodBoolean>;
54
+ displayColumns: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
55
+ columnOrder: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
56
+ columnPreferences: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
57
+ width: z.ZodOptional<z.ZodNumber>;
58
+ }, z.core.$loose>>>>;
59
+ columnSize: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
60
+ pinnedColumns: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
61
+ sortColumn: z.ZodOptional<z.ZodArray<z.ZodString>>;
62
+ sharePreferences: z.ZodOptional<z.ZodBoolean>;
63
+ defaultRoleData: z.ZodOptional<z.ZodUnknown>;
64
+ filterSettings: z.ZodOptional<z.ZodObject<{
65
+ displayclosedalarms: z.ZodBoolean;
66
+ alarmsPartOfSituations: z.ZodBoolean;
67
+ displayMaintenanceAlarms: z.ZodBoolean;
68
+ displayAlgorithmicSituations: z.ZodBoolean;
69
+ expandVisualizations: z.ZodBoolean;
70
+ autoRefreshAlarms: z.ZodBoolean;
71
+ }, z.core.$loose>>;
72
+ }, z.core.$loose>;
73
+ export type AlarmQueue = z.infer<typeof AlarmQueueSchema>;
74
+ /** Sharing as the reads report it; older list reads omit `personal`, so the owner role decides. */
75
+ export declare function isPersonalQueue(queue: Pick<AlarmQueue, 'personal' | 'ownerRole'>): boolean;
76
+ /** The detail read answers 200 with an id-less body when the queue does not exist (e.g. after a delete). */
77
+ export declare function isAlarmQueueNotFound(raw: unknown): boolean;
78
+ /**
79
+ * The detail read (`_search?id=&alarmCategory=`) adds the match. rawAlarm and
80
+ * situation queues carry the and/or tree in `filterExpressions`; monitoredInventory
81
+ * queues carry a flat atom list in `filterExpression` (singular) plus grouping state.
82
+ */
83
+ export declare const AlarmQueueDetailSchema: z.ZodObject<{
84
+ id: z.ZodString;
85
+ filterName: z.ZodString;
86
+ alarmCategory: z.ZodString;
87
+ personal: z.ZodOptional<z.ZodBoolean>;
88
+ ownerRole: z.ZodOptional<z.ZodNullable<z.ZodString>>;
89
+ sharedToRoles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
90
+ isPinned: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
91
+ isDefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
92
+ createdBy: z.ZodOptional<z.ZodString>;
93
+ updatedBy: z.ZodOptional<z.ZodString>;
94
+ creationTime: z.ZodOptional<z.ZodString>;
95
+ lastUpdated: z.ZodOptional<z.ZodString>;
96
+ rank: z.ZodOptional<z.ZodString>;
97
+ groupSelected: z.ZodOptional<z.ZodBoolean>;
98
+ isComplexFilter: z.ZodOptional<z.ZodBoolean>;
99
+ displayColumns: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
100
+ columnOrder: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
101
+ columnPreferences: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
102
+ width: z.ZodOptional<z.ZodNumber>;
103
+ }, z.core.$loose>>>>;
104
+ columnSize: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
105
+ pinnedColumns: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
106
+ sortColumn: z.ZodOptional<z.ZodArray<z.ZodString>>;
107
+ sharePreferences: z.ZodOptional<z.ZodBoolean>;
108
+ defaultRoleData: z.ZodOptional<z.ZodUnknown>;
109
+ filterSettings: z.ZodOptional<z.ZodObject<{
110
+ displayclosedalarms: z.ZodBoolean;
111
+ alarmsPartOfSituations: z.ZodBoolean;
112
+ displayMaintenanceAlarms: z.ZodBoolean;
113
+ displayAlgorithmicSituations: z.ZodBoolean;
114
+ expandVisualizations: z.ZodBoolean;
115
+ autoRefreshAlarms: z.ZodBoolean;
116
+ }, z.core.$loose>>;
117
+ filterExpressions: z.ZodOptional<z.ZodType<PolicyFilterExpression, unknown, z.core.$ZodTypeInternals<PolicyFilterExpression, unknown>>>;
118
+ filterExpression: z.ZodOptional<z.ZodArray<z.ZodObject<{
119
+ field: z.ZodString;
120
+ fieldDescription: z.ZodOptional<z.ZodString>;
121
+ condition: z.ZodString;
122
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber]>;
123
+ }, z.core.$loose>>>;
124
+ groupByField: z.ZodOptional<z.ZodString>;
125
+ groupById: z.ZodOptional<z.ZodNumber>;
126
+ selectToggles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
127
+ }, z.core.$loose>;
128
+ export type AlarmQueueDetail = z.infer<typeof AlarmQueueDetailSchema>;
129
+ /** `GET oi/v2/api/alarmfilters/_search`: the queues visible to the caller. */
130
+ export declare const AlarmQueueListResponseSchema: z.ZodObject<{
131
+ alarmFilters: z.ZodArray<z.ZodObject<{
132
+ id: z.ZodString;
133
+ filterName: z.ZodString;
134
+ alarmCategory: z.ZodString;
135
+ personal: z.ZodOptional<z.ZodBoolean>;
136
+ ownerRole: z.ZodOptional<z.ZodNullable<z.ZodString>>;
137
+ sharedToRoles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
138
+ isPinned: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
139
+ isDefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
140
+ createdBy: z.ZodOptional<z.ZodString>;
141
+ updatedBy: z.ZodOptional<z.ZodString>;
142
+ creationTime: z.ZodOptional<z.ZodString>;
143
+ lastUpdated: z.ZodOptional<z.ZodString>;
144
+ rank: z.ZodOptional<z.ZodString>;
145
+ groupSelected: z.ZodOptional<z.ZodBoolean>;
146
+ isComplexFilter: z.ZodOptional<z.ZodBoolean>;
147
+ displayColumns: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
148
+ columnOrder: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
149
+ columnPreferences: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
150
+ width: z.ZodOptional<z.ZodNumber>;
151
+ }, z.core.$loose>>>>;
152
+ columnSize: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
153
+ pinnedColumns: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
154
+ sortColumn: z.ZodOptional<z.ZodArray<z.ZodString>>;
155
+ sharePreferences: z.ZodOptional<z.ZodBoolean>;
156
+ defaultRoleData: z.ZodOptional<z.ZodUnknown>;
157
+ filterSettings: z.ZodOptional<z.ZodObject<{
158
+ displayclosedalarms: z.ZodBoolean;
159
+ alarmsPartOfSituations: z.ZodBoolean;
160
+ displayMaintenanceAlarms: z.ZodBoolean;
161
+ displayAlgorithmicSituations: z.ZodBoolean;
162
+ expandVisualizations: z.ZodBoolean;
163
+ autoRefreshAlarms: z.ZodBoolean;
164
+ }, z.core.$loose>>;
165
+ }, z.core.$loose>>;
166
+ }, z.core.$loose>;
167
+ export type AlarmQueueListResponse = z.infer<typeof AlarmQueueListResponseSchema>;
168
+ /**
169
+ * `GET oi/v2/api/allalarmfilters`: shared queues with their expressions
170
+ * inlined. When nothing matches the server answers 200 with a message body
171
+ * and no `alarmFilters` key.
172
+ */
173
+ export declare const AllAlarmQueuesResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
174
+ alarmFilters: z.ZodArray<z.ZodObject<{
175
+ id: z.ZodString;
176
+ filterName: z.ZodString;
177
+ alarmCategory: z.ZodString;
178
+ personal: z.ZodOptional<z.ZodBoolean>;
179
+ ownerRole: z.ZodOptional<z.ZodNullable<z.ZodString>>;
180
+ sharedToRoles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
181
+ isPinned: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
182
+ isDefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
183
+ createdBy: z.ZodOptional<z.ZodString>;
184
+ updatedBy: z.ZodOptional<z.ZodString>;
185
+ creationTime: z.ZodOptional<z.ZodString>;
186
+ lastUpdated: z.ZodOptional<z.ZodString>;
187
+ rank: z.ZodOptional<z.ZodString>;
188
+ groupSelected: z.ZodOptional<z.ZodBoolean>;
189
+ isComplexFilter: z.ZodOptional<z.ZodBoolean>;
190
+ displayColumns: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
191
+ columnOrder: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
192
+ columnPreferences: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
193
+ width: z.ZodOptional<z.ZodNumber>;
194
+ }, z.core.$loose>>>>;
195
+ columnSize: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
196
+ pinnedColumns: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
197
+ sortColumn: z.ZodOptional<z.ZodArray<z.ZodString>>;
198
+ sharePreferences: z.ZodOptional<z.ZodBoolean>;
199
+ defaultRoleData: z.ZodOptional<z.ZodUnknown>;
200
+ filterSettings: z.ZodOptional<z.ZodObject<{
201
+ displayclosedalarms: z.ZodBoolean;
202
+ alarmsPartOfSituations: z.ZodBoolean;
203
+ displayMaintenanceAlarms: z.ZodBoolean;
204
+ displayAlgorithmicSituations: z.ZodBoolean;
205
+ expandVisualizations: z.ZodBoolean;
206
+ autoRefreshAlarms: z.ZodBoolean;
207
+ }, z.core.$loose>>;
208
+ filterExpressions: z.ZodOptional<z.ZodType<PolicyFilterExpression, unknown, z.core.$ZodTypeInternals<PolicyFilterExpression, unknown>>>;
209
+ filterExpression: z.ZodOptional<z.ZodArray<z.ZodObject<{
210
+ field: z.ZodString;
211
+ fieldDescription: z.ZodOptional<z.ZodString>;
212
+ condition: z.ZodString;
213
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber]>;
214
+ }, z.core.$loose>>>;
215
+ groupByField: z.ZodOptional<z.ZodString>;
216
+ groupById: z.ZodOptional<z.ZodNumber>;
217
+ selectToggles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
218
+ }, z.core.$loose>>;
219
+ }, z.core.$loose>, z.ZodObject<{
220
+ message: z.ZodString;
221
+ }, z.core.$loose>]>;
222
+ export type AllAlarmQueuesResponse = z.infer<typeof AllAlarmQueuesResponseSchema>;
223
+ /** Normalizes the two `allalarmfilters` shapes to a plain array. */
224
+ export declare function allAlarmQueues(raw: AllAlarmQueuesResponse): AlarmQueueDetail[];
225
+ /**
226
+ * One entry of `GET oi/v2/api/alarms/fields`, the field catalog the queue
227
+ * editor offers (87 entries, e.g. `service`, `severity`, `message`, `host`).
228
+ * Distinct from the policy catalogs: the same concept is `service` here and
229
+ * `services_impacted` in `normalizedalarms/fields`.
230
+ */
231
+ export declare const AlarmQueueFieldSchema: z.ZodObject<{
232
+ field: z.ZodString;
233
+ fieldDescription: z.ZodString;
234
+ values: z.ZodArray<z.ZodString>;
235
+ hideMoreOptions: z.ZodOptional<z.ZodBoolean>;
236
+ }, z.core.$loose>;
237
+ export type AlarmQueueField = z.infer<typeof AlarmQueueFieldSchema>;
238
+ export declare const AlarmQueueFieldsResponseSchema: z.ZodArray<z.ZodObject<{
239
+ field: z.ZodString;
240
+ fieldDescription: z.ZodString;
241
+ values: z.ZodArray<z.ZodString>;
242
+ hideMoreOptions: z.ZodOptional<z.ZodBoolean>;
243
+ }, z.core.$loose>>;
244
+ /** One entry of `GET oi/v2/api/getUserRoles`, the tenant's role catalog. */
245
+ export declare const TenantRoleSchema: z.ZodObject<{
246
+ id: z.ZodString;
247
+ name: z.ZodString;
248
+ description: z.ZodOptional<z.ZodString>;
249
+ owner: z.ZodOptional<z.ZodString>;
250
+ inactive: z.ZodOptional<z.ZodBoolean>;
251
+ type: z.ZodOptional<z.ZodArray<z.ZodString>>;
252
+ }, z.core.$loose>;
253
+ export type TenantRole = z.infer<typeof TenantRoleSchema>;
254
+ export declare const TenantRolesResponseSchema: z.ZodArray<z.ZodObject<{
255
+ id: z.ZodString;
256
+ name: z.ZodString;
257
+ description: z.ZodOptional<z.ZodString>;
258
+ owner: z.ZodOptional<z.ZodString>;
259
+ inactive: z.ZodOptional<z.ZodBoolean>;
260
+ type: z.ZodOptional<z.ZodArray<z.ZodString>>;
261
+ }, z.core.$loose>>;
262
+ /**
263
+ * Body of `POST oi/v2/api/alarmfilters` (create) and
264
+ * `PUT oi/v2/api/alarmfilters?filterName=<name>` (update, which adds `id` and
265
+ * `isFilterExpressionChanged`). Personal queues send `ownerRole: null` and
266
+ * `sharedToRoles: null`; shared queues send the owner role and the role list,
267
+ * with `newSharedRoles` / `unSharedRoles` carrying the delta on update.
268
+ */
269
+ export declare const AlarmQueueWriteBodySchema: z.ZodObject<{
270
+ id: z.ZodOptional<z.ZodString>;
271
+ filterName: z.ZodString;
272
+ alarmCategory: z.ZodString;
273
+ isPinned: z.ZodBoolean;
274
+ isDefault: z.ZodBoolean;
275
+ personal: z.ZodBoolean;
276
+ ownerRole: z.ZodNullable<z.ZodString>;
277
+ sharedToRoles: z.ZodNullable<z.ZodArray<z.ZodString>>;
278
+ newSharedRoles: z.ZodArray<z.ZodString>;
279
+ unSharedRoles: z.ZodArray<z.ZodString>;
280
+ isComplexFilter: z.ZodBoolean;
281
+ filterExpressions: z.ZodType<PolicyFilterExpression, unknown, z.core.$ZodTypeInternals<PolicyFilterExpression, unknown>>;
282
+ displayColumns: z.ZodRecord<z.ZodString, z.ZodBoolean>;
283
+ columnOrder: z.ZodArray<z.ZodString>;
284
+ pinnedColumns: z.ZodUnion<readonly [z.ZodNull, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
285
+ sharePreferences: z.ZodBoolean;
286
+ filterSettings: z.ZodObject<{
287
+ displayclosedalarms: z.ZodBoolean;
288
+ alarmsPartOfSituations: z.ZodBoolean;
289
+ displayMaintenanceAlarms: z.ZodBoolean;
290
+ displayAlgorithmicSituations: z.ZodBoolean;
291
+ expandVisualizations: z.ZodBoolean;
292
+ autoRefreshAlarms: z.ZodBoolean;
293
+ }, z.core.$loose>;
294
+ isFilterExpressionChanged: z.ZodOptional<z.ZodBoolean>;
295
+ }, z.core.$loose>;
296
+ export type AlarmQueueWriteBody = z.infer<typeof AlarmQueueWriteBodySchema>;
297
+ /** Create / update response: the persisted queue plus the server's insert flags. */
298
+ export declare const AlarmQueueWriteResponseSchema: z.ZodObject<{
299
+ id: z.ZodString;
300
+ filterName: z.ZodString;
301
+ alarmCategory: z.ZodString;
302
+ personal: z.ZodOptional<z.ZodBoolean>;
303
+ ownerRole: z.ZodOptional<z.ZodNullable<z.ZodString>>;
304
+ sharedToRoles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
305
+ isPinned: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
306
+ isDefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
307
+ createdBy: z.ZodOptional<z.ZodString>;
308
+ updatedBy: z.ZodOptional<z.ZodString>;
309
+ creationTime: z.ZodOptional<z.ZodString>;
310
+ lastUpdated: z.ZodOptional<z.ZodString>;
311
+ rank: z.ZodOptional<z.ZodString>;
312
+ groupSelected: z.ZodOptional<z.ZodBoolean>;
313
+ isComplexFilter: z.ZodOptional<z.ZodBoolean>;
314
+ displayColumns: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
315
+ columnOrder: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
316
+ columnPreferences: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
317
+ width: z.ZodOptional<z.ZodNumber>;
318
+ }, z.core.$loose>>>>;
319
+ columnSize: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
320
+ pinnedColumns: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
321
+ sortColumn: z.ZodOptional<z.ZodArray<z.ZodString>>;
322
+ sharePreferences: z.ZodOptional<z.ZodBoolean>;
323
+ defaultRoleData: z.ZodOptional<z.ZodUnknown>;
324
+ filterSettings: z.ZodOptional<z.ZodObject<{
325
+ displayclosedalarms: z.ZodBoolean;
326
+ alarmsPartOfSituations: z.ZodBoolean;
327
+ displayMaintenanceAlarms: z.ZodBoolean;
328
+ displayAlgorithmicSituations: z.ZodBoolean;
329
+ expandVisualizations: z.ZodBoolean;
330
+ autoRefreshAlarms: z.ZodBoolean;
331
+ }, z.core.$loose>>;
332
+ filterExpressions: z.ZodOptional<z.ZodType<PolicyFilterExpression, unknown, z.core.$ZodTypeInternals<PolicyFilterExpression, unknown>>>;
333
+ filterExpression: z.ZodOptional<z.ZodArray<z.ZodObject<{
334
+ field: z.ZodString;
335
+ fieldDescription: z.ZodOptional<z.ZodString>;
336
+ condition: z.ZodString;
337
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber]>;
338
+ }, z.core.$loose>>>;
339
+ groupByField: z.ZodOptional<z.ZodString>;
340
+ groupById: z.ZodOptional<z.ZodNumber>;
341
+ selectToggles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
342
+ queueInserted: z.ZodOptional<z.ZodBoolean>;
343
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
344
+ isFilterExpressionChanged: z.ZodOptional<z.ZodBoolean>;
345
+ }, z.core.$loose>;
346
+ export type AlarmQueueWriteResponse = z.infer<typeof AlarmQueueWriteResponseSchema>;
347
+ /**
348
+ * Body of `POST oi/v2/api/updateUserPreferences`, the per-user pin / default
349
+ * toggle. Exactly the six keys the UI sends.
350
+ */
351
+ export declare const AlarmQueuePreferencesSchema: z.ZodObject<{
352
+ id: z.ZodString;
353
+ filterName: z.ZodString;
354
+ isPinned: z.ZodBoolean;
355
+ isDefault: z.ZodBoolean;
356
+ sharePreferences: z.ZodBoolean;
357
+ alarmCategory: z.ZodString;
358
+ }, z.core.$strict>;
359
+ export type AlarmQueuePreferences = z.infer<typeof AlarmQueuePreferencesSchema>;
360
+ export declare const AlarmQueuePreferencesResponseSchema: z.ZodObject<{
361
+ message: z.ZodString;
362
+ }, z.core.$loose>;
363
+ export type AlarmQueuePreferencesResponse = z.infer<typeof AlarmQueuePreferencesResponseSchema>;
364
+ /** `DELETE oi/v2/api/alarmfilters?id=&alarmCategory=rawAlarm`: observed live on the lab tenant. */
365
+ export declare const AlarmQueueDeleteResponseSchema: z.ZodObject<{
366
+ message: z.ZodString;
367
+ }, z.core.$loose>;
368
+ export type AlarmQueueDeleteResponse = z.infer<typeof AlarmQueueDeleteResponseSchema>;
369
+ export declare const ALARM_QUEUE_DISPLAY_COLUMN_KEYS: readonly ["severity", "alarmType", "annotation", "message", "entity", "ip", "locationString", "Service", "sourceProduct", "ticketID", "ticketStatus", "troubleShooter", "timeOrigin", "lastUpdateTime", "agent", "csId", "alert_definition_link", "subsystem", "deviceName", "metricType", "host", "causeCode", "monitoringHost", "ciType", "group", "assignmentGroup", "devId", "component_name", "alarmURL", "external_ids", "tags", "domain", "metric_view_link", "ciName", "applicationName", "isolation_view_link", "probe", "modelName", "custom1", "custom2", "custom3", "custom4", "custom5", "custom6", "custom7", "custom8", "custom9", "custom10", "clusterId", "clusterStatus", "isStableCluster", "clusterTroubleTicket", "sourceTimestamp", "subClustersCount", "custom_11", "custom_12", "custom_13", "custom_14", "custom_15", "custom_16", "custom_17", "custom_18", "custom_19", "custom_20", "custom_21", "custom_22", "custom_23", "custom_24", "custom_25", "custom_26", "custom_27", "custom_28", "custom_29", "custom_30", "custom_31", "custom_32", "custom_33", "custom_34", "custom_35", "custom_36", "custom_37", "custom_38", "custom_39", "custom_40", "custom_41", "custom_42", "custom_43", "custom_44", "custom_45", "custom_46", "custom_47", "custom_48", "custom_49", "custom_50", "custom_51", "custom_52", "custom_53", "custom_54", "custom_55", "custom_56", "custom_57", "custom_58", "custom_59", "custom_60"];
370
+ export type AlarmQueueColumnKey = (typeof ALARM_QUEUE_DISPLAY_COLUMN_KEYS)[number];
371
+ export declare const ALARM_QUEUE_DEFAULT_VISIBLE_COLUMNS: readonly AlarmQueueColumnKey[];
372
+ export declare const ALARM_QUEUE_DEFAULT_COLUMN_ORDER: readonly string[];
373
+ /**
374
+ * Conditions the queue editor offers: the platform's string matchers plus the
375
+ * presence tests seen on customer queues (`ticketState does_not_exists`); no
376
+ * notify-time detectors (`changed`, `increases`, ...).
377
+ */
378
+ export declare const ALARM_QUEUE_FILTER_CONDITIONS: readonly string[];
379
+ /**
380
+ * Builds `filterExpressions` the way the UI does: atoms that share a
381
+ * field+condition become one `or` group (any-of), and the groups AND
382
+ * together under one outer `and`. One atom per group reproduces the captured
383
+ * shape exactly.
384
+ */
385
+ export declare function buildAlarmQueueFilterExpression(atoms: AlarmQueueFilterAtom[]): AlarmQueueFilterExpression;
386
+ /** The full column map with exactly `visible` set to true; unknown ids throw. */
387
+ export declare function displayColumnsFor(visible: readonly string[]): Record<string, boolean>;
388
+ /** Visible column ids of a queue, in catalog order (unknown ids last). */
389
+ export declare function visibleAlarmQueueColumns(displayColumns: Record<string, boolean> | undefined): string[];
390
+ /** `newSharedRoles` / `unSharedRoles` for a change of the shared-to list. */
391
+ export declare function sharedRoleDelta(previous: readonly string[] | null | undefined, next: readonly string[] | null | undefined): {
392
+ newSharedRoles: string[];
393
+ unSharedRoles: string[];
394
+ };
395
+ export interface AlarmQueueSharing {
396
+ personal: boolean;
397
+ ownerRole?: string | null | undefined;
398
+ sharedToRoles?: readonly string[] | null | undefined;
40
399
  }
400
+ /** Personal means null owner and roles; shared means the owner as given and a role array. */
401
+ export declare function normalizeAlarmQueueSharing(sharing: AlarmQueueSharing): {
402
+ personal: boolean;
403
+ ownerRole: string | null;
404
+ sharedToRoles: string[] | null;
405
+ };
406
+ export interface AlarmQueueCreateInput extends AlarmQueueSharing {
407
+ filterName: string;
408
+ filterExpressions: AlarmQueueFilterExpression;
409
+ /** Column ids to show; defaults to the UI's eleven. */
410
+ visibleColumns?: readonly string[] | undefined;
411
+ filterSettings?: Partial<AlarmQueueFilterSettings> | undefined;
412
+ isPinned?: boolean | undefined;
413
+ isDefault?: boolean | undefined;
414
+ }
415
+ /** The create body with the UI's defaults filled in. */
416
+ export declare function toAlarmQueueWriteBody(input: AlarmQueueCreateInput): AlarmQueueWriteBody;
417
+ export interface AlarmQueueUpdatePatch {
418
+ filterName?: string | undefined;
419
+ filterExpressions?: AlarmQueueFilterExpression | undefined;
420
+ personal?: boolean | undefined;
421
+ ownerRole?: string | null | undefined;
422
+ sharedToRoles?: readonly string[] | null | undefined;
423
+ visibleColumns?: readonly string[] | undefined;
424
+ filterSettings?: Partial<AlarmQueueFilterSettings> | undefined;
425
+ }
426
+ /**
427
+ * The update body for an existing queue with only the patched fields changed;
428
+ * everything else (display columns, order, settings, pin state) is sent back
429
+ * verbatim. Returns human-readable `changes` for previews; an empty list means
430
+ * there is nothing to save.
431
+ */
432
+ export declare function buildAlarmQueueUpdateBody(existing: AlarmQueueDetail, patch: AlarmQueueUpdatePatch): {
433
+ body: AlarmQueueWriteBody;
434
+ changes: string[];
435
+ };
41
436
  //# sourceMappingURL=alarm-queue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"alarm-queue.d.ts","sourceRoot":"","sources":["../../../../../src/lib/model/alarm/alarm-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C,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC,aAAa,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,IAAI,GAAG,SAAS,CAAC;IACrD,cAAc,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IAC/C,cAAc,CAAC,EAAE,OAAO,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC;CAChE;AAID;;;;;GAKG;AACH,wBAAgB,yBAAyB,CACvC,QAAQ,EAAE,gBAAgB,EAC1B,KAAK,EAAE,qBAAqB,GAC3B;IAAE,IAAI,EAAE,mBAAmB,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE,CAmFlD"}
@@ -20,8 +20,8 @@ export type SmtpTestRequest = z.infer<typeof SmtpTestRequestSchema>;
20
20
  /** Caller-supplied part of {@link SmtpTestRequestSchema}; the service stamps orgId. */
21
21
  export declare const SmtpTestInputSchema: z.ZodObject<{
22
22
  alarmType: z.ZodString;
23
- alarmId: z.ZodString;
24
23
  templateName: z.ZodString;
24
+ alarmId: z.ZodString;
25
25
  maskRecipients: z.ZodBoolean;
26
26
  useDefaultConfigs: z.ZodBoolean;
27
27
  recipients: z.ZodArray<z.ZodEmail>;
@@ -59,9 +59,9 @@ export type WebhookTestRequest = z.infer<typeof WebhookTestRequestSchema>;
59
59
  export declare const WebhookTestInputSchema: z.ZodObject<{
60
60
  url: z.ZodURL;
61
61
  alarmType: z.ZodString;
62
+ id: z.ZodNumber;
62
63
  alarmId: z.ZodString;
63
64
  headers: z.ZodRecord<z.ZodString, z.ZodString>;
64
- id: z.ZodNumber;
65
65
  proxyId: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
66
66
  authDetails: z.ZodObject<{
67
67
  authType: z.ZodEnum<{
@@ -1 +1 @@
1
- {"version":3,"file":"Curl.d.ts","sourceRoot":"","sources":["../../../../../src/lib/model/curl/Curl.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAOnE,qEAAqE;AACrE,eAAO,MAAM,cAAc,eAAe,CAAC;AAC3C,wEAAwE;AACxE,eAAO,MAAM,aAAa,cAAc,CAAC;AACzC,eAAO,MAAM,eAAe,gBAAgB,CAAC;AAE7C,MAAM,WAAW,iBAAiB;IAChC;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,2CAA2C;IAC3C,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAyFD;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,YAAY,EACnB,OAAO,GAAE,iBAAsB,GAC9B,MAAM,CAkCR;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAMjE;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,YAAY,EAAE,EACvB,OAAO,GAAE,iBAAsB,GAC9B,MAAM,CAqER"}
1
+ {"version":3,"file":"Curl.d.ts","sourceRoot":"","sources":["../../../../../src/lib/model/curl/Curl.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAOnE,qEAAqE;AACrE,eAAO,MAAM,cAAc,eAAe,CAAC;AAC3C,wEAAwE;AACxE,eAAO,MAAM,aAAa,cAAc,CAAC;AACzC,eAAO,MAAM,eAAe,gBAAgB,CAAC;AAE7C,MAAM,WAAW,iBAAiB;IAChC;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,2CAA2C;IAC3C,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAgGD;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,YAAY,EACnB,OAAO,GAAE,iBAAsB,GAC9B,MAAM,CAkCR;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAMjE;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,YAAY,EAAE,EACvB,OAAO,GAAE,iBAAsB,GAC9B,MAAM,CAqER"}
@@ -1,6 +1,11 @@
1
1
  import { z } from 'zod/v4';
2
- /** Store acknowledgement — the audit store returns an empty object on success. */
3
- export declare const AuditStoreResponseSchema: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
2
+ /**
3
+ * Store acknowledgement. On success the audit store answers HTTP 200 with no
4
+ * body at all (observed 2026-09-07: `content-length: 0`), which axios
5
+ * surfaces as `''`; an empty object is accepted as well in case a gateway
6
+ * starts sending one.
7
+ */
8
+ export declare const AuditStoreResponseSchema: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodObject<{}, z.core.$loose>]>>;
4
9
  export type AuditStoreResponse = z.infer<typeof AuditStoreResponseSchema>;
5
10
  /**
6
11
  * An audit record as returned from the query endpoint (Elasticsearch-shaped).
@@ -1 +1 @@
1
- {"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/model/datastore/audit/response.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,kFAAkF;AAClF,eAAO,MAAM,wBAAwB,+CAA+B,CAAC;AAErE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E;;;;GAIG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;iBAsB9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;kBAEU,CAAC;AAEhD,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
1
+ {"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/model/datastore/audit/response.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,wFAKxB,CAAC;AAEd,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E;;;;GAIG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;iBAsB9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;kBAEU,CAAC;AAEhD,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}