@kohost/api-client 3.0.0-beta.46 → 3.0.0-beta.47

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.
@@ -8,14 +8,17 @@ var __commonJS = (cb, mod) => function __require() {
8
8
  // src/Errors/AppError.js
9
9
  var require_AppError = __commonJS({
10
10
  "src/Errors/AppError.js"(exports2, module2) {
11
- module2.exports = /* @__PURE__ */ __name(class AppError extends Error {
11
+ module2.exports = class AppError extends Error {
12
+ static {
13
+ __name(this, "AppError");
14
+ }
12
15
  constructor(message = "Internal Server Error", options) {
13
16
  super(message, options);
14
17
  this.type = this.constructor.name;
15
18
  this.statusCode = 500;
16
19
  Object.setPrototypeOf(this, AppError.prototype);
17
20
  }
18
- }, "AppError");
21
+ };
19
22
  }
20
23
  });
21
24
 
@@ -23,13 +26,16 @@ var require_AppError = __commonJS({
23
26
  var require_AuthenticationError = __commonJS({
24
27
  "src/Errors/AuthenticationError.js"(exports2, module2) {
25
28
  var AppError = require_AppError();
26
- module2.exports = /* @__PURE__ */ __name(class AuthenticationError extends AppError {
29
+ module2.exports = class AuthenticationError extends AppError {
30
+ static {
31
+ __name(this, "AuthenticationError");
32
+ }
27
33
  constructor(message = "Authentication Error", options = {}) {
28
34
  super(message, options);
29
35
  this.statusCode = 401;
30
36
  Object.setPrototypeOf(this, AuthenticationError.prototype);
31
37
  }
32
- }, "AuthenticationError");
38
+ };
33
39
  }
34
40
  });
35
41
 
@@ -37,13 +43,16 @@ var require_AuthenticationError = __commonJS({
37
43
  var require_AuthorizationError = __commonJS({
38
44
  "src/Errors/AuthorizationError.js"(exports2, module2) {
39
45
  var AppError = require_AppError();
40
- module2.exports = /* @__PURE__ */ __name(class AuthorizationError extends AppError {
46
+ module2.exports = class AuthorizationError extends AppError {
47
+ static {
48
+ __name(this, "AuthorizationError");
49
+ }
41
50
  constructor(message = "Authorization Error", options = {}) {
42
51
  super(message, options);
43
52
  this.statusCode = 403;
44
53
  Object.setPrototypeOf(this, AuthorizationError.prototype);
45
54
  }
46
- }, "AuthorizationError");
55
+ };
47
56
  }
48
57
  });
49
58
 
@@ -51,13 +60,16 @@ var require_AuthorizationError = __commonJS({
51
60
  var require_DeviceCommError = __commonJS({
52
61
  "src/Errors/DeviceCommError.js"(exports2, module2) {
53
62
  var AppError = require_AppError();
54
- module2.exports = /* @__PURE__ */ __name(class DeviceCommError extends AppError {
63
+ module2.exports = class DeviceCommError extends AppError {
64
+ static {
65
+ __name(this, "DeviceCommError");
66
+ }
55
67
  constructor(message = "Device Communication Error", options = {}) {
56
68
  super(message, options);
57
69
  this.statusCode = 503;
58
70
  Object.setPrototypeOf(this, DeviceCommError.prototype);
59
71
  }
60
- }, "DeviceCommError");
72
+ };
61
73
  }
62
74
  });
63
75
 
@@ -65,13 +77,16 @@ var require_DeviceCommError = __commonJS({
65
77
  var require_LoginError = __commonJS({
66
78
  "src/Errors/LoginError.js"(exports2, module2) {
67
79
  var AppError = require_AppError();
68
- module2.exports = /* @__PURE__ */ __name(class LoginError extends AppError {
80
+ module2.exports = class LoginError extends AppError {
81
+ static {
82
+ __name(this, "LoginError");
83
+ }
69
84
  constructor(message = "Invalid Login information provided", options = {}) {
70
85
  super(message, options);
71
86
  this.statusCode = 401;
72
87
  Object.setPrototypeOf(this, LoginError.prototype);
73
88
  }
74
- }, "LoginError");
89
+ };
75
90
  }
76
91
  });
77
92
 
@@ -79,13 +94,16 @@ var require_LoginError = __commonJS({
79
94
  var require_NotFoundError = __commonJS({
80
95
  "src/Errors/NotFoundError.js"(exports2, module2) {
81
96
  var AppError = require_AppError();
82
- module2.exports = /* @__PURE__ */ __name(class NotFoundError extends AppError {
97
+ module2.exports = class NotFoundError extends AppError {
98
+ static {
99
+ __name(this, "NotFoundError");
100
+ }
83
101
  constructor(message = "Resource Not Found", options = {}) {
84
102
  super(message, options);
85
103
  this.statusCode = 404;
86
104
  Object.setPrototypeOf(this, NotFoundError.prototype);
87
105
  }
88
- }, "NotFoundError");
106
+ };
89
107
  }
90
108
  });
91
109
 
@@ -93,13 +111,16 @@ var require_NotFoundError = __commonJS({
93
111
  var require_RequestError = __commonJS({
94
112
  "src/Errors/RequestError.js"(exports2, module2) {
95
113
  var AppError = require_AppError();
96
- module2.exports = /* @__PURE__ */ __name(class RequestError extends AppError {
114
+ module2.exports = class RequestError extends AppError {
115
+ static {
116
+ __name(this, "RequestError");
117
+ }
97
118
  constructor(message = "Bad Request", options = {}) {
98
119
  super(message, options);
99
120
  this.statusCode = 400;
100
121
  Object.setPrototypeOf(this, RequestError.prototype);
101
122
  }
102
- }, "RequestError");
123
+ };
103
124
  }
104
125
  });
105
126
 
@@ -107,13 +128,16 @@ var require_RequestError = __commonJS({
107
128
  var require_SystemCommError = __commonJS({
108
129
  "src/Errors/SystemCommError.js"(exports2, module2) {
109
130
  var AppError = require_AppError();
110
- module2.exports = /* @__PURE__ */ __name(class SystemCommError extends AppError {
131
+ module2.exports = class SystemCommError extends AppError {
132
+ static {
133
+ __name(this, "SystemCommError");
134
+ }
111
135
  constructor(message = "System Communication Error", options = {}) {
112
136
  super(message, options);
113
137
  this.statusCode = 503;
114
138
  Object.setPrototypeOf(this, SystemCommError.prototype);
115
139
  }
116
- }, "SystemCommError");
140
+ };
117
141
  }
118
142
  });
119
143
 
@@ -121,13 +145,16 @@ var require_SystemCommError = __commonJS({
121
145
  var require_TokenExpiredError = __commonJS({
122
146
  "src/Errors/TokenExpiredError.js"(exports2, module2) {
123
147
  var AppError = require_AppError();
124
- module2.exports = /* @__PURE__ */ __name(class TokenExpiredError extends AppError {
148
+ module2.exports = class TokenExpiredError extends AppError {
149
+ static {
150
+ __name(this, "TokenExpiredError");
151
+ }
125
152
  constructor(message = "Token Expired", options = {}) {
126
153
  super(message, options);
127
154
  this.statusCode = 401;
128
155
  Object.setPrototypeOf(this, TokenExpiredError.prototype);
129
156
  }
130
- }, "TokenExpiredError");
157
+ };
131
158
  }
132
159
  });
133
160
 
@@ -135,13 +162,16 @@ var require_TokenExpiredError = __commonJS({
135
162
  var require_UnprocessableRequestError = __commonJS({
136
163
  "src/Errors/UnprocessableRequestError.js"(exports2, module2) {
137
164
  var AppError = require_AppError();
138
- module2.exports = /* @__PURE__ */ __name(class UnprocessableRequestError extends AppError {
165
+ module2.exports = class UnprocessableRequestError extends AppError {
166
+ static {
167
+ __name(this, "UnprocessableRequestError");
168
+ }
139
169
  constructor(message = "Unprocessable Request Error", options = {}) {
140
170
  super(message, options);
141
171
  this.statusCode = 422;
142
172
  Object.setPrototypeOf(this, UnprocessableRequestError.prototype);
143
173
  }
144
- }, "UnprocessableRequestError");
174
+ };
145
175
  }
146
176
  });
147
177
 
@@ -149,13 +179,16 @@ var require_UnprocessableRequestError = __commonJS({
149
179
  var require_ValidationError = __commonJS({
150
180
  "src/Errors/ValidationError.js"(exports2, module2) {
151
181
  var AppError = require_AppError();
152
- module2.exports = /* @__PURE__ */ __name(class ValidationError extends AppError {
182
+ module2.exports = class ValidationError extends AppError {
183
+ static {
184
+ __name(this, "ValidationError");
185
+ }
153
186
  constructor(message = "Validation Error", options = {}) {
154
187
  super(message, options);
155
188
  this.statusCode = 400;
156
189
  Object.setPrototypeOf(this, ValidationError.prototype);
157
190
  }
158
- }, "ValidationError");
191
+ };
159
192
  }
160
193
  });
161
194
 
@@ -9,6 +9,9 @@ var __commonJS = (cb, mod) => function __require() {
9
9
  var require_Event = __commonJS({
10
10
  "src/Events/Event.js"(exports2, module2) {
11
11
  var Event = class {
12
+ static {
13
+ __name(this, "Event");
14
+ }
12
15
  constructor(data, context) {
13
16
  this.data = [];
14
17
  this.context = {};
@@ -60,7 +63,6 @@ var require_Event = __commonJS({
60
63
  return { data: { ...this.data } };
61
64
  }
62
65
  };
63
- __name(Event, "Event");
64
66
  module2.exports = Event;
65
67
  }
66
68
  });
@@ -70,6 +72,9 @@ var require_SystemGatewayUpdatedEvent = __commonJS({
70
72
  "src/Events/SystemGatewayUpdatedEvent.js"(exports2, module2) {
71
73
  var Event = require_Event();
72
74
  var SystemGatewayUpdatedEvent2 = class extends Event {
75
+ static {
76
+ __name(this, "SystemGatewayUpdatedEvent");
77
+ }
73
78
  constructor(space) {
74
79
  super(space);
75
80
  }
@@ -80,7 +85,6 @@ var require_SystemGatewayUpdatedEvent = __commonJS({
80
85
  return `gateway.${this.keyId}.updated`;
81
86
  }
82
87
  };
83
- __name(SystemGatewayUpdatedEvent2, "SystemGatewayUpdatedEvent");
84
88
  module2.exports = SystemGatewayUpdatedEvent2;
85
89
  }
86
90
  });
@@ -90,6 +94,9 @@ var require_SystemThermostatUpdatedEvent = __commonJS({
90
94
  "src/Events/SystemThermostatUpdatedEvent.js"(exports2, module2) {
91
95
  var Event = require_Event();
92
96
  var SystemThermostatUpdatedEvent2 = class extends Event {
97
+ static {
98
+ __name(this, "SystemThermostatUpdatedEvent");
99
+ }
93
100
  constructor(thermostat) {
94
101
  super(thermostat);
95
102
  }
@@ -100,7 +107,6 @@ var require_SystemThermostatUpdatedEvent = __commonJS({
100
107
  return `thermostat.${this.keyId}.updated`;
101
108
  }
102
109
  };
103
- __name(SystemThermostatUpdatedEvent2, "SystemThermostatUpdatedEvent");
104
110
  module2.exports = SystemThermostatUpdatedEvent2;
105
111
  }
106
112
  });
@@ -110,6 +116,9 @@ var require_SystemDimmerUpdatedEvent = __commonJS({
110
116
  "src/Events/SystemDimmerUpdatedEvent.js"(exports2, module2) {
111
117
  var Event = require_Event();
112
118
  var SystemDimmerUpdatedEvent2 = class extends Event {
119
+ static {
120
+ __name(this, "SystemDimmerUpdatedEvent");
121
+ }
113
122
  constructor(dimmer) {
114
123
  super(dimmer);
115
124
  }
@@ -120,7 +129,6 @@ var require_SystemDimmerUpdatedEvent = __commonJS({
120
129
  return `dimmer.${this.keyId}.updated`;
121
130
  }
122
131
  };
123
- __name(SystemDimmerUpdatedEvent2, "SystemDimmerUpdatedEvent");
124
132
  module2.exports = SystemDimmerUpdatedEvent2;
125
133
  }
126
134
  });
@@ -130,6 +138,9 @@ var require_SystemSwitchUpdatedEvent = __commonJS({
130
138
  "src/Events/SystemSwitchUpdatedEvent.js"(exports2, module2) {
131
139
  var Event = require_Event();
132
140
  var SystemSwitchUpdatedEvent2 = class extends Event {
141
+ static {
142
+ __name(this, "SystemSwitchUpdatedEvent");
143
+ }
133
144
  constructor(_switch) {
134
145
  super(_switch);
135
146
  }
@@ -140,7 +151,6 @@ var require_SystemSwitchUpdatedEvent = __commonJS({
140
151
  return `switch.${this.keyId}.updated`;
141
152
  }
142
153
  };
143
- __name(SystemSwitchUpdatedEvent2, "SystemSwitchUpdatedEvent");
144
154
  module2.exports = SystemSwitchUpdatedEvent2;
145
155
  }
146
156
  });
@@ -150,6 +160,9 @@ var require_SystemLockUpdatedEvent = __commonJS({
150
160
  "src/Events/SystemLockUpdatedEvent.js"(exports2, module2) {
151
161
  var Event = require_Event();
152
162
  var SystemLockUpdatedEvent2 = class extends Event {
163
+ static {
164
+ __name(this, "SystemLockUpdatedEvent");
165
+ }
153
166
  constructor(lock) {
154
167
  super(lock);
155
168
  }
@@ -160,7 +173,6 @@ var require_SystemLockUpdatedEvent = __commonJS({
160
173
  return `lock.${this.keyId}.updated`;
161
174
  }
162
175
  };
163
- __name(SystemLockUpdatedEvent2, "SystemLockUpdatedEvent");
164
176
  module2.exports = SystemLockUpdatedEvent2;
165
177
  }
166
178
  });
@@ -170,6 +182,9 @@ var require_SystemCameraUpdatedEvent = __commonJS({
170
182
  "src/Events/SystemCameraUpdatedEvent.js"(exports2, module2) {
171
183
  var Event = require_Event();
172
184
  var SystemCameraUpdatedEvent2 = class extends Event {
185
+ static {
186
+ __name(this, "SystemCameraUpdatedEvent");
187
+ }
173
188
  constructor(camera) {
174
189
  super(camera);
175
190
  }
@@ -180,7 +195,6 @@ var require_SystemCameraUpdatedEvent = __commonJS({
180
195
  return `camera.${this.keyId}.updated`;
181
196
  }
182
197
  };
183
- __name(SystemCameraUpdatedEvent2, "SystemCameraUpdatedEvent");
184
198
  module2.exports = SystemCameraUpdatedEvent2;
185
199
  }
186
200
  });
@@ -190,6 +204,9 @@ var require_SystemSceneControllerUpdatedEvent = __commonJS({
190
204
  "src/Events/SystemSceneControllerUpdatedEvent.js"(exports2, module2) {
191
205
  var Event = require_Event();
192
206
  var SystemSceneControllerUpdatedEvent2 = class extends Event {
207
+ static {
208
+ __name(this, "SystemSceneControllerUpdatedEvent");
209
+ }
193
210
  constructor(sceneController) {
194
211
  super(sceneController);
195
212
  }
@@ -200,7 +217,6 @@ var require_SystemSceneControllerUpdatedEvent = __commonJS({
200
217
  return `sceneController.${this.keyId}.updated`;
201
218
  }
202
219
  };
203
- __name(SystemSceneControllerUpdatedEvent2, "SystemSceneControllerUpdatedEvent");
204
220
  module2.exports = SystemSceneControllerUpdatedEvent2;
205
221
  }
206
222
  });
@@ -210,6 +226,9 @@ var require_SystemWindowCoveringUpdatedEvent = __commonJS({
210
226
  "src/Events/SystemWindowCoveringUpdatedEvent.js"(exports2, module2) {
211
227
  var Event = require_Event();
212
228
  var SystemWindowCoveringUpdatedEvent2 = class extends Event {
229
+ static {
230
+ __name(this, "SystemWindowCoveringUpdatedEvent");
231
+ }
213
232
  constructor(wc) {
214
233
  super(wc);
215
234
  }
@@ -220,7 +239,6 @@ var require_SystemWindowCoveringUpdatedEvent = __commonJS({
220
239
  return `windowCovering.${this.keyId}.updated`;
221
240
  }
222
241
  };
223
- __name(SystemWindowCoveringUpdatedEvent2, "SystemWindowCoveringUpdatedEvent");
224
242
  module2.exports = SystemWindowCoveringUpdatedEvent2;
225
243
  }
226
244
  });
@@ -230,6 +248,9 @@ var require_SystemMediaSourceUpdatedEvent = __commonJS({
230
248
  "src/Events/SystemMediaSourceUpdatedEvent.js"(exports2, module2) {
231
249
  var Event = require_Event();
232
250
  var SystemMediaSourceUpdatedEvent2 = class extends Event {
251
+ static {
252
+ __name(this, "SystemMediaSourceUpdatedEvent");
253
+ }
233
254
  constructor(mediaSource) {
234
255
  super(mediaSource);
235
256
  }
@@ -240,7 +261,6 @@ var require_SystemMediaSourceUpdatedEvent = __commonJS({
240
261
  return `mediaSource.${this.keyId}.updated`;
241
262
  }
242
263
  };
243
- __name(SystemMediaSourceUpdatedEvent2, "SystemMediaSourceUpdatedEvent");
244
264
  module2.exports = SystemMediaSourceUpdatedEvent2;
245
265
  }
246
266
  });
@@ -250,6 +270,9 @@ var require_SystemCourtesyUpdatedEvent = __commonJS({
250
270
  "src/Events/SystemCourtesyUpdatedEvent.js"(exports2, module2) {
251
271
  var Event = require_Event();
252
272
  var SystemCourtesyUpdatedEvent2 = class extends Event {
273
+ static {
274
+ __name(this, "SystemCourtesyUpdatedEvent");
275
+ }
253
276
  constructor(courtesy) {
254
277
  super(courtesy);
255
278
  }
@@ -260,7 +283,6 @@ var require_SystemCourtesyUpdatedEvent = __commonJS({
260
283
  return `courtesy.${this.keyId}.updated`;
261
284
  }
262
285
  };
263
- __name(SystemCourtesyUpdatedEvent2, "SystemCourtesyUpdatedEvent");
264
286
  module2.exports = SystemCourtesyUpdatedEvent2;
265
287
  }
266
288
  });
@@ -270,6 +292,9 @@ var require_SystemMotionSensorUpdatedEvent = __commonJS({
270
292
  "src/Events/SystemMotionSensorUpdatedEvent.js"(exports2, module2) {
271
293
  var Event = require_Event();
272
294
  var SystemMotionSensorUpdatedEvent2 = class extends Event {
295
+ static {
296
+ __name(this, "SystemMotionSensorUpdatedEvent");
297
+ }
273
298
  constructor(mediaSource) {
274
299
  super(mediaSource);
275
300
  }
@@ -280,7 +305,6 @@ var require_SystemMotionSensorUpdatedEvent = __commonJS({
280
305
  return `mediaSource.${this.keyId}.updated`;
281
306
  }
282
307
  };
283
- __name(SystemMotionSensorUpdatedEvent2, "SystemMotionSensorUpdatedEvent");
284
308
  module2.exports = SystemMotionSensorUpdatedEvent2;
285
309
  }
286
310
  });
@@ -290,6 +314,9 @@ var require_SystemUserUpdatedEvent = __commonJS({
290
314
  "src/Events/SystemUserUpdatedEvent.js"(exports2, module2) {
291
315
  var Event = require_Event();
292
316
  var SystemUserUpdatedEvent2 = class extends Event {
317
+ static {
318
+ __name(this, "SystemUserUpdatedEvent");
319
+ }
293
320
  constructor(user) {
294
321
  super(user);
295
322
  }
@@ -300,7 +327,6 @@ var require_SystemUserUpdatedEvent = __commonJS({
300
327
  return `user.${this.keyId}.updated`;
301
328
  }
302
329
  };
303
- __name(SystemUserUpdatedEvent2, "SystemUserUpdatedEvent");
304
330
  module2.exports = SystemUserUpdatedEvent2;
305
331
  }
306
332
  });
@@ -310,6 +336,9 @@ var require_SystemSpaceUpdatedEvent = __commonJS({
310
336
  "src/Events/SystemSpaceUpdatedEvent.js"(exports2, module2) {
311
337
  var Event = require_Event();
312
338
  var SystemSpaceUpdatedEvent2 = class extends Event {
339
+ static {
340
+ __name(this, "SystemSpaceUpdatedEvent");
341
+ }
313
342
  constructor(space) {
314
343
  super(space);
315
344
  }
@@ -320,7 +349,6 @@ var require_SystemSpaceUpdatedEvent = __commonJS({
320
349
  return `space.${this.keyId}.updated`;
321
350
  }
322
351
  };
323
- __name(SystemSpaceUpdatedEvent2, "SystemSpaceUpdatedEvent");
324
352
  module2.exports = SystemSpaceUpdatedEvent2;
325
353
  }
326
354
  });
@@ -330,6 +358,9 @@ var require_SystemSpaceTypeUpdatedEvent = __commonJS({
330
358
  "src/Events/SystemSpaceTypeUpdatedEvent.js"(exports2, module2) {
331
359
  var Event = require_Event();
332
360
  var SystemSpaceTypeUpdatedEvent2 = class extends Event {
361
+ static {
362
+ __name(this, "SystemSpaceTypeUpdatedEvent");
363
+ }
333
364
  constructor(space) {
334
365
  super(space);
335
366
  }
@@ -340,7 +371,6 @@ var require_SystemSpaceTypeUpdatedEvent = __commonJS({
340
371
  return `spaceType.${this.keyId}.updated`;
341
372
  }
342
373
  };
343
- __name(SystemSpaceTypeUpdatedEvent2, "SystemSpaceTypeUpdatedEvent");
344
374
  module2.exports = SystemSpaceTypeUpdatedEvent2;
345
375
  }
346
376
  });
@@ -350,6 +380,9 @@ var require_SystemProductUpdatedEvent = __commonJS({
350
380
  "src/Events/SystemProductUpdatedEvent.js"(exports2, module2) {
351
381
  var Event = require_Event();
352
382
  var SystemProductUpdatedEvent2 = class extends Event {
383
+ static {
384
+ __name(this, "SystemProductUpdatedEvent");
385
+ }
353
386
  constructor(product) {
354
387
  super(product);
355
388
  }
@@ -360,7 +393,6 @@ var require_SystemProductUpdatedEvent = __commonJS({
360
393
  return `product.${this.keyId}.updated`;
361
394
  }
362
395
  };
363
- __name(SystemProductUpdatedEvent2, "SystemProductUpdatedEvent");
364
396
  module2.exports = SystemProductUpdatedEvent2;
365
397
  }
366
398
  });
@@ -370,6 +402,9 @@ var require_SystemReservationUpdatedEvent = __commonJS({
370
402
  "src/Events/SystemReservationUpdatedEvent.js"(exports2, module2) {
371
403
  var Event = require_Event();
372
404
  var SystemReservationUpdatedEvent2 = class extends Event {
405
+ static {
406
+ __name(this, "SystemReservationUpdatedEvent");
407
+ }
373
408
  constructor(reservation) {
374
409
  super(reservation);
375
410
  }
@@ -380,7 +415,6 @@ var require_SystemReservationUpdatedEvent = __commonJS({
380
415
  return `reservation.${this.keyId}.updated`;
381
416
  }
382
417
  };
383
- __name(SystemReservationUpdatedEvent2, "SystemReservationUpdatedEvent");
384
418
  module2.exports = SystemReservationUpdatedEvent2;
385
419
  }
386
420
  });
@@ -390,6 +424,9 @@ var require_SMSEvent = __commonJS({
390
424
  "src/Events/SMSEvent.js"(exports2, module2) {
391
425
  var Event = require_Event();
392
426
  var SMSEvent2 = class extends Event {
427
+ static {
428
+ __name(this, "SMSEvent");
429
+ }
393
430
  constructor(sms, context) {
394
431
  super(sms, context);
395
432
  this.status = sms.status;
@@ -401,7 +438,6 @@ var require_SMSEvent = __commonJS({
401
438
  return `comm.sms.${this.status}`;
402
439
  }
403
440
  };
404
- __name(SMSEvent2, "SMSEvent");
405
441
  module2.exports = SMSEvent2;
406
442
  }
407
443
  });
@@ -411,6 +447,9 @@ var require_EmailEvent = __commonJS({
411
447
  "src/Events/EmailEvent.js"(exports2, module2) {
412
448
  var Event = require_Event();
413
449
  var EmailEvent2 = class extends Event {
450
+ static {
451
+ __name(this, "EmailEvent");
452
+ }
414
453
  constructor(email, context) {
415
454
  super(email, context);
416
455
  this.status = email.status;
@@ -422,7 +461,6 @@ var require_EmailEvent = __commonJS({
422
461
  return `comm.email.${this.status}`;
423
462
  }
424
463
  };
425
- __name(EmailEvent2, "EmailEvent");
426
464
  module2.exports = EmailEvent2;
427
465
  }
428
466
  });
@@ -432,6 +470,9 @@ var require_ShortLinkCreatedEvent = __commonJS({
432
470
  "src/Events/ShortLinkCreatedEvent.js"(exports2, module2) {
433
471
  var Event = require_Event();
434
472
  var ShortLinkCreatedEvent2 = class extends Event {
473
+ static {
474
+ __name(this, "ShortLinkCreatedEvent");
475
+ }
435
476
  constructor(shortLink, context) {
436
477
  super(shortLink, context);
437
478
  }
@@ -442,7 +483,6 @@ var require_ShortLinkCreatedEvent = __commonJS({
442
483
  return `shortlink.${this.keyId}.created`;
443
484
  }
444
485
  };
445
- __name(ShortLinkCreatedEvent2, "ShortLinkCreatedEvent");
446
486
  module2.exports = ShortLinkCreatedEvent2;
447
487
  }
448
488
  });
@@ -452,6 +492,9 @@ var require_ApplicationInUseEvent = __commonJS({
452
492
  "src/Events/ApplicationInUseEvent.js"(exports2, module2) {
453
493
  var Event = require_Event();
454
494
  var ApplicationInUseEvent2 = class extends Event {
495
+ static {
496
+ __name(this, "ApplicationInUseEvent");
497
+ }
455
498
  constructor({ propertyId }) {
456
499
  super({ propertyId });
457
500
  }
@@ -462,7 +505,6 @@ var require_ApplicationInUseEvent = __commonJS({
462
505
  return `app.${this.data[0].propertyId}.inUse`;
463
506
  }
464
507
  };
465
- __name(ApplicationInUseEvent2, "ApplicationInUseEvent");
466
508
  module2.exports = ApplicationInUseEvent2;
467
509
  }
468
510
  });
@@ -472,6 +514,9 @@ var require_ApplicationOutOfUseEvent = __commonJS({
472
514
  "src/Events/ApplicationOutOfUseEvent.js"(exports2, module2) {
473
515
  var Event = require_Event();
474
516
  var ApplicationOutOfUseEvent2 = class extends Event {
517
+ static {
518
+ __name(this, "ApplicationOutOfUseEvent");
519
+ }
475
520
  constructor({ propertyId }) {
476
521
  super({ propertyId });
477
522
  }
@@ -482,7 +527,6 @@ var require_ApplicationOutOfUseEvent = __commonJS({
482
527
  return `app.${this.data[0].propertyId}.notInUse`;
483
528
  }
484
529
  };
485
- __name(ApplicationOutOfUseEvent2, "ApplicationOutOfUseEvent");
486
530
  module2.exports = ApplicationOutOfUseEvent2;
487
531
  }
488
532
  });