@kohost/api-client 4.15.3 → 4.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/httpClient.d.cts +12 -2
- package/dist/cjs/{index-C0VQ2ffR.d.cts → index-BjziDwt4.d.cts} +21 -1
- package/dist/cjs/index.d.cts +11 -1
- package/dist/cjs/models/issue.cjs +0 -1
- package/dist/cjs/models/issue.cjs.map +1 -1
- package/dist/cjs/models/property.cjs +0 -1
- package/dist/cjs/models/property.cjs.map +1 -1
- package/dist/cjs/models/ticket.cjs +0 -1
- package/dist/cjs/models/ticket.cjs.map +1 -1
- package/dist/cjs/schemas/issue.cjs +1 -4
- package/dist/cjs/schemas/issue.cjs.map +1 -1
- package/dist/cjs/schemas/issue.d.cts +1 -4
- package/dist/cjs/schemas/property.cjs +0 -6
- package/dist/cjs/schemas/property.cjs.map +1 -1
- package/dist/cjs/schemas/property.d.cts +0 -6
- package/dist/cjs/schemas/ticket.cjs +0 -3
- package/dist/cjs/schemas/ticket.cjs.map +1 -1
- package/dist/cjs/schemas/ticket.d.cts +0 -3
- package/dist/cjs/schemas/user.cjs +5 -6
- package/dist/cjs/schemas/user.cjs.map +1 -1
- package/dist/cjs/schemas/user.d.cts +5 -6
- package/dist/cjs/useCases/createDepartment.cjs +72 -0
- package/dist/cjs/useCases/createDepartment.cjs.map +1 -0
- package/dist/cjs/useCases/createDepartment.d.cts +29 -0
- package/dist/cjs/useCases/createServer.cjs +72 -0
- package/dist/cjs/useCases/createServer.cjs.map +1 -0
- package/dist/cjs/useCases/createServer.d.cts +29 -0
- package/dist/cjs/useCases/deleteDepartment.cjs +72 -0
- package/dist/cjs/useCases/deleteDepartment.cjs.map +1 -0
- package/dist/cjs/useCases/deleteDepartment.d.cts +38 -0
- package/dist/cjs/useCases/deleteServer.cjs +72 -0
- package/dist/cjs/useCases/deleteServer.cjs.map +1 -0
- package/dist/cjs/useCases/deleteServer.d.cts +38 -0
- package/dist/cjs/useCases/describeDepartment.cjs +72 -0
- package/dist/cjs/useCases/describeDepartment.cjs.map +1 -0
- package/dist/cjs/useCases/describeDepartment.d.cts +38 -0
- package/dist/cjs/useCases/describeServer.cjs +72 -0
- package/dist/cjs/useCases/describeServer.cjs.map +1 -0
- package/dist/cjs/useCases/describeServer.d.cts +38 -0
- package/dist/cjs/useCases/index.cjs +30 -0
- package/dist/cjs/useCases/index.cjs.map +1 -1
- package/dist/cjs/useCases/index.d.cts +10 -0
- package/dist/cjs/useCases/listDepartments.cjs +72 -0
- package/dist/cjs/useCases/listDepartments.cjs.map +1 -0
- package/dist/cjs/useCases/listDepartments.d.cts +29 -0
- package/dist/cjs/useCases/listServers.cjs +72 -0
- package/dist/cjs/useCases/listServers.cjs.map +1 -0
- package/dist/cjs/useCases/listServers.d.cts +29 -0
- package/dist/cjs/useCases/updateDepartment.cjs +72 -0
- package/dist/cjs/useCases/updateDepartment.cjs.map +1 -0
- package/dist/cjs/useCases/updateDepartment.d.cts +38 -0
- package/dist/cjs/useCases/updateServer.cjs +72 -0
- package/dist/cjs/useCases/updateServer.cjs.map +1 -0
- package/dist/cjs/useCases/updateServer.d.cts +38 -0
- package/dist/cjs/validate.d.cts +0 -3
- package/dist/esm/httpClient.d.ts +12 -2
- package/dist/esm/{index-_-hKRXg6.d.ts → index-CY1L0nkI.d.ts} +21 -1
- package/dist/esm/index.d.ts +11 -1
- package/dist/esm/models/issue.js +0 -1
- package/dist/esm/models/issue.js.map +1 -1
- package/dist/esm/models/property.js +0 -1
- package/dist/esm/models/property.js.map +1 -1
- package/dist/esm/models/ticket.js +0 -1
- package/dist/esm/models/ticket.js.map +1 -1
- package/dist/esm/schemas/issue.d.ts +1 -4
- package/dist/esm/schemas/issue.js +1 -4
- package/dist/esm/schemas/issue.js.map +1 -1
- package/dist/esm/schemas/property.d.ts +0 -6
- package/dist/esm/schemas/property.js +0 -6
- package/dist/esm/schemas/property.js.map +1 -1
- package/dist/esm/schemas/ticket.d.ts +0 -3
- package/dist/esm/schemas/ticket.js +0 -3
- package/dist/esm/schemas/ticket.js.map +1 -1
- package/dist/esm/schemas/user.d.ts +5 -6
- package/dist/esm/schemas/user.js +5 -6
- package/dist/esm/schemas/user.js.map +1 -1
- package/dist/esm/useCases/createDepartment.d.ts +29 -0
- package/dist/esm/useCases/createDepartment.js +50 -0
- package/dist/esm/useCases/createDepartment.js.map +1 -0
- package/dist/esm/useCases/createServer.d.ts +29 -0
- package/dist/esm/useCases/createServer.js +50 -0
- package/dist/esm/useCases/createServer.js.map +1 -0
- package/dist/esm/useCases/deleteDepartment.d.ts +38 -0
- package/dist/esm/useCases/deleteDepartment.js +50 -0
- package/dist/esm/useCases/deleteDepartment.js.map +1 -0
- package/dist/esm/useCases/deleteServer.d.ts +38 -0
- package/dist/esm/useCases/deleteServer.js +50 -0
- package/dist/esm/useCases/deleteServer.js.map +1 -0
- package/dist/esm/useCases/describeDepartment.d.ts +38 -0
- package/dist/esm/useCases/describeDepartment.js +50 -0
- package/dist/esm/useCases/describeDepartment.js.map +1 -0
- package/dist/esm/useCases/describeServer.d.ts +38 -0
- package/dist/esm/useCases/describeServer.js +50 -0
- package/dist/esm/useCases/describeServer.js.map +1 -0
- package/dist/esm/useCases/index.d.ts +10 -0
- package/dist/esm/useCases/index.js +20 -0
- package/dist/esm/useCases/index.js.map +1 -1
- package/dist/esm/useCases/listDepartments.d.ts +29 -0
- package/dist/esm/useCases/listDepartments.js +50 -0
- package/dist/esm/useCases/listDepartments.js.map +1 -0
- package/dist/esm/useCases/listServers.d.ts +29 -0
- package/dist/esm/useCases/listServers.js +50 -0
- package/dist/esm/useCases/listServers.js.map +1 -0
- package/dist/esm/useCases/updateDepartment.d.ts +38 -0
- package/dist/esm/useCases/updateDepartment.js +50 -0
- package/dist/esm/useCases/updateDepartment.js.map +1 -0
- package/dist/esm/useCases/updateServer.d.ts +38 -0
- package/dist/esm/useCases/updateServer.js +50 -0
- package/dist/esm/useCases/updateServer.js.map +1 -0
- package/dist/esm/validate.d.ts +0 -3
- package/package.json +1 -1
|
@@ -37,6 +37,11 @@ export { DeleteCategoryCommand } from './deleteCategory.cjs';
|
|
|
37
37
|
export { DescribeCategoryCommand } from './describeCategory.cjs';
|
|
38
38
|
export { ListCategoriesCommand } from './listCategories.cjs';
|
|
39
39
|
export { UpdateCategoryCommand } from './updateCategory.cjs';
|
|
40
|
+
export { DescribeDepartmentCommand } from './describeDepartment.cjs';
|
|
41
|
+
export { ListDepartmentsCommand } from './listDepartments.cjs';
|
|
42
|
+
export { DeleteDepartmentCommand } from './deleteDepartment.cjs';
|
|
43
|
+
export { CreateDepartmentCommand } from './createDepartment.cjs';
|
|
44
|
+
export { UpdateDepartmentCommand } from './updateDepartment.cjs';
|
|
40
45
|
export { ListRoomsCommand } from './listRooms.cjs';
|
|
41
46
|
export { DescribeRoomCommand } from './describeRoom.cjs';
|
|
42
47
|
export { CreateRoomCommand } from './createRoom.cjs';
|
|
@@ -202,3 +207,8 @@ export { DeleteSystemCommand } from './deleteSystem.cjs';
|
|
|
202
207
|
export { DescribeSystemCommand } from './describeSystem.cjs';
|
|
203
208
|
export { ListSystemsCommand } from './listSystems.cjs';
|
|
204
209
|
export { UpdateSystemCommand } from './updateSystem.cjs';
|
|
210
|
+
export { CreateServerCommand } from './createServer.cjs';
|
|
211
|
+
export { DeleteServerCommand } from './deleteServer.cjs';
|
|
212
|
+
export { DescribeServerCommand } from './describeServer.cjs';
|
|
213
|
+
export { ListServersCommand } from './listServers.cjs';
|
|
214
|
+
export { UpdateServerCommand } from './updateServer.cjs';
|
|
@@ -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 listDepartments_exports = {};
|
|
20
|
+
__export(listDepartments_exports, {
|
|
21
|
+
ListDepartmentsCommand: () => ListDepartmentsCommand
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(listDepartments_exports);
|
|
24
|
+
class ListDepartmentsCommand {
|
|
25
|
+
static {
|
|
26
|
+
__name(this, "ListDepartmentsCommand");
|
|
27
|
+
}
|
|
28
|
+
url;
|
|
29
|
+
data;
|
|
30
|
+
query;
|
|
31
|
+
headers;
|
|
32
|
+
config;
|
|
33
|
+
static params = [];
|
|
34
|
+
static url = "/departments";
|
|
35
|
+
static method = "get";
|
|
36
|
+
constructor(commandConfig, options = {}) {
|
|
37
|
+
const pathParams = ListDepartmentsCommand.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 = ListDepartmentsCommand.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: ListDepartmentsCommand.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
|
+
ListDepartmentsCommand
|
|
71
|
+
});
|
|
72
|
+
//# sourceMappingURL=listDepartments.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../.generated/useCases/listDepartments.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface ListDepartmentsCommandConfig {\n data?: Record<string, unknown> | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface ListDepartmentsCommandRequestConfig {\n method: \"get\";\n url: string;\n data: Record<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 ListDepartmentsCommand {\n url: string;\n data: Record<string, unknown> | null;\n query: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n config: ListDepartmentsCommandRequestConfig;\n\n static params = [] as const;\n static url = \"/departments\";\n static method = \"get\" as const;\n\n constructor(\n commandConfig: ListDepartmentsCommandConfig,\n options: Record<string, unknown> = {},\n ) {\n const pathParams = ListDepartmentsCommand.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 = ListDepartmentsCommand.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: ListDepartmentsCommand.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,uBAAuB;AAAA,EApBpC,OAoBoC;AAAA;AAAA;AAAA,EAClC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA,OAAO,SAAS,CAAC;AAAA,EACjB,OAAO,MAAM;AAAA,EACb,OAAO,SAAS;AAAA,EAEhB,YACE,eACA,UAAmC,CAAC,GACpC;AACA,UAAM,aAAa,uBAAuB;AAE1C,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,uBAAuB;AAEzC,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,uBAAuB;AAAA,MAC/B;AAAA,MACA;AAAA,MACA,QAAQ;AAAA,MACR;AAAA,MACA,GAAG;AAAA,IACL;AAAA,EACF;AACF;","names":[]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
interface ListDepartmentsCommandConfig {
|
|
2
|
+
data?: Record<string, unknown> | null;
|
|
3
|
+
headers?: Record<string, string> | null;
|
|
4
|
+
query?: Record<string, unknown> | null;
|
|
5
|
+
}
|
|
6
|
+
interface ListDepartmentsCommandRequestConfig {
|
|
7
|
+
method: "get";
|
|
8
|
+
url: string;
|
|
9
|
+
data: Record<string, unknown> | null;
|
|
10
|
+
params: Record<string, unknown> | null;
|
|
11
|
+
headers: Record<string, string> | null;
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
declare class ListDepartmentsCommand {
|
|
18
|
+
url: string;
|
|
19
|
+
data: Record<string, unknown> | null;
|
|
20
|
+
query: Record<string, unknown> | null;
|
|
21
|
+
headers: Record<string, string> | null;
|
|
22
|
+
config: ListDepartmentsCommandRequestConfig;
|
|
23
|
+
static params: readonly [];
|
|
24
|
+
static url: string;
|
|
25
|
+
static method: "get";
|
|
26
|
+
constructor(commandConfig: ListDepartmentsCommandConfig, options?: Record<string, unknown>);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { ListDepartmentsCommand, type ListDepartmentsCommandConfig, type ListDepartmentsCommandRequestConfig };
|
|
@@ -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 listServers_exports = {};
|
|
20
|
+
__export(listServers_exports, {
|
|
21
|
+
ListServersCommand: () => ListServersCommand
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(listServers_exports);
|
|
24
|
+
class ListServersCommand {
|
|
25
|
+
static {
|
|
26
|
+
__name(this, "ListServersCommand");
|
|
27
|
+
}
|
|
28
|
+
url;
|
|
29
|
+
data;
|
|
30
|
+
query;
|
|
31
|
+
headers;
|
|
32
|
+
config;
|
|
33
|
+
static params = [];
|
|
34
|
+
static url = "/servers";
|
|
35
|
+
static method = "get";
|
|
36
|
+
constructor(commandConfig, options = {}) {
|
|
37
|
+
const pathParams = ListServersCommand.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 = ListServersCommand.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: ListServersCommand.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
|
+
ListServersCommand
|
|
71
|
+
});
|
|
72
|
+
//# sourceMappingURL=listServers.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../.generated/useCases/listServers.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface ListServersCommandConfig {\n data?: Record<string, unknown> | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface ListServersCommandRequestConfig {\n method: \"get\";\n url: string;\n data: Record<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 ListServersCommand {\n url: string;\n data: Record<string, unknown> | null;\n query: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n config: ListServersCommandRequestConfig;\n\n static params = [] as const;\n static url = \"/servers\";\n static method = \"get\" as const;\n\n constructor(\n commandConfig: ListServersCommandConfig,\n options: Record<string, unknown> = {},\n ) {\n const pathParams = ListServersCommand.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 = ListServersCommand.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: ListServersCommand.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,mBAAmB;AAAA,EApBhC,OAoBgC;AAAA;AAAA;AAAA,EAC9B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA,OAAO,SAAS,CAAC;AAAA,EACjB,OAAO,MAAM;AAAA,EACb,OAAO,SAAS;AAAA,EAEhB,YACE,eACA,UAAmC,CAAC,GACpC;AACA,UAAM,aAAa,mBAAmB;AAEtC,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,mBAAmB;AAErC,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,mBAAmB;AAAA,MAC3B;AAAA,MACA;AAAA,MACA,QAAQ;AAAA,MACR;AAAA,MACA,GAAG;AAAA,IACL;AAAA,EACF;AACF;","names":[]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
interface ListServersCommandConfig {
|
|
2
|
+
data?: Record<string, unknown> | null;
|
|
3
|
+
headers?: Record<string, string> | null;
|
|
4
|
+
query?: Record<string, unknown> | null;
|
|
5
|
+
}
|
|
6
|
+
interface ListServersCommandRequestConfig {
|
|
7
|
+
method: "get";
|
|
8
|
+
url: string;
|
|
9
|
+
data: Record<string, unknown> | null;
|
|
10
|
+
params: Record<string, unknown> | null;
|
|
11
|
+
headers: Record<string, string> | null;
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
declare class ListServersCommand {
|
|
18
|
+
url: string;
|
|
19
|
+
data: Record<string, unknown> | null;
|
|
20
|
+
query: Record<string, unknown> | null;
|
|
21
|
+
headers: Record<string, string> | null;
|
|
22
|
+
config: ListServersCommandRequestConfig;
|
|
23
|
+
static params: readonly [];
|
|
24
|
+
static url: string;
|
|
25
|
+
static method: "get";
|
|
26
|
+
constructor(commandConfig: ListServersCommandConfig, options?: Record<string, unknown>);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { ListServersCommand, type ListServersCommandConfig, type ListServersCommandRequestConfig };
|
|
@@ -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 updateDepartment_exports = {};
|
|
20
|
+
__export(updateDepartment_exports, {
|
|
21
|
+
UpdateDepartmentCommand: () => UpdateDepartmentCommand
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(updateDepartment_exports);
|
|
24
|
+
class UpdateDepartmentCommand {
|
|
25
|
+
static {
|
|
26
|
+
__name(this, "UpdateDepartmentCommand");
|
|
27
|
+
}
|
|
28
|
+
url;
|
|
29
|
+
data;
|
|
30
|
+
query;
|
|
31
|
+
headers;
|
|
32
|
+
config;
|
|
33
|
+
static params = ["id"];
|
|
34
|
+
static url = "/departments/:id";
|
|
35
|
+
static method = "put";
|
|
36
|
+
constructor(commandConfig, options = {}) {
|
|
37
|
+
const pathParams = UpdateDepartmentCommand.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 = UpdateDepartmentCommand.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: UpdateDepartmentCommand.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
|
+
UpdateDepartmentCommand
|
|
71
|
+
});
|
|
72
|
+
//# sourceMappingURL=updateDepartment.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../.generated/useCases/updateDepartment.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface UpdateDepartmentCommandConfig {\n data?: { id: string; [key: string]: unknown } | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface UpdateDepartmentCommandRequestConfig {\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 UpdateDepartmentCommand {\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: UpdateDepartmentCommandRequestConfig;\n\n static params = [\"id\"] as const;\n static url = \"/departments/:id\";\n static method = \"put\" as const;\n\n constructor(\n commandConfig: UpdateDepartmentCommandConfig,\n options: Record<string, unknown> = {},\n ) {\n const pathParams = UpdateDepartmentCommand.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 = UpdateDepartmentCommand.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: UpdateDepartmentCommand.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,wBAAwB;AAAA,EApBrC,OAoBqC;AAAA;AAAA;AAAA,EACnC;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,wBAAwB;AAE3C,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,wBAAwB;AAE1C,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,wBAAwB;AAAA,MAChC;AAAA,MACA;AAAA,MACA,QAAQ;AAAA,MACR;AAAA,MACA,GAAG;AAAA,IACL;AAAA,EACF;AACF;","names":[]}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
interface UpdateDepartmentCommandConfig {
|
|
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 UpdateDepartmentCommandRequestConfig {
|
|
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 UpdateDepartmentCommand {
|
|
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: UpdateDepartmentCommandRequestConfig;
|
|
32
|
+
static params: readonly ["id"];
|
|
33
|
+
static url: string;
|
|
34
|
+
static method: "put";
|
|
35
|
+
constructor(commandConfig: UpdateDepartmentCommandConfig, options?: Record<string, unknown>);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export { UpdateDepartmentCommand, type UpdateDepartmentCommandConfig, type UpdateDepartmentCommandRequestConfig };
|
|
@@ -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 };
|
package/dist/cjs/validate.d.cts
CHANGED
|
@@ -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;
|
package/dist/esm/httpClient.d.ts
CHANGED
|
@@ -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
|
|