@awarevue/api-types 2.0.21 → 2.0.23
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/_legacy/index.d.ts +2 -0
- package/dist/_legacy/index.js +2 -0
- package/dist/_legacy/milestone.js +1 -0
- package/dist/_legacy/orchid.js +1 -0
- package/dist/alarm-automation.d.ts +3 -3
- package/dist/alarm-automation.js +26 -37
- package/dist/api/agent-protocol/index.d.ts +1 -0
- package/dist/api/agent-protocol/index.js +1 -0
- package/dist/{agent-communication → api/agent-protocol}/protocol.d.ts +412 -598
- package/dist/api/agent-protocol/protocol.js +382 -0
- package/dist/api/commands/alarm.js +59 -0
- package/dist/{commands → api/commands}/all.d.ts +83 -83
- package/dist/{commands → api/commands}/all.js +22 -25
- package/dist/api/commands/camera-lift.js +14 -0
- package/dist/api/commands/camera.js +93 -0
- package/dist/api/commands/display.js +34 -0
- package/dist/api/commands/door.js +24 -0
- package/dist/api/commands/index.js +12 -0
- package/dist/api/commands/intercom-terminal.js +2 -0
- package/dist/api/commands/io-board.js +12 -0
- package/dist/api/commands/nvr-exporter.js +23 -0
- package/dist/api/commands/pbx.js +14 -0
- package/dist/api/commands/presence-tracker.js +30 -0
- package/dist/api/commands/server.js +24 -0
- package/dist/api/error.js +181 -0
- package/dist/api/events/alarm.js +52 -0
- package/dist/{events → api/events}/all.d.ts +8 -8
- package/dist/api/events/all.js +124 -0
- package/dist/api/events/camera.js +84 -0
- package/dist/api/events/display.js +6 -0
- package/dist/api/events/door.js +59 -0
- package/dist/api/events/index.js +12 -0
- package/dist/api/events/intercom-terminal.js +16 -0
- package/dist/api/events/io-board.js +10 -0
- package/dist/api/events/nvr-exporter.js +18 -0
- package/dist/api/events/panic-button.js +8 -0
- package/dist/api/events/presence-tracker.js +30 -0
- package/dist/api/events/reader.js +10 -0
- package/dist/{events → api/events}/server.d.ts +5 -5
- package/dist/api/events/server.js +12 -0
- package/dist/api/index.d.ts +9 -4
- package/dist/api/index.js +9 -20
- package/dist/api/mqtt/index.d.ts +1 -0
- package/dist/api/mqtt/index.js +1 -0
- package/dist/api/mqtt/payloads.js +18 -0
- package/dist/api/queries/all.js +25 -0
- package/dist/api/queries/camera.js +24 -0
- package/dist/api/queries/index.js +5 -0
- package/dist/api/queries/nvr-analytics-server.js +73 -0
- package/dist/api/queries/nvr-exporter.js +33 -0
- package/dist/api/queries/nvr-recorder.js +39 -0
- package/dist/api/rest/access-rule.d.ts +117 -0
- package/dist/api/rest/access-rule.js +10 -0
- package/dist/{access-control → api/rest}/agreement.d.ts +0 -20
- package/dist/api/rest/agreement.js +7 -0
- package/dist/api/rest/alarm.js +1 -0
- package/dist/{api-keys.d.ts → api/rest/api-keys.d.ts} +0 -20
- package/dist/api/rest/api-keys.js +11 -0
- package/dist/api/rest/app.js +9 -0
- package/dist/api/rest/auth.js +16 -0
- package/dist/{automation.d.ts → api/rest/automation.d.ts} +0 -217
- package/dist/api/rest/automation.js +14 -0
- package/dist/api/rest/aware-config.js +1 -0
- package/dist/{bookmarks.d.ts → api/rest/bookmarks.d.ts} +0 -49
- package/dist/api/rest/bookmarks.js +18 -0
- package/dist/api/rest/cast.js +7 -0
- package/dist/{custom-field.d.ts → api/rest/custom-field.d.ts} +1 -19
- package/dist/api/rest/custom-field.js +3 -0
- package/dist/{device-event.d.ts → api/rest/device-event.d.ts} +1 -1
- package/dist/api/rest/device-event.js +1 -0
- package/dist/{device-group.d.ts → api/rest/device-group.d.ts} +0 -23
- package/dist/api/rest/device-group.js +17 -0
- package/dist/api/rest/file.js +1 -0
- package/dist/api/rest/index.d.ts +34 -0
- package/dist/api/rest/index.js +34 -0
- package/dist/{device-factory.d.ts → api/rest/io-device.d.ts} +1 -1
- package/dist/api/rest/io-device.js +19 -0
- package/dist/{layout.d.ts → api/rest/layout.d.ts} +6 -107
- package/dist/api/rest/layout.js +19 -0
- package/dist/{macros.d.ts → api/rest/macros.d.ts} +0 -82
- package/dist/api/rest/macros.js +8 -0
- package/dist/api/rest/media.js +65 -0
- package/dist/api/rest/module-config.d.ts +19 -0
- package/dist/api/rest/module-config.js +1 -0
- package/dist/api/rest/notifications.d.ts +21 -0
- package/dist/api/rest/notifications.js +9 -0
- package/dist/api/rest/person-agreement.d.ts +15 -0
- package/dist/api/rest/person-agreement.js +6 -0
- package/dist/api/rest/person-presence.d.ts +72 -0
- package/dist/api/rest/person-presence.js +29 -0
- package/dist/{access-control → api/rest}/person-type.d.ts +1 -33
- package/dist/api/rest/person-type.js +8 -0
- package/dist/api/rest/person.d.ts +128 -0
- package/dist/api/rest/person.js +8 -0
- package/dist/api/{query.js → rest/query.js} +8 -13
- package/dist/api/rest/schedule.d.ts +249 -0
- package/dist/api/rest/schedule.js +9 -0
- package/dist/{security-level.d.ts → api/rest/security-level.d.ts} +0 -29
- package/dist/api/rest/security-level.js +5 -0
- package/dist/{template.d.ts → api/rest/template.d.ts} +1 -18
- package/dist/api/rest/template.js +12 -0
- package/dist/{token-conversion.d.ts → api/rest/token-conversion.d.ts} +0 -22
- package/dist/api/rest/token-conversion.js +5 -0
- package/dist/{user.d.ts → api/rest/user.d.ts} +10 -60
- package/dist/api/rest/user.js +32 -0
- package/dist/api/rest/view.d.ts +397 -0
- package/dist/api/rest/view.js +16 -0
- package/dist/api/rest/webrtc-playback.js +8 -0
- package/dist/{access-control → api/rest}/zone.d.ts +0 -29
- package/dist/api/rest/zone.js +10 -0
- package/dist/api/state/index.d.ts +10 -0
- package/dist/api/state/index.js +1 -0
- package/dist/api/ws/device-communication.js +55 -0
- package/dist/api/ws/index.js +5 -0
- package/dist/api/ws/notifications.js +20 -0
- package/dist/api/ws/progress.js +44 -0
- package/dist/api/ws/web-rtc-signaling.js +92 -0
- package/dist/api/ws/web-socket.js +2 -0
- package/dist/index.d.ts +1 -36
- package/dist/index.js +6 -57
- package/dist/{access-control → objects}/access-rule.d.ts +9 -78
- package/dist/objects/access-rule.js +36 -0
- package/dist/objects/agent-metadata.d.ts +192 -0
- package/dist/objects/agent-metadata.js +49 -0
- package/dist/objects/agreement.d.ts +21 -0
- package/dist/objects/agreement.js +8 -0
- package/dist/{objects.d.ts → objects/all.d.ts} +18 -11
- package/dist/{objects.js → objects/all.js} +4 -7
- package/dist/objects/api-key.d.ts +21 -0
- package/dist/objects/api-key.js +8 -0
- package/dist/objects/automation-rule.d.ts +218 -0
- package/dist/objects/automation-rule.js +51 -0
- package/dist/objects/bookmark.d.ts +50 -0
- package/dist/objects/bookmark.js +13 -0
- package/dist/objects/credential.js +11 -0
- package/dist/objects/custom-field.d.ts +20 -0
- package/dist/objects/custom-field.js +14 -0
- package/dist/{device → objects/device}/alarm.js +3 -6
- package/dist/{device → objects/device}/any-device.d.ts +510 -510
- package/dist/objects/device/any-device.js +239 -0
- package/dist/objects/device/camera-lift.js +4 -0
- package/dist/objects/device/camera.js +32 -0
- package/dist/objects/device/device-gateway.js +2 -0
- package/dist/{device-import.d.ts → objects/device/device-import.d.ts} +44 -44
- package/dist/objects/device/device-import.js +30 -0
- package/dist/{device-relation.js → objects/device/device-relation.js} +13 -16
- package/dist/objects/device/display.js +4 -0
- package/dist/objects/device/door.js +9 -0
- package/dist/{device → objects/device}/index.d.ts +2 -0
- package/dist/objects/device/index.js +22 -0
- package/dist/objects/device/intercom-operator.js +1 -0
- package/dist/objects/device/intercom-terminal.js +23 -0
- package/dist/objects/device/io-board.js +7 -0
- package/dist/objects/device/motion-sensor.js +4 -0
- package/dist/objects/device/nvr-analytics-server.js +6 -0
- package/dist/objects/device/nvr-exporter.js +7 -0
- package/dist/objects/device/nvr-recorder.js +6 -0
- package/dist/objects/device/panic-button.js +4 -0
- package/dist/objects/device/pbx.js +6 -0
- package/dist/objects/device/presence-tracker.js +1 -0
- package/dist/objects/device/reader.js +1 -0
- package/dist/{device → objects/device}/server.d.ts +1 -1
- package/dist/objects/device/server.js +1 -0
- package/dist/objects/device/system.js +6 -0
- package/dist/objects/device-group.d.ts +24 -0
- package/dist/objects/device-group.js +9 -0
- package/dist/objects/index.d.ts +27 -0
- package/dist/objects/index.js +27 -0
- package/dist/objects/layout.d.ts +102 -0
- package/dist/objects/layout.js +22 -0
- package/dist/objects/macro.d.ts +83 -0
- package/dist/objects/macro.js +22 -0
- package/dist/{module-config.d.ts → objects/module-config.d.ts} +1 -18
- package/dist/objects/module-config.js +1 -0
- package/dist/{notifications.d.ts → objects/notification.d.ts} +0 -20
- package/dist/objects/notification.js +13 -0
- package/dist/{access-control → objects}/person-agreement.d.ts +1 -15
- package/dist/objects/person-agreement.js +8 -0
- package/dist/{access-control → objects}/person-presence.d.ts +2 -73
- package/dist/objects/person-presence.js +35 -0
- package/dist/objects/person-type.d.ts +33 -0
- package/dist/objects/person-type.js +16 -0
- package/dist/{access-control → objects}/person.d.ts +74 -140
- package/dist/objects/person.js +42 -0
- package/dist/objects/role.d.ts +21 -0
- package/dist/objects/role.js +15 -0
- package/dist/{access-control → objects}/schedule.d.ts +4 -129
- package/dist/objects/schedule.js +53 -0
- package/dist/objects/security-level.d.ts +30 -0
- package/dist/objects/security-level.js +11 -0
- package/dist/objects/template.d.ts +20 -0
- package/dist/objects/template.js +8 -0
- package/dist/objects/token-conversion.d.ts +23 -0
- package/dist/objects/token-conversion.js +8 -0
- package/dist/objects/user.d.ts +31 -0
- package/dist/objects/user.js +12 -0
- package/dist/{view.d.ts → objects/view.d.ts} +3 -399
- package/dist/objects/view.js +64 -0
- package/dist/{world-objects.js → objects/world-object.js} +9 -8
- package/dist/objects/zone.d.ts +41 -0
- package/dist/objects/zone.js +15 -0
- package/dist/package.json +1 -1
- package/dist/permissions.js +146 -149
- package/dist/primitives.d.ts +30 -30
- package/dist/primitives.js +27 -30
- package/package.json +1 -1
- package/dist/access-control/access-rule.js +0 -49
- package/dist/access-control/agreement.js +0 -20
- package/dist/access-control/credential.js +0 -17
- package/dist/access-control/index.d.ts +0 -9
- package/dist/access-control/index.js +0 -25
- package/dist/access-control/person-agreement.js +0 -19
- package/dist/access-control/person-presence.js +0 -66
- package/dist/access-control/person-type.js +0 -29
- package/dist/access-control/person.js +0 -53
- package/dist/access-control/schedule.js +0 -65
- package/dist/access-control/zone.js +0 -28
- package/dist/agent-communication/index.d.ts +0 -2
- package/dist/agent-communication/index.js +0 -18
- package/dist/agent-communication/mqtt-payloads.js +0 -21
- package/dist/agent-communication/protocol.js +0 -434
- package/dist/api/alarm.js +0 -2
- package/dist/api/auth.js +0 -19
- package/dist/api/media.js +0 -68
- package/dist/api-keys.js +0 -21
- package/dist/app.js +0 -12
- package/dist/automation.js +0 -66
- package/dist/aware-config.js +0 -2
- package/dist/bookmarks.js +0 -32
- package/dist/cast.js +0 -13
- package/dist/commands/alarm.js +0 -62
- package/dist/commands/camera-lift.js +0 -17
- package/dist/commands/camera.js +0 -97
- package/dist/commands/display.js +0 -37
- package/dist/commands/door.js +0 -27
- package/dist/commands/index.js +0 -28
- package/dist/commands/intercom-terminal.js +0 -3
- package/dist/commands/io-board.js +0 -15
- package/dist/commands/nvr-exporter.js +0 -26
- package/dist/commands/pbx.js +0 -17
- package/dist/commands/presence-tracker.js +0 -33
- package/dist/commands/server.js +0 -27
- package/dist/custom-field.js +0 -19
- package/dist/device/any-device.js +0 -242
- package/dist/device/camera-lift.js +0 -7
- package/dist/device/camera.js +0 -35
- package/dist/device/device-gateway.js +0 -5
- package/dist/device/display.js +0 -7
- package/dist/device/door.js +0 -12
- package/dist/device/index.js +0 -36
- package/dist/device/intercom-operator.js +0 -4
- package/dist/device/intercom-terminal.js +0 -26
- package/dist/device/io-board.js +0 -10
- package/dist/device/motion-sensor.js +0 -7
- package/dist/device/nvr-analytics-server.js +0 -9
- package/dist/device/nvr-exporter.js +0 -10
- package/dist/device/nvr-recorder.js +0 -9
- package/dist/device/panic-button.js +0 -7
- package/dist/device/pbx.js +0 -9
- package/dist/device/presence-tracker.js +0 -4
- package/dist/device/reader.js +0 -4
- package/dist/device/server.js +0 -4
- package/dist/device/system.js +0 -9
- package/dist/device-event.js +0 -2
- package/dist/device-factory.js +0 -26
- package/dist/device-group.js +0 -31
- package/dist/device-import.js +0 -33
- package/dist/device-state.d.ts +0 -10
- package/dist/device-state.js +0 -2
- package/dist/error.js +0 -185
- package/dist/events/alarm.js +0 -55
- package/dist/events/all.js +0 -128
- package/dist/events/camera.js +0 -87
- package/dist/events/display.js +0 -9
- package/dist/events/door.js +0 -62
- package/dist/events/index.js +0 -28
- package/dist/events/intercom-terminal.js +0 -19
- package/dist/events/io-board.js +0 -13
- package/dist/events/nvr-exporter.js +0 -21
- package/dist/events/panic-button.js +0 -11
- package/dist/events/presence-tracker.js +0 -33
- package/dist/events/reader.js +0 -13
- package/dist/events/server.js +0 -15
- package/dist/file.js +0 -2
- package/dist/layout.js +0 -45
- package/dist/macros.js +0 -32
- package/dist/messages/device-communication.js +0 -63
- package/dist/messages/index.js +0 -21
- package/dist/messages/notifications.js +0 -27
- package/dist/messages/progress.js +0 -51
- package/dist/messages/web-rtc-signaling.js +0 -99
- package/dist/messages/web-socket.js +0 -5
- package/dist/milestone.js +0 -2
- package/dist/module-config.js +0 -2
- package/dist/notifications.js +0 -23
- package/dist/orchid.js +0 -2
- package/dist/queries/all.js +0 -28
- package/dist/queries/camera.js +0 -27
- package/dist/queries/index.js +0 -21
- package/dist/queries/nvr-analytics-server.js +0 -76
- package/dist/queries/nvr-exporter.js +0 -36
- package/dist/queries/nvr-recorder.js +0 -42
- package/dist/security-level.js +0 -18
- package/dist/template.js +0 -21
- package/dist/token-conversion.js +0 -15
- package/dist/user.js +0 -57
- package/dist/view.js +0 -84
- package/dist/webrtc-playback.js +0 -14
- package/dist/{milestone.d.ts → _legacy/milestone.d.ts} +0 -0
- package/dist/{orchid.d.ts → _legacy/orchid.d.ts} +0 -0
- package/dist/{commands → api/commands}/alarm.d.ts +0 -0
- package/dist/{commands → api/commands}/camera-lift.d.ts +0 -0
- package/dist/{commands → api/commands}/camera.d.ts +0 -0
- package/dist/{commands → api/commands}/display.d.ts +0 -0
- package/dist/{commands → api/commands}/door.d.ts +0 -0
- package/dist/{commands → api/commands}/index.d.ts +0 -0
- package/dist/{commands → api/commands}/intercom-terminal.d.ts +0 -0
- package/dist/{commands → api/commands}/io-board.d.ts +0 -0
- package/dist/{commands → api/commands}/nvr-exporter.d.ts +86 -86
- package/dist/{commands → api/commands}/pbx.d.ts +0 -0
- package/dist/{commands → api/commands}/presence-tracker.d.ts +0 -0
- package/dist/{commands → api/commands}/server.d.ts +78 -78
- package/dist/{error.d.ts → api/error.d.ts} +0 -0
- package/dist/{events → api/events}/alarm.d.ts +0 -0
- package/dist/{events → api/events}/camera.d.ts +0 -0
- package/dist/{events → api/events}/display.d.ts +0 -0
- package/dist/{events → api/events}/door.d.ts +0 -0
- package/dist/{events → api/events}/index.d.ts +0 -0
- package/dist/{events → api/events}/intercom-terminal.d.ts +0 -0
- package/dist/{events → api/events}/io-board.d.ts +0 -0
- package/dist/{events → api/events}/nvr-exporter.d.ts +4 -4
- package/dist/{events → api/events}/panic-button.d.ts +0 -0
- package/dist/{events → api/events}/presence-tracker.d.ts +8 -8
- package/dist/{events → api/events}/reader.d.ts +0 -0
- package/dist/{agent-communication/mqtt-payloads.d.ts → api/mqtt/payloads.d.ts} +0 -0
- package/dist/{queries → api/queries}/all.d.ts +83 -83
- package/dist/{queries → api/queries}/camera.d.ts +0 -0
- package/dist/{queries → api/queries}/index.d.ts +0 -0
- package/dist/{queries → api/queries}/nvr-analytics-server.d.ts +4 -4
- package/dist/{queries → api/queries}/nvr-exporter.d.ts +0 -0
- package/dist/{queries → api/queries}/nvr-recorder.d.ts +162 -162
- package/dist/api/{alarm.d.ts → rest/alarm.d.ts} +0 -0
- package/dist/{app.d.ts → api/rest/app.d.ts} +0 -0
- package/dist/api/{auth.d.ts → rest/auth.d.ts} +0 -0
- package/dist/{aware-config.d.ts → api/rest/aware-config.d.ts} +0 -0
- package/dist/{cast.d.ts → api/rest/cast.d.ts} +0 -0
- package/dist/{file.d.ts → api/rest/file.d.ts} +0 -0
- package/dist/api/{media.d.ts → rest/media.d.ts} +2 -2
- /package/dist/api/{query.d.ts → rest/query.d.ts} +0 -0
- /package/dist/{webrtc-playback.d.ts → api/rest/webrtc-playback.d.ts} +0 -0
- /package/dist/{messages → api/ws}/device-communication.d.ts +0 -0
- /package/dist/{messages → api/ws}/index.d.ts +0 -0
- /package/dist/{messages → api/ws}/notifications.d.ts +0 -0
- /package/dist/{messages → api/ws}/progress.d.ts +0 -0
- /package/dist/{messages → api/ws}/web-rtc-signaling.d.ts +0 -0
- /package/dist/{messages → api/ws}/web-socket.d.ts +0 -0
- /package/dist/{access-control → objects}/credential.d.ts +0 -0
- /package/dist/{device → objects/device}/alarm.d.ts +0 -0
- /package/dist/{device → objects/device}/camera-lift.d.ts +0 -0
- /package/dist/{device → objects/device}/camera.d.ts +0 -0
- /package/dist/{device → objects/device}/device-gateway.d.ts +0 -0
- /package/dist/{device-relation.d.ts → objects/device/device-relation.d.ts} +0 -0
- /package/dist/{device → objects/device}/display.d.ts +0 -0
- /package/dist/{device → objects/device}/door.d.ts +0 -0
- /package/dist/{device → objects/device}/intercom-operator.d.ts +0 -0
- /package/dist/{device → objects/device}/intercom-terminal.d.ts +0 -0
- /package/dist/{device → objects/device}/io-board.d.ts +0 -0
- /package/dist/{device → objects/device}/motion-sensor.d.ts +0 -0
- /package/dist/{device → objects/device}/nvr-analytics-server.d.ts +0 -0
- /package/dist/{device → objects/device}/nvr-exporter.d.ts +0 -0
- /package/dist/{device → objects/device}/nvr-recorder.d.ts +0 -0
- /package/dist/{device → objects/device}/panic-button.d.ts +0 -0
- /package/dist/{device → objects/device}/pbx.d.ts +0 -0
- /package/dist/{device → objects/device}/presence-tracker.d.ts +0 -0
- /package/dist/{device → objects/device}/reader.d.ts +0 -0
- /package/dist/{device → objects/device}/system.d.ts +0 -0
- /package/dist/{world-objects.d.ts → objects/world-object.d.ts} +0 -0
|
@@ -47,6 +47,8 @@ export declare const sResponsePayload: <TKind, T extends z.ZodRawShape>(kind: z.
|
|
|
47
47
|
requestId: z.ZodString;
|
|
48
48
|
kind: z.ZodLiteral<TKind>;
|
|
49
49
|
}>[k_1]; } : never>, z.ZodObject<T, z.UnknownKeysParam, z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_3 ? { [k_2 in keyof T_3]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k_2]; } : never, z.baseObjectInputType<T> extends infer T_4 ? { [k_3 in keyof T_4]: z.baseObjectInputType<T>[k_3]; } : never>>;
|
|
50
|
+
export declare const sAgentErrorCode: z.ZodEnum<["NOT_SUPPORTED", "TIMEOUT"]>;
|
|
51
|
+
export type AgentErrorCode = z.infer<typeof sAgentErrorCode>;
|
|
50
52
|
export declare const sErrorPayload: z.ZodIntersection<z.ZodObject<{
|
|
51
53
|
requestId: z.ZodString;
|
|
52
54
|
kind: z.ZodLiteral<"error-rs">;
|
|
@@ -58,195 +60,14 @@ export declare const sErrorPayload: z.ZodIntersection<z.ZodObject<{
|
|
|
58
60
|
requestId: string;
|
|
59
61
|
}>, z.ZodObject<{
|
|
60
62
|
error: z.ZodString;
|
|
63
|
+
code: z.ZodOptional<z.ZodEnum<["NOT_SUPPORTED", "TIMEOUT"]>>;
|
|
61
64
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
62
65
|
error: string;
|
|
66
|
+
code?: "NOT_SUPPORTED" | "TIMEOUT" | undefined;
|
|
63
67
|
}, {
|
|
64
68
|
error: string;
|
|
69
|
+
code?: "NOT_SUPPORTED" | "TIMEOUT" | undefined;
|
|
65
70
|
}>>;
|
|
66
|
-
export declare const sUiOrderHint: z.ZodObject<{
|
|
67
|
-
kind: z.ZodLiteral<"order">;
|
|
68
|
-
path: z.ZodString;
|
|
69
|
-
fields: z.ZodArray<z.ZodString, "many">;
|
|
70
|
-
}, "strip", z.ZodTypeAny, {
|
|
71
|
-
path: string;
|
|
72
|
-
kind: "order";
|
|
73
|
-
fields: string[];
|
|
74
|
-
}, {
|
|
75
|
-
path: string;
|
|
76
|
-
kind: "order";
|
|
77
|
-
fields: string[];
|
|
78
|
-
}>;
|
|
79
|
-
export declare const sUiWidgetHint: z.ZodObject<{
|
|
80
|
-
kind: z.ZodLiteral<"widget">;
|
|
81
|
-
path: z.ZodString;
|
|
82
|
-
spanColumns: z.ZodOptional<z.ZodNumber>;
|
|
83
|
-
password: z.ZodOptional<z.ZodBoolean>;
|
|
84
|
-
placeHolder: z.ZodOptional<z.ZodString>;
|
|
85
|
-
}, "strip", z.ZodTypeAny, {
|
|
86
|
-
path: string;
|
|
87
|
-
kind: "widget";
|
|
88
|
-
spanColumns?: number | undefined;
|
|
89
|
-
password?: boolean | undefined;
|
|
90
|
-
placeHolder?: string | undefined;
|
|
91
|
-
}, {
|
|
92
|
-
path: string;
|
|
93
|
-
kind: "widget";
|
|
94
|
-
spanColumns?: number | undefined;
|
|
95
|
-
password?: boolean | undefined;
|
|
96
|
-
placeHolder?: string | undefined;
|
|
97
|
-
}>;
|
|
98
|
-
export declare const sUiHint: z.ZodUnion<[z.ZodObject<{
|
|
99
|
-
kind: z.ZodLiteral<"order">;
|
|
100
|
-
path: z.ZodString;
|
|
101
|
-
fields: z.ZodArray<z.ZodString, "many">;
|
|
102
|
-
}, "strip", z.ZodTypeAny, {
|
|
103
|
-
path: string;
|
|
104
|
-
kind: "order";
|
|
105
|
-
fields: string[];
|
|
106
|
-
}, {
|
|
107
|
-
path: string;
|
|
108
|
-
kind: "order";
|
|
109
|
-
fields: string[];
|
|
110
|
-
}>, z.ZodObject<{
|
|
111
|
-
kind: z.ZodLiteral<"widget">;
|
|
112
|
-
path: z.ZodString;
|
|
113
|
-
spanColumns: z.ZodOptional<z.ZodNumber>;
|
|
114
|
-
password: z.ZodOptional<z.ZodBoolean>;
|
|
115
|
-
placeHolder: z.ZodOptional<z.ZodString>;
|
|
116
|
-
}, "strip", z.ZodTypeAny, {
|
|
117
|
-
path: string;
|
|
118
|
-
kind: "widget";
|
|
119
|
-
spanColumns?: number | undefined;
|
|
120
|
-
password?: boolean | undefined;
|
|
121
|
-
placeHolder?: string | undefined;
|
|
122
|
-
}, {
|
|
123
|
-
path: string;
|
|
124
|
-
kind: "widget";
|
|
125
|
-
spanColumns?: number | undefined;
|
|
126
|
-
password?: boolean | undefined;
|
|
127
|
-
placeHolder?: string | undefined;
|
|
128
|
-
}>]>;
|
|
129
|
-
export declare const sProviderSpecs: z.ZodObject<{
|
|
130
|
-
title: z.ZodString;
|
|
131
|
-
configSchema: z.ZodUnknown;
|
|
132
|
-
configDefault: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
133
|
-
configFormUiHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
134
|
-
kind: z.ZodLiteral<"order">;
|
|
135
|
-
path: z.ZodString;
|
|
136
|
-
fields: z.ZodArray<z.ZodString, "many">;
|
|
137
|
-
}, "strip", z.ZodTypeAny, {
|
|
138
|
-
path: string;
|
|
139
|
-
kind: "order";
|
|
140
|
-
fields: string[];
|
|
141
|
-
}, {
|
|
142
|
-
path: string;
|
|
143
|
-
kind: "order";
|
|
144
|
-
fields: string[];
|
|
145
|
-
}>, z.ZodObject<{
|
|
146
|
-
kind: z.ZodLiteral<"widget">;
|
|
147
|
-
path: z.ZodString;
|
|
148
|
-
spanColumns: z.ZodOptional<z.ZodNumber>;
|
|
149
|
-
password: z.ZodOptional<z.ZodBoolean>;
|
|
150
|
-
placeHolder: z.ZodOptional<z.ZodString>;
|
|
151
|
-
}, "strip", z.ZodTypeAny, {
|
|
152
|
-
path: string;
|
|
153
|
-
kind: "widget";
|
|
154
|
-
spanColumns?: number | undefined;
|
|
155
|
-
password?: boolean | undefined;
|
|
156
|
-
placeHolder?: string | undefined;
|
|
157
|
-
}, {
|
|
158
|
-
path: string;
|
|
159
|
-
kind: "widget";
|
|
160
|
-
spanColumns?: number | undefined;
|
|
161
|
-
password?: boolean | undefined;
|
|
162
|
-
placeHolder?: string | undefined;
|
|
163
|
-
}>]>, "many">>;
|
|
164
|
-
}, "strip", z.ZodTypeAny, {
|
|
165
|
-
title: string;
|
|
166
|
-
configDefault: Record<string, unknown>;
|
|
167
|
-
configSchema?: unknown;
|
|
168
|
-
configFormUiHints?: ({
|
|
169
|
-
path: string;
|
|
170
|
-
kind: "order";
|
|
171
|
-
fields: string[];
|
|
172
|
-
} | {
|
|
173
|
-
path: string;
|
|
174
|
-
kind: "widget";
|
|
175
|
-
spanColumns?: number | undefined;
|
|
176
|
-
password?: boolean | undefined;
|
|
177
|
-
placeHolder?: string | undefined;
|
|
178
|
-
})[] | undefined;
|
|
179
|
-
}, {
|
|
180
|
-
title: string;
|
|
181
|
-
configDefault: Record<string, unknown>;
|
|
182
|
-
configSchema?: unknown;
|
|
183
|
-
configFormUiHints?: ({
|
|
184
|
-
path: string;
|
|
185
|
-
kind: "order";
|
|
186
|
-
fields: string[];
|
|
187
|
-
} | {
|
|
188
|
-
path: string;
|
|
189
|
-
kind: "widget";
|
|
190
|
-
spanColumns?: number | undefined;
|
|
191
|
-
password?: boolean | undefined;
|
|
192
|
-
placeHolder?: string | undefined;
|
|
193
|
-
})[] | undefined;
|
|
194
|
-
}>;
|
|
195
|
-
export declare const sAccessObjectKind: z.ZodEnum<["accessRule", "schedule", "person", "device", "zone"]>;
|
|
196
|
-
export declare const sTokenSpecs: z.ZodObject<{
|
|
197
|
-
type: z.ZodEnum<["card", "pin", "fingerprint"]>;
|
|
198
|
-
regex: z.ZodOptional<z.ZodString>;
|
|
199
|
-
formatDescription: z.ZodOptional<z.ZodString>;
|
|
200
|
-
maxPerPerson: z.ZodOptional<z.ZodNumber>;
|
|
201
|
-
}, "strip", z.ZodTypeAny, {
|
|
202
|
-
type: "card" | "pin" | "fingerprint";
|
|
203
|
-
regex?: string | undefined;
|
|
204
|
-
formatDescription?: string | undefined;
|
|
205
|
-
maxPerPerson?: number | undefined;
|
|
206
|
-
}, {
|
|
207
|
-
type: "card" | "pin" | "fingerprint";
|
|
208
|
-
regex?: string | undefined;
|
|
209
|
-
formatDescription?: string | undefined;
|
|
210
|
-
maxPerPerson?: number | undefined;
|
|
211
|
-
}>;
|
|
212
|
-
export declare const sAccessControlCapabilityReport: z.ZodObject<{
|
|
213
|
-
tokens: z.ZodArray<z.ZodObject<{
|
|
214
|
-
type: z.ZodEnum<["card", "pin", "fingerprint"]>;
|
|
215
|
-
regex: z.ZodOptional<z.ZodString>;
|
|
216
|
-
formatDescription: z.ZodOptional<z.ZodString>;
|
|
217
|
-
maxPerPerson: z.ZodOptional<z.ZodNumber>;
|
|
218
|
-
}, "strip", z.ZodTypeAny, {
|
|
219
|
-
type: "card" | "pin" | "fingerprint";
|
|
220
|
-
regex?: string | undefined;
|
|
221
|
-
formatDescription?: string | undefined;
|
|
222
|
-
maxPerPerson?: number | undefined;
|
|
223
|
-
}, {
|
|
224
|
-
type: "card" | "pin" | "fingerprint";
|
|
225
|
-
regex?: string | undefined;
|
|
226
|
-
formatDescription?: string | undefined;
|
|
227
|
-
maxPerPerson?: number | undefined;
|
|
228
|
-
}>, "many">;
|
|
229
|
-
accessObjects: z.ZodArray<z.ZodEnum<["accessRule", "schedule", "person", "device", "zone"]>, "many">;
|
|
230
|
-
oneSchedulePerDoor: z.ZodBoolean;
|
|
231
|
-
}, "strip", z.ZodTypeAny, {
|
|
232
|
-
tokens: {
|
|
233
|
-
type: "card" | "pin" | "fingerprint";
|
|
234
|
-
regex?: string | undefined;
|
|
235
|
-
formatDescription?: string | undefined;
|
|
236
|
-
maxPerPerson?: number | undefined;
|
|
237
|
-
}[];
|
|
238
|
-
accessObjects: ("person" | "zone" | "accessRule" | "schedule" | "device")[];
|
|
239
|
-
oneSchedulePerDoor: boolean;
|
|
240
|
-
}, {
|
|
241
|
-
tokens: {
|
|
242
|
-
type: "card" | "pin" | "fingerprint";
|
|
243
|
-
regex?: string | undefined;
|
|
244
|
-
formatDescription?: string | undefined;
|
|
245
|
-
maxPerPerson?: number | undefined;
|
|
246
|
-
}[];
|
|
247
|
-
accessObjects: ("person" | "zone" | "accessRule" | "schedule" | "device")[];
|
|
248
|
-
oneSchedulePerDoor: boolean;
|
|
249
|
-
}>;
|
|
250
71
|
export declare const sRegisterRq: z.ZodObject<{
|
|
251
72
|
kind: z.ZodLiteral<"register">;
|
|
252
73
|
providers: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -341,7 +162,7 @@ export declare const sRegisterRq: z.ZodObject<{
|
|
|
341
162
|
formatDescription?: string | undefined;
|
|
342
163
|
maxPerPerson?: number | undefined;
|
|
343
164
|
}[];
|
|
344
|
-
accessObjects: ("person" | "zone" | "
|
|
165
|
+
accessObjects: ("person" | "zone" | "schedule" | "device" | "accessRule")[];
|
|
345
166
|
oneSchedulePerDoor: boolean;
|
|
346
167
|
}, {
|
|
347
168
|
tokens: {
|
|
@@ -350,7 +171,7 @@ export declare const sRegisterRq: z.ZodObject<{
|
|
|
350
171
|
formatDescription?: string | undefined;
|
|
351
172
|
maxPerPerson?: number | undefined;
|
|
352
173
|
}[];
|
|
353
|
-
accessObjects: ("person" | "zone" | "
|
|
174
|
+
accessObjects: ("person" | "zone" | "schedule" | "device" | "accessRule")[];
|
|
354
175
|
oneSchedulePerDoor: boolean;
|
|
355
176
|
}>>>;
|
|
356
177
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -378,7 +199,7 @@ export declare const sRegisterRq: z.ZodObject<{
|
|
|
378
199
|
formatDescription?: string | undefined;
|
|
379
200
|
maxPerPerson?: number | undefined;
|
|
380
201
|
}[];
|
|
381
|
-
accessObjects: ("person" | "zone" | "
|
|
202
|
+
accessObjects: ("person" | "zone" | "schedule" | "device" | "accessRule")[];
|
|
382
203
|
oneSchedulePerDoor: boolean;
|
|
383
204
|
}> | undefined;
|
|
384
205
|
}, {
|
|
@@ -406,7 +227,7 @@ export declare const sRegisterRq: z.ZodObject<{
|
|
|
406
227
|
formatDescription?: string | undefined;
|
|
407
228
|
maxPerPerson?: number | undefined;
|
|
408
229
|
}[];
|
|
409
|
-
accessObjects: ("person" | "zone" | "
|
|
230
|
+
accessObjects: ("person" | "zone" | "schedule" | "device" | "accessRule")[];
|
|
410
231
|
oneSchedulePerDoor: boolean;
|
|
411
232
|
}> | undefined;
|
|
412
233
|
}>;
|
|
@@ -552,52 +373,52 @@ export declare const sRunCommandRq: z.ZodObject<{
|
|
|
552
373
|
}, "strip", z.ZodTypeAny, {
|
|
553
374
|
name: string;
|
|
554
375
|
id: string;
|
|
555
|
-
isDefault: boolean;
|
|
556
|
-
assignedRef: string | null;
|
|
557
376
|
createdOn: string;
|
|
558
377
|
lastModifiedOn: string;
|
|
378
|
+
isDefault: boolean;
|
|
379
|
+
assignedRef: string | null;
|
|
559
380
|
params?: unknown;
|
|
560
381
|
}, {
|
|
561
382
|
name: string;
|
|
562
383
|
id: string;
|
|
563
|
-
isDefault: boolean;
|
|
564
|
-
assignedRef: string | null;
|
|
565
384
|
createdOn: string;
|
|
566
385
|
lastModifiedOn: string;
|
|
386
|
+
isDefault: boolean;
|
|
387
|
+
assignedRef: string | null;
|
|
567
388
|
params?: unknown;
|
|
568
389
|
}>, "many">;
|
|
569
390
|
}, "strip", z.ZodTypeAny, {
|
|
570
391
|
name: string;
|
|
571
392
|
foreignRef: string;
|
|
572
|
-
provider: string;
|
|
573
|
-
providerMetadata: {} & {
|
|
574
|
-
[k: string]: unknown;
|
|
575
|
-
};
|
|
576
393
|
presets: {
|
|
577
394
|
name: string;
|
|
578
395
|
id: string;
|
|
579
|
-
isDefault: boolean;
|
|
580
|
-
assignedRef: string | null;
|
|
581
396
|
createdOn: string;
|
|
582
397
|
lastModifiedOn: string;
|
|
398
|
+
isDefault: boolean;
|
|
399
|
+
assignedRef: string | null;
|
|
583
400
|
params?: unknown;
|
|
584
401
|
}[];
|
|
585
|
-
}, {
|
|
586
|
-
name: string;
|
|
587
|
-
foreignRef: string;
|
|
588
402
|
provider: string;
|
|
589
403
|
providerMetadata: {} & {
|
|
590
404
|
[k: string]: unknown;
|
|
591
405
|
};
|
|
406
|
+
}, {
|
|
407
|
+
name: string;
|
|
408
|
+
foreignRef: string;
|
|
592
409
|
presets: {
|
|
593
410
|
name: string;
|
|
594
411
|
id: string;
|
|
595
|
-
isDefault: boolean;
|
|
596
|
-
assignedRef: string | null;
|
|
597
412
|
createdOn: string;
|
|
598
413
|
lastModifiedOn: string;
|
|
414
|
+
isDefault: boolean;
|
|
415
|
+
assignedRef: string | null;
|
|
599
416
|
params?: unknown;
|
|
600
417
|
}[];
|
|
418
|
+
provider: string;
|
|
419
|
+
providerMetadata: {} & {
|
|
420
|
+
[k: string]: unknown;
|
|
421
|
+
};
|
|
601
422
|
}>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
602
423
|
type: z.ZodLiteral<"alarm">;
|
|
603
424
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -842,22 +663,23 @@ export declare const sRunCommandRq: z.ZodObject<{
|
|
|
842
663
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
843
664
|
}, "strip", z.ZodTypeAny, {
|
|
844
665
|
kind: "command";
|
|
666
|
+
command: string;
|
|
845
667
|
device: {
|
|
846
668
|
name: string;
|
|
847
669
|
foreignRef: string;
|
|
848
|
-
provider: string;
|
|
849
|
-
providerMetadata: {} & {
|
|
850
|
-
[k: string]: unknown;
|
|
851
|
-
};
|
|
852
670
|
presets: {
|
|
853
671
|
name: string;
|
|
854
672
|
id: string;
|
|
855
|
-
isDefault: boolean;
|
|
856
|
-
assignedRef: string | null;
|
|
857
673
|
createdOn: string;
|
|
858
674
|
lastModifiedOn: string;
|
|
675
|
+
isDefault: boolean;
|
|
676
|
+
assignedRef: string | null;
|
|
859
677
|
params?: unknown;
|
|
860
678
|
}[];
|
|
679
|
+
provider: string;
|
|
680
|
+
providerMetadata: {} & {
|
|
681
|
+
[k: string]: unknown;
|
|
682
|
+
};
|
|
861
683
|
} & ({
|
|
862
684
|
type: "alarm";
|
|
863
685
|
} | {
|
|
@@ -932,27 +754,27 @@ export declare const sRunCommandRq: z.ZodObject<{
|
|
|
932
754
|
} | {
|
|
933
755
|
type: "system";
|
|
934
756
|
});
|
|
935
|
-
command: string;
|
|
936
757
|
params?: Record<string, unknown> | undefined;
|
|
937
758
|
batchId?: string | undefined;
|
|
938
759
|
}, {
|
|
939
760
|
kind: "command";
|
|
761
|
+
command: string;
|
|
940
762
|
device: {
|
|
941
763
|
name: string;
|
|
942
764
|
foreignRef: string;
|
|
943
|
-
provider: string;
|
|
944
|
-
providerMetadata: {} & {
|
|
945
|
-
[k: string]: unknown;
|
|
946
|
-
};
|
|
947
765
|
presets: {
|
|
948
766
|
name: string;
|
|
949
767
|
id: string;
|
|
950
|
-
isDefault: boolean;
|
|
951
|
-
assignedRef: string | null;
|
|
952
768
|
createdOn: string;
|
|
953
769
|
lastModifiedOn: string;
|
|
770
|
+
isDefault: boolean;
|
|
771
|
+
assignedRef: string | null;
|
|
954
772
|
params?: unknown;
|
|
955
773
|
}[];
|
|
774
|
+
provider: string;
|
|
775
|
+
providerMetadata: {} & {
|
|
776
|
+
[k: string]: unknown;
|
|
777
|
+
};
|
|
956
778
|
} & ({
|
|
957
779
|
type: "alarm";
|
|
958
780
|
} | {
|
|
@@ -1027,7 +849,6 @@ export declare const sRunCommandRq: z.ZodObject<{
|
|
|
1027
849
|
} | {
|
|
1028
850
|
type: "system";
|
|
1029
851
|
});
|
|
1030
|
-
command: string;
|
|
1031
852
|
params?: Record<string, unknown> | undefined;
|
|
1032
853
|
batchId?: string | undefined;
|
|
1033
854
|
}>;
|
|
@@ -1061,52 +882,52 @@ export declare const sQueryRq: z.ZodObject<{
|
|
|
1061
882
|
}, "strip", z.ZodTypeAny, {
|
|
1062
883
|
name: string;
|
|
1063
884
|
id: string;
|
|
1064
|
-
isDefault: boolean;
|
|
1065
|
-
assignedRef: string | null;
|
|
1066
885
|
createdOn: string;
|
|
1067
886
|
lastModifiedOn: string;
|
|
887
|
+
isDefault: boolean;
|
|
888
|
+
assignedRef: string | null;
|
|
1068
889
|
params?: unknown;
|
|
1069
890
|
}, {
|
|
1070
891
|
name: string;
|
|
1071
892
|
id: string;
|
|
1072
|
-
isDefault: boolean;
|
|
1073
|
-
assignedRef: string | null;
|
|
1074
893
|
createdOn: string;
|
|
1075
894
|
lastModifiedOn: string;
|
|
895
|
+
isDefault: boolean;
|
|
896
|
+
assignedRef: string | null;
|
|
1076
897
|
params?: unknown;
|
|
1077
898
|
}>, "many">;
|
|
1078
899
|
}, "strip", z.ZodTypeAny, {
|
|
1079
900
|
name: string;
|
|
1080
901
|
foreignRef: string;
|
|
1081
|
-
provider: string;
|
|
1082
|
-
providerMetadata: {} & {
|
|
1083
|
-
[k: string]: unknown;
|
|
1084
|
-
};
|
|
1085
902
|
presets: {
|
|
1086
903
|
name: string;
|
|
1087
904
|
id: string;
|
|
1088
|
-
isDefault: boolean;
|
|
1089
|
-
assignedRef: string | null;
|
|
1090
905
|
createdOn: string;
|
|
1091
906
|
lastModifiedOn: string;
|
|
907
|
+
isDefault: boolean;
|
|
908
|
+
assignedRef: string | null;
|
|
1092
909
|
params?: unknown;
|
|
1093
910
|
}[];
|
|
1094
|
-
}, {
|
|
1095
|
-
name: string;
|
|
1096
|
-
foreignRef: string;
|
|
1097
911
|
provider: string;
|
|
1098
912
|
providerMetadata: {} & {
|
|
1099
913
|
[k: string]: unknown;
|
|
1100
914
|
};
|
|
915
|
+
}, {
|
|
916
|
+
name: string;
|
|
917
|
+
foreignRef: string;
|
|
1101
918
|
presets: {
|
|
1102
919
|
name: string;
|
|
1103
920
|
id: string;
|
|
1104
|
-
isDefault: boolean;
|
|
1105
|
-
assignedRef: string | null;
|
|
1106
921
|
createdOn: string;
|
|
1107
922
|
lastModifiedOn: string;
|
|
923
|
+
isDefault: boolean;
|
|
924
|
+
assignedRef: string | null;
|
|
1108
925
|
params?: unknown;
|
|
1109
926
|
}[];
|
|
927
|
+
provider: string;
|
|
928
|
+
providerMetadata: {} & {
|
|
929
|
+
[k: string]: unknown;
|
|
930
|
+
};
|
|
1110
931
|
}>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1111
932
|
type: z.ZodLiteral<"alarm">;
|
|
1112
933
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1352,19 +1173,19 @@ export declare const sQueryRq: z.ZodObject<{
|
|
|
1352
1173
|
device: {
|
|
1353
1174
|
name: string;
|
|
1354
1175
|
foreignRef: string;
|
|
1355
|
-
provider: string;
|
|
1356
|
-
providerMetadata: {} & {
|
|
1357
|
-
[k: string]: unknown;
|
|
1358
|
-
};
|
|
1359
1176
|
presets: {
|
|
1360
1177
|
name: string;
|
|
1361
1178
|
id: string;
|
|
1362
|
-
isDefault: boolean;
|
|
1363
|
-
assignedRef: string | null;
|
|
1364
1179
|
createdOn: string;
|
|
1365
1180
|
lastModifiedOn: string;
|
|
1181
|
+
isDefault: boolean;
|
|
1182
|
+
assignedRef: string | null;
|
|
1366
1183
|
params?: unknown;
|
|
1367
1184
|
}[];
|
|
1185
|
+
provider: string;
|
|
1186
|
+
providerMetadata: {} & {
|
|
1187
|
+
[k: string]: unknown;
|
|
1188
|
+
};
|
|
1368
1189
|
} & ({
|
|
1369
1190
|
type: "alarm";
|
|
1370
1191
|
} | {
|
|
@@ -1446,19 +1267,19 @@ export declare const sQueryRq: z.ZodObject<{
|
|
|
1446
1267
|
device: {
|
|
1447
1268
|
name: string;
|
|
1448
1269
|
foreignRef: string;
|
|
1449
|
-
provider: string;
|
|
1450
|
-
providerMetadata: {} & {
|
|
1451
|
-
[k: string]: unknown;
|
|
1452
|
-
};
|
|
1453
1270
|
presets: {
|
|
1454
1271
|
name: string;
|
|
1455
1272
|
id: string;
|
|
1456
|
-
isDefault: boolean;
|
|
1457
|
-
assignedRef: string | null;
|
|
1458
1273
|
createdOn: string;
|
|
1459
1274
|
lastModifiedOn: string;
|
|
1275
|
+
isDefault: boolean;
|
|
1276
|
+
assignedRef: string | null;
|
|
1460
1277
|
params?: unknown;
|
|
1461
1278
|
}[];
|
|
1279
|
+
provider: string;
|
|
1280
|
+
providerMetadata: {} & {
|
|
1281
|
+
[k: string]: unknown;
|
|
1282
|
+
};
|
|
1462
1283
|
} & ({
|
|
1463
1284
|
type: "alarm";
|
|
1464
1285
|
} | {
|
|
@@ -1572,52 +1393,52 @@ export declare const sPushFile: z.ZodObject<{
|
|
|
1572
1393
|
}, "strip", z.ZodTypeAny, {
|
|
1573
1394
|
name: string;
|
|
1574
1395
|
id: string;
|
|
1575
|
-
isDefault: boolean;
|
|
1576
|
-
assignedRef: string | null;
|
|
1577
1396
|
createdOn: string;
|
|
1578
1397
|
lastModifiedOn: string;
|
|
1398
|
+
isDefault: boolean;
|
|
1399
|
+
assignedRef: string | null;
|
|
1579
1400
|
params?: unknown;
|
|
1580
1401
|
}, {
|
|
1581
1402
|
name: string;
|
|
1582
1403
|
id: string;
|
|
1583
|
-
isDefault: boolean;
|
|
1584
|
-
assignedRef: string | null;
|
|
1585
1404
|
createdOn: string;
|
|
1586
1405
|
lastModifiedOn: string;
|
|
1406
|
+
isDefault: boolean;
|
|
1407
|
+
assignedRef: string | null;
|
|
1587
1408
|
params?: unknown;
|
|
1588
1409
|
}>, "many">;
|
|
1589
1410
|
}, "strip", z.ZodTypeAny, {
|
|
1590
1411
|
name: string;
|
|
1591
1412
|
foreignRef: string;
|
|
1592
|
-
provider: string;
|
|
1593
|
-
providerMetadata: {} & {
|
|
1594
|
-
[k: string]: unknown;
|
|
1595
|
-
};
|
|
1596
1413
|
presets: {
|
|
1597
1414
|
name: string;
|
|
1598
1415
|
id: string;
|
|
1599
|
-
isDefault: boolean;
|
|
1600
|
-
assignedRef: string | null;
|
|
1601
1416
|
createdOn: string;
|
|
1602
1417
|
lastModifiedOn: string;
|
|
1418
|
+
isDefault: boolean;
|
|
1419
|
+
assignedRef: string | null;
|
|
1603
1420
|
params?: unknown;
|
|
1604
1421
|
}[];
|
|
1605
|
-
}, {
|
|
1606
|
-
name: string;
|
|
1607
|
-
foreignRef: string;
|
|
1608
1422
|
provider: string;
|
|
1609
1423
|
providerMetadata: {} & {
|
|
1610
1424
|
[k: string]: unknown;
|
|
1611
1425
|
};
|
|
1426
|
+
}, {
|
|
1427
|
+
name: string;
|
|
1428
|
+
foreignRef: string;
|
|
1612
1429
|
presets: {
|
|
1613
1430
|
name: string;
|
|
1614
1431
|
id: string;
|
|
1615
|
-
isDefault: boolean;
|
|
1616
|
-
assignedRef: string | null;
|
|
1617
1432
|
createdOn: string;
|
|
1618
1433
|
lastModifiedOn: string;
|
|
1434
|
+
isDefault: boolean;
|
|
1435
|
+
assignedRef: string | null;
|
|
1619
1436
|
params?: unknown;
|
|
1620
1437
|
}[];
|
|
1438
|
+
provider: string;
|
|
1439
|
+
providerMetadata: {} & {
|
|
1440
|
+
[k: string]: unknown;
|
|
1441
|
+
};
|
|
1621
1442
|
}>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1622
1443
|
type: z.ZodLiteral<"alarm">;
|
|
1623
1444
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1865,19 +1686,19 @@ export declare const sPushFile: z.ZodObject<{
|
|
|
1865
1686
|
device: {
|
|
1866
1687
|
name: string;
|
|
1867
1688
|
foreignRef: string;
|
|
1868
|
-
provider: string;
|
|
1869
|
-
providerMetadata: {} & {
|
|
1870
|
-
[k: string]: unknown;
|
|
1871
|
-
};
|
|
1872
1689
|
presets: {
|
|
1873
1690
|
name: string;
|
|
1874
1691
|
id: string;
|
|
1875
|
-
isDefault: boolean;
|
|
1876
|
-
assignedRef: string | null;
|
|
1877
1692
|
createdOn: string;
|
|
1878
1693
|
lastModifiedOn: string;
|
|
1694
|
+
isDefault: boolean;
|
|
1695
|
+
assignedRef: string | null;
|
|
1879
1696
|
params?: unknown;
|
|
1880
1697
|
}[];
|
|
1698
|
+
provider: string;
|
|
1699
|
+
providerMetadata: {} & {
|
|
1700
|
+
[k: string]: unknown;
|
|
1701
|
+
};
|
|
1881
1702
|
} & ({
|
|
1882
1703
|
type: "alarm";
|
|
1883
1704
|
} | {
|
|
@@ -1960,19 +1781,19 @@ export declare const sPushFile: z.ZodObject<{
|
|
|
1960
1781
|
device: {
|
|
1961
1782
|
name: string;
|
|
1962
1783
|
foreignRef: string;
|
|
1963
|
-
provider: string;
|
|
1964
|
-
providerMetadata: {} & {
|
|
1965
|
-
[k: string]: unknown;
|
|
1966
|
-
};
|
|
1967
1784
|
presets: {
|
|
1968
1785
|
name: string;
|
|
1969
1786
|
id: string;
|
|
1970
|
-
isDefault: boolean;
|
|
1971
|
-
assignedRef: string | null;
|
|
1972
1787
|
createdOn: string;
|
|
1973
1788
|
lastModifiedOn: string;
|
|
1789
|
+
isDefault: boolean;
|
|
1790
|
+
assignedRef: string | null;
|
|
1974
1791
|
params?: unknown;
|
|
1975
1792
|
}[];
|
|
1793
|
+
provider: string;
|
|
1794
|
+
providerMetadata: {} & {
|
|
1795
|
+
[k: string]: unknown;
|
|
1796
|
+
};
|
|
1976
1797
|
} & ({
|
|
1977
1798
|
type: "alarm";
|
|
1978
1799
|
} | {
|
|
@@ -2654,8 +2475,8 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
|
|
|
2654
2475
|
}>;
|
|
2655
2476
|
}, "strip", z.ZodTypeAny, {
|
|
2656
2477
|
kind: "merge";
|
|
2657
|
-
objectId: string;
|
|
2658
2478
|
objectKind: "accessRule";
|
|
2479
|
+
objectId: string;
|
|
2659
2480
|
original: null;
|
|
2660
2481
|
props: {
|
|
2661
2482
|
displayName: string;
|
|
@@ -2671,8 +2492,8 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
|
|
|
2671
2492
|
};
|
|
2672
2493
|
}, {
|
|
2673
2494
|
kind: "merge";
|
|
2674
|
-
objectId: string;
|
|
2675
2495
|
objectKind: "accessRule";
|
|
2496
|
+
objectId: string;
|
|
2676
2497
|
original: null;
|
|
2677
2498
|
props: {
|
|
2678
2499
|
displayName: string;
|
|
@@ -2784,8 +2605,8 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
|
|
|
2784
2605
|
}>;
|
|
2785
2606
|
}, "strip", z.ZodTypeAny, {
|
|
2786
2607
|
kind: "merge";
|
|
2787
|
-
objectId: string;
|
|
2788
2608
|
objectKind: "accessRule";
|
|
2609
|
+
objectId: string;
|
|
2789
2610
|
original: {
|
|
2790
2611
|
displayName: string;
|
|
2791
2612
|
appliedTo: string[];
|
|
@@ -2812,8 +2633,8 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
|
|
|
2812
2633
|
};
|
|
2813
2634
|
}, {
|
|
2814
2635
|
kind: "merge";
|
|
2815
|
-
objectId: string;
|
|
2816
2636
|
objectKind: "accessRule";
|
|
2637
|
+
objectId: string;
|
|
2817
2638
|
original: {
|
|
2818
2639
|
displayName: string;
|
|
2819
2640
|
appliedTo: string[];
|
|
@@ -2967,8 +2788,8 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
|
|
|
2967
2788
|
}>;
|
|
2968
2789
|
}, "strip", z.ZodTypeAny, {
|
|
2969
2790
|
kind: "merge";
|
|
2970
|
-
objectId: string;
|
|
2971
2791
|
objectKind: "schedule";
|
|
2792
|
+
objectId: string;
|
|
2972
2793
|
original: null;
|
|
2973
2794
|
props: {
|
|
2974
2795
|
include: {
|
|
@@ -2996,8 +2817,8 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
|
|
|
2996
2817
|
};
|
|
2997
2818
|
}, {
|
|
2998
2819
|
kind: "merge";
|
|
2999
|
-
objectId: string;
|
|
3000
2820
|
objectKind: "schedule";
|
|
2821
|
+
objectId: string;
|
|
3001
2822
|
original: null;
|
|
3002
2823
|
props: {
|
|
3003
2824
|
include: {
|
|
@@ -3273,8 +3094,8 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
|
|
|
3273
3094
|
}>;
|
|
3274
3095
|
}, "strip", z.ZodTypeAny, {
|
|
3275
3096
|
kind: "merge";
|
|
3276
|
-
objectId: string;
|
|
3277
3097
|
objectKind: "schedule";
|
|
3098
|
+
objectId: string;
|
|
3278
3099
|
original: {
|
|
3279
3100
|
include: {
|
|
3280
3101
|
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
@@ -3325,8 +3146,8 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
|
|
|
3325
3146
|
};
|
|
3326
3147
|
}, {
|
|
3327
3148
|
kind: "merge";
|
|
3328
|
-
objectId: string;
|
|
3329
3149
|
objectKind: "schedule";
|
|
3150
|
+
objectId: string;
|
|
3330
3151
|
original: {
|
|
3331
3152
|
include: {
|
|
3332
3153
|
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
@@ -3411,10 +3232,10 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
|
|
|
3411
3232
|
firstName: string;
|
|
3412
3233
|
lastName: string;
|
|
3413
3234
|
avatarId: string | null;
|
|
3414
|
-
validFrom: string | null;
|
|
3415
|
-
validTo: string | null;
|
|
3416
3235
|
accessSuspended: boolean;
|
|
3417
3236
|
staffMember: boolean;
|
|
3237
|
+
validFrom: string | null;
|
|
3238
|
+
validTo: string | null;
|
|
3418
3239
|
credentials: {
|
|
3419
3240
|
type: "card" | "pin" | "fingerprint";
|
|
3420
3241
|
value: string | Record<string, unknown>;
|
|
@@ -3428,10 +3249,10 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
|
|
|
3428
3249
|
firstName: string;
|
|
3429
3250
|
lastName: string;
|
|
3430
3251
|
avatarId: string | null;
|
|
3431
|
-
validFrom: string | null;
|
|
3432
|
-
validTo: string | null;
|
|
3433
3252
|
accessSuspended: boolean;
|
|
3434
3253
|
staffMember: boolean;
|
|
3254
|
+
validFrom: string | null;
|
|
3255
|
+
validTo: string | null;
|
|
3435
3256
|
credentials: {
|
|
3436
3257
|
type: "card" | "pin" | "fingerprint";
|
|
3437
3258
|
value: string | Record<string, unknown>;
|
|
@@ -3442,8 +3263,8 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
|
|
|
3442
3263
|
}>;
|
|
3443
3264
|
}, "strip", z.ZodTypeAny, {
|
|
3444
3265
|
kind: "merge";
|
|
3445
|
-
objectId: string;
|
|
3446
3266
|
objectKind: "person";
|
|
3267
|
+
objectId: string;
|
|
3447
3268
|
original: null;
|
|
3448
3269
|
props: {
|
|
3449
3270
|
type: string;
|
|
@@ -3451,10 +3272,10 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
|
|
|
3451
3272
|
firstName: string;
|
|
3452
3273
|
lastName: string;
|
|
3453
3274
|
avatarId: string | null;
|
|
3454
|
-
validFrom: string | null;
|
|
3455
|
-
validTo: string | null;
|
|
3456
3275
|
accessSuspended: boolean;
|
|
3457
3276
|
staffMember: boolean;
|
|
3277
|
+
validFrom: string | null;
|
|
3278
|
+
validTo: string | null;
|
|
3458
3279
|
credentials: {
|
|
3459
3280
|
type: "card" | "pin" | "fingerprint";
|
|
3460
3281
|
value: string | Record<string, unknown>;
|
|
@@ -3465,8 +3286,8 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
|
|
|
3465
3286
|
};
|
|
3466
3287
|
}, {
|
|
3467
3288
|
kind: "merge";
|
|
3468
|
-
objectId: string;
|
|
3469
3289
|
objectKind: "person";
|
|
3290
|
+
objectId: string;
|
|
3470
3291
|
original: null;
|
|
3471
3292
|
props: {
|
|
3472
3293
|
type: string;
|
|
@@ -3474,10 +3295,10 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
|
|
|
3474
3295
|
firstName: string;
|
|
3475
3296
|
lastName: string;
|
|
3476
3297
|
avatarId: string | null;
|
|
3477
|
-
validFrom: string | null;
|
|
3478
|
-
validTo: string | null;
|
|
3479
3298
|
accessSuspended: boolean;
|
|
3480
3299
|
staffMember: boolean;
|
|
3300
|
+
validFrom: string | null;
|
|
3301
|
+
validTo: string | null;
|
|
3481
3302
|
credentials: {
|
|
3482
3303
|
type: "card" | "pin" | "fingerprint";
|
|
3483
3304
|
value: string | Record<string, unknown>;
|
|
@@ -3521,10 +3342,10 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
|
|
|
3521
3342
|
firstName: string;
|
|
3522
3343
|
lastName: string;
|
|
3523
3344
|
avatarId: string | null;
|
|
3524
|
-
validFrom: string | null;
|
|
3525
|
-
validTo: string | null;
|
|
3526
3345
|
accessSuspended: boolean;
|
|
3527
3346
|
staffMember: boolean;
|
|
3347
|
+
validFrom: string | null;
|
|
3348
|
+
validTo: string | null;
|
|
3528
3349
|
credentials: {
|
|
3529
3350
|
type: "card" | "pin" | "fingerprint";
|
|
3530
3351
|
value: string | Record<string, unknown>;
|
|
@@ -3538,10 +3359,10 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
|
|
|
3538
3359
|
firstName: string;
|
|
3539
3360
|
lastName: string;
|
|
3540
3361
|
avatarId: string | null;
|
|
3541
|
-
validFrom: string | null;
|
|
3542
|
-
validTo: string | null;
|
|
3543
3362
|
accessSuspended: boolean;
|
|
3544
3363
|
staffMember: boolean;
|
|
3364
|
+
validFrom: string | null;
|
|
3365
|
+
validTo: string | null;
|
|
3545
3366
|
credentials: {
|
|
3546
3367
|
type: "card" | "pin" | "fingerprint";
|
|
3547
3368
|
value: string | Record<string, unknown>;
|
|
@@ -3581,10 +3402,10 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
|
|
|
3581
3402
|
firstName?: string | undefined;
|
|
3582
3403
|
lastName?: string | undefined;
|
|
3583
3404
|
avatarId?: string | null | undefined;
|
|
3584
|
-
validFrom?: string | null | undefined;
|
|
3585
|
-
validTo?: string | null | undefined;
|
|
3586
3405
|
accessSuspended?: boolean | undefined;
|
|
3587
3406
|
staffMember?: boolean | undefined;
|
|
3407
|
+
validFrom?: string | null | undefined;
|
|
3408
|
+
validTo?: string | null | undefined;
|
|
3588
3409
|
credentials?: {
|
|
3589
3410
|
type: "card" | "pin" | "fingerprint";
|
|
3590
3411
|
value: string | Record<string, unknown>;
|
|
@@ -3598,10 +3419,10 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
|
|
|
3598
3419
|
firstName?: string | undefined;
|
|
3599
3420
|
lastName?: string | undefined;
|
|
3600
3421
|
avatarId?: string | null | undefined;
|
|
3601
|
-
validFrom?: string | null | undefined;
|
|
3602
|
-
validTo?: string | null | undefined;
|
|
3603
3422
|
accessSuspended?: boolean | undefined;
|
|
3604
3423
|
staffMember?: boolean | undefined;
|
|
3424
|
+
validFrom?: string | null | undefined;
|
|
3425
|
+
validTo?: string | null | undefined;
|
|
3605
3426
|
credentials?: {
|
|
3606
3427
|
type: "card" | "pin" | "fingerprint";
|
|
3607
3428
|
value: string | Record<string, unknown>;
|
|
@@ -3612,18 +3433,18 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
|
|
|
3612
3433
|
}>;
|
|
3613
3434
|
}, "strip", z.ZodTypeAny, {
|
|
3614
3435
|
kind: "merge";
|
|
3615
|
-
objectId: string;
|
|
3616
3436
|
objectKind: "person";
|
|
3437
|
+
objectId: string;
|
|
3617
3438
|
original: {
|
|
3618
3439
|
type: string;
|
|
3619
3440
|
position: string | null;
|
|
3620
3441
|
firstName: string;
|
|
3621
3442
|
lastName: string;
|
|
3622
3443
|
avatarId: string | null;
|
|
3623
|
-
validFrom: string | null;
|
|
3624
|
-
validTo: string | null;
|
|
3625
3444
|
accessSuspended: boolean;
|
|
3626
3445
|
staffMember: boolean;
|
|
3446
|
+
validFrom: string | null;
|
|
3447
|
+
validTo: string | null;
|
|
3627
3448
|
credentials: {
|
|
3628
3449
|
type: "card" | "pin" | "fingerprint";
|
|
3629
3450
|
value: string | Record<string, unknown>;
|
|
@@ -3638,10 +3459,10 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
|
|
|
3638
3459
|
firstName?: string | undefined;
|
|
3639
3460
|
lastName?: string | undefined;
|
|
3640
3461
|
avatarId?: string | null | undefined;
|
|
3641
|
-
validFrom?: string | null | undefined;
|
|
3642
|
-
validTo?: string | null | undefined;
|
|
3643
3462
|
accessSuspended?: boolean | undefined;
|
|
3644
3463
|
staffMember?: boolean | undefined;
|
|
3464
|
+
validFrom?: string | null | undefined;
|
|
3465
|
+
validTo?: string | null | undefined;
|
|
3645
3466
|
credentials?: {
|
|
3646
3467
|
type: "card" | "pin" | "fingerprint";
|
|
3647
3468
|
value: string | Record<string, unknown>;
|
|
@@ -3652,18 +3473,18 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
|
|
|
3652
3473
|
};
|
|
3653
3474
|
}, {
|
|
3654
3475
|
kind: "merge";
|
|
3655
|
-
objectId: string;
|
|
3656
3476
|
objectKind: "person";
|
|
3477
|
+
objectId: string;
|
|
3657
3478
|
original: {
|
|
3658
3479
|
type: string;
|
|
3659
3480
|
position: string | null;
|
|
3660
3481
|
firstName: string;
|
|
3661
3482
|
lastName: string;
|
|
3662
3483
|
avatarId: string | null;
|
|
3663
|
-
validFrom: string | null;
|
|
3664
|
-
validTo: string | null;
|
|
3665
3484
|
accessSuspended: boolean;
|
|
3666
3485
|
staffMember: boolean;
|
|
3486
|
+
validFrom: string | null;
|
|
3487
|
+
validTo: string | null;
|
|
3667
3488
|
credentials: {
|
|
3668
3489
|
type: "card" | "pin" | "fingerprint";
|
|
3669
3490
|
value: string | Record<string, unknown>;
|
|
@@ -3678,10 +3499,10 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
|
|
|
3678
3499
|
firstName?: string | undefined;
|
|
3679
3500
|
lastName?: string | undefined;
|
|
3680
3501
|
avatarId?: string | null | undefined;
|
|
3681
|
-
validFrom?: string | null | undefined;
|
|
3682
|
-
validTo?: string | null | undefined;
|
|
3683
3502
|
accessSuspended?: boolean | undefined;
|
|
3684
3503
|
staffMember?: boolean | undefined;
|
|
3504
|
+
validFrom?: string | null | undefined;
|
|
3505
|
+
validTo?: string | null | undefined;
|
|
3685
3506
|
credentials?: {
|
|
3686
3507
|
type: "card" | "pin" | "fingerprint";
|
|
3687
3508
|
value: string | Record<string, unknown>;
|
|
@@ -3707,8 +3528,8 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
|
|
|
3707
3528
|
}>;
|
|
3708
3529
|
}, "strip", z.ZodTypeAny, {
|
|
3709
3530
|
kind: "merge";
|
|
3710
|
-
objectId: string;
|
|
3711
3531
|
objectKind: "zone";
|
|
3532
|
+
objectId: string;
|
|
3712
3533
|
original: null;
|
|
3713
3534
|
props: {
|
|
3714
3535
|
displayName: string;
|
|
@@ -3716,8 +3537,8 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
|
|
|
3716
3537
|
};
|
|
3717
3538
|
}, {
|
|
3718
3539
|
kind: "merge";
|
|
3719
|
-
objectId: string;
|
|
3720
3540
|
objectKind: "zone";
|
|
3541
|
+
objectId: string;
|
|
3721
3542
|
original: null;
|
|
3722
3543
|
props: {
|
|
3723
3544
|
displayName: string;
|
|
@@ -3749,8 +3570,8 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
|
|
|
3749
3570
|
}>;
|
|
3750
3571
|
}, "strip", z.ZodTypeAny, {
|
|
3751
3572
|
kind: "merge";
|
|
3752
|
-
objectId: string;
|
|
3753
3573
|
objectKind: "zone";
|
|
3574
|
+
objectId: string;
|
|
3754
3575
|
original: {
|
|
3755
3576
|
displayName: string;
|
|
3756
3577
|
devices: string[];
|
|
@@ -3761,8 +3582,8 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
|
|
|
3761
3582
|
};
|
|
3762
3583
|
}, {
|
|
3763
3584
|
kind: "merge";
|
|
3764
|
-
objectId: string;
|
|
3765
3585
|
objectKind: "zone";
|
|
3586
|
+
objectId: string;
|
|
3766
3587
|
original: {
|
|
3767
3588
|
displayName: string;
|
|
3768
3589
|
devices: string[];
|
|
@@ -3824,8 +3645,8 @@ export declare const sObjectDelete: z.ZodUnion<[z.ZodObject<{
|
|
|
3824
3645
|
}>;
|
|
3825
3646
|
}, "strip", z.ZodTypeAny, {
|
|
3826
3647
|
kind: "delete";
|
|
3827
|
-
objectId: string;
|
|
3828
3648
|
objectKind: "accessRule";
|
|
3649
|
+
objectId: string;
|
|
3829
3650
|
original: {
|
|
3830
3651
|
displayName: string;
|
|
3831
3652
|
appliedTo: string[];
|
|
@@ -3840,8 +3661,8 @@ export declare const sObjectDelete: z.ZodUnion<[z.ZodObject<{
|
|
|
3840
3661
|
};
|
|
3841
3662
|
}, {
|
|
3842
3663
|
kind: "delete";
|
|
3843
|
-
objectId: string;
|
|
3844
3664
|
objectKind: "accessRule";
|
|
3665
|
+
objectId: string;
|
|
3845
3666
|
original: {
|
|
3846
3667
|
displayName: string;
|
|
3847
3668
|
appliedTo: string[];
|
|
@@ -3982,8 +3803,8 @@ export declare const sObjectDelete: z.ZodUnion<[z.ZodObject<{
|
|
|
3982
3803
|
}>;
|
|
3983
3804
|
}, "strip", z.ZodTypeAny, {
|
|
3984
3805
|
kind: "delete";
|
|
3985
|
-
objectId: string;
|
|
3986
3806
|
objectKind: "schedule";
|
|
3807
|
+
objectId: string;
|
|
3987
3808
|
original: {
|
|
3988
3809
|
include: {
|
|
3989
3810
|
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
@@ -4010,8 +3831,8 @@ export declare const sObjectDelete: z.ZodUnion<[z.ZodObject<{
|
|
|
4010
3831
|
};
|
|
4011
3832
|
}, {
|
|
4012
3833
|
kind: "delete";
|
|
4013
|
-
objectId: string;
|
|
4014
3834
|
objectKind: "schedule";
|
|
3835
|
+
objectId: string;
|
|
4015
3836
|
original: {
|
|
4016
3837
|
include: {
|
|
4017
3838
|
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
@@ -4071,10 +3892,10 @@ export declare const sObjectDelete: z.ZodUnion<[z.ZodObject<{
|
|
|
4071
3892
|
firstName: string;
|
|
4072
3893
|
lastName: string;
|
|
4073
3894
|
avatarId: string | null;
|
|
4074
|
-
validFrom: string | null;
|
|
4075
|
-
validTo: string | null;
|
|
4076
3895
|
accessSuspended: boolean;
|
|
4077
3896
|
staffMember: boolean;
|
|
3897
|
+
validFrom: string | null;
|
|
3898
|
+
validTo: string | null;
|
|
4078
3899
|
credentials: {
|
|
4079
3900
|
type: "card" | "pin" | "fingerprint";
|
|
4080
3901
|
value: string | Record<string, unknown>;
|
|
@@ -4088,10 +3909,10 @@ export declare const sObjectDelete: z.ZodUnion<[z.ZodObject<{
|
|
|
4088
3909
|
firstName: string;
|
|
4089
3910
|
lastName: string;
|
|
4090
3911
|
avatarId: string | null;
|
|
4091
|
-
validFrom: string | null;
|
|
4092
|
-
validTo: string | null;
|
|
4093
3912
|
accessSuspended: boolean;
|
|
4094
3913
|
staffMember: boolean;
|
|
3914
|
+
validFrom: string | null;
|
|
3915
|
+
validTo: string | null;
|
|
4095
3916
|
credentials: {
|
|
4096
3917
|
type: "card" | "pin" | "fingerprint";
|
|
4097
3918
|
value: string | Record<string, unknown>;
|
|
@@ -4102,18 +3923,18 @@ export declare const sObjectDelete: z.ZodUnion<[z.ZodObject<{
|
|
|
4102
3923
|
}>;
|
|
4103
3924
|
}, "strip", z.ZodTypeAny, {
|
|
4104
3925
|
kind: "delete";
|
|
4105
|
-
objectId: string;
|
|
4106
3926
|
objectKind: "person";
|
|
3927
|
+
objectId: string;
|
|
4107
3928
|
original: {
|
|
4108
3929
|
type: string;
|
|
4109
3930
|
position: string | null;
|
|
4110
3931
|
firstName: string;
|
|
4111
3932
|
lastName: string;
|
|
4112
3933
|
avatarId: string | null;
|
|
4113
|
-
validFrom: string | null;
|
|
4114
|
-
validTo: string | null;
|
|
4115
3934
|
accessSuspended: boolean;
|
|
4116
3935
|
staffMember: boolean;
|
|
3936
|
+
validFrom: string | null;
|
|
3937
|
+
validTo: string | null;
|
|
4117
3938
|
credentials: {
|
|
4118
3939
|
type: "card" | "pin" | "fingerprint";
|
|
4119
3940
|
value: string | Record<string, unknown>;
|
|
@@ -4124,18 +3945,18 @@ export declare const sObjectDelete: z.ZodUnion<[z.ZodObject<{
|
|
|
4124
3945
|
};
|
|
4125
3946
|
}, {
|
|
4126
3947
|
kind: "delete";
|
|
4127
|
-
objectId: string;
|
|
4128
3948
|
objectKind: "person";
|
|
3949
|
+
objectId: string;
|
|
4129
3950
|
original: {
|
|
4130
3951
|
type: string;
|
|
4131
3952
|
position: string | null;
|
|
4132
3953
|
firstName: string;
|
|
4133
3954
|
lastName: string;
|
|
4134
3955
|
avatarId: string | null;
|
|
4135
|
-
validFrom: string | null;
|
|
4136
|
-
validTo: string | null;
|
|
4137
3956
|
accessSuspended: boolean;
|
|
4138
3957
|
staffMember: boolean;
|
|
3958
|
+
validFrom: string | null;
|
|
3959
|
+
validTo: string | null;
|
|
4139
3960
|
credentials: {
|
|
4140
3961
|
type: "card" | "pin" | "fingerprint";
|
|
4141
3962
|
value: string | Record<string, unknown>;
|
|
@@ -4160,16 +3981,16 @@ export declare const sObjectDelete: z.ZodUnion<[z.ZodObject<{
|
|
|
4160
3981
|
}>;
|
|
4161
3982
|
}, "strip", z.ZodTypeAny, {
|
|
4162
3983
|
kind: "delete";
|
|
4163
|
-
objectId: string;
|
|
4164
3984
|
objectKind: "zone";
|
|
3985
|
+
objectId: string;
|
|
4165
3986
|
original: {
|
|
4166
3987
|
displayName: string;
|
|
4167
3988
|
devices: string[];
|
|
4168
3989
|
};
|
|
4169
3990
|
}, {
|
|
4170
3991
|
kind: "delete";
|
|
4171
|
-
objectId: string;
|
|
4172
3992
|
objectKind: "zone";
|
|
3993
|
+
objectId: string;
|
|
4173
3994
|
original: {
|
|
4174
3995
|
displayName: string;
|
|
4175
3996
|
devices: string[];
|
|
@@ -4228,8 +4049,8 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
4228
4049
|
}>;
|
|
4229
4050
|
}, "strip", z.ZodTypeAny, {
|
|
4230
4051
|
kind: "merge";
|
|
4231
|
-
objectId: string;
|
|
4232
4052
|
objectKind: "accessRule";
|
|
4053
|
+
objectId: string;
|
|
4233
4054
|
original: null;
|
|
4234
4055
|
props: {
|
|
4235
4056
|
displayName: string;
|
|
@@ -4245,8 +4066,8 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
4245
4066
|
};
|
|
4246
4067
|
}, {
|
|
4247
4068
|
kind: "merge";
|
|
4248
|
-
objectId: string;
|
|
4249
4069
|
objectKind: "accessRule";
|
|
4070
|
+
objectId: string;
|
|
4250
4071
|
original: null;
|
|
4251
4072
|
props: {
|
|
4252
4073
|
displayName: string;
|
|
@@ -4358,8 +4179,8 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
4358
4179
|
}>;
|
|
4359
4180
|
}, "strip", z.ZodTypeAny, {
|
|
4360
4181
|
kind: "merge";
|
|
4361
|
-
objectId: string;
|
|
4362
4182
|
objectKind: "accessRule";
|
|
4183
|
+
objectId: string;
|
|
4363
4184
|
original: {
|
|
4364
4185
|
displayName: string;
|
|
4365
4186
|
appliedTo: string[];
|
|
@@ -4386,8 +4207,8 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
4386
4207
|
};
|
|
4387
4208
|
}, {
|
|
4388
4209
|
kind: "merge";
|
|
4389
|
-
objectId: string;
|
|
4390
4210
|
objectKind: "accessRule";
|
|
4211
|
+
objectId: string;
|
|
4391
4212
|
original: {
|
|
4392
4213
|
displayName: string;
|
|
4393
4214
|
appliedTo: string[];
|
|
@@ -4541,8 +4362,8 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
4541
4362
|
}>;
|
|
4542
4363
|
}, "strip", z.ZodTypeAny, {
|
|
4543
4364
|
kind: "merge";
|
|
4544
|
-
objectId: string;
|
|
4545
4365
|
objectKind: "schedule";
|
|
4366
|
+
objectId: string;
|
|
4546
4367
|
original: null;
|
|
4547
4368
|
props: {
|
|
4548
4369
|
include: {
|
|
@@ -4570,8 +4391,8 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
4570
4391
|
};
|
|
4571
4392
|
}, {
|
|
4572
4393
|
kind: "merge";
|
|
4573
|
-
objectId: string;
|
|
4574
4394
|
objectKind: "schedule";
|
|
4395
|
+
objectId: string;
|
|
4575
4396
|
original: null;
|
|
4576
4397
|
props: {
|
|
4577
4398
|
include: {
|
|
@@ -4847,8 +4668,8 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
4847
4668
|
}>;
|
|
4848
4669
|
}, "strip", z.ZodTypeAny, {
|
|
4849
4670
|
kind: "merge";
|
|
4850
|
-
objectId: string;
|
|
4851
4671
|
objectKind: "schedule";
|
|
4672
|
+
objectId: string;
|
|
4852
4673
|
original: {
|
|
4853
4674
|
include: {
|
|
4854
4675
|
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
@@ -4899,8 +4720,8 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
4899
4720
|
};
|
|
4900
4721
|
}, {
|
|
4901
4722
|
kind: "merge";
|
|
4902
|
-
objectId: string;
|
|
4903
4723
|
objectKind: "schedule";
|
|
4724
|
+
objectId: string;
|
|
4904
4725
|
original: {
|
|
4905
4726
|
include: {
|
|
4906
4727
|
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
@@ -4985,10 +4806,10 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
4985
4806
|
firstName: string;
|
|
4986
4807
|
lastName: string;
|
|
4987
4808
|
avatarId: string | null;
|
|
4988
|
-
validFrom: string | null;
|
|
4989
|
-
validTo: string | null;
|
|
4990
4809
|
accessSuspended: boolean;
|
|
4991
4810
|
staffMember: boolean;
|
|
4811
|
+
validFrom: string | null;
|
|
4812
|
+
validTo: string | null;
|
|
4992
4813
|
credentials: {
|
|
4993
4814
|
type: "card" | "pin" | "fingerprint";
|
|
4994
4815
|
value: string | Record<string, unknown>;
|
|
@@ -5002,10 +4823,10 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5002
4823
|
firstName: string;
|
|
5003
4824
|
lastName: string;
|
|
5004
4825
|
avatarId: string | null;
|
|
5005
|
-
validFrom: string | null;
|
|
5006
|
-
validTo: string | null;
|
|
5007
4826
|
accessSuspended: boolean;
|
|
5008
4827
|
staffMember: boolean;
|
|
4828
|
+
validFrom: string | null;
|
|
4829
|
+
validTo: string | null;
|
|
5009
4830
|
credentials: {
|
|
5010
4831
|
type: "card" | "pin" | "fingerprint";
|
|
5011
4832
|
value: string | Record<string, unknown>;
|
|
@@ -5016,8 +4837,8 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5016
4837
|
}>;
|
|
5017
4838
|
}, "strip", z.ZodTypeAny, {
|
|
5018
4839
|
kind: "merge";
|
|
5019
|
-
objectId: string;
|
|
5020
4840
|
objectKind: "person";
|
|
4841
|
+
objectId: string;
|
|
5021
4842
|
original: null;
|
|
5022
4843
|
props: {
|
|
5023
4844
|
type: string;
|
|
@@ -5025,10 +4846,10 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5025
4846
|
firstName: string;
|
|
5026
4847
|
lastName: string;
|
|
5027
4848
|
avatarId: string | null;
|
|
5028
|
-
validFrom: string | null;
|
|
5029
|
-
validTo: string | null;
|
|
5030
4849
|
accessSuspended: boolean;
|
|
5031
4850
|
staffMember: boolean;
|
|
4851
|
+
validFrom: string | null;
|
|
4852
|
+
validTo: string | null;
|
|
5032
4853
|
credentials: {
|
|
5033
4854
|
type: "card" | "pin" | "fingerprint";
|
|
5034
4855
|
value: string | Record<string, unknown>;
|
|
@@ -5039,8 +4860,8 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5039
4860
|
};
|
|
5040
4861
|
}, {
|
|
5041
4862
|
kind: "merge";
|
|
5042
|
-
objectId: string;
|
|
5043
4863
|
objectKind: "person";
|
|
4864
|
+
objectId: string;
|
|
5044
4865
|
original: null;
|
|
5045
4866
|
props: {
|
|
5046
4867
|
type: string;
|
|
@@ -5048,10 +4869,10 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5048
4869
|
firstName: string;
|
|
5049
4870
|
lastName: string;
|
|
5050
4871
|
avatarId: string | null;
|
|
5051
|
-
validFrom: string | null;
|
|
5052
|
-
validTo: string | null;
|
|
5053
4872
|
accessSuspended: boolean;
|
|
5054
4873
|
staffMember: boolean;
|
|
4874
|
+
validFrom: string | null;
|
|
4875
|
+
validTo: string | null;
|
|
5055
4876
|
credentials: {
|
|
5056
4877
|
type: "card" | "pin" | "fingerprint";
|
|
5057
4878
|
value: string | Record<string, unknown>;
|
|
@@ -5095,10 +4916,10 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5095
4916
|
firstName: string;
|
|
5096
4917
|
lastName: string;
|
|
5097
4918
|
avatarId: string | null;
|
|
5098
|
-
validFrom: string | null;
|
|
5099
|
-
validTo: string | null;
|
|
5100
4919
|
accessSuspended: boolean;
|
|
5101
4920
|
staffMember: boolean;
|
|
4921
|
+
validFrom: string | null;
|
|
4922
|
+
validTo: string | null;
|
|
5102
4923
|
credentials: {
|
|
5103
4924
|
type: "card" | "pin" | "fingerprint";
|
|
5104
4925
|
value: string | Record<string, unknown>;
|
|
@@ -5112,10 +4933,10 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5112
4933
|
firstName: string;
|
|
5113
4934
|
lastName: string;
|
|
5114
4935
|
avatarId: string | null;
|
|
5115
|
-
validFrom: string | null;
|
|
5116
|
-
validTo: string | null;
|
|
5117
4936
|
accessSuspended: boolean;
|
|
5118
4937
|
staffMember: boolean;
|
|
4938
|
+
validFrom: string | null;
|
|
4939
|
+
validTo: string | null;
|
|
5119
4940
|
credentials: {
|
|
5120
4941
|
type: "card" | "pin" | "fingerprint";
|
|
5121
4942
|
value: string | Record<string, unknown>;
|
|
@@ -5155,10 +4976,10 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5155
4976
|
firstName?: string | undefined;
|
|
5156
4977
|
lastName?: string | undefined;
|
|
5157
4978
|
avatarId?: string | null | undefined;
|
|
5158
|
-
validFrom?: string | null | undefined;
|
|
5159
|
-
validTo?: string | null | undefined;
|
|
5160
4979
|
accessSuspended?: boolean | undefined;
|
|
5161
4980
|
staffMember?: boolean | undefined;
|
|
4981
|
+
validFrom?: string | null | undefined;
|
|
4982
|
+
validTo?: string | null | undefined;
|
|
5162
4983
|
credentials?: {
|
|
5163
4984
|
type: "card" | "pin" | "fingerprint";
|
|
5164
4985
|
value: string | Record<string, unknown>;
|
|
@@ -5172,10 +4993,10 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5172
4993
|
firstName?: string | undefined;
|
|
5173
4994
|
lastName?: string | undefined;
|
|
5174
4995
|
avatarId?: string | null | undefined;
|
|
5175
|
-
validFrom?: string | null | undefined;
|
|
5176
|
-
validTo?: string | null | undefined;
|
|
5177
4996
|
accessSuspended?: boolean | undefined;
|
|
5178
4997
|
staffMember?: boolean | undefined;
|
|
4998
|
+
validFrom?: string | null | undefined;
|
|
4999
|
+
validTo?: string | null | undefined;
|
|
5179
5000
|
credentials?: {
|
|
5180
5001
|
type: "card" | "pin" | "fingerprint";
|
|
5181
5002
|
value: string | Record<string, unknown>;
|
|
@@ -5186,18 +5007,18 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5186
5007
|
}>;
|
|
5187
5008
|
}, "strip", z.ZodTypeAny, {
|
|
5188
5009
|
kind: "merge";
|
|
5189
|
-
objectId: string;
|
|
5190
5010
|
objectKind: "person";
|
|
5011
|
+
objectId: string;
|
|
5191
5012
|
original: {
|
|
5192
5013
|
type: string;
|
|
5193
5014
|
position: string | null;
|
|
5194
5015
|
firstName: string;
|
|
5195
5016
|
lastName: string;
|
|
5196
5017
|
avatarId: string | null;
|
|
5197
|
-
validFrom: string | null;
|
|
5198
|
-
validTo: string | null;
|
|
5199
5018
|
accessSuspended: boolean;
|
|
5200
5019
|
staffMember: boolean;
|
|
5020
|
+
validFrom: string | null;
|
|
5021
|
+
validTo: string | null;
|
|
5201
5022
|
credentials: {
|
|
5202
5023
|
type: "card" | "pin" | "fingerprint";
|
|
5203
5024
|
value: string | Record<string, unknown>;
|
|
@@ -5212,10 +5033,10 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5212
5033
|
firstName?: string | undefined;
|
|
5213
5034
|
lastName?: string | undefined;
|
|
5214
5035
|
avatarId?: string | null | undefined;
|
|
5215
|
-
validFrom?: string | null | undefined;
|
|
5216
|
-
validTo?: string | null | undefined;
|
|
5217
5036
|
accessSuspended?: boolean | undefined;
|
|
5218
5037
|
staffMember?: boolean | undefined;
|
|
5038
|
+
validFrom?: string | null | undefined;
|
|
5039
|
+
validTo?: string | null | undefined;
|
|
5219
5040
|
credentials?: {
|
|
5220
5041
|
type: "card" | "pin" | "fingerprint";
|
|
5221
5042
|
value: string | Record<string, unknown>;
|
|
@@ -5226,18 +5047,18 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5226
5047
|
};
|
|
5227
5048
|
}, {
|
|
5228
5049
|
kind: "merge";
|
|
5229
|
-
objectId: string;
|
|
5230
5050
|
objectKind: "person";
|
|
5051
|
+
objectId: string;
|
|
5231
5052
|
original: {
|
|
5232
5053
|
type: string;
|
|
5233
5054
|
position: string | null;
|
|
5234
5055
|
firstName: string;
|
|
5235
5056
|
lastName: string;
|
|
5236
5057
|
avatarId: string | null;
|
|
5237
|
-
validFrom: string | null;
|
|
5238
|
-
validTo: string | null;
|
|
5239
5058
|
accessSuspended: boolean;
|
|
5240
5059
|
staffMember: boolean;
|
|
5060
|
+
validFrom: string | null;
|
|
5061
|
+
validTo: string | null;
|
|
5241
5062
|
credentials: {
|
|
5242
5063
|
type: "card" | "pin" | "fingerprint";
|
|
5243
5064
|
value: string | Record<string, unknown>;
|
|
@@ -5252,10 +5073,10 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5252
5073
|
firstName?: string | undefined;
|
|
5253
5074
|
lastName?: string | undefined;
|
|
5254
5075
|
avatarId?: string | null | undefined;
|
|
5255
|
-
validFrom?: string | null | undefined;
|
|
5256
|
-
validTo?: string | null | undefined;
|
|
5257
5076
|
accessSuspended?: boolean | undefined;
|
|
5258
5077
|
staffMember?: boolean | undefined;
|
|
5078
|
+
validFrom?: string | null | undefined;
|
|
5079
|
+
validTo?: string | null | undefined;
|
|
5259
5080
|
credentials?: {
|
|
5260
5081
|
type: "card" | "pin" | "fingerprint";
|
|
5261
5082
|
value: string | Record<string, unknown>;
|
|
@@ -5281,8 +5102,8 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5281
5102
|
}>;
|
|
5282
5103
|
}, "strip", z.ZodTypeAny, {
|
|
5283
5104
|
kind: "merge";
|
|
5284
|
-
objectId: string;
|
|
5285
5105
|
objectKind: "zone";
|
|
5106
|
+
objectId: string;
|
|
5286
5107
|
original: null;
|
|
5287
5108
|
props: {
|
|
5288
5109
|
displayName: string;
|
|
@@ -5290,8 +5111,8 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5290
5111
|
};
|
|
5291
5112
|
}, {
|
|
5292
5113
|
kind: "merge";
|
|
5293
|
-
objectId: string;
|
|
5294
5114
|
objectKind: "zone";
|
|
5115
|
+
objectId: string;
|
|
5295
5116
|
original: null;
|
|
5296
5117
|
props: {
|
|
5297
5118
|
displayName: string;
|
|
@@ -5323,8 +5144,8 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5323
5144
|
}>;
|
|
5324
5145
|
}, "strip", z.ZodTypeAny, {
|
|
5325
5146
|
kind: "merge";
|
|
5326
|
-
objectId: string;
|
|
5327
5147
|
objectKind: "zone";
|
|
5148
|
+
objectId: string;
|
|
5328
5149
|
original: {
|
|
5329
5150
|
displayName: string;
|
|
5330
5151
|
devices: string[];
|
|
@@ -5335,8 +5156,8 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5335
5156
|
};
|
|
5336
5157
|
}, {
|
|
5337
5158
|
kind: "merge";
|
|
5338
|
-
objectId: string;
|
|
5339
5159
|
objectKind: "zone";
|
|
5160
|
+
objectId: string;
|
|
5340
5161
|
original: {
|
|
5341
5162
|
displayName: string;
|
|
5342
5163
|
devices: string[];
|
|
@@ -5397,8 +5218,8 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5397
5218
|
}>;
|
|
5398
5219
|
}, "strip", z.ZodTypeAny, {
|
|
5399
5220
|
kind: "delete";
|
|
5400
|
-
objectId: string;
|
|
5401
5221
|
objectKind: "accessRule";
|
|
5222
|
+
objectId: string;
|
|
5402
5223
|
original: {
|
|
5403
5224
|
displayName: string;
|
|
5404
5225
|
appliedTo: string[];
|
|
@@ -5413,8 +5234,8 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5413
5234
|
};
|
|
5414
5235
|
}, {
|
|
5415
5236
|
kind: "delete";
|
|
5416
|
-
objectId: string;
|
|
5417
5237
|
objectKind: "accessRule";
|
|
5238
|
+
objectId: string;
|
|
5418
5239
|
original: {
|
|
5419
5240
|
displayName: string;
|
|
5420
5241
|
appliedTo: string[];
|
|
@@ -5555,8 +5376,8 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5555
5376
|
}>;
|
|
5556
5377
|
}, "strip", z.ZodTypeAny, {
|
|
5557
5378
|
kind: "delete";
|
|
5558
|
-
objectId: string;
|
|
5559
5379
|
objectKind: "schedule";
|
|
5380
|
+
objectId: string;
|
|
5560
5381
|
original: {
|
|
5561
5382
|
include: {
|
|
5562
5383
|
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
@@ -5583,8 +5404,8 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5583
5404
|
};
|
|
5584
5405
|
}, {
|
|
5585
5406
|
kind: "delete";
|
|
5586
|
-
objectId: string;
|
|
5587
5407
|
objectKind: "schedule";
|
|
5408
|
+
objectId: string;
|
|
5588
5409
|
original: {
|
|
5589
5410
|
include: {
|
|
5590
5411
|
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
@@ -5644,10 +5465,10 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5644
5465
|
firstName: string;
|
|
5645
5466
|
lastName: string;
|
|
5646
5467
|
avatarId: string | null;
|
|
5647
|
-
validFrom: string | null;
|
|
5648
|
-
validTo: string | null;
|
|
5649
5468
|
accessSuspended: boolean;
|
|
5650
5469
|
staffMember: boolean;
|
|
5470
|
+
validFrom: string | null;
|
|
5471
|
+
validTo: string | null;
|
|
5651
5472
|
credentials: {
|
|
5652
5473
|
type: "card" | "pin" | "fingerprint";
|
|
5653
5474
|
value: string | Record<string, unknown>;
|
|
@@ -5661,10 +5482,10 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5661
5482
|
firstName: string;
|
|
5662
5483
|
lastName: string;
|
|
5663
5484
|
avatarId: string | null;
|
|
5664
|
-
validFrom: string | null;
|
|
5665
|
-
validTo: string | null;
|
|
5666
5485
|
accessSuspended: boolean;
|
|
5667
5486
|
staffMember: boolean;
|
|
5487
|
+
validFrom: string | null;
|
|
5488
|
+
validTo: string | null;
|
|
5668
5489
|
credentials: {
|
|
5669
5490
|
type: "card" | "pin" | "fingerprint";
|
|
5670
5491
|
value: string | Record<string, unknown>;
|
|
@@ -5675,18 +5496,18 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5675
5496
|
}>;
|
|
5676
5497
|
}, "strip", z.ZodTypeAny, {
|
|
5677
5498
|
kind: "delete";
|
|
5678
|
-
objectId: string;
|
|
5679
5499
|
objectKind: "person";
|
|
5500
|
+
objectId: string;
|
|
5680
5501
|
original: {
|
|
5681
5502
|
type: string;
|
|
5682
5503
|
position: string | null;
|
|
5683
5504
|
firstName: string;
|
|
5684
5505
|
lastName: string;
|
|
5685
5506
|
avatarId: string | null;
|
|
5686
|
-
validFrom: string | null;
|
|
5687
|
-
validTo: string | null;
|
|
5688
5507
|
accessSuspended: boolean;
|
|
5689
5508
|
staffMember: boolean;
|
|
5509
|
+
validFrom: string | null;
|
|
5510
|
+
validTo: string | null;
|
|
5690
5511
|
credentials: {
|
|
5691
5512
|
type: "card" | "pin" | "fingerprint";
|
|
5692
5513
|
value: string | Record<string, unknown>;
|
|
@@ -5697,18 +5518,18 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5697
5518
|
};
|
|
5698
5519
|
}, {
|
|
5699
5520
|
kind: "delete";
|
|
5700
|
-
objectId: string;
|
|
5701
5521
|
objectKind: "person";
|
|
5522
|
+
objectId: string;
|
|
5702
5523
|
original: {
|
|
5703
5524
|
type: string;
|
|
5704
5525
|
position: string | null;
|
|
5705
5526
|
firstName: string;
|
|
5706
5527
|
lastName: string;
|
|
5707
5528
|
avatarId: string | null;
|
|
5708
|
-
validFrom: string | null;
|
|
5709
|
-
validTo: string | null;
|
|
5710
5529
|
accessSuspended: boolean;
|
|
5711
5530
|
staffMember: boolean;
|
|
5531
|
+
validFrom: string | null;
|
|
5532
|
+
validTo: string | null;
|
|
5712
5533
|
credentials: {
|
|
5713
5534
|
type: "card" | "pin" | "fingerprint";
|
|
5714
5535
|
value: string | Record<string, unknown>;
|
|
@@ -5733,16 +5554,16 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5733
5554
|
}>;
|
|
5734
5555
|
}, "strip", z.ZodTypeAny, {
|
|
5735
5556
|
kind: "delete";
|
|
5736
|
-
objectId: string;
|
|
5737
5557
|
objectKind: "zone";
|
|
5558
|
+
objectId: string;
|
|
5738
5559
|
original: {
|
|
5739
5560
|
displayName: string;
|
|
5740
5561
|
devices: string[];
|
|
5741
5562
|
};
|
|
5742
5563
|
}, {
|
|
5743
5564
|
kind: "delete";
|
|
5744
|
-
objectId: string;
|
|
5745
5565
|
objectKind: "zone";
|
|
5566
|
+
objectId: string;
|
|
5746
5567
|
original: {
|
|
5747
5568
|
displayName: string;
|
|
5748
5569
|
devices: string[];
|
|
@@ -5808,8 +5629,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
5808
5629
|
}>;
|
|
5809
5630
|
}, "strip", z.ZodTypeAny, {
|
|
5810
5631
|
kind: "merge";
|
|
5811
|
-
objectId: string;
|
|
5812
5632
|
objectKind: "accessRule";
|
|
5633
|
+
objectId: string;
|
|
5813
5634
|
original: null;
|
|
5814
5635
|
props: {
|
|
5815
5636
|
displayName: string;
|
|
@@ -5825,8 +5646,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
5825
5646
|
};
|
|
5826
5647
|
}, {
|
|
5827
5648
|
kind: "merge";
|
|
5828
|
-
objectId: string;
|
|
5829
5649
|
objectKind: "accessRule";
|
|
5650
|
+
objectId: string;
|
|
5830
5651
|
original: null;
|
|
5831
5652
|
props: {
|
|
5832
5653
|
displayName: string;
|
|
@@ -5938,8 +5759,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
5938
5759
|
}>;
|
|
5939
5760
|
}, "strip", z.ZodTypeAny, {
|
|
5940
5761
|
kind: "merge";
|
|
5941
|
-
objectId: string;
|
|
5942
5762
|
objectKind: "accessRule";
|
|
5763
|
+
objectId: string;
|
|
5943
5764
|
original: {
|
|
5944
5765
|
displayName: string;
|
|
5945
5766
|
appliedTo: string[];
|
|
@@ -5966,8 +5787,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
5966
5787
|
};
|
|
5967
5788
|
}, {
|
|
5968
5789
|
kind: "merge";
|
|
5969
|
-
objectId: string;
|
|
5970
5790
|
objectKind: "accessRule";
|
|
5791
|
+
objectId: string;
|
|
5971
5792
|
original: {
|
|
5972
5793
|
displayName: string;
|
|
5973
5794
|
appliedTo: string[];
|
|
@@ -6121,8 +5942,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
6121
5942
|
}>;
|
|
6122
5943
|
}, "strip", z.ZodTypeAny, {
|
|
6123
5944
|
kind: "merge";
|
|
6124
|
-
objectId: string;
|
|
6125
5945
|
objectKind: "schedule";
|
|
5946
|
+
objectId: string;
|
|
6126
5947
|
original: null;
|
|
6127
5948
|
props: {
|
|
6128
5949
|
include: {
|
|
@@ -6150,8 +5971,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
6150
5971
|
};
|
|
6151
5972
|
}, {
|
|
6152
5973
|
kind: "merge";
|
|
6153
|
-
objectId: string;
|
|
6154
5974
|
objectKind: "schedule";
|
|
5975
|
+
objectId: string;
|
|
6155
5976
|
original: null;
|
|
6156
5977
|
props: {
|
|
6157
5978
|
include: {
|
|
@@ -6427,8 +6248,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
6427
6248
|
}>;
|
|
6428
6249
|
}, "strip", z.ZodTypeAny, {
|
|
6429
6250
|
kind: "merge";
|
|
6430
|
-
objectId: string;
|
|
6431
6251
|
objectKind: "schedule";
|
|
6252
|
+
objectId: string;
|
|
6432
6253
|
original: {
|
|
6433
6254
|
include: {
|
|
6434
6255
|
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
@@ -6479,8 +6300,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
6479
6300
|
};
|
|
6480
6301
|
}, {
|
|
6481
6302
|
kind: "merge";
|
|
6482
|
-
objectId: string;
|
|
6483
6303
|
objectKind: "schedule";
|
|
6304
|
+
objectId: string;
|
|
6484
6305
|
original: {
|
|
6485
6306
|
include: {
|
|
6486
6307
|
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
@@ -6565,10 +6386,10 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
6565
6386
|
firstName: string;
|
|
6566
6387
|
lastName: string;
|
|
6567
6388
|
avatarId: string | null;
|
|
6568
|
-
validFrom: string | null;
|
|
6569
|
-
validTo: string | null;
|
|
6570
6389
|
accessSuspended: boolean;
|
|
6571
6390
|
staffMember: boolean;
|
|
6391
|
+
validFrom: string | null;
|
|
6392
|
+
validTo: string | null;
|
|
6572
6393
|
credentials: {
|
|
6573
6394
|
type: "card" | "pin" | "fingerprint";
|
|
6574
6395
|
value: string | Record<string, unknown>;
|
|
@@ -6582,10 +6403,10 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
6582
6403
|
firstName: string;
|
|
6583
6404
|
lastName: string;
|
|
6584
6405
|
avatarId: string | null;
|
|
6585
|
-
validFrom: string | null;
|
|
6586
|
-
validTo: string | null;
|
|
6587
6406
|
accessSuspended: boolean;
|
|
6588
6407
|
staffMember: boolean;
|
|
6408
|
+
validFrom: string | null;
|
|
6409
|
+
validTo: string | null;
|
|
6589
6410
|
credentials: {
|
|
6590
6411
|
type: "card" | "pin" | "fingerprint";
|
|
6591
6412
|
value: string | Record<string, unknown>;
|
|
@@ -6596,8 +6417,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
6596
6417
|
}>;
|
|
6597
6418
|
}, "strip", z.ZodTypeAny, {
|
|
6598
6419
|
kind: "merge";
|
|
6599
|
-
objectId: string;
|
|
6600
6420
|
objectKind: "person";
|
|
6421
|
+
objectId: string;
|
|
6601
6422
|
original: null;
|
|
6602
6423
|
props: {
|
|
6603
6424
|
type: string;
|
|
@@ -6605,10 +6426,10 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
6605
6426
|
firstName: string;
|
|
6606
6427
|
lastName: string;
|
|
6607
6428
|
avatarId: string | null;
|
|
6608
|
-
validFrom: string | null;
|
|
6609
|
-
validTo: string | null;
|
|
6610
6429
|
accessSuspended: boolean;
|
|
6611
6430
|
staffMember: boolean;
|
|
6431
|
+
validFrom: string | null;
|
|
6432
|
+
validTo: string | null;
|
|
6612
6433
|
credentials: {
|
|
6613
6434
|
type: "card" | "pin" | "fingerprint";
|
|
6614
6435
|
value: string | Record<string, unknown>;
|
|
@@ -6619,8 +6440,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
6619
6440
|
};
|
|
6620
6441
|
}, {
|
|
6621
6442
|
kind: "merge";
|
|
6622
|
-
objectId: string;
|
|
6623
6443
|
objectKind: "person";
|
|
6444
|
+
objectId: string;
|
|
6624
6445
|
original: null;
|
|
6625
6446
|
props: {
|
|
6626
6447
|
type: string;
|
|
@@ -6628,10 +6449,10 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
6628
6449
|
firstName: string;
|
|
6629
6450
|
lastName: string;
|
|
6630
6451
|
avatarId: string | null;
|
|
6631
|
-
validFrom: string | null;
|
|
6632
|
-
validTo: string | null;
|
|
6633
6452
|
accessSuspended: boolean;
|
|
6634
6453
|
staffMember: boolean;
|
|
6454
|
+
validFrom: string | null;
|
|
6455
|
+
validTo: string | null;
|
|
6635
6456
|
credentials: {
|
|
6636
6457
|
type: "card" | "pin" | "fingerprint";
|
|
6637
6458
|
value: string | Record<string, unknown>;
|
|
@@ -6675,10 +6496,10 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
6675
6496
|
firstName: string;
|
|
6676
6497
|
lastName: string;
|
|
6677
6498
|
avatarId: string | null;
|
|
6678
|
-
validFrom: string | null;
|
|
6679
|
-
validTo: string | null;
|
|
6680
6499
|
accessSuspended: boolean;
|
|
6681
6500
|
staffMember: boolean;
|
|
6501
|
+
validFrom: string | null;
|
|
6502
|
+
validTo: string | null;
|
|
6682
6503
|
credentials: {
|
|
6683
6504
|
type: "card" | "pin" | "fingerprint";
|
|
6684
6505
|
value: string | Record<string, unknown>;
|
|
@@ -6692,10 +6513,10 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
6692
6513
|
firstName: string;
|
|
6693
6514
|
lastName: string;
|
|
6694
6515
|
avatarId: string | null;
|
|
6695
|
-
validFrom: string | null;
|
|
6696
|
-
validTo: string | null;
|
|
6697
6516
|
accessSuspended: boolean;
|
|
6698
6517
|
staffMember: boolean;
|
|
6518
|
+
validFrom: string | null;
|
|
6519
|
+
validTo: string | null;
|
|
6699
6520
|
credentials: {
|
|
6700
6521
|
type: "card" | "pin" | "fingerprint";
|
|
6701
6522
|
value: string | Record<string, unknown>;
|
|
@@ -6735,10 +6556,10 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
6735
6556
|
firstName?: string | undefined;
|
|
6736
6557
|
lastName?: string | undefined;
|
|
6737
6558
|
avatarId?: string | null | undefined;
|
|
6738
|
-
validFrom?: string | null | undefined;
|
|
6739
|
-
validTo?: string | null | undefined;
|
|
6740
6559
|
accessSuspended?: boolean | undefined;
|
|
6741
6560
|
staffMember?: boolean | undefined;
|
|
6561
|
+
validFrom?: string | null | undefined;
|
|
6562
|
+
validTo?: string | null | undefined;
|
|
6742
6563
|
credentials?: {
|
|
6743
6564
|
type: "card" | "pin" | "fingerprint";
|
|
6744
6565
|
value: string | Record<string, unknown>;
|
|
@@ -6752,10 +6573,10 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
6752
6573
|
firstName?: string | undefined;
|
|
6753
6574
|
lastName?: string | undefined;
|
|
6754
6575
|
avatarId?: string | null | undefined;
|
|
6755
|
-
validFrom?: string | null | undefined;
|
|
6756
|
-
validTo?: string | null | undefined;
|
|
6757
6576
|
accessSuspended?: boolean | undefined;
|
|
6758
6577
|
staffMember?: boolean | undefined;
|
|
6578
|
+
validFrom?: string | null | undefined;
|
|
6579
|
+
validTo?: string | null | undefined;
|
|
6759
6580
|
credentials?: {
|
|
6760
6581
|
type: "card" | "pin" | "fingerprint";
|
|
6761
6582
|
value: string | Record<string, unknown>;
|
|
@@ -6766,18 +6587,18 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
6766
6587
|
}>;
|
|
6767
6588
|
}, "strip", z.ZodTypeAny, {
|
|
6768
6589
|
kind: "merge";
|
|
6769
|
-
objectId: string;
|
|
6770
6590
|
objectKind: "person";
|
|
6591
|
+
objectId: string;
|
|
6771
6592
|
original: {
|
|
6772
6593
|
type: string;
|
|
6773
6594
|
position: string | null;
|
|
6774
6595
|
firstName: string;
|
|
6775
6596
|
lastName: string;
|
|
6776
6597
|
avatarId: string | null;
|
|
6777
|
-
validFrom: string | null;
|
|
6778
|
-
validTo: string | null;
|
|
6779
6598
|
accessSuspended: boolean;
|
|
6780
6599
|
staffMember: boolean;
|
|
6600
|
+
validFrom: string | null;
|
|
6601
|
+
validTo: string | null;
|
|
6781
6602
|
credentials: {
|
|
6782
6603
|
type: "card" | "pin" | "fingerprint";
|
|
6783
6604
|
value: string | Record<string, unknown>;
|
|
@@ -6792,10 +6613,10 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
6792
6613
|
firstName?: string | undefined;
|
|
6793
6614
|
lastName?: string | undefined;
|
|
6794
6615
|
avatarId?: string | null | undefined;
|
|
6795
|
-
validFrom?: string | null | undefined;
|
|
6796
|
-
validTo?: string | null | undefined;
|
|
6797
6616
|
accessSuspended?: boolean | undefined;
|
|
6798
6617
|
staffMember?: boolean | undefined;
|
|
6618
|
+
validFrom?: string | null | undefined;
|
|
6619
|
+
validTo?: string | null | undefined;
|
|
6799
6620
|
credentials?: {
|
|
6800
6621
|
type: "card" | "pin" | "fingerprint";
|
|
6801
6622
|
value: string | Record<string, unknown>;
|
|
@@ -6806,18 +6627,18 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
6806
6627
|
};
|
|
6807
6628
|
}, {
|
|
6808
6629
|
kind: "merge";
|
|
6809
|
-
objectId: string;
|
|
6810
6630
|
objectKind: "person";
|
|
6631
|
+
objectId: string;
|
|
6811
6632
|
original: {
|
|
6812
6633
|
type: string;
|
|
6813
6634
|
position: string | null;
|
|
6814
6635
|
firstName: string;
|
|
6815
6636
|
lastName: string;
|
|
6816
6637
|
avatarId: string | null;
|
|
6817
|
-
validFrom: string | null;
|
|
6818
|
-
validTo: string | null;
|
|
6819
6638
|
accessSuspended: boolean;
|
|
6820
6639
|
staffMember: boolean;
|
|
6640
|
+
validFrom: string | null;
|
|
6641
|
+
validTo: string | null;
|
|
6821
6642
|
credentials: {
|
|
6822
6643
|
type: "card" | "pin" | "fingerprint";
|
|
6823
6644
|
value: string | Record<string, unknown>;
|
|
@@ -6832,10 +6653,10 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
6832
6653
|
firstName?: string | undefined;
|
|
6833
6654
|
lastName?: string | undefined;
|
|
6834
6655
|
avatarId?: string | null | undefined;
|
|
6835
|
-
validFrom?: string | null | undefined;
|
|
6836
|
-
validTo?: string | null | undefined;
|
|
6837
6656
|
accessSuspended?: boolean | undefined;
|
|
6838
6657
|
staffMember?: boolean | undefined;
|
|
6658
|
+
validFrom?: string | null | undefined;
|
|
6659
|
+
validTo?: string | null | undefined;
|
|
6839
6660
|
credentials?: {
|
|
6840
6661
|
type: "card" | "pin" | "fingerprint";
|
|
6841
6662
|
value: string | Record<string, unknown>;
|
|
@@ -6861,8 +6682,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
6861
6682
|
}>;
|
|
6862
6683
|
}, "strip", z.ZodTypeAny, {
|
|
6863
6684
|
kind: "merge";
|
|
6864
|
-
objectId: string;
|
|
6865
6685
|
objectKind: "zone";
|
|
6686
|
+
objectId: string;
|
|
6866
6687
|
original: null;
|
|
6867
6688
|
props: {
|
|
6868
6689
|
displayName: string;
|
|
@@ -6870,8 +6691,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
6870
6691
|
};
|
|
6871
6692
|
}, {
|
|
6872
6693
|
kind: "merge";
|
|
6873
|
-
objectId: string;
|
|
6874
6694
|
objectKind: "zone";
|
|
6695
|
+
objectId: string;
|
|
6875
6696
|
original: null;
|
|
6876
6697
|
props: {
|
|
6877
6698
|
displayName: string;
|
|
@@ -6903,8 +6724,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
6903
6724
|
}>;
|
|
6904
6725
|
}, "strip", z.ZodTypeAny, {
|
|
6905
6726
|
kind: "merge";
|
|
6906
|
-
objectId: string;
|
|
6907
6727
|
objectKind: "zone";
|
|
6728
|
+
objectId: string;
|
|
6908
6729
|
original: {
|
|
6909
6730
|
displayName: string;
|
|
6910
6731
|
devices: string[];
|
|
@@ -6915,8 +6736,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
6915
6736
|
};
|
|
6916
6737
|
}, {
|
|
6917
6738
|
kind: "merge";
|
|
6918
|
-
objectId: string;
|
|
6919
6739
|
objectKind: "zone";
|
|
6740
|
+
objectId: string;
|
|
6920
6741
|
original: {
|
|
6921
6742
|
displayName: string;
|
|
6922
6743
|
devices: string[];
|
|
@@ -6977,8 +6798,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
6977
6798
|
}>;
|
|
6978
6799
|
}, "strip", z.ZodTypeAny, {
|
|
6979
6800
|
kind: "delete";
|
|
6980
|
-
objectId: string;
|
|
6981
6801
|
objectKind: "accessRule";
|
|
6802
|
+
objectId: string;
|
|
6982
6803
|
original: {
|
|
6983
6804
|
displayName: string;
|
|
6984
6805
|
appliedTo: string[];
|
|
@@ -6993,8 +6814,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
6993
6814
|
};
|
|
6994
6815
|
}, {
|
|
6995
6816
|
kind: "delete";
|
|
6996
|
-
objectId: string;
|
|
6997
6817
|
objectKind: "accessRule";
|
|
6818
|
+
objectId: string;
|
|
6998
6819
|
original: {
|
|
6999
6820
|
displayName: string;
|
|
7000
6821
|
appliedTo: string[];
|
|
@@ -7135,8 +6956,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7135
6956
|
}>;
|
|
7136
6957
|
}, "strip", z.ZodTypeAny, {
|
|
7137
6958
|
kind: "delete";
|
|
7138
|
-
objectId: string;
|
|
7139
6959
|
objectKind: "schedule";
|
|
6960
|
+
objectId: string;
|
|
7140
6961
|
original: {
|
|
7141
6962
|
include: {
|
|
7142
6963
|
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
@@ -7163,8 +6984,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7163
6984
|
};
|
|
7164
6985
|
}, {
|
|
7165
6986
|
kind: "delete";
|
|
7166
|
-
objectId: string;
|
|
7167
6987
|
objectKind: "schedule";
|
|
6988
|
+
objectId: string;
|
|
7168
6989
|
original: {
|
|
7169
6990
|
include: {
|
|
7170
6991
|
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
@@ -7224,10 +7045,10 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7224
7045
|
firstName: string;
|
|
7225
7046
|
lastName: string;
|
|
7226
7047
|
avatarId: string | null;
|
|
7227
|
-
validFrom: string | null;
|
|
7228
|
-
validTo: string | null;
|
|
7229
7048
|
accessSuspended: boolean;
|
|
7230
7049
|
staffMember: boolean;
|
|
7050
|
+
validFrom: string | null;
|
|
7051
|
+
validTo: string | null;
|
|
7231
7052
|
credentials: {
|
|
7232
7053
|
type: "card" | "pin" | "fingerprint";
|
|
7233
7054
|
value: string | Record<string, unknown>;
|
|
@@ -7241,10 +7062,10 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7241
7062
|
firstName: string;
|
|
7242
7063
|
lastName: string;
|
|
7243
7064
|
avatarId: string | null;
|
|
7244
|
-
validFrom: string | null;
|
|
7245
|
-
validTo: string | null;
|
|
7246
7065
|
accessSuspended: boolean;
|
|
7247
7066
|
staffMember: boolean;
|
|
7067
|
+
validFrom: string | null;
|
|
7068
|
+
validTo: string | null;
|
|
7248
7069
|
credentials: {
|
|
7249
7070
|
type: "card" | "pin" | "fingerprint";
|
|
7250
7071
|
value: string | Record<string, unknown>;
|
|
@@ -7255,18 +7076,18 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7255
7076
|
}>;
|
|
7256
7077
|
}, "strip", z.ZodTypeAny, {
|
|
7257
7078
|
kind: "delete";
|
|
7258
|
-
objectId: string;
|
|
7259
7079
|
objectKind: "person";
|
|
7080
|
+
objectId: string;
|
|
7260
7081
|
original: {
|
|
7261
7082
|
type: string;
|
|
7262
7083
|
position: string | null;
|
|
7263
7084
|
firstName: string;
|
|
7264
7085
|
lastName: string;
|
|
7265
7086
|
avatarId: string | null;
|
|
7266
|
-
validFrom: string | null;
|
|
7267
|
-
validTo: string | null;
|
|
7268
7087
|
accessSuspended: boolean;
|
|
7269
7088
|
staffMember: boolean;
|
|
7089
|
+
validFrom: string | null;
|
|
7090
|
+
validTo: string | null;
|
|
7270
7091
|
credentials: {
|
|
7271
7092
|
type: "card" | "pin" | "fingerprint";
|
|
7272
7093
|
value: string | Record<string, unknown>;
|
|
@@ -7277,18 +7098,18 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7277
7098
|
};
|
|
7278
7099
|
}, {
|
|
7279
7100
|
kind: "delete";
|
|
7280
|
-
objectId: string;
|
|
7281
7101
|
objectKind: "person";
|
|
7102
|
+
objectId: string;
|
|
7282
7103
|
original: {
|
|
7283
7104
|
type: string;
|
|
7284
7105
|
position: string | null;
|
|
7285
7106
|
firstName: string;
|
|
7286
7107
|
lastName: string;
|
|
7287
7108
|
avatarId: string | null;
|
|
7288
|
-
validFrom: string | null;
|
|
7289
|
-
validTo: string | null;
|
|
7290
7109
|
accessSuspended: boolean;
|
|
7291
7110
|
staffMember: boolean;
|
|
7111
|
+
validFrom: string | null;
|
|
7112
|
+
validTo: string | null;
|
|
7292
7113
|
credentials: {
|
|
7293
7114
|
type: "card" | "pin" | "fingerprint";
|
|
7294
7115
|
value: string | Record<string, unknown>;
|
|
@@ -7313,16 +7134,16 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7313
7134
|
}>;
|
|
7314
7135
|
}, "strip", z.ZodTypeAny, {
|
|
7315
7136
|
kind: "delete";
|
|
7316
|
-
objectId: string;
|
|
7317
7137
|
objectKind: "zone";
|
|
7138
|
+
objectId: string;
|
|
7318
7139
|
original: {
|
|
7319
7140
|
displayName: string;
|
|
7320
7141
|
devices: string[];
|
|
7321
7142
|
};
|
|
7322
7143
|
}, {
|
|
7323
7144
|
kind: "delete";
|
|
7324
|
-
objectId: string;
|
|
7325
7145
|
objectKind: "zone";
|
|
7146
|
+
objectId: string;
|
|
7326
7147
|
original: {
|
|
7327
7148
|
displayName: string;
|
|
7328
7149
|
devices: string[];
|
|
@@ -7330,13 +7151,13 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7330
7151
|
}>]>]>, "many">;
|
|
7331
7152
|
}, "strip", z.ZodTypeAny, {
|
|
7332
7153
|
kind: "validate-change";
|
|
7333
|
-
provider: string;
|
|
7334
7154
|
devices: Record<string, Record<string, unknown>>;
|
|
7155
|
+
provider: string;
|
|
7335
7156
|
refMap: Record<string, Record<string, string[]>>;
|
|
7336
7157
|
mutations: ({
|
|
7337
7158
|
kind: "merge";
|
|
7338
|
-
objectId: string;
|
|
7339
7159
|
objectKind: "accessRule";
|
|
7160
|
+
objectId: string;
|
|
7340
7161
|
original: null;
|
|
7341
7162
|
props: {
|
|
7342
7163
|
displayName: string;
|
|
@@ -7352,8 +7173,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7352
7173
|
};
|
|
7353
7174
|
} | {
|
|
7354
7175
|
kind: "merge";
|
|
7355
|
-
objectId: string;
|
|
7356
7176
|
objectKind: "accessRule";
|
|
7177
|
+
objectId: string;
|
|
7357
7178
|
original: {
|
|
7358
7179
|
displayName: string;
|
|
7359
7180
|
appliedTo: string[];
|
|
@@ -7380,8 +7201,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7380
7201
|
};
|
|
7381
7202
|
} | {
|
|
7382
7203
|
kind: "merge";
|
|
7383
|
-
objectId: string;
|
|
7384
7204
|
objectKind: "schedule";
|
|
7205
|
+
objectId: string;
|
|
7385
7206
|
original: null;
|
|
7386
7207
|
props: {
|
|
7387
7208
|
include: {
|
|
@@ -7409,8 +7230,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7409
7230
|
};
|
|
7410
7231
|
} | {
|
|
7411
7232
|
kind: "merge";
|
|
7412
|
-
objectId: string;
|
|
7413
7233
|
objectKind: "schedule";
|
|
7234
|
+
objectId: string;
|
|
7414
7235
|
original: {
|
|
7415
7236
|
include: {
|
|
7416
7237
|
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
@@ -7461,8 +7282,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7461
7282
|
};
|
|
7462
7283
|
} | {
|
|
7463
7284
|
kind: "merge";
|
|
7464
|
-
objectId: string;
|
|
7465
7285
|
objectKind: "person";
|
|
7286
|
+
objectId: string;
|
|
7466
7287
|
original: null;
|
|
7467
7288
|
props: {
|
|
7468
7289
|
type: string;
|
|
@@ -7470,10 +7291,10 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7470
7291
|
firstName: string;
|
|
7471
7292
|
lastName: string;
|
|
7472
7293
|
avatarId: string | null;
|
|
7473
|
-
validFrom: string | null;
|
|
7474
|
-
validTo: string | null;
|
|
7475
7294
|
accessSuspended: boolean;
|
|
7476
7295
|
staffMember: boolean;
|
|
7296
|
+
validFrom: string | null;
|
|
7297
|
+
validTo: string | null;
|
|
7477
7298
|
credentials: {
|
|
7478
7299
|
type: "card" | "pin" | "fingerprint";
|
|
7479
7300
|
value: string | Record<string, unknown>;
|
|
@@ -7484,18 +7305,18 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7484
7305
|
};
|
|
7485
7306
|
} | {
|
|
7486
7307
|
kind: "merge";
|
|
7487
|
-
objectId: string;
|
|
7488
7308
|
objectKind: "person";
|
|
7309
|
+
objectId: string;
|
|
7489
7310
|
original: {
|
|
7490
7311
|
type: string;
|
|
7491
7312
|
position: string | null;
|
|
7492
7313
|
firstName: string;
|
|
7493
7314
|
lastName: string;
|
|
7494
7315
|
avatarId: string | null;
|
|
7495
|
-
validFrom: string | null;
|
|
7496
|
-
validTo: string | null;
|
|
7497
7316
|
accessSuspended: boolean;
|
|
7498
7317
|
staffMember: boolean;
|
|
7318
|
+
validFrom: string | null;
|
|
7319
|
+
validTo: string | null;
|
|
7499
7320
|
credentials: {
|
|
7500
7321
|
type: "card" | "pin" | "fingerprint";
|
|
7501
7322
|
value: string | Record<string, unknown>;
|
|
@@ -7510,10 +7331,10 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7510
7331
|
firstName?: string | undefined;
|
|
7511
7332
|
lastName?: string | undefined;
|
|
7512
7333
|
avatarId?: string | null | undefined;
|
|
7513
|
-
validFrom?: string | null | undefined;
|
|
7514
|
-
validTo?: string | null | undefined;
|
|
7515
7334
|
accessSuspended?: boolean | undefined;
|
|
7516
7335
|
staffMember?: boolean | undefined;
|
|
7336
|
+
validFrom?: string | null | undefined;
|
|
7337
|
+
validTo?: string | null | undefined;
|
|
7517
7338
|
credentials?: {
|
|
7518
7339
|
type: "card" | "pin" | "fingerprint";
|
|
7519
7340
|
value: string | Record<string, unknown>;
|
|
@@ -7524,8 +7345,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7524
7345
|
};
|
|
7525
7346
|
} | {
|
|
7526
7347
|
kind: "merge";
|
|
7527
|
-
objectId: string;
|
|
7528
7348
|
objectKind: "zone";
|
|
7349
|
+
objectId: string;
|
|
7529
7350
|
original: null;
|
|
7530
7351
|
props: {
|
|
7531
7352
|
displayName: string;
|
|
@@ -7533,8 +7354,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7533
7354
|
};
|
|
7534
7355
|
} | {
|
|
7535
7356
|
kind: "merge";
|
|
7536
|
-
objectId: string;
|
|
7537
7357
|
objectKind: "zone";
|
|
7358
|
+
objectId: string;
|
|
7538
7359
|
original: {
|
|
7539
7360
|
displayName: string;
|
|
7540
7361
|
devices: string[];
|
|
@@ -7545,8 +7366,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7545
7366
|
};
|
|
7546
7367
|
} | {
|
|
7547
7368
|
kind: "delete";
|
|
7548
|
-
objectId: string;
|
|
7549
7369
|
objectKind: "accessRule";
|
|
7370
|
+
objectId: string;
|
|
7550
7371
|
original: {
|
|
7551
7372
|
displayName: string;
|
|
7552
7373
|
appliedTo: string[];
|
|
@@ -7561,8 +7382,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7561
7382
|
};
|
|
7562
7383
|
} | {
|
|
7563
7384
|
kind: "delete";
|
|
7564
|
-
objectId: string;
|
|
7565
7385
|
objectKind: "schedule";
|
|
7386
|
+
objectId: string;
|
|
7566
7387
|
original: {
|
|
7567
7388
|
include: {
|
|
7568
7389
|
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
@@ -7589,18 +7410,18 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7589
7410
|
};
|
|
7590
7411
|
} | {
|
|
7591
7412
|
kind: "delete";
|
|
7592
|
-
objectId: string;
|
|
7593
7413
|
objectKind: "person";
|
|
7414
|
+
objectId: string;
|
|
7594
7415
|
original: {
|
|
7595
7416
|
type: string;
|
|
7596
7417
|
position: string | null;
|
|
7597
7418
|
firstName: string;
|
|
7598
7419
|
lastName: string;
|
|
7599
7420
|
avatarId: string | null;
|
|
7600
|
-
validFrom: string | null;
|
|
7601
|
-
validTo: string | null;
|
|
7602
7421
|
accessSuspended: boolean;
|
|
7603
7422
|
staffMember: boolean;
|
|
7423
|
+
validFrom: string | null;
|
|
7424
|
+
validTo: string | null;
|
|
7604
7425
|
credentials: {
|
|
7605
7426
|
type: "card" | "pin" | "fingerprint";
|
|
7606
7427
|
value: string | Record<string, unknown>;
|
|
@@ -7611,8 +7432,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7611
7432
|
};
|
|
7612
7433
|
} | {
|
|
7613
7434
|
kind: "delete";
|
|
7614
|
-
objectId: string;
|
|
7615
7435
|
objectKind: "zone";
|
|
7436
|
+
objectId: string;
|
|
7616
7437
|
original: {
|
|
7617
7438
|
displayName: string;
|
|
7618
7439
|
devices: string[];
|
|
@@ -7620,13 +7441,13 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7620
7441
|
})[];
|
|
7621
7442
|
}, {
|
|
7622
7443
|
kind: "validate-change";
|
|
7623
|
-
provider: string;
|
|
7624
7444
|
devices: Record<string, Record<string, unknown>>;
|
|
7445
|
+
provider: string;
|
|
7625
7446
|
refMap: Record<string, Record<string, string[]>>;
|
|
7626
7447
|
mutations: ({
|
|
7627
7448
|
kind: "merge";
|
|
7628
|
-
objectId: string;
|
|
7629
7449
|
objectKind: "accessRule";
|
|
7450
|
+
objectId: string;
|
|
7630
7451
|
original: null;
|
|
7631
7452
|
props: {
|
|
7632
7453
|
displayName: string;
|
|
@@ -7642,8 +7463,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7642
7463
|
};
|
|
7643
7464
|
} | {
|
|
7644
7465
|
kind: "merge";
|
|
7645
|
-
objectId: string;
|
|
7646
7466
|
objectKind: "accessRule";
|
|
7467
|
+
objectId: string;
|
|
7647
7468
|
original: {
|
|
7648
7469
|
displayName: string;
|
|
7649
7470
|
appliedTo: string[];
|
|
@@ -7670,8 +7491,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7670
7491
|
};
|
|
7671
7492
|
} | {
|
|
7672
7493
|
kind: "merge";
|
|
7673
|
-
objectId: string;
|
|
7674
7494
|
objectKind: "schedule";
|
|
7495
|
+
objectId: string;
|
|
7675
7496
|
original: null;
|
|
7676
7497
|
props: {
|
|
7677
7498
|
include: {
|
|
@@ -7699,8 +7520,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7699
7520
|
};
|
|
7700
7521
|
} | {
|
|
7701
7522
|
kind: "merge";
|
|
7702
|
-
objectId: string;
|
|
7703
7523
|
objectKind: "schedule";
|
|
7524
|
+
objectId: string;
|
|
7704
7525
|
original: {
|
|
7705
7526
|
include: {
|
|
7706
7527
|
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
@@ -7751,8 +7572,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7751
7572
|
};
|
|
7752
7573
|
} | {
|
|
7753
7574
|
kind: "merge";
|
|
7754
|
-
objectId: string;
|
|
7755
7575
|
objectKind: "person";
|
|
7576
|
+
objectId: string;
|
|
7756
7577
|
original: null;
|
|
7757
7578
|
props: {
|
|
7758
7579
|
type: string;
|
|
@@ -7760,10 +7581,10 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7760
7581
|
firstName: string;
|
|
7761
7582
|
lastName: string;
|
|
7762
7583
|
avatarId: string | null;
|
|
7763
|
-
validFrom: string | null;
|
|
7764
|
-
validTo: string | null;
|
|
7765
7584
|
accessSuspended: boolean;
|
|
7766
7585
|
staffMember: boolean;
|
|
7586
|
+
validFrom: string | null;
|
|
7587
|
+
validTo: string | null;
|
|
7767
7588
|
credentials: {
|
|
7768
7589
|
type: "card" | "pin" | "fingerprint";
|
|
7769
7590
|
value: string | Record<string, unknown>;
|
|
@@ -7774,18 +7595,18 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7774
7595
|
};
|
|
7775
7596
|
} | {
|
|
7776
7597
|
kind: "merge";
|
|
7777
|
-
objectId: string;
|
|
7778
7598
|
objectKind: "person";
|
|
7599
|
+
objectId: string;
|
|
7779
7600
|
original: {
|
|
7780
7601
|
type: string;
|
|
7781
7602
|
position: string | null;
|
|
7782
7603
|
firstName: string;
|
|
7783
7604
|
lastName: string;
|
|
7784
7605
|
avatarId: string | null;
|
|
7785
|
-
validFrom: string | null;
|
|
7786
|
-
validTo: string | null;
|
|
7787
7606
|
accessSuspended: boolean;
|
|
7788
7607
|
staffMember: boolean;
|
|
7608
|
+
validFrom: string | null;
|
|
7609
|
+
validTo: string | null;
|
|
7789
7610
|
credentials: {
|
|
7790
7611
|
type: "card" | "pin" | "fingerprint";
|
|
7791
7612
|
value: string | Record<string, unknown>;
|
|
@@ -7800,10 +7621,10 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7800
7621
|
firstName?: string | undefined;
|
|
7801
7622
|
lastName?: string | undefined;
|
|
7802
7623
|
avatarId?: string | null | undefined;
|
|
7803
|
-
validFrom?: string | null | undefined;
|
|
7804
|
-
validTo?: string | null | undefined;
|
|
7805
7624
|
accessSuspended?: boolean | undefined;
|
|
7806
7625
|
staffMember?: boolean | undefined;
|
|
7626
|
+
validFrom?: string | null | undefined;
|
|
7627
|
+
validTo?: string | null | undefined;
|
|
7807
7628
|
credentials?: {
|
|
7808
7629
|
type: "card" | "pin" | "fingerprint";
|
|
7809
7630
|
value: string | Record<string, unknown>;
|
|
@@ -7814,8 +7635,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7814
7635
|
};
|
|
7815
7636
|
} | {
|
|
7816
7637
|
kind: "merge";
|
|
7817
|
-
objectId: string;
|
|
7818
7638
|
objectKind: "zone";
|
|
7639
|
+
objectId: string;
|
|
7819
7640
|
original: null;
|
|
7820
7641
|
props: {
|
|
7821
7642
|
displayName: string;
|
|
@@ -7823,8 +7644,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7823
7644
|
};
|
|
7824
7645
|
} | {
|
|
7825
7646
|
kind: "merge";
|
|
7826
|
-
objectId: string;
|
|
7827
7647
|
objectKind: "zone";
|
|
7648
|
+
objectId: string;
|
|
7828
7649
|
original: {
|
|
7829
7650
|
displayName: string;
|
|
7830
7651
|
devices: string[];
|
|
@@ -7835,8 +7656,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7835
7656
|
};
|
|
7836
7657
|
} | {
|
|
7837
7658
|
kind: "delete";
|
|
7838
|
-
objectId: string;
|
|
7839
7659
|
objectKind: "accessRule";
|
|
7660
|
+
objectId: string;
|
|
7840
7661
|
original: {
|
|
7841
7662
|
displayName: string;
|
|
7842
7663
|
appliedTo: string[];
|
|
@@ -7851,8 +7672,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7851
7672
|
};
|
|
7852
7673
|
} | {
|
|
7853
7674
|
kind: "delete";
|
|
7854
|
-
objectId: string;
|
|
7855
7675
|
objectKind: "schedule";
|
|
7676
|
+
objectId: string;
|
|
7856
7677
|
original: {
|
|
7857
7678
|
include: {
|
|
7858
7679
|
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
@@ -7879,18 +7700,18 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7879
7700
|
};
|
|
7880
7701
|
} | {
|
|
7881
7702
|
kind: "delete";
|
|
7882
|
-
objectId: string;
|
|
7883
7703
|
objectKind: "person";
|
|
7704
|
+
objectId: string;
|
|
7884
7705
|
original: {
|
|
7885
7706
|
type: string;
|
|
7886
7707
|
position: string | null;
|
|
7887
7708
|
firstName: string;
|
|
7888
7709
|
lastName: string;
|
|
7889
7710
|
avatarId: string | null;
|
|
7890
|
-
validFrom: string | null;
|
|
7891
|
-
validTo: string | null;
|
|
7892
7711
|
accessSuspended: boolean;
|
|
7893
7712
|
staffMember: boolean;
|
|
7713
|
+
validFrom: string | null;
|
|
7714
|
+
validTo: string | null;
|
|
7894
7715
|
credentials: {
|
|
7895
7716
|
type: "card" | "pin" | "fingerprint";
|
|
7896
7717
|
value: string | Record<string, unknown>;
|
|
@@ -7901,8 +7722,8 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
7901
7722
|
};
|
|
7902
7723
|
} | {
|
|
7903
7724
|
kind: "delete";
|
|
7904
|
-
objectId: string;
|
|
7905
7725
|
objectKind: "zone";
|
|
7726
|
+
objectId: string;
|
|
7906
7727
|
original: {
|
|
7907
7728
|
displayName: string;
|
|
7908
7729
|
devices: string[];
|
|
@@ -7919,18 +7740,18 @@ export declare const sChangeIssue: z.ZodObject<{
|
|
|
7919
7740
|
message: z.ZodOptional<z.ZodString>;
|
|
7920
7741
|
}, "strip", z.ZodTypeAny, {
|
|
7921
7742
|
index?: number | undefined;
|
|
7922
|
-
code?: "BAD_REFERENCE" | "
|
|
7743
|
+
code?: "BAD_REFERENCE" | "NOT_SUPPORTED" | "NOT_FOUND" | "NOT_UNIQUE" | "INVALID" | undefined;
|
|
7923
7744
|
message?: string | undefined;
|
|
7924
7745
|
path?: string | undefined;
|
|
7746
|
+
objectKind?: "person" | "zone" | "schedule" | "device" | "accessRule" | undefined;
|
|
7925
7747
|
objectId?: string | undefined;
|
|
7926
|
-
objectKind?: "person" | "zone" | "accessRule" | "schedule" | "device" | undefined;
|
|
7927
7748
|
}, {
|
|
7928
7749
|
index?: number | undefined;
|
|
7929
|
-
code?: "BAD_REFERENCE" | "
|
|
7750
|
+
code?: "BAD_REFERENCE" | "NOT_SUPPORTED" | "NOT_FOUND" | "NOT_UNIQUE" | "INVALID" | undefined;
|
|
7930
7751
|
message?: string | undefined;
|
|
7931
7752
|
path?: string | undefined;
|
|
7753
|
+
objectKind?: "person" | "zone" | "schedule" | "device" | "accessRule" | undefined;
|
|
7932
7754
|
objectId?: string | undefined;
|
|
7933
|
-
objectKind?: "person" | "zone" | "accessRule" | "schedule" | "device" | undefined;
|
|
7934
7755
|
}>;
|
|
7935
7756
|
export declare const sValidateChangeRs: z.ZodIntersection<z.ZodObject<{
|
|
7936
7757
|
requestId: z.ZodString;
|
|
@@ -7951,36 +7772,36 @@ export declare const sValidateChangeRs: z.ZodIntersection<z.ZodObject<{
|
|
|
7951
7772
|
message: z.ZodOptional<z.ZodString>;
|
|
7952
7773
|
}, "strip", z.ZodTypeAny, {
|
|
7953
7774
|
index?: number | undefined;
|
|
7954
|
-
code?: "BAD_REFERENCE" | "
|
|
7775
|
+
code?: "BAD_REFERENCE" | "NOT_SUPPORTED" | "NOT_FOUND" | "NOT_UNIQUE" | "INVALID" | undefined;
|
|
7955
7776
|
message?: string | undefined;
|
|
7956
7777
|
path?: string | undefined;
|
|
7778
|
+
objectKind?: "person" | "zone" | "schedule" | "device" | "accessRule" | undefined;
|
|
7957
7779
|
objectId?: string | undefined;
|
|
7958
|
-
objectKind?: "person" | "zone" | "accessRule" | "schedule" | "device" | undefined;
|
|
7959
7780
|
}, {
|
|
7960
7781
|
index?: number | undefined;
|
|
7961
|
-
code?: "BAD_REFERENCE" | "
|
|
7782
|
+
code?: "BAD_REFERENCE" | "NOT_SUPPORTED" | "NOT_FOUND" | "NOT_UNIQUE" | "INVALID" | undefined;
|
|
7962
7783
|
message?: string | undefined;
|
|
7963
7784
|
path?: string | undefined;
|
|
7785
|
+
objectKind?: "person" | "zone" | "schedule" | "device" | "accessRule" | undefined;
|
|
7964
7786
|
objectId?: string | undefined;
|
|
7965
|
-
objectKind?: "person" | "zone" | "accessRule" | "schedule" | "device" | undefined;
|
|
7966
7787
|
}>, "many">;
|
|
7967
7788
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
7968
7789
|
issues: {
|
|
7969
7790
|
index?: number | undefined;
|
|
7970
|
-
code?: "BAD_REFERENCE" | "
|
|
7791
|
+
code?: "BAD_REFERENCE" | "NOT_SUPPORTED" | "NOT_FOUND" | "NOT_UNIQUE" | "INVALID" | undefined;
|
|
7971
7792
|
message?: string | undefined;
|
|
7972
7793
|
path?: string | undefined;
|
|
7794
|
+
objectKind?: "person" | "zone" | "schedule" | "device" | "accessRule" | undefined;
|
|
7973
7795
|
objectId?: string | undefined;
|
|
7974
|
-
objectKind?: "person" | "zone" | "accessRule" | "schedule" | "device" | undefined;
|
|
7975
7796
|
}[];
|
|
7976
7797
|
}, {
|
|
7977
7798
|
issues: {
|
|
7978
7799
|
index?: number | undefined;
|
|
7979
|
-
code?: "BAD_REFERENCE" | "
|
|
7800
|
+
code?: "BAD_REFERENCE" | "NOT_SUPPORTED" | "NOT_FOUND" | "NOT_UNIQUE" | "INVALID" | undefined;
|
|
7980
7801
|
message?: string | undefined;
|
|
7981
7802
|
path?: string | undefined;
|
|
7803
|
+
objectKind?: "person" | "zone" | "schedule" | "device" | "accessRule" | undefined;
|
|
7982
7804
|
objectId?: string | undefined;
|
|
7983
|
-
objectKind?: "person" | "zone" | "accessRule" | "schedule" | "device" | undefined;
|
|
7984
7805
|
}[];
|
|
7985
7806
|
}>>;
|
|
7986
7807
|
export declare const sApplyChange: z.ZodObject<{
|
|
@@ -8041,8 +7862,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
8041
7862
|
}>;
|
|
8042
7863
|
}, "strip", z.ZodTypeAny, {
|
|
8043
7864
|
kind: "merge";
|
|
8044
|
-
objectId: string;
|
|
8045
7865
|
objectKind: "accessRule";
|
|
7866
|
+
objectId: string;
|
|
8046
7867
|
original: null;
|
|
8047
7868
|
props: {
|
|
8048
7869
|
displayName: string;
|
|
@@ -8058,8 +7879,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
8058
7879
|
};
|
|
8059
7880
|
}, {
|
|
8060
7881
|
kind: "merge";
|
|
8061
|
-
objectId: string;
|
|
8062
7882
|
objectKind: "accessRule";
|
|
7883
|
+
objectId: string;
|
|
8063
7884
|
original: null;
|
|
8064
7885
|
props: {
|
|
8065
7886
|
displayName: string;
|
|
@@ -8171,8 +7992,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
8171
7992
|
}>;
|
|
8172
7993
|
}, "strip", z.ZodTypeAny, {
|
|
8173
7994
|
kind: "merge";
|
|
8174
|
-
objectId: string;
|
|
8175
7995
|
objectKind: "accessRule";
|
|
7996
|
+
objectId: string;
|
|
8176
7997
|
original: {
|
|
8177
7998
|
displayName: string;
|
|
8178
7999
|
appliedTo: string[];
|
|
@@ -8199,8 +8020,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
8199
8020
|
};
|
|
8200
8021
|
}, {
|
|
8201
8022
|
kind: "merge";
|
|
8202
|
-
objectId: string;
|
|
8203
8023
|
objectKind: "accessRule";
|
|
8024
|
+
objectId: string;
|
|
8204
8025
|
original: {
|
|
8205
8026
|
displayName: string;
|
|
8206
8027
|
appliedTo: string[];
|
|
@@ -8354,8 +8175,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
8354
8175
|
}>;
|
|
8355
8176
|
}, "strip", z.ZodTypeAny, {
|
|
8356
8177
|
kind: "merge";
|
|
8357
|
-
objectId: string;
|
|
8358
8178
|
objectKind: "schedule";
|
|
8179
|
+
objectId: string;
|
|
8359
8180
|
original: null;
|
|
8360
8181
|
props: {
|
|
8361
8182
|
include: {
|
|
@@ -8383,8 +8204,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
8383
8204
|
};
|
|
8384
8205
|
}, {
|
|
8385
8206
|
kind: "merge";
|
|
8386
|
-
objectId: string;
|
|
8387
8207
|
objectKind: "schedule";
|
|
8208
|
+
objectId: string;
|
|
8388
8209
|
original: null;
|
|
8389
8210
|
props: {
|
|
8390
8211
|
include: {
|
|
@@ -8660,8 +8481,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
8660
8481
|
}>;
|
|
8661
8482
|
}, "strip", z.ZodTypeAny, {
|
|
8662
8483
|
kind: "merge";
|
|
8663
|
-
objectId: string;
|
|
8664
8484
|
objectKind: "schedule";
|
|
8485
|
+
objectId: string;
|
|
8665
8486
|
original: {
|
|
8666
8487
|
include: {
|
|
8667
8488
|
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
@@ -8712,8 +8533,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
8712
8533
|
};
|
|
8713
8534
|
}, {
|
|
8714
8535
|
kind: "merge";
|
|
8715
|
-
objectId: string;
|
|
8716
8536
|
objectKind: "schedule";
|
|
8537
|
+
objectId: string;
|
|
8717
8538
|
original: {
|
|
8718
8539
|
include: {
|
|
8719
8540
|
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
@@ -8798,10 +8619,10 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
8798
8619
|
firstName: string;
|
|
8799
8620
|
lastName: string;
|
|
8800
8621
|
avatarId: string | null;
|
|
8801
|
-
validFrom: string | null;
|
|
8802
|
-
validTo: string | null;
|
|
8803
8622
|
accessSuspended: boolean;
|
|
8804
8623
|
staffMember: boolean;
|
|
8624
|
+
validFrom: string | null;
|
|
8625
|
+
validTo: string | null;
|
|
8805
8626
|
credentials: {
|
|
8806
8627
|
type: "card" | "pin" | "fingerprint";
|
|
8807
8628
|
value: string | Record<string, unknown>;
|
|
@@ -8815,10 +8636,10 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
8815
8636
|
firstName: string;
|
|
8816
8637
|
lastName: string;
|
|
8817
8638
|
avatarId: string | null;
|
|
8818
|
-
validFrom: string | null;
|
|
8819
|
-
validTo: string | null;
|
|
8820
8639
|
accessSuspended: boolean;
|
|
8821
8640
|
staffMember: boolean;
|
|
8641
|
+
validFrom: string | null;
|
|
8642
|
+
validTo: string | null;
|
|
8822
8643
|
credentials: {
|
|
8823
8644
|
type: "card" | "pin" | "fingerprint";
|
|
8824
8645
|
value: string | Record<string, unknown>;
|
|
@@ -8829,8 +8650,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
8829
8650
|
}>;
|
|
8830
8651
|
}, "strip", z.ZodTypeAny, {
|
|
8831
8652
|
kind: "merge";
|
|
8832
|
-
objectId: string;
|
|
8833
8653
|
objectKind: "person";
|
|
8654
|
+
objectId: string;
|
|
8834
8655
|
original: null;
|
|
8835
8656
|
props: {
|
|
8836
8657
|
type: string;
|
|
@@ -8838,10 +8659,10 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
8838
8659
|
firstName: string;
|
|
8839
8660
|
lastName: string;
|
|
8840
8661
|
avatarId: string | null;
|
|
8841
|
-
validFrom: string | null;
|
|
8842
|
-
validTo: string | null;
|
|
8843
8662
|
accessSuspended: boolean;
|
|
8844
8663
|
staffMember: boolean;
|
|
8664
|
+
validFrom: string | null;
|
|
8665
|
+
validTo: string | null;
|
|
8845
8666
|
credentials: {
|
|
8846
8667
|
type: "card" | "pin" | "fingerprint";
|
|
8847
8668
|
value: string | Record<string, unknown>;
|
|
@@ -8852,8 +8673,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
8852
8673
|
};
|
|
8853
8674
|
}, {
|
|
8854
8675
|
kind: "merge";
|
|
8855
|
-
objectId: string;
|
|
8856
8676
|
objectKind: "person";
|
|
8677
|
+
objectId: string;
|
|
8857
8678
|
original: null;
|
|
8858
8679
|
props: {
|
|
8859
8680
|
type: string;
|
|
@@ -8861,10 +8682,10 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
8861
8682
|
firstName: string;
|
|
8862
8683
|
lastName: string;
|
|
8863
8684
|
avatarId: string | null;
|
|
8864
|
-
validFrom: string | null;
|
|
8865
|
-
validTo: string | null;
|
|
8866
8685
|
accessSuspended: boolean;
|
|
8867
8686
|
staffMember: boolean;
|
|
8687
|
+
validFrom: string | null;
|
|
8688
|
+
validTo: string | null;
|
|
8868
8689
|
credentials: {
|
|
8869
8690
|
type: "card" | "pin" | "fingerprint";
|
|
8870
8691
|
value: string | Record<string, unknown>;
|
|
@@ -8908,10 +8729,10 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
8908
8729
|
firstName: string;
|
|
8909
8730
|
lastName: string;
|
|
8910
8731
|
avatarId: string | null;
|
|
8911
|
-
validFrom: string | null;
|
|
8912
|
-
validTo: string | null;
|
|
8913
8732
|
accessSuspended: boolean;
|
|
8914
8733
|
staffMember: boolean;
|
|
8734
|
+
validFrom: string | null;
|
|
8735
|
+
validTo: string | null;
|
|
8915
8736
|
credentials: {
|
|
8916
8737
|
type: "card" | "pin" | "fingerprint";
|
|
8917
8738
|
value: string | Record<string, unknown>;
|
|
@@ -8925,10 +8746,10 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
8925
8746
|
firstName: string;
|
|
8926
8747
|
lastName: string;
|
|
8927
8748
|
avatarId: string | null;
|
|
8928
|
-
validFrom: string | null;
|
|
8929
|
-
validTo: string | null;
|
|
8930
8749
|
accessSuspended: boolean;
|
|
8931
8750
|
staffMember: boolean;
|
|
8751
|
+
validFrom: string | null;
|
|
8752
|
+
validTo: string | null;
|
|
8932
8753
|
credentials: {
|
|
8933
8754
|
type: "card" | "pin" | "fingerprint";
|
|
8934
8755
|
value: string | Record<string, unknown>;
|
|
@@ -8968,10 +8789,10 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
8968
8789
|
firstName?: string | undefined;
|
|
8969
8790
|
lastName?: string | undefined;
|
|
8970
8791
|
avatarId?: string | null | undefined;
|
|
8971
|
-
validFrom?: string | null | undefined;
|
|
8972
|
-
validTo?: string | null | undefined;
|
|
8973
8792
|
accessSuspended?: boolean | undefined;
|
|
8974
8793
|
staffMember?: boolean | undefined;
|
|
8794
|
+
validFrom?: string | null | undefined;
|
|
8795
|
+
validTo?: string | null | undefined;
|
|
8975
8796
|
credentials?: {
|
|
8976
8797
|
type: "card" | "pin" | "fingerprint";
|
|
8977
8798
|
value: string | Record<string, unknown>;
|
|
@@ -8985,10 +8806,10 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
8985
8806
|
firstName?: string | undefined;
|
|
8986
8807
|
lastName?: string | undefined;
|
|
8987
8808
|
avatarId?: string | null | undefined;
|
|
8988
|
-
validFrom?: string | null | undefined;
|
|
8989
|
-
validTo?: string | null | undefined;
|
|
8990
8809
|
accessSuspended?: boolean | undefined;
|
|
8991
8810
|
staffMember?: boolean | undefined;
|
|
8811
|
+
validFrom?: string | null | undefined;
|
|
8812
|
+
validTo?: string | null | undefined;
|
|
8992
8813
|
credentials?: {
|
|
8993
8814
|
type: "card" | "pin" | "fingerprint";
|
|
8994
8815
|
value: string | Record<string, unknown>;
|
|
@@ -8999,18 +8820,18 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
8999
8820
|
}>;
|
|
9000
8821
|
}, "strip", z.ZodTypeAny, {
|
|
9001
8822
|
kind: "merge";
|
|
9002
|
-
objectId: string;
|
|
9003
8823
|
objectKind: "person";
|
|
8824
|
+
objectId: string;
|
|
9004
8825
|
original: {
|
|
9005
8826
|
type: string;
|
|
9006
8827
|
position: string | null;
|
|
9007
8828
|
firstName: string;
|
|
9008
8829
|
lastName: string;
|
|
9009
8830
|
avatarId: string | null;
|
|
9010
|
-
validFrom: string | null;
|
|
9011
|
-
validTo: string | null;
|
|
9012
8831
|
accessSuspended: boolean;
|
|
9013
8832
|
staffMember: boolean;
|
|
8833
|
+
validFrom: string | null;
|
|
8834
|
+
validTo: string | null;
|
|
9014
8835
|
credentials: {
|
|
9015
8836
|
type: "card" | "pin" | "fingerprint";
|
|
9016
8837
|
value: string | Record<string, unknown>;
|
|
@@ -9025,10 +8846,10 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9025
8846
|
firstName?: string | undefined;
|
|
9026
8847
|
lastName?: string | undefined;
|
|
9027
8848
|
avatarId?: string | null | undefined;
|
|
9028
|
-
validFrom?: string | null | undefined;
|
|
9029
|
-
validTo?: string | null | undefined;
|
|
9030
8849
|
accessSuspended?: boolean | undefined;
|
|
9031
8850
|
staffMember?: boolean | undefined;
|
|
8851
|
+
validFrom?: string | null | undefined;
|
|
8852
|
+
validTo?: string | null | undefined;
|
|
9032
8853
|
credentials?: {
|
|
9033
8854
|
type: "card" | "pin" | "fingerprint";
|
|
9034
8855
|
value: string | Record<string, unknown>;
|
|
@@ -9039,18 +8860,18 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9039
8860
|
};
|
|
9040
8861
|
}, {
|
|
9041
8862
|
kind: "merge";
|
|
9042
|
-
objectId: string;
|
|
9043
8863
|
objectKind: "person";
|
|
8864
|
+
objectId: string;
|
|
9044
8865
|
original: {
|
|
9045
8866
|
type: string;
|
|
9046
8867
|
position: string | null;
|
|
9047
8868
|
firstName: string;
|
|
9048
8869
|
lastName: string;
|
|
9049
8870
|
avatarId: string | null;
|
|
9050
|
-
validFrom: string | null;
|
|
9051
|
-
validTo: string | null;
|
|
9052
8871
|
accessSuspended: boolean;
|
|
9053
8872
|
staffMember: boolean;
|
|
8873
|
+
validFrom: string | null;
|
|
8874
|
+
validTo: string | null;
|
|
9054
8875
|
credentials: {
|
|
9055
8876
|
type: "card" | "pin" | "fingerprint";
|
|
9056
8877
|
value: string | Record<string, unknown>;
|
|
@@ -9065,10 +8886,10 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9065
8886
|
firstName?: string | undefined;
|
|
9066
8887
|
lastName?: string | undefined;
|
|
9067
8888
|
avatarId?: string | null | undefined;
|
|
9068
|
-
validFrom?: string | null | undefined;
|
|
9069
|
-
validTo?: string | null | undefined;
|
|
9070
8889
|
accessSuspended?: boolean | undefined;
|
|
9071
8890
|
staffMember?: boolean | undefined;
|
|
8891
|
+
validFrom?: string | null | undefined;
|
|
8892
|
+
validTo?: string | null | undefined;
|
|
9072
8893
|
credentials?: {
|
|
9073
8894
|
type: "card" | "pin" | "fingerprint";
|
|
9074
8895
|
value: string | Record<string, unknown>;
|
|
@@ -9094,8 +8915,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9094
8915
|
}>;
|
|
9095
8916
|
}, "strip", z.ZodTypeAny, {
|
|
9096
8917
|
kind: "merge";
|
|
9097
|
-
objectId: string;
|
|
9098
8918
|
objectKind: "zone";
|
|
8919
|
+
objectId: string;
|
|
9099
8920
|
original: null;
|
|
9100
8921
|
props: {
|
|
9101
8922
|
displayName: string;
|
|
@@ -9103,8 +8924,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9103
8924
|
};
|
|
9104
8925
|
}, {
|
|
9105
8926
|
kind: "merge";
|
|
9106
|
-
objectId: string;
|
|
9107
8927
|
objectKind: "zone";
|
|
8928
|
+
objectId: string;
|
|
9108
8929
|
original: null;
|
|
9109
8930
|
props: {
|
|
9110
8931
|
displayName: string;
|
|
@@ -9136,8 +8957,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9136
8957
|
}>;
|
|
9137
8958
|
}, "strip", z.ZodTypeAny, {
|
|
9138
8959
|
kind: "merge";
|
|
9139
|
-
objectId: string;
|
|
9140
8960
|
objectKind: "zone";
|
|
8961
|
+
objectId: string;
|
|
9141
8962
|
original: {
|
|
9142
8963
|
displayName: string;
|
|
9143
8964
|
devices: string[];
|
|
@@ -9148,8 +8969,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9148
8969
|
};
|
|
9149
8970
|
}, {
|
|
9150
8971
|
kind: "merge";
|
|
9151
|
-
objectId: string;
|
|
9152
8972
|
objectKind: "zone";
|
|
8973
|
+
objectId: string;
|
|
9153
8974
|
original: {
|
|
9154
8975
|
displayName: string;
|
|
9155
8976
|
devices: string[];
|
|
@@ -9210,8 +9031,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9210
9031
|
}>;
|
|
9211
9032
|
}, "strip", z.ZodTypeAny, {
|
|
9212
9033
|
kind: "delete";
|
|
9213
|
-
objectId: string;
|
|
9214
9034
|
objectKind: "accessRule";
|
|
9035
|
+
objectId: string;
|
|
9215
9036
|
original: {
|
|
9216
9037
|
displayName: string;
|
|
9217
9038
|
appliedTo: string[];
|
|
@@ -9226,8 +9047,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9226
9047
|
};
|
|
9227
9048
|
}, {
|
|
9228
9049
|
kind: "delete";
|
|
9229
|
-
objectId: string;
|
|
9230
9050
|
objectKind: "accessRule";
|
|
9051
|
+
objectId: string;
|
|
9231
9052
|
original: {
|
|
9232
9053
|
displayName: string;
|
|
9233
9054
|
appliedTo: string[];
|
|
@@ -9368,8 +9189,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9368
9189
|
}>;
|
|
9369
9190
|
}, "strip", z.ZodTypeAny, {
|
|
9370
9191
|
kind: "delete";
|
|
9371
|
-
objectId: string;
|
|
9372
9192
|
objectKind: "schedule";
|
|
9193
|
+
objectId: string;
|
|
9373
9194
|
original: {
|
|
9374
9195
|
include: {
|
|
9375
9196
|
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
@@ -9396,8 +9217,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9396
9217
|
};
|
|
9397
9218
|
}, {
|
|
9398
9219
|
kind: "delete";
|
|
9399
|
-
objectId: string;
|
|
9400
9220
|
objectKind: "schedule";
|
|
9221
|
+
objectId: string;
|
|
9401
9222
|
original: {
|
|
9402
9223
|
include: {
|
|
9403
9224
|
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
@@ -9457,10 +9278,10 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9457
9278
|
firstName: string;
|
|
9458
9279
|
lastName: string;
|
|
9459
9280
|
avatarId: string | null;
|
|
9460
|
-
validFrom: string | null;
|
|
9461
|
-
validTo: string | null;
|
|
9462
9281
|
accessSuspended: boolean;
|
|
9463
9282
|
staffMember: boolean;
|
|
9283
|
+
validFrom: string | null;
|
|
9284
|
+
validTo: string | null;
|
|
9464
9285
|
credentials: {
|
|
9465
9286
|
type: "card" | "pin" | "fingerprint";
|
|
9466
9287
|
value: string | Record<string, unknown>;
|
|
@@ -9474,10 +9295,10 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9474
9295
|
firstName: string;
|
|
9475
9296
|
lastName: string;
|
|
9476
9297
|
avatarId: string | null;
|
|
9477
|
-
validFrom: string | null;
|
|
9478
|
-
validTo: string | null;
|
|
9479
9298
|
accessSuspended: boolean;
|
|
9480
9299
|
staffMember: boolean;
|
|
9300
|
+
validFrom: string | null;
|
|
9301
|
+
validTo: string | null;
|
|
9481
9302
|
credentials: {
|
|
9482
9303
|
type: "card" | "pin" | "fingerprint";
|
|
9483
9304
|
value: string | Record<string, unknown>;
|
|
@@ -9488,18 +9309,18 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9488
9309
|
}>;
|
|
9489
9310
|
}, "strip", z.ZodTypeAny, {
|
|
9490
9311
|
kind: "delete";
|
|
9491
|
-
objectId: string;
|
|
9492
9312
|
objectKind: "person";
|
|
9313
|
+
objectId: string;
|
|
9493
9314
|
original: {
|
|
9494
9315
|
type: string;
|
|
9495
9316
|
position: string | null;
|
|
9496
9317
|
firstName: string;
|
|
9497
9318
|
lastName: string;
|
|
9498
9319
|
avatarId: string | null;
|
|
9499
|
-
validFrom: string | null;
|
|
9500
|
-
validTo: string | null;
|
|
9501
9320
|
accessSuspended: boolean;
|
|
9502
9321
|
staffMember: boolean;
|
|
9322
|
+
validFrom: string | null;
|
|
9323
|
+
validTo: string | null;
|
|
9503
9324
|
credentials: {
|
|
9504
9325
|
type: "card" | "pin" | "fingerprint";
|
|
9505
9326
|
value: string | Record<string, unknown>;
|
|
@@ -9510,18 +9331,18 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9510
9331
|
};
|
|
9511
9332
|
}, {
|
|
9512
9333
|
kind: "delete";
|
|
9513
|
-
objectId: string;
|
|
9514
9334
|
objectKind: "person";
|
|
9335
|
+
objectId: string;
|
|
9515
9336
|
original: {
|
|
9516
9337
|
type: string;
|
|
9517
9338
|
position: string | null;
|
|
9518
9339
|
firstName: string;
|
|
9519
9340
|
lastName: string;
|
|
9520
9341
|
avatarId: string | null;
|
|
9521
|
-
validFrom: string | null;
|
|
9522
|
-
validTo: string | null;
|
|
9523
9342
|
accessSuspended: boolean;
|
|
9524
9343
|
staffMember: boolean;
|
|
9344
|
+
validFrom: string | null;
|
|
9345
|
+
validTo: string | null;
|
|
9525
9346
|
credentials: {
|
|
9526
9347
|
type: "card" | "pin" | "fingerprint";
|
|
9527
9348
|
value: string | Record<string, unknown>;
|
|
@@ -9546,16 +9367,16 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9546
9367
|
}>;
|
|
9547
9368
|
}, "strip", z.ZodTypeAny, {
|
|
9548
9369
|
kind: "delete";
|
|
9549
|
-
objectId: string;
|
|
9550
9370
|
objectKind: "zone";
|
|
9371
|
+
objectId: string;
|
|
9551
9372
|
original: {
|
|
9552
9373
|
displayName: string;
|
|
9553
9374
|
devices: string[];
|
|
9554
9375
|
};
|
|
9555
9376
|
}, {
|
|
9556
9377
|
kind: "delete";
|
|
9557
|
-
objectId: string;
|
|
9558
9378
|
objectKind: "zone";
|
|
9379
|
+
objectId: string;
|
|
9559
9380
|
original: {
|
|
9560
9381
|
displayName: string;
|
|
9561
9382
|
devices: string[];
|
|
@@ -9563,13 +9384,13 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9563
9384
|
}>]>]>, "many">;
|
|
9564
9385
|
}, "strip", z.ZodTypeAny, {
|
|
9565
9386
|
kind: "apply-change";
|
|
9566
|
-
provider: string;
|
|
9567
9387
|
devices: Record<string, Record<string, unknown>>;
|
|
9388
|
+
provider: string;
|
|
9568
9389
|
refMap: Record<string, Record<string, string[]>>;
|
|
9569
9390
|
mutations: ({
|
|
9570
9391
|
kind: "merge";
|
|
9571
|
-
objectId: string;
|
|
9572
9392
|
objectKind: "accessRule";
|
|
9393
|
+
objectId: string;
|
|
9573
9394
|
original: null;
|
|
9574
9395
|
props: {
|
|
9575
9396
|
displayName: string;
|
|
@@ -9585,8 +9406,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9585
9406
|
};
|
|
9586
9407
|
} | {
|
|
9587
9408
|
kind: "merge";
|
|
9588
|
-
objectId: string;
|
|
9589
9409
|
objectKind: "accessRule";
|
|
9410
|
+
objectId: string;
|
|
9590
9411
|
original: {
|
|
9591
9412
|
displayName: string;
|
|
9592
9413
|
appliedTo: string[];
|
|
@@ -9613,8 +9434,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9613
9434
|
};
|
|
9614
9435
|
} | {
|
|
9615
9436
|
kind: "merge";
|
|
9616
|
-
objectId: string;
|
|
9617
9437
|
objectKind: "schedule";
|
|
9438
|
+
objectId: string;
|
|
9618
9439
|
original: null;
|
|
9619
9440
|
props: {
|
|
9620
9441
|
include: {
|
|
@@ -9642,8 +9463,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9642
9463
|
};
|
|
9643
9464
|
} | {
|
|
9644
9465
|
kind: "merge";
|
|
9645
|
-
objectId: string;
|
|
9646
9466
|
objectKind: "schedule";
|
|
9467
|
+
objectId: string;
|
|
9647
9468
|
original: {
|
|
9648
9469
|
include: {
|
|
9649
9470
|
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
@@ -9694,8 +9515,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9694
9515
|
};
|
|
9695
9516
|
} | {
|
|
9696
9517
|
kind: "merge";
|
|
9697
|
-
objectId: string;
|
|
9698
9518
|
objectKind: "person";
|
|
9519
|
+
objectId: string;
|
|
9699
9520
|
original: null;
|
|
9700
9521
|
props: {
|
|
9701
9522
|
type: string;
|
|
@@ -9703,10 +9524,10 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9703
9524
|
firstName: string;
|
|
9704
9525
|
lastName: string;
|
|
9705
9526
|
avatarId: string | null;
|
|
9706
|
-
validFrom: string | null;
|
|
9707
|
-
validTo: string | null;
|
|
9708
9527
|
accessSuspended: boolean;
|
|
9709
9528
|
staffMember: boolean;
|
|
9529
|
+
validFrom: string | null;
|
|
9530
|
+
validTo: string | null;
|
|
9710
9531
|
credentials: {
|
|
9711
9532
|
type: "card" | "pin" | "fingerprint";
|
|
9712
9533
|
value: string | Record<string, unknown>;
|
|
@@ -9717,18 +9538,18 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9717
9538
|
};
|
|
9718
9539
|
} | {
|
|
9719
9540
|
kind: "merge";
|
|
9720
|
-
objectId: string;
|
|
9721
9541
|
objectKind: "person";
|
|
9542
|
+
objectId: string;
|
|
9722
9543
|
original: {
|
|
9723
9544
|
type: string;
|
|
9724
9545
|
position: string | null;
|
|
9725
9546
|
firstName: string;
|
|
9726
9547
|
lastName: string;
|
|
9727
9548
|
avatarId: string | null;
|
|
9728
|
-
validFrom: string | null;
|
|
9729
|
-
validTo: string | null;
|
|
9730
9549
|
accessSuspended: boolean;
|
|
9731
9550
|
staffMember: boolean;
|
|
9551
|
+
validFrom: string | null;
|
|
9552
|
+
validTo: string | null;
|
|
9732
9553
|
credentials: {
|
|
9733
9554
|
type: "card" | "pin" | "fingerprint";
|
|
9734
9555
|
value: string | Record<string, unknown>;
|
|
@@ -9743,10 +9564,10 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9743
9564
|
firstName?: string | undefined;
|
|
9744
9565
|
lastName?: string | undefined;
|
|
9745
9566
|
avatarId?: string | null | undefined;
|
|
9746
|
-
validFrom?: string | null | undefined;
|
|
9747
|
-
validTo?: string | null | undefined;
|
|
9748
9567
|
accessSuspended?: boolean | undefined;
|
|
9749
9568
|
staffMember?: boolean | undefined;
|
|
9569
|
+
validFrom?: string | null | undefined;
|
|
9570
|
+
validTo?: string | null | undefined;
|
|
9750
9571
|
credentials?: {
|
|
9751
9572
|
type: "card" | "pin" | "fingerprint";
|
|
9752
9573
|
value: string | Record<string, unknown>;
|
|
@@ -9757,8 +9578,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9757
9578
|
};
|
|
9758
9579
|
} | {
|
|
9759
9580
|
kind: "merge";
|
|
9760
|
-
objectId: string;
|
|
9761
9581
|
objectKind: "zone";
|
|
9582
|
+
objectId: string;
|
|
9762
9583
|
original: null;
|
|
9763
9584
|
props: {
|
|
9764
9585
|
displayName: string;
|
|
@@ -9766,8 +9587,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9766
9587
|
};
|
|
9767
9588
|
} | {
|
|
9768
9589
|
kind: "merge";
|
|
9769
|
-
objectId: string;
|
|
9770
9590
|
objectKind: "zone";
|
|
9591
|
+
objectId: string;
|
|
9771
9592
|
original: {
|
|
9772
9593
|
displayName: string;
|
|
9773
9594
|
devices: string[];
|
|
@@ -9778,8 +9599,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9778
9599
|
};
|
|
9779
9600
|
} | {
|
|
9780
9601
|
kind: "delete";
|
|
9781
|
-
objectId: string;
|
|
9782
9602
|
objectKind: "accessRule";
|
|
9603
|
+
objectId: string;
|
|
9783
9604
|
original: {
|
|
9784
9605
|
displayName: string;
|
|
9785
9606
|
appliedTo: string[];
|
|
@@ -9794,8 +9615,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9794
9615
|
};
|
|
9795
9616
|
} | {
|
|
9796
9617
|
kind: "delete";
|
|
9797
|
-
objectId: string;
|
|
9798
9618
|
objectKind: "schedule";
|
|
9619
|
+
objectId: string;
|
|
9799
9620
|
original: {
|
|
9800
9621
|
include: {
|
|
9801
9622
|
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
@@ -9822,18 +9643,18 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9822
9643
|
};
|
|
9823
9644
|
} | {
|
|
9824
9645
|
kind: "delete";
|
|
9825
|
-
objectId: string;
|
|
9826
9646
|
objectKind: "person";
|
|
9647
|
+
objectId: string;
|
|
9827
9648
|
original: {
|
|
9828
9649
|
type: string;
|
|
9829
9650
|
position: string | null;
|
|
9830
9651
|
firstName: string;
|
|
9831
9652
|
lastName: string;
|
|
9832
9653
|
avatarId: string | null;
|
|
9833
|
-
validFrom: string | null;
|
|
9834
|
-
validTo: string | null;
|
|
9835
9654
|
accessSuspended: boolean;
|
|
9836
9655
|
staffMember: boolean;
|
|
9656
|
+
validFrom: string | null;
|
|
9657
|
+
validTo: string | null;
|
|
9837
9658
|
credentials: {
|
|
9838
9659
|
type: "card" | "pin" | "fingerprint";
|
|
9839
9660
|
value: string | Record<string, unknown>;
|
|
@@ -9844,8 +9665,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9844
9665
|
};
|
|
9845
9666
|
} | {
|
|
9846
9667
|
kind: "delete";
|
|
9847
|
-
objectId: string;
|
|
9848
9668
|
objectKind: "zone";
|
|
9669
|
+
objectId: string;
|
|
9849
9670
|
original: {
|
|
9850
9671
|
displayName: string;
|
|
9851
9672
|
devices: string[];
|
|
@@ -9853,13 +9674,13 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9853
9674
|
})[];
|
|
9854
9675
|
}, {
|
|
9855
9676
|
kind: "apply-change";
|
|
9856
|
-
provider: string;
|
|
9857
9677
|
devices: Record<string, Record<string, unknown>>;
|
|
9678
|
+
provider: string;
|
|
9858
9679
|
refMap: Record<string, Record<string, string[]>>;
|
|
9859
9680
|
mutations: ({
|
|
9860
9681
|
kind: "merge";
|
|
9861
|
-
objectId: string;
|
|
9862
9682
|
objectKind: "accessRule";
|
|
9683
|
+
objectId: string;
|
|
9863
9684
|
original: null;
|
|
9864
9685
|
props: {
|
|
9865
9686
|
displayName: string;
|
|
@@ -9875,8 +9696,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9875
9696
|
};
|
|
9876
9697
|
} | {
|
|
9877
9698
|
kind: "merge";
|
|
9878
|
-
objectId: string;
|
|
9879
9699
|
objectKind: "accessRule";
|
|
9700
|
+
objectId: string;
|
|
9880
9701
|
original: {
|
|
9881
9702
|
displayName: string;
|
|
9882
9703
|
appliedTo: string[];
|
|
@@ -9903,8 +9724,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9903
9724
|
};
|
|
9904
9725
|
} | {
|
|
9905
9726
|
kind: "merge";
|
|
9906
|
-
objectId: string;
|
|
9907
9727
|
objectKind: "schedule";
|
|
9728
|
+
objectId: string;
|
|
9908
9729
|
original: null;
|
|
9909
9730
|
props: {
|
|
9910
9731
|
include: {
|
|
@@ -9932,8 +9753,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9932
9753
|
};
|
|
9933
9754
|
} | {
|
|
9934
9755
|
kind: "merge";
|
|
9935
|
-
objectId: string;
|
|
9936
9756
|
objectKind: "schedule";
|
|
9757
|
+
objectId: string;
|
|
9937
9758
|
original: {
|
|
9938
9759
|
include: {
|
|
9939
9760
|
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
@@ -9984,8 +9805,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9984
9805
|
};
|
|
9985
9806
|
} | {
|
|
9986
9807
|
kind: "merge";
|
|
9987
|
-
objectId: string;
|
|
9988
9808
|
objectKind: "person";
|
|
9809
|
+
objectId: string;
|
|
9989
9810
|
original: null;
|
|
9990
9811
|
props: {
|
|
9991
9812
|
type: string;
|
|
@@ -9993,10 +9814,10 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
9993
9814
|
firstName: string;
|
|
9994
9815
|
lastName: string;
|
|
9995
9816
|
avatarId: string | null;
|
|
9996
|
-
validFrom: string | null;
|
|
9997
|
-
validTo: string | null;
|
|
9998
9817
|
accessSuspended: boolean;
|
|
9999
9818
|
staffMember: boolean;
|
|
9819
|
+
validFrom: string | null;
|
|
9820
|
+
validTo: string | null;
|
|
10000
9821
|
credentials: {
|
|
10001
9822
|
type: "card" | "pin" | "fingerprint";
|
|
10002
9823
|
value: string | Record<string, unknown>;
|
|
@@ -10007,18 +9828,18 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
10007
9828
|
};
|
|
10008
9829
|
} | {
|
|
10009
9830
|
kind: "merge";
|
|
10010
|
-
objectId: string;
|
|
10011
9831
|
objectKind: "person";
|
|
9832
|
+
objectId: string;
|
|
10012
9833
|
original: {
|
|
10013
9834
|
type: string;
|
|
10014
9835
|
position: string | null;
|
|
10015
9836
|
firstName: string;
|
|
10016
9837
|
lastName: string;
|
|
10017
9838
|
avatarId: string | null;
|
|
10018
|
-
validFrom: string | null;
|
|
10019
|
-
validTo: string | null;
|
|
10020
9839
|
accessSuspended: boolean;
|
|
10021
9840
|
staffMember: boolean;
|
|
9841
|
+
validFrom: string | null;
|
|
9842
|
+
validTo: string | null;
|
|
10022
9843
|
credentials: {
|
|
10023
9844
|
type: "card" | "pin" | "fingerprint";
|
|
10024
9845
|
value: string | Record<string, unknown>;
|
|
@@ -10033,10 +9854,10 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
10033
9854
|
firstName?: string | undefined;
|
|
10034
9855
|
lastName?: string | undefined;
|
|
10035
9856
|
avatarId?: string | null | undefined;
|
|
10036
|
-
validFrom?: string | null | undefined;
|
|
10037
|
-
validTo?: string | null | undefined;
|
|
10038
9857
|
accessSuspended?: boolean | undefined;
|
|
10039
9858
|
staffMember?: boolean | undefined;
|
|
9859
|
+
validFrom?: string | null | undefined;
|
|
9860
|
+
validTo?: string | null | undefined;
|
|
10040
9861
|
credentials?: {
|
|
10041
9862
|
type: "card" | "pin" | "fingerprint";
|
|
10042
9863
|
value: string | Record<string, unknown>;
|
|
@@ -10047,8 +9868,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
10047
9868
|
};
|
|
10048
9869
|
} | {
|
|
10049
9870
|
kind: "merge";
|
|
10050
|
-
objectId: string;
|
|
10051
9871
|
objectKind: "zone";
|
|
9872
|
+
objectId: string;
|
|
10052
9873
|
original: null;
|
|
10053
9874
|
props: {
|
|
10054
9875
|
displayName: string;
|
|
@@ -10056,8 +9877,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
10056
9877
|
};
|
|
10057
9878
|
} | {
|
|
10058
9879
|
kind: "merge";
|
|
10059
|
-
objectId: string;
|
|
10060
9880
|
objectKind: "zone";
|
|
9881
|
+
objectId: string;
|
|
10061
9882
|
original: {
|
|
10062
9883
|
displayName: string;
|
|
10063
9884
|
devices: string[];
|
|
@@ -10068,8 +9889,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
10068
9889
|
};
|
|
10069
9890
|
} | {
|
|
10070
9891
|
kind: "delete";
|
|
10071
|
-
objectId: string;
|
|
10072
9892
|
objectKind: "accessRule";
|
|
9893
|
+
objectId: string;
|
|
10073
9894
|
original: {
|
|
10074
9895
|
displayName: string;
|
|
10075
9896
|
appliedTo: string[];
|
|
@@ -10084,8 +9905,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
10084
9905
|
};
|
|
10085
9906
|
} | {
|
|
10086
9907
|
kind: "delete";
|
|
10087
|
-
objectId: string;
|
|
10088
9908
|
objectKind: "schedule";
|
|
9909
|
+
objectId: string;
|
|
10089
9910
|
original: {
|
|
10090
9911
|
include: {
|
|
10091
9912
|
repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
|
|
@@ -10112,18 +9933,18 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
10112
9933
|
};
|
|
10113
9934
|
} | {
|
|
10114
9935
|
kind: "delete";
|
|
10115
|
-
objectId: string;
|
|
10116
9936
|
objectKind: "person";
|
|
9937
|
+
objectId: string;
|
|
10117
9938
|
original: {
|
|
10118
9939
|
type: string;
|
|
10119
9940
|
position: string | null;
|
|
10120
9941
|
firstName: string;
|
|
10121
9942
|
lastName: string;
|
|
10122
9943
|
avatarId: string | null;
|
|
10123
|
-
validFrom: string | null;
|
|
10124
|
-
validTo: string | null;
|
|
10125
9944
|
accessSuspended: boolean;
|
|
10126
9945
|
staffMember: boolean;
|
|
9946
|
+
validFrom: string | null;
|
|
9947
|
+
validTo: string | null;
|
|
10127
9948
|
credentials: {
|
|
10128
9949
|
type: "card" | "pin" | "fingerprint";
|
|
10129
9950
|
value: string | Record<string, unknown>;
|
|
@@ -10134,8 +9955,8 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
10134
9955
|
};
|
|
10135
9956
|
} | {
|
|
10136
9957
|
kind: "delete";
|
|
10137
|
-
objectId: string;
|
|
10138
9958
|
objectKind: "zone";
|
|
9959
|
+
objectId: string;
|
|
10139
9960
|
original: {
|
|
10140
9961
|
displayName: string;
|
|
10141
9962
|
devices: string[];
|
|
@@ -10218,13 +10039,6 @@ export type AccessApplyChange = z.infer<typeof sApplyChange>;
|
|
|
10218
10039
|
export type AccessApplyChangeRs = z.infer<typeof sApplyChangeRs>;
|
|
10219
10040
|
export type AccessApplyChangeProgress = z.infer<typeof sApplyChangeProgress>;
|
|
10220
10041
|
export type AccessAbortChange = z.infer<typeof sAbortChange>;
|
|
10221
|
-
export type AccessControlCapabilityReport = z.infer<typeof sAccessControlCapabilityReport>;
|
|
10222
|
-
export type AccessTokenSpecs = z.infer<typeof sTokenSpecs>;
|
|
10223
|
-
export type AccessObjectKind = z.infer<typeof sAccessObjectKind>;
|
|
10224
|
-
export type UiHint = z.infer<typeof sUiHint>;
|
|
10225
|
-
export type UiOrderHint = z.infer<typeof sUiOrderHint>;
|
|
10226
|
-
export type UiWidgetHint = z.infer<typeof sUiWidgetHint>;
|
|
10227
|
-
export type ProviderSpecs = z.infer<typeof sProviderSpecs>;
|
|
10228
10042
|
export type ConfigurationIssue = z.infer<typeof sConfigurationIssue>;
|
|
10229
10043
|
export type AccessRefMap = z.infer<typeof sRefMap>;
|
|
10230
10044
|
export type PayloadByKind = {
|