@kohost/api-client 7.25.1 → 7.26.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/.tsbuildinfo +1 -1
- package/dist/models/credential.js +1 -0
- package/dist/models/credential.js.map +1 -1
- package/dist/schemas/credential.d.ts +7 -0
- package/dist/schemas/credential.js +5 -0
- package/dist/schemas/credential.js.map +1 -1
- package/dist/useCases/index.d.ts +1 -0
- package/dist/useCases/index.js +3 -1
- package/dist/useCases/index.js.map +1 -1
- package/dist/useCases/{updateVendorProfile.d.ts → setApiKeyAllowedOperations.d.ts} +9 -9
- package/dist/useCases/setApiKeyAllowedOperations.js +47 -0
- package/dist/useCases/setApiKeyAllowedOperations.js.map +1 -0
- package/package.json +1 -1
- package/dist/lib/vendorDocuments.d.ts +0 -23
- package/dist/lib/vendorPrivateDetails.d.ts +0 -35
- package/dist/models/order.d.ts +0 -17
- package/dist/models/vendorProfile.d.ts +0 -17
- package/dist/schemas/order.d.ts +0 -186
- package/dist/schemas/vendorProfile.d.ts +0 -188
- package/dist/useCases/addVendorDocument.d.ts +0 -36
- package/dist/useCases/addVendorProfileDocument.d.ts +0 -36
- package/dist/useCases/createImageUploadEndpoint.d.ts +0 -27
- package/dist/useCases/createVendorProfile.d.ts +0 -27
- package/dist/useCases/deleteVendorProfile.d.ts +0 -36
- package/dist/useCases/describeConciergeBillsSummary.d.ts +0 -27
- package/dist/useCases/describeVendorProfile.d.ts +0 -36
- package/dist/useCases/listConciergeWorkspaceBillLines.d.ts +0 -27
- package/dist/useCases/listVendorDirectory.d.ts +0 -27
- package/dist/useCases/listVendorProfiles.d.ts +0 -27
- package/dist/useCases/openUnsubscribePage.d.ts +0 -36
- package/dist/useCases/removeVendorDocument.d.ts +0 -39
- package/dist/useCases/removeVendorProfileDocument.d.ts +0 -39
- package/dist/useCases/removeWorkItem.d.ts +0 -39
- package/dist/useCases/unsubscribe.d.ts +0 -36
- package/dist/useCases/updateWorkItem.d.ts +0 -39
- package/dist/useCases/uploadImage.d.ts +0 -27
|
@@ -12,6 +12,7 @@ var Credential = class extends Entity {
|
|
|
12
12
|
if (data.discriminator !== void 0) this.discriminator = data.discriminator;
|
|
13
13
|
this.credential = data.credential;
|
|
14
14
|
if (data.keyHash !== void 0) this.keyHash = data.keyHash;
|
|
15
|
+
if (data.allowedOperations !== void 0) this.allowedOperations = data.allowedOperations;
|
|
15
16
|
if (data.userId !== void 0) this.userId = data.userId;
|
|
16
17
|
if (data.organizationId !== void 0) this.organizationId = data.organizationId;
|
|
17
18
|
if (data.propertyId !== void 0) this.propertyId = data.propertyId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credential.js","names":["validate"],"sources":["../../.generated/models/credential.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nimport { Entity } from \"./entity.js\";\nimport { validateCredential as validate } from \"../validate.js\";\nimport { credentialSchema, type CredentialSchema } from \"../schemas/credential.js\";\n\n/**\n * Data type for Credential constructor - exported for backwards compatibility\n */\nexport type CredentialData = CredentialSchema;\n\n/**\n * Credential\n */\nexport interface Credential extends CredentialSchema {}\nexport class Credential extends Entity {\n declare schema: typeof credentialSchema;\n declare validator: typeof validate;\n\n constructor(data: CredentialSchema) {\n super(data);\n this.id = data.id;\n this.type = data.type;\n if (data.driver !== undefined) this.driver = data.driver;\n if (data.name !== undefined) this.name = data.name;\n if (data.discriminator !== undefined) this.discriminator = data.discriminator;\n this.credential = data.credential;\n if (data.keyHash !== undefined) this.keyHash = data.keyHash;\n if (data.userId !== undefined) this.userId = data.userId;\n if (data.organizationId !== undefined) this.organizationId = data.organizationId;\n if (data.propertyId !== undefined) this.propertyId = data.propertyId;\n if (data.deviceId !== undefined) this.deviceId = data.deviceId;\n if (data.userAgent !== undefined) this.userAgent = data.userAgent;\n this.expires = data.expires;\n if (data.createdAt !== undefined) this.createdAt = data.createdAt;\n if (data.updatedAt !== undefined) this.updatedAt = data.updatedAt;\n if (data.systemId !== undefined) this.systemId = data.systemId;\n }\n\n\n\n\n\n\n\n\n}\n\nObject.defineProperty(Credential.prototype, \"schema\", {\n value: credentialSchema\n});\n\nObject.defineProperty(Credential.prototype, \"validator\", {\n get: function() { return validate; }\n});\n"],"mappings":";;;;AAeA,IAAa,aAAb,cAAgC,OAAO;CAIrC,YAAY,MAAwB;EAClC,MAAM,IAAI;EACV,KAAK,KAAK,KAAK;EACf,KAAK,OAAO,KAAK;EACjB,IAAI,KAAK,WAAW,KAAA,GAAW,KAAK,SAAS,KAAK;EAClD,IAAI,KAAK,SAAS,KAAA,GAAW,KAAK,OAAO,KAAK;EAC9C,IAAI,KAAK,kBAAkB,KAAA,GAAW,KAAK,gBAAgB,KAAK;EAChE,KAAK,aAAa,KAAK;EACvB,IAAI,KAAK,YAAY,KAAA,GAAW,KAAK,UAAU,KAAK;EACpD,IAAI,KAAK,WAAW,KAAA,GAAW,KAAK,SAAS,KAAK;EAClD,IAAI,KAAK,mBAAmB,KAAA,GAAW,KAAK,iBAAiB,KAAK;EAClE,IAAI,KAAK,eAAe,KAAA,GAAW,KAAK,aAAa,KAAK;EAC1D,IAAI,KAAK,aAAa,KAAA,GAAW,KAAK,WAAW,KAAK;EACtD,IAAI,KAAK,cAAc,KAAA,GAAW,KAAK,YAAY,KAAK;EACxD,KAAK,UAAU,KAAK;EACpB,IAAI,KAAK,cAAc,KAAA,GAAW,KAAK,YAAY,KAAK;EACxD,IAAI,KAAK,cAAc,KAAA,GAAW,KAAK,YAAY,KAAK;EACxD,IAAI,KAAK,aAAa,KAAA,GAAW,KAAK,WAAW,KAAK;CACxD;AASF;AAEA,OAAO,eAAe,WAAW,WAAW,UAAU,EACpD,OAAO,iBACT,CAAC;AAED,OAAO,eAAe,WAAW,WAAW,aAAa,EACvD,KAAK,WAAW;CAAE,OAAOA;AAAU,EACrC,CAAC"}
|
|
1
|
+
{"version":3,"file":"credential.js","names":["validate"],"sources":["../../.generated/models/credential.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nimport { Entity } from \"./entity.js\";\nimport { validateCredential as validate } from \"../validate.js\";\nimport { credentialSchema, type CredentialSchema } from \"../schemas/credential.js\";\n\n/**\n * Data type for Credential constructor - exported for backwards compatibility\n */\nexport type CredentialData = CredentialSchema;\n\n/**\n * Credential\n */\nexport interface Credential extends CredentialSchema {}\nexport class Credential extends Entity {\n declare schema: typeof credentialSchema;\n declare validator: typeof validate;\n\n constructor(data: CredentialSchema) {\n super(data);\n this.id = data.id;\n this.type = data.type;\n if (data.driver !== undefined) this.driver = data.driver;\n if (data.name !== undefined) this.name = data.name;\n if (data.discriminator !== undefined) this.discriminator = data.discriminator;\n this.credential = data.credential;\n if (data.keyHash !== undefined) this.keyHash = data.keyHash;\n if (data.allowedOperations !== undefined) this.allowedOperations = data.allowedOperations;\n if (data.userId !== undefined) this.userId = data.userId;\n if (data.organizationId !== undefined) this.organizationId = data.organizationId;\n if (data.propertyId !== undefined) this.propertyId = data.propertyId;\n if (data.deviceId !== undefined) this.deviceId = data.deviceId;\n if (data.userAgent !== undefined) this.userAgent = data.userAgent;\n this.expires = data.expires;\n if (data.createdAt !== undefined) this.createdAt = data.createdAt;\n if (data.updatedAt !== undefined) this.updatedAt = data.updatedAt;\n if (data.systemId !== undefined) this.systemId = data.systemId;\n }\n\n\n\n\n\n\n\n\n}\n\nObject.defineProperty(Credential.prototype, \"schema\", {\n value: credentialSchema\n});\n\nObject.defineProperty(Credential.prototype, \"validator\", {\n get: function() { return validate; }\n});\n"],"mappings":";;;;AAeA,IAAa,aAAb,cAAgC,OAAO;CAIrC,YAAY,MAAwB;EAClC,MAAM,IAAI;EACV,KAAK,KAAK,KAAK;EACf,KAAK,OAAO,KAAK;EACjB,IAAI,KAAK,WAAW,KAAA,GAAW,KAAK,SAAS,KAAK;EAClD,IAAI,KAAK,SAAS,KAAA,GAAW,KAAK,OAAO,KAAK;EAC9C,IAAI,KAAK,kBAAkB,KAAA,GAAW,KAAK,gBAAgB,KAAK;EAChE,KAAK,aAAa,KAAK;EACvB,IAAI,KAAK,YAAY,KAAA,GAAW,KAAK,UAAU,KAAK;EACpD,IAAI,KAAK,sBAAsB,KAAA,GAAW,KAAK,oBAAoB,KAAK;EACxE,IAAI,KAAK,WAAW,KAAA,GAAW,KAAK,SAAS,KAAK;EAClD,IAAI,KAAK,mBAAmB,KAAA,GAAW,KAAK,iBAAiB,KAAK;EAClE,IAAI,KAAK,eAAe,KAAA,GAAW,KAAK,aAAa,KAAK;EAC1D,IAAI,KAAK,aAAa,KAAA,GAAW,KAAK,WAAW,KAAK;EACtD,IAAI,KAAK,cAAc,KAAA,GAAW,KAAK,YAAY,KAAK;EACxD,KAAK,UAAU,KAAK;EACpB,IAAI,KAAK,cAAc,KAAA,GAAW,KAAK,YAAY,KAAK;EACxD,IAAI,KAAK,cAAc,KAAA,GAAW,KAAK,YAAY,KAAK;EACxD,IAAI,KAAK,aAAa,KAAA,GAAW,KAAK,WAAW,KAAK;CACxD;AASF;AAEA,OAAO,eAAe,WAAW,WAAW,UAAU,EACpD,OAAO,iBACT,CAAC;AAED,OAAO,eAAe,WAAW,WAAW,aAAa,EACvD,KAAK,WAAW;CAAE,OAAOA;AAAU,EACrC,CAAC"}
|
|
@@ -32,6 +32,13 @@ export declare const credentialSchema: {
|
|
|
32
32
|
readonly keyHash: {
|
|
33
33
|
readonly type: "string";
|
|
34
34
|
};
|
|
35
|
+
readonly allowedOperations: {
|
|
36
|
+
readonly type: readonly ["array", "null"];
|
|
37
|
+
readonly items: {
|
|
38
|
+
readonly type: "string";
|
|
39
|
+
};
|
|
40
|
+
readonly description: "For an apiKey: the operations the key may call. Null or absent means unrestricted.";
|
|
41
|
+
};
|
|
35
42
|
readonly userId: {
|
|
36
43
|
readonly type: "string";
|
|
37
44
|
};
|
|
@@ -35,6 +35,11 @@ const credentialSchema = {
|
|
|
35
35
|
},
|
|
36
36
|
credential: { type: "string" },
|
|
37
37
|
keyHash: { type: "string" },
|
|
38
|
+
allowedOperations: {
|
|
39
|
+
type: ["array", "null"],
|
|
40
|
+
items: { type: "string" },
|
|
41
|
+
description: "For an apiKey: the operations the key may call. Null or absent means unrestricted."
|
|
42
|
+
},
|
|
38
43
|
userId: { type: "string" },
|
|
39
44
|
organizationId: { type: "string" },
|
|
40
45
|
propertyId: { type: "string" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credential.js","names":[],"sources":["../../.generated/schemas/credential.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\n\nexport const credentialSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"credential.json\",\n title: \"Credential\",\n type: \"object\",\n required: [\"id\", \"type\", \"credential\", \"expires\"],\n additionalProperties: false,\n properties: {\n id: {\n $ref: \"definitions.json#/definitions/id\",\n },\n type: {\n type: \"string\",\n default: \"credential\",\n enum: [\"credential\"],\n },\n driver: {\n $ref: \"definitions.json#/definitions/driver\",\n },\n name: {\n $ref: \"definitions.json#/definitions/name\",\n },\n discriminator: {\n type: \"string\",\n enum: [\n \"verificationCode\",\n \"token\",\n \"mobileKey\",\n \"pin\",\n \"publicKey\",\n \"passkeyChallenge\",\n \"alarmCode\",\n \"apiKey\",\n ],\n },\n credential: {\n type: \"string\",\n },\n keyHash: {\n type: \"string\",\n },\n userId: {\n type: \"string\",\n },\n organizationId: {\n type: \"string\",\n },\n propertyId: {\n type: \"string\",\n },\n deviceId: {\n type: \"string\",\n },\n userAgent: {\n type: \"string\",\n },\n expires: {\n type: [\"string\", \"object\", \"null\"],\n format: \"date-time\",\n },\n createdAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n updatedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n systemId: {\n $ref: \"definitions.json#/definitions/systemId\",\n },\n },\n} as const;\n\nexport type CredentialSchema = Omit<\n FromSchema<\n typeof credentialSchema,\n {\n references: [typeof defs];\n deserialize: [\n {\n pattern: {\n format: \"date-time\";\n };\n output: Date | ISODateString;\n },\n ];\n }\n >,\n \"expires\"\n> & { expires: Date | ISODateString | null };\n"],"mappings":";AAGA,MAAa,mBAAmB;CAC9B,SAAS;CACT,KAAK;CACL,OAAO;CACP,MAAM;CACN,UAAU;EAAC;EAAM;EAAQ;EAAc;CAAS;CAChD,sBAAsB;CACtB,YAAY;EACV,IAAI,EACF,MAAM,mCACR;EACA,MAAM;GACJ,MAAM;GACN,SAAS;GACT,MAAM,CAAC,YAAY;EACrB;EACA,QAAQ,EACN,MAAM,uCACR;EACA,MAAM,EACJ,MAAM,qCACR;EACA,eAAe;GACb,MAAM;GACN,MAAM;IACJ;IACA;IACA;IACA;IACA;IACA;IACA;IACA;GACF;EACF;EACA,YAAY,EACV,MAAM,SACR;EACA,SAAS,EACP,MAAM,SACR;EACA,QAAQ,EACN,MAAM,SACR;EACA,gBAAgB,EACd,MAAM,SACR;EACA,YAAY,EACV,MAAM,SACR;EACA,UAAU,EACR,MAAM,SACR;EACA,WAAW,EACT,MAAM,SACR;EACA,SAAS;GACP,MAAM;IAAC;IAAU;IAAU;GAAM;GACjC,QAAQ;EACV;EACA,WAAW,EACT,MAAM,qCACR;EACA,WAAW,EACT,MAAM,qCACR;EACA,UAAU,EACR,MAAM,yCACR;CACF;AACF"}
|
|
1
|
+
{"version":3,"file":"credential.js","names":[],"sources":["../../.generated/schemas/credential.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\n\nexport const credentialSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"credential.json\",\n title: \"Credential\",\n type: \"object\",\n required: [\"id\", \"type\", \"credential\", \"expires\"],\n additionalProperties: false,\n properties: {\n id: {\n $ref: \"definitions.json#/definitions/id\",\n },\n type: {\n type: \"string\",\n default: \"credential\",\n enum: [\"credential\"],\n },\n driver: {\n $ref: \"definitions.json#/definitions/driver\",\n },\n name: {\n $ref: \"definitions.json#/definitions/name\",\n },\n discriminator: {\n type: \"string\",\n enum: [\n \"verificationCode\",\n \"token\",\n \"mobileKey\",\n \"pin\",\n \"publicKey\",\n \"passkeyChallenge\",\n \"alarmCode\",\n \"apiKey\",\n ],\n },\n credential: {\n type: \"string\",\n },\n keyHash: {\n type: \"string\",\n },\n allowedOperations: {\n type: [\"array\", \"null\"],\n items: { type: \"string\" },\n description:\n \"For an apiKey: the operations the key may call. Null or absent means unrestricted.\",\n },\n userId: {\n type: \"string\",\n },\n organizationId: {\n type: \"string\",\n },\n propertyId: {\n type: \"string\",\n },\n deviceId: {\n type: \"string\",\n },\n userAgent: {\n type: \"string\",\n },\n expires: {\n type: [\"string\", \"object\", \"null\"],\n format: \"date-time\",\n },\n createdAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n updatedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n systemId: {\n $ref: \"definitions.json#/definitions/systemId\",\n },\n },\n} as const;\n\nexport type CredentialSchema = Omit<\n FromSchema<\n typeof credentialSchema,\n {\n references: [typeof defs];\n deserialize: [\n {\n pattern: {\n format: \"date-time\";\n };\n output: Date | ISODateString;\n },\n ];\n }\n >,\n \"expires\"\n> & { expires: Date | ISODateString | null };\n"],"mappings":";AAGA,MAAa,mBAAmB;CAC9B,SAAS;CACT,KAAK;CACL,OAAO;CACP,MAAM;CACN,UAAU;EAAC;EAAM;EAAQ;EAAc;CAAS;CAChD,sBAAsB;CACtB,YAAY;EACV,IAAI,EACF,MAAM,mCACR;EACA,MAAM;GACJ,MAAM;GACN,SAAS;GACT,MAAM,CAAC,YAAY;EACrB;EACA,QAAQ,EACN,MAAM,uCACR;EACA,MAAM,EACJ,MAAM,qCACR;EACA,eAAe;GACb,MAAM;GACN,MAAM;IACJ;IACA;IACA;IACA;IACA;IACA;IACA;IACA;GACF;EACF;EACA,YAAY,EACV,MAAM,SACR;EACA,SAAS,EACP,MAAM,SACR;EACA,mBAAmB;GACjB,MAAM,CAAC,SAAS,MAAM;GACtB,OAAO,EAAE,MAAM,SAAS;GACxB,aACE;EACJ;EACA,QAAQ,EACN,MAAM,SACR;EACA,gBAAgB,EACd,MAAM,SACR;EACA,YAAY,EACV,MAAM,SACR;EACA,UAAU,EACR,MAAM,SACR;EACA,WAAW,EACT,MAAM,SACR;EACA,SAAS;GACP,MAAM;IAAC;IAAU;IAAU;GAAM;GACjC,QAAQ;EACV;EACA,WAAW,EACT,MAAM,qCACR;EACA,WAAW,EACT,MAAM,qCACR;EACA,UAAU,EACR,MAAM,yCACR;CACF;AACF"}
|
package/dist/useCases/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export { DeleteUserCommand } from "./deleteUser.js";
|
|
|
15
15
|
export { CreateApiKeyCommand } from "./createApiKey.js";
|
|
16
16
|
export { GetApiKeyCommand } from "./getApiKey.js";
|
|
17
17
|
export { RotateApiKeyCommand } from "./rotateApiKey.js";
|
|
18
|
+
export { SetApiKeyAllowedOperationsCommand } from "./setApiKeyAllowedOperations.js";
|
|
18
19
|
export { RevokeApiKeyCommand } from "./revokeApiKey.js";
|
|
19
20
|
export { SendVerificationCodeCommand } from "./sendVerificationCode.js";
|
|
20
21
|
export { CheckVerificationCodeCommand } from "./checkVerificationCode.js";
|
package/dist/useCases/index.js
CHANGED
|
@@ -16,6 +16,7 @@ import { DeleteUserCommand } from "./deleteUser.js";
|
|
|
16
16
|
import { CreateApiKeyCommand } from "./createApiKey.js";
|
|
17
17
|
import { GetApiKeyCommand } from "./getApiKey.js";
|
|
18
18
|
import { RotateApiKeyCommand } from "./rotateApiKey.js";
|
|
19
|
+
import { SetApiKeyAllowedOperationsCommand } from "./setApiKeyAllowedOperations.js";
|
|
19
20
|
import { RevokeApiKeyCommand } from "./revokeApiKey.js";
|
|
20
21
|
import { SendVerificationCodeCommand } from "./sendVerificationCode.js";
|
|
21
22
|
import { CheckVerificationCodeCommand } from "./checkVerificationCode.js";
|
|
@@ -466,6 +467,7 @@ var useCases_exports = /* @__PURE__ */ __exportAll({
|
|
|
466
467
|
SendNotificationCommand: () => SendNotificationCommand,
|
|
467
468
|
SendSOSUpdateCommand: () => SendSOSUpdateCommand,
|
|
468
469
|
SendVerificationCodeCommand: () => SendVerificationCodeCommand,
|
|
470
|
+
SetApiKeyAllowedOperationsCommand: () => SetApiKeyAllowedOperationsCommand,
|
|
469
471
|
SetAwaitingResponseCommand: () => SetAwaitingResponseCommand,
|
|
470
472
|
SetCostInvoiceCommand: () => SetCostInvoiceCommand,
|
|
471
473
|
SetCostVendorInvoiceCommand: () => SetCostVendorInvoiceCommand,
|
|
@@ -521,6 +523,6 @@ var useCases_exports = /* @__PURE__ */ __exportAll({
|
|
|
521
523
|
WriteOffCostEntryCommand: () => WriteOffCostEntryCommand
|
|
522
524
|
});
|
|
523
525
|
//#endregion
|
|
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 };
|
|
526
|
+
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, SetApiKeyAllowedOperationsCommand, 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 };
|
|
525
527
|
|
|
526
528
|
//# 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 { 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":""}
|
|
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 { SetApiKeyAllowedOperationsCommand } from \"./setApiKeyAllowedOperations.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":""}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface SetApiKeyAllowedOperationsCommandConfig {
|
|
2
2
|
data?: {
|
|
3
|
-
|
|
3
|
+
userId: string;
|
|
4
4
|
[key: string]: unknown;
|
|
5
5
|
} | null;
|
|
6
6
|
headers?: Record<string, string> | null;
|
|
7
7
|
query?: Record<string, unknown> | null;
|
|
8
8
|
}
|
|
9
|
-
export interface
|
|
9
|
+
export interface SetApiKeyAllowedOperationsCommandRequestConfig {
|
|
10
10
|
method: "put";
|
|
11
11
|
url: string;
|
|
12
12
|
data: {
|
|
13
|
-
|
|
13
|
+
userId: string;
|
|
14
14
|
[key: string]: unknown;
|
|
15
15
|
} | null;
|
|
16
16
|
params: Record<string, unknown> | null;
|
|
@@ -20,17 +20,17 @@ export interface UpdateVendorProfileCommandRequestConfig {
|
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export declare class
|
|
23
|
+
export declare class SetApiKeyAllowedOperationsCommand {
|
|
24
24
|
url: string;
|
|
25
25
|
data: {
|
|
26
|
-
|
|
26
|
+
userId: string;
|
|
27
27
|
[key: string]: unknown;
|
|
28
28
|
} | null;
|
|
29
29
|
query: Record<string, unknown> | null;
|
|
30
30
|
headers: Record<string, string> | null;
|
|
31
|
-
config:
|
|
32
|
-
static params: readonly ["
|
|
31
|
+
config: SetApiKeyAllowedOperationsCommandRequestConfig;
|
|
32
|
+
static params: readonly ["userId"];
|
|
33
33
|
static url: string;
|
|
34
34
|
static method: "put";
|
|
35
|
-
constructor(commandConfig:
|
|
35
|
+
constructor(commandConfig: SetApiKeyAllowedOperationsCommandConfig, options?: Record<string, unknown>);
|
|
36
36
|
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
//#region .generated/useCases/setApiKeyAllowedOperations.ts
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
var SetApiKeyAllowedOperationsCommand = class SetApiKeyAllowedOperationsCommand {
|
|
6
|
+
url;
|
|
7
|
+
data;
|
|
8
|
+
query;
|
|
9
|
+
headers;
|
|
10
|
+
config;
|
|
11
|
+
static params = ["userId"];
|
|
12
|
+
static url = "/users/:userId/apiKey/allowed-operations";
|
|
13
|
+
static method = "put";
|
|
14
|
+
constructor(commandConfig, options = {}) {
|
|
15
|
+
const pathParams = SetApiKeyAllowedOperationsCommand.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 = SetApiKeyAllowedOperationsCommand.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: SetApiKeyAllowedOperationsCommand.method,
|
|
36
|
+
url,
|
|
37
|
+
data,
|
|
38
|
+
params: query,
|
|
39
|
+
headers,
|
|
40
|
+
...options
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
//#endregion
|
|
45
|
+
export { SetApiKeyAllowedOperationsCommand };
|
|
46
|
+
|
|
47
|
+
//# sourceMappingURL=setApiKeyAllowedOperations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setApiKeyAllowedOperations.js","names":[],"sources":["../../.generated/useCases/setApiKeyAllowedOperations.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface SetApiKeyAllowedOperationsCommandConfig {\n data?: { userId: string; [key: string]: unknown } | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface SetApiKeyAllowedOperationsCommandRequestConfig {\n method: \"put\";\n url: string;\n data: { userId: 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 SetApiKeyAllowedOperationsCommand {\n url: string;\n data: { userId: string; [key: string]: unknown } | null;\n query: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n config: SetApiKeyAllowedOperationsCommandRequestConfig;\n\n static params = [\"userId\"] as const;\n static url = \"/users/:userId/apiKey/allowed-operations\";\n static method = \"put\" as const;\n\n constructor(commandConfig: SetApiKeyAllowedOperationsCommandConfig, options: Record<string, unknown> = {}) {\n const pathParams = SetApiKeyAllowedOperationsCommand.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 = SetApiKeyAllowedOperationsCommand.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: SetApiKeyAllowedOperationsCommand.method,\n url: url,\n data: data,\n params: query,\n headers: headers,\n ...options,\n };\n }\n}\n"],"mappings":";;;;AAoBA,IAAa,oCAAb,MAAa,kCAAkC;CAC7C;CACA;CACA;CACA;CACA;CAEA,OAAO,SAAS,CAAC,QAAQ;CACzB,OAAO,MAAM;CACb,OAAO,SAAS;CAEhB,YAAY,eAAwD,UAAmC,CAAC,GAAG;EACzG,MAAM,aAAa,kCAAkC;EAErD,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,kCAAkC;EAEpD,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,kCAAkC;GACrC;GACC;GACN,QAAQ;GACC;GACT,GAAG;EACL;CACF;AACF"}
|
package/package.json
CHANGED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The four items a Vendor profile's Documents card asks for. Fixed, in this
|
|
3
|
-
* order, and not a taxonomy anyone edits: the card's job is to make what is
|
|
4
|
-
* missing legible at a glance, which a growing list would defeat. A document's
|
|
5
|
-
* stored `label` is free-form, so a checklist row is the item whose label
|
|
6
|
-
* matches its name.
|
|
7
|
-
*/
|
|
8
|
-
export declare const VENDOR_DOCUMENT_CHECKLIST: readonly ["W-9", "Certificate of Insurance", "Signed Agreement", "Trade License"];
|
|
9
|
-
export type VendorDocumentChecklistItem = (typeof VENDOR_DOCUMENT_CHECKLIST)[number];
|
|
10
|
-
/** How far ahead of an expiry date a document reads as expiring. */
|
|
11
|
-
export declare const VENDOR_DOCUMENT_EXPIRING_SOON_DAYS = 30;
|
|
12
|
-
export type VendorDocumentExpiry = "expired" | "expiringSoon" | "current";
|
|
13
|
-
/**
|
|
14
|
-
* Where a document sits against its own expiry date, computed from
|
|
15
|
-
* `expiresAt` every time it is read and never stored. A stored flag would be
|
|
16
|
-
* wrong the day after it was written and would need a job to keep true; a date
|
|
17
|
-
* and a clock are enough.
|
|
18
|
-
*
|
|
19
|
-
* A document with no expiry has no status — a W-9 does not expire, and
|
|
20
|
-
* inventing "current" for it would put a reassuring badge on a document nobody
|
|
21
|
-
* checked.
|
|
22
|
-
*/
|
|
23
|
-
export declare function vendorDocumentExpiry(expiresAt: string | Date | null | undefined, now?: Date): VendorDocumentExpiry | null;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The coverages Kohost records against a catalog Vendor. An enum rather than
|
|
3
|
-
* free text because the whole point of the record is answering "is this vendor
|
|
4
|
-
* covered for X" across the catalog, which two spellings of "general liability"
|
|
5
|
-
* would defeat. `other` is the escape hatch, and the carrier/limit fields say
|
|
6
|
-
* what it is.
|
|
7
|
-
*/
|
|
8
|
-
export declare const VENDOR_INSURANCE_TYPES: readonly ["general-liability", "workers-comp", "auto", "umbrella", "professional", "other"];
|
|
9
|
-
export type VendorInsuranceType = (typeof VENDOR_INSURANCE_TYPES)[number];
|
|
10
|
-
export declare const VENDOR_INSURANCE_TYPE_LABELS: Record<VendorInsuranceType, string>;
|
|
11
|
-
export declare function isVendorInsuranceType(value: unknown): value is VendorInsuranceType;
|
|
12
|
-
/**
|
|
13
|
-
* What a complete Private Details record carries, in the order the catalog
|
|
14
|
-
* list reports it missing. Deliberately short: these are the facts Kohost
|
|
15
|
-
* needs before it can put a vendor in front of a campus, not everything the
|
|
16
|
-
* editor can hold.
|
|
17
|
-
*/
|
|
18
|
-
export declare const VENDOR_REQUIRED_DETAILS: readonly ["Legal name", "EIN", "W-9", "Insurance", "License"];
|
|
19
|
-
export type VendorRequiredDetail = (typeof VENDOR_REQUIRED_DETAILS)[number];
|
|
20
|
-
interface VendorPrivateLike {
|
|
21
|
-
legalName?: string | null;
|
|
22
|
-
ein?: string | null;
|
|
23
|
-
w9OnFile?: boolean | null;
|
|
24
|
-
insurance?: readonly unknown[] | null;
|
|
25
|
-
licenses?: readonly unknown[] | null;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Which of {@link VENDOR_REQUIRED_DETAILS} a Vendor has nothing on file for,
|
|
29
|
-
* derived every time it is read. Emptiness is the only test — a record's
|
|
30
|
-
* contents, and whether it has expired, are the editor's business, so a vendor
|
|
31
|
-
* with a lapsed policy reads as having insurance details and an expiry
|
|
32
|
-
* warning rather than as missing them.
|
|
33
|
-
*/
|
|
34
|
-
export declare function missingVendorDetails(privateDetails: VendorPrivateLike | null | undefined): VendorRequiredDetail[];
|
|
35
|
-
export {};
|
package/dist/models/order.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Entity } from "./entity.js";
|
|
2
|
-
import { validateOrder as validate } from "../validate.js";
|
|
3
|
-
import { orderSchema, type OrderSchema } from "../schemas/order.js";
|
|
4
|
-
/**
|
|
5
|
-
* Data type for Order constructor - exported for backwards compatibility
|
|
6
|
-
*/
|
|
7
|
-
export type OrderData = OrderSchema;
|
|
8
|
-
/**
|
|
9
|
-
* A purchase order for products or services.
|
|
10
|
-
*/
|
|
11
|
-
export interface Order extends OrderSchema {
|
|
12
|
-
}
|
|
13
|
-
export declare class Order extends Entity {
|
|
14
|
-
schema: typeof orderSchema;
|
|
15
|
-
validator: typeof validate;
|
|
16
|
-
constructor(data: OrderSchema);
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Entity } from "./entity.js";
|
|
2
|
-
import { validateVendorProfile as validate } from "../validate.js";
|
|
3
|
-
import { vendorProfileSchema, type VendorProfileSchema } from "../schemas/vendorProfile.js";
|
|
4
|
-
/**
|
|
5
|
-
* Data type for VendorProfile constructor - exported for backwards compatibility
|
|
6
|
-
*/
|
|
7
|
-
export type VendorProfileData = VendorProfileSchema;
|
|
8
|
-
/**
|
|
9
|
-
* VendorProfile
|
|
10
|
-
*/
|
|
11
|
-
export interface VendorProfile extends VendorProfileSchema {
|
|
12
|
-
}
|
|
13
|
-
export declare class VendorProfile extends Entity {
|
|
14
|
-
schema: typeof vendorProfileSchema;
|
|
15
|
-
validator: typeof validate;
|
|
16
|
-
constructor(data: VendorProfileSchema);
|
|
17
|
-
}
|
package/dist/schemas/order.d.ts
DELETED
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
import defs from "./definitions.js";
|
|
2
|
-
import type { FromSchema } from "json-schema-to-ts";
|
|
3
|
-
export declare const orderSchema: {
|
|
4
|
-
readonly $schema: "http://json-schema.org/draft-07/schema";
|
|
5
|
-
readonly $id: "order.json";
|
|
6
|
-
readonly title: "Order";
|
|
7
|
-
readonly description: "A purchase order for products or services.";
|
|
8
|
-
readonly type: "object";
|
|
9
|
-
readonly required: readonly ["type", "status"];
|
|
10
|
-
readonly additionalProperties: false;
|
|
11
|
-
readonly properties: {
|
|
12
|
-
readonly id: {
|
|
13
|
-
readonly $ref: "definitions.json#/definitions/id";
|
|
14
|
-
};
|
|
15
|
-
readonly propertyId: {
|
|
16
|
-
readonly type: "string";
|
|
17
|
-
readonly description: "ID of the property this entity belongs to. Optional — used as a per-document filter inside the org-scoped database.";
|
|
18
|
-
};
|
|
19
|
-
readonly type: {
|
|
20
|
-
readonly type: "string";
|
|
21
|
-
readonly default: "order";
|
|
22
|
-
readonly enum: readonly ["order"];
|
|
23
|
-
};
|
|
24
|
-
readonly orderNumber: {
|
|
25
|
-
readonly type: "string";
|
|
26
|
-
};
|
|
27
|
-
readonly status: {
|
|
28
|
-
readonly type: "string";
|
|
29
|
-
readonly enum: readonly ["draft", "pendingPayment", "processing", "outForDelivery", "completed", "paymentFailed", "cancelled", "refunded"];
|
|
30
|
-
};
|
|
31
|
-
readonly userId: {
|
|
32
|
-
readonly $ref: "definitions.json#/definitions/id";
|
|
33
|
-
readonly description: "User id of purchaser";
|
|
34
|
-
};
|
|
35
|
-
readonly reservationId: {
|
|
36
|
-
readonly $ref: "definitions.json#/definitions/id";
|
|
37
|
-
readonly description: "Reservation id if the order is for a reservation";
|
|
38
|
-
};
|
|
39
|
-
readonly date: {
|
|
40
|
-
readonly $ref: "definitions.json#/definitions/date";
|
|
41
|
-
};
|
|
42
|
-
readonly items: {
|
|
43
|
-
readonly type: "array";
|
|
44
|
-
readonly default: readonly [];
|
|
45
|
-
readonly items: {
|
|
46
|
-
readonly type: "object";
|
|
47
|
-
readonly required: readonly ["name", "price"];
|
|
48
|
-
readonly properties: {
|
|
49
|
-
readonly additionalProperties: false;
|
|
50
|
-
readonly name: {
|
|
51
|
-
readonly type: "string";
|
|
52
|
-
};
|
|
53
|
-
readonly sku: {
|
|
54
|
-
readonly type: "string";
|
|
55
|
-
};
|
|
56
|
-
readonly quantity: {
|
|
57
|
-
readonly type: "number";
|
|
58
|
-
readonly default: 1;
|
|
59
|
-
};
|
|
60
|
-
readonly price: {
|
|
61
|
-
readonly type: "number";
|
|
62
|
-
};
|
|
63
|
-
readonly taxClass: {
|
|
64
|
-
readonly type: "string";
|
|
65
|
-
};
|
|
66
|
-
readonly deliveryClass: {
|
|
67
|
-
readonly type: "string";
|
|
68
|
-
};
|
|
69
|
-
readonly productId: {
|
|
70
|
-
readonly type: "string";
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
readonly taxes: {
|
|
76
|
-
readonly type: "array";
|
|
77
|
-
readonly default: readonly [];
|
|
78
|
-
readonly items: {
|
|
79
|
-
readonly type: "object";
|
|
80
|
-
readonly required: readonly ["name", "rate"];
|
|
81
|
-
readonly properties: {
|
|
82
|
-
readonly additionalProperties: false;
|
|
83
|
-
readonly name: {
|
|
84
|
-
readonly type: "string";
|
|
85
|
-
};
|
|
86
|
-
readonly class: {
|
|
87
|
-
readonly type: "string";
|
|
88
|
-
};
|
|
89
|
-
readonly rateType: {
|
|
90
|
-
readonly type: "string";
|
|
91
|
-
readonly enum: readonly ["percentage", "flat"];
|
|
92
|
-
readonly default: "percentage";
|
|
93
|
-
};
|
|
94
|
-
readonly rate: {
|
|
95
|
-
readonly type: "number";
|
|
96
|
-
};
|
|
97
|
-
readonly total: {
|
|
98
|
-
readonly type: "number";
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
readonly fees: {
|
|
104
|
-
readonly type: "array";
|
|
105
|
-
readonly default: readonly [];
|
|
106
|
-
readonly items: {
|
|
107
|
-
readonly type: "object";
|
|
108
|
-
readonly required: readonly ["name", "price"];
|
|
109
|
-
readonly properties: {
|
|
110
|
-
readonly additionalProperties: false;
|
|
111
|
-
readonly name: {
|
|
112
|
-
readonly type: "string";
|
|
113
|
-
};
|
|
114
|
-
readonly price: {
|
|
115
|
-
readonly type: "number";
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
readonly delivery: {
|
|
121
|
-
readonly type: "array";
|
|
122
|
-
readonly default: readonly [];
|
|
123
|
-
readonly items: {
|
|
124
|
-
readonly type: "object";
|
|
125
|
-
readonly required: readonly ["name", "rate"];
|
|
126
|
-
readonly properties: {
|
|
127
|
-
readonly additionalProperties: false;
|
|
128
|
-
readonly name: {
|
|
129
|
-
readonly type: "string";
|
|
130
|
-
};
|
|
131
|
-
readonly class: {
|
|
132
|
-
readonly type: "string";
|
|
133
|
-
};
|
|
134
|
-
readonly rateType: {
|
|
135
|
-
readonly type: "string";
|
|
136
|
-
readonly enum: readonly ["percentage", "flat"];
|
|
137
|
-
readonly default: "percentage";
|
|
138
|
-
};
|
|
139
|
-
readonly rate: {
|
|
140
|
-
readonly type: "number";
|
|
141
|
-
};
|
|
142
|
-
readonly total: {
|
|
143
|
-
readonly type: "number";
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
|
-
};
|
|
148
|
-
readonly payments: {
|
|
149
|
-
readonly type: "array";
|
|
150
|
-
readonly default: readonly [];
|
|
151
|
-
readonly items: {
|
|
152
|
-
readonly type: "object";
|
|
153
|
-
readonly properties: {
|
|
154
|
-
readonly method: {
|
|
155
|
-
readonly type: "string";
|
|
156
|
-
readonly enum: readonly ["folio", "invoice", "amex", "visa", "masterCard", "maestro", "discover", "diners", "jcb", "applePay", "alipay", "chinaUnionPay", "vpay"];
|
|
157
|
-
};
|
|
158
|
-
readonly name: {
|
|
159
|
-
readonly type: "string";
|
|
160
|
-
};
|
|
161
|
-
readonly date: {
|
|
162
|
-
readonly $ref: "definitions.json#/definitions/date";
|
|
163
|
-
};
|
|
164
|
-
readonly amount: {
|
|
165
|
-
readonly type: "number";
|
|
166
|
-
};
|
|
167
|
-
readonly transactionReference: {
|
|
168
|
-
readonly type: "string";
|
|
169
|
-
};
|
|
170
|
-
};
|
|
171
|
-
};
|
|
172
|
-
};
|
|
173
|
-
readonly createdAt: {
|
|
174
|
-
readonly $ref: "definitions.json#/definitions/date";
|
|
175
|
-
};
|
|
176
|
-
readonly updatedAt: {
|
|
177
|
-
readonly $ref: "definitions.json#/definitions/date";
|
|
178
|
-
};
|
|
179
|
-
readonly deletedAt: {
|
|
180
|
-
readonly $ref: "definitions.json#/definitions/date";
|
|
181
|
-
};
|
|
182
|
-
};
|
|
183
|
-
};
|
|
184
|
-
export type OrderSchema = FromSchema<typeof orderSchema, {
|
|
185
|
-
references: [typeof defs];
|
|
186
|
-
}>;
|