@kohost/api-client 6.5.0 → 7.0.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 +8 -12
- package/dist/index-BnWbLEt_.d.ts +22 -0
- package/dist/{index-CwkLEwUB.d.ts → index-DJzBywIl.d.ts} +13 -21
- package/dist/index.d.ts +11 -11
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/lib/deviceNotifications.d.ts +19 -0
- package/dist/lib/deviceNotifications.js +35 -0
- package/dist/lib/deviceNotifications.js.map +1 -0
- package/dist/lib/index.d.ts +3 -0
- package/dist/lib/index.js +23 -0
- package/dist/lib/index.js.map +1 -0
- package/dist/lib/policy-resolvers.d.ts +12 -0
- package/dist/lib/policy-resolvers.js +75 -0
- package/dist/lib/policy-resolvers.js.map +1 -0
- package/dist/lib/systemCategories.d.ts +10 -0
- package/dist/lib/systemCategories.js +61 -0
- package/dist/lib/systemCategories.js.map +1 -0
- package/dist/models/alarm.js +1 -0
- package/dist/models/alarm.js.map +1 -1
- package/dist/models/announcement.js +1 -0
- package/dist/models/announcement.js.map +1 -1
- package/dist/models/automation.js +1 -0
- package/dist/models/automation.js.map +1 -1
- package/dist/models/camera.js +1 -0
- package/dist/models/camera.js.map +1 -1
- package/dist/models/category.js +1 -0
- package/dist/models/category.js.map +1 -1
- package/dist/models/courtesy.js +1 -0
- package/dist/models/courtesy.js.map +1 -1
- package/dist/models/credential.js +1 -0
- package/dist/models/credential.js.map +1 -1
- package/dist/models/dimmer.js +1 -0
- package/dist/models/dimmer.js.map +1 -1
- package/dist/models/emailMessage.js +1 -0
- package/dist/models/emailMessage.js.map +1 -1
- package/dist/models/energyReport.js +1 -0
- package/dist/models/energyReport.js.map +1 -1
- package/dist/models/gateway.js +1 -0
- package/dist/models/gateway.js.map +1 -1
- package/dist/models/issue.d.ts +1 -1
- package/dist/models/issue.js +2 -7
- package/dist/models/issue.js.map +1 -1
- package/dist/models/lock.js +1 -0
- package/dist/models/lock.js.map +1 -1
- package/dist/models/log.js +1 -0
- package/dist/models/log.js.map +1 -1
- package/dist/models/mediaFile.js +1 -0
- package/dist/models/mediaFile.js.map +1 -1
- package/dist/models/mediaSource.js +1 -0
- package/dist/models/mediaSource.js.map +1 -1
- package/dist/models/motionSensor.js +1 -0
- package/dist/models/motionSensor.js.map +1 -1
- package/dist/models/notification.js +1 -0
- package/dist/models/notification.js.map +1 -1
- package/dist/models/order.js +1 -0
- package/dist/models/order.js.map +1 -1
- package/dist/models/organization.js +1 -2
- package/dist/models/organization.js.map +1 -1
- package/dist/models/payment.js +1 -0
- package/dist/models/payment.js.map +1 -1
- package/dist/models/policy.js +1 -0
- package/dist/models/policy.js.map +1 -1
- package/dist/models/product.js +1 -0
- package/dist/models/product.js.map +1 -1
- package/dist/models/property.js +1 -1
- package/dist/models/property.js.map +1 -1
- package/dist/models/reservation.js +1 -0
- package/dist/models/reservation.js.map +1 -1
- package/dist/models/shortLink.js +1 -0
- package/dist/models/shortLink.js.map +1 -1
- package/dist/models/smsMessage.js +1 -0
- package/dist/models/smsMessage.js.map +1 -1
- package/dist/models/space.js +1 -0
- package/dist/models/space.js.map +1 -1
- package/dist/models/switch.js +1 -0
- package/dist/models/switch.js.map +1 -1
- package/dist/models/thermostat.js +1 -0
- package/dist/models/thermostat.js.map +1 -1
- package/dist/models/ticket.js +1 -0
- package/dist/models/ticket.js.map +1 -1
- package/dist/models/timeSheet.js +1 -0
- package/dist/models/timeSheet.js.map +1 -1
- package/dist/models/user.js +0 -1
- package/dist/models/user.js.map +1 -1
- package/dist/models/vendor.js +2 -0
- package/dist/models/vendor.js.map +1 -1
- package/dist/models/windowCovering.js +1 -0
- package/dist/models/windowCovering.js.map +1 -1
- package/dist/schemas/alarm.d.ts +4 -0
- package/dist/schemas/alarm.js +4 -0
- package/dist/schemas/alarm.js.map +1 -1
- package/dist/schemas/announcement.d.ts +4 -0
- package/dist/schemas/announcement.js +4 -0
- package/dist/schemas/announcement.js.map +1 -1
- package/dist/schemas/automation.d.ts +4 -0
- package/dist/schemas/automation.js +4 -0
- package/dist/schemas/automation.js.map +1 -1
- package/dist/schemas/camera.d.ts +4 -0
- package/dist/schemas/camera.js +4 -0
- package/dist/schemas/camera.js.map +1 -1
- package/dist/schemas/category.d.ts +4 -0
- package/dist/schemas/category.js +4 -0
- package/dist/schemas/category.js.map +1 -1
- package/dist/schemas/courtesy.d.ts +4 -0
- package/dist/schemas/courtesy.js +4 -0
- package/dist/schemas/courtesy.js.map +1 -1
- package/dist/schemas/credential.d.ts +4 -1
- package/dist/schemas/credential.js +5 -1
- package/dist/schemas/credential.js.map +1 -1
- package/dist/schemas/definitions.d.ts +1 -1
- package/dist/schemas/definitions.js +6 -1
- package/dist/schemas/definitions.js.map +1 -1
- package/dist/schemas/dimmer.d.ts +4 -0
- package/dist/schemas/dimmer.js +4 -0
- package/dist/schemas/dimmer.js.map +1 -1
- package/dist/schemas/emailMessage.d.ts +4 -0
- package/dist/schemas/emailMessage.js +4 -0
- package/dist/schemas/emailMessage.js.map +1 -1
- package/dist/schemas/energyReport.d.ts +4 -0
- package/dist/schemas/energyReport.js +4 -0
- package/dist/schemas/energyReport.js.map +1 -1
- package/dist/schemas/gateway.d.ts +4 -0
- package/dist/schemas/gateway.js +4 -0
- package/dist/schemas/gateway.js.map +1 -1
- package/dist/schemas/issue.d.ts +126 -43
- package/dist/schemas/issue.js +88 -44
- package/dist/schemas/issue.js.map +1 -1
- package/dist/schemas/lock.d.ts +4 -0
- package/dist/schemas/lock.js +4 -0
- package/dist/schemas/lock.js.map +1 -1
- package/dist/schemas/log.d.ts +4 -0
- package/dist/schemas/log.js +4 -0
- package/dist/schemas/log.js.map +1 -1
- package/dist/schemas/mediaFile.d.ts +4 -0
- package/dist/schemas/mediaFile.js +4 -0
- package/dist/schemas/mediaFile.js.map +1 -1
- package/dist/schemas/mediaSource.d.ts +4 -0
- package/dist/schemas/mediaSource.js +4 -0
- package/dist/schemas/mediaSource.js.map +1 -1
- package/dist/schemas/motionSensor.d.ts +4 -0
- package/dist/schemas/motionSensor.js +4 -0
- package/dist/schemas/motionSensor.js.map +1 -1
- package/dist/schemas/notification.d.ts +4 -0
- package/dist/schemas/notification.js +4 -0
- package/dist/schemas/notification.js.map +1 -1
- package/dist/schemas/order.d.ts +4 -0
- package/dist/schemas/order.js +4 -0
- package/dist/schemas/order.js.map +1 -1
- package/dist/schemas/organization.d.ts +45 -13
- package/dist/schemas/organization.js +46 -10
- package/dist/schemas/organization.js.map +1 -1
- package/dist/schemas/payment.d.ts +4 -0
- package/dist/schemas/payment.js +4 -0
- package/dist/schemas/payment.js.map +1 -1
- package/dist/schemas/policy.d.ts +4 -0
- package/dist/schemas/policy.js +4 -0
- package/dist/schemas/policy.js.map +1 -1
- package/dist/schemas/product.d.ts +4 -0
- package/dist/schemas/product.js +4 -0
- package/dist/schemas/product.js.map +1 -1
- package/dist/schemas/property.d.ts +13 -11
- package/dist/schemas/property.js +13 -11
- package/dist/schemas/property.js.map +1 -1
- package/dist/schemas/reservation.d.ts +4 -0
- package/dist/schemas/reservation.js +4 -0
- package/dist/schemas/reservation.js.map +1 -1
- package/dist/schemas/shortLink.d.ts +4 -0
- package/dist/schemas/shortLink.js +4 -0
- package/dist/schemas/shortLink.js.map +1 -1
- package/dist/schemas/smsMessage.d.ts +4 -0
- package/dist/schemas/smsMessage.js +4 -0
- package/dist/schemas/smsMessage.js.map +1 -1
- package/dist/schemas/space.d.ts +4 -0
- package/dist/schemas/space.js +4 -0
- package/dist/schemas/space.js.map +1 -1
- package/dist/schemas/switch.d.ts +4 -0
- package/dist/schemas/switch.js +4 -0
- package/dist/schemas/switch.js.map +1 -1
- package/dist/schemas/thermostat.d.ts +4 -0
- package/dist/schemas/thermostat.js +4 -0
- package/dist/schemas/thermostat.js.map +1 -1
- package/dist/schemas/ticket.d.ts +4 -0
- package/dist/schemas/ticket.js +4 -0
- package/dist/schemas/ticket.js.map +1 -1
- package/dist/schemas/timeSheet.d.ts +4 -0
- package/dist/schemas/timeSheet.js +4 -0
- package/dist/schemas/timeSheet.js.map +1 -1
- package/dist/schemas/user.d.ts +0 -3
- package/dist/schemas/user.js +0 -3
- package/dist/schemas/user.js.map +1 -1
- package/dist/schemas/vendor.d.ts +12 -0
- package/dist/schemas/vendor.js +12 -0
- package/dist/schemas/vendor.js.map +1 -1
- package/dist/schemas/windowCovering.d.ts +4 -0
- package/dist/schemas/windowCovering.js +4 -0
- package/dist/schemas/windowCovering.js.map +1 -1
- package/dist/useCases/createApiKey.d.ts +38 -0
- package/dist/useCases/{sendSMS.js → createApiKey.js} +9 -9
- package/dist/useCases/createApiKey.js.map +1 -0
- package/dist/useCases/{describeIntegration.d.ts → getApiKey.d.ts} +10 -10
- package/dist/useCases/{listAnnouncements.js → getApiKey.js} +9 -9
- package/dist/useCases/getApiKey.js.map +1 -0
- package/dist/useCases/index.d.ts +6 -10
- package/dist/useCases/index.js +12 -20
- package/dist/useCases/index.js.map +1 -1
- package/dist/useCases/{deleteAnnouncement.d.ts → revokeApiKey.d.ts} +10 -10
- package/dist/useCases/{deleteAnnouncement.js → revokeApiKey.js} +9 -9
- package/dist/useCases/revokeApiKey.js.map +1 -0
- package/dist/useCases/{updateAnnouncement.d.ts → rotateApiKey.d.ts} +10 -10
- package/dist/useCases/{updateIntegration.js → rotateApiKey.js} +9 -9
- package/dist/useCases/rotateApiKey.js.map +1 -0
- package/dist/useCases/{updateIntegration.d.ts → updateOrganizationFeatures.d.ts} +6 -6
- package/dist/useCases/{updateAnnouncement.js → updateOrganizationFeatures.js} +8 -8
- package/dist/useCases/updateOrganizationFeatures.js.map +1 -0
- package/dist/useCases/{updatePropertySettings.d.ts → updatePropertyFeatures.d.ts} +6 -6
- package/dist/useCases/{updatePropertySettings.js → updatePropertyFeatures.js} +8 -8
- package/dist/useCases/{updatePropertySettings.js.map → updatePropertyFeatures.js.map} +1 -1
- package/dist/validate.d.ts +160 -160
- package/package.json +26 -18
- package/dist/useCases/createAnnouncement.d.ts +0 -29
- package/dist/useCases/createAnnouncement.js +0 -50
- package/dist/useCases/createAnnouncement.js.map +0 -1
- package/dist/useCases/createIntegration.d.ts +0 -29
- package/dist/useCases/createIntegration.js +0 -50
- package/dist/useCases/createIntegration.js.map +0 -1
- package/dist/useCases/deleteAnnouncement.js.map +0 -1
- package/dist/useCases/describeAnnouncement.d.ts +0 -38
- package/dist/useCases/describeAnnouncement.js +0 -50
- package/dist/useCases/describeAnnouncement.js.map +0 -1
- package/dist/useCases/describeIntegration.js +0 -50
- package/dist/useCases/describeIntegration.js.map +0 -1
- package/dist/useCases/listAnnouncements.d.ts +0 -29
- package/dist/useCases/listAnnouncements.js.map +0 -1
- package/dist/useCases/sendSMS.d.ts +0 -29
- package/dist/useCases/sendSMS.js.map +0 -1
- package/dist/useCases/updateAnnouncement.js.map +0 -1
- package/dist/useCases/updateIntegration.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"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 { 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 { AutoCloseTicketsCommand } from \"./autoCloseTickets.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 { UpdateTicketStatusCommand } from \"./updateTicketStatus.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 { DescribeIntegrationCommand } from \"./describeIntegration.js\";\nexport { CreateIntegrationCommand } from \"./createIntegration.js\";\nexport { UpdateIntegrationCommand } from \"./updateIntegration.js\";\nexport { DescribeMyOrganizationCommand } from \"./describeMyOrganization.js\";\nexport { CreateOrganizationCommand } from \"./createOrganization.js\";\nexport { UpdateOrganizationCommand } from \"./updateOrganization.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 { UpdatePropertySettingsCommand } from \"./updatePropertySettings.js\";\nexport { EmailUserAccountSetupCommand } from \"./emailUserAccountSetup.js\";\nexport { CreateImageUploadEndpointCommand } from \"./createImageUploadEndpoint.js\";\nexport { DeleteMediaFileCommand } from \"./deleteMediaFile.js\";\nexport { UploadImageCommand } from \"./uploadImage.js\";\nexport { CreateAnnouncementCommand } from \"./createAnnouncement.js\";\nexport { UpdateAnnouncementCommand } from \"./updateAnnouncement.js\";\nexport { DescribeAnnouncementCommand } from \"./describeAnnouncement.js\";\nexport { DeleteAnnouncementCommand } from \"./deleteAnnouncement.js\";\nexport { ListAnnouncementsCommand } from \"./listAnnouncements.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 { 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 { SendSMSCommand } from \"./sendSMS.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":"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","names":[]}
|
|
1
|
+
{"version":3,"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 { AutoCloseTicketsCommand } from \"./autoCloseTickets.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 { UpdateTicketStatusCommand } from \"./updateTicketStatus.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 { 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":"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","names":[]}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
interface
|
|
1
|
+
interface RevokeApiKeyCommandConfig {
|
|
2
2
|
data?: {
|
|
3
|
-
|
|
3
|
+
userId: string;
|
|
4
4
|
[key: string]: unknown;
|
|
5
5
|
} | null;
|
|
6
6
|
headers?: Record<string, string> | null;
|
|
7
7
|
query?: Record<string, unknown> | null;
|
|
8
8
|
}
|
|
9
|
-
interface
|
|
9
|
+
interface RevokeApiKeyCommandRequestConfig {
|
|
10
10
|
method: "delete";
|
|
11
11
|
url: string;
|
|
12
12
|
data: {
|
|
13
|
-
|
|
13
|
+
userId: string;
|
|
14
14
|
[key: string]: unknown;
|
|
15
15
|
} | null;
|
|
16
16
|
params: Record<string, unknown> | null;
|
|
@@ -20,19 +20,19 @@ interface DeleteAnnouncementCommandRequestConfig {
|
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
declare class
|
|
23
|
+
declare class RevokeApiKeyCommand {
|
|
24
24
|
url: string;
|
|
25
25
|
data: {
|
|
26
|
-
|
|
26
|
+
userId: string;
|
|
27
27
|
[key: string]: unknown;
|
|
28
28
|
} | null;
|
|
29
29
|
query: Record<string, unknown> | null;
|
|
30
30
|
headers: Record<string, string> | null;
|
|
31
|
-
config:
|
|
32
|
-
static params: readonly ["
|
|
31
|
+
config: RevokeApiKeyCommandRequestConfig;
|
|
32
|
+
static params: readonly ["userId"];
|
|
33
33
|
static url: string;
|
|
34
34
|
static method: "delete";
|
|
35
|
-
constructor(commandConfig:
|
|
35
|
+
constructor(commandConfig: RevokeApiKeyCommandConfig, options?: Record<string, unknown>);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { RevokeApiKeyCommand, type RevokeApiKeyCommandConfig, type RevokeApiKeyCommandRequestConfig };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
class
|
|
3
|
+
class RevokeApiKeyCommand {
|
|
4
4
|
static {
|
|
5
|
-
__name(this, "
|
|
5
|
+
__name(this, "RevokeApiKeyCommand");
|
|
6
6
|
}
|
|
7
7
|
url;
|
|
8
8
|
data;
|
|
9
9
|
query;
|
|
10
10
|
headers;
|
|
11
11
|
config;
|
|
12
|
-
static params = ["
|
|
13
|
-
static url = "/
|
|
12
|
+
static params = ["userId"];
|
|
13
|
+
static url = "/users/:userId/apiKey";
|
|
14
14
|
static method = "delete";
|
|
15
15
|
constructor(commandConfig, options = {}) {
|
|
16
|
-
const pathParams =
|
|
16
|
+
const pathParams = RevokeApiKeyCommand.params;
|
|
17
17
|
let { data, query, headers } = commandConfig ?? {};
|
|
18
18
|
if (typeof data === "undefined") data = null;
|
|
19
19
|
if (typeof query === "undefined") query = null;
|
|
20
20
|
if (typeof headers === "undefined") headers = null;
|
|
21
|
-
let url =
|
|
21
|
+
let url = RevokeApiKeyCommand.url;
|
|
22
22
|
if (pathParams && data) {
|
|
23
23
|
for (const param of pathParams) {
|
|
24
24
|
const urlParam = ":" + param;
|
|
@@ -35,7 +35,7 @@ class DeleteAnnouncementCommand {
|
|
|
35
35
|
this.query = query;
|
|
36
36
|
this.headers = headers;
|
|
37
37
|
this.config = {
|
|
38
|
-
method:
|
|
38
|
+
method: RevokeApiKeyCommand.method,
|
|
39
39
|
url,
|
|
40
40
|
data,
|
|
41
41
|
params: query,
|
|
@@ -45,6 +45,6 @@ class DeleteAnnouncementCommand {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
export {
|
|
48
|
-
|
|
48
|
+
RevokeApiKeyCommand
|
|
49
49
|
};
|
|
50
|
-
//# sourceMappingURL=
|
|
50
|
+
//# sourceMappingURL=revokeApiKey.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../.generated/useCases/revokeApiKey.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface RevokeApiKeyCommandConfig {\n data?: { userId: string; [key: string]: unknown } | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface RevokeApiKeyCommandRequestConfig {\n method: \"delete\";\n url: string;\n data: { userId: string; [key: string]: unknown } | null;\n params: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n [key: string]: unknown;\n}\n\n/**\n *\n */\nexport class RevokeApiKeyCommand {\n url: string;\n data: { userId: string; [key: string]: unknown } | null;\n query: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n config: RevokeApiKeyCommandRequestConfig;\n\n static params = [\"userId\"] as const;\n static url = \"/users/:userId/apiKey\";\n static method = \"delete\" as const;\n\n constructor(\n commandConfig: RevokeApiKeyCommandConfig,\n options: Record<string, unknown> = {},\n ) {\n const pathParams = RevokeApiKeyCommand.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 = RevokeApiKeyCommand.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: RevokeApiKeyCommand.method,\n url: url,\n data: data,\n params: query,\n headers: headers,\n ...options,\n };\n }\n}\n"],"mappings":";;AAoBO,MAAM,oBAAoB;AAAA,EApBjC,OAoBiC;AAAA;AAAA;AAAA,EAC/B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA,OAAO,SAAS,CAAC,QAAQ;AAAA,EACzB,OAAO,MAAM;AAAA,EACb,OAAO,SAAS;AAAA,EAEhB,YACE,eACA,UAAmC,CAAC,GACpC;AACA,UAAM,aAAa,oBAAoB;AAEvC,QAAI,EAAE,MAAM,OAAO,QAAQ,IAAI,iBAAiB,CAAC;AAEjD,QAAI,OAAO,SAAS,YAAa,QAAO;AACxC,QAAI,OAAO,UAAU,YAAa,SAAQ;AAC1C,QAAI,OAAO,YAAY,YAAa,WAAU;AAG9C,QAAI,MAAc,oBAAoB;AAEtC,QAAI,cAAc,MAAM;AACtB,iBAAW,SAAS,YAAY;AAC9B,cAAM,WAAW,MAAM;AACvB,cAAM,IAAI,QAAQ,UAAW,KAAgC,KAAK,CAAC;AAAA,MACrE;AAAA,IACF;AAGA,UAAM,gBAAgB,IAAI,MAAM,gBAAgB;AAChD,QAAI,eAAe;AACjB,YAAM,UAAU,cAAc,IAAI,CAAC,UAAU,MAAM,QAAQ,KAAK,EAAE,CAAC;AACnE,YAAM,IAAI,MAAM,yBAAyB,QAAQ,KAAK,IAAI,CAAC;AAAA,IAC7D;AAEA,SAAK,MAAM;AACX,SAAK,OAAO;AACZ,SAAK,QAAQ;AACb,SAAK,UAAU;AAEf,SAAK,SAAS;AAAA,MACZ,QAAQ,oBAAoB;AAAA,MAC5B;AAAA,MACA;AAAA,MACA,QAAQ;AAAA,MACR;AAAA,MACA,GAAG;AAAA,IACL;AAAA,EACF;AACF;","names":[]}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
interface
|
|
1
|
+
interface RotateApiKeyCommandConfig {
|
|
2
2
|
data?: {
|
|
3
|
-
|
|
3
|
+
userId: string;
|
|
4
4
|
[key: string]: unknown;
|
|
5
5
|
} | null;
|
|
6
6
|
headers?: Record<string, string> | null;
|
|
7
7
|
query?: Record<string, unknown> | null;
|
|
8
8
|
}
|
|
9
|
-
interface
|
|
9
|
+
interface RotateApiKeyCommandRequestConfig {
|
|
10
10
|
method: "put";
|
|
11
11
|
url: string;
|
|
12
12
|
data: {
|
|
13
|
-
|
|
13
|
+
userId: string;
|
|
14
14
|
[key: string]: unknown;
|
|
15
15
|
} | null;
|
|
16
16
|
params: Record<string, unknown> | null;
|
|
@@ -20,19 +20,19 @@ interface UpdateAnnouncementCommandRequestConfig {
|
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
declare class
|
|
23
|
+
declare class RotateApiKeyCommand {
|
|
24
24
|
url: string;
|
|
25
25
|
data: {
|
|
26
|
-
|
|
26
|
+
userId: string;
|
|
27
27
|
[key: string]: unknown;
|
|
28
28
|
} | null;
|
|
29
29
|
query: Record<string, unknown> | null;
|
|
30
30
|
headers: Record<string, string> | null;
|
|
31
|
-
config:
|
|
32
|
-
static params: readonly ["
|
|
31
|
+
config: RotateApiKeyCommandRequestConfig;
|
|
32
|
+
static params: readonly ["userId"];
|
|
33
33
|
static url: string;
|
|
34
34
|
static method: "put";
|
|
35
|
-
constructor(commandConfig:
|
|
35
|
+
constructor(commandConfig: RotateApiKeyCommandConfig, options?: Record<string, unknown>);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { RotateApiKeyCommand, type RotateApiKeyCommandConfig, type RotateApiKeyCommandRequestConfig };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
class
|
|
3
|
+
class RotateApiKeyCommand {
|
|
4
4
|
static {
|
|
5
|
-
__name(this, "
|
|
5
|
+
__name(this, "RotateApiKeyCommand");
|
|
6
6
|
}
|
|
7
7
|
url;
|
|
8
8
|
data;
|
|
9
9
|
query;
|
|
10
10
|
headers;
|
|
11
11
|
config;
|
|
12
|
-
static params = ["
|
|
13
|
-
static url = "/
|
|
12
|
+
static params = ["userId"];
|
|
13
|
+
static url = "/users/:userId/apiKey";
|
|
14
14
|
static method = "put";
|
|
15
15
|
constructor(commandConfig, options = {}) {
|
|
16
|
-
const pathParams =
|
|
16
|
+
const pathParams = RotateApiKeyCommand.params;
|
|
17
17
|
let { data, query, headers } = commandConfig ?? {};
|
|
18
18
|
if (typeof data === "undefined") data = null;
|
|
19
19
|
if (typeof query === "undefined") query = null;
|
|
20
20
|
if (typeof headers === "undefined") headers = null;
|
|
21
|
-
let url =
|
|
21
|
+
let url = RotateApiKeyCommand.url;
|
|
22
22
|
if (pathParams && data) {
|
|
23
23
|
for (const param of pathParams) {
|
|
24
24
|
const urlParam = ":" + param;
|
|
@@ -35,7 +35,7 @@ class UpdateIntegrationCommand {
|
|
|
35
35
|
this.query = query;
|
|
36
36
|
this.headers = headers;
|
|
37
37
|
this.config = {
|
|
38
|
-
method:
|
|
38
|
+
method: RotateApiKeyCommand.method,
|
|
39
39
|
url,
|
|
40
40
|
data,
|
|
41
41
|
params: query,
|
|
@@ -45,6 +45,6 @@ class UpdateIntegrationCommand {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
export {
|
|
48
|
-
|
|
48
|
+
RotateApiKeyCommand
|
|
49
49
|
};
|
|
50
|
-
//# sourceMappingURL=
|
|
50
|
+
//# sourceMappingURL=rotateApiKey.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../.generated/useCases/rotateApiKey.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface RotateApiKeyCommandConfig {\n data?: { userId: string; [key: string]: unknown } | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface RotateApiKeyCommandRequestConfig {\n method: \"put\";\n url: string;\n data: { userId: string; [key: string]: unknown } | null;\n params: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n [key: string]: unknown;\n}\n\n/**\n *\n */\nexport class RotateApiKeyCommand {\n url: string;\n data: { userId: string; [key: string]: unknown } | null;\n query: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n config: RotateApiKeyCommandRequestConfig;\n\n static params = [\"userId\"] as const;\n static url = \"/users/:userId/apiKey\";\n static method = \"put\" as const;\n\n constructor(\n commandConfig: RotateApiKeyCommandConfig,\n options: Record<string, unknown> = {},\n ) {\n const pathParams = RotateApiKeyCommand.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 = RotateApiKeyCommand.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: RotateApiKeyCommand.method,\n url: url,\n data: data,\n params: query,\n headers: headers,\n ...options,\n };\n }\n}\n"],"mappings":";;AAoBO,MAAM,oBAAoB;AAAA,EApBjC,OAoBiC;AAAA;AAAA;AAAA,EAC/B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA,OAAO,SAAS,CAAC,QAAQ;AAAA,EACzB,OAAO,MAAM;AAAA,EACb,OAAO,SAAS;AAAA,EAEhB,YACE,eACA,UAAmC,CAAC,GACpC;AACA,UAAM,aAAa,oBAAoB;AAEvC,QAAI,EAAE,MAAM,OAAO,QAAQ,IAAI,iBAAiB,CAAC;AAEjD,QAAI,OAAO,SAAS,YAAa,QAAO;AACxC,QAAI,OAAO,UAAU,YAAa,SAAQ;AAC1C,QAAI,OAAO,YAAY,YAAa,WAAU;AAG9C,QAAI,MAAc,oBAAoB;AAEtC,QAAI,cAAc,MAAM;AACtB,iBAAW,SAAS,YAAY;AAC9B,cAAM,WAAW,MAAM;AACvB,cAAM,IAAI,QAAQ,UAAW,KAAgC,KAAK,CAAC;AAAA,MACrE;AAAA,IACF;AAGA,UAAM,gBAAgB,IAAI,MAAM,gBAAgB;AAChD,QAAI,eAAe;AACjB,YAAM,UAAU,cAAc,IAAI,CAAC,UAAU,MAAM,QAAQ,KAAK,EAAE,CAAC;AACnE,YAAM,IAAI,MAAM,yBAAyB,QAAQ,KAAK,IAAI,CAAC;AAAA,IAC7D;AAEA,SAAK,MAAM;AACX,SAAK,OAAO;AACZ,SAAK,QAAQ;AACb,SAAK,UAAU;AAEf,SAAK,SAAS;AAAA,MACZ,QAAQ,oBAAoB;AAAA,MAC5B;AAAA,MACA;AAAA,MACA,QAAQ;AAAA,MACR;AAAA,MACA,GAAG;AAAA,IACL;AAAA,EACF;AACF;","names":[]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface
|
|
1
|
+
interface UpdateOrganizationFeaturesCommandConfig {
|
|
2
2
|
data?: {
|
|
3
3
|
id: string;
|
|
4
4
|
[key: string]: unknown;
|
|
@@ -6,7 +6,7 @@ interface UpdateIntegrationCommandConfig {
|
|
|
6
6
|
headers?: Record<string, string> | null;
|
|
7
7
|
query?: Record<string, unknown> | null;
|
|
8
8
|
}
|
|
9
|
-
interface
|
|
9
|
+
interface UpdateOrganizationFeaturesCommandRequestConfig {
|
|
10
10
|
method: "put";
|
|
11
11
|
url: string;
|
|
12
12
|
data: {
|
|
@@ -20,7 +20,7 @@ interface UpdateIntegrationCommandRequestConfig {
|
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
declare class
|
|
23
|
+
declare class UpdateOrganizationFeaturesCommand {
|
|
24
24
|
url: string;
|
|
25
25
|
data: {
|
|
26
26
|
id: string;
|
|
@@ -28,11 +28,11 @@ declare class UpdateIntegrationCommand {
|
|
|
28
28
|
} | null;
|
|
29
29
|
query: Record<string, unknown> | null;
|
|
30
30
|
headers: Record<string, string> | null;
|
|
31
|
-
config:
|
|
31
|
+
config: UpdateOrganizationFeaturesCommandRequestConfig;
|
|
32
32
|
static params: readonly ["id"];
|
|
33
33
|
static url: string;
|
|
34
34
|
static method: "put";
|
|
35
|
-
constructor(commandConfig:
|
|
35
|
+
constructor(commandConfig: UpdateOrganizationFeaturesCommandConfig, options?: Record<string, unknown>);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { UpdateOrganizationFeaturesCommand, type UpdateOrganizationFeaturesCommandConfig, type UpdateOrganizationFeaturesCommandRequestConfig };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
class
|
|
3
|
+
class UpdateOrganizationFeaturesCommand {
|
|
4
4
|
static {
|
|
5
|
-
__name(this, "
|
|
5
|
+
__name(this, "UpdateOrganizationFeaturesCommand");
|
|
6
6
|
}
|
|
7
7
|
url;
|
|
8
8
|
data;
|
|
@@ -10,15 +10,15 @@ class UpdateAnnouncementCommand {
|
|
|
10
10
|
headers;
|
|
11
11
|
config;
|
|
12
12
|
static params = ["id"];
|
|
13
|
-
static url = "/
|
|
13
|
+
static url = "/organizations/:id/features";
|
|
14
14
|
static method = "put";
|
|
15
15
|
constructor(commandConfig, options = {}) {
|
|
16
|
-
const pathParams =
|
|
16
|
+
const pathParams = UpdateOrganizationFeaturesCommand.params;
|
|
17
17
|
let { data, query, headers } = commandConfig ?? {};
|
|
18
18
|
if (typeof data === "undefined") data = null;
|
|
19
19
|
if (typeof query === "undefined") query = null;
|
|
20
20
|
if (typeof headers === "undefined") headers = null;
|
|
21
|
-
let url =
|
|
21
|
+
let url = UpdateOrganizationFeaturesCommand.url;
|
|
22
22
|
if (pathParams && data) {
|
|
23
23
|
for (const param of pathParams) {
|
|
24
24
|
const urlParam = ":" + param;
|
|
@@ -35,7 +35,7 @@ class UpdateAnnouncementCommand {
|
|
|
35
35
|
this.query = query;
|
|
36
36
|
this.headers = headers;
|
|
37
37
|
this.config = {
|
|
38
|
-
method:
|
|
38
|
+
method: UpdateOrganizationFeaturesCommand.method,
|
|
39
39
|
url,
|
|
40
40
|
data,
|
|
41
41
|
params: query,
|
|
@@ -45,6 +45,6 @@ class UpdateAnnouncementCommand {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
export {
|
|
48
|
-
|
|
48
|
+
UpdateOrganizationFeaturesCommand
|
|
49
49
|
};
|
|
50
|
-
//# sourceMappingURL=
|
|
50
|
+
//# sourceMappingURL=updateOrganizationFeatures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../.generated/useCases/updateOrganizationFeatures.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface UpdateOrganizationFeaturesCommandConfig {\n data?: { id: string; [key: string]: unknown } | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface UpdateOrganizationFeaturesCommandRequestConfig {\n method: \"put\";\n url: string;\n data: { id: string; [key: string]: unknown } | null;\n params: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n [key: string]: unknown;\n}\n\n/**\n *\n */\nexport class UpdateOrganizationFeaturesCommand {\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: UpdateOrganizationFeaturesCommandRequestConfig;\n\n static params = [\"id\"] as const;\n static url = \"/organizations/:id/features\";\n static method = \"put\" as const;\n\n constructor(\n commandConfig: UpdateOrganizationFeaturesCommandConfig,\n options: Record<string, unknown> = {},\n ) {\n const pathParams = UpdateOrganizationFeaturesCommand.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 = UpdateOrganizationFeaturesCommand.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: UpdateOrganizationFeaturesCommand.method,\n url: url,\n data: data,\n params: query,\n headers: headers,\n ...options,\n };\n }\n}\n"],"mappings":";;AAoBO,MAAM,kCAAkC;AAAA,EApB/C,OAoB+C;AAAA;AAAA;AAAA,EAC7C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA,OAAO,SAAS,CAAC,IAAI;AAAA,EACrB,OAAO,MAAM;AAAA,EACb,OAAO,SAAS;AAAA,EAEhB,YACE,eACA,UAAmC,CAAC,GACpC;AACA,UAAM,aAAa,kCAAkC;AAErD,QAAI,EAAE,MAAM,OAAO,QAAQ,IAAI,iBAAiB,CAAC;AAEjD,QAAI,OAAO,SAAS,YAAa,QAAO;AACxC,QAAI,OAAO,UAAU,YAAa,SAAQ;AAC1C,QAAI,OAAO,YAAY,YAAa,WAAU;AAG9C,QAAI,MAAc,kCAAkC;AAEpD,QAAI,cAAc,MAAM;AACtB,iBAAW,SAAS,YAAY;AAC9B,cAAM,WAAW,MAAM;AACvB,cAAM,IAAI,QAAQ,UAAW,KAAgC,KAAK,CAAC;AAAA,MACrE;AAAA,IACF;AAGA,UAAM,gBAAgB,IAAI,MAAM,gBAAgB;AAChD,QAAI,eAAe;AACjB,YAAM,UAAU,cAAc,IAAI,CAAC,UAAU,MAAM,QAAQ,KAAK,EAAE,CAAC;AACnE,YAAM,IAAI,MAAM,yBAAyB,QAAQ,KAAK,IAAI,CAAC;AAAA,IAC7D;AAEA,SAAK,MAAM;AACX,SAAK,OAAO;AACZ,SAAK,QAAQ;AACb,SAAK,UAAU;AAEf,SAAK,SAAS;AAAA,MACZ,QAAQ,kCAAkC;AAAA,MAC1C;AAAA,MACA;AAAA,MACA,QAAQ;AAAA,MACR;AAAA,MACA,GAAG;AAAA,IACL;AAAA,EACF;AACF;","names":[]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface
|
|
1
|
+
interface UpdatePropertyFeaturesCommandConfig {
|
|
2
2
|
data?: {
|
|
3
3
|
id: string;
|
|
4
4
|
[key: string]: unknown;
|
|
@@ -6,7 +6,7 @@ interface UpdatePropertySettingsCommandConfig {
|
|
|
6
6
|
headers?: Record<string, string> | null;
|
|
7
7
|
query?: Record<string, unknown> | null;
|
|
8
8
|
}
|
|
9
|
-
interface
|
|
9
|
+
interface UpdatePropertyFeaturesCommandRequestConfig {
|
|
10
10
|
method: "put";
|
|
11
11
|
url: string;
|
|
12
12
|
data: {
|
|
@@ -20,7 +20,7 @@ interface UpdatePropertySettingsCommandRequestConfig {
|
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
declare class
|
|
23
|
+
declare class UpdatePropertyFeaturesCommand {
|
|
24
24
|
url: string;
|
|
25
25
|
data: {
|
|
26
26
|
id: string;
|
|
@@ -28,11 +28,11 @@ declare class UpdatePropertySettingsCommand {
|
|
|
28
28
|
} | null;
|
|
29
29
|
query: Record<string, unknown> | null;
|
|
30
30
|
headers: Record<string, string> | null;
|
|
31
|
-
config:
|
|
31
|
+
config: UpdatePropertyFeaturesCommandRequestConfig;
|
|
32
32
|
static params: readonly ["id"];
|
|
33
33
|
static url: string;
|
|
34
34
|
static method: "put";
|
|
35
|
-
constructor(commandConfig:
|
|
35
|
+
constructor(commandConfig: UpdatePropertyFeaturesCommandConfig, options?: Record<string, unknown>);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { UpdatePropertyFeaturesCommand, type UpdatePropertyFeaturesCommandConfig, type UpdatePropertyFeaturesCommandRequestConfig };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
class
|
|
3
|
+
class UpdatePropertyFeaturesCommand {
|
|
4
4
|
static {
|
|
5
|
-
__name(this, "
|
|
5
|
+
__name(this, "UpdatePropertyFeaturesCommand");
|
|
6
6
|
}
|
|
7
7
|
url;
|
|
8
8
|
data;
|
|
@@ -10,15 +10,15 @@ class UpdatePropertySettingsCommand {
|
|
|
10
10
|
headers;
|
|
11
11
|
config;
|
|
12
12
|
static params = ["id"];
|
|
13
|
-
static url = "/properties/:id/
|
|
13
|
+
static url = "/properties/:id/features";
|
|
14
14
|
static method = "put";
|
|
15
15
|
constructor(commandConfig, options = {}) {
|
|
16
|
-
const pathParams =
|
|
16
|
+
const pathParams = UpdatePropertyFeaturesCommand.params;
|
|
17
17
|
let { data, query, headers } = commandConfig ?? {};
|
|
18
18
|
if (typeof data === "undefined") data = null;
|
|
19
19
|
if (typeof query === "undefined") query = null;
|
|
20
20
|
if (typeof headers === "undefined") headers = null;
|
|
21
|
-
let url =
|
|
21
|
+
let url = UpdatePropertyFeaturesCommand.url;
|
|
22
22
|
if (pathParams && data) {
|
|
23
23
|
for (const param of pathParams) {
|
|
24
24
|
const urlParam = ":" + param;
|
|
@@ -35,7 +35,7 @@ class UpdatePropertySettingsCommand {
|
|
|
35
35
|
this.query = query;
|
|
36
36
|
this.headers = headers;
|
|
37
37
|
this.config = {
|
|
38
|
-
method:
|
|
38
|
+
method: UpdatePropertyFeaturesCommand.method,
|
|
39
39
|
url,
|
|
40
40
|
data,
|
|
41
41
|
params: query,
|
|
@@ -45,6 +45,6 @@ class UpdatePropertySettingsCommand {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
export {
|
|
48
|
-
|
|
48
|
+
UpdatePropertyFeaturesCommand
|
|
49
49
|
};
|
|
50
|
-
//# sourceMappingURL=
|
|
50
|
+
//# sourceMappingURL=updatePropertyFeatures.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../.generated/useCases/
|
|
1
|
+
{"version":3,"sources":["../../.generated/useCases/updatePropertyFeatures.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface UpdatePropertyFeaturesCommandConfig {\n data?: { id: string; [key: string]: unknown } | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface UpdatePropertyFeaturesCommandRequestConfig {\n method: \"put\";\n url: string;\n data: { id: string; [key: string]: unknown } | null;\n params: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n [key: string]: unknown;\n}\n\n/**\n *\n */\nexport class UpdatePropertyFeaturesCommand {\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: UpdatePropertyFeaturesCommandRequestConfig;\n\n static params = [\"id\"] as const;\n static url = \"/properties/:id/features\";\n static method = \"put\" as const;\n\n constructor(\n commandConfig: UpdatePropertyFeaturesCommandConfig,\n options: Record<string, unknown> = {},\n ) {\n const pathParams = UpdatePropertyFeaturesCommand.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 = UpdatePropertyFeaturesCommand.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: UpdatePropertyFeaturesCommand.method,\n url: url,\n data: data,\n params: query,\n headers: headers,\n ...options,\n };\n }\n}\n"],"mappings":";;AAoBO,MAAM,8BAA8B;AAAA,EApB3C,OAoB2C;AAAA;AAAA;AAAA,EACzC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA,OAAO,SAAS,CAAC,IAAI;AAAA,EACrB,OAAO,MAAM;AAAA,EACb,OAAO,SAAS;AAAA,EAEhB,YACE,eACA,UAAmC,CAAC,GACpC;AACA,UAAM,aAAa,8BAA8B;AAEjD,QAAI,EAAE,MAAM,OAAO,QAAQ,IAAI,iBAAiB,CAAC;AAEjD,QAAI,OAAO,SAAS,YAAa,QAAO;AACxC,QAAI,OAAO,UAAU,YAAa,SAAQ;AAC1C,QAAI,OAAO,YAAY,YAAa,WAAU;AAG9C,QAAI,MAAc,8BAA8B;AAEhD,QAAI,cAAc,MAAM;AACtB,iBAAW,SAAS,YAAY;AAC9B,cAAM,WAAW,MAAM;AACvB,cAAM,IAAI,QAAQ,UAAW,KAAgC,KAAK,CAAC;AAAA,MACrE;AAAA,IACF;AAGA,UAAM,gBAAgB,IAAI,MAAM,gBAAgB;AAChD,QAAI,eAAe;AACjB,YAAM,UAAU,cAAc,IAAI,CAAC,UAAU,MAAM,QAAQ,KAAK,EAAE,CAAC;AACnE,YAAM,IAAI,MAAM,yBAAyB,QAAQ,KAAK,IAAI,CAAC;AAAA,IAC7D;AAEA,SAAK,MAAM;AACX,SAAK,OAAO;AACZ,SAAK,QAAQ;AACb,SAAK,UAAU;AAEf,SAAK,SAAS;AAAA,MACZ,QAAQ,8BAA8B;AAAA,MACtC;AAAA,MACA;AAAA,MACA,QAAQ;AAAA,MACR;AAAA,MACA,GAAG;AAAA,IACL;AAAA,EACF;AACF;","names":[]}
|