@trakit/commands 0.0.5 → 0.0.6
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/LICENSE +661 -0
- package/README.md +25 -0
- package/_publish/API/Requests/IPayDeletable.d.ts +9 -0
- package/_publish/API/Requests/IPayListByAsset.d.ts +10 -0
- package/_publish/API/Requests/IPayListByBillingProfile.d.ts +10 -0
- package/_publish/API/Requests/IPayListByCompany.d.ts +10 -0
- package/_publish/API/Requests/IPayListByLabels.d.ts +10 -0
- package/_publish/API/Requests/IPayListByReferences.d.ts +9 -0
- package/_publish/API/Requests/IPayListByUser.d.ts +10 -0
- package/_publish/API/Requests/IPaySingle.d.ts +9 -0
- package/_publish/API/Requests/IPaySuspendable.d.ts +9 -0
- package/_publish/API/Requests/Parameters/IParamAsset.d.ts +8 -0
- package/_publish/API/Requests/Parameters/IParamBillingProfile.d.ts +8 -0
- package/_publish/API/Requests/Parameters/IParamCompany.d.ts +8 -0
- package/_publish/API/Requests/Parameters/ParamCode.d.ts +12 -0
- package/_publish/API/Requests/Parameters/ParamGuid.d.ts +11 -0
- package/_publish/API/Requests/Parameters/ParamId.d.ts +11 -0
- package/_publish/API/Requests/Parameters/ParamIdentifier.d.ts +11 -0
- package/_publish/API/Requests/Parameters/ParamKey.d.ts +11 -0
- package/_publish/API/Requests/Parameters/ParamLogin.d.ts +12 -0
- package/_publish/API/Requests/Parameters/ParamMergeSubscribable.d.ts +12 -0
- package/_publish/API/Requests/PayListBy.d.ts +14 -0
- package/_publish/API/Requests/PayListByDate.d.ts +17 -0
- package/_publish/API/Requests/PayListById.d.ts +17 -0
- package/_publish/API/Requests/PayListByKey.d.ts +17 -0
- package/_publish/API/Requests/Payload.d.ts +44 -0
- package/_publish/API/Responses/Content/ContentCode.d.ts +20 -0
- package/_publish/API/Responses/Content/ContentCodeCompany.d.ts +23 -0
- package/_publish/API/Responses/Content/ContentCodeDeleted.d.ts +23 -0
- package/_publish/API/Responses/Content/ContentId.d.ts +20 -0
- package/_publish/API/Responses/Content/ContentIdAsset.d.ts +22 -0
- package/_publish/API/Responses/Content/ContentIdBillingProfile.d.ts +22 -0
- package/_publish/API/Responses/Content/ContentIdCompany.d.ts +23 -0
- package/_publish/API/Responses/Content/ContentIdCompanyTemplate.d.ts +22 -0
- package/_publish/API/Responses/Content/ContentIdDeleted.d.ts +27 -0
- package/_publish/API/Responses/Content/ContentIdParent.d.ts +23 -0
- package/_publish/API/Responses/Content/ContentIdParentDeleted.d.ts +27 -0
- package/_publish/API/Responses/Content/ContentIdScript.d.ts +22 -0
- package/_publish/API/Responses/Content/ContentIdSuspended.d.ts +27 -0
- package/_publish/API/Responses/Content/ContentIdendifier.d.ts +20 -0
- package/_publish/API/Responses/Content/ContentIdendifierAsset.d.ts +26 -0
- package/_publish/API/Responses/Content/ContentIdendifierCompany.d.ts +23 -0
- package/_publish/API/Responses/Content/ContentIdendifierDeleted.d.ts +27 -0
- package/_publish/API/Responses/Content/ContentIdendifierSuspended.d.ts +28 -0
- package/_publish/API/Responses/Content/ContentKey.d.ts +20 -0
- package/_publish/API/Responses/Content/ContentKeyCompany.d.ts +23 -0
- package/_publish/API/Responses/Content/ContentKeyDeleted.d.ts +27 -0
- package/_publish/API/Responses/Content/ContentLogin.d.ts +20 -0
- package/_publish/API/Responses/Content/ContentLoginCompany.d.ts +23 -0
- package/_publish/API/Responses/Content/ContentLoginDeleted.d.ts +27 -0
- package/_publish/API/Responses/Content/IContent.d.ts +10 -0
- package/_publish/API/Responses/Content/IContentCompany.d.ts +11 -0
- package/_publish/API/Responses/Errors/ErrorCode.d.ts +529 -0
- package/_publish/API/Responses/Errors/ErrorDetail.d.ts +24 -0
- package/_publish/API/Responses/Errors/ErrorDetailBadBase.d.ts +13 -0
- package/_publish/API/Responses/Errors/ErrorDetailBadIds.d.ts +11 -0
- package/_publish/API/Responses/Errors/ErrorDetailBadIndexes.d.ts +11 -0
- package/_publish/API/Responses/Errors/ErrorDetailBadKeys.d.ts +10 -0
- package/_publish/API/Responses/Errors/ErrorDetailBatch.d.ts +16 -0
- package/_publish/API/Responses/Errors/ErrorDetailConnection.d.ts +35 -0
- package/_publish/API/Responses/Errors/ErrorDetailContactInUse.d.ts +12 -0
- package/_publish/API/Responses/Errors/ErrorDetailCount.d.ts +15 -0
- package/_publish/API/Responses/Errors/ErrorDetailEnum.d.ts +15 -0
- package/_publish/API/Responses/Errors/ErrorDetailEscalation.d.ts +15 -0
- package/_publish/API/Responses/Errors/ErrorDetailExternals.d.ts +23 -0
- package/_publish/API/Responses/Errors/ErrorDetailFormTemplateInUse.d.ts +15 -0
- package/_publish/API/Responses/Errors/ErrorDetailInput.d.ts +15 -0
- package/_publish/API/Responses/Errors/ErrorDetailLocked.d.ts +19 -0
- package/_publish/API/Responses/Errors/ErrorDetailMinMax.d.ts +19 -0
- package/_publish/API/Responses/Errors/ErrorDetailParent.d.ts +19 -0
- package/_publish/API/Responses/Errors/ErrorDetailParse.d.ts +23 -0
- package/_publish/API/Responses/Errors/ErrorDetailPhone.d.ts +19 -0
- package/_publish/API/Responses/Errors/ErrorDetailSecret.d.ts +54 -0
- package/_publish/API/Responses/Errors/ErrorDetailStack.d.ts +26 -0
- package/_publish/API/Responses/Errors/ErrorDetailThrottled.d.ts +37 -0
- package/_publish/API/Responses/Errors/ErrorDetailType.d.ts +89 -0
- package/_publish/API/Responses/Errors/ErrorDetailUserGroupInUse.d.ts +19 -0
- package/_publish/API/Responses/IRepListByAsset.d.ts +11 -0
- package/_publish/API/Responses/IRepListByCompany.d.ts +11 -0
- package/_publish/API/Responses/IRepListByDate.d.ts +14 -0
- package/_publish/API/Responses/IRepListById.d.ts +14 -0
- package/_publish/API/Responses/IRepListByKey.d.ts +14 -0
- package/_publish/API/Responses/IRepListByLabels.d.ts +10 -0
- package/_publish/API/Responses/IRepListByReferences.d.ts +10 -0
- package/_publish/API/Responses/IRepListByUser.d.ts +11 -0
- package/_publish/API/Responses/Reply.d.ts +29 -0
- package/_publish/API/Responses/ReplySync.d.ts +23 -0
- package/_publish/API/Responses/ReplySyncBatch.d.ts +17 -0
- package/_publish/API/Responses/ReplySyncBatchDelete.d.ts +11 -0
- package/_publish/API/Responses/ReplySyncBatchSuspend.d.ts +11 -0
- package/_publish/API/Responses/ReplySyncDelete.d.ts +16 -0
- package/_publish/API/Responses/ReplySyncGet.d.ts +34 -0
- package/_publish/API/Responses/ReplySyncList.d.ts +52 -0
- package/_publish/Accounts/Contacts/Requests/Parameters/ParamContactMerge.d.ts +19 -0
- package/_publish/Accounts/Contacts/Requests/PayContact.d.ts +18 -0
- package/_publish/Accounts/Contacts/Requests/PayContactBatchDelete.d.ts +15 -0
- package/_publish/Accounts/Contacts/Requests/PayContactBatchMerge.d.ts +15 -0
- package/_publish/Accounts/Contacts/Requests/PayContactDelete.d.ts +9 -0
- package/_publish/Accounts/Contacts/Requests/PayContactGet.d.ts +15 -0
- package/_publish/Accounts/Contacts/Requests/PayContactList.d.ts +27 -0
- package/_publish/Accounts/Contacts/Requests/PayContactMerge.d.ts +20 -0
- package/_publish/Accounts/Contacts/Requests/PayContactRestore.d.ts +9 -0
- package/_publish/Accounts/Contacts/Responses/RepContactBatchDelete.d.ts +16 -0
- package/_publish/Accounts/Contacts/Responses/RepContactBatchMerge.d.ts +13 -0
- package/_publish/Accounts/Contacts/Responses/RepContactDelete.d.ts +15 -0
- package/_publish/Accounts/Contacts/Responses/RepContactGet.d.ts +14 -0
- package/_publish/Accounts/Contacts/Responses/RepContactList.d.ts +26 -0
- package/_publish/Accounts/Contacts/Responses/RepContactMerge.d.ts +13 -0
- package/_publish/Accounts/Groups/Requests/Parameters/ParamUserGroupMerge.d.ts +31 -0
- package/_publish/Accounts/Groups/Requests/PayUserGroup.d.ts +18 -0
- package/_publish/Accounts/Groups/Requests/PayUserGroupBatchDelete.d.ts +15 -0
- package/_publish/Accounts/Groups/Requests/PayUserGroupBatchMerge.d.ts +15 -0
- package/_publish/Accounts/Groups/Requests/PayUserGroupDelete.d.ts +9 -0
- package/_publish/Accounts/Groups/Requests/PayUserGroupGet.d.ts +15 -0
- package/_publish/Accounts/Groups/Requests/PayUserGroupList.d.ts +27 -0
- package/_publish/Accounts/Groups/Requests/PayUserGroupMerge.d.ts +20 -0
- package/_publish/Accounts/Groups/Requests/PayUserGroupRestore.d.ts +9 -0
- package/_publish/Accounts/Groups/Responses/RepUserGroupBatchDelete.d.ts +16 -0
- package/_publish/Accounts/Groups/Responses/RepUserGroupBatchMerge.d.ts +13 -0
- package/_publish/Accounts/Groups/Responses/RepUserGroupDelete.d.ts +15 -0
- package/_publish/Accounts/Groups/Responses/RepUserGroupGet.d.ts +14 -0
- package/_publish/Accounts/Groups/Responses/RepUserGroupList.d.ts +26 -0
- package/_publish/Accounts/Groups/Responses/RepUserGroupMerge.d.ts +13 -0
- package/_publish/Accounts/Machines/Requests/Parameters/ParamMachineMerge.d.ts +112 -0
- package/_publish/Accounts/Machines/Requests/PayMachine.d.ts +18 -0
- package/_publish/Accounts/Machines/Requests/PayMachineBatchDelete.d.ts +15 -0
- package/_publish/Accounts/Machines/Requests/PayMachineBatchMerge.d.ts +15 -0
- package/_publish/Accounts/Machines/Requests/PayMachineDelete.d.ts +9 -0
- package/_publish/Accounts/Machines/Requests/PayMachineGet.d.ts +15 -0
- package/_publish/Accounts/Machines/Requests/PayMachineList.d.ts +27 -0
- package/_publish/Accounts/Machines/Requests/PayMachineMerge.d.ts +20 -0
- package/_publish/Accounts/Machines/Requests/PayMachineRestore.d.ts +9 -0
- package/_publish/Accounts/Machines/Responses/RepMachineBatchDelete.d.ts +16 -0
- package/_publish/Accounts/Machines/Responses/RepMachineBatchMerge.d.ts +13 -0
- package/_publish/Accounts/Machines/Responses/RepMachineDelete.d.ts +15 -0
- package/_publish/Accounts/Machines/Responses/RepMachineGet.d.ts +14 -0
- package/_publish/Accounts/Machines/Responses/RepMachineList.d.ts +39 -0
- package/_publish/Accounts/Machines/Responses/RepMachineMerge.d.ts +13 -0
- package/_publish/Accounts/Permissions/ParamPermission.d.ts +39 -0
- package/_publish/Accounts/Self/Requests/Parameters/ParamSelfContactMerge.d.ts +66 -0
- package/_publish/Accounts/Self/Requests/PaySelfContact.d.ts +22 -0
- package/_publish/Accounts/Self/Requests/PaySelfGet.d.ts +15 -0
- package/_publish/Accounts/Self/Requests/PaySelfLogin.d.ts +30 -0
- package/_publish/Accounts/Self/Requests/PaySelfLogout.d.ts +15 -0
- package/_publish/Accounts/Self/Requests/PaySelfPassword.d.ts +25 -0
- package/_publish/Accounts/Self/Requests/PaySelfPreferences.d.ts +46 -0
- package/_publish/Accounts/Self/Responses/RepSelfContact.d.ts +6 -0
- package/_publish/Accounts/Self/Responses/RepSelfGet.d.ts +47 -0
- package/_publish/Accounts/Self/Responses/RepSelfLogout.d.ts +16 -0
- package/_publish/Accounts/Self/Responses/RepSelfPassword.d.ts +16 -0
- package/_publish/Accounts/Self/Responses/RepSelfPreferences.d.ts +6 -0
- package/_publish/Accounts/Sessions/Requests/Parameters/ParamHandle.d.ts +11 -0
- package/_publish/Accounts/Sessions/Requests/PaySessionDelete.d.ts +9 -0
- package/_publish/Accounts/Sessions/Requests/PaySessionGet.d.ts +15 -0
- package/_publish/Accounts/Sessions/Requests/PaySessionList.d.ts +29 -0
- package/_publish/Accounts/Sessions/Responses/Content/SessionHandle.d.ts +25 -0
- package/_publish/Accounts/Sessions/Responses/RepSessionDelete.d.ts +15 -0
- package/_publish/Accounts/Sessions/Responses/RepSessionGet.d.ts +14 -0
- package/_publish/Accounts/Sessions/Responses/RepSessionList.d.ts +39 -0
- package/_publish/Accounts/Users/Requests/Parameters/ParamUserMerge.d.ts +74 -0
- package/_publish/Accounts/Users/Requests/PayUser.d.ts +18 -0
- package/_publish/Accounts/Users/Requests/PayUserAdvancedGet.d.ts +15 -0
- package/_publish/Accounts/Users/Requests/PayUserAdvancedList.d.ts +38 -0
- package/_publish/Accounts/Users/Requests/PayUserBatchDelete.d.ts +15 -0
- package/_publish/Accounts/Users/Requests/PayUserBatchMerge.d.ts +15 -0
- package/_publish/Accounts/Users/Requests/PayUserDelete.d.ts +9 -0
- package/_publish/Accounts/Users/Requests/PayUserGeneralGet.d.ts +15 -0
- package/_publish/Accounts/Users/Requests/PayUserGeneralList.d.ts +38 -0
- package/_publish/Accounts/Users/Requests/PayUserGet.d.ts +15 -0
- package/_publish/Accounts/Users/Requests/PayUserList.d.ts +38 -0
- package/_publish/Accounts/Users/Requests/PayUserMerge.d.ts +20 -0
- package/_publish/Accounts/Users/Requests/PayUserRestore.d.ts +9 -0
- package/_publish/Accounts/Users/Responses/RepUserAdvancedGet.d.ts +15 -0
- package/_publish/Accounts/Users/Responses/RepUserAdvancedList.d.ts +39 -0
- package/_publish/Accounts/Users/Responses/RepUserBatchDelete.d.ts +16 -0
- package/_publish/Accounts/Users/Responses/RepUserBatchMerge.d.ts +13 -0
- package/_publish/Accounts/Users/Responses/RepUserDelete.d.ts +15 -0
- package/_publish/Accounts/Users/Responses/RepUserGeneralGet.d.ts +15 -0
- package/_publish/Accounts/Users/Responses/RepUserGeneralList.d.ts +39 -0
- package/_publish/Accounts/Users/Responses/RepUserGet.d.ts +15 -0
- package/_publish/Accounts/Users/Responses/RepUserList.d.ts +39 -0
- package/_publish/Accounts/Users/Responses/RepUserMerge.d.ts +13 -0
- package/_publish/Assets/Requests/Parameters/ParamAssetDispatchMerge.d.ts +26 -0
- package/_publish/Assets/Requests/Parameters/ParamAssetMerge.d.ts +143 -0
- package/_publish/Assets/Requests/PayAsset.d.ts +18 -0
- package/_publish/Assets/Requests/PayAssetAdvancedGet.d.ts +16 -0
- package/_publish/Assets/Requests/PayAssetAdvancedList.d.ts +68 -0
- package/_publish/Assets/Requests/PayAssetBatchDelete.d.ts +16 -0
- package/_publish/Assets/Requests/PayAssetBatchMerge.d.ts +15 -0
- package/_publish/Assets/Requests/PayAssetDelete.d.ts +9 -0
- package/_publish/Assets/Requests/PayAssetDispatchGet.d.ts +23 -0
- package/_publish/Assets/Requests/PayAssetDispatchList.d.ts +68 -0
- package/_publish/Assets/Requests/PayAssetDispatchMerge.d.ts +15 -0
- package/_publish/Assets/Requests/PayAssetGeneralGet.d.ts +23 -0
- package/_publish/Assets/Requests/PayAssetGeneralList.d.ts +68 -0
- package/_publish/Assets/Requests/PayAssetGet.d.ts +23 -0
- package/_publish/Assets/Requests/PayAssetList.d.ts +68 -0
- package/_publish/Assets/Requests/PayAssetMerge.d.ts +15 -0
- package/_publish/Assets/Requests/PayAssetReactivate.d.ts +9 -0
- package/_publish/Assets/Requests/PayAssetRestore.d.ts +9 -0
- package/_publish/Assets/Requests/PayAssetSuspend.d.ts +9 -0
- package/_publish/Assets/Responses/RepAssetAdvancedGet.d.ts +15 -0
- package/_publish/Assets/Responses/RepAssetAdvancedList.d.ts +51 -0
- package/_publish/Assets/Responses/RepAssetBatchDelete.d.ts +16 -0
- package/_publish/Assets/Responses/RepAssetBatchMerge.d.ts +13 -0
- package/_publish/Assets/Responses/RepAssetDelete.d.ts +15 -0
- package/_publish/Assets/Responses/RepAssetDispatchGet.d.ts +15 -0
- package/_publish/Assets/Responses/RepAssetDispatchList.d.ts +51 -0
- package/_publish/Assets/Responses/RepAssetDispatchMerge.d.ts +13 -0
- package/_publish/Assets/Responses/RepAssetGeneralGet.d.ts +15 -0
- package/_publish/Assets/Responses/RepAssetGeneralList.d.ts +51 -0
- package/_publish/Assets/Responses/RepAssetGet.d.ts +14 -0
- package/_publish/Assets/Responses/RepAssetList.d.ts +50 -0
- package/_publish/Assets/Responses/RepAssetMerge.d.ts +13 -0
- package/_publish/Assets/Responses/RepAssetSuspend.d.ts +15 -0
- package/_publish/Behaviours/Behaviours/Requests/Parameters/ParamBehaviourMerge.d.ts +47 -0
- package/_publish/Behaviours/Behaviours/Requests/PayBehaviour.d.ts +18 -0
- package/_publish/Behaviours/Behaviours/Requests/PayBehaviourBatchDelete.d.ts +15 -0
- package/_publish/Behaviours/Behaviours/Requests/PayBehaviourBatchMerge.d.ts +15 -0
- package/_publish/Behaviours/Behaviours/Requests/PayBehaviourDelete.d.ts +9 -0
- package/_publish/Behaviours/Behaviours/Requests/PayBehaviourGet.d.ts +15 -0
- package/_publish/Behaviours/Behaviours/Requests/PayBehaviourList.d.ts +27 -0
- package/_publish/Behaviours/Behaviours/Requests/PayBehaviourMerge.d.ts +20 -0
- package/_publish/Behaviours/Behaviours/Requests/PayBehaviourRestore.d.ts +9 -0
- package/_publish/Behaviours/Behaviours/Responses/RepBehaviourBatchDelete.d.ts +16 -0
- package/_publish/Behaviours/Behaviours/Responses/RepBehaviourBatchMerge.d.ts +13 -0
- package/_publish/Behaviours/Behaviours/Responses/RepBehaviourDelete.d.ts +15 -0
- package/_publish/Behaviours/Behaviours/Responses/RepBehaviourGet.d.ts +14 -0
- package/_publish/Behaviours/Behaviours/Responses/RepBehaviourList.d.ts +26 -0
- package/_publish/Behaviours/Behaviours/Responses/RepBehaviourMerge.d.ts +13 -0
- package/_publish/Behaviours/Logs/Requests/PayBehaviourLogBatchDelete.d.ts +37 -0
- package/_publish/Behaviours/Logs/Requests/PayBehaviourLogList.d.ts +49 -0
- package/_publish/Behaviours/Logs/Responses/RepBehaviourLogBatchDelete.d.ts +52 -0
- package/_publish/Behaviours/Logs/Responses/RepBehaviourLogList.d.ts +51 -0
- package/_publish/Behaviours/Scripts/Requests/Parameters/ParamBehaviourScriptMerge.d.ts +56 -0
- package/_publish/Behaviours/Scripts/Requests/PayBehaviourScript.d.ts +18 -0
- package/_publish/Behaviours/Scripts/Requests/PayBehaviourScriptBatchDelete.d.ts +15 -0
- package/_publish/Behaviours/Scripts/Requests/PayBehaviourScriptBatchMerge.d.ts +15 -0
- package/_publish/Behaviours/Scripts/Requests/PayBehaviourScriptDelete.d.ts +9 -0
- package/_publish/Behaviours/Scripts/Requests/PayBehaviourScriptGet.d.ts +15 -0
- package/_publish/Behaviours/Scripts/Requests/PayBehaviourScriptList.d.ts +27 -0
- package/_publish/Behaviours/Scripts/Requests/PayBehaviourScriptMerge.d.ts +20 -0
- package/_publish/Behaviours/Scripts/Requests/PayBehaviourScriptRestore.d.ts +9 -0
- package/_publish/Behaviours/Scripts/Responses/RepBehaviourScriptBatchDelete.d.ts +16 -0
- package/_publish/Behaviours/Scripts/Responses/RepBehaviourScriptBatchMerge.d.ts +13 -0
- package/_publish/Behaviours/Scripts/Responses/RepBehaviourScriptDelete.d.ts +15 -0
- package/_publish/Behaviours/Scripts/Responses/RepBehaviourScriptGet.d.ts +14 -0
- package/_publish/Behaviours/Scripts/Responses/RepBehaviourScriptList.d.ts +26 -0
- package/_publish/Behaviours/Scripts/Responses/RepBehaviourScriptMerge.d.ts +13 -0
- package/_publish/Companies/Requests/Parameters/ParamCompanyMerge.d.ts +52 -0
- package/_publish/Companies/Requests/Parameters/ParamCompanyResellerMerge.d.ts +84 -0
- package/_publish/Companies/Requests/Parameters/ParamEmailServer.d.ts +64 -0
- package/_publish/Companies/Requests/Parameters/ParamPasswordPolicy.d.ts +40 -0
- package/_publish/Companies/Requests/Parameters/ParamSessionPolicy.d.ts +36 -0
- package/_publish/Companies/Requests/Parameters/ParamSmsServer.d.ts +20 -0
- package/_publish/Companies/Requests/PayCompany.d.ts +18 -0
- package/_publish/Companies/Requests/PayCompanyBatchDelete.d.ts +15 -0
- package/_publish/Companies/Requests/PayCompanyBatchMerge.d.ts +15 -0
- package/_publish/Companies/Requests/PayCompanyDelete.d.ts +9 -0
- package/_publish/Companies/Requests/PayCompanyDirectoryGet.d.ts +15 -0
- package/_publish/Companies/Requests/PayCompanyDirectoryList.d.ts +27 -0
- package/_publish/Companies/Requests/PayCompanyGeneralGet.d.ts +15 -0
- package/_publish/Companies/Requests/PayCompanyGeneralList.d.ts +36 -0
- package/_publish/Companies/Requests/PayCompanyGet.d.ts +15 -0
- package/_publish/Companies/Requests/PayCompanyMerge.d.ts +20 -0
- package/_publish/Companies/Requests/PayCompanyPolicyGet.d.ts +15 -0
- package/_publish/Companies/Requests/PayCompanyPolicyList.d.ts +27 -0
- package/_publish/Companies/Requests/PayCompanyResellerDelete.d.ts +9 -0
- package/_publish/Companies/Requests/PayCompanyResellerGet.d.ts +15 -0
- package/_publish/Companies/Requests/PayCompanyResellerList.d.ts +27 -0
- package/_publish/Companies/Requests/PayCompanyResellerMerge.d.ts +20 -0
- package/_publish/Companies/Requests/PayCompanyResellerRestore.d.ts +9 -0
- package/_publish/Companies/Requests/PayCompanyRestore.d.ts +9 -0
- package/_publish/Companies/Requests/PayCompanyStyleGet.d.ts +15 -0
- package/_publish/Companies/Requests/PayCompanyStyleList.d.ts +27 -0
- package/_publish/Companies/Responses/RepCompanyBatchDelete.d.ts +16 -0
- package/_publish/Companies/Responses/RepCompanyBatchMerge.d.ts +13 -0
- package/_publish/Companies/Responses/RepCompanyDelete.d.ts +15 -0
- package/_publish/Companies/Responses/RepCompanyDirectoryGet.d.ts +15 -0
- package/_publish/Companies/Responses/RepCompanyDirectoryList.d.ts +26 -0
- package/_publish/Companies/Responses/RepCompanyGeneralGet.d.ts +15 -0
- package/_publish/Companies/Responses/RepCompanyGeneralList.d.ts +26 -0
- package/_publish/Companies/Responses/RepCompanyGet.d.ts +14 -0
- package/_publish/Companies/Responses/RepCompanyMerge.d.ts +13 -0
- package/_publish/Companies/Responses/RepCompanyPolicyGet.d.ts +15 -0
- package/_publish/Companies/Responses/RepCompanyPolicyList.d.ts +26 -0
- package/_publish/Companies/Responses/RepCompanyResellerDelete.d.ts +15 -0
- package/_publish/Companies/Responses/RepCompanyResellerGet.d.ts +15 -0
- package/_publish/Companies/Responses/RepCompanyResellerList.d.ts +26 -0
- package/_publish/Companies/Responses/RepCompanyResellerMerge.d.ts +13 -0
- package/_publish/Companies/Responses/RepCompanyStyleGet.d.ts +15 -0
- package/_publish/Companies/Responses/RepCompanyStyleList.d.ts +26 -0
- package/_publish/Dispatch/DispatchJob/Requests/Parameters/ParamDispatchJobCancel.d.ts +23 -0
- package/_publish/Dispatch/DispatchJob/Requests/Parameters/ParamDispatchJobChange.d.ts +26 -0
- package/_publish/Dispatch/DispatchJob/Requests/Parameters/ParamDispatchJobMerge.d.ts +58 -0
- package/_publish/Dispatch/DispatchJob/Requests/Parameters/ParamDispatchStepChange.d.ts +27 -0
- package/_publish/Dispatch/DispatchJob/Requests/Parameters/ParamDispatchStepMerge.d.ts +43 -0
- package/_publish/Dispatch/DispatchJob/Requests/PayDispatchJob.d.ts +33 -0
- package/_publish/Dispatch/DispatchJob/Requests/PayDispatchJobBatchCancel.d.ts +15 -0
- package/_publish/Dispatch/DispatchJob/Requests/PayDispatchJobBatchChange.d.ts +15 -0
- package/_publish/Dispatch/DispatchJob/Requests/PayDispatchJobBatchDelete.d.ts +15 -0
- package/_publish/Dispatch/DispatchJob/Requests/PayDispatchJobBatchMerge.d.ts +15 -0
- package/_publish/Dispatch/DispatchJob/Requests/PayDispatchJobCancel.d.ts +20 -0
- package/_publish/Dispatch/DispatchJob/Requests/PayDispatchJobChange.d.ts +21 -0
- package/_publish/Dispatch/DispatchJob/Requests/PayDispatchJobDelete.d.ts +9 -0
- package/_publish/Dispatch/DispatchJob/Requests/PayDispatchJobGet.d.ts +15 -0
- package/_publish/Dispatch/DispatchJob/Requests/PayDispatchJobList.d.ts +102 -0
- package/_publish/Dispatch/DispatchJob/Requests/PayDispatchJobMerge.d.ts +20 -0
- package/_publish/Dispatch/DispatchJob/Requests/PayDispatchJobRestore.d.ts +9 -0
- package/_publish/Dispatch/DispatchJob/Responses/RepDispatchJobBatchDelete.d.ts +16 -0
- package/_publish/Dispatch/DispatchJob/Responses/RepDispatchJobBatchMerge.d.ts +13 -0
- package/_publish/Dispatch/DispatchJob/Responses/RepDispatchJobDelete.d.ts +15 -0
- package/_publish/Dispatch/DispatchJob/Responses/RepDispatchJobGet.d.ts +14 -0
- package/_publish/Dispatch/DispatchJob/Responses/RepDispatchJobList.d.ts +91 -0
- package/_publish/Dispatch/DispatchJob/Responses/RepDispatchJobMerge.d.ts +13 -0
- package/_publish/Dispatch/DispatchTask/Requests/Parameters/ParamDispatchTaskMerge.d.ts +71 -0
- package/_publish/Dispatch/DispatchTask/Requests/PayDispatchTask.d.ts +18 -0
- package/_publish/Dispatch/DispatchTask/Requests/PayDispatchTaskBatchDelete.d.ts +15 -0
- package/_publish/Dispatch/DispatchTask/Requests/PayDispatchTaskBatchMerge.d.ts +15 -0
- package/_publish/Dispatch/DispatchTask/Requests/PayDispatchTaskDelete.d.ts +9 -0
- package/_publish/Dispatch/DispatchTask/Requests/PayDispatchTaskGet.d.ts +15 -0
- package/_publish/Dispatch/DispatchTask/Requests/PayDispatchTaskList.d.ts +68 -0
- package/_publish/Dispatch/DispatchTask/Requests/PayDispatchTaskMerge.d.ts +20 -0
- package/_publish/Dispatch/DispatchTask/Requests/PayDispatchTaskRestore.d.ts +9 -0
- package/_publish/Dispatch/DispatchTask/Responses/RepDispatchTaskBatchDelete.d.ts +16 -0
- package/_publish/Dispatch/DispatchTask/Responses/RepDispatchTaskBatchMerge.d.ts +13 -0
- package/_publish/Dispatch/DispatchTask/Responses/RepDispatchTaskDelete.d.ts +15 -0
- package/_publish/Dispatch/DispatchTask/Responses/RepDispatchTaskGet.d.ts +14 -0
- package/_publish/Dispatch/DispatchTask/Responses/RepDispatchTaskList.d.ts +66 -0
- package/_publish/Dispatch/DispatchTask/Responses/RepDispatchTaskMerge.d.ts +13 -0
- package/_publish/Hosting/Documents/Requests/Parameters/ParamDocumentMerge.d.ts +36 -0
- package/_publish/Hosting/Documents/Requests/PayDocument.d.ts +18 -0
- package/_publish/Hosting/Documents/Requests/PayDocumentDelete.d.ts +9 -0
- package/_publish/Hosting/Documents/Requests/PayDocumentGet.d.ts +15 -0
- package/_publish/Hosting/Documents/Requests/PayDocumentList.d.ts +27 -0
- package/_publish/Hosting/Documents/Requests/PayDocumentMerge.d.ts +20 -0
- package/_publish/Hosting/Documents/Requests/PayDocumentRestore.d.ts +9 -0
- package/_publish/Hosting/Documents/Responses/RepDocumentDelete.d.ts +15 -0
- package/_publish/Hosting/Documents/Responses/RepDocumentGet.d.ts +14 -0
- package/_publish/Hosting/Documents/Responses/RepDocumentList.d.ts +26 -0
- package/_publish/Hosting/Documents/Responses/RepDocumentMerge.d.ts +13 -0
- package/_publish/Hosting/FormResults/Requests/PayFormResult.d.ts +18 -0
- package/_publish/Hosting/FormResults/Requests/PayFormResultList.d.ts +27 -0
- package/_publish/Hosting/FormResults/Requests/PayFormResultMerge.d.ts +20 -0
- package/_publish/Hosting/FormResults/Responses/RepFormResultDelete.d.ts +15 -0
- package/_publish/Hosting/FormResults/Responses/RepFormResultGet.d.ts +15 -0
- package/_publish/Hosting/FormResults/Responses/RepFormResultList.d.ts +26 -0
- package/_publish/Hosting/FormTemplates/Requests/Parameters/ParamFormField.d.ts +77 -0
- package/_publish/Hosting/FormTemplates/Requests/Parameters/ParamFormTemplateMerge.d.ts +19 -0
- package/_publish/Hosting/FormTemplates/Responses/RepFormTemplateBatchDelete.d.ts +16 -0
- package/_publish/Hosting/FormTemplates/Responses/RepFormTemplateDelete.d.ts +16 -0
- package/_publish/Hosting/FormTemplates/Responses/RepFormTemplateGet.d.ts +14 -0
- package/_publish/Hosting/FormTemplates/Responses/RepFormTemplateList.d.ts +26 -0
- package/_publish/Images/Dashcams/Requests/PayDashcam.d.ts +18 -0
- package/_publish/Images/Dashcams/Requests/PayDashcamGet.d.ts +15 -0
- package/_publish/Images/Dashcams/Requests/PayDashcamList.d.ts +103 -0
- package/_publish/Images/Dashcams/Responses/RepDashcamGet.d.ts +14 -0
- package/_publish/Images/Dashcams/Responses/RepDashcamList.d.ts +93 -0
- package/_publish/Images/Icons/Requests/Parameters/ParamIconMerge.d.ts +33 -0
- package/_publish/Images/Icons/Requests/PayIcon.d.ts +18 -0
- package/_publish/Images/Icons/Requests/PayIconBatchDelete.d.ts +15 -0
- package/_publish/Images/Icons/Requests/PayIconBatchMerge.d.ts +15 -0
- package/_publish/Images/Icons/Requests/PayIconDelete.d.ts +9 -0
- package/_publish/Images/Icons/Requests/PayIconGet.d.ts +15 -0
- package/_publish/Images/Icons/Requests/PayIconList.d.ts +27 -0
- package/_publish/Images/Icons/Requests/PayIconMerge.d.ts +20 -0
- package/_publish/Images/Icons/Requests/PayIconRestore.d.ts +9 -0
- package/_publish/Images/Icons/Responses/RepIconBatchDelete.d.ts +16 -0
- package/_publish/Images/Icons/Responses/RepIconBatchMerge.d.ts +13 -0
- package/_publish/Images/Icons/Responses/RepIconDelete.d.ts +15 -0
- package/_publish/Images/Icons/Responses/RepIconGet.d.ts +15 -0
- package/_publish/Images/Icons/Responses/RepIconList.d.ts +26 -0
- package/_publish/Images/Icons/Responses/RepIconMerge.d.ts +13 -0
- package/_publish/Images/Pictures/Requests/Parameters/ParamPictureMerge.d.ts +29 -0
- package/_publish/Images/Pictures/Requests/PayPicture.d.ts +18 -0
- package/_publish/Images/Pictures/Requests/PayPictureBatchDelete.d.ts +15 -0
- package/_publish/Images/Pictures/Requests/PayPictureBatchMerge.d.ts +15 -0
- package/_publish/Images/Pictures/Requests/PayPictureDelete.d.ts +9 -0
- package/_publish/Images/Pictures/Requests/PayPictureGet.d.ts +15 -0
- package/_publish/Images/Pictures/Requests/PayPictureList.d.ts +27 -0
- package/_publish/Images/Pictures/Requests/PayPictureMerge.d.ts +20 -0
- package/_publish/Images/Pictures/Requests/PayPictureRestore.d.ts +9 -0
- package/_publish/Images/Pictures/Responses/RepPictureBatchDelete.d.ts +16 -0
- package/_publish/Images/Pictures/Responses/RepPictureBatchMerge.d.ts +13 -0
- package/_publish/Images/Pictures/Responses/RepPictureDelete.d.ts +15 -0
- package/_publish/Images/Pictures/Responses/RepPictureGet.d.ts +14 -0
- package/_publish/Images/Pictures/Responses/RepPictureList.d.ts +26 -0
- package/_publish/Images/Pictures/Responses/RepPictureMerge.d.ts +13 -0
- package/_publish/Maintenance/Jobs/Requests/Parameters/ParamMaintenanceJobMerge.d.ts +32 -0
- package/_publish/Maintenance/Jobs/Requests/PayMaintenanceJob.d.ts +18 -0
- package/_publish/Maintenance/Jobs/Requests/PayMaintenanceJobBatchDelete.d.ts +15 -0
- package/_publish/Maintenance/Jobs/Requests/PayMaintenanceJobBatchMerge.d.ts +15 -0
- package/_publish/Maintenance/Jobs/Requests/PayMaintenanceJobDelete.d.ts +9 -0
- package/_publish/Maintenance/Jobs/Requests/PayMaintenanceJobGet.d.ts +15 -0
- package/_publish/Maintenance/Jobs/Requests/PayMaintenanceJobList.d.ts +27 -0
- package/_publish/Maintenance/Jobs/Requests/PayMaintenanceJobMerge.d.ts +20 -0
- package/_publish/Maintenance/Jobs/Requests/PayMaintenanceJobRestore.d.ts +9 -0
- package/_publish/Maintenance/Jobs/Responses/RepMaintenanceJobBatchDelete.d.ts +16 -0
- package/_publish/Maintenance/Jobs/Responses/RepMaintenanceJobBatchMerge.d.ts +14 -0
- package/_publish/Maintenance/Jobs/Responses/RepMaintenanceJobDelete.d.ts +16 -0
- package/_publish/Maintenance/Jobs/Responses/RepMaintenanceJobGet.d.ts +14 -0
- package/_publish/Maintenance/Jobs/Responses/RepMaintenanceJobList.d.ts +26 -0
- package/_publish/Maintenance/Jobs/Responses/RepMaintenanceJobMerge.d.ts +13 -0
- package/_publish/Maintenance/Schedules/Requests/Parameters/ParamMaintenanceScheduleMerge.d.ts +41 -0
- package/_publish/Maintenance/Schedules/Requests/PayMaintenanceSchedule.d.ts +18 -0
- package/_publish/Maintenance/Schedules/Requests/PayMaintenanceScheduleBatchDelete.d.ts +15 -0
- package/_publish/Maintenance/Schedules/Requests/PayMaintenanceScheduleBatchMerge.d.ts +15 -0
- package/_publish/Maintenance/Schedules/Requests/PayMaintenanceScheduleDelete.d.ts +9 -0
- package/_publish/Maintenance/Schedules/Requests/PayMaintenanceScheduleGet.d.ts +15 -0
- package/_publish/Maintenance/Schedules/Requests/PayMaintenanceScheduleList.d.ts +27 -0
- package/_publish/Maintenance/Schedules/Requests/PayMaintenanceScheduleMerge.d.ts +20 -0
- package/_publish/Maintenance/Schedules/Requests/PayMaintenanceScheduleRestore.d.ts +9 -0
- package/_publish/Maintenance/Schedules/Responses/RepMaintenanceScheduleBatchDelete.d.ts +16 -0
- package/_publish/Maintenance/Schedules/Responses/RepMaintenanceScheduleBatchMerge.d.ts +13 -0
- package/_publish/Maintenance/Schedules/Responses/RepMaintenanceScheduleDelete.d.ts +15 -0
- package/_publish/Maintenance/Schedules/Responses/RepMaintenanceScheduleGet.d.ts +14 -0
- package/_publish/Maintenance/Schedules/Responses/RepMaintenanceScheduleList.d.ts +26 -0
- package/_publish/Maintenance/Schedules/Responses/RepMaintenanceScheduleMerge.d.ts +13 -0
- package/_publish/Messaging/Requests/Parameters/ParamAssetMessageMerge.d.ts +21 -0
- package/_publish/Messaging/Requests/PayAssetMessage.d.ts +18 -0
- package/_publish/Messaging/Requests/PayAssetMessageBatchDelete.d.ts +15 -0
- package/_publish/Messaging/Requests/PayAssetMessageBatchMerge.d.ts +15 -0
- package/_publish/Messaging/Requests/PayAssetMessageDelete.d.ts +9 -0
- package/_publish/Messaging/Requests/PayAssetMessageGet.d.ts +15 -0
- package/_publish/Messaging/Requests/PayAssetMessageList.d.ts +39 -0
- package/_publish/Messaging/Requests/PayAssetMessageMerge.d.ts +20 -0
- package/_publish/Messaging/Requests/PayAssetMessageRestore.d.ts +9 -0
- package/_publish/Messaging/Responses/RepAssetMessageBatchDelete.d.ts +16 -0
- package/_publish/Messaging/Responses/RepAssetMessageBatchMerge.d.ts +13 -0
- package/_publish/Messaging/Responses/RepAssetMessageDelete.d.ts +16 -0
- package/_publish/Messaging/Responses/RepAssetMessageGet.d.ts +15 -0
- package/_publish/Messaging/Responses/RepAssetMessageList.d.ts +41 -0
- package/_publish/Messaging/Responses/RepAssetMessageMerge.d.ts +13 -0
- package/_publish/Places/Responses/RepPlaceBatchDelete.d.ts +17 -0
- package/_publish/Places/Responses/RepPlaceDelete.d.ts +16 -0
- package/_publish/Places/Responses/RepPlaceGet.d.ts +14 -0
- package/_publish/Places/Responses/RepPlaceList.d.ts +26 -0
- package/_publish/Providers/Configs/Requests/Parameters/ParamProviderConfigMerge.d.ts +24 -0
- package/_publish/Providers/Configs/Requests/PayProviderConfig.d.ts +18 -0
- package/_publish/Providers/Configs/Requests/PayProviderConfigBatchDelete.d.ts +15 -0
- package/_publish/Providers/Configs/Requests/PayProviderConfigBatchMerge.d.ts +15 -0
- package/_publish/Providers/Configs/Requests/PayProviderConfigDelete.d.ts +9 -0
- package/_publish/Providers/Configs/Requests/PayProviderConfigGet.d.ts +15 -0
- package/_publish/Providers/Configs/Requests/PayProviderConfigList.d.ts +38 -0
- package/_publish/Providers/Configs/Requests/PayProviderConfigMerge.d.ts +20 -0
- package/_publish/Providers/Configs/Requests/PayProviderConfigRestore.d.ts +9 -0
- package/_publish/Providers/Configs/Responses/RepProviderConfigBatchDelete.d.ts +16 -0
- package/_publish/Providers/Configs/Responses/RepProviderConfigBatchMerge.d.ts +13 -0
- package/_publish/Providers/Configs/Responses/RepProviderConfigDelete.d.ts +15 -0
- package/_publish/Providers/Configs/Responses/RepProviderConfigGet.d.ts +14 -0
- package/_publish/Providers/Configs/Responses/RepProviderConfigList.d.ts +39 -0
- package/_publish/Providers/Configs/Responses/RepProviderConfigMerge.d.ts +13 -0
- package/_publish/Providers/ConfigurationTypes/Requests/PayProviderConfigurationType.d.ts +18 -0
- package/_publish/Providers/ConfigurationTypes/Requests/PayProviderConfigurationTypeGet.d.ts +15 -0
- package/_publish/Providers/ConfigurationTypes/Requests/PayProviderConfigurationTypeList.d.ts +27 -0
- package/_publish/Providers/ConfigurationTypes/Responses/RepProviderConfigurationTypeGet.d.ts +14 -0
- package/_publish/Providers/ConfigurationTypes/Responses/RepProviderConfigurationTypeList.d.ts +21 -0
- package/_publish/Providers/Configurations/Requests/Parameters/ParamProviderConfigurationMerge.d.ts +24 -0
- package/_publish/Providers/Configurations/Requests/PayProviderConfiguration.d.ts +18 -0
- package/_publish/Providers/Configurations/Requests/PayProviderConfigurationBatchDelete.d.ts +15 -0
- package/_publish/Providers/Configurations/Requests/PayProviderConfigurationBatchMerge.d.ts +15 -0
- package/_publish/Providers/Configurations/Requests/PayProviderConfigurationDelete.d.ts +9 -0
- package/_publish/Providers/Configurations/Requests/PayProviderConfigurationGet.d.ts +15 -0
- package/_publish/Providers/Configurations/Requests/PayProviderConfigurationList.d.ts +27 -0
- package/_publish/Providers/Configurations/Requests/PayProviderConfigurationMerge.d.ts +20 -0
- package/_publish/Providers/Configurations/Requests/PayProviderConfigurationRestore.d.ts +9 -0
- package/_publish/Providers/Configurations/Responses/RepProviderConfigurationBatchDelete.d.ts +16 -0
- package/_publish/Providers/Configurations/Responses/RepProviderConfigurationBatchMerge.d.ts +13 -0
- package/_publish/Providers/Configurations/Responses/RepProviderConfigurationDelete.d.ts +15 -0
- package/_publish/Providers/Configurations/Responses/RepProviderConfigurationGet.d.ts +14 -0
- package/_publish/Providers/Configurations/Responses/RepProviderConfigurationList.d.ts +26 -0
- package/_publish/Providers/Configurations/Responses/RepProviderConfigurationMerge.d.ts +13 -0
- package/_publish/Providers/Providers/Requests/Parameters/ParamProviderMerge.d.ts +32 -0
- package/_publish/Providers/Providers/Requests/PayProvider.d.ts +18 -0
- package/_publish/Providers/Providers/Requests/PayProviderAdvancedGet.d.ts +15 -0
- package/_publish/Providers/Providers/Requests/PayProviderAdvancedList.d.ts +43 -0
- package/_publish/Providers/Providers/Requests/PayProviderBatchDelete.d.ts +15 -0
- package/_publish/Providers/Providers/Requests/PayProviderBatchMerge.d.ts +15 -0
- package/_publish/Providers/Providers/Requests/PayProviderControlGet.d.ts +15 -0
- package/_publish/Providers/Providers/Requests/PayProviderControlList.d.ts +43 -0
- package/_publish/Providers/Providers/Requests/PayProviderDelete.d.ts +9 -0
- package/_publish/Providers/Providers/Requests/PayProviderGeneralGet.d.ts +15 -0
- package/_publish/Providers/Providers/Requests/PayProviderGeneralList.d.ts +43 -0
- package/_publish/Providers/Providers/Requests/PayProviderGet.d.ts +15 -0
- package/_publish/Providers/Providers/Requests/PayProviderList.d.ts +42 -0
- package/_publish/Providers/Providers/Requests/PayProviderMerge.d.ts +20 -0
- package/_publish/Providers/Providers/Requests/PayProviderRestore.d.ts +9 -0
- package/_publish/Providers/Providers/Responses/RepProviderAdvancedGet.d.ts +15 -0
- package/_publish/Providers/Providers/Responses/RepProviderAdvancedList.d.ts +39 -0
- package/_publish/Providers/Providers/Responses/RepProviderBatchDelete.d.ts +16 -0
- package/_publish/Providers/Providers/Responses/RepProviderBatchMerge.d.ts +14 -0
- package/_publish/Providers/Providers/Responses/RepProviderControlGet.d.ts +15 -0
- package/_publish/Providers/Providers/Responses/RepProviderControlList.d.ts +39 -0
- package/_publish/Providers/Providers/Responses/RepProviderDelete.d.ts +15 -0
- package/_publish/Providers/Providers/Responses/RepProviderGeneralGet.d.ts +15 -0
- package/_publish/Providers/Providers/Responses/RepProviderGeneralList.d.ts +39 -0
- package/_publish/Providers/Providers/Responses/RepProviderGet.d.ts +14 -0
- package/_publish/Providers/Providers/Responses/RepProviderList.d.ts +39 -0
- package/_publish/Providers/Providers/Responses/RepProviderMerge.d.ts +13 -0
- package/_publish/Providers/Registrations/Requests/Parameters/ParamProviderRegistrationMerge.d.ts +18 -0
- package/_publish/Providers/Registrations/Requests/PayProviderRegistration.d.ts +18 -0
- package/_publish/Providers/Registrations/Requests/PayProviderRegistrationDelete.d.ts +9 -0
- package/_publish/Providers/Registrations/Requests/PayProviderRegistrationGet.d.ts +15 -0
- package/_publish/Providers/Registrations/Requests/PayProviderRegistrationList.d.ts +27 -0
- package/_publish/Providers/Registrations/Requests/PayProviderRegistrationMerge.d.ts +15 -0
- package/_publish/Providers/Registrations/Responses/RepProviderRegistrationDelete.d.ts +15 -0
- package/_publish/Providers/Registrations/Responses/RepProviderRegistrationGet.d.ts +14 -0
- package/_publish/Providers/Registrations/Responses/RepProviderRegistrationList.d.ts +26 -0
- package/_publish/Providers/Registrations/Responses/RepProviderRegistrationMerge.d.ts +13 -0
- package/_publish/Providers/Scripts/Requests/Parameters/ParamProviderScriptMerge.d.ts +20 -0
- package/_publish/Providers/Scripts/Requests/PayProviderScript.d.ts +18 -0
- package/_publish/Providers/Scripts/Requests/PayProviderScriptBatchDelete.d.ts +15 -0
- package/_publish/Providers/Scripts/Requests/PayProviderScriptBatchMerge.d.ts +15 -0
- package/_publish/Providers/Scripts/Requests/PayProviderScriptDelete.d.ts +9 -0
- package/_publish/Providers/Scripts/Requests/PayProviderScriptGet.d.ts +15 -0
- package/_publish/Providers/Scripts/Requests/PayProviderScriptList.d.ts +27 -0
- package/_publish/Providers/Scripts/Requests/PayProviderScriptMerge.d.ts +20 -0
- package/_publish/Providers/Scripts/Requests/PayProviderScriptRestore.d.ts +9 -0
- package/_publish/Providers/Scripts/Responses/RepProviderScriptBatchDelete.d.ts +16 -0
- package/_publish/Providers/Scripts/Responses/RepProviderScriptBatchMerge.d.ts +13 -0
- package/_publish/Providers/Scripts/Responses/RepProviderScriptDelete.d.ts +16 -0
- package/_publish/Providers/Scripts/Responses/RepProviderScriptGet.d.ts +14 -0
- package/_publish/Providers/Scripts/Responses/RepProviderScriptList.d.ts +26 -0
- package/_publish/Providers/Scripts/Responses/RepProviderScriptMerge.d.ts +14 -0
- package/_publish/Reports/Parameters/ParamReportOptions.d.ts +22 -0
- package/_publish/Reports/Parameters/ParamReportScorecardRules.d.ts +11 -0
- package/_publish/Reports/Results/Requests/Parameters/ParamReportResultMerge.d.ts +20 -0
- package/_publish/Reports/Results/Requests/PayReportResult.d.ts +18 -0
- package/_publish/Reports/Results/Requests/PayReportResultBatchDelete.d.ts +15 -0
- package/_publish/Reports/Results/Requests/PayReportResultBatchMerge.d.ts +15 -0
- package/_publish/Reports/Results/Requests/PayReportResultDelete.d.ts +9 -0
- package/_publish/Reports/Results/Requests/PayReportResultGet.d.ts +15 -0
- package/_publish/Reports/Results/Requests/PayReportResultList.d.ts +27 -0
- package/_publish/Reports/Results/Requests/PayReportResultMerge.d.ts +20 -0
- package/_publish/Reports/Results/Requests/PayReportResultRestore.d.ts +9 -0
- package/_publish/Reports/Results/Responses/RepReportResultBatchDelete.d.ts +16 -0
- package/_publish/Reports/Results/Responses/RepReportResultBatchMerge.d.ts +13 -0
- package/_publish/Reports/Results/Responses/RepReportResultDelete.d.ts +15 -0
- package/_publish/Reports/Results/Responses/RepReportResultGet.d.ts +14 -0
- package/_publish/Reports/Results/Responses/RepReportResultList.d.ts +26 -0
- package/_publish/Reports/Results/Responses/RepReportResultMerge.d.ts +13 -0
- package/_publish/Reports/Schedules/Requests/Parameters/ParamReportNotify.d.ts +17 -0
- package/_publish/Reports/Schedules/Requests/Parameters/ParamReportRecurrence.d.ts +20 -0
- package/_publish/Reports/Schedules/Requests/Parameters/ParamReportScheduleMerge.d.ts +21 -0
- package/_publish/Reports/Schedules/Requests/PayReportSchedule.d.ts +18 -0
- package/_publish/Reports/Schedules/Requests/PayReportScheduleDelete.d.ts +9 -0
- package/_publish/Reports/Schedules/Requests/PayReportScheduleGet.d.ts +15 -0
- package/_publish/Reports/Schedules/Requests/PayReportScheduleList.d.ts +27 -0
- package/_publish/Reports/Schedules/Requests/PayReportScheduleMerge.d.ts +20 -0
- package/_publish/Reports/Schedules/Requests/PayReportScheduleRestore.d.ts +9 -0
- package/_publish/Reports/Schedules/Responses/RepReportScheduleBatchDelete.d.ts +16 -0
- package/_publish/Reports/Schedules/Responses/RepReportScheduleDelete.d.ts +15 -0
- package/_publish/Reports/Schedules/Responses/RepReportScheduleGet.d.ts +14 -0
- package/_publish/Reports/Schedules/Responses/RepReportScheduleList.d.ts +26 -0
- package/_publish/Reports/Schedules/Responses/RepReportScheduleMerge.d.ts +13 -0
- package/_publish/Reports/Templates/Requests/Parameters/ParamReportTemplateMerge.d.ts +19 -0
- package/_publish/Reports/Templates/Requests/PayReportTemplate.d.ts +18 -0
- package/_publish/Reports/Templates/Requests/PayReportTemplateBatchDelete.d.ts +15 -0
- package/_publish/Reports/Templates/Requests/PayReportTemplateBatchMerge.d.ts +15 -0
- package/_publish/Reports/Templates/Requests/PayReportTemplateDelete.d.ts +9 -0
- package/_publish/Reports/Templates/Requests/PayReportTemplateGet.d.ts +15 -0
- package/_publish/Reports/Templates/Requests/PayReportTemplateList.d.ts +27 -0
- package/_publish/Reports/Templates/Requests/PayReportTemplateMerge.d.ts +20 -0
- package/_publish/Reports/Templates/Requests/PayReportTemplateRestore.d.ts +9 -0
- package/_publish/Reports/Templates/Responses/RepReportTemplateBatchDelete.d.ts +16 -0
- package/_publish/Reports/Templates/Responses/RepReportTemplateBatchMerge.d.ts +13 -0
- package/_publish/Reports/Templates/Responses/RepReportTemplateDelete.d.ts +15 -0
- package/_publish/Reports/Templates/Responses/RepReportTemplateGet.d.ts +14 -0
- package/_publish/Reports/Templates/Responses/RepReportTemplateList.d.ts +26 -0
- package/_publish/Reports/Templates/Responses/RepReportTemplateMerge.d.ts +13 -0
- package/_publish/WebSocket/Requests/Parameters/SubscriptionType.d.ts +212 -0
- package/_publish/WebSocket/Requests/PaySubscriptionDelete.d.ts +10 -0
- package/_publish/WebSocket/Requests/PaySubscriptionList.d.ts +10 -0
- package/_publish/WebSocket/Requests/PaySubscriptionMerge.d.ts +23 -0
- package/_publish/WebSocket/Responses/Content/Subscription.d.ts +17 -0
- package/_publish/WebSocket/Responses/RepSubscription.d.ts +29 -0
- package/_publish/WebSocket/Responses/RepSubscriptionList.d.ts +13 -0
- package/_publish/index.d.ts +602 -0
- package/_publish/trakit-commands.min.js +7 -0
- package/package.json +37 -33
- package/commands/API/Geography/Polyline.d.ts +0 -20
- package/commands/API/Requests/IPayDeletable.d.ts +0 -9
- package/commands/API/Requests/IPayListByAsset.d.ts +0 -10
- package/commands/API/Requests/IPayListByBillingProfile.d.ts +0 -10
- package/commands/API/Requests/IPayListByCompany.d.ts +0 -10
- package/commands/API/Requests/IPayListByLabels.d.ts +0 -10
- package/commands/API/Requests/IPayListByReferences.d.ts +0 -9
- package/commands/API/Requests/IPayListByUser.d.ts +0 -10
- package/commands/API/Requests/IPaySingle.d.ts +0 -9
- package/commands/API/Requests/IPaySuspendable.d.ts +0 -9
- package/commands/API/Requests/Parameters/IParamAsset.d.ts +0 -8
- package/commands/API/Requests/Parameters/IParamBillingProfile.d.ts +0 -8
- package/commands/API/Requests/Parameters/IParamCompany.d.ts +0 -8
- package/commands/API/Requests/Parameters/ParamCode.d.ts +0 -12
- package/commands/API/Requests/Parameters/ParamGuid.d.ts +0 -11
- package/commands/API/Requests/Parameters/ParamId.d.ts +0 -11
- package/commands/API/Requests/Parameters/ParamIdentifier.d.ts +0 -11
- package/commands/API/Requests/Parameters/ParamIdentifierVersion.d.ts +0 -12
- package/commands/API/Requests/Parameters/ParamKey.d.ts +0 -11
- package/commands/API/Requests/Parameters/ParamLogin.d.ts +0 -12
- package/commands/API/Requests/Parameters/ParamMergeSubscribable.d.ts +0 -12
- package/commands/API/Requests/PayListBy.d.ts +0 -14
- package/commands/API/Requests/PayListByDate.d.ts +0 -17
- package/commands/API/Requests/PayListById.d.ts +0 -17
- package/commands/API/Requests/PayListByKey.d.ts +0 -17
- package/commands/API/Requests/Payload.d.ts +0 -44
- package/commands/API/Responses/Content/ContentCode.d.ts +0 -17
- package/commands/API/Responses/Content/ContentCodeCompany.d.ts +0 -18
- package/commands/API/Responses/Content/ContentCodeDeleted.d.ts +0 -19
- package/commands/API/Responses/Content/ContentId.d.ts +0 -17
- package/commands/API/Responses/Content/ContentIdAsset.d.ts +0 -18
- package/commands/API/Responses/Content/ContentIdBillingProfile.d.ts +0 -18
- package/commands/API/Responses/Content/ContentIdCompany.d.ts +0 -18
- package/commands/API/Responses/Content/ContentIdCompanyTemplate.d.ts +0 -18
- package/commands/API/Responses/Content/ContentIdDeleted.d.ts +0 -22
- package/commands/API/Responses/Content/ContentIdParent.d.ts +0 -18
- package/commands/API/Responses/Content/ContentIdScript.d.ts +0 -18
- package/commands/API/Responses/Content/ContentIdSuspended.d.ts +0 -22
- package/commands/API/Responses/Content/ContentIdendifier.d.ts +0 -18
- package/commands/API/Responses/Content/ContentIdendifierAsset.d.ts +0 -22
- package/commands/API/Responses/Content/ContentIdendifierCompany.d.ts +0 -19
- package/commands/API/Responses/Content/ContentIdendifierDeleted.d.ts +0 -23
- package/commands/API/Responses/Content/ContentIdendifierSuspended.d.ts +0 -23
- package/commands/API/Responses/Content/ContentKey.d.ts +0 -17
- package/commands/API/Responses/Content/ContentKeyCompany.d.ts +0 -18
- package/commands/API/Responses/Content/ContentKeyDeleted.d.ts +0 -22
- package/commands/API/Responses/Content/ContentLogin.d.ts +0 -17
- package/commands/API/Responses/Content/ContentLoginCompany.d.ts +0 -18
- package/commands/API/Responses/Content/ContentLoginDeleted.d.ts +0 -22
- package/commands/API/Responses/Content/ContentParentDeleted.d.ts +0 -26
- package/commands/API/Responses/Errors/ErrorCode.d.ts +0 -529
- package/commands/API/Responses/Errors/ErrorDetail.d.ts +0 -24
- package/commands/API/Responses/Errors/ErrorDetailBadBase.d.ts +0 -13
- package/commands/API/Responses/Errors/ErrorDetailBadIds.d.ts +0 -11
- package/commands/API/Responses/Errors/ErrorDetailBadIndexes.d.ts +0 -11
- package/commands/API/Responses/Errors/ErrorDetailBadKeys.d.ts +0 -10
- package/commands/API/Responses/Errors/ErrorDetailBatch.d.ts +0 -16
- package/commands/API/Responses/Errors/ErrorDetailConnection.d.ts +0 -35
- package/commands/API/Responses/Errors/ErrorDetailContactInUse.d.ts +0 -12
- package/commands/API/Responses/Errors/ErrorDetailCount.d.ts +0 -15
- package/commands/API/Responses/Errors/ErrorDetailEnum.d.ts +0 -15
- package/commands/API/Responses/Errors/ErrorDetailEscalation.d.ts +0 -15
- package/commands/API/Responses/Errors/ErrorDetailExternals.d.ts +0 -23
- package/commands/API/Responses/Errors/ErrorDetailFormTemplateInUse.d.ts +0 -15
- package/commands/API/Responses/Errors/ErrorDetailInput.d.ts +0 -15
- package/commands/API/Responses/Errors/ErrorDetailLocked.d.ts +0 -19
- package/commands/API/Responses/Errors/ErrorDetailMinMax.d.ts +0 -19
- package/commands/API/Responses/Errors/ErrorDetailParent.d.ts +0 -19
- package/commands/API/Responses/Errors/ErrorDetailParse.d.ts +0 -23
- package/commands/API/Responses/Errors/ErrorDetailPhone.d.ts +0 -19
- package/commands/API/Responses/Errors/ErrorDetailSecret.d.ts +0 -54
- package/commands/API/Responses/Errors/ErrorDetailStack.d.ts +0 -26
- package/commands/API/Responses/Errors/ErrorDetailThrottled.d.ts +0 -37
- package/commands/API/Responses/Errors/ErrorDetailType.d.ts +0 -89
- package/commands/API/Responses/Errors/ErrorDetailUserGroupInUse.d.ts +0 -19
- package/commands/API/Responses/IRepList.d.ts +0 -10
- package/commands/API/Responses/IRepListByAsset.d.ts +0 -11
- package/commands/API/Responses/IRepListByCompany.d.ts +0 -11
- package/commands/API/Responses/IRepListByDate.d.ts +0 -14
- package/commands/API/Responses/IRepListById.d.ts +0 -14
- package/commands/API/Responses/IRepListByKey.d.ts +0 -14
- package/commands/API/Responses/IRepListByLabels.d.ts +0 -10
- package/commands/API/Responses/IRepListByReferences.d.ts +0 -10
- package/commands/API/Responses/IRepListByUser.d.ts +0 -11
- package/commands/API/Responses/Reply.d.ts +0 -29
- package/commands/API/Responses/ReplySync.d.ts +0 -17
- package/commands/API/Responses/ReplySyncBatchDelete.d.ts +0 -16
- package/commands/API/Responses/ReplySyncDelete.d.ts +0 -16
- package/commands/API/Responses/ReplySyncGet.d.ts +0 -34
- package/commands/API/Responses/ReplySyncList.d.ts +0 -52
- package/commands/Accounts/Contacts/Requests/Parameters/ParamContactMerge.d.ts +0 -19
- package/commands/Accounts/Contacts/Requests/PayContact.d.ts +0 -18
- package/commands/Accounts/Contacts/Requests/PayContactBatchDelete.d.ts +0 -15
- package/commands/Accounts/Contacts/Requests/PayContactBatchMerge.d.ts +0 -15
- package/commands/Accounts/Contacts/Requests/PayContactDelete.d.ts +0 -9
- package/commands/Accounts/Contacts/Requests/PayContactGet.d.ts +0 -15
- package/commands/Accounts/Contacts/Requests/PayContactList.d.ts +0 -27
- package/commands/Accounts/Contacts/Requests/PayContactMerge.d.ts +0 -20
- package/commands/Accounts/Contacts/Requests/PayContactRestore.d.ts +0 -9
- package/commands/Accounts/Contacts/Responses/RepContactBatchDelete.d.ts +0 -14
- package/commands/Accounts/Contacts/Responses/RepContactBatchMerge.d.ts +0 -13
- package/commands/Accounts/Contacts/Responses/RepContactDelete.d.ts +0 -14
- package/commands/Accounts/Contacts/Responses/RepContactGet.d.ts +0 -13
- package/commands/Accounts/Contacts/Responses/RepContactList.d.ts +0 -25
- package/commands/Accounts/Contacts/Responses/RepContactMerge.d.ts +0 -13
- package/commands/Accounts/Groups/Requests/Parameters/ParamUserGroupMerge.d.ts +0 -31
- package/commands/Accounts/Groups/Requests/PayUserGroup.d.ts +0 -18
- package/commands/Accounts/Groups/Requests/PayUserGroupBatchDelete.d.ts +0 -15
- package/commands/Accounts/Groups/Requests/PayUserGroupBatchMerge.d.ts +0 -15
- package/commands/Accounts/Groups/Requests/PayUserGroupDelete.d.ts +0 -9
- package/commands/Accounts/Groups/Requests/PayUserGroupGet.d.ts +0 -15
- package/commands/Accounts/Groups/Requests/PayUserGroupList.d.ts +0 -27
- package/commands/Accounts/Groups/Requests/PayUserGroupMerge.d.ts +0 -20
- package/commands/Accounts/Groups/Requests/PayUserGroupRestore.d.ts +0 -9
- package/commands/Accounts/Groups/Responses/RepUserGroupBatchDelete.d.ts +0 -14
- package/commands/Accounts/Groups/Responses/RepUserGroupBatchMerge.d.ts +0 -13
- package/commands/Accounts/Groups/Responses/RepUserGroupDelete.d.ts +0 -14
- package/commands/Accounts/Groups/Responses/RepUserGroupGet.d.ts +0 -13
- package/commands/Accounts/Groups/Responses/RepUserGroupList.d.ts +0 -25
- package/commands/Accounts/Groups/Responses/RepUserGroupMerge.d.ts +0 -13
- package/commands/Accounts/Machines/Requests/Parameters/ParamMachineMerge.d.ts +0 -112
- package/commands/Accounts/Machines/Requests/PayMachine.d.ts +0 -18
- package/commands/Accounts/Machines/Requests/PayMachineBatchDelete.d.ts +0 -15
- package/commands/Accounts/Machines/Requests/PayMachineBatchMerge.d.ts +0 -15
- package/commands/Accounts/Machines/Requests/PayMachineDelete.d.ts +0 -9
- package/commands/Accounts/Machines/Requests/PayMachineGet.d.ts +0 -15
- package/commands/Accounts/Machines/Requests/PayMachineList.d.ts +0 -27
- package/commands/Accounts/Machines/Requests/PayMachineMerge.d.ts +0 -20
- package/commands/Accounts/Machines/Requests/PayMachineRestore.d.ts +0 -9
- package/commands/Accounts/Machines/Responses/RepMachineBatchDelete.d.ts +0 -14
- package/commands/Accounts/Machines/Responses/RepMachineBatchMerge.d.ts +0 -13
- package/commands/Accounts/Machines/Responses/RepMachineDelete.d.ts +0 -14
- package/commands/Accounts/Machines/Responses/RepMachineGet.d.ts +0 -13
- package/commands/Accounts/Machines/Responses/RepMachineList.d.ts +0 -36
- package/commands/Accounts/Machines/Responses/RepMachineMerge.d.ts +0 -13
- package/commands/Accounts/Permissions/ParamPermission.d.ts +0 -39
- package/commands/Accounts/Self/Requests/Parameters/ParamSelfContactMerge.d.ts +0 -66
- package/commands/Accounts/Self/Requests/PaySelfContact.d.ts +0 -22
- package/commands/Accounts/Self/Requests/PaySelfGet.d.ts +0 -15
- package/commands/Accounts/Self/Requests/PaySelfLogin.d.ts +0 -30
- package/commands/Accounts/Self/Requests/PaySelfLogout.d.ts +0 -15
- package/commands/Accounts/Self/Requests/PaySelfPassword.d.ts +0 -25
- package/commands/Accounts/Self/Requests/PaySelfPreferences.d.ts +0 -46
- package/commands/Accounts/Self/Responses/RepSelfContact.d.ts +0 -6
- package/commands/Accounts/Self/Responses/RepSelfGet.d.ts +0 -47
- package/commands/Accounts/Self/Responses/RepSelfLogout.d.ts +0 -16
- package/commands/Accounts/Self/Responses/RepSelfPassword.d.ts +0 -16
- package/commands/Accounts/Self/Responses/RepSelfPreferences.d.ts +0 -6
- package/commands/Accounts/Sessions/Requests/Parameters/ParamHandle.d.ts +0 -11
- package/commands/Accounts/Sessions/Requests/PaySessionDelete.d.ts +0 -9
- package/commands/Accounts/Sessions/Requests/PaySessionGet.d.ts +0 -15
- package/commands/Accounts/Sessions/Requests/PaySessionList.d.ts +0 -29
- package/commands/Accounts/Sessions/Responses/Content/SessionHandle.d.ts +0 -25
- package/commands/Accounts/Sessions/Responses/RepSessionDelete.d.ts +0 -14
- package/commands/Accounts/Sessions/Responses/RepSessionGet.d.ts +0 -14
- package/commands/Accounts/Sessions/Responses/RepSessionList.d.ts +0 -37
- package/commands/Accounts/Users/Requests/Parameters/ParamUserMerge.d.ts +0 -74
- package/commands/Accounts/Users/Requests/PayUser.d.ts +0 -18
- package/commands/Accounts/Users/Requests/PayUserAdvancedGet.d.ts +0 -15
- package/commands/Accounts/Users/Requests/PayUserAdvancedList.d.ts +0 -38
- package/commands/Accounts/Users/Requests/PayUserBatchDelete.d.ts +0 -15
- package/commands/Accounts/Users/Requests/PayUserBatchMerge.d.ts +0 -15
- package/commands/Accounts/Users/Requests/PayUserDelete.d.ts +0 -9
- package/commands/Accounts/Users/Requests/PayUserGeneralGet.d.ts +0 -15
- package/commands/Accounts/Users/Requests/PayUserGeneralList.d.ts +0 -38
- package/commands/Accounts/Users/Requests/PayUserGet.d.ts +0 -15
- package/commands/Accounts/Users/Requests/PayUserList.d.ts +0 -38
- package/commands/Accounts/Users/Requests/PayUserMerge.d.ts +0 -20
- package/commands/Accounts/Users/Requests/PayUserRestore.d.ts +0 -9
- package/commands/Accounts/Users/Responses/RepUserAdvancedGet.d.ts +0 -14
- package/commands/Accounts/Users/Responses/RepUserAdvancedList.d.ts +0 -36
- package/commands/Accounts/Users/Responses/RepUserBatchDelete.d.ts +0 -14
- package/commands/Accounts/Users/Responses/RepUserBatchMerge.d.ts +0 -13
- package/commands/Accounts/Users/Responses/RepUserDelete.d.ts +0 -14
- package/commands/Accounts/Users/Responses/RepUserGeneralGet.d.ts +0 -14
- package/commands/Accounts/Users/Responses/RepUserGeneralList.d.ts +0 -36
- package/commands/Accounts/Users/Responses/RepUserGet.d.ts +0 -14
- package/commands/Accounts/Users/Responses/RepUserList.d.ts +0 -36
- package/commands/Accounts/Users/Responses/RepUserMerge.d.ts +0 -13
- package/commands/Assets/Requests/Parameters/ParamAssetDispatchMerge.d.ts +0 -26
- package/commands/Assets/Requests/Parameters/ParamAssetMerge.d.ts +0 -143
- package/commands/Assets/Requests/PayAsset.d.ts +0 -18
- package/commands/Assets/Requests/PayAssetAdvancedGet.d.ts +0 -16
- package/commands/Assets/Requests/PayAssetAdvancedList.d.ts +0 -68
- package/commands/Assets/Requests/PayAssetBatchDelete.d.ts +0 -16
- package/commands/Assets/Requests/PayAssetBatchMerge.d.ts +0 -15
- package/commands/Assets/Requests/PayAssetDelete.d.ts +0 -9
- package/commands/Assets/Requests/PayAssetDispatchGet.d.ts +0 -23
- package/commands/Assets/Requests/PayAssetDispatchList.d.ts +0 -68
- package/commands/Assets/Requests/PayAssetDispatchMerge.d.ts +0 -15
- package/commands/Assets/Requests/PayAssetGeneralGet.d.ts +0 -23
- package/commands/Assets/Requests/PayAssetGeneralList.d.ts +0 -68
- package/commands/Assets/Requests/PayAssetGet.d.ts +0 -23
- package/commands/Assets/Requests/PayAssetList.d.ts +0 -68
- package/commands/Assets/Requests/PayAssetMerge.d.ts +0 -15
- package/commands/Assets/Requests/PayAssetReactivate.d.ts +0 -9
- package/commands/Assets/Requests/PayAssetRestore.d.ts +0 -9
- package/commands/Assets/Requests/PayAssetSuspend.d.ts +0 -9
- package/commands/Assets/Responses/RepAssetAdvancedGet.d.ts +0 -14
- package/commands/Assets/Responses/RepAssetAdvancedList.d.ts +0 -50
- package/commands/Assets/Responses/RepAssetBatchDelete.d.ts +0 -14
- package/commands/Assets/Responses/RepAssetBatchMerge.d.ts +0 -13
- package/commands/Assets/Responses/RepAssetBatchSuspend.d.ts +0 -13
- package/commands/Assets/Responses/RepAssetDelete.d.ts +0 -14
- package/commands/Assets/Responses/RepAssetDispatchGet.d.ts +0 -14
- package/commands/Assets/Responses/RepAssetDispatchList.d.ts +0 -50
- package/commands/Assets/Responses/RepAssetDispatchMerge.d.ts +0 -13
- package/commands/Assets/Responses/RepAssetGeneralGet.d.ts +0 -14
- package/commands/Assets/Responses/RepAssetGeneralList.d.ts +0 -50
- package/commands/Assets/Responses/RepAssetGet.d.ts +0 -13
- package/commands/Assets/Responses/RepAssetList.d.ts +0 -49
- package/commands/Assets/Responses/RepAssetMerge.d.ts +0 -13
- package/commands/Assets/Responses/RepAssetSuspend.d.ts +0 -13
- package/commands/Behaviours/Behaviours/Requests/Parameters/ParamBehaviourMerge.d.ts +0 -47
- package/commands/Behaviours/Behaviours/Requests/PayBehaviour.d.ts +0 -18
- package/commands/Behaviours/Behaviours/Requests/PayBehaviourBatchDelete.d.ts +0 -15
- package/commands/Behaviours/Behaviours/Requests/PayBehaviourBatchMerge.d.ts +0 -15
- package/commands/Behaviours/Behaviours/Requests/PayBehaviourDelete.d.ts +0 -9
- package/commands/Behaviours/Behaviours/Requests/PayBehaviourGet.d.ts +0 -15
- package/commands/Behaviours/Behaviours/Requests/PayBehaviourList.d.ts +0 -27
- package/commands/Behaviours/Behaviours/Requests/PayBehaviourMerge.d.ts +0 -20
- package/commands/Behaviours/Behaviours/Requests/PayBehaviourRestore.d.ts +0 -9
- package/commands/Behaviours/Behaviours/Responses/RepBehaviourBatchDelete.d.ts +0 -14
- package/commands/Behaviours/Behaviours/Responses/RepBehaviourBatchMerge.d.ts +0 -13
- package/commands/Behaviours/Behaviours/Responses/RepBehaviourDelete.d.ts +0 -14
- package/commands/Behaviours/Behaviours/Responses/RepBehaviourGet.d.ts +0 -13
- package/commands/Behaviours/Behaviours/Responses/RepBehaviourList.d.ts +0 -25
- package/commands/Behaviours/Behaviours/Responses/RepBehaviourMerge.d.ts +0 -13
- package/commands/Behaviours/Logs/Requests/PayBehaviourLogBatchDelete.d.ts +0 -37
- package/commands/Behaviours/Logs/Requests/PayBehaviourLogList.d.ts +0 -49
- package/commands/Behaviours/Logs/Responses/RepBehaviourLogBatchDelete.d.ts +0 -45
- package/commands/Behaviours/Logs/Responses/RepBehaviourLogList.d.ts +0 -47
- package/commands/Behaviours/Scripts/Requests/Parameters/ParamBehaviourScriptMerge.d.ts +0 -56
- package/commands/Behaviours/Scripts/Requests/PayBehaviourScript.d.ts +0 -18
- package/commands/Behaviours/Scripts/Requests/PayBehaviourScriptBatchDelete.d.ts +0 -15
- package/commands/Behaviours/Scripts/Requests/PayBehaviourScriptBatchMerge.d.ts +0 -15
- package/commands/Behaviours/Scripts/Requests/PayBehaviourScriptDelete.d.ts +0 -9
- package/commands/Behaviours/Scripts/Requests/PayBehaviourScriptGet.d.ts +0 -15
- package/commands/Behaviours/Scripts/Requests/PayBehaviourScriptList.d.ts +0 -27
- package/commands/Behaviours/Scripts/Requests/PayBehaviourScriptMerge.d.ts +0 -20
- package/commands/Behaviours/Scripts/Requests/PayBehaviourScriptRestore.d.ts +0 -9
- package/commands/Behaviours/Scripts/Responses/RepBehaviourScriptBatchDelete.d.ts +0 -14
- package/commands/Behaviours/Scripts/Responses/RepBehaviourScriptBatchMerge.d.ts +0 -13
- package/commands/Behaviours/Scripts/Responses/RepBehaviourScriptDelete.d.ts +0 -14
- package/commands/Behaviours/Scripts/Responses/RepBehaviourScriptGet.d.ts +0 -13
- package/commands/Behaviours/Scripts/Responses/RepBehaviourScriptList.d.ts +0 -25
- package/commands/Behaviours/Scripts/Responses/RepBehaviourScriptMerge.d.ts +0 -13
- package/commands/Companies/Requests/Parameters/ParamCompanyMerge.d.ts +0 -52
- package/commands/Companies/Requests/Parameters/ParamCompanyResellerMerge.d.ts +0 -84
- package/commands/Companies/Requests/Parameters/ParamEmailServer.d.ts +0 -64
- package/commands/Companies/Requests/Parameters/ParamPasswordPolicy.d.ts +0 -40
- package/commands/Companies/Requests/Parameters/ParamSessionPolicy.d.ts +0 -36
- package/commands/Companies/Requests/Parameters/ParamSmsServer.d.ts +0 -20
- package/commands/Companies/Requests/PayCompany.d.ts +0 -18
- package/commands/Companies/Requests/PayCompanyBatchDelete.d.ts +0 -15
- package/commands/Companies/Requests/PayCompanyBatchMerge.d.ts +0 -15
- package/commands/Companies/Requests/PayCompanyDelete.d.ts +0 -9
- package/commands/Companies/Requests/PayCompanyDirectoryGet.d.ts +0 -15
- package/commands/Companies/Requests/PayCompanyDirectoryList.d.ts +0 -27
- package/commands/Companies/Requests/PayCompanyGeneralGet.d.ts +0 -15
- package/commands/Companies/Requests/PayCompanyGeneralList.d.ts +0 -36
- package/commands/Companies/Requests/PayCompanyGet.d.ts +0 -15
- package/commands/Companies/Requests/PayCompanyList.d.ts +0 -6
- package/commands/Companies/Requests/PayCompanyMerge.d.ts +0 -20
- package/commands/Companies/Requests/PayCompanyPoliciesGet.d.ts +0 -15
- package/commands/Companies/Requests/PayCompanyPoliciesList.d.ts +0 -27
- package/commands/Companies/Requests/PayCompanyPolicyGet.d.ts +0 -15
- package/commands/Companies/Requests/PayCompanyPolicyList.d.ts +0 -27
- package/commands/Companies/Requests/PayCompanyResellerDelete.d.ts +0 -9
- package/commands/Companies/Requests/PayCompanyResellerGet.d.ts +0 -15
- package/commands/Companies/Requests/PayCompanyResellerList.d.ts +0 -27
- package/commands/Companies/Requests/PayCompanyResellerMerge.d.ts +0 -20
- package/commands/Companies/Requests/PayCompanyResellerRestore.d.ts +0 -9
- package/commands/Companies/Requests/PayCompanyRestore.d.ts +0 -9
- package/commands/Companies/Requests/PayCompanyStyleGet.d.ts +0 -15
- package/commands/Companies/Requests/PayCompanyStyleList.d.ts +0 -27
- package/commands/Companies/Requests/PayCompanyStylesGet.d.ts +0 -15
- package/commands/Companies/Requests/PayCompanyStylesList.d.ts +0 -27
- package/commands/Companies/Responses/RepCompanyBatchDelete.d.ts +0 -14
- package/commands/Companies/Responses/RepCompanyBatchMerge.d.ts +0 -13
- package/commands/Companies/Responses/RepCompanyDelete.d.ts +0 -14
- package/commands/Companies/Responses/RepCompanyDirectoryGet.d.ts +0 -14
- package/commands/Companies/Responses/RepCompanyDirectoryList.d.ts +0 -25
- package/commands/Companies/Responses/RepCompanyGeneralGet.d.ts +0 -14
- package/commands/Companies/Responses/RepCompanyGeneralList.d.ts +0 -25
- package/commands/Companies/Responses/RepCompanyGet.d.ts +0 -13
- package/commands/Companies/Responses/RepCompanyList.d.ts +0 -6
- package/commands/Companies/Responses/RepCompanyMerge.d.ts +0 -13
- package/commands/Companies/Responses/RepCompanyPoliciesGet.d.ts +0 -12
- package/commands/Companies/Responses/RepCompanyPoliciesList.d.ts +0 -23
- package/commands/Companies/Responses/RepCompanyPolicyGet.d.ts +0 -14
- package/commands/Companies/Responses/RepCompanyPolicyList.d.ts +0 -25
- package/commands/Companies/Responses/RepCompanyResellerDelete.d.ts +0 -13
- package/commands/Companies/Responses/RepCompanyResellerGet.d.ts +0 -14
- package/commands/Companies/Responses/RepCompanyResellerList.d.ts +0 -25
- package/commands/Companies/Responses/RepCompanyResellerMerge.d.ts +0 -13
- package/commands/Companies/Responses/RepCompanyStyleGet.d.ts +0 -14
- package/commands/Companies/Responses/RepCompanyStyleList.d.ts +0 -25
- package/commands/Companies/Responses/RepCompanyStylesGet.d.ts +0 -12
- package/commands/Companies/Responses/RepCompanyStylesList.d.ts +0 -23
- package/commands/Dispatch/DispatchJob/Requests/Parameters/ParamDispatchJobCancel.d.ts +0 -23
- package/commands/Dispatch/DispatchJob/Requests/Parameters/ParamDispatchJobChange.d.ts +0 -26
- package/commands/Dispatch/DispatchJob/Requests/Parameters/ParamDispatchJobMerge.d.ts +0 -58
- package/commands/Dispatch/DispatchJob/Requests/Parameters/ParamDispatchStepChange.d.ts +0 -27
- package/commands/Dispatch/DispatchJob/Requests/Parameters/ParamDispatchStepMerge.d.ts +0 -43
- package/commands/Dispatch/DispatchJob/Requests/PayDispatchJob.d.ts +0 -33
- package/commands/Dispatch/DispatchJob/Requests/PayDispatchJobBatchCancel.d.ts +0 -15
- package/commands/Dispatch/DispatchJob/Requests/PayDispatchJobBatchChange.d.ts +0 -15
- package/commands/Dispatch/DispatchJob/Requests/PayDispatchJobBatchDelete.d.ts +0 -15
- package/commands/Dispatch/DispatchJob/Requests/PayDispatchJobBatchMerge.d.ts +0 -15
- package/commands/Dispatch/DispatchJob/Requests/PayDispatchJobCancel.d.ts +0 -20
- package/commands/Dispatch/DispatchJob/Requests/PayDispatchJobChange.d.ts +0 -21
- package/commands/Dispatch/DispatchJob/Requests/PayDispatchJobDelete.d.ts +0 -9
- package/commands/Dispatch/DispatchJob/Requests/PayDispatchJobGet.d.ts +0 -15
- package/commands/Dispatch/DispatchJob/Requests/PayDispatchJobList.d.ts +0 -102
- package/commands/Dispatch/DispatchJob/Requests/PayDispatchJobMerge.d.ts +0 -20
- package/commands/Dispatch/DispatchJob/Requests/PayDispatchJobRestore.d.ts +0 -9
- package/commands/Dispatch/DispatchJob/Responses/RepDispatchJobBatchDelete.d.ts +0 -14
- package/commands/Dispatch/DispatchJob/Responses/RepDispatchJobBatchMerge.d.ts +0 -13
- package/commands/Dispatch/DispatchJob/Responses/RepDispatchJobDelete.d.ts +0 -14
- package/commands/Dispatch/DispatchJob/Responses/RepDispatchJobGet.d.ts +0 -13
- package/commands/Dispatch/DispatchJob/Responses/RepDispatchJobList.d.ts +0 -88
- package/commands/Dispatch/DispatchJob/Responses/RepDispatchJobMerge.d.ts +0 -13
- package/commands/Dispatch/DispatchTask/Requests/Parameters/ParamDispatchTaskMerge.d.ts +0 -71
- package/commands/Dispatch/DispatchTask/Requests/PayDispatchTask.d.ts +0 -18
- package/commands/Dispatch/DispatchTask/Requests/PayDispatchTaskBatchDelete.d.ts +0 -15
- package/commands/Dispatch/DispatchTask/Requests/PayDispatchTaskBatchMerge.d.ts +0 -15
- package/commands/Dispatch/DispatchTask/Requests/PayDispatchTaskDelete.d.ts +0 -9
- package/commands/Dispatch/DispatchTask/Requests/PayDispatchTaskGet.d.ts +0 -15
- package/commands/Dispatch/DispatchTask/Requests/PayDispatchTaskList.d.ts +0 -68
- package/commands/Dispatch/DispatchTask/Requests/PayDispatchTaskMerge.d.ts +0 -20
- package/commands/Dispatch/DispatchTask/Requests/PayDispatchTaskRestore.d.ts +0 -9
- package/commands/Dispatch/DispatchTask/Responses/RepDispatchTaskBatchDelete.d.ts +0 -14
- package/commands/Dispatch/DispatchTask/Responses/RepDispatchTaskBatchMerge.d.ts +0 -13
- package/commands/Dispatch/DispatchTask/Responses/RepDispatchTaskDelete.d.ts +0 -14
- package/commands/Dispatch/DispatchTask/Responses/RepDispatchTaskGet.d.ts +0 -13
- package/commands/Dispatch/DispatchTask/Responses/RepDispatchTaskList.d.ts +0 -63
- package/commands/Dispatch/DispatchTask/Responses/RepDispatchTaskMerge.d.ts +0 -13
- package/commands/Hosting/Documents/Requests/Parameters/ParamDocumentMerge.d.ts +0 -36
- package/commands/Hosting/Documents/Requests/PayDocument.d.ts +0 -18
- package/commands/Hosting/Documents/Requests/PayDocumentBatchDelete.d.ts +0 -15
- package/commands/Hosting/Documents/Requests/PayDocumentBatchMerge.d.ts +0 -15
- package/commands/Hosting/Documents/Requests/PayDocumentDelete.d.ts +0 -9
- package/commands/Hosting/Documents/Requests/PayDocumentGet.d.ts +0 -15
- package/commands/Hosting/Documents/Requests/PayDocumentList.d.ts +0 -27
- package/commands/Hosting/Documents/Requests/PayDocumentMerge.d.ts +0 -20
- package/commands/Hosting/Documents/Requests/PayDocumentRestore.d.ts +0 -9
- package/commands/Hosting/Documents/Responses/RepDocumentBatchDelete.d.ts +0 -14
- package/commands/Hosting/Documents/Responses/RepDocumentBatchMerge.d.ts +0 -13
- package/commands/Hosting/Documents/Responses/RepDocumentDelete.d.ts +0 -14
- package/commands/Hosting/Documents/Responses/RepDocumentGet.d.ts +0 -13
- package/commands/Hosting/Documents/Responses/RepDocumentList.d.ts +0 -25
- package/commands/Hosting/Documents/Responses/RepDocumentMerge.d.ts +0 -13
- package/commands/Hosting/FormResults/Requests/PayFormResult.d.ts +0 -18
- package/commands/Hosting/FormResults/Requests/PayFormResultBatchDelete.d.ts +0 -15
- package/commands/Hosting/FormResults/Requests/PayFormResultList.d.ts +0 -27
- package/commands/Hosting/FormResults/Requests/PayFormResultMerge.d.ts +0 -20
- package/commands/Hosting/FormResults/Responses/RepFormResultBatchDelete.d.ts +0 -14
- package/commands/Hosting/FormResults/Responses/RepFormResultDelete.d.ts +0 -14
- package/commands/Hosting/FormResults/Responses/RepFormResultGet.d.ts +0 -14
- package/commands/Hosting/FormResults/Responses/RepFormResultList.d.ts +0 -25
- package/commands/Hosting/FormTemplates/Requests/Parameters/ParamFormField.d.ts +0 -77
- package/commands/Hosting/FormTemplates/Requests/Parameters/ParamFormTemplateMerge.d.ts +0 -19
- package/commands/Hosting/FormTemplates/Responses/RepFormTemplateBatchDelete.d.ts +0 -14
- package/commands/Hosting/FormTemplates/Responses/RepFormTemplateDelete.d.ts +0 -15
- package/commands/Hosting/FormTemplates/Responses/RepFormTemplateGet.d.ts +0 -13
- package/commands/Hosting/FormTemplates/Responses/RepFormTemplateList.d.ts +0 -25
- package/commands/Images/Dashcams/Requests/PayDashcam.d.ts +0 -18
- package/commands/Images/Dashcams/Requests/PayDashcamGet.d.ts +0 -15
- package/commands/Images/Dashcams/Requests/PayDashcamList.d.ts +0 -103
- package/commands/Images/Dashcams/Responses/RepDashcamGet.d.ts +0 -13
- package/commands/Images/Dashcams/Responses/RepDashcamList.d.ts +0 -89
- package/commands/Images/Icons/Requests/Parameters/ParamIconMerge.d.ts +0 -33
- package/commands/Images/Icons/Requests/PayIcon.d.ts +0 -18
- package/commands/Images/Icons/Requests/PayIconBatchDelete.d.ts +0 -15
- package/commands/Images/Icons/Requests/PayIconBatchMerge.d.ts +0 -15
- package/commands/Images/Icons/Requests/PayIconDelete.d.ts +0 -9
- package/commands/Images/Icons/Requests/PayIconGet.d.ts +0 -15
- package/commands/Images/Icons/Requests/PayIconList.d.ts +0 -27
- package/commands/Images/Icons/Requests/PayIconMerge.d.ts +0 -20
- package/commands/Images/Icons/Requests/PayIconRestore.d.ts +0 -9
- package/commands/Images/Icons/Responses/RepIconBatchDelete.d.ts +0 -14
- package/commands/Images/Icons/Responses/RepIconBatchMerge.d.ts +0 -13
- package/commands/Images/Icons/Responses/RepIconDelete.d.ts +0 -14
- package/commands/Images/Icons/Responses/RepIconGet.d.ts +0 -14
- package/commands/Images/Icons/Responses/RepIconList.d.ts +0 -25
- package/commands/Images/Icons/Responses/RepIconMerge.d.ts +0 -13
- package/commands/Images/Pictures/Requests/Parameters/ParamPictureMerge.d.ts +0 -29
- package/commands/Images/Pictures/Requests/PayPicture.d.ts +0 -18
- package/commands/Images/Pictures/Requests/PayPictureBatchDelete.d.ts +0 -15
- package/commands/Images/Pictures/Requests/PayPictureBatchMerge.d.ts +0 -15
- package/commands/Images/Pictures/Requests/PayPictureDelete.d.ts +0 -9
- package/commands/Images/Pictures/Requests/PayPictureGet.d.ts +0 -15
- package/commands/Images/Pictures/Requests/PayPictureList.d.ts +0 -27
- package/commands/Images/Pictures/Requests/PayPictureMerge.d.ts +0 -20
- package/commands/Images/Pictures/Requests/PayPictureRestore.d.ts +0 -9
- package/commands/Images/Pictures/Responses/RepPictureBatchDelete.d.ts +0 -14
- package/commands/Images/Pictures/Responses/RepPictureBatchMerge.d.ts +0 -13
- package/commands/Images/Pictures/Responses/RepPictureDelete.d.ts +0 -14
- package/commands/Images/Pictures/Responses/RepPictureGet.d.ts +0 -13
- package/commands/Images/Pictures/Responses/RepPictureList.d.ts +0 -25
- package/commands/Images/Pictures/Responses/RepPictureMerge.d.ts +0 -13
- package/commands/Maintenance/Jobs/Requests/Parameters/ParamMaintenanceJobMerge.d.ts +0 -32
- package/commands/Maintenance/Jobs/Requests/PayMaintenanceJob.d.ts +0 -18
- package/commands/Maintenance/Jobs/Requests/PayMaintenanceJobBatchDelete.d.ts +0 -15
- package/commands/Maintenance/Jobs/Requests/PayMaintenanceJobBatchMerge.d.ts +0 -15
- package/commands/Maintenance/Jobs/Requests/PayMaintenanceJobDelete.d.ts +0 -9
- package/commands/Maintenance/Jobs/Requests/PayMaintenanceJobGet.d.ts +0 -15
- package/commands/Maintenance/Jobs/Requests/PayMaintenanceJobList.d.ts +0 -27
- package/commands/Maintenance/Jobs/Requests/PayMaintenanceJobMerge.d.ts +0 -20
- package/commands/Maintenance/Jobs/Requests/PayMaintenanceJobRestore.d.ts +0 -9
- package/commands/Maintenance/Jobs/Responses/RepMaintenanceJobBatchDelete.d.ts +0 -14
- package/commands/Maintenance/Jobs/Responses/RepMaintenanceJobBatchMerge.d.ts +0 -14
- package/commands/Maintenance/Jobs/Responses/RepMaintenanceJobDelete.d.ts +0 -15
- package/commands/Maintenance/Jobs/Responses/RepMaintenanceJobGet.d.ts +0 -13
- package/commands/Maintenance/Jobs/Responses/RepMaintenanceJobList.d.ts +0 -25
- package/commands/Maintenance/Jobs/Responses/RepMaintenanceJobMerge.d.ts +0 -13
- package/commands/Maintenance/Schedules/Requests/Parameters/ParamMaintenanceScheduleMerge.d.ts +0 -41
- package/commands/Maintenance/Schedules/Requests/PayMaintenanceSchedule.d.ts +0 -18
- package/commands/Maintenance/Schedules/Requests/PayMaintenanceScheduleBatchDelete.d.ts +0 -15
- package/commands/Maintenance/Schedules/Requests/PayMaintenanceScheduleBatchMerge.d.ts +0 -15
- package/commands/Maintenance/Schedules/Requests/PayMaintenanceScheduleDelete.d.ts +0 -9
- package/commands/Maintenance/Schedules/Requests/PayMaintenanceScheduleGet.d.ts +0 -15
- package/commands/Maintenance/Schedules/Requests/PayMaintenanceScheduleList.d.ts +0 -27
- package/commands/Maintenance/Schedules/Requests/PayMaintenanceScheduleMerge.d.ts +0 -20
- package/commands/Maintenance/Schedules/Requests/PayMaintenanceScheduleRestore.d.ts +0 -9
- package/commands/Maintenance/Schedules/Responses/RepMaintenanceScheduleBatchDelete.d.ts +0 -14
- package/commands/Maintenance/Schedules/Responses/RepMaintenanceScheduleBatchMerge.d.ts +0 -13
- package/commands/Maintenance/Schedules/Responses/RepMaintenanceScheduleDelete.d.ts +0 -14
- package/commands/Maintenance/Schedules/Responses/RepMaintenanceScheduleGet.d.ts +0 -13
- package/commands/Maintenance/Schedules/Responses/RepMaintenanceScheduleList.d.ts +0 -25
- package/commands/Maintenance/Schedules/Responses/RepMaintenanceScheduleMerge.d.ts +0 -13
- package/commands/Messaging/Requests/Parameters/ParamAssetMessageMerge.d.ts +0 -21
- package/commands/Messaging/Requests/PayAssetMessage.d.ts +0 -18
- package/commands/Messaging/Requests/PayAssetMessageBatchDelete.d.ts +0 -15
- package/commands/Messaging/Requests/PayAssetMessageBatchMerge.d.ts +0 -15
- package/commands/Messaging/Requests/PayAssetMessageDelete.d.ts +0 -9
- package/commands/Messaging/Requests/PayAssetMessageGet.d.ts +0 -15
- package/commands/Messaging/Requests/PayAssetMessageList.d.ts +0 -39
- package/commands/Messaging/Requests/PayAssetMessageMerge.d.ts +0 -20
- package/commands/Messaging/Requests/PayAssetMessageRestore.d.ts +0 -9
- package/commands/Messaging/Responses/RepAssetMessageBatchDelete.d.ts +0 -14
- package/commands/Messaging/Responses/RepAssetMessageBatchMerge.d.ts +0 -13
- package/commands/Messaging/Responses/RepAssetMessageDelete.d.ts +0 -15
- package/commands/Messaging/Responses/RepAssetMessageGet.d.ts +0 -14
- package/commands/Messaging/Responses/RepAssetMessageList.d.ts +0 -38
- package/commands/Messaging/Responses/RepAssetMessageMerge.d.ts +0 -13
- package/commands/Places/Responses/RepPlaceBatchDelete.d.ts +0 -15
- package/commands/Places/Responses/RepPlaceDelete.d.ts +0 -15
- package/commands/Places/Responses/RepPlaceGet.d.ts +0 -13
- package/commands/Places/Responses/RepPlaceList.d.ts +0 -25
- package/commands/Providers/Configs/Requests/Parameters/ParamProviderConfigMerge.d.ts +0 -24
- package/commands/Providers/Configs/Requests/PayProviderConfig.d.ts +0 -18
- package/commands/Providers/Configs/Requests/PayProviderConfigBatchDelete.d.ts +0 -15
- package/commands/Providers/Configs/Requests/PayProviderConfigBatchMerge.d.ts +0 -15
- package/commands/Providers/Configs/Requests/PayProviderConfigDelete.d.ts +0 -9
- package/commands/Providers/Configs/Requests/PayProviderConfigGet.d.ts +0 -15
- package/commands/Providers/Configs/Requests/PayProviderConfigList.d.ts +0 -38
- package/commands/Providers/Configs/Requests/PayProviderConfigMerge.d.ts +0 -20
- package/commands/Providers/Configs/Requests/PayProviderConfigRestore.d.ts +0 -9
- package/commands/Providers/Configs/Responses/RepProviderConfigBatchDelete.d.ts +0 -14
- package/commands/Providers/Configs/Responses/RepProviderConfigBatchMerge.d.ts +0 -13
- package/commands/Providers/Configs/Responses/RepProviderConfigDelete.d.ts +0 -14
- package/commands/Providers/Configs/Responses/RepProviderConfigGet.d.ts +0 -13
- package/commands/Providers/Configs/Responses/RepProviderConfigList.d.ts +0 -36
- package/commands/Providers/Configs/Responses/RepProviderConfigMerge.d.ts +0 -13
- package/commands/Providers/ConfigurationTypes/Requests/PayProviderConfigurationType.d.ts +0 -18
- package/commands/Providers/ConfigurationTypes/Requests/PayProviderConfigurationTypeGet.d.ts +0 -15
- package/commands/Providers/ConfigurationTypes/Requests/PayProviderConfigurationTypeList.d.ts +0 -27
- package/commands/Providers/ConfigurationTypes/Responses/RepProviderConfigurationTypeGet.d.ts +0 -13
- package/commands/Providers/ConfigurationTypes/Responses/RepProviderConfigurationTypeList.d.ts +0 -25
- package/commands/Providers/Configurations/Requests/Parameters/ParamProviderConfigurationMerge.d.ts +0 -24
- package/commands/Providers/Configurations/Requests/PayProviderConfiguration.d.ts +0 -18
- package/commands/Providers/Configurations/Requests/PayProviderConfigurationBatchDelete.d.ts +0 -15
- package/commands/Providers/Configurations/Requests/PayProviderConfigurationBatchMerge.d.ts +0 -15
- package/commands/Providers/Configurations/Requests/PayProviderConfigurationDelete.d.ts +0 -9
- package/commands/Providers/Configurations/Requests/PayProviderConfigurationGet.d.ts +0 -15
- package/commands/Providers/Configurations/Requests/PayProviderConfigurationList.d.ts +0 -27
- package/commands/Providers/Configurations/Requests/PayProviderConfigurationMerge.d.ts +0 -20
- package/commands/Providers/Configurations/Requests/PayProviderConfigurationRestore.d.ts +0 -9
- package/commands/Providers/Configurations/Responses/RepProviderConfigurationBatchDelete.d.ts +0 -14
- package/commands/Providers/Configurations/Responses/RepProviderConfigurationBatchMerge.d.ts +0 -13
- package/commands/Providers/Configurations/Responses/RepProviderConfigurationDelete.d.ts +0 -14
- package/commands/Providers/Configurations/Responses/RepProviderConfigurationGet.d.ts +0 -13
- package/commands/Providers/Configurations/Responses/RepProviderConfigurationList.d.ts +0 -25
- package/commands/Providers/Configurations/Responses/RepProviderConfigurationMerge.d.ts +0 -13
- package/commands/Providers/Providers/Requests/Parameters/ParamProviderMerge.d.ts +0 -32
- package/commands/Providers/Providers/Requests/PayProvider.d.ts +0 -18
- package/commands/Providers/Providers/Requests/PayProviderAdvancedGet.d.ts +0 -15
- package/commands/Providers/Providers/Requests/PayProviderAdvancedList.d.ts +0 -43
- package/commands/Providers/Providers/Requests/PayProviderBatchDelete.d.ts +0 -15
- package/commands/Providers/Providers/Requests/PayProviderBatchMerge.d.ts +0 -15
- package/commands/Providers/Providers/Requests/PayProviderControlGet.d.ts +0 -15
- package/commands/Providers/Providers/Requests/PayProviderControlList.d.ts +0 -43
- package/commands/Providers/Providers/Requests/PayProviderDelete.d.ts +0 -9
- package/commands/Providers/Providers/Requests/PayProviderGeneralGet.d.ts +0 -15
- package/commands/Providers/Providers/Requests/PayProviderGeneralList.d.ts +0 -43
- package/commands/Providers/Providers/Requests/PayProviderGet.d.ts +0 -15
- package/commands/Providers/Providers/Requests/PayProviderList.d.ts +0 -42
- package/commands/Providers/Providers/Requests/PayProviderMerge.d.ts +0 -20
- package/commands/Providers/Providers/Requests/PayProviderRestore.d.ts +0 -9
- package/commands/Providers/Providers/Responses/RepProviderAdvancedGet.d.ts +0 -14
- package/commands/Providers/Providers/Responses/RepProviderAdvancedList.d.ts +0 -36
- package/commands/Providers/Providers/Responses/RepProviderBatchDelete.d.ts +0 -14
- package/commands/Providers/Providers/Responses/RepProviderBatchMerge.d.ts +0 -14
- package/commands/Providers/Providers/Responses/RepProviderControlGet.d.ts +0 -14
- package/commands/Providers/Providers/Responses/RepProviderControlList.d.ts +0 -36
- package/commands/Providers/Providers/Responses/RepProviderDelete.d.ts +0 -14
- package/commands/Providers/Providers/Responses/RepProviderGeneralGet.d.ts +0 -14
- package/commands/Providers/Providers/Responses/RepProviderGeneralList.d.ts +0 -36
- package/commands/Providers/Providers/Responses/RepProviderGet.d.ts +0 -14
- package/commands/Providers/Providers/Responses/RepProviderList.d.ts +0 -36
- package/commands/Providers/Providers/Responses/RepProviderMerge.d.ts +0 -13
- package/commands/Providers/Registrations/Requests/Parameters/ParamProviderRegistrationMerge.d.ts +0 -18
- package/commands/Providers/Registrations/Requests/PayProviderRegistration.d.ts +0 -18
- package/commands/Providers/Registrations/Requests/PayProviderRegistrationBatchDelete.d.ts +0 -15
- package/commands/Providers/Registrations/Requests/PayProviderRegistrationBatchMerge.d.ts +0 -15
- package/commands/Providers/Registrations/Requests/PayProviderRegistrationDelete.d.ts +0 -9
- package/commands/Providers/Registrations/Requests/PayProviderRegistrationGet.d.ts +0 -15
- package/commands/Providers/Registrations/Requests/PayProviderRegistrationList.d.ts +0 -27
- package/commands/Providers/Registrations/Requests/PayProviderRegistrationMerge.d.ts +0 -15
- package/commands/Providers/Registrations/Requests/PayProviderRegistrationRestore.d.ts +0 -9
- package/commands/Providers/Registrations/Responses/RepProviderRegistrationBatchDelete.d.ts +0 -14
- package/commands/Providers/Registrations/Responses/RepProviderRegistrationBatchMerge.d.ts +0 -14
- package/commands/Providers/Registrations/Responses/RepProviderRegistrationDelete.d.ts +0 -14
- package/commands/Providers/Registrations/Responses/RepProviderRegistrationGet.d.ts +0 -14
- package/commands/Providers/Registrations/Responses/RepProviderRegistrationList.d.ts +0 -25
- package/commands/Providers/Registrations/Responses/RepProviderRegistrationMerge.d.ts +0 -13
- package/commands/Providers/Scripts/Requests/Parameters/ParamProviderScriptMerge.d.ts +0 -20
- package/commands/Providers/Scripts/Requests/PayProviderScript.d.ts +0 -18
- package/commands/Providers/Scripts/Requests/PayProviderScriptBatchDelete.d.ts +0 -15
- package/commands/Providers/Scripts/Requests/PayProviderScriptBatchMerge.d.ts +0 -15
- package/commands/Providers/Scripts/Requests/PayProviderScriptDelete.d.ts +0 -9
- package/commands/Providers/Scripts/Requests/PayProviderScriptGet.d.ts +0 -15
- package/commands/Providers/Scripts/Requests/PayProviderScriptList.d.ts +0 -27
- package/commands/Providers/Scripts/Requests/PayProviderScriptMerge.d.ts +0 -20
- package/commands/Providers/Scripts/Requests/PayProviderScriptRestore.d.ts +0 -9
- package/commands/Providers/Scripts/Responses/RepProviderScriptBatchDelete.d.ts +0 -14
- package/commands/Providers/Scripts/Responses/RepProviderScriptBatchMerge.d.ts +0 -13
- package/commands/Providers/Scripts/Responses/RepProviderScriptDelete.d.ts +0 -15
- package/commands/Providers/Scripts/Responses/RepProviderScriptGet.d.ts +0 -13
- package/commands/Providers/Scripts/Responses/RepProviderScriptList.d.ts +0 -25
- package/commands/Providers/Scripts/Responses/RepProviderScriptMerge.d.ts +0 -14
- package/commands/Reports/Parameters/ParamReportOptions.d.ts +0 -22
- package/commands/Reports/Parameters/ParamReportScorecardRules.d.ts +0 -11
- package/commands/Reports/Results/Requests/Parameters/ParamReportResultMerge.d.ts +0 -20
- package/commands/Reports/Results/Requests/PayReportResult.d.ts +0 -18
- package/commands/Reports/Results/Requests/PayReportResultBatchDelete.d.ts +0 -15
- package/commands/Reports/Results/Requests/PayReportResultBatchMerge.d.ts +0 -15
- package/commands/Reports/Results/Requests/PayReportResultDelete.d.ts +0 -9
- package/commands/Reports/Results/Requests/PayReportResultGet.d.ts +0 -15
- package/commands/Reports/Results/Requests/PayReportResultList.d.ts +0 -27
- package/commands/Reports/Results/Requests/PayReportResultMerge.d.ts +0 -20
- package/commands/Reports/Results/Requests/PayReportResultRestore.d.ts +0 -9
- package/commands/Reports/Results/Responses/RepReportResultBatchDelete.d.ts +0 -14
- package/commands/Reports/Results/Responses/RepReportResultBatchMerge.d.ts +0 -13
- package/commands/Reports/Results/Responses/RepReportResultDelete.d.ts +0 -14
- package/commands/Reports/Results/Responses/RepReportResultGet.d.ts +0 -13
- package/commands/Reports/Results/Responses/RepReportResultList.d.ts +0 -25
- package/commands/Reports/Results/Responses/RepReportResultMerge.d.ts +0 -13
- package/commands/Reports/Schedules/Requests/Parameters/ParamReportNotify.d.ts +0 -17
- package/commands/Reports/Schedules/Requests/Parameters/ParamReportRecurrence.d.ts +0 -20
- package/commands/Reports/Schedules/Requests/Parameters/ParamReportScheduleMerge.d.ts +0 -21
- package/commands/Reports/Schedules/Requests/PayReportSchedule.d.ts +0 -18
- package/commands/Reports/Schedules/Requests/PayReportScheduleBatchDelete.d.ts +0 -15
- package/commands/Reports/Schedules/Requests/PayReportScheduleBatchMerge.d.ts +0 -15
- package/commands/Reports/Schedules/Requests/PayReportScheduleDelete.d.ts +0 -9
- package/commands/Reports/Schedules/Requests/PayReportScheduleGet.d.ts +0 -15
- package/commands/Reports/Schedules/Requests/PayReportScheduleList.d.ts +0 -27
- package/commands/Reports/Schedules/Requests/PayReportScheduleMerge.d.ts +0 -20
- package/commands/Reports/Schedules/Requests/PayReportScheduleRestore.d.ts +0 -9
- package/commands/Reports/Schedules/Responses/RepReportScheduleBatchDelete.d.ts +0 -14
- package/commands/Reports/Schedules/Responses/RepReportScheduleBatchMerge.d.ts +0 -13
- package/commands/Reports/Schedules/Responses/RepReportScheduleDelete.d.ts +0 -14
- package/commands/Reports/Schedules/Responses/RepReportScheduleGet.d.ts +0 -13
- package/commands/Reports/Schedules/Responses/RepReportScheduleList.d.ts +0 -25
- package/commands/Reports/Schedules/Responses/RepReportScheduleMerge.d.ts +0 -13
- package/commands/Reports/Templates/Requests/Parameters/ParamReportTemplateMerge.d.ts +0 -19
- package/commands/Reports/Templates/Requests/PayReportTemplate.d.ts +0 -18
- package/commands/Reports/Templates/Requests/PayReportTemplateBatchDelete.d.ts +0 -15
- package/commands/Reports/Templates/Requests/PayReportTemplateBatchMerge.d.ts +0 -15
- package/commands/Reports/Templates/Requests/PayReportTemplateDelete.d.ts +0 -9
- package/commands/Reports/Templates/Requests/PayReportTemplateGet.d.ts +0 -15
- package/commands/Reports/Templates/Requests/PayReportTemplateList.d.ts +0 -27
- package/commands/Reports/Templates/Requests/PayReportTemplateMerge.d.ts +0 -20
- package/commands/Reports/Templates/Requests/PayReportTemplateRestore.d.ts +0 -9
- package/commands/Reports/Templates/Responses/RepReportTemplateBatchDelete.d.ts +0 -14
- package/commands/Reports/Templates/Responses/RepReportTemplateBatchMerge.d.ts +0 -13
- package/commands/Reports/Templates/Responses/RepReportTemplateDelete.d.ts +0 -14
- package/commands/Reports/Templates/Responses/RepReportTemplateGet.d.ts +0 -13
- package/commands/Reports/Templates/Responses/RepReportTemplateList.d.ts +0 -25
- package/commands/Reports/Templates/Responses/RepReportTemplateMerge.d.ts +0 -13
- package/commands/WebSocket/Requests/Parameters/SubscriptionType.d.ts +0 -212
- package/commands/WebSocket/Requests/PaySubscriptionDelete.d.ts +0 -10
- package/commands/WebSocket/Requests/PaySubscriptionList.d.ts +0 -10
- package/commands/WebSocket/Requests/PaySubscriptionMerge.d.ts +0 -23
- package/commands/WebSocket/Responses/Content/Subscription.d.ts +0 -17
- package/commands/WebSocket/Responses/RepSubscription.d.ts +0 -29
- package/commands/WebSocket/Responses/RepSubscriptionList.d.ts +0 -13
- package/index.d.ts +0 -596
- package/tests/hello.test.d.ts +0 -1
- package/trakit-commands.min.js +0 -7
- package/vitest.config.d.ts +0 -2
- /package/{commands → _publish}/API/Requests/Parameters/ParamMerge.d.ts +0 -0
- /package/{commands → _publish}/API/Responses/Errors/ErrorDetail_fromJSON.d.ts +0 -0
- /package/{commands → _publish}/Hosting/FormResults/Requests/Parameters/ParamFormResultMerge.d.ts +0 -0
- /package/{commands → _publish}/Hosting/FormResults/Requests/PayFormResultBatchMerge.d.ts +0 -0
- /package/{commands → _publish}/Hosting/FormResults/Requests/PayFormResultDelete.d.ts +0 -0
- /package/{commands → _publish}/Hosting/FormResults/Requests/PayFormResultGet.d.ts +0 -0
- /package/{commands → _publish}/Hosting/FormResults/Requests/PayFormResultRestore.d.ts +0 -0
- /package/{commands → _publish}/Hosting/FormResults/Responses/RepFormResultBatchMerge.d.ts +0 -0
- /package/{commands → _publish}/Hosting/FormResults/Responses/RepFormResultMerge.d.ts +0 -0
- /package/{commands → _publish}/Hosting/FormTemplates/Requests/PayFormTemplate.d.ts +0 -0
- /package/{commands → _publish}/Hosting/FormTemplates/Requests/PayFormTemplateBatchDelete.d.ts +0 -0
- /package/{commands → _publish}/Hosting/FormTemplates/Requests/PayFormTemplateBatchMerge.d.ts +0 -0
- /package/{commands → _publish}/Hosting/FormTemplates/Requests/PayFormTemplateDelete.d.ts +0 -0
- /package/{commands → _publish}/Hosting/FormTemplates/Requests/PayFormTemplateGet.d.ts +0 -0
- /package/{commands → _publish}/Hosting/FormTemplates/Requests/PayFormTemplateList.d.ts +0 -0
- /package/{commands → _publish}/Hosting/FormTemplates/Requests/PayFormTemplateMerge.d.ts +0 -0
- /package/{commands → _publish}/Hosting/FormTemplates/Requests/PayFormTemplateRestore.d.ts +0 -0
- /package/{commands → _publish}/Hosting/FormTemplates/Responses/RepFormTemplateBatchMerge.d.ts +0 -0
- /package/{commands → _publish}/Hosting/FormTemplates/Responses/RepFormTemplateMerge.d.ts +0 -0
- /package/{commands → _publish}/Places/Requests/Parameters/ParamPlaceMerge.d.ts +0 -0
- /package/{commands → _publish}/Places/Requests/PayPlace.d.ts +0 -0
- /package/{commands → _publish}/Places/Requests/PayPlaceBatchDelete.d.ts +0 -0
- /package/{commands → _publish}/Places/Requests/PayPlaceBatchMerge.d.ts +0 -0
- /package/{commands → _publish}/Places/Requests/PayPlaceDelete.d.ts +0 -0
- /package/{commands → _publish}/Places/Requests/PayPlaceGet.d.ts +0 -0
- /package/{commands → _publish}/Places/Requests/PayPlaceList.d.ts +0 -0
- /package/{commands → _publish}/Places/Requests/PayPlaceMerge.d.ts +0 -0
- /package/{commands → _publish}/Places/Requests/PayPlaceRestore.d.ts +0 -0
- /package/{commands → _publish}/Places/Responses/RepPlaceBatchMerge.d.ts +0 -0
- /package/{commands → _publish}/Places/Responses/RepPlaceMerge.d.ts +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{serialization as e,utility as t,storage as s,Contact as r,PermissionType as n,PermissionLevel as i,PermissionMethod as a,UserGroup as o,Machine as c,SessionPolicy as p,PasswordPolicy as h,UserNotifications as l,Session as u,UserAdvanced as y,User as d,UserGeneral as R,PermissionEscalation as P,TimeSpan as m,AssetAttribute as g,AssetAdvanced as C,Asset as B,AssetDispatch as L,DispatchDirection as D,AssetGeneral as x,BehaviourParameter as w,Behaviour as v,BehaviourLog as S,BehaviourScript as M,CompanyDirectory as f,Company as G,CompanyGeneral as A,CompanyPolicy as b,CompanyReseller as J,ColourStyle as N,CompanyStyle as T,LatLng as I,DispatchJob as O,DispatchTask as U,Document as k,FormResult as F,FormTemplate as K,Dashcam as _,DashcamLive as j,DashcamMediaType as z,IconLabel as E,IconGlyph as H,Icon as q,Rectangle as V,Picture as W,MaintenanceJob as Z,MaintenanceInterval as Q,MaintenanceSchedule as X,AssetMessage as Y,PlaceType as $,Place as ee,ProviderConfig as te,ProviderConfiguration as se,ProviderConfigurationType as re,ProviderAdvanced as ne,Provider as ie,ProviderControl as ae,ProviderGeneral as oe,ProviderRegistration as ce,ProviderScriptBlock as pe,ProviderScriptParameter as he,ProviderScript as le,ReportScorecardParameter as ue,ReportParameter as ye,ReportResult as de,ReportSchedule as Re,ReportTemplate as Pe}from"@trakit/objects";class me{}class ge extends me{v;constructor(e){super(),this.v=e?.v||[]}}class Ce extends ge{name;notes;otherNames;emails;phones;addresses;urls;dates;options;roles;pictures;constructor(s){super(s),this.name=s?.name??"",this.notes=s?.notes??"",this.otherNames=s?.otherNames?e.toMap(s?.otherNames):null,this.emails=s?.emails?e.toMap(s?.emails):null,this.phones=s?.phones?e.toMap(s?.phones):null,this.addresses=s?.addresses?e.toMap(s?.addresses):null,this.urls=s?.urls?e.toMap(s?.urls):null,this.dates=s?.dates?e.toMap(s?.dates):null,this.options=s?.options?e.toMap(s?.options):null,this.roles=s?.roles,this.pictures=s?.pictures?.map((e=>t.id(e)))}toJSON(){const t={};return this.name&&(t.name=this.name),this.notes&&(t.notes=this.notes),this.otherNames?.size&&(t.otherNames=e.fromMap(this.otherNames)),this.emails?.size&&(t.emails=e.fromMap(this.emails)),this.phones?.size&&(t.phones=e.fromMap(this.phones)),this.addresses?.size&&(t.addresses=e.fromMap(this.addresses)),this.urls?.size&&(t.urls=e.fromMap(this.urls)),this.dates?.size&&(t.dates=e.fromMap(this.dates)),this.options?.size&&(t.options=e.fromMap(this.options)),this.roles?.length&&(t.roles=[...this.roles]),this.pictures?.length&&(t.pictures=[...this.pictures]),t}}class Be extends Ce{id;company;constructor(e){super(e),this.id=e?.id,this.company=e?.company}toJSON(){const e={...super.toJSON()};return t.isntNaN(this.id)?(e.id=this.id,e.v=[...this.v]):t.isntNaN(this.company)&&(e.company=this.company),e}}class Le{id;constructor(e){this.id=e?.id}}const De=/Pay((?:[A-Z][a-z]+)+?)(Batch)?(Get|List|Merge|Delete|Restore|Suspend|Reactivate|Cancel|Change)(?:By(.+))?/;class Payload{reqId;constructor(e){this.reqId=e?.reqId}getAction(){const e=[...this.constructor.name.match(De)];return{kind:e[3]??"Get",object:e[1],filter:e[4]??"",batch:"Batch"===e[2]}}toJSON(){return t.isntNaN(this.reqId)?{reqId:this.reqId}:{}}}class PayContact extends Payload{contact;constructor(e){super(e),this.contact=new Le(e?.contact)}getKey(){return this.contact?.id?.toString()??""}}class xe{static fromJSON(e){return e?new xe(e):null}id;constructor(e){this.id=e?.id}getKey(){return this.id}toJSON(){return{id:this.id??null}}}class we extends xe{static fromJSON(e){return e?new we(e):null}company;constructor(e){super(e),this.company=e?.company}getCompanyId(){return this.company}toJSON(){return{...super.toJSON(),company:this.company??null}}}class ve extends we{static fromJSON(e){return e?new ve(e):null}deleted;v;constructor(e){super(e),this.deleted=!!e?.deleted,this.v=e?.v??[]}toJSON(){return{...super.toJSON(),deleted:!!this.deleted,v:[...this.v]}}}var Se,Me,fe;!function(e){e[e.success=0]="success",e[e.sessionExpired=7]="sessionExpired",e[e.userNotLoggedIn=8]="userNotLoggedIn",e[e.sessionKilled=9]="sessionKilled",e[e.loggedOut=10]="loggedOut",e[e.invalidCredentials=11]="invalidCredentials",e[e.applicationNotAllowed=12]="applicationNotAllowed",e[e.ipNotAllowed=13]="ipNotAllowed",e[e.multiUserDenied=14]="multiUserDenied",e[e.noncompliantPassword=15]="noncompliantPassword",e[e.passwordExpired=16]="passwordExpired",e[e.samePassword=17]="samePassword",e[e.sessionNotFound=19]="sessionNotFound",e[e.userGroupNotFound=30]="userGroupNotFound",e[e.userNotFound=54]="userNotFound",e[e.userNotDeleted=55]="userNotDeleted",e[e.suicide=57]="suicide",e[e.userGroupsListNotFound=60]="userGroupsListNotFound",e[e.userGroupInUse=65]="userGroupInUse",e[e.userGroupNotDeleted=66]="userGroupNotDeleted",e[e.permissionEscalation=71]="permissionEscalation",e[e.userAlreadyExists=72]="userAlreadyExists",e[e.sessionThrottled=73]="sessionThrottled",e[e.usersListNotFound=74]="usersListNotFound",e[e.userDisabled=85]="userDisabled",e[e.machineNotFound=127]="machineNotFound",e[e.machineNotDeleted=128]="machineNotDeleted",e[e.machineNotAllowed=129]="machineNotAllowed",e[e.referrerNotAllowed=131]="referrerNotAllowed",e[e.unknown=1]="unknown",e[e.service=2]="service",e[e.invalidData=3]="invalidData",e[e.permissionDenied=5]="permissionDenied",e[e.wrongVersionKey=6]="wrongVersionKey",e[e.unknownCommand=61]="unknownCommand",e[e.timezoneNotFound=62]="timezoneNotFound",e[e.commandThrottled=105]="commandThrottled",e[e.operationPending=108]="operationPending",e[e.operationRunning=109]="operationRunning",e[e.operationFailed=110]="operationFailed",e[e.unchanged=125]="unchanged",e[e.nothing=126]="nothing",e[e.invalidOperation=130]="invalidOperation",e[e.assetNotFound=20]="assetNotFound",e[e.assetNotDeleted=21]="assetNotDeleted",e[e.assetsListNotFound=22]="assetsListNotFound",e[e.assetMessageNotFound=63]="assetMessageNotFound",e[e.assetSuspended=96]="assetSuspended",e[e.assetNotSuspended=97]="assetNotSuspended",e[e.assetMessageNotDeleted=101]="assetMessageNotDeleted",e[e.behaviourScriptNotFound=23]="behaviourScriptNotFound",e[e.behaviourScriptNotDeleted=24]="behaviourScriptNotDeleted",e[e.behaviourScriptInUse=25]="behaviourScriptInUse",e[e.behaviourNotFound=26]="behaviourNotFound",e[e.behaviourNotDeleted=27]="behaviourNotDeleted",e[e.billingProfileNotFound=111]="billingProfileNotFound",e[e.billingProfileNotDeleted=112]="billingProfileNotDeleted",e[e.hostingRuleNotFound=113]="hostingRuleNotFound",e[e.hostingRuleNotDeleted=114]="hostingRuleNotDeleted",e[e.hostingLicenseNotFound=117]="hostingLicenseNotFound",e[e.hostingLicenseNotDeleted=118]="hostingLicenseNotDeleted",e[e.billingReportNotFound=119]="billingReportNotFound",e[e.billingReportNotDeleted=120]="billingReportNotDeleted",e[e.companyNotFound=28]="companyNotFound",e[e.companyNotDeleted=29]="companyNotDeleted",e[e.resellerNotFound=106]="resellerNotFound",e[e.resellerNotDeleted=107]="resellerNotDeleted",e[e.contactNotFound=31]="contactNotFound",e[e.contactNotDeleted=32]="contactNotDeleted",e[e.contactInUse=121]="contactInUse",e[e.dispatchJobsListNotFound=141]="dispatchJobsListNotFound",e[e.dispatchTaskNotFound=64]="dispatchTaskNotFound",e[e.geocoderError=80]="geocoderError",e[e.geocoderNotFound=81]="geocoderNotFound",e[e.directionsError=82]="directionsError",e[e.directionsNotFound=83]="directionsNotFound",e[e.dispatchTaskNotDeleted=100]="dispatchTaskNotDeleted",e[e.dispatchTemplateNotFound=137]="dispatchTemplateNotFound",e[e.dispatchTemplateNotDeleted=138]="dispatchTemplateNotDeleted",e[e.dispatchJobNotFound=139]="dispatchJobNotFound",e[e.dispatchJobNotDeleted=140]="dispatchJobNotDeleted",e[e.iconNotFound=33]="iconNotFound",e[e.iconNotDeleted=34]="iconNotDeleted",e[e.pictureNotFound=68]="pictureNotFound",e[e.picturesListNotFound=69]="picturesListNotFound",e[e.pictureNotDeleted=70]="pictureNotDeleted",e[e.invalidMime=90]="invalidMime",e[e.filesizeExceeded=91]="filesizeExceeded",e[e.documentNotFound=122]="documentNotFound",e[e.documentNotDeleted=123]="documentNotDeleted",e[e.documentsListNotFound=124]="documentsListNotFound",e[e.formTemplateNotFound=132]="formTemplateNotFound",e[e.formTemplateNotDeleted=133]="formTemplateNotDeleted",e[e.formResultNotFound=134]="formResultNotFound",e[e.formResultNotDeleted=135]="formResultNotDeleted",e[e.formResultsListNotFound=136]="formResultsListNotFound",e[e.formTemplateInUse=142]="formTemplateInUse",e[e.maintenanceJobNotFound=35]="maintenanceJobNotFound",e[e.maintenanceJobNotDeleted=36]="maintenanceJobNotDeleted",e[e.maintenanceScheduleNotFound=37]="maintenanceScheduleNotFound",e[e.maintenanceScheduleNotDeleted=38]="maintenanceScheduleNotDeleted",e[e.placeNotFound=40]="placeNotFound",e[e.placeNotDeleted=41]="placeNotDeleted",e[e.placesListNotFound=42]="placesListNotFound",e[e.providerNotFound=43]="providerNotFound",e[e.providerNotDeleted=44]="providerNotDeleted",e[e.providersListNotFound=45]="providersListNotFound",e[e.providerConfigurationTypeNotFound=47]="providerConfigurationTypeNotFound",e[e.providerConfigurationNotFound=48]="providerConfigurationNotFound",e[e.providerConfigurationNotDeleted=49]="providerConfigurationNotDeleted",e[e.providerConfigurationInUse=50]="providerConfigurationInUse",e[e.invalidConfigurationOptions=51]="invalidConfigurationOptions",e[e.invalidRegistration=86]="invalidRegistration",e[e.verifyTimeout=89]="verifyTimeout",e[e.providerSuspended=98]="providerSuspended",e[e.providerNotSuspended=99]="providerNotSuspended",e[e.providerScriptNotFound=102]="providerScriptNotFound",e[e.providerScriptNotDeleted=103]="providerScriptNotDeleted",e[e.providerScriptInUse=104]="providerScriptInUse",e[e.reportTemplateNotFound=52]="reportTemplateNotFound",e[e.reportTemplateNotDeleted=53]="reportTemplateNotDeleted",e[e.reportResultNotFound=67]="reportResultNotFound",e[e.reportResultNotDeleted=75]="reportResultNotDeleted",e[e.reportScheduleNotFound=93]="reportScheduleNotFound",e[e.reportScheduleNotDeleted=94]="reportScheduleNotDeleted",e[e.reportResultNotReady=95]="reportResultNotReady"}(Se||(Se={}));class Ge{static fromJSON;toJSON(){return{kind:this.kind}}}class Reply{reqId;errorCode;message;errorDetails;constructor(e){this.errorCode=e?.errorCode??Se.unknown,this.message=e?.message??"Unknown error",this.errorDetails=Ge.fromJSON(e?.errorDetails),this.reqId=e?.reqId}toJSON(){const e={errorCode:this.errorCode,message:this.message,errorDetails:this.errorDetails?.toJSON()??null};return t.isntNaN(this.reqId)&&(e.reqId=this.reqId),e}}class ReplySync extends Reply{t;constructor(e,t){super(e),this.t=t}}class ReplySyncBatch extends ReplySync{}class ReplySyncBatchDelete extends ReplySyncBatch{store(){const e=s[this.t];return this.i().map((t=>e.delete(t))).some((e=>e))}}class RepContactBatchDelete extends ReplySyncBatchDelete{contacts;constructor(e){super(e,"Contact"),this.contacts=e?.contacts?.map((e=>new ve(e)))}i(){return this.contacts?.map((e=>e.id))}getCompanyId(){return this.contacts?.[0]?.company}getResults(){return this.contacts}}class PayContactBatchDelete extends Payload{contacts;constructor(e){super(e),this.contacts=e?.contacts?.map((e=>new Le(e)))??[]}createReply(e){return new RepContactBatchDelete(e)}}class RepContactBatchMerge extends Reply{contacts;constructor(e){super(e),this.contacts=e?.contacts?.map((e=>new we(e)))}}class PayContactBatchMerge extends Payload{contacts;constructor(e){super(e),this.contacts=e?.contacts?.map((e=>new Be(e)))??[]}createReply(e){return new RepContactBatchMerge(e)}}class ReplySyncDelete extends ReplySync{store(){const e=s[this.t],t=this.getKey();return e.delete(t)}}class RepContactDelete extends ReplySyncDelete{contact;constructor(e){super(e,"Contact"),this.contact=ve.fromJSON(e?.contact)}getKey(){return this.contact?.id}getCompanyId(){return this.contact?.company}}class PayContactDelete extends PayContact{createReply(e){return new RepContactDelete(e)}}class ReplySyncGet extends ReplySync{store(){const e=s[this.t],t=this.getObject(),r=t.getKey(),n=e.get(r);let i=!n;return n?i=n.fromJSON(t.toJSON()):e.set(r,t),i}}class ReplySyncGetPiece extends ReplySyncGet{o;constructor(e,t,s){super(e,t),this.o=s}store(){const e=s[this.t],t=this.getObject(),r=t.getKey();let n=e.get(r),i=!n;return n||e.set(r,n=this.p()),i=n.pieces[this.o].fromJSON(t.toJSON())||i,i}}class RepContactGet extends ReplySyncGet{contact;constructor(e){super(e,"Contact"),e?.contact&&(this.contact=new r(e.contact))}getObject(){return this.contact}getCompanyId(){return this.contact?.companyId}}class PayContactGet extends PayContact{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepContactGet(e)}}class ReplySyncList extends ReplySync{h(e,t){return e[0]}l(e,t){let s;const r=t.getKey(),n=e.get(r);return s=n?n.fromJSON(t.toJSON()):!!e.set(r,t),[s,r]}store(){let e=!1;const t=s[this.t],r=new Set(t.entries().filter(this.u).map(this.h));for(const s of this.getList()){const[n,i]=this.l(t,s);r.delete(i),e=n||e}for(const s of r)e=t.delete(s)||e;return e}}class ReplySyncListPiece extends ReplySyncList{o;constructor(e,t,s){super(e,t),this.o=s}l(e,t){const s=t.getKey();let r=e.get(s),n=!r;return r||e.set(s,r=this.p()),n=r.pieces[this.o].fromJSON(t.toJSON())||n,[n,s]}}class RepContactList extends ReplySyncList{contacts;constructor(e){super(e,"Contact"),this.contacts=e?.contacts?.map((e=>new r(e)))??[]}getList(){return this.contacts}}class RepContactListByCompany extends RepContactList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class PayContactList extends Payload{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}}class PayContactListByCompany extends PayContactList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepContactListByCompany(e)}}class RepContactMerge extends Reply{contact;constructor(e){super(e),this.contact=we.fromJSON(e?.contact)}}class PayContactMerge extends Payload{contact;constructor(e){super(e),this.contact=new Be(e?.contact)}getKey(){return this.contact?.id?.toString()??""}createReply(e){return new RepContactMerge(e)}}class PayContactRestore extends PayContact{createReply(e){return new RepContactDelete(e)}}class Ae{company;kind;level;method;labels;constructor(e){this.company=e?.company,this.kind=e?.kind??e?.type,this.level=e?.level,this.method=e?.method,this.labels=e?.labels}toJSON(){const e={};return t.isntNaN(this.company)&&(e.company=this.company),this.kind in n&&(e.kind=this.kind),this.level in i&&(e.level=this.level),this.method in a&&(e.method=this.method),this.labels?.length&&(e.labels=[...this.labels]),e}}class be extends ge{id;company;name;notes;permissions;constructor(e){super(e),this.id=e?.id,this.company=e?.company,this.name=e?.name,this.notes=e?.notes,this.permissions=e?.permissions?.map((e=>new Ae(e)))}toJSON(){const e={};return t.isntNaN(this.id)?(e.id=this.id,e.v=[...this.v]):t.isntNaN(this.company)&&(e.company=this.company),this.name&&(e.name=this.name),this.notes&&(e.notes=this.notes),this.permissions?.length&&(e.permissions=this.permissions.map((e=>e.toJSON()))),e}}class RepUserGroupBatchDelete extends ReplySyncBatchDelete{userGroups;constructor(e){super(e,"UserGroup"),this.userGroups=e.userGroups?.map((e=>new ve(e)))}i(){return this.userGroups?.map((e=>e.id))}getResults(){return this.userGroups}getCompanyId(){return this.userGroups?.[0]?.company}}class PayUserGroupBatchDelete extends Payload{userGroups;constructor(e){super(e),this.userGroups=(e?.userGroups).map((e=>new Le(e)))??[]}createReply(e){return new RepUserGroupBatchDelete(e)}}class RepUserGroupBatchMerge extends Reply{userGroups;constructor(e){super(e),this.userGroups=e.userGroups?.map((e=>new we(e)))}}class PayUserGroupBatchMerge extends Payload{userGroups;constructor(e){super(e),this.userGroups=(e?.userGroups).map((e=>new be(e)))??[]}createReply(e){return new RepUserGroupBatchMerge(e)}}class RepUserGroupDelete extends ReplySyncDelete{userGroup;constructor(e){super(e,"UserGroup"),this.userGroup=ve.fromJSON(e?.userGroups)}getKey(){return this.userGroup?.id}getCompanyId(){return this.userGroup?.company}}class PayUserGroup extends Payload{userGroup;constructor(e){super(e),e&&(this.userGroup=new Le(e.userGroup))}getKey(){return this.userGroup?.id?.toString()??""}}class PayUserGroupDelete extends PayUserGroup{createReply(e){return new RepUserGroupDelete(e)}}class RepUserGroupGet extends ReplySyncGet{userGroup;constructor(e){super(e,"UserGroup"),e?.userGroup&&(this.userGroup=new o(e?.userGroup))}getObject(){return this.userGroup}getCompanyId(){return this.userGroup?.companyId}}class PayUserGroupGet extends PayUserGroup{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepUserGroupGet(e)}}class RepUserGroupList extends ReplySyncList{userGroups;constructor(e){super(e,"UserGroup"),this.userGroups=e?.userGroups?.map((e=>new o(e)))}getList(){return this.userGroups}}class RepUserGroupListByCompany extends RepUserGroupList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class PayUserGroupList extends Payload{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}}class PayUserGroupListByCompany extends PayUserGroupList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepUserGroupListByCompany(e)}}class RepUserGroupMerge extends Reply{userGroup;constructor(e){super(e),this.userGroup=we.fromJSON(e?.userGroup)}}class PayUserGroupMerge extends Payload{userGroup;constructor(e){super(e),this.userGroup=new be(e?.userGroup)}getKey(){return this.userGroup?.id?.toString()??""}createReply(e){return new RepUserGroupMerge(e)}}class PayUserGroupRestore extends PayUserGroup{createReply(e){return new RepUserGroupDelete(e)}}class Je extends ge{key;secret;company;nickname;notes;enabled;notBefore;notAfter;timezone;language;formats;measurements;options;groups;permissions;services;referrers;ipRanges;insecure;constructor(s){super(s),this.key=s?.key,this.secret=!!s?.secret,this.company=s?.company,this.nickname=s?.nickname,this.notes=s?.notes,this.enabled=!!s?.enabled,this.notBefore=s?.notBefore?t.date(s.notBefore):null,this.notAfter=s?.notAfter?t.date(s.notAfter):null,this.timezone=t.findTimeZoneById(s?.timezone),this.language=s?.language,this.formats=e.toMap(s?.formats??{}),this.measurements=e.toMap(s?.measurements??{}),this.options=e.toMap(s?.options??{}),this.groups=s?.groups,this.permissions=s?.permissions?.map((e=>new Ae(e))),this.services=s?.services?.map((e=>new URL(e))),this.referrers=s?.referrers?.map((e=>new URL(e))),this.ipRanges=s?.ipRanges,this.insecure=!!s?.insecure}toJSON(){const s={};return this.key?(s.key=this.key,s.v=[...this.v]):t.isntNaN(this.company)&&(s.company=this.company),this.secret&&(s.secret=this.secret),this.nickname&&(s.nickname=this.nickname),this.notes&&(s.notes=this.notes),t.isNothing(this.enabled)||(s.enabled=this.enabled),isNaN(this.notBefore?.valueOf())||(s.notBefore=this.notBefore?.toISOString()),isNaN(this.notAfter?.valueOf())||(s.notAfter=this.notAfter?.toISOString()),this.timezone?.code&&(s.timezone=this.timezone?.code),this.language&&(s.language=this.language),this.formats?.size&&(s.formats=e.fromMap(this.formats)),this.measurements?.size&&(s.measurements=e.fromMap(this.measurements)),this.options?.size&&(s.options=e.fromMap(this.options)),this.groups?.length&&(s.groups=this.groups),this.permissions?.length&&(s.permissions=this.permissions?.map((e=>e.toJSON()))),this.services?.length&&(s.services=this.services.map((e=>e.toString()))),this.referrers?.length&&(s.referrers=this.referrers.map((e=>e.toString()))),this.ipRanges?.length&&(s.ipRanges=this.ipRanges),t.isNothing(this.insecure)||(s.insecure=this.insecure),s}}class Ne{key;constructor(e){this.key=e?.key??""}}class Te{static fromJSON(e){return e?new Te(e):null}key;constructor(e){this.key=e?.key}getKey(){return this.key}toJSON(){return{key:this.key??null}}}class Ie extends Te{static fromJSON(e){return e?new Ie(e):null}company;constructor(e){super(e),this.company=e?.company}getCompanyId(){return this.company}toJSON(){return{...super.toJSON(),company:this.company??null}}}class Oe extends Ie{static fromJSON(e){return e?new Oe(e):null}deleted;v;constructor(e){super(e),this.deleted=!!e?.deleted,this.v=e?.v??[]}toJSON(){return{...super.toJSON(),deleted:!!this.deleted,v:[...this.v]}}}class RepMachineBatchDelete extends ReplySyncBatchDelete{machines;constructor(e){super(e,"Machine"),this.machines=e?.machines?.map((e=>new Oe(e)))}i(){return this.machines?.map((e=>e.key))}getCompanyId(){return this.machines?.[0]?.company}getResults(){return this.machines}}class PayMachineBatchDelete extends Payload{machines;constructor(e){super(e),this.machines=e?.machines?.map((e=>new Ne(e)))??[]}createReply(e){return new RepMachineBatchDelete(e)}}class RepMachineBatchMerge extends Reply{machines;constructor(e){super(e),this.machines=e?.machines?.map((e=>new Ie(e)))}}class PayMachineBatchMerge extends Payload{machines;constructor(e){super(e),this.machines=e?.machines?.map((e=>new Je(e)))??[]}createReply(e){return new RepMachineBatchMerge(e)}}class RepMachineDelete extends ReplySyncDelete{machine;constructor(e){super(e,"Machine"),this.machine=Oe.fromJSON(e?.machine)}getKey(){return this.machine?.key}getCompanyId(){return this.machine?.company}}class PayMachine extends Payload{machine;constructor(e){super(e),this.machine=new Ne(e?.machine)}getKey(){return this.machine?.key??""}}class PayMachineDelete extends PayMachine{createReply(e){return new RepMachineDelete(e)}}class RepMachineGet extends ReplySyncGet{machine;constructor(e){super(e,"Machine"),e?.machine&&(this.machine=new c(e.machine))}getObject(){return this.machine}getCompanyId(){return this.machine?.companyId}}class PayMachineGet extends PayMachine{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepMachineGet(e)}}class RepMachineList extends ReplySyncList{machines;constructor(e){super(e,"Machine"),this.machines=e?.machines?.map((e=>new c(e)))}getList(){return this.machines}}class RepMachineListByCompany extends RepMachineList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class RepMachineListByUserGroup extends RepMachineList{userGroup;constructor(e){super(e),this.userGroup=we.fromJSON(e?.userGroup)}u(e,t){return e[1].groupIds.includes(this.userGroup.id)}getCompanyId(){return this.userGroup?.company}}class PayMachineList extends Payload{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}}class PayMachineListByCompany extends PayMachineList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepMachineListByCompany(e)}}class RepMachineMerge extends Reply{machine;constructor(e){super(e),this.machine=Ie.fromJSON(e?.machine)}}class PayMachineMerge extends Payload{machine;constructor(e){super(e),this.machine=new Je(e?.machine)}getKey(){return this.machine?.key??""}createReply(e){return new RepMachineMerge(e)}}class PayMachineRestore extends PayMachine{createReply(e){return new RepMachineDelete(e)}}class RepSelfContact extends Reply{}class PaySelfContact extends Payload{contact;constructor(e){super(),this.contact=new Ce(e?.contact)}getAction(){return{kind:"Merge",object:"Self",filter:"Contact",batch:!1}}createReply(e){return new RepSelfContact(e)}toJSON(){return{...super.toJSON(),contact:this.contact?.toJSON()??null}}}class RepSelfGet extends Reply{ghostId;expiry;get user(){return s.User.get(this.userLogin)}userLogin;get machine(){return s.Machine.get(this.machineKey)}machineKey;sessionPolicy;passwordPolicy;serverTime;constructor(e){super(e),this.serverTime=t.date(e?.serverTime),this.ghostId=e?.ghostId??"",this.expiry=t.date(e?.expiry),this.userLogin=e?.user?.login,this.machineKey=e?.machine?.key,this.sessionPolicy=e?.sessionPolicy?p.fromJSON(e.sessionPolicy):null,this.passwordPolicy=e?.passwordPolicy?h.fromJSON(e.passwordPolicy):null}toJSON(){const e={errorCode:this.errorCode,message:this.message,errorDetails:this.errorDetails?.toJSON()??null,ghostId:this.ghostId,expiry:t.isntNaN(this.expiry.valueOf())?this.expiry.toISOString():null,serverTime:t.isntNaN(this.serverTime.valueOf())?this.serverTime.toISOString():null};if(this.userLogin){const t=this.user,s=t?.contact;e.user={...t?.toJSON(),login:this.userLogin,contact:s?.toJSON()??null}}return this.machineKey&&(e.machine=this.machine?.toJSON()??{key:this.machineKey}),this.sessionPolicy&&(e.sessionPolicy=this.sessionPolicy.toJSON()),this.passwordPolicy&&(e.passwordPolicy=this.passwordPolicy.toJSON()),e}}class PaySelfGet extends Payload{getAction(){return{kind:"Get",object:"Self",filter:"",batch:!1}}createReply(e){return new RepSelfGet(e)}}class PaySelfLogin extends Payload{username;password;userAgent;constructor(e){super(e),this.username=e?.username??"",this.password=e?.password??"",this.userAgent=e?.userAgent}getAction(){return{kind:"Merge",object:"Self",filter:"Login",batch:!1}}createReply(e){return new RepSelfGet(e)}toJSON(){const e={...super.toJSON(),username:this.username,password:this.password};return this.userAgent?.trim()&&(e.userAgent=this.userAgent),e}}class RepSelfLogout extends Reply{ghostId;expiry;constructor(e){super(e),this.ghostId=e?.ghostId??"",this.expiry=t.date(e?.expiry)}}class PaySelfLogout extends Payload{getAction(){return{kind:"Delete",object:"Self",filter:"Logout",batch:!1}}createReply(e){return new RepSelfLogout(e)}}class RepSelfPassword extends Reply{expires;passwordPolicy;constructor(e){super(e),this.expires=t.date(e?.expires),this.passwordPolicy=e.passwordPolicy?h.fromJSON(e.passwordPolicy):null}}class PaySelfPassword extends Payload{current;password;constructor(e){super(e),this.current=e?.current??"",this.password=e?.password??""}getAction(){return{kind:"Merge",object:"Self",filter:"Password",batch:!1}}createReply(e){return new RepSelfPassword(e)}toJSON(){return{...super.toJSON(),current:this.current??"",password:this.password??""}}}class RepSelfPreferences extends Reply{}class PaySelfPreferences extends Payload{language;timezone;notify;formats;measurements;options;constructor(e){super(e),this.language=e?.language,this.timezone=t.findTimeZoneById(e?.timezone),this.notify=e?.notify?.map((e=>new l(e))),this.formats=e?.formats?new Map(Object.entries(e?.formats)):null,this.measurements=e?.measurements?new Map(Object.entries(e?.measurements)):null,this.options=e?.options?new Map(Object.entries(e?.options)):null}getAction(){return{kind:"Merge",object:"Self",filter:"Preferences",batch:!1}}createReply(e){return new RepSelfPreferences(e)}toJSON(){const t=super.toJSON();return this.language&&(t.language=this.language),this.timezone&&(t.timezone=this.timezone.code),this.notify&&(t.notify=this.notify.map((e=>e.toJSON()))),this.formats?.size&&(t.formats=e.fromMap(this.formats)),this.measurements?.size&&(t.measurements=e.fromMap(this.measurements)),this.options?.size&&(t.options=e.fromMap(this.options)),t}}class Ue{handle;constructor(e){this.handle=e?.handle??""}}class ke{handle;company;login;expiry;constructor(e){this.handle=e?.handle??"",this.company=e?.company,this.login=e?.login??"",this.expiry=t.date(e?.expiry)}}class RepSessionDelete extends ReplySyncDelete{session;constructor(e){super(e,"Session"),this.session=new ke(e?.session)}getKey(){return this.session?.handle}getCompanyId(){return this.session?.company}}class RepSessionGet extends ReplySyncGet{session;constructor(e){super(e,"Session"),this.session=new u(e?.session)}getObject(){return this.session}getCompanyId(){return this.session?.companyId}}class PaySessionGet extends Payload{session;constructor(e){super(e),this.session=new Ue(e?.session)}createReply(e){return new RepSessionGet(e)}}class PaySessionDelete extends PaySessionGet{createReply(e){return new RepSessionDelete(e)}}class Fe{login;constructor(e){this.login=e?.login??""}}class Ke{static fromJSON(e){return e?new Ke(e):null}login;constructor(e){this.login=e?.login}getKey(){return this.login}toJSON(){return{login:this.login??null}}}class _e extends Ke{static fromJSON(e){return e?new _e(e):null}company;constructor(e){super(e),this.company=e?.company}getCompanyId(){return this.company}toJSON(){return{...super.toJSON(),company:this.company??null}}}class RepSessionList extends ReplySyncList{sessions;constructor(e){super(e,"Session"),this.sessions=e?.sessions?.map((e=>new u(e)))??[]}getList(){return this.sessions}}class RepSessionListByCompany extends RepSessionList{company;constructor(e){super(e),this.company=new xe(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class RepSessionListByUser extends RepSessionList{user;constructor(e){super(e),this.user=new _e(e?.user)}u(e,t){return e[1].login===this.user.login}getCompanyId(){return this.user?.company}}class PaySessionListByCompany extends Payload{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepSessionListByCompany(e)}}class PaySessionListByUser extends Payload{user;constructor(e){super(e),this.user=new Fe(e?.user)}createReply(e){return new RepSessionListByUser(e)}}class je extends ge{login;company;nickname;password;passwordExpired;enabled;contact;timezone;language;formats;measurements;options;notify;groups;permissions;constructor(s){super(s),this.login=s?.login,this.company=s?.company,this.nickname=s?.nickname,this.password=s?.password,this.passwordExpired=s?.passwordExpired,this.enabled=s?.enabled,this.contact=s?.contact,this.timezone=t.findTimeZoneById(s?.timezone),this.language=s?.language,this.formats=s?.formats?e.toMap(s?.formats):null,this.measurements=s?.measurements?e.toMap(s?.measurements):null,this.options=s?.options?e.toMap(s?.options):null,this.notify=s?.notify?.map((e=>l.fromJSON(e))),this.groups=s?.groups,this.permissions=s?.permissions?.map((e=>new Ae(e)))}toJSON(){const s={login:this.login};return this.v?.length?s.v=[...this.v]:s.company=this.company,this.nickname?.length&&(s.nickname=this.nickname),this.password?.length&&(s.password=this.password),t.isNothing(this.passwordExpired)||(s.passwordExpired=this.passwordExpired),t.isNothing(this.enabled)||(s.enabled=this.enabled),t.isntNaN(this.contact)&&(s.contact=this.contact),this.timezone&&(s.timezone=this.timezone.code),this.language?.length&&(s.language=this.language),this.formats?.size&&(s.formats=e.fromMap(this.formats)),this.measurements?.size&&(s.measurements=e.fromMap(this.measurements)),this.options?.size&&(s.options=e.fromMap(this.options)),this.notify?.length&&(s.notify=this.notify?.map((e=>e.toJSON()))),this.groups?.length&&(s.groups=[...this.groups]),this.permissions?.length&&(s.permissions=this.permissions?.map((e=>e.toJSON()))),s}}class RepUserAdvancedGet extends ReplySyncGetPiece{userAdvanced;constructor(e){super(e,"UserAdvanced",1),e?.userAdvanced&&(this.userAdvanced=new y(e.userAdvanced))}p(){return new d}getObject(){return this.userAdvanced}getCompanyId(){return this.userAdvanced?.companyId}}class PayUser extends Payload{user;constructor(e){super(),this.user=new Fe(e?.user)}getKey(){return this.user?.login??""}}class PayUserAdvancedGet extends PayUser{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepUserAdvancedGet(e)}}class RepUserAdvancedList extends ReplySyncList{userAdvanceds;constructor(e){super(e,"UserAdvanced"),this.userAdvanceds=e?.userAdvanceds?.map((e=>new y(e)))??[]}getList(){return this.userAdvanceds}}class RepUserAdvancedListByCompany extends RepUserAdvancedList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class RepUserAdvancedListByUserGroup extends RepUserAdvancedList{userGroup;constructor(e){super(e),this.userGroup=we.fromJSON(e?.userGroup)}u(e,t){return e[1].groupIds.includes(this.userGroup.id)}getCompanyId(){return this.userGroup?.company}}class PayUserAdvancedList extends Payload{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}}class PayUserAdvancedListByCompany extends PayUserAdvancedList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepUserAdvancedListByCompany(e)}}class PayUserAdvancedListByUserGroup extends PayUserAdvancedList{group;constructor(e){super(e),this.group=new Le(e?.group)}createReply(e){return new RepUserAdvancedListByUserGroup(e)}}class ze extends _e{static fromJSON(e){return e?new ze(e):null}deleted;v;constructor(e){super(e),this.deleted=!!e?.deleted,this.v=e?.v??[]}toJSON(){return{...super.toJSON(),deleted:!!this.deleted,v:[...this.v]}}}class RepUserBatchDelete extends ReplySyncBatchDelete{users;constructor(e){super(e,"User"),this.users=e?.users?.map((e=>new ze(e)))}i(){return this.users?.map((e=>e.login))}getCompanyId(){return this.users?.[0]?.company}getResults(){return this.users}}class PayUserBatchDelete extends Payload{users;constructor(e){super(e),this.users=e?.users?.map((e=>new Fe(e)))??[]}createReply(e){return new RepUserBatchDelete(e)}}class RepUserBatchMerge extends Reply{users;constructor(e){super(e),this.users=e?.users?.map((e=>new we(e)))}}class PayUserBatchMerge extends Payload{users;constructor(e){super(e),this.users=e?.users?.map((e=>new je(e)))??[]}createReply(e){return new RepUserBatchMerge(e)}}class RepUserDelete extends ReplySyncDelete{user;constructor(e){super(e,"User"),this.user=ve.fromJSON(e?.user)}getKey(){return this.user?.id}getCompanyId(){return this.user?.company}}class PayUserDelete extends PayUser{createReply(e){return new RepUserDelete(e)}}class RepUserGeneralGet extends ReplySyncGetPiece{userGeneral;constructor(e){super(e,"UserGeneral",0),e?.userGeneral&&(this.userGeneral=new R(e.userGeneral))}p(){return new d}getObject(){return this.userGeneral}getCompanyId(){return this.userGeneral?.companyId}}class PayUserGeneralGet extends PayUser{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepUserGeneralGet(e)}}class RepUserGeneralList extends ReplySyncList{userGenerals;constructor(e){super(e,"UserGeneral"),this.userGenerals=e?.userGenerals?.map((e=>new R(e)))??[]}getList(){return this.userGenerals}}class RepUserGeneralListByCompany extends RepUserGeneralList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class RepUserGeneralListByUserGroup extends RepUserGeneralList{userGroup;constructor(e){super(e),this.userGroup=we.fromJSON(e?.userGroup)}u(e,t){const r=s.User.get(e[0]);return r?.groupIds.includes(this.userGroup.id)}getCompanyId(){return this.userGroup?.company}}class PayUserGeneralList extends Payload{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}}class PayUserGeneralListByCompany extends PayUserGeneralList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepUserGeneralListByCompany(e)}}class PayUserGeneralListByUserGroup extends PayUserGeneralList{group;constructor(e){super(e),this.group=new Le(e?.group)}createReply(e){return new RepUserGeneralListByUserGroup(e)}}class RepUserGet extends ReplySyncGet{user;constructor(e){super(e,"User"),e?.user&&(this.user=new d(e.user))}getObject(){return this.user}getCompanyId(){return this.user?.companyId}}class PayUserGet extends PayUser{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepUserGet(e)}}class RepUserList extends ReplySyncList{users;constructor(e){super(e,"User"),this.users=e?.users?.map((e=>new d(e)))}getList(){return this.users}}class RepUserListByCompany extends RepUserList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class PayUserList extends Payload{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}}class PayUserListByCompany extends PayUserList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepUserListByCompany(e)}}class RepUserMerge extends Reply{user;constructor(e){super(e),this.user=we.fromJSON(e?.user)}}class PayUserMerge extends Payload{user;constructor(e){super(e),this.user=new je(e?.user)}getKey(){return this.user?.login??""}createReply(e){return new RepUserMerge(e)}}class PayUserRestore extends PayUser{createReply(e){return new RepUserDelete(e)}}class Ee{code;constructor(e){this.code=e?.code??""}}class He{guid;constructor(e){this.guid=e?.guid??""}}class qe{id;constructor(e){this.id=e?.id??""}}class PayListBy extends Payload{limit;constructor(e){super(e),this.limit=e?.limit}toJSON(){const e=super.toJSON();return t.isntNaN(this.limit)&&(e.limit=this.limit),e}}class PayListByDate extends PayListBy{after;before;constructor(e){super(e),this.after=t.date(e?.after),this.before=t.date(e?.before)}toJSON(){const e=super.toJSON();return t.isntNaN(this.after?.valueOf())&&(e.after=this.after.toISOString()),t.isntNaN(this.before?.valueOf())&&(e.before=this.before.toISOString()),e}}class PayListById extends PayListBy{lowest;highest;constructor(e){super(e),this.lowest=e?.lowest,this.highest=e?.highest}toJSON(){const e=super.toJSON();return t.isntNaN(this.lowest)&&(e.lowest=this.lowest),t.isntNaN(this.highest)&&(e.highest=this.highest),e}}class PayListByKey extends PayListBy{first;last;constructor(e){super(e),this.first=e?.first,this.last=e?.last}toJSON(){const e=super.toJSON();return this.first?.trim()&&(e.first=this.first),this.last?.trim()&&(e.last=this.last),e}}class Ve{static fromJSON(e){return e?new Ve(e):null}code;constructor(e){this.code=e?.code??""}getKey(){return this.code}toJSON(){return{code:this.code}}}class We extends Ve{static fromJSON(e){return e?new We(e):null}company;constructor(e){super(e),this.company=e?.company}getCompanyId(){return this.company}toJSON(){return{...super.toJSON(),company:this.company??null}}}class Ze extends We{static fromJSON(e){return e?new Ze(e):null}deleted;constructor(e){super(e),this.deleted=!!e?.deleted}toJSON(){return{...super.toJSON(),deleted:!!this.deleted}}}class Qe extends we{static fromJSON(e){return e?new Qe(e):null}asset;constructor(e){super(e),this.asset=e?.asset}toJSON(){return{...super.toJSON(),asset:this.asset??null}}}class Xe extends we{static fromJSON(e){return e?new Xe(e):null}profile;constructor(e){super(e),this.profile=e?.profile}toJSON(){return{...super.toJSON(),profile:this.profile??null}}}class Ye extends we{static fromJSON(e){return e?new Ye(e):null}template;constructor(e){super(e),this.template=e?.template}toJSON(){return{...super.toJSON(),template:this.template??null}}}class $e{static fromJSON(e){return e?new $e(e):null}id;constructor(e){this.id=e?.id}getKey(){return this.id}toJSON(){return{id:this.id??null}}}class et extends $e{static fromJSON(e){return e?new et(e):null}company;constructor(e){super(e),this.company=e?.company}getCompanyId(){return this.company}toJSON(){return{...super.toJSON(),company:this.company??null}}}class tt extends et{static fromJSON(e){return e?new tt(e):null}asset;constructor(e){super(e),this.asset=e?.asset}toJSON(){return{...super.toJSON(),asset:this.asset??null}}}class st extends et{static fromJSON(e){return e?new st(e):null}deleted;v;constructor(e){super(e),this.deleted=!!e?.deleted,this.v=e?.v??[]}toJSON(){return{...super.toJSON(),deleted:!!this.deleted,v:[...this.v]}}}class rt extends et{static fromJSON(e){return e?new rt(e):null}suspended;v;constructor(e){super(e),this.suspended=!!e?.suspended,this.v=e?.v??[]}toJSON(){return{...super.toJSON(),suspended:!!this.suspended,v:[...this.v]}}}class nt extends xe{static fromJSON(e){return e?new nt(e):null}parent;constructor(e){super(e),this.parent=e?.parent}getCompanyId(){return this.parent}toJSON(){return{...super.toJSON(),parent:this.parent??null}}}class it extends nt{static fromJSON(e){return e?new it(e):null}deleted;v;constructor(e){super(e),this.parent=e?.parent,this.deleted=!!e?.deleted,this.v=e?.v??[]}toJSON(){return{...super.toJSON(),deleted:!!this.deleted,v:[...this.v]}}}class at extends we{static fromJSON(e){return e?new at(e):null}script;constructor(e){super(e),this.script=e?.script}toJSON(){return{...super.toJSON(),script:this.script??null}}}class ot extends we{static fromJSON(e){return e?new ot(e):null}suspended;v;constructor(e){super(e),this.suspended=!!e?.suspended,this.v=e?.v??[]}toJSON(){return{...super.toJSON(),suspended:!!this.suspended,v:[...this.v]}}}class ct extends Ge{invalid;constructor(e){super(),this.invalid=e?.invalid??[]}toJSON(){return{...super.toJSON(),invalid:[...this.invalid]}}}!function(e){e.parse="parse",e.stack="stack",e.locked="locked",e.throttled="throttled",e.count="count",e.minMax="minMax",e.input="input",e.enum="enum",e.phone="phone",e.badKeys="badKeys",e.badIds="badIds",e.badIndexes="badIndexes",e.escalation="escalation",e.externals="externals",e.parent="parent",e.userGroupInUse="userGroupInUse",e.contactInUse="contactInUse",e.formTemplateInUse="formTemplateInUse",e.batch="batch",e.secret="secret",e.connection="connection"}(Me||(Me={}));class pt extends ct{get kind(){return Me.badIds}constructor(e){super(e)}}class ht extends ct{get kind(){return Me.badIndexes}constructor(e){super(e)}}class lt extends ct{get kind(){return Me.badKeys}constructor(e){super(e)}}class ut extends Ge{get kind(){return Me.batch}errors;constructor(e){super(),this.errors=e?.errors?.map((e=>new Reply(e)))??[]}toJSON(){return{...super.toJSON(),errors:this.errors.map((e=>e.toJSON()))}}}class yt extends Ge{get kind(){return Me.connection}state;code;reason;wasClean;reconnect;retry;constructor(e){super(),this.state=e?.state??WebSocket.CLOSED,this.code=e?.code,this.reason=e?.reason,this.wasClean=e?.wasClean,this.reconnect=e?.reconnect,this.retry=e?.retry}toJSON(){return{...super.toJSON(),state:this.state,code:this.code??null,reason:this.reason??null,wasClean:this.wasClean??null,reconnect:this.reconnect??null,retry:this.retry??null}}}class dt extends Ge{get kind(){return Me.userGroupInUse}users;machines;constructor(e){super(),this.users=e?.users,this.machines=e?.machines}toJSON(){return{...super.toJSON(),users:this.users?.slice()??null,machines:this.machines?.slice()??null}}}class Rt extends dt{get kind(){return Me.contactInUse}assets;constructor(e){super(e),this.assets=e?.assets}toJSON(){return{...super.toJSON(),assets:this.assets?.slice()??null}}}class Pt extends Ge{get kind(){return Me.count}count;constructor(e){super(),this.count=e?.count??0}toJSON(){return{...super.toJSON(),count:this.count}}}class mt extends Ge{get kind(){return Me.input}input;constructor(e){super(),this.input=e?.input??""}toJSON(){return{...super.toJSON(),input:this.input}}}class gt extends mt{get kind(){return Me.enum}valid;constructor(e){super(e),this.valid=e?.valid??[]}toJSON(){return{...super.toJSON(),valid:[...this.valid]}}}class Ct extends Ge{get kind(){return Me.escalation}escalations;constructor(e){super(),this.escalations=e?.escalations?.map((e=>P.fromJSON(e)))??[]}toJSON(){return{...super.toJSON(),escalations:this.escalations.map((e=>e.toJSON()))}}}class Bt extends Ge{get kind(){return Me.externals}errors;warnings;messages;constructor(e){super(),this.errors=e?.errors??[],this.warnings=e?.warnings??[],this.messages=e?.messages??[]}toJSON(){return{...super.toJSON(),errors:[...this.errors],warnings:[...this.warnings],messages:[...this.messages]}}}class Lt extends Ge{get kind(){return Me.formTemplateInUse}formResults;constructor(e){super(),this.formResults=e?.formResults??[]}toJSON(){return{...super.toJSON(),formResults:[...this.formResults]}}}class Dt extends Ge{get kind(){return Me.locked}timeout;until;constructor(e){super(),this.timeout=new m(e?.timeout),this.until=t.date(e?.until)}toJSON(){const e=super.toJSON();return isNaN(this.timeout.valueOf())||(e.timeout=this.timeout.toString()),isNaN(this.until.valueOf())||(e.until=this.until.toISOString()),e}}class xt extends Ge{get kind(){return Me.minMax}min;max;constructor(e){let s;super(),this.min=t.isntNaN(e?.min)?e.min:isNaN((s=t.date(e?.min)).valueOf())?null:s,this.max=t.isntNaN(e?.max)?e.max:isNaN((s=t.date(e?.max)).valueOf())?null:s}toJSON(){const e=super.toJSON();return this.min instanceof Date?e.min=this.min.toISOString():isNaN(this.min)||(e.min=this.min),this.max instanceof Date?e.max=this.max.toISOString():isNaN(this.max)||(e.max=this.max),e}}class wt extends Ge{get kind(){return Me.parent}parent;descendant;constructor(e){super(),this.parent=e?.parent,this.descendant=e?.descendant}toJSON(){return{...super.toJSON(),parent:this.parent??null,descendant:this.descendant??null}}}class vt extends Ge{get kind(){return Me.parse}line;column;after;constructor(e){super(),this.line=e?.line,this.column=e?.column,this.after=e?.after}toJSON(){return{...super.toJSON(),line:this.line??null,column:this.column??null,after:this.after??null}}}class St extends mt{get kind(){return Me.phone}number;usable;constructor(e){super(e),this.number=e?.number,this.usable=e?.usable}toJSON(){return{...super.toJSON(),number:this.number??null,usable:this.usable??null}}}class Mt extends Ge{get kind(){return Me.secret}headers;accepted;key;signature;date;method;uri;length;input;output;constructor(s){super(),this.headers=e.toMap(s?.headers??{}),this.accepted=t.date(s?.accepted),this.key=s?.key,this.signature=s?.signature,this.date=s?.date,this.method=s?.method,this.uri=s?.uri,this.length=s?.length,this.input=s?.input,this.output=s?.output}toJSON(){return{...super.toJSON(),headers:e.fromMap(this.headers),accepted:this.accepted.toISOString(),key:this.key,signature:this.signature,date:this.date,method:this.method,uri:this.uri,length:this.length??null,input:this.input,output:this.output}}}class ft extends Ge{get kind(){return Me.stack}message;stack;value;constructor(e){super(),this.message=e?.message??"",this.stack=e?.stack??"",this.value=e?.value}toJSON(){return{...super.toJSON(),message:this.message,stack:this.stack,value:this.value??null}}}class Gt extends Ge{get kind(){return Me.throttled}ghostId;login;ip;command;count;timeout;constructor(e){super(),this.ghostId=e?.ghostId??"",this.login=e?.login??"",this.ip=e?.ip??"",this.command=e?.command??"",this.count=e?.count??0,this.timeout=new m(e.timeout)}toJSON(){return{...super.toJSON(),ghostId:this.ghostId,login:this.login,ip:this.ip,command:this.command,count:this.count,timeout:this.timeout.toJSON()}}}Ge.fromJSON=function(e){switch(e?.kind){case Me.badIds:return new pt(e);case Me.badIndexes:return new ht(e);case Me.badKeys:return new lt(e);case Me.batch:return new ut(e);case Me.connection:return new yt(e);case Me.contactInUse:return new Rt(e);case Me.count:return new Pt(e);case Me.enum:return new gt(e);case Me.escalation:return new Ct(e);case Me.externals:return new Bt(e);case Me.formTemplateInUse:return new Lt(e);case Me.input:return new mt(e);case Me.locked:return new Dt(e);case Me.minMax:return new xt(e);case Me.parent:return new wt(e);case Me.parse:return new vt(e);case Me.phone:return new St(e);case Me.secret:return new Mt(e);case Me.stack:return new ft(e);case Me.throttled:return new Gt(e);case Me.userGroupInUse:return new dt(e)}return null};class ReplySyncBatchSuspend extends ReplySyncBatch{store(){const e=s[this.t];return this.getResults().map((t=>{const s=e.get(t.getKey());return s?.fromJSON(t.toJSON())??!1})).some((e=>e))}}class At extends ge{id;company;kind;name;notes;icon;labels;tags;attributes;messagingAddress;pictures;references;contact;year;plate;make;model;colour;serial;vin;odometer;engineHours;relationships;constructor(t){super(t),this.id=t?.id,this.company=t?.company,this.kind=t?.kind,this.name=t?.name,this.notes=t?.notes,this.icon=t?.icon,this.labels=t?.labels,this.tags=t?.tags,this.attributes=t?.attributes?e.toMapPredicate(t.attributes,((e,t)=>[e,g.fromJSON(t)])):null,this.messagingAddress=t?.messagingAddress,this.pictures=t?.pictures,this.references=t?.references?e.toMap(t?.references):null,this.contact=t?.contact,this.year=t?.year,this.plate=t?.plate,this.make=t?.make,this.model=t?.model,this.colour=t?.colour,this.serial=t?.serial,this.vin=t?.vin,this.odometer=t?.odometer,this.engineHours=t?.engineHours,this.relationships=t?.relationships}toJSON(){const s={};return this.id?(s.id=this.id,s.v=[...this.v]):(s.company=this.company,s.kind=this.kind),this.name&&(s.name=this.name),this.notes&&(s.notes=this.notes),t.isntNaN(this.icon)&&(s.icon=this.icon),this.labels?.length&&(s.labels=[...this.labels]),this.tags?.length&&(s.tags=[...this.tags]),this.attributes?.size&&(s.attributes=e.fromMapPredicate(this.attributes,((e,t)=>[e,t?.toJSON()]))),this.messagingAddress&&(s.messagingAddress=this.messagingAddress),this.pictures?.length&&(s.pictures=[...this.pictures]),this.references?.size&&(s.references=e.fromMap(this.references)),t.isntNaN(this.contact)&&(s.contact=this.contact),t.isntNaN(this.year)&&(s.year=this.year),this.plate&&(s.plate=this.plate),this.make&&(s.make=this.make),this.model&&(s.model=this.model),this.colour&&(s.colour=this.colour),this.serial&&(s.serial=this.serial),this.vin&&(s.vin=this.vin),t.isntNaN(this.odometer)&&(s.odometer=this.odometer),t.isntNaN(this.engineHours)&&(s.engineHours=this.engineHours),this.relationships?.length&&(s.relationships=[...this.relationships]),s}}class PayAsset extends Payload{asset;constructor(e){super(e),this.asset=new Le(e?.asset)}getKey(){return this.asset?.id?.toString()??""}}class RepAssetAdvancedGet extends ReplySyncGetPiece{assetAdvanced;constructor(e){super(e,"AssetAdvanced",1),e?.assetAdvanced&&(this.assetAdvanced=new C(e.assetAdvanced))}p(){return new B}getObject(){return this.assetAdvanced}getCompanyId(){return this.assetAdvanced?.companyId}}class PayAssetAdvancedGet extends PayAsset{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepAssetAdvancedGet(e)}}class RepAssetAdvancedList extends ReplySyncListPiece{assetAdvanceds;constructor(e){super(e,"AssetAdvanced",1),this.assetAdvanceds=e?.assetAdvanceds?.map((e=>new C(e)))}getList(){return this.assetAdvanceds}p(){return new B}}class RepAssetAdvancedListByCompany extends RepAssetAdvancedList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class RepAssetAdvancedListByCompanyAndLabels extends RepAssetAdvancedListByCompany{labels;constructor(e){super(e),this.labels=e?.labels}u(e,t){return!1}}class RepAssetAdvancedListByCompanyAndRefPairs extends RepAssetAdvancedListByCompany{references;constructor(t){super(t),t?.references&&(this.references=e.toMap(t?.references))}u(e,t){return!1}}class PayAssetAdvancedList extends Payload{includeMessages;includeTasks;includeSuspended;includeDeleted;constructor(e){super(e),this.includeMessages=!!e?.includeMessages,this.includeTasks=!!e?.includeTasks,this.includeSuspended=e?.includeSuspended??!0,this.includeDeleted=!!e?.includeDeleted}}class PayAssetAdvancedListByCompany extends PayAssetAdvancedList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepAssetAdvancedListByCompany(e)}}class PayAssetAdvancedListByCompanyAndLabels extends PayAssetAdvancedListByCompany{labels;constructor(e){super(e),this.labels=e?.labels??[]}createReply(e){return new RepAssetAdvancedListByCompanyAndLabels(e)}}class PayAssetAdvancedListByCompanyAndRefPairs extends PayAssetAdvancedListByCompany{references;constructor(e){super(e),this.references=e?.references?new Map(Object.entries(e.references)):new Map}createReply(e){return new RepAssetAdvancedListByCompanyAndRefPairs(e)}}class RepAssetBatchDelete extends ReplySyncBatchDelete{assets;constructor(e){super(e,"Asset"),this.assets=e?.assets?.map((e=>new ve(e)))}i(){return this.assets?.map((e=>e.id))}getCompanyId(){return this.assets?.[0]?.company}getResults(){return this.assets}}class PayAssetBatchDelete extends Payload{assets;constructor(e){super(e),this.assets=e?.assets?.map((e=>new Le(e)))??[]}createReply(e){return new RepAssetBatchDelete(e)}}class RepAssetBatchMerge extends Reply{assets;constructor(e){super(e),this.assets=e?.assets?.map((e=>new we(e)))}}class PayAssetBatchMerge extends Payload{assets;constructor(e){super(e),this.assets=e?.assets?.map((e=>new At(e)))??[]}createReply(e){return new RepAssetBatchMerge(e)}}class RepAssetDelete extends ReplySyncDelete{asset;constructor(e){super(e,"Asset"),this.asset=ve.fromJSON(e?.asset)}getKey(){return this.asset?.id}getCompanyId(){return this.asset?.company}}class PayAssetDelete extends PayAsset{createReply(e){return new RepAssetDelete(e)}}class RepAssetDispatchGet extends ReplySyncGetPiece{assetDispatch;constructor(e){super(e,"AssetDispatch",2),e?.assetDispatch&&(this.assetDispatch=new L(e.assetDispatch))}p(){return new B}getObject(){return this.assetDispatch}getCompanyId(){return this.assetDispatch?.companyId}}class PayAssetDispatchGet extends PayAsset{includeDeleted;includeMessages;includeTasks;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted,this.includeMessages=!!e?.includeMessages,this.includeTasks=!!e?.includeTasks}createReply(e){return new RepAssetDispatchGet(e)}}class RepAssetDispatchList extends ReplySyncListPiece{assetDispatches;constructor(e){super(e,"AssetDispatch",2),this.assetDispatches=e?.assetDispatches?.map((e=>new L(e)))}getList(){return this.assetDispatches}p(){return new B}}class RepAssetDispatchListByCompany extends RepAssetDispatchList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class RepAssetDispatchListByCompanyAndLabels extends RepAssetDispatchListByCompany{labels;constructor(e){super(e),this.labels=e?.labels}u(e,t){return!1}}class RepAssetDispatchListByCompanyAndRefPairs extends RepAssetDispatchListByCompany{references;constructor(t){super(t),t?.references&&(this.references=e.toMap(t?.references))}u(e,t){return!1}}class PayAssetDispatchList extends Payload{includeMessages;includeTasks;includeSuspended;includeDeleted;constructor(e){super(e),this.includeMessages=!!e?.includeMessages,this.includeTasks=!!e?.includeTasks,this.includeSuspended=e?.includeSuspended??!0,this.includeDeleted=!!e?.includeDeleted}}class PayAssetDispatchListByCompany extends PayAssetDispatchList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepAssetDispatchListByCompany(e)}}class PayAssetDispatchListByCompanyAndLabels extends PayAssetDispatchListByCompany{labels;constructor(e){super(e),this.labels=e?.labels??[]}createReply(e){return new RepAssetDispatchListByCompanyAndLabels(e)}}class PayAssetDispatchListByCompanyAndRefPairs extends PayAssetDispatchListByCompany{references;constructor(e){super(e),this.references=new Map(Object.entries(e?.references??{}))}createReply(e){return new RepAssetDispatchListByCompanyAndRefPairs(e)}}class RepAssetDispatchMerge extends Reply{assetDispatch;constructor(e){super(e),this.assetDispatch=we.fromJSON(e?.assetDispatch)}}class bt extends ge{id;jobs;directions;optimize;constructor(e){super(e),this.id=e?.id,this.jobs=e?.jobs?.map(t.id),this.directions=e?.directions?.map((e=>D.fromJSON(e))),this.optimize=e?.optimize}toJSON(){const e={id:this.id,v:[...this.v],optimize:!!this.optimize};return this.jobs&&(e.jobs=[...this.jobs]),this.directions&&(e.directions=this.directions.map((e=>e.toJSON()))),e}}class PayAssetDispatchMerge extends Payload{asset;constructor(e){super(e),this.asset=new bt(e?.asset)}createReply(e){return new RepAssetDispatchMerge(e)}}class RepAssetGeneralGet extends ReplySyncGetPiece{assetGeneral;constructor(e){super(e,"AssetGeneral",0),e?.assetGeneral&&(this.assetGeneral=new x(e.assetGeneral))}p(){return new B}getObject(){return this.assetGeneral}getCompanyId(){return this.assetGeneral?.companyId}}class PayAssetGeneralGet extends PayAsset{includeDeleted;includeMessages;includeTasks;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted,this.includeMessages=!!e?.includeMessages,this.includeTasks=!!e?.includeTasks}createReply(e){return new RepAssetGeneralGet(e)}}class RepAssetGeneralList extends ReplySyncListPiece{assetGenerals;constructor(e){super(e,"AssetGeneral",0),this.assetGenerals=e?.assetGenerals?.map((e=>new x(e)))}getList(){return this.assetGenerals}p(){return new B}}class RepAssetGeneralListByCompany extends RepAssetGeneralList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class RepAssetGeneralListByCompanyAndLabels extends RepAssetGeneralListByCompany{labels;constructor(e){super(e),this.labels=e?.labels}u(e,t){return!1}}class RepAssetGeneralListByCompanyAndRefPairs extends RepAssetGeneralListByCompany{references;constructor(t){super(t),t?.references&&(this.references=e.toMap(t?.references))}u(e,t){return!1}}class PayAssetGeneralList extends Payload{includeMessages;includeTasks;includeSuspended;includeDeleted;constructor(e){super(e),this.includeMessages=!!e?.includeMessages,this.includeTasks=!!e?.includeTasks,this.includeSuspended=e?.includeSuspended??!0,this.includeDeleted=!!e?.includeDeleted}}class PayAssetGeneralListByCompany extends PayAssetGeneralList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepAssetGeneralListByCompany(e)}}class PayAssetGeneralListByCompanyAndLabels extends PayAssetGeneralListByCompany{labels;constructor(e){super(e),this.labels=e?.labels??[]}createReply(e){return new RepAssetGeneralListByCompanyAndLabels(e)}}class PayAssetGeneralListByCompanyAndRefPairs extends PayAssetGeneralListByCompany{references;constructor(e){super(e),this.references=new Map(Object.entries(e?.references??{}))}createReply(e){return new RepAssetGeneralListByCompanyAndRefPairs(e)}}class RepAssetGet extends ReplySyncGet{asset;constructor(e){super(e,"Asset"),e?.asset&&(this.asset=new B(e.asset))}getObject(){return this.asset}getCompanyId(){return this.asset?.companyId}}class PayAssetGet extends PayAsset{includeDeleted;includeMessages;includeTasks;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted,this.includeMessages=!!e?.includeMessages,this.includeTasks=!!e?.includeTasks}createReply(e){return new RepAssetGet(e)}}class RepAssetList extends ReplySyncList{assets;constructor(e){super(e,"Asset"),this.assets=e?.assets?.map((e=>new B(e)))}getList(){return this.assets}}class RepAssetListByCompany extends RepAssetList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class RepAssetListByCompanyAndLabels extends RepAssetListByCompany{labels;constructor(e){super(e),this.labels=e?.labels}u(e,t){return!1}}class RepAssetListByCompanyAndRefPairs extends RepAssetListByCompany{references;constructor(t){super(t),t?.references&&(this.references=e.toMap(t?.references))}u(e,t){return!1}}class PayAssetList extends Payload{includeMessages;includeTasks;includeSuspended;includeDeleted;constructor(e){super(e),this.includeMessages=!!e?.includeMessages,this.includeTasks=!!e?.includeTasks,this.includeSuspended=e?.includeSuspended??!0,this.includeDeleted=!!e?.includeDeleted}}class PayAssetListByCompany extends PayAssetList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepAssetListByCompany(e)}}class PayAssetListByCompanyAndLabels extends PayAssetListByCompany{labels;constructor(e){super(e),this.labels=e?.labels??[]}createReply(e){return new RepAssetListByCompanyAndLabels(e)}}class PayAssetListByCompanyAndRefPairs extends PayAssetListByCompany{references;constructor(e){super(e),this.references=new Map(Object.entries(e?.references??{}))}createReply(e){return new RepAssetListByCompanyAndRefPairs(e)}}class RepAssetMerge extends Reply{asset;constructor(e){super(e),this.asset=we.fromJSON(e?.asset)}}class PayAssetMerge extends Payload{asset;constructor(e){super(e),this.asset=new At(e?.asset)}createReply(e){return new RepAssetMerge(e)}}class RepAssetSuspend extends ReplySync{asset;constructor(e){super(e,"Asset"),this.asset=ot.fromJSON(e?.asset)}getCompanyId(){return this.asset?.company}store(){const e=s[this.t],t=this.asset.toJSON(),r=e.get(this.asset.id);return r?.fromJSON(t)??!1}}class PayAssetReactivate extends PayAsset{createReply(e){return new RepAssetSuspend(e)}}class PayAssetRestore extends PayAsset{createReply(e){return new RepAssetDelete(e)}}class PayAssetSuspend extends PayAsset{createReply(e){return new RepAssetSuspend(e)}}class Jt extends ge{id;script;company;name;notes;priority;targets;filters;parameters;constructor(t){super(t),this.id=t?.id,this.company=t?.company,this.name=t?.name,this.notes=t?.notes,this.script=t?.script,this.priority=t?.priority,this.targets=t?.targets,this.filters=t?.filters,this.parameters=t?.parameters?e.toMapPredicate(t?.parameters,((e,t)=>[e,t?w.fromJSON(t):null])):null}toJSON(){const t={};return this.id?(t.id=this.id,t.v=[...this.v]):(t.script=this.script,t.company=this.company),this.name&&(t.name=this.name),this.notes&&(t.notes=this.notes),this.priority&&(t.priority=this.priority),this.targets&&(t.targets=this.targets),this.filters&&(t.filters=this.filters),this.parameters&&(t.parameters=e.fromMapPredicate(this.parameters,((e,t)=>[e,t?.toJSON()??null]))),t}}class PayBehaviour extends Payload{behaviour;constructor(e){super(e),this.behaviour=new Le(e?.behaviour)}getKey(){return this.behaviour?.id?.toString()??""}}class RepBehaviourBatchDelete extends ReplySyncBatchDelete{behaviours;constructor(e){super(e,"Behaviour"),this.behaviours=e?.behaviours?.map((e=>new ve(e)))}i(){return this.behaviours?.map((e=>e.id))}getCompanyId(){return this.behaviours?.[0]?.company}getResults(){return this.behaviours}}class PayBehaviourBatchDelete extends Payload{behaviours;constructor(e){super(e),this.behaviours=e?.behaviours?.map((e=>new Le(e)))??[]}createReply(e){return new RepBehaviourBatchDelete(e)}}class RepBehaviourBatchMerge extends Reply{behaviours;constructor(e){super(e),this.behaviours=e?.behaviours?.map((e=>new we(e)))}}class PayBehaviourBatchMerge extends Payload{behaviours;constructor(e){super(e),this.behaviours=e?.behaviours?.map((e=>new Jt(e)))??[]}createReply(e){return new RepBehaviourBatchMerge(e)}}class RepBehaviourDelete extends ReplySyncDelete{behaviour;constructor(e){super(e,"Behaviour"),this.behaviour=ve.fromJSON(e?.behaviour)}getKey(){return this.behaviour?.id}getCompanyId(){return this.behaviour?.company}}class PayBehaviourDelete extends PayBehaviour{createReply(e){return new RepBehaviourDelete(e)}}class RepBehaviourGet extends ReplySyncGet{behaviour;constructor(e){super(e,"Behaviour"),e?.behaviour&&(this.behaviour=new v(e.behaviour))}getObject(){return this.behaviour}getCompanyId(){return this.behaviour?.companyId}}class PayBehaviourGet extends PayBehaviour{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepBehaviourGet(e)}}class RepBehaviourList extends ReplySyncList{behaviours;constructor(e){super(e,"Behaviour"),this.behaviours=e?.behaviours?.map((e=>new v(e)))}getList(){return this.behaviours}}class RepBehaviourListByCompany extends RepBehaviourList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class PayBehaviourList extends Payload{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}}class PayBehaviourListByCompany extends PayBehaviourList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepBehaviourListByCompany(e)}}class RepBehaviourMerge extends Reply{behaviour;constructor(e){super(e),this.behaviour=we.fromJSON(e?.behaviour)}}class PayBehaviourMerge extends Payload{behaviour;constructor(e){super(e),this.behaviour=new Jt(e?.behaviour)}getKey(){return this.behaviour?.id?.toString()??""}createReply(e){return new RepBehaviourMerge(e)}}class PayBehaviourRestore extends PayBehaviour{createReply(e){return new RepBehaviourDelete(e)}}class RepBehaviourLogBatchDelete extends ReplySyncBatchDelete{R;constructor(e,t){super(e,"BehaviourLog"),this.R=t}i(){return[...s[this.t].entries().filter((([e,t])=>this.R(t))).map((([e,t])=>e))]}}class RepBehaviourLogBatchDeleteByAsset extends RepBehaviourLogBatchDelete{asset;constructor(e){super(e,(e=>e.assetId===this.asset?.id)),this.asset=we.fromJSON(e?.asset)}getResults(){return[]}getCompanyId(){return this.asset?.company}}class RepBehaviourLogBatchDeleteByBehaviour extends RepBehaviourLogBatchDelete{behaviour;constructor(e){super(e,(e=>e.behaviourId===this.behaviour?.id)),this.behaviour=at.fromJSON(e?.behaviour)}getResults(){return[]}getCompanyId(){return this.behaviour?.company}}class RepBehaviourLogBatchDeleteByScript extends RepBehaviourLogBatchDelete{behaviourScript;constructor(e){super(e,(e=>e.behaviour?.scriptId===this.behaviourScript?.id)),this.behaviourScript=we.fromJSON(e?.behaviourScript)}getResults(){return[]}getCompanyId(){return this.behaviourScript?.company}}class PayBehaviourLogBatchDeleteByAsset extends Payload{asset;constructor(e){super(e),this.asset=new Le(e?.asset)}createReply(e){return new RepBehaviourLogBatchDeleteByAsset(e)}}class PayBehaviourLogBatchDeleteByBehaviour extends Payload{behaviour;constructor(e){super(e),this.behaviour=new Le(e?.behaviour)}createReply(e){return new RepBehaviourLogBatchDeleteByBehaviour(e)}}class PayBehaviourLogBatchDeleteByScript extends Payload{behaviourScript;constructor(e){super(e),this.behaviourScript=new Le(e?.behaviourScript)}createReply(e){return new RepBehaviourLogBatchDeleteByScript(e)}}class RepBehaviourLogList extends ReplySyncList{behaviourLogs;constructor(e){super(e,"BehaviourLog"),this.behaviourLogs=e?.behaviourLogs?.map((e=>new S(e)))}getList(){return this.behaviourLogs}}class RepBehaviourLogListByAsset extends RepBehaviourLogList{asset;constructor(e){super(e),this.asset=we.fromJSON(e?.asset)}u(e,t){return e[1].assetId===this.asset.id}getCompanyId(){return this.asset?.company}}class RepBehaviourLogListByBehaviour extends RepBehaviourLogList{behaviour;constructor(e){super(e),this.behaviour=at.fromJSON(e?.behaviour)}u(e,t){return e[1].behaviourId===this.behaviour.id}getCompanyId(){return this.behaviour?.company}}class RepBehaviourLogListByScript extends RepBehaviourLogList{behaviourScript;constructor(e){super(e),this.behaviourScript=we.fromJSON(e?.behaviourScript)}u(e,t){return e[1].scriptId===this.behaviourScript.id}getCompanyId(){return this.behaviourScript?.company}}class PayBehaviourLogList extends Payload{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}}class PayBehaviourLogListByAsset extends PayBehaviourLogList{asset;constructor(e){super(e),this.asset=new Le(e?.asset)}createReply(e){return new RepBehaviourLogListByAsset(e)}}class PayBehaviourLogListByBehaviour extends PayBehaviourLogList{behaviour;constructor(e){super(e),this.behaviour=new Le(e?.behaviour)}createReply(e){return new RepBehaviourLogListByBehaviour(e)}}class PayBehaviourLogListByScript extends PayBehaviourLogList{behaviourScript;constructor(e){super(e),this.behaviourScript=new Le(e?.behaviourScript)}createReply(e){return new RepBehaviourLogListByScript(e)}}class Nt extends ge{id;company;name;notes;graphic;fill;stroke;source;global;filters;parameters;constructor(t){super(t),this.id=t?.id,this.company=t?.company,this.name=t?.name,this.notes=t?.notes,this.graphic=t?.graphic,this.fill=t?.fill,this.stroke=t?.stroke,this.source=t?.source,this.global=t?.global,this.filters=t?.filters,this.parameters=t?.parameters?e.toMapPredicate(t?.parameters,((e,t)=>[e,t?w.fromJSON(t):null])):null}toJSON(){const t={};return this.id?(t.id=this.id,t.v=[...this.v]):t.company=this.company,this.name&&(t.name=this.name),this.notes&&(t.notes=this.notes),this.graphic&&(t.graphic=this.graphic),this.fill&&(t.fill=this.fill),this.stroke&&(t.stroke=this.stroke),this.source&&(t.source=this.source),this.global&&(t.global=this.global),this.filters&&(t.filters=this.filters),this.parameters?.size&&(t.parameters=e.fromMapPredicate(this.parameters,((e,t)=>[e,t?.toJSON()??null]))),t}}class PayBehaviourScript extends Payload{behaviourScript;constructor(e){super(e),this.behaviourScript=new Le(e?.behaviourScript)}getKey(){return this.behaviourScript?.id?.toString()??""}}class RepBehaviourScriptBatchDelete extends ReplySyncBatchDelete{behaviourScripts;constructor(e){super(e,"BehaviourScript"),this.behaviourScripts=e?.behaviourScripts?.map((e=>new ve(e)))}i(){return this.behaviourScripts?.map((e=>e.id))}getCompanyId(){return this.behaviourScripts?.[0]?.company}getResults(){return this.behaviourScripts}}class PayBehaviourScriptBatchDelete extends Payload{behaviourScripts;constructor(e){super(e),this.behaviourScripts=e?.behaviourScripts?.map((e=>new Le(e)))??[]}createReply(e){return new RepBehaviourScriptBatchDelete(e)}}class RepBehaviourScriptBatchMerge extends Reply{behaviourScripts;constructor(e){super(e),this.behaviourScripts=e?.behaviourScripts?.map((e=>new we(e)))}}class PayBehaviourScriptBatchMerge extends Payload{behaviourScripts;constructor(e){super(e),this.behaviourScripts=e?.behaviourScripts?.map((e=>new Nt(e)))??[]}createReply(e){return new RepBehaviourScriptBatchMerge(e)}}class RepBehaviourScriptDelete extends ReplySyncDelete{behaviourScript;constructor(e){super(e,"BehaviourScript"),this.behaviourScript=ve.fromJSON(e?.behaviourScript)}getKey(){return this.behaviourScript?.id}getCompanyId(){return this.behaviourScript?.company}}class PayBehaviourScriptDelete extends PayBehaviourScript{createReply(e){return new RepBehaviourScriptDelete(e)}}class RepBehaviourScriptGet extends ReplySyncGet{behaviourScript;constructor(e){super(e,"BehaviourScript"),e?.behaviourScript&&(this.behaviourScript=new M(e.behaviourScript))}getObject(){return this.behaviourScript}getCompanyId(){return this.behaviourScript?.companyId}}class PayBehaviourScriptGet extends PayBehaviourScript{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepBehaviourScriptGet(e)}}class RepBehaviourScriptList extends ReplySyncList{behaviourScripts;constructor(e){super(e,"BehaviourScript"),this.behaviourScripts=e?.behaviourScripts?.map((e=>new M(e)))}getList(){return this.behaviourScripts}}class RepBehaviourScriptListByCompany extends RepBehaviourScriptList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class PayBehaviourScriptList extends Payload{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}}class PayBehaviourScriptListByCompany extends PayBehaviourScriptList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepBehaviourScriptListByCompany(e)}}class RepBehaviourScriptMerge extends Reply{behaviourScript;constructor(e){super(e),this.behaviourScript=we.fromJSON(e?.behaviourScript)}}class PayBehaviourScriptMerge extends Payload{behaviourScript;constructor(e){super(e),this.behaviourScript=new Nt(e?.behaviourScript)}getKey(){return this.behaviourScript?.id?.toString()??""}createReply(e){return new RepBehaviourScriptMerge(e)}}class PayBehaviourScriptRestore extends PayBehaviourScript{createReply(e){return new RepBehaviourScriptDelete(e)}}class PayCompany extends Payload{company;constructor(e){super(),this.company=new Le(e?.company)}getKey(){return this.company?.id?.toString()??""}}class RepCompanyBatchDelete extends ReplySyncBatchDelete{companies;constructor(e){super(e,"Company"),this.companies=e?.companies?.map((e=>new it(e)))}i(){return this.companies?.map((e=>e.id))}getCompanyId(){return this.companies?.[0]?.parent}getResults(){return this.companies}}class PayCompanyBatchDelete extends Payload{companies;constructor(e){super(),this.companies=e?.companies?.map((e=>new Le(e)))??[]}createReply(e){return new RepCompanyBatchDelete(e)}}class RepCompanyBatchMerge extends Reply{companies;constructor(e){super(e),this.companies=e?.companies?.map((e=>new we(e)))}}class Tt extends me{minimumLength;includeLetters;includeNumbers;includeUpperLower;includeSpecial;expireMode;expireThreshold;constructor(e){super(),this.minimumLength=e?.minimumLength,this.includeLetters=e?.includeLetters,this.includeNumbers=e?.includeNumbers,this.includeUpperLower=e?.includeUpperLower,this.includeSpecial=e?.includeSpecial,this.expireMode=e?.expireMode,this.expireThreshold=e?.expireThreshold}toJSON(){const e={};return this.minimumLength&&(e.minimumLength=this.minimumLength),t.isNothing(this.includeLetters)||(e.includeLetters=this.includeLetters),t.isNothing(this.includeNumbers)||(e.includeNumbers=this.includeNumbers),t.isNothing(this.includeUpperLower)||(e.includeUpperLower=this.includeUpperLower),t.isNothing(this.includeSpecial)||(e.includeSpecial=this.includeSpecial),this.expireMode&&(e.expireMode=this.expireMode),this.expireThreshold&&(e.expireThreshold=this.expireThreshold),e}}class It extends me{applications;ipv4Ranges;multiUser;idleAllowed;expireTimeout;maxSessions;constructor(e){super(),this.applications=e?.applications,this.ipv4Ranges=e?.ipv4Ranges,this.multiUser=e?.multiUser,this.idleAllowed=e?.idleAllowed,this.expireTimeout=e?.expireTimeout,this.maxSessions=e?.maxSessions}toJSON(){const e={};return this.applications&&(e.applications=this.applications),this.ipv4Ranges&&(e.ipv4Ranges=this.ipv4Ranges),this.multiUser&&(e.multiUser=this.multiUser),this.idleAllowed&&(e.idleAllowed=this.idleAllowed),this.expireTimeout&&(e.expireTimeout=this.expireTimeout),this.maxSessions&&(e.maxSessions=this.maxSessions),e}}class Ot extends ge{id;parent;name;notes;references;directory;labels;tags;sessionPolicy;passwordPolicy;constructor(t){super(t),this.id=t?.id,this.parent=t?.parent,this.name=t?.name,this.notes=t?.notes,this.references=e.toMap(t?.references),this.directory=e.toMap(t?.directory),this.labels=e.toMap(t?.labels),this.tags=e.toMap(t?.tags),this.sessionPolicy=t?.sessionPolicy?new It(t.sessionPolicy):null,this.passwordPolicy=t?.passwordPolicy?new Tt(t.passwordPolicy):null}toJSON(){const t={};return t.id?(t.id=this.id,t.v=[...this.v]):t.parent=this.parent,this.name&&(t.name=this.name),this.notes&&(t.notes=this.notes),this.references&&(t.references=e.fromMap(this.references)),this.directory&&(t.directory=e.fromMap(this.directory)),this.labels&&(t.labels=e.fromMapPredicate(this.labels,((e,t)=>[e,t?.toJSON()??null]))),this.tags&&(t.tags=e.fromMapPredicate(this.tags,((e,t)=>[e,t?.toJSON()??null]))),t.sessionPolicy=this.sessionPolicy?this.sessionPolicy.toJSON():null,t.passwordPolicy=this.passwordPolicy?this.passwordPolicy.toJSON():null,t}}class PayCompanyBatchMerge extends Payload{companies;constructor(e){super(),this.companies=e?.companies?.map((e=>new Ot(e)))??[]}createReply(e){return new RepCompanyBatchMerge(e)}}class RepCompanyDelete extends ReplySyncDelete{company;constructor(e){super(e,"Company"),this.company=it.fromJSON(e?.company)}getKey(){return this.company?.id}getCompanyId(){return this.company?.parent}}class PayCompanyDelete extends PayCompany{createReply(e){return new RepCompanyDelete(e)}}class RepCompanyDirectoryGet extends ReplySyncGetPiece{companyDirectory;constructor(e){super(e,"CompanyDirectory",2),e?.companyDirectory&&(this.companyDirectory=new f(e.companyDirectory))}p(){return new G}getObject(){return this.companyDirectory}getCompanyId(){return this.companyDirectory?.parentId}}class PayCompanyDirectoryGet extends PayCompany{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepCompanyDirectoryGet(e)}}class RepCompanyDirectoryList extends ReplySyncList{companyDirectories;constructor(e){super(e,"CompanyDirectory"),this.companyDirectories=e?.companyDirectories?.map((e=>new f(e)))}getList(){return this.companyDirectories}}class RepCompanyDirectoryListByCompany extends RepCompanyDirectoryList{company;constructor(e){super(e),this.company=nt.fromJSON(e?.company)}u(e,t){return e[1].parentId===this.company.id}getCompanyId(){return this.company?.parent}}class PayCompanyDirectoryList extends Payload{includeDeleted;constructor(e){super(),this.includeDeleted=!!e?.includeDeleted}}class PayCompanyDirectoryListByCompany extends PayCompanyDirectoryList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepCompanyDirectoryListByCompany(e)}}class RepCompanyGeneralGet extends ReplySyncGetPiece{companyGeneral;constructor(e){super(e,"CompanyGeneral",0),e?.companyGeneral&&(this.companyGeneral=new A(e.companyGeneral))}p(){return new G}getObject(){return this.companyGeneral}getCompanyId(){return this.companyGeneral?.parentId}}class PayCompanyGeneralGet extends PayCompany{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepCompanyGeneralGet(e)}}class RepCompanyGeneralList extends ReplySyncList{companyGenerals;constructor(e){super(e,"CompanyGeneral"),this.companyGenerals=e?.companyGenerals?.map((e=>new A(e)))}getList(){return this.companyGenerals}}class RepCompanyGeneralListByCompany extends RepCompanyGeneralList{company;constructor(e){super(e),this.company=nt.fromJSON(e?.company)}u(e,t){return e[1].parentId===this.company.id}getCompanyId(){return this.company?.parent}}class PayCompanyGeneralList extends Payload{tree;includeParent;includeDeleted;constructor(e){super(),this.tree=e?.tree??!0,this.includeParent=e?.includeParent??!0,this.includeDeleted=!!e?.includeDeleted}}class PayCompanyGeneralListByCompany extends PayCompanyGeneralList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepCompanyGeneralListByCompany(e)}}class RepCompanyGet extends ReplySyncGet{company;constructor(e){super(e,"Company"),e?.company&&(this.company=new G(e.company))}getObject(){return this.company}getCompanyId(){return this.company?.parentId}}class PayCompanyGet extends PayCompany{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepCompanyGet(e)}}class RepCompanyMerge extends Reply{company;constructor(e){super(e),this.company=nt.fromJSON(e?.company)}}class PayCompanyMerge extends Payload{company;constructor(e){super(),this.company=new Ot(e?.company)}getKey(){return this.company?.id?.toString()??""}createReply(e){return new RepCompanyMerge(e)}}class RepCompanyPolicyGet extends ReplySyncGetPiece{companyPolicy;constructor(e){super(e,"CompanyPolicy",4),(e?.companyPolicy||e?.companyPolicies)&&(this.companyPolicy=new b(e.companyPolicy??e.companyPolicies))}p(){return new G}getObject(){return this.companyPolicy}getCompanyId(){return this.companyPolicy?.parentId}}class PayCompanyPolicyGet extends PayCompany{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepCompanyPolicyGet(e)}}class RepCompanyPolicyList extends ReplySyncList{companyPolicies;constructor(e){super(e,"CompanyPolicy"),this.companyPolicies=e?.companyPolicies?.map((e=>new b(e)))}getList(){return this.companyPolicies}}class RepCompanyPolicyListByCompany extends RepCompanyPolicyList{company;constructor(e){super(e),this.company=nt.fromJSON(e?.company)}u(e,t){return e[1].parentId===this.company.id}getCompanyId(){return this.company?.parent}}class PayCompanyPolicyList extends Payload{includeDeleted;constructor(e){super(),this.includeDeleted=!!e?.includeDeleted}}class PayCompanyPolicyListByCompany extends PayCompanyPolicyList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepCompanyPolicyListByCompany(e)}}class RepCompanyResellerDelete extends ReplySyncDelete{companyReseller;constructor(e){super(e,"CompanyReseller"),this.companyReseller=it.fromJSON(e?.companyReseller)}getKey(){return this.companyReseller?.id}getCompanyId(){return this.companyReseller?.parent}}class PayCompanyResellerDelete extends PayCompany{createReply(e){return new RepCompanyResellerDelete(e)}}class RepCompanyResellerGet extends ReplySyncGetPiece{companyReseller;constructor(e){super(e,"CompanyReseller",5),e?.companyReseller&&(this.companyReseller=new J(e.companyReseller))}p(){return new G}getObject(){return this.companyReseller}getCompanyId(){return this.companyReseller?.parentId}}class PayCompanyResellerGet extends PayCompany{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepCompanyResellerGet(e)}}class RepCompanyResellerList extends ReplySyncList{companyResellers;constructor(e){super(e,"CompanyReseller"),this.companyResellers=e?.companyResellers?.map((e=>new J(e)))}getList(){return this.companyResellers}}class RepCompanyResellerListByCompany extends RepCompanyResellerList{company;constructor(e){super(e),this.company=nt.fromJSON(e?.company)}u(e,t){return e[1].parentId===this.company.id}getCompanyId(){return this.company?.parent}}class PayCompanyResellerList extends Payload{includeDeleted;constructor(e){super(),this.includeDeleted=!!e?.includeDeleted}}class PayCompanyResellerListByCompany extends PayCompanyResellerList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepCompanyResellerListByCompany(e)}}class Ut extends me{incomingType;incomingAddress;incomingPort;incomingLogin;incomingPassword;incomingSecure;incomingMessageNumber;outgoingAddress;outgoingPort;outgoingLogin;outgoingPassword;outgoingSecure;outgoingReplyTo;constructor(e){super(),this.incomingType=e?.incomingType,this.incomingAddress=e?.incomingAddress,this.incomingPort=e?.incomingPort,this.incomingLogin=e?.incomingLogin,this.incomingPassword=e?.incomingPassword,this.incomingSecure=e?.incomingSecure,this.incomingMessageNumber=e?.incomingMessageNumber,this.outgoingAddress=e?.outgoingAddress,this.outgoingPort=e?.outgoingPort,this.outgoingLogin=e?.outgoingLogin,this.outgoingPassword=e?.outgoingPassword,this.outgoingSecure=e?.outgoingSecure,this.outgoingReplyTo=e?.outgoingReplyTo}toJSON(){const e={};return this.incomingType&&(e.incomingType=this.incomingType),this.incomingAddress&&(e.incomingAddress=this.incomingAddress),t.isntNaN(this.incomingPort)&&(e.incomingPort=this.incomingPort),this.incomingLogin&&(e.incomingLogin=this.incomingLogin),this.incomingPassword&&(e.incomingPassword=this.incomingPassword),"boolean"==typeof this.incomingSecure&&(e.incomingSecure=this.incomingSecure),t.isntNaN(this.incomingMessageNumber)&&(e.incomingMessageNumber=this.incomingMessageNumber),this.outgoingAddress&&(e.outgoingAddress=this.outgoingAddress),t.isntNaN(this.outgoingPort)&&(e.outgoingPort=this.outgoingPort),this.outgoingLogin&&(e.outgoingLogin=this.outgoingLogin),this.outgoingPassword&&(e.outgoingPassword=this.outgoingPassword),"boolean"==typeof this.outgoingSecure&&(e.outgoingSecure=this.outgoingSecure),this.outgoingReplyTo&&(e.outgoingReplyTo=this.outgoingReplyTo),e}}class kt extends me{notifyLimit;phoneNumbers;constructor(s){super(),this.notifyLimit=s?.notifyLimit,this.phoneNumbers=s?.phoneNumbers?e.toMapPredicate(s.phoneNumbers,((e,s)=>[e,t.phoneNumber(s)||null])):new Map}toJSON(){const s={};return t.isntNaN(this.notifyLimit)&&(s.notifyLimit=this.notifyLimit),this.phoneNumbers?.size&&(s.phoneNumbers=e.fromMap(this.phoneNumbers)),s}}class Ft extends ge{id;serviceName;contactInfo;logo;icon;favourite;domain;languages;website;graphics;gamut;notifyEmail;notifySms;termsPreamble;termsUpdated;recoverSubject;recoverBody;recoverIsHtml;constructor(s){super(s),this.id=s?.id,this.serviceName=s?.serviceName,this.contactInfo=s?.contactInfo?e.toMapPredicate(s.contactInfo,((e,s)=>[e,t.id(s)||null])):new Map,this.logo=s?.logo,this.icon=s?.icon,this.favourite=s?.favourite,this.domain=s?.domain,this.languages=s?.languages,this.website=e.toMap(s?.website),this.graphics=e.toMap(s?.graphics),this.gamut=s?.gamut?e.toMapPredicate(s.gamut,((e,t)=>[e,N.fromJSON(t)])):new Map,this.notifyEmail=s?.notifyEmail?new Ut(s.notifyEmail):null,this.notifySms=s?.notifySms?new kt(s.notifySms):null,this.termsPreamble=s?.termsPreamble,this.termsUpdated=s?.termsUpdated?t.date(s.termsUpdated):null,this.recoverSubject=s?.recoverSubject,this.recoverBody=s?.recoverBody,this.recoverIsHtml=s?.recoverIsHtml}toJSON(){const t={id:this.id,v:[...this.v]};return this.serviceName&&(t.serviceName=this.serviceName),this.contactInfo&&(t.contactInfo=e.fromMap(this.contactInfo)),this.logo&&(t.logo=this.logo),this.icon&&(t.icon=this.icon),this.favourite&&(t.favourite=this.favourite),this.domain&&(t.domain=this.domain),this.languages&&(t.languages=[...this.languages]),this.website?.size&&(t.website=e.fromMap(this.website)),this.graphics?.size&&(t.graphics=e.fromMap(this.graphics)),this.gamut?.size&&(t.gamut=e.fromMapPredicate(this.gamut,((e,t)=>[e,t?.toJSON()||null]))),this.notifyEmail&&(t.notifyEmail=this.notifyEmail.toJSON()),this.notifySms&&(t.notifySms=this.notifySms.toJSON()),this.termsPreamble&&(t.termsPreamble=this.termsPreamble),isNaN(this.termsUpdated?.valueOf())||(t.termsUpdated=this.termsUpdated.toISOString()),this.recoverSubject?.trim()&&(t.recoverSubject=this.recoverSubject),this.recoverBody?.trim()&&(t.recoverBody=this.recoverBody),"boolean"==typeof this.recoverIsHtml&&(t.recoverIsHtml=this.recoverIsHtml),t}}class RepCompanyResellerMerge extends Reply{companyReseller;constructor(e){super(e),this.companyReseller=nt.fromJSON(e?.companyReseller)}}class PayCompanyResellerMerge extends Payload{companyReseller;constructor(e){super(),this.companyReseller=new Ft(e?.companyReseller)}getKey(){return this.companyReseller?.id?.toString()??""}createReply(e){return new RepCompanyResellerMerge(e)}}class PayCompanyResellerRestore extends PayCompany{createReply(e){return new RepCompanyResellerDelete(e)}}class PayCompanyRestore extends PayCompany{createReply(e){return new RepCompanyDelete(e)}}class RepCompanyStyleGet extends ReplySyncGetPiece{companyStyle;constructor(e){super(e,"CompanyStyle",3),(e?.companyStyle||e?.companyLabels)&&(this.companyStyle=new T(e.companyStyle??e.companyLabels))}p(){return new G}getObject(){return this.companyStyle}getCompanyId(){return this.companyStyle?.parentId}}class PayCompanyStyleGet extends PayCompany{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepCompanyStyleGet(e)}}class RepCompanyStyleList extends ReplySyncList{companyStyles;constructor(e){super(e,"CompanyStyle"),this.companyStyles=(e?.companyStyles??e?.companyLabels)?.map((e=>new T(e)))}getList(){return this.companyStyles}}class RepCompanyStyleListByCompany extends RepCompanyStyleList{company;constructor(e){super(e),this.company=nt.fromJSON(e?.company)}u(e,t){return e[1].parentId===this.company.id}getCompanyId(){return this.company?.parent}}class PayCompanyStyleList extends Payload{includeDeleted;constructor(e){super(),this.includeDeleted=!!e?.includeDeleted}}class PayCompanyStyleListByCompany extends PayCompanyStyleList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepCompanyStyleListByCompany(e)}}class Kt extends ge{id;reason;tags;constructor(e){super(e),this.id=e?.id,this.reason=e?.reason,this.tags=e?.tags}toJSON(){const e={id:this.id};return this.reason&&(e.reason=this.reason),this.tags?.length&&(e.tags=[...this.tags]),e}}class _t extends ge{id;notes;signatory;status;constructor(e){super(e),this.id=e?.id,this.notes=e?.notes,this.signatory=e?.signatory,this.status=e?.status}toJSON(){const e={id:this.id};return this.notes&&(e.notes=this.notes),this.signatory&&(e.signatory=this.signatory),this.status&&(e.status=this.status),e}}class jt extends ge{id;driver;tags;steps;constructor(e){super(e),this.id=e?.id,this.driver=e?.driver??"",this.tags=e?.tags??[],this.steps=e?.steps?.map((e=>new _t(e)))??[]}toJSON(){const e={id:this.id,v:[...this.v]};return this.driver&&(e.driver=this.driver),this.tags?.length&&(e.tags=[...this.tags]),this.steps?.length&&(e.steps=this.steps.map((e=>e.toJSON()))),e}}class zt extends ge{id;name;eta;duration;place;address;latlng;signature;constructor(e){super(e),this.id=e?.id,this.name=e?.name,this.eta=e?.eta?t.date(e.eta):null,this.duration=e?.duration?new m(e.duration):null,this.place=e?.place,this.address=e?.address,this.latlng=e?.latlng?I.fromJSON(e.latlng):null,this.signature=e?.signature}toJSON(){const e={};return this.id&&(e.id=this.id),this.name&&(e.name=this.name),this.eta&&(e.eta=this.eta.toISOString()),this.duration&&(e.duration=this.duration.toString()),this.place&&(e.place=this.place),this.address&&(e.address=this.address),this.latlng&&(e.latlng=this.latlng.toJSON()),this.signature&&(e.signature=this.signature),e}}class Et extends ge{id;company;asset;name;instructions;references;attachments;forms;priority;labels;steps;constructor(t){super(t),this.id=t?.id,this.company=t?.company,this.asset=t?.asset,this.name=t?.name,this.instructions=t?.instructions,t?.references&&(this.references=e.toMap(t?.references)),this.attachments=t?.attachments,this.forms=t?.forms,this.priority=t?.priority,this.labels=t?.labels,this.steps=t?.steps?.map((e=>new zt(e)))}toJSON(){const t={};return this.id?(t.id=this.id,t.v=[...this.v]):t.company=this.company,isNaN(this.asset)||(t.asset=this.asset),this.name&&(t.name=this.name),this.instructions&&(t.instructions=this.instructions),this.references?.size&&(t.references=e.fromMap(this.references)),this.attachments&&(t.attachments=this.attachments),this.forms&&(t.forms=this.forms),this.priority&&(t.priority=this.priority),this.labels&&(t.labels=[...this.labels]),this.steps?.length&&(t.steps=this.steps.map((e=>e.toJSON()))),t}}class PayDispatchJob extends Payload{dispatchJob;constructor(e){super(e),this.dispatchJob=new Le(e?.dispatchJob)}getKey(){return this.dispatchJob?.id?.toString()??""}}class PayDispatchJobSpecial extends Payload{getAction(){const e=super.getAction();return e.filter=e.kind,e.kind="Merge",e}}class RepDispatchJobBatchMerge extends Reply{dispatchJobs;constructor(e){super(e),this.dispatchJobs=e?.dispatchJobs?.map((e=>new we(e)))}}class PayDispatchJobBatchCancel extends PayDispatchJobSpecial{dispatchJobs;constructor(e){super(e),this.dispatchJobs=e?.dispatchJobs?.map((e=>new Kt(e)))??[]}createReply(e){return new RepDispatchJobBatchMerge(e)}}class PayDispatchJobBatchChange extends PayDispatchJobSpecial{dispatchJobs;constructor(e){super(e),this.dispatchJobs=e?.dispatchJobs?.map((e=>new jt(e)))??[]}createReply(e){return new RepDispatchJobBatchMerge(e)}}class RepDispatchJobBatchDelete extends ReplySyncBatchDelete{dispatchJobs;constructor(e){super(e,"DispatchJob"),this.dispatchJobs=e?.dispatchJobs?.map((e=>new ve(e)))}i(){return this.dispatchJobs?.map((e=>e.id))}getCompanyId(){return this.dispatchJobs?.[0]?.company}getResults(){return this.dispatchJobs}}class PayDispatchJobBatchDelete extends PayDispatchJobSpecial{dispatchJobs;constructor(e){super(e),this.dispatchJobs=e?.dispatchJobs?.map((e=>new Le(e)))??[]}createReply(e){return new RepDispatchJobBatchDelete(e)}}class PayDispatchJobBatchMerge extends PayDispatchJobSpecial{dispatchJobs;constructor(e){super(e),this.dispatchJobs=e?.dispatchJobs?.map((e=>new Et(e)))??[]}createReply(e){return new RepDispatchJobBatchMerge(e)}}class RepDispatchJobMerge extends Reply{dispatchJob;constructor(e){super(e),this.dispatchJob=we.fromJSON(e?.dispatchJob)}}class PayDispatchJobCancel extends PayDispatchJobSpecial{dispatchJob;constructor(e){super(e),this.dispatchJob=new Kt(e?.dispatchJob)}getKey(){return this.dispatchJob.id.toString()??""}createReply(e){return new RepDispatchJobMerge(e)}}class PayDispatchJobChange extends PayDispatchJobSpecial{dispatchJob;constructor(e){super(e),this.dispatchJob=new jt(e?.dispatchJob)}getKey(){return this.dispatchJob?.id?.toString()??""}createReply(e){return new RepDispatchJobMerge(e)}}class RepDispatchJobDelete extends ReplySyncDelete{dispatchJob;constructor(e){super(e,"DispatchJob"),this.dispatchJob=ve.fromJSON(e?.dispatchJob)}getKey(){return this.dispatchJob?.id}getCompanyId(){return this.dispatchJob?.company}}class PayDispatchJobDelete extends PayDispatchJob{createReply(e){return new RepDispatchJobDelete(e)}}class RepDispatchJobGet extends ReplySyncGet{dispatchJob;constructor(e){super(e,"DispatchJob"),e?.dispatchJob&&(this.dispatchJob=new O(e.dispatchJob))}getObject(){return this.dispatchJob}getCompanyId(){return this.dispatchJob?.companyId}}class PayDispatchJobGet extends PayDispatchJob{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepDispatchJobGet(e)}}class RepDispatchJobList extends ReplySyncList{dispatchJobs;constructor(e){super(e,"DispatchJob"),this.dispatchJobs=e?.dispatchJobs?.map((e=>new O(e)))}getList(){return this.dispatchJobs}}class RepDispatchJobListByCompany extends RepDispatchJobList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class RepDispatchJobListByCompanyAndLabels extends RepDispatchJobListByCompany{labels;constructor(e){super(e),this.labels=e?.labels}u(e,t){return!1}}class RepDispatchJobListByCompanyAndRefPairs extends RepDispatchJobListByCompany{references;constructor(t){super(t),this.references=t?.references?e.toMap(t?.references):null}u(e,t){return!1}}class RepDispatchJobListByAsset extends RepDispatchJobList{asset;constructor(e){super(e),this.asset=we.fromJSON(e?.asset)}u(e,t){return e[1].assetId===this.asset.id}getCompanyId(){return this.asset?.company}}class RepDispatchJobListByAssetAndLabels extends RepDispatchJobListByAsset{labels;constructor(e){super(e),this.labels=e?.labels}u(e,t){return!1}}class RepDispatchJobListByAssetAndRefPairs extends RepDispatchJobListByAsset{references;constructor(t){super(t),this.references=t?.references?e.toMap(t?.references):null}u(e,t){return!1}}class PayDispatchJobList extends Payload{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}}class PayDispatchJobListByCompany extends PayDispatchJobList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepDispatchJobListByCompany(e)}}class PayDispatchJobListByCompanyAndLabels extends PayDispatchJobListByCompany{labels;constructor(e){super(e),this.labels=e?.labels??[]}createReply(e){return new RepDispatchJobListByCompanyAndLabels(e)}}class PayDispatchJobListByCompanyAndRefPairs extends PayDispatchJobListByCompany{references;constructor(t){super(t),this.references=t?.references?e.toMap(t?.references):new Map}createReply(e){return new RepDispatchJobListByCompanyAndRefPairs(e)}}class PayDispatchJobListByAsset extends PayDispatchJobList{asset;constructor(e){super(e),this.asset=new Le(e?.asset)}createReply(e){return new RepDispatchJobListByAsset(e)}}class PayDispatchJobListByAssetAndLabels extends PayDispatchJobListByAsset{labels;constructor(e){super(e),this.labels=e?.labels??[]}createReply(e){return new RepDispatchJobListByAssetAndLabels(e)}}class PayDispatchJobListByAssetAndRefPairs extends PayDispatchJobListByAsset{references;constructor(t){super(t),this.references=t?.references?e.toMap(t?.references):new Map}createReply(e){return new RepDispatchJobListByAssetAndRefPairs(e)}}class PayDispatchJobListByUnassigned extends PayDispatchJobListByCompany{}class PayDispatchJobListByUnassignedAndLabels extends PayDispatchJobListByCompanyAndLabels{}class PayDispatchJobListByUnassignedAndRefPairs extends PayDispatchJobListByCompanyAndRefPairs{}class PayDispatchJobMerge extends Payload{dispatchJob;constructor(e){super(e),this.dispatchJob=new Et(e?.dispatchJob)}getKey(){return this.dispatchJob?.id?.toString()??""}createReply(e){return new RepDispatchJobMerge(e)}}class PayDispatchJobRestore extends PayDispatchJob{createReply(e){return new RepDispatchJobDelete(e)}}class Ht extends ge{id;asset;name;notes;references;address;place;instructions;attachments;latlng;eta;duration;status;constructor(s){super(s),this.id=s?.id,this.asset=s?.asset,this.name=s?.name,this.notes=s?.notes,this.references=s?.references?e.toMap(s.references):null,this.address=s?.address,this.place=s?.place,this.instructions=s?.instructions,this.attachments=s?.attachments,this.latlng=s?.latlng?I.fromJSON(s.latlng):null,this.eta=s?.eta?t.date(s.eta):null,this.duration=s?.duration?new m(s.duration):null,this.status=s?.status}toJSON(){const s={};return this.id&&(s.id=this.id),this.asset&&(s.asset=this.asset),this.name&&(s.name=this.name),this.notes&&(s.notes=this.notes),this.references?.size&&(s.references=e.fromMap(this.references)),this.address&&(s.address=this.address),this.place&&(s.place=this.place),this.instructions&&(s.instructions=this.instructions),this.attachments&&(s.attachments=this.attachments),this.latlng?.isValid()&&(s.latlng=this.latlng.toJSON()),t.isntNaN(this.eta?.valueOf())&&(s.eta=this.eta.toISOString()),t.isntNaN(this.duration?.valueOf())&&(s.duration=this.duration.toString()),this.status&&(s.status=this.status),s}}class PayDispatchTask extends Payload{dispatchTask;constructor(e){super(e),this.dispatchTask=new Le(e?.dispatchTask)}getKey(){return this.dispatchTask?.id?.toString()??""}}class RepDispatchTaskBatchDelete extends ReplySyncBatchDelete{dispatchTasks;constructor(e){super(e,"DispatchTask"),this.dispatchTasks=e?.dispatchTasks?.map((e=>new ve(e)))??[]}i(){return this.dispatchTasks?.map((e=>e.id))}getCompanyId(){return this.dispatchTasks?.[0]?.company}getResults(){return this.dispatchTasks}}class PayDispatchTaskBatchDelete extends Payload{dispatchTasks;constructor(e){super(e),this.dispatchTasks=e?.dispatchTasks?.map((e=>new Le(e)))??[]}createReply(e){return new RepDispatchTaskBatchDelete(e)}}class RepDispatchTaskBatchMerge extends Reply{dispatchTasks;constructor(e){super(e),this.dispatchTasks=e?.dispatchTasks?.map((e=>new we(e)))}}class PayDispatchTaskBatchMerge extends Payload{dispatchTasks;constructor(e){super(e),this.dispatchTasks=e?.dispatchTasks?.map((e=>new Ht(e)))??[]}createReply(e){return new RepDispatchTaskBatchMerge(e)}}class RepDispatchTaskDelete extends ReplySyncDelete{dispatchTask;constructor(e){super(e,"DispatchTask"),this.dispatchTask=ve.fromJSON(e?.dispatchTask)}getKey(){return this.dispatchTask?.id}getCompanyId(){return this.dispatchTask?.company}}class PayDispatchTaskDelete extends PayDispatchTask{createReply(e){return new RepDispatchTaskDelete(e)}}class RepDispatchTaskGet extends ReplySyncGet{dispatchTask;constructor(e){super(e,"DispatchTask"),e?.dispatchTask&&(this.dispatchTask=new U(e.dispatchTask))}getObject(){return this.dispatchTask}getCompanyId(){return this.dispatchTask?.companyId}}class PayDispatchTaskGet extends PayDispatchTask{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepDispatchTaskGet(e)}}class RepDispatchTaskList extends ReplySyncList{dispatchTasks;constructor(e){super(e,"DispatchTask"),this.dispatchTasks=e?.dispatchTasks?.map((e=>new U(e)))}getList(){return this.dispatchTasks}}class RepDispatchTaskListByCompany extends RepDispatchTaskList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class RepDispatchTaskListByCompanyAndRefPairs extends RepDispatchTaskListByCompany{references;constructor(t){super(t),this.references=t?.references?e.toMap(t?.references):null}u(e,t){return!1}}class RepDispatchTaskListByAsset extends RepDispatchTaskList{asset;constructor(e){super(e),this.asset=we.fromJSON(e?.asset)}u(e,t){return e[1].assetId===this.asset.id}getCompanyId(){return this.asset?.company}}class RepDispatchTaskListByAssetAndRefPairs extends RepDispatchTaskListByAsset{references;constructor(t){super(t),this.references=t?.references?e.toMap(t?.references):null}u(e,t){return!1}}class PayDispatchTaskList extends Payload{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}}class PayDispatchTaskListByAsset extends PayDispatchTaskList{asset;constructor(e){super(e),this.asset=new Le(e?.asset)}createReply(e){return new RepDispatchTaskListByAsset(e)}}class PayDispatchTaskListByAssetAndRefPairs extends PayDispatchTaskListByAsset{references;constructor(t){super(t),this.references=t?.references?e.toMap(t?.references):new Map}createReply(e){return new RepDispatchTaskListByAssetAndRefPairs(e)}}class PayDispatchTaskListByCompany extends PayDispatchTaskList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepDispatchTaskListByCompany(e)}}class PayDispatchTaskListByCompanyAndRefPairs extends PayDispatchTaskListByCompany{references;constructor(t){super(t),this.references=t?.references?e.toMap(t?.references):new Map}createReply(e){return new RepDispatchTaskListByCompanyAndRefPairs(e)}}class RepDispatchTaskMerge extends Reply{dispatchTask;constructor(e){super(e),this.dispatchTask=we.fromJSON(e?.dispatchTask)}}class PayDispatchTaskMerge extends Payload{dispatchTask;constructor(e){super(e),this.dispatchTask=new Ht(e?.dispatchTask)}getKey(){return this.dispatchTask?.id?.toString()??""}createReply(e){return new RepDispatchTaskMerge(e)}}class PayDispatchTaskRestore extends PayDispatchTask{createReply(e){return new RepDispatchTaskDelete(e)}}class RepDocumentDelete extends ReplySyncDelete{document;constructor(e){super(e,"Document"),this.document=ve.fromJSON(e?.document)}getKey(){return this.document?.id}getCompanyId(){return this.document?.company}}class PayDocument extends Payload{document;constructor(e){super(e),this.document=new Le(e?.document)}getKey(){return this.document?.id?.toString()??""}}class PayDocumentDelete extends PayDocument{createReply(e){return new RepDocumentDelete(e)}}class RepDocumentGet extends ReplySyncGet{document;constructor(e){super(e,"Document"),e?.document&&(this.document=new k(e.document))}getObject(){return this.document}getCompanyId(){return this.document?.companyId}}class PayDocumentGet extends PayDocument{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepDocumentGet(e)}}class RepDocumentList extends ReplySyncList{documents;constructor(e){super(e,"Document"),this.documents=e?.documents?.map((e=>new k(e)))}getList(){return this.documents}}class RepDocumentListByCompany extends RepDocumentList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class PayDocumentList extends Payload{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}}class PayDocumentListByCompany extends PayDocumentList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepDocumentListByCompany(e)}}class RepDocumentMerge extends Reply{document;constructor(e){super(e),this.document=we.fromJSON(e?.document)}}class qt extends ge{id;company;name;notes;expiry;references;constructor(s){super(s),this.id=s?.id,this.company=s?.company,this.name=s?.name,this.notes=s?.notes,this.expiry=s?.expiry?t.date(s.expiry):null,this.references=s?.references?e.toMap(s?.references):null}toJSON(){const t={};return this.id?(t.id=this.id,t.v=[...this.v]):t.company=this.company,this.name&&(t.name=this.name),this.notes&&(t.notes=this.notes),this.expiry?.valueOf()&&(t.expiry=this.expiry.toISOString()),this.references?.size&&(t.references=e.fromMap(this.references)),t}}class PayDocumentMerge extends Payload{document;constructor(e){super(e),this.document=new qt(e?.document)}getKey(){return this.document?.id?.toString()??""}createReply(e){return new RepDocumentMerge(e)}}class PayDocumentRestore extends PayDocument{createReply(e){return new RepDocumentDelete(e)}}class RepFormResultBatchMerge extends Reply{formResults;constructor(e){super(e),this.formResults=e?.formResults?.map((e=>new we(e)))}}class Vt extends ge{id;asset;template;name;notes;labels;fields;completed;latlng;constructor(s){super(s),this.id=s?.id,this.asset=s?.asset,this.template=s?.template,this.name=s?.name,this.notes=s?.notes,this.labels=s?.labels,this.fields=s?.fields?e.toMap(s?.fields):null,this.completed=t.date(s?.completed),this.latlng=s?.latlng?I.fromJSON(s.latlng):null}toJSON(){const t={};return this.id?(t.id=this.id,t.v=[...this.v]):t.template=this.template,this.asset&&(t.asset=this.asset),this.name&&(t.name=this.name),this.notes&&(t.notes=this.notes),this.labels?.length&&(t.labels=[...this.labels]),this.fields?.size&&(t.fields=e.fromMap(this.fields)),this.completed?.valueOf()&&(t.completed=this.completed?.toISOString()),this.latlng?.isValid()&&(t.latlng=this.latlng?.toJSON()),t}}class PayFormResultBatchMerge extends Payload{formResults;constructor(e){super(e),this.formResults=e?.formResults?.map((e=>new Vt(e)))??[]}createReply(e){return new RepFormResultBatchMerge(e)}}class RepFormResultDelete extends ReplySyncDelete{formResult;constructor(e){super(e,"FormResult"),this.formResult=ve.fromJSON(e?.formResult)}getKey(){return this.formResult?.id}getCompanyId(){return this.formResult?.company}}class PayFormResult extends Payload{formResult;constructor(e){super(e),this.formResult=new Le(e?.formResult)}getKey(){return this.formResult?.id?.toString()??""}}class PayFormResultDelete extends PayFormResult{createReply(e){return new RepFormResultDelete(e)}}class RepFormResultGet extends ReplySyncGet{formResult;constructor(e){super(e,"FormResult"),e?.formResult&&(this.formResult=new F(e.formResult))}getObject(){return this.formResult}getCompanyId(){return this.formResult?.companyId}}class PayFormResultGet extends PayFormResult{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepFormResultGet(e)}}class RepFormResultList extends ReplySyncList{formResults;constructor(e){super(e,"FormResult"),this.formResults=e?.formResults?.map((e=>new F(e)))}getList(){return this.formResults}}class RepFormResultListByCompany extends RepFormResultList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class PayFormResultList extends Payload{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}}class PayFormResultListByCompany extends PayFormResultList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepFormResultListByCompany(e)}}class RepFormResultMerge extends Reply{formResult;constructor(e){super(e),this.formResult=we.fromJSON(e?.formResult)}}class PayFormResultMerge extends Payload{formResult;constructor(e){super(e),this.formResult=new Vt(e?.formResult)}getKey(){return this.formResult?.id?.toString()??""}createReply(e){return new RepFormResultMerge(e)}}class PayFormResultRestore extends PayFormResult{createReply(e){return new RepFormResultDelete(e)}}class Wt extends me{id;name;kind;notes;required;value;editable;size;precision;step;units;choices;rows;minimum;maximum;constructor(s){super(),this.id=s?.id,this.name=s?.name,this.kind=s?.kind,this.notes=s?.notes,this.required=s?.required,this.value=s?.value,this.editable=s?.editable,this.size=s?.size,this.precision=s?.precision,this.step=s?.step,this.units=s?.units,Array.isArray(s?.choices)?this.choices=s?.choices:s?.choices&&(this.choices=e.toMap(s?.choices)),this.rows=s?.rows,"string"==typeof s?.minimum?(this.minimum=t.date(s.minimum),isNaN(this.minimum.valueOf())&&(this.minimum=new m(s.minimum))):"number"==typeof s?.minimum&&(this.minimum=s.minimum),"string"==typeof s?.maximum?(this.maximum=t.date(s.maximum),isNaN(this.maximum.valueOf())&&(this.maximum=new m(s.maximum))):"number"==typeof s?.maximum&&(this.maximum=s.maximum)}toJSON(){const s={};return this.id&&(s.id=this.id),this.name&&(s.name=this.name),this.kind&&(s.kind=this.kind),this.notes&&(s.notes=this.notes),t.isNothing(this.required)||(s.required=this.required),this.value&&(s.value=this.value),t.isNothing(this.editable)||(s.editable=this.editable),this.size&&(s.size=this.size),t.isntNaN(this.precision)&&(s.precision=this.precision),t.isntNaN(this.step)&&(s.step=this.step),this.units&&(s.units=this.units),this.choices?.size?s.choices=e.fromMap(this.choices):this.choices?.length&&(s.choices=[...this.choices]),t.isntNaN(this.rows)&&(s.rows=this.rows),t.isntNaN(this.minimum?.valueOf())&&(s.minimum=this.minimum??this.minimum.toISOString?.()??this.minimum.toString()),t.isntNaN(this.maximum?.valueOf())&&(s.maximum=this.maximum??this.maximum.toISOString?.()??this.maximum.toString()),s}}class Zt extends ge{id;company;name;notes;labels;fields;fill;stroke;graphic;constructor(e){super(e),this.id=e?.id,this.company=e?.company,this.name=e?.name,this.notes=e?.notes,this.labels=e?.labels,this.fields=e?.fields?.map((e=>new Wt(e))),this.fill=e?.fill,this.stroke=e?.stroke,this.graphic=e?.graphic}toJSON(){const e={};return this.id?(e.id=this.id,e.v=[...this.v]):e.company=this.company,this.name&&(e.name=this.name),this.notes&&(e.notes=this.notes),this.labels?.length&&(e.labels=[...this.labels]),this.fields?.length&&(e.fields=this.fields.map((e=>e.toJSON()))),this.fill&&(e.fill=this.fill),this.stroke&&(e.stroke=this.stroke),this.graphic&&(e.graphic=this.graphic),e}}class PayFormTemplate extends Payload{formTemplate;constructor(e){super(e),this.formTemplate=new Le(e?.formTemplate)}getKey(){return this.formTemplate?.id?.toString()??""}}class RepFormTemplateBatchDelete extends ReplySyncBatchDelete{formTemplates;constructor(e){super(e,"FormTemplate"),this.formTemplates=e?.formTemplates?.map((e=>new ve(e)))}i(){return this.formTemplates?.map((e=>e.id))}getCompanyId(){return this.formTemplates?.[0]?.company}getResults(){return this.formTemplates}}class PayFormTemplateBatchDelete extends Payload{formTemplates;constructor(e){super(e),this.formTemplates=e?.formTemplates?.map((e=>new Le(e)))??[]}createReply(e){return new RepFormTemplateBatchDelete(e)}}class RepFormTemplateBatchMerge extends Reply{formTemplates;constructor(e){super(e),this.formTemplates=e?.formTemplates?.map((e=>new we(e)))}}class PayFormTemplateBatchMerge extends Payload{formTemplates;constructor(e){super(e),this.formTemplates=e?.formTemplates?.map((e=>new Zt(e)))??[]}createReply(e){return new RepFormTemplateBatchMerge(e)}}class RepFormTemplateDelete extends ReplySyncDelete{formTemplate;constructor(e){super(e,"FormTemplate"),this.formTemplate=ve.fromJSON(e?.formTemplate)}getKey(){return this.formTemplate?.id}getCompanyId(){return this.formTemplate?.company}}class PayFormTemplateDelete extends PayFormTemplate{createReply(e){return new RepFormTemplateDelete(e)}}class RepFormTemplateGet extends ReplySyncGet{formTemplate;constructor(e){super(e,"FormTemplate"),e?.formTemplate&&(this.formTemplate=new K(e.formTemplate))}getObject(){return this.formTemplate}getCompanyId(){return this.formTemplate?.companyId}}class PayFormTemplateGet extends PayFormTemplate{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepFormTemplateGet(e)}}class RepFormTemplateList extends ReplySyncList{formTemplates;constructor(e){super(e,"FormTemplate"),this.formTemplates=e?.formTemplates?.map((e=>new K(e)))}getList(){return this.formTemplates}}class RepFormTemplateListByCompany extends RepFormTemplateList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class PayFormTemplateList extends Payload{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}}class PayFormTemplateListByCompany extends PayFormTemplateList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepFormTemplateListByCompany(e)}}class RepFormTemplateMerge extends Reply{formTemplate;constructor(e){super(e),this.formTemplate=we.fromJSON(e?.formTemplate)}}class PayFormTemplateMerge extends Payload{formTemplate;constructor(e){super(e),this.formTemplate=new Zt(e?.formTemplate)}getKey(){return this.formTemplate?.id?.toString()??""}createReply(e){return new RepFormTemplateMerge(e)}}class PayFormTemplateRestore extends PayFormTemplate{createReply(e){return new RepFormTemplateDelete(e)}}class RepDashcamGet extends ReplySyncGet{dashcam;constructor(e){super(e,"Dashcam"),e?.dashcam&&(this.dashcam=new _(e.dashcam))}getObject(){return this.dashcam}getCompanyId(){return this.dashcam?.companyId}}class PayDashcam extends Payload{dashcam;constructor(e){super(e),this.dashcam=new He(e?.dashcam)}getKey(){return this.dashcam?.guid??""}}class PayDashcamGet extends PayDashcam{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepDashcamGet(e)}}class RepDashcamList extends ReplySyncList{dashcams;constructor(e){super(e,"Dashcam"),this.dashcams=e?.dashcams?.map((e=>new _(e)))}getList(){return this.dashcams}}class RepDashcamListByCompany extends RepDashcamList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class RepDashcamLiveList extends Reply{dashcams;constructor(e){super(e),this.dashcams=e?.dashcams?.map((e=>new j(e)))}}class RepDashcamLiveListByCompany extends RepDashcamLiveList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}}class PayDashcamList extends PayListByDate{includeDeleted;kind;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted,this.kind=z[e?.kind]}}class PayDashcamListByCompany extends PayDashcamList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepDashcamListByCompany(e)}}class PayDashcamLiveList extends PayListByDate{includeDeleted;camera;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted,this.camera=e?.camera}toJSON(){const e=super.toJSON();return t.isntNaN(this.camera)&&(e.camera=this.camera),e}}class PayDashcamLiveListByCompany extends PayDashcamLiveList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepDashcamLiveListByCompany(e)}}class Qt extends ge{id;company;name;notes;category;global;usage;label;badge;glyphs;constructor(e){super(e),this.id=e?.id,this.company=e?.company,this.name=e?.name,this.notes=e?.notes,this.category=e?.category,this.global=e?.global,this.usage=e?.usage,this.label=e?.label?E.fromJSON(e?.label):null,this.badge=e?.badge?E.fromJSON(e?.badge):null,this.glyphs=e?.glyphs?.map((e=>H.fromJSON(e)))}toJSON(){const e={};return this.id?(e.id=this.id,e.v=[...this.v]):e.company=this.company,this.name&&(e.name=this.name),this.notes&&(e.notes=this.notes),this.category&&(e.category=this.category),t.isNothing(this.global)||(e.global=this.global),this.usage&&(e.usage=[...this.usage]),this.label&&(e.label=this.label.toJSON()),this.badge&&(e.badge=this.badge.toJSON()),this.glyphs?.length&&(e.glyphs=this.glyphs.map((e=>e.toJSON()))),e}}class PayIcon extends Payload{icon;constructor(e){super(e),this.icon=new Le(e?.icon)}getKey(){return this.icon?.id?.toString()??""}}class RepIconBatchDelete extends ReplySyncBatchDelete{icons;constructor(e){super(e,"Icon"),this.icons=e?.icons?.map((e=>new ve(e)))}i(){return this.icons?.map((e=>e.id))}getCompanyId(){return this.icons?.[0]?.company}getResults(){return this.icons}}class PayIconBatchDelete extends Payload{icons;constructor(e){super(e),this.icons=e?.icons?.map((e=>new Le(e)))??[]}createReply(e){return new RepIconBatchDelete(e)}}class RepIconBatchMerge extends Reply{icons;constructor(e){super(e),this.icons=e?.icons?.map((e=>new we(e)))}}class PayIconBatchMerge extends Payload{icons;constructor(e){super(e),this.icons=e?.icons?.map((e=>new Qt(e)))??[]}createReply(e){return new RepIconBatchMerge(e)}}class RepIconDelete extends ReplySyncDelete{icon;constructor(e){super(e,"Icon"),this.icon=ve.fromJSON(e?.icon)}getKey(){return this.icon?.id}getCompanyId(){return this.icon?.company}}class PayIconDelete extends PayIcon{createReply(e){return new RepIconDelete(e)}}class RepIconGet extends ReplySyncGet{icon;constructor(e){super(e,"Icon"),e?.icon&&(this.icon=new q(e.icon))}getObject(){return this.icon}getCompanyId(){return this.icon?.companyId}}class PayIconGet extends PayIcon{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepIconGet(e)}}class RepIconList extends ReplySyncList{icons;constructor(e){super(e,"Icon"),this.icons=e?.icons?.map((e=>new q(e)))}getList(){return this.icons}}class RepIconListByCompany extends RepIconList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class PayIconList extends Payload{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}}class PayIconListByCompany extends PayIconList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepIconListByCompany(e)}}class RepIconMerge extends Reply{icon;constructor(e){super(e),this.icon=we.fromJSON(e?.icon)}}class PayIconMerge extends Payload{icon;constructor(e){super(e),this.icon=new Qt(e?.icon)}getKey(){return this.icon?.id?.toString()??""}createReply(e){return new RepIconMerge(e)}}class PayIconRestore extends PayIcon{createReply(e){return new RepIconDelete(e)}}class Xt extends ge{id;company;name;notes;focals;constructor(e){super(e),this.id=e?.id,this.company=e?.company,this.name=e?.name,this.notes=e?.notes,this.focals=e?.focals?.map((e=>V.fromJSON(e)))}toJSON(){const e={};return this.id?(e.id=this.id,e.v=[...this.v]):e.company=this.company,this.name&&(e.name=this.name),this.notes&&(e.notes=this.notes),this.focals&&(e.focals=this.focals.map((e=>e.toJSON()))),e}}class PayPicture extends Payload{picture;constructor(e){super(e),this.picture=new Le(e?.picture)}getKey(){return this.picture?.id?.toString()??""}}class RepPictureBatchDelete extends ReplySyncBatchDelete{pictures;constructor(e){super(e,"Picture"),this.pictures=e?.pictures?.map((e=>new ve(e)))}i(){return this.pictures?.map((e=>e.id))}getCompanyId(){return this.pictures?.[0]?.company}getResults(){return this.pictures}}class PayPictureBatchDelete extends Payload{pictures;constructor(e){super(e),this.pictures=e?.pictures?.map((e=>new Le(e)))??[]}createReply(e){return new RepPictureBatchDelete(e)}}class RepPictureBatchMerge extends Reply{pictures;constructor(e){super(e),this.pictures=e?.pictures?.map((e=>new we(e)))}}class PayPictureBatchMerge extends Payload{pictures;constructor(e){super(e),this.pictures=e?.pictures?.map((e=>new Xt(e)))??[]}createReply(e){return new RepPictureBatchMerge(e)}}class RepPictureDelete extends ReplySyncDelete{picture;constructor(e){super(e,"Picture"),this.picture=ve.fromJSON(e?.picture)}getKey(){return this.picture?.id}getCompanyId(){return this.picture?.company}}class PayPictureDelete extends PayPicture{createReply(e){return new RepPictureDelete(e)}}class RepPictureGet extends ReplySyncGet{picture;constructor(e){super(e,"Picture"),e?.picture&&(this.picture=new W(e.picture))}getObject(){return this.picture}getCompanyId(){return this.picture?.companyId}}class PayPictureGet extends PayPicture{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepPictureGet(e)}}class RepPictureList extends ReplySyncList{pictures;constructor(e){super(e,"Picture"),this.pictures=e?.pictures?.map((e=>new W(e)))}getList(){return this.pictures}}class RepPictureListByCompany extends RepPictureList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class PayPictureList extends Payload{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}}class PayPictureListByCompany extends PayPictureList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepPictureListByCompany(e)}}class RepPictureMerge extends Reply{picture;constructor(e){super(e),this.picture=we.fromJSON(e?.picture)}}class PayPictureMerge extends Payload{picture;constructor(e){super(e),this.picture=new Xt(e?.picture)}getKey(){return this.picture?.id?.toString()??""}createReply(e){return new RepPictureMerge(e)}}class PayPictureRestore extends PayPicture{createReply(e){return new RepPictureDelete(e)}}class PayMaintenanceJob extends Payload{maintenanceJob;constructor(e){super(e),this.maintenanceJob=new Le(e?.maintenanceJob)}getKey(){return this.maintenanceJob?.id?.toString()??""}}class RepMaintenanceJobBatchDelete extends ReplySyncBatchDelete{maintenanceJobs;constructor(e){super(e,"MaintenanceJob"),this.maintenanceJobs=e?.maintenanceJobs?.map((e=>new ve(e)))}i(){return this.maintenanceJobs?.map((e=>e.id))}getCompanyId(){return this.maintenanceJobs?.[0]?.company}getResults(){return this.maintenanceJobs}}class PayMaintenanceJobBatchDelete extends Payload{maintenanceJobs;constructor(e){super(e),this.maintenanceJobs=e?.maintenanceJobs?.map((e=>new Le(e)))??[]}createReply(e){return new RepMaintenanceJobBatchDelete(e)}}class RepMaintenanceJobBatchMerge extends Reply{maintenanceJobs;constructor(e){super(e),this.maintenanceJobs=e?.maintenanceJobs?.map((e=>new we(e)))}}class Yt extends ge{id;asset;schedule;name;notes;status;created;completed;odometer;engineHours;garage;duration;cost;reference;technician;pictures;constructor(e){super(e),this.id=e?.id,this.asset=e?.asset,this.schedule=e?.schedule,this.name=e?.name,this.notes=e?.notes,this.status=e?.status,this.created=e?.created?t.date(e.created):null,this.completed=e?.completed?t.date(e.completed):null,this.odometer=e?.odometer,this.engineHours=e?.engineHours,this.garage=e?.garage,this.duration=e?.duration?new m(e.duration):null,this.cost=e?.cost,this.reference=e?.reference,this.technician=e?.technician,this.pictures=e?.pictures?.map((e=>t.id(e)))}toJSON(){const e={};return this.id?(e.id=this.id,e.v=[...this.v]):e.asset=this.asset,this.schedule&&(e.schedule=this.schedule),this.name&&(e.name=this.name),this.notes&&(e.notes=this.notes),this.status&&(e.status=this.status),this.created&&(e.created=this.created.toISOString()),this.completed&&(e.completed=this.completed.toISOString()),this.odometer&&(e.odometer=this.odometer),this.engineHours&&(e.engineHours=this.engineHours),this.garage&&(e.garage=this.garage),this.duration&&(e.duration=this.duration.toString()),this.cost&&(e.cost=this.cost),this.reference&&(e.reference=this.reference),this.technician&&(e.technician=this.technician),this.pictures?.length&&(e.pictures=[...this.pictures]),e}}class PayMaintenanceJobBatchMerge extends Payload{maintenanceJobs;constructor(e){super(e),this.maintenanceJobs=e?.maintenanceJobs?.map((e=>new Yt(e)))??[]}createReply(e){return new RepMaintenanceJobBatchMerge(e)}}class RepMaintenanceJobDelete extends ReplySyncDelete{maintenanceJob;constructor(e){super(e,"MaintenanceJob"),this.maintenanceJob=ve.fromJSON(e?.maintenanceJob)}getKey(){return this.maintenanceJob?.id}getCompanyId(){return this.maintenanceJob?.company}}class PayMaintenanceJobDelete extends PayMaintenanceJob{createReply(e){return new RepMaintenanceJobDelete(e)}}class RepMaintenanceJobGet extends ReplySyncGet{maintenanceJob;constructor(e){super(e,"MaintenanceJob"),e?.maintenanceJob&&(this.maintenanceJob=new Z(e.maintenanceJob))}getObject(){return this.maintenanceJob}getCompanyId(){return this.maintenanceJob?.companyId}}class PayMaintenanceJobGet extends PayMaintenanceJob{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepMaintenanceJobGet(e)}}class RepMaintenanceJobList extends ReplySyncList{maintenanceJobs;constructor(e){super(e,"MaintenanceJob"),this.maintenanceJobs=e?.maintenanceJobs?.map((e=>new Z(e)))}getList(){return this.maintenanceJobs}}class RepMaintenanceJobListByCompany extends RepMaintenanceJobList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class PayMaintenanceJobList extends Payload{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}}class PayMaintenanceJobListByCompany extends PayMaintenanceJobList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepMaintenanceJobListByCompany(e)}}class RepMaintenanceJobMerge extends Reply{maintenanceJob;constructor(e){super(e),this.maintenanceJob=we.fromJSON(e?.maintenanceJob)}}class PayMaintenanceJobMerge extends Payload{maintenanceJob;constructor(e){super(e),this.maintenanceJob=new Yt(e?.maintenanceJob)}getKey(){return this.maintenanceJob?.id?.toString()??""}createReply(e){return new RepMaintenanceJobMerge(e)}}class PayMaintenanceJobRestore extends PayMaintenanceJob{createReply(e){return new RepMaintenanceJobDelete(e)}}class PayMaintenanceSchedule extends Payload{maintenanceSchedule;constructor(e){super(e),this.maintenanceSchedule=new Le(e?.maintenanceSchedule)}getKey(){return this.maintenanceSchedule?.id?.toString()??""}}class RepMaintenanceScheduleBatchDelete extends ReplySyncBatchDelete{maintenanceSchedules;constructor(e){super(e,"MaintenanceSchedule"),this.maintenanceSchedules=e?.maintenanceSchedules?.map((e=>new ve(e)))}i(){return this.maintenanceSchedules?.map((e=>e.id))}getCompanyId(){return this.maintenanceSchedules?.[0]?.company}getResults(){return this.maintenanceSchedules}}class PayMaintenanceScheduleBatchDelete extends Payload{maintenanceSchedules;constructor(e){super(e),this.maintenanceSchedules=e?.maintenanceSchedules?.map((e=>new Le(e)))??[]}createReply(e){return new RepMaintenanceScheduleBatchDelete(e)}}class RepMaintenanceScheduleBatchMerge extends Reply{maintenanceSchedules;constructor(e){super(e),this.maintenanceSchedules=e?.maintenanceSchedules?.map((e=>new we(e)))}}class $t extends ge{id;company;name;notes;targets;notify;fill;stroke;graphic;predictionDays;recurDays;recurDistance;recurEngineHours;intervals;garage;duration;cost;reference;constructor(s){super(s),this.id=s?.id,this.company=s?.company,this.name=s?.name??"",this.notes=s?.notes??"",this.targets=s?.targets,this.notify=s?.notify,this.fill=s?.fill,this.stroke=s?.stroke,this.graphic=s?.graphic,this.predictionDays=s?.predictionDays,this.recurDays=s?.recurDays,this.recurDistance=s?.recurDistance,this.recurEngineHours=s?.recurEngineHours,this.intervals=s?.intervals?e.toMapPredicate(s?.intervals,((e,s)=>[t.id(e),Q.fromJSON(s)])):null,this.garage=s?.garage,this.duration=s?.duration?new m(s?.duration):null,this.cost=s?.cost,this.reference=s?.reference}toJSON(){const s={};return this.id?(s.id=this.id,s.v=[...this.v]):s.company=this.company,this.name&&(s.name=this.name),this.notes&&(s.notes=this.notes),this.targets&&(s.targets=this.targets),this.notify?.length&&(s.notify=[...this.notify]),this.fill&&(s.fill=this.fill),this.stroke&&(s.stroke=this.stroke),this.graphic&&(s.graphic=this.graphic),t.isntNaN(this.predictionDays)&&(s.predictionDays=this.predictionDays),t.isntNaN(this.recurDays)&&(s.recurDays=this.recurDays),t.isntNaN(this.recurDistance)&&(s.recurDistance=this.recurDistance),t.isntNaN(this.recurEngineHours)&&(s.recurEngineHours=this.recurEngineHours),this.intervals?.size&&(s.intervals=e.fromMapPredicate(this.intervals,((e,t)=>[e.toString(),t?.toJSON()??null]))),this.garage&&(s.garage=this.garage),this.duration&&(s.duration=this.duration.toString()),t.isntNaN(this.cost)&&(s.cost=this.cost),this.reference&&(s.reference=this.reference),s}}class PayMaintenanceScheduleBatchMerge extends Payload{maintenanceSchedules;constructor(e){super(e),this.maintenanceSchedules=e?.maintenanceSchedules?.map((e=>new $t(e)))??[]}createReply(e){return new RepMaintenanceScheduleBatchMerge(e)}}class RepMaintenanceScheduleDelete extends ReplySyncDelete{maintenanceSchedule;constructor(e){super(e,"MaintenanceSchedule"),this.maintenanceSchedule=ve.fromJSON(e?.maintenanceSchedule)}getKey(){return this.maintenanceSchedule?.id}getCompanyId(){return this.maintenanceSchedule?.company}}class PayMaintenanceScheduleDelete extends PayMaintenanceSchedule{createReply(e){return new RepMaintenanceScheduleDelete(e)}}class RepMaintenanceScheduleGet extends ReplySyncGet{maintenanceSchedule;constructor(e){super(e,"MaintenanceSchedule"),e?.maintenanceSchedule&&(this.maintenanceSchedule=new X(e.maintenanceSchedule))}getObject(){return this.maintenanceSchedule}getCompanyId(){return this.maintenanceSchedule?.companyId}}class PayMaintenanceScheduleGet extends PayMaintenanceSchedule{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepMaintenanceScheduleGet(e)}}class RepMaintenanceScheduleList extends ReplySyncList{maintenanceSchedules;constructor(e){super(e,"MaintenanceSchedule"),this.maintenanceSchedules=e?.maintenanceSchedules?.map((e=>new X(e)))}getList(){return this.maintenanceSchedules}}class RepMaintenanceScheduleListByCompany extends RepMaintenanceScheduleList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class PayMaintenanceScheduleList extends Payload{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}}class PayMaintenanceScheduleListByCompany extends PayMaintenanceScheduleList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepMaintenanceScheduleListByCompany(e)}}class RepMaintenanceScheduleMerge extends Reply{maintenanceSchedule;constructor(e){super(e),this.maintenanceSchedule=we.fromJSON(e?.maintenanceSchedule)}}class PayMaintenanceScheduleMerge extends Payload{maintenanceSchedule;constructor(e){super(e),this.maintenanceSchedule=new $t(e?.maintenanceSchedule)}getKey(){return this.maintenanceSchedule?.id?.toString()??""}createReply(e){return new RepMaintenanceScheduleMerge(e)}}class PayMaintenanceScheduleRestore extends PayMaintenanceSchedule{createReply(e){return new RepMaintenanceScheduleDelete(e)}}class RepAssetMessageBatchDelete extends ReplySyncBatchDelete{assetMessages;constructor(e){super(e,"AssetMessage"),this.assetMessages=e?.assetMessages?.map((e=>new ve(e)))}i(){return this.assetMessages?.map((e=>e.id))}getCompanyId(){return this.assetMessages?.[0]?.company}getResults(){return this.assetMessages}}class PayAssetMessageBatchDelete extends Payload{assetMessages;constructor(e){super(),this.assetMessages=e?.assetMessages?.map((e=>new Le(e)))??[]}createReply(e){return new RepAssetMessageBatchDelete(e)}}class RepAssetMessageBatchMerge extends Reply{assetMessages;constructor(e){super(e),this.assetMessages=e?.assetMessages?.map((e=>new we(e)))}}class es extends ge{id;asset;kind;folder;to;subject;body;read;constructor(e){super(e),this.id=e?.id,this.asset=e?.asset,this.kind=e?.kind,this.folder=e?.folder,this.to=e?.to,this.subject=e?.subject,this.body=e?.body,this.read=e?.read}toJSON(){const e={};return this.id?(e.id=this.id,e.v=[...this.v]):e.asset=this.asset,this.kind&&(e.kind=this.kind),this.folder&&(e.folder=this.folder),this.to&&(e.to=this.to),this.subject&&(e.subject=this.subject),this.body&&(e.body=this.body),this.read&&(e.read=this.read),e}}class PayAssetMessageBatchMerge extends Payload{assetMessages;constructor(e){super(e),this.assetMessages=e?.assetMessages?.map((e=>new es(e)))??[]}createReply(e){return new RepAssetMessageBatchMerge(e)}}class RepAssetMessageDelete extends ReplySyncDelete{assetMessage;constructor(e){super(e,"AssetMessage"),this.assetMessage=ve.fromJSON(e?.assetMessage)}getKey(){return this.assetMessage?.id}getCompanyId(){return this.assetMessage?.company}}class PayAssetMessage extends Payload{assetMessage;constructor(e){super(),this.assetMessage=new Le(e?.assetMessage)}getKey(){return this.assetMessage?.id?.toString()??""}}class PayAssetMessageDelete extends PayAssetMessage{createReply(e){return new RepAssetMessageDelete(e)}}class RepAssetMessageGet extends ReplySyncGet{assetMessage;constructor(e){super(e,"AssetMessage"),e?.assetMessage&&(this.assetMessage=new Y(e.assetMessage))}getObject(){return this.assetMessage}getCompanyId(){return this.assetMessage?.companyId}}class PayAssetMessageGet extends PayAssetMessage{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepAssetMessageGet(e)}}class RepAssetMessageList extends ReplySyncList{assetMessages;constructor(e){super(e,"AssetMessage"),this.assetMessages=e?.assetMessages?.map((e=>new Y(e)))}getList(){return this.assetMessages}}class RepAssetMessageListByCompany extends RepAssetMessageList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class RepAssetMessageListByAsset extends RepAssetMessageList{asset;constructor(e){super(e),this.asset=we.fromJSON(e?.asset)}u(e,t){return e[1].assetId===this.asset.id}getCompanyId(){return this.asset?.company}}class PayAssetMessageList extends Payload{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}}class PayAssetMessageListByCompany extends PayAssetMessageList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepAssetMessageListByCompany(e)}}class PayAssetMessageListByAsset extends PayAssetMessageList{asset;constructor(e){super(e),this.asset=new Le(e?.asset)}createReply(e){return new RepAssetMessageListByAsset(e)}}class RepAssetMessageMerge extends Reply{assetMessage;constructor(e){super(e),this.assetMessage=we.fromJSON(e?.assetMessage)}}class PayAssetMessageMerge extends Payload{assetMessage;constructor(e){super(e),this.assetMessage=new es(e?.assetMessage)}getKey(){return this.assetMessage?.id?.toString()??""}createReply(e){return new RepAssetMessageMerge(e)}}class PayAssetMessageRestore extends PayAssetMessage{createReply(e){return new RepAssetMessageDelete(e)}}class ts extends ge{id;company;name;notes;kind;address;icon;labels;colour;anchor;radius;shape;pictures;reference;constructor(e){super(e),this.id=e?.id,this.company=e?.company,this.name=e?.name,this.notes=e?.notes,this.kind=e?.kind,this.address=e?.address,this.icon=e?.icon,this.labels=e?.labels,this.colour=e?.colour,this.anchor=e?.anchor?I.fromJSON(e.anchor):null,this.radius=e?.radius,this.shape=e?.shape?.map((e=>I.fromJSON(e))),this.pictures=e?.pictures?.map((e=>e)),this.reference=e?.reference}toJSON(){const e={};return this.id?(e.id=this.id,e.v=[...this.v]):e.company=this.company,this.name&&(e.name=this.name),this.notes&&(e.notes=this.notes),this.kind&&(e.kind=this.kind),this.address&&(e.address=this.address),this.icon&&(e.icon=this.icon),this.labels?.length&&(e.labels=[...this.labels]),this.colour&&(e.colour=this.colour),this.anchor?.isValid()&&(e.anchor=this.anchor.toJSON()),t.isntNaN(this.radius)&&(e.radius=this.radius),this.shape?.length&&(e.shape=this.shape.map((e=>e.toJSON()))),this.pictures?.length&&(e.pictures=[...this.pictures]),this.reference&&(e.reference=this.reference),e}validPoints(){return this.kind===$.polygon?this.shape?.length>=3:this.kind===$.rectangle?2===this.shape?.length:this.anchor?.isValid()??!1}validRadius(){return this.kind===$.radial&&t.isntNaN(this.radius)}}class PayPlace extends Payload{place;constructor(e){super(e),this.place=new Le(e?.place)}getKey(){return this.place?.id?.toString()??""}}class RepPlaceBatchDelete extends ReplySyncBatchDelete{places;constructor(e){super(e,"Place"),this.places=e?.places?.map((e=>new ve(e)))}i(){return this.places?.map((e=>e.id))}getCompanyId(){return this.places?.[0]?.company}getResults(){return this.places}}class PayPlaceBatchDelete extends Payload{places;constructor(e){super(e),this.places=e?.places?.map((e=>new Le(e)))??[]}createReply(e){return new RepPlaceBatchDelete(e)}}class RepPlaceBatchMerge extends Reply{places;constructor(e){super(e),this.places=e?.places?.map((e=>new we(e)))}}class PayPlaceBatchMerge extends Payload{places;constructor(e){super(e),this.places=e?.places?.map((e=>new ts(e)))??[]}createReply(e){return new RepPlaceBatchMerge(e)}}class RepPlaceDelete extends ReplySyncDelete{place;constructor(e){super(e,"Place"),this.place=ve.fromJSON(e?.place)}getKey(){return this.place?.id}getCompanyId(){return this.place?.company}}class PayPlaceDelete extends PayPlace{createReply(e){return new RepPlaceDelete(e)}}class RepPlaceGet extends ReplySyncGet{place;constructor(e){super(e,"Place"),e?.place&&(this.place=new ee(e.place))}getObject(){return this.place}getCompanyId(){return this.place?.companyId}}class PayPlaceGet extends PayPlace{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepPlaceGet(e)}}class RepPlaceList extends ReplySyncList{places;constructor(e){super(e,"Place"),this.places=e?.places?.map((e=>new ee(e)))}getList(){return this.places}}class RepPlaceListByCompany extends RepPlaceList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class PayPlaceList extends Payload{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}}class PayPlaceListByCompany extends PayPlaceList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepPlaceListByCompany(e)}}class RepPlaceMerge extends Reply{place;constructor(e){super(e),this.place=we.fromJSON(e?.place)}}class PayPlaceMerge extends Payload{place;constructor(e){super(e),this.place=new ts(e?.place)}getKey(){return this.place?.id?.toString()??""}createReply(e){return new RepPlaceMerge(e)}}class PayPlaceRestore extends PayPlace{createReply(e){return new RepPlaceDelete(e)}}class ss extends ge{id;company;script;name;notes;parameters;geofences;constructor(t){super(t),this.id=t?.id,this.script=t?.script,this.name=t?.name,this.notes=t?.notes,this.parameters=t?.parameters?e.toMap(t?.parameters):null,this.geofences=t?.geofences}toJSON(){const t={};return this.id?(t.id=this.id,t.v=[...this.v]):t.script=this.script,this.name&&(t.name=this.name),this.notes&&(t.notes=this.notes),this.parameters?.size&&(t.parameters=e.fromMap(this.parameters)),this.geofences&&(t.geofences=this.geofences),t}}class RepProviderConfigBatchDelete extends ReplySyncBatchDelete{providerConfigs;constructor(e){super(e,"ProviderConfig"),this.providerConfigs=e?.providerConfigs?.map((e=>new ve(e)))}i(){return this.providerConfigs?.map((e=>e.id))}getCompanyId(){return this.providerConfigs?.[0]?.company}getResults(){return this.providerConfigs}}class PayProviderConfigBatchDelete extends Payload{providerConfigs;constructor(e){super(e),this.providerConfigs=e?.providerConfigs?.map((e=>new Le(e)))??[]}createReply(e){return new RepProviderConfigBatchDelete(e)}}class RepProviderConfigBatchMerge extends Reply{providerConfigs;constructor(e){super(e),this.providerConfigs=e?.providerConfigs?.map((e=>new we(e)))}}class PayProviderConfigBatchMerge extends Payload{providerConfigs;constructor(e){super(e),this.providerConfigs=e?.providerConfigs?.map((e=>new ss(e)))??[]}createReply(e){return new RepProviderConfigBatchMerge(e)}}class RepProviderConfigDelete extends ReplySyncDelete{providerConfig;constructor(e){super(e,"ProviderConfig"),this.providerConfig=ve.fromJSON(e?.providerConfig)}getKey(){return this.providerConfig?.id}getCompanyId(){return this.providerConfig?.company}}class PayProviderConfig extends Payload{providerConfig;constructor(e){super(e),this.providerConfig=new Le(e?.providerConfig)}getKey(){return this.providerConfig?.id?.toString()??""}}class PayProviderConfigDelete extends PayProviderConfig{createReply(e){return new RepProviderConfigDelete(e)}}class RepProviderConfigGet extends ReplySyncGet{providerConfig;constructor(e){super(e,"ProviderConfig"),e?.providerConfig&&(this.providerConfig=new te(e.providerConfig))}getObject(){return this.providerConfig}getCompanyId(){return this.providerConfig?.companyId}}class PayProviderConfigGet extends PayProviderConfig{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepProviderConfigGet(e)}}class RepProviderConfigList extends ReplySyncList{providerConfigs;constructor(e){super(e,"ProviderConfig"),this.providerConfigs=e?.providerConfigs?.map((e=>new te(e)))}getList(){return this.providerConfigs}}class RepProviderConfigListByCompany extends RepProviderConfigList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class PayProviderConfigList extends Payload{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}}class PayProviderConfigListByCompany extends PayProviderConfigList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepProviderConfigListByCompany(e)}}class RepProviderConfigMerge extends Reply{providerConfig;constructor(e){super(e),this.providerConfig=we.fromJSON(e?.providerConfig)}}class PayProviderConfigMerge extends Payload{providerConfig;constructor(e){super(e),this.providerConfig=new ss(e?.providerConfig)}getKey(){return this.providerConfig?.id?.toString()??""}createReply(e){return new RepProviderConfigMerge(e)}}class PayProviderConfigRestore extends PayProviderConfig{createReply(e){return new RepProviderConfigDelete(e)}}class rs extends ge{id;company;type;name;notes;scriptParameters;geofences;constructor(t){super(t),this.id=t?.id,this.type=t?.type,this.name=t?.name,this.notes=t?.notes,this.scriptParameters=t?.scriptParameters?e.toMap(t?.scriptParameters):null,this.geofences=t?.geofences}toJSON(){const t={};return this.id?(t.id=this.id,t.v=[...this.v]):(t.company=this.company,t.type=this.type),this.name&&(t.name=this.name),this.notes&&(t.notes=this.notes),this.scriptParameters?.size&&(t.scriptParameters=e.fromMap(this.scriptParameters)),this.geofences&&(t.geofences=this.geofences),t}}class RepProviderConfigurationBatchDelete extends ReplySyncBatchDelete{providerConfigurations;constructor(e){super(e,"ProviderConfiguration"),this.providerConfigurations=e?.providerConfigurations?.map((e=>new ve(e)))}i(){return this.providerConfigurations?.map((e=>e.id))}getCompanyId(){return this.providerConfigurations?.[0]?.company}getResults(){return this.providerConfigurations}}class PayProviderConfigurationBatchDelete extends Payload{providerConfigurations;constructor(e){super(e),this.providerConfigurations=e?.providerConfigurations?.map((e=>new Le(e)))??[]}createReply(e){return new RepProviderConfigurationBatchDelete(e)}}class RepProviderConfigurationBatchMerge extends Reply{providerConfigurations;constructor(e){super(e),this.providerConfigurations=e?.providerConfigurations?.map((e=>new we(e)))}}class PayProviderConfigurationBatchMerge extends Payload{providerConfigurations;constructor(e){super(e),this.providerConfigurations=e?.providerConfigurations?.map((e=>new rs(e)))??[]}createReply(e){return new RepProviderConfigurationBatchMerge(e)}}class RepProviderConfigurationDelete extends ReplySyncDelete{providerConfiguration;constructor(e){super(e,"ProviderConfiguration"),this.providerConfiguration=ve.fromJSON(e?.providerConfiguration)}getKey(){return this.providerConfiguration?.id}getCompanyId(){return this.providerConfiguration?.company}}class PayProviderConfiguration extends Payload{providerConfiguration;constructor(e){super(e),this.providerConfiguration=new Le(e?.providerConfiguration)}getKey(){return this.providerConfiguration?.id?.toString()??""}}class PayProviderConfigurationDelete extends PayProviderConfiguration{createReply(e){return new RepProviderConfigurationDelete(e)}}class RepProviderConfigurationGet extends ReplySyncGet{providerConfiguration;constructor(e){super(e,"ProviderConfiguration"),e?.providerConfiguration&&(this.providerConfiguration=new se(e.providerConfiguration))}getObject(){return this.providerConfiguration}getCompanyId(){return this.providerConfiguration?.companyId}}class PayProviderConfigurationGet extends PayProviderConfiguration{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepProviderConfigurationGet(e)}}class RepProviderConfigurationList extends ReplySyncList{providerConfigurations;constructor(e){super(e,"ProviderConfiguration"),this.providerConfigurations=e?.providerConfigurations?.map((e=>new se(e)))}getList(){return this.providerConfigurations}}class RepProviderConfigurationListByCompany extends RepProviderConfigurationList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class PayProviderConfigurationList extends Payload{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}}class PayProviderConfigurationListByCompany extends PayProviderConfigurationList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepProviderConfigurationListByCompany(e)}}class RepProviderConfigurationMerge extends Reply{providerConfiguration;constructor(e){super(e),this.providerConfiguration=we.fromJSON(e?.providerConfiguration)}}class PayProviderConfigurationMerge extends Payload{providerConfiguration;constructor(e){super(e),this.providerConfiguration=new rs(e?.providerConfiguration)}getKey(){return this.providerConfiguration?.id?.toString()??""}createReply(e){return new RepProviderConfigurationMerge(e)}}class PayProviderConfigurationRestore extends PayProviderConfiguration{createReply(e){return new RepProviderConfigurationDelete(e)}}class RepProviderConfigurationTypeGet extends ReplySyncGet{providerConfigurationType;constructor(e){super(e,"ProviderConfigurationType"),e?.providerConfigurationType&&(this.providerConfigurationType=new re(e.providerConfigurationType))}getObject(){return this.providerConfigurationType}getCompanyId(){return 0}}class PayProviderConfigurationType extends Payload{providerConfigurationType;constructor(e){super(e),this.providerConfigurationType=new Le(e?.providerConfigurationType)}getKey(){return this.providerConfigurationType?.id?.toString()??""}}class PayProviderConfigurationTypeGet extends PayProviderConfigurationType{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepProviderConfigurationTypeGet(e)}}class RepProviderConfigurationTypeList extends ReplySyncList{providerConfigurationTypes;constructor(e){super(e,"ProviderConfigurationType"),this.providerConfigurationTypes=e?.providerConfigurationTypes?.map((e=>new re(e)))}getList(){return this.providerConfigurationTypes}}class RepProviderConfigurationTypeListByCompany extends RepProviderConfigurationTypeList{constructor(e){super(e)}u(e,t){return!0}getCompanyId(){return 0}}class PayProviderConfigurationTypeList extends Payload{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}}class PayProviderConfigurationTypeListByCompany extends PayProviderConfigurationTypeList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepProviderConfigurationTypeListByCompany(e)}}class PayProvider extends Payload{provider;constructor(e){super(e),this.provider=new qe(e?.provider)}getKey(){return this.provider?.id??""}}class RepProviderAdvancedGet extends ReplySyncGetPiece{providerAdvanced;constructor(e){super(e,"ProviderAdvanced",1),e?.providerAdvanced&&(this.providerAdvanced=new ne(e.providerAdvanced))}p(){return new ie}getObject(){return this.providerAdvanced}getCompanyId(){return this.providerAdvanced?.companyId}}class PayProviderAdvancedGet extends PayProvider{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepProviderAdvancedGet(e)}}class RepProviderAdvancedList extends ReplySyncList{providerAdvanceds;constructor(e){super(e,"ProviderAdvanced"),this.providerAdvanceds=e?.providerAdvanceds?.map((e=>new ne(e)))}getList(){return this.providerAdvanceds}}class RepProviderAdvancedListByCompany extends RepProviderAdvancedList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class RepProviderAdvancedListByConfig extends RepProviderAdvancedList{config;constructor(e){super(e),this.config=we.fromJSON(e?.config)}u(e,t){const r=s.Provider.get(e[0]);return r?.configurationId===this.config.id}getCompanyId(){return this.config?.company}}class PayProviderAdvancedList extends Payload{includeSuspended;includeDeleted;constructor(e){super(e),this.includeSuspended=e?.includeSuspended??!0,this.includeDeleted=!!e?.includeDeleted}}class PayProviderAdvancedListByCompany extends PayProviderAdvancedList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepProviderAdvancedListByCompany(e)}}class PayProviderAdvancedListByConfig extends PayProviderAdvancedList{config;constructor(e){super(e),this.config=new Le(e?.config)}createReply(e){return new RepProviderAdvancedListByConfig(e)}}class RepProviderBatchDelete extends ReplySyncBatchDelete{providers;constructor(e){super(e,"Provider"),this.providers=e?.providers?.map((e=>new st(e)))}i(){return this.providers?.map((e=>e.id))}getCompanyId(){return this.providers?.[0]?.company}getResults(){return this.providers}}class PayProviderBatchDelete extends Payload{providers;constructor(e){super(e),this.providers=e?.providers?.map((e=>new qe(e)))??[]}createReply(e){return new RepProviderBatchDelete(e)}}class RepProviderBatchMerge extends Reply{providers;constructor(e){super(e),this.providers=e?.providers?.map((e=>new we(e)))}}class ns extends ge{id;company;name;notes;kind;asset;config;phone;password;constructor(e){super(e),this.id=e?.id,this.company=e?.company,this.name=e?.name,this.notes=e?.notes,this.kind=e?.kind,this.asset=e?.asset,this.config=e?.config,this.phone=e?.phone,this.password=e?.password}toJSON(){const e={id:this.id};return this.v?.length?e.v=[...this.v]:(e.company=this.company,e.kind=this.kind),this.asset&&(e.asset=this.asset),this.config&&(e.config=this.config),this.name&&(e.name=this.name),this.notes&&(e.notes=this.notes),this.phone&&(e.phone=this.phone),this.password&&(e.password=this.password),e}}class PayProviderBatchMerge extends Payload{providers;constructor(e){super(e),this.providers=e?.providers?.map((e=>new ns(e)))??[]}createReply(e){return new RepProviderBatchMerge(e)}}class RepProviderControlGet extends ReplySyncGetPiece{providerControl;constructor(e){super(e,"ProviderControl",2),e?.providerControl&&(this.providerControl=new ae(e.providerControl))}p(){return new ie}getObject(){return this.providerControl}getCompanyId(){return this.providerControl?.companyId}}class PayProviderControlGet extends PayProvider{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepProviderControlGet(e)}}class RepProviderControlList extends ReplySyncList{providerControls;constructor(e){super(e,"ProviderControl"),this.providerControls=e?.providerControls?.map((e=>new ae(e)))}getList(){return this.providerControls}}class RepProviderControlListByCompany extends RepProviderControlList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class RepProviderControlListByConfig extends RepProviderControlList{config;constructor(e){super(e),this.config=we.fromJSON(e?.config)}u(e,t){const r=s.Provider.get(e[0]);return r?.configurationId===this.config.id}getCompanyId(){return this.config?.company}}class PayProviderControlList extends Payload{includeSuspended;includeDeleted;constructor(e){super(e),this.includeSuspended=e?.includeSuspended??!0,this.includeDeleted=!!e?.includeDeleted}}class PayProviderControlListByCompany extends PayProviderControlList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepProviderControlListByCompany(e)}}class PayProviderControlListByConfig extends PayProviderControlList{config;constructor(e){super(e),this.config=new Le(e?.config)}createReply(e){return new RepProviderControlListByConfig(e)}}class RepProviderDelete extends ReplySyncDelete{provider;constructor(e){super(e,"Provider"),this.provider=st.fromJSON(e?.provider)}getKey(){return this.provider?.id}getCompanyId(){return this.provider?.company}}class PayProviderDelete extends PayProvider{createReply(e){return new RepProviderDelete(e)}}class RepProviderGeneralGet extends ReplySyncGetPiece{providerGeneral;constructor(e){super(e,"ProviderGeneral",0),e?.providerGeneral&&(this.providerGeneral=new oe(e.providerGeneral))}p(){return new ie}getObject(){return this.providerGeneral}getCompanyId(){return this.providerGeneral?.companyId}}class PayProviderGeneralGet extends PayProvider{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepProviderGeneralGet(e)}}class RepProviderGeneralList extends ReplySyncList{providerGenerals;constructor(e){super(e,"ProviderGeneral"),this.providerGenerals=e?.providerGenerals?.map((e=>new oe(e)))}getList(){return this.providerGenerals}}class RepProviderGeneralListByCompany extends RepProviderGeneralList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class RepProviderGeneralListByConfig extends RepProviderGeneralList{config;constructor(e){super(e),this.config=we.fromJSON(e?.config)}u(e,t){return e[1].configurationId===this.config.id}getCompanyId(){return this.config?.company}}class PayProviderGeneralList extends Payload{includeDeleted;includeSuspended;constructor(e){super(e),this.includeSuspended=e?.includeSuspended??!0,this.includeDeleted=!!e?.includeDeleted}}class PayProviderGeneralListByCompany extends PayProviderGeneralList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepProviderGeneralListByCompany(e)}}class PayProviderGeneralListByConfig extends PayProviderGeneralList{config;constructor(e){super(e),this.config=new Le(e?.config)}createReply(e){return new RepProviderGeneralListByConfig(e)}}class RepProviderGet extends ReplySyncGet{provider;constructor(e){super(e,"Provider"),e?.provider&&(this.provider=new ie(e.provider))}getObject(){return this.provider}getCompanyId(){return this.provider?.companyId}}class PayProviderGet extends PayProvider{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepProviderGet(e)}}class RepProviderList extends ReplySyncList{providers;constructor(e){super(e,"Provider"),this.providers=e?.providers?.map((e=>new ie(e)))}getList(){return this.providers}}class RepProviderListByCompany extends RepProviderList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class RepProviderListByConfig extends RepProviderList{config;constructor(e){super(e),this.config=we.fromJSON(e?.config)}u(e,t){return e[1].configurationId===this.config.id}getCompanyId(){return this.config?.company}}class PayProviderList extends Payload{includeSuspended;includeDeleted;constructor(e){super(e),this.includeSuspended=e?.includeSuspended??!0,this.includeDeleted=!!e?.includeDeleted}}class PayProviderListByCompany extends PayProviderList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepProviderListByCompany(e)}}class RepProviderMerge extends Reply{provider;constructor(e){super(e),this.provider=et.fromJSON(e?.provider)}}class PayProviderMerge extends Payload{provider;constructor(e){super(e),this.provider=new ns(e?.provider)}getKey(){return this.provider?.id?.toString()??""}createReply(e){return new RepProviderMerge(e)}}class PayProviderRestore extends PayProvider{createReply(e){return new RepProviderDelete(e)}}class RepProviderRegistrationDelete extends ReplySyncDelete{providerRegistration;constructor(e){super(e,"ProviderRegistration"),this.providerRegistration=Ze.fromJSON(e?.providerRegistration)}getKey(){return this.providerRegistration?.code}getCompanyId(){return this.providerRegistration?.company}}class PayProviderRegistration extends Payload{providerRegistration;constructor(e){super(e),this.providerRegistration=new Ee(e?.providerRegistration)}getKey(){return this.providerRegistration?.code.toString()??""}}class PayProviderRegistrationDelete extends PayProviderRegistration{createReply(e){return new RepProviderRegistrationDelete(e)}}class RepProviderRegistrationGet extends ReplySyncGet{providerRegistration;constructor(e){super(e,"ProviderRegistration"),e?.providerRegistration&&(this.providerRegistration=new ce(e.providerRegistration))}getObject(){return this.providerRegistration}getCompanyId(){return this.providerRegistration?.companyId}}class PayProviderRegistrationGet extends PayProviderRegistration{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepProviderRegistrationGet(e)}}class RepProviderRegistrationList extends ReplySyncList{providerRegistrations;constructor(e){super(e,"ProviderRegistration"),this.providerRegistrations=e?.providerRegistrations?.map((e=>new ce(e)))}getList(){return this.providerRegistrations}}class RepProviderRegistrationListByCompany extends RepProviderRegistrationList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class PayProviderRegistrationList extends Payload{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}}class PayProviderRegistrationListByCompany extends PayProviderRegistrationList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepProviderRegistrationListByCompany(e)}}class is extends me{config;asset;identifier;phone;lifetime;name;notes;password;constructor(e){super(),this.config=e?.config,this.asset=e?.asset,this.identifier=e?.identifier,this.phone=e?.phone,this.lifetime=e?.lifetime?new m(e.lifetime):null,this.name=e?.name,this.notes=e?.notes,this.password=e?.password}toJSON(){const e={};return this.config&&(e.config=this.config),t.isNothing(this.asset)||(e.asset=this.asset),t.isNothing(this.identifier)||(e.identifier=this.identifier),this.phone&&(e.phone=this.phone),this.lifetime&&(e.lifetime=this.lifetime.toString()),this.name&&(e.name=this.name),this.notes&&(e.notes=this.notes),this.password&&(e.password=this.password),e}}class RepProviderRegistrationMerge extends Reply{providerRegistration;constructor(e){super(e),this.providerRegistration=we.fromJSON(e?.providerRegistration)}}class PayProviderRegistrationMerge extends Payload{providerRegistration;constructor(e){super(e),this.providerRegistration=new is(e?.providerRegistration)}createReply(e){return new RepProviderRegistrationMerge(e)}}class as extends ge{id;company;name;notes;global;kind;fill;stroke;graphic;blocks;parameters;constructor(t){super(t),this.id=t?.id,this.company=t?.company,this.name=t?.name,this.notes=t?.notes,this.global=t?.global,this.kind=t?.kind,this.fill=t?.fill,this.stroke=t?.stroke,this.graphic=t?.graphic,this.blocks=t?.blocks?.map((e=>new pe(e))),this.parameters=t?.parameters?e.toMapPredicate(t?.parameters,((e,t)=>[e,t?he.fromJSON(t):null])):null}toJSON(){const s={};return this.id?(s.id=this.id,s.v=[...this.v]):s.company=this.company,this.name&&(s.name=this.name),this.notes&&(s.notes=this.notes),t.isNothing(this.global)||(s.global=this.global),this.kind&&(s.kind=this.kind),this.fill&&(s.fill=this.fill),this.stroke&&(s.stroke=this.stroke),this.graphic&&(s.graphic=this.graphic),this.blocks?.length&&(s.blocks=this.blocks?.map((e=>e.toJSON()))),this.parameters?.size&&(s.parameters=e.fromMapPredicate(this.parameters,((e,t)=>[e,t?t.toJSON():null]))),s}}class PayProviderScript extends Payload{providerScript;constructor(e){super(),this.providerScript=new Le(e?.providerScript)}getKey(){return this.providerScript?.id?.toString()??""}}class RepProviderScriptBatchDelete extends ReplySyncBatchDelete{providerScripts;constructor(e){super(e,"ProviderScript"),this.providerScripts=e?.providerScripts?.map((e=>new ve(e)))}i(){return this.providerScripts?.map((e=>e.id))}getCompanyId(){return this.providerScripts?.[0]?.company}getResults(){return this.providerScripts}}class PayProviderScriptBatchDelete extends Payload{providerScripts;constructor(e){super(),this.providerScripts=e?.providerScripts?.map((e=>new Le(e)))??[]}createReply(e){return new RepProviderScriptBatchDelete(e)}}class RepProviderScriptBatchMerge extends Reply{providerScripts;constructor(e){super(e),this.providerScripts=e?.providerScripts?.map((e=>new we(e)))}}class PayProviderScriptBatchMerge extends Payload{providerScripts;constructor(e){super(),this.providerScripts=e?.providerScripts?.map((e=>new as(e)))??[]}createReply(e){return new RepProviderScriptBatchMerge(e)}}class RepProviderScriptDelete extends ReplySyncDelete{providerScript;constructor(e){super(e,"ProviderScript"),this.providerScript=ve.fromJSON(e?.providerScript)}getKey(){return this.providerScript?.id}getCompanyId(){return this.providerScript?.company}}class PayProviderScriptDelete extends PayProviderScript{createReply(e){return new RepProviderScriptDelete(e)}}class RepProviderScriptGet extends ReplySyncGet{providerScript;constructor(e){super(e,"ProviderScript"),e?.providerScript&&(this.providerScript=new le(e.providerScript))}getObject(){return this.providerScript}getCompanyId(){return this.providerScript?.companyId}}class PayProviderScriptGet extends PayProviderScript{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepProviderScriptGet(e)}}class RepProviderScriptList extends ReplySyncList{providerScripts;constructor(e){super(e,"ProviderScript"),this.providerScripts=e?.providerScripts?.map((e=>new le(e)))}getList(){return this.providerScripts}}class RepProviderScriptListByCompany extends RepProviderScriptList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class PayProviderScriptList extends Payload{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}}class PayProviderScriptListByCompany extends PayProviderScriptList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepProviderScriptListByCompany(e)}}class RepProviderScriptMerge extends Reply{providerScript;constructor(e){super(e),this.providerScript=we.fromJSON(e?.providerScript)}}class PayProviderScriptMerge extends Payload{providerScript;constructor(e){super(),this.providerScript=new as(e?.providerScript)}getKey(){return this.providerScript?.id?.toString()??""}createReply(e){return new RepProviderScriptMerge(e)}}class PayProviderScriptRestore extends PayProviderScript{createReply(e){return new RepProviderScriptDelete(e)}}class RepReportResultBatchDelete extends ReplySyncBatchDelete{reportResults;constructor(e){super(e,"ReportResult"),this.reportResults=e.reportResults?.map((e=>new ve(e)))}i(){return this.reportResults?.map((e=>e.id))}getCompanyId(){return this.reportResults?.[0]?.company}getResults(){return this.reportResults}}class PayReportResultBatchDelete extends Payload{reportResults;constructor(e){super(),this.reportResults=e?.reportResults?.map((e=>new Le(e)))??[]}createReply(e){return new RepReportResultBatchDelete(e)}}class RepReportResultBatchMerge extends Reply{reportResults;constructor(e){super(e),this.reportResults=e?.reportResults?.map((e=>new we(e)))}}class os extends me{baseScore;parameters;constructor(e){super(),this.baseScore=e?.baseScore,this.parameters=e?.parameters?.map((e=>new ue(e)))}toJSON(){const e={};return this.baseScore&&(e.baseScore=this.baseScore),this.parameters?.length&&(e.parameters=this.parameters?.map((e=>e.toJSON()))),e}}class cs extends me{static fromJSON(e){return e?new cs(e):null}parameters;targets;filtering;places;regions;scorecardRules;constructor(e){super(),this.parameters=e?.parameters?.map((e=>new ye(e))),this.targets=e?.targets,this.filtering=e?.filtering,this.places=e?.places,this.regions=e?.regions,e?.scorecardRules&&(this.scorecardRules=new os(e.scorecardRules))}toJSON(){const e={};return this.parameters?.length&&(e.parameters=this.parameters.map((e=>e.toJSON()))),this.targets&&(e.targets=this.targets),this.filtering&&(e.filtering=this.filtering),this.places&&(e.places=this.places),this.regions?.length&&(e.regions=[...this.regions]),this.scorecardRules&&(e.scorecardRules=this.scorecardRules.toJSON()),e}}class ps extends ge{id;template;company;kind;name;notes;archive;options;timezone;constructor(e){super(e),this.id=e?.id,this.template=e?.template,this.company=e?.company,this.kind=e?.kind,this.name=e?.name,this.notes=e?.notes,this.archive=e?.archive,this.options=e?.options?cs.fromJSON(e.options):null,this.timezone=e?.timezone?t.findTimeZoneById(e.timezone):null}toJSON(){const e={};return this.id?(e.id=this.id,e.v=[...this.v]):(e.template=this.template,e.company=this.company),this.kind&&(e.kind=this.kind),this.name&&(e.name=this.name),this.notes&&(e.notes=this.notes),t.isNothing(this.archive)||(e.archive=this.archive),this.options&&(e.options=this.options.toJSON()),this.timezone&&(e.timezone=this.timezone.code),e}}class PayReportResultBatchMerge extends Payload{reportResults;constructor(e){super(e),this.reportResults=e?.reportResults?.map((e=>new ps(e)))??[]}createReply(e){return new RepReportResultBatchMerge(e)}}class RepReportResultDelete extends ReplySyncDelete{reportResult;constructor(e){super(e,"ReportResult"),this.reportResult=ve.fromJSON(e?.reportResult)}getKey(){return this.reportResult?.id}getCompanyId(){return this.reportResult?.company}}class PayReportResult extends Payload{reportResult;constructor(e){super(),this.reportResult=new Le(e?.reportResult)}getKey(){return this.reportResult?.id?.toString()??""}}class PayReportResultDelete extends PayReportResult{createReply(e){return new RepReportResultDelete(e)}}class RepReportResultGet extends ReplySyncGet{reportResult;constructor(e){super(e,"ReportResult"),e?.reportResult&&(this.reportResult=new de(e.reportResult))}getObject(){return this.reportResult}getCompanyId(){return this.reportResult?.companyId}}class PayReportResultGet extends PayReportResult{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepReportResultGet(e)}}class RepReportResultList extends ReplySyncList{reportResults;constructor(e){super(e,"ReportResult"),this.reportResults=e?.reportResults?.map((e=>new de(e)))}getList(){return this.reportResults}}class RepReportResultListByCompany extends RepReportResultList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class PayReportResultList extends Payload{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}}class PayReportResultListByCompany extends PayReportResultList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepReportResultListByCompany(e)}}class RepReportResultMerge extends Reply{reportResult;constructor(e){super(e),this.reportResult=we.fromJSON(e?.reportResult)}}class PayReportResultMerge extends Payload{reportResult;constructor(e){super(e),this.reportResult=new ps(e?.reportResult)}getKey(){return this.reportResult?.id?.toString()??""}createReply(e){return new RepReportResultMerge(e)}}class PayReportResultRestore extends PayReportResult{createReply(e){return new RepReportResultDelete(e)}}class hs extends me{static fromJSON(e){return e?new hs(e):null}users;assets;constructor(e){super(),this.users=e?.users?[...e.users]:null,this.assets=e?.assets}toJSON(){const e={};return this.users?.length&&(e.users=[...this.users]),t.isNothing(this.assets)||(e.assets=this.assets),e}}class ls extends me{static fromJSON(e){return e?new ls(e):null}kind;weekdays;weekday;start;end;constructor(e){super(),this.kind=e?.kind,this.weekdays=e?.weekdays?[...e.weekdays]:null,this.weekday=e?.weekday,this.start=e?.start?t.date(e.start):null,this.end=e?.end?t.date(e.end):null}toJSON(){const e={};return this.kind&&(e.kind=this.kind),this.weekdays?.length&&(e.weekdays=[...this.weekdays]),this.weekday&&(e.weekday=this.weekday),this.start&&(e.start=this.start.toISOString()),isNaN(this.end?.valueOf())||(e.end=this.end?.toISOString()??null),e}}class us extends ge{id;template;name;notes;owner;enabled;repetition;options;notify;constructor(e){super(e),this.id=e?.id,this.template=e?.template,this.name=e?.name,this.notes=e?.notes,this.owner=e?.owner,this.enabled=e?.enabled,this.repetition=e?.repetition?ls.fromJSON(e.repetition):null,this.options=e?.options?cs.fromJSON(e?.options):null,this.notify=e?.notify?hs.fromJSON(e?.notify):null}toJSON(){const e={};return this.id?(e.id=this.id,e.v=[...this.v]):e.template=this.template,this.name&&(e.name=this.name),this.notes&&(e.notes=this.notes),this.owner&&(e.owner=this.owner),t.isNothing(this.enabled)||(e.enabled=!!this.enabled),t.isNothing(this.repetition)||(e.repetition=this.repetition),t.isNothing(this.options)||(e.options=this.options),t.isNothing(this.notify)||(e.notify=this.notify),e}}class RepReportScheduleDelete extends ReplySyncDelete{reportSchedule;constructor(e){super(e,"ReportSchedule"),this.reportSchedule=ve.fromJSON(e?.reportSchedule)}getKey(){return this.reportSchedule?.id}getCompanyId(){return this.reportSchedule?.company}}class PayReportSchedule extends Payload{reportSchedule;constructor(e){super(),this.reportSchedule=new Le(e?.reportSchedule)}getKey(){return this.reportSchedule?.id?.toString()??""}}class PayReportScheduleDelete extends PayReportSchedule{createReply(e){return new RepReportScheduleDelete(e)}}class RepReportScheduleGet extends ReplySyncGet{reportSchedule;constructor(e){super(e,"ReportSchedule"),e?.reportSchedule&&(this.reportSchedule=new Re(e.reportSchedule))}getObject(){return this.reportSchedule}getCompanyId(){return this.reportSchedule?.companyId}}class PayReportScheduleGet extends PayReportSchedule{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepReportScheduleGet(e)}}class RepReportScheduleList extends ReplySyncList{reportSchedules;constructor(e){super(e,"ReportSchedule"),this.reportSchedules=e?.reportSchedules?.map((e=>new Re(e)))}getList(){return this.reportSchedules}}class RepReportScheduleListByCompany extends RepReportScheduleList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class PayReportScheduleList extends Payload{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}}class PayReportScheduleListByCompany extends PayReportScheduleList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepReportScheduleListByCompany(e)}}class RepReportScheduleMerge extends Reply{reportSchedule;constructor(e){super(e),this.reportSchedule=we.fromJSON(e?.reportSchedule)}}class PayReportScheduleMerge extends Payload{reportSchedule;constructor(e){super(e),this.reportSchedule=new us(e?.reportSchedule)}getKey(){return this.reportSchedule?.id?.toString()??""}createReply(e){return new RepReportScheduleMerge(e)}}class PayReportScheduleRestore extends PayReportSchedule{createReply(e){return new RepReportScheduleDelete(e)}}class RepReportScheduleBatchDelete extends ReplySyncBatchDelete{reportSchedules;constructor(e){super(e,"ReportSchedule"),this.reportSchedules=e?.reportSchedules?.map((e=>new ve(e)))}i(){return this.reportSchedules?.map((e=>e.id))}getCompanyId(){return this.reportSchedules?.[0]?.company}getResults(){return this.reportSchedules}}class ys extends ge{id;company;name;notes;kind;options;fill;stroke;graphic;constructor(e){super(e),this.id=e?.id,this.company=e?.company,this.name=e?.name,this.notes=e?.notes,this.kind=e?.kind,this.options=e?.options?cs.fromJSON(e.options):null,this.fill=e?.fill,this.stroke=e?.stroke,this.graphic=e?.graphic}toJSON(){const e={};return this.id?(e.id=this.id,e.v=[...this.v]):e.company=this.company,this.name&&(e.name=this.name),this.notes&&(e.notes=this.notes),this.kind&&(e.kind=this.kind),this.options&&(e.options=this.options.toJSON()),this.fill&&(e.fill=this.fill),this.stroke&&(e.stroke=this.stroke),this.graphic&&(e.graphic=this.graphic),e}}class PayReportTemplate extends Payload{reportTemplate;constructor(e){super(),this.reportTemplate=new Le(e?.reportTemplate)}getKey(){return this.reportTemplate?.id?.toString()??""}}class RepReportTemplateBatchDelete extends ReplySyncBatchDelete{reportTemplates;constructor(e){super(e,"ReportTemplate"),this.reportTemplates=e?.reportTemplates?.map((e=>new ve(e)))}i(){return this.reportTemplates?.map((e=>e.id))}getCompanyId(){return this.reportTemplates?.[0]?.company}getResults(){return this.reportTemplates}}class PayReportTemplateBatchDelete extends Payload{reportTemplates;constructor(e){super(),this.reportTemplates=e?.reportTemplates?.map((e=>new Le(e)))??[]}createReply(e){return new RepReportTemplateBatchDelete(e)}}class RepReportTemplateBatchMerge extends Reply{reportTemplates;constructor(e){super(e),this.reportTemplates=e?.reportTemplates?.map((e=>new we(e)))}}class PayReportTemplateBatchMerge extends Payload{reportTemplates;constructor(e){super(e),this.reportTemplates=e?.reportTemplates?.map((e=>new ys(e)))??[]}createReply(e){return new RepReportTemplateBatchMerge(e)}}class RepReportTemplateDelete extends ReplySyncDelete{reportTemplate;constructor(e){super(e,"ReportTemplate"),this.reportTemplate=ve.fromJSON(e?.reportTemplate)}getKey(){return this.reportTemplate?.id}getCompanyId(){return this.reportTemplate?.company}}class PayReportTemplateDelete extends PayReportTemplate{createReply(e){return new RepReportTemplateDelete(e)}}class RepReportTemplateGet extends ReplySyncGet{reportTemplate;constructor(e){super(e,"ReportTemplate"),e?.reportTemplate&&(this.reportTemplate=new Pe(e.reportTemplate))}getObject(){return this.reportTemplate}getCompanyId(){return this.reportTemplate?.companyId}}class PayReportTemplateGet extends PayReportTemplate{includeDeleted;constructor(e){super(e),this.includeDeleted=!!e?.includeDeleted}createReply(e){return new RepReportTemplateGet(e)}}class RepReportTemplateList extends ReplySyncList{reportTemplates;constructor(e){super(e,"ReportTemplate"),this.reportTemplates=e?.reportTemplates?.map((e=>new Pe(e)))}getList(){return this.reportTemplates}}class RepReportTemplateListByCompany extends RepReportTemplateList{company;constructor(e){super(e),this.company=xe.fromJSON(e?.company)}u(e,t){return e[1].companyId===this.company.id}getCompanyId(){return this.company?.id}}class PayReportTemplateList extends Payload{includeDeleted;constructor(e){super(),this.includeDeleted=!!e?.includeDeleted}}class PayReportTemplateListByCompany extends PayReportTemplateList{company;constructor(e){super(e),this.company=new Le(e?.company)}createReply(e){return new RepReportTemplateListByCompany(e)}}class RepReportTemplateMerge extends Reply{reportTemplate;constructor(e){super(e),this.reportTemplate=we.fromJSON(e?.reportTemplate)}}class PayReportTemplateMerge extends Payload{reportTemplate;constructor(e){super(e),this.reportTemplate=new ys(e?.reportTemplate)}getKey(){return this.reportTemplate?.id?.toString()??""}createReply(e){return new RepReportTemplateMerge(e)}}class PayReportTemplateRestore extends PayReportTemplate{createReply(e){return new RepReportTemplateDelete(e)}}!function(e){e.assetGeneral="assetGeneral",e.assetAdvanced="assetAdvanced",e.assetMessage="assetMessage",e.assetDispatch="assetDispatch",e.dispatchTask="dispatchTask",e.dispatchJob="dispatchJob",e.formTemplate="formTemplate",e.formResult="formResult",e.placeGeneral="placeGeneral",e.providerGeneral="providerGeneral",e.providerAdvanced="providerAdvanced",e.providerConfiguration="providerConfiguration",e.providerScript="providerScript",e.providerConfig="providerConfig",e.providerControl="providerControl",e.providerRegistration="providerRegistration",e.maintenanceSchedule="maintenanceSchedule",e.maintenanceJob="maintenanceJob",e.behaviourScript="behaviourScript",e.behaviour="behaviour",e.behaviourLog="behaviourLog",e.companyGeneral="companyGeneral",e.companyLabels="companyLabels",e.companyPolicies="companyPolicies",e.companyReseller="companyReseller",e.billingProfile="billingProfile",e.billingHosting="billingHosting",e.billingDiscount="billingDiscount",e.billingLicense="billingLicense",e.billingReport="billingReport",e.contact="contact",e.icon="icon",e.picture="picture",e.document="document",e.reportTemplate="reportTemplate",e.reportSchedule="reportSchedule",e.reportResult="reportResult",e.userGeneral="userGeneral",e.userAdvanced="userAdvanced",e.userGroup="userGroup",e.machine="machine"}(fe||(fe={}));class RepSubscription extends Reply{company;merged;denied;invalid;constructor(e){super(e),this.company=xe.fromJSON(e?.company),this.merged=e?.merged?.map((e=>e)),this.denied=e?.denied?.map((e=>e)),this.invalid=e?.invalid?.map((e=>e))}}class PaySubscriptionMerge extends Payload{company;subscriptionTypes;constructor(e){super(e),this.company=new Le(e?.company),this.subscriptionTypes=e?.subscriptionTypes??[]}createReply(e){return new RepSubscription(e)}}class PaySubscriptionDelete extends PaySubscriptionMerge{createReply(e){return new RepSubscription(e)}}class ds{company;subscriptionTypes;constructor(e){this.company=e?.company,this.subscriptionTypes=e?.subscriptionTypes}}class RepSubscriptionList extends Reply{subscriptions;constructor(e){super(e),this.subscriptions=e?.subscriptions?.map((e=>new ds(e)))}}class PaySubscriptionList extends Payload{createReply(e){return new RepSubscriptionList(e)}}
|
|
2
|
+
/**
|
|
3
|
+
* Command definitions that work with our various APIs.
|
|
4
|
+
* {@link https://github.com/trakitwireless/trakit-ts-commands|TypeScript documentation.}
|
|
5
|
+
* Last updated on Friday December 19, 2025
|
|
6
|
+
* @copyright Trak-iT Wireless Inc. 2025
|
|
7
|
+
*/const Rs=5.06;export{Ve as ContentCode,We as ContentCodeCompany,Ze as ContentCodeDeleted,xe as ContentId,Qe as ContentIdAsset,Xe as ContentIdBillingProfile,we as ContentIdCompany,Ye as ContentIdCompanyTemplate,nt as ContentIdParent,it as ContentIdParentDeleted,at as ContentIdScript,ot as ContentIdSuspended,$e as ContentIdendifier,tt as ContentIdendifierAsset,et as ContentIdendifierCompany,st as ContentIdendifierDeleted,rt as ContentIdendifierSuspended,Te as ContentKey,Ie as ContentKeyCompany,Oe as ContentKeyDeleted,Ke as ContentLogin,_e as ContentLoginCompany,ze as ContentLoginDeleted,Se as ErrorCode,Ge as ErrorDetail,pt as ErrorDetailBadIds,ht as ErrorDetailBadIndexes,lt as ErrorDetailBadKeys,ut as ErrorDetailBatch,Rt as ErrorDetailContactInUse,Pt as ErrorDetailCount,gt as ErrorDetailEnum,Ct as ErrorDetailEscalation,Bt as ErrorDetailExternals,Lt as ErrorDetailFormTemplateInUse,mt as ErrorDetailInput,Dt as ErrorDetailLocked,xt as ErrorDetailMinMax,wt as ErrorDetailParent,vt as ErrorDetailParse,St as ErrorDetailPhone,Mt as ErrorDetailSecret,ft as ErrorDetailStack,Gt as ErrorDetailThrottled,Me as ErrorDetailType,dt as ErrorDetailUserGroupInUse,At as ParamAssetMerge,Jt as ParamBehaviourMerge,Nt as ParamBehaviourScriptMerge,Ee as ParamCode,Be as ParamContactMerge,Kt as ParamDispatchJobCancel,jt as ParamDispatchJobChange,Et as ParamDispatchJobMerge,_t as ParamDispatchStepChange,zt as ParamDispatchStepMerge,Ht as ParamDispatchTaskMerge,Wt as ParamFormField,Zt as ParamFormTemplateMerge,He as ParamGuid,Ue as ParamHandle,Qt as ParamIconMerge,Le as ParamId,qe as ParamIdentifier,Ne as ParamKey,Fe as ParamLogin,Je as ParamMachineMerge,me as ParamMerge,ge as ParamMergeSubscribable,Ae as ParamPermission,Xt as ParamPictureMerge,ts as ParamPlaceMerge,ss as ParamProviderConfigMerge,rs as ParamProviderConfigurationMerge,as as ParamProviderScriptMerge,us as ParamReportScheduleMerge,ys as ParamReportTemplateMerge,Ce as ParamSelfContactMerge,be as ParamUserGroupMerge,je as ParamUserMerge,PayAsset,PayAssetAdvancedGet,PayAssetAdvancedListByCompany,PayAssetAdvancedListByCompanyAndLabels,PayAssetAdvancedListByCompanyAndRefPairs,PayAssetBatchDelete,PayAssetBatchMerge,PayAssetDelete,PayAssetDispatchGet,PayAssetDispatchListByCompany,PayAssetDispatchListByCompanyAndLabels,PayAssetDispatchListByCompanyAndRefPairs,PayAssetDispatchMerge,PayAssetGeneralGet,PayAssetGeneralListByCompany,PayAssetGeneralListByCompanyAndLabels,PayAssetGeneralListByCompanyAndRefPairs,PayAssetGet,PayAssetListByCompany,PayAssetListByCompanyAndLabels,PayAssetListByCompanyAndRefPairs,PayAssetMerge,PayAssetMessageBatchDelete,PayAssetMessageBatchMerge,PayAssetMessageDelete,PayAssetMessageGet,PayAssetMessageListByAsset,PayAssetMessageListByCompany,PayAssetMessageMerge,PayAssetMessageRestore,PayAssetReactivate,PayAssetRestore,PayAssetSuspend,PayBehaviour,PayBehaviourBatchDelete,PayBehaviourBatchMerge,PayBehaviourDelete,PayBehaviourGet,PayBehaviourListByCompany,PayBehaviourLogBatchDeleteByAsset,PayBehaviourLogBatchDeleteByBehaviour,PayBehaviourLogBatchDeleteByScript,PayBehaviourLogListByAsset,PayBehaviourLogListByBehaviour,PayBehaviourLogListByScript,PayBehaviourMerge,PayBehaviourRestore,PayBehaviourScript,PayBehaviourScriptBatchDelete,PayBehaviourScriptBatchMerge,PayBehaviourScriptDelete,PayBehaviourScriptGet,PayBehaviourScriptListByCompany,PayBehaviourScriptMerge,PayBehaviourScriptRestore,PayCompany,PayCompanyBatchDelete,PayCompanyBatchMerge,PayCompanyDelete,PayCompanyDirectoryGet,PayCompanyDirectoryList,PayCompanyDirectoryListByCompany,PayCompanyGeneralGet,PayCompanyGeneralList,PayCompanyGeneralListByCompany,PayCompanyGet,PayCompanyMerge,PayCompanyPolicyGet,PayCompanyPolicyList,PayCompanyPolicyListByCompany,PayCompanyResellerDelete,PayCompanyResellerGet,PayCompanyResellerList,PayCompanyResellerListByCompany,PayCompanyResellerMerge,PayCompanyResellerRestore,PayCompanyRestore,PayCompanyStyleGet,PayCompanyStyleList,PayCompanyStyleListByCompany,PayContact,PayContactBatchDelete,PayContactBatchMerge,PayContactDelete,PayContactGet,PayContactListByCompany,PayContactMerge,PayContactRestore,PayDashcamGet,PayDashcamListByCompany,PayDashcamLiveListByCompany,PayDispatchJob,PayDispatchJobBatchCancel,PayDispatchJobBatchChange,PayDispatchJobBatchDelete,PayDispatchJobBatchMerge,PayDispatchJobCancel,PayDispatchJobChange,PayDispatchJobDelete,PayDispatchJobGet,PayDispatchJobListByAsset,PayDispatchJobListByAssetAndLabels,PayDispatchJobListByAssetAndRefPairs,PayDispatchJobListByCompany,PayDispatchJobListByCompanyAndLabels,PayDispatchJobListByCompanyAndRefPairs,PayDispatchJobListByUnassigned,PayDispatchJobListByUnassignedAndLabels,PayDispatchJobListByUnassignedAndRefPairs,PayDispatchJobMerge,PayDispatchJobRestore,PayDispatchTask,PayDispatchTaskBatchDelete,PayDispatchTaskBatchMerge,PayDispatchTaskDelete,PayDispatchTaskGet,PayDispatchTaskList,PayDispatchTaskListByAsset,PayDispatchTaskListByAssetAndRefPairs,PayDispatchTaskListByCompany,PayDispatchTaskListByCompanyAndRefPairs,PayDispatchTaskMerge,PayDispatchTaskRestore,PayDocumentDelete,PayDocumentGet,PayDocumentListByCompany,PayDocumentMerge,PayDocumentRestore,PayFormResultBatchMerge,PayFormResultDelete,PayFormResultGet,PayFormResultListByCompany,PayFormResultMerge,PayFormResultRestore,PayFormTemplate,PayFormTemplateBatchDelete,PayFormTemplateBatchMerge,PayFormTemplateDelete,PayFormTemplateGet,PayFormTemplateListByCompany,PayFormTemplateMerge,PayFormTemplateRestore,PayIcon,PayIconBatchDelete,PayIconBatchMerge,PayIconDelete,PayIconGet,PayIconList,PayIconListByCompany,PayIconMerge,PayIconRestore,PayListByDate,PayListById,PayListByKey,PayMachineBatchDelete,PayMachineBatchMerge,PayMachineDelete,PayMachineGet,PayMachineListByCompany,PayMachineMerge,PayMachineRestore,PayMaintenanceJob,PayMaintenanceJobBatchDelete,PayMaintenanceJobBatchMerge,PayMaintenanceJobDelete,PayMaintenanceJobGet,PayMaintenanceJobListByCompany,PayMaintenanceJobMerge,PayMaintenanceJobRestore,PayMaintenanceSchedule,PayMaintenanceScheduleBatchDelete,PayMaintenanceScheduleBatchMerge,PayMaintenanceScheduleDelete,PayMaintenanceScheduleGet,PayMaintenanceScheduleListByCompany,PayMaintenanceScheduleMerge,PayMaintenanceScheduleRestore,PayPicture,PayPictureBatchDelete,PayPictureBatchMerge,PayPictureDelete,PayPictureGet,PayPictureList,PayPictureListByCompany,PayPictureMerge,PayPictureRestore,PayPlace,PayPlaceBatchDelete,PayPlaceBatchMerge,PayPlaceDelete,PayPlaceGet,PayPlaceListByCompany,PayPlaceMerge,PayPlaceRestore,PayProvider,PayProviderAdvancedGet,PayProviderAdvancedListByCompany,PayProviderAdvancedListByConfig,PayProviderBatchDelete,PayProviderBatchMerge,PayProviderConfigBatchDelete,PayProviderConfigBatchMerge,PayProviderConfigDelete,PayProviderConfigGet,PayProviderConfigListByCompany,PayProviderConfigMerge,PayProviderConfigRestore,PayProviderConfigurationBatchDelete,PayProviderConfigurationBatchMerge,PayProviderConfigurationDelete,PayProviderConfigurationGet,PayProviderConfigurationListByCompany,PayProviderConfigurationMerge,PayProviderConfigurationRestore,PayProviderConfigurationTypeGet,PayProviderConfigurationTypeListByCompany,PayProviderControlGet,PayProviderControlListByCompany,PayProviderControlListByConfig,PayProviderDelete,PayProviderGeneralGet,PayProviderGeneralListByCompany,PayProviderGeneralListByConfig,PayProviderGet,PayProviderListByCompany,PayProviderMerge,PayProviderRegistrationDelete,PayProviderRegistrationGet,PayProviderRegistrationListByCompany,PayProviderRegistrationMerge,PayProviderRestore,PayProviderScript,PayProviderScriptBatchDelete,PayProviderScriptBatchMerge,PayProviderScriptDelete,PayProviderScriptGet,PayProviderScriptListByCompany,PayProviderScriptMerge,PayProviderScriptRestore,PayReportResultBatchDelete,PayReportResultBatchMerge,PayReportResultDelete,PayReportResultGet,PayReportResultListByCompany,PayReportResultMerge,PayReportResultRestore,PayReportScheduleDelete,PayReportScheduleGet,PayReportScheduleListByCompany,PayReportScheduleMerge,PayReportScheduleRestore,PayReportTemplate,PayReportTemplateBatchDelete,PayReportTemplateBatchMerge,PayReportTemplateDelete,PayReportTemplateGet,PayReportTemplateListByCompany,PayReportTemplateMerge,PayReportTemplateRestore,PaySelfContact,PaySelfGet,PaySelfLogin,PaySelfLogout,PaySelfPassword,PaySelfPreferences,PaySessionDelete,PaySessionGet,PaySessionListByCompany,PaySessionListByUser,PaySubscriptionDelete,PaySubscriptionList,PaySubscriptionMerge,PayUserAdvancedGet,PayUserAdvancedListByCompany,PayUserAdvancedListByUserGroup,PayUserBatchDelete,PayUserBatchMerge,PayUserDelete,PayUserGeneralGet,PayUserGeneralListByCompany,PayUserGeneralListByUserGroup,PayUserGet,PayUserGroupBatchDelete,PayUserGroupBatchMerge,PayUserGroupDelete,PayUserGroupGet,PayUserGroupListByCompany,PayUserGroupMerge,PayUserGroupRestore,PayUserListByCompany,PayUserMerge,PayUserRestore,Payload,RepAssetAdvancedGet,RepAssetAdvancedListByCompany,RepAssetAdvancedListByCompanyAndLabels,RepAssetAdvancedListByCompanyAndRefPairs,RepAssetBatchMerge,RepAssetDelete,RepAssetDispatchGet,RepAssetDispatchListByCompany,RepAssetDispatchListByCompanyAndLabels,RepAssetDispatchListByCompanyAndRefPairs,RepAssetDispatchMerge,RepAssetGeneralGet,RepAssetGeneralListByCompany,RepAssetGeneralListByCompanyAndLabels,RepAssetGeneralListByCompanyAndRefPairs,RepAssetGet,RepAssetListByCompany,RepAssetListByCompanyAndLabels,RepAssetListByCompanyAndRefPairs,RepAssetMerge,RepAssetMessageBatchDelete,RepAssetMessageBatchMerge,RepAssetMessageDelete,RepAssetMessageGet,RepAssetMessageListByAsset,RepAssetMessageListByCompany,RepAssetMessageMerge,RepAssetSuspend,RepBehaviourBatchDelete,RepBehaviourBatchMerge,RepBehaviourDelete,RepBehaviourGet,RepBehaviourListByCompany,RepBehaviourLogBatchDeleteByAsset,RepBehaviourLogBatchDeleteByBehaviour,RepBehaviourLogBatchDeleteByScript,RepBehaviourLogListByAsset,RepBehaviourLogListByBehaviour,RepBehaviourLogListByScript,RepBehaviourMerge,RepBehaviourScriptBatchDelete,RepBehaviourScriptBatchMerge,RepBehaviourScriptDelete,RepBehaviourScriptGet,RepBehaviourScriptListByCompany,RepBehaviourScriptMerge,RepCompanyBatchDelete,RepCompanyBatchMerge,RepCompanyDelete,RepCompanyDirectoryGet,RepCompanyDirectoryList,RepCompanyDirectoryListByCompany,RepCompanyGeneralGet,RepCompanyGeneralList,RepCompanyGeneralListByCompany,RepCompanyGet,RepCompanyMerge,RepCompanyPolicyGet,RepCompanyPolicyList,RepCompanyPolicyListByCompany,RepCompanyResellerDelete,RepCompanyResellerGet,RepCompanyResellerList,RepCompanyResellerListByCompany,RepCompanyResellerMerge,RepCompanyStyleGet,RepCompanyStyleList,RepCompanyStyleListByCompany,RepContactBatchDelete,RepContactBatchMerge,RepContactDelete,RepContactGet,RepContactListByCompany,RepContactMerge,RepDashcamGet,RepDashcamListByCompany,RepDashcamLiveListByCompany,RepDispatchJobBatchDelete,RepDispatchJobBatchMerge,RepDispatchJobDelete,RepDispatchJobGet,RepDispatchJobListByAsset,RepDispatchJobListByAssetAndLabels,RepDispatchJobListByAssetAndRefPairs,RepDispatchJobListByCompany,RepDispatchJobListByCompanyAndLabels,RepDispatchJobListByCompanyAndRefPairs,RepDispatchJobMerge,RepDispatchTaskBatchDelete,RepDispatchTaskBatchMerge,RepDispatchTaskDelete,RepDispatchTaskGet,RepDispatchTaskList,RepDispatchTaskListByAsset,RepDispatchTaskListByAssetAndRefPairs,RepDispatchTaskListByCompany,RepDispatchTaskListByCompanyAndRefPairs,RepDispatchTaskMerge,RepDocumentDelete,RepDocumentGet,RepDocumentListByCompany,RepDocumentMerge,RepFormResultBatchMerge,RepFormResultDelete,RepFormResultGet,RepFormResultListByCompany,RepFormResultMerge,RepFormTemplateBatchDelete,RepFormTemplateBatchMerge,RepFormTemplateDelete,RepFormTemplateGet,RepFormTemplateListByCompany,RepFormTemplateMerge,RepIconBatchDelete,RepIconBatchMerge,RepIconDelete,RepIconGet,RepIconList,RepIconListByCompany,RepIconMerge,RepMachineBatchDelete,RepMachineBatchMerge,RepMachineDelete,RepMachineGet,RepMachineListByCompany,RepMachineListByUserGroup,RepMachineMerge,RepMaintenanceJobBatchDelete,RepMaintenanceJobBatchMerge,RepMaintenanceJobDelete,RepMaintenanceJobGet,RepMaintenanceJobListByCompany,RepMaintenanceJobMerge,RepMaintenanceScheduleBatchDelete,RepMaintenanceScheduleBatchMerge,RepMaintenanceScheduleDelete,RepMaintenanceScheduleGet,RepMaintenanceScheduleListByCompany,RepMaintenanceScheduleMerge,RepPictureBatchDelete,RepPictureBatchMerge,RepPictureDelete,RepPictureGet,RepPictureList,RepPictureListByCompany,RepPictureMerge,RepPlaceBatchDelete,RepPlaceBatchMerge,RepPlaceDelete,RepPlaceGet,RepPlaceListByCompany,RepPlaceMerge,RepProviderAdvancedGet,RepProviderAdvancedListByCompany,RepProviderBatchDelete,RepProviderBatchMerge,RepProviderConfigBatchDelete,RepProviderConfigBatchMerge,RepProviderConfigDelete,RepProviderConfigGet,RepProviderConfigListByCompany,RepProviderConfigMerge,RepProviderConfigurationBatchDelete,RepProviderConfigurationBatchMerge,RepProviderConfigurationDelete,RepProviderConfigurationGet,RepProviderConfigurationListByCompany,RepProviderConfigurationMerge,RepProviderConfigurationTypeGet,RepProviderConfigurationTypeListByCompany,RepProviderControlGet,RepProviderControlListByCompany,RepProviderControlListByConfig,RepProviderDelete,RepProviderGeneralGet,RepProviderGeneralListByCompany,RepProviderGeneralListByConfig,RepProviderGet,RepProviderListByCompany,RepProviderListByConfig,RepProviderMerge,RepProviderRegistrationDelete,RepProviderRegistrationGet,RepProviderRegistrationListByCompany,RepProviderRegistrationMerge,RepProviderScriptBatchDelete,RepProviderScriptBatchMerge,RepProviderScriptDelete,RepProviderScriptGet,RepProviderScriptListByCompany,RepProviderScriptMerge,RepReportResultBatchDelete,RepReportResultBatchMerge,RepReportResultDelete,RepReportResultGet,RepReportResultListByCompany,RepReportResultMerge,RepReportScheduleBatchDelete,RepReportScheduleDelete,RepReportScheduleGet,RepReportScheduleListByCompany,RepReportScheduleMerge,RepReportTemplateBatchDelete,RepReportTemplateBatchMerge,RepReportTemplateDelete,RepReportTemplateGet,RepReportTemplateListByCompany,RepReportTemplateMerge,RepSelfContact,RepSelfGet,RepSelfLogout,RepSelfPassword,RepSelfPreferences,RepSessionDelete,RepSessionGet,RepSessionListByCompany,RepSessionListByUser,RepSubscription,RepSubscriptionList,RepUserAdvancedGet,RepUserAdvancedListByCompany,RepUserAdvancedListByUserGroup,RepUserBatchDelete,RepUserBatchMerge,RepUserDelete,RepUserGeneralGet,RepUserGeneralListByCompany,RepUserGeneralListByUserGroup,RepUserGet,RepUserGroupBatchDelete,RepUserGroupBatchMerge,RepUserGroupDelete,RepUserGroupGet,RepUserGroupListByCompany,RepUserGroupMerge,RepUserListByCompany,RepUserMerge,Reply,ReplySync,ReplySyncBatchDelete,ReplySyncBatchSuspend,ReplySyncDelete,ReplySyncGet,ReplySyncList,ke as SessionHandle,ds as Subscription,fe as SubscriptionType,Rs as version};
|
package/package.json
CHANGED
|
@@ -1,34 +1,38 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@trakit/commands",
|
|
3
|
-
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
5
|
-
"main": "
|
|
6
|
-
"types": "
|
|
7
|
-
"scripts": {
|
|
8
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
9
|
-
},
|
|
10
|
-
"repository": {
|
|
11
|
-
"type": "git",
|
|
12
|
-
"url": "git+https://github.com/trakitwireless/trakit-ts-commands.git"
|
|
13
|
-
},
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@trakit/commands",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.0.6",
|
|
5
|
+
"main": "_publish/trakit-commands.min.js",
|
|
6
|
+
"types": "_publish/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
9
|
+
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/trakitwireless/trakit-ts-commands.git"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"_publish/",
|
|
16
|
+
"LICENSE.md",
|
|
17
|
+
"README.md"
|
|
18
|
+
],
|
|
19
|
+
"keywords": [
|
|
20
|
+
"trakit"
|
|
21
|
+
],
|
|
22
|
+
"author": "Alex Lein",
|
|
23
|
+
"license": "AGPL-3.0-only",
|
|
24
|
+
"bugs": {
|
|
25
|
+
"url": "https://github.com/trakitwireless/trakit-ts-commands/issues"
|
|
26
|
+
},
|
|
27
|
+
"homepage": "https://github.com/trakitwireless/trakit-ts-commands#readme",
|
|
28
|
+
"description": "",
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
31
|
+
"rollup": "^4.36.0",
|
|
32
|
+
"rollup-plugin-typescript2": "^0.36.0",
|
|
33
|
+
"vitest": "^4.0.7"
|
|
34
|
+
},
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@trakit/objects": "file://../trakit-ts-objects"
|
|
37
|
+
}
|
|
34
38
|
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { LatLng } from "@trakit/objects";
|
|
2
|
-
/**
|
|
3
|
-
* Our implementation to encode a polyline using Google's Encoded Polyline algorithm.
|
|
4
|
-
* This version allows you to change the precision of the encoding.
|
|
5
|
-
* We use 6 decimal places by default. Google uses 5.
|
|
6
|
-
* https://developers.google.com/maps/documentation/utilities/polylinealgorithm
|
|
7
|
-
* @param route The array of coordinates representing a path.
|
|
8
|
-
* @param precision Optional number of decimal places to use to calculate the results. Default is 5.
|
|
9
|
-
* @returns
|
|
10
|
-
*/
|
|
11
|
-
export declare function ROUTE_ENCODE(route: LatLng[], precision?: number): string;
|
|
12
|
-
/**
|
|
13
|
-
* Our implementation to decode a polyline using Google's Encoded Polyline algorithm.
|
|
14
|
-
* This version allows you to change the precision of the encoding.
|
|
15
|
-
* We use 6 decimal places by default. Google uses 5.
|
|
16
|
-
* @param encodedPoints
|
|
17
|
-
* @param precision
|
|
18
|
-
* @returns
|
|
19
|
-
*/
|
|
20
|
-
export declare function ROUTE_DECODE(route: string, precision?: number): LatLng[];
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ParamId } from "./Parameters/ParamId";
|
|
2
|
-
/**
|
|
3
|
-
* Interface for requests on a list of objects by billing profile.
|
|
4
|
-
**/
|
|
5
|
-
export interface IPayListByBillingProfile {
|
|
6
|
-
/**
|
|
7
|
-
* The billing profile to filter the list by.
|
|
8
|
-
**/
|
|
9
|
-
billingProfile: ParamId;
|
|
10
|
-
}
|