@kohost/api-client 3.2.13 → 3.3.0-beta.0

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 (125) hide show
  1. package/dist/cjs/AMQPClient/index.js +1 -45
  2. package/dist/cjs/Commands/{CheckInReservationCommand.js → CheckInReservation.js} +2 -6
  3. package/dist/cjs/Commands/{CheckOutReservationCommand.js → CheckOutReservation.js} +2 -6
  4. package/dist/cjs/Commands/Command.js +5 -7
  5. package/dist/cjs/Commands/{CreateImageUploadEndpointCommand.js → CreateImageUploadEndpoint.js} +2 -6
  6. package/dist/cjs/Commands/{CreateShortLinkCommand.js → CreateShortLink.js} +0 -4
  7. package/dist/cjs/Commands/GetCategories.js +13 -0
  8. package/dist/cjs/Commands/{GetMobileKeyCommand.js → GetMobileKey.js} +2 -6
  9. package/dist/cjs/Commands/GetProducts.js +13 -0
  10. package/dist/cjs/Commands/GetReservationSpaceCategoryAvailabilities.js +16 -0
  11. package/dist/cjs/Commands/{DiscoverReservationsCommand.js → GetReservations.js} +3 -7
  12. package/dist/cjs/Commands/{DiscoverRoomsCommand.js → GetRooms.js} +3 -9
  13. package/dist/cjs/Commands/GetUsers.js +13 -0
  14. package/dist/cjs/Commands/{OCRDocumentCommand.js → OCRDocument.js} +2 -2
  15. package/dist/cjs/Commands/{SellProductsCommand.js → SellProducts.js} +2 -6
  16. package/dist/cjs/Commands/{SendEmailCommand.js → SendEmail.js} +2 -6
  17. package/dist/cjs/Commands/{SendSMSCommand.js → SendSMS.js} +2 -6
  18. package/dist/cjs/Commands/{SetAlarmCommand.js → SetAlarm.js} +2 -6
  19. package/dist/cjs/Commands/{SetCourtesyCommand.js → SetCourtesy.js} +2 -6
  20. package/dist/cjs/Commands/{SetDimmerCommand.js → SetDimmer.js} +2 -6
  21. package/dist/cjs/Commands/{SetLockCommand.js → SetLock.js} +2 -6
  22. package/dist/cjs/Commands/{SetMediaCommand.js → SetMedia.js} +2 -6
  23. package/dist/cjs/Commands/{SetSceneCommand.js → SetScene.js} +2 -6
  24. package/dist/cjs/Commands/{SetSwitchCommand.js → SetSwitch.js} +2 -6
  25. package/dist/cjs/Commands/{SetThermostatCommand.js → SetThermostat.js} +2 -6
  26. package/dist/cjs/Commands/{SetWindowCoveringCommand.js → SetWindowCovering.js} +2 -6
  27. package/dist/cjs/Commands/{UpdateReservationCommand.js → UpdateReservation.js} +2 -6
  28. package/dist/cjs/Commands/{UpdateUserCommand.js → UpdateUser.js} +2 -6
  29. package/dist/cjs/Commands/{UploadImageCommand.js → UploadImage.js} +2 -6
  30. package/dist/cjs/Commands/index.js +56 -54
  31. package/dist/cjs/Events/ApplicationInUse.js +22 -0
  32. package/dist/cjs/Events/ApplicationOutOfUse.js +22 -0
  33. package/dist/cjs/Events/EmailEvent.js +3 -4
  34. package/dist/cjs/Events/Event.js +17 -28
  35. package/dist/cjs/Events/ReservationCheckedIn.js +17 -0
  36. package/dist/cjs/Events/ReservationCheckedOut.js +17 -0
  37. package/dist/cjs/Events/SMSEvent.js +3 -4
  38. package/dist/cjs/Events/SceneSet.js +17 -0
  39. package/dist/cjs/Events/ShortLinkCreated.js +17 -0
  40. package/dist/cjs/Events/SystemAlarmUpdated.js +17 -0
  41. package/dist/cjs/Events/SystemCameraUpdated.js +17 -0
  42. package/dist/cjs/Events/SystemCategoryUpdated.js +17 -0
  43. package/dist/cjs/Events/SystemCourtesyUpdated.js +17 -0
  44. package/dist/cjs/Events/SystemCredentialUpdated.js +17 -0
  45. package/dist/cjs/Events/SystemDimmerUpdated.js +17 -0
  46. package/dist/cjs/Events/SystemEntityDeleted.js +17 -0
  47. package/dist/cjs/Events/SystemGatewayUpdated.js +17 -0
  48. package/dist/cjs/Events/SystemLockUpdated.js +17 -0
  49. package/dist/cjs/Events/SystemMediaSourceUpdated.js +17 -0
  50. package/dist/cjs/Events/SystemMotionSensorUpdated.js +17 -0
  51. package/dist/cjs/Events/SystemOrganizationUpdated.js +17 -0
  52. package/dist/cjs/Events/SystemProductUpdated.js +17 -0
  53. package/dist/cjs/Events/SystemPropertyUpdated.js +17 -0
  54. package/dist/cjs/Events/SystemReservationUpdated.js +17 -0
  55. package/dist/cjs/Events/SystemSpaceUpdated.js +17 -0
  56. package/dist/cjs/Events/SystemSwitchUpdated.js +17 -0
  57. package/dist/cjs/Events/SystemThermostatUpdated.js +17 -0
  58. package/dist/cjs/Events/SystemUserUpdated.js +17 -0
  59. package/dist/cjs/Events/SystemWindowCoveringUpdated.js +17 -0
  60. package/dist/cjs/Events/index.js +53 -55
  61. package/dist/cjs/defs/amqpExchanges.js +46 -0
  62. package/dist/cjs/schemas/AlarmSchema.d.ts +1 -0
  63. package/dist/cjs/schemas/CameraSchema.d.ts +1 -0
  64. package/dist/cjs/schemas/CategorySchema.d.ts +1 -0
  65. package/dist/cjs/schemas/CourtesySchema.d.ts +1 -0
  66. package/dist/cjs/schemas/CredentialSchema.d.ts +1 -0
  67. package/dist/cjs/schemas/DimmerSchema.d.ts +1 -0
  68. package/dist/cjs/schemas/GatewaySchema.d.ts +1 -0
  69. package/dist/cjs/schemas/LockSchema.d.ts +1 -0
  70. package/dist/cjs/schemas/MediaSourceSchema.d.ts +1 -0
  71. package/dist/cjs/schemas/MotionSensorSchema.d.ts +1 -0
  72. package/dist/cjs/schemas/ProductSchema.d.ts +2 -0
  73. package/dist/cjs/schemas/ReservationSchema.d.ts +1 -0
  74. package/dist/cjs/schemas/RoomSchema.d.ts +10 -0
  75. package/dist/cjs/schemas/SpaceSchema.d.ts +1 -0
  76. package/dist/cjs/schemas/SwitchSchema.d.ts +1 -0
  77. package/dist/cjs/schemas/SystemUserSchema.d.ts +1 -0
  78. package/dist/cjs/schemas/ThermostatSchema.d.ts +1 -0
  79. package/dist/cjs/schemas/UserSchema.d.ts +1 -0
  80. package/dist/cjs/schemas/WindowCoveringSchema.d.ts +1 -0
  81. package/dist/cjs/schemas/definitions.json +1 -0
  82. package/dist/cjs/schemas/product.json +3 -0
  83. package/dist/esm/Commands.js +276 -324
  84. package/dist/esm/Commands.js.map +3 -3
  85. package/dist/esm/Events.js +387 -472
  86. package/dist/esm/Events.js.map +3 -3
  87. package/dist/esm/Models.js +24 -10
  88. package/dist/esm/Models.js.map +3 -3
  89. package/dist/esm/SocketIoClient.js +18 -18
  90. package/dist/esm/SocketIoClient.js.map +3 -3
  91. package/dist/esm/utils.js +24 -10
  92. package/dist/esm/utils.js.map +3 -3
  93. package/package.json +1 -1
  94. package/dist/cjs/Commands/DiscoverCategoriesCommand.js +0 -20
  95. package/dist/cjs/Commands/DiscoverProductsCommand.js +0 -27
  96. package/dist/cjs/Commands/DiscoverReservationSpaceCategoryAvailabilitiesCommand.js +0 -20
  97. package/dist/cjs/Commands/DiscoverUsersCommand.js +0 -19
  98. package/dist/cjs/Events/ApplicationInUseEvent.js +0 -25
  99. package/dist/cjs/Events/ApplicationOutOfUseEvent.js +0 -25
  100. package/dist/cjs/Events/ReservationCheckInEvent.js +0 -23
  101. package/dist/cjs/Events/ReservationCheckOutEvent.js +0 -23
  102. package/dist/cjs/Events/SMSSentEvent.js +0 -17
  103. package/dist/cjs/Events/SceneSetEvent.js +0 -17
  104. package/dist/cjs/Events/ShortLinkCreatedEvent.js +0 -17
  105. package/dist/cjs/Events/SystemAlarmUpdatedEvent.js +0 -17
  106. package/dist/cjs/Events/SystemCameraUpdatedEvent.js +0 -17
  107. package/dist/cjs/Events/SystemCategoryUpdatedEvent.js +0 -17
  108. package/dist/cjs/Events/SystemCourtesyUpdatedEvent.js +0 -17
  109. package/dist/cjs/Events/SystemCredentialUpdatedEvent.js +0 -17
  110. package/dist/cjs/Events/SystemDimmerUpdatedEvent.js +0 -17
  111. package/dist/cjs/Events/SystemEntityDeletedEvent.js +0 -17
  112. package/dist/cjs/Events/SystemGatewayUpdatedEvent.js +0 -17
  113. package/dist/cjs/Events/SystemLockUpdatedEvent.js +0 -17
  114. package/dist/cjs/Events/SystemMediaSourceUpdatedEvent.js +0 -17
  115. package/dist/cjs/Events/SystemMotionSensorUpdatedEvent.js +0 -17
  116. package/dist/cjs/Events/SystemOrganizationUpdatedEvent.js +0 -17
  117. package/dist/cjs/Events/SystemProductUpdatedEvent.js +0 -17
  118. package/dist/cjs/Events/SystemPropertyUpdatedEvent.js +0 -17
  119. package/dist/cjs/Events/SystemReservationUpdatedEvent.js +0 -17
  120. package/dist/cjs/Events/SystemSceneControllerUpdatedEvent.js +0 -17
  121. package/dist/cjs/Events/SystemSpaceUpdatedEvent.js +0 -17
  122. package/dist/cjs/Events/SystemSwitchUpdatedEvent.js +0 -17
  123. package/dist/cjs/Events/SystemThermostatUpdatedEvent.js +0 -17
  124. package/dist/cjs/Events/SystemUserUpdatedEvent.js +0 -17
  125. package/dist/cjs/Events/SystemWindowCoveringUpdatedEvent.js +0 -17
