@kohost/api-client 7.4.0 → 7.5.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/httpClient.d.ts +2 -2
- package/dist/models/ticket.js +0 -1
- package/dist/models/ticket.js.map +1 -1
- package/dist/schemas/organization.d.ts +6 -0
- package/dist/schemas/organization.js +12 -4
- package/dist/schemas/organization.js.map +1 -1
- package/dist/schemas/ticket.d.ts +0 -3
- package/dist/schemas/ticket.js +0 -1
- package/dist/schemas/ticket.js.map +1 -1
- package/dist/useCases/index.d.ts +0 -1
- package/dist/useCases/index.js +1 -3
- package/dist/useCases/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/useCases/autoCloseTickets.d.ts +0 -27
- package/dist/useCases/autoCloseTickets.js +0 -47
- package/dist/useCases/autoCloseTickets.js.map +0 -1
package/dist/httpClient.d.ts
CHANGED
|
@@ -66,11 +66,11 @@ export class KohostHTTPClient {
|
|
|
66
66
|
*
|
|
67
67
|
* @param {Command} command
|
|
68
68
|
*/
|
|
69
|
-
send(command: typeof import("./useCases.js").CreatePwaHandoffTokenCommand | typeof import("./useCases.js").LogoutUserCommand | typeof import("./useCases.js").DescribeMyAuthCommand | typeof import("./useCases.js").ValidateAuthCommand | typeof import("./useCases.js").SelectOrganizationCommand | typeof import("./useCases.js").ListMyOrganizationsCommand | typeof import("./useCases.js").DescribeSelfCommand | typeof import("./useCases.js").DescribeUserCommand | typeof import("./useCases.js").CreateUserCommand | typeof import("./useCases.js").ListUsersCommand | typeof import("./useCases.js").UpdateSelfCommand | typeof import("./useCases.js").UpdateUserCommand | typeof import("./useCases.js").DeleteUserCommand | typeof import("./useCases.js").CreateApiKeyCommand | typeof import("./useCases.js").GetApiKeyCommand | typeof import("./useCases.js").RotateApiKeyCommand | typeof import("./useCases.js").RevokeApiKeyCommand | typeof import("./useCases.js").SendVerificationCodeCommand | typeof import("./useCases.js").CheckVerificationCodeCommand | typeof import("./useCases.js").ListUserSpacesCommand | typeof import("./useCases.js").DescribeMyPasskeyRegistrationsCommand | typeof import("./useCases.js").DeleteUserCredentialCommand | typeof import("./useCases.js").CreatePolicyCommand | typeof import("./useCases.js").ListPoliciesCommand | typeof import("./useCases.js").UpdatePolicyCommand | typeof import("./useCases.js").DeletePolicyCommand | typeof import("./useCases.js").DescribePolicyCommand | typeof import("./useCases.js").ListSpacesCommand | typeof import("./useCases.js").UpdateSpaceCommand | typeof import("./useCases.js").CreateSpaceCommand | typeof import("./useCases.js").DescribeSpaceCommand | typeof import("./useCases.js").DeleteSpaceCommand | typeof import("./useCases.js").CreateDeviceCommand | typeof import("./useCases.js").CreateDeviceCredentialCommand | typeof import("./useCases.js").ListDevicesCommand | typeof import("./useCases.js").ListDeviceCredentialsCommand | typeof import("./useCases.js").ListCameraStreamPreviewsCommand | typeof import("./useCases.js").DescribeDeviceCommand | typeof import("./useCases.js").UpdateDeviceCommand | typeof import("./useCases.js").UpdateDeviceCredentialCommand | typeof import("./useCases.js").SetDeviceCommand | typeof import("./useCases.js").DeleteDeviceCommand | typeof import("./useCases.js").DeleteDeviceCredentialCommand | typeof import("./useCases.js").MoveDeviceCommand | typeof import("./useCases.js").DescribeDeviceConfigCommand | typeof import("./useCases.js").CreateCategoryCommand | typeof import("./useCases.js").DeleteCategoryCommand | typeof import("./useCases.js").DescribeCategoryCommand | typeof import("./useCases.js").ListCategoriesCommand | typeof import("./useCases.js").UpdateCategoryCommand | typeof import("./useCases.js").DescribeDepartmentCommand | typeof import("./useCases.js").ListDepartmentsCommand | typeof import("./useCases.js").DeleteDepartmentCommand | typeof import("./useCases.js").CreateDepartmentCommand | typeof import("./useCases.js").UpdateDepartmentCommand | typeof import("./useCases.js").
|
|
69
|
+
send(command: typeof import("./useCases.js").CreatePwaHandoffTokenCommand | typeof import("./useCases.js").LogoutUserCommand | typeof import("./useCases.js").DescribeMyAuthCommand | typeof import("./useCases.js").ValidateAuthCommand | typeof import("./useCases.js").SelectOrganizationCommand | typeof import("./useCases.js").ListMyOrganizationsCommand | typeof import("./useCases.js").DescribeSelfCommand | typeof import("./useCases.js").DescribeUserCommand | typeof import("./useCases.js").CreateUserCommand | typeof import("./useCases.js").ListUsersCommand | typeof import("./useCases.js").UpdateSelfCommand | typeof import("./useCases.js").UpdateUserCommand | typeof import("./useCases.js").DeleteUserCommand | typeof import("./useCases.js").CreateApiKeyCommand | typeof import("./useCases.js").GetApiKeyCommand | typeof import("./useCases.js").RotateApiKeyCommand | typeof import("./useCases.js").RevokeApiKeyCommand | typeof import("./useCases.js").SendVerificationCodeCommand | typeof import("./useCases.js").CheckVerificationCodeCommand | typeof import("./useCases.js").ListUserSpacesCommand | typeof import("./useCases.js").DescribeMyPasskeyRegistrationsCommand | typeof import("./useCases.js").DeleteUserCredentialCommand | typeof import("./useCases.js").CreatePolicyCommand | typeof import("./useCases.js").ListPoliciesCommand | typeof import("./useCases.js").UpdatePolicyCommand | typeof import("./useCases.js").DeletePolicyCommand | typeof import("./useCases.js").DescribePolicyCommand | typeof import("./useCases.js").ListSpacesCommand | typeof import("./useCases.js").UpdateSpaceCommand | typeof import("./useCases.js").CreateSpaceCommand | typeof import("./useCases.js").DescribeSpaceCommand | typeof import("./useCases.js").DeleteSpaceCommand | typeof import("./useCases.js").CreateDeviceCommand | typeof import("./useCases.js").CreateDeviceCredentialCommand | typeof import("./useCases.js").ListDevicesCommand | typeof import("./useCases.js").ListDeviceCredentialsCommand | typeof import("./useCases.js").ListCameraStreamPreviewsCommand | typeof import("./useCases.js").DescribeDeviceCommand | typeof import("./useCases.js").UpdateDeviceCommand | typeof import("./useCases.js").UpdateDeviceCredentialCommand | typeof import("./useCases.js").SetDeviceCommand | typeof import("./useCases.js").DeleteDeviceCommand | typeof import("./useCases.js").DeleteDeviceCredentialCommand | typeof import("./useCases.js").MoveDeviceCommand | typeof import("./useCases.js").DescribeDeviceConfigCommand | typeof import("./useCases.js").CreateCategoryCommand | typeof import("./useCases.js").DeleteCategoryCommand | typeof import("./useCases.js").DescribeCategoryCommand | typeof import("./useCases.js").ListCategoriesCommand | typeof import("./useCases.js").UpdateCategoryCommand | typeof import("./useCases.js").DescribeDepartmentCommand | typeof import("./useCases.js").ListDepartmentsCommand | typeof import("./useCases.js").DeleteDepartmentCommand | typeof import("./useCases.js").CreateDepartmentCommand | typeof import("./useCases.js").UpdateDepartmentCommand | typeof import("./useCases.js").DescribeTicketStatsCommand | typeof import("./useCases.js").CreateTicketCommand | typeof import("./useCases.js").CreateTicketMessageCommand | typeof import("./useCases.js").DeleteTicketCommand | typeof import("./useCases.js").ListTicketLocationsCommand | typeof import("./useCases.js").DescribeTicketFiltersCommand | typeof import("./useCases.js").DescribeTicketCommand | typeof import("./useCases.js").ListTicketsCommand | typeof import("./useCases.js").UpdateMessageReadStatusCommand | typeof import("./useCases.js").UpdateTicketCommand | typeof import("./useCases.js").LeaveTicketCommand | typeof import("./useCases.js").CreateDiscoveredDeviceAssociationMapCommand | typeof import("./useCases.js").AutoAssociateDiscoveredDevicesCommand | typeof import("./useCases.js").CreateDiscoveredDeviceCommand | typeof import("./useCases.js").ListDiscoveredDevicesCommand | typeof import("./useCases.js").UpdateDiscoveredDeviceCommand | typeof import("./useCases.js").DeleteDiscoveredDeviceCommand | typeof import("./useCases.js").DescribeDiscoveredDeviceCommand | typeof import("./useCases.js").UpsertDiscoveredDeviceCommand | typeof import("./useCases.js").CreateDiscoveredDeviceAssociationCommand | typeof import("./useCases.js").ListIntegrationsCommand | typeof import("./useCases.js").DescribeMyOrganizationCommand | typeof import("./useCases.js").CreateOrganizationCommand | typeof import("./useCases.js").UpdateOrganizationCommand | typeof import("./useCases.js").UpdateOrganizationFeaturesCommand | typeof import("./useCases.js").DeleteOrganizationCommand | typeof import("./useCases.js").DescribeOrganizationCommand | typeof import("./useCases.js").ListOrganizationsCommand | typeof import("./useCases.js").ListPropertiesCommand | typeof import("./useCases.js").ListPropertyCredentialsCommand | typeof import("./useCases.js").ListMyPropertiesCommand | typeof import("./useCases.js").CreatePropertyCommand | typeof import("./useCases.js").DeletePropertyCommand | typeof import("./useCases.js").UpdatePropertyCommand | typeof import("./useCases.js").DescribePropertyCommand | typeof import("./useCases.js").UpdatePropertyFeaturesCommand | typeof import("./useCases.js").EmailUserAccountSetupCommand | typeof import("./useCases.js").CreateImageUploadEndpointCommand | typeof import("./useCases.js").DeleteMediaFileCommand | typeof import("./useCases.js").UploadImageCommand | typeof import("./useCases.js").DescribeTimeSheetStatsCommand | typeof import("./useCases.js").ListMyTimeSheetsCommand | typeof import("./useCases.js").DescribeTimeSheetCommand | typeof import("./useCases.js").ListTimeSheetsCommand | typeof import("./useCases.js").CreateTimeSheetCommand | typeof import("./useCases.js").DeleteTimeSheetCommand | typeof import("./useCases.js").UpdateTimeSheetCommand | typeof import("./useCases.js").CreateTimeSheetTimeEntryCommand | typeof import("./useCases.js").DeleteTimeSheetTimeEntryCommand | typeof import("./useCases.js").UpdateTimeSheetTimeEntryCommand | typeof import("./useCases.js").StartSOSCommand | typeof import("./useCases.js").StopSOSCommand | typeof import("./useCases.js").DescribeSOSCommand | typeof import("./useCases.js").DescribeIssueCommand | typeof import("./useCases.js").ListIssuesCommand | typeof import("./useCases.js").DeleteIssueCommand | typeof import("./useCases.js").CreateIssueCommand | typeof import("./useCases.js").UpdateIssueCommand | typeof import("./useCases.js").MergeIssueCommand | typeof import("./useCases.js").CopyIssueRoutingCommand | typeof import("./useCases.js").BulkUpdateIssueCommand | typeof import("./useCases.js").DescribeVendorCommand | typeof import("./useCases.js").ListVendorsCommand | typeof import("./useCases.js").DeleteVendorCommand | typeof import("./useCases.js").CreateVendorCommand | typeof import("./useCases.js").UpdateVendorCommand | typeof import("./useCases.js").CreateAutomationCommand | typeof import("./useCases.js").ListAutomationsCommand | typeof import("./useCases.js").DescribeAutomationCommand | typeof import("./useCases.js").UpdateAutomationCommand | typeof import("./useCases.js").DeleteAutomationCommand | typeof import("./useCases.js").CreateDefaultAutomationsCommand | typeof import("./useCases.js").RunAutomationCommand | typeof import("./useCases.js").SendNotificationCommand | typeof import("./useCases.js").ListSessionsCommand | typeof import("./useCases.js").DescribeSessionCommand | typeof import("./useCases.js").DeleteSessionCommand | typeof import("./useCases.js").SetDevicesCommand | typeof import("./useCases.js").CreateSystemCommand | typeof import("./useCases.js").DeleteSystemCommand | typeof import("./useCases.js").DescribeSystemCommand | typeof import("./useCases.js").ListSystemsCommand | typeof import("./useCases.js").UpdateSystemCommand | typeof import("./useCases.js").CreateServerCommand | typeof import("./useCases.js").DeleteServerCommand | typeof import("./useCases.js").DescribeServerCommand | typeof import("./useCases.js").ListServersCommand | typeof import("./useCases.js").UpdateServerCommand): Promise<any>;
|
|
70
70
|
/**
|
|
71
71
|
* @param {Command} config
|
|
72
72
|
* @returns {Request}
|
|
73
73
|
*/
|
|
74
|
-
createRequest(config: typeof import("./useCases.js").CreatePwaHandoffTokenCommand | typeof import("./useCases.js").LogoutUserCommand | typeof import("./useCases.js").DescribeMyAuthCommand | typeof import("./useCases.js").ValidateAuthCommand | typeof import("./useCases.js").SelectOrganizationCommand | typeof import("./useCases.js").ListMyOrganizationsCommand | typeof import("./useCases.js").DescribeSelfCommand | typeof import("./useCases.js").DescribeUserCommand | typeof import("./useCases.js").CreateUserCommand | typeof import("./useCases.js").ListUsersCommand | typeof import("./useCases.js").UpdateSelfCommand | typeof import("./useCases.js").UpdateUserCommand | typeof import("./useCases.js").DeleteUserCommand | typeof import("./useCases.js").CreateApiKeyCommand | typeof import("./useCases.js").GetApiKeyCommand | typeof import("./useCases.js").RotateApiKeyCommand | typeof import("./useCases.js").RevokeApiKeyCommand | typeof import("./useCases.js").SendVerificationCodeCommand | typeof import("./useCases.js").CheckVerificationCodeCommand | typeof import("./useCases.js").ListUserSpacesCommand | typeof import("./useCases.js").DescribeMyPasskeyRegistrationsCommand | typeof import("./useCases.js").DeleteUserCredentialCommand | typeof import("./useCases.js").CreatePolicyCommand | typeof import("./useCases.js").ListPoliciesCommand | typeof import("./useCases.js").UpdatePolicyCommand | typeof import("./useCases.js").DeletePolicyCommand | typeof import("./useCases.js").DescribePolicyCommand | typeof import("./useCases.js").ListSpacesCommand | typeof import("./useCases.js").UpdateSpaceCommand | typeof import("./useCases.js").CreateSpaceCommand | typeof import("./useCases.js").DescribeSpaceCommand | typeof import("./useCases.js").DeleteSpaceCommand | typeof import("./useCases.js").CreateDeviceCommand | typeof import("./useCases.js").CreateDeviceCredentialCommand | typeof import("./useCases.js").ListDevicesCommand | typeof import("./useCases.js").ListDeviceCredentialsCommand | typeof import("./useCases.js").ListCameraStreamPreviewsCommand | typeof import("./useCases.js").DescribeDeviceCommand | typeof import("./useCases.js").UpdateDeviceCommand | typeof import("./useCases.js").UpdateDeviceCredentialCommand | typeof import("./useCases.js").SetDeviceCommand | typeof import("./useCases.js").DeleteDeviceCommand | typeof import("./useCases.js").DeleteDeviceCredentialCommand | typeof import("./useCases.js").MoveDeviceCommand | typeof import("./useCases.js").DescribeDeviceConfigCommand | typeof import("./useCases.js").CreateCategoryCommand | typeof import("./useCases.js").DeleteCategoryCommand | typeof import("./useCases.js").DescribeCategoryCommand | typeof import("./useCases.js").ListCategoriesCommand | typeof import("./useCases.js").UpdateCategoryCommand | typeof import("./useCases.js").DescribeDepartmentCommand | typeof import("./useCases.js").ListDepartmentsCommand | typeof import("./useCases.js").DeleteDepartmentCommand | typeof import("./useCases.js").CreateDepartmentCommand | typeof import("./useCases.js").UpdateDepartmentCommand | typeof import("./useCases.js").
|
|
74
|
+
createRequest(config: typeof import("./useCases.js").CreatePwaHandoffTokenCommand | typeof import("./useCases.js").LogoutUserCommand | typeof import("./useCases.js").DescribeMyAuthCommand | typeof import("./useCases.js").ValidateAuthCommand | typeof import("./useCases.js").SelectOrganizationCommand | typeof import("./useCases.js").ListMyOrganizationsCommand | typeof import("./useCases.js").DescribeSelfCommand | typeof import("./useCases.js").DescribeUserCommand | typeof import("./useCases.js").CreateUserCommand | typeof import("./useCases.js").ListUsersCommand | typeof import("./useCases.js").UpdateSelfCommand | typeof import("./useCases.js").UpdateUserCommand | typeof import("./useCases.js").DeleteUserCommand | typeof import("./useCases.js").CreateApiKeyCommand | typeof import("./useCases.js").GetApiKeyCommand | typeof import("./useCases.js").RotateApiKeyCommand | typeof import("./useCases.js").RevokeApiKeyCommand | typeof import("./useCases.js").SendVerificationCodeCommand | typeof import("./useCases.js").CheckVerificationCodeCommand | typeof import("./useCases.js").ListUserSpacesCommand | typeof import("./useCases.js").DescribeMyPasskeyRegistrationsCommand | typeof import("./useCases.js").DeleteUserCredentialCommand | typeof import("./useCases.js").CreatePolicyCommand | typeof import("./useCases.js").ListPoliciesCommand | typeof import("./useCases.js").UpdatePolicyCommand | typeof import("./useCases.js").DeletePolicyCommand | typeof import("./useCases.js").DescribePolicyCommand | typeof import("./useCases.js").ListSpacesCommand | typeof import("./useCases.js").UpdateSpaceCommand | typeof import("./useCases.js").CreateSpaceCommand | typeof import("./useCases.js").DescribeSpaceCommand | typeof import("./useCases.js").DeleteSpaceCommand | typeof import("./useCases.js").CreateDeviceCommand | typeof import("./useCases.js").CreateDeviceCredentialCommand | typeof import("./useCases.js").ListDevicesCommand | typeof import("./useCases.js").ListDeviceCredentialsCommand | typeof import("./useCases.js").ListCameraStreamPreviewsCommand | typeof import("./useCases.js").DescribeDeviceCommand | typeof import("./useCases.js").UpdateDeviceCommand | typeof import("./useCases.js").UpdateDeviceCredentialCommand | typeof import("./useCases.js").SetDeviceCommand | typeof import("./useCases.js").DeleteDeviceCommand | typeof import("./useCases.js").DeleteDeviceCredentialCommand | typeof import("./useCases.js").MoveDeviceCommand | typeof import("./useCases.js").DescribeDeviceConfigCommand | typeof import("./useCases.js").CreateCategoryCommand | typeof import("./useCases.js").DeleteCategoryCommand | typeof import("./useCases.js").DescribeCategoryCommand | typeof import("./useCases.js").ListCategoriesCommand | typeof import("./useCases.js").UpdateCategoryCommand | typeof import("./useCases.js").DescribeDepartmentCommand | typeof import("./useCases.js").ListDepartmentsCommand | typeof import("./useCases.js").DeleteDepartmentCommand | typeof import("./useCases.js").CreateDepartmentCommand | typeof import("./useCases.js").UpdateDepartmentCommand | typeof import("./useCases.js").DescribeTicketStatsCommand | typeof import("./useCases.js").CreateTicketCommand | typeof import("./useCases.js").CreateTicketMessageCommand | typeof import("./useCases.js").DeleteTicketCommand | typeof import("./useCases.js").ListTicketLocationsCommand | typeof import("./useCases.js").DescribeTicketFiltersCommand | typeof import("./useCases.js").DescribeTicketCommand | typeof import("./useCases.js").ListTicketsCommand | typeof import("./useCases.js").UpdateMessageReadStatusCommand | typeof import("./useCases.js").UpdateTicketCommand | typeof import("./useCases.js").LeaveTicketCommand | typeof import("./useCases.js").CreateDiscoveredDeviceAssociationMapCommand | typeof import("./useCases.js").AutoAssociateDiscoveredDevicesCommand | typeof import("./useCases.js").CreateDiscoveredDeviceCommand | typeof import("./useCases.js").ListDiscoveredDevicesCommand | typeof import("./useCases.js").UpdateDiscoveredDeviceCommand | typeof import("./useCases.js").DeleteDiscoveredDeviceCommand | typeof import("./useCases.js").DescribeDiscoveredDeviceCommand | typeof import("./useCases.js").UpsertDiscoveredDeviceCommand | typeof import("./useCases.js").CreateDiscoveredDeviceAssociationCommand | typeof import("./useCases.js").ListIntegrationsCommand | typeof import("./useCases.js").DescribeMyOrganizationCommand | typeof import("./useCases.js").CreateOrganizationCommand | typeof import("./useCases.js").UpdateOrganizationCommand | typeof import("./useCases.js").UpdateOrganizationFeaturesCommand | typeof import("./useCases.js").DeleteOrganizationCommand | typeof import("./useCases.js").DescribeOrganizationCommand | typeof import("./useCases.js").ListOrganizationsCommand | typeof import("./useCases.js").ListPropertiesCommand | typeof import("./useCases.js").ListPropertyCredentialsCommand | typeof import("./useCases.js").ListMyPropertiesCommand | typeof import("./useCases.js").CreatePropertyCommand | typeof import("./useCases.js").DeletePropertyCommand | typeof import("./useCases.js").UpdatePropertyCommand | typeof import("./useCases.js").DescribePropertyCommand | typeof import("./useCases.js").UpdatePropertyFeaturesCommand | typeof import("./useCases.js").EmailUserAccountSetupCommand | typeof import("./useCases.js").CreateImageUploadEndpointCommand | typeof import("./useCases.js").DeleteMediaFileCommand | typeof import("./useCases.js").UploadImageCommand | typeof import("./useCases.js").DescribeTimeSheetStatsCommand | typeof import("./useCases.js").ListMyTimeSheetsCommand | typeof import("./useCases.js").DescribeTimeSheetCommand | typeof import("./useCases.js").ListTimeSheetsCommand | typeof import("./useCases.js").CreateTimeSheetCommand | typeof import("./useCases.js").DeleteTimeSheetCommand | typeof import("./useCases.js").UpdateTimeSheetCommand | typeof import("./useCases.js").CreateTimeSheetTimeEntryCommand | typeof import("./useCases.js").DeleteTimeSheetTimeEntryCommand | typeof import("./useCases.js").UpdateTimeSheetTimeEntryCommand | typeof import("./useCases.js").StartSOSCommand | typeof import("./useCases.js").StopSOSCommand | typeof import("./useCases.js").DescribeSOSCommand | typeof import("./useCases.js").DescribeIssueCommand | typeof import("./useCases.js").ListIssuesCommand | typeof import("./useCases.js").DeleteIssueCommand | typeof import("./useCases.js").CreateIssueCommand | typeof import("./useCases.js").UpdateIssueCommand | typeof import("./useCases.js").MergeIssueCommand | typeof import("./useCases.js").CopyIssueRoutingCommand | typeof import("./useCases.js").BulkUpdateIssueCommand | typeof import("./useCases.js").DescribeVendorCommand | typeof import("./useCases.js").ListVendorsCommand | typeof import("./useCases.js").DeleteVendorCommand | typeof import("./useCases.js").CreateVendorCommand | typeof import("./useCases.js").UpdateVendorCommand | typeof import("./useCases.js").CreateAutomationCommand | typeof import("./useCases.js").ListAutomationsCommand | typeof import("./useCases.js").DescribeAutomationCommand | typeof import("./useCases.js").UpdateAutomationCommand | typeof import("./useCases.js").DeleteAutomationCommand | typeof import("./useCases.js").CreateDefaultAutomationsCommand | typeof import("./useCases.js").RunAutomationCommand | typeof import("./useCases.js").SendNotificationCommand | typeof import("./useCases.js").ListSessionsCommand | typeof import("./useCases.js").DescribeSessionCommand | typeof import("./useCases.js").DeleteSessionCommand | typeof import("./useCases.js").SetDevicesCommand | typeof import("./useCases.js").CreateSystemCommand | typeof import("./useCases.js").DeleteSystemCommand | typeof import("./useCases.js").DescribeSystemCommand | typeof import("./useCases.js").ListSystemsCommand | typeof import("./useCases.js").UpdateSystemCommand | typeof import("./useCases.js").CreateServerCommand | typeof import("./useCases.js").DeleteServerCommand | typeof import("./useCases.js").DescribeServerCommand | typeof import("./useCases.js").ListServersCommand | typeof import("./useCases.js").UpdateServerCommand): Request;
|
|
75
75
|
#private;
|
|
76
76
|
}
|
package/dist/models/ticket.js
CHANGED
|
@@ -26,7 +26,6 @@ var Ticket = class extends Entity {
|
|
|
26
26
|
this.tags = data.tags;
|
|
27
27
|
if (data.rating !== void 0) this.rating = data.rating;
|
|
28
28
|
if (data.ratingComment !== void 0) this.ratingComment = data.ratingComment;
|
|
29
|
-
if (data.autoCloseAt !== void 0) this.autoCloseAt = data.autoCloseAt;
|
|
30
29
|
if (data.scheduleDate !== void 0) this.scheduleDate = data.scheduleDate;
|
|
31
30
|
this.createdAt = data.createdAt;
|
|
32
31
|
this.updatedAt = data.updatedAt;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ticket.js","names":["validate"],"sources":["../../.generated/models/ticket.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nimport { Entity } from \"./entity.js\";\nimport { validateTicket as validate } from \"../validate.js\";\nimport { ticketSchema, type TicketSchema } from \"../schemas/ticket.js\";\n\n/**\n * Data type for Ticket constructor - exported for backwards compatibility\n */\nexport type TicketData = TicketSchema;\n\n/**\n * A ticket is a request from a user.\n */\nexport interface Ticket extends TicketSchema {}\nexport class Ticket extends Entity {\n declare schema: typeof ticketSchema;\n declare validator: typeof validate;\n\n constructor(data: TicketSchema) {\n super(data);\n this.id = data.id;\n if (data.propertyId !== undefined) this.propertyId = data.propertyId;\n if (data.type !== undefined) this.type = data.type;\n if (data.number !== undefined) this.number = data.number;\n if (data.issueId !== undefined) this.issueId = data.issueId;\n if (data.parentAutomationId !== undefined)\n this.parentAutomationId = data.parentAutomationId;\n this.conversation = data.conversation;\n if (data.subject !== undefined) this.subject = data.subject;\n this.openedBy = data.openedBy;\n this.requester = data.requester;\n this.assignedTo = data.assignedTo;\n if (data.notify !== undefined) this.notify = data.notify;\n if (data.collaborators !== undefined)\n this.collaborators = data.collaborators;\n if (data.location !== undefined) this.location = data.location;\n this.status = data.status;\n this.priority = data.priority;\n if (data.priorityRank !== undefined) this.priorityRank = data.priorityRank;\n if (data.reopenCount !== undefined) this.reopenCount = data.reopenCount;\n this.tags = data.tags;\n if (data.rating !== undefined) this.rating = data.rating;\n if (data.ratingComment !== undefined)\n this.ratingComment = data.ratingComment;\n if (data.
|
|
1
|
+
{"version":3,"file":"ticket.js","names":["validate"],"sources":["../../.generated/models/ticket.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nimport { Entity } from \"./entity.js\";\nimport { validateTicket as validate } from \"../validate.js\";\nimport { ticketSchema, type TicketSchema } from \"../schemas/ticket.js\";\n\n/**\n * Data type for Ticket constructor - exported for backwards compatibility\n */\nexport type TicketData = TicketSchema;\n\n/**\n * A ticket is a request from a user.\n */\nexport interface Ticket extends TicketSchema {}\nexport class Ticket extends Entity {\n declare schema: typeof ticketSchema;\n declare validator: typeof validate;\n\n constructor(data: TicketSchema) {\n super(data);\n this.id = data.id;\n if (data.propertyId !== undefined) this.propertyId = data.propertyId;\n if (data.type !== undefined) this.type = data.type;\n if (data.number !== undefined) this.number = data.number;\n if (data.issueId !== undefined) this.issueId = data.issueId;\n if (data.parentAutomationId !== undefined)\n this.parentAutomationId = data.parentAutomationId;\n this.conversation = data.conversation;\n if (data.subject !== undefined) this.subject = data.subject;\n this.openedBy = data.openedBy;\n this.requester = data.requester;\n this.assignedTo = data.assignedTo;\n if (data.notify !== undefined) this.notify = data.notify;\n if (data.collaborators !== undefined)\n this.collaborators = data.collaborators;\n if (data.location !== undefined) this.location = data.location;\n this.status = data.status;\n this.priority = data.priority;\n if (data.priorityRank !== undefined) this.priorityRank = data.priorityRank;\n if (data.reopenCount !== undefined) this.reopenCount = data.reopenCount;\n this.tags = data.tags;\n if (data.rating !== undefined) this.rating = data.rating;\n if (data.ratingComment !== undefined)\n this.ratingComment = data.ratingComment;\n if (data.scheduleDate !== undefined) this.scheduleDate = data.scheduleDate;\n this.createdAt = data.createdAt;\n this.updatedAt = data.updatedAt;\n if (data.solvedAt !== undefined) this.solvedAt = data.solvedAt;\n if (data.lastMessageAt !== undefined)\n this.lastMessageAt = data.lastMessageAt;\n if (data.closedAt !== undefined) this.closedAt = data.closedAt;\n if (data.deletedAt !== undefined) this.deletedAt = data.deletedAt;\n }\n}\n\nObject.defineProperty(Ticket.prototype, \"schema\", {\n value: ticketSchema,\n});\n\nObject.defineProperty(Ticket.prototype, \"validator\", {\n get: function () {\n return validate;\n },\n});\n"],"mappings":";;;;AAeA,IAAa,SAAb,cAA4B,OAAO;CAIjC,YAAY,MAAoB;EAC9B,MAAM,IAAI;EACV,KAAK,KAAK,KAAK;EACf,IAAI,KAAK,eAAe,KAAA,GAAW,KAAK,aAAa,KAAK;EAC1D,IAAI,KAAK,SAAS,KAAA,GAAW,KAAK,OAAO,KAAK;EAC9C,IAAI,KAAK,WAAW,KAAA,GAAW,KAAK,SAAS,KAAK;EAClD,IAAI,KAAK,YAAY,KAAA,GAAW,KAAK,UAAU,KAAK;EACpD,IAAI,KAAK,uBAAuB,KAAA,GAC9B,KAAK,qBAAqB,KAAK;EACjC,KAAK,eAAe,KAAK;EACzB,IAAI,KAAK,YAAY,KAAA,GAAW,KAAK,UAAU,KAAK;EACpD,KAAK,WAAW,KAAK;EACrB,KAAK,YAAY,KAAK;EACtB,KAAK,aAAa,KAAK;EACvB,IAAI,KAAK,WAAW,KAAA,GAAW,KAAK,SAAS,KAAK;EAClD,IAAI,KAAK,kBAAkB,KAAA,GACzB,KAAK,gBAAgB,KAAK;EAC5B,IAAI,KAAK,aAAa,KAAA,GAAW,KAAK,WAAW,KAAK;EACtD,KAAK,SAAS,KAAK;EACnB,KAAK,WAAW,KAAK;EACrB,IAAI,KAAK,iBAAiB,KAAA,GAAW,KAAK,eAAe,KAAK;EAC9D,IAAI,KAAK,gBAAgB,KAAA,GAAW,KAAK,cAAc,KAAK;EAC5D,KAAK,OAAO,KAAK;EACjB,IAAI,KAAK,WAAW,KAAA,GAAW,KAAK,SAAS,KAAK;EAClD,IAAI,KAAK,kBAAkB,KAAA,GACzB,KAAK,gBAAgB,KAAK;EAC5B,IAAI,KAAK,iBAAiB,KAAA,GAAW,KAAK,eAAe,KAAK;EAC9D,KAAK,YAAY,KAAK;EACtB,KAAK,YAAY,KAAK;EACtB,IAAI,KAAK,aAAa,KAAA,GAAW,KAAK,WAAW,KAAK;EACtD,IAAI,KAAK,kBAAkB,KAAA,GACzB,KAAK,gBAAgB,KAAK;EAC5B,IAAI,KAAK,aAAa,KAAA,GAAW,KAAK,WAAW,KAAK;EACtD,IAAI,KAAK,cAAc,KAAA,GAAW,KAAK,YAAY,KAAK;CAC1D;AACF;AAEA,OAAO,eAAe,OAAO,WAAW,UAAU,EAChD,OAAO,aACT,CAAC;AAED,OAAO,eAAe,OAAO,WAAW,aAAa,EACnD,KAAK,WAAY;CACf,OAAOA;AACT,EACF,CAAC"}
|
|
@@ -150,6 +150,12 @@ export declare const organizationSchema: {
|
|
|
150
150
|
readonly type: readonly ["string", "integer"];
|
|
151
151
|
readonly default: 1;
|
|
152
152
|
};
|
|
153
|
+
readonly autoCloseAfterMinutes: {
|
|
154
|
+
readonly type: "integer";
|
|
155
|
+
readonly description: "Minutes a solved Ticket waits before it is automatically closed. Always on; read when the close job is scheduled.";
|
|
156
|
+
readonly default: 10080;
|
|
157
|
+
readonly minimum: 5;
|
|
158
|
+
};
|
|
153
159
|
};
|
|
154
160
|
};
|
|
155
161
|
readonly departments: {
|
|
@@ -114,10 +114,18 @@ const organizationSchema = {
|
|
|
114
114
|
properties: {
|
|
115
115
|
tickets: {
|
|
116
116
|
type: "object",
|
|
117
|
-
properties: {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
117
|
+
properties: {
|
|
118
|
+
nextTicketNumber: {
|
|
119
|
+
type: ["string", "integer"],
|
|
120
|
+
default: 1
|
|
121
|
+
},
|
|
122
|
+
autoCloseAfterMinutes: {
|
|
123
|
+
type: "integer",
|
|
124
|
+
description: "Minutes a solved Ticket waits before it is automatically closed. Always on; read when the close job is scheduled.",
|
|
125
|
+
default: 10080,
|
|
126
|
+
minimum: 5
|
|
127
|
+
}
|
|
128
|
+
}
|
|
121
129
|
},
|
|
122
130
|
departments: {
|
|
123
131
|
type: "object",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.js","names":[],"sources":["../../.generated/schemas/organization.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\n\nexport const organizationSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"organization.json\",\n title: \"Organization\",\n type: \"object\",\n description:\n \"An organization is a group or entity that subscribes to Kohost software.\",\n required: [\"id\", \"type\", \"accountNumber\", \"name\"],\n additionalProperties: false,\n properties: {\n id: {\n $ref: \"definitions.json#/definitions/id\",\n },\n type: {\n type: \"string\",\n default: \"organization\",\n enum: [\"organization\"],\n },\n accountNumber: {\n type: [\"number\", \"null\"],\n },\n name: {\n type: \"string\",\n },\n smsNumber: {\n type: \"string\",\n },\n properties: {\n type: \"array\",\n items: {\n type: \"string\",\n },\n },\n appManifest: {\n type: \"object\",\n\n properties: {\n name: {\n type: \"string\",\n },\n short_name: {\n type: \"string\",\n },\n scope: {\n type: \"string\",\n },\n start_url: {\n type: \"string\",\n },\n themeColor: {\n type: \"string\",\n },\n backgroundColor: {\n type: \"string\",\n },\n display: {\n type: \"string\",\n enum: [\"fullscreen\", \"standalone\", \"minimal-ui\", \"browser\"],\n default: \"fullscreen\",\n },\n orientation: {\n type: \"string\",\n enum: [\"portrait\", \"landscape\"],\n default: \"portrait\",\n },\n splash: {\n type: \"object\",\n properties: {\n src: {\n type: \"string\",\n },\n type: {\n type: \"string\",\n },\n sizes: {\n type: \"string\",\n },\n },\n },\n icons: {\n type: \"array\",\n items: {\n type: \"object\",\n properties: {\n src: {\n type: \"string\",\n },\n sizes: {\n type: \"string\",\n },\n type: {\n type: \"string\",\n },\n },\n },\n },\n logo: {\n type: \"object\",\n properties: {\n src: {\n type: \"string\",\n },\n type: {\n type: \"string\",\n },\n sizes: {\n type: \"string\",\n },\n },\n },\n },\n default: {\n name: \"Kohost\",\n short_name: \"Kohost\",\n start_url: \"/\",\n scope: \"/\",\n display: \"fullscreen\",\n orientation: \"portrait\",\n theme_color: \"#1d1f22\",\n background_color: \"#1d1f22\",\n icons: [\n {\n src: \"https://images.kohost.io/cdn-cgi/imagedelivery/vcVX2aBwdFSYr66spcFKaA/9c85047f-ccba-4b1c-3070-5463fbe93b00/w=512\",\n sizes: \"512x512\",\n type: \"image/png\",\n },\n ],\n splash: {\n src: \"https://images.kohost.io/cdn-cgi/imagedelivery/vcVX2aBwdFSYr66spcFKaA/034fb112-5326-4d37-373e-d1cc2a4d0400/w=1500\",\n sizes: \"1500x800\",\n type: \"image/jpg\",\n },\n logo: {\n src: \"https://images.kohost.io/cdn-cgi/imagedelivery/vcVX2aBwdFSYr66spcFKaA/1e54c54d-3bac-4745-f46f-c2f98036af00/h=75\",\n sizes: \"300x75\",\n type: \"image/png\",\n },\n },\n },\n features: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n Concierge: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n tickets: {\n type: \"object\",\n properties: {\n nextTicketNumber: {\n type: [\"string\", \"integer\"],\n default: 1,\n },\n },\n },\n departments: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n order: {\n type: \"array\",\n description:\n \"Org-wide curated Department ID order for the Concierge settings UI. The `Unassigned` and `System` pseudo-groups are pinned at the bottom by the UI and have no entries here.\",\n items: {\n type: \"string\",\n },\n },\n },\n },\n issues: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n order: {\n type: \"object\",\n description:\n \"Org-wide curated Issue ordering for the Concierge settings UI, mapping each Department ID to its ordered Issue IDs.\",\n additionalProperties: {\n type: \"array\",\n items: {\n type: \"string\",\n },\n },\n },\n },\n },\n },\n },\n SOS: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n types: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n order: {\n type: \"array\",\n description:\n \"Org-wide curated SOS Type ID order. Each Property renders its subset of \" +\n \"SOS Types in this order; org-wide and per-property-selected types share one \" +\n \"order. IDs for deleted SOS Types are ignored on read; SOS Types not yet listed \" +\n \"sort to the end alphabetically.\",\n items: { type: \"string\" },\n },\n },\n },\n },\n },\n },\n },\n credentials: {\n type: \"object\",\n additionalProperties: true,\n properties: {\n webhookToken: { type: \"string\" },\n },\n },\n createdAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n updatedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n deletedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n },\n} as const;\n\nexport type OrganizationSchema = FromSchema<\n typeof organizationSchema,\n {\n references: [typeof defs];\n deserialize: [\n {\n pattern: {\n format: \"date-time\";\n };\n output: Date | ISODateString;\n },\n ];\n }\n>;\n"],"mappings":";AAGA,MAAa,qBAAqB;CAChC,SAAS;CACT,KAAK;CACL,OAAO;CACP,MAAM;CACN,aACE;CACF,UAAU;EAAC;EAAM;EAAQ;EAAiB;CAAM;CAChD,sBAAsB;CACtB,YAAY;EACV,IAAI,EACF,MAAM,mCACR;EACA,MAAM;GACJ,MAAM;GACN,SAAS;GACT,MAAM,CAAC,cAAc;EACvB;EACA,eAAe,EACb,MAAM,CAAC,UAAU,MAAM,EACzB;EACA,MAAM,EACJ,MAAM,SACR;EACA,WAAW,EACT,MAAM,SACR;EACA,YAAY;GACV,MAAM;GACN,OAAO,EACL,MAAM,SACR;EACF;EACA,aAAa;GACX,MAAM;GAEN,YAAY;IACV,MAAM,EACJ,MAAM,SACR;IACA,YAAY,EACV,MAAM,SACR;IACA,OAAO,EACL,MAAM,SACR;IACA,WAAW,EACT,MAAM,SACR;IACA,YAAY,EACV,MAAM,SACR;IACA,iBAAiB,EACf,MAAM,SACR;IACA,SAAS;KACP,MAAM;KACN,MAAM;MAAC;MAAc;MAAc;MAAc;KAAS;KAC1D,SAAS;IACX;IACA,aAAa;KACX,MAAM;KACN,MAAM,CAAC,YAAY,WAAW;KAC9B,SAAS;IACX;IACA,QAAQ;KACN,MAAM;KACN,YAAY;MACV,KAAK,EACH,MAAM,SACR;MACA,MAAM,EACJ,MAAM,SACR;MACA,OAAO,EACL,MAAM,SACR;KACF;IACF;IACA,OAAO;KACL,MAAM;KACN,OAAO;MACL,MAAM;MACN,YAAY;OACV,KAAK,EACH,MAAM,SACR;OACA,OAAO,EACL,MAAM,SACR;OACA,MAAM,EACJ,MAAM,SACR;MACF;KACF;IACF;IACA,MAAM;KACJ,MAAM;KACN,YAAY;MACV,KAAK,EACH,MAAM,SACR;MACA,MAAM,EACJ,MAAM,SACR;MACA,OAAO,EACL,MAAM,SACR;KACF;IACF;GACF;GACA,SAAS;IACP,MAAM;IACN,YAAY;IACZ,WAAW;IACX,OAAO;IACP,SAAS;IACT,aAAa;IACb,aAAa;IACb,kBAAkB;IAClB,OAAO,CACL;KACE,KAAK;KACL,OAAO;KACP,MAAM;IACR,CACF;IACA,QAAQ;KACN,KAAK;KACL,OAAO;KACP,MAAM;IACR;IACA,MAAM;KACJ,KAAK;KACL,OAAO;KACP,MAAM;IACR;GACF;EACF;EACA,UAAU;GACR,MAAM;GACN,sBAAsB;GACtB,YAAY;IACV,WAAW;KACT,MAAM;KACN,sBAAsB;KACtB,YAAY;MACV,SAAS;OACP,MAAM;OACN,YAAY,
|
|
1
|
+
{"version":3,"file":"organization.js","names":[],"sources":["../../.generated/schemas/organization.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\n\nexport const organizationSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"organization.json\",\n title: \"Organization\",\n type: \"object\",\n description:\n \"An organization is a group or entity that subscribes to Kohost software.\",\n required: [\"id\", \"type\", \"accountNumber\", \"name\"],\n additionalProperties: false,\n properties: {\n id: {\n $ref: \"definitions.json#/definitions/id\",\n },\n type: {\n type: \"string\",\n default: \"organization\",\n enum: [\"organization\"],\n },\n accountNumber: {\n type: [\"number\", \"null\"],\n },\n name: {\n type: \"string\",\n },\n smsNumber: {\n type: \"string\",\n },\n properties: {\n type: \"array\",\n items: {\n type: \"string\",\n },\n },\n appManifest: {\n type: \"object\",\n\n properties: {\n name: {\n type: \"string\",\n },\n short_name: {\n type: \"string\",\n },\n scope: {\n type: \"string\",\n },\n start_url: {\n type: \"string\",\n },\n themeColor: {\n type: \"string\",\n },\n backgroundColor: {\n type: \"string\",\n },\n display: {\n type: \"string\",\n enum: [\"fullscreen\", \"standalone\", \"minimal-ui\", \"browser\"],\n default: \"fullscreen\",\n },\n orientation: {\n type: \"string\",\n enum: [\"portrait\", \"landscape\"],\n default: \"portrait\",\n },\n splash: {\n type: \"object\",\n properties: {\n src: {\n type: \"string\",\n },\n type: {\n type: \"string\",\n },\n sizes: {\n type: \"string\",\n },\n },\n },\n icons: {\n type: \"array\",\n items: {\n type: \"object\",\n properties: {\n src: {\n type: \"string\",\n },\n sizes: {\n type: \"string\",\n },\n type: {\n type: \"string\",\n },\n },\n },\n },\n logo: {\n type: \"object\",\n properties: {\n src: {\n type: \"string\",\n },\n type: {\n type: \"string\",\n },\n sizes: {\n type: \"string\",\n },\n },\n },\n },\n default: {\n name: \"Kohost\",\n short_name: \"Kohost\",\n start_url: \"/\",\n scope: \"/\",\n display: \"fullscreen\",\n orientation: \"portrait\",\n theme_color: \"#1d1f22\",\n background_color: \"#1d1f22\",\n icons: [\n {\n src: \"https://images.kohost.io/cdn-cgi/imagedelivery/vcVX2aBwdFSYr66spcFKaA/9c85047f-ccba-4b1c-3070-5463fbe93b00/w=512\",\n sizes: \"512x512\",\n type: \"image/png\",\n },\n ],\n splash: {\n src: \"https://images.kohost.io/cdn-cgi/imagedelivery/vcVX2aBwdFSYr66spcFKaA/034fb112-5326-4d37-373e-d1cc2a4d0400/w=1500\",\n sizes: \"1500x800\",\n type: \"image/jpg\",\n },\n logo: {\n src: \"https://images.kohost.io/cdn-cgi/imagedelivery/vcVX2aBwdFSYr66spcFKaA/1e54c54d-3bac-4745-f46f-c2f98036af00/h=75\",\n sizes: \"300x75\",\n type: \"image/png\",\n },\n },\n },\n features: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n Concierge: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n tickets: {\n type: \"object\",\n properties: {\n nextTicketNumber: {\n type: [\"string\", \"integer\"],\n default: 1,\n },\n autoCloseAfterMinutes: {\n type: \"integer\",\n description:\n \"Minutes a solved Ticket waits before it is automatically closed. Always on; read when the close job is scheduled.\",\n default: 10080,\n minimum: 5,\n },\n },\n },\n departments: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n order: {\n type: \"array\",\n description:\n \"Org-wide curated Department ID order for the Concierge settings UI. The `Unassigned` and `System` pseudo-groups are pinned at the bottom by the UI and have no entries here.\",\n items: {\n type: \"string\",\n },\n },\n },\n },\n issues: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n order: {\n type: \"object\",\n description:\n \"Org-wide curated Issue ordering for the Concierge settings UI, mapping each Department ID to its ordered Issue IDs.\",\n additionalProperties: {\n type: \"array\",\n items: {\n type: \"string\",\n },\n },\n },\n },\n },\n },\n },\n SOS: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n types: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n order: {\n type: \"array\",\n description:\n \"Org-wide curated SOS Type ID order. Each Property renders its subset of \" +\n \"SOS Types in this order; org-wide and per-property-selected types share one \" +\n \"order. IDs for deleted SOS Types are ignored on read; SOS Types not yet listed \" +\n \"sort to the end alphabetically.\",\n items: { type: \"string\" },\n },\n },\n },\n },\n },\n },\n },\n credentials: {\n type: \"object\",\n additionalProperties: true,\n properties: {\n webhookToken: { type: \"string\" },\n },\n },\n createdAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n updatedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n deletedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n },\n} as const;\n\nexport type OrganizationSchema = FromSchema<\n typeof organizationSchema,\n {\n references: [typeof defs];\n deserialize: [\n {\n pattern: {\n format: \"date-time\";\n };\n output: Date | ISODateString;\n },\n ];\n }\n>;\n"],"mappings":";AAGA,MAAa,qBAAqB;CAChC,SAAS;CACT,KAAK;CACL,OAAO;CACP,MAAM;CACN,aACE;CACF,UAAU;EAAC;EAAM;EAAQ;EAAiB;CAAM;CAChD,sBAAsB;CACtB,YAAY;EACV,IAAI,EACF,MAAM,mCACR;EACA,MAAM;GACJ,MAAM;GACN,SAAS;GACT,MAAM,CAAC,cAAc;EACvB;EACA,eAAe,EACb,MAAM,CAAC,UAAU,MAAM,EACzB;EACA,MAAM,EACJ,MAAM,SACR;EACA,WAAW,EACT,MAAM,SACR;EACA,YAAY;GACV,MAAM;GACN,OAAO,EACL,MAAM,SACR;EACF;EACA,aAAa;GACX,MAAM;GAEN,YAAY;IACV,MAAM,EACJ,MAAM,SACR;IACA,YAAY,EACV,MAAM,SACR;IACA,OAAO,EACL,MAAM,SACR;IACA,WAAW,EACT,MAAM,SACR;IACA,YAAY,EACV,MAAM,SACR;IACA,iBAAiB,EACf,MAAM,SACR;IACA,SAAS;KACP,MAAM;KACN,MAAM;MAAC;MAAc;MAAc;MAAc;KAAS;KAC1D,SAAS;IACX;IACA,aAAa;KACX,MAAM;KACN,MAAM,CAAC,YAAY,WAAW;KAC9B,SAAS;IACX;IACA,QAAQ;KACN,MAAM;KACN,YAAY;MACV,KAAK,EACH,MAAM,SACR;MACA,MAAM,EACJ,MAAM,SACR;MACA,OAAO,EACL,MAAM,SACR;KACF;IACF;IACA,OAAO;KACL,MAAM;KACN,OAAO;MACL,MAAM;MACN,YAAY;OACV,KAAK,EACH,MAAM,SACR;OACA,OAAO,EACL,MAAM,SACR;OACA,MAAM,EACJ,MAAM,SACR;MACF;KACF;IACF;IACA,MAAM;KACJ,MAAM;KACN,YAAY;MACV,KAAK,EACH,MAAM,SACR;MACA,MAAM,EACJ,MAAM,SACR;MACA,OAAO,EACL,MAAM,SACR;KACF;IACF;GACF;GACA,SAAS;IACP,MAAM;IACN,YAAY;IACZ,WAAW;IACX,OAAO;IACP,SAAS;IACT,aAAa;IACb,aAAa;IACb,kBAAkB;IAClB,OAAO,CACL;KACE,KAAK;KACL,OAAO;KACP,MAAM;IACR,CACF;IACA,QAAQ;KACN,KAAK;KACL,OAAO;KACP,MAAM;IACR;IACA,MAAM;KACJ,KAAK;KACL,OAAO;KACP,MAAM;IACR;GACF;EACF;EACA,UAAU;GACR,MAAM;GACN,sBAAsB;GACtB,YAAY;IACV,WAAW;KACT,MAAM;KACN,sBAAsB;KACtB,YAAY;MACV,SAAS;OACP,MAAM;OACN,YAAY;QACV,kBAAkB;SAChB,MAAM,CAAC,UAAU,SAAS;SAC1B,SAAS;QACX;QACA,uBAAuB;SACrB,MAAM;SACN,aACE;SACF,SAAS;SACT,SAAS;QACX;OACF;MACF;MACA,aAAa;OACX,MAAM;OACN,sBAAsB;OACtB,YAAY,EACV,OAAO;QACL,MAAM;QACN,aACE;QACF,OAAO,EACL,MAAM,SACR;OACF,EACF;MACF;MACA,QAAQ;OACN,MAAM;OACN,sBAAsB;OACtB,YAAY,EACV,OAAO;QACL,MAAM;QACN,aACE;QACF,sBAAsB;SACpB,MAAM;SACN,OAAO,EACL,MAAM,SACR;QACF;OACF,EACF;MACF;KACF;IACF;IACA,KAAK;KACH,MAAM;KACN,sBAAsB;KACtB,YAAY,EACV,OAAO;MACL,MAAM;MACN,sBAAsB;MACtB,YAAY,EACV,OAAO;OACL,MAAM;OACN,aACE;OAIF,OAAO,EAAE,MAAM,SAAS;MAC1B,EACF;KACF,EACF;IACF;GACF;EACF;EACA,aAAa;GACX,MAAM;GACN,sBAAsB;GACtB,YAAY,EACV,cAAc,EAAE,MAAM,SAAS,EACjC;EACF;EACA,WAAW,EACT,MAAM,qCACR;EACA,WAAW,EACT,MAAM,qCACR;EACA,WAAW,EACT,MAAM,qCACR;CACF;AACF"}
|
package/dist/schemas/ticket.d.ts
CHANGED
|
@@ -344,9 +344,6 @@ export declare const ticketSchema: {
|
|
|
344
344
|
readonly ratingComment: {
|
|
345
345
|
readonly type: "string";
|
|
346
346
|
};
|
|
347
|
-
readonly autoCloseAt: {
|
|
348
|
-
readonly $ref: "definitions.json#/definitions/date";
|
|
349
|
-
};
|
|
350
347
|
readonly scheduleDate: {
|
|
351
348
|
readonly $ref: "definitions.json#/definitions/date";
|
|
352
349
|
};
|
package/dist/schemas/ticket.js
CHANGED
|
@@ -407,7 +407,6 @@ const ticketSchema = {
|
|
|
407
407
|
maximum: 5
|
|
408
408
|
},
|
|
409
409
|
ratingComment: { type: "string" },
|
|
410
|
-
autoCloseAt: { $ref: "definitions.json#/definitions/date" },
|
|
411
410
|
scheduleDate: { $ref: "definitions.json#/definitions/date" },
|
|
412
411
|
createdAt: { $ref: "definitions.json#/definitions/date" },
|
|
413
412
|
updatedAt: { $ref: "definitions.json#/definitions/date" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ticket.js","names":[],"sources":["../../.generated/schemas/ticket.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\nimport type { mediaFileSchema } from \"./mediaFile\";\n\nexport const ticketSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"ticket.json\",\n title: \"Ticket\",\n description: \"A ticket is a request from a user.\",\n type: \"object\",\n required: [\n \"id\",\n \"conversation\",\n \"requester\",\n \"openedBy\",\n \"assignedTo\",\n \"status\",\n \"priority\",\n \"tags\",\n \"createdAt\",\n \"updatedAt\",\n ],\n additionalProperties: false,\n properties: {\n id: {\n $ref: \"definitions.json#/definitions/id\",\n },\n propertyId: {\n type: \"string\",\n description: \"ID of the property this entity belongs to. Optional — used as a per-document filter inside the org-scoped database.\",\n },\n type: {\n type: \"string\",\n enum: [\"ticket\"],\n default: \"ticket\",\n },\n number: {\n type: \"string\",\n description: \"The number of the ticket.\",\n },\n issueId: {\n type: \"string\",\n description: \"The ID of the issue that this ticket is associated with.\",\n },\n parentAutomationId: {\n type: \"string\",\n description: \"The ID of the automation that created this ticket.\",\n },\n conversation: {\n type: \"array\",\n default: [],\n description: \"The conversation history of the ticket.\",\n items: {\n type: \"object\",\n additionalProperties: false,\n required: [\"id\", \"discriminator\", \"timestamp\", \"body\", \"author\"],\n properties: {\n id: {\n type: \"string\",\n description: \"The ID of the message.\",\n },\n discriminator: {\n type: \"string\",\n enum: [\n \"message\",\n \"opened\",\n \"assigned\",\n \"rated\",\n \"scheduled\",\n \"collaboratorAdded\",\n \"collaboratorRemoved\",\n \"statusChanged\",\n \"priorityChanged\",\n \"scheduleDateChanged\",\n \"locationChanged\",\n \"nudged\",\n ],\n default: \"message\",\n description: \"The discriminator of the message.\",\n },\n isInternal: {\n type: \"boolean\",\n description: \"Whether the message is internal to the assignedTo and collaborators. Internal messages are not visible to the requester.\",\n default: false,\n },\n author: {\n type: \"object\",\n additionalProperties: false,\n required: [\"id\", \"discriminator\", \"name\"],\n properties: {\n id: {\n type: \"string\",\n description: \"The ID of the author of the message.\",\n },\n discriminator: {\n type: \"string\",\n enum: [\"user\", \"vendor\", \"system\"],\n description: \"The discriminator of the author of the message.\",\n },\n name: {\n type: \"string\",\n description: \"The name of the author of the message.\",\n },\n },\n },\n timestamp: {\n $ref: \"definitions.json#/definitions/date\",\n description: \"The ISO 8601 timestamp of the message.\",\n },\n body: {\n type: \"string\",\n description: \"The body of the message.\",\n },\n parsedBody: {\n type: \"object\",\n additionalProperties: false,\n description:\n \"An object containing the parsed body of the message for mentions.\",\n properties: {\n text: {\n type: \"string\",\n description: \"The mention text.\",\n },\n mentions: {\n type: \"array\",\n default: [],\n items: {\n type: \"object\",\n additionalProperties: false,\n required: [\n \"discriminator\",\n \"id\",\n \"index\",\n \"length\",\n \"originalText\",\n ],\n properties: {\n id: {\n type: \"string\",\n description: \"The ID of the mention.\",\n },\n discriminator: {\n type: \"string\",\n enum: [\"user\", \"vendor\", \"system\"],\n description:\n \"The discriminator of entity that was mentioned.\",\n },\n index: {\n type: \"integer\",\n description: \"The index of the mention in the message.\",\n },\n length: {\n type: \"integer\",\n description: \"The length of the mention in the message.\",\n },\n originalText: {\n type: \"string\",\n description: \"The original text of the mention.\",\n },\n },\n },\n },\n },\n },\n statusChanged: {\n type: \"object\",\n additionalProperties: false,\n required: [\"from\", \"to\"],\n description:\n \"Structured status transition for `statusChanged` entries. Lets consumers detect reopens (from solved/closed to open) without parsing the body text.\",\n properties: {\n from: {\n type: \"string\",\n enum: [\"open\", \"pending\", \"solved\", \"closed\"],\n description: \"The status the ticket transitioned from.\",\n },\n to: {\n type: \"string\",\n enum: [\"open\", \"pending\", \"solved\", \"closed\"],\n description: \"The status the ticket transitioned to.\",\n },\n },\n },\n readBy: {\n type: \"array\",\n default: [],\n items: {\n type: \"string\",\n },\n description: \"The IDs of the users who have read the message.\",\n },\n media: {\n anyOf: [{ $ref: \"mediaFile.json\" }, { type: \"null\" }],\n description: \"The media file associated with the message.\",\n },\n },\n },\n },\n subject: {\n type: \"string\",\n description: \"The subject of the ticket.\",\n },\n openedBy: {\n type: \"object\",\n additionalProperties: false,\n required: [\"id\", \"discriminator\", \"name\"],\n properties: {\n id: {\n type: \"string\",\n },\n discriminator: {\n type: \"string\",\n enum: [\"user\", \"system\"],\n },\n name: {\n type: \"string\",\n },\n },\n },\n requester: {\n type: \"object\",\n additionalProperties: false,\n required: [\"id\", \"discriminator\", \"name\"],\n properties: {\n id: {\n type: \"string\",\n description: \"The ID of the requester.\",\n },\n discriminator: {\n type: \"string\",\n enum: [\"user\", \"vendor\", \"system\", \"device\"],\n description: \"The discriminator of the requester.\",\n },\n name: {\n type: \"string\",\n description: \"The name of the requester.\",\n },\n photo: {\n anyOf: [\n { $ref: \"mediaFile.json\" },\n { type: \"null\" },\n { type: \"string\" },\n ],\n description: \"The photo of the requester.\",\n },\n },\n },\n assignedTo: {\n type: [\"object\", \"null\"],\n default: null,\n additionalProperties: false,\n required: [\"id\", \"discriminator\", \"name\"],\n properties: {\n id: {\n type: \"string\",\n description: \"The ID of the assigned to.\",\n },\n discriminator: {\n type: \"string\",\n enum: [\"user\", \"vendor\"],\n description: \"The discriminator of the assigned to.\",\n },\n name: {\n type: \"string\",\n description: \"The name of the assigned to.\",\n },\n photo: {\n anyOf: [\n { $ref: \"mediaFile.json\" },\n { type: \"null\" },\n { type: \"string\" },\n ],\n description: \"The photo of the assigned to.\",\n },\n },\n },\n notify: {\n type: \"array\",\n description:\n \"A list of entities to notify when this ticket is created or resolved.\",\n default: [],\n items: {\n type: \"object\",\n required: [\"id\", \"discriminator\"],\n additionalProperties: false,\n properties: {\n id: {\n type: \"string\",\n description: \"The ID of the entity to notify.\",\n },\n discriminator: {\n type: \"string\",\n enum: [\"user\"],\n },\n },\n },\n },\n collaborators: {\n type: \"array\",\n default: [],\n description: \"A list of entities who will collaborate on this ticket.\",\n items: {\n type: \"object\",\n required: [\"id\", \"name\", \"discriminator\"],\n additionalProperties: false,\n properties: {\n id: {\n type: \"string\",\n },\n name: {\n type: \"string\",\n },\n discriminator: {\n type: \"string\",\n enum: [\"user\", \"vendor\"],\n },\n },\n },\n },\n location: {\n type: \"object\",\n required: [\"discriminator\", \"name\"],\n additionalProperties: false,\n properties: {\n id: {\n type: \"string\",\n },\n discriminator: {\n type: \"string\",\n enum: [\"space\", \"property\", \"customText\"],\n },\n name: {\n type: \"string\",\n },\n },\n },\n status: {\n type: \"string\",\n enum: [\"open\", \"pending\", \"solved\", \"closed\"],\n default: \"open\",\n },\n priority: {\n type: \"string\",\n enum: [\"low\", \"normal\", \"high\", \"critical\"],\n default: \"normal\",\n },\n priorityRank: {\n type: \"integer\",\n minimum: 1,\n maximum: 4,\n description:\n \"Server-derived numeric rank of priority (low=1, normal=2, high=3, critical=4). Denormalized to support priority sorting; never set by clients.\",\n },\n reopenCount: {\n type: \"integer\",\n minimum: 0,\n default: 0,\n description:\n \"Server-derived count of transitions back to \\\"open\\\" that followed a solve/close. reopenCount > 0 answers \\\"was this ticket ever reopened?\\\" in O(1); maintained at the repository layer across every status-write path. Never set by clients.\",\n },\n tags: {\n type: \"array\",\n default: [],\n items: {\n type: \"string\",\n },\n },\n rating: {\n type: \"number\",\n minimum: 0,\n maximum: 5,\n },\n ratingComment: {\n type: \"string\",\n },\n autoCloseAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n scheduleDate: {\n $ref: \"definitions.json#/definitions/date\",\n },\n createdAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n updatedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n solvedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n lastMessageAt: {\n $ref: \"definitions.json#/definitions/date\",\n description:\n \"Server-derived timestamp of the latest conversation message; initialized to createdAt when no message exists. Denormalized to support recency sorting; never set by clients.\",\n },\n closedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n deletedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n },\n} as const;\n\nexport type TicketSchema = FromSchema<\n typeof ticketSchema,\n {\n references: [typeof defs, typeof mediaFileSchema];\n deserialize: [\n {\n pattern: {\n format: \"date-time\";\n };\n output: Date | ISODateString;\n },\n ];\n }\n>;\n"],"mappings":";AAIA,MAAa,eAAe;CAC1B,SAAS;CACT,KAAK;CACL,OAAO;CACP,aAAa;CACb,MAAM;CACN,UAAU;EACR;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,sBAAsB;CACtB,YAAY;EACV,IAAI,EACF,MAAM,mCACR;EACA,YAAY;GACV,MAAM;GACN,aAAa;EACf;EACA,MAAM;GACJ,MAAM;GACN,MAAM,CAAC,QAAQ;GACf,SAAS;EACX;EACA,QAAQ;GACN,MAAM;GACN,aAAa;EACf;EACA,SAAS;GACP,MAAM;GACN,aAAa;EACf;EACA,oBAAoB;GAClB,MAAM;GACN,aAAa;EACf;EACA,cAAc;GACZ,MAAM;GACN,SAAS,CAAC;GACV,aAAa;GACb,OAAO;IACL,MAAM;IACN,sBAAsB;IACtB,UAAU;KAAC;KAAM;KAAiB;KAAa;KAAQ;IAAQ;IAC/D,YAAY;KACV,IAAI;MACF,MAAM;MACN,aAAa;KACf;KACA,eAAe;MACb,MAAM;MACN,MAAM;OACJ;OACA;OACA;OACA;OACA;OACA;OACA;OACA;OACA;OACA;OACA;OACA;MACF;MACA,SAAS;MACT,aAAa;KACf;KACA,YAAY;MACV,MAAM;MACN,aAAa;MACb,SAAS;KACX;KACA,QAAQ;MACN,MAAM;MACN,sBAAsB;MACtB,UAAU;OAAC;OAAM;OAAiB;MAAM;MACxC,YAAY;OACV,IAAI;QACF,MAAM;QACN,aAAa;OACf;OACA,eAAe;QACb,MAAM;QACN,MAAM;SAAC;SAAQ;SAAU;QAAQ;QACjC,aAAa;OACf;OACA,MAAM;QACJ,MAAM;QACN,aAAa;OACf;MACF;KACF;KACA,WAAW;MACT,MAAM;MACN,aAAa;KACf;KACA,MAAM;MACJ,MAAM;MACN,aAAa;KACf;KACA,YAAY;MACV,MAAM;MACN,sBAAsB;MACtB,aACE;MACF,YAAY;OACV,MAAM;QACJ,MAAM;QACN,aAAa;OACf;OACA,UAAU;QACR,MAAM;QACN,SAAS,CAAC;QACV,OAAO;SACL,MAAM;SACN,sBAAsB;SACtB,UAAU;UACR;UACA;UACA;UACA;UACA;SACF;SACA,YAAY;UACV,IAAI;WACF,MAAM;WACN,aAAa;UACf;UACA,eAAe;WACb,MAAM;WACN,MAAM;YAAC;YAAQ;YAAU;WAAQ;WACjC,aACE;UACJ;UACA,OAAO;WACL,MAAM;WACN,aAAa;UACf;UACA,QAAQ;WACN,MAAM;WACN,aAAa;UACf;UACA,cAAc;WACZ,MAAM;WACN,aAAa;UACf;SACF;QACF;OACF;MACF;KACF;KACA,eAAe;MACb,MAAM;MACN,sBAAsB;MACtB,UAAU,CAAC,QAAQ,IAAI;MACvB,aACE;MACF,YAAY;OACV,MAAM;QACJ,MAAM;QACN,MAAM;SAAC;SAAQ;SAAW;SAAU;QAAQ;QAC5C,aAAa;OACf;OACA,IAAI;QACF,MAAM;QACN,MAAM;SAAC;SAAQ;SAAW;SAAU;QAAQ;QAC5C,aAAa;OACf;MACF;KACF;KACA,QAAQ;MACN,MAAM;MACN,SAAS,CAAC;MACV,OAAO,EACL,MAAM,SACR;MACA,aAAa;KACf;KACA,OAAO;MACL,OAAO,CAAC,EAAE,MAAM,iBAAiB,GAAG,EAAE,MAAM,OAAO,CAAC;MACpD,aAAa;KACf;IACF;GACF;EACF;EACA,SAAS;GACP,MAAM;GACN,aAAa;EACf;EACA,UAAU;GACR,MAAM;GACN,sBAAsB;GACtB,UAAU;IAAC;IAAM;IAAiB;GAAM;GACxC,YAAY;IACV,IAAI,EACF,MAAM,SACR;IACA,eAAe;KACb,MAAM;KACN,MAAM,CAAC,QAAQ,QAAQ;IACzB;IACA,MAAM,EACJ,MAAM,SACR;GACF;EACF;EACA,WAAW;GACT,MAAM;GACN,sBAAsB;GACtB,UAAU;IAAC;IAAM;IAAiB;GAAM;GACxC,YAAY;IACV,IAAI;KACF,MAAM;KACN,aAAa;IACf;IACA,eAAe;KACb,MAAM;KACN,MAAM;MAAC;MAAQ;MAAU;MAAU;KAAQ;KAC3C,aAAa;IACf;IACA,MAAM;KACJ,MAAM;KACN,aAAa;IACf;IACA,OAAO;KACL,OAAO;MACL,EAAE,MAAM,iBAAiB;MACzB,EAAE,MAAM,OAAO;MACf,EAAE,MAAM,SAAS;KACnB;KACA,aAAa;IACf;GACF;EACF;EACA,YAAY;GACV,MAAM,CAAC,UAAU,MAAM;GACvB,SAAS;GACT,sBAAsB;GACtB,UAAU;IAAC;IAAM;IAAiB;GAAM;GACxC,YAAY;IACV,IAAI;KACF,MAAM;KACN,aAAa;IACf;IACA,eAAe;KACb,MAAM;KACN,MAAM,CAAC,QAAQ,QAAQ;KACvB,aAAa;IACf;IACA,MAAM;KACJ,MAAM;KACN,aAAa;IACf;IACA,OAAO;KACL,OAAO;MACL,EAAE,MAAM,iBAAiB;MACzB,EAAE,MAAM,OAAO;MACf,EAAE,MAAM,SAAS;KACnB;KACA,aAAa;IACf;GACF;EACF;EACA,QAAQ;GACN,MAAM;GACN,aACE;GACF,SAAS,CAAC;GACV,OAAO;IACL,MAAM;IACN,UAAU,CAAC,MAAM,eAAe;IAChC,sBAAsB;IACtB,YAAY;KACV,IAAI;MACF,MAAM;MACN,aAAa;KACf;KACA,eAAe;MACb,MAAM;MACN,MAAM,CAAC,MAAM;KACf;IACF;GACF;EACF;EACA,eAAe;GACb,MAAM;GACN,SAAS,CAAC;GACV,aAAa;GACb,OAAO;IACL,MAAM;IACN,UAAU;KAAC;KAAM;KAAQ;IAAe;IACxC,sBAAsB;IACtB,YAAY;KACV,IAAI,EACF,MAAM,SACR;KACA,MAAM,EACJ,MAAM,SACR;KACA,eAAe;MACb,MAAM;MACN,MAAM,CAAC,QAAQ,QAAQ;KACzB;IACF;GACF;EACF;EACA,UAAU;GACR,MAAM;GACN,UAAU,CAAC,iBAAiB,MAAM;GAClC,sBAAsB;GACtB,YAAY;IACV,IAAI,EACF,MAAM,SACR;IACA,eAAe;KACb,MAAM;KACN,MAAM;MAAC;MAAS;MAAY;KAAY;IAC1C;IACA,MAAM,EACJ,MAAM,SACR;GACF;EACF;EACA,QAAQ;GACN,MAAM;GACN,MAAM;IAAC;IAAQ;IAAW;IAAU;GAAQ;GAC5C,SAAS;EACX;EACA,UAAU;GACR,MAAM;GACN,MAAM;IAAC;IAAO;IAAU;IAAQ;GAAU;GAC1C,SAAS;EACX;EACA,cAAc;GACZ,MAAM;GACN,SAAS;GACT,SAAS;GACT,aACE;EACJ;EACA,aAAa;GACX,MAAM;GACN,SAAS;GACT,SAAS;GACT,aACE;EACJ;EACA,MAAM;GACJ,MAAM;GACN,SAAS,CAAC;GACV,OAAO,EACL,MAAM,SACR;EACF;EACA,QAAQ;GACN,MAAM;GACN,SAAS;GACT,SAAS;EACX;EACA,eAAe,EACb,MAAM,SACR;EACA,aAAa,EACX,MAAM,qCACR;EACA,cAAc,EACZ,MAAM,qCACR;EACA,WAAW,EACT,MAAM,qCACR;EACA,WAAW,EACT,MAAM,qCACR;EACA,UAAU,EACR,MAAM,qCACR;EACA,eAAe;GACb,MAAM;GACN,aACE;EACJ;EACA,UAAU,EACR,MAAM,qCACR;EACA,WAAW,EACT,MAAM,qCACR;CACF;AACF"}
|
|
1
|
+
{"version":3,"file":"ticket.js","names":[],"sources":["../../.generated/schemas/ticket.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\nimport type { mediaFileSchema } from \"./mediaFile\";\n\nexport const ticketSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"ticket.json\",\n title: \"Ticket\",\n description: \"A ticket is a request from a user.\",\n type: \"object\",\n required: [\n \"id\",\n \"conversation\",\n \"requester\",\n \"openedBy\",\n \"assignedTo\",\n \"status\",\n \"priority\",\n \"tags\",\n \"createdAt\",\n \"updatedAt\",\n ],\n additionalProperties: false,\n properties: {\n id: {\n $ref: \"definitions.json#/definitions/id\",\n },\n propertyId: {\n type: \"string\",\n description: \"ID of the property this entity belongs to. Optional — used as a per-document filter inside the org-scoped database.\",\n },\n type: {\n type: \"string\",\n enum: [\"ticket\"],\n default: \"ticket\",\n },\n number: {\n type: \"string\",\n description: \"The number of the ticket.\",\n },\n issueId: {\n type: \"string\",\n description: \"The ID of the issue that this ticket is associated with.\",\n },\n parentAutomationId: {\n type: \"string\",\n description: \"The ID of the automation that created this ticket.\",\n },\n conversation: {\n type: \"array\",\n default: [],\n description: \"The conversation history of the ticket.\",\n items: {\n type: \"object\",\n additionalProperties: false,\n required: [\"id\", \"discriminator\", \"timestamp\", \"body\", \"author\"],\n properties: {\n id: {\n type: \"string\",\n description: \"The ID of the message.\",\n },\n discriminator: {\n type: \"string\",\n enum: [\n \"message\",\n \"opened\",\n \"assigned\",\n \"rated\",\n \"scheduled\",\n \"collaboratorAdded\",\n \"collaboratorRemoved\",\n \"statusChanged\",\n \"priorityChanged\",\n \"scheduleDateChanged\",\n \"locationChanged\",\n \"nudged\",\n ],\n default: \"message\",\n description: \"The discriminator of the message.\",\n },\n isInternal: {\n type: \"boolean\",\n description: \"Whether the message is internal to the assignedTo and collaborators. Internal messages are not visible to the requester.\",\n default: false,\n },\n author: {\n type: \"object\",\n additionalProperties: false,\n required: [\"id\", \"discriminator\", \"name\"],\n properties: {\n id: {\n type: \"string\",\n description: \"The ID of the author of the message.\",\n },\n discriminator: {\n type: \"string\",\n enum: [\"user\", \"vendor\", \"system\"],\n description: \"The discriminator of the author of the message.\",\n },\n name: {\n type: \"string\",\n description: \"The name of the author of the message.\",\n },\n },\n },\n timestamp: {\n $ref: \"definitions.json#/definitions/date\",\n description: \"The ISO 8601 timestamp of the message.\",\n },\n body: {\n type: \"string\",\n description: \"The body of the message.\",\n },\n parsedBody: {\n type: \"object\",\n additionalProperties: false,\n description:\n \"An object containing the parsed body of the message for mentions.\",\n properties: {\n text: {\n type: \"string\",\n description: \"The mention text.\",\n },\n mentions: {\n type: \"array\",\n default: [],\n items: {\n type: \"object\",\n additionalProperties: false,\n required: [\n \"discriminator\",\n \"id\",\n \"index\",\n \"length\",\n \"originalText\",\n ],\n properties: {\n id: {\n type: \"string\",\n description: \"The ID of the mention.\",\n },\n discriminator: {\n type: \"string\",\n enum: [\"user\", \"vendor\", \"system\"],\n description:\n \"The discriminator of entity that was mentioned.\",\n },\n index: {\n type: \"integer\",\n description: \"The index of the mention in the message.\",\n },\n length: {\n type: \"integer\",\n description: \"The length of the mention in the message.\",\n },\n originalText: {\n type: \"string\",\n description: \"The original text of the mention.\",\n },\n },\n },\n },\n },\n },\n statusChanged: {\n type: \"object\",\n additionalProperties: false,\n required: [\"from\", \"to\"],\n description:\n \"Structured status transition for `statusChanged` entries. Lets consumers detect reopens (from solved/closed to open) without parsing the body text.\",\n properties: {\n from: {\n type: \"string\",\n enum: [\"open\", \"pending\", \"solved\", \"closed\"],\n description: \"The status the ticket transitioned from.\",\n },\n to: {\n type: \"string\",\n enum: [\"open\", \"pending\", \"solved\", \"closed\"],\n description: \"The status the ticket transitioned to.\",\n },\n },\n },\n readBy: {\n type: \"array\",\n default: [],\n items: {\n type: \"string\",\n },\n description: \"The IDs of the users who have read the message.\",\n },\n media: {\n anyOf: [{ $ref: \"mediaFile.json\" }, { type: \"null\" }],\n description: \"The media file associated with the message.\",\n },\n },\n },\n },\n subject: {\n type: \"string\",\n description: \"The subject of the ticket.\",\n },\n openedBy: {\n type: \"object\",\n additionalProperties: false,\n required: [\"id\", \"discriminator\", \"name\"],\n properties: {\n id: {\n type: \"string\",\n },\n discriminator: {\n type: \"string\",\n enum: [\"user\", \"system\"],\n },\n name: {\n type: \"string\",\n },\n },\n },\n requester: {\n type: \"object\",\n additionalProperties: false,\n required: [\"id\", \"discriminator\", \"name\"],\n properties: {\n id: {\n type: \"string\",\n description: \"The ID of the requester.\",\n },\n discriminator: {\n type: \"string\",\n enum: [\"user\", \"vendor\", \"system\", \"device\"],\n description: \"The discriminator of the requester.\",\n },\n name: {\n type: \"string\",\n description: \"The name of the requester.\",\n },\n photo: {\n anyOf: [\n { $ref: \"mediaFile.json\" },\n { type: \"null\" },\n { type: \"string\" },\n ],\n description: \"The photo of the requester.\",\n },\n },\n },\n assignedTo: {\n type: [\"object\", \"null\"],\n default: null,\n additionalProperties: false,\n required: [\"id\", \"discriminator\", \"name\"],\n properties: {\n id: {\n type: \"string\",\n description: \"The ID of the assigned to.\",\n },\n discriminator: {\n type: \"string\",\n enum: [\"user\", \"vendor\"],\n description: \"The discriminator of the assigned to.\",\n },\n name: {\n type: \"string\",\n description: \"The name of the assigned to.\",\n },\n photo: {\n anyOf: [\n { $ref: \"mediaFile.json\" },\n { type: \"null\" },\n { type: \"string\" },\n ],\n description: \"The photo of the assigned to.\",\n },\n },\n },\n notify: {\n type: \"array\",\n description:\n \"A list of entities to notify when this ticket is created or resolved.\",\n default: [],\n items: {\n type: \"object\",\n required: [\"id\", \"discriminator\"],\n additionalProperties: false,\n properties: {\n id: {\n type: \"string\",\n description: \"The ID of the entity to notify.\",\n },\n discriminator: {\n type: \"string\",\n enum: [\"user\"],\n },\n },\n },\n },\n collaborators: {\n type: \"array\",\n default: [],\n description: \"A list of entities who will collaborate on this ticket.\",\n items: {\n type: \"object\",\n required: [\"id\", \"name\", \"discriminator\"],\n additionalProperties: false,\n properties: {\n id: {\n type: \"string\",\n },\n name: {\n type: \"string\",\n },\n discriminator: {\n type: \"string\",\n enum: [\"user\", \"vendor\"],\n },\n },\n },\n },\n location: {\n type: \"object\",\n required: [\"discriminator\", \"name\"],\n additionalProperties: false,\n properties: {\n id: {\n type: \"string\",\n },\n discriminator: {\n type: \"string\",\n enum: [\"space\", \"property\", \"customText\"],\n },\n name: {\n type: \"string\",\n },\n },\n },\n status: {\n type: \"string\",\n enum: [\"open\", \"pending\", \"solved\", \"closed\"],\n default: \"open\",\n },\n priority: {\n type: \"string\",\n enum: [\"low\", \"normal\", \"high\", \"critical\"],\n default: \"normal\",\n },\n priorityRank: {\n type: \"integer\",\n minimum: 1,\n maximum: 4,\n description:\n \"Server-derived numeric rank of priority (low=1, normal=2, high=3, critical=4). Denormalized to support priority sorting; never set by clients.\",\n },\n reopenCount: {\n type: \"integer\",\n minimum: 0,\n default: 0,\n description:\n \"Server-derived count of transitions back to \\\"open\\\" that followed a solve/close. reopenCount > 0 answers \\\"was this ticket ever reopened?\\\" in O(1); maintained at the repository layer across every status-write path. Never set by clients.\",\n },\n tags: {\n type: \"array\",\n default: [],\n items: {\n type: \"string\",\n },\n },\n rating: {\n type: \"number\",\n minimum: 0,\n maximum: 5,\n },\n ratingComment: {\n type: \"string\",\n },\n scheduleDate: {\n $ref: \"definitions.json#/definitions/date\",\n },\n createdAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n updatedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n solvedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n lastMessageAt: {\n $ref: \"definitions.json#/definitions/date\",\n description:\n \"Server-derived timestamp of the latest conversation message; initialized to createdAt when no message exists. Denormalized to support recency sorting; never set by clients.\",\n },\n closedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n deletedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n },\n} as const;\n\nexport type TicketSchema = FromSchema<\n typeof ticketSchema,\n {\n references: [typeof defs, typeof mediaFileSchema];\n deserialize: [\n {\n pattern: {\n format: \"date-time\";\n };\n output: Date | ISODateString;\n },\n ];\n }\n>;\n"],"mappings":";AAIA,MAAa,eAAe;CAC1B,SAAS;CACT,KAAK;CACL,OAAO;CACP,aAAa;CACb,MAAM;CACN,UAAU;EACR;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,sBAAsB;CACtB,YAAY;EACV,IAAI,EACF,MAAM,mCACR;EACA,YAAY;GACV,MAAM;GACN,aAAa;EACf;EACA,MAAM;GACJ,MAAM;GACN,MAAM,CAAC,QAAQ;GACf,SAAS;EACX;EACA,QAAQ;GACN,MAAM;GACN,aAAa;EACf;EACA,SAAS;GACP,MAAM;GACN,aAAa;EACf;EACA,oBAAoB;GAClB,MAAM;GACN,aAAa;EACf;EACA,cAAc;GACZ,MAAM;GACN,SAAS,CAAC;GACV,aAAa;GACb,OAAO;IACL,MAAM;IACN,sBAAsB;IACtB,UAAU;KAAC;KAAM;KAAiB;KAAa;KAAQ;IAAQ;IAC/D,YAAY;KACV,IAAI;MACF,MAAM;MACN,aAAa;KACf;KACA,eAAe;MACb,MAAM;MACN,MAAM;OACJ;OACA;OACA;OACA;OACA;OACA;OACA;OACA;OACA;OACA;OACA;OACA;MACF;MACA,SAAS;MACT,aAAa;KACf;KACA,YAAY;MACV,MAAM;MACN,aAAa;MACb,SAAS;KACX;KACA,QAAQ;MACN,MAAM;MACN,sBAAsB;MACtB,UAAU;OAAC;OAAM;OAAiB;MAAM;MACxC,YAAY;OACV,IAAI;QACF,MAAM;QACN,aAAa;OACf;OACA,eAAe;QACb,MAAM;QACN,MAAM;SAAC;SAAQ;SAAU;QAAQ;QACjC,aAAa;OACf;OACA,MAAM;QACJ,MAAM;QACN,aAAa;OACf;MACF;KACF;KACA,WAAW;MACT,MAAM;MACN,aAAa;KACf;KACA,MAAM;MACJ,MAAM;MACN,aAAa;KACf;KACA,YAAY;MACV,MAAM;MACN,sBAAsB;MACtB,aACE;MACF,YAAY;OACV,MAAM;QACJ,MAAM;QACN,aAAa;OACf;OACA,UAAU;QACR,MAAM;QACN,SAAS,CAAC;QACV,OAAO;SACL,MAAM;SACN,sBAAsB;SACtB,UAAU;UACR;UACA;UACA;UACA;UACA;SACF;SACA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"}
|
package/dist/useCases/index.d.ts
CHANGED
|
@@ -53,7 +53,6 @@ export { ListDepartmentsCommand } from "./listDepartments.js";
|
|
|
53
53
|
export { DeleteDepartmentCommand } from "./deleteDepartment.js";
|
|
54
54
|
export { CreateDepartmentCommand } from "./createDepartment.js";
|
|
55
55
|
export { UpdateDepartmentCommand } from "./updateDepartment.js";
|
|
56
|
-
export { AutoCloseTicketsCommand } from "./autoCloseTickets.js";
|
|
57
56
|
export { DescribeTicketStatsCommand } from "./describeTicketStats.js";
|
|
58
57
|
export { CreateTicketCommand } from "./createTicket.js";
|
|
59
58
|
export { CreateTicketMessageCommand } from "./createTicketMessage.js";
|
package/dist/useCases/index.js
CHANGED
|
@@ -54,7 +54,6 @@ import { ListDepartmentsCommand } from "./listDepartments.js";
|
|
|
54
54
|
import { DeleteDepartmentCommand } from "./deleteDepartment.js";
|
|
55
55
|
import { CreateDepartmentCommand } from "./createDepartment.js";
|
|
56
56
|
import { UpdateDepartmentCommand } from "./updateDepartment.js";
|
|
57
|
-
import { AutoCloseTicketsCommand } from "./autoCloseTickets.js";
|
|
58
57
|
import { DescribeTicketStatsCommand } from "./describeTicketStats.js";
|
|
59
58
|
import { CreateTicketCommand } from "./createTicket.js";
|
|
60
59
|
import { CreateTicketMessageCommand } from "./createTicketMessage.js";
|
|
@@ -146,7 +145,6 @@ import { UpdateServerCommand } from "./updateServer.js";
|
|
|
146
145
|
//#region .generated/useCases/index.ts
|
|
147
146
|
var useCases_exports = /* @__PURE__ */ __exportAll({
|
|
148
147
|
AutoAssociateDiscoveredDevicesCommand: () => AutoAssociateDiscoveredDevicesCommand,
|
|
149
|
-
AutoCloseTicketsCommand: () => AutoCloseTicketsCommand,
|
|
150
148
|
BulkUpdateIssueCommand: () => BulkUpdateIssueCommand,
|
|
151
149
|
CheckVerificationCodeCommand: () => CheckVerificationCodeCommand,
|
|
152
150
|
CopyIssueRoutingCommand: () => CopyIssueRoutingCommand,
|
|
@@ -291,6 +289,6 @@ var useCases_exports = /* @__PURE__ */ __exportAll({
|
|
|
291
289
|
ValidateAuthCommand: () => ValidateAuthCommand
|
|
292
290
|
});
|
|
293
291
|
//#endregion
|
|
294
|
-
export { AutoAssociateDiscoveredDevicesCommand,
|
|
292
|
+
export { AutoAssociateDiscoveredDevicesCommand, BulkUpdateIssueCommand, CheckVerificationCodeCommand, CopyIssueRoutingCommand, CreateApiKeyCommand, CreateAutomationCommand, CreateCategoryCommand, CreateDefaultAutomationsCommand, CreateDepartmentCommand, CreateDeviceCommand, CreateDeviceCredentialCommand, CreateDiscoveredDeviceAssociationCommand, CreateDiscoveredDeviceAssociationMapCommand, CreateDiscoveredDeviceCommand, CreateImageUploadEndpointCommand, CreateIssueCommand, CreateOrganizationCommand, CreatePolicyCommand, CreatePropertyCommand, CreatePwaHandoffTokenCommand, CreateServerCommand, CreateSpaceCommand, CreateSystemCommand, CreateTicketCommand, CreateTicketMessageCommand, CreateTimeSheetCommand, CreateTimeSheetTimeEntryCommand, CreateUserCommand, CreateVendorCommand, DeleteAutomationCommand, DeleteCategoryCommand, DeleteDepartmentCommand, DeleteDeviceCommand, DeleteDeviceCredentialCommand, DeleteDiscoveredDeviceCommand, DeleteIssueCommand, DeleteMediaFileCommand, DeleteOrganizationCommand, DeletePolicyCommand, DeletePropertyCommand, DeleteServerCommand, DeleteSessionCommand, DeleteSpaceCommand, DeleteSystemCommand, DeleteTicketCommand, DeleteTimeSheetCommand, DeleteTimeSheetTimeEntryCommand, DeleteUserCommand, DeleteUserCredentialCommand, DeleteVendorCommand, DescribeAutomationCommand, DescribeCategoryCommand, DescribeDepartmentCommand, DescribeDeviceCommand, DescribeDeviceConfigCommand, DescribeDiscoveredDeviceCommand, DescribeIssueCommand, DescribeMyAuthCommand, DescribeMyOrganizationCommand, DescribeMyPasskeyRegistrationsCommand, DescribeOrganizationCommand, DescribePolicyCommand, DescribePropertyCommand, DescribeSOSCommand, DescribeSelfCommand, DescribeServerCommand, DescribeSessionCommand, DescribeSpaceCommand, DescribeSystemCommand, DescribeTicketCommand, DescribeTicketFiltersCommand, DescribeTicketStatsCommand, DescribeTimeSheetCommand, DescribeTimeSheetStatsCommand, DescribeUserCommand, DescribeVendorCommand, EmailUserAccountSetupCommand, GetApiKeyCommand, LeaveTicketCommand, ListAutomationsCommand, ListCameraStreamPreviewsCommand, ListCategoriesCommand, ListDepartmentsCommand, ListDeviceCredentialsCommand, ListDevicesCommand, ListDiscoveredDevicesCommand, ListIntegrationsCommand, ListIssuesCommand, ListMyOrganizationsCommand, ListMyPropertiesCommand, ListMyTimeSheetsCommand, ListOrganizationsCommand, ListPoliciesCommand, ListPropertiesCommand, ListPropertyCredentialsCommand, ListServersCommand, ListSessionsCommand, ListSpacesCommand, ListSystemsCommand, ListTicketLocationsCommand, ListTicketsCommand, ListTimeSheetsCommand, ListUserSpacesCommand, ListUsersCommand, ListVendorsCommand, LogoutUserCommand, MergeIssueCommand, MoveDeviceCommand, RevokeApiKeyCommand, RotateApiKeyCommand, RunAutomationCommand, SelectOrganizationCommand, SendNotificationCommand, SendVerificationCodeCommand, SetDeviceCommand, SetDevicesCommand, StartSOSCommand, StopSOSCommand, UpdateAutomationCommand, UpdateCategoryCommand, UpdateDepartmentCommand, UpdateDeviceCommand, UpdateDeviceCredentialCommand, UpdateDiscoveredDeviceCommand, UpdateIssueCommand, UpdateMessageReadStatusCommand, UpdateOrganizationCommand, UpdateOrganizationFeaturesCommand, UpdatePolicyCommand, UpdatePropertyCommand, UpdatePropertyFeaturesCommand, UpdateSelfCommand, UpdateServerCommand, UpdateSpaceCommand, UpdateSystemCommand, UpdateTicketCommand, UpdateTimeSheetCommand, UpdateTimeSheetTimeEntryCommand, UpdateUserCommand, UpdateVendorCommand, UploadImageCommand, UpsertDiscoveredDeviceCommand, ValidateAuthCommand, useCases_exports };
|
|
295
293
|
|
|
296
294
|
//# 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 { 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 { 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 { 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 {
|
|
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 { 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 { 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 { 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 { 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 { DeleteOrganizationCommand } from \"./deleteOrganization.js\";\nexport { DescribeOrganizationCommand } from \"./describeOrganization.js\";\nexport { ListOrganizationsCommand } from \"./listOrganizations.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 { CreateImageUploadEndpointCommand } from \"./createImageUploadEndpoint.js\";\nexport { DeleteMediaFileCommand } from \"./deleteMediaFile.js\";\nexport { UploadImageCommand } from \"./uploadImage.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 { 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 { 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 { 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\";\n"],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export interface AutoCloseTicketsCommandConfig {
|
|
2
|
-
data?: Record<string, unknown> | null;
|
|
3
|
-
headers?: Record<string, string> | null;
|
|
4
|
-
query?: Record<string, unknown> | null;
|
|
5
|
-
}
|
|
6
|
-
export interface AutoCloseTicketsCommandRequestConfig {
|
|
7
|
-
method: "post";
|
|
8
|
-
url: string;
|
|
9
|
-
data: Record<string, unknown> | null;
|
|
10
|
-
params: Record<string, unknown> | null;
|
|
11
|
-
headers: Record<string, string> | null;
|
|
12
|
-
[key: string]: unknown;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
*/
|
|
17
|
-
export declare class AutoCloseTicketsCommand {
|
|
18
|
-
url: string;
|
|
19
|
-
data: Record<string, unknown> | null;
|
|
20
|
-
query: Record<string, unknown> | null;
|
|
21
|
-
headers: Record<string, string> | null;
|
|
22
|
-
config: AutoCloseTicketsCommandRequestConfig;
|
|
23
|
-
static params: readonly [];
|
|
24
|
-
static url: string;
|
|
25
|
-
static method: "post";
|
|
26
|
-
constructor(commandConfig: AutoCloseTicketsCommandConfig, options?: Record<string, unknown>);
|
|
27
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
//#region .generated/useCases/autoCloseTickets.ts
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
var AutoCloseTicketsCommand = class AutoCloseTicketsCommand {
|
|
6
|
-
url;
|
|
7
|
-
data;
|
|
8
|
-
query;
|
|
9
|
-
headers;
|
|
10
|
-
config;
|
|
11
|
-
static params = [];
|
|
12
|
-
static url = "/tickets/autoClose";
|
|
13
|
-
static method = "post";
|
|
14
|
-
constructor(commandConfig, options = {}) {
|
|
15
|
-
const pathParams = AutoCloseTicketsCommand.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 = AutoCloseTicketsCommand.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: AutoCloseTicketsCommand.method,
|
|
36
|
-
url,
|
|
37
|
-
data,
|
|
38
|
-
params: query,
|
|
39
|
-
headers,
|
|
40
|
-
...options
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
//#endregion
|
|
45
|
-
export { AutoCloseTicketsCommand };
|
|
46
|
-
|
|
47
|
-
//# sourceMappingURL=autoCloseTickets.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"autoCloseTickets.js","names":[],"sources":["../../.generated/useCases/autoCloseTickets.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface AutoCloseTicketsCommandConfig {\n data?: Record<string, unknown> | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface AutoCloseTicketsCommandRequestConfig {\n method: \"post\";\n url: string;\n data: Record<string, unknown> | null;\n params: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n [key: string]: unknown;\n}\n\n/**\n *\n */\nexport class AutoCloseTicketsCommand {\n url: string;\n data: Record<string, unknown> | null;\n query: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n config: AutoCloseTicketsCommandRequestConfig;\n\n static params = [] as const;\n static url = \"/tickets/autoClose\";\n static method = \"post\" as const;\n\n constructor(\n commandConfig: AutoCloseTicketsCommandConfig,\n options: Record<string, unknown> = {},\n ) {\n const pathParams = AutoCloseTicketsCommand.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 = AutoCloseTicketsCommand.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: AutoCloseTicketsCommand.method,\n url: url,\n data: data,\n params: query,\n headers: headers,\n ...options,\n };\n }\n}\n"],"mappings":";;;;AAoBA,IAAa,0BAAb,MAAa,wBAAwB;CACnC;CACA;CACA;CACA;CACA;CAEA,OAAO,SAAS,CAAC;CACjB,OAAO,MAAM;CACb,OAAO,SAAS;CAEhB,YACE,eACA,UAAmC,CAAC,GACpC;EACA,MAAM,aAAa,wBAAwB;EAE3C,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,wBAAwB;EAE1C,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,wBAAwB;GAC3B;GACC;GACN,QAAQ;GACC;GACT,GAAG;EACL;CACF;AACF"}
|