@kohost/api-client 7.15.0 → 7.17.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.
Files changed (88) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/commands/getGroups.d.ts +8 -0
  3. package/dist/commands/getGroups.js +17 -0
  4. package/dist/commands/getGroups.js.map +1 -0
  5. package/dist/commands/index.d.ts +1 -0
  6. package/dist/commands/index.js +3 -1
  7. package/dist/commands/index.js.map +1 -1
  8. package/dist/httpClient.js.map +1 -1
  9. package/dist/lib/emergencyContacts.d.ts +10 -0
  10. package/dist/lib/index.d.ts +1 -0
  11. package/dist/lib/index.js +3 -1
  12. package/dist/lib/index.js.map +1 -1
  13. package/dist/lib/sis.d.ts +108 -0
  14. package/dist/lib/sis.js +11 -0
  15. package/dist/lib/sis.js.map +1 -0
  16. package/dist/models/entity.js.map +1 -1
  17. package/dist/models/group.js +1 -0
  18. package/dist/models/group.js.map +1 -1
  19. package/dist/models/system.js +1 -0
  20. package/dist/models/system.js.map +1 -1
  21. package/dist/models/systemUser.js +1 -1
  22. package/dist/models/systemUser.js.map +1 -1
  23. package/dist/models/ticket.js +2 -0
  24. package/dist/models/ticket.js.map +1 -1
  25. package/dist/schemas/announcement.d.ts +16 -1
  26. package/dist/schemas/announcement.js +16 -1
  27. package/dist/schemas/announcement.js.map +1 -1
  28. package/dist/schemas/bill.d.ts +25 -0
  29. package/dist/schemas/bill.js +25 -0
  30. package/dist/schemas/bill.js.map +1 -1
  31. package/dist/schemas/costEntry.d.ts +27 -0
  32. package/dist/schemas/costEntry.js +36 -21
  33. package/dist/schemas/costEntry.js.map +1 -1
  34. package/dist/schemas/definitions.d.ts +96 -3
  35. package/dist/schemas/definitions.js +58 -3
  36. package/dist/schemas/definitions.js.map +1 -1
  37. package/dist/schemas/group.d.ts +4 -0
  38. package/dist/schemas/group.js +4 -0
  39. package/dist/schemas/group.js.map +1 -1
  40. package/dist/schemas/system.d.ts +4 -0
  41. package/dist/schemas/system.js +4 -0
  42. package/dist/schemas/system.js.map +1 -1
  43. package/dist/schemas/systemUser.d.ts +2 -3
  44. package/dist/schemas/systemUser.js +1 -4
  45. package/dist/schemas/systemUser.js.map +1 -1
  46. package/dist/schemas/ticket.d.ts +232 -48
  47. package/dist/schemas/ticket.js +213 -12
  48. package/dist/schemas/ticket.js.map +1 -1
  49. package/dist/useCases/clearAwaitingResponse.d.ts +36 -0
  50. package/dist/useCases/clearAwaitingResponse.js +47 -0
  51. package/dist/useCases/clearAwaitingResponse.js.map +1 -0
  52. package/dist/useCases/clearWorkItemVerification.d.ts +39 -0
  53. package/dist/useCases/clearWorkItemVerification.js +47 -0
  54. package/dist/useCases/clearWorkItemVerification.js.map +1 -0
  55. package/dist/useCases/describeConciergeBillsSummary.d.ts +27 -0
  56. package/dist/useCases/describeConciergeBillsSummary.js +47 -0
  57. package/dist/useCases/describeConciergeBillsSummary.js.map +1 -0
  58. package/dist/useCases/describeConciergeStageCounts.d.ts +27 -0
  59. package/dist/useCases/describeConciergeStageCounts.js +47 -0
  60. package/dist/useCases/describeConciergeStageCounts.js.map +1 -0
  61. package/dist/useCases/describeSISSync.d.ts +27 -0
  62. package/dist/useCases/describeSISSync.js +47 -0
  63. package/dist/useCases/describeSISSync.js.map +1 -0
  64. package/dist/useCases/index.d.ts +12 -0
  65. package/dist/useCases/index.js +25 -1
  66. package/dist/useCases/index.js.map +1 -1
  67. package/dist/useCases/listConciergeWorkspaceBillLines.d.ts +27 -0
  68. package/dist/useCases/listConciergeWorkspaceBillLines.js +47 -0
  69. package/dist/useCases/listConciergeWorkspaceBillLines.js.map +1 -0
  70. package/dist/useCases/listSISHouseholds.d.ts +27 -0
  71. package/dist/useCases/listSISHouseholds.js +47 -0
  72. package/dist/useCases/listSISHouseholds.js.map +1 -0
  73. package/dist/useCases/listSISPeople.d.ts +27 -0
  74. package/dist/useCases/listSISPeople.js +47 -0
  75. package/dist/useCases/listSISPeople.js.map +1 -0
  76. package/dist/useCases/previewAnnouncement.d.ts +27 -0
  77. package/dist/useCases/previewAnnouncement.js +47 -0
  78. package/dist/useCases/previewAnnouncement.js.map +1 -0
  79. package/dist/useCases/setAwaitingResponse.d.ts +36 -0
  80. package/dist/useCases/setAwaitingResponse.js +47 -0
  81. package/dist/useCases/setAwaitingResponse.js.map +1 -0
  82. package/dist/useCases/syncSISRoster.d.ts +27 -0
  83. package/dist/useCases/syncSISRoster.js +47 -0
  84. package/dist/useCases/syncSISRoster.js.map +1 -0
  85. package/dist/useCases/verifyWorkItem.d.ts +39 -0
  86. package/dist/useCases/verifyWorkItem.js +47 -0
  87. package/dist/useCases/verifyWorkItem.js.map +1 -0
  88. package/package.json +5 -5
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../.generated/useCases/index.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport { CreatePwaHandoffTokenCommand } from \"./createPwaHandoffToken.js\";\nexport { LogoutUserCommand } from \"./logoutUser.js\";\nexport { DescribeMyAuthCommand } from \"./describeMyAuth.js\";\nexport { ValidateAuthCommand } from \"./validateAuth.js\";\nexport { SelectOrganizationCommand } from \"./selectOrganization.js\";\nexport { ListMyOrganizationsCommand } from \"./listMyOrganizations.js\";\nexport { DescribeSelfCommand } from \"./describeSelf.js\";\nexport { DescribeSelfAccessCommand } from \"./describeSelfAccess.js\";\nexport { DescribeUserCommand } from \"./describeUser.js\";\nexport { CreateUserCommand } from \"./createUser.js\";\nexport { ListUsersCommand } from \"./listUsers.js\";\nexport { UpdateSelfCommand } from \"./updateSelf.js\";\nexport { UpdateUserCommand } from \"./updateUser.js\";\nexport { DeleteUserCommand } from \"./deleteUser.js\";\nexport { CreateApiKeyCommand } from \"./createApiKey.js\";\nexport { GetApiKeyCommand } from \"./getApiKey.js\";\nexport { RotateApiKeyCommand } from \"./rotateApiKey.js\";\nexport { RevokeApiKeyCommand } from \"./revokeApiKey.js\";\nexport { SendVerificationCodeCommand } from \"./sendVerificationCode.js\";\nexport { CheckVerificationCodeCommand } from \"./checkVerificationCode.js\";\nexport { ListUserSpacesCommand } from \"./listUserSpaces.js\";\nexport { DescribeMyPasskeyRegistrationsCommand } from \"./describeMyPasskeyRegistrations.js\";\nexport { DeleteUserCredentialCommand } from \"./deleteUserCredential.js\";\nexport { CreatePolicyCommand } from \"./createPolicy.js\";\nexport { ListPoliciesCommand } from \"./listPolicies.js\";\nexport { UpdatePolicyCommand } from \"./updatePolicy.js\";\nexport { DeletePolicyCommand } from \"./deletePolicy.js\";\nexport { DescribePolicyCommand } from \"./describePolicy.js\";\nexport { ListSpacesCommand } from \"./listSpaces.js\";\nexport { UpdateSpaceCommand } from \"./updateSpace.js\";\nexport { CreateSpaceCommand } from \"./createSpace.js\";\nexport { DescribeSpaceCommand } from \"./describeSpace.js\";\nexport { DeleteSpaceCommand } from \"./deleteSpace.js\";\nexport { CreateDeviceCommand } from \"./createDevice.js\";\nexport { CreateDeviceCredentialCommand } from \"./createDeviceCredential.js\";\nexport { ListDevicesCommand } from \"./listDevices.js\";\nexport { ListDeviceCredentialsCommand } from \"./listDeviceCredentials.js\";\nexport { ListCameraStreamPreviewsCommand } from \"./listCameraStreamPreviews.js\";\nexport { DescribeDeviceCommand } from \"./describeDevice.js\";\nexport { UpdateDeviceCommand } from \"./updateDevice.js\";\nexport { UpdateDeviceCredentialCommand } from \"./updateDeviceCredential.js\";\nexport { SetDeviceCommand } from \"./setDevice.js\";\nexport { DeleteDeviceCommand } from \"./deleteDevice.js\";\nexport { DeleteDeviceCredentialCommand } from \"./deleteDeviceCredential.js\";\nexport { MoveDeviceCommand } from \"./moveDevice.js\";\nexport { ReplaceDeviceCommand } from \"./replaceDevice.js\";\nexport { DescribeDeviceConfigCommand } from \"./describeDeviceConfig.js\";\nexport { CreateCategoryCommand } from \"./createCategory.js\";\nexport { DeleteCategoryCommand } from \"./deleteCategory.js\";\nexport { DescribeCategoryCommand } from \"./describeCategory.js\";\nexport { ListCategoriesCommand } from \"./listCategories.js\";\nexport { UpdateCategoryCommand } from \"./updateCategory.js\";\nexport { CreateResourceCommand } from \"./createResource.js\";\nexport { DeleteResourceCommand } from \"./deleteResource.js\";\nexport { DescribeResourceCommand } from \"./describeResource.js\";\nexport { ListResourcesCommand } from \"./listResources.js\";\nexport { UpdateResourceCommand } from \"./updateResource.js\";\nexport { DescribeDepartmentCommand } from \"./describeDepartment.js\";\nexport { ListDepartmentsCommand } from \"./listDepartments.js\";\nexport { DeleteDepartmentCommand } from \"./deleteDepartment.js\";\nexport { CreateDepartmentCommand } from \"./createDepartment.js\";\nexport { UpdateDepartmentCommand } from \"./updateDepartment.js\";\nexport { DescribeTicketStatsCommand } from \"./describeTicketStats.js\";\nexport { DescribeTicketStatsSummaryCommand } from \"./describeTicketStatsSummary.js\";\nexport { DescribeTicketStatsTicketsCommand } from \"./describeTicketStatsTickets.js\";\nexport { DescribeTicketStatsHeatmapCommand } from \"./describeTicketStatsHeatmap.js\";\nexport { DescribeTicketStatsFiltersCommand } from \"./describeTicketStatsFilters.js\";\nexport { CreateTicketCommand } from \"./createTicket.js\";\nexport { CreateTicketMessageCommand } from \"./createTicketMessage.js\";\nexport { DeleteTicketCommand } from \"./deleteTicket.js\";\nexport { ListTicketLocationsCommand } from \"./listTicketLocations.js\";\nexport { DescribeTicketFiltersCommand } from \"./describeTicketFilters.js\";\nexport { DescribeTicketCommand } from \"./describeTicket.js\";\nexport { ListTicketsCommand } from \"./listTickets.js\";\nexport { UpdateMessageReadStatusCommand } from \"./updateMessageReadStatus.js\";\nexport { UpdateTicketCommand } from \"./updateTicket.js\";\nexport { LeaveTicketCommand } from \"./leaveTicket.js\";\nexport { CreateDiscoveredDeviceAssociationMapCommand } from \"./createDiscoveredDeviceAssociationMap.js\";\nexport { AutoAssociateDiscoveredDevicesCommand } from \"./autoAssociateDiscoveredDevices.js\";\nexport { CreateDiscoveredDeviceCommand } from \"./createDiscoveredDevice.js\";\nexport { ListDiscoveredDevicesCommand } from \"./listDiscoveredDevices.js\";\nexport { UpdateDiscoveredDeviceCommand } from \"./updateDiscoveredDevice.js\";\nexport { DeleteDiscoveredDeviceCommand } from \"./deleteDiscoveredDevice.js\";\nexport { DescribeDiscoveredDeviceCommand } from \"./describeDiscoveredDevice.js\";\nexport { UpsertDiscoveredDeviceCommand } from \"./upsertDiscoveredDevice.js\";\nexport { CreateDiscoveredDeviceAssociationCommand } from \"./createDiscoveredDeviceAssociation.js\";\nexport { ListIntegrationsCommand } from \"./listIntegrations.js\";\nexport { DescribeMyOrganizationCommand } from \"./describeMyOrganization.js\";\nexport { CreateOrganizationCommand } from \"./createOrganization.js\";\nexport { UpdateOrganizationCommand } from \"./updateOrganization.js\";\nexport { UpdateOrganizationFeaturesCommand } from \"./updateOrganizationFeatures.js\";\nexport { UpdateOrganizationBillingAddressCommand } from \"./updateOrganizationBillingAddress.js\";\nexport { UpdateOrganizationBillingContactsCommand } from \"./updateOrganizationBillingContacts.js\";\nexport { UpdateOrganizationTaxExemptCommand } from \"./updateOrganizationTaxExempt.js\";\nexport { DeleteOrganizationCommand } from \"./deleteOrganization.js\";\nexport { DescribeOrganizationCommand } from \"./describeOrganization.js\";\nexport { ListOrganizationsCommand } from \"./listOrganizations.js\";\nexport { DescribeConciergeStatsSummaryCommand } from \"./describeConciergeStatsSummary.js\";\nexport { DescribeConciergeStatsFiltersCommand } from \"./describeConciergeStatsFilters.js\";\nexport { DescribeConciergeStatsTicketsCommand } from \"./describeConciergeStatsTickets.js\";\nexport { DescribeConciergeStatsHeatmapCommand } from \"./describeConciergeStatsHeatmap.js\";\nexport { ListConciergeWorkspaceBillsCommand } from \"./listConciergeWorkspaceBills.js\";\nexport { ListConciergeWorkspaceTicketsCommand } from \"./listConciergeWorkspaceTickets.js\";\nexport { DescribeConciergeWorkspaceFiltersCommand } from \"./describeConciergeWorkspaceFilters.js\";\nexport { ListConciergeUninvoicedCostsCommand } from \"./listConciergeUninvoicedCosts.js\";\nexport { ListPropertiesCommand } from \"./listProperties.js\";\nexport { ListPropertyCredentialsCommand } from \"./listPropertyCredentials.js\";\nexport { ListMyPropertiesCommand } from \"./listMyProperties.js\";\nexport { CreatePropertyCommand } from \"./createProperty.js\";\nexport { DeletePropertyCommand } from \"./deleteProperty.js\";\nexport { UpdatePropertyCommand } from \"./updateProperty.js\";\nexport { DescribePropertyCommand } from \"./describeProperty.js\";\nexport { UpdatePropertyFeaturesCommand } from \"./updatePropertyFeatures.js\";\nexport { EmailUserAccountSetupCommand } from \"./emailUserAccountSetup.js\";\nexport { DeleteMediaFileCommand } from \"./deleteMediaFile.js\";\nexport { DescribeTimeSheetStatsCommand } from \"./describeTimeSheetStats.js\";\nexport { ListMyTimeSheetsCommand } from \"./listMyTimeSheets.js\";\nexport { DescribeTimeSheetCommand } from \"./describeTimeSheet.js\";\nexport { ListTimeSheetsCommand } from \"./listTimeSheets.js\";\nexport { CreateTimeSheetCommand } from \"./createTimeSheet.js\";\nexport { DeleteTimeSheetCommand } from \"./deleteTimeSheet.js\";\nexport { UpdateTimeSheetCommand } from \"./updateTimeSheet.js\";\nexport { CreateTimeSheetTimeEntryCommand } from \"./createTimeSheetTimeEntry.js\";\nexport { DeleteTimeSheetTimeEntryCommand } from \"./deleteTimeSheetTimeEntry.js\";\nexport { UpdateTimeSheetTimeEntryCommand } from \"./updateTimeSheetTimeEntry.js\";\nexport { StartSOSCommand } from \"./startSOS.js\";\nexport { StopSOSCommand } from \"./stopSOS.js\";\nexport { DescribeSOSCommand } from \"./describeSOS.js\";\nexport { ListSOSEventsCommand } from \"./listSOSEvents.js\";\nexport { DescribeSOSEventCommand } from \"./describeSOSEvent.js\";\nexport { SendSOSUpdateCommand } from \"./sendSOSUpdate.js\";\nexport { AddSOSEventNoteCommand } from \"./addSOSEventNote.js\";\nexport { PreviewSOSEventReportCommand } from \"./previewSOSEventReport.js\";\nexport { ExportSOSEventReportCommand } from \"./exportSOSEventReport.js\";\nexport { FetchEmergencyContactsCommand } from \"./fetchEmergencyContacts.js\";\nexport { FetchEmergencyContactPeopleCommand } from \"./fetchEmergencyContactPeople.js\";\nexport { DescribeIssueCommand } from \"./describeIssue.js\";\nexport { ListIssuesCommand } from \"./listIssues.js\";\nexport { DeleteIssueCommand } from \"./deleteIssue.js\";\nexport { CreateIssueCommand } from \"./createIssue.js\";\nexport { UpdateIssueCommand } from \"./updateIssue.js\";\nexport { MergeIssueCommand } from \"./mergeIssue.js\";\nexport { CopyIssueRoutingCommand } from \"./copyIssueRouting.js\";\nexport { BulkUpdateIssueCommand } from \"./bulkUpdateIssue.js\";\nexport { DescribeVendorCommand } from \"./describeVendor.js\";\nexport { ListVendorsCommand } from \"./listVendors.js\";\nexport { DeleteVendorCommand } from \"./deleteVendor.js\";\nexport { CreateVendorCommand } from \"./createVendor.js\";\nexport { UpdateVendorCommand } from \"./updateVendor.js\";\nexport { ListBillingCategoriesCommand } from \"./listBillingCategories.js\";\nexport { CreateBillingCategoryCommand } from \"./createBillingCategory.js\";\nexport { UpdateBillingCategoryCommand } from \"./updateBillingCategory.js\";\nexport { ListBillsCommand } from \"./listBills.js\";\nexport { DescribeBillCommand } from \"./describeBill.js\";\nexport { PreviewBillCommand } from \"./previewBill.js\";\nexport { ListOrganizationBillsCommand } from \"./listOrganizationBills.js\";\nexport { DescribeOrganizationBillCommand } from \"./describeOrganizationBill.js\";\nexport { CreateBillCommand } from \"./createBill.js\";\nexport { UpdateBillCommand } from \"./updateBill.js\";\nexport { DeleteBillCommand } from \"./deleteBill.js\";\nexport { AddBillLineCommand } from \"./addBillLine.js\";\nexport { AddBillLinesCommand } from \"./addBillLines.js\";\nexport { UpdateBillLineCommand } from \"./updateBillLine.js\";\nexport { RemoveBillLineCommand } from \"./removeBillLine.js\";\nexport { MarkBillSentCommand } from \"./markBillSent.js\";\nexport { MarkBillPaidCommand } from \"./markBillPaid.js\";\nexport { VoidBillCommand } from \"./voidBill.js\";\nexport { CreateCostCommand } from \"./createCost.js\";\nexport { EditCostCommand } from \"./editCost.js\";\nexport { SetCostInvoiceCommand } from \"./setCostInvoice.js\";\nexport { WriteOffCostCommand } from \"./writeOffCost.js\";\nexport { ReinstateCostCommand } from \"./reinstateCost.js\";\nexport { CreateAutomationCommand } from \"./createAutomation.js\";\nexport { ListAutomationsCommand } from \"./listAutomations.js\";\nexport { DescribeAutomationCommand } from \"./describeAutomation.js\";\nexport { UpdateAutomationCommand } from \"./updateAutomation.js\";\nexport { DeleteAutomationCommand } from \"./deleteAutomation.js\";\nexport { CreateDefaultAutomationsCommand } from \"./createDefaultAutomations.js\";\nexport { RunAutomationCommand } from \"./runAutomation.js\";\nexport { SendNotificationCommand } from \"./sendNotification.js\";\nexport { DescribeOrgNotificationDefaultsCommand } from \"./describeOrgNotificationDefaults.js\";\nexport { UpdateOrgNotificationDefaultsCommand } from \"./updateOrgNotificationDefaults.js\";\nexport { ListMyPushSubscriptionsCommand } from \"./listMyPushSubscriptions.js\";\nexport { DescribePushVapidPublicKeyCommand } from \"./describePushVapidPublicKey.js\";\nexport { SubscribePushDeviceCommand } from \"./subscribePushDevice.js\";\nexport { UnsubscribePushDeviceCommand } from \"./unsubscribePushDevice.js\";\nexport { ListSessionsCommand } from \"./listSessions.js\";\nexport { DescribeSessionCommand } from \"./describeSession.js\";\nexport { DeleteSessionCommand } from \"./deleteSession.js\";\nexport { SetDevicesCommand } from \"./setDevices.js\";\nexport { CreateSystemCommand } from \"./createSystem.js\";\nexport { DeleteSystemCommand } from \"./deleteSystem.js\";\nexport { DescribeSystemCommand } from \"./describeSystem.js\";\nexport { ListSystemsCommand } from \"./listSystems.js\";\nexport { UpdateSystemCommand } from \"./updateSystem.js\";\nexport { CreateServerCommand } from \"./createServer.js\";\nexport { DeleteServerCommand } from \"./deleteServer.js\";\nexport { DescribeServerCommand } from \"./describeServer.js\";\nexport { ListServersCommand } from \"./listServers.js\";\nexport { UpdateServerCommand } from \"./updateServer.js\";\nexport { ScheduleWorkItemCommand } from \"./scheduleWorkItem.js\";\nexport { RescheduleWorkItemCommand } from \"./rescheduleWorkItem.js\";\nexport { CancelWorkItemCommand } from \"./cancelWorkItem.js\";\nexport { SetWorkItemNoChargeCommand } from \"./setWorkItemNoCharge.js\";\nexport { ClearWorkItemNoChargeCommand } from \"./clearWorkItemNoCharge.js\";\nexport { RecordCostEntryCommand } from \"./recordCostEntry.js\";\nexport { EditCostEntryCommand } from \"./editCostEntry.js\";\nexport { RecordCostActualCommand } from \"./recordCostActual.js\";\nexport { SetCostVendorInvoiceCommand } from \"./setCostVendorInvoice.js\";\nexport { WriteOffCostEntryCommand } from \"./writeOffCostEntry.js\";\nexport { VoidCostEntryCommand } from \"./voidCostEntry.js\";\nexport { ReinstateCostEntryCommand } from \"./reinstateCostEntry.js\";\nexport { AcknowledgeCostDivergenceCommand } from \"./acknowledgeCostDivergence.js\";\nexport { RequestApprovalCommand } from \"./requestApproval.js\";\nexport { DecideApprovalCommand } from \"./decideApproval.js\";\nexport { ListEligibleApproversCommand } from \"./listEligibleApprovers.js\";\nexport { DescribeConciergeFacilitiesViewerCommand } from \"./describeConciergeFacilitiesViewer.js\";\nexport { ListKohostStaffCommand } from \"./listKohostStaff.js\";\nexport { SetUserSuperAdminCommand } from \"./setUserSuperAdmin.js\";\nexport { UpdateStaffUserCommand } from \"./updateStaffUser.js\";\nexport { DeleteStaffUserCommand } from \"./deleteStaffUser.js\";\nexport { DescribeStaffFunctionsCommand } from \"./describeStaffFunctions.js\";\nexport { ListFacilitiesStaffIdsCommand } from \"./listFacilitiesStaffIds.js\";\nexport { AddStaffFunctionMemberCommand } from \"./addStaffFunctionMember.js\";\nexport { RemoveStaffFunctionMemberCommand } from \"./removeStaffFunctionMember.js\";\nexport { SendAnnouncementCommand } from \"./sendAnnouncement.js\";\nexport { ListAnnouncementsCommand } from \"./listAnnouncements.js\";\nexport { DescribeAnnouncementCommand } from \"./describeAnnouncement.js\";\nexport { CreateAnnouncementPresetCommand } from \"./createAnnouncementPreset.js\";\nexport { UpdateAnnouncementPresetCommand } from \"./updateAnnouncementPreset.js\";\nexport { DeleteAnnouncementPresetCommand } from \"./deleteAnnouncementPreset.js\";\n"],"mappings":""}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../.generated/useCases/index.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport { CreatePwaHandoffTokenCommand } from \"./createPwaHandoffToken.js\";\nexport { LogoutUserCommand } from \"./logoutUser.js\";\nexport { DescribeMyAuthCommand } from \"./describeMyAuth.js\";\nexport { ValidateAuthCommand } from \"./validateAuth.js\";\nexport { SelectOrganizationCommand } from \"./selectOrganization.js\";\nexport { ListMyOrganizationsCommand } from \"./listMyOrganizations.js\";\nexport { DescribeSelfCommand } from \"./describeSelf.js\";\nexport { DescribeSelfAccessCommand } from \"./describeSelfAccess.js\";\nexport { DescribeUserCommand } from \"./describeUser.js\";\nexport { CreateUserCommand } from \"./createUser.js\";\nexport { ListUsersCommand } from \"./listUsers.js\";\nexport { UpdateSelfCommand } from \"./updateSelf.js\";\nexport { UpdateUserCommand } from \"./updateUser.js\";\nexport { DeleteUserCommand } from \"./deleteUser.js\";\nexport { CreateApiKeyCommand } from \"./createApiKey.js\";\nexport { GetApiKeyCommand } from \"./getApiKey.js\";\nexport { RotateApiKeyCommand } from \"./rotateApiKey.js\";\nexport { RevokeApiKeyCommand } from \"./revokeApiKey.js\";\nexport { SendVerificationCodeCommand } from \"./sendVerificationCode.js\";\nexport { CheckVerificationCodeCommand } from \"./checkVerificationCode.js\";\nexport { ListUserSpacesCommand } from \"./listUserSpaces.js\";\nexport { DescribeMyPasskeyRegistrationsCommand } from \"./describeMyPasskeyRegistrations.js\";\nexport { DeleteUserCredentialCommand } from \"./deleteUserCredential.js\";\nexport { CreatePolicyCommand } from \"./createPolicy.js\";\nexport { ListPoliciesCommand } from \"./listPolicies.js\";\nexport { UpdatePolicyCommand } from \"./updatePolicy.js\";\nexport { DeletePolicyCommand } from \"./deletePolicy.js\";\nexport { DescribePolicyCommand } from \"./describePolicy.js\";\nexport { ListSpacesCommand } from \"./listSpaces.js\";\nexport { UpdateSpaceCommand } from \"./updateSpace.js\";\nexport { CreateSpaceCommand } from \"./createSpace.js\";\nexport { DescribeSpaceCommand } from \"./describeSpace.js\";\nexport { DeleteSpaceCommand } from \"./deleteSpace.js\";\nexport { CreateDeviceCommand } from \"./createDevice.js\";\nexport { CreateDeviceCredentialCommand } from \"./createDeviceCredential.js\";\nexport { ListDevicesCommand } from \"./listDevices.js\";\nexport { ListDeviceCredentialsCommand } from \"./listDeviceCredentials.js\";\nexport { ListCameraStreamPreviewsCommand } from \"./listCameraStreamPreviews.js\";\nexport { DescribeDeviceCommand } from \"./describeDevice.js\";\nexport { UpdateDeviceCommand } from \"./updateDevice.js\";\nexport { UpdateDeviceCredentialCommand } from \"./updateDeviceCredential.js\";\nexport { SetDeviceCommand } from \"./setDevice.js\";\nexport { DeleteDeviceCommand } from \"./deleteDevice.js\";\nexport { DeleteDeviceCredentialCommand } from \"./deleteDeviceCredential.js\";\nexport { MoveDeviceCommand } from \"./moveDevice.js\";\nexport { ReplaceDeviceCommand } from \"./replaceDevice.js\";\nexport { DescribeDeviceConfigCommand } from \"./describeDeviceConfig.js\";\nexport { CreateCategoryCommand } from \"./createCategory.js\";\nexport { DeleteCategoryCommand } from \"./deleteCategory.js\";\nexport { DescribeCategoryCommand } from \"./describeCategory.js\";\nexport { ListCategoriesCommand } from \"./listCategories.js\";\nexport { UpdateCategoryCommand } from \"./updateCategory.js\";\nexport { CreateResourceCommand } from \"./createResource.js\";\nexport { DeleteResourceCommand } from \"./deleteResource.js\";\nexport { DescribeResourceCommand } from \"./describeResource.js\";\nexport { ListResourcesCommand } from \"./listResources.js\";\nexport { UpdateResourceCommand } from \"./updateResource.js\";\nexport { DescribeDepartmentCommand } from \"./describeDepartment.js\";\nexport { ListDepartmentsCommand } from \"./listDepartments.js\";\nexport { DeleteDepartmentCommand } from \"./deleteDepartment.js\";\nexport { CreateDepartmentCommand } from \"./createDepartment.js\";\nexport { UpdateDepartmentCommand } from \"./updateDepartment.js\";\nexport { DescribeTicketStatsCommand } from \"./describeTicketStats.js\";\nexport { DescribeTicketStatsSummaryCommand } from \"./describeTicketStatsSummary.js\";\nexport { DescribeTicketStatsTicketsCommand } from \"./describeTicketStatsTickets.js\";\nexport { DescribeTicketStatsHeatmapCommand } from \"./describeTicketStatsHeatmap.js\";\nexport { DescribeTicketStatsFiltersCommand } from \"./describeTicketStatsFilters.js\";\nexport { CreateTicketCommand } from \"./createTicket.js\";\nexport { CreateTicketMessageCommand } from \"./createTicketMessage.js\";\nexport { DeleteTicketCommand } from \"./deleteTicket.js\";\nexport { ListTicketLocationsCommand } from \"./listTicketLocations.js\";\nexport { DescribeTicketFiltersCommand } from \"./describeTicketFilters.js\";\nexport { DescribeTicketCommand } from \"./describeTicket.js\";\nexport { ListTicketsCommand } from \"./listTickets.js\";\nexport { UpdateMessageReadStatusCommand } from \"./updateMessageReadStatus.js\";\nexport { UpdateTicketCommand } from \"./updateTicket.js\";\nexport { LeaveTicketCommand } from \"./leaveTicket.js\";\nexport { CreateDiscoveredDeviceAssociationMapCommand } from \"./createDiscoveredDeviceAssociationMap.js\";\nexport { AutoAssociateDiscoveredDevicesCommand } from \"./autoAssociateDiscoveredDevices.js\";\nexport { CreateDiscoveredDeviceCommand } from \"./createDiscoveredDevice.js\";\nexport { ListDiscoveredDevicesCommand } from \"./listDiscoveredDevices.js\";\nexport { UpdateDiscoveredDeviceCommand } from \"./updateDiscoveredDevice.js\";\nexport { DeleteDiscoveredDeviceCommand } from \"./deleteDiscoveredDevice.js\";\nexport { DescribeDiscoveredDeviceCommand } from \"./describeDiscoveredDevice.js\";\nexport { UpsertDiscoveredDeviceCommand } from \"./upsertDiscoveredDevice.js\";\nexport { CreateDiscoveredDeviceAssociationCommand } from \"./createDiscoveredDeviceAssociation.js\";\nexport { ListIntegrationsCommand } from \"./listIntegrations.js\";\nexport { DescribeMyOrganizationCommand } from \"./describeMyOrganization.js\";\nexport { CreateOrganizationCommand } from \"./createOrganization.js\";\nexport { UpdateOrganizationCommand } from \"./updateOrganization.js\";\nexport { UpdateOrganizationFeaturesCommand } from \"./updateOrganizationFeatures.js\";\nexport { UpdateOrganizationBillingAddressCommand } from \"./updateOrganizationBillingAddress.js\";\nexport { UpdateOrganizationBillingContactsCommand } from \"./updateOrganizationBillingContacts.js\";\nexport { UpdateOrganizationTaxExemptCommand } from \"./updateOrganizationTaxExempt.js\";\nexport { DeleteOrganizationCommand } from \"./deleteOrganization.js\";\nexport { DescribeOrganizationCommand } from \"./describeOrganization.js\";\nexport { ListOrganizationsCommand } from \"./listOrganizations.js\";\nexport { DescribeConciergeStatsSummaryCommand } from \"./describeConciergeStatsSummary.js\";\nexport { DescribeConciergeStatsFiltersCommand } from \"./describeConciergeStatsFilters.js\";\nexport { DescribeConciergeStatsTicketsCommand } from \"./describeConciergeStatsTickets.js\";\nexport { DescribeConciergeStatsHeatmapCommand } from \"./describeConciergeStatsHeatmap.js\";\nexport { ListConciergeWorkspaceBillsCommand } from \"./listConciergeWorkspaceBills.js\";\nexport { ListConciergeWorkspaceBillLinesCommand } from \"./listConciergeWorkspaceBillLines.js\";\nexport { DescribeConciergeBillsSummaryCommand } from \"./describeConciergeBillsSummary.js\";\nexport { ListConciergeWorkspaceTicketsCommand } from \"./listConciergeWorkspaceTickets.js\";\nexport { DescribeConciergeStageCountsCommand } from \"./describeConciergeStageCounts.js\";\nexport { DescribeConciergeWorkspaceFiltersCommand } from \"./describeConciergeWorkspaceFilters.js\";\nexport { ListConciergeUninvoicedCostsCommand } from \"./listConciergeUninvoicedCosts.js\";\nexport { ListPropertiesCommand } from \"./listProperties.js\";\nexport { ListPropertyCredentialsCommand } from \"./listPropertyCredentials.js\";\nexport { ListMyPropertiesCommand } from \"./listMyProperties.js\";\nexport { CreatePropertyCommand } from \"./createProperty.js\";\nexport { DeletePropertyCommand } from \"./deleteProperty.js\";\nexport { UpdatePropertyCommand } from \"./updateProperty.js\";\nexport { DescribePropertyCommand } from \"./describeProperty.js\";\nexport { UpdatePropertyFeaturesCommand } from \"./updatePropertyFeatures.js\";\nexport { EmailUserAccountSetupCommand } from \"./emailUserAccountSetup.js\";\nexport { DeleteMediaFileCommand } from \"./deleteMediaFile.js\";\nexport { DescribeTimeSheetStatsCommand } from \"./describeTimeSheetStats.js\";\nexport { ListMyTimeSheetsCommand } from \"./listMyTimeSheets.js\";\nexport { DescribeTimeSheetCommand } from \"./describeTimeSheet.js\";\nexport { ListTimeSheetsCommand } from \"./listTimeSheets.js\";\nexport { CreateTimeSheetCommand } from \"./createTimeSheet.js\";\nexport { DeleteTimeSheetCommand } from \"./deleteTimeSheet.js\";\nexport { UpdateTimeSheetCommand } from \"./updateTimeSheet.js\";\nexport { CreateTimeSheetTimeEntryCommand } from \"./createTimeSheetTimeEntry.js\";\nexport { DeleteTimeSheetTimeEntryCommand } from \"./deleteTimeSheetTimeEntry.js\";\nexport { UpdateTimeSheetTimeEntryCommand } from \"./updateTimeSheetTimeEntry.js\";\nexport { StartSOSCommand } from \"./startSOS.js\";\nexport { StopSOSCommand } from \"./stopSOS.js\";\nexport { DescribeSOSCommand } from \"./describeSOS.js\";\nexport { ListSOSEventsCommand } from \"./listSOSEvents.js\";\nexport { DescribeSOSEventCommand } from \"./describeSOSEvent.js\";\nexport { SendSOSUpdateCommand } from \"./sendSOSUpdate.js\";\nexport { AddSOSEventNoteCommand } from \"./addSOSEventNote.js\";\nexport { PreviewSOSEventReportCommand } from \"./previewSOSEventReport.js\";\nexport { ExportSOSEventReportCommand } from \"./exportSOSEventReport.js\";\nexport { FetchEmergencyContactsCommand } from \"./fetchEmergencyContacts.js\";\nexport { FetchEmergencyContactPeopleCommand } from \"./fetchEmergencyContactPeople.js\";\nexport { SyncSISRosterCommand } from \"./syncSISRoster.js\";\nexport { DescribeSISSyncCommand } from \"./describeSISSync.js\";\nexport { ListSISPeopleCommand } from \"./listSISPeople.js\";\nexport { ListSISHouseholdsCommand } from \"./listSISHouseholds.js\";\nexport { DescribeIssueCommand } from \"./describeIssue.js\";\nexport { ListIssuesCommand } from \"./listIssues.js\";\nexport { DeleteIssueCommand } from \"./deleteIssue.js\";\nexport { CreateIssueCommand } from \"./createIssue.js\";\nexport { UpdateIssueCommand } from \"./updateIssue.js\";\nexport { MergeIssueCommand } from \"./mergeIssue.js\";\nexport { CopyIssueRoutingCommand } from \"./copyIssueRouting.js\";\nexport { BulkUpdateIssueCommand } from \"./bulkUpdateIssue.js\";\nexport { DescribeVendorCommand } from \"./describeVendor.js\";\nexport { ListVendorsCommand } from \"./listVendors.js\";\nexport { DeleteVendorCommand } from \"./deleteVendor.js\";\nexport { CreateVendorCommand } from \"./createVendor.js\";\nexport { UpdateVendorCommand } from \"./updateVendor.js\";\nexport { ListBillingCategoriesCommand } from \"./listBillingCategories.js\";\nexport { CreateBillingCategoryCommand } from \"./createBillingCategory.js\";\nexport { UpdateBillingCategoryCommand } from \"./updateBillingCategory.js\";\nexport { ListBillsCommand } from \"./listBills.js\";\nexport { DescribeBillCommand } from \"./describeBill.js\";\nexport { PreviewBillCommand } from \"./previewBill.js\";\nexport { ListOrganizationBillsCommand } from \"./listOrganizationBills.js\";\nexport { DescribeOrganizationBillCommand } from \"./describeOrganizationBill.js\";\nexport { CreateBillCommand } from \"./createBill.js\";\nexport { UpdateBillCommand } from \"./updateBill.js\";\nexport { DeleteBillCommand } from \"./deleteBill.js\";\nexport { AddBillLineCommand } from \"./addBillLine.js\";\nexport { AddBillLinesCommand } from \"./addBillLines.js\";\nexport { UpdateBillLineCommand } from \"./updateBillLine.js\";\nexport { RemoveBillLineCommand } from \"./removeBillLine.js\";\nexport { MarkBillSentCommand } from \"./markBillSent.js\";\nexport { MarkBillPaidCommand } from \"./markBillPaid.js\";\nexport { VoidBillCommand } from \"./voidBill.js\";\nexport { CreateCostCommand } from \"./createCost.js\";\nexport { EditCostCommand } from \"./editCost.js\";\nexport { SetCostInvoiceCommand } from \"./setCostInvoice.js\";\nexport { WriteOffCostCommand } from \"./writeOffCost.js\";\nexport { ReinstateCostCommand } from \"./reinstateCost.js\";\nexport { CreateAutomationCommand } from \"./createAutomation.js\";\nexport { ListAutomationsCommand } from \"./listAutomations.js\";\nexport { DescribeAutomationCommand } from \"./describeAutomation.js\";\nexport { UpdateAutomationCommand } from \"./updateAutomation.js\";\nexport { DeleteAutomationCommand } from \"./deleteAutomation.js\";\nexport { CreateDefaultAutomationsCommand } from \"./createDefaultAutomations.js\";\nexport { RunAutomationCommand } from \"./runAutomation.js\";\nexport { SendNotificationCommand } from \"./sendNotification.js\";\nexport { DescribeOrgNotificationDefaultsCommand } from \"./describeOrgNotificationDefaults.js\";\nexport { UpdateOrgNotificationDefaultsCommand } from \"./updateOrgNotificationDefaults.js\";\nexport { ListMyPushSubscriptionsCommand } from \"./listMyPushSubscriptions.js\";\nexport { DescribePushVapidPublicKeyCommand } from \"./describePushVapidPublicKey.js\";\nexport { SubscribePushDeviceCommand } from \"./subscribePushDevice.js\";\nexport { UnsubscribePushDeviceCommand } from \"./unsubscribePushDevice.js\";\nexport { ListSessionsCommand } from \"./listSessions.js\";\nexport { DescribeSessionCommand } from \"./describeSession.js\";\nexport { DeleteSessionCommand } from \"./deleteSession.js\";\nexport { SetDevicesCommand } from \"./setDevices.js\";\nexport { CreateSystemCommand } from \"./createSystem.js\";\nexport { DeleteSystemCommand } from \"./deleteSystem.js\";\nexport { DescribeSystemCommand } from \"./describeSystem.js\";\nexport { ListSystemsCommand } from \"./listSystems.js\";\nexport { UpdateSystemCommand } from \"./updateSystem.js\";\nexport { CreateServerCommand } from \"./createServer.js\";\nexport { DeleteServerCommand } from \"./deleteServer.js\";\nexport { DescribeServerCommand } from \"./describeServer.js\";\nexport { ListServersCommand } from \"./listServers.js\";\nexport { UpdateServerCommand } from \"./updateServer.js\";\nexport { ScheduleWorkItemCommand } from \"./scheduleWorkItem.js\";\nexport { RescheduleWorkItemCommand } from \"./rescheduleWorkItem.js\";\nexport { CancelWorkItemCommand } from \"./cancelWorkItem.js\";\nexport { SetWorkItemNoChargeCommand } from \"./setWorkItemNoCharge.js\";\nexport { SetAwaitingResponseCommand } from \"./setAwaitingResponse.js\";\nexport { ClearAwaitingResponseCommand } from \"./clearAwaitingResponse.js\";\nexport { ClearWorkItemNoChargeCommand } from \"./clearWorkItemNoCharge.js\";\nexport { VerifyWorkItemCommand } from \"./verifyWorkItem.js\";\nexport { ClearWorkItemVerificationCommand } from \"./clearWorkItemVerification.js\";\nexport { RecordCostEntryCommand } from \"./recordCostEntry.js\";\nexport { EditCostEntryCommand } from \"./editCostEntry.js\";\nexport { RecordCostActualCommand } from \"./recordCostActual.js\";\nexport { SetCostVendorInvoiceCommand } from \"./setCostVendorInvoice.js\";\nexport { WriteOffCostEntryCommand } from \"./writeOffCostEntry.js\";\nexport { VoidCostEntryCommand } from \"./voidCostEntry.js\";\nexport { ReinstateCostEntryCommand } from \"./reinstateCostEntry.js\";\nexport { AcknowledgeCostDivergenceCommand } from \"./acknowledgeCostDivergence.js\";\nexport { RequestApprovalCommand } from \"./requestApproval.js\";\nexport { DecideApprovalCommand } from \"./decideApproval.js\";\nexport { ListEligibleApproversCommand } from \"./listEligibleApprovers.js\";\nexport { DescribeConciergeFacilitiesViewerCommand } from \"./describeConciergeFacilitiesViewer.js\";\nexport { ListKohostStaffCommand } from \"./listKohostStaff.js\";\nexport { SetUserSuperAdminCommand } from \"./setUserSuperAdmin.js\";\nexport { UpdateStaffUserCommand } from \"./updateStaffUser.js\";\nexport { DeleteStaffUserCommand } from \"./deleteStaffUser.js\";\nexport { DescribeStaffFunctionsCommand } from \"./describeStaffFunctions.js\";\nexport { ListFacilitiesStaffIdsCommand } from \"./listFacilitiesStaffIds.js\";\nexport { AddStaffFunctionMemberCommand } from \"./addStaffFunctionMember.js\";\nexport { RemoveStaffFunctionMemberCommand } from \"./removeStaffFunctionMember.js\";\nexport { SendAnnouncementCommand } from \"./sendAnnouncement.js\";\nexport { PreviewAnnouncementCommand } from \"./previewAnnouncement.js\";\nexport { ListAnnouncementsCommand } from \"./listAnnouncements.js\";\nexport { DescribeAnnouncementCommand } from \"./describeAnnouncement.js\";\nexport { CreateAnnouncementPresetCommand } from \"./createAnnouncementPreset.js\";\nexport { UpdateAnnouncementPresetCommand } from \"./updateAnnouncementPreset.js\";\nexport { DeleteAnnouncementPresetCommand } from \"./deleteAnnouncementPreset.js\";\n"],"mappings":""}
@@ -0,0 +1,27 @@
1
+ export interface ListConciergeWorkspaceBillLinesCommandConfig {
2
+ data?: Record<string, unknown> | unknown[] | null;
3
+ headers?: Record<string, string> | null;
4
+ query?: Record<string, unknown> | null;
5
+ }
6
+ export interface ListConciergeWorkspaceBillLinesCommandRequestConfig {
7
+ method: "get";
8
+ url: string;
9
+ data: Record<string, unknown> | unknown[] | null;
10
+ params: Record<string, unknown> | null;
11
+ headers: Record<string, string> | null;
12
+ [key: string]: unknown;
13
+ }
14
+ /**
15
+ * OneBill transactions view: every line on a sent or paid bill across every KFC-enabled organization, newest send first, paged and searchable, with the vendor-cost snapshot and resolved organization and vendor names.
16
+ */
17
+ export declare class ListConciergeWorkspaceBillLinesCommand {
18
+ url: string;
19
+ data: Record<string, unknown> | unknown[] | null;
20
+ query: Record<string, unknown> | null;
21
+ headers: Record<string, string> | null;
22
+ config: ListConciergeWorkspaceBillLinesCommandRequestConfig;
23
+ static params: readonly [];
24
+ static url: string;
25
+ static method: "get";
26
+ constructor(commandConfig: ListConciergeWorkspaceBillLinesCommandConfig, options?: Record<string, unknown>);
27
+ }
@@ -0,0 +1,47 @@
1
+ //#region .generated/useCases/listConciergeWorkspaceBillLines.ts
2
+ /**
3
+ * OneBill transactions view: every line on a sent or paid bill across every KFC-enabled organization, newest send first, paged and searchable, with the vendor-cost snapshot and resolved organization and vendor names.
4
+ */
5
+ var ListConciergeWorkspaceBillLinesCommand = class ListConciergeWorkspaceBillLinesCommand {
6
+ url;
7
+ data;
8
+ query;
9
+ headers;
10
+ config;
11
+ static params = [];
12
+ static url = "/concierge/bill-lines";
13
+ static method = "get";
14
+ constructor(commandConfig, options = {}) {
15
+ const pathParams = ListConciergeWorkspaceBillLinesCommand.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 = ListConciergeWorkspaceBillLinesCommand.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: ListConciergeWorkspaceBillLinesCommand.method,
36
+ url,
37
+ data,
38
+ params: query,
39
+ headers,
40
+ ...options
41
+ };
42
+ }
43
+ };
44
+ //#endregion
45
+ export { ListConciergeWorkspaceBillLinesCommand };
46
+
47
+ //# sourceMappingURL=listConciergeWorkspaceBillLines.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listConciergeWorkspaceBillLines.js","names":[],"sources":["../../.generated/useCases/listConciergeWorkspaceBillLines.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface ListConciergeWorkspaceBillLinesCommandConfig {\n data?: Record<string, unknown> | unknown[] | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface ListConciergeWorkspaceBillLinesCommandRequestConfig {\n method: \"get\";\n url: string;\n data: Record<string, unknown> | unknown[] | null;\n params: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n [key: string]: unknown;\n}\n\n/**\n * OneBill transactions view: every line on a sent or paid bill across every KFC-enabled organization, newest send first, paged and searchable, with the vendor-cost snapshot and resolved organization and vendor names.\n */\nexport class ListConciergeWorkspaceBillLinesCommand {\n url: string;\n data: Record<string, unknown> | unknown[] | null;\n query: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n config: ListConciergeWorkspaceBillLinesCommandRequestConfig;\n\n static params = [] as const;\n static url = \"/concierge/bill-lines\";\n static method = \"get\" as const;\n\n constructor(commandConfig: ListConciergeWorkspaceBillLinesCommandConfig, options: Record<string, unknown> = {}) {\n const pathParams = ListConciergeWorkspaceBillLinesCommand.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 = ListConciergeWorkspaceBillLinesCommand.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: ListConciergeWorkspaceBillLinesCommand.method,\n url: url,\n data: data,\n params: query,\n headers: headers,\n ...options,\n };\n }\n}\n"],"mappings":";;;;AAoBA,IAAa,yCAAb,MAAa,uCAAuC;CAClD;CACA;CACA;CACA;CACA;CAEA,OAAO,SAAS,CAAC;CACjB,OAAO,MAAM;CACb,OAAO,SAAS;CAEhB,YAAY,eAA6D,UAAmC,CAAC,GAAG;EAC9G,MAAM,aAAa,uCAAuC;EAE1D,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,uCAAuC;EAEzD,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,uCAAuC;GAC1C;GACC;GACN,QAAQ;GACC;GACT,GAAG;EACL;CACF;AACF"}
@@ -0,0 +1,27 @@
1
+ export interface ListSISHouseholdsCommandConfig {
2
+ data?: Record<string, unknown> | unknown[] | null;
3
+ headers?: Record<string, string> | null;
4
+ query?: Record<string, unknown> | null;
5
+ }
6
+ export interface ListSISHouseholdsCommandRequestConfig {
7
+ method: "get";
8
+ url: string;
9
+ data: Record<string, unknown> | unknown[] | null;
10
+ params: Record<string, unknown> | null;
11
+ headers: Record<string, string> | null;
12
+ [key: string]: unknown;
13
+ }
14
+ /**
15
+ *
16
+ */
17
+ export declare class ListSISHouseholdsCommand {
18
+ url: string;
19
+ data: Record<string, unknown> | unknown[] | null;
20
+ query: Record<string, unknown> | null;
21
+ headers: Record<string, string> | null;
22
+ config: ListSISHouseholdsCommandRequestConfig;
23
+ static params: readonly [];
24
+ static url: string;
25
+ static method: "get";
26
+ constructor(commandConfig: ListSISHouseholdsCommandConfig, options?: Record<string, unknown>);
27
+ }
@@ -0,0 +1,47 @@
1
+ //#region .generated/useCases/listSISHouseholds.ts
2
+ /**
3
+ *
4
+ */
5
+ var ListSISHouseholdsCommand = class ListSISHouseholdsCommand {
6
+ url;
7
+ data;
8
+ query;
9
+ headers;
10
+ config;
11
+ static params = [];
12
+ static url = "/sis/households";
13
+ static method = "get";
14
+ constructor(commandConfig, options = {}) {
15
+ const pathParams = ListSISHouseholdsCommand.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 = ListSISHouseholdsCommand.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: ListSISHouseholdsCommand.method,
36
+ url,
37
+ data,
38
+ params: query,
39
+ headers,
40
+ ...options
41
+ };
42
+ }
43
+ };
44
+ //#endregion
45
+ export { ListSISHouseholdsCommand };
46
+
47
+ //# sourceMappingURL=listSISHouseholds.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listSISHouseholds.js","names":[],"sources":["../../.generated/useCases/listSISHouseholds.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface ListSISHouseholdsCommandConfig {\n data?: Record<string, unknown> | unknown[] | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface ListSISHouseholdsCommandRequestConfig {\n method: \"get\";\n url: string;\n data: Record<string, unknown> | unknown[] | null;\n params: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n [key: string]: unknown;\n}\n\n/**\n * \n */\nexport class ListSISHouseholdsCommand {\n url: string;\n data: Record<string, unknown> | unknown[] | null;\n query: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n config: ListSISHouseholdsCommandRequestConfig;\n\n static params = [] as const;\n static url = \"/sis/households\";\n static method = \"get\" as const;\n\n constructor(commandConfig: ListSISHouseholdsCommandConfig, options: Record<string, unknown> = {}) {\n const pathParams = ListSISHouseholdsCommand.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 = ListSISHouseholdsCommand.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: ListSISHouseholdsCommand.method,\n url: url,\n data: data,\n params: query,\n headers: headers,\n ...options,\n };\n }\n}\n"],"mappings":";;;;AAoBA,IAAa,2BAAb,MAAa,yBAAyB;CACpC;CACA;CACA;CACA;CACA;CAEA,OAAO,SAAS,CAAC;CACjB,OAAO,MAAM;CACb,OAAO,SAAS;CAEhB,YAAY,eAA+C,UAAmC,CAAC,GAAG;EAChG,MAAM,aAAa,yBAAyB;EAE5C,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,yBAAyB;EAE3C,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,yBAAyB;GAC5B;GACC;GACN,QAAQ;GACC;GACT,GAAG;EACL;CACF;AACF"}
@@ -0,0 +1,27 @@
1
+ export interface ListSISPeopleCommandConfig {
2
+ data?: Record<string, unknown> | unknown[] | null;
3
+ headers?: Record<string, string> | null;
4
+ query?: Record<string, unknown> | null;
5
+ }
6
+ export interface ListSISPeopleCommandRequestConfig {
7
+ method: "get";
8
+ url: string;
9
+ data: Record<string, unknown> | unknown[] | null;
10
+ params: Record<string, unknown> | null;
11
+ headers: Record<string, string> | null;
12
+ [key: string]: unknown;
13
+ }
14
+ /**
15
+ *
16
+ */
17
+ export declare class ListSISPeopleCommand {
18
+ url: string;
19
+ data: Record<string, unknown> | unknown[] | null;
20
+ query: Record<string, unknown> | null;
21
+ headers: Record<string, string> | null;
22
+ config: ListSISPeopleCommandRequestConfig;
23
+ static params: readonly [];
24
+ static url: string;
25
+ static method: "get";
26
+ constructor(commandConfig: ListSISPeopleCommandConfig, options?: Record<string, unknown>);
27
+ }
@@ -0,0 +1,47 @@
1
+ //#region .generated/useCases/listSISPeople.ts
2
+ /**
3
+ *
4
+ */
5
+ var ListSISPeopleCommand = class ListSISPeopleCommand {
6
+ url;
7
+ data;
8
+ query;
9
+ headers;
10
+ config;
11
+ static params = [];
12
+ static url = "/sis/people";
13
+ static method = "get";
14
+ constructor(commandConfig, options = {}) {
15
+ const pathParams = ListSISPeopleCommand.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 = ListSISPeopleCommand.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: ListSISPeopleCommand.method,
36
+ url,
37
+ data,
38
+ params: query,
39
+ headers,
40
+ ...options
41
+ };
42
+ }
43
+ };
44
+ //#endregion
45
+ export { ListSISPeopleCommand };
46
+
47
+ //# sourceMappingURL=listSISPeople.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listSISPeople.js","names":[],"sources":["../../.generated/useCases/listSISPeople.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface ListSISPeopleCommandConfig {\n data?: Record<string, unknown> | unknown[] | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface ListSISPeopleCommandRequestConfig {\n method: \"get\";\n url: string;\n data: Record<string, unknown> | unknown[] | null;\n params: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n [key: string]: unknown;\n}\n\n/**\n * \n */\nexport class ListSISPeopleCommand {\n url: string;\n data: Record<string, unknown> | unknown[] | null;\n query: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n config: ListSISPeopleCommandRequestConfig;\n\n static params = [] as const;\n static url = \"/sis/people\";\n static method = \"get\" as const;\n\n constructor(commandConfig: ListSISPeopleCommandConfig, options: Record<string, unknown> = {}) {\n const pathParams = ListSISPeopleCommand.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 = ListSISPeopleCommand.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: ListSISPeopleCommand.method,\n url: url,\n data: data,\n params: query,\n headers: headers,\n ...options,\n };\n }\n}\n"],"mappings":";;;;AAoBA,IAAa,uBAAb,MAAa,qBAAqB;CAChC;CACA;CACA;CACA;CACA;CAEA,OAAO,SAAS,CAAC;CACjB,OAAO,MAAM;CACb,OAAO,SAAS;CAEhB,YAAY,eAA2C,UAAmC,CAAC,GAAG;EAC5F,MAAM,aAAa,qBAAqB;EAExC,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,qBAAqB;EAEvC,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,qBAAqB;GACxB;GACC;GACN,QAAQ;GACC;GACT,GAAG;EACL;CACF;AACF"}
@@ -0,0 +1,27 @@
1
+ export interface PreviewAnnouncementCommandConfig {
2
+ data?: Record<string, unknown> | unknown[] | null;
3
+ headers?: Record<string, string> | null;
4
+ query?: Record<string, unknown> | null;
5
+ }
6
+ export interface PreviewAnnouncementCommandRequestConfig {
7
+ method: "post";
8
+ url: string;
9
+ data: Record<string, unknown> | unknown[] | null;
10
+ params: Record<string, unknown> | null;
11
+ headers: Record<string, string> | null;
12
+ [key: string]: unknown;
13
+ }
14
+ /**
15
+ *
16
+ */
17
+ export declare class PreviewAnnouncementCommand {
18
+ url: string;
19
+ data: Record<string, unknown> | unknown[] | null;
20
+ query: Record<string, unknown> | null;
21
+ headers: Record<string, string> | null;
22
+ config: PreviewAnnouncementCommandRequestConfig;
23
+ static params: readonly [];
24
+ static url: string;
25
+ static method: "post";
26
+ constructor(commandConfig: PreviewAnnouncementCommandConfig, options?: Record<string, unknown>);
27
+ }
@@ -0,0 +1,47 @@
1
+ //#region .generated/useCases/previewAnnouncement.ts
2
+ /**
3
+ *
4
+ */
5
+ var PreviewAnnouncementCommand = class PreviewAnnouncementCommand {
6
+ url;
7
+ data;
8
+ query;
9
+ headers;
10
+ config;
11
+ static params = [];
12
+ static url = "/announcements/preview";
13
+ static method = "post";
14
+ constructor(commandConfig, options = {}) {
15
+ const pathParams = PreviewAnnouncementCommand.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 = PreviewAnnouncementCommand.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: PreviewAnnouncementCommand.method,
36
+ url,
37
+ data,
38
+ params: query,
39
+ headers,
40
+ ...options
41
+ };
42
+ }
43
+ };
44
+ //#endregion
45
+ export { PreviewAnnouncementCommand };
46
+
47
+ //# sourceMappingURL=previewAnnouncement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"previewAnnouncement.js","names":[],"sources":["../../.generated/useCases/previewAnnouncement.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface PreviewAnnouncementCommandConfig {\n data?: Record<string, unknown> | unknown[] | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface PreviewAnnouncementCommandRequestConfig {\n method: \"post\";\n url: string;\n data: Record<string, unknown> | unknown[] | null;\n params: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n [key: string]: unknown;\n}\n\n/**\n * \n */\nexport class PreviewAnnouncementCommand {\n url: string;\n data: Record<string, unknown> | unknown[] | null;\n query: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n config: PreviewAnnouncementCommandRequestConfig;\n\n static params = [] as const;\n static url = \"/announcements/preview\";\n static method = \"post\" as const;\n\n constructor(commandConfig: PreviewAnnouncementCommandConfig, options: Record<string, unknown> = {}) {\n const pathParams = PreviewAnnouncementCommand.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 = PreviewAnnouncementCommand.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: PreviewAnnouncementCommand.method,\n url: url,\n data: data,\n params: query,\n headers: headers,\n ...options,\n };\n }\n}\n"],"mappings":";;;;AAoBA,IAAa,6BAAb,MAAa,2BAA2B;CACtC;CACA;CACA;CACA;CACA;CAEA,OAAO,SAAS,CAAC;CACjB,OAAO,MAAM;CACb,OAAO,SAAS;CAEhB,YAAY,eAAiD,UAAmC,CAAC,GAAG;EAClG,MAAM,aAAa,2BAA2B;EAE9C,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,2BAA2B;EAE7C,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,2BAA2B;GAC9B;GACC;GACN,QAAQ;GACC;GACT,GAAG;EACL;CACF;AACF"}
@@ -0,0 +1,36 @@
1
+ export interface SetAwaitingResponseCommandConfig {
2
+ data?: {
3
+ id: string;
4
+ [key: string]: unknown;
5
+ } | null;
6
+ headers?: Record<string, string> | null;
7
+ query?: Record<string, unknown> | null;
8
+ }
9
+ export interface SetAwaitingResponseCommandRequestConfig {
10
+ method: "post";
11
+ url: string;
12
+ data: {
13
+ id: string;
14
+ [key: string]: unknown;
15
+ } | null;
16
+ params: Record<string, unknown> | null;
17
+ headers: Record<string, string> | null;
18
+ [key: string]: unknown;
19
+ }
20
+ /**
21
+ * Marks the ticket as waiting on a reply, from one person on it or from anyone outside Kohost's side.
22
+ */
23
+ export declare class SetAwaitingResponseCommand {
24
+ url: string;
25
+ data: {
26
+ id: string;
27
+ [key: string]: unknown;
28
+ } | null;
29
+ query: Record<string, unknown> | null;
30
+ headers: Record<string, string> | null;
31
+ config: SetAwaitingResponseCommandRequestConfig;
32
+ static params: readonly ["id"];
33
+ static url: string;
34
+ static method: "post";
35
+ constructor(commandConfig: SetAwaitingResponseCommandConfig, options?: Record<string, unknown>);
36
+ }
@@ -0,0 +1,47 @@
1
+ //#region .generated/useCases/setAwaitingResponse.ts
2
+ /**
3
+ * Marks the ticket as waiting on a reply, from one person on it or from anyone outside Kohost's side.
4
+ */
5
+ var SetAwaitingResponseCommand = class SetAwaitingResponseCommand {
6
+ url;
7
+ data;
8
+ query;
9
+ headers;
10
+ config;
11
+ static params = ["id"];
12
+ static url = "/tickets/:id/awaiting-response";
13
+ static method = "post";
14
+ constructor(commandConfig, options = {}) {
15
+ const pathParams = SetAwaitingResponseCommand.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 = SetAwaitingResponseCommand.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: SetAwaitingResponseCommand.method,
36
+ url,
37
+ data,
38
+ params: query,
39
+ headers,
40
+ ...options
41
+ };
42
+ }
43
+ };
44
+ //#endregion
45
+ export { SetAwaitingResponseCommand };
46
+
47
+ //# sourceMappingURL=setAwaitingResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setAwaitingResponse.js","names":[],"sources":["../../.generated/useCases/setAwaitingResponse.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface SetAwaitingResponseCommandConfig {\n data?: { id: string; [key: string]: unknown } | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface SetAwaitingResponseCommandRequestConfig {\n method: \"post\";\n url: string;\n data: { id: string; [key: string]: unknown } | null;\n params: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n [key: string]: unknown;\n}\n\n/**\n * Marks the ticket as waiting on a reply, from one person on it or from anyone outside Kohost's side.\n */\nexport class SetAwaitingResponseCommand {\n url: string;\n data: { id: string; [key: string]: unknown } | null;\n query: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n config: SetAwaitingResponseCommandRequestConfig;\n\n static params = [\"id\"] as const;\n static url = \"/tickets/:id/awaiting-response\";\n static method = \"post\" as const;\n\n constructor(commandConfig: SetAwaitingResponseCommandConfig, options: Record<string, unknown> = {}) {\n const pathParams = SetAwaitingResponseCommand.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 = SetAwaitingResponseCommand.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: SetAwaitingResponseCommand.method,\n url: url,\n data: data,\n params: query,\n headers: headers,\n ...options,\n };\n }\n}\n"],"mappings":";;;;AAoBA,IAAa,6BAAb,MAAa,2BAA2B;CACtC;CACA;CACA;CACA;CACA;CAEA,OAAO,SAAS,CAAC,IAAI;CACrB,OAAO,MAAM;CACb,OAAO,SAAS;CAEhB,YAAY,eAAiD,UAAmC,CAAC,GAAG;EAClG,MAAM,aAAa,2BAA2B;EAE9C,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,2BAA2B;EAE7C,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,2BAA2B;GAC9B;GACC;GACN,QAAQ;GACC;GACT,GAAG;EACL;CACF;AACF"}
@@ -0,0 +1,27 @@
1
+ export interface SyncSISRosterCommandConfig {
2
+ data?: Record<string, unknown> | unknown[] | null;
3
+ headers?: Record<string, string> | null;
4
+ query?: Record<string, unknown> | null;
5
+ }
6
+ export interface SyncSISRosterCommandRequestConfig {
7
+ method: "post";
8
+ url: string;
9
+ data: Record<string, unknown> | unknown[] | null;
10
+ params: Record<string, unknown> | null;
11
+ headers: Record<string, string> | null;
12
+ [key: string]: unknown;
13
+ }
14
+ /**
15
+ *
16
+ */
17
+ export declare class SyncSISRosterCommand {
18
+ url: string;
19
+ data: Record<string, unknown> | unknown[] | null;
20
+ query: Record<string, unknown> | null;
21
+ headers: Record<string, string> | null;
22
+ config: SyncSISRosterCommandRequestConfig;
23
+ static params: readonly [];
24
+ static url: string;
25
+ static method: "post";
26
+ constructor(commandConfig: SyncSISRosterCommandConfig, options?: Record<string, unknown>);
27
+ }
@@ -0,0 +1,47 @@
1
+ //#region .generated/useCases/syncSISRoster.ts
2
+ /**
3
+ *
4
+ */
5
+ var SyncSISRosterCommand = class SyncSISRosterCommand {
6
+ url;
7
+ data;
8
+ query;
9
+ headers;
10
+ config;
11
+ static params = [];
12
+ static url = "/sis/sync";
13
+ static method = "post";
14
+ constructor(commandConfig, options = {}) {
15
+ const pathParams = SyncSISRosterCommand.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 = SyncSISRosterCommand.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: SyncSISRosterCommand.method,
36
+ url,
37
+ data,
38
+ params: query,
39
+ headers,
40
+ ...options
41
+ };
42
+ }
43
+ };
44
+ //#endregion
45
+ export { SyncSISRosterCommand };
46
+
47
+ //# sourceMappingURL=syncSISRoster.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"syncSISRoster.js","names":[],"sources":["../../.generated/useCases/syncSISRoster.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface SyncSISRosterCommandConfig {\n data?: Record<string, unknown> | unknown[] | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface SyncSISRosterCommandRequestConfig {\n method: \"post\";\n url: string;\n data: Record<string, unknown> | unknown[] | null;\n params: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n [key: string]: unknown;\n}\n\n/**\n * \n */\nexport class SyncSISRosterCommand {\n url: string;\n data: Record<string, unknown> | unknown[] | null;\n query: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n config: SyncSISRosterCommandRequestConfig;\n\n static params = [] as const;\n static url = \"/sis/sync\";\n static method = \"post\" as const;\n\n constructor(commandConfig: SyncSISRosterCommandConfig, options: Record<string, unknown> = {}) {\n const pathParams = SyncSISRosterCommand.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 = SyncSISRosterCommand.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: SyncSISRosterCommand.method,\n url: url,\n data: data,\n params: query,\n headers: headers,\n ...options,\n };\n }\n}\n"],"mappings":";;;;AAoBA,IAAa,uBAAb,MAAa,qBAAqB;CAChC;CACA;CACA;CACA;CACA;CAEA,OAAO,SAAS,CAAC;CACjB,OAAO,MAAM;CACb,OAAO,SAAS;CAEhB,YAAY,eAA2C,UAAmC,CAAC,GAAG;EAC5F,MAAM,aAAa,qBAAqB;EAExC,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,qBAAqB;EAEvC,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,qBAAqB;GACxB;GACC;GACN,QAAQ;GACC;GACT,GAAG;EACL;CACF;AACF"}