@awarevue/api-types 2.0.81 → 2.0.83

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/dist/alarm-automation.d.ts +21 -37
  2. package/dist/api/agent-protocol/protocol.d.ts +1473 -10468
  3. package/dist/api/agent-protocol/protocol.js +16 -12
  4. package/dist/api/commands/alarm.d.ts +40 -248
  5. package/dist/api/commands/all.d.ts +393 -4642
  6. package/dist/api/commands/camera-lift.d.ts +8 -32
  7. package/dist/api/commands/camera.d.ts +82 -373
  8. package/dist/api/commands/display.d.ts +21 -373
  9. package/dist/api/commands/door.d.ts +16 -64
  10. package/dist/api/commands/io-board.d.ts +4 -40
  11. package/dist/api/commands/nvr-exporter.d.ts +104 -1380
  12. package/dist/api/commands/nvr-recorder.d.ts +400 -5288
  13. package/dist/api/commands/pbx.d.ts +4 -56
  14. package/dist/api/commands/presence-tracker.d.ts +12 -128
  15. package/dist/api/commands/server.d.ts +114 -1382
  16. package/dist/api/commands/server.js +1 -1
  17. package/dist/api/error.d.ts +77 -443
  18. package/dist/api/error.js +1 -1
  19. package/dist/api/events/alarm.d.ts +20 -148
  20. package/dist/api/events/all.d.ts +74 -526
  21. package/dist/api/events/all.js +1 -1
  22. package/dist/api/events/camera.d.ts +46 -470
  23. package/dist/api/events/display.d.ts +1 -5
  24. package/dist/api/events/door.d.ts +34 -146
  25. package/dist/api/events/intercom-terminal.d.ts +22 -42
  26. package/dist/api/events/io-board.d.ts +2 -18
  27. package/dist/api/events/nvr-exporter.d.ts +4 -32
  28. package/dist/api/events/panic-button.d.ts +2 -10
  29. package/dist/api/events/presence-tracker.d.ts +4 -88
  30. package/dist/api/events/reader.d.ts +2 -22
  31. package/dist/api/events/server.d.ts +6 -34
  32. package/dist/api/mqtt/payloads.d.ts +4 -26
  33. package/dist/api/queries/all.d.ts +188 -1622
  34. package/dist/api/queries/nvr-analytics-server.d.ts +61 -373
  35. package/dist/api/queries/nvr-exporter.d.ts +9 -73
  36. package/dist/api/queries/nvr-recorder.d.ts +300 -2828
  37. package/dist/api/rest/access-rule.d.ts +10 -86
  38. package/dist/api/rest/agreement.d.ts +3 -18
  39. package/dist/api/rest/api-keys.d.ts +3 -17
  40. package/dist/api/rest/app.d.ts +3 -51
  41. package/dist/api/rest/auth.d.ts +3 -19
  42. package/dist/api/rest/automation.d.ts +11 -236
  43. package/dist/api/rest/bookmarks.d.ts +8 -56
  44. package/dist/api/rest/camera.d.ts +12 -70
  45. package/dist/api/rest/cast.d.ts +1 -7
  46. package/dist/api/rest/custom-field.d.ts +21 -24
  47. package/dist/api/rest/device-group.d.ts +8 -32
  48. package/dist/api/rest/device.d.ts +104 -176
  49. package/dist/api/rest/io-device.d.ts +7 -75
  50. package/dist/api/rest/io-device.js +2 -2
  51. package/dist/api/rest/layout.d.ts +4 -102
  52. package/dist/api/rest/macros.d.ts +6 -82
  53. package/dist/api/rest/media.d.ts +17 -141
  54. package/dist/api/rest/notifications.d.ts +7 -15
  55. package/dist/api/rest/person-agreement.d.ts +1 -9
  56. package/dist/api/rest/person-presence.d.ts +8 -50
  57. package/dist/api/rest/person-type.d.ts +6 -39
  58. package/dist/api/rest/person.d.ts +18 -96
  59. package/dist/api/rest/query.d.ts +5 -15
  60. package/dist/api/rest/schedule.d.ts +78 -216
  61. package/dist/api/rest/security-level.d.ts +6 -43
  62. package/dist/api/rest/template.d.ts +10 -20
  63. package/dist/api/rest/token-conversion.d.ts +11 -28
  64. package/dist/api/rest/user.d.ts +15 -97
  65. package/dist/api/rest/view.d.ts +24 -496
  66. package/dist/api/rest/webrtc-playback.d.ts +3 -25
  67. package/dist/api/rest/zone.d.ts +5 -21
  68. package/dist/api/ws/device-communication.d.ts +10 -62
  69. package/dist/api/ws/notifications.d.ts +7 -33
  70. package/dist/api/ws/progress.d.ts +10 -72
  71. package/dist/api/ws/web-rtc-signaling.d.ts +33 -279
  72. package/dist/objects/access-rule.d.ts +12 -132
  73. package/dist/objects/access-rule.js +1 -1
  74. package/dist/objects/agent-metadata.d.ts +38 -146
  75. package/dist/objects/agent-metadata.js +1 -1
  76. package/dist/objects/agreement.d.ts +1 -13
  77. package/dist/objects/all.d.ts +20 -1
  78. package/dist/objects/api-key.d.ts +1 -13
  79. package/dist/objects/automation-rule.d.ts +9 -168
  80. package/dist/objects/automation-rule.js +2 -2
  81. package/dist/objects/bookmark.d.ts +3 -33
  82. package/dist/objects/bookmark.js +1 -1
  83. package/dist/objects/credential.d.ts +13 -13
  84. package/dist/objects/credential.js +1 -1
  85. package/dist/objects/custom-field.d.ts +19 -15
  86. package/dist/objects/device/alarm.d.ts +1 -1
  87. package/dist/objects/device/any-device.d.ts +1333 -4451
  88. package/dist/objects/device/camera-lift.d.ts +1 -1
  89. package/dist/objects/device/camera.d.ts +29 -125
  90. package/dist/objects/device/camera.js +1 -1
  91. package/dist/objects/device/device-import.d.ts +307 -1735
  92. package/dist/objects/device/device-relation.d.ts +70 -58
  93. package/dist/objects/device/display.d.ts +1 -1
  94. package/dist/objects/device/door.d.ts +9 -14
  95. package/dist/objects/device/intercom-terminal.d.ts +10 -59
  96. package/dist/objects/device/io-board.d.ts +3 -9
  97. package/dist/objects/device/motion-sensor.d.ts +1 -1
  98. package/dist/objects/device/nvr-analytics-server.d.ts +2 -6
  99. package/dist/objects/device/nvr-exporter.d.ts +3 -9
  100. package/dist/objects/device/nvr-recorder.d.ts +16 -68
  101. package/dist/objects/device/panic-button.d.ts +1 -1
  102. package/dist/objects/device/pbx.d.ts +1 -5
  103. package/dist/objects/device/system.d.ts +1 -1
  104. package/dist/objects/device/system.js +1 -1
  105. package/dist/objects/device-group.d.ts +2 -16
  106. package/dist/objects/layout.d.ts +3 -75
  107. package/dist/objects/macro.d.ts +3 -59
  108. package/dist/objects/macro.js +2 -2
  109. package/dist/objects/notification.d.ts +6 -24
  110. package/dist/objects/notification.js +1 -1
  111. package/dist/objects/person-agreement.d.ts +1 -13
  112. package/dist/objects/person-presence.d.ts +11 -165
  113. package/dist/objects/person-type.d.ts +2 -22
  114. package/dist/objects/person.d.ts +21 -153
  115. package/dist/objects/person.js +3 -3
  116. package/dist/objects/role.d.ts +3 -15
  117. package/dist/objects/schedule.d.ts +152 -314
  118. package/dist/objects/schedule.js +1 -1
  119. package/dist/objects/security-level.d.ts +1 -21
  120. package/dist/objects/template.d.ts +9 -13
  121. package/dist/objects/token-conversion.d.ts +8 -18
  122. package/dist/objects/user.d.ts +2 -20
  123. package/dist/objects/view.d.ts +52 -682
  124. package/dist/objects/world-object.d.ts +1 -7
  125. package/dist/objects/zone.d.ts +5 -29
  126. package/dist/objects/zone.js +1 -1
  127. package/dist/package.json +3 -3
  128. package/dist/permissions.d.ts +1 -1
  129. package/dist/primitives.d.ts +113 -551
  130. package/dist/primitives.js +1 -1
  131. package/package.json +3 -3
