@kohost/api-client 4.15.2 → 4.15.4

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 (97) hide show
  1. package/dist/cjs/httpClient.d.cts +12 -2
  2. package/dist/cjs/{index-C0VQ2ffR.d.cts → index-BjziDwt4.d.cts} +21 -1
  3. package/dist/cjs/index.d.cts +11 -1
  4. package/dist/cjs/models/issue.cjs +1 -1
  5. package/dist/cjs/models/issue.cjs.map +1 -1
  6. package/dist/cjs/schemas/issue.cjs +1 -1
  7. package/dist/cjs/schemas/issue.cjs.map +1 -1
  8. package/dist/cjs/schemas/issue.d.cts +1 -1
  9. package/dist/cjs/schemas/organization.cjs +1 -2
  10. package/dist/cjs/schemas/organization.cjs.map +1 -1
  11. package/dist/cjs/schemas/organization.d.cts +0 -1
  12. package/dist/cjs/schemas/user.cjs +5 -2
  13. package/dist/cjs/schemas/user.cjs.map +1 -1
  14. package/dist/cjs/schemas/user.d.cts +5 -2
  15. package/dist/cjs/useCases/createDepartment.cjs +72 -0
  16. package/dist/cjs/useCases/createDepartment.cjs.map +1 -0
  17. package/dist/cjs/useCases/createDepartment.d.cts +29 -0
  18. package/dist/cjs/useCases/createServer.cjs +72 -0
  19. package/dist/cjs/useCases/createServer.cjs.map +1 -0
  20. package/dist/cjs/useCases/createServer.d.cts +29 -0
  21. package/dist/cjs/useCases/deleteDepartment.cjs +72 -0
  22. package/dist/cjs/useCases/deleteDepartment.cjs.map +1 -0
  23. package/dist/cjs/useCases/deleteDepartment.d.cts +38 -0
  24. package/dist/cjs/useCases/deleteServer.cjs +72 -0
  25. package/dist/cjs/useCases/deleteServer.cjs.map +1 -0
  26. package/dist/cjs/useCases/deleteServer.d.cts +38 -0
  27. package/dist/cjs/useCases/describeDepartment.cjs +72 -0
  28. package/dist/cjs/useCases/describeDepartment.cjs.map +1 -0
  29. package/dist/cjs/useCases/describeDepartment.d.cts +38 -0
  30. package/dist/cjs/useCases/describeServer.cjs +72 -0
  31. package/dist/cjs/useCases/describeServer.cjs.map +1 -0
  32. package/dist/cjs/useCases/describeServer.d.cts +38 -0
  33. package/dist/cjs/useCases/index.cjs +30 -0
  34. package/dist/cjs/useCases/index.cjs.map +1 -1
  35. package/dist/cjs/useCases/index.d.cts +10 -0
  36. package/dist/cjs/useCases/listDepartments.cjs +72 -0
  37. package/dist/cjs/useCases/listDepartments.cjs.map +1 -0
  38. package/dist/cjs/useCases/listDepartments.d.cts +29 -0
  39. package/dist/cjs/useCases/listServers.cjs +72 -0
  40. package/dist/cjs/useCases/listServers.cjs.map +1 -0
  41. package/dist/cjs/useCases/listServers.d.cts +29 -0
  42. package/dist/cjs/useCases/updateDepartment.cjs +72 -0
  43. package/dist/cjs/useCases/updateDepartment.cjs.map +1 -0
  44. package/dist/cjs/useCases/updateDepartment.d.cts +38 -0
  45. package/dist/cjs/useCases/updateServer.cjs +72 -0
  46. package/dist/cjs/useCases/updateServer.cjs.map +1 -0
  47. package/dist/cjs/useCases/updateServer.d.cts +38 -0
  48. package/dist/cjs/validate.d.cts +0 -3
  49. package/dist/esm/httpClient.d.ts +12 -2
  50. package/dist/esm/{index-_-hKRXg6.d.ts → index-CY1L0nkI.d.ts} +21 -1
  51. package/dist/esm/index.d.ts +11 -1
  52. package/dist/esm/models/issue.js +1 -1
  53. package/dist/esm/models/issue.js.map +1 -1
  54. package/dist/esm/schemas/issue.d.ts +1 -1
  55. package/dist/esm/schemas/issue.js +1 -1
  56. package/dist/esm/schemas/issue.js.map +1 -1
  57. package/dist/esm/schemas/organization.d.ts +0 -1
  58. package/dist/esm/schemas/organization.js +1 -2
  59. package/dist/esm/schemas/organization.js.map +1 -1
  60. package/dist/esm/schemas/user.d.ts +5 -2
  61. package/dist/esm/schemas/user.js +5 -2
  62. package/dist/esm/schemas/user.js.map +1 -1
  63. package/dist/esm/useCases/createDepartment.d.ts +29 -0
  64. package/dist/esm/useCases/createDepartment.js +50 -0
  65. package/dist/esm/useCases/createDepartment.js.map +1 -0
  66. package/dist/esm/useCases/createServer.d.ts +29 -0
  67. package/dist/esm/useCases/createServer.js +50 -0
  68. package/dist/esm/useCases/createServer.js.map +1 -0
  69. package/dist/esm/useCases/deleteDepartment.d.ts +38 -0
  70. package/dist/esm/useCases/deleteDepartment.js +50 -0
  71. package/dist/esm/useCases/deleteDepartment.js.map +1 -0
  72. package/dist/esm/useCases/deleteServer.d.ts +38 -0
  73. package/dist/esm/useCases/deleteServer.js +50 -0
  74. package/dist/esm/useCases/deleteServer.js.map +1 -0
  75. package/dist/esm/useCases/describeDepartment.d.ts +38 -0
  76. package/dist/esm/useCases/describeDepartment.js +50 -0
  77. package/dist/esm/useCases/describeDepartment.js.map +1 -0
  78. package/dist/esm/useCases/describeServer.d.ts +38 -0
  79. package/dist/esm/useCases/describeServer.js +50 -0
  80. package/dist/esm/useCases/describeServer.js.map +1 -0
  81. package/dist/esm/useCases/index.d.ts +10 -0
  82. package/dist/esm/useCases/index.js +20 -0
  83. package/dist/esm/useCases/index.js.map +1 -1
  84. package/dist/esm/useCases/listDepartments.d.ts +29 -0
  85. package/dist/esm/useCases/listDepartments.js +50 -0
  86. package/dist/esm/useCases/listDepartments.js.map +1 -0
  87. package/dist/esm/useCases/listServers.d.ts +29 -0
  88. package/dist/esm/useCases/listServers.js +50 -0
  89. package/dist/esm/useCases/listServers.js.map +1 -0
  90. package/dist/esm/useCases/updateDepartment.d.ts +38 -0
  91. package/dist/esm/useCases/updateDepartment.js +50 -0
  92. package/dist/esm/useCases/updateDepartment.js.map +1 -0
  93. package/dist/esm/useCases/updateServer.d.ts +38 -0
  94. package/dist/esm/useCases/updateServer.js +50 -0
  95. package/dist/esm/useCases/updateServer.js.map +1 -0
  96. package/dist/esm/validate.d.ts +0 -3
  97. package/package.json +1 -1
@@ -0,0 +1,72 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var updateServer_exports = {};
20
+ __export(updateServer_exports, {
21
+ UpdateServerCommand: () => UpdateServerCommand
22
+ });
23
+ module.exports = __toCommonJS(updateServer_exports);
24
+ class UpdateServerCommand {
25
+ static {
26
+ __name(this, "UpdateServerCommand");
27
+ }
28
+ url;
29
+ data;
30
+ query;
31
+ headers;
32
+ config;
33
+ static params = ["id"];
34
+ static url = "/servers/:id";
35
+ static method = "put";
36
+ constructor(commandConfig, options = {}) {
37
+ const pathParams = UpdateServerCommand.params;
38
+ let { data, query, headers } = commandConfig ?? {};
39
+ if (typeof data === "undefined") data = null;
40
+ if (typeof query === "undefined") query = null;
41
+ if (typeof headers === "undefined") headers = null;
42
+ let url = UpdateServerCommand.url;
43
+ if (pathParams && data) {
44
+ for (const param of pathParams) {
45
+ const urlParam = ":" + param;
46
+ url = url.replace(urlParam, data[param]);
47
+ }
48
+ }
49
+ const missingParams = url.match(/:[a-zA-Z0-9]+/g);
50
+ if (missingParams) {
51
+ const missing = missingParams.map((param) => param.replace(":", ""));
52
+ throw new Error("Missing parameters: " + missing.join(", "));
53
+ }
54
+ this.url = url;
55
+ this.data = data;
56
+ this.query = query;
57
+ this.headers = headers;
58
+ this.config = {
59
+ method: UpdateServerCommand.method,
60
+ url,
61
+ data,
62
+ params: query,
63
+ headers,
64
+ ...options
65
+ };
66
+ }
67
+ }
68
+ // Annotate the CommonJS export names for ESM import in node:
69
+ 0 && (module.exports = {
70
+ UpdateServerCommand
71
+ });
72
+ //# sourceMappingURL=updateServer.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../.generated/useCases/updateServer.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface UpdateServerCommandConfig {\n data?: { id: string; [key: string]: unknown } | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface UpdateServerCommandRequestConfig {\n method: \"put\";\n url: string;\n data: { id: string; [key: string]: unknown } | null;\n params: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n [key: string]: unknown;\n}\n\n/**\n *\n */\nexport class UpdateServerCommand {\n url: string;\n data: { id: string; [key: string]: unknown } | null;\n query: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n config: UpdateServerCommandRequestConfig;\n\n static params = [\"id\"] as const;\n static url = \"/servers/:id\";\n static method = \"put\" as const;\n\n constructor(\n commandConfig: UpdateServerCommandConfig,\n options: Record<string, unknown> = {},\n ) {\n const pathParams = UpdateServerCommand.params;\n\n let { data, query, headers } = commandConfig ?? {};\n\n if (typeof data === \"undefined\") data = null;\n if (typeof query === \"undefined\") query = null;\n if (typeof headers === \"undefined\") headers = null;\n\n // Replace path parameters with values from data\n let url: string = UpdateServerCommand.url;\n\n if (pathParams && data) {\n for (const param of pathParams) {\n const urlParam = \":\" + param;\n url = url.replace(urlParam, (data as Record<string, string>)[param]);\n }\n }\n\n // Make sure all parameters have been replaced\n const missingParams = url.match(/:[a-zA-Z0-9]+/g);\n if (missingParams) {\n const missing = missingParams.map((param) => param.replace(\":\", \"\"));\n throw new Error(\"Missing parameters: \" + missing.join(\", \"));\n }\n\n this.url = url;\n this.data = data;\n this.query = query;\n this.headers = headers;\n\n this.config = {\n method: UpdateServerCommand.method,\n url: url,\n data: data,\n params: query,\n headers: headers,\n ...options,\n };\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAoBO,MAAM,oBAAoB;AAAA,EApBjC,OAoBiC;AAAA;AAAA;AAAA,EAC/B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA,OAAO,SAAS,CAAC,IAAI;AAAA,EACrB,OAAO,MAAM;AAAA,EACb,OAAO,SAAS;AAAA,EAEhB,YACE,eACA,UAAmC,CAAC,GACpC;AACA,UAAM,aAAa,oBAAoB;AAEvC,QAAI,EAAE,MAAM,OAAO,QAAQ,IAAI,iBAAiB,CAAC;AAEjD,QAAI,OAAO,SAAS,YAAa,QAAO;AACxC,QAAI,OAAO,UAAU,YAAa,SAAQ;AAC1C,QAAI,OAAO,YAAY,YAAa,WAAU;AAG9C,QAAI,MAAc,oBAAoB;AAEtC,QAAI,cAAc,MAAM;AACtB,iBAAW,SAAS,YAAY;AAC9B,cAAM,WAAW,MAAM;AACvB,cAAM,IAAI,QAAQ,UAAW,KAAgC,KAAK,CAAC;AAAA,MACrE;AAAA,IACF;AAGA,UAAM,gBAAgB,IAAI,MAAM,gBAAgB;AAChD,QAAI,eAAe;AACjB,YAAM,UAAU,cAAc,IAAI,CAAC,UAAU,MAAM,QAAQ,KAAK,EAAE,CAAC;AACnE,YAAM,IAAI,MAAM,yBAAyB,QAAQ,KAAK,IAAI,CAAC;AAAA,IAC7D;AAEA,SAAK,MAAM;AACX,SAAK,OAAO;AACZ,SAAK,QAAQ;AACb,SAAK,UAAU;AAEf,SAAK,SAAS;AAAA,MACZ,QAAQ,oBAAoB;AAAA,MAC5B;AAAA,MACA;AAAA,MACA,QAAQ;AAAA,MACR;AAAA,MACA,GAAG;AAAA,IACL;AAAA,EACF;AACF;","names":[]}
@@ -0,0 +1,38 @@
1
+ interface UpdateServerCommandConfig {
2
+ data?: {
3
+ id: string;
4
+ [key: string]: unknown;
5
+ } | null;
6
+ headers?: Record<string, string> | null;
7
+ query?: Record<string, unknown> | null;
8
+ }
9
+ interface UpdateServerCommandRequestConfig {
10
+ method: "put";
11
+ url: string;
12
+ data: {
13
+ id: string;
14
+ [key: string]: unknown;
15
+ } | null;
16
+ params: Record<string, unknown> | null;
17
+ headers: Record<string, string> | null;
18
+ [key: string]: unknown;
19
+ }
20
+ /**
21
+ *
22
+ */
23
+ declare class UpdateServerCommand {
24
+ url: string;
25
+ data: {
26
+ id: string;
27
+ [key: string]: unknown;
28
+ } | null;
29
+ query: Record<string, unknown> | null;
30
+ headers: Record<string, string> | null;
31
+ config: UpdateServerCommandRequestConfig;
32
+ static params: readonly ["id"];
33
+ static url: string;
34
+ static method: "put";
35
+ constructor(commandConfig: UpdateServerCommandConfig, options?: Record<string, unknown>);
36
+ }
37
+
38
+ export { UpdateServerCommand, type UpdateServerCommandConfig, type UpdateServerCommandRequestConfig };
@@ -248,15 +248,12 @@ declare const validateIssue: ajv.ValidateFunction<{
248
248
  id: any;
249
249
  type: any;
250
250
  name: any;
251
- department: any;
252
251
  } & {
253
252
  id: any;
254
253
  } & {
255
254
  type: any;
256
255
  } & {
257
256
  name: any;
258
- } & {
259
- department: any;
260
257
  }>;
