@kohost/api-client 7.22.0 → 7.23.1
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/.tsbuildinfo +1 -1
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/index.js +6 -1
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/serviceContracts.d.ts +27 -0
- package/dist/lib/serviceContracts.js +34 -0
- package/dist/lib/serviceContracts.js.map +1 -0
- package/dist/models/automation.js +1 -0
- package/dist/models/automation.js.map +1 -1
- package/dist/models/cost.js +5 -0
- package/dist/models/cost.js.map +1 -1
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +3 -1
- package/dist/models/index.js.map +1 -1
- package/dist/models/serviceContract.d.ts +17 -0
- package/dist/models/serviceContract.js +35 -0
- package/dist/models/serviceContract.js.map +1 -0
- package/dist/models/ticket.js +1 -0
- package/dist/models/ticket.js.map +1 -1
- package/dist/schemas/automation.d.ts +4 -0
- package/dist/schemas/automation.js +4 -0
- package/dist/schemas/automation.js.map +1 -1
- package/dist/schemas/bill.d.ts +11 -1
- package/dist/schemas/bill.js +17 -3
- package/dist/schemas/bill.js.map +1 -1
- package/dist/schemas/cost.d.ts +36 -1
- package/dist/schemas/cost.js +29 -2
- package/dist/schemas/cost.js.map +1 -1
- package/dist/schemas/index.d.ts +1 -0
- package/dist/schemas/index.js +2 -1
- package/dist/schemas/serviceContract.d.ts +272 -0
- package/dist/schemas/serviceContract.js +220 -0
- package/dist/schemas/serviceContract.js.map +1 -0
- package/dist/schemas/ticket.d.ts +20 -0
- package/dist/schemas/ticket.js +20 -0
- package/dist/schemas/ticket.js.map +1 -1
- package/dist/useCases/activateServiceContract.d.ts +36 -0
- package/dist/useCases/activateServiceContract.js +47 -0
- package/dist/useCases/activateServiceContract.js.map +1 -0
- package/dist/useCases/addDueContractCosts.d.ts +27 -0
- package/dist/useCases/addDueContractCosts.js +47 -0
- package/dist/useCases/addDueContractCosts.js.map +1 -0
- package/dist/useCases/addServiceContractTicketSchedule.d.ts +36 -0
- package/dist/useCases/addServiceContractTicketSchedule.js +47 -0
- package/dist/useCases/addServiceContractTicketSchedule.js.map +1 -0
- package/dist/useCases/cancelServiceContract.d.ts +36 -0
- package/dist/useCases/cancelServiceContract.js +47 -0
- package/dist/useCases/cancelServiceContract.js.map +1 -0
- package/dist/useCases/createServiceContract.d.ts +27 -0
- package/dist/useCases/createServiceContract.js +47 -0
- package/dist/useCases/createServiceContract.js.map +1 -0
- package/dist/useCases/deleteServiceContract.d.ts +36 -0
- package/dist/useCases/deleteServiceContract.js +47 -0
- package/dist/useCases/deleteServiceContract.js.map +1 -0
- package/dist/useCases/describeOrganizationServiceContract.d.ts +36 -0
- package/dist/useCases/describeOrganizationServiceContract.js +47 -0
- package/dist/useCases/describeOrganizationServiceContract.js.map +1 -0
- package/dist/useCases/describeServiceContract.d.ts +36 -0
- package/dist/useCases/describeServiceContract.js +47 -0
- package/dist/useCases/describeServiceContract.js.map +1 -0
- package/dist/useCases/duplicateServiceContract.d.ts +36 -0
- package/dist/useCases/duplicateServiceContract.js +47 -0
- package/dist/useCases/duplicateServiceContract.js.map +1 -0
- package/dist/useCases/index.d.ts +18 -2
- package/dist/useCases/index.js +37 -5
- package/dist/useCases/index.js.map +1 -1
- package/dist/useCases/listConciergeCostLedger.d.ts +27 -0
- package/dist/useCases/listConciergeCostLedger.js +47 -0
- package/dist/useCases/listConciergeCostLedger.js.map +1 -0
- package/dist/useCases/listConciergeServiceContracts.d.ts +27 -0
- package/dist/useCases/listConciergeServiceContracts.js +47 -0
- package/dist/useCases/listConciergeServiceContracts.js.map +1 -0
- package/dist/useCases/{listConciergeWorkspaceBillLines.d.ts → listOrganizationServiceContracts.d.ts} +6 -6
- package/dist/useCases/{listConciergeWorkspaceBillLines.js → listOrganizationServiceContracts.js} +9 -9
- package/dist/useCases/listOrganizationServiceContracts.js.map +1 -0
- package/dist/useCases/listServiceContractCosts.d.ts +36 -0
- package/dist/useCases/listServiceContractCosts.js +47 -0
- package/dist/useCases/listServiceContractCosts.js.map +1 -0
- package/dist/useCases/listServiceContractTicketSchedules.d.ts +36 -0
- package/dist/useCases/listServiceContractTicketSchedules.js +47 -0
- package/dist/useCases/listServiceContractTicketSchedules.js.map +1 -0
- package/dist/useCases/{describeConciergeBillsSummary.d.ts → listServiceContracts.d.ts} +6 -6
- package/dist/useCases/{describeConciergeBillsSummary.js → listServiceContracts.js} +9 -9
- package/dist/useCases/listServiceContracts.js.map +1 -0
- package/dist/useCases/removeServiceContractTicketSchedule.d.ts +39 -0
- package/dist/useCases/removeServiceContractTicketSchedule.js +47 -0
- package/dist/useCases/removeServiceContractTicketSchedule.js.map +1 -0
- package/dist/useCases/updateServiceContract.d.ts +36 -0
- package/dist/useCases/updateServiceContract.js +47 -0
- package/dist/useCases/updateServiceContract.js.map +1 -0
- package/dist/useCases/updateServiceContractTicketSchedule.d.ts +39 -0
- package/dist/useCases/updateServiceContractTicketSchedule.js +47 -0
- package/dist/useCases/updateServiceContractTicketSchedule.js.map +1 -0
- package/dist/validate.d.ts +23 -0
- package/dist/validate.js +4 -1
- package/dist/validate.js.map +1 -1
- package/package.json +6 -6
- package/dist/useCases/describeConciergeBillsSummary.js.map +0 -1
- package/dist/useCases/listConciergeWorkspaceBillLines.js.map +0 -1
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
//#region .generated/useCases/describeServiceContract.ts
|
|
2
|
+
/**
|
|
3
|
+
* Reads one Service contract as Kohost staff see it, vendor amounts included.
|
|
4
|
+
*/
|
|
5
|
+
var DescribeServiceContractCommand = class DescribeServiceContractCommand {
|
|
6
|
+
url;
|
|
7
|
+
data;
|
|
8
|
+
query;
|
|
9
|
+
headers;
|
|
10
|
+
config;
|
|
11
|
+
static params = ["id"];
|
|
12
|
+
static url = "/service-contracts/:id";
|
|
13
|
+
static method = "get";
|
|
14
|
+
constructor(commandConfig, options = {}) {
|
|
15
|
+
const pathParams = DescribeServiceContractCommand.params;
|
|
16
|
+
let { data, query, headers } = commandConfig ?? {};
|
|
17
|
+
if (typeof data === "undefined") data = null;
|
|
18
|
+
if (typeof query === "undefined") query = null;
|
|
19
|
+
if (typeof headers === "undefined") headers = null;
|
|
20
|
+
let url = DescribeServiceContractCommand.url;
|
|
21
|
+
if (pathParams && data) for (const param of pathParams) {
|
|
22
|
+
const urlParam = ":" + param;
|
|
23
|
+
url = url.replace(urlParam, data[param]);
|
|
24
|
+
}
|
|
25
|
+
const missingParams = url.match(/:[a-zA-Z0-9]+/g);
|
|
26
|
+
if (missingParams) {
|
|
27
|
+
const missing = missingParams.map((param) => param.replace(":", ""));
|
|
28
|
+
throw new Error("Missing parameters: " + missing.join(", "));
|
|
29
|
+
}
|
|
30
|
+
this.url = url;
|
|
31
|
+
this.data = data;
|
|
32
|
+
this.query = query;
|
|
33
|
+
this.headers = headers;
|
|
34
|
+
this.config = {
|
|
35
|
+
method: DescribeServiceContractCommand.method,
|
|
36
|
+
url,
|
|
37
|
+
data,
|
|
38
|
+
params: query,
|
|
39
|
+
headers,
|
|
40
|
+
...options
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
//#endregion
|
|
45
|
+
export { DescribeServiceContractCommand };
|
|
46
|
+
|
|
47
|
+
//# sourceMappingURL=describeServiceContract.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"describeServiceContract.js","names":[],"sources":["../../.generated/useCases/describeServiceContract.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface DescribeServiceContractCommandConfig {\n data?: { id: string; [key: string]: unknown } | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface DescribeServiceContractCommandRequestConfig {\n method: \"get\";\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 * Reads one Service contract as Kohost staff see it, vendor amounts included.\n */\nexport class DescribeServiceContractCommand {\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: DescribeServiceContractCommandRequestConfig;\n\n static params = [\"id\"] as const;\n static url = \"/service-contracts/:id\";\n static method = \"get\" as const;\n\n constructor(commandConfig: DescribeServiceContractCommandConfig, options: Record<string, unknown> = {}) {\n const pathParams = DescribeServiceContractCommand.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 = DescribeServiceContractCommand.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: DescribeServiceContractCommand.method,\n url: url,\n data: data,\n params: query,\n headers: headers,\n ...options,\n };\n }\n}\n"],"mappings":";;;;AAoBA,IAAa,iCAAb,MAAa,+BAA+B;CAC1C;CACA;CACA;CACA;CACA;CAEA,OAAO,SAAS,CAAC,IAAI;CACrB,OAAO,MAAM;CACb,OAAO,SAAS;CAEhB,YAAY,eAAqD,UAAmC,CAAC,GAAG;EACtG,MAAM,aAAa,+BAA+B;EAElD,IAAI,EAAE,MAAM,OAAO,YAAY,iBAAiB,CAAC;EAEjD,IAAI,OAAO,SAAS,aAAa,OAAO;EACxC,IAAI,OAAO,UAAU,aAAa,QAAQ;EAC1C,IAAI,OAAO,YAAY,aAAa,UAAU;EAG9C,IAAI,MAAc,+BAA+B;EAEjD,IAAI,cAAc,MAChB,KAAK,MAAM,SAAS,YAAY;GAC9B,MAAM,WAAW,MAAM;GACvB,MAAM,IAAI,QAAQ,UAAW,KAAgC,MAAM;EACrE;EAIF,MAAM,gBAAgB,IAAI,MAAM,gBAAgB;EAChD,IAAI,eAAe;GACjB,MAAM,UAAU,cAAc,KAAK,UAAU,MAAM,QAAQ,KAAK,EAAE,CAAC;GACnE,MAAM,IAAI,MAAM,yBAAyB,QAAQ,KAAK,IAAI,CAAC;EAC7D;EAEA,KAAK,MAAM;EACX,KAAK,OAAO;EACZ,KAAK,QAAQ;EACb,KAAK,UAAU;EAEf,KAAK,SAAS;GACZ,QAAQ,+BAA+B;GAClC;GACC;GACN,QAAQ;GACC;GACT,GAAG;EACL;CACF;AACF"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export interface DuplicateServiceContractCommandConfig {
|
|
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
|
+
export interface DuplicateServiceContractCommandRequestConfig {
|
|
10
|
+
method: "post";
|
|
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
|
+
* Copies a Service contract in any status into a new draft: name with " (copy)", contract number, description, and both streams (amounts, cadences, Vendor, and customer splits with their vendor amounts and fresh ids), starting this month. The approval, documents, term and Ticket schedules are not copied.
|
|
22
|
+
*/
|
|
23
|
+
export declare class DuplicateServiceContractCommand {
|
|
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: DuplicateServiceContractCommandRequestConfig;
|
|
32
|
+
static params: readonly ["id"];
|
|
33
|
+
static url: string;
|
|
34
|
+
static method: "post";
|
|
35
|
+
constructor(commandConfig: DuplicateServiceContractCommandConfig, options?: Record<string, unknown>);
|
|
36
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
//#region .generated/useCases/duplicateServiceContract.ts
|
|
2
|
+
/**
|
|
3
|
+
* Copies a Service contract in any status into a new draft: name with " (copy)", contract number, description, and both streams (amounts, cadences, Vendor, and customer splits with their vendor amounts and fresh ids), starting this month. The approval, documents, term and Ticket schedules are not copied.
|
|
4
|
+
*/
|
|
5
|
+
var DuplicateServiceContractCommand = class DuplicateServiceContractCommand {
|
|
6
|
+
url;
|
|
7
|
+
data;
|
|
8
|
+
query;
|
|
9
|
+
headers;
|
|
10
|
+
config;
|
|
11
|
+
static params = ["id"];
|
|
12
|
+
static url = "/service-contracts/:id/duplicate";
|
|
13
|
+
static method = "post";
|
|
14
|
+
constructor(commandConfig, options = {}) {
|
|
15
|
+
const pathParams = DuplicateServiceContractCommand.params;
|
|
16
|
+
let { data, query, headers } = commandConfig ?? {};
|
|
17
|
+
if (typeof data === "undefined") data = null;
|
|
18
|
+
if (typeof query === "undefined") query = null;
|
|
19
|
+
if (typeof headers === "undefined") headers = null;
|
|
20
|
+
let url = DuplicateServiceContractCommand.url;
|
|
21
|
+
if (pathParams && data) for (const param of pathParams) {
|
|
22
|
+
const urlParam = ":" + param;
|
|
23
|
+
url = url.replace(urlParam, data[param]);
|
|
24
|
+
}
|
|
25
|
+
const missingParams = url.match(/:[a-zA-Z0-9]+/g);
|
|
26
|
+
if (missingParams) {
|
|
27
|
+
const missing = missingParams.map((param) => param.replace(":", ""));
|
|
28
|
+
throw new Error("Missing parameters: " + missing.join(", "));
|
|
29
|
+
}
|
|
30
|
+
this.url = url;
|
|
31
|
+
this.data = data;
|
|
32
|
+
this.query = query;
|
|
33
|
+
this.headers = headers;
|
|
34
|
+
this.config = {
|
|
35
|
+
method: DuplicateServiceContractCommand.method,
|
|
36
|
+
url,
|
|
37
|
+
data,
|
|
38
|
+
params: query,
|
|
39
|
+
headers,
|
|
40
|
+
...options
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
//#endregion
|
|
45
|
+
export { DuplicateServiceContractCommand };
|
|
46
|
+
|
|
47
|
+
//# sourceMappingURL=duplicateServiceContract.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"duplicateServiceContract.js","names":[],"sources":["../../.generated/useCases/duplicateServiceContract.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface DuplicateServiceContractCommandConfig {\n data?: { id: string; [key: string]: unknown } | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface DuplicateServiceContractCommandRequestConfig {\n method: \"post\";\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 * Copies a Service contract in any status into a new draft: name with \" (copy)\", contract number, description, and both streams (amounts, cadences, Vendor, and customer splits with their vendor amounts and fresh ids), starting this month. The approval, documents, term and Ticket schedules are not copied.\n */\nexport class DuplicateServiceContractCommand {\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: DuplicateServiceContractCommandRequestConfig;\n\n static params = [\"id\"] as const;\n static url = \"/service-contracts/:id/duplicate\";\n static method = \"post\" as const;\n\n constructor(commandConfig: DuplicateServiceContractCommandConfig, options: Record<string, unknown> = {}) {\n const pathParams = DuplicateServiceContractCommand.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 = DuplicateServiceContractCommand.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: DuplicateServiceContractCommand.method,\n url: url,\n data: data,\n params: query,\n headers: headers,\n ...options,\n };\n }\n}\n"],"mappings":";;;;AAoBA,IAAa,kCAAb,MAAa,gCAAgC;CAC3C;CACA;CACA;CACA;CACA;CAEA,OAAO,SAAS,CAAC,IAAI;CACrB,OAAO,MAAM;CACb,OAAO,SAAS;CAEhB,YAAY,eAAsD,UAAmC,CAAC,GAAG;EACvG,MAAM,aAAa,gCAAgC;EAEnD,IAAI,EAAE,MAAM,OAAO,YAAY,iBAAiB,CAAC;EAEjD,IAAI,OAAO,SAAS,aAAa,OAAO;EACxC,IAAI,OAAO,UAAU,aAAa,QAAQ;EAC1C,IAAI,OAAO,YAAY,aAAa,UAAU;EAG9C,IAAI,MAAc,gCAAgC;EAElD,IAAI,cAAc,MAChB,KAAK,MAAM,SAAS,YAAY;GAC9B,MAAM,WAAW,MAAM;GACvB,MAAM,IAAI,QAAQ,UAAW,KAAgC,MAAM;EACrE;EAIF,MAAM,gBAAgB,IAAI,MAAM,gBAAgB;EAChD,IAAI,eAAe;GACjB,MAAM,UAAU,cAAc,KAAK,UAAU,MAAM,QAAQ,KAAK,EAAE,CAAC;GACnE,MAAM,IAAI,MAAM,yBAAyB,QAAQ,KAAK,IAAI,CAAC;EAC7D;EAEA,KAAK,MAAM;EACX,KAAK,OAAO;EACZ,KAAK,QAAQ;EACb,KAAK,UAAU;EAEf,KAAK,SAAS;GACZ,QAAQ,gCAAgC;GACnC;GACC;GACN,QAAQ;GACC;GACT,GAAG;EACL;CACF;AACF"}
|
package/dist/useCases/index.d.ts
CHANGED
|
@@ -100,8 +100,8 @@ export { DescribeConciergeStatsFiltersCommand } from "./describeConciergeStatsFi
|
|
|
100
100
|
export { DescribeConciergeStatsTicketsCommand } from "./describeConciergeStatsTickets.js";
|
|
101
101
|
export { DescribeConciergeStatsHeatmapCommand } from "./describeConciergeStatsHeatmap.js";
|
|
102
102
|
export { ListConciergeWorkspaceBillsCommand } from "./listConciergeWorkspaceBills.js";
|
|
103
|
-
export {
|
|
104
|
-
export {
|
|
103
|
+
export { ListConciergeCostLedgerCommand } from "./listConciergeCostLedger.js";
|
|
104
|
+
export { ListConciergeServiceContractsCommand } from "./listConciergeServiceContracts.js";
|
|
105
105
|
export { ListConciergeWorkspaceTicketsCommand } from "./listConciergeWorkspaceTickets.js";
|
|
106
106
|
export { DescribeConciergeStageCountsCommand } from "./describeConciergeStageCounts.js";
|
|
107
107
|
export { DescribeConciergeWorkspaceFiltersCommand } from "./describeConciergeWorkspaceFilters.js";
|
|
@@ -241,3 +241,19 @@ export { DescribeAnnouncementCommand } from "./describeAnnouncement.js";
|
|
|
241
241
|
export { CreateAnnouncementPresetCommand } from "./createAnnouncementPreset.js";
|
|
242
242
|
export { UpdateAnnouncementPresetCommand } from "./updateAnnouncementPreset.js";
|
|
243
243
|
export { DeleteAnnouncementPresetCommand } from "./deleteAnnouncementPreset.js";
|
|
244
|
+
export { ListServiceContractsCommand } from "./listServiceContracts.js";
|
|
245
|
+
export { DescribeServiceContractCommand } from "./describeServiceContract.js";
|
|
246
|
+
export { CreateServiceContractCommand } from "./createServiceContract.js";
|
|
247
|
+
export { UpdateServiceContractCommand } from "./updateServiceContract.js";
|
|
248
|
+
export { DuplicateServiceContractCommand } from "./duplicateServiceContract.js";
|
|
249
|
+
export { ActivateServiceContractCommand } from "./activateServiceContract.js";
|
|
250
|
+
export { ListOrganizationServiceContractsCommand } from "./listOrganizationServiceContracts.js";
|
|
251
|
+
export { DescribeOrganizationServiceContractCommand } from "./describeOrganizationServiceContract.js";
|
|
252
|
+
export { ListServiceContractCostsCommand } from "./listServiceContractCosts.js";
|
|
253
|
+
export { ListServiceContractTicketSchedulesCommand } from "./listServiceContractTicketSchedules.js";
|
|
254
|
+
export { AddServiceContractTicketScheduleCommand } from "./addServiceContractTicketSchedule.js";
|
|
255
|
+
export { UpdateServiceContractTicketScheduleCommand } from "./updateServiceContractTicketSchedule.js";
|
|
256
|
+
export { RemoveServiceContractTicketScheduleCommand } from "./removeServiceContractTicketSchedule.js";
|
|
257
|
+
export { CancelServiceContractCommand } from "./cancelServiceContract.js";
|
|
258
|
+
export { AddDueContractCostsCommand } from "./addDueContractCosts.js";
|
|
259
|
+
export { DeleteServiceContractCommand } from "./deleteServiceContract.js";
|
package/dist/useCases/index.js
CHANGED
|
@@ -101,8 +101,8 @@ import { DescribeConciergeStatsFiltersCommand } from "./describeConciergeStatsFi
|
|
|
101
101
|
import { DescribeConciergeStatsTicketsCommand } from "./describeConciergeStatsTickets.js";
|
|
102
102
|
import { DescribeConciergeStatsHeatmapCommand } from "./describeConciergeStatsHeatmap.js";
|
|
103
103
|
import { ListConciergeWorkspaceBillsCommand } from "./listConciergeWorkspaceBills.js";
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
104
|
+
import { ListConciergeCostLedgerCommand } from "./listConciergeCostLedger.js";
|
|
105
|
+
import { ListConciergeServiceContractsCommand } from "./listConciergeServiceContracts.js";
|
|
106
106
|
import { ListConciergeWorkspaceTicketsCommand } from "./listConciergeWorkspaceTickets.js";
|
|
107
107
|
import { DescribeConciergeStageCountsCommand } from "./describeConciergeStageCounts.js";
|
|
108
108
|
import { DescribeConciergeWorkspaceFiltersCommand } from "./describeConciergeWorkspaceFilters.js";
|
|
@@ -242,15 +242,35 @@ import { DescribeAnnouncementCommand } from "./describeAnnouncement.js";
|
|
|
242
242
|
import { CreateAnnouncementPresetCommand } from "./createAnnouncementPreset.js";
|
|
243
243
|
import { UpdateAnnouncementPresetCommand } from "./updateAnnouncementPreset.js";
|
|
244
244
|
import { DeleteAnnouncementPresetCommand } from "./deleteAnnouncementPreset.js";
|
|
245
|
+
import { ListServiceContractsCommand } from "./listServiceContracts.js";
|
|
246
|
+
import { DescribeServiceContractCommand } from "./describeServiceContract.js";
|
|
247
|
+
import { CreateServiceContractCommand } from "./createServiceContract.js";
|
|
248
|
+
import { UpdateServiceContractCommand } from "./updateServiceContract.js";
|
|
249
|
+
import { DuplicateServiceContractCommand } from "./duplicateServiceContract.js";
|
|
250
|
+
import { ActivateServiceContractCommand } from "./activateServiceContract.js";
|
|
251
|
+
import { ListOrganizationServiceContractsCommand } from "./listOrganizationServiceContracts.js";
|
|
252
|
+
import { DescribeOrganizationServiceContractCommand } from "./describeOrganizationServiceContract.js";
|
|
253
|
+
import { ListServiceContractCostsCommand } from "./listServiceContractCosts.js";
|
|
254
|
+
import { ListServiceContractTicketSchedulesCommand } from "./listServiceContractTicketSchedules.js";
|
|
255
|
+
import { AddServiceContractTicketScheduleCommand } from "./addServiceContractTicketSchedule.js";
|
|
256
|
+
import { UpdateServiceContractTicketScheduleCommand } from "./updateServiceContractTicketSchedule.js";
|
|
257
|
+
import { RemoveServiceContractTicketScheduleCommand } from "./removeServiceContractTicketSchedule.js";
|
|
258
|
+
import { CancelServiceContractCommand } from "./cancelServiceContract.js";
|
|
259
|
+
import { AddDueContractCostsCommand } from "./addDueContractCosts.js";
|
|
260
|
+
import { DeleteServiceContractCommand } from "./deleteServiceContract.js";
|
|
245
261
|
//#region .generated/useCases/index.ts
|
|
246
262
|
var useCases_exports = /* @__PURE__ */ __exportAll({
|
|
247
263
|
AcknowledgeCostDivergenceCommand: () => AcknowledgeCostDivergenceCommand,
|
|
264
|
+
ActivateServiceContractCommand: () => ActivateServiceContractCommand,
|
|
248
265
|
AddBillLineCommand: () => AddBillLineCommand,
|
|
249
266
|
AddBillLinesCommand: () => AddBillLinesCommand,
|
|
267
|
+
AddDueContractCostsCommand: () => AddDueContractCostsCommand,
|
|
250
268
|
AddSOSEventNoteCommand: () => AddSOSEventNoteCommand,
|
|
269
|
+
AddServiceContractTicketScheduleCommand: () => AddServiceContractTicketScheduleCommand,
|
|
251
270
|
AddStaffFunctionMemberCommand: () => AddStaffFunctionMemberCommand,
|
|
252
271
|
AutoAssociateDiscoveredDevicesCommand: () => AutoAssociateDiscoveredDevicesCommand,
|
|
253
272
|
BulkUpdateIssueCommand: () => BulkUpdateIssueCommand,
|
|
273
|
+
CancelServiceContractCommand: () => CancelServiceContractCommand,
|
|
254
274
|
CancelWorkItemCommand: () => CancelWorkItemCommand,
|
|
255
275
|
CheckVerificationCodeCommand: () => CheckVerificationCodeCommand,
|
|
256
276
|
ClearAwaitingResponseCommand: () => ClearAwaitingResponseCommand,
|
|
@@ -278,6 +298,7 @@ var useCases_exports = /* @__PURE__ */ __exportAll({
|
|
|
278
298
|
CreatePwaHandoffTokenCommand: () => CreatePwaHandoffTokenCommand,
|
|
279
299
|
CreateResourceCommand: () => CreateResourceCommand,
|
|
280
300
|
CreateServerCommand: () => CreateServerCommand,
|
|
301
|
+
CreateServiceContractCommand: () => CreateServiceContractCommand,
|
|
281
302
|
CreateSpaceCommand: () => CreateSpaceCommand,
|
|
282
303
|
CreateSystemCommand: () => CreateSystemCommand,
|
|
283
304
|
CreateTicketCommand: () => CreateTicketCommand,
|
|
@@ -302,6 +323,7 @@ var useCases_exports = /* @__PURE__ */ __exportAll({
|
|
|
302
323
|
DeletePropertyCommand: () => DeletePropertyCommand,
|
|
303
324
|
DeleteResourceCommand: () => DeleteResourceCommand,
|
|
304
325
|
DeleteServerCommand: () => DeleteServerCommand,
|
|
326
|
+
DeleteServiceContractCommand: () => DeleteServiceContractCommand,
|
|
305
327
|
DeleteSessionCommand: () => DeleteSessionCommand,
|
|
306
328
|
DeleteSpaceCommand: () => DeleteSpaceCommand,
|
|
307
329
|
DeleteStaffUserCommand: () => DeleteStaffUserCommand,
|
|
@@ -316,7 +338,6 @@ var useCases_exports = /* @__PURE__ */ __exportAll({
|
|
|
316
338
|
DescribeAutomationCommand: () => DescribeAutomationCommand,
|
|
317
339
|
DescribeBillCommand: () => DescribeBillCommand,
|
|
318
340
|
DescribeCategoryCommand: () => DescribeCategoryCommand,
|
|
319
|
-
DescribeConciergeBillsSummaryCommand: () => DescribeConciergeBillsSummaryCommand,
|
|
320
341
|
DescribeConciergeFacilitiesViewerCommand: () => DescribeConciergeFacilitiesViewerCommand,
|
|
321
342
|
DescribeConciergeStageCountsCommand: () => DescribeConciergeStageCountsCommand,
|
|
322
343
|
DescribeConciergeStatsFiltersCommand: () => DescribeConciergeStatsFiltersCommand,
|
|
@@ -335,6 +356,7 @@ var useCases_exports = /* @__PURE__ */ __exportAll({
|
|
|
335
356
|
DescribeOrgNotificationDefaultsCommand: () => DescribeOrgNotificationDefaultsCommand,
|
|
336
357
|
DescribeOrganizationBillCommand: () => DescribeOrganizationBillCommand,
|
|
337
358
|
DescribeOrganizationCommand: () => DescribeOrganizationCommand,
|
|
359
|
+
DescribeOrganizationServiceContractCommand: () => DescribeOrganizationServiceContractCommand,
|
|
338
360
|
DescribePolicyCommand: () => DescribePolicyCommand,
|
|
339
361
|
DescribePropertyCommand: () => DescribePropertyCommand,
|
|
340
362
|
DescribePushVapidPublicKeyCommand: () => DescribePushVapidPublicKeyCommand,
|
|
@@ -345,6 +367,7 @@ var useCases_exports = /* @__PURE__ */ __exportAll({
|
|
|
345
367
|
DescribeSelfAccessCommand: () => DescribeSelfAccessCommand,
|
|
346
368
|
DescribeSelfCommand: () => DescribeSelfCommand,
|
|
347
369
|
DescribeServerCommand: () => DescribeServerCommand,
|
|
370
|
+
DescribeServiceContractCommand: () => DescribeServiceContractCommand,
|
|
348
371
|
DescribeSessionCommand: () => DescribeSessionCommand,
|
|
349
372
|
DescribeSpaceCommand: () => DescribeSpaceCommand,
|
|
350
373
|
DescribeStaffFunctionsCommand: () => DescribeStaffFunctionsCommand,
|
|
@@ -360,6 +383,7 @@ var useCases_exports = /* @__PURE__ */ __exportAll({
|
|
|
360
383
|
DescribeTimeSheetStatsCommand: () => DescribeTimeSheetStatsCommand,
|
|
361
384
|
DescribeUserCommand: () => DescribeUserCommand,
|
|
362
385
|
DescribeVendorCommand: () => DescribeVendorCommand,
|
|
386
|
+
DuplicateServiceContractCommand: () => DuplicateServiceContractCommand,
|
|
363
387
|
EditCostCommand: () => EditCostCommand,
|
|
364
388
|
EditCostEntryCommand: () => EditCostEntryCommand,
|
|
365
389
|
EmailUserAccountSetupCommand: () => EmailUserAccountSetupCommand,
|
|
@@ -374,8 +398,9 @@ var useCases_exports = /* @__PURE__ */ __exportAll({
|
|
|
374
398
|
ListBillsCommand: () => ListBillsCommand,
|
|
375
399
|
ListCameraStreamPreviewsCommand: () => ListCameraStreamPreviewsCommand,
|
|
376
400
|
ListCategoriesCommand: () => ListCategoriesCommand,
|
|
401
|
+
ListConciergeCostLedgerCommand: () => ListConciergeCostLedgerCommand,
|
|
402
|
+
ListConciergeServiceContractsCommand: () => ListConciergeServiceContractsCommand,
|
|
377
403
|
ListConciergeUninvoicedCostsCommand: () => ListConciergeUninvoicedCostsCommand,
|
|
378
|
-
ListConciergeWorkspaceBillLinesCommand: () => ListConciergeWorkspaceBillLinesCommand,
|
|
379
404
|
ListConciergeWorkspaceBillsCommand: () => ListConciergeWorkspaceBillsCommand,
|
|
380
405
|
ListConciergeWorkspaceTicketsCommand: () => ListConciergeWorkspaceTicketsCommand,
|
|
381
406
|
ListDepartmentsCommand: () => ListDepartmentsCommand,
|
|
@@ -392,6 +417,7 @@ var useCases_exports = /* @__PURE__ */ __exportAll({
|
|
|
392
417
|
ListMyPushSubscriptionsCommand: () => ListMyPushSubscriptionsCommand,
|
|
393
418
|
ListMyTimeSheetsCommand: () => ListMyTimeSheetsCommand,
|
|
394
419
|
ListOrganizationBillsCommand: () => ListOrganizationBillsCommand,
|
|
420
|
+
ListOrganizationServiceContractsCommand: () => ListOrganizationServiceContractsCommand,
|
|
395
421
|
ListOrganizationsCommand: () => ListOrganizationsCommand,
|
|
396
422
|
ListPoliciesCommand: () => ListPoliciesCommand,
|
|
397
423
|
ListPropertiesCommand: () => ListPropertiesCommand,
|
|
@@ -401,6 +427,9 @@ var useCases_exports = /* @__PURE__ */ __exportAll({
|
|
|
401
427
|
ListSISPeopleCommand: () => ListSISPeopleCommand,
|
|
402
428
|
ListSOSEventsCommand: () => ListSOSEventsCommand,
|
|
403
429
|
ListServersCommand: () => ListServersCommand,
|
|
430
|
+
ListServiceContractCostsCommand: () => ListServiceContractCostsCommand,
|
|
431
|
+
ListServiceContractTicketSchedulesCommand: () => ListServiceContractTicketSchedulesCommand,
|
|
432
|
+
ListServiceContractsCommand: () => ListServiceContractsCommand,
|
|
404
433
|
ListSessionsCommand: () => ListSessionsCommand,
|
|
405
434
|
ListSpacesCommand: () => ListSpacesCommand,
|
|
406
435
|
ListSystemsCommand: () => ListSystemsCommand,
|
|
@@ -423,6 +452,7 @@ var useCases_exports = /* @__PURE__ */ __exportAll({
|
|
|
423
452
|
ReinstateCostCommand: () => ReinstateCostCommand,
|
|
424
453
|
ReinstateCostEntryCommand: () => ReinstateCostEntryCommand,
|
|
425
454
|
RemoveBillLineCommand: () => RemoveBillLineCommand,
|
|
455
|
+
RemoveServiceContractTicketScheduleCommand: () => RemoveServiceContractTicketScheduleCommand,
|
|
426
456
|
RemoveStaffFunctionMemberCommand: () => RemoveStaffFunctionMemberCommand,
|
|
427
457
|
ReplaceDeviceCommand: () => ReplaceDeviceCommand,
|
|
428
458
|
RequestApprovalCommand: () => RequestApprovalCommand,
|
|
@@ -472,6 +502,8 @@ var useCases_exports = /* @__PURE__ */ __exportAll({
|
|
|
472
502
|
UpdateResourceCommand: () => UpdateResourceCommand,
|
|
473
503
|
UpdateSelfCommand: () => UpdateSelfCommand,
|
|
474
504
|
UpdateServerCommand: () => UpdateServerCommand,
|
|
505
|
+
UpdateServiceContractCommand: () => UpdateServiceContractCommand,
|
|
506
|
+
UpdateServiceContractTicketScheduleCommand: () => UpdateServiceContractTicketScheduleCommand,
|
|
475
507
|
UpdateSpaceCommand: () => UpdateSpaceCommand,
|
|
476
508
|
UpdateStaffUserCommand: () => UpdateStaffUserCommand,
|
|
477
509
|
UpdateSystemCommand: () => UpdateSystemCommand,
|
|
@@ -489,6 +521,6 @@ var useCases_exports = /* @__PURE__ */ __exportAll({
|
|
|
489
521
|
WriteOffCostEntryCommand: () => WriteOffCostEntryCommand
|
|
490
522
|
});
|
|
491
523
|
//#endregion
|
|
492
|
-
export { AcknowledgeCostDivergenceCommand, AddBillLineCommand, AddBillLinesCommand, AddSOSEventNoteCommand, AddStaffFunctionMemberCommand, AutoAssociateDiscoveredDevicesCommand, BulkUpdateIssueCommand, CancelWorkItemCommand, CheckVerificationCodeCommand, ClearAwaitingResponseCommand, ClearWorkItemNoChargeCommand, ClearWorkItemVerificationCommand, CopyIssueRoutingCommand, CreateAnnouncementPresetCommand, CreateApiKeyCommand, CreateAutomationCommand, CreateBillCommand, CreateBillingCategoryCommand, CreateCategoryCommand, CreateCostCommand, CreateDefaultAutomationsCommand, CreateDepartmentCommand, CreateDeviceCommand, CreateDeviceCredentialCommand, CreateDiscoveredDeviceAssociationCommand, CreateDiscoveredDeviceAssociationMapCommand, CreateDiscoveredDeviceCommand, CreateIssueCommand, CreateOrganizationCommand, CreatePolicyCommand, CreatePropertyCommand, CreatePwaHandoffTokenCommand, CreateResourceCommand, CreateServerCommand, CreateSpaceCommand, CreateSystemCommand, CreateTicketCommand, CreateTicketMessageCommand, CreateTimeSheetCommand, CreateTimeSheetTimeEntryCommand, CreateUserCommand, CreateVendorCommand, DecideApprovalCommand, DeleteAnnouncementPresetCommand, DeleteAutomationCommand, DeleteBillCommand, DeleteCategoryCommand, DeleteDepartmentCommand, DeleteDeviceCommand, DeleteDeviceCredentialCommand, DeleteDiscoveredDeviceCommand, DeleteIssueCommand, DeleteMediaFileCommand, DeleteOrganizationCommand, DeletePolicyCommand, DeletePropertyCommand, DeleteResourceCommand, DeleteServerCommand, DeleteSessionCommand, DeleteSpaceCommand, DeleteStaffUserCommand, DeleteSystemCommand, DeleteTicketCommand, DeleteTimeSheetCommand, DeleteTimeSheetTimeEntryCommand, DeleteUserCommand, DeleteUserCredentialCommand, DeleteVendorCommand, DescribeAnnouncementCommand, DescribeAutomationCommand, DescribeBillCommand, DescribeCategoryCommand,
|
|
524
|
+
export { AcknowledgeCostDivergenceCommand, ActivateServiceContractCommand, AddBillLineCommand, AddBillLinesCommand, AddDueContractCostsCommand, AddSOSEventNoteCommand, AddServiceContractTicketScheduleCommand, AddStaffFunctionMemberCommand, AutoAssociateDiscoveredDevicesCommand, BulkUpdateIssueCommand, CancelServiceContractCommand, CancelWorkItemCommand, CheckVerificationCodeCommand, ClearAwaitingResponseCommand, ClearWorkItemNoChargeCommand, ClearWorkItemVerificationCommand, CopyIssueRoutingCommand, CreateAnnouncementPresetCommand, CreateApiKeyCommand, CreateAutomationCommand, CreateBillCommand, CreateBillingCategoryCommand, CreateCategoryCommand, CreateCostCommand, CreateDefaultAutomationsCommand, CreateDepartmentCommand, CreateDeviceCommand, CreateDeviceCredentialCommand, CreateDiscoveredDeviceAssociationCommand, CreateDiscoveredDeviceAssociationMapCommand, CreateDiscoveredDeviceCommand, CreateIssueCommand, CreateOrganizationCommand, CreatePolicyCommand, CreatePropertyCommand, CreatePwaHandoffTokenCommand, CreateResourceCommand, CreateServerCommand, CreateServiceContractCommand, CreateSpaceCommand, CreateSystemCommand, CreateTicketCommand, CreateTicketMessageCommand, CreateTimeSheetCommand, CreateTimeSheetTimeEntryCommand, CreateUserCommand, CreateVendorCommand, DecideApprovalCommand, DeleteAnnouncementPresetCommand, DeleteAutomationCommand, DeleteBillCommand, DeleteCategoryCommand, DeleteDepartmentCommand, DeleteDeviceCommand, DeleteDeviceCredentialCommand, DeleteDiscoveredDeviceCommand, DeleteIssueCommand, DeleteMediaFileCommand, DeleteOrganizationCommand, DeletePolicyCommand, DeletePropertyCommand, DeleteResourceCommand, DeleteServerCommand, DeleteServiceContractCommand, DeleteSessionCommand, DeleteSpaceCommand, DeleteStaffUserCommand, DeleteSystemCommand, DeleteTicketCommand, DeleteTimeSheetCommand, DeleteTimeSheetTimeEntryCommand, DeleteUserCommand, DeleteUserCredentialCommand, DeleteVendorCommand, DescribeAnnouncementCommand, DescribeAutomationCommand, DescribeBillCommand, DescribeCategoryCommand, DescribeConciergeFacilitiesViewerCommand, DescribeConciergeStageCountsCommand, DescribeConciergeStatsFiltersCommand, DescribeConciergeStatsHeatmapCommand, DescribeConciergeStatsSummaryCommand, DescribeConciergeStatsTicketsCommand, DescribeConciergeWorkspaceFiltersCommand, DescribeDepartmentCommand, DescribeDeviceCommand, DescribeDeviceConfigCommand, DescribeDiscoveredDeviceCommand, DescribeIssueCommand, DescribeMyAuthCommand, DescribeMyOrganizationCommand, DescribeMyPasskeyRegistrationsCommand, DescribeOrgNotificationDefaultsCommand, DescribeOrganizationBillCommand, DescribeOrganizationCommand, DescribeOrganizationServiceContractCommand, DescribePolicyCommand, DescribePropertyCommand, DescribePushVapidPublicKeyCommand, DescribeResourceCommand, DescribeSISSyncCommand, DescribeSOSCommand, DescribeSOSEventCommand, DescribeSelfAccessCommand, DescribeSelfCommand, DescribeServerCommand, DescribeServiceContractCommand, DescribeSessionCommand, DescribeSpaceCommand, DescribeStaffFunctionsCommand, DescribeSystemCommand, DescribeTicketCommand, DescribeTicketFiltersCommand, DescribeTicketStatsCommand, DescribeTicketStatsFiltersCommand, DescribeTicketStatsHeatmapCommand, DescribeTicketStatsSummaryCommand, DescribeTicketStatsTicketsCommand, DescribeTimeSheetCommand, DescribeTimeSheetStatsCommand, DescribeUserCommand, DescribeVendorCommand, DuplicateServiceContractCommand, EditCostCommand, EditCostEntryCommand, EmailUserAccountSetupCommand, ExportSOSEventReportCommand, FetchEmergencyContactPeopleCommand, FetchEmergencyContactsCommand, GetApiKeyCommand, LeaveTicketCommand, ListAnnouncementsCommand, ListAutomationsCommand, ListBillingCategoriesCommand, ListBillsCommand, ListCameraStreamPreviewsCommand, ListCategoriesCommand, ListConciergeCostLedgerCommand, ListConciergeServiceContractsCommand, ListConciergeUninvoicedCostsCommand, ListConciergeWorkspaceBillsCommand, ListConciergeWorkspaceTicketsCommand, ListDepartmentsCommand, ListDeviceCredentialsCommand, ListDevicesCommand, ListDiscoveredDevicesCommand, ListEligibleApproversCommand, ListFacilitiesStaffIdsCommand, ListIntegrationsCommand, ListIssuesCommand, ListKohostStaffCommand, ListMyOrganizationsCommand, ListMyPropertiesCommand, ListMyPushSubscriptionsCommand, ListMyTimeSheetsCommand, ListOrganizationBillsCommand, ListOrganizationServiceContractsCommand, ListOrganizationsCommand, ListPoliciesCommand, ListPropertiesCommand, ListPropertyCredentialsCommand, ListResourcesCommand, ListSISHouseholdsCommand, ListSISPeopleCommand, ListSOSEventsCommand, ListServersCommand, ListServiceContractCostsCommand, ListServiceContractTicketSchedulesCommand, ListServiceContractsCommand, ListSessionsCommand, ListSpacesCommand, ListSystemsCommand, ListTicketLocationsCommand, ListTicketsCommand, ListTimeSheetsCommand, ListUserSpacesCommand, ListUsersCommand, ListVendorsCommand, LogoutUserCommand, MarkBillPaidCommand, MarkBillSentCommand, MergeIssueCommand, MoveDeviceCommand, PreviewAnnouncementCommand, PreviewBillCommand, PreviewSOSEventReportCommand, RecordCostActualCommand, RecordCostEntryCommand, ReinstateCostCommand, ReinstateCostEntryCommand, RemoveBillLineCommand, RemoveServiceContractTicketScheduleCommand, RemoveStaffFunctionMemberCommand, ReplaceDeviceCommand, RequestApprovalCommand, RescheduleWorkItemCommand, RevokeApiKeyCommand, RotateApiKeyCommand, RunAutomationCommand, ScheduleWorkItemCommand, SelectOrganizationCommand, SendAnnouncementCommand, SendNotificationCommand, SendSOSUpdateCommand, SendVerificationCodeCommand, SetAwaitingResponseCommand, SetCostInvoiceCommand, SetCostVendorInvoiceCommand, SetDeviceCommand, SetDevicesCommand, SetUserSuperAdminCommand, SetWorkItemNoChargeCommand, StartSOSCommand, StopSOSCommand, SubscribePushDeviceCommand, SyncSISRosterCommand, UnsubscribePushDeviceCommand, UpdateAnnouncementPresetCommand, UpdateAutomationCommand, UpdateBillCommand, UpdateBillLineCommand, UpdateBillingCategoryCommand, UpdateCategoryCommand, UpdateDepartmentCommand, UpdateDeviceCommand, UpdateDeviceCredentialCommand, UpdateDiscoveredDeviceCommand, UpdateIssueCommand, UpdateMessageReadStatusCommand, UpdateOrgNotificationDefaultsCommand, UpdateOrganizationBillingAddressCommand, UpdateOrganizationBillingContactsCommand, UpdateOrganizationCommand, UpdateOrganizationFeaturesCommand, UpdateOrganizationTaxExemptCommand, UpdatePolicyCommand, UpdatePropertyCommand, UpdatePropertyFeaturesCommand, UpdateResourceCommand, UpdateSelfCommand, UpdateServerCommand, UpdateServiceContractCommand, UpdateServiceContractTicketScheduleCommand, UpdateSpaceCommand, UpdateStaffUserCommand, UpdateSystemCommand, UpdateTicketCommand, UpdateTimeSheetCommand, UpdateTimeSheetTimeEntryCommand, UpdateUserCommand, UpdateVendorCommand, UpsertDiscoveredDeviceCommand, ValidateAuthCommand, VerifyWorkItemCommand, VoidBillCommand, VoidCostEntryCommand, WriteOffCostCommand, WriteOffCostEntryCommand, useCases_exports };
|
|
493
525
|
|
|
494
526
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../.generated/useCases/index.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport { CreatePwaHandoffTokenCommand } from \"./createPwaHandoffToken.js\";\nexport { LogoutUserCommand } from \"./logoutUser.js\";\nexport { DescribeMyAuthCommand } from \"./describeMyAuth.js\";\nexport { ValidateAuthCommand } from \"./validateAuth.js\";\nexport { SelectOrganizationCommand } from \"./selectOrganization.js\";\nexport { ListMyOrganizationsCommand } from \"./listMyOrganizations.js\";\nexport { DescribeSelfCommand } from \"./describeSelf.js\";\nexport { DescribeSelfAccessCommand } from \"./describeSelfAccess.js\";\nexport { DescribeUserCommand } from \"./describeUser.js\";\nexport { CreateUserCommand } from \"./createUser.js\";\nexport { ListUsersCommand } from \"./listUsers.js\";\nexport { UpdateSelfCommand } from \"./updateSelf.js\";\nexport { UpdateUserCommand } from \"./updateUser.js\";\nexport { DeleteUserCommand } from \"./deleteUser.js\";\nexport { CreateApiKeyCommand } from \"./createApiKey.js\";\nexport { GetApiKeyCommand } from \"./getApiKey.js\";\nexport { RotateApiKeyCommand } from \"./rotateApiKey.js\";\nexport { RevokeApiKeyCommand } from \"./revokeApiKey.js\";\nexport { SendVerificationCodeCommand } from \"./sendVerificationCode.js\";\nexport { CheckVerificationCodeCommand } from \"./checkVerificationCode.js\";\nexport { ListUserSpacesCommand } from \"./listUserSpaces.js\";\nexport { DescribeMyPasskeyRegistrationsCommand } from \"./describeMyPasskeyRegistrations.js\";\nexport { DeleteUserCredentialCommand } from \"./deleteUserCredential.js\";\nexport { CreatePolicyCommand } from \"./createPolicy.js\";\nexport { ListPoliciesCommand } from \"./listPolicies.js\";\nexport { UpdatePolicyCommand } from \"./updatePolicy.js\";\nexport { DeletePolicyCommand } from \"./deletePolicy.js\";\nexport { DescribePolicyCommand } from \"./describePolicy.js\";\nexport { ListSpacesCommand } from \"./listSpaces.js\";\nexport { UpdateSpaceCommand } from \"./updateSpace.js\";\nexport { CreateSpaceCommand } from \"./createSpace.js\";\nexport { DescribeSpaceCommand } from \"./describeSpace.js\";\nexport { DeleteSpaceCommand } from \"./deleteSpace.js\";\nexport { CreateDeviceCommand } from \"./createDevice.js\";\nexport { CreateDeviceCredentialCommand } from \"./createDeviceCredential.js\";\nexport { ListDevicesCommand } from \"./listDevices.js\";\nexport { ListDeviceCredentialsCommand } from \"./listDeviceCredentials.js\";\nexport { ListCameraStreamPreviewsCommand } from \"./listCameraStreamPreviews.js\";\nexport { DescribeDeviceCommand } from \"./describeDevice.js\";\nexport { UpdateDeviceCommand } from \"./updateDevice.js\";\nexport { UpdateDeviceCredentialCommand } from \"./updateDeviceCredential.js\";\nexport { SetDeviceCommand } from \"./setDevice.js\";\nexport { DeleteDeviceCommand } from \"./deleteDevice.js\";\nexport { DeleteDeviceCredentialCommand } from \"./deleteDeviceCredential.js\";\nexport { MoveDeviceCommand } from \"./moveDevice.js\";\nexport { ReplaceDeviceCommand } from \"./replaceDevice.js\";\nexport { DescribeDeviceConfigCommand } from \"./describeDeviceConfig.js\";\nexport { CreateCategoryCommand } from \"./createCategory.js\";\nexport { DeleteCategoryCommand } from \"./deleteCategory.js\";\nexport { DescribeCategoryCommand } from \"./describeCategory.js\";\nexport { ListCategoriesCommand } from \"./listCategories.js\";\nexport { UpdateCategoryCommand } from \"./updateCategory.js\";\nexport { CreateResourceCommand } from \"./createResource.js\";\nexport { DeleteResourceCommand } from \"./deleteResource.js\";\nexport { DescribeResourceCommand } from \"./describeResource.js\";\nexport { ListResourcesCommand } from \"./listResources.js\";\nexport { UpdateResourceCommand } from \"./updateResource.js\";\nexport { DescribeDepartmentCommand } from \"./describeDepartment.js\";\nexport { ListDepartmentsCommand } from \"./listDepartments.js\";\nexport { DeleteDepartmentCommand } from \"./deleteDepartment.js\";\nexport { CreateDepartmentCommand } from \"./createDepartment.js\";\nexport { UpdateDepartmentCommand } from \"./updateDepartment.js\";\nexport { DescribeTicketStatsCommand } from \"./describeTicketStats.js\";\nexport { DescribeTicketStatsSummaryCommand } from \"./describeTicketStatsSummary.js\";\nexport { DescribeTicketStatsTicketsCommand } from \"./describeTicketStatsTickets.js\";\nexport { DescribeTicketStatsHeatmapCommand } from \"./describeTicketStatsHeatmap.js\";\nexport { DescribeTicketStatsFiltersCommand } from \"./describeTicketStatsFilters.js\";\nexport { CreateTicketCommand } from \"./createTicket.js\";\nexport { CreateTicketMessageCommand } from \"./createTicketMessage.js\";\nexport { DeleteTicketCommand } from \"./deleteTicket.js\";\nexport { ListTicketLocationsCommand } from \"./listTicketLocations.js\";\nexport { DescribeTicketFiltersCommand } from \"./describeTicketFilters.js\";\nexport { DescribeTicketCommand } from \"./describeTicket.js\";\nexport { ListTicketsCommand } from \"./listTickets.js\";\nexport { UpdateMessageReadStatusCommand } from \"./updateMessageReadStatus.js\";\nexport { UpdateTicketCommand } from \"./updateTicket.js\";\nexport { LeaveTicketCommand } from \"./leaveTicket.js\";\nexport { CreateDiscoveredDeviceAssociationMapCommand } from \"./createDiscoveredDeviceAssociationMap.js\";\nexport { AutoAssociateDiscoveredDevicesCommand } from \"./autoAssociateDiscoveredDevices.js\";\nexport { CreateDiscoveredDeviceCommand } from \"./createDiscoveredDevice.js\";\nexport { ListDiscoveredDevicesCommand } from \"./listDiscoveredDevices.js\";\nexport { UpdateDiscoveredDeviceCommand } from \"./updateDiscoveredDevice.js\";\nexport { DeleteDiscoveredDeviceCommand } from \"./deleteDiscoveredDevice.js\";\nexport { DescribeDiscoveredDeviceCommand } from \"./describeDiscoveredDevice.js\";\nexport { UpsertDiscoveredDeviceCommand } from \"./upsertDiscoveredDevice.js\";\nexport { CreateDiscoveredDeviceAssociationCommand } from \"./createDiscoveredDeviceAssociation.js\";\nexport { ListIntegrationsCommand } from \"./listIntegrations.js\";\nexport { DescribeMyOrganizationCommand } from \"./describeMyOrganization.js\";\nexport { CreateOrganizationCommand } from \"./createOrganization.js\";\nexport { UpdateOrganizationCommand } from \"./updateOrganization.js\";\nexport { UpdateOrganizationFeaturesCommand } from \"./updateOrganizationFeatures.js\";\nexport { UpdateOrganizationBillingAddressCommand } from \"./updateOrganizationBillingAddress.js\";\nexport { UpdateOrganizationBillingContactsCommand } from \"./updateOrganizationBillingContacts.js\";\nexport { UpdateOrganizationTaxExemptCommand } from \"./updateOrganizationTaxExempt.js\";\nexport { DeleteOrganizationCommand } from \"./deleteOrganization.js\";\nexport { DescribeOrganizationCommand } from \"./describeOrganization.js\";\nexport { ListOrganizationsCommand } from \"./listOrganizations.js\";\nexport { DescribeConciergeStatsSummaryCommand } from \"./describeConciergeStatsSummary.js\";\nexport { DescribeConciergeStatsFiltersCommand } from \"./describeConciergeStatsFilters.js\";\nexport { DescribeConciergeStatsTicketsCommand } from \"./describeConciergeStatsTickets.js\";\nexport { DescribeConciergeStatsHeatmapCommand } from \"./describeConciergeStatsHeatmap.js\";\nexport { ListConciergeWorkspaceBillsCommand } from \"./listConciergeWorkspaceBills.js\";\nexport { ListConciergeWorkspaceBillLinesCommand } from \"./listConciergeWorkspaceBillLines.js\";\nexport { DescribeConciergeBillsSummaryCommand } from \"./describeConciergeBillsSummary.js\";\nexport { ListConciergeWorkspaceTicketsCommand } from \"./listConciergeWorkspaceTickets.js\";\nexport { DescribeConciergeStageCountsCommand } from \"./describeConciergeStageCounts.js\";\nexport { DescribeConciergeWorkspaceFiltersCommand } from \"./describeConciergeWorkspaceFilters.js\";\nexport { ListConciergeUninvoicedCostsCommand } from \"./listConciergeUninvoicedCosts.js\";\nexport { ListPropertiesCommand } from \"./listProperties.js\";\nexport { ListPropertyCredentialsCommand } from \"./listPropertyCredentials.js\";\nexport { ListMyPropertiesCommand } from \"./listMyProperties.js\";\nexport { CreatePropertyCommand } from \"./createProperty.js\";\nexport { DeletePropertyCommand } from \"./deleteProperty.js\";\nexport { UpdatePropertyCommand } from \"./updateProperty.js\";\nexport { DescribePropertyCommand } from \"./describeProperty.js\";\nexport { UpdatePropertyFeaturesCommand } from \"./updatePropertyFeatures.js\";\nexport { EmailUserAccountSetupCommand } from \"./emailUserAccountSetup.js\";\nexport { DeleteMediaFileCommand } from \"./deleteMediaFile.js\";\nexport { DescribeTimeSheetStatsCommand } from \"./describeTimeSheetStats.js\";\nexport { ListMyTimeSheetsCommand } from \"./listMyTimeSheets.js\";\nexport { DescribeTimeSheetCommand } from \"./describeTimeSheet.js\";\nexport { ListTimeSheetsCommand } from \"./listTimeSheets.js\";\nexport { CreateTimeSheetCommand } from \"./createTimeSheet.js\";\nexport { DeleteTimeSheetCommand } from \"./deleteTimeSheet.js\";\nexport { UpdateTimeSheetCommand } from \"./updateTimeSheet.js\";\nexport { CreateTimeSheetTimeEntryCommand } from \"./createTimeSheetTimeEntry.js\";\nexport { DeleteTimeSheetTimeEntryCommand } from \"./deleteTimeSheetTimeEntry.js\";\nexport { UpdateTimeSheetTimeEntryCommand } from \"./updateTimeSheetTimeEntry.js\";\nexport { StartSOSCommand } from \"./startSOS.js\";\nexport { StopSOSCommand } from \"./stopSOS.js\";\nexport { DescribeSOSCommand } from \"./describeSOS.js\";\nexport { ListSOSEventsCommand } from \"./listSOSEvents.js\";\nexport { DescribeSOSEventCommand } from \"./describeSOSEvent.js\";\nexport { SendSOSUpdateCommand } from \"./sendSOSUpdate.js\";\nexport { AddSOSEventNoteCommand } from \"./addSOSEventNote.js\";\nexport { PreviewSOSEventReportCommand } from \"./previewSOSEventReport.js\";\nexport { ExportSOSEventReportCommand } from \"./exportSOSEventReport.js\";\nexport { FetchEmergencyContactsCommand } from \"./fetchEmergencyContacts.js\";\nexport { FetchEmergencyContactPeopleCommand } from \"./fetchEmergencyContactPeople.js\";\nexport { SyncSISRosterCommand } from \"./syncSISRoster.js\";\nexport { DescribeSISSyncCommand } from \"./describeSISSync.js\";\nexport { ListSISPeopleCommand } from \"./listSISPeople.js\";\nexport { ListSISHouseholdsCommand } from \"./listSISHouseholds.js\";\nexport { DescribeIssueCommand } from \"./describeIssue.js\";\nexport { ListIssuesCommand } from \"./listIssues.js\";\nexport { DeleteIssueCommand } from \"./deleteIssue.js\";\nexport { CreateIssueCommand } from \"./createIssue.js\";\nexport { UpdateIssueCommand } from \"./updateIssue.js\";\nexport { MergeIssueCommand } from \"./mergeIssue.js\";\nexport { CopyIssueRoutingCommand } from \"./copyIssueRouting.js\";\nexport { BulkUpdateIssueCommand } from \"./bulkUpdateIssue.js\";\nexport { DescribeVendorCommand } from \"./describeVendor.js\";\nexport { ListVendorsCommand } from \"./listVendors.js\";\nexport { DeleteVendorCommand } from \"./deleteVendor.js\";\nexport { CreateVendorCommand } from \"./createVendor.js\";\nexport { UpdateVendorCommand } from \"./updateVendor.js\";\nexport { ListBillingCategoriesCommand } from \"./listBillingCategories.js\";\nexport { CreateBillingCategoryCommand } from \"./createBillingCategory.js\";\nexport { UpdateBillingCategoryCommand } from \"./updateBillingCategory.js\";\nexport { ListBillsCommand } from \"./listBills.js\";\nexport { DescribeBillCommand } from \"./describeBill.js\";\nexport { PreviewBillCommand } from \"./previewBill.js\";\nexport { ListOrganizationBillsCommand } from \"./listOrganizationBills.js\";\nexport { DescribeOrganizationBillCommand } from \"./describeOrganizationBill.js\";\nexport { CreateBillCommand } from \"./createBill.js\";\nexport { UpdateBillCommand } from \"./updateBill.js\";\nexport { DeleteBillCommand } from \"./deleteBill.js\";\nexport { AddBillLineCommand } from \"./addBillLine.js\";\nexport { AddBillLinesCommand } from \"./addBillLines.js\";\nexport { UpdateBillLineCommand } from \"./updateBillLine.js\";\nexport { RemoveBillLineCommand } from \"./removeBillLine.js\";\nexport { MarkBillSentCommand } from \"./markBillSent.js\";\nexport { MarkBillPaidCommand } from \"./markBillPaid.js\";\nexport { VoidBillCommand } from \"./voidBill.js\";\nexport { CreateCostCommand } from \"./createCost.js\";\nexport { EditCostCommand } from \"./editCost.js\";\nexport { SetCostInvoiceCommand } from \"./setCostInvoice.js\";\nexport { WriteOffCostCommand } from \"./writeOffCost.js\";\nexport { ReinstateCostCommand } from \"./reinstateCost.js\";\nexport { CreateAutomationCommand } from \"./createAutomation.js\";\nexport { ListAutomationsCommand } from \"./listAutomations.js\";\nexport { DescribeAutomationCommand } from \"./describeAutomation.js\";\nexport { UpdateAutomationCommand } from \"./updateAutomation.js\";\nexport { DeleteAutomationCommand } from \"./deleteAutomation.js\";\nexport { CreateDefaultAutomationsCommand } from \"./createDefaultAutomations.js\";\nexport { RunAutomationCommand } from \"./runAutomation.js\";\nexport { SendNotificationCommand } from \"./sendNotification.js\";\nexport { DescribeOrgNotificationDefaultsCommand } from \"./describeOrgNotificationDefaults.js\";\nexport { UpdateOrgNotificationDefaultsCommand } from \"./updateOrgNotificationDefaults.js\";\nexport { ListMyPushSubscriptionsCommand } from \"./listMyPushSubscriptions.js\";\nexport { DescribePushVapidPublicKeyCommand } from \"./describePushVapidPublicKey.js\";\nexport { SubscribePushDeviceCommand } from \"./subscribePushDevice.js\";\nexport { UnsubscribePushDeviceCommand } from \"./unsubscribePushDevice.js\";\nexport { ListSessionsCommand } from \"./listSessions.js\";\nexport { DescribeSessionCommand } from \"./describeSession.js\";\nexport { DeleteSessionCommand } from \"./deleteSession.js\";\nexport { SetDevicesCommand } from \"./setDevices.js\";\nexport { CreateSystemCommand } from \"./createSystem.js\";\nexport { DeleteSystemCommand } from \"./deleteSystem.js\";\nexport { DescribeSystemCommand } from \"./describeSystem.js\";\nexport { ListSystemsCommand } from \"./listSystems.js\";\nexport { UpdateSystemCommand } from \"./updateSystem.js\";\nexport { CreateServerCommand } from \"./createServer.js\";\nexport { DeleteServerCommand } from \"./deleteServer.js\";\nexport { DescribeServerCommand } from \"./describeServer.js\";\nexport { ListServersCommand } from \"./listServers.js\";\nexport { UpdateServerCommand } from \"./updateServer.js\";\nexport { ScheduleWorkItemCommand } from \"./scheduleWorkItem.js\";\nexport { RescheduleWorkItemCommand } from \"./rescheduleWorkItem.js\";\nexport { CancelWorkItemCommand } from \"./cancelWorkItem.js\";\nexport { SetWorkItemNoChargeCommand } from \"./setWorkItemNoCharge.js\";\nexport { SetAwaitingResponseCommand } from \"./setAwaitingResponse.js\";\nexport { ClearAwaitingResponseCommand } from \"./clearAwaitingResponse.js\";\nexport { ClearWorkItemNoChargeCommand } from \"./clearWorkItemNoCharge.js\";\nexport { VerifyWorkItemCommand } from \"./verifyWorkItem.js\";\nexport { ClearWorkItemVerificationCommand } from \"./clearWorkItemVerification.js\";\nexport { RecordCostEntryCommand } from \"./recordCostEntry.js\";\nexport { EditCostEntryCommand } from \"./editCostEntry.js\";\nexport { RecordCostActualCommand } from \"./recordCostActual.js\";\nexport { SetCostVendorInvoiceCommand } from \"./setCostVendorInvoice.js\";\nexport { WriteOffCostEntryCommand } from \"./writeOffCostEntry.js\";\nexport { VoidCostEntryCommand } from \"./voidCostEntry.js\";\nexport { ReinstateCostEntryCommand } from \"./reinstateCostEntry.js\";\nexport { AcknowledgeCostDivergenceCommand } from \"./acknowledgeCostDivergence.js\";\nexport { RequestApprovalCommand } from \"./requestApproval.js\";\nexport { DecideApprovalCommand } from \"./decideApproval.js\";\nexport { ListEligibleApproversCommand } from \"./listEligibleApprovers.js\";\nexport { DescribeConciergeFacilitiesViewerCommand } from \"./describeConciergeFacilitiesViewer.js\";\nexport { ListKohostStaffCommand } from \"./listKohostStaff.js\";\nexport { SetUserSuperAdminCommand } from \"./setUserSuperAdmin.js\";\nexport { UpdateStaffUserCommand } from \"./updateStaffUser.js\";\nexport { DeleteStaffUserCommand } from \"./deleteStaffUser.js\";\nexport { DescribeStaffFunctionsCommand } from \"./describeStaffFunctions.js\";\nexport { ListFacilitiesStaffIdsCommand } from \"./listFacilitiesStaffIds.js\";\nexport { AddStaffFunctionMemberCommand } from \"./addStaffFunctionMember.js\";\nexport { RemoveStaffFunctionMemberCommand } from \"./removeStaffFunctionMember.js\";\nexport { SendAnnouncementCommand } from \"./sendAnnouncement.js\";\nexport { PreviewAnnouncementCommand } from \"./previewAnnouncement.js\";\nexport { ListAnnouncementsCommand } from \"./listAnnouncements.js\";\nexport { DescribeAnnouncementCommand } from \"./describeAnnouncement.js\";\nexport { CreateAnnouncementPresetCommand } from \"./createAnnouncementPreset.js\";\nexport { UpdateAnnouncementPresetCommand } from \"./updateAnnouncementPreset.js\";\nexport { DeleteAnnouncementPresetCommand } from \"./deleteAnnouncementPreset.js\";\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../.generated/useCases/index.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport { CreatePwaHandoffTokenCommand } from \"./createPwaHandoffToken.js\";\nexport { LogoutUserCommand } from \"./logoutUser.js\";\nexport { DescribeMyAuthCommand } from \"./describeMyAuth.js\";\nexport { ValidateAuthCommand } from \"./validateAuth.js\";\nexport { SelectOrganizationCommand } from \"./selectOrganization.js\";\nexport { ListMyOrganizationsCommand } from \"./listMyOrganizations.js\";\nexport { DescribeSelfCommand } from \"./describeSelf.js\";\nexport { DescribeSelfAccessCommand } from \"./describeSelfAccess.js\";\nexport { DescribeUserCommand } from \"./describeUser.js\";\nexport { CreateUserCommand } from \"./createUser.js\";\nexport { ListUsersCommand } from \"./listUsers.js\";\nexport { UpdateSelfCommand } from \"./updateSelf.js\";\nexport { UpdateUserCommand } from \"./updateUser.js\";\nexport { DeleteUserCommand } from \"./deleteUser.js\";\nexport { CreateApiKeyCommand } from \"./createApiKey.js\";\nexport { GetApiKeyCommand } from \"./getApiKey.js\";\nexport { RotateApiKeyCommand } from \"./rotateApiKey.js\";\nexport { RevokeApiKeyCommand } from \"./revokeApiKey.js\";\nexport { SendVerificationCodeCommand } from \"./sendVerificationCode.js\";\nexport { CheckVerificationCodeCommand } from \"./checkVerificationCode.js\";\nexport { ListUserSpacesCommand } from \"./listUserSpaces.js\";\nexport { DescribeMyPasskeyRegistrationsCommand } from \"./describeMyPasskeyRegistrations.js\";\nexport { DeleteUserCredentialCommand } from \"./deleteUserCredential.js\";\nexport { CreatePolicyCommand } from \"./createPolicy.js\";\nexport { ListPoliciesCommand } from \"./listPolicies.js\";\nexport { UpdatePolicyCommand } from \"./updatePolicy.js\";\nexport { DeletePolicyCommand } from \"./deletePolicy.js\";\nexport { DescribePolicyCommand } from \"./describePolicy.js\";\nexport { ListSpacesCommand } from \"./listSpaces.js\";\nexport { UpdateSpaceCommand } from \"./updateSpace.js\";\nexport { CreateSpaceCommand } from \"./createSpace.js\";\nexport { DescribeSpaceCommand } from \"./describeSpace.js\";\nexport { DeleteSpaceCommand } from \"./deleteSpace.js\";\nexport { CreateDeviceCommand } from \"./createDevice.js\";\nexport { CreateDeviceCredentialCommand } from \"./createDeviceCredential.js\";\nexport { ListDevicesCommand } from \"./listDevices.js\";\nexport { ListDeviceCredentialsCommand } from \"./listDeviceCredentials.js\";\nexport { ListCameraStreamPreviewsCommand } from \"./listCameraStreamPreviews.js\";\nexport { DescribeDeviceCommand } from \"./describeDevice.js\";\nexport { UpdateDeviceCommand } from \"./updateDevice.js\";\nexport { UpdateDeviceCredentialCommand } from \"./updateDeviceCredential.js\";\nexport { SetDeviceCommand } from \"./setDevice.js\";\nexport { DeleteDeviceCommand } from \"./deleteDevice.js\";\nexport { DeleteDeviceCredentialCommand } from \"./deleteDeviceCredential.js\";\nexport { MoveDeviceCommand } from \"./moveDevice.js\";\nexport { ReplaceDeviceCommand } from \"./replaceDevice.js\";\nexport { DescribeDeviceConfigCommand } from \"./describeDeviceConfig.js\";\nexport { CreateCategoryCommand } from \"./createCategory.js\";\nexport { DeleteCategoryCommand } from \"./deleteCategory.js\";\nexport { DescribeCategoryCommand } from \"./describeCategory.js\";\nexport { ListCategoriesCommand } from \"./listCategories.js\";\nexport { UpdateCategoryCommand } from \"./updateCategory.js\";\nexport { CreateResourceCommand } from \"./createResource.js\";\nexport { DeleteResourceCommand } from \"./deleteResource.js\";\nexport { DescribeResourceCommand } from \"./describeResource.js\";\nexport { ListResourcesCommand } from \"./listResources.js\";\nexport { UpdateResourceCommand } from \"./updateResource.js\";\nexport { DescribeDepartmentCommand } from \"./describeDepartment.js\";\nexport { ListDepartmentsCommand } from \"./listDepartments.js\";\nexport { DeleteDepartmentCommand } from \"./deleteDepartment.js\";\nexport { CreateDepartmentCommand } from \"./createDepartment.js\";\nexport { UpdateDepartmentCommand } from \"./updateDepartment.js\";\nexport { DescribeTicketStatsCommand } from \"./describeTicketStats.js\";\nexport { DescribeTicketStatsSummaryCommand } from \"./describeTicketStatsSummary.js\";\nexport { DescribeTicketStatsTicketsCommand } from \"./describeTicketStatsTickets.js\";\nexport { DescribeTicketStatsHeatmapCommand } from \"./describeTicketStatsHeatmap.js\";\nexport { DescribeTicketStatsFiltersCommand } from \"./describeTicketStatsFilters.js\";\nexport { CreateTicketCommand } from \"./createTicket.js\";\nexport { CreateTicketMessageCommand } from \"./createTicketMessage.js\";\nexport { DeleteTicketCommand } from \"./deleteTicket.js\";\nexport { ListTicketLocationsCommand } from \"./listTicketLocations.js\";\nexport { DescribeTicketFiltersCommand } from \"./describeTicketFilters.js\";\nexport { DescribeTicketCommand } from \"./describeTicket.js\";\nexport { ListTicketsCommand } from \"./listTickets.js\";\nexport { UpdateMessageReadStatusCommand } from \"./updateMessageReadStatus.js\";\nexport { UpdateTicketCommand } from \"./updateTicket.js\";\nexport { LeaveTicketCommand } from \"./leaveTicket.js\";\nexport { CreateDiscoveredDeviceAssociationMapCommand } from \"./createDiscoveredDeviceAssociationMap.js\";\nexport { AutoAssociateDiscoveredDevicesCommand } from \"./autoAssociateDiscoveredDevices.js\";\nexport { CreateDiscoveredDeviceCommand } from \"./createDiscoveredDevice.js\";\nexport { ListDiscoveredDevicesCommand } from \"./listDiscoveredDevices.js\";\nexport { UpdateDiscoveredDeviceCommand } from \"./updateDiscoveredDevice.js\";\nexport { DeleteDiscoveredDeviceCommand } from \"./deleteDiscoveredDevice.js\";\nexport { DescribeDiscoveredDeviceCommand } from \"./describeDiscoveredDevice.js\";\nexport { UpsertDiscoveredDeviceCommand } from \"./upsertDiscoveredDevice.js\";\nexport { CreateDiscoveredDeviceAssociationCommand } from \"./createDiscoveredDeviceAssociation.js\";\nexport { ListIntegrationsCommand } from \"./listIntegrations.js\";\nexport { DescribeMyOrganizationCommand } from \"./describeMyOrganization.js\";\nexport { CreateOrganizationCommand } from \"./createOrganization.js\";\nexport { UpdateOrganizationCommand } from \"./updateOrganization.js\";\nexport { UpdateOrganizationFeaturesCommand } from \"./updateOrganizationFeatures.js\";\nexport { UpdateOrganizationBillingAddressCommand } from \"./updateOrganizationBillingAddress.js\";\nexport { UpdateOrganizationBillingContactsCommand } from \"./updateOrganizationBillingContacts.js\";\nexport { UpdateOrganizationTaxExemptCommand } from \"./updateOrganizationTaxExempt.js\";\nexport { DeleteOrganizationCommand } from \"./deleteOrganization.js\";\nexport { DescribeOrganizationCommand } from \"./describeOrganization.js\";\nexport { ListOrganizationsCommand } from \"./listOrganizations.js\";\nexport { DescribeConciergeStatsSummaryCommand } from \"./describeConciergeStatsSummary.js\";\nexport { DescribeConciergeStatsFiltersCommand } from \"./describeConciergeStatsFilters.js\";\nexport { DescribeConciergeStatsTicketsCommand } from \"./describeConciergeStatsTickets.js\";\nexport { DescribeConciergeStatsHeatmapCommand } from \"./describeConciergeStatsHeatmap.js\";\nexport { ListConciergeWorkspaceBillsCommand } from \"./listConciergeWorkspaceBills.js\";\nexport { ListConciergeCostLedgerCommand } from \"./listConciergeCostLedger.js\";\nexport { ListConciergeServiceContractsCommand } from \"./listConciergeServiceContracts.js\";\nexport { ListConciergeWorkspaceTicketsCommand } from \"./listConciergeWorkspaceTickets.js\";\nexport { DescribeConciergeStageCountsCommand } from \"./describeConciergeStageCounts.js\";\nexport { DescribeConciergeWorkspaceFiltersCommand } from \"./describeConciergeWorkspaceFilters.js\";\nexport { ListConciergeUninvoicedCostsCommand } from \"./listConciergeUninvoicedCosts.js\";\nexport { ListPropertiesCommand } from \"./listProperties.js\";\nexport { ListPropertyCredentialsCommand } from \"./listPropertyCredentials.js\";\nexport { ListMyPropertiesCommand } from \"./listMyProperties.js\";\nexport { CreatePropertyCommand } from \"./createProperty.js\";\nexport { DeletePropertyCommand } from \"./deleteProperty.js\";\nexport { UpdatePropertyCommand } from \"./updateProperty.js\";\nexport { DescribePropertyCommand } from \"./describeProperty.js\";\nexport { UpdatePropertyFeaturesCommand } from \"./updatePropertyFeatures.js\";\nexport { EmailUserAccountSetupCommand } from \"./emailUserAccountSetup.js\";\nexport { DeleteMediaFileCommand } from \"./deleteMediaFile.js\";\nexport { DescribeTimeSheetStatsCommand } from \"./describeTimeSheetStats.js\";\nexport { ListMyTimeSheetsCommand } from \"./listMyTimeSheets.js\";\nexport { DescribeTimeSheetCommand } from \"./describeTimeSheet.js\";\nexport { ListTimeSheetsCommand } from \"./listTimeSheets.js\";\nexport { CreateTimeSheetCommand } from \"./createTimeSheet.js\";\nexport { DeleteTimeSheetCommand } from \"./deleteTimeSheet.js\";\nexport { UpdateTimeSheetCommand } from \"./updateTimeSheet.js\";\nexport { CreateTimeSheetTimeEntryCommand } from \"./createTimeSheetTimeEntry.js\";\nexport { DeleteTimeSheetTimeEntryCommand } from \"./deleteTimeSheetTimeEntry.js\";\nexport { UpdateTimeSheetTimeEntryCommand } from \"./updateTimeSheetTimeEntry.js\";\nexport { StartSOSCommand } from \"./startSOS.js\";\nexport { StopSOSCommand } from \"./stopSOS.js\";\nexport { DescribeSOSCommand } from \"./describeSOS.js\";\nexport { ListSOSEventsCommand } from \"./listSOSEvents.js\";\nexport { DescribeSOSEventCommand } from \"./describeSOSEvent.js\";\nexport { SendSOSUpdateCommand } from \"./sendSOSUpdate.js\";\nexport { AddSOSEventNoteCommand } from \"./addSOSEventNote.js\";\nexport { PreviewSOSEventReportCommand } from \"./previewSOSEventReport.js\";\nexport { ExportSOSEventReportCommand } from \"./exportSOSEventReport.js\";\nexport { FetchEmergencyContactsCommand } from \"./fetchEmergencyContacts.js\";\nexport { FetchEmergencyContactPeopleCommand } from \"./fetchEmergencyContactPeople.js\";\nexport { SyncSISRosterCommand } from \"./syncSISRoster.js\";\nexport { DescribeSISSyncCommand } from \"./describeSISSync.js\";\nexport { ListSISPeopleCommand } from \"./listSISPeople.js\";\nexport { ListSISHouseholdsCommand } from \"./listSISHouseholds.js\";\nexport { DescribeIssueCommand } from \"./describeIssue.js\";\nexport { ListIssuesCommand } from \"./listIssues.js\";\nexport { DeleteIssueCommand } from \"./deleteIssue.js\";\nexport { CreateIssueCommand } from \"./createIssue.js\";\nexport { UpdateIssueCommand } from \"./updateIssue.js\";\nexport { MergeIssueCommand } from \"./mergeIssue.js\";\nexport { CopyIssueRoutingCommand } from \"./copyIssueRouting.js\";\nexport { BulkUpdateIssueCommand } from \"./bulkUpdateIssue.js\";\nexport { DescribeVendorCommand } from \"./describeVendor.js\";\nexport { ListVendorsCommand } from \"./listVendors.js\";\nexport { DeleteVendorCommand } from \"./deleteVendor.js\";\nexport { CreateVendorCommand } from \"./createVendor.js\";\nexport { UpdateVendorCommand } from \"./updateVendor.js\";\nexport { ListBillingCategoriesCommand } from \"./listBillingCategories.js\";\nexport { CreateBillingCategoryCommand } from \"./createBillingCategory.js\";\nexport { UpdateBillingCategoryCommand } from \"./updateBillingCategory.js\";\nexport { ListBillsCommand } from \"./listBills.js\";\nexport { DescribeBillCommand } from \"./describeBill.js\";\nexport { PreviewBillCommand } from \"./previewBill.js\";\nexport { ListOrganizationBillsCommand } from \"./listOrganizationBills.js\";\nexport { DescribeOrganizationBillCommand } from \"./describeOrganizationBill.js\";\nexport { CreateBillCommand } from \"./createBill.js\";\nexport { UpdateBillCommand } from \"./updateBill.js\";\nexport { DeleteBillCommand } from \"./deleteBill.js\";\nexport { AddBillLineCommand } from \"./addBillLine.js\";\nexport { AddBillLinesCommand } from \"./addBillLines.js\";\nexport { UpdateBillLineCommand } from \"./updateBillLine.js\";\nexport { RemoveBillLineCommand } from \"./removeBillLine.js\";\nexport { MarkBillSentCommand } from \"./markBillSent.js\";\nexport { MarkBillPaidCommand } from \"./markBillPaid.js\";\nexport { VoidBillCommand } from \"./voidBill.js\";\nexport { CreateCostCommand } from \"./createCost.js\";\nexport { EditCostCommand } from \"./editCost.js\";\nexport { SetCostInvoiceCommand } from \"./setCostInvoice.js\";\nexport { WriteOffCostCommand } from \"./writeOffCost.js\";\nexport { ReinstateCostCommand } from \"./reinstateCost.js\";\nexport { CreateAutomationCommand } from \"./createAutomation.js\";\nexport { ListAutomationsCommand } from \"./listAutomations.js\";\nexport { DescribeAutomationCommand } from \"./describeAutomation.js\";\nexport { UpdateAutomationCommand } from \"./updateAutomation.js\";\nexport { DeleteAutomationCommand } from \"./deleteAutomation.js\";\nexport { CreateDefaultAutomationsCommand } from \"./createDefaultAutomations.js\";\nexport { RunAutomationCommand } from \"./runAutomation.js\";\nexport { SendNotificationCommand } from \"./sendNotification.js\";\nexport { DescribeOrgNotificationDefaultsCommand } from \"./describeOrgNotificationDefaults.js\";\nexport { UpdateOrgNotificationDefaultsCommand } from \"./updateOrgNotificationDefaults.js\";\nexport { ListMyPushSubscriptionsCommand } from \"./listMyPushSubscriptions.js\";\nexport { DescribePushVapidPublicKeyCommand } from \"./describePushVapidPublicKey.js\";\nexport { SubscribePushDeviceCommand } from \"./subscribePushDevice.js\";\nexport { UnsubscribePushDeviceCommand } from \"./unsubscribePushDevice.js\";\nexport { ListSessionsCommand } from \"./listSessions.js\";\nexport { DescribeSessionCommand } from \"./describeSession.js\";\nexport { DeleteSessionCommand } from \"./deleteSession.js\";\nexport { SetDevicesCommand } from \"./setDevices.js\";\nexport { CreateSystemCommand } from \"./createSystem.js\";\nexport { DeleteSystemCommand } from \"./deleteSystem.js\";\nexport { DescribeSystemCommand } from \"./describeSystem.js\";\nexport { ListSystemsCommand } from \"./listSystems.js\";\nexport { UpdateSystemCommand } from \"./updateSystem.js\";\nexport { CreateServerCommand } from \"./createServer.js\";\nexport { DeleteServerCommand } from \"./deleteServer.js\";\nexport { DescribeServerCommand } from \"./describeServer.js\";\nexport { ListServersCommand } from \"./listServers.js\";\nexport { UpdateServerCommand } from \"./updateServer.js\";\nexport { ScheduleWorkItemCommand } from \"./scheduleWorkItem.js\";\nexport { RescheduleWorkItemCommand } from \"./rescheduleWorkItem.js\";\nexport { CancelWorkItemCommand } from \"./cancelWorkItem.js\";\nexport { SetWorkItemNoChargeCommand } from \"./setWorkItemNoCharge.js\";\nexport { SetAwaitingResponseCommand } from \"./setAwaitingResponse.js\";\nexport { ClearAwaitingResponseCommand } from \"./clearAwaitingResponse.js\";\nexport { ClearWorkItemNoChargeCommand } from \"./clearWorkItemNoCharge.js\";\nexport { VerifyWorkItemCommand } from \"./verifyWorkItem.js\";\nexport { ClearWorkItemVerificationCommand } from \"./clearWorkItemVerification.js\";\nexport { RecordCostEntryCommand } from \"./recordCostEntry.js\";\nexport { EditCostEntryCommand } from \"./editCostEntry.js\";\nexport { RecordCostActualCommand } from \"./recordCostActual.js\";\nexport { SetCostVendorInvoiceCommand } from \"./setCostVendorInvoice.js\";\nexport { WriteOffCostEntryCommand } from \"./writeOffCostEntry.js\";\nexport { VoidCostEntryCommand } from \"./voidCostEntry.js\";\nexport { ReinstateCostEntryCommand } from \"./reinstateCostEntry.js\";\nexport { AcknowledgeCostDivergenceCommand } from \"./acknowledgeCostDivergence.js\";\nexport { RequestApprovalCommand } from \"./requestApproval.js\";\nexport { DecideApprovalCommand } from \"./decideApproval.js\";\nexport { ListEligibleApproversCommand } from \"./listEligibleApprovers.js\";\nexport { DescribeConciergeFacilitiesViewerCommand } from \"./describeConciergeFacilitiesViewer.js\";\nexport { ListKohostStaffCommand } from \"./listKohostStaff.js\";\nexport { SetUserSuperAdminCommand } from \"./setUserSuperAdmin.js\";\nexport { UpdateStaffUserCommand } from \"./updateStaffUser.js\";\nexport { DeleteStaffUserCommand } from \"./deleteStaffUser.js\";\nexport { DescribeStaffFunctionsCommand } from \"./describeStaffFunctions.js\";\nexport { ListFacilitiesStaffIdsCommand } from \"./listFacilitiesStaffIds.js\";\nexport { AddStaffFunctionMemberCommand } from \"./addStaffFunctionMember.js\";\nexport { RemoveStaffFunctionMemberCommand } from \"./removeStaffFunctionMember.js\";\nexport { SendAnnouncementCommand } from \"./sendAnnouncement.js\";\nexport { PreviewAnnouncementCommand } from \"./previewAnnouncement.js\";\nexport { ListAnnouncementsCommand } from \"./listAnnouncements.js\";\nexport { DescribeAnnouncementCommand } from \"./describeAnnouncement.js\";\nexport { CreateAnnouncementPresetCommand } from \"./createAnnouncementPreset.js\";\nexport { UpdateAnnouncementPresetCommand } from \"./updateAnnouncementPreset.js\";\nexport { DeleteAnnouncementPresetCommand } from \"./deleteAnnouncementPreset.js\";\nexport { ListServiceContractsCommand } from \"./listServiceContracts.js\";\nexport { DescribeServiceContractCommand } from \"./describeServiceContract.js\";\nexport { CreateServiceContractCommand } from \"./createServiceContract.js\";\nexport { UpdateServiceContractCommand } from \"./updateServiceContract.js\";\nexport { DuplicateServiceContractCommand } from \"./duplicateServiceContract.js\";\nexport { ActivateServiceContractCommand } from \"./activateServiceContract.js\";\nexport { ListOrganizationServiceContractsCommand } from \"./listOrganizationServiceContracts.js\";\nexport { DescribeOrganizationServiceContractCommand } from \"./describeOrganizationServiceContract.js\";\nexport { ListServiceContractCostsCommand } from \"./listServiceContractCosts.js\";\nexport { ListServiceContractTicketSchedulesCommand } from \"./listServiceContractTicketSchedules.js\";\nexport { AddServiceContractTicketScheduleCommand } from \"./addServiceContractTicketSchedule.js\";\nexport { UpdateServiceContractTicketScheduleCommand } from \"./updateServiceContractTicketSchedule.js\";\nexport { RemoveServiceContractTicketScheduleCommand } from \"./removeServiceContractTicketSchedule.js\";\nexport { CancelServiceContractCommand } from \"./cancelServiceContract.js\";\nexport { AddDueContractCostsCommand } from \"./addDueContractCosts.js\";\nexport { DeleteServiceContractCommand } from \"./deleteServiceContract.js\";\n"],"mappings":""}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface ListConciergeCostLedgerCommandConfig {
|
|
2
|
+
data?: Record<string, unknown> | unknown[] | null;
|
|
3
|
+
headers?: Record<string, string> | null;
|
|
4
|
+
query?: Record<string, unknown> | null;
|
|
5
|
+
}
|
|
6
|
+
export interface ListConciergeCostLedgerCommandRequestConfig {
|
|
7
|
+
method: "get";
|
|
8
|
+
url: string;
|
|
9
|
+
data: Record<string, unknown> | unknown[] | null;
|
|
10
|
+
params: Record<string, unknown> | null;
|
|
11
|
+
headers: Record<string, string> | null;
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* OneBill Cost ledger: every cost entry and bill line across every KFC-enabled organization at every stage (unreconciled, ready, on a draft, sent, paid, written off), paged, filtered, searched and sorted server-side, with the revenue and margin of the sent and paid rows in the filtered set.
|
|
16
|
+
*/
|
|
17
|
+
export declare class ListConciergeCostLedgerCommand {
|
|
18
|
+
url: string;
|
|
19
|
+
data: Record<string, unknown> | unknown[] | null;
|
|
20
|
+
query: Record<string, unknown> | null;
|
|
21
|
+
headers: Record<string, string> | null;
|
|
22
|
+
config: ListConciergeCostLedgerCommandRequestConfig;
|
|
23
|
+
static params: readonly [];
|
|
24
|
+
static url: string;
|
|
25
|
+
static method: "get";
|
|
26
|
+
constructor(commandConfig: ListConciergeCostLedgerCommandConfig, options?: Record<string, unknown>);
|
|
27
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
//#region .generated/useCases/listConciergeCostLedger.ts
|
|
2
|
+
/**
|
|
3
|
+
* OneBill Cost ledger: every cost entry and bill line across every KFC-enabled organization at every stage (unreconciled, ready, on a draft, sent, paid, written off), paged, filtered, searched and sorted server-side, with the revenue and margin of the sent and paid rows in the filtered set.
|
|
4
|
+
*/
|
|
5
|
+
var ListConciergeCostLedgerCommand = class ListConciergeCostLedgerCommand {
|
|
6
|
+
url;
|
|
7
|
+
data;
|
|
8
|
+
query;
|
|
9
|
+
headers;
|
|
10
|
+
config;
|
|
11
|
+
static params = [];
|
|
12
|
+
static url = "/concierge/cost-ledger";
|
|
13
|
+
static method = "get";
|
|
14
|
+
constructor(commandConfig, options = {}) {
|
|
15
|
+
const pathParams = ListConciergeCostLedgerCommand.params;
|
|
16
|
+
let { data, query, headers } = commandConfig ?? {};
|
|
17
|
+
if (typeof data === "undefined") data = null;
|
|
18
|
+
if (typeof query === "undefined") query = null;
|
|
19
|
+
if (typeof headers === "undefined") headers = null;
|
|
20
|
+
let url = ListConciergeCostLedgerCommand.url;
|
|
21
|
+
if (pathParams && data) for (const param of pathParams) {
|
|
22
|
+
const urlParam = ":" + param;
|
|
23
|
+
url = url.replace(urlParam, data[param]);
|
|
24
|
+
}
|
|
25
|
+
const missingParams = url.match(/:[a-zA-Z0-9]+/g);
|
|
26
|
+
if (missingParams) {
|
|
27
|
+
const missing = missingParams.map((param) => param.replace(":", ""));
|
|
28
|
+
throw new Error("Missing parameters: " + missing.join(", "));
|
|
29
|
+
}
|
|
30
|
+
this.url = url;
|
|
31
|
+
this.data = data;
|
|
32
|
+
this.query = query;
|
|
33
|
+
this.headers = headers;
|
|
34
|
+
this.config = {
|
|
35
|
+
method: ListConciergeCostLedgerCommand.method,
|
|
36
|
+
url,
|
|
37
|
+
data,
|
|
38
|
+
params: query,
|
|
39
|
+
headers,
|
|
40
|
+
...options
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
//#endregion
|
|
45
|
+
export { ListConciergeCostLedgerCommand };
|
|
46
|
+
|
|
47
|
+
//# sourceMappingURL=listConciergeCostLedger.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listConciergeCostLedger.js","names":[],"sources":["../../.generated/useCases/listConciergeCostLedger.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface ListConciergeCostLedgerCommandConfig {\n data?: Record<string, unknown> | unknown[] | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface ListConciergeCostLedgerCommandRequestConfig {\n method: \"get\";\n url: string;\n data: Record<string, unknown> | unknown[] | null;\n params: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n [key: string]: unknown;\n}\n\n/**\n * OneBill Cost ledger: every cost entry and bill line across every KFC-enabled organization at every stage (unreconciled, ready, on a draft, sent, paid, written off), paged, filtered, searched and sorted server-side, with the revenue and margin of the sent and paid rows in the filtered set.\n */\nexport class ListConciergeCostLedgerCommand {\n url: string;\n data: Record<string, unknown> | unknown[] | null;\n query: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n config: ListConciergeCostLedgerCommandRequestConfig;\n\n static params = [] as const;\n static url = \"/concierge/cost-ledger\";\n static method = \"get\" as const;\n\n constructor(commandConfig: ListConciergeCostLedgerCommandConfig, options: Record<string, unknown> = {}) {\n const pathParams = ListConciergeCostLedgerCommand.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 = ListConciergeCostLedgerCommand.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: ListConciergeCostLedgerCommand.method,\n url: url,\n data: data,\n params: query,\n headers: headers,\n ...options,\n };\n }\n}\n"],"mappings":";;;;AAoBA,IAAa,iCAAb,MAAa,+BAA+B;CAC1C;CACA;CACA;CACA;CACA;CAEA,OAAO,SAAS,CAAC;CACjB,OAAO,MAAM;CACb,OAAO,SAAS;CAEhB,YAAY,eAAqD,UAAmC,CAAC,GAAG;EACtG,MAAM,aAAa,+BAA+B;EAElD,IAAI,EAAE,MAAM,OAAO,YAAY,iBAAiB,CAAC;EAEjD,IAAI,OAAO,SAAS,aAAa,OAAO;EACxC,IAAI,OAAO,UAAU,aAAa,QAAQ;EAC1C,IAAI,OAAO,YAAY,aAAa,UAAU;EAG9C,IAAI,MAAc,+BAA+B;EAEjD,IAAI,cAAc,MAChB,KAAK,MAAM,SAAS,YAAY;GAC9B,MAAM,WAAW,MAAM;GACvB,MAAM,IAAI,QAAQ,UAAW,KAAgC,MAAM;EACrE;EAIF,MAAM,gBAAgB,IAAI,MAAM,gBAAgB;EAChD,IAAI,eAAe;GACjB,MAAM,UAAU,cAAc,KAAK,UAAU,MAAM,QAAQ,KAAK,EAAE,CAAC;GACnE,MAAM,IAAI,MAAM,yBAAyB,QAAQ,KAAK,IAAI,CAAC;EAC7D;EAEA,KAAK,MAAM;EACX,KAAK,OAAO;EACZ,KAAK,QAAQ;EACb,KAAK,UAAU;EAEf,KAAK,SAAS;GACZ,QAAQ,+BAA+B;GAClC;GACC;GACN,QAAQ;GACC;GACT,GAAG;EACL;CACF;AACF"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface ListConciergeServiceContractsCommandConfig {
|
|
2
|
+
data?: Record<string, unknown> | unknown[] | null;
|
|
3
|
+
headers?: Record<string, string> | null;
|
|
4
|
+
query?: Record<string, unknown> | null;
|
|
5
|
+
}
|
|
6
|
+
export interface ListConciergeServiceContractsCommandRequestConfig {
|
|
7
|
+
method: "get";
|
|
8
|
+
url: string;
|
|
9
|
+
data: Record<string, unknown> | unknown[] | null;
|
|
10
|
+
params: Record<string, unknown> | null;
|
|
11
|
+
headers: Record<string, string> | null;
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* OneBill Contracts view: Service contracts across every KFC-enabled organization for the staff who manage them, paged, filtered by status and organization, searched by name and sorted server-side, each with its vendor's name and where an active one stands for Add due contract costs, plus the due, ending-soon and monthly totals of the filtered set.
|
|
16
|
+
*/
|
|
17
|
+
export declare class ListConciergeServiceContractsCommand {
|
|
18
|
+
url: string;
|
|
19
|
+
data: Record<string, unknown> | unknown[] | null;
|
|
20
|
+
query: Record<string, unknown> | null;
|
|
21
|
+
headers: Record<string, string> | null;
|
|
22
|
+
config: ListConciergeServiceContractsCommandRequestConfig;
|
|
23
|
+
static params: readonly [];
|
|
24
|
+
static url: string;
|
|
25
|
+
static method: "get";
|
|
26
|
+
constructor(commandConfig: ListConciergeServiceContractsCommandConfig, options?: Record<string, unknown>);
|
|
27
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
//#region .generated/useCases/listConciergeServiceContracts.ts
|
|
2
|
+
/**
|
|
3
|
+
* OneBill Contracts view: Service contracts across every KFC-enabled organization for the staff who manage them, paged, filtered by status and organization, searched by name and sorted server-side, each with its vendor's name and where an active one stands for Add due contract costs, plus the due, ending-soon and monthly totals of the filtered set.
|
|
4
|
+
*/
|
|
5
|
+
var ListConciergeServiceContractsCommand = class ListConciergeServiceContractsCommand {
|
|
6
|
+
url;
|
|
7
|
+
data;
|
|
8
|
+
query;
|
|
9
|
+
headers;
|
|
10
|
+
config;
|
|
11
|
+
static params = [];
|
|
12
|
+
static url = "/concierge/service-contracts";
|
|
13
|
+
static method = "get";
|
|
14
|
+
constructor(commandConfig, options = {}) {
|
|
15
|
+
const pathParams = ListConciergeServiceContractsCommand.params;
|
|
16
|
+
let { data, query, headers } = commandConfig ?? {};
|
|
17
|
+
if (typeof data === "undefined") data = null;
|
|
18
|
+
if (typeof query === "undefined") query = null;
|
|
19
|
+
if (typeof headers === "undefined") headers = null;
|
|
20
|
+
let url = ListConciergeServiceContractsCommand.url;
|
|
21
|
+
if (pathParams && data) for (const param of pathParams) {
|
|
22
|
+
const urlParam = ":" + param;
|
|
23
|
+
url = url.replace(urlParam, data[param]);
|
|
24
|
+
}
|
|
25
|
+
const missingParams = url.match(/:[a-zA-Z0-9]+/g);
|
|
26
|
+
if (missingParams) {
|
|
27
|
+
const missing = missingParams.map((param) => param.replace(":", ""));
|
|
28
|
+
throw new Error("Missing parameters: " + missing.join(", "));
|
|
29
|
+
}
|
|
30
|
+
this.url = url;
|
|
31
|
+
this.data = data;
|
|
32
|
+
this.query = query;
|
|
33
|
+
this.headers = headers;
|
|
34
|
+
this.config = {
|
|
35
|
+
method: ListConciergeServiceContractsCommand.method,
|
|
36
|
+
url,
|
|
37
|
+
data,
|
|
38
|
+
params: query,
|
|
39
|
+
headers,
|
|
40
|
+
...options
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
//#endregion
|
|
45
|
+
export { ListConciergeServiceContractsCommand };
|
|
46
|
+
|
|
47
|
+
//# sourceMappingURL=listConciergeServiceContracts.js.map
|