@@ -1,103 +1,45 @@
1
1
  import { z } from 'zod';
2
2
  export declare const sAddCameraRq: z.ZodObject<{
3
3
  displayName: z.ZodString;
4
- }, "strip", z.ZodTypeAny, {
5
- displayName: string;
6
- }, {
7
- displayName: string;
8
- }>;
4
+ }, z.core.$strip>;
9
5
  export declare const sAddCameraRs: z.ZodObject<{
10
6
  id: z.ZodString;
11
- }, "strip", z.ZodTypeAny, {
12
- id: string;
13
- }, {
14
- id: string;
15
- }>;
7
+ }, z.core.$strip>;
16
8
  export declare const sAddCameraStreamRq: z.ZodObject<{
17
9
  cameraId: z.ZodString;
18
10
  displayName: z.ZodString;
19
11
  rtspUrl: z.ZodNullable<z.ZodString>;
20
- }, "strip", z.ZodTypeAny, {
21
- displayName: string;
22
- rtspUrl: string | null;
23
- cameraId: string;
24
- }, {
25
- displayName: string;
26
- rtspUrl: string | null;
27
- cameraId: string;
28
- }>;
12
+ }, z.core.$strip>;
29
13
  export declare const sPatchCameraStreamRq: z.ZodObject<{
30
14
  cameraId: z.ZodString;
31
15
  streamId: z.ZodString;
32
16
  displayName: z.ZodOptional<z.ZodString>;
33
17
  rtspUrl: z.ZodOptional<z.ZodString>;
34
- }, "strip", z.ZodTypeAny, {
35
- streamId: string;
36
- cameraId: string;
37
- displayName?: string | undefined;
38
- rtspUrl?: string | undefined;
39
- }, {
40
- streamId: string;
41
- cameraId: string;
42
- displayName?: string | undefined;
43
- rtspUrl?: string | undefined;
44
- }>;
45
- export declare const sPatchCameraStreamRs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
18
+ }, z.core.$strip>;
19
+ export declare const sPatchCameraStreamRs: z.ZodObject<{}, z.core.$strip>;
46
20
  export declare const sAddCameraStreamRs: z.ZodObject<{
47
21
  id: z.ZodString;
48
22
  ffmpegCommandTemplate: z.ZodString;
49
- }, "strip", z.ZodTypeAny, {
50
- id: string;
51
- ffmpegCommandTemplate: string;
52
- }, {
53
- id: string;
54
- ffmpegCommandTemplate: string;
55
- }>;
23
+ }, z.core.$strip>;
56
24
  export declare const sDeleteCameraStreamRq: z.ZodObject<{
57
25
  cameraId: z.ZodString;
58
26
  streamId: z.ZodString;
59
- }, "strip", z.ZodTypeAny, {
60
- streamId: string;
61
- cameraId: string;
62
- }, {
63
- streamId: string;
64
- cameraId: string;
65
- }>;
66
- export declare const sDeleteCameraStreamRs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
27
+ }, z.core.$strip>;
28
+ export declare const sDeleteCameraStreamRs: z.ZodObject<{}, z.core.$strip>;
67
29
  export declare const sBindStreamRecorderRq: z.ZodObject<{
68
30
  cameraId: z.ZodString;
69
31
  streamId: z.ZodString;
70
32
  recorderId: z.ZodString;
71
33
  retentionHours: z.ZodOptional<z.ZodNumber>;
72
34
  prebufferSeconds: z.ZodOptional<z.ZodNumber>;
73
- }, "strip", z.ZodTypeAny, {
74
- streamId: string;
75
- cameraId: string;
76
- recorderId: string;
77
- retentionHours?: number | undefined;
78
- prebufferSeconds?: number | undefined;
79
- }, {
80
- streamId: string;
81
- cameraId: string;
82
- recorderId: string;
83
- retentionHours?: number | undefined;
84
- prebufferSeconds?: number | undefined;
85
- }>;
86
- export declare const sBindStreamRecorderRs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
35
+ }, z.core.$strip>;
36
+ export declare const sBindStreamRecorderRs: z.ZodObject<{}, z.core.$strip>;
87
37
  export declare const sUnbindStreamRecorderRq: z.ZodObject<{
88
38
  cameraId: z.ZodString;
89
39
  streamId: z.ZodString;
90
40
  recorderId: z.ZodString;
91
- }, "strip", z.ZodTypeAny, {
92
- streamId: string;
93
- cameraId: string;
94
- recorderId: string;
95
- }, {
96
- streamId: string;
97
- cameraId: string;
98
- recorderId: string;
99
- }>;
100
- export declare const sUnbindStreamRecorderRs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
41
+ }, z.core.$strip>;
42
+ export declare const sUnbindStreamRecorderRs: z.ZodObject<{}, z.core.$strip>;
101
43
  export type AddCameraRq = z.infer<typeof sAddCameraRq>;