261
258
  declare const validateLock: ajv.ValidateFunction<{
262
259
  id: any;
@@ -37,6 +37,11 @@ import { DeleteCategoryCommand } from './useCases/deleteCategory.js';
37
37
  import { DescribeCategoryCommand } from './useCases/describeCategory.js';
38
38
  import { ListCategoriesCommand } from './useCases/listCategories.js';
39
39
  import { UpdateCategoryCommand } from './useCases/updateCategory.js';
40
+ import { DescribeDepartmentCommand } from './useCases/describeDepartment.js';
41
+ import { ListDepartmentsCommand } from './useCases/listDepartments.js';
42
+ import { DeleteDepartmentCommand } from './useCases/deleteDepartment.js';
43
+ import { CreateDepartmentCommand } from './useCases/createDepartment.js';
44
+ import { UpdateDepartmentCommand } from './useCases/updateDepartment.js';
40
45
  import { ListRoomsCommand } from './useCases/listRooms.js';
41
46
  import { DescribeRoomCommand } from './useCases/describeRoom.js';
42
47
  import { CreateRoomCommand } from './useCases/createRoom.js';
@@ -202,6 +207,11 @@ import { DeleteSystemCommand } from './useCases/deleteSystem.js';
202
207
  import { DescribeSystemCommand } from './useCases/describeSystem.js';
203
208
  import { ListSystemsCommand } from './useCases/listSystems.js';
204
209
  import { UpdateSystemCommand } from './useCases/updateSystem.js';
210
+ import { CreateServerCommand } from './useCases/createServer.js';
211
+ import { DeleteServerCommand } from './useCases/deleteServer.js';
212
+ import { DescribeServerCommand } from './useCases/describeServer.js';
213
+ import { ListServersCommand } from './useCases/listServers.js';
214
+ import { UpdateServerCommand } from './useCases/updateServer.js';
205
215
 
206
216
  declare class KohostHTTPClient {
207
217
  static get defs(): {
@@ -272,12 +282,12 @@ declare class KohostHTTPClient {
272
282
  *
273
283
  * @param {Command} command
274
284
  */
275
- send(command: typeof RefreshTokenCommand | typeof LoginStartCommand | typeof LoginFinishCommand | typeof RequestLoginTokenCommand | typeof LogoutSelfCommand | typeof LogoutUserCommand | typeof StartRegisterPasskeyCommand | typeof FinishRegisterPasskeyCommand | typeof DescribeMyAuthCommand | typeof ValidateAuthCommand | typeof DescribeSelfCommand | typeof DescribeUserCommand | typeof CreateUserCommand | typeof ListUsersCommand | typeof UpdateSelfCommand | typeof UpdateUserCommand | typeof DeleteUserCommand | typeof SendVerificationCodeCommand | typeof CheckVerificationCodeCommand | typeof ListUserSpacesCommand | typeof DescribeMyPasskeyRegistrationsCommand | typeof DeleteUserCredentialCommand | typeof CreatePolicyCommand | typeof ListPoliciesCommand | typeof UpdatePolicyCommand | typeof DeletePolicyCommand | typeof DescribePolicyCommand | typeof ListSpacesCommand | typeof ListRoomsInSpaceCommand | typeof UpdateSpaceCommand | typeof CreateSpaceCommand | typeof DescribeSpaceCommand | typeof DeleteSpaceCommand | typeof CreateRoomInSpaceCommand | typeof CreateCategoryCommand | typeof DeleteCategoryCommand | typeof DescribeCategoryCommand | typeof ListCategoriesCommand | typeof UpdateCategoryCommand | typeof ListRoomsCommand | typeof DescribeRoomCommand | typeof CreateRoomCommand | typeof UpdateRoomCommand | typeof DeleteRoomCommand | typeof CreateAlarmCommand | typeof ListAlarmsCommand | typeof UpdateAlarmCommand | typeof DeleteAlarmCommand | typeof DescribeAlarmCommand | typeof DescribeAlarmConfigCommand | typeof SetAlarmCommand | typeof MoveAlarmCommand | typeof CreateCameraCommand | typeof ListCamerasCommand | typeof UpdateCameraCommand | typeof DeleteCameraCommand | typeof ListCameraStreamPreviewsCommand | typeof DescribeCameraCommand | typeof SetCameraCommand | typeof MoveCameraCommand | typeof DescribeCameraConfigCommand | typeof CreateCourtesyCommand | typeof ListCourtesyCommand | typeof UpdateCourtesyCommand | typeof DeleteCourtesyCommand | typeof DescribeCourtesyCommand | typeof SetCourtesyCommand | typeof MoveCourtesyCommand | typeof CreateDimmerCommand | typeof ListDimmersCommand | typeof UpdateDimmerCommand | typeof DeleteDimmerCommand | typeof DescribeDimmerCommand | typeof SetDimmerCommand | typeof MoveDimmerCommand | typeof CreateLockCommand | typeof ListLocksCommand | typeof UpdateLockCommand | typeof DeleteLockCommand | typeof DescribeLockCommand | typeof SetLockCommand | typeof MoveLockCommand | typeof CreateSwitchCommand | typeof ListSwitchesCommand | typeof UpdateSwitchCommand | typeof DeleteSwitchCommand | typeof DescribeSwitchCommand | typeof SetSwitchCommand | typeof MoveSwitchCommand | typeof CreateMediaSourceCommand | typeof ListMediaSourcesCommand | typeof UpdateMediaSourceCommand | typeof DeleteMediaSourceCommand | typeof DescribeMediaSourceCommand | typeof SetMediaSourceCommand | typeof MoveMediaSourceCommand | typeof CreateThermostatCommand | typeof ListThermostatsCommand | typeof UpdateThermostatCommand | typeof DeleteThermostatCommand | typeof DescribeThermostatCommand | typeof SetThermostatCommand | typeof MoveThermostatCommand | typeof CreateWindowCoveringCommand | typeof ListWindowCoveringsCommand | typeof UpdateWindowCoveringCommand | typeof DeleteWindowCoveringCommand | typeof DescribeWindowCoveringCommand | typeof SetWindowCoveringCommand | typeof MoveWindowCoveringCommand | typeof AutoCloseTicketsCommand | typeof DescribeTicketStatsCommand | typeof CreateTicketCommand | typeof CreateTicketMessageCommand | typeof DeleteTicketCommand | typeof ListTicketLocationsCommand | typeof DescribeTicketFiltersCommand | typeof DescribeTicketCommand | typeof ListTicketsCommand | typeof UpdateMessageReadStatusCommand | typeof UpdateTicketCommand | typeof UpdateTicketStatusCommand | typeof LeaveTicketCommand | typeof ListScenesCommand | typeof SetSceneCommand | typeof SetRoomSceneCommand | typeof CreateDiscoveredDeviceAssociationMapCommand | typeof AutoAssociateDiscoveredDevicesCommand | typeof CreateDiscoveredDeviceCommand | typeof ListDiscoveredDevicesCommand | typeof UpdateDiscoveredDeviceCommand | typeof DeleteDiscoveredDeviceCommand | typeof DescribeDiscoveredDeviceCommand | typeof UpsertDiscoveredDeviceCommand | typeof CreateDiscoveredDeviceAssociationCommand | typeof DescribeMyOrganizationCommand | typeof CreateOrganizationCommand | typeof UpdateOrganizationCommand | typeof DescribeOrganizationCommand | typeof ListOrganizationsCommand | typeof ListPropertiesCommand | typeof ListMyPropertiesCommand | typeof CreatePropertyCommand | typeof UpdatePropertyCommand | typeof DescribePropertyCommand | typeof UpdatePropertySettingsCommand | typeof EmailUserAccountSetupCommand | typeof CreateImageUploadEndpointCommand | typeof DeleteMediaFileCommand | typeof UploadImageCommand | typeof CreateAnnouncementCommand | typeof UpdateAnnouncementCommand | typeof DescribeAnnouncementCommand | typeof DeleteAnnouncementCommand | typeof ListAnnouncementsCommand | typeof DescribeTimeSheetStatsCommand | typeof ListMyTimeSheetsCommand | typeof DescribeTimeSheetCommand | typeof ListTimeSheetsCommand | typeof CreateTimeSheetCommand | typeof DeleteTimeSheetCommand | typeof UpdateTimeSheetCommand | typeof CreateTimeSheetTimeEntryCommand | typeof DeleteTimeSheetTimeEntryCommand | typeof UpdateTimeSheetTimeEntryCommand | typeof StartSOSCommand | typeof StopSOSCommand | typeof DescribeSOSCommand | typeof DescribeIssueCommand | typeof ListIssuesCommand | typeof DeleteIssueCommand | typeof CreateIssueCommand | typeof UpdateIssueCommand | typeof BulkUpdateIssueCommand | typeof DescribeVendorCommand | typeof ListVendorsCommand | typeof DeleteVendorCommand | typeof CreateVendorCommand | typeof UpdateVendorCommand | typeof CreateAutomationCommand | typeof ListAutomationsCommand | typeof DescribeAutomationCommand | typeof UpdateAutomationCommand | typeof DeleteAutomationCommand | typeof CreateDefaultAutomationsCommand | typeof RunAutomationCommand | typeof CreateNotificationCommand | typeof DeleteNotificationCommand | typeof DescribeNotificationCommand | typeof ListNotificationsCommand | typeof UpdateNotificationCommand | typeof SendNotificationCommand | typeof SendSMSCommand | typeof CreateSessionCommand | typeof ListSessionsCommand | typeof DescribeSessionCommand | typeof UpdateSessionCommand | typeof DeleteSessionCommand | typeof SetDevicesCommand | typeof CreateSystemCommand | typeof DeleteSystemCommand | typeof DescribeSystemCommand | typeof ListSystemsCommand | typeof UpdateSystemCommand): any;
285
+ send(command: typeof RefreshTokenCommand | typeof LoginStartCommand | typeof LoginFinishCommand | typeof RequestLoginTokenCommand | typeof LogoutSelfCommand | typeof LogoutUserCommand | typeof StartRegisterPasskeyCommand | typeof FinishRegisterPasskeyCommand | typeof DescribeMyAuthCommand | typeof ValidateAuthCommand | typeof DescribeSelfCommand | typeof DescribeUserCommand | typeof CreateUserCommand | typeof ListUsersCommand | typeof UpdateSelfCommand | typeof UpdateUserCommand | typeof DeleteUserCommand | typeof SendVerificationCodeCommand | typeof CheckVerificationCodeCommand | typeof ListUserSpacesCommand | typeof DescribeMyPasskeyRegistrationsCommand | typeof DeleteUserCredentialCommand | typeof CreatePolicyCommand | typeof ListPoliciesCommand | typeof UpdatePolicyCommand | typeof DeletePolicyCommand | typeof DescribePolicyCommand | typeof ListSpacesCommand | typeof ListRoomsInSpaceCommand | typeof UpdateSpaceCommand | typeof CreateSpaceCommand | typeof DescribeSpaceCommand | typeof DeleteSpaceCommand | typeof CreateRoomInSpaceCommand | typeof CreateCategoryCommand | typeof DeleteCategoryCommand | typeof DescribeCategoryCommand | typeof ListCategoriesCommand | typeof UpdateCategoryCommand | typeof DescribeDepartmentCommand | typeof ListDepartmentsCommand | typeof DeleteDepartmentCommand | typeof CreateDepartmentCommand | typeof UpdateDepartmentCommand | typeof ListRoomsCommand | typeof DescribeRoomCommand | typeof CreateRoomCommand | typeof UpdateRoomCommand | typeof DeleteRoomCommand | typeof CreateAlarmCommand | typeof ListAlarmsCommand | typeof UpdateAlarmCommand | typeof DeleteAlarmCommand | typeof DescribeAlarmCommand | typeof DescribeAlarmConfigCommand | typeof SetAlarmCommand | typeof MoveAlarmCommand | typeof CreateCameraCommand | typeof ListCamerasCommand | typeof UpdateCameraCommand | typeof DeleteCameraCommand | typeof ListCameraStreamPreviewsCommand | typeof DescribeCameraCommand | typeof SetCameraCommand | typeof MoveCameraCommand | typeof DescribeCameraConfigCommand | typeof CreateCourtesyCommand | typeof ListCourtesyCommand | typeof UpdateCourtesyCommand | typeof DeleteCourtesyCommand | typeof DescribeCourtesyCommand | typeof SetCourtesyCommand | typeof MoveCourtesyCommand | typeof CreateDimmerCommand | typeof ListDimmersCommand | typeof UpdateDimmerCommand | typeof DeleteDimmerCommand | typeof DescribeDimmerCommand | typeof SetDimmerCommand | typeof MoveDimmerCommand | typeof CreateLockCommand | typeof ListLocksCommand | typeof UpdateLockCommand | typeof DeleteLockCommand | typeof DescribeLockCommand | typeof SetLockCommand | typeof MoveLockCommand | typeof CreateSwitchCommand | typeof ListSwitchesCommand | typeof UpdateSwitchCommand | typeof DeleteSwitchCommand | typeof DescribeSwitchCommand | typeof SetSwitchCommand | typeof MoveSwitchCommand | typeof CreateMediaSourceCommand | typeof ListMediaSourcesCommand | typeof UpdateMediaSourceCommand | typeof DeleteMediaSourceCommand | typeof DescribeMediaSourceCommand | typeof SetMediaSourceCommand | typeof MoveMediaSourceCommand | typeof CreateThermostatCommand | typeof ListThermostatsCommand | typeof UpdateThermostatCommand | typeof DeleteThermostatCommand | typeof DescribeThermostatCommand | typeof SetThermostatCommand | typeof MoveThermostatCommand | typeof CreateWindowCoveringCommand | typeof ListWindowCoveringsCommand | typeof UpdateWindowCoveringCommand | typeof DeleteWindowCoveringCommand | typeof DescribeWindowCoveringCommand | typeof SetWindowCoveringCommand | typeof MoveWindowCoveringCommand | typeof AutoCloseTicketsCommand | typeof DescribeTicketStatsCommand | typeof CreateTicketCommand | typeof CreateTicketMessageCommand | typeof DeleteTicketCommand | typeof ListTicketLocationsCommand | typeof DescribeTicketFiltersCommand | typeof DescribeTicketCommand | typeof ListTicketsCommand | typeof UpdateMessageReadStatusCommand | typeof UpdateTicketCommand | typeof UpdateTicketStatusCommand | typeof LeaveTicketCommand | typeof ListScenesCommand | typeof SetSceneCommand | typeof SetRoomSceneCommand | typeof CreateDiscoveredDeviceAssociationMapCommand | typeof AutoAssociateDiscoveredDevicesCommand | typeof CreateDiscoveredDeviceCommand | typeof ListDiscoveredDevicesCommand | typeof UpdateDiscoveredDeviceCommand | typeof DeleteDiscoveredDeviceCommand | typeof DescribeDiscoveredDeviceCommand | typeof UpsertDiscoveredDeviceCommand | typeof CreateDiscoveredDeviceAssociationCommand | typeof DescribeMyOrganizationCommand | typeof CreateOrganizationCommand | typeof UpdateOrganizationCommand | typeof DescribeOrganizationCommand | typeof ListOrganizationsCommand | typeof ListPropertiesCommand | typeof ListMyPropertiesCommand | typeof CreatePropertyCommand | typeof UpdatePropertyCommand | typeof DescribePropertyCommand | typeof UpdatePropertySettingsCommand | typeof EmailUserAccountSetupCommand | typeof CreateImageUploadEndpointCommand | typeof DeleteMediaFileCommand | typeof UploadImageCommand | typeof CreateAnnouncementCommand | typeof UpdateAnnouncementCommand | typeof DescribeAnnouncementCommand | typeof DeleteAnnouncementCommand | typeof ListAnnouncementsCommand | typeof DescribeTimeSheetStatsCommand | typeof ListMyTimeSheetsCommand | typeof DescribeTimeSheetCommand | typeof ListTimeSheetsCommand | typeof CreateTimeSheetCommand | typeof DeleteTimeSheetCommand | typeof UpdateTimeSheetCommand | typeof CreateTimeSheetTimeEntryCommand | typeof DeleteTimeSheetTimeEntryCommand | typeof UpdateTimeSheetTimeEntryCommand | typeof StartSOSCommand | typeof StopSOSCommand | typeof DescribeSOSCommand | typeof DescribeIssueCommand | typeof ListIssuesCommand | typeof DeleteIssueCommand | typeof CreateIssueCommand | typeof UpdateIssueCommand | typeof BulkUpdateIssueCommand | typeof DescribeVendorCommand | typeof ListVendorsCommand | typeof DeleteVendorCommand | typeof CreateVendorCommand | typeof UpdateVendorCommand | typeof CreateAutomationCommand | typeof ListAutomationsCommand | typeof DescribeAutomationCommand | typeof UpdateAutomationCommand | typeof DeleteAutomationCommand | typeof CreateDefaultAutomationsCommand | typeof RunAutomationCommand | typeof CreateNotificationCommand | typeof DeleteNotificationCommand | typeof DescribeNotificationCommand | typeof ListNotificationsCommand | typeof UpdateNotificationCommand | typeof SendNotificationCommand | typeof SendSMSCommand | typeof CreateSessionCommand | typeof ListSessionsCommand | typeof DescribeSessionCommand | typeof UpdateSessionCommand | typeof DeleteSessionCommand | typeof SetDevicesCommand | typeof CreateSystemCommand | typeof DeleteSystemCommand | typeof DescribeSystemCommand | typeof ListSystemsCommand | typeof UpdateSystemCommand | typeof CreateServerCommand | typeof DeleteServerCommand | typeof DescribeServerCommand | typeof ListServersCommand | typeof UpdateServerCommand): any;
276
286
  /**
277
287
  * @param {Command} config
278
288
  * @returns {Request}
279
289
  */
280
- createRequest(config: typeof RefreshTokenCommand | typeof LoginStartCommand | typeof LoginFinishCommand | typeof RequestLoginTokenCommand | typeof LogoutSelfCommand | typeof LogoutUserCommand | typeof StartRegisterPasskeyCommand | typeof FinishRegisterPasskeyCommand | typeof DescribeMyAuthCommand | typeof ValidateAuthCommand | typeof DescribeSelfCommand | typeof DescribeUserCommand | typeof CreateUserCommand | typeof ListUsersCommand | typeof UpdateSelfCommand | typeof UpdateUserCommand | typeof DeleteUserCommand | typeof SendVerificationCodeCommand | typeof CheckVerificationCodeCommand | typeof ListUserSpacesCommand | typeof DescribeMyPasskeyRegistrationsCommand | typeof DeleteUserCredentialCommand | typeof CreatePolicyCommand | typeof ListPoliciesCommand | typeof UpdatePolicyCommand | typeof DeletePolicyCommand | typeof DescribePolicyCommand | typeof ListSpacesCommand | typeof ListRoomsInSpaceCommand | typeof UpdateSpaceCommand | typeof CreateSpaceCommand | typeof DescribeSpaceCommand | typeof DeleteSpaceCommand | typeof CreateRoomInSpaceCommand | typeof CreateCategoryCommand | typeof DeleteCategoryCommand | typeof DescribeCategoryCommand | typeof ListCategoriesCommand | typeof UpdateCategoryCommand | typeof ListRoomsCommand | typeof DescribeRoomCommand | typeof CreateRoomCommand | typeof UpdateRoomCommand | typeof DeleteRoomCommand | typeof CreateAlarmCommand | typeof ListAlarmsCommand | typeof UpdateAlarmCommand | typeof DeleteAlarmCommand | typeof DescribeAlarmCommand | typeof DescribeAlarmConfigCommand | typeof SetAlarmCommand | typeof MoveAlarmCommand | typeof CreateCameraCommand | typeof ListCamerasCommand | typeof UpdateCameraCommand | typeof DeleteCameraCommand | typeof ListCameraStreamPreviewsCommand | typeof DescribeCameraCommand | typeof SetCameraCommand | typeof MoveCameraCommand | typeof DescribeCameraConfigCommand | typeof CreateCourtesyCommand | typeof ListCourtesyCommand | typeof UpdateCourtesyCommand | typeof DeleteCourtesyCommand | typeof DescribeCourtesyCommand | typeof SetCourtesyCommand | typeof MoveCourtesyCommand | typeof CreateDimmerCommand | typeof ListDimmersCommand | typeof UpdateDimmerCommand | typeof DeleteDimmerCommand | typeof DescribeDimmerCommand | typeof SetDimmerCommand | typeof MoveDimmerCommand | typeof CreateLockCommand | typeof ListLocksCommand | typeof UpdateLockCommand | typeof DeleteLockCommand | typeof DescribeLockCommand | typeof SetLockCommand | typeof MoveLockCommand | typeof CreateSwitchCommand | typeof ListSwitchesCommand | typeof UpdateSwitchCommand | typeof DeleteSwitchCommand | typeof DescribeSwitchCommand | typeof SetSwitchCommand | typeof MoveSwitchCommand | typeof CreateMediaSourceCommand | typeof ListMediaSourcesCommand | typeof UpdateMediaSourceCommand | typeof DeleteMediaSourceCommand | typeof DescribeMediaSourceCommand | typeof SetMediaSourceCommand | typeof MoveMediaSourceCommand | typeof CreateThermostatCommand | typeof ListThermostatsCommand | typeof UpdateThermostatCommand | typeof DeleteThermostatCommand | typeof DescribeThermostatCommand | typeof SetThermostatCommand | typeof MoveThermostatCommand | typeof CreateWindowCoveringCommand | typeof ListWindowCoveringsCommand | typeof UpdateWindowCoveringCommand | typeof DeleteWindowCoveringCommand | typeof DescribeWindowCoveringCommand | typeof SetWindowCoveringCommand | typeof MoveWindowCoveringCommand | typeof AutoCloseTicketsCommand | typeof DescribeTicketStatsCommand | typeof CreateTicketCommand | typeof CreateTicketMessageCommand | typeof DeleteTicketCommand | typeof ListTicketLocationsCommand | typeof DescribeTicketFiltersCommand | typeof DescribeTicketCommand | typeof ListTicketsCommand | typeof UpdateMessageReadStatusCommand | typeof UpdateTicketCommand | typeof UpdateTicketStatusCommand | typeof LeaveTicketCommand | typeof ListScenesCommand | typeof SetSceneCommand | typeof SetRoomSceneCommand | typeof CreateDiscoveredDeviceAssociationMapCommand | typeof AutoAssociateDiscoveredDevicesCommand | typeof CreateDiscoveredDeviceCommand | typeof ListDiscoveredDevicesCommand | typeof UpdateDiscoveredDeviceCommand | typeof DeleteDiscoveredDeviceCommand | typeof DescribeDiscoveredDeviceCommand | typeof UpsertDiscoveredDeviceCommand | typeof CreateDiscoveredDeviceAssociationCommand | typeof DescribeMyOrganizationCommand | typeof CreateOrganizationCommand | typeof UpdateOrganizationCommand | typeof DescribeOrganizationCommand | typeof ListOrganizationsCommand | typeof ListPropertiesCommand | typeof ListMyPropertiesCommand | typeof CreatePropertyCommand | typeof UpdatePropertyCommand | typeof DescribePropertyCommand | typeof UpdatePropertySettingsCommand | typeof EmailUserAccountSetupCommand | typeof CreateImageUploadEndpointCommand | typeof DeleteMediaFileCommand | typeof UploadImageCommand | typeof CreateAnnouncementCommand | typeof UpdateAnnouncementCommand | typeof DescribeAnnouncementCommand | typeof DeleteAnnouncementCommand | typeof ListAnnouncementsCommand | typeof DescribeTimeSheetStatsCommand | typeof ListMyTimeSheetsCommand | typeof DescribeTimeSheetCommand | typeof ListTimeSheetsCommand | typeof CreateTimeSheetCommand | typeof DeleteTimeSheetCommand | typeof UpdateTimeSheetCommand | typeof CreateTimeSheetTimeEntryCommand | typeof DeleteTimeSheetTimeEntryCommand | typeof UpdateTimeSheetTimeEntryCommand | typeof StartSOSCommand | typeof StopSOSCommand | typeof DescribeSOSCommand | typeof DescribeIssueCommand | typeof ListIssuesCommand | typeof DeleteIssueCommand | typeof CreateIssueCommand | typeof UpdateIssueCommand | typeof BulkUpdateIssueCommand | typeof DescribeVendorCommand | typeof ListVendorsCommand | typeof DeleteVendorCommand | typeof CreateVendorCommand | typeof UpdateVendorCommand | typeof CreateAutomationCommand | typeof ListAutomationsCommand | typeof DescribeAutomationCommand | typeof UpdateAutomationCommand | typeof DeleteAutomationCommand | typeof CreateDefaultAutomationsCommand | typeof RunAutomationCommand | typeof CreateNotificationCommand | typeof DeleteNotificationCommand | typeof DescribeNotificationCommand | typeof ListNotificationsCommand | typeof UpdateNotificationCommand | typeof SendNotificationCommand | typeof SendSMSCommand | typeof CreateSessionCommand | typeof ListSessionsCommand | typeof DescribeSessionCommand | typeof UpdateSessionCommand | typeof DeleteSessionCommand | typeof SetDevicesCommand | typeof CreateSystemCommand | typeof DeleteSystemCommand | typeof DescribeSystemCommand | typeof ListSystemsCommand | typeof UpdateSystemCommand): Request;
290
+ createRequest(config: typeof RefreshTokenCommand | typeof LoginStartCommand | typeof LoginFinishCommand | typeof RequestLoginTokenCommand | typeof LogoutSelfCommand | typeof LogoutUserCommand | typeof StartRegisterPasskeyCommand | typeof FinishRegisterPasskeyCommand | typeof DescribeMyAuthCommand | typeof ValidateAuthCommand | typeof DescribeSelfCommand | typeof DescribeUserCommand | typeof CreateUserCommand | typeof ListUsersCommand | typeof UpdateSelfCommand | typeof UpdateUserCommand | typeof DeleteUserCommand | typeof SendVerificationCodeCommand | typeof CheckVerificationCodeCommand | typeof ListUserSpacesCommand | typeof DescribeMyPasskeyRegistrationsCommand | typeof DeleteUserCredentialCommand | typeof CreatePolicyCommand | typeof ListPoliciesCommand | typeof UpdatePolicyCommand | typeof DeletePolicyCommand | typeof DescribePolicyCommand | typeof ListSpacesCommand | typeof ListRoomsInSpaceCommand | typeof UpdateSpaceCommand | typeof CreateSpaceCommand | typeof DescribeSpaceCommand | typeof DeleteSpaceCommand | typeof CreateRoomInSpaceCommand | typeof CreateCategoryCommand | typeof DeleteCategoryCommand | typeof DescribeCategoryCommand | typeof ListCategoriesCommand | typeof UpdateCategoryCommand | typeof DescribeDepartmentCommand | typeof ListDepartmentsCommand | typeof DeleteDepartmentCommand | typeof CreateDepartmentCommand | typeof UpdateDepartmentCommand | typeof ListRoomsCommand | typeof DescribeRoomCommand | typeof CreateRoomCommand | typeof UpdateRoomCommand | typeof DeleteRoomCommand | typeof CreateAlarmCommand | typeof ListAlarmsCommand | typeof UpdateAlarmCommand | typeof DeleteAlarmCommand | typeof DescribeAlarmCommand | typeof DescribeAlarmConfigCommand | typeof SetAlarmCommand | typeof MoveAlarmCommand | typeof CreateCameraCommand | typeof ListCamerasCommand | typeof UpdateCameraCommand | typeof DeleteCameraCommand | typeof ListCameraStreamPreviewsCommand | typeof DescribeCameraCommand | typeof SetCameraCommand | typeof MoveCameraCommand | typeof DescribeCameraConfigCommand | typeof CreateCourtesyCommand | typeof ListCourtesyCommand | typeof UpdateCourtesyCommand | typeof DeleteCourtesyCommand | typeof DescribeCourtesyCommand | typeof SetCourtesyCommand | typeof MoveCourtesyCommand | typeof CreateDimmerCommand | typeof ListDimmersCommand | typeof UpdateDimmerCommand | typeof DeleteDimmerCommand | typeof DescribeDimmerCommand | typeof SetDimmerCommand | typeof MoveDimmerCommand | typeof CreateLockCommand | typeof ListLocksCommand | typeof UpdateLockCommand | typeof DeleteLockCommand | typeof DescribeLockCommand | typeof SetLockCommand | typeof MoveLockCommand | typeof CreateSwitchCommand | typeof ListSwitchesCommand | typeof UpdateSwitchCommand | typeof DeleteSwitchCommand | typeof DescribeSwitchCommand | typeof SetSwitchCommand | typeof MoveSwitchCommand | typeof CreateMediaSourceCommand | typeof ListMediaSourcesCommand | typeof UpdateMediaSourceCommand | typeof DeleteMediaSourceCommand | typeof DescribeMediaSourceCommand | typeof SetMediaSourceCommand | typeof MoveMediaSourceCommand | typeof CreateThermostatCommand | typeof ListThermostatsCommand | typeof UpdateThermostatCommand | typeof DeleteThermostatCommand | typeof DescribeThermostatCommand | typeof SetThermostatCommand | typeof MoveThermostatCommand | typeof CreateWindowCoveringCommand | typeof ListWindowCoveringsCommand | typeof UpdateWindowCoveringCommand | typeof DeleteWindowCoveringCommand | typeof DescribeWindowCoveringCommand | typeof SetWindowCoveringCommand | typeof MoveWindowCoveringCommand | typeof AutoCloseTicketsCommand | typeof DescribeTicketStatsCommand | typeof CreateTicketCommand | typeof CreateTicketMessageCommand | typeof DeleteTicketCommand | typeof ListTicketLocationsCommand | typeof DescribeTicketFiltersCommand | typeof DescribeTicketCommand | typeof ListTicketsCommand | typeof UpdateMessageReadStatusCommand | typeof UpdateTicketCommand | typeof UpdateTicketStatusCommand | typeof LeaveTicketCommand | typeof ListScenesCommand | typeof SetSceneCommand | typeof SetRoomSceneCommand | typeof CreateDiscoveredDeviceAssociationMapCommand | typeof AutoAssociateDiscoveredDevicesCommand | typeof CreateDiscoveredDeviceCommand | typeof ListDiscoveredDevicesCommand | typeof UpdateDiscoveredDeviceCommand | typeof DeleteDiscoveredDeviceCommand | typeof DescribeDiscoveredDeviceCommand | typeof UpsertDiscoveredDeviceCommand | typeof CreateDiscoveredDeviceAssociationCommand | typeof DescribeMyOrganizationCommand | typeof CreateOrganizationCommand | typeof UpdateOrganizationCommand | typeof DescribeOrganizationCommand | typeof ListOrganizationsCommand | typeof ListPropertiesCommand | typeof ListMyPropertiesCommand | typeof CreatePropertyCommand | typeof UpdatePropertyCommand | typeof DescribePropertyCommand | typeof UpdatePropertySettingsCommand | typeof EmailUserAccountSetupCommand | typeof CreateImageUploadEndpointCommand | typeof DeleteMediaFileCommand | typeof UploadImageCommand | typeof CreateAnnouncementCommand | typeof UpdateAnnouncementCommand | typeof DescribeAnnouncementCommand | typeof DeleteAnnouncementCommand | typeof ListAnnouncementsCommand | typeof DescribeTimeSheetStatsCommand | typeof ListMyTimeSheetsCommand | typeof DescribeTimeSheetCommand | typeof ListTimeSheetsCommand | typeof CreateTimeSheetCommand | typeof DeleteTimeSheetCommand | typeof UpdateTimeSheetCommand | typeof CreateTimeSheetTimeEntryCommand | typeof DeleteTimeSheetTimeEntryCommand | typeof UpdateTimeSheetTimeEntryCommand | typeof StartSOSCommand | typeof StopSOSCommand | typeof DescribeSOSCommand | typeof DescribeIssueCommand | typeof ListIssuesCommand | typeof DeleteIssueCommand | typeof CreateIssueCommand | typeof UpdateIssueCommand | typeof BulkUpdateIssueCommand | typeof DescribeVendorCommand | typeof ListVendorsCommand | typeof DeleteVendorCommand | typeof CreateVendorCommand | typeof UpdateVendorCommand | typeof CreateAutomationCommand | typeof ListAutomationsCommand | typeof DescribeAutomationCommand | typeof UpdateAutomationCommand | typeof DeleteAutomationCommand | typeof CreateDefaultAutomationsCommand | typeof RunAutomationCommand | typeof CreateNotificationCommand | typeof DeleteNotificationCommand | typeof DescribeNotificationCommand | typeof ListNotificationsCommand | typeof UpdateNotificationCommand | typeof SendNotificationCommand | typeof SendSMSCommand | typeof CreateSessionCommand | typeof ListSessionsCommand | typeof DescribeSessionCommand | typeof UpdateSessionCommand | typeof DeleteSessionCommand | typeof SetDevicesCommand | typeof CreateSystemCommand | typeof DeleteSystemCommand | typeof DescribeSystemCommand | typeof ListSystemsCommand | typeof UpdateSystemCommand | typeof CreateServerCommand | typeof DeleteServerCommand | typeof DescribeServerCommand | typeof ListServersCommand | typeof UpdateServerCommand): Request;
281
291
  #private;
282
292
  }
283
293
 
@@ -37,6 +37,11 @@ import { DeleteCategoryCommand } from './useCases/deleteCategory.js';
37
37
  import { DescribeCategoryCommand } from './useCases/describeCategory.js';
38
38
  import { ListCategoriesCommand } from './useCases/listCategories.js';
39
39
  import { UpdateCategoryCommand } from './useCases/updateCategory.js';
40
+ import { DescribeDepartmentCommand } from './useCases/describeDepartment.js';
41
+ import { ListDepartmentsCommand } from './useCases/listDepartments.js';
42
+ import { DeleteDepartmentCommand } from './useCases/deleteDepartment.js';
43
+ import { CreateDepartmentCommand } from './useCases/createDepartment.js';
44
+ import { UpdateDepartmentCommand } from './useCases/updateDepartment.js';
40
45
  import { ListRoomsCommand } from './useCases/listRooms.js';
41
46
  import { DescribeRoomCommand } from './useCases/describeRoom.js';
42
47
  import { CreateRoomCommand } from './useCases/createRoom.js';
@@ -202,6 +207,11 @@ import { DeleteSystemCommand } from './useCases/deleteSystem.js';
202
207
  import { DescribeSystemCommand } from './useCases/describeSystem.js';
203
208
  import { ListSystemsCommand } from './useCases/listSystems.js';
204
209
  import { UpdateSystemCommand } from './useCases/updateSystem.js';
210
+ import { CreateServerCommand } from './useCases/createServer.js';
211
+ import { DeleteServerCommand } from './useCases/deleteServer.js';
212
+ import { DescribeServerCommand } from './useCases/describeServer.js';
213
+ import { ListServersCommand } from './useCases/listServers.js';
214
+ import { UpdateServerCommand } from './useCases/updateServer.js';
205
215
 
206
216
  declare const index_AutoAssociateDiscoveredDevicesCommand: typeof AutoAssociateDiscoveredDevicesCommand;
207
217
  declare const index_AutoCloseTicketsCommand: typeof AutoCloseTicketsCommand;
@@ -214,6 +224,7 @@ declare const index_CreateCameraCommand: typeof CreateCameraCommand;
214
224
  declare const index_CreateCategoryCommand: typeof CreateCategoryCommand;
215
225
  declare const index_CreateCourtesyCommand: typeof CreateCourtesyCommand;
216
226
  declare const index_CreateDefaultAutomationsCommand: typeof CreateDefaultAutomationsCommand;
227
+ declare const index_CreateDepartmentCommand: typeof CreateDepartmentCommand;
217
228
  declare const index_CreateDimmerCommand: typeof CreateDimmerCommand;
218
229
  declare const index_CreateDiscoveredDeviceAssociationCommand: typeof CreateDiscoveredDeviceAssociationCommand;
219
230
  declare const index_CreateDiscoveredDeviceAssociationMapCommand: typeof CreateDiscoveredDeviceAssociationMapCommand;
@@ -228,6 +239,7 @@ declare const index_CreatePolicyCommand: typeof CreatePolicyCommand;
228
239
  declare const index_CreatePropertyCommand: typeof CreatePropertyCommand;
229
240
  declare const index_CreateRoomCommand: typeof CreateRoomCommand;
230
241
  declare const index_CreateRoomInSpaceCommand: typeof CreateRoomInSpaceCommand;
242
+ declare const index_CreateServerCommand: typeof CreateServerCommand;
231
243
  declare const index_CreateSessionCommand: typeof CreateSessionCommand;
232
244
  declare const index_CreateSpaceCommand: typeof CreateSpaceCommand;
233
245
  declare const index_CreateSwitchCommand: typeof CreateSwitchCommand;
@@ -246,6 +258,7 @@ declare const index_DeleteAutomationCommand: typeof DeleteAutomationCommand;
246
258
  declare const index_DeleteCameraCommand: typeof DeleteCameraCommand;
247
259
  declare const index_DeleteCategoryCommand: typeof DeleteCategoryCommand;
248
260
  declare const index_DeleteCourtesyCommand: typeof DeleteCourtesyCommand;
261
+ declare const index_DeleteDepartmentCommand: typeof DeleteDepartmentCommand;
249
262
  declare const index_DeleteDimmerCommand: typeof DeleteDimmerCommand;
250
263
  declare const index_DeleteDiscoveredDeviceCommand: typeof DeleteDiscoveredDeviceCommand;
251
264
  declare const index_DeleteIssueCommand: typeof DeleteIssueCommand;
@@ -255,6 +268,7 @@ declare const index_DeleteMediaSourceCommand: typeof DeleteMediaSourceCommand;
255
268
  declare const index_DeleteNotificationCommand: typeof DeleteNotificationCommand;
256
269
  declare const index_DeletePolicyCommand: typeof DeletePolicyCommand;
257
270
  declare const index_DeleteRoomCommand: typeof DeleteRoomCommand;
271
+ declare const index_DeleteServerCommand: typeof DeleteServerCommand;
258
272
  declare const index_DeleteSessionCommand: typeof DeleteSessionCommand;
259
273
  declare const index_DeleteSpaceCommand: typeof DeleteSpaceCommand;
260
274
  declare const index_DeleteSwitchCommand: typeof DeleteSwitchCommand;
@@ -275,6 +289,7 @@ declare const index_DescribeCameraCommand: typeof DescribeCameraCommand;
275
289
  declare const index_DescribeCameraConfigCommand: typeof DescribeCameraConfigCommand;
276
290
  declare const index_DescribeCategoryCommand: typeof DescribeCategoryCommand;
277
291
  declare const index_DescribeCourtesyCommand: typeof DescribeCourtesyCommand;
292
+ declare const index_DescribeDepartmentCommand: typeof DescribeDepartmentCommand;
278
293
  declare const index_DescribeDimmerCommand: typeof DescribeDimmerCommand;
279
294
  declare const index_DescribeDiscoveredDeviceCommand: typeof DescribeDiscoveredDeviceCommand;
280
295
  declare const index_DescribeIssueCommand: typeof DescribeIssueCommand;
@@ -290,6 +305,7 @@ declare const index_DescribePropertyCommand: typeof DescribePropertyCommand;
290
305
  declare const index_DescribeRoomCommand: typeof DescribeRoomCommand;
291
306
  declare const index_DescribeSOSCommand: typeof DescribeSOSCommand;
292
307
  declare const index_DescribeSelfCommand: typeof DescribeSelfCommand;
308
+ declare const index_DescribeServerCommand: typeof DescribeServerCommand;
293
309
  declare const index_DescribeSessionCommand: typeof DescribeSessionCommand;
294
310
  declare const index_DescribeSpaceCommand: typeof DescribeSpaceCommand;
295
311
  declare const index_DescribeSwitchCommand: typeof DescribeSwitchCommand;
@@ -313,6 +329,7 @@ declare const index_ListCameraStreamPreviewsCommand: typeof ListCameraStreamPrev
313
329
  declare const index_ListCamerasCommand: typeof ListCamerasCommand;
314
330
  declare const index_ListCategoriesCommand: typeof ListCategoriesCommand;
315
331
  declare const index_ListCourtesyCommand: typeof ListCourtesyCommand;
332
+ declare const index_ListDepartmentsCommand: typeof ListDepartmentsCommand;
316
333
  declare const index_ListDimmersCommand: typeof ListDimmersCommand;
317
334
  declare const index_ListDiscoveredDevicesCommand: typeof ListDiscoveredDevicesCommand;
318
335
  declare const index_ListIssuesCommand: typeof ListIssuesCommand;
@@ -327,6 +344,7 @@ declare const index_ListPropertiesCommand: typeof ListPropertiesCommand;
327
344
  declare const index_ListRoomsCommand: typeof ListRoomsCommand;
328
345
  declare const index_ListRoomsInSpaceCommand: typeof ListRoomsInSpaceCommand;
329
346
  declare const index_ListScenesCommand: typeof ListScenesCommand;
347
+ declare const index_ListServersCommand: typeof ListServersCommand;
330
348
  declare const index_ListSessionsCommand: typeof ListSessionsCommand;
331
349
  declare const index_ListSpacesCommand: typeof ListSpacesCommand;
332
350
  declare const index_ListSwitchesCommand: typeof ListSwitchesCommand;
@@ -379,6 +397,7 @@ declare const index_UpdateAutomationCommand: typeof UpdateAutomationCommand;
379
397
  declare const index_UpdateCameraCommand: typeof UpdateCameraCommand;
380
398
  declare const index_UpdateCategoryCommand: typeof UpdateCategoryCommand;
381
399
  declare const index_UpdateCourtesyCommand: typeof UpdateCourtesyCommand;
400
+ declare const index_UpdateDepartmentCommand: typeof UpdateDepartmentCommand;
382
401
  declare const index_UpdateDimmerCommand: typeof UpdateDimmerCommand;
383
402
  declare const index_UpdateDiscoveredDeviceCommand: typeof UpdateDiscoveredDeviceCommand;
384
403
  declare const index_UpdateIssueCommand: typeof UpdateIssueCommand;
@@ -392,6 +411,7 @@ declare const index_UpdatePropertyCommand: typeof UpdatePropertyCommand;
392
411
  declare const index_UpdatePropertySettingsCommand: typeof UpdatePropertySettingsCommand;
393
412
  declare const index_UpdateRoomCommand: typeof UpdateRoomCommand;
394
413
  declare const index_UpdateSelfCommand: typeof UpdateSelfCommand;
414
+ declare const index_UpdateServerCommand: typeof UpdateServerCommand;
395
415
  declare const index_UpdateSessionCommand: typeof UpdateSessionCommand;
396
416
  declare const index_UpdateSpaceCommand: typeof UpdateSpaceCommand;
397
417
  declare const index_UpdateSwitchCommand: typeof UpdateSwitchCommand;
@@ -408,7 +428,7 @@ declare const index_UploadImageCommand: typeof UploadImageCommand;
408
428
  declare const index_UpsertDiscoveredDeviceCommand: typeof UpsertDiscoveredDeviceCommand;
409
429
  declare const index_ValidateAuthCommand: typeof ValidateAuthCommand;
410
430
  declare namespace index {
411
- export { index_AutoAssociateDiscoveredDevicesCommand as AutoAssociateDiscoveredDevicesCommand, index_AutoCloseTicketsCommand as AutoCloseTicketsCommand, index_BulkUpdateIssueCommand as BulkUpdateIssueCommand, index_CheckVerificationCodeCommand as CheckVerificationCodeCommand, index_CreateAlarmCommand as CreateAlarmCommand, index_CreateAnnouncementCommand as CreateAnnouncementCommand, index_CreateAutomationCommand as CreateAutomationCommand, index_CreateCameraCommand as CreateCameraCommand, index_CreateCategoryCommand as CreateCategoryCommand, index_CreateCourtesyCommand as CreateCourtesyCommand, index_CreateDefaultAutomationsCommand as CreateDefaultAutomationsCommand, index_CreateDimmerCommand as CreateDimmerCommand, index_CreateDiscoveredDeviceAssociationCommand as CreateDiscoveredDeviceAssociationCommand, index_CreateDiscoveredDeviceAssociationMapCommand as CreateDiscoveredDeviceAssociationMapCommand, index_CreateDiscoveredDeviceCommand as CreateDiscoveredDeviceCommand, index_CreateImageUploadEndpointCommand as CreateImageUploadEndpointCommand, index_CreateIssueCommand as CreateIssueCommand, index_CreateLockCommand as CreateLockCommand, index_CreateMediaSourceCommand as CreateMediaSourceCommand, index_CreateNotificationCommand as CreateNotificationCommand, index_CreateOrganizationCommand as CreateOrganizationCommand, index_CreatePolicyCommand as CreatePolicyCommand, index_CreatePropertyCommand as CreatePropertyCommand, index_CreateRoomCommand as CreateRoomCommand, index_CreateRoomInSpaceCommand as CreateRoomInSpaceCommand, index_CreateSessionCommand as CreateSessionCommand, index_CreateSpaceCommand as CreateSpaceCommand, index_CreateSwitchCommand as CreateSwitchCommand, index_CreateSystemCommand as CreateSystemCommand, index_CreateThermostatCommand as CreateThermostatCommand, index_CreateTicketCommand as CreateTicketCommand, index_CreateTicketMessageCommand as CreateTicketMessageCommand, index_CreateTimeSheetCommand as CreateTimeSheetCommand, index_CreateTimeSheetTimeEntryCommand as CreateTimeSheetTimeEntryCommand, index_CreateUserCommand as CreateUserCommand, index_CreateVendorCommand as CreateVendorCommand, index_CreateWindowCoveringCommand as CreateWindowCoveringCommand, index_DeleteAlarmCommand as DeleteAlarmCommand, index_DeleteAnnouncementCommand as DeleteAnnouncementCommand, index_DeleteAutomationCommand as DeleteAutomationCommand, index_DeleteCameraCommand as DeleteCameraCommand, index_DeleteCategoryCommand as DeleteCategoryCommand, index_DeleteCourtesyCommand as DeleteCourtesyCommand, index_DeleteDimmerCommand as DeleteDimmerCommand, index_DeleteDiscoveredDeviceCommand as DeleteDiscoveredDeviceCommand, index_DeleteIssueCommand as DeleteIssueCommand, index_DeleteLockCommand as DeleteLockCommand, index_DeleteMediaFileCommand as DeleteMediaFileCommand, index_DeleteMediaSourceCommand as DeleteMediaSourceCommand, index_DeleteNotificationCommand as DeleteNotificationCommand, index_DeletePolicyCommand as DeletePolicyCommand, index_DeleteRoomCommand as DeleteRoomCommand, index_DeleteSessionCommand as DeleteSessionCommand, index_DeleteSpaceCommand as DeleteSpaceCommand, index_DeleteSwitchCommand as DeleteSwitchCommand, index_DeleteSystemCommand as DeleteSystemCommand, index_DeleteThermostatCommand as DeleteThermostatCommand, index_DeleteTicketCommand as DeleteTicketCommand, index_DeleteTimeSheetCommand as DeleteTimeSheetCommand, index_DeleteTimeSheetTimeEntryCommand as DeleteTimeSheetTimeEntryCommand, index_DeleteUserCommand as DeleteUserCommand, index_DeleteUserCredentialCommand as DeleteUserCredentialCommand, index_DeleteVendorCommand as DeleteVendorCommand, index_DeleteWindowCoveringCommand as DeleteWindowCoveringCommand, index_DescribeAlarmCommand as DescribeAlarmCommand, index_DescribeAlarmConfigCommand as DescribeAlarmConfigCommand, index_DescribeAnnouncementCommand as DescribeAnnouncementCommand, index_DescribeAutomationCommand as DescribeAutomationCommand, index_DescribeCameraCommand as DescribeCameraCommand, index_DescribeCameraConfigCommand as DescribeCameraConfigCommand, index_DescribeCategoryCommand as DescribeCategoryCommand, index_DescribeCourtesyCommand as DescribeCourtesyCommand, index_DescribeDimmerCommand as DescribeDimmerCommand, index_DescribeDiscoveredDeviceCommand as DescribeDiscoveredDeviceCommand, index_DescribeIssueCommand as DescribeIssueCommand, index_DescribeLockCommand as DescribeLockCommand, index_DescribeMediaSourceCommand as DescribeMediaSourceCommand, index_DescribeMyAuthCommand as DescribeMyAuthCommand, index_DescribeMyOrganizationCommand as DescribeMyOrganizationCommand, index_DescribeMyPasskeyRegistrationsCommand as DescribeMyPasskeyRegistrationsCommand, index_DescribeNotificationCommand as DescribeNotificationCommand, index_DescribeOrganizationCommand as DescribeOrganizationCommand, index_DescribePolicyCommand as DescribePolicyCommand, index_DescribePropertyCommand as DescribePropertyCommand, index_DescribeRoomCommand as DescribeRoomCommand, index_DescribeSOSCommand as DescribeSOSCommand, index_DescribeSelfCommand as DescribeSelfCommand, index_DescribeSessionCommand as DescribeSessionCommand, index_DescribeSpaceCommand as DescribeSpaceCommand, index_DescribeSwitchCommand as DescribeSwitchCommand, index_DescribeSystemCommand as DescribeSystemCommand, index_DescribeThermostatCommand as DescribeThermostatCommand, index_DescribeTicketCommand as DescribeTicketCommand, index_DescribeTicketFiltersCommand as DescribeTicketFiltersCommand, index_DescribeTicketStatsCommand as DescribeTicketStatsCommand, index_DescribeTimeSheetCommand as DescribeTimeSheetCommand, index_DescribeTimeSheetStatsCommand as DescribeTimeSheetStatsCommand, index_DescribeUserCommand as DescribeUserCommand, index_DescribeVendorCommand as DescribeVendorCommand, index_DescribeWindowCoveringCommand as DescribeWindowCoveringCommand, index_EmailUserAccountSetupCommand as EmailUserAccountSetupCommand, index_FinishRegisterPasskeyCommand as FinishRegisterPasskeyCommand, index_LeaveTicketCommand as LeaveTicketCommand, index_ListAlarmsCommand as ListAlarmsCommand, index_ListAnnouncementsCommand as ListAnnouncementsCommand, index_ListAutomationsCommand as ListAutomationsCommand, index_ListCameraStreamPreviewsCommand as ListCameraStreamPreviewsCommand, index_ListCamerasCommand as ListCamerasCommand, index_ListCategoriesCommand as ListCategoriesCommand, index_ListCourtesyCommand as ListCourtesyCommand, index_ListDimmersCommand as ListDimmersCommand, index_ListDiscoveredDevicesCommand as ListDiscoveredDevicesCommand, index_ListIssuesCommand as ListIssuesCommand, index_ListLocksCommand as ListLocksCommand, index_ListMediaSourcesCommand as ListMediaSourcesCommand, index_ListMyPropertiesCommand as ListMyPropertiesCommand, index_ListMyTimeSheetsCommand as ListMyTimeSheetsCommand, index_ListNotificationsCommand as ListNotificationsCommand, index_ListOrganizationsCommand as ListOrganizationsCommand, index_ListPoliciesCommand as ListPoliciesCommand, index_ListPropertiesCommand as ListPropertiesCommand, index_ListRoomsCommand as ListRoomsCommand, index_ListRoomsInSpaceCommand as ListRoomsInSpaceCommand, index_ListScenesCommand as ListScenesCommand, index_ListSessionsCommand as ListSessionsCommand, index_ListSpacesCommand as ListSpacesCommand, index_ListSwitchesCommand as ListSwitchesCommand, index_ListSystemsCommand as ListSystemsCommand, index_ListThermostatsCommand as ListThermostatsCommand, index_ListTicketLocationsCommand as ListTicketLocationsCommand, index_ListTicketsCommand as ListTicketsCommand, index_ListTimeSheetsCommand as ListTimeSheetsCommand, index_ListUserSpacesCommand as ListUserSpacesCommand, index_ListUsersCommand as ListUsersCommand, index_ListVendorsCommand as ListVendorsCommand, index_ListWindowCoveringsCommand as ListWindowCoveringsCommand, index_LoginFinishCommand as LoginFinishCommand, index_LoginStartCommand as LoginStartCommand, index_LogoutSelfCommand as LogoutSelfCommand, index_LogoutUserCommand as LogoutUserCommand, index_MoveAlarmCommand as MoveAlarmCommand, index_MoveCameraCommand as MoveCameraCommand, index_MoveCourtesyCommand as MoveCourtesyCommand, index_MoveDimmerCommand as MoveDimmerCommand, index_MoveLockCommand as MoveLockCommand, index_MoveMediaSourceCommand as MoveMediaSourceCommand, index_MoveSwitchCommand as MoveSwitchCommand, index_MoveThermostatCommand as MoveThermostatCommand, index_MoveWindowCoveringCommand as MoveWindowCoveringCommand, index_RefreshTokenCommand as RefreshTokenCommand, index_RequestLoginTokenCommand as RequestLoginTokenCommand, index_RunAutomationCommand as RunAutomationCommand, index_SendNotificationCommand as SendNotificationCommand, index_SendSMSCommand as SendSMSCommand, index_SendVerificationCodeCommand as SendVerificationCodeCommand, index_SetAlarmCommand as SetAlarmCommand, index_SetCameraCommand as SetCameraCommand, index_SetCourtesyCommand as SetCourtesyCommand, index_SetDevicesCommand as SetDevicesCommand, index_SetDimmerCommand as SetDimmerCommand, index_SetLockCommand as SetLockCommand, index_SetMediaSourceCommand as SetMediaSourceCommand, index_SetRoomSceneCommand as SetRoomSceneCommand, index_SetSceneCommand as SetSceneCommand, index_SetSwitchCommand as SetSwitchCommand, index_SetThermostatCommand as SetThermostatCommand, index_SetWindowCoveringCommand as SetWindowCoveringCommand, index_StartRegisterPasskeyCommand as StartRegisterPasskeyCommand, index_StartSOSCommand as StartSOSCommand, index_StopSOSCommand as StopSOSCommand, index_UpdateAlarmCommand as UpdateAlarmCommand, index_UpdateAnnouncementCommand as UpdateAnnouncementCommand, index_UpdateAutomationCommand as UpdateAutomationCommand, index_UpdateCameraCommand as UpdateCameraCommand, index_UpdateCategoryCommand as UpdateCategoryCommand, index_UpdateCourtesyCommand as UpdateCourtesyCommand, index_UpdateDimmerCommand as UpdateDimmerCommand, index_UpdateDiscoveredDeviceCommand as UpdateDiscoveredDeviceCommand, index_UpdateIssueCommand as UpdateIssueCommand, index_UpdateLockCommand as UpdateLockCommand, index_UpdateMediaSourceCommand as UpdateMediaSourceCommand, index_UpdateMessageReadStatusCommand as UpdateMessageReadStatusCommand, index_UpdateNotificationCommand as UpdateNotificationCommand, index_UpdateOrganizationCommand as UpdateOrganizationCommand, index_UpdatePolicyCommand as UpdatePolicyCommand, index_UpdatePropertyCommand as UpdatePropertyCommand, index_UpdatePropertySettingsCommand as UpdatePropertySettingsCommand, index_UpdateRoomCommand as UpdateRoomCommand, index_UpdateSelfCommand as UpdateSelfCommand, index_UpdateSessionCommand as UpdateSessionCommand, index_UpdateSpaceCommand as UpdateSpaceCommand, index_UpdateSwitchCommand as UpdateSwitchCommand, index_UpdateSystemCommand as UpdateSystemCommand, index_UpdateThermostatCommand as UpdateThermostatCommand, index_UpdateTicketCommand as UpdateTicketCommand, index_UpdateTicketStatusCommand as UpdateTicketStatusCommand, index_UpdateTimeSheetCommand as UpdateTimeSheetCommand, index_UpdateTimeSheetTimeEntryCommand as UpdateTimeSheetTimeEntryCommand, index_UpdateUserCommand as UpdateUserCommand, index_UpdateVendorCommand as UpdateVendorCommand, index_UpdateWindowCoveringCommand as UpdateWindowCoveringCommand, index_UploadImageCommand as UploadImageCommand, index_UpsertDiscoveredDeviceCommand as UpsertDiscoveredDeviceCommand, index_ValidateAuthCommand as ValidateAuthCommand };
431
+ export { index_AutoAssociateDiscoveredDevicesCommand as AutoAssociateDiscoveredDevicesCommand, index_AutoCloseTicketsCommand as AutoCloseTicketsCommand, index_BulkUpdateIssueCommand as BulkUpdateIssueCommand, index_CheckVerificationCodeCommand as CheckVerificationCodeCommand, index_CreateAlarmCommand as CreateAlarmCommand, index_CreateAnnouncementCommand as CreateAnnouncementCommand, index_CreateAutomationCommand as CreateAutomationCommand, index_CreateCameraCommand as CreateCameraCommand, index_CreateCategoryCommand as CreateCategoryCommand, index_CreateCourtesyCommand as CreateCourtesyCommand, index_CreateDefaultAutomationsCommand as CreateDefaultAutomationsCommand, index_CreateDepartmentCommand as CreateDepartmentCommand, index_CreateDimmerCommand as CreateDimmerCommand, index_CreateDiscoveredDeviceAssociationCommand as CreateDiscoveredDeviceAssociationCommand, index_CreateDiscoveredDeviceAssociationMapCommand as CreateDiscoveredDeviceAssociationMapCommand, index_CreateDiscoveredDeviceCommand as CreateDiscoveredDeviceCommand, index_CreateImageUploadEndpointCommand as CreateImageUploadEndpointCommand, index_CreateIssueCommand as CreateIssueCommand, index_CreateLockCommand as CreateLockCommand, index_CreateMediaSourceCommand as CreateMediaSourceCommand, index_CreateNotificationCommand as CreateNotificationCommand, index_CreateOrganizationCommand as CreateOrganizationCommand, index_CreatePolicyCommand as CreatePolicyCommand, index_CreatePropertyCommand as CreatePropertyCommand, index_CreateRoomCommand as CreateRoomCommand, index_CreateRoomInSpaceCommand as CreateRoomInSpaceCommand, index_CreateServerCommand as CreateServerCommand, index_CreateSessionCommand as CreateSessionCommand, index_CreateSpaceCommand as CreateSpaceCommand, index_CreateSwitchCommand as CreateSwitchCommand, index_CreateSystemCommand as CreateSystemCommand, index_CreateThermostatCommand as CreateThermostatCommand, index_CreateTicketCommand as CreateTicketCommand, index_CreateTicketMessageCommand as CreateTicketMessageCommand, index_CreateTimeSheetCommand as CreateTimeSheetCommand, index_CreateTimeSheetTimeEntryCommand as CreateTimeSheetTimeEntryCommand, index_CreateUserCommand as CreateUserCommand, index_CreateVendorCommand as CreateVendorCommand, index_CreateWindowCoveringCommand as CreateWindowCoveringCommand, index_DeleteAlarmCommand as DeleteAlarmCommand, index_DeleteAnnouncementCommand as DeleteAnnouncementCommand, index_DeleteAutomationCommand as DeleteAutomationCommand, index_DeleteCameraCommand as DeleteCameraCommand, index_DeleteCategoryCommand as DeleteCategoryCommand, index_DeleteCourtesyCommand as DeleteCourtesyCommand, index_DeleteDepartmentCommand as DeleteDepartmentCommand, index_DeleteDimmerCommand as DeleteDimmerCommand, index_DeleteDiscoveredDeviceCommand as DeleteDiscoveredDeviceCommand, index_DeleteIssueCommand as DeleteIssueCommand, index_DeleteLockCommand as DeleteLockCommand, index_DeleteMediaFileCommand as DeleteMediaFileCommand, index_DeleteMediaSourceCommand as DeleteMediaSourceCommand, index_DeleteNotificationCommand as DeleteNotificationCommand, index_DeletePolicyCommand as DeletePolicyCommand, index_DeleteRoomCommand as DeleteRoomCommand, index_DeleteServerCommand as DeleteServerCommand, index_DeleteSessionCommand as DeleteSessionCommand, index_DeleteSpaceCommand as DeleteSpaceCommand, index_DeleteSwitchCommand as DeleteSwitchCommand, index_DeleteSystemCommand as DeleteSystemCommand, index_DeleteThermostatCommand as DeleteThermostatCommand, index_DeleteTicketCommand as DeleteTicketCommand, index_DeleteTimeSheetCommand as DeleteTimeSheetCommand, index_DeleteTimeSheetTimeEntryCommand as DeleteTimeSheetTimeEntryCommand, index_DeleteUserCommand as DeleteUserCommand, index_DeleteUserCredentialCommand as DeleteUserCredentialCommand, index_DeleteVendorCommand as DeleteVendorCommand, index_DeleteWindowCoveringCommand as DeleteWindowCoveringCommand, index_DescribeAlarmCommand as DescribeAlarmCommand, index_DescribeAlarmConfigCommand as DescribeAlarmConfigCommand, index_DescribeAnnouncementCommand as DescribeAnnouncementCommand, index_DescribeAutomationCommand as DescribeAutomationCommand, index_DescribeCameraCommand as DescribeCameraCommand, index_DescribeCameraConfigCommand as DescribeCameraConfigCommand, index_DescribeCategoryCommand as DescribeCategoryCommand, index_DescribeCourtesyCommand as DescribeCourtesyCommand, index_DescribeDepartmentCommand as DescribeDepartmentCommand, index_DescribeDimmerCommand as DescribeDimmerCommand, index_DescribeDiscoveredDeviceCommand as DescribeDiscoveredDeviceCommand, index_DescribeIssueCommand as DescribeIssueCommand, index_DescribeLockCommand as DescribeLockCommand, index_DescribeMediaSourceCommand as DescribeMediaSourceCommand, index_DescribeMyAuthCommand as DescribeMyAuthCommand, index_DescribeMyOrganizationCommand as DescribeMyOrganizationCommand, index_DescribeMyPasskeyRegistrationsCommand as DescribeMyPasskeyRegistrationsCommand, index_DescribeNotificationCommand as DescribeNotificationCommand, index_DescribeOrganizationCommand as DescribeOrganizationCommand, index_DescribePolicyCommand as DescribePolicyCommand, index_DescribePropertyCommand as DescribePropertyCommand, index_DescribeRoomCommand as DescribeRoomCommand, index_DescribeSOSCommand as DescribeSOSCommand, index_DescribeSelfCommand as DescribeSelfCommand, index_DescribeServerCommand as DescribeServerCommand, index_DescribeSessionCommand as DescribeSessionCommand, index_DescribeSpaceCommand as DescribeSpaceCommand, index_DescribeSwitchCommand as DescribeSwitchCommand, index_DescribeSystemCommand as DescribeSystemCommand, index_DescribeThermostatCommand as DescribeThermostatCommand, index_DescribeTicketCommand as DescribeTicketCommand, index_DescribeTicketFiltersCommand as DescribeTicketFiltersCommand, index_DescribeTicketStatsCommand as DescribeTicketStatsCommand, index_DescribeTimeSheetCommand as DescribeTimeSheetCommand, index_DescribeTimeSheetStatsCommand as DescribeTimeSheetStatsCommand, index_DescribeUserCommand as DescribeUserCommand, index_DescribeVendorCommand as DescribeVendorCommand, index_DescribeWindowCoveringCommand as DescribeWindowCoveringCommand, index_EmailUserAccountSetupCommand as EmailUserAccountSetupCommand, index_FinishRegisterPasskeyCommand as FinishRegisterPasskeyCommand, index_LeaveTicketCommand as LeaveTicketCommand, index_ListAlarmsCommand as ListAlarmsCommand, index_ListAnnouncementsCommand as ListAnnouncementsCommand, index_ListAutomationsCommand as ListAutomationsCommand, index_ListCameraStreamPreviewsCommand as ListCameraStreamPreviewsCommand, index_ListCamerasCommand as ListCamerasCommand, index_ListCategoriesCommand as ListCategoriesCommand, index_ListCourtesyCommand as ListCourtesyCommand, index_ListDepartmentsCommand as ListDepartmentsCommand, index_ListDimmersCommand as ListDimmersCommand, index_ListDiscoveredDevicesCommand as ListDiscoveredDevicesCommand, index_ListIssuesCommand as ListIssuesCommand, index_ListLocksCommand as ListLocksCommand, index_ListMediaSourcesCommand as ListMediaSourcesCommand, index_ListMyPropertiesCommand as ListMyPropertiesCommand, index_ListMyTimeSheetsCommand as ListMyTimeSheetsCommand, index_ListNotificationsCommand as ListNotificationsCommand, index_ListOrganizationsCommand as ListOrganizationsCommand, index_ListPoliciesCommand as ListPoliciesCommand, index_ListPropertiesCommand as ListPropertiesCommand, index_ListRoomsCommand as ListRoomsCommand, index_ListRoomsInSpaceCommand as ListRoomsInSpaceCommand, index_ListScenesCommand as ListScenesCommand, index_ListServersCommand as ListServersCommand, index_ListSessionsCommand as ListSessionsCommand, index_ListSpacesCommand as ListSpacesCommand, index_ListSwitchesCommand as ListSwitchesCommand, index_ListSystemsCommand as ListSystemsCommand, index_ListThermostatsCommand as ListThermostatsCommand, index_ListTicketLocationsCommand as ListTicketLocationsCommand, index_ListTicketsCommand as ListTicketsCommand, index_ListTimeSheetsCommand as ListTimeSheetsCommand, index_ListUserSpacesCommand as ListUserSpacesCommand, index_ListUsersCommand as ListUsersCommand, index_ListVendorsCommand as ListVendorsCommand, index_ListWindowCoveringsCommand as ListWindowCoveringsCommand, index_LoginFinishCommand as LoginFinishCommand, index_LoginStartCommand as LoginStartCommand, index_LogoutSelfCommand as LogoutSelfCommand, index_LogoutUserCommand as LogoutUserCommand, index_MoveAlarmCommand as MoveAlarmCommand, index_MoveCameraCommand as MoveCameraCommand, index_MoveCourtesyCommand as MoveCourtesyCommand, index_MoveDimmerCommand as MoveDimmerCommand, index_MoveLockCommand as MoveLockCommand, index_MoveMediaSourceCommand as MoveMediaSourceCommand, index_MoveSwitchCommand as MoveSwitchCommand, index_MoveThermostatCommand as MoveThermostatCommand, index_MoveWindowCoveringCommand as MoveWindowCoveringCommand, index_RefreshTokenCommand as RefreshTokenCommand, index_RequestLoginTokenCommand as RequestLoginTokenCommand, index_RunAutomationCommand as RunAutomationCommand, index_SendNotificationCommand as SendNotificationCommand, index_SendSMSCommand as SendSMSCommand, index_SendVerificationCodeCommand as SendVerificationCodeCommand, index_SetAlarmCommand as SetAlarmCommand, index_SetCameraCommand as SetCameraCommand, index_SetCourtesyCommand as SetCourtesyCommand, index_SetDevicesCommand as SetDevicesCommand, index_SetDimmerCommand as SetDimmerCommand, index_SetLockCommand as SetLockCommand, index_SetMediaSourceCommand as SetMediaSourceCommand, index_SetRoomSceneCommand as SetRoomSceneCommand, index_SetSceneCommand as SetSceneCommand, index_SetSwitchCommand as SetSwitchCommand, index_SetThermostatCommand as SetThermostatCommand, index_SetWindowCoveringCommand as SetWindowCoveringCommand, index_StartRegisterPasskeyCommand as StartRegisterPasskeyCommand, index_StartSOSCommand as StartSOSCommand, index_StopSOSCommand as StopSOSCommand, index_UpdateAlarmCommand as UpdateAlarmCommand, index_UpdateAnnouncementCommand as UpdateAnnouncementCommand, index_UpdateAutomationCommand as UpdateAutomationCommand, index_UpdateCameraCommand as UpdateCameraCommand, index_UpdateCategoryCommand as UpdateCategoryCommand, index_UpdateCourtesyCommand as UpdateCourtesyCommand, index_UpdateDepartmentCommand as UpdateDepartmentCommand, index_UpdateDimmerCommand as UpdateDimmerCommand, index_UpdateDiscoveredDeviceCommand as UpdateDiscoveredDeviceCommand, index_UpdateIssueCommand as UpdateIssueCommand, index_UpdateLockCommand as UpdateLockCommand, index_UpdateMediaSourceCommand as UpdateMediaSourceCommand, index_UpdateMessageReadStatusCommand as UpdateMessageReadStatusCommand, index_UpdateNotificationCommand as UpdateNotificationCommand, index_UpdateOrganizationCommand as UpdateOrganizationCommand, index_UpdatePolicyCommand as UpdatePolicyCommand, index_UpdatePropertyCommand as UpdatePropertyCommand, index_UpdatePropertySettingsCommand as UpdatePropertySettingsCommand, index_UpdateRoomCommand as UpdateRoomCommand, index_UpdateSelfCommand as UpdateSelfCommand, index_UpdateServerCommand as UpdateServerCommand, index_UpdateSessionCommand as UpdateSessionCommand, index_UpdateSpaceCommand as UpdateSpaceCommand, index_UpdateSwitchCommand as UpdateSwitchCommand, index_UpdateSystemCommand as UpdateSystemCommand, index_UpdateThermostatCommand as UpdateThermostatCommand, index_UpdateTicketCommand as UpdateTicketCommand, index_UpdateTicketStatusCommand as UpdateTicketStatusCommand, index_UpdateTimeSheetCommand as UpdateTimeSheetCommand, index_UpdateTimeSheetTimeEntryCommand as UpdateTimeSheetTimeEntryCommand, index_UpdateUserCommand as UpdateUserCommand, index_UpdateVendorCommand as UpdateVendorCommand, index_UpdateWindowCoveringCommand as UpdateWindowCoveringCommand, index_UploadImageCommand as UploadImageCommand, index_UpsertDiscoveredDeviceCommand as UpsertDiscoveredDeviceCommand, index_ValidateAuthCommand as ValidateAuthCommand };
412
432
  }
413
433
 
414
434
  export { index as i };
@@ -4,7 +4,7 @@ export { i as Commands } from './index-PDa8BHjL.js';
4
4
  export { i as Errors } from './index-7k9xaBaL.js';
5
5
  export { i as Events } from './index-B1__8mca.js';
6
6
  export { i as Models } from './index-ftTUK_gn.js';
7
- export { i as UseCases } from './index-_-hKRXg6.js';
7
+ export { i as UseCases } from './index-CY1L0nkI.js';
8
8
  import 'node:buffer';
9
9
  import './useCases/loginStart.js';
10
10
  import './useCases/refreshToken.js';
@@ -45,6 +45,11 @@ import './useCases/deleteCategory.js';
45
45
  import './useCases/describeCategory.js';
46
46
  import './useCases/listCategories.js';
47
47
  import './useCases/updateCategory.js';
48
+ import './useCases/describeDepartment.js';
49
+ import './useCases/listDepartments.js';
50
+ import './useCases/deleteDepartment.js';
51
+ import './useCases/createDepartment.js';
52
+ import './useCases/updateDepartment.js';
48
53
  import './useCases/listRooms.js';
49
54
  import './useCases/describeRoom.js';
50
55
  import './useCases/createRoom.js';
@@ -210,6 +215,11 @@ import './useCases/deleteSystem.js';
210
215
  import './useCases/describeSystem.js';
211
216
  import './useCases/listSystems.js';
212
217
  import './useCases/updateSystem.js';
218
+ import './useCases/createServer.js';
219
+ import './useCases/deleteServer.js';
220
+ import './useCases/describeServer.js';
221
+ import './useCases/listServers.js';
222
+ import './useCases/updateServer.js';
213
223
  import './commands/command.js';
214
224
  import './commands/createImageUploadEndpoint.js';
215
225
  import './commands/createShortLink.js';
@@ -13,7 +13,7 @@ class Issue extends Entity {
13
13
  this.type = data.type;
14
14
  this.name = data.name;
15
15
  if (data.description !== void 0) this.description = data.description;
16
- this.department = data.department;
16
+ if (data.department !== void 0) this.department = data.department;
17
17
  if (data.departmentId !== void 0) this.departmentId = data.departmentId;
18
18
  if (data.autoAssign !== void 0) this.autoAssign = data.autoAssign;
19
19
  if (data.notify !== void 0) this.notify = data.notify;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../.generated/models/issue.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nimport { Entity } from \"./entity.js\";\nimport { validateIssue as validate } from \"../validate.js\";\nimport { issueSchema, type IssueSchema } from \"../schemas/issue.js\";\n\n/**\n * Data type for Issue constructor - exported for backwards compatibility\n */\nexport type IssueData = IssueSchema;\n\n/**\n * An issue associated with ticketing and concierge.\n */\nexport interface Issue extends IssueSchema {}\nexport class Issue extends Entity {\n declare schema: typeof issueSchema;\n declare validator: typeof validate;\n\n constructor(data: IssueSchema) {\n super(data);\n this.id = data.id;\n this.type = data.type;\n this.name = data.name;\n if (data.description !== undefined) this.description = data.description;\n this.department = data.department;\n if (data.departmentId !== undefined) this.departmentId = data.departmentId;\n if (data.autoAssign !== undefined) this.autoAssign = data.autoAssign;\n if (data.notify !== undefined) this.notify = data.notify;\n if (data.systemKey !== undefined) this.systemKey = data.systemKey;\n if (data.autoCreateTicket !== undefined)\n this.autoCreateTicket = data.autoCreateTicket;\n if (data.excludedResources !== undefined)\n this.excludedResources = data.excludedResources;\n if (data.createdAt !== undefined) this.createdAt = data.createdAt;\n if (data.updatedAt !== undefined) this.updatedAt = data.updatedAt;\n if (data.deletedAt !== undefined) this.deletedAt = data.deletedAt;\n }\n}\n\nObject.defineProperty(Issue.prototype, \"schema\", {\n value: issueSchema,\n});\n\nObject.defineProperty(Issue.prototype, \"validator\", {\n get: function () {\n return validate;\n },\n});\n"],"mappings":";;AAEA,SAAS,cAAc;AACvB,SAAS,iBAAiB,gBAAgB;AAC1C,SAAS,mBAAqC;AAWvC,MAAM,cAAc,OAAO;AAAA,EAflC,OAekC;AAAA;AAAA;AAAA,EAIhC,YAAY,MAAmB;AAC7B,UAAM,IAAI;AACV,SAAK,KAAK,KAAK;AACf,SAAK,OAAO,KAAK;AACjB,SAAK,OAAO,KAAK;AACjB,QAAI,KAAK,gBAAgB,OAAW,MAAK,cAAc,KAAK;AAC5D,SAAK,aAAa,KAAK;AACvB,QAAI,KAAK,iBAAiB,OAAW,MAAK,eAAe,KAAK;AAC9D,QAAI,KAAK,eAAe,OAAW,MAAK,aAAa,KAAK;AAC1D,QAAI,KAAK,WAAW,OAAW,MAAK,SAAS,KAAK;AAClD,QAAI,KAAK,cAAc,OAAW,MAAK,YAAY,KAAK;AACxD,QAAI,KAAK,qBAAqB;AAC5B,WAAK,mBAAmB,KAAK;AAC/B,QAAI,KAAK,sBAAsB;AAC7B,WAAK,oBAAoB,KAAK;AAChC,QAAI,KAAK,cAAc,OAAW,MAAK,YAAY,KAAK;AACxD,QAAI,KAAK,cAAc,OAAW,MAAK,YAAY,KAAK;AACxD,QAAI,KAAK,cAAc,OAAW,MAAK,YAAY,KAAK;AAAA,EAC1D;AACF;AAEA,OAAO,eAAe,MAAM,WAAW,UAAU;AAAA,EAC/C,OAAO;AACT,CAAC;AAED,OAAO,eAAe,MAAM,WAAW,aAAa;AAAA,EAClD,KAAK,kCAAY;AACf,WAAO;AAAA,EACT,GAFK;AAGP,CAAC;","names":[]}
1
+ {"version":3,"sources":["../../../.generated/models/issue.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nimport { Entity } from \"./entity.js\";\nimport { validateIssue as validate } from \"../validate.js\";\nimport { issueSchema, type IssueSchema } from \"../schemas/issue.js\";\n\n/**\n * Data type for Issue constructor - exported for backwards compatibility\n */\nexport type IssueData = IssueSchema;\n\n/**\n * An issue associated with ticketing and concierge.\n */\nexport interface Issue extends IssueSchema {}\nexport class Issue extends Entity {\n declare schema: typeof issueSchema;\n declare validator: typeof validate;\n\n constructor(data: IssueSchema) {\n super(data);\n this.id = data.id;\n this.type = data.type;\n this.name = data.name;\n if (data.description !== undefined) this.description = data.description;\n if (data.department !== undefined) this.department = data.department;\n if (data.departmentId !== undefined) this.departmentId = data.departmentId;\n if (data.autoAssign !== undefined) this.autoAssign = data.autoAssign;\n if (data.notify !== undefined) this.notify = data.notify;\n if (data.systemKey !== undefined) this.systemKey = data.systemKey;\n if (data.autoCreateTicket !== undefined)\n this.autoCreateTicket = data.autoCreateTicket;\n if (data.excludedResources !== undefined)\n this.excludedResources = data.excludedResources;\n if (data.createdAt !== undefined) this.createdAt = data.createdAt;\n if (data.updatedAt !== undefined) this.updatedAt = data.updatedAt;\n if (data.deletedAt !== undefined) this.deletedAt = data.deletedAt;\n }\n}\n\nObject.defineProperty(Issue.prototype, \"schema\", {\n value: issueSchema,\n});\n\nObject.defineProperty(Issue.prototype, \"validator\", {\n get: function () {\n return validate;\n },\n});\n"],"mappings":";;AAEA,SAAS,cAAc;AACvB,SAAS,iBAAiB,gBAAgB;AAC1C,SAAS,mBAAqC;AAWvC,MAAM,cAAc,OAAO;AAAA,EAflC,OAekC;AAAA;AAAA;AAAA,EAIhC,YAAY,MAAmB;AAC7B,UAAM,IAAI;AACV,SAAK,KAAK,KAAK;AACf,SAAK,OAAO,KAAK;AACjB,SAAK,OAAO,KAAK;AACjB,QAAI,KAAK,gBAAgB,OAAW,MAAK,cAAc,KAAK;AAC5D,QAAI,KAAK,eAAe,OAAW,MAAK,aAAa,KAAK;AAC1D,QAAI,KAAK,iBAAiB,OAAW,MAAK,eAAe,KAAK;AAC9D,QAAI,KAAK,eAAe,OAAW,MAAK,aAAa,KAAK;AAC1D,QAAI,KAAK,WAAW,OAAW,MAAK,SAAS,KAAK;AAClD,QAAI,KAAK,cAAc,OAAW,MAAK,YAAY,KAAK;AACxD,QAAI,KAAK,qBAAqB;AAC5B,WAAK,mBAAmB,KAAK;AAC/B,QAAI,KAAK,sBAAsB;AAC7B,WAAK,oBAAoB,KAAK;AAChC,QAAI,KAAK,cAAc,OAAW,MAAK,YAAY,KAAK;AACxD,QAAI,KAAK,cAAc,OAAW,MAAK,YAAY,KAAK;AACxD,QAAI,KAAK,cAAc,OAAW,MAAK,YAAY,KAAK;AAAA,EAC1D;AACF;AAEA,OAAO,eAAe,MAAM,WAAW,UAAU;AAAA,EAC/C,OAAO;AACT,CAAC;AAED,OAAO,eAAe,MAAM,WAAW,aAAa;AAAA,EAClD,KAAK,kCAAY;AACf,WAAO;AAAA,EACT,GAFK;AAGP,CAAC;","names":[]}
@@ -9,7 +9,7 @@ declare const issueSchema: {
9
9
  readonly title: "Issue";
10
10
  readonly description: "An issue associated with ticketing and concierge.";
11
11
  readonly type: "object";
12
- readonly required: readonly ["id", "type", "name", "department"];
12
+ readonly required: readonly ["id", "type", "name"];
13
13
  readonly additionalProperties: false;
14
14
  readonly properties: {
15
15
  readonly id: {
@@ -4,7 +4,7 @@ const issueSchema = {
4
4
  title: "Issue",
5
5
  description: "An issue associated with ticketing and concierge.",
6
6
  type: "object",
7
- required: ["id", "type", "name", "department"],
7
+ required: ["id", "type", "name"],
8
8
  additionalProperties: false,
9
9
  properties: {
10
10
  id: {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../.generated/schemas/issue.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\nimport { ticketSchema } from \"./ticket\";\n\nexport const issueSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"issue.json\",\n title: \"Issue\",\n description: \"An issue associated with ticketing and concierge.\",\n type: \"object\",\n required: [\"id\", \"type\", \"name\", \"department\"],\n additionalProperties: false,\n properties: {\n id: {\n $ref: \"definitions.json#/definitions/id\",\n },\n type: {\n type: \"string\",\n enum: [\"issue\"],\n default: \"issue\",\n },\n name: {\n type: \"string\",\n },\n description: {\n type: \"string\",\n },\n department: {\n type: \"string\",\n },\n departmentId: {\n type: \"string\",\n description:\n \"The ID of the department that this issue is associated with.\",\n },\n autoAssign: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n userId: {\n type: \"string\",\n description: \"The user ID to assign tickets with this issue to.\",\n },\n vendorId: {\n type: \"string\",\n description: \"The vendor ID to assign tickets with this issue to.\",\n },\n priority: {\n $ref: \"ticket.json#/properties/priority\",\n description: \"The priority to assign tickets with this issue to.\",\n },\n tags: {\n type: \"array\",\n items: {\n type: \"string\",\n },\n },\n },\n },\n notify: {\n type: \"array\",\n description: \"A list of entities to notify when this issue is triggered.\",\n default: [],\n items: {\n type: \"object\",\n required: [\"id\", \"discriminator\"],\n additionalProperties: false,\n properties: {\n id: {\n type: \"string\",\n description: \"The ID of the entity to notify.\",\n },\n discriminator: {\n type: \"string\",\n enum: [\"user\"],\n },\n },\n },\n },\n systemKey: {\n type: \"string\",\n },\n autoCreateTicket: {\n type: \"boolean\",\n default: true,\n },\n excludedResources: {\n type: \"array\",\n description:\n \"A list of resources that should not trigger notifications of this issue\",\n items: {\n type: \"string\",\n },\n default: [],\n },\n createdAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n updatedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n deletedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n },\n} as const;\n\nexport type IssueSchema = FromSchema<\n typeof issueSchema,\n {\n references: [typeof defs, typeof ticketSchema];\n deserialize: [\n {\n pattern: {\n format: \"date-time\";\n };\n output: Date | ISODateString;\n },\n ];\n }\n>;\n"],"mappings":"AAIO,MAAM,cAAc;AAAA,EACzB,SAAS;AAAA,EACT,KAAK;AAAA,EACL,OAAO;AAAA,EACP,aAAa;AAAA,EACb,MAAM;AAAA,EACN,UAAU,CAAC,MAAM,QAAQ,QAAQ,YAAY;AAAA,EAC7C,sBAAsB;AAAA,EACtB,YAAY;AAAA,IACV,IAAI;AAAA,MACF,MAAM;AAAA,IACR;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,MAAM,CAAC,OAAO;AAAA,MACd,SAAS;AAAA,IACX;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,IACR;AAAA,IACA,aAAa;AAAA,MACX,MAAM;AAAA,IACR;AAAA,IACA,YAAY;AAAA,MACV,MAAM;AAAA,IACR;AAAA,IACA,cAAc;AAAA,MACZ,MAAM;AAAA,MACN,aACE;AAAA,IACJ;AAAA,IACA,YAAY;AAAA,MACV,MAAM;AAAA,MACN,sBAAsB;AAAA,MACtB,YAAY;AAAA,QACV,QAAQ;AAAA,UACN,MAAM;AAAA,UACN,aAAa;AAAA,QACf;AAAA,QACA,UAAU;AAAA,UACR,MAAM;AAAA,UACN,aAAa;AAAA,QACf;AAAA,QACA,UAAU;AAAA,UACR,MAAM;AAAA,UACN,aAAa;AAAA,QACf;AAAA,QACA,MAAM;AAAA,UACJ,MAAM;AAAA,UACN,OAAO;AAAA,YACL,MAAM;AAAA,UACR;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,IACA,QAAQ;AAAA,MACN,MAAM;AAAA,MACN,aAAa;AAAA,MACb,SAAS,CAAC;AAAA,MACV,OAAO;AAAA,QACL,MAAM;AAAA,QACN,UAAU,CAAC,MAAM,eAAe;AAAA,QAChC,sBAAsB;AAAA,QACtB,YAAY;AAAA,UACV,IAAI;AAAA,YACF,MAAM;AAAA,YACN,aAAa;AAAA,UACf;AAAA,UACA,eAAe;AAAA,YACb,MAAM;AAAA,YACN,MAAM,CAAC,MAAM;AAAA,UACf;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,IACA,kBAAkB;AAAA,MAChB,MAAM;AAAA,MACN,SAAS;AAAA,IACX;AAAA,IACA,mBAAmB;AAAA,MACjB,MAAM;AAAA,MACN,aACE;AAAA,MACF,OAAO;AAAA,QACL,MAAM;AAAA,MACR;AAAA,MACA,SAAS,CAAC;AAAA,IACZ;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF;AACF;","names":[]}
1
+ {"version":3,"sources":["../../../.generated/schemas/issue.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\nimport { ticketSchema } from \"./ticket\";\n\nexport const issueSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"issue.json\",\n title: \"Issue\",\n description: \"An issue associated with ticketing and concierge.\",\n type: \"object\",\n required: [\"id\", \"type\", \"name\"],\n additionalProperties: false,\n properties: {\n id: {\n $ref: \"definitions.json#/definitions/id\",\n },\n type: {\n type: \"string\",\n enum: [\"issue\"],\n default: \"issue\",\n },\n name: {\n type: \"string\",\n },\n description: {\n type: \"string\",\n },\n department: {\n type: \"string\",\n },\n departmentId: {\n type: \"string\",\n description:\n \"The ID of the department that this issue is associated with.\",\n },\n autoAssign: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n userId: {\n type: \"string\",\n description: \"The user ID to assign tickets with this issue to.\",\n },\n vendorId: {\n type: \"string\",\n description: \"The vendor ID to assign tickets with this issue to.\",\n },\n priority: {\n $ref: \"ticket.json#/properties/priority\",\n description: \"The priority to assign tickets with this issue to.\",\n },\n tags: {\n type: \"array\",\n items: {\n type: \"string\",\n },\n },\n },\n },\n notify: {\n type: \"array\",\n description: \"A list of entities to notify when this issue is triggered.\",\n default: [],\n items: {\n type: \"object\",\n required: [\"id\", \"discriminator\"],\n additionalProperties: false,\n properties: {\n id: {\n type: \"string\",\n description: \"The ID of the entity to notify.\",\n },\n discriminator: {\n type: \"string\",\n enum: [\"user\"],\n },\n },\n },\n },\n systemKey: {\n type: \"string\",\n },\n autoCreateTicket: {\n type: \"boolean\",\n default: true,\n },\n excludedResources: {\n type: \"array\",\n description:\n \"A list of resources that should not trigger notifications of this issue\",\n items: {\n type: \"string\",\n },\n default: [],\n },\n createdAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n updatedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n deletedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n },\n} as const;\n\nexport type IssueSchema = FromSchema<\n typeof issueSchema,\n {\n references: [typeof defs, typeof ticketSchema];\n deserialize: [\n {\n pattern: {\n format: \"date-time\";\n };\n output: Date | ISODateString;\n },\n ];\n }\n>;\n"],"mappings":"AAIO,MAAM,cAAc;AAAA,EACzB,SAAS;AAAA,EACT,KAAK;AAAA,EACL,OAAO;AAAA,EACP,aAAa;AAAA,EACb,MAAM;AAAA,EACN,UAAU,CAAC,MAAM,QAAQ,MAAM;AAAA,EAC/B,sBAAsB;AAAA,EACtB,YAAY;AAAA,IACV,IAAI;AAAA,MACF,MAAM;AAAA,IACR;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,MAAM,CAAC,OAAO;AAAA,MACd,SAAS;AAAA,IACX;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,IACR;AAAA,IACA,aAAa;AAAA,MACX,MAAM;AAAA,IACR;AAAA,IACA,YAAY;AAAA,MACV,MAAM;AAAA,IACR;AAAA,IACA,cAAc;AAAA,MACZ,MAAM;AAAA,MACN,aACE;AAAA,IACJ;AAAA,IACA,YAAY;AAAA,MACV,MAAM;AAAA,MACN,sBAAsB;AAAA,MACtB,YAAY;AAAA,QACV,QAAQ;AAAA,UACN,MAAM;AAAA,UACN,aAAa;AAAA,QACf;AAAA,QACA,UAAU;AAAA,UACR,MAAM;AAAA,UACN,aAAa;AAAA,QACf;AAAA,QACA,UAAU;AAAA,UACR,MAAM;AAAA,UACN,aAAa;AAAA,QACf;AAAA,QACA,MAAM;AAAA,UACJ,MAAM;AAAA,UACN,OAAO;AAAA,YACL,MAAM;AAAA,UACR;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,IACA,QAAQ;AAAA,MACN,MAAM;AAAA,MACN,aAAa;AAAA,MACb,SAAS,CAAC;AAAA,MACV,OAAO;AAAA,QACL,MAAM;AAAA,QACN,UAAU,CAAC,MAAM,eAAe;AAAA,QAChC,sBAAsB;AAAA,QACtB,YAAY;AAAA,UACV,IAAI;AAAA,YACF,MAAM;AAAA,YACN,aAAa;AAAA,UACf;AAAA,UACA,eAAe;AAAA,YACb,MAAM;AAAA,YACN,MAAM,CAAC,MAAM;AAAA,UACf;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,IACA,kBAAkB;AAAA,MAChB,MAAM;AAAA,MACN,SAAS;AAAA,IACX;AAAA,IACA,mBAAmB;AAAA,MACjB,MAAM;AAAA,MACN,aACE;AAAA,MACF,OAAO;AAAA,QACL,MAAM;AAAA,MACR;AAAA,MACA,SAAS,CAAC;AAAA,IACZ;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF;AACF;","names":[]}
@@ -20,7 +20,6 @@ declare const organizationSchema: {
20
20
  };
21
21
  readonly accountNumber: {
22
22
  readonly type: readonly ["number", "null"];
23
- readonly minimum: 10000;
24
23
  };
25
24
  readonly name: {
26
25
  readonly type: "string";
@@ -16,8 +16,7 @@ const organizationSchema = {
16
16
  enum: ["organization"]
17
17
  },
18
18
  accountNumber: {
19
- type: ["number", "null"],
20
- minimum: 1e4
19
+ type: ["number", "null"]
21
20
  },
22
21
  name: {
23
22
  type: "string"
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../.generated/schemas/organization.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\n\nexport const organizationSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"organization.json\",\n title: \"Organization\",\n type: \"object\",\n description:\n \"An organization is a group or entity that subscribes to Kohost software.\",\n required: [\"id\", \"type\", \"accountNumber\", \"name\"],\n additionalProperties: false,\n properties: {\n id: {\n $ref: \"definitions.json#/definitions/id\",\n },\n type: {\n type: \"string\",\n default: \"organization\",\n enum: [\"organization\"],\n },\n accountNumber: {\n type: [\"number\", \"null\"],\n minimum: 10000,\n },\n name: {\n type: \"string\",\n },\n smsNumber: {\n type: \"string\",\n },\n properties: {\n type: \"array\",\n items: {\n type: \"string\",\n },\n },\n hostname: {\n type: [\"string\", \"null\"],\n },\n appManifest: {\n type: \"object\",\n\n properties: {\n name: {\n type: \"string\",\n },\n short_name: {\n type: \"string\",\n },\n scope: {\n type: \"string\",\n },\n start_url: {\n type: \"string\",\n },\n themeColor: {\n type: \"string\",\n },\n backgroundColor: {\n type: \"string\",\n },\n display: {\n type: \"string\",\n enum: [\"fullscreen\", \"standalone\", \"minimal-ui\", \"browser\"],\n default: \"fullscreen\",\n },\n orientation: {\n type: \"string\",\n enum: [\"portrait\", \"landscape\"],\n default: \"portrait\",\n },\n splash: {\n type: \"object\",\n properties: {\n src: {\n type: \"string\",\n },\n type: {\n type: \"string\",\n },\n sizes: {\n type: \"string\",\n },\n },\n },\n icons: {\n type: \"array\",\n items: {\n type: \"object\",\n properties: {\n src: {\n type: \"string\",\n },\n sizes: {\n type: \"string\",\n },\n type: {\n type: \"string\",\n },\n },\n },\n },\n logo: {\n type: \"object\",\n properties: {\n src: {\n type: \"string\",\n },\n type: {\n type: \"string\",\n },\n sizes: {\n type: \"string\",\n },\n },\n },\n },\n default: {\n name: \"Kohost\",\n short_name: \"Kohost\",\n start_url: \"/\",\n scope: \"/\",\n display: \"fullscreen\",\n orientation: \"portrait\",\n theme_color: \"#1d1f22\",\n background_color: \"#1d1f22\",\n icons: [\n {\n src: \"https://images.kohost.io/cdn-cgi/imagedelivery/vcVX2aBwdFSYr66spcFKaA/9c85047f-ccba-4b1c-3070-5463fbe93b00/w=512\",\n sizes: \"512x512\",\n type: \"image/png\",\n },\n ],\n splash: {\n src: \"https://images.kohost.io/cdn-cgi/imagedelivery/vcVX2aBwdFSYr66spcFKaA/034fb112-5326-4d37-373e-d1cc2a4d0400/w=1500\",\n sizes: \"1500x800\",\n type: \"image/jpg\",\n },\n logo: {\n src: \"https://images.kohost.io/cdn-cgi/imagedelivery/vcVX2aBwdFSYr66spcFKaA/1e54c54d-3bac-4745-f46f-c2f98036af00/h=75\",\n sizes: \"300x75\",\n type: \"image/png\",\n },\n },\n },\n tickets: {\n type: \"object\",\n properties: {\n nextTicketNumber: {\n type: [\"string\", \"integer\"],\n default: 1,\n },\n },\n },\n credentials: {\n type: \"object\",\n additionalProperties: true,\n properties: {\n apiKey: { type: \"string\" },\n webhookToken: { type: \"string\" },\n jwtSecret: { type: \"string\" },\n },\n },\n createdAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n updatedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n deletedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n },\n} as const;\n\nexport type OrganizationSchema = FromSchema<\n typeof organizationSchema,\n {\n references: [typeof defs];\n deserialize: [\n {\n pattern: {\n format: \"date-time\";\n };\n output: Date | ISODateString;\n },\n ];\n }\n>;\n"],"mappings":"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","names":[]}
1
+ {"version":3,"sources":["../../../.generated/schemas/organization.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\n\nexport const organizationSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"organization.json\",\n title: \"Organization\",\n type: \"object\",\n description:\n \"An organization is a group or entity that subscribes to Kohost software.\",\n required: [\"id\", \"type\", \"accountNumber\", \"name\"],\n additionalProperties: false,\n properties: {\n id: {\n $ref: \"definitions.json#/definitions/id\",\n },\n type: {\n type: \"string\",\n default: \"organization\",\n enum: [\"organization\"],\n },\n accountNumber: {\n type: [\"number\", \"null\"],\n },\n name: {\n type: \"string\",\n },\n smsNumber: {\n type: \"string\",\n },\n properties: {\n type: \"array\",\n items: {\n type: \"string\",\n },\n },\n hostname: {\n type: [\"string\", \"null\"],\n },\n appManifest: {\n type: \"object\",\n\n properties: {\n name: {\n type: \"string\",\n },\n short_name: {\n type: \"string\",\n },\n scope: {\n type: \"string\",\n },\n start_url: {\n type: \"string\",\n },\n themeColor: {\n type: \"string\",\n },\n backgroundColor: {\n type: \"string\",\n },\n display: {\n type: \"string\",\n enum: [\"fullscreen\", \"standalone\", \"minimal-ui\", \"browser\"],\n default: \"fullscreen\",\n },\n orientation: {\n type: \"string\",\n enum: [\"portrait\", \"landscape\"],\n default: \"portrait\",\n },\n splash: {\n type: \"object\",\n properties: {\n src: {\n type: \"string\",\n },\n type: {\n type: \"string\",\n },\n sizes: {\n type: \"string\",\n },\n },\n },\n icons: {\n type: \"array\",\n items: {\n type: \"object\",\n properties: {\n src: {\n type: \"string\",\n },\n sizes: {\n type: \"string\",\n },\n type: {\n type: \"string\",\n },\n },\n },\n },\n logo: {\n type: \"object\",\n properties: {\n src: {\n type: \"string\",\n },\n type: {\n type: \"string\",\n },\n sizes: {\n type: \"string\",\n },\n },\n },\n },\n default: {\n name: \"Kohost\",\n short_name: \"Kohost\",\n start_url: \"/\",\n scope: \"/\",\n display: \"fullscreen\",\n orientation: \"portrait\",\n theme_color: \"#1d1f22\",\n background_color: \"#1d1f22\",\n icons: [\n {\n src: \"https://images.kohost.io/cdn-cgi/imagedelivery/vcVX2aBwdFSYr66spcFKaA/9c85047f-ccba-4b1c-3070-5463fbe93b00/w=512\",\n sizes: \"512x512\",\n type: \"image/png\",\n },\n ],\n splash: {\n src: \"https://images.kohost.io/cdn-cgi/imagedelivery/vcVX2aBwdFSYr66spcFKaA/034fb112-5326-4d37-373e-d1cc2a4d0400/w=1500\",\n sizes: \"1500x800\",\n type: \"image/jpg\",\n },\n logo: {\n src: \"https://images.kohost.io/cdn-cgi/imagedelivery/vcVX2aBwdFSYr66spcFKaA/1e54c54d-3bac-4745-f46f-c2f98036af00/h=75\",\n sizes: \"300x75\",\n type: \"image/png\",\n },\n },\n },\n tickets: {\n type: \"object\",\n properties: {\n nextTicketNumber: {\n type: [\"string\", \"integer\"],\n default: 1,\n },\n },\n },\n credentials: {\n type: \"object\",\n additionalProperties: true,\n properties: {\n apiKey: { type: \"string\" },\n webhookToken: { type: \"string\" },\n jwtSecret: { type: \"string\" },\n },\n },\n createdAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n updatedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n deletedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n },\n} as const;\n\nexport type OrganizationSchema = FromSchema<\n typeof organizationSchema,\n {\n references: [typeof defs];\n deserialize: [\n {\n pattern: {\n format: \"date-time\";\n };\n output: Date | ISODateString;\n },\n ];\n }\n>;\n"],"mappings":"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","names":[]}
@@ -96,8 +96,11 @@ declare const userSchema: {
96
96
  readonly type: "string";
97
97
  readonly description: "The department the user belongs to.";
98
98
  };
99
- readonly departmentId: {
100
- readonly type: "string";
99
+ readonly departmentIds: {
100
+ readonly type: "array";
101
+ readonly items: {
102
+ readonly type: "string";
103
+ };
101
104
  readonly description: "The ID of the department the user belongs to.";
102
105
  };
103
106
  readonly policyIds: {
@@ -99,8 +99,11 @@ const userSchema = {
99
99
  type: "string",
100
100
  description: "The department the user belongs to."
101
101
  },
102
- departmentId: {
103
- type: "string",
102
+ departmentIds: {
103
+ type: "array",
104
+ items: {
105
+ type: "string"
106
+ },
104
107
  description: "The ID of the department the user belongs to."
105
108
  },
106
109
  policyIds: {