@awarevue/api-types 2.0.82 → 2.0.84

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 +1000 -10986
  3. package/dist/api/agent-protocol/protocol.js +114 -57
  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 +36 -146
  75. package/dist/objects/agent-metadata.js +1 -2
  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
@@ -6,34 +6,8 @@ export declare const sPbxCallCommand: z.ZodObject<{
6
6
  soundFile: z.ZodString;
7
7
  context: z.ZodOptional<z.ZodString>;
8
8
  callerId: z.ZodOptional<z.ZodString>;
9
- }, "strip", z.ZodTypeAny, {
10
- endpoint: string;
11
- soundFile: string;
12
- context?: string | undefined;
13
- callerId?: string | undefined;
14
- }, {
15
- endpoint: string;
16
- soundFile: string;
17
- context?: string | undefined;
18
- callerId?: string | undefined;
19
- }>;
20
- }, "strip", z.ZodTypeAny, {
21
- params: {
22
- endpoint: string;
23
- soundFile: string;
24
- context?: string | undefined;
25
- callerId?: string | undefined;
26
- };
27
- command: "pbx.call";
28
- }, {
29
- params: {
30
- endpoint: string;
31
- soundFile: string;
32
- context?: string | undefined;
33
- callerId?: string | undefined;
34
- };
35
- command: "pbx.call";
36
- }>;
9
+ }, z.core.$strip>;
10
+ }, z.core.$strip>;
37
11
  export declare const pbxCommands: {
38
12
  readonly 'pbx.call': z.ZodObject<{
39
13
  command: z.ZodLiteral<"pbx.call">;
@@ -42,34 +16,8 @@ export declare const pbxCommands: {
42
16
  soundFile: z.ZodString;
43
17
  context: z.ZodOptional<z.ZodString>;
44
18
  callerId: z.ZodOptional<z.ZodString>;
45
- }, "strip", z.ZodTypeAny, {
46
- endpoint: string;
47
- soundFile: string;
48
- context?: string | undefined;
49
- callerId?: string | undefined;
50
- }, {
51
- endpoint: string;
52
- soundFile: string;
53
- context?: string | undefined;
54
- callerId?: string | undefined;
55
- }>;
56
- }, "strip", z.ZodTypeAny, {
57
- params: {
58
- endpoint: string;
59
- soundFile: string;
60
- context?: string | undefined;
61
- callerId?: string | undefined;
62
- };
63
- command: "pbx.call";
64
- }, {
65
- params: {
66
- endpoint: string;
67
- soundFile: string;
68
- context?: string | undefined;
69
- callerId?: string | undefined;
70
- };
71
- command: "pbx.call";
72
- }>;
19
+ }, z.core.$strip>;
20
+ }, z.core.$strip>;
73
21
  };
74
22
  export type PbxCallCommand = z.infer<typeof sPbxCallCommand>;
75
23
  export type PbxCommand = PbxCallCommand;
@@ -4,26 +4,8 @@ export declare const sCheckInPersonCommand: z.ZodObject<{
4
4
  params: z.ZodObject<{
5
5
  personId: z.ZodString;
6
6
  zoneId: z.ZodNullable<z.ZodString>;
7
- }, "strip", z.ZodTypeAny, {
8
- personId: string;
9
- zoneId: string | null;
10
- }, {
11
- personId: string;
12
- zoneId: string | null;
13
- }>;
14
- }, "strip", z.ZodTypeAny, {
15
- params: {
16
- personId: string;
17
- zoneId: string | null;
18
- };
19
- command: "presence-tracker.check-in";
20
- }, {
21
- params: {
22
- personId: string;
23
- zoneId: string | null;
24
- };
25
- command: "presence-tracker.check-in";
26
- }>;
7
+ }, z.core.$strip>;
8
+ }, z.core.$strip>;
27
9
  export type CheckInPerson = z.infer<typeof sCheckInPersonCommand>;
28
10
  export declare const sCheckOutPersonCommand: z.ZodObject<{
29
11
  command: z.ZodLiteral<"presence-tracker.check-out">;
@@ -31,56 +13,16 @@ export declare const sCheckOutPersonCommand: z.ZodObject<{
31
13
  personId: z.ZodString;
32
14
  zoneId: z.ZodNullable<z.ZodString>;
33
15
  leave: z.ZodBoolean;
34
- }, "strip", z.ZodTypeAny, {
35
- personId: string;
36
- zoneId: string | null;
37
- leave: boolean;
38
- }, {
39
- personId: string;
40
- zoneId: string | null;
41
- leave: boolean;
42
- }>;
43
- }, "strip", z.ZodTypeAny, {
44
- params: {
45
- personId: string;
46
- zoneId: string | null;
47
- leave: boolean;
48
- };
49
- command: "presence-tracker.check-out";
50
- }, {
51
- params: {
52
- personId: string;
53
- zoneId: string | null;
54
- leave: boolean;
55
- };
56
- command: "presence-tracker.check-out";
57
- }>;
16
+ }, z.core.$strip>;
17
+ }, z.core.$strip>;
58
18
  export type CheckOutPerson = z.infer<typeof sCheckOutPersonCommand>;