102
44
  export type AddCameraRs = z.infer<typeof sAddCameraRs>;
103
45
  export type AddCameraStreamRq = z.infer<typeof sAddCameraStreamRq>;
@@ -2,11 +2,5 @@ import z from 'zod';
2
2
  export declare const sCastCamerasRequest: z.ZodArray<z.ZodObject<{
3
3
  cameraId: z.ZodString;
4
4
  streamId: z.ZodString;
5
- }, "strip", z.ZodTypeAny, {
6
- streamId: string;
7
- cameraId: string;
8
- }, {
9
- streamId: string;
10
- cameraId: string;
11
- }>, "many">;
5
+ }, z.core.$strip>>;
12
6
  export type CastCamerasRequest = z.infer<typeof sCastCamerasRequest>;
@@ -1,32 +1,29 @@
1
1
  import { CustomFieldDto } from '../../objects/custom-field';
2
2
  import { z } from 'zod';
3
- export declare const sAddCustomFieldRequest: z.ZodObject<Omit<{
4
- id: z.ZodString;
3
+ export declare const sAddCustomFieldRequest: z.ZodObject<{
4
+ type: z.ZodEnum<{
5
+ string: "string";
6
+ number: "number";
7
+ boolean: "boolean";
8
+ date: "date";
9
+ }>;
5
10
  name: z.ZodString;
6
- type: z.ZodEnum<["string", "number", "boolean", "date"]>;
7
- extendsType: z.ZodEnum<["person"]>;
8
- }, "id">, "strip", z.ZodTypeAny, {
9
- type: "string" | "number" | "boolean" | "date";
10
- name: string;
11
- extendsType: "person";
12
- }, {
13
- type: "string" | "number" | "boolean" | "date";
14
- name: string;
15
- extendsType: "person";
16
- }>;
11
+ extendsType: z.ZodEnum<{
12
+ person: "person";
13
+ }>;
14
+ }, z.core.$strip>;
17
15
  export declare const sUpdateCustomFieldRequest: z.ZodObject<{
18
- type: z.ZodOptional<z.ZodEnum<["string", "number", "boolean", "date"]>>;
16
+ type: z.ZodOptional<z.ZodEnum<{
17
+ string: "string";
18
+ number: "number";
19
+ boolean: "boolean";
20
+ date: "date";
21
+ }>>;
19
22
  name: z.ZodOptional<z.ZodString>;
20
- extendsType: z.ZodOptional<z.ZodEnum<["person"]>>;
21
- }, "strip", z.ZodTypeAny, {
22
- type?: "string" | "number" | "boolean" | "date" | undefined;
23
- name?: string | undefined;
24
- extendsType?: "person" | undefined;
25
- }, {
26
- type?: "string" | "number" | "boolean" | "date" | undefined;
27
- name?: string | undefined;
28
- extendsType?: "person" | undefined;
29
- }>;
23
+ extendsType: z.ZodOptional<z.ZodEnum<{
24
+ person: "person";
25
+ }>>;
26
+ }, z.core.$strip>;
30
27
  export type AddCustomFieldRequest = z.infer<typeof sAddCustomFieldRequest>;