@@ -5,9 +5,61 @@ var __commonJS = (cb, mod) => function __require() {
5
5
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
6
6
  };
7
7
 
8
+ // src/defs/amqpExchanges.js
9
+ var require_amqpExchanges = __commonJS({
10
+ "src/defs/amqpExchanges.js"(exports, module) {
11
+ var exchanges = {
12
+ // routes commands based on `command-name` header and in many cases `property-id` header
13
+ Commands: {
14
+ name: "kohost.commands",
15
+ type: "headers",
16
+ options: {
17
+ durable: true
18
+ }
19
+ },
20
+ CommandResponses: {
21
+ name: "kohost.commandResponses",
22
+ type: "topic",
23
+ options: {
24
+ durable: true
25
+ }
26
+ },
27
+ // routes events based on routing keys
28
+ DriverEvents: {
29
+ name: "kohost.events.drivers",
30
+ type: "topic",
31
+ options: {
32
+ durable: true
33
+ }
34
+ },
35
+ AppEvents: {
36
+ name: "kohost.events.app",
37
+ type: "topic",
38
+ options: {
39
+ durable: true
40
+ }
41
+ },
42
+ Direct: {
43
+ name: "kohost.direct",
44
+ type: "direct",
45
+ options: {
46
+ durable: true
47
+ }
48
+ },
49
+ // dead letter exchange
50
+ dlx: {
51
+ name: "kohost.dlx",
52
+ type: "direct"
53
+ }
54
+ };
55
+ module.exports = exchanges;
56
+ }
57
+ });
58
+
8
59
  // src/Commands/Command.js