59
19
  export declare const sTogglePresenceCommand: z.ZodObject<{
60
20
  command: z.ZodLiteral<"presence-tracker.toggle-presence">;
61
21
  params: z.ZodObject<{
62
22
  personId: z.ZodString;
63
23
  zoneId: z.ZodNullable<z.ZodString>;
64
- }, "strip", z.ZodTypeAny, {
65
- personId: string;
66
- zoneId: string | null;
67
- }, {
68
- personId: string;
69
- zoneId: string | null;
70
- }>;
71
- }, "strip", z.ZodTypeAny, {
72
- params: {
73
- personId: string;
74
- zoneId: string | null;
75
- };
76
- command: "presence-tracker.toggle-presence";
77
- }, {
78
- params: {
79
- personId: string;
80
- zoneId: string | null;
81
- };
82
- command: "presence-tracker.toggle-presence";
83
- }>;
24
+ }, z.core.$strip>;
25
+ }, z.core.$strip>;
84
26
  export type TogglePresence = z.infer<typeof sTogglePresenceCommand>;
85
27
  export declare const presenceTrackerCommands: {
86
28
  readonly 'presence-tracker.check-in': z.ZodObject<{
@@ -88,80 +30,22 @@ export declare const presenceTrackerCommands: {
88
30
  params: z.ZodObject<{
89
31
  personId: z.ZodString;
90
32
  zoneId: z.ZodNullable<z.ZodString>;
91
- }, "strip", z.ZodTypeAny, {
92
- personId: string;
93
- zoneId: string | null;
94
- }, {
95
- personId: string;
96
- zoneId: string | null;
97
- }>;
98
- }, "strip", z.ZodTypeAny, {
99
- params: {
100
- personId: string;
101
- zoneId: string | null;
102
- };
103
- command: "presence-tracker.check-in";
104
- }, {
105
- params: {
106
- personId: string;
107
- zoneId: string | null;
108
- };
109
- command: "presence-tracker.check-in";
110
- }>;
33
+ }, z.core.$strip>;
34
+ }, z.core.$strip>;
111
35
  readonly 'presence-tracker.check-out': z.ZodObject<{
112
36
  command: z.ZodLiteral<"presence-tracker.check-out">;
113
37
  params: z.ZodObject<{
114
38
  personId: z.ZodString;
115
39
  zoneId: z.ZodNullable<z.ZodString>;
116
40
  leave: z.ZodBoolean;
117
- }, "strip", z.ZodTypeAny, {
118
- personId: string;
119
- zoneId: string | null;
120
- leave: boolean;
121
- }, {
122
- personId: string;
123
- zoneId: string | null;
124
- leave: boolean;
125
- }>;
126
- }, "strip", z.ZodTypeAny, {
127
- params: {
128
- personId: string;
129
- zoneId: string | null;
130
- leave: boolean;
131
- };
132
- command: "presence-tracker.check-out";
133
- }, {
134
- params: {
135
- personId: string;
136
- zoneId: string | null;
137
- leave: boolean;
138
- };
139
- command: "presence-tracker.check-out";
140
- }>;
41
+ }, z.core.$strip>;
42
+ }, z.core.$strip>;
141
43
  readonly 'presence-tracker.toggle-presence': z.ZodObject<{
142
44
  command: z.ZodLiteral<"presence-tracker.toggle-presence">;
143
45
  params: z.ZodObject<{
144
46
  personId: z.ZodString;
145
47
  zoneId: z.ZodNullable<z.ZodString>;
146
- }, "strip", z.ZodTypeAny, {
147
- personId: string;
148
- zoneId: string | null;
149
- }, {
150
- personId: string;
151
- zoneId: string | null;
152
- }>;
153
- }, "strip", z.ZodTypeAny, {
154
- params: {
155
- personId: string;
156
- zoneId: string | null;
157
- };
158
- command: "presence-tracker.toggle-presence";
159
- }, {
160
- params: {
161
- personId: string;
162
- zoneId: string | null;
163
- };
164
- command: "presence-tracker.toggle-presence";
165
- }>;
48
+ }, z.core.$strip>;
49
+ }, z.core.$strip>;
166
50
  };
167
51
  export type PresenceTrackerCommand = CheckInPerson | CheckOutPerson | TogglePresence;