31
28
  export type UpdateCustomFieldRequest = z.infer<typeof sUpdateCustomFieldRequest>;
32
29
  export type CustomFieldRequestQueryParams = {
@@ -2,43 +2,19 @@ import z from 'zod';
2
2
  export declare const sAddGroupRequest: z.ZodObject<{
3
3
  code: z.ZodNullable<z.ZodString>;
4
4
  displayName: z.ZodString;
5
- devices: z.ZodArray<z.ZodString, "many">;
6
- }, "strip", z.ZodTypeAny, {
7
- code: string | null;
8
- displayName: string;
9
- devices: string[];
10
- }, {
11
- code: string | null;
12
- displayName: string;
13
- devices: string[];
14
- }>;
5
+ devices: z.ZodArray<z.ZodString>;
6
+ }, z.core.$strip>;
15
7
  export declare const sUpdateGroupRequest: z.ZodObject<{
16
8
  code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
9
  displayName: z.ZodOptional<z.ZodString>;
18
- devices: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19
- }, "strip", z.ZodTypeAny, {
20
- code?: string | null | undefined;
21
- displayName?: string | undefined;
22
- devices?: string[] | undefined;
23
- }, {
24
- code?: string | null | undefined;
25
- displayName?: string | undefined;
26
- devices?: string[] | undefined;
27
- }>;
10
+ devices: z.ZodOptional<z.ZodArray<z.ZodString>>;
11
+ }, z.core.$strip>;
28
12
  export declare const sAddDevicesToGroupRequest: z.ZodObject<{
29
- devices: z.ZodArray<z.ZodString, "many">;
30
- }, "strip", z.ZodTypeAny, {
31
- devices: string[];
32
- }, {
33
- devices: string[];
34
- }>;
13
+ devices: z.ZodArray<z.ZodString>;
14
+ }, z.core.$strip>;
35
15
  export declare const sRemoveDevicesFromGroupRequest: z.ZodObject<{
36
- devices: z.ZodArray<z.ZodString, "many">;
37
- }, "strip", z.ZodTypeAny, {
38
- devices: string[];
39
- }, {
40
- devices: string[];
41
- }>;
16
+ devices: z.ZodArray<z.ZodString>;
17
+ }, z.core.$strip>;
42
18
  export type AddGroupRequest = z.infer<typeof sAddGroupRequest>;
