hgs-twilio-class-lib 1.1.50 → 1.1.51
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/lib/aws/abstract/ServiceObjectStore.js +2 -10
- package/lib/aws/abstract/ServiceObjectStore.js.map +1 -0
- package/lib/aws/abstract/ServiceOpenRequest.js +2 -10
- package/lib/aws/abstract/ServiceOpenRequest.js.map +1 -0
- package/lib/aws/abstract/ServiceRequest.js +2 -7
- package/lib/aws/abstract/ServiceRequest.js.map +1 -0
- package/lib/aws/abstract/ServiceResource.js +2 -31
- package/lib/aws/abstract/ServiceResource.js.map +1 -0
- package/lib/aws/abstract/ServiceResourceFactory.js +2 -14
- package/lib/aws/abstract/ServiceResourceFactory.js.map +1 -0
- package/lib/aws/abstract/ServiceTransaction.js +2 -11
- package/lib/aws/abstract/ServiceTransaction.js.map +1 -0
- package/lib/aws/impl/AWSAPIConfig.js +2 -38
- package/lib/aws/impl/AWSAPIConfig.js.map +1 -0
- package/lib/aws/impl/AWSClient.js +2 -35
- package/lib/aws/impl/AWSClient.js.map +1 -0
- package/lib/aws/impl/AWSConnectAPIConfig.js +2 -38
- package/lib/aws/impl/AWSConnectAPIConfig.js.map +1 -0
- package/lib/aws/impl/DynamoDB/DynamoOpenRequest.js +2 -24
- package/lib/aws/impl/DynamoDB/DynamoOpenRequest.js.map +1 -0
- package/lib/aws/impl/DynamoDB/DynamoRequest.js +2 -21
- package/lib/aws/impl/DynamoDB/DynamoRequest.js.map +1 -0
- package/lib/aws/impl/DynamoDB/DynamoResourse.js +2 -45
- package/lib/aws/impl/DynamoDB/DynamoResourse.js.map +1 -0
- package/lib/aws/impl/DynamoDB/DynamoServiceFactory.js +2 -63
- package/lib/aws/impl/DynamoDB/DynamoServiceFactory.js.map +1 -0
- package/lib/aws/impl/DynamoDB/DynamoTable.js +2 -126
- package/lib/aws/impl/DynamoDB/DynamoTable.js.map +1 -0
- package/lib/aws/impl/DynamoDB/DynamoTransaction.js +2 -37
- package/lib/aws/impl/DynamoDB/DynamoTransaction.js.map +1 -0
- package/lib/aws/impl/HoopServices/HoopService.js +2 -124
- package/lib/aws/impl/HoopServices/HoopService.js.map +1 -0
- package/lib/aws/impl/HoopServices/HoopServiceFactory.js +2 -53
- package/lib/aws/impl/HoopServices/HoopServiceFactory.js.map +1 -0
- package/lib/aws/impl/HoopServices/HoopServiceOpenRequest.js +2 -24
- package/lib/aws/impl/HoopServices/HoopServiceOpenRequest.js.map +1 -0
- package/lib/aws/impl/HoopServices/HoopServiceResource.js +2 -46
- package/lib/aws/impl/HoopServices/HoopServiceResource.js.map +1 -0
- package/lib/aws/impl/HoopServices/HoopServiceTransaction.js +2 -37
- package/lib/aws/impl/HoopServices/HoopServiceTransaction.js.map +1 -0
- package/lib/aws/interface/IDirection.js +2 -2
- package/lib/aws/interface/IDirection.js.map +1 -0
- package/lib/aws/interface/ILink.js +2 -2
- package/lib/aws/interface/ILink.js.map +1 -0
- package/lib/aws/interface/IServiceDBOpenRequest.js +2 -2
- package/lib/aws/interface/IServiceDBOpenRequest.js.map +1 -0
- package/lib/aws/interface/IServiceObjectStore.js +2 -2
- package/lib/aws/interface/IServiceObjectStore.js.map +1 -0
- package/lib/aws/interface/IServiceObjectStoreParameters.js +2 -2
- package/lib/aws/interface/IServiceObjectStoreParameters.js.map +1 -0
- package/lib/aws/interface/IServiceRequest.js +2 -2
- package/lib/aws/interface/IServiceRequest.js.map +1 -0
- package/lib/aws/interface/IServiceResource.js +2 -2
- package/lib/aws/interface/IServiceResource.js.map +1 -0
- package/lib/aws/interface/IServiceTransation.js +2 -2
- package/lib/aws/interface/IServiceTransation.js.map +1 -0
- package/lib/aws/interface/ISubResourceUri.js +2 -2
- package/lib/aws/interface/ISubResourceUri.js.map +1 -0
- package/lib/aws/interface/ISyncItemData.js +2 -1
- package/lib/aws/interface/ISyncItemData.js.map +1 -0
- package/lib/aws/interface/ISyncObjectStoreParameters.js +2 -1
- package/lib/aws/interface/ISyncObjectStoreParameters.js.map +1 -0
- package/lib/aws/interface/ISyncTransactionOptions.js +2 -2
- package/lib/aws/interface/ISyncTransactionOptions.js.map +1 -0
- package/lib/common/abstract/CommonError.js +2 -12
- package/lib/common/abstract/CommonError.js.map +1 -0
- package/lib/common/abstract/Database.js +2 -58
- package/lib/common/abstract/Database.js.map +1 -0
- package/lib/common/abstract/DatabaseClient.js +2 -21
- package/lib/common/abstract/DatabaseClient.js.map +1 -0
- package/lib/common/abstract/DatabaseClientConfig.js +2 -9
- package/lib/common/abstract/DatabaseClientConfig.js.map +1 -0
- package/lib/common/abstract/DatabaseFactory.js +2 -32
- package/lib/common/abstract/DatabaseFactory.js.map +1 -0
- package/lib/common/abstract/DatabaseObjectStore.js +2 -13
- package/lib/common/abstract/DatabaseObjectStore.js.map +1 -0
- package/lib/common/abstract/DatabaseOpenRequest.js +2 -13
- package/lib/common/abstract/DatabaseOpenRequest.js.map +1 -0
- package/lib/common/abstract/DatabaseRequest.js +2 -14
- package/lib/common/abstract/DatabaseRequest.js.map +1 -0
- package/lib/common/abstract/DatabaseTransaction.js +2 -13
- package/lib/common/abstract/DatabaseTransaction.js.map +1 -0
- package/lib/common/abstract/Filter.js +2 -30
- package/lib/common/abstract/Filter.js.map +1 -0
- package/lib/common/enum/ErrorTypes.js +2 -9
- package/lib/common/enum/ErrorTypes.js.map +1 -0
- package/lib/common/enum/FilterTypes.js +2 -14
- package/lib/common/enum/FilterTypes.js.map +1 -0
- package/lib/common/interface/IDatabaesInfo.js +2 -2
- package/lib/common/interface/IDatabaesInfo.js.map +1 -0
- package/lib/common/interface/IDatabase.js +2 -2
- package/lib/common/interface/IDatabase.js.map +1 -0
- package/lib/common/interface/IDatabaseClient.js +2 -2
- package/lib/common/interface/IDatabaseClient.js.map +1 -0
- package/lib/common/interface/IDatabaseConfig.js +2 -10
- package/lib/common/interface/IDatabaseConfig.js.map +1 -0
- package/lib/common/interface/IDatabaseDBOpenRequest.js +2 -2
- package/lib/common/interface/IDatabaseDBOpenRequest.js.map +1 -0
- package/lib/common/interface/IDatabaseFactory.js +2 -2
- package/lib/common/interface/IDatabaseFactory.js.map +1 -0
- package/lib/common/interface/IDatabaseObjectStore.js +2 -2
- package/lib/common/interface/IDatabaseObjectStore.js.map +1 -0
- package/lib/common/interface/IDatabaseObjectStoreParameters.js +2 -2
- package/lib/common/interface/IDatabaseObjectStoreParameters.js.map +1 -0
- package/lib/common/interface/IDatabaseRecord.js +2 -2
- package/lib/common/interface/IDatabaseRecord.js.map +1 -0
- package/lib/common/interface/IDatabaseRequest.js +2 -2
- package/lib/common/interface/IDatabaseRequest.js.map +1 -0
- package/lib/common/interface/IDatabaseTransaction.js +2 -2
- package/lib/common/interface/IDatabaseTransaction.js.map +1 -0
- package/lib/common/interface/IDatabaseTransactionOptions.js +2 -2
- package/lib/common/interface/IDatabaseTransactionOptions.js.map +1 -0
- package/lib/common/interface/IError.js +2 -2
- package/lib/common/interface/IError.js.map +1 -0
- package/lib/common/interface/IErrorDetails.js +2 -2
- package/lib/common/interface/IErrorDetails.js.map +1 -0
- package/lib/common/interface/IFilter.js +2 -2
- package/lib/common/interface/IFilter.js.map +1 -0
- package/lib/common/type/DatabaseReadyType.js +2 -2
- package/lib/common/type/DatabaseReadyType.js.map +1 -0
- package/lib/common/type/FilterInputType.js +2 -2
- package/lib/common/type/FilterInputType.js.map +1 -0
- package/lib/common/type/SearchParameterType.js +2 -3
- package/lib/common/type/SearchParameterType.js.map +1 -0
- package/lib/common/utils/dateFormat.js +2 -58
- package/lib/common/utils/dateFormat.js.map +1 -0
- package/lib/common/utils/filter.js +2 -99
- package/lib/common/utils/filter.js.map +1 -0
- package/lib/common/utils/newFilter.js +2 -126
- package/lib/common/utils/newFilter.js.map +1 -0
- package/lib/common/utils/pagination.js +2 -9
- package/lib/common/utils/pagination.js.map +1 -0
- package/lib/common/utils/search.js +2 -14
- package/lib/common/utils/search.js.map +1 -0
- package/lib/common/utils/sort.js +2 -13
- package/lib/common/utils/sort.js.map +1 -0
- package/lib/config/AWSConfig.js +2 -9
- package/lib/config/AWSConfig.js.map +1 -0
- package/lib/config/DatabaseConfig.js +2 -36
- package/lib/config/DatabaseConfig.js.map +1 -0
- package/lib/config/TwilioConfig.js +2 -7
- package/lib/config/TwilioConfig.js.map +1 -0
- package/lib/controller/Common.d.ts +0 -1
- package/lib/controller/Common.d.ts.map +1 -1
- package/lib/controller/Common.js +2 -76
- package/lib/controller/Common.js.map +1 -0
- package/lib/controller/DatabaseFactoryCollection.js +2 -14
- package/lib/controller/DatabaseFactoryCollection.js.map +1 -0
- package/lib/controller/MainController.js +2 -174
- package/lib/controller/MainController.js.map +1 -0
- package/lib/controller/aws/HoopBuisnessHours.js +2 -408
- package/lib/controller/aws/HoopBuisnessHours.js.map +1 -0
- package/lib/controller/aws/HoopOperationsController.js +2 -86
- package/lib/controller/aws/HoopOperationsController.js.map +1 -0
- package/lib/controller/aws/HoopOverrideBranchesController.js +2 -40
- package/lib/controller/aws/HoopOverrideBranchesController.js.map +1 -0
- package/lib/controller/aws/HoopProfilesListController.js +2 -61
- package/lib/controller/aws/HoopProfilesListController.js.map +1 -0
- package/lib/controller/aws/PlaybackScreenrecordings.js +2 -63
- package/lib/controller/aws/PlaybackScreenrecordings.js.map +1 -0
- package/lib/controller/twilio/AgentActionsController.js +2 -177
- package/lib/controller/twilio/AgentActionsController.js.map +1 -0
- package/lib/controller/twilio/AgentScorecardController.js +2 -173
- package/lib/controller/twilio/AgentScorecardController.js.map +1 -0
- package/lib/controller/twilio/AuditLogController.js +2 -137
- package/lib/controller/twilio/AuditLogController.js.map +1 -0
- package/lib/controller/twilio/CallLogsController.js +2 -131
- package/lib/controller/twilio/CallLogsController.js.map +1 -0
- package/lib/controller/twilio/CallbackAndVoicemailController.js +2 -114
- package/lib/controller/twilio/CallbackAndVoicemailController.js.map +1 -0
- package/lib/controller/twilio/ChannelSettingTaskInfoController.js +2 -117
- package/lib/controller/twilio/ChannelSettingTaskInfoController.js.map +1 -0
- package/lib/controller/twilio/ChannelSettingsController.js +2 -142
- package/lib/controller/twilio/ChannelSettingsController.js.map +1 -0
- package/lib/controller/twilio/CxConfigAssetController.d.ts.map +1 -1
- package/lib/controller/twilio/CxConfigAssetController.js +2 -128
- package/lib/controller/twilio/CxConfigAssetController.js.map +1 -0
- package/lib/controller/twilio/CxConfigController.js +2 -112
- package/lib/controller/twilio/CxConfigController.js.map +1 -0
- package/lib/controller/twilio/CxConfigExternalNumbersController.js +2 -138
- package/lib/controller/twilio/CxConfigExternalNumbersController.js.map +1 -0
- package/lib/controller/twilio/CxConfigOther.js +2 -128
- package/lib/controller/twilio/CxConfigOther.js.map +1 -0
- package/lib/controller/twilio/CxConfigQueueMenuController.js +2 -129
- package/lib/controller/twilio/CxConfigQueueMenuController.js.map +1 -0
- package/lib/controller/twilio/CxConfigUIconfigController.js +2 -132
- package/lib/controller/twilio/CxConfigUIconfigController.js.map +1 -0
- package/lib/controller/twilio/GPMController.js +2 -151
- package/lib/controller/twilio/GPMController.js.map +1 -0
- package/lib/controller/twilio/HoopBusinessHoursController.js +2 -285
- package/lib/controller/twilio/HoopBusinessHoursController.js.map +1 -0
- package/lib/controller/twilio/HoopHolidaysController.js +2 -150
- package/lib/controller/twilio/HoopHolidaysController.js.map +1 -0
- package/lib/controller/twilio/HoopMainController.js +2 -297
- package/lib/controller/twilio/HoopMainController.js.map +1 -0
- package/lib/controller/twilio/HoopNotesController.js +2 -149
- package/lib/controller/twilio/HoopNotesController.js.map +1 -0
- package/lib/controller/twilio/HoopOperationsController.js +2 -138
- package/lib/controller/twilio/HoopOperationsController.js.map +1 -0
- package/lib/controller/twilio/HoopOverrideBranchesController.js +2 -137
- package/lib/controller/twilio/HoopOverrideBranchesController.js.map +1 -0
- package/lib/controller/twilio/HoopPartialDaysController.js +2 -150
- package/lib/controller/twilio/HoopPartialDaysController.js.map +1 -0
- package/lib/controller/twilio/HoopProfilesListController.js +2 -147
- package/lib/controller/twilio/HoopProfilesListController.js.map +1 -0
- package/lib/controller/twilio/NavigationController.js +2 -170
- package/lib/controller/twilio/NavigationController.js.map +1 -0
- package/lib/controller/twilio/QualityFormsController.js +2 -129
- package/lib/controller/twilio/QualityFormsController.js.map +1 -0
- package/lib/controller/twilio/QuickLinkController.js +2 -122
- package/lib/controller/twilio/QuickLinkController.js.map +1 -0
- package/lib/controller/twilio/RealTimeReportQueueDetailsController.js +2 -126
- package/lib/controller/twilio/RealTimeReportQueueDetailsController.js.map +1 -0
- package/lib/controller/twilio/RealTimeReportsWGDetailsController.js +2 -160
- package/lib/controller/twilio/RealTimeReportsWGDetailsController.js.map +1 -0
- package/lib/controller/twilio/TaskInfoPanelController.js +2 -134
- package/lib/controller/twilio/TaskInfoPanelController.js.map +1 -0
- package/lib/controller/twilio/filterImpl/AgentScorecardFilter.js +2 -52
- package/lib/controller/twilio/filterImpl/AgentScorecardFilter.js.map +1 -0
- package/lib/controller/twilio/filterImpl/AuditLogsFilter.js +2 -89
- package/lib/controller/twilio/filterImpl/AuditLogsFilter.js.map +1 -0
- package/lib/controller/twilio/filterImpl/CXConfigPromptFilter.js +2 -81
- package/lib/controller/twilio/filterImpl/CXConfigPromptFilter.js.map +1 -0
- package/lib/controller/twilio/filterImpl/CallLogsFilter.js +2 -101
- package/lib/controller/twilio/filterImpl/CallLogsFilter.js.map +1 -0
- package/lib/controller/twilio/filterImpl/CxConfigAssetFilter.js +2 -59
- package/lib/controller/twilio/filterImpl/CxConfigAssetFilter.js.map +1 -0
- package/lib/controller/twilio/filterImpl/CxConfigExternalNumbersFilter.js +2 -67
- package/lib/controller/twilio/filterImpl/CxConfigExternalNumbersFilter.js.map +1 -0
- package/lib/controller/twilio/filterImpl/CxConfigOtherFilter.js +2 -52
- package/lib/controller/twilio/filterImpl/CxConfigOtherFilter.js.map +1 -0
- package/lib/controller/twilio/filterImpl/CxConfigQueueMenuFilter.js +2 -78
- package/lib/controller/twilio/filterImpl/CxConfigQueueMenuFilter.js.map +1 -0
- package/lib/controller/twilio/filterImpl/CxConfigUIconfigFilter.js +2 -51
- package/lib/controller/twilio/filterImpl/CxConfigUIconfigFilter.js.map +1 -0
- package/lib/controller/twilio/filterImpl/HoopHolidaysFilter.js +2 -55
- package/lib/controller/twilio/filterImpl/HoopHolidaysFilter.js.map +1 -0
- package/lib/controller/twilio/filterImpl/HoopNotesFilter.js +2 -51
- package/lib/controller/twilio/filterImpl/HoopNotesFilter.js.map +1 -0
- package/lib/controller/twilio/filterImpl/HoopPartialDaysFilter.js +2 -55
- package/lib/controller/twilio/filterImpl/HoopPartialDaysFilter.js.map +1 -0
- package/lib/controller/twilio/filterImpl/MainFilterService.js +2 -108
- package/lib/controller/twilio/filterImpl/MainFilterService.js.map +1 -0
- package/lib/controller/twilio/filterImpl/NavigationFilter.js +2 -90
- package/lib/controller/twilio/filterImpl/NavigationFilter.js.map +1 -0
- package/lib/controller/twilio/filterImpl/QueueDetailsFilter.js +2 -53
- package/lib/controller/twilio/filterImpl/QueueDetailsFilter.js.map +1 -0
- package/lib/controller/twilio/filterImpl/TaskCompleteFilter.js +2 -62
- package/lib/controller/twilio/filterImpl/TaskCompleteFilter.js.map +1 -0
- package/lib/controller/twilio/filterImpl/TaskInfoPanelFilter.js +2 -52
- package/lib/controller/twilio/filterImpl/TaskInfoPanelFilter.js.map +1 -0
- package/lib/express/ApiResponse.js +2 -11
- package/lib/express/ApiResponse.js.map +1 -0
- package/lib/express/RequestValidator.js +2 -77
- package/lib/express/RequestValidator.js.map +1 -0
- package/lib/express/RequireParamsPicker.js +2 -14
- package/lib/express/RequireParamsPicker.js.map +1 -0
- package/lib/express/ValidateRequireParameters.js +2 -39
- package/lib/express/ValidateRequireParameters.js.map +1 -0
- package/lib/index.js +2 -100
- package/lib/index.js.map +1 -0
- package/lib/models/BatchUpdateSkills.model.js +2 -11
- package/lib/models/BatchUpdateSkills.model.js.map +1 -0
- package/lib/models/CannedMessage.model.js +2 -1
- package/lib/models/CannedMessage.model.js.map +1 -0
- package/lib/models/ChannelSettingsTaskInfo.model.js +2 -1
- package/lib/models/ChannelSettingsTaskInfo.model.js.map +1 -0
- package/lib/models/CustomerFeedback.model.js +2 -1
- package/lib/models/CustomerFeedback.model.js.map +1 -0
- package/lib/models/Filter.model.js +2 -2
- package/lib/models/Filter.model.js.map +1 -0
- package/lib/models/Hoop.model.js +2 -9
- package/lib/models/Hoop.model.js.map +1 -0
- package/lib/models/Navigation.model.js +2 -8
- package/lib/models/Navigation.model.js.map +1 -0
- package/lib/models/Roles.Model.js +2 -1
- package/lib/models/Roles.Model.js.map +1 -0
- package/lib/models/abstract/BaseModel.js +2 -40
- package/lib/models/abstract/BaseModel.js.map +1 -0
- package/lib/models/abstract/BaseModelOld.js +2 -13
- package/lib/models/abstract/BaseModelOld.js.map +1 -0
- package/lib/models/impl/AgentActionsLogsModel.js +2 -89
- package/lib/models/impl/AgentActionsLogsModel.js.map +1 -0
- package/lib/models/impl/AgentActionsModel.js +2 -60
- package/lib/models/impl/AgentActionsModel.js.map +1 -0
- package/lib/models/impl/AgentScorecardModel.js +2 -282
- package/lib/models/impl/AgentScorecardModel.js.map +1 -0
- package/lib/models/impl/AuditLogsModel.js +2 -146
- package/lib/models/impl/AuditLogsModel.js.map +1 -0
- package/lib/models/impl/CallLogsModel.js +2 -109
- package/lib/models/impl/CallLogsModel.js.map +1 -0
- package/lib/models/impl/CallStatisticsModel.js +2 -52
- package/lib/models/impl/CallStatisticsModel.js.map +1 -0
- package/lib/models/impl/CategoryDetailsModel.js +2 -44
- package/lib/models/impl/CategoryDetailsModel.js.map +1 -0
- package/lib/models/impl/MemberModel.js +2 -170
- package/lib/models/impl/MemberModel.js.map +1 -0
- package/lib/models/impl/ModelValidationError.js +2 -15
- package/lib/models/impl/ModelValidationError.js.map +1 -0
- package/lib/models/impl/NavigationModel.js +2 -126
- package/lib/models/impl/NavigationModel.js.map +1 -0
- package/lib/models/impl/PerformanceStatisticsModel.js +2 -129
- package/lib/models/impl/PerformanceStatisticsModel.js.map +1 -0
- package/lib/models/impl/PlaybackScreenrecordings.js +2 -133
- package/lib/models/impl/PlaybackScreenrecordings.js.map +1 -0
- package/lib/models/impl/ProfileModel.js +2 -102
- package/lib/models/impl/ProfileModel.js.map +1 -0
- package/lib/models/impl/QualityFormsModel.js +2 -150
- package/lib/models/impl/QualityFormsModel.js.map +1 -0
- package/lib/models/impl/QuestionDetailsModel.js +2 -173
- package/lib/models/impl/QuestionDetailsModel.js.map +1 -0
- package/lib/models/impl/QueueDetailsModel.js +2 -261
- package/lib/models/impl/QueueDetailsModel.js.map +1 -0
- package/lib/models/impl/QueueModel.js +2 -156
- package/lib/models/impl/QueueModel.js.map +1 -0
- package/lib/models/impl/QuickLinkModel.js +2 -122
- package/lib/models/impl/QuickLinkModel.js.map +1 -0
- package/lib/models/impl/StatisticsNumberDetailsModel.js +2 -72
- package/lib/models/impl/StatisticsNumberDetailsModel.js.map +1 -0
- package/lib/models/impl/StatisticsTimeDetailsModel.js +2 -72
- package/lib/models/impl/StatisticsTimeDetailsModel.js.map +1 -0
- package/lib/models/impl/TaskAttributesModel.js +2 -108
- package/lib/models/impl/TaskAttributesModel.js.map +1 -0
- package/lib/models/impl/TaskChannelModel.js +2 -69
- package/lib/models/impl/TaskChannelModel.js.map +1 -0
- package/lib/models/impl/TaskComplete.js +2 -1
- package/lib/models/impl/TaskComplete.js.map +1 -0
- package/lib/models/impl/TaskInfoPanelModel.js +2 -69
- package/lib/models/impl/TaskInfoPanelModel.js.map +1 -0
- package/lib/models/impl/TaskModel.js +2 -234
- package/lib/models/impl/TaskModel.js.map +1 -0
- package/lib/models/impl/WorkGroupDetailsModel.js +2 -281
- package/lib/models/impl/WorkGroupDetailsModel.js.map +1 -0
- package/lib/models/impl/callbackandvoicemail/CallbackAndVoicemailModel.js +2 -140
- package/lib/models/impl/callbackandvoicemail/CallbackAndVoicemailModel.js.map +1 -0
- package/lib/models/impl/callbackandvoicemail/CallbackAndVoicemailNamespace.js +2 -12
- package/lib/models/impl/callbackandvoicemail/CallbackAndVoicemailNamespace.js.map +1 -0
- package/lib/models/impl/callbackandvoicemail/CallbackModel.js +2 -82
- package/lib/models/impl/callbackandvoicemail/CallbackModel.js.map +1 -0
- package/lib/models/impl/callbackandvoicemail/VoicemailModel.js +2 -108
- package/lib/models/impl/callbackandvoicemail/VoicemailModel.js.map +1 -0
- package/lib/models/impl/channelsettings/ChannelSettingModel.js +2 -240
- package/lib/models/impl/channelsettings/ChannelSettingModel.js.map +1 -0
- package/lib/models/impl/channelsettings/ChannelSettingTaskInfoModel.js +2 -106
- package/lib/models/impl/channelsettings/ChannelSettingTaskInfoModel.js.map +1 -0
- package/lib/models/impl/channelsettings/TaskInfoAttributeModel.js +2 -80
- package/lib/models/impl/channelsettings/TaskInfoAttributeModel.js.map +1 -0
- package/lib/models/impl/channelsettings/TaskInfoModel.js +2 -52
- package/lib/models/impl/channelsettings/TaskInfoModel.js.map +1 -0
- package/lib/models/impl/cxconfig/CxConfigNamespace.js +2 -20
- package/lib/models/impl/cxconfig/CxConfigNamespace.js.map +1 -0
- package/lib/models/impl/cxconfig/CxConfigUIConfigModel.js +2 -103
- package/lib/models/impl/cxconfig/CxConfigUIConfigModel.js.map +1 -0
- package/lib/models/impl/cxconfig/CxConfiguratorConfigModel.js +2 -103
- package/lib/models/impl/cxconfig/CxConfiguratorConfigModel.js.map +1 -0
- package/lib/models/impl/cxconfig/CxConfiguratorExternalNumbersModel.js +2 -149
- package/lib/models/impl/cxconfig/CxConfiguratorExternalNumbersModel.js.map +1 -0
- package/lib/models/impl/cxconfig/CxConfiguratorGPMAssetModel.js +2 -179
- package/lib/models/impl/cxconfig/CxConfiguratorGPMAssetModel.js.map +1 -0
- package/lib/models/impl/cxconfig/CxConfiguratorGPMPromptModel.js +2 -213
- package/lib/models/impl/cxconfig/CxConfiguratorGPMPromptModel.js.map +1 -0
- package/lib/models/impl/cxconfig/CxConfiguratorOtherModel.js +2 -96
- package/lib/models/impl/cxconfig/CxConfiguratorOtherModel.js.map +1 -0
- package/lib/models/impl/cxconfig/CxConfiguratorQueueMenuModel.js +2 -128
- package/lib/models/impl/cxconfig/CxConfiguratorQueueMenuModel.js.map +1 -0
- package/lib/models/impl/hoop/HoopBusinessHoursModel.js +2 -122
- package/lib/models/impl/hoop/HoopBusinessHoursModel.js.map +1 -0
- package/lib/models/impl/hoop/HoopDescriptionModel.js +2 -64
- package/lib/models/impl/hoop/HoopDescriptionModel.js.map +1 -0
- package/lib/models/impl/hoop/HoopHolidaysImplModel.js +2 -118
- package/lib/models/impl/hoop/HoopHolidaysImplModel.js.map +1 -0
- package/lib/models/impl/hoop/HoopNotesImplModel.js +2 -117
- package/lib/models/impl/hoop/HoopNotesImplModel.js.map +1 -0
- package/lib/models/impl/hoop/HoopOperationsImplModel.js +2 -161
- package/lib/models/impl/hoop/HoopOperationsImplModel.js.map +1 -0
- package/lib/models/impl/hoop/HoopOverrideImplModel.js +2 -143
- package/lib/models/impl/hoop/HoopOverrideImplModel.js.map +1 -0
- package/lib/models/impl/hoop/HoopPartialDaysImplModel.js +2 -140
- package/lib/models/impl/hoop/HoopPartialDaysImplModel.js.map +1 -0
- package/lib/models/impl/hoop/HoopProfilesListImplModel.js +2 -104
- package/lib/models/impl/hoop/HoopProfilesListImplModel.js.map +1 -0
- package/lib/models/impl/hoop/HoopWeeklyTimingModel.js +2 -86
- package/lib/models/impl/hoop/HoopWeeklyTimingModel.js.map +1 -0
- package/lib/models/index.js +2 -53
- package/lib/models/index.js.map +1 -0
- package/lib/models/interface/IBaseModel.js +2 -2
- package/lib/models/interface/IBaseModel.js.map +1 -0
- package/lib/models/types/AgentScorecard.type.js +2 -7
- package/lib/models/types/AgentScorecard.type.js.map +1 -0
- package/lib/models/types/AuditLog.type.js +2 -10
- package/lib/models/types/AuditLog.type.js.map +1 -0
- package/lib/models/types/CallLog.type.js +2 -10
- package/lib/models/types/CallLog.type.js.map +1 -0
- package/lib/models/types/ChannelSetting.type.js +2 -11
- package/lib/models/types/ChannelSetting.type.js.map +1 -0
- package/lib/models/types/CxConfig.type.js +2 -43
- package/lib/models/types/CxConfig.type.js.map +1 -0
- package/lib/models/types/Hoop.type.js +2 -13
- package/lib/models/types/Hoop.type.js.map +1 -0
- package/lib/models/types/Navigation.type.js +2 -8
- package/lib/models/types/Navigation.type.js.map +1 -0
- package/lib/models/types/Profile.type.js +2 -2
- package/lib/models/types/Profile.type.js.map +1 -0
- package/lib/models/types/QueueDetails.type.js +2 -7
- package/lib/models/types/QueueDetails.type.js.map +1 -0
- package/lib/models/types/TaskComplete.type.js +2 -6
- package/lib/models/types/TaskComplete.type.js.map +1 -0
- package/lib/models/types/TaskInfoPanel.type.js +2 -7
- package/lib/models/types/TaskInfoPanel.type.js.map +1 -0
- package/lib/server.js +2 -39
- package/lib/server.js.map +1 -0
- package/lib/twilio/abstract/ServiceObjectStore.js +2 -10
- package/lib/twilio/abstract/ServiceObjectStore.js.map +1 -0
- package/lib/twilio/abstract/ServiceOpenRequest.js +2 -10
- package/lib/twilio/abstract/ServiceOpenRequest.js.map +1 -0
- package/lib/twilio/abstract/ServiceRequest.js +2 -7
- package/lib/twilio/abstract/ServiceRequest.js.map +1 -0
- package/lib/twilio/abstract/ServiceResource.js +2 -37
- package/lib/twilio/abstract/ServiceResource.js.map +1 -0
- package/lib/twilio/abstract/ServiceResourceFactory.js +2 -18
- package/lib/twilio/abstract/ServiceResourceFactory.js.map +1 -0
- package/lib/twilio/abstract/ServiceTransaction.js +2 -11
- package/lib/twilio/abstract/ServiceTransaction.js.map +1 -0
- package/lib/twilio/abstract/SyncServiceItemResource.js +2 -60
- package/lib/twilio/abstract/SyncServiceItemResource.js.map +1 -0
- package/lib/twilio/abstract/TwilioClientConfig.js +2 -1
- package/lib/twilio/abstract/TwilioClientConfig.js.map +1 -0
- package/lib/twilio/impl/TwilioAPIKeyConfig.js +2 -31
- package/lib/twilio/impl/TwilioAPIKeyConfig.js.map +1 -0
- package/lib/twilio/impl/TwilioAuthTokenConfig.js +2 -24
- package/lib/twilio/impl/TwilioAuthTokenConfig.js.map +1 -0
- package/lib/twilio/impl/TwilioClient.js +2 -21
- package/lib/twilio/impl/TwilioClient.js.map +1 -0
- package/lib/twilio/impl/message/messageService.js +2 -42
- package/lib/twilio/impl/message/messageService.js.map +1 -0
- package/lib/twilio/impl/sync/SyncDocument.js +2 -52
- package/lib/twilio/impl/sync/SyncDocument.js.map +1 -0
- package/lib/twilio/impl/sync/SyncDocumentTransaction.js +2 -31
- package/lib/twilio/impl/sync/SyncDocumentTransaction.js.map +1 -0
- package/lib/twilio/impl/sync/SyncList.js +2 -52
- package/lib/twilio/impl/sync/SyncList.js.map +1 -0
- package/lib/twilio/impl/sync/SyncListItem.js +2 -22
- package/lib/twilio/impl/sync/SyncListItem.js.map +1 -0
- package/lib/twilio/impl/sync/SyncListTransaction.js +2 -31
- package/lib/twilio/impl/sync/SyncListTransaction.js.map +1 -0
- package/lib/twilio/impl/sync/SyncMap.js +2 -139
- package/lib/twilio/impl/sync/SyncMap.js.map +1 -0
- package/lib/twilio/impl/sync/SyncMapItem.js +2 -7
- package/lib/twilio/impl/sync/SyncMapItem.js.map +1 -0
- package/lib/twilio/impl/sync/SyncMapTransaction.js +2 -38
- package/lib/twilio/impl/sync/SyncMapTransaction.js.map +1 -0
- package/lib/twilio/impl/sync/SyncOpenRequest.js +2 -24
- package/lib/twilio/impl/sync/SyncOpenRequest.js.map +1 -0
- package/lib/twilio/impl/sync/SyncRequest.js +2 -21
- package/lib/twilio/impl/sync/SyncRequest.js.map +1 -0
- package/lib/twilio/impl/sync/SyncResource.js +2 -97
- package/lib/twilio/impl/sync/SyncResource.js.map +1 -0
- package/lib/twilio/impl/sync/SyncServiceFactory.js +2 -117
- package/lib/twilio/impl/sync/SyncServiceFactory.js.map +1 -0
- package/lib/twilio/interface/IDirection.js +2 -2
- package/lib/twilio/interface/IDirection.js.map +1 -0
- package/lib/twilio/interface/ILink.js +2 -2
- package/lib/twilio/interface/ILink.js.map +1 -0
- package/lib/twilio/interface/IServiceDBOpenRequest.js +2 -2
- package/lib/twilio/interface/IServiceDBOpenRequest.js.map +1 -0
- package/lib/twilio/interface/IServiceObjectStore.js +2 -2
- package/lib/twilio/interface/IServiceObjectStore.js.map +1 -0
- package/lib/twilio/interface/IServiceObjectStoreParameters.js +2 -2
- package/lib/twilio/interface/IServiceObjectStoreParameters.js.map +1 -0
- package/lib/twilio/interface/IServiceRequest.js +2 -2
- package/lib/twilio/interface/IServiceRequest.js.map +1 -0
- package/lib/twilio/interface/IServiceResource.js +2 -2
- package/lib/twilio/interface/IServiceResource.js.map +1 -0
- package/lib/twilio/interface/IServiceTransation.js +2 -2
- package/lib/twilio/interface/IServiceTransation.js.map +1 -0
- package/lib/twilio/interface/ISubResourceUri.js +2 -2
- package/lib/twilio/interface/ISubResourceUri.js.map +1 -0
- package/lib/twilio/interface/ISyncItemData.js +2 -1
- package/lib/twilio/interface/ISyncItemData.js.map +1 -0
- package/lib/twilio/interface/ISyncObjectStoreParameters.js +2 -1
- package/lib/twilio/interface/ISyncObjectStoreParameters.js.map +1 -0
- package/lib/twilio/interface/ISyncTransactionOptions.js +2 -2
- package/lib/twilio/interface/ISyncTransactionOptions.js.map +1 -0
- package/package.json +10 -2
|
@@ -1,108 +1,2 @@
|
|
|
1
|
-
"
|
|
2
|
-
|
|
3
|
-
exports.VoicemailModel = void 0;
|
|
4
|
-
const BaseModel_1 = require("../../abstract/BaseModel");
|
|
5
|
-
class VoicemailModel extends BaseModel_1.BaseModel {
|
|
6
|
-
constructor(isEnabled, enableDuringBusinessHrs, enableDuringNonBusinessHrs, createReport, assignTask, sendEmail) {
|
|
7
|
-
super();
|
|
8
|
-
this._isEnabled = isEnabled;
|
|
9
|
-
this._enableDuringBusinessHrs = enableDuringBusinessHrs;
|
|
10
|
-
this._enableDuringNonBusinessHrs = enableDuringNonBusinessHrs;
|
|
11
|
-
this._createReport = createReport;
|
|
12
|
-
this._assignTask = assignTask;
|
|
13
|
-
this._sendEmail = sendEmail;
|
|
14
|
-
}
|
|
15
|
-
get isEnabled() {
|
|
16
|
-
return this._isEnabled;
|
|
17
|
-
}
|
|
18
|
-
set isEnabled(value) {
|
|
19
|
-
if (typeof value === "boolean") {
|
|
20
|
-
this._isEnabled = value;
|
|
21
|
-
}
|
|
22
|
-
else {
|
|
23
|
-
throw new Error("Invalid isEnabled value");
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
get enableDuringBusinessHrs() {
|
|
27
|
-
return this._enableDuringBusinessHrs;
|
|
28
|
-
}
|
|
29
|
-
set enableDuringBusinessHrs(value) {
|
|
30
|
-
if (typeof value === "boolean") {
|
|
31
|
-
this._enableDuringBusinessHrs = value;
|
|
32
|
-
}
|
|
33
|
-
else {
|
|
34
|
-
throw new Error("Invalid enableDuringBusinessHrs value");
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
get enableDuringNonBusinessHrs() {
|
|
38
|
-
return this._enableDuringNonBusinessHrs;
|
|
39
|
-
}
|
|
40
|
-
set enableDuringNonBusinessHrs(value) {
|
|
41
|
-
if (typeof value === "boolean") {
|
|
42
|
-
this._enableDuringNonBusinessHrs = value;
|
|
43
|
-
}
|
|
44
|
-
else {
|
|
45
|
-
throw new Error("Invalid enableDuringNonBusinessHrs value");
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
get createReport() {
|
|
49
|
-
return this._createReport;
|
|
50
|
-
}
|
|
51
|
-
set createReport(value) {
|
|
52
|
-
if (typeof value === "boolean") {
|
|
53
|
-
this._createReport = value;
|
|
54
|
-
}
|
|
55
|
-
else {
|
|
56
|
-
throw new Error("Invalid createReport value");
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
get sendEmail() {
|
|
60
|
-
return this._sendEmail;
|
|
61
|
-
}
|
|
62
|
-
set sendEmail(value) {
|
|
63
|
-
if (typeof value === "boolean") {
|
|
64
|
-
this._sendEmail = value;
|
|
65
|
-
}
|
|
66
|
-
else {
|
|
67
|
-
throw new Error("Invalid sendEmail value");
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
get assignTask() {
|
|
71
|
-
return this._assignTask;
|
|
72
|
-
}
|
|
73
|
-
set assignTask(value) {
|
|
74
|
-
if (typeof value === "boolean") {
|
|
75
|
-
this._assignTask = value;
|
|
76
|
-
}
|
|
77
|
-
else {
|
|
78
|
-
throw new Error("Invalid assignTask value");
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
validateData() {
|
|
82
|
-
this.validationMessages = [];
|
|
83
|
-
const validationRules = {
|
|
84
|
-
isEnabled: (value) => typeof value === 'boolean',
|
|
85
|
-
enableDuringBusinessHrs: (value) => typeof value === 'boolean',
|
|
86
|
-
enableDuringNonBusinessHrs: (value) => typeof value === 'boolean',
|
|
87
|
-
createReport: (value) => typeof value === 'boolean',
|
|
88
|
-
assignTask: (value) => typeof value === 'boolean',
|
|
89
|
-
sendEmail: (value) => typeof value === 'boolean',
|
|
90
|
-
};
|
|
91
|
-
for (const key in validationRules) {
|
|
92
|
-
const validator = validationRules[key];
|
|
93
|
-
const value = this[key];
|
|
94
|
-
if (!validator(value)) {
|
|
95
|
-
this.setValidationMessages({
|
|
96
|
-
type: "Error",
|
|
97
|
-
fieldDescription: key,
|
|
98
|
-
message: `${key} is invalid.`,
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
return this.validationMessages;
|
|
103
|
-
}
|
|
104
|
-
setValidationMessages(message) {
|
|
105
|
-
this.validationMessages.push(message);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
exports.VoicemailModel = VoicemailModel;
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0}),exports.VoicemailModel=void 0;const e=require("../../abstract/BaseModel");class s extends e.BaseModel{constructor(e,s,n,i,a,t){super(),this._isEnabled=e,this._enableDuringBusinessHrs=s,this._enableDuringNonBusinessHrs=n,this._createReport=i,this._assignTask=a,this._sendEmail=t}get isEnabled(){return this._isEnabled}set isEnabled(e){if("boolean"!=typeof e)throw new Error("Invalid isEnabled value");this._isEnabled=e}get enableDuringBusinessHrs(){return this._enableDuringBusinessHrs}set enableDuringBusinessHrs(e){if("boolean"!=typeof e)throw new Error("Invalid enableDuringBusinessHrs value");this._enableDuringBusinessHrs=e}get enableDuringNonBusinessHrs(){return this._enableDuringNonBusinessHrs}set enableDuringNonBusinessHrs(e){if("boolean"!=typeof e)throw new Error("Invalid enableDuringNonBusinessHrs value");this._enableDuringNonBusinessHrs=e}get createReport(){return this._createReport}set createReport(e){if("boolean"!=typeof e)throw new Error("Invalid createReport value");this._createReport=e}get sendEmail(){return this._sendEmail}set sendEmail(e){if("boolean"!=typeof e)throw new Error("Invalid sendEmail value");this._sendEmail=e}get assignTask(){return this._assignTask}set assignTask(e){if("boolean"!=typeof e)throw new Error("Invalid assignTask value");this._assignTask=e}validateData(){this.validationMessages=[];const e={isEnabled:e=>"boolean"==typeof e,enableDuringBusinessHrs:e=>"boolean"==typeof e,enableDuringNonBusinessHrs:e=>"boolean"==typeof e,createReport:e=>"boolean"==typeof e,assignTask:e=>"boolean"==typeof e,sendEmail:e=>"boolean"==typeof e};for(const s in e){(0,e[s])(this[s])||this.setValidationMessages({type:"Error",fieldDescription:s,message:`${s} is invalid.`})}return this.validationMessages}setValidationMessages(e){this.validationMessages.push(e)}}exports.VoicemailModel=s;
|
|
2
|
+
//# sourceMappingURL=VoicemailModel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VoicemailModel.js","sources":["../../../../../models/impl/callbackandvoicemail/VoicemailModel.ts"],"sourcesContent":[null],"names":["BaseModel_1","require","VoicemailModel","BaseModel","constructor","isEnabled","enableDuringBusinessHrs","enableDuringNonBusinessHrs","createReport","assignTask","sendEmail","super","this","_isEnabled","_enableDuringBusinessHrs","_enableDuringNonBusinessHrs","_createReport","_assignTask","_sendEmail","value","Error","validateData","validationMessages","validationRules","key","validator","setValidationMessages","type","fieldDescription","message","push","exports"],"mappings":"qFAAA,MAAqDA,EAAAC,QAAA,4BAIrD,MAAaC,UAAuBF,EAASG,UAOzC,WAAAC,CAAYC,EACRC,EACAC,EACAC,EACAC,EACAC,GACAC,QACAC,KAAKC,WAAaR,EAClBO,KAAKE,yBAA2BR,EAChCM,KAAKG,4BAA8BR,EACnCK,KAAKI,cAAgBR,EACrBI,KAAKK,YAAcR,EACnBG,KAAKM,WAAaR,CACrB,CAED,aAAIL,GACA,OAAOO,KAAKC,UACf,CAED,aAAIR,CAAUc,GACV,GAAqB,kBAAVA,EAGP,MAAM,IAAIC,MAAM,2BAFhBR,KAAKC,WAAaM,CAIzB,CAED,2BAAIb,GACA,OAAOM,KAAKE,wBACf,CAED,2BAAIR,CAAwBa,GACxB,GAAqB,kBAAVA,EAGP,MAAM,IAAIC,MAAM,yCAFhBR,KAAKE,yBAA2BK,CAIvC,CAED,8BAAIZ,GACA,OAAOK,KAAKG,2BACf,CAED,8BAAIR,CAA2BY,GAC3B,GAAqB,kBAAVA,EAGP,MAAM,IAAIC,MAAM,4CAFhBR,KAAKG,4BAA8BI,CAI1C,CAED,gBAAIX,GACA,OAAOI,KAAKI,aACf,CAED,gBAAIR,CAAaW,GACb,GAAqB,kBAAVA,EAGP,MAAM,IAAIC,MAAM,8BAFhBR,KAAKI,cAAgBG,CAI5B,CAED,aAAIT,GACA,OAAOE,KAAKM,UACf,CAED,aAAIR,CAAUS,GACV,GAAqB,kBAAVA,EAGP,MAAM,IAAIC,MAAM,2BAFhBR,KAAKM,WAAaC,CAIzB,CAED,cAAIV,GACA,OAAOG,KAAKK,WACf,CAED,cAAIR,CAAWU,GACX,GAAqB,kBAAVA,EAGP,MAAM,IAAIC,MAAM,4BAFhBR,KAAKK,YAAcE,CAI1B,CACD,YAAAE,GACIT,KAAKU,mBAAqB,GAC1B,MAAMC,EAA8D,CAChElB,UAAYc,GAAgC,kBAAVA,EAClCb,wBAA0Ba,GAAgC,kBAAVA,EAChDZ,2BAA6BY,GAAgC,kBAAVA,EACnDX,aAAeW,GAAgC,kBAAVA,EACrCV,WAAaU,GAAgC,kBAAVA,EACnCT,UAAYS,GAAgC,kBAAVA,GAEtC,IAAK,MAAMK,KAAOD,EAAiB,EAG1BE,EAFaF,EAAgBC,IACpBZ,KAAKY,KAEfZ,KAAKc,sBAAsB,CACvBC,KAAM,QACNC,iBAAkBJ,EAClBK,QAAS,GAAGL,iBAGvB,CACD,OAAOZ,KAAKU,kBACf,CAED,qBAAAI,CAAsBG,GAClBjB,KAAKU,mBAAmBQ,KAAKD,EAChC,EAvHLE,QAwHC7B,eAAAA"}
|
|
@@ -1,240 +1,2 @@
|
|
|
1
|
-
"
|
|
2
|
-
|
|
3
|
-
exports.ChannelSettingModel = void 0;
|
|
4
|
-
const BaseModel_1 = require("../../abstract/BaseModel");
|
|
5
|
-
const ChannelSetting_type_1 = require("../../types/ChannelSetting.type");
|
|
6
|
-
class ChannelSettingModel extends BaseModel_1.BaseModel {
|
|
7
|
-
constructor(id, name, channelType, queueSid, autoAnswer, autoComplete, autoCallTranscript, autoCallRecording, autoCallScreenRecording, alert, waitMusic, createdBy, createdDate, updatedDate, waitMusicFile, alertAudioFile, autoAnswerTime, useAlertExistingAudio, autoCompleteTime, useWaitExistingAudio) {
|
|
8
|
-
super();
|
|
9
|
-
this._id = id;
|
|
10
|
-
this._name = name;
|
|
11
|
-
this._channelType = channelType;
|
|
12
|
-
this._queueSid = queueSid;
|
|
13
|
-
this._autoAnswer = autoAnswer;
|
|
14
|
-
this._autoAnswerTime = autoAnswerTime;
|
|
15
|
-
this._autoComplete = autoComplete;
|
|
16
|
-
this._autoCompleteTime = autoCompleteTime;
|
|
17
|
-
this._autoCallTranscript = autoCallTranscript;
|
|
18
|
-
this._autoCallRecording = autoCallRecording;
|
|
19
|
-
this._autoCallScreenRecording = autoCallScreenRecording;
|
|
20
|
-
this._alert = alert;
|
|
21
|
-
this._alertAudioFile = alertAudioFile;
|
|
22
|
-
this._useAlertExistingAudio = useAlertExistingAudio;
|
|
23
|
-
this._waitMusic = waitMusic;
|
|
24
|
-
this._waitMusicFile = waitMusicFile;
|
|
25
|
-
this._useWaitExistingAudio = useWaitExistingAudio;
|
|
26
|
-
this._createdDate = createdDate;
|
|
27
|
-
this._updatedDate = updatedDate;
|
|
28
|
-
this._createdBy = createdBy;
|
|
29
|
-
this.validateData();
|
|
30
|
-
}
|
|
31
|
-
// Getters and Setters
|
|
32
|
-
get id() {
|
|
33
|
-
return this._id;
|
|
34
|
-
}
|
|
35
|
-
set id(value) {
|
|
36
|
-
this._id = value;
|
|
37
|
-
}
|
|
38
|
-
get name() {
|
|
39
|
-
return this._name;
|
|
40
|
-
}
|
|
41
|
-
set name(value) {
|
|
42
|
-
this._name = value;
|
|
43
|
-
}
|
|
44
|
-
get channelType() {
|
|
45
|
-
return this._channelType;
|
|
46
|
-
}
|
|
47
|
-
set channelType(value) {
|
|
48
|
-
this._channelType = value;
|
|
49
|
-
}
|
|
50
|
-
get queueSid() {
|
|
51
|
-
return this._queueSid;
|
|
52
|
-
}
|
|
53
|
-
set queueSid(value) {
|
|
54
|
-
this._queueSid = value;
|
|
55
|
-
}
|
|
56
|
-
get autoAnswer() {
|
|
57
|
-
return this._autoAnswer;
|
|
58
|
-
}
|
|
59
|
-
set autoAnswer(value) {
|
|
60
|
-
this._autoAnswer = value;
|
|
61
|
-
}
|
|
62
|
-
get autoAnswerTime() {
|
|
63
|
-
return this._autoAnswerTime;
|
|
64
|
-
}
|
|
65
|
-
set autoAnswerTime(value) {
|
|
66
|
-
this._autoAnswerTime = value;
|
|
67
|
-
}
|
|
68
|
-
get autoComplete() {
|
|
69
|
-
return this._autoComplete;
|
|
70
|
-
}
|
|
71
|
-
set autoComplete(value) {
|
|
72
|
-
this._autoComplete = value;
|
|
73
|
-
}
|
|
74
|
-
get autoCompleteTime() {
|
|
75
|
-
return this._autoCompleteTime;
|
|
76
|
-
}
|
|
77
|
-
set autoCompleteTime(value) {
|
|
78
|
-
this._autoCompleteTime = value;
|
|
79
|
-
}
|
|
80
|
-
get autoCallTranscript() {
|
|
81
|
-
return this._autoCallTranscript;
|
|
82
|
-
}
|
|
83
|
-
set autoCallTranscript(value) {
|
|
84
|
-
this._autoCallTranscript = value;
|
|
85
|
-
}
|
|
86
|
-
get autoCallRecording() {
|
|
87
|
-
return this._autoCallRecording;
|
|
88
|
-
}
|
|
89
|
-
set autoCallRecording(value) {
|
|
90
|
-
this._autoCallRecording = value;
|
|
91
|
-
}
|
|
92
|
-
get autoCallScreenRecording() {
|
|
93
|
-
return this._autoCallScreenRecording;
|
|
94
|
-
}
|
|
95
|
-
set autoCallScreenRecording(value) {
|
|
96
|
-
this._autoCallScreenRecording = value;
|
|
97
|
-
}
|
|
98
|
-
get alert() {
|
|
99
|
-
return this._alert;
|
|
100
|
-
}
|
|
101
|
-
set alert(value) {
|
|
102
|
-
this._alert = value;
|
|
103
|
-
}
|
|
104
|
-
get alertAudioFile() {
|
|
105
|
-
return this._alertAudioFile;
|
|
106
|
-
}
|
|
107
|
-
set alertAudioFile(value) {
|
|
108
|
-
this._alertAudioFile = value;
|
|
109
|
-
}
|
|
110
|
-
get useAlertExistingAudio() {
|
|
111
|
-
return this._useAlertExistingAudio;
|
|
112
|
-
}
|
|
113
|
-
set useAlertExistingAudio(value) {
|
|
114
|
-
this._useAlertExistingAudio = value;
|
|
115
|
-
}
|
|
116
|
-
get waitMusic() {
|
|
117
|
-
return this._waitMusic;
|
|
118
|
-
}
|
|
119
|
-
set waitMusic(value) {
|
|
120
|
-
this._waitMusic = value;
|
|
121
|
-
}
|
|
122
|
-
get waitMusicFile() {
|
|
123
|
-
return this._waitMusicFile;
|
|
124
|
-
}
|
|
125
|
-
set waitMusicFile(value) {
|
|
126
|
-
this._waitMusicFile = value;
|
|
127
|
-
}
|
|
128
|
-
get useWaitExistingAudio() {
|
|
129
|
-
return this._useWaitExistingAudio;
|
|
130
|
-
}
|
|
131
|
-
set useWaitExistingAudio(value) {
|
|
132
|
-
this._useWaitExistingAudio = value;
|
|
133
|
-
}
|
|
134
|
-
get createdDate() {
|
|
135
|
-
return this._createdDate;
|
|
136
|
-
}
|
|
137
|
-
get createdBy() {
|
|
138
|
-
return this._createdBy;
|
|
139
|
-
}
|
|
140
|
-
get updatedDate() {
|
|
141
|
-
return this._updatedDate;
|
|
142
|
-
}
|
|
143
|
-
set updatedDate(value) {
|
|
144
|
-
this._updatedDate = value;
|
|
145
|
-
}
|
|
146
|
-
get updatedBy() {
|
|
147
|
-
return this._updatedBy;
|
|
148
|
-
}
|
|
149
|
-
set updatedBy(value) {
|
|
150
|
-
this._updatedBy = value;
|
|
151
|
-
}
|
|
152
|
-
// Validation Method
|
|
153
|
-
validateData() {
|
|
154
|
-
this.validationMessages = [];
|
|
155
|
-
// Validate name
|
|
156
|
-
if (typeof this._name !== "string" || !this._name.trim()) {
|
|
157
|
-
this.validationMessages.push({
|
|
158
|
-
type: "Error",
|
|
159
|
-
fieldDescription: "name",
|
|
160
|
-
message: "Name must be a non-empty string",
|
|
161
|
-
});
|
|
162
|
-
}
|
|
163
|
-
if (typeof this._createdBy !== "string" || !this._name.trim()) {
|
|
164
|
-
this.validationMessages.push({
|
|
165
|
-
type: "Error",
|
|
166
|
-
fieldDescription: "createdBy",
|
|
167
|
-
message: "createdBy must be a non-empty string",
|
|
168
|
-
});
|
|
169
|
-
}
|
|
170
|
-
// Validate channelType
|
|
171
|
-
if (!Object.values(ChannelSetting_type_1.ChannelTypeEnum).includes(this._channelType)) {
|
|
172
|
-
this.validationMessages.push({
|
|
173
|
-
type: "Error",
|
|
174
|
-
fieldDescription: "channelType",
|
|
175
|
-
message: "ChannelType must be a valid enum value",
|
|
176
|
-
});
|
|
177
|
-
}
|
|
178
|
-
// Validate queueSid
|
|
179
|
-
if (typeof this._queueSid !== "string" || !this._queueSid.trim()) {
|
|
180
|
-
this.validationMessages.push({
|
|
181
|
-
type: "Error",
|
|
182
|
-
fieldDescription: "queueSid",
|
|
183
|
-
message: "QueueSid must be a non-empty string",
|
|
184
|
-
});
|
|
185
|
-
}
|
|
186
|
-
// Validate autoAnswerTime
|
|
187
|
-
if (this._autoAnswerTime !== undefined && (typeof this._autoAnswerTime !== "number" || this._autoAnswerTime < 0)) {
|
|
188
|
-
this.validationMessages.push({
|
|
189
|
-
type: "Error",
|
|
190
|
-
fieldDescription: "autoAnswerTime",
|
|
191
|
-
message: "AutoAnswerTime must be a non-negative number",
|
|
192
|
-
});
|
|
193
|
-
}
|
|
194
|
-
// Validate autoCompleteTime
|
|
195
|
-
if (this._autoCompleteTime !== undefined && (typeof this._autoCompleteTime !== "number" || this._autoCompleteTime < 0)) {
|
|
196
|
-
this.validationMessages.push({
|
|
197
|
-
type: "Error",
|
|
198
|
-
fieldDescription: "autoCompleteTime",
|
|
199
|
-
message: "AutoCompleteTime must be a non-negative number",
|
|
200
|
-
});
|
|
201
|
-
}
|
|
202
|
-
// Validate alertAudioFile when alert is enabled
|
|
203
|
-
if (this._alert && !this._useAlertExistingAudio && (!this._alertAudioFile || !this._alertAudioFile.trim())) {
|
|
204
|
-
this.validationMessages.push({
|
|
205
|
-
type: "Error",
|
|
206
|
-
fieldDescription: "alertAudioFile",
|
|
207
|
-
message: "AlertAudioFile must be provided when alert is enabled and not using existing audio",
|
|
208
|
-
});
|
|
209
|
-
}
|
|
210
|
-
// Validate waitMusicFile when waitMusic is enabled
|
|
211
|
-
if (this._waitMusic && !this._useWaitExistingAudio && (!this._waitMusicFile || !this._waitMusicFile.trim())) {
|
|
212
|
-
this.validationMessages.push({
|
|
213
|
-
type: "Error",
|
|
214
|
-
fieldDescription: "waitMusicFile",
|
|
215
|
-
message: "WaitMusicFile must be provided when waitMusic is enabled and not using existing audio",
|
|
216
|
-
});
|
|
217
|
-
}
|
|
218
|
-
// Validate boolean fields
|
|
219
|
-
const booleanFields = [
|
|
220
|
-
{ field: "_autoAnswer", fieldDescription: "autoAnswer" },
|
|
221
|
-
{ field: "_autoComplete", fieldDescription: "autoComplete" },
|
|
222
|
-
{ field: "_autoCallTranscript", fieldDescription: "autoCallTranscript" },
|
|
223
|
-
{ field: "_autoCallRecording", fieldDescription: "autoCallRecording" },
|
|
224
|
-
{ field: "_autoCallScreenRecording", fieldDescription: "autoCallScreenRecording" },
|
|
225
|
-
{ field: "_alert", fieldDescription: "alert" },
|
|
226
|
-
{ field: "_waitMusic", fieldDescription: "waitMusic" },
|
|
227
|
-
];
|
|
228
|
-
booleanFields.forEach(({ field, fieldDescription }) => {
|
|
229
|
-
if (typeof this[field] !== "boolean") {
|
|
230
|
-
this.validationMessages.push({
|
|
231
|
-
type: "Error",
|
|
232
|
-
fieldDescription,
|
|
233
|
-
message: `${fieldDescription} must be a boolean value`,
|
|
234
|
-
});
|
|
235
|
-
}
|
|
236
|
-
});
|
|
237
|
-
return this.validationMessages;
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
exports.ChannelSettingModel = ChannelSettingModel;
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0}),exports.ChannelSettingModel=void 0;const e=require("../../abstract/BaseModel"),t=require("../../types/ChannelSetting.type");class i extends e.BaseModel{constructor(e,t,i,s,a,r,u,n,o,l,d,h,p,_,c,g,m,A,C,y){super(),this._id=e,this._name=t,this._channelType=i,this._queueSid=s,this._autoAnswer=a,this._autoAnswerTime=m,this._autoComplete=r,this._autoCompleteTime=C,this._autoCallTranscript=u,this._autoCallRecording=n,this._autoCallScreenRecording=o,this._alert=l,this._alertAudioFile=g,this._useAlertExistingAudio=A,this._waitMusic=d,this._waitMusicFile=c,this._useWaitExistingAudio=y,this._createdDate=p,this._updatedDate=_,this._createdBy=h,this.validateData()}get id(){return this._id}set id(e){this._id=e}get name(){return this._name}set name(e){this._name=e}get channelType(){return this._channelType}set channelType(e){this._channelType=e}get queueSid(){return this._queueSid}set queueSid(e){this._queueSid=e}get autoAnswer(){return this._autoAnswer}set autoAnswer(e){this._autoAnswer=e}get autoAnswerTime(){return this._autoAnswerTime}set autoAnswerTime(e){this._autoAnswerTime=e}get autoComplete(){return this._autoComplete}set autoComplete(e){this._autoComplete=e}get autoCompleteTime(){return this._autoCompleteTime}set autoCompleteTime(e){this._autoCompleteTime=e}get autoCallTranscript(){return this._autoCallTranscript}set autoCallTranscript(e){this._autoCallTranscript=e}get autoCallRecording(){return this._autoCallRecording}set autoCallRecording(e){this._autoCallRecording=e}get autoCallScreenRecording(){return this._autoCallScreenRecording}set autoCallScreenRecording(e){this._autoCallScreenRecording=e}get alert(){return this._alert}set alert(e){this._alert=e}get alertAudioFile(){return this._alertAudioFile}set alertAudioFile(e){this._alertAudioFile=e}get useAlertExistingAudio(){return this._useAlertExistingAudio}set useAlertExistingAudio(e){this._useAlertExistingAudio=e}get waitMusic(){return this._waitMusic}set waitMusic(e){this._waitMusic=e}get waitMusicFile(){return this._waitMusicFile}set waitMusicFile(e){this._waitMusicFile=e}get useWaitExistingAudio(){return this._useWaitExistingAudio}set useWaitExistingAudio(e){this._useWaitExistingAudio=e}get createdDate(){return this._createdDate}get createdBy(){return this._createdBy}get updatedDate(){return this._updatedDate}set updatedDate(e){this._updatedDate=e}get updatedBy(){return this._updatedBy}set updatedBy(e){this._updatedBy=e}validateData(){this.validationMessages=[],"string"==typeof this._name&&this._name.trim()||this.validationMessages.push({type:"Error",fieldDescription:"name",message:"Name must be a non-empty string"}),"string"==typeof this._createdBy&&this._name.trim()||this.validationMessages.push({type:"Error",fieldDescription:"createdBy",message:"createdBy must be a non-empty string"}),Object.values(t.ChannelTypeEnum).includes(this._channelType)||this.validationMessages.push({type:"Error",fieldDescription:"channelType",message:"ChannelType must be a valid enum value"}),"string"==typeof this._queueSid&&this._queueSid.trim()||this.validationMessages.push({type:"Error",fieldDescription:"queueSid",message:"QueueSid must be a non-empty string"}),void 0!==this._autoAnswerTime&&("number"!=typeof this._autoAnswerTime||this._autoAnswerTime<0)&&this.validationMessages.push({type:"Error",fieldDescription:"autoAnswerTime",message:"AutoAnswerTime must be a non-negative number"}),void 0!==this._autoCompleteTime&&("number"!=typeof this._autoCompleteTime||this._autoCompleteTime<0)&&this.validationMessages.push({type:"Error",fieldDescription:"autoCompleteTime",message:"AutoCompleteTime must be a non-negative number"}),!this._alert||this._useAlertExistingAudio||this._alertAudioFile&&this._alertAudioFile.trim()||this.validationMessages.push({type:"Error",fieldDescription:"alertAudioFile",message:"AlertAudioFile must be provided when alert is enabled and not using existing audio"}),!this._waitMusic||this._useWaitExistingAudio||this._waitMusicFile&&this._waitMusicFile.trim()||this.validationMessages.push({type:"Error",fieldDescription:"waitMusicFile",message:"WaitMusicFile must be provided when waitMusic is enabled and not using existing audio"});return[{field:"_autoAnswer",fieldDescription:"autoAnswer"},{field:"_autoComplete",fieldDescription:"autoComplete"},{field:"_autoCallTranscript",fieldDescription:"autoCallTranscript"},{field:"_autoCallRecording",fieldDescription:"autoCallRecording"},{field:"_autoCallScreenRecording",fieldDescription:"autoCallScreenRecording"},{field:"_alert",fieldDescription:"alert"},{field:"_waitMusic",fieldDescription:"waitMusic"}].forEach((({field:e,fieldDescription:t})=>{"boolean"!=typeof this[e]&&this.validationMessages.push({type:"Error",fieldDescription:t,message:`${t} must be a boolean value`})})),this.validationMessages}}exports.ChannelSettingModel=i;
|
|
2
|
+
//# sourceMappingURL=ChannelSettingModel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChannelSettingModel.js","sources":["../../../../../models/impl/channelsettings/ChannelSettingModel.ts"],"sourcesContent":[null],"names":["BaseModel_1","require","ChannelSetting_type_1","ChannelSettingModel","BaseModel","constructor","id","name","channelType","queueSid","autoAnswer","autoComplete","autoCallTranscript","autoCallRecording","autoCallScreenRecording","alert","waitMusic","createdBy","createdDate","updatedDate","waitMusicFile","alertAudioFile","autoAnswerTime","useAlertExistingAudio","autoCompleteTime","useWaitExistingAudio","super","this","_id","_name","_channelType","_queueSid","_autoAnswer","_autoAnswerTime","_autoComplete","_autoCompleteTime","_autoCallTranscript","_autoCallRecording","_autoCallScreenRecording","_alert","_alertAudioFile","_useAlertExistingAudio","_waitMusic","_waitMusicFile","_useWaitExistingAudio","_createdDate","_updatedDate","_createdBy","validateData","value","updatedBy","_updatedBy","validationMessages","trim","push","type","fieldDescription","message","Object","values","ChannelTypeEnum","includes","undefined","field","forEach","exports"],"mappings":"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"}
|
|
@@ -1,106 +1,2 @@
|
|
|
1
|
-
"
|
|
2
|
-
|
|
3
|
-
exports.ChannelSettingTaskInfoModel = void 0;
|
|
4
|
-
const BaseModel_1 = require("../../abstract/BaseModel");
|
|
5
|
-
const ChannelSetting_type_1 = require("../../types/ChannelSetting.type");
|
|
6
|
-
class ChannelSettingTaskInfoModel extends BaseModel_1.BaseModel {
|
|
7
|
-
constructor(id, channelId, name, channelType, taskInfoGroup, createdBy, createdDate) {
|
|
8
|
-
super();
|
|
9
|
-
this._id = id;
|
|
10
|
-
this._channelId = channelId;
|
|
11
|
-
this._name = name;
|
|
12
|
-
this._channelType = channelType;
|
|
13
|
-
this._taskInfoGroup = taskInfoGroup;
|
|
14
|
-
this._createdDate = createdDate;
|
|
15
|
-
this._createdBy = createdBy;
|
|
16
|
-
this.validateData();
|
|
17
|
-
}
|
|
18
|
-
// Getters and Setters
|
|
19
|
-
get id() {
|
|
20
|
-
return this._id;
|
|
21
|
-
}
|
|
22
|
-
get channelId() {
|
|
23
|
-
return this._channelId;
|
|
24
|
-
}
|
|
25
|
-
get name() {
|
|
26
|
-
return this._name;
|
|
27
|
-
}
|
|
28
|
-
set name(value) {
|
|
29
|
-
this._name = value;
|
|
30
|
-
}
|
|
31
|
-
get channelType() {
|
|
32
|
-
return this._channelType;
|
|
33
|
-
}
|
|
34
|
-
set channelType(value) {
|
|
35
|
-
this._channelType = value;
|
|
36
|
-
}
|
|
37
|
-
get taskInfoGroup() {
|
|
38
|
-
return this._taskInfoGroup;
|
|
39
|
-
}
|
|
40
|
-
set taskInfoGroup(value) {
|
|
41
|
-
this._taskInfoGroup = value;
|
|
42
|
-
}
|
|
43
|
-
get createdDate() {
|
|
44
|
-
return this._createdDate;
|
|
45
|
-
}
|
|
46
|
-
get createdBy() {
|
|
47
|
-
return this._createdBy;
|
|
48
|
-
}
|
|
49
|
-
get updatedDate() {
|
|
50
|
-
return this._updatedDate;
|
|
51
|
-
}
|
|
52
|
-
set updatedDate(value) {
|
|
53
|
-
this._updatedDate = value;
|
|
54
|
-
}
|
|
55
|
-
get updatedBy() {
|
|
56
|
-
return this._updatedBy;
|
|
57
|
-
}
|
|
58
|
-
set updatedBy(value) {
|
|
59
|
-
this._updatedBy = value;
|
|
60
|
-
}
|
|
61
|
-
// Validation Method
|
|
62
|
-
validateData() {
|
|
63
|
-
const validationMessages = [];
|
|
64
|
-
// Validate name
|
|
65
|
-
if (typeof this._name !== "string" || !this._name.trim()) {
|
|
66
|
-
validationMessages.push({
|
|
67
|
-
type: "Error",
|
|
68
|
-
fieldDescription: "name",
|
|
69
|
-
message: "Name must be a non-empty string.",
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
if (typeof this._createdBy !== "string" || !this._name.trim()) {
|
|
73
|
-
this.validationMessages.push({
|
|
74
|
-
type: "Error",
|
|
75
|
-
fieldDescription: "createdBy",
|
|
76
|
-
message: "createdBy must be a non-empty string",
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
// Validate channelType
|
|
80
|
-
if (!Object.values(ChannelSetting_type_1.ChannelTypeEnum).includes(this._channelType)) {
|
|
81
|
-
validationMessages.push({
|
|
82
|
-
type: "Error",
|
|
83
|
-
fieldDescription: "channelType",
|
|
84
|
-
message: `Channel type must be a valid value from ChannelTypeEnum.`,
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
// Validate taskInfoGroup
|
|
88
|
-
if (!Array.isArray(this._taskInfoGroup) || this._taskInfoGroup.length === 0) {
|
|
89
|
-
validationMessages.push({
|
|
90
|
-
type: "Error",
|
|
91
|
-
fieldDescription: "taskInfoGroup",
|
|
92
|
-
message: "TaskInfoGroup must be a non-empty array.",
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
else {
|
|
96
|
-
this._taskInfoGroup.forEach((taskInfo, index) => {
|
|
97
|
-
const taskInfoValidationMessages = taskInfo.validateData();
|
|
98
|
-
taskInfoValidationMessages.forEach((message) => {
|
|
99
|
-
validationMessages.push(Object.assign(Object.assign({}, message), { fieldDescription: `taskInfoGroup[${index}].${message.fieldDescription}` }));
|
|
100
|
-
});
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
return validationMessages;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
exports.ChannelSettingTaskInfoModel = ChannelSettingTaskInfoModel;
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0}),exports.ChannelSettingTaskInfoModel=void 0;const e=require("../../abstract/BaseModel"),t=require("../../types/ChannelSetting.type");class a extends e.BaseModel{constructor(e,t,a,s,n,r,i){super(),this._id=e,this._channelId=t,this._name=a,this._channelType=s,this._taskInfoGroup=n,this._createdDate=i,this._createdBy=r,this.validateData()}get id(){return this._id}get channelId(){return this._channelId}get name(){return this._name}set name(e){this._name=e}get channelType(){return this._channelType}set channelType(e){this._channelType=e}get taskInfoGroup(){return this._taskInfoGroup}set taskInfoGroup(e){this._taskInfoGroup=e}get createdDate(){return this._createdDate}get createdBy(){return this._createdBy}get updatedDate(){return this._updatedDate}set updatedDate(e){this._updatedDate=e}get updatedBy(){return this._updatedBy}set updatedBy(e){this._updatedBy=e}validateData(){const e=[];return"string"==typeof this._name&&this._name.trim()||e.push({type:"Error",fieldDescription:"name",message:"Name must be a non-empty string."}),"string"==typeof this._createdBy&&this._name.trim()||this.validationMessages.push({type:"Error",fieldDescription:"createdBy",message:"createdBy must be a non-empty string"}),Object.values(t.ChannelTypeEnum).includes(this._channelType)||e.push({type:"Error",fieldDescription:"channelType",message:"Channel type must be a valid value from ChannelTypeEnum."}),Array.isArray(this._taskInfoGroup)&&0!==this._taskInfoGroup.length?this._taskInfoGroup.forEach(((t,a)=>{t.validateData().forEach((t=>{e.push(Object.assign(Object.assign({},t),{fieldDescription:`taskInfoGroup[${a}].${t.fieldDescription}`}))}))})):e.push({type:"Error",fieldDescription:"taskInfoGroup",message:"TaskInfoGroup must be a non-empty array."}),e}}exports.ChannelSettingTaskInfoModel=a;
|
|
2
|
+
//# sourceMappingURL=ChannelSettingTaskInfoModel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChannelSettingTaskInfoModel.js","sources":["../../../../../models/impl/channelsettings/ChannelSettingTaskInfoModel.ts"],"sourcesContent":[null],"names":["BaseModel_1","require","ChannelSetting_type_1","ChannelSettingTaskInfoModel","BaseModel","constructor","id","channelId","name","channelType","taskInfoGroup","createdBy","createdDate","super","this","_id","_channelId","_name","_channelType","_taskInfoGroup","_createdDate","_createdBy","validateData","value","updatedDate","_updatedDate","updatedBy","_updatedBy","validationMessages","trim","push","type","fieldDescription","message","Object","values","ChannelTypeEnum","includes","Array","isArray","length","forEach","taskInfo","index","assign","exports"],"mappings":"kGACA,MAAqDA,EAAAC,QAAA,4BACaC,EAAAD,QAAA,mCAGlE,MAAaE,UAAoCH,EAASI,UAWtD,WAAAC,CAAYC,EAAYC,EAAmBC,EACvCC,EAA8BC,EAC9BC,EACAC,GAEAC,QACAC,KAAKC,IAAMT,EACXQ,KAAKE,WAAaT,EAClBO,KAAKG,MAAQT,EACbM,KAAKI,aAAeT,EACpBK,KAAKK,eAAiBT,EACtBI,KAAKM,aAAeR,EACpBE,KAAKO,WAAaV,EAClBG,KAAKQ,cACR,CAGD,MAAWhB,GACP,OAAOQ,KAAKC,GACf,CAED,aAAWR,GACP,OAAOO,KAAKE,UACf,CAED,QAAWR,GACP,OAAOM,KAAKG,KACf,CACD,QAAWT,CAAKe,GACZT,KAAKG,MAAQM,CAChB,CAED,eAAWd,GACP,OAAOK,KAAKI,YACf,CACD,eAAWT,CAAYc,GACnBT,KAAKI,aAAeK,CACvB,CAED,iBAAWb,GACP,OAAOI,KAAKK,cACf,CACD,iBAAWT,CAAca,GACrBT,KAAKK,eAAiBI,CACzB,CAGD,eAAWX,GACP,OAAOE,KAAKM,YACf,CAED,aAAWT,GACP,OAAOG,KAAKO,UACf,CAED,eAAWG,GACP,OAAOV,KAAKW,YACf,CACD,eAAWD,CAAYD,GACnBT,KAAKW,aAAeF,CACvB,CAED,aAAWG,GACP,OAAOZ,KAAKa,UACf,CACD,aAAWD,CAAUH,GACjBT,KAAKa,WAAaJ,CACrB,CAGD,YAAAD,GACI,MAAMM,EAA0C,GA+ChD,MA5C0B,iBAAfd,KAAKG,OAAuBH,KAAKG,MAAMY,QAC9CD,EAAmBE,KAAK,CACpBC,KAAM,QACNC,iBAAkB,OAClBC,QAAS,qCAIc,iBAApBnB,KAAKO,YAA4BP,KAAKG,MAAMY,QACnDf,KAAKc,mBAAmBE,KAAK,CACzBC,KAAM,QACNC,iBAAkB,YAClBC,QAAS,yCAKZC,OAAOC,OAAOjC,EAAekC,iBAAEC,SAASvB,KAAKI,eAC9CU,EAAmBE,KAAK,CACpBC,KAAM,QACNC,iBAAkB,cAClBC,QAAS,6DAKZK,MAAMC,QAAQzB,KAAKK,iBAAkD,IAA/BL,KAAKK,eAAeqB,OAO3D1B,KAAKK,eAAesB,SAAQ,CAACC,EAAUC,KACAD,EAASpB,eACjBmB,SAASR,IAChCL,EAAmBE,KACZI,OAAAU,OAAAV,OAAAU,OAAA,CAAA,EAAAX,IACHD,iBAAkB,iBAAiBW,MAAUV,EAAQD,qBACvD,GACJ,IAbNJ,EAAmBE,KAAK,CACpBC,KAAM,QACNC,iBAAkB,gBAClBC,QAAS,6CAcVL,CACV,EAlILiB,QAmIC1C,4BAAAA"}
|
|
@@ -1,80 +1,2 @@
|
|
|
1
|
-
"
|
|
2
|
-
|
|
3
|
-
exports.TaskInfoAttributeModel = exports.TaskAttributeType = void 0;
|
|
4
|
-
const BaseModel_1 = require("../../abstract/BaseModel");
|
|
5
|
-
var TaskAttributeType;
|
|
6
|
-
(function (TaskAttributeType) {
|
|
7
|
-
TaskAttributeType["readOnly"] = "Read Only";
|
|
8
|
-
TaskAttributeType["input"] = "Input";
|
|
9
|
-
TaskAttributeType["dropDown"] = "Drop Down";
|
|
10
|
-
TaskAttributeType["warningMessage"] = "Warning Message";
|
|
11
|
-
TaskAttributeType["verificationStatus"] = "Verification Status";
|
|
12
|
-
})(TaskAttributeType || (exports.TaskAttributeType = TaskAttributeType = {}));
|
|
13
|
-
class TaskInfoAttributeModel extends BaseModel_1.BaseModel {
|
|
14
|
-
constructor(attributeName, label, objectPath, type) {
|
|
15
|
-
super();
|
|
16
|
-
this._attributeName = attributeName;
|
|
17
|
-
this._label = label;
|
|
18
|
-
this._objectPath = objectPath;
|
|
19
|
-
this._type = type;
|
|
20
|
-
}
|
|
21
|
-
// Getters and Setters
|
|
22
|
-
get attributeName() {
|
|
23
|
-
return this._attributeName;
|
|
24
|
-
}
|
|
25
|
-
set attributeName(value) {
|
|
26
|
-
this._attributeName = value;
|
|
27
|
-
}
|
|
28
|
-
get label() {
|
|
29
|
-
return this._label;
|
|
30
|
-
}
|
|
31
|
-
set label(value) {
|
|
32
|
-
this._label = value;
|
|
33
|
-
}
|
|
34
|
-
get objectPath() {
|
|
35
|
-
return this._objectPath;
|
|
36
|
-
}
|
|
37
|
-
set objectPath(value) {
|
|
38
|
-
this._objectPath = value;
|
|
39
|
-
}
|
|
40
|
-
get type() {
|
|
41
|
-
return this._type;
|
|
42
|
-
}
|
|
43
|
-
set type(value) {
|
|
44
|
-
this._type = value;
|
|
45
|
-
}
|
|
46
|
-
// Validation Method
|
|
47
|
-
validateData() {
|
|
48
|
-
const validationMessages = [];
|
|
49
|
-
if (typeof this._attributeName !== "string" || !this._attributeName.trim()) {
|
|
50
|
-
validationMessages.push({
|
|
51
|
-
type: "Error",
|
|
52
|
-
fieldDescription: "attributeName",
|
|
53
|
-
message: "Attribute name must be a non-empty string.",
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
if (typeof this._label !== "string" || !this._label.trim()) {
|
|
57
|
-
validationMessages.push({
|
|
58
|
-
type: "Error",
|
|
59
|
-
fieldDescription: "label",
|
|
60
|
-
message: "Label must be a non-empty string.",
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
if (typeof this._objectPath !== "string" || !this._objectPath.trim()) {
|
|
64
|
-
validationMessages.push({
|
|
65
|
-
type: "Error",
|
|
66
|
-
fieldDescription: "objectPath",
|
|
67
|
-
message: "Object path must be a non-empty string.",
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
if (!Object.values(TaskAttributeType).includes(this._type)) {
|
|
71
|
-
validationMessages.push({
|
|
72
|
-
type: "Error",
|
|
73
|
-
fieldDescription: "type",
|
|
74
|
-
message: "Type must be a valid TaskAttributeType.",
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
return validationMessages;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
exports.TaskInfoAttributeModel = TaskInfoAttributeModel;
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0}),exports.TaskInfoAttributeModel=exports.TaskAttributeType=void 0;const t=require("../../abstract/BaseModel");var e;!function(t){t.readOnly="Read Only",t.input="Input",t.dropDown="Drop Down",t.warningMessage="Warning Message",t.verificationStatus="Verification Status"}(e||(exports.TaskAttributeType=e={}));class s extends t.BaseModel{constructor(t,e,s,a){super(),this._attributeName=t,this._label=e,this._objectPath=s,this._type=a}get attributeName(){return this._attributeName}set attributeName(t){this._attributeName=t}get label(){return this._label}set label(t){this._label=t}get objectPath(){return this._objectPath}set objectPath(t){this._objectPath=t}get type(){return this._type}set type(t){this._type=t}validateData(){const t=[];return"string"==typeof this._attributeName&&this._attributeName.trim()||t.push({type:"Error",fieldDescription:"attributeName",message:"Attribute name must be a non-empty string."}),"string"==typeof this._label&&this._label.trim()||t.push({type:"Error",fieldDescription:"label",message:"Label must be a non-empty string."}),"string"==typeof this._objectPath&&this._objectPath.trim()||t.push({type:"Error",fieldDescription:"objectPath",message:"Object path must be a non-empty string."}),Object.values(e).includes(this._type)||t.push({type:"Error",fieldDescription:"type",message:"Type must be a valid TaskAttributeType."}),t}}exports.TaskInfoAttributeModel=s;
|
|
2
|
+
//# sourceMappingURL=TaskInfoAttributeModel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TaskInfoAttributeModel.js","sources":["../../../../../models/impl/channelsettings/TaskInfoAttributeModel.ts"],"sourcesContent":[null],"names":["BaseModel_1","require","TaskAttributeType","exports","TaskInfoAttributeModel","BaseModel","constructor","attributeName","label","objectPath","type","super","this","_attributeName","_label","_objectPath","_type","value","validateData","validationMessages","trim","push","fieldDescription","message","Object","values","includes"],"mappings":"uHACA,MAAqDA,EAAAC,QAAA,4BAGrD,IAAYC,GAAZ,SAAYA,GACRA,EAAA,SAAA,YACAA,EAAA,MAAA,QACAA,EAAA,SAAA,YACAA,EAAA,eAAA,kBACAA,EAAA,mBAAA,qBACH,CAND,CAAYA,IAAAC,QAAAD,kBAAAA,EAMX,CAAA,IAED,MAAaE,UAA+BJ,EAASK,UAMjD,WAAAC,CAAYC,EAAuBC,EAAeC,EAAoBC,GAClEC,QACAC,KAAKC,eAAiBN,EACtBK,KAAKE,OAASN,EACdI,KAAKG,YAAcN,EACnBG,KAAKI,MAAQN,CAChB,CAGD,iBAAWH,GACP,OAAOK,KAAKC,cACf,CACD,iBAAWN,CAAcU,GACrBL,KAAKC,eAAiBI,CACzB,CAED,SAAWT,GACP,OAAOI,KAAKE,MACf,CACD,SAAWN,CAAMS,GACbL,KAAKE,OAASG,CACjB,CAED,cAAWR,GACP,OAAOG,KAAKG,WACf,CACD,cAAWN,CAAWQ,GAClBL,KAAKG,YAAcE,CACtB,CAED,QAAWP,GACP,OAAOE,KAAKI,KACf,CACD,QAAWN,CAAKO,GACZL,KAAKI,MAAQC,CAChB,CAGD,YAAAC,GACI,MAAMC,EAA0C,GAkChD,MAhCmC,iBAAxBP,KAAKC,gBAAgCD,KAAKC,eAAeO,QAChED,EAAmBE,KAAK,CACpBX,KAAM,QACNY,iBAAkB,gBAClBC,QAAS,+CAIU,iBAAhBX,KAAKE,QAAwBF,KAAKE,OAAOM,QAChDD,EAAmBE,KAAK,CACpBX,KAAM,QACNY,iBAAkB,QAClBC,QAAS,sCAIe,iBAArBX,KAAKG,aAA6BH,KAAKG,YAAYK,QAC1DD,EAAmBE,KAAK,CACpBX,KAAM,QACNY,iBAAkB,aAClBC,QAAS,4CAIZC,OAAOC,OAAOvB,GAAmBwB,SAASd,KAAKI,QAChDG,EAAmBE,KAAK,CACpBX,KAAM,QACNY,iBAAkB,OAClBC,QAAS,4CAIVJ,CACV,EAhFLhB,QAiFCC,uBAAAA"}
|
|
@@ -1,52 +1,2 @@
|
|
|
1
|
-
"
|
|
2
|
-
|
|
3
|
-
exports.TaskInfoModel = void 0;
|
|
4
|
-
const BaseModel_1 = require("../../abstract/BaseModel");
|
|
5
|
-
class TaskInfoModel extends BaseModel_1.BaseModel {
|
|
6
|
-
constructor(name, attributes) {
|
|
7
|
-
super();
|
|
8
|
-
this._name = name;
|
|
9
|
-
this._attributes = attributes;
|
|
10
|
-
}
|
|
11
|
-
// Getters and Setters
|
|
12
|
-
get name() {
|
|
13
|
-
return this._name;
|
|
14
|
-
}
|
|
15
|
-
set name(value) {
|
|
16
|
-
this._name = value;
|
|
17
|
-
}
|
|
18
|
-
get attributes() {
|
|
19
|
-
return this._attributes;
|
|
20
|
-
}
|
|
21
|
-
set attributes(value) {
|
|
22
|
-
this._attributes = value;
|
|
23
|
-
}
|
|
24
|
-
// Validation Method
|
|
25
|
-
validateData() {
|
|
26
|
-
const validationMessages = [];
|
|
27
|
-
if (typeof this._name !== "string" || !this._name.trim()) {
|
|
28
|
-
validationMessages.push({
|
|
29
|
-
type: "Error",
|
|
30
|
-
fieldDescription: "name",
|
|
31
|
-
message: "Name must be a non-empty string.",
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
if (!Array.isArray(this._attributes) || this._attributes.length === 0) {
|
|
35
|
-
validationMessages.push({
|
|
36
|
-
type: "Error",
|
|
37
|
-
fieldDescription: "attributes",
|
|
38
|
-
message: "Attributes must be a non-empty array.",
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
else {
|
|
42
|
-
this._attributes.forEach((attribute, index) => {
|
|
43
|
-
const attrValidationMessages = attribute.validateData();
|
|
44
|
-
attrValidationMessages.forEach((message) => {
|
|
45
|
-
validationMessages.push(Object.assign(Object.assign({}, message), { fieldDescription: `attributes[${index}].${message.fieldDescription}` }));
|
|
46
|
-
});
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
return validationMessages;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
exports.TaskInfoModel = TaskInfoModel;
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0}),exports.TaskInfoModel=void 0;const t=require("../../abstract/BaseModel");class e extends t.BaseModel{constructor(t,e){super(),this._name=t,this._attributes=e}get name(){return this._name}set name(t){this._name=t}get attributes(){return this._attributes}set attributes(t){this._attributes=t}validateData(){const t=[];return"string"==typeof this._name&&this._name.trim()||t.push({type:"Error",fieldDescription:"name",message:"Name must be a non-empty string."}),Array.isArray(this._attributes)&&0!==this._attributes.length?this._attributes.forEach(((e,s)=>{e.validateData().forEach((e=>{t.push(Object.assign(Object.assign({},e),{fieldDescription:`attributes[${s}].${e.fieldDescription}`}))}))})):t.push({type:"Error",fieldDescription:"attributes",message:"Attributes must be a non-empty array."}),t}}exports.TaskInfoModel=e;
|
|
2
|
+
//# sourceMappingURL=TaskInfoModel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TaskInfoModel.js","sources":["../../../../../models/impl/channelsettings/TaskInfoModel.ts"],"sourcesContent":[null],"names":["BaseModel_1","require","TaskInfoModel","BaseModel","constructor","name","attributes","super","this","_name","_attributes","value","validateData","validationMessages","trim","push","type","fieldDescription","message","Array","isArray","length","forEach","attribute","index","Object","assign","exports"],"mappings":"oFAAA,MAAqDA,EAAAC,QAAA,4BAIrD,MAAaC,UAAsBF,EAASG,UAIxC,WAAAC,CAAYC,EAAcC,GACtBC,QACAC,KAAKC,MAAQJ,EACbG,KAAKE,YAAcJ,CACtB,CAGD,QAAWD,GACP,OAAOG,KAAKC,KACf,CACD,QAAWJ,CAAKM,GACZH,KAAKC,MAAQE,CAChB,CAED,cAAWL,GACP,OAAOE,KAAKE,WACf,CACD,cAAWJ,CAAWK,GAClBH,KAAKE,YAAcC,CACtB,CAGD,YAAAC,GACI,MAAMC,EAA0C,GA4BhD,MA1B0B,iBAAfL,KAAKC,OAAuBD,KAAKC,MAAMK,QAC9CD,EAAmBE,KAAK,CACpBC,KAAM,QACNC,iBAAkB,OAClBC,QAAS,qCAIZC,MAAMC,QAAQZ,KAAKE,cAA4C,IAA5BF,KAAKE,YAAYW,OAOrDb,KAAKE,YAAYY,SAAQ,CAACC,EAAWC,KACFD,EAAUX,eAClBU,SAASJ,IAC5BL,EAAmBE,KACZU,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EAAAR,IACHD,iBAAkB,cAAcO,MAAUN,EAAQD,qBACpD,GACJ,IAbNJ,EAAmBE,KAAK,CACpBC,KAAM,QACNC,iBAAkB,aAClBC,QAAS,0CAcVL,CACV,EAxDLc,QAyDCzB,cAAAA"}
|