9
60
  var require_Command = __commonJS({
10
61
  "src/Commands/Command.js"(exports, module) {
62
+ var exchanges = require_amqpExchanges();
11
63
  var Command = class {
12
64
  static {
13
65
  __name(this, "Command");
@@ -25,14 +77,11 @@ var require_Command = __commonJS({
25
77
  get name() {
26
78
  throw new Error("Command name is required");
27
79
  }
28
- get type() {
80
+ static get type() {
29
81
  return "Command";
30
82
  }
31
- get routingKey() {
32
- return "";
33
- }
34
- get exchange() {
35
- return "Commands";
83
+ static get exchange() {
84
+ return exchanges.Commands.name;
36
85
  }
37
86
  build() {
38
87
  return { data: { ...this.data } };
@@ -42,13 +91,13 @@ var require_Command = __commonJS({
42
91
  }
43
92
  });
44
93
 
45
- // src/Commands/SetSceneCommand.js
46
- var require_SetSceneCommand = __commonJS({
47
- "src/Commands/SetSceneCommand.js"(exports, module) {
94
+ // src/Commands/SetScene.js
95
+ var require_SetScene = __commonJS({
96
+ "src/Commands/SetScene.js"(exports, module) {
48
97
  var Command = require_Command();
49
- var SetSceneCommand = class extends Command {
98
+ var SetScene = class extends Command {
50
99
  static {
51
- __name(this, "SetSceneCommand");
100
+ __name(this, "SetScene");
52
101
  }
53
102
  constructor({ id, devices, ...rest }) {
54
103
  super({ id, devices, ...rest });
@@ -56,21 +105,18 @@ var require_SetSceneCommand = __commonJS({
56
105
  get name() {
57
106
  return "SetScene";
58
107
  }
59
- get routingKey() {
60
- return `scene.${this.data.id}.set`;
61
- }
62
108
  };
63
- module.exports = SetSceneCommand;
109
+ module.exports = SetScene;
64
110
  }
65
111
  });
66
112
 
67
- // src/Commands/SetAlarmCommand.js
68
- var require_SetAlarmCommand = __commonJS({
69
- "src/Commands/SetAlarmCommand.js"(exports, module) {
113
+ // src/Commands/SetAlarm.js
114
+ var require_SetAlarm = __commonJS({
115
+ "src/Commands/SetAlarm.js"(exports, module) {
70
116
  var Command = require_Command();
71
- var SetAlarmCommand = class extends Command {
117
+ var SetAlarm = class extends Command {
72
118
  static {
73
- __name(this, "SetAlarmCommand");
119
+ __name(this, "SetAlarm");
74
120
  }
75
121
  constructor({ id, zones, areas, code, ...rest }) {
76
122
  super({ id, zones, areas, code, ...rest });
@@ -78,21 +124,18 @@ var require_SetAlarmCommand = __commonJS({
78
124
  get name() {
79
125
  return "SetAlarm";
80
126
  }
81
- get routingKey() {
82
- return `alarm.${this.data.id}.set`;
83
- }
84
127
  };
85
- module.exports = SetAlarmCommand;
128
+ module.exports = SetAlarm;
86
129
  }
87
130
  });
88
131
 
89
- // src/Commands/SetDimmerCommand.js
90
- var require_SetDimmerCommand = __commonJS({
91
- "src/Commands/SetDimmerCommand.js"(exports, module) {
132
+ // src/Commands/SetDimmer.js
133
+ var require_SetDimmer = __commonJS({
134
+ "src/Commands/SetDimmer.js"(exports, module) {
92
135
  var Command = require_Command();
93
- var SetDimmerCommand = class extends Command {
136
+ var SetDimmer = class extends Command {
94
137
  static {
95
- __name(this, "SetDimmerCommand");
138
+ __name(this, "SetDimmer");
96
139
  }
97
140
  constructor({ id, level, ...rest }) {
98
141
  super({ id, level, ...rest });
@@ -100,21 +143,18 @@ var require_SetDimmerCommand = __commonJS({
100
143
  get name() {
101
144
  return "SetDimmer";
102
145
  }
103
- get routingKey() {
104
- return `dimmer.${this.data.id}.set`;
105
- }
106
146
  };
107
- module.exports = SetDimmerCommand;
147
+ module.exports = SetDimmer;
108
148
  }
109
149
  });
110
150
 
111
- // src/Commands/SetSwitchCommand.js
112
- var require_SetSwitchCommand = __commonJS({
113
- "src/Commands/SetSwitchCommand.js"(exports, module) {
151
+ // src/Commands/SetSwitch.js
152
+ var require_SetSwitch = __commonJS({
153
+ "src/Commands/SetSwitch.js"(exports, module) {
114
154
  var Command = require_Command();
115
- var SetSwitchCommand = class extends Command {
155
+ var SetSwitch = class extends Command {
116
156
  static {
117
- __name(this, "SetSwitchCommand");
157
+ __name(this, "SetSwitch");
118
158
  }
119
159
  constructor({ id, state, ...rest }) {
120
160
  super({ id, state, ...rest });
@@ -122,21 +162,18 @@ var require_SetSwitchCommand = __commonJS({
122
162
  get name() {
123
163
  return "SetSwitch";
124
164
  }
125
- get routingKey() {
126
- return `switch.${this.data.id}.set`;
127
- }
128
165
  };
129
- module.exports = SetSwitchCommand;
166
+ module.exports = SetSwitch;
130
167
  }
131
168
  });
132
169
 
133
- // src/Commands/SetThermostatCommand.js
134
- var require_SetThermostatCommand = __commonJS({
135
- "src/Commands/SetThermostatCommand.js"(exports, module) {
170
+ // src/Commands/SetThermostat.js
171
+ var require_SetThermostat = __commonJS({
172
+ "src/Commands/SetThermostat.js"(exports, module) {
136
173
  var Command = require_Command();
137
- var SetThermostatCommand = class extends Command {
174
+ var SetThermostat = class extends Command {
138
175
  static {
139
- __name(this, "SetThermostatCommand");
176
+ __name(this, "SetThermostat");
140
177
  }
141
178
  constructor({ id, setpoints, hvacMode, fanMode, ...rest }) {
142
179
  super({ id, setpoints, hvacMode, fanMode, ...rest });
@@ -144,21 +181,18 @@ var require_SetThermostatCommand = __commonJS({
144
181
  get name() {
145
182
  return "SetThermostat";
146
183
  }
147
- get routingKey() {
148
- return `thermostat.${this.data.id}.set`;
149
- }
150
184
  };
151
- module.exports = SetThermostatCommand;
185
+ module.exports = SetThermostat;
152
186
  }
153
187
  });
154
188
 
155
- // src/Commands/SetLockCommand.js
156
- var require_SetLockCommand = __commonJS({
157
- "src/Commands/SetLockCommand.js"(exports, module) {
189
+ // src/Commands/SetLock.js
190
+ var require_SetLock = __commonJS({
191
+ "src/Commands/SetLock.js"(exports, module) {
158
192
  var Command = require_Command();
159
- var SetLockCommand = class extends Command {
193
+ var SetLock = class extends Command {
160
194
  static {
161
- __name(this, "SetLockCommand");
195
+ __name(this, "SetLock");
162
196
  }
163
197
  constructor({ id, state, ...rest }) {
164
198
  super({ id, state, ...rest });
@@ -166,21 +200,18 @@ var require_SetLockCommand = __commonJS({
166
200
  get name() {
167
201
  return "SetLock";
168
202
  }
169
- get routingKey() {
170
- return `lock.${this.data.id}.set`;
171
- }
172
203
  };
173
- module.exports = SetLockCommand;
204
+ module.exports = SetLock;
174
205
  }
175
206
  });
176
207
 
177
- // src/Commands/SetWindowCoveringCommand.js
178
- var require_SetWindowCoveringCommand = __commonJS({
179
- "src/Commands/SetWindowCoveringCommand.js"(exports, module) {
208
+ // src/Commands/SetWindowCovering.js
209
+ var require_SetWindowCovering = __commonJS({
210
+ "src/Commands/SetWindowCovering.js"(exports, module) {
180
211
  var Command = require_Command();
181
- var SetWindowCoveringCommand = class extends Command {
212
+ var SetWindowCovering = class extends Command {
182
213
  static {
183
- __name(this, "SetWindowCoveringCommand");
214
+ __name(this, "SetWindowCovering");
184
215
  }
185
216
  constructor({ id, position, ...rest }) {
186
217
  super({ id, position, ...rest });
@@ -188,21 +219,18 @@ var require_SetWindowCoveringCommand = __commonJS({
188
219
  get name() {
189
220
  return "SetWindowCovering";
190
221
  }
191
- get routingKey() {
192
- return `windowCovering.${this.data.id}.set`;
193
- }
194
222
  };
195
- module.exports = SetWindowCoveringCommand;
223
+ module.exports = SetWindowCovering;
196
224
  }
197
225
  });
198
226
 
199
- // src/Commands/SetCourtesyCommand.js
200
- var require_SetCourtesyCommand = __commonJS({
201
- "src/Commands/SetCourtesyCommand.js"(exports, module) {
227
+ // src/Commands/SetCourtesy.js
228
+ var require_SetCourtesy = __commonJS({
229
+ "src/Commands/SetCourtesy.js"(exports, module) {
202
230
  var Command = require_Command();
203
- var SetCourtesyCommand = class extends Command {
231
+ var SetCourtesy = class extends Command {
204
232
  static {
205
- __name(this, "SetCourtesyCommand");
233
+ __name(this, "SetCourtesy");
206
234
  }
207
235
  constructor({ id, state, ...rest }) {
208
236
  super({ id, state, ...rest });
@@ -210,21 +238,18 @@ var require_SetCourtesyCommand = __commonJS({
210
238
  get name() {
211
239
  return "SetCourtesy";
212
240
  }
213
- get routingKey() {
214
- return `courtesy.${this.data.id}.set`;
215
- }
216
241
  };
217
- module.exports = SetCourtesyCommand;
242
+ module.exports = SetCourtesy;
218
243
  }
219
244
  });
220
245
 
221
- // src/Commands/SetMediaCommand.js
222
- var require_SetMediaCommand = __commonJS({
223
- "src/Commands/SetMediaCommand.js"(exports, module) {
246
+ // src/Commands/SetMedia.js
247
+ var require_SetMedia = __commonJS({
248
+ "src/Commands/SetMedia.js"(exports, module) {
224
249
  var Command = require_Command();
225
- var SetMediaCommand = class extends Command {
250
+ var SetMedia = class extends Command {
226
251
  static {
227
- __name(this, "SetMediaCommand");
252
+ __name(this, "SetMedia");
228
253
  }
229
254
  constructor({ id, command, ...rest }) {
230
255
  super({ id, command, ...rest });
@@ -232,37 +257,27 @@ var require_SetMediaCommand = __commonJS({
232
257
  get name() {
233
258
  return "SetMedia";
234
259
  }
235
- get routingKey() {
236
- return `mediaSource.${this.data.id}.set`;
237
- }
238
260
  };
239
- module.exports = SetMediaCommand;
261
+ module.exports = SetMedia;
240
262
  }
241
263
  });
242
264
 
243
- // src/Commands/DiscoverUsersCommand.js
244
- var require_DiscoverUsersCommand = __commonJS({
245
- "src/Commands/DiscoverUsersCommand.js"(exports, module) {
265
+ // src/Commands/GetUsers.js
266
+ var require_GetUsers = __commonJS({
267
+ "src/Commands/GetUsers.js"(exports, module) {
246
268
  var Command = require_Command();
247
- var DiscoverUsersCommand = class extends Command {
269
+ var GetUsers = class extends Command {
248
270
  static {
249
- __name(this, "DiscoverUsersCommand");
271
+ __name(this, "GetUsers");
250
272
  }
251
273
  constructor({ id, ...rest }) {
252
274
  super({ id, ...rest });
253
275
  }
254
276
  get name() {
255
- return "DiscoverUsers";
256
- }
257
- get routingKey() {
258
- if (typeof this.data.id === "string")
259
- return `users.${this.data.id}.get`;
260
- if (Array.isArray(this.data.id))
261
- return "users.batch.get";
262
- return "users.get";
277
+ return "GetUsers";
263
278
  }
264
279
  };
265
- module.exports = DiscoverUsersCommand;
280
+ module.exports = GetUsers;
266
281
  }
267
282
  });
268
283
 
@@ -302,14 +317,14 @@ var require_RequestError = __commonJS({
302
317
  }
303
318
  });
304
319
 
305
- // src/Commands/OCRDocumentCommand.js
306
- var require_OCRDocumentCommand = __commonJS({
307
- "src/Commands/OCRDocumentCommand.js"(exports, module) {
320
+ // src/Commands/OCRDocument.js
321
+ var require_OCRDocument = __commonJS({
322
+ "src/Commands/OCRDocument.js"(exports, module) {
308
323
  var Command = require_Command();
309
324
  var RequestError = require_RequestError();
310
- var OCRDocumentCommand = class extends Command {
325
+ var OCRDocument = class extends Command {
311
326
  static {
312
- __name(this, "OCRDocumentCommand");
327
+ __name(this, "OCRDocument");
313
328
  }
314
329
  constructor({ type, image, ...rest }) {
315
330
  if (!image)
@@ -320,18 +335,18 @@ var require_OCRDocumentCommand = __commonJS({
320
335
  return "OCRDocument";
321
336
  }
322
337
  };
323
- module.exports = OCRDocumentCommand;
338
+ module.exports = OCRDocument;
324
339
  }
325
340
  });
326
341
 
327
- // src/Commands/CheckInReservationCommand.js
328
- var require_CheckInReservationCommand = __commonJS({
329
- "src/Commands/CheckInReservationCommand.js"(exports, module) {
342
+ // src/Commands/CheckInReservation.js
343
+ var require_CheckInReservation = __commonJS({
344
+ "src/Commands/CheckInReservation.js"(exports, module) {
330
345
  var Command = require_Command();
331
346
  var RequestError = require_RequestError();
332
- var CheckInReservationCommand = class extends Command {
347
+ var CheckInReservation = class extends Command {
333
348
  static {
334
- __name(this, "CheckInReservationCommand");
349
+ __name(this, "CheckInReservation");
335
350
  }
336
351
  constructor({ id, ...rest }) {
337
352
  if (!id)
@@ -341,22 +356,19 @@ var require_CheckInReservationCommand = __commonJS({
341
356
  get name() {
342
357
  return "CheckInReservation";
343
358
  }
344
- get routingKey() {
345
- return `reservation.${this.data.id}.checkin`;
346
- }
347
359
  };
348
- module.exports = CheckInReservationCommand;
360
+ module.exports = CheckInReservation;
349
361
  }
350
362
  });
351
363
 
352
- // src/Commands/CheckOutReservationCommand.js
353
- var require_CheckOutReservationCommand = __commonJS({
354
- "src/Commands/CheckOutReservationCommand.js"(exports, module) {
364
+ // src/Commands/CheckOutReservation.js
365
+ var require_CheckOutReservation = __commonJS({
366
+ "src/Commands/CheckOutReservation.js"(exports, module) {
355
367
  var Command = require_Command();
356
368
  var RequestError = require_RequestError();
357
- var CheckOutReservationCommand = class extends Command {
369
+ var CheckOutReservation = class extends Command {
358
370
  static {
359
- __name(this, "CheckOutReservationCommand");
371
+ __name(this, "CheckOutReservation");
360
372
  }
361
373
  constructor({ reservationId, userId, ...rest }) {
362
374
  if (!reservationId)
@@ -368,22 +380,19 @@ var require_CheckOutReservationCommand = __commonJS({
368
380
  get name() {
369
381
  return "CheckOutReservation";
370
382
  }
371
- get routingKey() {
372
- return `reservation.${this.data.id}.checkout`;
373
- }
374
383
  };
375
- module.exports = CheckOutReservationCommand;
384
+ module.exports = CheckOutReservation;
376
385
  }
377
386
  });
378
387
 
379
- // src/Commands/SendEmailCommand.js
380
- var require_SendEmailCommand = __commonJS({
381
- "src/Commands/SendEmailCommand.js"(exports, module) {
388
+ // src/Commands/SendEmail.js
389
+ var require_SendEmail = __commonJS({
390
+ "src/Commands/SendEmail.js"(exports, module) {
382
391
  var Command = require_Command();
383
392
  var RequestError = require_RequestError();
384
- var SendEmailCommand = class extends Command {
393
+ var SendEmail = class extends Command {
385
394
  static {
386
- __name(this, "SendEmailCommand");
395
+ __name(this, "SendEmail");
387
396
  }
388
397
  constructor({ text, html, to, from, subject, ...rest }) {
389
398
  if (!to)
@@ -399,22 +408,19 @@ var require_SendEmailCommand = __commonJS({
399
408
  get name() {
400
409
  return "SendEmail";
401
410
  }
402
- get routingKey() {
403
- return "comm.email.send";
404
- }
405
411
  };
406
- module.exports = SendEmailCommand;
412
+ module.exports = SendEmail;
407
413
  }
408
414
  });
409
415
 
410
- // src/Commands/SendSMSCommand.js
411
- var require_SendSMSCommand = __commonJS({
412
- "src/Commands/SendSMSCommand.js"(exports, module) {
416
+ // src/Commands/SendSMS.js
417
+ var require_SendSMS = __commonJS({
418
+ "src/Commands/SendSMS.js"(exports, module) {
413
419
  var Command = require_Command();
414
420
  var RequestError = require_RequestError();
415
- var SendSMSCommand = class extends Command {
421
+ var SendSMS = class extends Command {
416
422
  static {
417
- __name(this, "SendSMSCommand");
423
+ __name(this, "SendSMS");
418
424
  }
419
425
  constructor({ id, body, to, from, media, ...rest }) {
420
426
  if (!body && !media)
@@ -428,11 +434,8 @@ var require_SendSMSCommand = __commonJS({
428
434
  get name() {
429
435
  return "SendSMS";
430
436
  }
431
- get routingKey() {
432
- return "comm.sms.send";
433
- }
434
437
  };
435
- module.exports = SendSMSCommand;
438
+ module.exports = SendSMS;
436
439
  }
437
440
  });
438
441
 
@@ -637,14 +640,14 @@ var require_Errors = __commonJS({
637
640
  }
638
641
  });
639
642
 
640
- // src/Commands/DiscoverReservationsCommand.js
641
- var require_DiscoverReservationsCommand = __commonJS({
642
- "src/Commands/DiscoverReservationsCommand.js"(exports, module) {
643
+ // src/Commands/GetReservations.js
644
+ var require_GetReservations = __commonJS({
645
+ "src/Commands/GetReservations.js"(exports, module) {
643
646
  var { RequestError } = require_Errors();
644
647
  var Command = require_Command();
645
- var DiscoverReservationsCommand = class extends Command {
648
+ var GetReservations = class extends Command {
646
649
  static {
647
- __name(this, "DiscoverReservationsCommand");
650
+ __name(this, "GetReservations");
648
651
  }
649
652
  constructor(options) {
650
653
  if (!options)
@@ -653,24 +656,21 @@ var require_DiscoverReservationsCommand = __commonJS({
653
656
  super({ id, startDate, endDate, status, ...rest });
654
657
  }
655
658
  get name() {
656
- return "DiscoverReservations";
657
- }
658
- get routingKey() {
659
- return "reservation.discover";
659
+ return "GetReservations";
660
660
  }
661
661
  };
662
- module.exports = DiscoverReservationsCommand;
662
+ module.exports = GetReservations;
663
663
  }
664
664
  });
665
665
 
666
- // src/Commands/DiscoverReservationSpaceCategoryAvailabilitiesCommand.js
667
- var require_DiscoverReservationSpaceCategoryAvailabilitiesCommand = __commonJS({
668
- "src/Commands/DiscoverReservationSpaceCategoryAvailabilitiesCommand.js"(exports, module) {
666
+ // src/Commands/GetReservationSpaceCategoryAvailabilities.js
667
+ var require_GetReservationSpaceCategoryAvailabilities = __commonJS({
668
+ "src/Commands/GetReservationSpaceCategoryAvailabilities.js"(exports, module) {
669
669
  var { RequestError } = require_Errors();
670
670
  var Command = require_Command();
671
- var DiscoverReservationSpaceCategoryAvailabilitiesCommand = class extends Command {
671
+ var GetReservationSpaceCategoryAvailabilities = class extends Command {
672
672
  static {
673
- __name(this, "DiscoverReservationSpaceCategoryAvailabilitiesCommand");
673
+ __name(this, "GetReservationSpaceCategoryAvailabilities");
674
674
  }
675
675
  constructor(options) {
676
676
  if (!options)
@@ -679,23 +679,20 @@ var require_DiscoverReservationSpaceCategoryAvailabilitiesCommand = __commonJS({
679
679
  super({ id, ...rest });
680
680
  }
681
681
  get name() {
682
- return "DiscoverReservationSpaceCategoryAvailabilities";
683
- }
684
- get routingKey() {
685
- return "reservation.discoverRoomUpsells";
682
+ return "GetReservationSpaceCategoryAvailabilities";
686
683
  }
687
684
  };
688
- module.exports = DiscoverReservationSpaceCategoryAvailabilitiesCommand;
685
+ module.exports = GetReservationSpaceCategoryAvailabilities;
689
686
  }
690
687
  });
691
688
 
692
- // src/Commands/DiscoverRoomsCommand.js
693
- var require_DiscoverRoomsCommand = __commonJS({
694
- "src/Commands/DiscoverRoomsCommand.js"(exports, module) {
689
+ // src/Commands/GetRooms.js
690
+ var require_GetRooms = __commonJS({
691
+ "src/Commands/GetRooms.js"(exports, module) {
695
692
  var Command = require_Command();
696
- var DiscoverRoomsCommand = class extends Command {
693
+ var GetRooms = class extends Command {
697
694
  static {
698
- __name(this, "DiscoverRoomsCommand");
695
+ __name(this, "GetRooms");
699
696
  }
700
697
  constructor({
701
698
  id,
@@ -719,49 +716,35 @@ var require_DiscoverRoomsCommand = __commonJS({
719
716
  });
720
717
  }
721
718
  get name() {
722
- return "DiscoverRooms";
723
- }
724
- get routingKey() {
725
- if (typeof this.data.id === "string")
726
- return `rooms.${this.data.id}.get`;
727
- if (Array.isArray(this.data.id))
728
- return "rooms.batch.get";
729
- return "rooms.get";
719
+ return "GetRooms";
730
720
  }
731
721
  };
732
- module.exports = DiscoverRoomsCommand;
722
+ module.exports = GetRooms;
733
723
  }
734
724
  });
735
725
 
736
- // src/Commands/DiscoverCategoriesCommand.js
737
- var require_DiscoverCategoriesCommand = __commonJS({
738
- "src/Commands/DiscoverCategoriesCommand.js"(exports, module) {
726
+ // src/Commands/GetCategories.js
727
+ var require_GetCategories = __commonJS({
728
+ "src/Commands/GetCategories.js"(exports, module) {
739
729
  var Command = require_Command();
740
- var DiscoverCategoriesCommand = class extends Command {
730
+ var GetCategories = class extends Command {
741
731
  static {
742
- __name(this, "DiscoverCategoriesCommand");
732
+ __name(this, "GetCategories");
743
733
  }
744
734
  constructor({ id, ...rest }) {
745
735
  super({ id, ...rest });
746
736
  }
747
737
  get name() {
748
- return "DiscoverCategories";
749
- }
750
- get routingKey() {
751
- if (typeof this.data.id === "string")
752
- return `categories.${this.data.id}.get`;
753
- if (Array.isArray(this.data.id))
754
- return "categories.batch.get";
755
- return "categories.get";
738
+ return "GetCategories";
756
739
  }
757
740
  };
758
- module.exports = DiscoverCategoriesCommand;
741
+ module.exports = GetCategories;
759
742
  }
760
743
  });
761
744
 
762
- // src/Commands/CreateShortLinkCommand.js
763
- var require_CreateShortLinkCommand = __commonJS({
764
- "src/Commands/CreateShortLinkCommand.js"(exports, module) {
745
+ // src/Commands/CreateShortLink.js
746
+ var require_CreateShortLink = __commonJS({
747
+ "src/Commands/CreateShortLink.js"(exports, module) {
765
748
  var Command = require_Command();
766
749
  var RequestError = require_RequestError();
767
750
  var CreateShortLinkCommand = class extends Command {
@@ -778,22 +761,19 @@ var require_CreateShortLinkCommand = __commonJS({
778
761
  get name() {
779
762
  return "CreateShortLink";
780
763
  }
781
- get routingKey() {
782
- return "comm.shortlink.create";
783
- }
784
764
  };
785
765
  module.exports = CreateShortLinkCommand;
786
766
  }
787
767
  });
788
768
 
789
- // src/Commands/UpdateReservationCommand.js
790
- var require_UpdateReservationCommand = __commonJS({
791
- "src/Commands/UpdateReservationCommand.js"(exports, module) {
769
+ // src/Commands/UpdateReservation.js
770
+ var require_UpdateReservation = __commonJS({
771
+ "src/Commands/UpdateReservation.js"(exports, module) {
792
772
  var Command = require_Command();
793
773
  var RequestError = require_RequestError();
794
- var UpdateReservationCommand = class extends Command {
774
+ var UpdateReservation = class extends Command {
795
775
  static {
796
- __name(this, "UpdateReservationCommand");
776
+ __name(this, "UpdateReservation");
797
777
  }
798
778
  constructor({ id, ...rest }) {
799
779
  if (!id)
@@ -803,22 +783,19 @@ var require_UpdateReservationCommand = __commonJS({
803
783
  get name() {
804
784
  return "UpdateReservation";
805
785
  }
806
- get routingKey() {
807
- return `reservation.${this.data.id}.update`;
808
- }
809
786
  };
810
- module.exports = UpdateReservationCommand;
787
+ module.exports = UpdateReservation;
811
788
  }
812
789
  });
813
790
 
814
- // src/Commands/UpdateUserCommand.js
815
- var require_UpdateUserCommand = __commonJS({
816
- "src/Commands/UpdateUserCommand.js"(exports, module) {
791
+ // src/Commands/UpdateUser.js
792
+ var require_UpdateUser = __commonJS({
793
+ "src/Commands/UpdateUser.js"(exports, module) {
817
794
  var Command = require_Command();
818
795
  var RequestError = require_RequestError();
819
- var UpdateUserCommand = class extends Command {
796
+ var UpdateUser = class extends Command {
820
797
  static {
821
- __name(this, "UpdateUserCommand");
798
+ __name(this, "UpdateUser");
822
799
  }
823
800
  constructor({
824
801
  id,
@@ -850,21 +827,18 @@ var require_UpdateUserCommand = __commonJS({
850
827
  get name() {
851
828
  return "UpdateUser";
852
829
  }
853
- get routingKey() {
854
- return `user.${this.data.id}.update`;
855
- }
856
830
  };
857
- module.exports = UpdateUserCommand;
831
+ module.exports = UpdateUser;
858
832
  }
859
833
  });
860
834
 
861
- // src/Commands/GetMobileKeyCommand.js
862
- var require_GetMobileKeyCommand = __commonJS({
863
- "src/Commands/GetMobileKeyCommand.js"(exports, module) {
835
+ // src/Commands/GetMobileKey.js
836
+ var require_GetMobileKey = __commonJS({
837
+ "src/Commands/GetMobileKey.js"(exports, module) {
864
838
  var Command = require_Command();
865
- var GetMobileKeyCommand = class extends Command {
839
+ var GetMobileKey = class extends Command {
866
840
  static {
867
- __name(this, "GetMobileKeyCommand");
841
+ __name(this, "GetMobileKey");
868
842
  }
869
843
  constructor({
870
844
  id,
@@ -879,21 +853,18 @@ var require_GetMobileKeyCommand = __commonJS({
879
853
  get name() {
880
854
  return "GetMobileKey";
881
855
  }
882
- get routingKey() {
883
- return `lock.${this.data.id}.set`;
884
- }
885
856
  };
886
- module.exports = GetMobileKeyCommand;
857
+ module.exports = GetMobileKey;
887
858
  }
888
859
  });
889
860
 
890
- // src/Commands/CreateImageUploadEndpointCommand.js
891
- var require_CreateImageUploadEndpointCommand = __commonJS({
892
- "src/Commands/CreateImageUploadEndpointCommand.js"(exports, module) {
861
+ // src/Commands/CreateImageUploadEndpoint.js
862
+ var require_CreateImageUploadEndpoint = __commonJS({
863
+ "src/Commands/CreateImageUploadEndpoint.js"(exports, module) {
893
864
  var Command = require_Command();
894
- var CreateImageUploadEndpointCommand = class extends Command {
865
+ var CreateImageUploadEndpoint = class extends Command {
895
866
  static {
896
- __name(this, "CreateImageUploadEndpointCommand");
867
+ __name(this, "CreateImageUploadEndpoint");
897
868
  }
898
869
  constructor({ id, expires, ...rest }) {
899
870
  super({ id, expires, ...rest });
@@ -901,21 +872,18 @@ var require_CreateImageUploadEndpointCommand = __commonJS({
901
872
  get name() {
902
873
  return "CreateImageUploadEndpoint";
903
874
  }
904
- get routingKey() {
905
- return "image.createUploadEndpoint";
906
- }
907
875
  };
908
- module.exports = CreateImageUploadEndpointCommand;
876
+ module.exports = CreateImageUploadEndpoint;
909
877
  }
910
878
  });
911
879
 
912
- // src/Commands/UploadImageCommand.js
913
- var require_UploadImageCommand = __commonJS({
914
- "src/Commands/UploadImageCommand.js"(exports, module) {
880
+ // src/Commands/UploadImage.js
881
+ var require_UploadImage = __commonJS({
882
+ "src/Commands/UploadImage.js"(exports, module) {
915
883
  var Command = require_Command();
916
- var UploadImageCommand = class extends Command {
884
+ var UploadImage = class extends Command {
917
885
  static {
918
- __name(this, "UploadImageCommand");
886
+ __name(this, "UploadImage");
919
887
  }
920
888
  constructor({ id, url, file, ...rest }) {
921
889
  super({ id, url, file, ...rest });
@@ -923,52 +891,37 @@ var require_UploadImageCommand = __commonJS({
923
891
  get name() {
924
892
  return "UploadImage";
925
893
  }
926
- get routingKey() {
927
- return `image.${this.data.id}.upload`;
928
- }
929
894
  };
930
- module.exports = UploadImageCommand;
895
+ module.exports = UploadImage;
931
896
  }
932
897
  });
933
898
 
934
- // src/Commands/DiscoverProductsCommand.js
935
- var require_DiscoverProductsCommand = __commonJS({
936
- "src/Commands/DiscoverProductsCommand.js"(exports, module) {
899
+ // src/Commands/GetProducts.js
900
+ var require_GetProducts = __commonJS({
901
+ "src/Commands/GetProducts.js"(exports, module) {
937
902
  var Command = require_Command();
938
- var DiscoverProductsCommand = class extends Command {
903
+ var GetProducts = class extends Command {
939
904
  static {
940
- __name(this, "DiscoverProductsCommand");
905
+ __name(this, "GetProducts");
941
906
  }
942
907
  constructor({ id, externalSystemId, ...rest }) {
943
908
  super({ id, externalSystemId, ...rest });
944
909
  }
945
910
  get name() {
946
- return "DiscoverProducts";
947
- }
948
- get routingKey() {
949
- if (Array.isArray(this.data.id)) {
950
- return `product.${this.data.id.join("-")}.get`;
951
- }
952
- if (Array.isArray(this.data.externalSystemId)) {
953
- return `product.${this.data.externalSystemId.join("-")}.get`;
954
- }
955
- if (this.data.externalSystemId) {
956
- return `product.${this.data.externalSystemId}.get`;
957
- }
958
- return `product.${this.data.id}.get`;
911
+ return "GetProducts";
959
912
  }
960
913
  };
961
- module.exports = DiscoverProductsCommand;
914
+ module.exports = GetProducts;
962
915
  }
963
916
  });
964
917
 
965
- // src/Commands/SellProductsCommand.js
966
- var require_SellProductsCommand = __commonJS({
967
- "src/Commands/SellProductsCommand.js"(exports, module) {
918
+ // src/Commands/SellProducts.js
919
+ var require_SellProducts = __commonJS({
920
+ "src/Commands/SellProducts.js"(exports, module) {
968
921
  var Command = require_Command();
969
- var SellProductsCommand = class extends Command {
922
+ var SellProducts = class extends Command {
970
923
  static {
971
- __name(this, "SellProductsCommand");
924
+ __name(this, "SellProducts");
972
925
  }
973
926
  constructor({ reservationId, userId, products, ...rest }) {
974
927
  super({ reservationId, userId, products, ...rest });
@@ -976,72 +929,71 @@ var require_SellProductsCommand = __commonJS({
976
929
  get name() {
977
930
  return "SellProducts";
978
931
  }
979
- get routingKey() {
980
- return `product.${this.data.id}.sell`;
981
- }
982
932
  };
983
- module.exports = SellProductsCommand;
933
+ module.exports = SellProducts;
984
934
  }
985
935
  });
986
936
 
987
937
  // src/Commands/index.js
988
938
  var require_Commands = __commonJS({
989
939
  "src/Commands/index.js"(exports, module) {
990
- var SetSceneCommand = require_SetSceneCommand();
991
- var SetAlarmCommand = require_SetAlarmCommand();
992
- var SetDimmerCommand = require_SetDimmerCommand();
993
- var SetSwitchCommand = require_SetSwitchCommand();
994
- var SetThermostatCommand = require_SetThermostatCommand();
995
- var SetLockCommand = require_SetLockCommand();
996
- var SetWindowCoveringCommand = require_SetWindowCoveringCommand();
997
- var SetCourtesyCommand = require_SetCourtesyCommand();
998
- var SetMediaCommand = require_SetMediaCommand();
999
- var DiscoverUsersCommand = require_DiscoverUsersCommand();
1000
- var OCRDocumentCommand = require_OCRDocumentCommand();
1001
- var CheckInReservationCommand = require_CheckInReservationCommand();
1002
- var CheckOutReservationCommand = require_CheckOutReservationCommand();
1003
- var SendEmailCommand = require_SendEmailCommand();
1004
- var SendSMSCommand = require_SendSMSCommand();
1005
- var DiscoverReservationsCommand = require_DiscoverReservationsCommand();
1006
- var DiscoverReservationSpaceCategoryAvailabilitiesCommand = require_DiscoverReservationSpaceCategoryAvailabilitiesCommand();
1007
- var DiscoverRoomsCommand = require_DiscoverRoomsCommand();
1008
- var DiscoverCategoriesCommand = require_DiscoverCategoriesCommand();
1009
- var CreateShortLinkCommand = require_CreateShortLinkCommand();
1010
- var UpdateReservationCommand = require_UpdateReservationCommand();
1011
- var UpdateUserCommand = require_UpdateUserCommand();
1012
- var GetMobileKeyCommand = require_GetMobileKeyCommand();
1013
- var CreateImageUploadEndpointCommand = require_CreateImageUploadEndpointCommand();
1014
- var UploadImageCommand = require_UploadImageCommand();
1015
- var DiscoverProductsCommand = require_DiscoverProductsCommand();
1016
- var SellProductsCommand = require_SellProductsCommand();
940
+ var Command = require_Command();
941
+ var SetScene = require_SetScene();
942
+ var SetAlarm = require_SetAlarm();
943
+ var SetDimmer = require_SetDimmer();
944
+ var SetSwitch = require_SetSwitch();
945
+ var SetThermostat = require_SetThermostat();
946
+ var SetLock = require_SetLock();
947
+ var SetWindowCovering = require_SetWindowCovering();
948
+ var SetCourtesy = require_SetCourtesy();
949
+ var SetMedia = require_SetMedia();
950
+ var GetUsers = require_GetUsers();
951
+ var OCRDocument = require_OCRDocument();
952
+ var CheckInReservation = require_CheckInReservation();
953
+ var CheckOutReservation = require_CheckOutReservation();
954
+ var SendEmail = require_SendEmail();
955
+ var SendSMS = require_SendSMS();
956
+ var GetReservations = require_GetReservations();
957
+ var GetReservationSpaceCategoryAvailabilities = require_GetReservationSpaceCategoryAvailabilities();
958
+ var GetRooms = require_GetRooms();
959
+ var GetCategories = require_GetCategories();
960
+ var CreateShortLink = require_CreateShortLink();
961
+ var UpdateReservation = require_UpdateReservation();
962
+ var UpdateUser = require_UpdateUser();
963
+ var GetMobileKey = require_GetMobileKey();
964
+ var CreateImageUploadEndpoint = require_CreateImageUploadEndpoint();
965
+ var UploadImage = require_UploadImage();
966
+ var GetProducts = require_GetProducts();
967
+ var SellProducts = require_SellProducts();
1017
968
  module.exports = {
1018
- SetSceneCommand,
1019
- SetAlarmCommand,
1020
- SetDimmerCommand,
1021
- SetSwitchCommand,
1022
- SetThermostatCommand,
1023
- SetLockCommand,
1024
- SetWindowCoveringCommand,
1025
- SetCourtesyCommand,
1026
- SetMediaCommand,
1027
- OCRDocumentCommand,
1028
- DiscoverUsersCommand,
1029
- CheckInReservationCommand,
1030
- CheckOutReservationCommand,
1031
- SendSMSCommand,
1032
- SendEmailCommand,
1033
- DiscoverReservationsCommand,
1034
- DiscoverReservationSpaceCategoryAvailabilitiesCommand,
1035
- DiscoverRoomsCommand,
1036
- DiscoverCategoriesCommand,
1037
- CreateShortLinkCommand,
1038
- UpdateReservationCommand,
1039
- UpdateUserCommand,
1040
- GetMobileKeyCommand,
1041
- CreateImageUploadEndpointCommand,
1042
- UploadImageCommand,
1043
- DiscoverProductsCommand,
1044
- SellProductsCommand
969
+ Command,
970
+ SetScene,
971
+ SetAlarm,
972
+ SetDimmer,
973
+ SetSwitch,
974
+ SetThermostat,
975
+ SetLock,
976
+ SetWindowCovering,
977
+ SetCourtesy,
978
+ SetMedia,
979
+ OCRDocument,
980
+ GetUsers,
981
+ CheckInReservation,
982
+ CheckOutReservation,
983
+ SendSMS,
984
+ SendEmail,
985
+ GetReservations,
986
+ GetReservationSpaceCategoryAvailabilities,
987
+ GetRooms,
988
+ GetCategories,
989
+ CreateShortLink,
990
+ UpdateReservation,
991
+ UpdateUser,
992
+ GetMobileKey,
993
+ CreateImageUploadEndpoint,
994
+ UploadImage,
995
+ GetProducts,
996
+ SellProducts
1045
997
  };
1046
998
  }
1047
999
  });