43
19
  export type UpdateGroupRequest = {
44
20
  id: string;
@@ -5,219 +5,147 @@ export declare const sAddDeviceRequest: z.ZodObject<{
5
5
  foreignRef: z.ZodString;
6
6
  notes: z.ZodNullable<z.ZodString>;
7
7
  provider: z.ZodString;
8
- providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
9
- tags: z.ZodArray<z.ZodString, "many">;
8
+ providerMetadata: z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>;
9
+ tags: z.ZodArray<z.ZodString>;
10
10
  relations: z.ZodArray<z.ZodObject<{
11
11
  id: z.ZodString;
12
- kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
13
- }, "strip", z.ZodUnknown, z.objectOutputType<{
14
- id: z.ZodString;
15
- kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
16
- }, z.ZodUnknown, "strip">, z.objectInputType<{
17
- id: z.ZodString;
18
- kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
19
- }, z.ZodUnknown, "strip">>, "many">;
20
- type: z.ZodEnum<["alarm", "server", "camera", "door", "reader", "io-board", "camera-lift", "motion-sensor", "panic-button", "intercom-operator", "intercom-terminal", "pbx", "device-gateway", "presence-tracker", "display", "nvr-recorder", "nvr-exporter", "nvr-analytics-server", "system"]>;
21
- specs: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>>;
22
- }, "strip", z.ZodTypeAny, {
23
- type: "camera" | "door" | "io-board" | "camera-lift" | "motion-sensor" | "panic-button" | "intercom-operator" | "intercom-terminal" | "pbx" | "alarm" | "display" | "server" | "device-gateway" | "presence-tracker" | "reader" | "nvr-recorder" | "nvr-exporter" | "nvr-analytics-server" | "system";
24
- name: string;
25
- foreignRef: string;
26
- notes: string | null;
27
- tags: string[];
28
- relations: z.objectOutputType<{
29
- id: z.ZodString;
30
- kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
31
- }, z.ZodUnknown, "strip">[];
32
- provider: string;
33
- providerMetadata: {} & {
34
- [k: string]: unknown;
35
- };
36
- specs?: z.objectOutputType<{}, z.ZodUnknown, "strip"> | undefined;
37
- }, {
38
- type: "camera" | "door" | "io-board" | "camera-lift" | "motion-sensor" | "panic-button" | "intercom-operator" | "intercom-terminal" | "pbx" | "alarm" | "display" | "server" | "device-gateway" | "presence-tracker" | "reader" | "nvr-recorder" | "nvr-exporter" | "nvr-analytics-server" | "system";
39
- name: string;
40
- foreignRef: string;
41
- notes: string | null;
42
- tags: string[];
43
- relations: z.objectInputType<{
44
- id: z.ZodString;
45
- kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
46
- }, z.ZodUnknown, "strip">[];
47
- provider: string;
48
- providerMetadata: {} & {
49
- [k: string]: unknown;
50
- };
51
- specs?: z.objectInputType<{}, z.ZodUnknown, "strip"> | undefined;
52
- }>;
12
+ kind: z.ZodEnum<{
13
+ attachedTo: "attachedTo";
14
+ parent: "parent";
15
+ child: "child";
16
+ holds: "holds";
17
+ isHeldBy: "isHeldBy";
18
+ observes: "observes";
19
+ isObservedBy: "isObservedBy";
20
+ sendsInputTo: "sendsInputTo";
21
+ receivesInputFrom: "receivesInputFrom";
22
+ sendsOutputTo: "sendsOutputTo";
23
+ receivesOutputFrom: "receivesOutputFrom";
24
+ unlocks: "unlocks";
25
+ isUnlockedBy: "isUnlockedBy";
26
+ controls: "controls";
27
+ isControlledBy: "isControlledBy";
28
+ records: "records";
29
+ isRecordedBy: "isRecordedBy";
30
+ reads: "reads";
31
+ isReadBy: "isReadBy";
32
+ }>;
33
+ }, z.core.$catchall<z.ZodUnknown>>>;
34
+ type: z.ZodEnum<{
35
+ camera: "camera";
36
+ door: "door";
37
+ "io-board": "io-board";
38
+ "camera-lift": "camera-lift";
39
+ "motion-sensor": "motion-sensor";
40
+ "panic-button": "panic-button";
41
+ "intercom-operator": "intercom-operator";
42
+ "intercom-terminal": "intercom-terminal";
43
+ pbx: "pbx";
44
+ alarm: "alarm";
45
+ display: "display";
46
+ server: "server";
47
+ "device-gateway": "device-gateway";
48
+ "presence-tracker": "presence-tracker";
49
+ reader: "reader";
50
+ "nvr-recorder": "nvr-recorder";
51
+ "nvr-exporter": "nvr-exporter";
52
+ "nvr-analytics-server": "nvr-analytics-server";
53
+ system: "system";
54
+ }>;
55
+ specs: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>>;
56
+ }, z.core.$strip>;
53
57
  export declare const sUpdateDeviceRequest: z.ZodObject<{
54
58
  id: z.ZodString;
55
59
  name: z.ZodOptional<z.ZodString>;
56
60
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
- providerMetadata: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>>;
58
- specs: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>>;
59
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
61
+ providerMetadata: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>>;
62
+ specs: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>>;
63
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
60
64
  relations: z.ZodOptional<z.ZodArray<z.ZodObject<{
61
65
  id: z.ZodString;
62
- kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
63
- }, "strip", z.ZodUnknown, z.objectOutputType<{
64
- id: z.ZodString;
65
- kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
66
- }, z.ZodUnknown, "strip">, z.objectInputType<{
67
- id: z.ZodString;
68
- kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
69
- }, z.ZodUnknown, "strip">>, "many">>;
66
+ kind: z.ZodEnum<{
67
+ attachedTo: "attachedTo";
68
+ parent: "parent";
69
+ child: "child";
70
+ holds: "holds";
71
+ isHeldBy: "isHeldBy";
72
+ observes: "observes";
73
+ isObservedBy: "isObservedBy";
74
+ sendsInputTo: "sendsInputTo";
75
+ receivesInputFrom: "receivesInputFrom";
76
+ sendsOutputTo: "sendsOutputTo";
77
+ receivesOutputFrom: "receivesOutputFrom";
78
+ unlocks: "unlocks";
79
+ isUnlockedBy: "isUnlockedBy";
80
+ controls: "controls";
81
+ isControlledBy: "isControlledBy";
82
+ records: "records";
83
+ isRecordedBy: "isRecordedBy";
84
+ reads: "reads";
85
+ isReadBy: "isReadBy";
86
+ }>;
87
+ }, z.core.$catchall<z.ZodUnknown>>>>;
70
88
  enabled: z.ZodOptional<z.ZodBoolean>;
