homebridge-adt-pulse 3.0.0-beta.4 → 3.0.0-beta.5

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.
@@ -1,308 +0,0 @@
1
- /**
2
- * Plugin config platform.
3
- *
4
- * @since 1.0.0
5
- */
6
- export type PluginConfigPlatform =
7
- 'ADTPulse';
8
-
9
- /**
10
- * Plugin device category.
11
- *
12
- * @since 1.0.0
13
- */
14
- export type PluginDeviceCategory =
15
- 'ALARM_SYSTEM'
16
- | 'OTHER'
17
- | 'SECURITY_SYSTEM'
18
- | 'SENSOR';
19
-
20
- /**
21
- * Plugin device id.
22
- *
23
- * @since 1.0.0
24
- */
25
- export type PluginDeviceId =
26
- `adt-device-${number}`;
27
-
28
- /**
29
- * Portal device status.
30
- *
31
- * @since 1.0.0
32
- */
33
- export type PortalDeviceStatus =
34
- 'Online'
35
- | 'Status Unknown';
36
-
37
- /**
38
- * Plugin device type.
39
- *
40
- * @since 1.0.0
41
- */
42
- export type PluginDeviceType =
43
- 'co'
44
- | 'doorWindow'
45
- | 'fire'
46
- | 'flood'
47
- | 'gateway'
48
- | 'glass'
49
- | 'motion'
50
- | 'panel'
51
- | 'temperature';
52
-
53
- /**
54
- * Plugin log level.
55
- *
56
- * @since 1.0.0
57
- */
58
- export type PluginLogLevel =
59
- 'error'
60
- | 'info'
61
- | 'success'
62
- | 'warn';
63
-
64
- /**
65
- * Portal panel arm button id.
66
- *
67
- * @since 1.0.0
68
- */
69
- export type PortalPanelArmButtonId =
70
- `security_button_${number}`;
71
-
72
- /**
73
- * Portal panel arm button href.
74
- *
75
- * @since 1.0.0
76
- */
77
- export type PortalPanelArmButtonHref =
78
- 'rest/adt/ui/client/security/setArmState';
79
-
80
- /**
81
- * Portal panel arm button loading text.
82
- *
83
- * @since 1.0.0
84
- */
85
- export type PortalPanelArmButtonLoadingText =
86
- 'Arming Away'
87
- | 'Arming Night'
88
- | 'Arming Stay'
89
- | 'Disarming';
90
-
91
- /**
92
- * Portal panel arm button relative url.
93
- *
94
- * @since 1.0.0
95
- */
96
- export type PortalPanelArmButtonRelativeUrl =
97
- 'quickcontrol/armDisarm.jsp';
98
-
99
- /**
100
- * Portal panel arm button text.
101
- *
102
- * @since 1.0.0
103
- */
104
- export type PortalPanelArmButtonText =
105
- 'Arm Away'
106
- | 'Arm Night'
107
- | 'Arm Stay'
108
- | 'Clear Alarm'
109
- | 'Disarm';
110
-
111
- /**
112
- * Portal panel arm state clean.
113
- *
114
- * @since 1.0.0
115
- */
116
- export type PortalPanelArmStateClean =
117
- 'away'
118
- | 'disarmed_with_alarm'
119
- | 'night'
120
- | 'off'
121
- | 'stay';
122
-
123
- /**
124
- * Portal panel arm state dirty.
125
- *
126
- * @since 1.0.0
127
- */
128
- export type PortalPanelArmStateDirty =
129
- 'away'
130
- | 'disarmed'
131
- | 'disarmed+with+alarm'
132
- | 'night+stay'
133
- | 'stay';
134
-
135
- /**
136
- * Portal panel arm state force.
137
- *
138
- * @since 1.0.0
139
- */
140
- export type PortalPanelArmStateForce =
141
- 'forcearm';
142
-
143
- /**
144
- * Portal panel arm value.
145
- *
146
- * @since 1.0.0
147
- */
148
- export type PortalPanelArmValue =
149
- 'away'
150
- | 'night'
151
- | 'off'
152
- | 'stay';
153
-
154
- /**
155
- * Portal panel force arm button href.
156
- *
157
- * @since 1.0.0
158
- */
159
- export type PortalPanelForceArmButtonHref =
160
- 'rest/adt/ui/client/security/setForceArm'
161
- | 'rest/adt/ui/client/security/setCancelProtest';
162
-
163
- /**
164
- * Portal panel force arm button relative url.
165
- *
166
- * @since 1.0.0
167
- */
168
- export type PortalPanelForceArmButtonRelativeUrl =
169
- `/myhome/${PortalVersion}/quickcontrol/serv/RunRRACommand`;
170
-
171
- /**
172
- * Portal panel force arm response.
173
- *
174
- * @since 1.0.0
175
- */
176
- export type PortalPanelForceArmResponse =
177
- 'Could not process the request!</br></br>Error: 1.0-OKAY'
178
- | 'Could not process the request!</br></br>Error: Method not allowed. Allowed methods GET, HEAD';
179
-
180
- /**
181
- * Portal panel state.
182
- *
183
- * @since 1.0.0
184
- */
185
- export type PortalPanelState =
186
- 'Armed Away'
187
- | 'Armed Night'
188
- | 'Armed Stay'
189
- | 'Disarmed'
190
- | 'Status Unavailable';
191
-
192
- /**
193
- * Portal panel status.
194
- *
195
- * @since 1.0.0
196
- */
197
- export type PortalPanelStatus =
198
- '1 Sensor Open'
199
- | PortalPanelStatusSensorsOpen
200
- | 'All Quiet'
201
- | 'BURGLARY ALARM'
202
- | 'Carbon Monoxide Alarm'
203
- | 'FIRE ALARM'
204
- | 'Motion'
205
- | 'Sensor Bypassed'
206
- | 'Sensor Problem'
207
- | 'Sensors Bypassed'
208
- | 'Sensors Tripped'
209
- | 'Sensor Tripped'
210
- | 'Uncleared Alarm'
211
- | 'WATER ALARM'
212
- | '';
213
-
214
- /**
215
- * Portal panel status sensors open.
216
- *
217
- * @since 1.0.0
218
- */
219
- export type PortalPanelStatusSensorsOpen =
220
- `${number} Sensors Open`;
221
-
222
- /**
223
- * Portal sensor device type.
224
- *
225
- * @since 1.0.0
226
- */
227
- export type PortalSensorDeviceType =
228
- 'Door Sensor'
229
- | 'Door/Window Sensor'
230
- | 'Carbon Monoxide Detector'
231
- | 'Fire (Smoke/Heat) Detector'
232
- | 'Glass Break Detector'
233
- | 'Motion Sensor'
234
- | 'Motion Sensor (Notable Events Only)'
235
- | 'Temperature Sensor'
236
- | 'Water/Flood Sensor'
237
- | 'Window Sensor';
238
-
239
- /**
240
- * Portal sensor status icon.
241
- *
242
- * @since 1.0.0
243
- */
244
- export type PortalSensorStatusIcon =
245
- 'devStatAlarm'
246
- | 'devStatLowBatt'
247
- | 'devStatMotion'
248
- | 'devStatOK'
249
- | 'devStatOpen'
250
- | 'devStatTamper'
251
- | 'devStatUnknown';
252
-
253
- /**
254
- * Portal sensor status text.
255
- *
256
- * @since 1.0.0
257
- */
258
- export type PortalSensorStatusText =
259
- 'ALARM, Okay'
260
- | 'Closed'
261
- | 'Motion'
262
- | 'No Motion'
263
- | 'Okay'
264
- | 'Open'
265
- | 'Tripped'
266
- | 'Unknown';
267
-
268
- /**
269
- * Portal subdomain.
270
- *
271
- * @since 1.0.0
272
- */
273
- export type PortalSubdomain =
274
- 'portal'
275
- | 'portal-ca';
276
-
277
- /**
278
- * Portal sync code.
279
- *
280
- * @since 1.0.0
281
- */
282
- export type PortalSyncCode =
283
- '1-0-0'
284
- | '2-0-0'
285
- | `${number}-0-0`
286
- | `${number}-${number}-0`;
287
-
288
- /**
289
- * Portal version.
290
- *
291
- * @since 1.0.0
292
- */
293
- export type PortalVersion =
294
- '16.0.0-131'
295
- | '17.0.0-69'
296
- | '18.0.0-78'
297
- | '19.0.0-89'
298
- | '20.0.0-221'
299
- | '20.0.0-244'
300
- | '21.0.0-344'
301
- | '21.0.0-353'
302
- | '21.0.0-354'
303
- | '22.0.0-233'
304
- | '23.0.0-99'
305
- | '24.0.0-117'
306
- | '25.0.0-21'
307
- | '26.0.0-32'
308
- | '27.0.0-140';