@awarevue/api-types 1.0.62 → 1.0.63
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/automation.d.ts +9 -0
- package/dist/automation.js +9 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/automation.d.ts
CHANGED
|
@@ -289,12 +289,16 @@ export declare const sAutomationRuleDto: z.ZodObject<{
|
|
|
289
289
|
enabled: z.ZodBoolean;
|
|
290
290
|
} & {
|
|
291
291
|
id: z.ZodString;
|
|
292
|
+
exclusivityGroup: z.ZodNullable<z.ZodString>;
|
|
293
|
+
score: z.ZodNullable<z.ZodNumber>;
|
|
294
|
+
module: z.ZodNullable<z.ZodString>;
|
|
292
295
|
code: z.ZodNullable<z.ZodString>;
|
|
293
296
|
createdOn: z.ZodString;
|
|
294
297
|
lastModifiedOn: z.ZodString;
|
|
295
298
|
}, "strip", z.ZodTypeAny, {
|
|
296
299
|
code: string | null;
|
|
297
300
|
id: string;
|
|
301
|
+
module: string | null;
|
|
298
302
|
body: {
|
|
299
303
|
onEvent: string;
|
|
300
304
|
commands: {
|
|
@@ -306,12 +310,15 @@ export declare const sAutomationRuleDto: z.ZodObject<{
|
|
|
306
310
|
};
|
|
307
311
|
displayName: string;
|
|
308
312
|
enabled: boolean;
|
|
313
|
+
exclusivityGroup: string | null;
|
|
314
|
+
score: number | null;
|
|
309
315
|
createdOn: string;
|
|
310
316
|
lastModifiedOn: string;
|
|
311
317
|
description?: string | undefined;
|
|
312
318
|
}, {
|
|
313
319
|
code: string | null;
|
|
314
320
|
id: string;
|
|
321
|
+
module: string | null;
|
|
315
322
|
body: {
|
|
316
323
|
onEvent: string;
|
|
317
324
|
commands: {
|
|
@@ -323,6 +330,8 @@ export declare const sAutomationRuleDto: z.ZodObject<{
|
|
|
323
330
|
};
|
|
324
331
|
displayName: string;
|
|
325
332
|
enabled: boolean;
|
|
333
|
+
exclusivityGroup: string | null;
|
|
334
|
+
score: number | null;
|
|
326
335
|
createdOn: string;
|
|
327
336
|
lastModifiedOn: string;
|
|
328
337
|
description?: string | undefined;
|
package/dist/automation.js
CHANGED
|
@@ -41,6 +41,15 @@ exports.sUpdateAutomationRule = exports.sAutomationRuleProps.partial().merge(zod
|
|
|
41
41
|
}));
|
|
42
42
|
exports.sAutomationRuleDto = exports.sAutomationRuleProps.merge(zod_1.z.object({
|
|
43
43
|
id: zod_1.z.string().describe('The ID of the automation rule'),
|
|
44
|
+
exclusivityGroup: zod_1.z
|
|
45
|
+
.string()
|
|
46
|
+
.nullable()
|
|
47
|
+
.describe('The exclusivity group of the automation rule. Only one matching rule at max will run within one group based on the highest score'),
|
|
48
|
+
score: zod_1.z.number().int().min(0).nullable(),
|
|
49
|
+
module: zod_1.z
|
|
50
|
+
.string()
|
|
51
|
+
.nullable()
|
|
52
|
+
.describe('The module the automation rule belongs to'),
|
|
44
53
|
code: zod_1.z.string().nullable().describe('The code of the automation rule'),
|
|
45
54
|
createdOn: zod_1.z.string().describe('The date the automation rule was created'),
|
|
46
55
|
lastModifiedOn: zod_1.z
|
package/dist/package.json
CHANGED