@awarevue/api-types 2.0.82 → 2.0.83
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/alarm-automation.d.ts +21 -37
- package/dist/api/agent-protocol/protocol.d.ts +1473 -10468
- package/dist/api/agent-protocol/protocol.js +16 -12
- package/dist/api/commands/alarm.d.ts +40 -248
- package/dist/api/commands/all.d.ts +393 -4642
- package/dist/api/commands/camera-lift.d.ts +8 -32
- package/dist/api/commands/camera.d.ts +82 -373
- package/dist/api/commands/display.d.ts +21 -373
- package/dist/api/commands/door.d.ts +16 -64
- package/dist/api/commands/io-board.d.ts +4 -40
- package/dist/api/commands/nvr-exporter.d.ts +104 -1380
- package/dist/api/commands/nvr-recorder.d.ts +400 -5288
- package/dist/api/commands/pbx.d.ts +4 -56
- package/dist/api/commands/presence-tracker.d.ts +12 -128
- package/dist/api/commands/server.d.ts +114 -1382
- package/dist/api/commands/server.js +1 -1
- package/dist/api/error.d.ts +77 -443
- package/dist/api/error.js +1 -1
- package/dist/api/events/alarm.d.ts +20 -148
- package/dist/api/events/all.d.ts +74 -526
- package/dist/api/events/all.js +1 -1
- package/dist/api/events/camera.d.ts +46 -470
- package/dist/api/events/display.d.ts +1 -5
- package/dist/api/events/door.d.ts +34 -146
- package/dist/api/events/intercom-terminal.d.ts +22 -42
- package/dist/api/events/io-board.d.ts +2 -18
- package/dist/api/events/nvr-exporter.d.ts +4 -32
- package/dist/api/events/panic-button.d.ts +2 -10
- package/dist/api/events/presence-tracker.d.ts +4 -88
- package/dist/api/events/reader.d.ts +2 -22
- package/dist/api/events/server.d.ts +6 -34
- package/dist/api/mqtt/payloads.d.ts +4 -26
- package/dist/api/queries/all.d.ts +188 -1622
- package/dist/api/queries/nvr-analytics-server.d.ts +61 -373
- package/dist/api/queries/nvr-exporter.d.ts +9 -73
- package/dist/api/queries/nvr-recorder.d.ts +300 -2828
- package/dist/api/rest/access-rule.d.ts +10 -86
- package/dist/api/rest/agreement.d.ts +3 -18
- package/dist/api/rest/api-keys.d.ts +3 -17
- package/dist/api/rest/app.d.ts +3 -51
- package/dist/api/rest/auth.d.ts +3 -19
- package/dist/api/rest/automation.d.ts +11 -236
- package/dist/api/rest/bookmarks.d.ts +8 -56
- package/dist/api/rest/camera.d.ts +12 -70
- package/dist/api/rest/cast.d.ts +1 -7
- package/dist/api/rest/custom-field.d.ts +21 -24
- package/dist/api/rest/device-group.d.ts +8 -32
- package/dist/api/rest/device.d.ts +104 -176
- package/dist/api/rest/io-device.d.ts +7 -75
- package/dist/api/rest/io-device.js +2 -2
- package/dist/api/rest/layout.d.ts +4 -102
- package/dist/api/rest/macros.d.ts +6 -82
- package/dist/api/rest/media.d.ts +17 -141
- package/dist/api/rest/notifications.d.ts +7 -15
- package/dist/api/rest/person-agreement.d.ts +1 -9
- package/dist/api/rest/person-presence.d.ts +8 -50
- package/dist/api/rest/person-type.d.ts +6 -39
- package/dist/api/rest/person.d.ts +18 -96
- package/dist/api/rest/query.d.ts +5 -15
- package/dist/api/rest/schedule.d.ts +78 -216
- package/dist/api/rest/security-level.d.ts +6 -43
- package/dist/api/rest/template.d.ts +10 -20
- package/dist/api/rest/token-conversion.d.ts +11 -28
- package/dist/api/rest/user.d.ts +15 -97
- package/dist/api/rest/view.d.ts +24 -496
- package/dist/api/rest/webrtc-playback.d.ts +3 -25
- package/dist/api/rest/zone.d.ts +5 -21
- package/dist/api/ws/device-communication.d.ts +10 -62
- package/dist/api/ws/notifications.d.ts +7 -33
- package/dist/api/ws/progress.d.ts +10 -72
- package/dist/api/ws/web-rtc-signaling.d.ts +33 -279
- package/dist/objects/access-rule.d.ts +12 -132
- package/dist/objects/access-rule.js +1 -1
- package/dist/objects/agent-metadata.d.ts +38 -146
- package/dist/objects/agent-metadata.js +1 -1
- package/dist/objects/agreement.d.ts +1 -13
- package/dist/objects/all.d.ts +20 -1
- package/dist/objects/api-key.d.ts +1 -13
- package/dist/objects/automation-rule.d.ts +9 -168
- package/dist/objects/automation-rule.js +2 -2
- package/dist/objects/bookmark.d.ts +3 -33
- package/dist/objects/bookmark.js +1 -1
- package/dist/objects/credential.d.ts +13 -13
- package/dist/objects/credential.js +1 -1
- package/dist/objects/custom-field.d.ts +19 -15
- package/dist/objects/device/alarm.d.ts +1 -1
- package/dist/objects/device/any-device.d.ts +1333 -4451
- package/dist/objects/device/camera-lift.d.ts +1 -1
- package/dist/objects/device/camera.d.ts +29 -125
- package/dist/objects/device/camera.js +1 -1
- package/dist/objects/device/device-import.d.ts +307 -1735
- package/dist/objects/device/device-relation.d.ts +70 -58
- package/dist/objects/device/display.d.ts +1 -1
- package/dist/objects/device/door.d.ts +9 -14
- package/dist/objects/device/intercom-terminal.d.ts +10 -59
- package/dist/objects/device/io-board.d.ts +3 -9
- package/dist/objects/device/motion-sensor.d.ts +1 -1
- package/dist/objects/device/nvr-analytics-server.d.ts +2 -6
- package/dist/objects/device/nvr-exporter.d.ts +3 -9
- package/dist/objects/device/nvr-recorder.d.ts +16 -68
- package/dist/objects/device/panic-button.d.ts +1 -1
- package/dist/objects/device/pbx.d.ts +1 -5
- package/dist/objects/device/system.d.ts +1 -1
- package/dist/objects/device/system.js +1 -1
- package/dist/objects/device-group.d.ts +2 -16
- package/dist/objects/layout.d.ts +3 -75
- package/dist/objects/macro.d.ts +3 -59
- package/dist/objects/macro.js +2 -2
- package/dist/objects/notification.d.ts +6 -24
- package/dist/objects/notification.js +1 -1
- package/dist/objects/person-agreement.d.ts +1 -13
- package/dist/objects/person-presence.d.ts +11 -165
- package/dist/objects/person-type.d.ts +2 -22
- package/dist/objects/person.d.ts +21 -153
- package/dist/objects/person.js +3 -3
- package/dist/objects/role.d.ts +3 -15
- package/dist/objects/schedule.d.ts +152 -314
- package/dist/objects/schedule.js +1 -1
- package/dist/objects/security-level.d.ts +1 -21
- package/dist/objects/template.d.ts +9 -13
- package/dist/objects/token-conversion.d.ts +8 -18
- package/dist/objects/user.d.ts +2 -20
- package/dist/objects/view.d.ts +52 -682
- package/dist/objects/world-object.d.ts +1 -7
- package/dist/objects/zone.d.ts +5 -29
- package/dist/objects/zone.js +1 -1
- package/dist/package.json +3 -3
- package/dist/permissions.d.ts +1 -1
- package/dist/primitives.d.ts +113 -551
- package/dist/primitives.js +1 -1
- package/package.json +3 -3
package/dist/objects/role.d.ts
CHANGED
|
@@ -2,20 +2,8 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const sRoleDto: z.ZodObject<{
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
displayName: z.ZodString;
|
|
5
|
-
systemName: z.
|
|
5
|
+
systemName: z.ZodString;
|
|
6
6
|
description: z.ZodString;
|
|
7
|
-
permissions: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"layout:read">, z.ZodLiteral<"layout:update">, z.ZodLiteral<"layout:delete">, z.ZodLiteral<"layout:create">, z.ZodLiteral<"camera:live">, z.ZodLiteral<"camera:playback">, z.ZodLiteral<"camera:playback-export">, z.ZodLiteral<"camera:ptz">, z.ZodLiteral<"camera:privacy-mode">, z.ZodLiteral<"camera:assign">, z.ZodLiteral<"camera:detection">, z.ZodLiteral<"camera:record">, z.ZodLiteral<"preset:read">, z.ZodLiteral<"preset:update">, z.ZodLiteral<"preset:delete">, z.ZodLiteral<"preset:create">, z.ZodLiteral<"door:release">, z.ZodLiteral<"door:lock">, z.ZodLiteral<"camera-lift:activate">, z.ZodLiteral<"io-board:activate">, z.ZodLiteral<"public-view:read">, z.ZodLiteral<"public-view:update">, z.ZodLiteral<"public-view:delete">, z.ZodLiteral<"public-view:create">, z.ZodLiteral<"private-view:read">, z.ZodLiteral<"person:read">, z.ZodLiteral<"person:update">, z.ZodLiteral<"person:delete">, z.ZodLiteral<"person:create">, z.ZodLiteral<"person:assign">, z.ZodLiteral<"person:print">, z.ZodLiteral<"person:face">, z.ZodLiteral<"zone:update">, z.ZodLiteral<"zone:delete">, z.ZodLiteral<"zone:create">, z.ZodLiteral<"access-rule:read">, z.ZodLiteral<"access-rule:update">, z.ZodLiteral<"access-rule:delete">, z.ZodLiteral<"access-rule:create">, z.ZodLiteral<"schedule:update">, z.ZodLiteral<"schedule:delete">, z.ZodLiteral<"schedule:create">, z.ZodLiteral<"presence:read">, z.ZodLiteral<"presence:update">, z.ZodLiteral<"presence:update-reader">, z.ZodLiteral<"factory:read">, z.ZodLiteral<"factory:update">, z.ZodLiteral<"factory:delete">, z.ZodLiteral<"factory:create">, z.ZodLiteral<"event:read">, z.ZodLiteral<"event:purge">, z.ZodLiteral<"alarm:read">, z.ZodLiteral<"alarm:acknowlede">, z.ZodLiteral<"alarm:arm">, z.ZodLiteral<"alarm:trigger">, z.ZodLiteral<"alarm:bypass">, z.ZodLiteral<"user:read">, z.ZodLiteral<"user:change-password">, z.ZodLiteral<"user:change-username">, z.ZodLiteral<"user:change-name">, z.ZodLiteral<"user:change-email">, z.ZodLiteral<"user:activate">, z.ZodLiteral<"user:delete">, z.ZodLiteral<"user:change-roles">, z.ZodLiteral<"user:create">, z.ZodLiteral<"role:create">, z.ZodLiteral<"role:delete">, z.ZodLiteral<"role:update">, z.ZodLiteral<"module:read">, z.ZodLiteral<"module:update">, z.ZodLiteral<"module:enable">, z.ZodLiteral<"device:discover">, z.ZodLiteral<"device:import">, z.ZodLiteral<"device:override-specs">, z.ZodLiteral<"device:notes">, z.ZodLiteral<"device:rename">, z.ZodLiteral<"device:alarms">, z.ZodLiteral<"automation:read">, z.ZodLiteral<"automation:update">, z.ZodLiteral<"automation:delete">, z.ZodLiteral<"automation:create">, z.ZodLiteral<"device-group:read">, z.ZodLiteral<"device-group:update">, z.ZodLiteral<"device-group:delete">, z.ZodLiteral<"device-group:create">, z.ZodLiteral<"macro:read">, z.ZodLiteral<"macro:update">, z.ZodLiteral<"macro:delete">, z.ZodLiteral<"macro:create">, z.ZodLiteral<"macro:run">, z.ZodLiteral<"notification:read">, z.ZodLiteral<"notification:create">, z.ZodLiteral<"notification:acknowledge">, z.ZodLiteral<"template:update">, z.ZodLiteral<"template:delete">, z.ZodLiteral<"template:create">, z.ZodLiteral<"custom-field:update">, z.ZodLiteral<"custom-field:delete">, z.ZodLiteral<"custom-field:create">, z.ZodLiteral<"display:read">, z.ZodLiteral<"security-level:update">, z.ZodLiteral<"security-level:delete">, z.ZodLiteral<"security-level:create">, z.ZodLiteral<"citadel-mode:toggle">, z.ZodLiteral<"token-conversion:update">, z.ZodLiteral<"token-conversion:delete">, z.ZodLiteral<"token-conversion:create">, z.ZodLiteral<"bookmark:read">, z.ZodLiteral<"bookmark:create">, z.ZodLiteral<"bookmark:update">, z.ZodLiteral<"bookmark:delete">, z.ZodLiteral<"access-path:read">, z.ZodLiteral<"access-path:create">, z.ZodLiteral<"access-path:update">, z.ZodLiteral<"access-path:delete">, z.ZodLiteral<"person-type:create">, z.ZodLiteral<"person-type:update">, z.ZodLiteral<"person-type:delete">, z.ZodLiteral<"agreement:create">, z.ZodLiteral<"agreement:update">, z.ZodLiteral<"agreement:delete">, z.ZodLiteral<"api-key:create">, z.ZodLiteral<"api-key:revoke">, z.ZodLiteral<"access-authority:read">, z.ZodLiteral<"access-authority:sync">, z.ZodLiteral<"access-authority:delete">]
|
|
8
|
-
},
|
|
9
|
-
id: string;
|
|
10
|
-
displayName: string;
|
|
11
|
-
permissions: ("layout:read" | "layout:update" | "layout:delete" | "layout:create" | "camera:live" | "camera:playback" | "camera:playback-export" | "camera:ptz" | "camera:privacy-mode" | "camera:assign" | "camera:detection" | "camera:record" | "preset:read" | "preset:update" | "preset:delete" | "preset:create" | "door:release" | "door:lock" | "camera-lift:activate" | "io-board:activate" | "public-view:read" | "public-view:update" | "public-view:delete" | "public-view:create" | "private-view:read" | "person:read" | "person:update" | "person:delete" | "person:create" | "person:assign" | "person:print" | "person:face" | "zone:update" | "zone:delete" | "zone:create" | "access-rule:read" | "access-rule:update" | "access-rule:delete" | "access-rule:create" | "schedule:update" | "schedule:delete" | "schedule:create" | "presence:read" | "presence:update" | "presence:update-reader" | "factory:read" | "factory:update" | "factory:delete" | "factory:create" | "event:read" | "event:purge" | "alarm:read" | "alarm:acknowlede" | "alarm:arm" | "alarm:trigger" | "alarm:bypass" | "user:read" | "user:change-password" | "user:change-username" | "user:change-name" | "user:change-email" | "user:activate" | "user:delete" | "user:change-roles" | "user:create" | "role:create" | "role:delete" | "role:update" | "module:read" | "module:update" | "module:enable" | "device:discover" | "device:import" | "device:override-specs" | "device:notes" | "device:rename" | "device:alarms" | "automation:read" | "automation:update" | "automation:delete" | "automation:create" | "device-group:read" | "device-group:update" | "device-group:delete" | "device-group:create" | "macro:read" | "macro:update" | "macro:delete" | "macro:create" | "macro:run" | "notification:read" | "notification:create" | "notification:acknowledge" | "template:update" | "template:delete" | "template:create" | "custom-field:update" | "custom-field:delete" | "custom-field:create" | "display:read" | "security-level:update" | "security-level:delete" | "security-level:create" | "citadel-mode:toggle" | "token-conversion:update" | "token-conversion:delete" | "token-conversion:create" | "bookmark:read" | "bookmark:create" | "bookmark:update" | "bookmark:delete" | "access-path:read" | "access-path:create" | "access-path:update" | "access-path:delete" | "person-type:create" | "person-type:update" | "person-type:delete" | "agreement:create" | "agreement:update" | "agreement:delete" | "api-key:create" | "api-key:revoke" | "access-authority:read" | "access-authority:sync" | "access-authority:delete")[];
|
|
12
|
-
description: string;
|
|
13
|
-
systemName: string;
|
|
14
|
-
}, {
|
|
15
|
-
id: string;
|
|
16
|
-
displayName: string;
|
|
17
|
-
permissions: ("layout:read" | "layout:update" | "layout:delete" | "layout:create" | "camera:live" | "camera:playback" | "camera:playback-export" | "camera:ptz" | "camera:privacy-mode" | "camera:assign" | "camera:detection" | "camera:record" | "preset:read" | "preset:update" | "preset:delete" | "preset:create" | "door:release" | "door:lock" | "camera-lift:activate" | "io-board:activate" | "public-view:read" | "public-view:update" | "public-view:delete" | "public-view:create" | "private-view:read" | "person:read" | "person:update" | "person:delete" | "person:create" | "person:assign" | "person:print" | "person:face" | "zone:update" | "zone:delete" | "zone:create" | "access-rule:read" | "access-rule:update" | "access-rule:delete" | "access-rule:create" | "schedule:update" | "schedule:delete" | "schedule:create" | "presence:read" | "presence:update" | "presence:update-reader" | "factory:read" | "factory:update" | "factory:delete" | "factory:create" | "event:read" | "event:purge" | "alarm:read" | "alarm:acknowlede" | "alarm:arm" | "alarm:trigger" | "alarm:bypass" | "user:read" | "user:change-password" | "user:change-username" | "user:change-name" | "user:change-email" | "user:activate" | "user:delete" | "user:change-roles" | "user:create" | "role:create" | "role:delete" | "role:update" | "module:read" | "module:update" | "module:enable" | "device:discover" | "device:import" | "device:override-specs" | "device:notes" | "device:rename" | "device:alarms" | "automation:read" | "automation:update" | "automation:delete" | "automation:create" | "device-group:read" | "device-group:update" | "device-group:delete" | "device-group:create" | "macro:read" | "macro:update" | "macro:delete" | "macro:create" | "macro:run" | "notification:read" | "notification:create" | "notification:acknowledge" | "template:update" | "template:delete" | "template:create" | "custom-field:update" | "custom-field:delete" | "custom-field:create" | "display:read" | "security-level:update" | "security-level:delete" | "security-level:create" | "citadel-mode:toggle" | "token-conversion:update" | "token-conversion:delete" | "token-conversion:create" | "bookmark:read" | "bookmark:create" | "bookmark:update" | "bookmark:delete" | "access-path:read" | "access-path:create" | "access-path:update" | "access-path:delete" | "person-type:create" | "person-type:update" | "person-type:delete" | "agreement:create" | "agreement:update" | "agreement:delete" | "api-key:create" | "api-key:revoke" | "access-authority:read" | "access-authority:sync" | "access-authority:delete")[];
|
|
18
|
-
description: string;
|
|
19
|
-
systemName: string;
|
|
20
|
-
}>;
|
|
7
|
+
permissions: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"layout:read">, z.ZodLiteral<"layout:update">, z.ZodLiteral<"layout:delete">, z.ZodLiteral<"layout:create">, z.ZodLiteral<"camera:live">, z.ZodLiteral<"camera:playback">, z.ZodLiteral<"camera:playback-export">, z.ZodLiteral<"camera:ptz">, z.ZodLiteral<"camera:privacy-mode">, z.ZodLiteral<"camera:assign">, z.ZodLiteral<"camera:detection">, z.ZodLiteral<"camera:record">, z.ZodLiteral<"preset:read">, z.ZodLiteral<"preset:update">, z.ZodLiteral<"preset:delete">, z.ZodLiteral<"preset:create">, z.ZodLiteral<"door:release">, z.ZodLiteral<"door:lock">, z.ZodLiteral<"camera-lift:activate">, z.ZodLiteral<"io-board:activate">, z.ZodLiteral<"public-view:read">, z.ZodLiteral<"public-view:update">, z.ZodLiteral<"public-view:delete">, z.ZodLiteral<"public-view:create">, z.ZodLiteral<"private-view:read">, z.ZodLiteral<"person:read">, z.ZodLiteral<"person:update">, z.ZodLiteral<"person:delete">, z.ZodLiteral<"person:create">, z.ZodLiteral<"person:assign">, z.ZodLiteral<"person:print">, z.ZodLiteral<"person:face">, z.ZodLiteral<"zone:update">, z.ZodLiteral<"zone:delete">, z.ZodLiteral<"zone:create">, z.ZodLiteral<"access-rule:read">, z.ZodLiteral<"access-rule:update">, z.ZodLiteral<"access-rule:delete">, z.ZodLiteral<"access-rule:create">, z.ZodLiteral<"schedule:update">, z.ZodLiteral<"schedule:delete">, z.ZodLiteral<"schedule:create">, z.ZodLiteral<"presence:read">, z.ZodLiteral<"presence:update">, z.ZodLiteral<"presence:update-reader">, z.ZodLiteral<"factory:read">, z.ZodLiteral<"factory:update">, z.ZodLiteral<"factory:delete">, z.ZodLiteral<"factory:create">, z.ZodLiteral<"event:read">, z.ZodLiteral<"event:purge">, z.ZodLiteral<"alarm:read">, z.ZodLiteral<"alarm:acknowlede">, z.ZodLiteral<"alarm:arm">, z.ZodLiteral<"alarm:trigger">, z.ZodLiteral<"alarm:bypass">, z.ZodLiteral<"user:read">, z.ZodLiteral<"user:change-password">, z.ZodLiteral<"user:change-username">, z.ZodLiteral<"user:change-name">, z.ZodLiteral<"user:change-email">, z.ZodLiteral<"user:activate">, z.ZodLiteral<"user:delete">, z.ZodLiteral<"user:change-roles">, z.ZodLiteral<"user:create">, z.ZodLiteral<"role:create">, z.ZodLiteral<"role:delete">, z.ZodLiteral<"role:update">, z.ZodLiteral<"module:read">, z.ZodLiteral<"module:update">, z.ZodLiteral<"module:enable">, z.ZodLiteral<"device:discover">, z.ZodLiteral<"device:import">, z.ZodLiteral<"device:override-specs">, z.ZodLiteral<"device:notes">, z.ZodLiteral<"device:rename">, z.ZodLiteral<"device:alarms">, z.ZodLiteral<"automation:read">, z.ZodLiteral<"automation:update">, z.ZodLiteral<"automation:delete">, z.ZodLiteral<"automation:create">, z.ZodLiteral<"device-group:read">, z.ZodLiteral<"device-group:update">, z.ZodLiteral<"device-group:delete">, z.ZodLiteral<"device-group:create">, z.ZodLiteral<"macro:read">, z.ZodLiteral<"macro:update">, z.ZodLiteral<"macro:delete">, z.ZodLiteral<"macro:create">, z.ZodLiteral<"macro:run">, z.ZodLiteral<"notification:read">, z.ZodLiteral<"notification:create">, z.ZodLiteral<"notification:acknowledge">, z.ZodLiteral<"template:update">, z.ZodLiteral<"template:delete">, z.ZodLiteral<"template:create">, z.ZodLiteral<"custom-field:update">, z.ZodLiteral<"custom-field:delete">, z.ZodLiteral<"custom-field:create">, z.ZodLiteral<"display:read">, z.ZodLiteral<"security-level:update">, z.ZodLiteral<"security-level:delete">, z.ZodLiteral<"security-level:create">, z.ZodLiteral<"citadel-mode:toggle">, z.ZodLiteral<"token-conversion:update">, z.ZodLiteral<"token-conversion:delete">, z.ZodLiteral<"token-conversion:create">, z.ZodLiteral<"bookmark:read">, z.ZodLiteral<"bookmark:create">, z.ZodLiteral<"bookmark:update">, z.ZodLiteral<"bookmark:delete">, z.ZodLiteral<"access-path:read">, z.ZodLiteral<"access-path:create">, z.ZodLiteral<"access-path:update">, z.ZodLiteral<"access-path:delete">, z.ZodLiteral<"person-type:create">, z.ZodLiteral<"person-type:update">, z.ZodLiteral<"person-type:delete">, z.ZodLiteral<"agreement:create">, z.ZodLiteral<"agreement:update">, z.ZodLiteral<"agreement:delete">, z.ZodLiteral<"api-key:create">, z.ZodLiteral<"api-key:revoke">, z.ZodLiteral<"access-authority:read">, z.ZodLiteral<"access-authority:sync">, z.ZodLiteral<"access-authority:delete">]>>;
|
|
8
|
+
}, z.core.$strip>;
|
|
21
9
|
export type RoleDto = z.infer<typeof sRoleDto>;
|
|
@@ -1,60 +1,63 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
|
-
export declare const sWeekDay: z.ZodEnum<
|
|
2
|
+
export declare const sWeekDay: z.ZodEnum<{
|
|
3
|
+
mon: "mon";
|
|
4
|
+
tue: "tue";
|
|
5
|
+
wed: "wed";
|
|
6
|
+
thu: "thu";
|
|
7
|
+
fri: "fri";
|
|
8
|
+
sat: "sat";
|
|
9
|
+
sun: "sun";
|
|
10
|
+
}>;
|
|
3
11
|
export type WeekDay = z.infer<typeof sWeekDay>;
|
|
4
|
-
export declare const sRepeatType: z.ZodEnum<
|
|
12
|
+
export declare const sRepeatType: z.ZodEnum<{
|
|
13
|
+
daily: "daily";
|
|
14
|
+
weekly: "weekly";
|
|
15
|
+
monthly: "monthly";
|
|
16
|
+
yearly: "yearly";
|
|
17
|
+
}>;
|
|
5
18
|
export type RepeatType = z.infer<typeof sRepeatType>;
|
|
6
|
-
export declare const sFlagType: z.ZodEnum<
|
|
19
|
+
export declare const sFlagType: z.ZodEnum<{
|
|
20
|
+
never: "never";
|
|
21
|
+
always: "always";
|
|
22
|
+
}>;
|
|
7
23
|
export type FlagType = z.infer<typeof sFlagType>;
|
|
8
24
|
export declare const sTimeIntervalDto: z.ZodObject<{
|
|
9
|
-
weekDay: z.ZodEnum<
|
|
25
|
+
weekDay: z.ZodEnum<{
|
|
26
|
+
mon: "mon";
|
|
27
|
+
tue: "tue";
|
|
28
|
+
wed: "wed";
|
|
29
|
+
thu: "thu";
|
|
30
|
+
fri: "fri";
|
|
31
|
+
sat: "sat";
|
|
32
|
+
sun: "sun";
|
|
33
|
+
}>;
|
|
10
34
|
from: z.ZodNumber;
|
|
11
35
|
to: z.ZodNumber;
|
|
12
|
-
},
|
|
13
|
-
weekDay: "mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun";
|
|
14
|
-
from: number;
|
|
15
|
-
to: number;
|
|
16
|
-
}, {
|
|
17
|
-
weekDay: "mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun";
|
|
18
|
-
from: number;
|
|
19
|
-
to: number;
|
|
20
|
-
}>;
|
|
36
|
+
}, z.core.$strip>;
|
|
21
37
|
export type TimeIntervalDto = z.infer<typeof sTimeIntervalDto>;
|
|
22
38
|
export declare const sScheduleDetailsDto: z.ZodObject<{
|
|
23
39
|
startDate: z.ZodNullable<z.ZodString>;
|
|
24
40
|
endDate: z.ZodNullable<z.ZodString>;
|
|
25
41
|
timeIntervals: z.ZodArray<z.ZodObject<{
|
|
26
|
-
weekDay: z.ZodEnum<
|
|
42
|
+
weekDay: z.ZodEnum<{
|
|
43
|
+
mon: "mon";
|
|
44
|
+
tue: "tue";
|
|
45
|
+
wed: "wed";
|
|
46
|
+
thu: "thu";
|
|
47
|
+
fri: "fri";
|
|
48
|
+
sat: "sat";
|
|
49
|
+
sun: "sun";
|
|
50
|
+
}>;
|
|
27
51
|
from: z.ZodNumber;
|
|
28
52
|
to: z.ZodNumber;
|
|
29
|
-
},
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}>, "many">;
|
|
38
|
-
repeat: z.ZodNullable<z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>>;
|
|
39
|
-
}, "strip", z.ZodTypeAny, {
|
|
40
|
-
startDate: string | null;
|
|
41
|
-
endDate: string | null;
|
|
42
|
-
timeIntervals: {
|
|
43
|
-
weekDay: "mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun";
|
|
44
|
-
from: number;
|
|
45
|
-
to: number;
|
|
46
|
-
}[];
|
|
47
|
-
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
48
|
-
}, {
|
|
49
|
-
startDate: string | null;
|
|
50
|
-
endDate: string | null;
|
|
51
|
-
timeIntervals: {
|
|
52
|
-
weekDay: "mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun";
|
|
53
|
-
from: number;
|
|
54
|
-
to: number;
|
|
55
|
-
}[];
|
|
56
|
-
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
57
|
-
}>;
|
|
53
|
+
}, z.core.$strip>>;
|
|
54
|
+
repeat: z.ZodNullable<z.ZodEnum<{
|
|
55
|
+
daily: "daily";
|
|
56
|
+
weekly: "weekly";
|
|
57
|
+
monthly: "monthly";
|
|
58
|
+
yearly: "yearly";
|
|
59
|
+
}>>;
|
|
60
|
+
}, z.core.$strip>;
|
|
58
61
|
export type ScheduleDetailsDto = z.infer<typeof sScheduleDetailsDto>;
|
|
59
62
|
export declare const sScheduleDto: z.ZodObject<{
|
|
60
63
|
id: z.ZodString;
|
|
@@ -63,313 +66,148 @@ export declare const sScheduleDto: z.ZodObject<{
|
|
|
63
66
|
startDate: z.ZodNullable<z.ZodString>;
|
|
64
67
|
endDate: z.ZodNullable<z.ZodString>;
|
|
65
68
|
timeIntervals: z.ZodArray<z.ZodObject<{
|
|
66
|
-
weekDay: z.ZodEnum<
|
|
69
|
+
weekDay: z.ZodEnum<{
|
|
70
|
+
mon: "mon";
|
|
71
|
+
tue: "tue";
|
|
72
|
+
wed: "wed";
|
|
73
|
+
thu: "thu";
|
|
74
|
+
fri: "fri";
|
|
75
|
+
sat: "sat";
|
|
76
|
+
sun: "sun";
|
|
77
|
+
}>;
|
|
67
78
|
from: z.ZodNumber;
|
|
68
79
|
to: z.ZodNumber;
|
|
69
|
-
},
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}>, "many">;
|
|
78
|
-
repeat: z.ZodNullable<z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>>;
|
|
79
|
-
}, "strip", z.ZodTypeAny, {
|
|
80
|
-
startDate: string | null;
|
|
81
|
-
endDate: string | null;
|
|
82
|
-
timeIntervals: {
|
|
83
|
-
weekDay: "mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun";
|
|
84
|
-
from: number;
|
|
85
|
-
to: number;
|
|
86
|
-
}[];
|
|
87
|
-
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
88
|
-
}, {
|
|
89
|
-
startDate: string | null;
|
|
90
|
-
endDate: string | null;
|
|
91
|
-
timeIntervals: {
|
|
92
|
-
weekDay: "mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun";
|
|
93
|
-
from: number;
|
|
94
|
-
to: number;
|
|
95
|
-
}[];
|
|
96
|
-
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
97
|
-
}>>;
|
|
80
|
+
}, z.core.$strip>>;
|
|
81
|
+
repeat: z.ZodNullable<z.ZodEnum<{
|
|
82
|
+
daily: "daily";
|
|
83
|
+
weekly: "weekly";
|
|
84
|
+
monthly: "monthly";
|
|
85
|
+
yearly: "yearly";
|
|
86
|
+
}>>;
|
|
87
|
+
}, z.core.$strip>>;
|
|
98
88
|
exclude: z.ZodNullable<z.ZodObject<{
|
|
99
89
|
startDate: z.ZodNullable<z.ZodString>;
|
|
100
90
|
endDate: z.ZodNullable<z.ZodString>;
|
|
101
91
|
timeIntervals: z.ZodArray<z.ZodObject<{
|
|
102
|
-
weekDay: z.ZodEnum<
|
|
92
|
+
weekDay: z.ZodEnum<{
|
|
93
|
+
mon: "mon";
|
|
94
|
+
tue: "tue";
|
|
95
|
+
wed: "wed";
|
|
96
|
+
thu: "thu";
|
|
97
|
+
fri: "fri";
|
|
98
|
+
sat: "sat";
|
|
99
|
+
sun: "sun";
|
|
100
|
+
}>;
|
|
103
101
|
from: z.ZodNumber;
|
|
104
102
|
to: z.ZodNumber;
|
|
105
|
-
},
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}>, "many">;
|
|
114
|
-
repeat: z.ZodNullable<z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>>;
|
|
115
|
-
}, "strip", z.ZodTypeAny, {
|
|
116
|
-
startDate: string | null;
|
|
117
|
-
endDate: string | null;
|
|
118
|
-
timeIntervals: {
|
|
119
|
-
weekDay: "mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun";
|
|
120
|
-
from: number;
|
|
121
|
-
to: number;
|
|
122
|
-
}[];
|
|
123
|
-
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
124
|
-
}, {
|
|
125
|
-
startDate: string | null;
|
|
126
|
-
endDate: string | null;
|
|
127
|
-
timeIntervals: {
|
|
128
|
-
weekDay: "mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun";
|
|
129
|
-
from: number;
|
|
130
|
-
to: number;
|
|
131
|
-
}[];
|
|
132
|
-
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
133
|
-
}>>;
|
|
103
|
+
}, z.core.$strip>>;
|
|
104
|
+
repeat: z.ZodNullable<z.ZodEnum<{
|
|
105
|
+
daily: "daily";
|
|
106
|
+
weekly: "weekly";
|
|
107
|
+
monthly: "monthly";
|
|
108
|
+
yearly: "yearly";
|
|
109
|
+
}>>;
|
|
110
|
+
}, z.core.$strip>>;
|
|
134
111
|
editable: z.ZodBoolean;
|
|
135
112
|
deletable: z.ZodBoolean;
|
|
136
113
|
createdOn: z.ZodString;
|
|
137
114
|
lastModifiedOn: z.ZodString;
|
|
138
|
-
refs: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString
|
|
115
|
+
refs: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
139
116
|
version: z.ZodNumber;
|
|
140
|
-
flag: z.ZodNullable<z.ZodEnum<
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
lastModifiedOn: string;
|
|
146
|
-
refs: Record<string, string | string[]>;
|
|
147
|
-
version: number;
|
|
148
|
-
include: {
|
|
149
|
-
startDate: string | null;
|
|
150
|
-
endDate: string | null;
|
|
151
|
-
timeIntervals: {
|
|
152
|
-
weekDay: "mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun";
|
|
153
|
-
from: number;
|
|
154
|
-
to: number;
|
|
155
|
-
}[];
|
|
156
|
-
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
157
|
-
} | null;
|
|
158
|
-
exclude: {
|
|
159
|
-
startDate: string | null;
|
|
160
|
-
endDate: string | null;
|
|
161
|
-
timeIntervals: {
|
|
162
|
-
weekDay: "mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun";
|
|
163
|
-
from: number;
|
|
164
|
-
to: number;
|
|
165
|
-
}[];
|
|
166
|
-
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
167
|
-
} | null;
|
|
168
|
-
editable: boolean;
|
|
169
|
-
deletable: boolean;
|
|
170
|
-
flag: "never" | "always" | null;
|
|
171
|
-
}, {
|
|
172
|
-
id: string;
|
|
173
|
-
displayName: string;
|
|
174
|
-
createdOn: string;
|
|
175
|
-
lastModifiedOn: string;
|
|
176
|
-
refs: Record<string, string | string[]>;
|
|
177
|
-
version: number;
|
|
178
|
-
include: {
|
|
179
|
-
startDate: string | null;
|
|
180
|
-
endDate: string | null;
|
|
181
|
-
timeIntervals: {
|
|
182
|
-
weekDay: "mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun";
|
|
183
|
-
from: number;
|
|
184
|
-
to: number;
|
|
185
|
-
}[];
|
|
186
|
-
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
187
|
-
} | null;
|
|
188
|
-
exclude: {
|
|
189
|
-
startDate: string | null;
|
|
190
|
-
endDate: string | null;
|
|
191
|
-
timeIntervals: {
|
|
192
|
-
weekDay: "mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun";
|
|
193
|
-
from: number;
|
|
194
|
-
to: number;
|
|
195
|
-
}[];
|
|
196
|
-
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
197
|
-
} | null;
|
|
198
|
-
editable: boolean;
|
|
199
|
-
deletable: boolean;
|
|
200
|
-
flag: "never" | "always" | null;
|
|
201
|
-
}>;
|
|
117
|
+
flag: z.ZodNullable<z.ZodEnum<{
|
|
118
|
+
never: "never";
|
|
119
|
+
always: "always";
|
|
120
|
+
}>>;
|
|
121
|
+
}, z.core.$strip>;
|
|
202
122
|
export type ScheduleDto = z.infer<typeof sScheduleDto>;
|
|
203
123
|
export declare const sTimeInterval: z.ZodObject<{
|
|
204
|
-
weekDay: z.ZodEnum<
|
|
124
|
+
weekDay: z.ZodEnum<{
|
|
125
|
+
mon: "mon";
|
|
126
|
+
tue: "tue";
|
|
127
|
+
wed: "wed";
|
|
128
|
+
thu: "thu";
|
|
129
|
+
fri: "fri";
|
|
130
|
+
sat: "sat";
|
|
131
|
+
sun: "sun";
|
|
132
|
+
}>;
|
|
205
133
|
from: z.ZodNumber;
|
|
206
134
|
to: z.ZodNumber;
|
|
207
|
-
},
|
|
208
|
-
weekDay: "mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun";
|
|
209
|
-
from: number;
|
|
210
|
-
to: number;
|
|
211
|
-
}, {
|
|
212
|
-
weekDay: "mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun";
|
|
213
|
-
from: number;
|
|
214
|
-
to: number;
|
|
215
|
-
}>;
|
|
135
|
+
}, z.core.$strip>;
|
|
216
136
|
export declare const sScheduleDetailsRequest: z.ZodObject<{
|
|
217
137
|
startDate: z.ZodNullable<z.ZodString>;
|
|
218
138
|
endDate: z.ZodNullable<z.ZodString>;
|
|
219
139
|
timeIntervals: z.ZodArray<z.ZodObject<{
|
|
220
|
-
weekDay: z.ZodEnum<
|
|
140
|
+
weekDay: z.ZodEnum<{
|
|
141
|
+
mon: "mon";
|
|
142
|
+
tue: "tue";
|
|
143
|
+
wed: "wed";
|
|
144
|
+
thu: "thu";
|
|
145
|
+
fri: "fri";
|
|
146
|
+
sat: "sat";
|
|
147
|
+
sun: "sun";
|
|
148
|
+
}>;
|
|
221
149
|
from: z.ZodNumber;
|
|
222
150
|
to: z.ZodNumber;
|
|
223
|
-
},
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
}>, "many">;
|
|
232
|
-
repeat: z.ZodNullable<z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>>;
|
|
233
|
-
}, "strip", z.ZodTypeAny, {
|
|
234
|
-
startDate: string | null;
|
|
235
|
-
endDate: string | null;
|
|
236
|
-
timeIntervals: {
|
|
237
|
-
weekDay: "mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun";
|
|
238
|
-
from: number;
|
|
239
|
-
to: number;
|
|
240
|
-
}[];
|
|
241
|
-
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
242
|
-
}, {
|
|
243
|
-
startDate: string | null;
|
|
244
|
-
endDate: string | null;
|
|
245
|
-
timeIntervals: {
|
|
246
|
-
weekDay: "mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun";
|
|
247
|
-
from: number;
|
|
248
|
-
to: number;
|
|
249
|
-
}[];
|
|
250
|
-
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
251
|
-
}>;
|
|
151
|
+
}, z.core.$strip>>;
|
|
152
|
+
repeat: z.ZodNullable<z.ZodEnum<{
|
|
153
|
+
daily: "daily";
|
|
154
|
+
weekly: "weekly";
|
|
155
|
+
monthly: "monthly";
|
|
156
|
+
yearly: "yearly";
|
|
157
|
+
}>>;
|
|
158
|
+
}, z.core.$strip>;
|
|
252
159
|
export type ScheduleDetailsRequest = z.infer<typeof sScheduleDetailsRequest>;
|
|
253
160
|
export declare const sScheduleProps: z.ZodObject<{
|
|
254
161
|
displayName: z.ZodString;
|
|
255
|
-
flag: z.ZodNullable<z.ZodEnum<
|
|
162
|
+
flag: z.ZodNullable<z.ZodEnum<{
|
|
163
|
+
never: "never";
|
|
164
|
+
always: "always";
|
|
165
|
+
}>>;
|
|
256
166
|
include: z.ZodNullable<z.ZodObject<{
|
|
257
167
|
startDate: z.ZodNullable<z.ZodString>;
|
|
258
168
|
endDate: z.ZodNullable<z.ZodString>;
|
|
259
169
|
timeIntervals: z.ZodArray<z.ZodObject<{
|
|
260
|
-
weekDay: z.ZodEnum<
|
|
170
|
+
weekDay: z.ZodEnum<{
|
|
171
|
+
mon: "mon";
|
|
172
|
+
tue: "tue";
|
|
173
|
+
wed: "wed";
|
|
174
|
+
thu: "thu";
|
|
175
|
+
fri: "fri";
|
|
176
|
+
sat: "sat";
|
|
177
|
+
sun: "sun";
|
|
178
|
+
}>;
|
|
261
179
|
from: z.ZodNumber;
|
|
262
180
|
to: z.ZodNumber;
|
|
263
|
-
},
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
}>, "many">;
|
|
272
|
-
repeat: z.ZodNullable<z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>>;
|
|
273
|
-
}, "strip", z.ZodTypeAny, {
|
|
274
|
-
startDate: string | null;
|
|
275
|
-
endDate: string | null;
|
|
276
|
-
timeIntervals: {
|
|
277
|
-
weekDay: "mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun";
|
|
278
|
-
from: number;
|
|
279
|
-
to: number;
|
|
280
|
-
}[];
|
|
281
|
-
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
282
|
-
}, {
|
|
283
|
-
startDate: string | null;
|
|
284
|
-
endDate: string | null;
|
|
285
|
-
timeIntervals: {
|
|
286
|
-
weekDay: "mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun";
|
|
287
|
-
from: number;
|
|
288
|
-
to: number;
|
|
289
|
-
}[];
|
|
290
|
-
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
291
|
-
}>>;
|
|
181
|
+
}, z.core.$strip>>;
|
|
182
|
+
repeat: z.ZodNullable<z.ZodEnum<{
|
|
183
|
+
daily: "daily";
|
|
184
|
+
weekly: "weekly";
|
|
185
|
+
monthly: "monthly";
|
|
186
|
+
yearly: "yearly";
|
|
187
|
+
}>>;
|
|
188
|
+
}, z.core.$strip>>;
|
|
292
189
|
exclude: z.ZodNullable<z.ZodObject<{
|
|
293
190
|
startDate: z.ZodNullable<z.ZodString>;
|
|
294
191
|
endDate: z.ZodNullable<z.ZodString>;
|
|
295
192
|
timeIntervals: z.ZodArray<z.ZodObject<{
|
|
296
|
-
weekDay: z.ZodEnum<
|
|
193
|
+
weekDay: z.ZodEnum<{
|
|
194
|
+
mon: "mon";
|
|
195
|
+
tue: "tue";
|
|
196
|
+
wed: "wed";
|
|
197
|
+
thu: "thu";
|
|
198
|
+
fri: "fri";
|
|
199
|
+
sat: "sat";
|
|
200
|
+
sun: "sun";
|
|
201
|
+
}>;
|
|
297
202
|
from: z.ZodNumber;
|
|
298
203
|
to: z.ZodNumber;
|
|
299
|
-
},
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
repeat: z.ZodNullable<z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>>;
|
|
309
|
-
}, "strip", z.ZodTypeAny, {
|
|
310
|
-
startDate: string | null;
|
|
311
|
-
endDate: string | null;
|
|
312
|
-
timeIntervals: {
|
|
313
|
-
weekDay: "mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun";
|
|
314
|
-
from: number;
|
|
315
|
-
to: number;
|
|
316
|
-
}[];
|
|
317
|
-
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
318
|
-
}, {
|
|
319
|
-
startDate: string | null;
|
|
320
|
-
endDate: string | null;
|
|
321
|
-
timeIntervals: {
|
|
322
|
-
weekDay: "mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun";
|
|
323
|
-
from: number;
|
|
324
|
-
to: number;
|
|
325
|
-
}[];
|
|
326
|
-
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
327
|
-
}>>;
|
|
328
|
-
}, "strip", z.ZodTypeAny, {
|
|
329
|
-
displayName: string;
|
|
330
|
-
include: {
|
|
331
|
-
startDate: string | null;
|
|
332
|
-
endDate: string | null;
|
|
333
|
-
timeIntervals: {
|
|
334
|
-
weekDay: "mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun";
|
|
335
|
-
from: number;
|
|
336
|
-
to: number;
|
|
337
|
-
}[];
|
|
338
|
-
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
339
|
-
} | null;
|
|
340
|
-
exclude: {
|
|
341
|
-
startDate: string | null;
|
|
342
|
-
endDate: string | null;
|
|
343
|
-
timeIntervals: {
|
|
344
|
-
weekDay: "mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun";
|
|
345
|
-
from: number;
|
|
346
|
-
to: number;
|
|
347
|
-
}[];
|
|
348
|
-
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
349
|
-
} | null;
|
|
350
|
-
flag: "never" | "always" | null;
|
|
351
|
-
}, {
|
|
352
|
-
displayName: string;
|
|
353
|
-
include: {
|
|
354
|
-
startDate: string | null;
|
|
355
|
-
endDate: string | null;
|
|
356
|
-
timeIntervals: {
|
|
357
|
-
weekDay: "mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun";
|
|
358
|
-
from: number;
|
|
359
|
-
to: number;
|
|
360
|
-
}[];
|
|
361
|
-
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
362
|
-
} | null;
|
|
363
|
-
exclude: {
|
|
364
|
-
startDate: string | null;
|
|
365
|
-
endDate: string | null;
|
|
366
|
-
timeIntervals: {
|
|
367
|
-
weekDay: "mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun";
|
|
368
|
-
from: number;
|
|
369
|
-
to: number;
|
|
370
|
-
}[];
|
|
371
|
-
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
372
|
-
} | null;
|
|
373
|
-
flag: "never" | "always" | null;
|
|
374
|
-
}>;
|
|
204
|
+
}, z.core.$strip>>;
|
|
205
|
+
repeat: z.ZodNullable<z.ZodEnum<{
|
|
206
|
+
daily: "daily";
|
|
207
|
+
weekly: "weekly";
|
|
208
|
+
monthly: "monthly";
|
|
209
|
+
yearly: "yearly";
|
|
210
|
+
}>>;
|
|
211
|
+
}, z.core.$strip>>;
|
|
212
|
+
}, z.core.$strip>;
|
|
375
213
|
export type ScheduleProps = z.infer<typeof sScheduleProps>;
|
package/dist/objects/schedule.js
CHANGED
|
@@ -36,7 +36,7 @@ exports.sScheduleDto = zod_1.default.object({
|
|
|
36
36
|
deletable: zod_1.default.boolean(),
|
|
37
37
|
createdOn: zod_1.default.string(),
|
|
38
38
|
lastModifiedOn: zod_1.default.string(),
|
|
39
|
-
refs: zod_1.default.record(zod_1.default.union([zod_1.default.string(), zod_1.default.array(zod_1.default.string())])),
|
|
39
|
+
refs: zod_1.default.record(zod_1.default.string(), zod_1.default.union([zod_1.default.string(), zod_1.default.array(zod_1.default.string())])),
|
|
40
40
|
version: zod_1.default.number(),
|
|
41
41
|
flag: exports.sFlagType.nullable(),
|
|
42
42
|
});
|
|
@@ -9,25 +9,5 @@ export declare const sSecurityLevelDto: z.ZodObject<{
|
|
|
9
9
|
checkOnExit: z.ZodBoolean;
|
|
10
10
|
alwaysShowCheck: z.ZodBoolean;
|
|
11
11
|
default: z.ZodBoolean;
|
|
12
|
-
},
|
|
13
|
-
id: string;
|
|
14
|
-
name: string;
|
|
15
|
-
order: number;
|
|
16
|
-
active: boolean;
|
|
17
|
-
color: string;
|
|
18
|
-
checkFrequency: number;
|
|
19
|
-
checkOnExit: boolean;
|
|
20
|
-
alwaysShowCheck: boolean;
|
|
21
|
-
default: boolean;
|
|
22
|
-
}, {
|
|
23
|
-
id: string;
|
|
24
|
-
name: string;
|
|
25
|
-
order: number;
|
|
26
|
-
active: boolean;
|
|
27
|
-
color: string;
|
|
28
|
-
checkFrequency: number;
|
|
29
|
-
checkOnExit: boolean;
|
|
30
|
-
alwaysShowCheck: boolean;
|
|
31
|
-
default: boolean;
|
|
32
|
-
}>;
|
|
12
|
+
}, z.core.$strip>;
|
|
33
13
|
export type SecurityLevelDto = z.infer<typeof sSecurityLevelDto>;
|
|
@@ -1,20 +1,16 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const sTemplateTypeEnum: z.ZodEnum<
|
|
2
|
+
export declare const sTemplateTypeEnum: z.ZodEnum<{
|
|
3
|
+
id: "id";
|
|
4
|
+
report: "report";
|
|
5
|
+
}>;
|
|
3
6
|
export type TemplateTypeEnum = z.infer<typeof sTemplateTypeEnum>;
|
|
4
7
|
export declare const sTemplateDto: z.ZodObject<{
|
|
5
8
|
id: z.ZodString;
|
|
6
9
|
name: z.ZodString;
|
|
7
|
-
type: z.ZodEnum<
|
|
10
|
+
type: z.ZodEnum<{
|
|
11
|
+
id: "id";
|
|
12
|
+
report: "report";
|
|
13
|
+
}>;
|
|
8
14
|
templateHtmlId: z.ZodString;
|
|
9
|
-
},
|
|
10
|
-
type: "id" | "report";
|
|
11
|
-
id: string;
|
|
12
|
-
name: string;
|
|
13
|
-
templateHtmlId: string;
|
|
14
|
-
}, {
|
|
15
|
-
type: "id" | "report";
|
|
16
|
-
id: string;
|
|
17
|
-
name: string;
|
|
18
|
-
templateHtmlId: string;
|
|
19
|
-
}>;
|
|
15
|
+
}, z.core.$strip>;
|
|
20
16
|
export type TemplateDto = z.infer<typeof sTemplateDto>;
|