71
- }, "strip", z.ZodTypeAny, {
72
- id: string;
73
- name?: string | undefined;
74
- specs?: z.objectOutputType<{}, z.ZodUnknown, "strip"> | undefined;
75
- enabled?: boolean | undefined;
76
- notes?: string | null | undefined;
77
- tags?: string[] | undefined;
78
- relations?: z.objectOutputType<{
79
- id: z.ZodString;
80
- kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
81
- }, z.ZodUnknown, "strip">[] | undefined;
82
- providerMetadata?: z.objectOutputType<{}, z.ZodUnknown, "strip"> | undefined;
83
- }, {
84
- id: string;
85
- name?: string | undefined;
86
- specs?: z.objectInputType<{}, z.ZodUnknown, "strip"> | undefined;
87
- enabled?: boolean | undefined;
88
- notes?: string | null | undefined;
89
- tags?: string[] | undefined;
90
- relations?: z.objectInputType<{
91
- id: z.ZodString;
92
- kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
93
- }, z.ZodUnknown, "strip">[] | undefined;
94
- providerMetadata?: z.objectInputType<{}, z.ZodUnknown, "strip"> | undefined;
95
- }>;
89
+ }, z.core.$strip>;
96
90
  export declare const sOverrideDeviceSpecsRequest: z.ZodObject<{
97
91
  id: z.ZodString;
98
- specs: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
92
+ specs: z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>;
99
93
  specUpdates: z.ZodOptional<z.ZodArray<z.ZodObject<{
100
94
  path: z.ZodString;
101
95
  value: z.ZodUnknown;
102
- }, "strip", z.ZodTypeAny, {
103
- path: string;
104
- value?: unknown;
105
- }, {
106
- path: string;
107
- value?: unknown;
108
- }>, "many">>;
109
- }, "strip", z.ZodTypeAny, {
110
- id: string;
111
- specs: {} & {
112
- [k: string]: unknown;
113
- };
114
- specUpdates?: {
115
- path: string;
116
- value?: unknown;
117
- }[] | undefined;
118
- }, {
119
- id: string;
120
- specs: {} & {
121
- [k: string]: unknown;
122
- };
123
- specUpdates?: {
124
- path: string;
125
- value?: unknown;
126
- }[] | undefined;
127
- }>;
96
+ }, z.core.$strip>>>;
97
+ }, z.core.$strip>;
128
98
  export declare const sAddDevicePresetRequest: z.ZodObject<{
129
99
  name: z.ZodString;
130
- params: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
100
+ params: z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>;
131
101
  assignedRef: z.ZodNullable<z.ZodString>;
132
102
  isDefault: z.ZodBoolean;
133
103
  deviceId: z.ZodString;
134
- }, "strip", z.ZodTypeAny, {
135
- params: {} & {
136
- [k: string]: unknown;
137
- };
138
- name: string;
139
- deviceId: string;
140
- isDefault: boolean;
141
- assignedRef: string | null;
142
- }, {
143
- params: {} & {
144
- [k: string]: unknown;
145
- };
146
- name: string;
147
- deviceId: string;
148
- isDefault: boolean;
149
- assignedRef: string | null;
150
- }>;
104
+ }, z.core.$strip>;
151
105
  export declare const sUpdateDevicePresetRequest: z.ZodObject<{
152
106
  name: z.ZodOptional<z.ZodString>;
153
107
  isDefault: z.ZodOptional<z.ZodBoolean>;
154
108
  assignedRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
155
109
  deviceId: z.ZodString;
156
110
  presetId: z.ZodString;
157
- }, "strip", z.ZodTypeAny, {
158
- deviceId: string;
159
- presetId: string;
160
- name?: string | undefined;
161
- isDefault?: boolean | undefined;
162
- assignedRef?: string | null | undefined;
163
- }, {
164
- deviceId: string;
165
- presetId: string;
166
- name?: string | undefined;
167
- isDefault?: boolean | undefined;
168
- assignedRef?: string | null | undefined;
169
- }>;
111
+ }, z.core.$strip>;
170
112
  export declare const sRemoveDevicePresetRequest: z.ZodObject<{
171
113
  deviceId: z.ZodString;
172
114
  presetId: z.ZodString;
173
- }, "strip", z.ZodTypeAny, {
174
- deviceId: string;
175
- presetId: string;
176
- }, {
177
- deviceId: string;
178
- presetId: string;
179
- }>;
115
+ }, z.core.$strip>;
180
116
  export declare const sGetEventCatalogResponse: z.ZodArray<z.ZodObject<{
181
117
  kind: z.ZodString;
182
118
  label: z.ZodString;
183
119
  variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
184
120
  name: z.ZodString;
185
121
  label: z.ZodString;
186
- }, "strip", z.ZodTypeAny, {
187
- name: string;
188
- label: string;
189
- }, {
190
- name: string;
191
- label: string;
192
- }>, "many">>;
193
- }, "strip", z.ZodTypeAny, {
194
- kind: string;
195
- label: string;
196
- variants?: {
197
- name: string;
198
- label: string;
199
- }[] | undefined;
200
- }, {
201
- kind: string;
202
- label: string;
203
- variants?: {
204
- name: string;
205
- label: string;
206
- }[] | undefined;
207
- }>, "many">;
122
+ }, z.core.$strip>>>;
123
+ }, z.core.$strip>>;
208
124
  export declare const sSetUnsetRelationRequest: z.ZodObject<{
209
125
  leftId: z.ZodString;
210
126
  rightId: z.ZodString;
211
- kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
212
- }, "strip", z.ZodUnknown, z.objectOutputType<{
213
- leftId: z.ZodString;
214
- rightId: z.ZodString;
215
- kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
216
- }, z.ZodUnknown, "strip">, z.objectInputType<{
217
- leftId: z.ZodString;
218
- rightId: z.ZodString;
219
- kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
220
- }, z.ZodUnknown, "strip">>;
127
+ kind: z.ZodEnum<{
128
+ attachedTo: "attachedTo";
129
+ parent: "parent";
130
+ child: "child";
131
+ holds: "holds";
132
+ isHeldBy: "isHeldBy";
133
+ observes: "observes";
134
+ isObservedBy: "isObservedBy";
135
+ sendsInputTo: "sendsInputTo";
136
+ receivesInputFrom: "receivesInputFrom";
137
+ sendsOutputTo: "sendsOutputTo";
138
+ receivesOutputFrom: "receivesOutputFrom";
139
+ unlocks: "unlocks";
140
+ isUnlockedBy: "isUnlockedBy";
141
+ controls: "controls";
142
+ isControlledBy: "isControlledBy";
143
+ records: "records";
144
+ isRecordedBy: "isRecordedBy";
145
+ reads: "reads";
146
+ isReadBy: "isReadBy";
147
+ }>;
148
+ }, z.core.$catchall<z.ZodUnknown>>;
221
149
  export type AddDeviceRequest = z.infer<typeof sAddDeviceRequest>;
222
150
  export type UpdateDeviceRequest = z.infer<typeof sUpdateDeviceRequest>;
223
151
  export type OverrideDeviceSpecsRequest = z.infer<typeof sOverrideDeviceSpecsRequest>;