hgs-twilio-class-lib 1.1.70 → 1.1.72
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/README.md +5 -5
- package/package.json +56 -56
- package/lib/aws/abstract/ServiceObjectStore.d.ts +0 -9
- package/lib/aws/abstract/ServiceObjectStore.js +0 -10
- package/lib/aws/abstract/ServiceOpenRequest.d.ts +0 -7
- package/lib/aws/abstract/ServiceOpenRequest.js +0 -10
- package/lib/aws/abstract/ServiceRequest.d.ts +0 -3
- package/lib/aws/abstract/ServiceRequest.js +0 -7
- package/lib/aws/abstract/ServiceResource.d.ts +0 -20
- package/lib/aws/abstract/ServiceResource.js +0 -31
- package/lib/aws/abstract/ServiceResourceFactory.d.ts +0 -13
- package/lib/aws/abstract/ServiceResourceFactory.js +0 -14
- package/lib/aws/abstract/ServiceTransaction.d.ts +0 -6
- package/lib/aws/abstract/ServiceTransaction.js +0 -11
- package/lib/aws/impl/AWSAPIConfig.d.ts +0 -14
- package/lib/aws/impl/AWSAPIConfig.js +0 -38
- package/lib/aws/impl/AWSClient.d.ts +0 -5
- package/lib/aws/impl/AWSClient.js +0 -21
- package/lib/aws/impl/AWSConnectAPIConfig.d.ts +0 -17
- package/lib/aws/impl/AWSConnectAPIConfig.js +0 -38
- package/lib/aws/impl/DynamoDB/DynamoOpenRequest.d.ts +0 -18
- package/lib/aws/impl/DynamoDB/DynamoOpenRequest.js +0 -24
- package/lib/aws/impl/DynamoDB/DynamoRequest.d.ts +0 -16
- package/lib/aws/impl/DynamoDB/DynamoRequest.js +0 -21
- package/lib/aws/impl/DynamoDB/DynamoResourse.d.ts +0 -29
- package/lib/aws/impl/DynamoDB/DynamoResourse.js +0 -45
- package/lib/aws/impl/DynamoDB/DynamoServiceFactory.d.ts +0 -16
- package/lib/aws/impl/DynamoDB/DynamoServiceFactory.js +0 -63
- package/lib/aws/impl/DynamoDB/DynamoTable.d.ts +0 -26
- package/lib/aws/impl/DynamoDB/DynamoTable.js +0 -126
- package/lib/aws/impl/DynamoDB/DynamoTransaction.d.ts +0 -21
- package/lib/aws/impl/DynamoDB/DynamoTransaction.js +0 -37
- package/lib/aws/impl/HoopServices/HoopService.d.ts +0 -28
- package/lib/aws/impl/HoopServices/HoopService.js +0 -124
- package/lib/aws/impl/HoopServices/HoopServiceFactory.d.ts +0 -17
- package/lib/aws/impl/HoopServices/HoopServiceFactory.js +0 -53
- package/lib/aws/impl/HoopServices/HoopServiceOpenRequest.d.ts +0 -18
- package/lib/aws/impl/HoopServices/HoopServiceOpenRequest.js +0 -24
- package/lib/aws/impl/HoopServices/HoopServiceResource.d.ts +0 -29
- package/lib/aws/impl/HoopServices/HoopServiceResource.js +0 -46
- package/lib/aws/impl/HoopServices/HoopServiceTransaction.d.ts +0 -22
- package/lib/aws/impl/HoopServices/HoopServiceTransaction.js +0 -37
- package/lib/aws/interface/IDirection.d.ts +0 -2
- package/lib/aws/interface/IDirection.js +0 -2
- package/lib/aws/interface/ILink.d.ts +0 -2
- package/lib/aws/interface/ILink.js +0 -2
- package/lib/aws/interface/IServiceDBOpenRequest.d.ts +0 -3
- package/lib/aws/interface/IServiceDBOpenRequest.js +0 -2
- package/lib/aws/interface/IServiceObjectStore.d.ts +0 -3
- package/lib/aws/interface/IServiceObjectStore.js +0 -2
- package/lib/aws/interface/IServiceObjectStoreParameters.d.ts +0 -4
- package/lib/aws/interface/IServiceObjectStoreParameters.js +0 -2
- package/lib/aws/interface/IServiceRequest.d.ts +0 -3
- package/lib/aws/interface/IServiceRequest.js +0 -2
- package/lib/aws/interface/IServiceResource.d.ts +0 -7
- package/lib/aws/interface/IServiceResource.js +0 -2
- package/lib/aws/interface/IServiceTransation.d.ts +0 -3
- package/lib/aws/interface/IServiceTransation.js +0 -2
- package/lib/aws/interface/ISubResourceUri.d.ts +0 -2
- package/lib/aws/interface/ISubResourceUri.js +0 -2
- package/lib/aws/interface/ISyncItemData.d.ts +0 -0
- package/lib/aws/interface/ISyncItemData.js +0 -1
- package/lib/aws/interface/ISyncObjectStoreParameters.d.ts +0 -0
- package/lib/aws/interface/ISyncObjectStoreParameters.js +0 -1
- package/lib/aws/interface/ISyncTransactionOptions.d.ts +0 -4
- package/lib/aws/interface/ISyncTransactionOptions.js +0 -2
- package/lib/common/abstract/CommonError.d.ts +0 -8
- package/lib/common/abstract/CommonError.js +0 -12
- package/lib/common/abstract/Database.d.ts +0 -44
- package/lib/common/abstract/Database.js +0 -58
- package/lib/common/abstract/DatabaseClient.d.ts +0 -11
- package/lib/common/abstract/DatabaseClient.js +0 -21
- package/lib/common/abstract/DatabaseClientConfig.d.ts +0 -5
- package/lib/common/abstract/DatabaseClientConfig.js +0 -9
- package/lib/common/abstract/DatabaseFactory.d.ts +0 -70
- package/lib/common/abstract/DatabaseFactory.js +0 -32
- package/lib/common/abstract/DatabaseObjectStore.d.ts +0 -29
- package/lib/common/abstract/DatabaseObjectStore.js +0 -13
- package/lib/common/abstract/DatabaseOpenRequest.d.ts +0 -24
- package/lib/common/abstract/DatabaseOpenRequest.js +0 -13
- package/lib/common/abstract/DatabaseRequest.d.ts +0 -21
- package/lib/common/abstract/DatabaseRequest.js +0 -14
- package/lib/common/abstract/DatabaseTransaction.d.ts +0 -22
- package/lib/common/abstract/DatabaseTransaction.js +0 -13
- package/lib/common/abstract/Filter.d.ts +0 -12
- package/lib/common/abstract/Filter.js +0 -30
- package/lib/common/enum/ErrorTypes.d.ts +0 -4
- package/lib/common/enum/ErrorTypes.js +0 -9
- package/lib/common/enum/FilterTypes.d.ts +0 -10
- package/lib/common/enum/FilterTypes.js +0 -14
- package/lib/common/interface/IDatabaesInfo.d.ts +0 -2
- package/lib/common/interface/IDatabaesInfo.js +0 -2
- package/lib/common/interface/IDatabase.d.ts +0 -4
- package/lib/common/interface/IDatabase.js +0 -2
- package/lib/common/interface/IDatabaseClient.d.ts +0 -5
- package/lib/common/interface/IDatabaseClient.js +0 -2
- package/lib/common/interface/IDatabaseConfig.d.ts +0 -8
- package/lib/common/interface/IDatabaseConfig.js +0 -10
- package/lib/common/interface/IDatabaseDBOpenRequest.d.ts +0 -2
- package/lib/common/interface/IDatabaseDBOpenRequest.js +0 -2
- package/lib/common/interface/IDatabaseFactory.d.ts +0 -21
- package/lib/common/interface/IDatabaseFactory.js +0 -2
- package/lib/common/interface/IDatabaseObjectStore.d.ts +0 -2
- package/lib/common/interface/IDatabaseObjectStore.js +0 -2
- package/lib/common/interface/IDatabaseObjectStoreParameters.d.ts +0 -2
- package/lib/common/interface/IDatabaseObjectStoreParameters.js +0 -2
- package/lib/common/interface/IDatabaseRecord.d.ts +0 -2
- package/lib/common/interface/IDatabaseRecord.js +0 -2
- package/lib/common/interface/IDatabaseRequest.d.ts +0 -2
- package/lib/common/interface/IDatabaseRequest.js +0 -2
- package/lib/common/interface/IDatabaseTransaction.d.ts +0 -2
- package/lib/common/interface/IDatabaseTransaction.js +0 -2
- package/lib/common/interface/IDatabaseTransactionOptions.d.ts +0 -2
- package/lib/common/interface/IDatabaseTransactionOptions.js +0 -2
- package/lib/common/interface/IError.d.ts +0 -5
- package/lib/common/interface/IError.js +0 -2
- package/lib/common/interface/IErrorDetails.d.ts +0 -6
- package/lib/common/interface/IErrorDetails.js +0 -2
- package/lib/common/interface/IFilter.d.ts +0 -25
- package/lib/common/interface/IFilter.js +0 -2
- package/lib/common/type/DatabaseReadyType.d.ts +0 -1
- package/lib/common/type/DatabaseReadyType.js +0 -2
- package/lib/common/type/FilterInputType.d.ts +0 -1
- package/lib/common/type/FilterInputType.js +0 -2
- package/lib/common/type/SearchParameterType.d.ts +0 -15
- package/lib/common/type/SearchParameterType.js +0 -3
- package/lib/common/utils/dateFormat.d.ts +0 -1
- package/lib/common/utils/dateFormat.js +0 -58
- package/lib/common/utils/filter.d.ts +0 -1
- package/lib/common/utils/filter.js +0 -99
- package/lib/common/utils/newFilter.d.ts +0 -1
- package/lib/common/utils/newFilter.js +0 -126
- package/lib/common/utils/pagination.d.ts +0 -1
- package/lib/common/utils/pagination.js +0 -9
- package/lib/common/utils/search.d.ts +0 -1
- package/lib/common/utils/search.js +0 -14
- package/lib/common/utils/sort.d.ts +0 -1
- package/lib/common/utils/sort.js +0 -29
- package/lib/config/AWSConfig.d.ts +0 -6
- package/lib/config/AWSConfig.js +0 -9
- package/lib/config/DatabaseConfig.d.ts +0 -33
- package/lib/config/DatabaseConfig.js +0 -36
- package/lib/config/TwilioConfig.d.ts +0 -4
- package/lib/config/TwilioConfig.js +0 -7
- package/lib/controller/Common.d.ts +0 -20
- package/lib/controller/Common.js +0 -57
- package/lib/controller/DatabaseFactoryCollection.d.ts +0 -6
- package/lib/controller/DatabaseFactoryCollection.js +0 -14
- package/lib/controller/MainController.d.ts +0 -6
- package/lib/controller/MainController.js +0 -174
- package/lib/controller/aws/HoopBuisnessHours.d.ts +0 -23
- package/lib/controller/aws/HoopBuisnessHours.js +0 -408
- package/lib/controller/aws/HoopOperationsController.d.ts +0 -9
- package/lib/controller/aws/HoopOperationsController.js +0 -86
- package/lib/controller/aws/HoopOverrideBranchesController.d.ts +0 -7
- package/lib/controller/aws/HoopOverrideBranchesController.js +0 -40
- package/lib/controller/aws/HoopProfilesListController.d.ts +0 -8
- package/lib/controller/aws/HoopProfilesListController.js +0 -61
- package/lib/controller/aws/PlaybackScreenrecordings.d.ts +0 -9
- package/lib/controller/aws/PlaybackScreenrecordings.js +0 -63
- package/lib/controller/twilio/AgentActionsController.d.ts +0 -54
- package/lib/controller/twilio/AgentActionsController.js +0 -177
- package/lib/controller/twilio/AgentScorecardController.d.ts +0 -53
- package/lib/controller/twilio/AgentScorecardController.js +0 -173
- package/lib/controller/twilio/AuditLogController.d.ts +0 -15
- package/lib/controller/twilio/AuditLogController.js +0 -137
- package/lib/controller/twilio/CallLogsController.d.ts +0 -12
- package/lib/controller/twilio/CallLogsController.js +0 -131
- package/lib/controller/twilio/CallbackAndVoicemailController.d.ts +0 -12
- package/lib/controller/twilio/CallbackAndVoicemailController.js +0 -114
- package/lib/controller/twilio/ChannelSettingTaskInfoController.d.ts +0 -11
- package/lib/controller/twilio/ChannelSettingTaskInfoController.js +0 -117
- package/lib/controller/twilio/ChannelSettingsController.d.ts +0 -16
- package/lib/controller/twilio/ChannelSettingsController.js +0 -142
- package/lib/controller/twilio/CxConfigAssetController.d.ts +0 -12
- package/lib/controller/twilio/CxConfigAssetController.js +0 -128
- package/lib/controller/twilio/CxConfigController.d.ts +0 -18
- package/lib/controller/twilio/CxConfigController.js +0 -112
- package/lib/controller/twilio/CxConfigExternalNumbersController.d.ts +0 -12
- package/lib/controller/twilio/CxConfigExternalNumbersController.js +0 -138
- package/lib/controller/twilio/CxConfigOther.d.ts +0 -16
- package/lib/controller/twilio/CxConfigOther.js +0 -128
- package/lib/controller/twilio/CxConfigQueueMenuController.d.ts +0 -12
- package/lib/controller/twilio/CxConfigQueueMenuController.js +0 -129
- package/lib/controller/twilio/CxConfigUIconfigController.d.ts +0 -12
- package/lib/controller/twilio/CxConfigUIconfigController.js +0 -132
- package/lib/controller/twilio/GPMController.d.ts +0 -12
- package/lib/controller/twilio/GPMController.js +0 -151
- package/lib/controller/twilio/HoopBusinessHoursController.d.ts +0 -18
- package/lib/controller/twilio/HoopBusinessHoursController.js +0 -285
- package/lib/controller/twilio/HoopHolidaysController.d.ts +0 -14
- package/lib/controller/twilio/HoopHolidaysController.js +0 -152
- package/lib/controller/twilio/HoopMainController.d.ts +0 -13
- package/lib/controller/twilio/HoopMainController.js +0 -297
- package/lib/controller/twilio/HoopNotesController.d.ts +0 -14
- package/lib/controller/twilio/HoopNotesController.js +0 -149
- package/lib/controller/twilio/HoopOperationsController.d.ts +0 -14
- package/lib/controller/twilio/HoopOperationsController.js +0 -138
- package/lib/controller/twilio/HoopOverrideBranchesController.d.ts +0 -14
- package/lib/controller/twilio/HoopOverrideBranchesController.js +0 -137
- package/lib/controller/twilio/HoopPartialDaysController.d.ts +0 -14
- package/lib/controller/twilio/HoopPartialDaysController.js +0 -152
- package/lib/controller/twilio/HoopProfilesListController.d.ts +0 -14
- package/lib/controller/twilio/HoopProfilesListController.js +0 -147
- package/lib/controller/twilio/NavigationController.d.ts +0 -13
- package/lib/controller/twilio/NavigationController.js +0 -170
- package/lib/controller/twilio/QualityFormsController.d.ts +0 -12
- package/lib/controller/twilio/QualityFormsController.js +0 -129
- package/lib/controller/twilio/QuickLinkController.d.ts +0 -11
- package/lib/controller/twilio/QuickLinkController.js +0 -122
- package/lib/controller/twilio/RealTimeReportQueueDetailsController.d.ts +0 -14
- package/lib/controller/twilio/RealTimeReportQueueDetailsController.js +0 -126
- package/lib/controller/twilio/RealTimeReportsWGDetailsController.d.ts +0 -53
- package/lib/controller/twilio/RealTimeReportsWGDetailsController.js +0 -160
- package/lib/controller/twilio/TaskInfoPanelController.d.ts +0 -15
- package/lib/controller/twilio/TaskInfoPanelController.js +0 -134
- package/lib/controller/twilio/filterImpl/AgentScorecardFilter.d.ts +0 -12
- package/lib/controller/twilio/filterImpl/AgentScorecardFilter.js +0 -52
- package/lib/controller/twilio/filterImpl/AuditLogsFilter.d.ts +0 -12
- package/lib/controller/twilio/filterImpl/AuditLogsFilter.js +0 -89
- package/lib/controller/twilio/filterImpl/CXConfigPromptFilter.d.ts +0 -12
- package/lib/controller/twilio/filterImpl/CXConfigPromptFilter.js +0 -81
- package/lib/controller/twilio/filterImpl/CallLogsFilter.d.ts +0 -20
- package/lib/controller/twilio/filterImpl/CallLogsFilter.js +0 -101
- package/lib/controller/twilio/filterImpl/CxConfigAssetFilter.d.ts +0 -12
- package/lib/controller/twilio/filterImpl/CxConfigAssetFilter.js +0 -59
- package/lib/controller/twilio/filterImpl/CxConfigExternalNumbersFilter.d.ts +0 -12
- package/lib/controller/twilio/filterImpl/CxConfigExternalNumbersFilter.js +0 -67
- package/lib/controller/twilio/filterImpl/CxConfigOtherFilter.d.ts +0 -14
- package/lib/controller/twilio/filterImpl/CxConfigOtherFilter.js +0 -52
- package/lib/controller/twilio/filterImpl/CxConfigQueueMenuFilter.d.ts +0 -17
- package/lib/controller/twilio/filterImpl/CxConfigQueueMenuFilter.js +0 -78
- package/lib/controller/twilio/filterImpl/CxConfigUIconfigFilter.d.ts +0 -12
- package/lib/controller/twilio/filterImpl/CxConfigUIconfigFilter.js +0 -51
- package/lib/controller/twilio/filterImpl/HoopHolidaysFilter.d.ts +0 -14
- package/lib/controller/twilio/filterImpl/HoopHolidaysFilter.js +0 -58
- package/lib/controller/twilio/filterImpl/HoopNotesFilter.d.ts +0 -12
- package/lib/controller/twilio/filterImpl/HoopNotesFilter.js +0 -51
- package/lib/controller/twilio/filterImpl/HoopPartialDaysFilter.d.ts +0 -14
- package/lib/controller/twilio/filterImpl/HoopPartialDaysFilter.js +0 -58
- package/lib/controller/twilio/filterImpl/MainFilterService.d.ts +0 -4
- package/lib/controller/twilio/filterImpl/MainFilterService.js +0 -108
- package/lib/controller/twilio/filterImpl/NavigationFilter.d.ts +0 -20
- package/lib/controller/twilio/filterImpl/NavigationFilter.js +0 -90
- package/lib/controller/twilio/filterImpl/QueueDetailsFilter.d.ts +0 -14
- package/lib/controller/twilio/filterImpl/QueueDetailsFilter.js +0 -53
- package/lib/controller/twilio/filterImpl/TaskCompleteFilter.d.ts +0 -12
- package/lib/controller/twilio/filterImpl/TaskCompleteFilter.js +0 -62
- package/lib/controller/twilio/filterImpl/TaskInfoPanelFilter.d.ts +0 -12
- package/lib/controller/twilio/filterImpl/TaskInfoPanelFilter.js +0 -52
- package/lib/express/ApiResponse.d.ts +0 -15
- package/lib/express/ApiResponse.js +0 -11
- package/lib/express/RequestValidator.d.ts +0 -50
- package/lib/express/RequestValidator.js +0 -77
- package/lib/express/RequireParamsPicker.d.ts +0 -7
- package/lib/express/RequireParamsPicker.js +0 -14
- package/lib/express/ValidateRequireParameters.d.ts +0 -3
- package/lib/express/ValidateRequireParameters.js +0 -39
- package/lib/index.d.ts +0 -39
- package/lib/index.js +0 -100
- package/lib/models/BatchUpdateSkills.model.d.ts +0 -0
- package/lib/models/BatchUpdateSkills.model.js +0 -11
- package/lib/models/CannedMessage.model.d.ts +0 -4
- package/lib/models/CannedMessage.model.js +0 -1
- package/lib/models/ChannelSettingsTaskInfo.model.d.ts +0 -87
- package/lib/models/ChannelSettingsTaskInfo.model.js +0 -1
- package/lib/models/CustomerFeedback.model.d.ts +0 -9
- package/lib/models/CustomerFeedback.model.js +0 -1
- package/lib/models/Filter.model.d.ts +0 -15
- package/lib/models/Filter.model.js +0 -2
- package/lib/models/Hoop.model.d.ts +0 -15
- package/lib/models/Hoop.model.js +0 -18
- package/lib/models/Navigation.model.d.ts +0 -28
- package/lib/models/Navigation.model.js +0 -8
- package/lib/models/Roles.Model.d.ts +0 -8
- package/lib/models/Roles.Model.js +0 -1
- package/lib/models/abstract/BaseModel.d.ts +0 -17
- package/lib/models/abstract/BaseModel.js +0 -40
- package/lib/models/impl/AgentActionsLogsModel.d.ts +0 -27
- package/lib/models/impl/AgentActionsLogsModel.js +0 -89
- package/lib/models/impl/AgentActionsModel.d.ts +0 -19
- package/lib/models/impl/AgentActionsModel.js +0 -60
- package/lib/models/impl/AgentScorecardModel.d.ts +0 -66
- package/lib/models/impl/AgentScorecardModel.js +0 -282
- package/lib/models/impl/AuditLogsModel.d.ts +0 -31
- package/lib/models/impl/AuditLogsModel.js +0 -146
- package/lib/models/impl/CallLogsModel.d.ts +0 -37
- package/lib/models/impl/CallLogsModel.js +0 -109
- package/lib/models/impl/CallStatisticsModel.d.ts +0 -16
- package/lib/models/impl/CallStatisticsModel.js +0 -52
- package/lib/models/impl/CategoryDetailsModel.d.ts +0 -17
- package/lib/models/impl/CategoryDetailsModel.js +0 -44
- package/lib/models/impl/MemberModel.d.ts +0 -42
- package/lib/models/impl/MemberModel.js +0 -170
- package/lib/models/impl/ModelValidationError.d.ts +0 -6
- package/lib/models/impl/ModelValidationError.js +0 -15
- package/lib/models/impl/NavigationModel.d.ts +0 -39
- package/lib/models/impl/NavigationModel.js +0 -126
- package/lib/models/impl/PerformanceStatisticsModel.d.ts +0 -41
- package/lib/models/impl/PerformanceStatisticsModel.js +0 -129
- package/lib/models/impl/PlaybackScreenrecordings.d.ts +0 -39
- package/lib/models/impl/PlaybackScreenrecordings.js +0 -133
- package/lib/models/impl/ProfileModel.d.ts +0 -23
- package/lib/models/impl/ProfileModel.js +0 -102
- package/lib/models/impl/QualityFormsModel.d.ts +0 -39
- package/lib/models/impl/QualityFormsModel.js +0 -150
- package/lib/models/impl/QuestionDetailsModel.d.ts +0 -39
- package/lib/models/impl/QuestionDetailsModel.js +0 -173
- package/lib/models/impl/QueueDetailsModel.d.ts +0 -63
- package/lib/models/impl/QueueDetailsModel.js +0 -261
- package/lib/models/impl/QueueModel.d.ts +0 -39
- package/lib/models/impl/QueueModel.js +0 -156
- package/lib/models/impl/QuickLinkModel.d.ts +0 -24
- package/lib/models/impl/QuickLinkModel.js +0 -122
- package/lib/models/impl/StatisticsNumberDetailsModel.d.ts +0 -18
- package/lib/models/impl/StatisticsNumberDetailsModel.js +0 -72
- package/lib/models/impl/StatisticsTimeDetailsModel.d.ts +0 -18
- package/lib/models/impl/StatisticsTimeDetailsModel.js +0 -72
- package/lib/models/impl/TaskAttributesModel.d.ts +0 -31
- package/lib/models/impl/TaskAttributesModel.js +0 -108
- package/lib/models/impl/TaskChannelModel.d.ts +0 -15
- package/lib/models/impl/TaskChannelModel.js +0 -69
- package/lib/models/impl/TaskComplete.d.ts +0 -0
- package/lib/models/impl/TaskComplete.js +0 -1
- package/lib/models/impl/TaskInfoPanelModel.d.ts +0 -16
- package/lib/models/impl/TaskInfoPanelModel.js +0 -69
- package/lib/models/impl/TaskModel.d.ts +0 -59
- package/lib/models/impl/TaskModel.js +0 -234
- package/lib/models/impl/WorkGroupDetailsModel.d.ts +0 -63
- package/lib/models/impl/WorkGroupDetailsModel.js +0 -281
- package/lib/models/impl/callbackandvoicemail/CallbackAndVoicemailModel.d.ts +0 -33
- package/lib/models/impl/callbackandvoicemail/CallbackAndVoicemailModel.js +0 -140
- package/lib/models/impl/callbackandvoicemail/CallbackAndVoicemailNamespace.d.ts +0 -8
- package/lib/models/impl/callbackandvoicemail/CallbackAndVoicemailNamespace.js +0 -12
- package/lib/models/impl/callbackandvoicemail/CallbackModel.d.ts +0 -19
- package/lib/models/impl/callbackandvoicemail/CallbackModel.js +0 -82
- package/lib/models/impl/callbackandvoicemail/VoicemailModel.d.ts +0 -25
- package/lib/models/impl/callbackandvoicemail/VoicemailModel.js +0 -108
- package/lib/models/impl/channelsettings/ChannelSettingModel.d.ts +0 -68
- package/lib/models/impl/channelsettings/ChannelSettingModel.js +0 -240
- package/lib/models/impl/channelsettings/ChannelSettingTaskInfoModel.d.ts +0 -31
- package/lib/models/impl/channelsettings/ChannelSettingTaskInfoModel.js +0 -106
- package/lib/models/impl/channelsettings/TaskInfoAttributeModel.d.ts +0 -25
- package/lib/models/impl/channelsettings/TaskInfoAttributeModel.js +0 -80
- package/lib/models/impl/channelsettings/TaskInfoModel.d.ts +0 -13
- package/lib/models/impl/channelsettings/TaskInfoModel.js +0 -52
- package/lib/models/impl/cxconfig/CxConfigNamespace.d.ts +0 -16
- package/lib/models/impl/cxconfig/CxConfigNamespace.js +0 -20
- package/lib/models/impl/cxconfig/CxConfigUIConfigModel.d.ts +0 -27
- package/lib/models/impl/cxconfig/CxConfigUIConfigModel.js +0 -173
- package/lib/models/impl/cxconfig/CxConfiguratorConfigModel.d.ts +0 -24
- package/lib/models/impl/cxconfig/CxConfiguratorConfigModel.js +0 -103
- package/lib/models/impl/cxconfig/CxConfiguratorExternalNumbersModel.d.ts +0 -24
- package/lib/models/impl/cxconfig/CxConfiguratorExternalNumbersModel.js +0 -149
- package/lib/models/impl/cxconfig/CxConfiguratorGPMAssetModel.d.ts +0 -27
- package/lib/models/impl/cxconfig/CxConfiguratorGPMAssetModel.js +0 -179
- package/lib/models/impl/cxconfig/CxConfiguratorGPMPromptModel.d.ts +0 -37
- package/lib/models/impl/cxconfig/CxConfiguratorGPMPromptModel.js +0 -197
- package/lib/models/impl/cxconfig/CxConfiguratorOtherModel.d.ts +0 -27
- package/lib/models/impl/cxconfig/CxConfiguratorOtherModel.js +0 -159
- package/lib/models/impl/cxconfig/CxConfiguratorQueueMenuModel.d.ts +0 -40
- package/lib/models/impl/cxconfig/CxConfiguratorQueueMenuModel.js +0 -128
- package/lib/models/impl/hoop/HoopBusinessHoursModel.d.ts +0 -39
- package/lib/models/impl/hoop/HoopBusinessHoursModel.js +0 -122
- package/lib/models/impl/hoop/HoopDescriptionModel.d.ts +0 -16
- package/lib/models/impl/hoop/HoopDescriptionModel.js +0 -64
- package/lib/models/impl/hoop/HoopHolidaysImplModel.d.ts +0 -25
- package/lib/models/impl/hoop/HoopHolidaysImplModel.js +0 -118
- package/lib/models/impl/hoop/HoopNotesImplModel.d.ts +0 -25
- package/lib/models/impl/hoop/HoopNotesImplModel.js +0 -117
- package/lib/models/impl/hoop/HoopOperationsImplModel.d.ts +0 -28
- package/lib/models/impl/hoop/HoopOperationsImplModel.js +0 -161
- package/lib/models/impl/hoop/HoopOverrideImplModel.d.ts +0 -22
- package/lib/models/impl/hoop/HoopOverrideImplModel.js +0 -143
- package/lib/models/impl/hoop/HoopPartialDaysImplModel.d.ts +0 -31
- package/lib/models/impl/hoop/HoopPartialDaysImplModel.js +0 -140
- package/lib/models/impl/hoop/HoopProfilesListImplModel.d.ts +0 -22
- package/lib/models/impl/hoop/HoopProfilesListImplModel.js +0 -104
- package/lib/models/impl/hoop/HoopWeeklyTimingModel.d.ts +0 -22
- package/lib/models/impl/hoop/HoopWeeklyTimingModel.js +0 -86
- package/lib/models/index.d.ts +0 -25
- package/lib/models/index.js +0 -53
- package/lib/models/interface/IBaseModel.d.ts +0 -11
- package/lib/models/interface/IBaseModel.js +0 -2
- package/lib/models/types/AgentScorecard.type.d.ts +0 -6
- package/lib/models/types/AgentScorecard.type.js +0 -7
- package/lib/models/types/AuditLog.type.d.ts +0 -13
- package/lib/models/types/AuditLog.type.js +0 -10
- package/lib/models/types/CallLog.type.d.ts +0 -16
- package/lib/models/types/CallLog.type.js +0 -10
- package/lib/models/types/ChannelSetting.type.d.ts +0 -7
- package/lib/models/types/ChannelSetting.type.js +0 -11
- package/lib/models/types/CxConfig.type.d.ts +0 -72
- package/lib/models/types/CxConfig.type.js +0 -43
- package/lib/models/types/Hoop.type.d.ts +0 -9
- package/lib/models/types/Hoop.type.js +0 -13
- package/lib/models/types/Navigation.type.d.ts +0 -11
- package/lib/models/types/Navigation.type.js +0 -8
- package/lib/models/types/Profile.type.d.ts +0 -1
- package/lib/models/types/Profile.type.js +0 -2
- package/lib/models/types/QueueDetails.type.d.ts +0 -6
- package/lib/models/types/QueueDetails.type.js +0 -7
- package/lib/models/types/TaskComplete.type.d.ts +0 -7
- package/lib/models/types/TaskComplete.type.js +0 -6
- package/lib/models/types/TaskInfoPanel.type.d.ts +0 -6
- package/lib/models/types/TaskInfoPanel.type.js +0 -7
- package/lib/server.d.ts +0 -1
- package/lib/server.js +0 -39
- package/lib/twilio/abstract/ServiceObjectStore.d.ts +0 -6
- package/lib/twilio/abstract/ServiceObjectStore.js +0 -10
- package/lib/twilio/abstract/ServiceOpenRequest.d.ts +0 -7
- package/lib/twilio/abstract/ServiceOpenRequest.js +0 -10
- package/lib/twilio/abstract/ServiceRequest.d.ts +0 -3
- package/lib/twilio/abstract/ServiceRequest.js +0 -7
- package/lib/twilio/abstract/ServiceResource.d.ts +0 -23
- package/lib/twilio/abstract/ServiceResource.js +0 -37
- package/lib/twilio/abstract/ServiceResourceFactory.d.ts +0 -15
- package/lib/twilio/abstract/ServiceResourceFactory.js +0 -18
- package/lib/twilio/abstract/ServiceTransaction.d.ts +0 -6
- package/lib/twilio/abstract/ServiceTransaction.js +0 -11
- package/lib/twilio/abstract/SyncServiceItemResource.d.ts +0 -31
- package/lib/twilio/abstract/SyncServiceItemResource.js +0 -60
- package/lib/twilio/abstract/TwilioClientConfig.d.ts +0 -0
- package/lib/twilio/abstract/TwilioClientConfig.js +0 -1
- package/lib/twilio/impl/TwilioAPIKeyConfig.d.ts +0 -14
- package/lib/twilio/impl/TwilioAPIKeyConfig.js +0 -31
- package/lib/twilio/impl/TwilioAuthTokenConfig.d.ts +0 -11
- package/lib/twilio/impl/TwilioAuthTokenConfig.js +0 -24
- package/lib/twilio/impl/TwilioClient.d.ts +0 -6
- package/lib/twilio/impl/TwilioClient.js +0 -21
- package/lib/twilio/impl/message/messageService.d.ts +0 -0
- package/lib/twilio/impl/message/messageService.js +0 -42
- package/lib/twilio/impl/sync/SyncDocument.d.ts +0 -24
- package/lib/twilio/impl/sync/SyncDocument.js +0 -52
- package/lib/twilio/impl/sync/SyncDocumentTransaction.d.ts +0 -20
- package/lib/twilio/impl/sync/SyncDocumentTransaction.js +0 -31
- package/lib/twilio/impl/sync/SyncList.d.ts +0 -24
- package/lib/twilio/impl/sync/SyncList.js +0 -52
- package/lib/twilio/impl/sync/SyncListItem.d.ts +0 -5
- package/lib/twilio/impl/sync/SyncListItem.js +0 -22
- package/lib/twilio/impl/sync/SyncListTransaction.d.ts +0 -20
- package/lib/twilio/impl/sync/SyncListTransaction.js +0 -31
- package/lib/twilio/impl/sync/SyncMap.d.ts +0 -25
- package/lib/twilio/impl/sync/SyncMap.js +0 -139
- package/lib/twilio/impl/sync/SyncMapItem.d.ts +0 -5
- package/lib/twilio/impl/sync/SyncMapItem.js +0 -7
- package/lib/twilio/impl/sync/SyncMapTransaction.d.ts +0 -22
- package/lib/twilio/impl/sync/SyncMapTransaction.js +0 -38
- package/lib/twilio/impl/sync/SyncOpenRequest.d.ts +0 -18
- package/lib/twilio/impl/sync/SyncOpenRequest.js +0 -24
- package/lib/twilio/impl/sync/SyncRequest.d.ts +0 -16
- package/lib/twilio/impl/sync/SyncRequest.js +0 -21
- package/lib/twilio/impl/sync/SyncResource.d.ts +0 -50
- package/lib/twilio/impl/sync/SyncResource.js +0 -97
- package/lib/twilio/impl/sync/SyncServiceFactory.d.ts +0 -22
- package/lib/twilio/impl/sync/SyncServiceFactory.js +0 -117
- package/lib/twilio/interface/IDirection.d.ts +0 -2
- package/lib/twilio/interface/IDirection.js +0 -2
- package/lib/twilio/interface/ILink.d.ts +0 -2
- package/lib/twilio/interface/ILink.js +0 -2
- package/lib/twilio/interface/IServiceDBOpenRequest.d.ts +0 -3
- package/lib/twilio/interface/IServiceDBOpenRequest.js +0 -2
- package/lib/twilio/interface/IServiceObjectStore.d.ts +0 -3
- package/lib/twilio/interface/IServiceObjectStore.js +0 -2
- package/lib/twilio/interface/IServiceObjectStoreParameters.d.ts +0 -4
- package/lib/twilio/interface/IServiceObjectStoreParameters.js +0 -2
- package/lib/twilio/interface/IServiceRequest.d.ts +0 -3
- package/lib/twilio/interface/IServiceRequest.js +0 -2
- package/lib/twilio/interface/IServiceResource.d.ts +0 -8
- package/lib/twilio/interface/IServiceResource.js +0 -2
- package/lib/twilio/interface/IServiceTransation.d.ts +0 -3
- package/lib/twilio/interface/IServiceTransation.js +0 -2
- package/lib/twilio/interface/ISubResourceUri.d.ts +0 -2
- package/lib/twilio/interface/ISubResourceUri.js +0 -2
- package/lib/twilio/interface/ISyncItemData.d.ts +0 -0
- package/lib/twilio/interface/ISyncItemData.js +0 -1
- package/lib/twilio/interface/ISyncObjectStoreParameters.d.ts +0 -0
- package/lib/twilio/interface/ISyncObjectStoreParameters.js +0 -1
- package/lib/twilio/interface/ISyncTransactionOptions.d.ts +0 -4
- package/lib/twilio/interface/ISyncTransactionOptions.js +0 -2
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from "../../abstract/BaseModel";
|
|
2
|
-
import { validationMessage } from "../../interface/IBaseModel";
|
|
3
|
-
export declare class HoopOverrideBranchImplModel extends BaseModel {
|
|
4
|
-
private _branchId;
|
|
5
|
-
private _profileId;
|
|
6
|
-
private _branchStatus;
|
|
7
|
-
private _createdAt;
|
|
8
|
-
private _updatedAt;
|
|
9
|
-
constructor(branchId: string, profileId: string, branchStatus: object, createdAt: Date | undefined, updatedAt: Date | undefined);
|
|
10
|
-
get branchId(): string;
|
|
11
|
-
get profileId(): string;
|
|
12
|
-
get branchStatus(): object;
|
|
13
|
-
get createdAt(): Date | undefined;
|
|
14
|
-
get updatedAt(): Date | undefined;
|
|
15
|
-
set branchId(value: string);
|
|
16
|
-
set profileId(value: string);
|
|
17
|
-
set branchStatus(value: any);
|
|
18
|
-
set createdAt(value: Date | undefined);
|
|
19
|
-
set updatedAt(value: Date | undefined);
|
|
20
|
-
validateData(): validationMessage[];
|
|
21
|
-
setValidationMessages(message: validationMessage): void;
|
|
22
|
-
}
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HoopOverrideBranchImplModel = void 0;
|
|
4
|
-
const uuid_1 = require("uuid");
|
|
5
|
-
const BaseModel_1 = require("../../abstract/BaseModel");
|
|
6
|
-
class HoopOverrideBranchImplModel extends BaseModel_1.BaseModel {
|
|
7
|
-
constructor(branchId, profileId, branchStatus, createdAt, updatedAt) {
|
|
8
|
-
super();
|
|
9
|
-
this._branchId = branchId;
|
|
10
|
-
this._profileId = profileId;
|
|
11
|
-
this._branchStatus = branchStatus;
|
|
12
|
-
this._createdAt = createdAt;
|
|
13
|
-
this._updatedAt = updatedAt;
|
|
14
|
-
this.validateData();
|
|
15
|
-
}
|
|
16
|
-
// Getters
|
|
17
|
-
get branchId() {
|
|
18
|
-
return this._branchId;
|
|
19
|
-
}
|
|
20
|
-
get profileId() {
|
|
21
|
-
return this._profileId;
|
|
22
|
-
}
|
|
23
|
-
get branchStatus() {
|
|
24
|
-
return this._branchStatus;
|
|
25
|
-
}
|
|
26
|
-
get createdAt() {
|
|
27
|
-
return this._createdAt;
|
|
28
|
-
}
|
|
29
|
-
get updatedAt() {
|
|
30
|
-
return this._updatedAt;
|
|
31
|
-
}
|
|
32
|
-
// Setters
|
|
33
|
-
set branchId(value) {
|
|
34
|
-
if (!(0, uuid_1.validate)(value)) {
|
|
35
|
-
throw new Error("Invalid branchId format.");
|
|
36
|
-
}
|
|
37
|
-
this._branchId = value;
|
|
38
|
-
}
|
|
39
|
-
set profileId(value) {
|
|
40
|
-
if (typeof value !== "string" || value.trim() === "") {
|
|
41
|
-
throw new Error("Invalid profileId format.");
|
|
42
|
-
}
|
|
43
|
-
this._profileId = value;
|
|
44
|
-
}
|
|
45
|
-
set branchStatus(value) {
|
|
46
|
-
if (typeof value !== "object" || value === null) {
|
|
47
|
-
throw new Error("branchStatus must be a non-null object.");
|
|
48
|
-
}
|
|
49
|
-
// Define allowed keys in branchStatus and their expected types
|
|
50
|
-
const allowedKeys = {
|
|
51
|
-
emergency: "boolean",
|
|
52
|
-
weather: "boolean",
|
|
53
|
-
meeting: "boolean",
|
|
54
|
-
normal: "boolean",
|
|
55
|
-
other: "boolean",
|
|
56
|
-
acdDown: "boolean",
|
|
57
|
-
ivrDown: "boolean",
|
|
58
|
-
hasEndDate: "boolean",
|
|
59
|
-
endDatePeriod: "string" // Special case: endDatePeriod is a string
|
|
60
|
-
};
|
|
61
|
-
// Validate each key in branchStatus
|
|
62
|
-
const invalidKeys = Object.keys(value).filter((key) => {
|
|
63
|
-
if (!allowedKeys.hasOwnProperty(key))
|
|
64
|
-
return true; // Invalid key
|
|
65
|
-
return typeof value[key] !== allowedKeys[key]; // Invalid type
|
|
66
|
-
});
|
|
67
|
-
if (invalidKeys.length > 0) {
|
|
68
|
-
throw new Error(`Invalid keys or types in branchStatus: ${invalidKeys.join(", ")}`);
|
|
69
|
-
}
|
|
70
|
-
this._branchStatus = value;
|
|
71
|
-
}
|
|
72
|
-
set createdAt(value) {
|
|
73
|
-
if (!(value instanceof Date) || isNaN(value.getTime())) {
|
|
74
|
-
throw new Error("Invalid createdAt format.");
|
|
75
|
-
}
|
|
76
|
-
this._createdAt = value;
|
|
77
|
-
}
|
|
78
|
-
set updatedAt(value) {
|
|
79
|
-
if (!(value instanceof Date) || isNaN(value.getTime())) {
|
|
80
|
-
throw new Error("Invalid updatedAt format.");
|
|
81
|
-
}
|
|
82
|
-
this._updatedAt = value;
|
|
83
|
-
}
|
|
84
|
-
validateData() {
|
|
85
|
-
this.validationMessages = [];
|
|
86
|
-
// Define validation rules for each property
|
|
87
|
-
const validationRules = {
|
|
88
|
-
// Validate branchId: must be a non-empty string and a valid UUID
|
|
89
|
-
branchId: (value) => typeof value === "string" && value.trim() !== "" && (0, uuid_1.validate)(value),
|
|
90
|
-
// Validate profileId: must be a non-empty string
|
|
91
|
-
profileId: (value) => typeof value === "string" && value.trim() !== "",
|
|
92
|
-
// Validate branchStatus: must be an object and validate specific keys
|
|
93
|
-
branchStatus: (value) => {
|
|
94
|
-
if (typeof value !== "object" || value === null)
|
|
95
|
-
return false;
|
|
96
|
-
// Define allowed keys in branchStatus and their expected types
|
|
97
|
-
const allowedKeys = {
|
|
98
|
-
emergency: 'boolean',
|
|
99
|
-
weather: 'boolean',
|
|
100
|
-
meeting: 'boolean',
|
|
101
|
-
normal: 'boolean',
|
|
102
|
-
other: 'boolean',
|
|
103
|
-
acdDown: 'boolean',
|
|
104
|
-
ivrDown: 'boolean',
|
|
105
|
-
hasEndDate: 'boolean',
|
|
106
|
-
endDatePeriod: 'string' // Special case: endDatePeriod is a string
|
|
107
|
-
};
|
|
108
|
-
// Validate each key in branchStatus
|
|
109
|
-
return Object.keys(value).every((key) => {
|
|
110
|
-
if (!allowedKeys.hasOwnProperty(key))
|
|
111
|
-
return false; // Invalid key
|
|
112
|
-
return typeof value[key] === allowedKeys[key]; // Check type
|
|
113
|
-
});
|
|
114
|
-
},
|
|
115
|
-
// Validate createdAt: must be a valid date
|
|
116
|
-
createdAt: (value) => {
|
|
117
|
-
const parsedDate = new Date(value);
|
|
118
|
-
return parsedDate instanceof Date && !isNaN(parsedDate.getTime());
|
|
119
|
-
},
|
|
120
|
-
// Validate updatedAt: must be a valid date
|
|
121
|
-
updatedAt: (value) => {
|
|
122
|
-
const parsedDate = new Date(value);
|
|
123
|
-
return parsedDate instanceof Date && !isNaN(parsedDate.getTime());
|
|
124
|
-
},
|
|
125
|
-
};
|
|
126
|
-
for (const key in validationRules) {
|
|
127
|
-
const validator = validationRules[key];
|
|
128
|
-
const value = this[key];
|
|
129
|
-
if (!validator(value)) {
|
|
130
|
-
this.setValidationMessages({
|
|
131
|
-
type: "Error",
|
|
132
|
-
fieldDescription: key,
|
|
133
|
-
message: `${key} is invalid.`,
|
|
134
|
-
});
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
return this.validationMessages;
|
|
138
|
-
}
|
|
139
|
-
setValidationMessages(message) {
|
|
140
|
-
this.validationMessages.push(message);
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
exports.HoopOverrideBranchImplModel = HoopOverrideBranchImplModel;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from "../../abstract/BaseModel";
|
|
2
|
-
import { validationMessage } from "../../interface/IBaseModel";
|
|
3
|
-
export declare class HoopPartialDaysImplModel extends BaseModel {
|
|
4
|
-
private _partialDaysId;
|
|
5
|
-
private _profileId;
|
|
6
|
-
private _description;
|
|
7
|
-
private _beginTime;
|
|
8
|
-
private _endTime;
|
|
9
|
-
private _date;
|
|
10
|
-
private _createdAt;
|
|
11
|
-
private _updatedAt;
|
|
12
|
-
constructor(partialDaysId: string, profileId: string, description: string, beginTime: string, endTime: string, date: string, createdAt: Date | undefined, updatedAt: Date | undefined);
|
|
13
|
-
get partialDaysId(): string;
|
|
14
|
-
get profileId(): string;
|
|
15
|
-
get description(): string;
|
|
16
|
-
get beginTime(): string;
|
|
17
|
-
get endTime(): string;
|
|
18
|
-
get date(): string;
|
|
19
|
-
get createdAt(): Date | undefined;
|
|
20
|
-
get updatedAt(): Date | undefined;
|
|
21
|
-
set partialDaysId(value: string);
|
|
22
|
-
set profileId(value: string);
|
|
23
|
-
set description(value: string);
|
|
24
|
-
set beginTime(value: string);
|
|
25
|
-
set endTime(value: string);
|
|
26
|
-
set date(value: string);
|
|
27
|
-
set createdAt(value: Date | undefined);
|
|
28
|
-
set updatedAt(value: Date | undefined);
|
|
29
|
-
validateData(): validationMessage[];
|
|
30
|
-
setValidationMessages(message: validationMessage): void;
|
|
31
|
-
}
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HoopPartialDaysImplModel = void 0;
|
|
4
|
-
const uuid_1 = require("uuid");
|
|
5
|
-
const BaseModel_1 = require("../../abstract/BaseModel");
|
|
6
|
-
// Class to handle partial days validation and management
|
|
7
|
-
class HoopPartialDaysImplModel extends BaseModel_1.BaseModel {
|
|
8
|
-
// Constructor to initialize with partial days data
|
|
9
|
-
constructor(partialDaysId, profileId, description, beginTime, endTime, date, createdAt, updatedAt) {
|
|
10
|
-
super();
|
|
11
|
-
this._partialDaysId = partialDaysId;
|
|
12
|
-
this._profileId = profileId;
|
|
13
|
-
this._description = description;
|
|
14
|
-
this._beginTime = beginTime;
|
|
15
|
-
this._endTime = endTime;
|
|
16
|
-
this._date = date;
|
|
17
|
-
this._createdAt = createdAt;
|
|
18
|
-
this._updatedAt = updatedAt;
|
|
19
|
-
this.validateData();
|
|
20
|
-
}
|
|
21
|
-
// **Getters**
|
|
22
|
-
get partialDaysId() {
|
|
23
|
-
return this._partialDaysId;
|
|
24
|
-
}
|
|
25
|
-
get profileId() {
|
|
26
|
-
return this._profileId;
|
|
27
|
-
}
|
|
28
|
-
get description() {
|
|
29
|
-
return this._description;
|
|
30
|
-
}
|
|
31
|
-
get beginTime() {
|
|
32
|
-
return this._beginTime;
|
|
33
|
-
}
|
|
34
|
-
get endTime() {
|
|
35
|
-
return this._endTime;
|
|
36
|
-
}
|
|
37
|
-
get date() {
|
|
38
|
-
return this._date;
|
|
39
|
-
}
|
|
40
|
-
get createdAt() {
|
|
41
|
-
return this._createdAt;
|
|
42
|
-
}
|
|
43
|
-
get updatedAt() {
|
|
44
|
-
return this._updatedAt;
|
|
45
|
-
}
|
|
46
|
-
// **Setters**
|
|
47
|
-
set partialDaysId(value) {
|
|
48
|
-
if (!(0, uuid_1.validate)(value)) {
|
|
49
|
-
throw new Error('Invalid partialDaysId format.');
|
|
50
|
-
}
|
|
51
|
-
this._partialDaysId = value;
|
|
52
|
-
}
|
|
53
|
-
set profileId(value) {
|
|
54
|
-
if (typeof value !== 'string' || value.trim() === '') {
|
|
55
|
-
throw new Error('Invalid profileId format.');
|
|
56
|
-
}
|
|
57
|
-
this._profileId = value;
|
|
58
|
-
}
|
|
59
|
-
set description(value) {
|
|
60
|
-
if (typeof value !== 'string' || value.trim() === '') {
|
|
61
|
-
throw new Error('Invalid description format.');
|
|
62
|
-
}
|
|
63
|
-
this._description = value;
|
|
64
|
-
}
|
|
65
|
-
set beginTime(value) {
|
|
66
|
-
if (typeof value !== 'string' || value.trim() === '') {
|
|
67
|
-
throw new Error('Invalid beginTime format.');
|
|
68
|
-
}
|
|
69
|
-
this._beginTime = value;
|
|
70
|
-
}
|
|
71
|
-
set endTime(value) {
|
|
72
|
-
if (typeof value !== 'string' || value.trim() === '') {
|
|
73
|
-
throw new Error('Invalid endTime format.');
|
|
74
|
-
}
|
|
75
|
-
this._endTime = value;
|
|
76
|
-
}
|
|
77
|
-
set date(value) {
|
|
78
|
-
if (typeof value !== 'string' || value.trim() === '') {
|
|
79
|
-
throw new Error('Invalid date format.');
|
|
80
|
-
}
|
|
81
|
-
this._date = value;
|
|
82
|
-
}
|
|
83
|
-
set createdAt(value) {
|
|
84
|
-
if (!(value instanceof Date) || isNaN(value.getTime())) {
|
|
85
|
-
throw new Error('Invalid createdAt format.');
|
|
86
|
-
}
|
|
87
|
-
this._createdAt = value;
|
|
88
|
-
}
|
|
89
|
-
set updatedAt(value) {
|
|
90
|
-
if (!(value instanceof Date) || isNaN(value.getTime())) {
|
|
91
|
-
throw new Error('Invalid updatedAt format.');
|
|
92
|
-
}
|
|
93
|
-
this._updatedAt = value;
|
|
94
|
-
}
|
|
95
|
-
// Method to validate partial days data
|
|
96
|
-
validateData() {
|
|
97
|
-
this.validationMessages = [];
|
|
98
|
-
// Define validation rules for each property
|
|
99
|
-
const validationRules = {
|
|
100
|
-
// Validate partialDaysId: must be a non-empty string and a valid UUID
|
|
101
|
-
partialDaysId: (value) => typeof value === "string" && value.trim() !== "" && (0, uuid_1.validate)(value),
|
|
102
|
-
// Validate profileId: must be a non-empty string
|
|
103
|
-
profileId: (value) => typeof value === "string" && value.trim() !== "",
|
|
104
|
-
// Validate description: must be a non-empty string
|
|
105
|
-
description: (value) => typeof value === "string" && value.trim() !== "",
|
|
106
|
-
// Validate beginTime: must be a non-empty string
|
|
107
|
-
beginTime: (value) => typeof value === "string" && value.trim() !== "",
|
|
108
|
-
// Validate endTime: must be a non-empty string
|
|
109
|
-
endTime: (value) => typeof value === "string" && value.trim() !== "",
|
|
110
|
-
// Validate date: must be a non-empty string
|
|
111
|
-
date: (value) => typeof value === "string" && value.trim() !== "",
|
|
112
|
-
// Validate createdAt: must be a valid date
|
|
113
|
-
createdAt: (value) => {
|
|
114
|
-
const parsedDate = new Date(value);
|
|
115
|
-
return parsedDate instanceof Date && !isNaN(parsedDate.getTime());
|
|
116
|
-
},
|
|
117
|
-
// Validate updatedAt: must be a valid date
|
|
118
|
-
updatedAt: (value) => {
|
|
119
|
-
const parsedDate = new Date(value);
|
|
120
|
-
return parsedDate instanceof Date && !isNaN(parsedDate.getTime());
|
|
121
|
-
},
|
|
122
|
-
};
|
|
123
|
-
for (const key in validationRules) {
|
|
124
|
-
const validator = validationRules[key];
|
|
125
|
-
const value = this[key];
|
|
126
|
-
if (!validator(value)) {
|
|
127
|
-
this.setValidationMessages({
|
|
128
|
-
type: "Error",
|
|
129
|
-
fieldDescription: key,
|
|
130
|
-
message: `${key} is invalid.`,
|
|
131
|
-
});
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
return this.validationMessages;
|
|
135
|
-
}
|
|
136
|
-
setValidationMessages(message) {
|
|
137
|
-
this.validationMessages.push(message);
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
exports.HoopPartialDaysImplModel = HoopPartialDaysImplModel;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from "../../abstract/BaseModel";
|
|
2
|
-
import { validationMessage } from "../../interface/IBaseModel";
|
|
3
|
-
export declare class HoopProfilesListImplModel extends BaseModel {
|
|
4
|
-
private _profileId;
|
|
5
|
-
private _profileName;
|
|
6
|
-
private _timeZone;
|
|
7
|
-
private _createdAt;
|
|
8
|
-
private _updatedAt;
|
|
9
|
-
constructor(profileId: string, profileName: string, timeZone: string, createdAt: Date | undefined, updatedAt: Date | undefined);
|
|
10
|
-
get profileId(): string;
|
|
11
|
-
get profileName(): string;
|
|
12
|
-
get timeZone(): string;
|
|
13
|
-
get createdAt(): Date | undefined;
|
|
14
|
-
get updatedAt(): Date | undefined;
|
|
15
|
-
set profileId(value: string);
|
|
16
|
-
set profileName(value: string);
|
|
17
|
-
set timeZone(value: string);
|
|
18
|
-
set createdAt(value: Date | undefined);
|
|
19
|
-
set updatedAt(value: Date | undefined);
|
|
20
|
-
validateData(): validationMessage[];
|
|
21
|
-
setValidationMessages(message: validationMessage): void;
|
|
22
|
-
}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HoopProfilesListImplModel = void 0;
|
|
4
|
-
const uuid_1 = require("uuid");
|
|
5
|
-
const BaseModel_1 = require("../../abstract/BaseModel");
|
|
6
|
-
// Class to handle profile list validation and management
|
|
7
|
-
class HoopProfilesListImplModel extends BaseModel_1.BaseModel {
|
|
8
|
-
// Constructor to initialize with profile data
|
|
9
|
-
constructor(profileId, profileName, timeZone, createdAt, updatedAt) {
|
|
10
|
-
super();
|
|
11
|
-
this._profileId = profileId;
|
|
12
|
-
this._profileName = profileName;
|
|
13
|
-
this._timeZone = timeZone;
|
|
14
|
-
this._createdAt = createdAt;
|
|
15
|
-
this._updatedAt = updatedAt;
|
|
16
|
-
this.validateData();
|
|
17
|
-
}
|
|
18
|
-
// **Getters**
|
|
19
|
-
get profileId() {
|
|
20
|
-
return this._profileId;
|
|
21
|
-
}
|
|
22
|
-
get profileName() {
|
|
23
|
-
return this._profileName;
|
|
24
|
-
}
|
|
25
|
-
get timeZone() {
|
|
26
|
-
return this._timeZone;
|
|
27
|
-
}
|
|
28
|
-
get createdAt() {
|
|
29
|
-
return this._createdAt;
|
|
30
|
-
}
|
|
31
|
-
get updatedAt() {
|
|
32
|
-
return this._updatedAt;
|
|
33
|
-
}
|
|
34
|
-
// **Setters**
|
|
35
|
-
set profileId(value) {
|
|
36
|
-
if (!(0, uuid_1.validate)(value)) {
|
|
37
|
-
throw new Error('Invalid profileId format.');
|
|
38
|
-
}
|
|
39
|
-
this._profileId = value;
|
|
40
|
-
}
|
|
41
|
-
set profileName(value) {
|
|
42
|
-
if (typeof value !== 'string' || value.trim() === '') {
|
|
43
|
-
throw new Error('Invalid profileName format.');
|
|
44
|
-
}
|
|
45
|
-
this._profileName = value;
|
|
46
|
-
}
|
|
47
|
-
set timeZone(value) {
|
|
48
|
-
if (typeof value !== 'string' || value.trim() === '') {
|
|
49
|
-
throw new Error('Invalid timeZone format.');
|
|
50
|
-
}
|
|
51
|
-
this._timeZone = value;
|
|
52
|
-
}
|
|
53
|
-
set createdAt(value) {
|
|
54
|
-
if (!(value instanceof Date) || isNaN(value.getTime())) {
|
|
55
|
-
throw new Error('Invalid createdAt format.');
|
|
56
|
-
}
|
|
57
|
-
this._createdAt = value;
|
|
58
|
-
}
|
|
59
|
-
set updatedAt(value) {
|
|
60
|
-
if (!(value instanceof Date) || isNaN(value.getTime())) {
|
|
61
|
-
throw new Error('Invalid updatedAt format.');
|
|
62
|
-
}
|
|
63
|
-
this._updatedAt = value;
|
|
64
|
-
}
|
|
65
|
-
// Method to validate profile data
|
|
66
|
-
validateData() {
|
|
67
|
-
this.validationMessages = [];
|
|
68
|
-
// Define validation rules for each profile property
|
|
69
|
-
const validationRules = {
|
|
70
|
-
// Validate profileId: must be a non-empty string and a valid UUID
|
|
71
|
-
profileId: (value) => typeof value === "string" && value.trim() !== "" && (0, uuid_1.validate)(value),
|
|
72
|
-
// Validate profileName: must be a non-empty string
|
|
73
|
-
profileName: (value) => typeof value === "string" && value.trim() !== "",
|
|
74
|
-
// Validate timeZone: must be a non-empty string
|
|
75
|
-
timeZone: (value) => typeof value === "string" && value.trim() !== "",
|
|
76
|
-
// Validate createdAt: must be a valid date
|
|
77
|
-
createdAt: (value) => {
|
|
78
|
-
const parsedDate = new Date(value);
|
|
79
|
-
return parsedDate instanceof Date && !isNaN(parsedDate.getTime());
|
|
80
|
-
},
|
|
81
|
-
// Validate updatedAt: must be a valid date
|
|
82
|
-
updatedAt: (value) => {
|
|
83
|
-
const parsedDate = new Date(value);
|
|
84
|
-
return parsedDate instanceof Date && !isNaN(parsedDate.getTime());
|
|
85
|
-
},
|
|
86
|
-
};
|
|
87
|
-
for (const key in validationRules) {
|
|
88
|
-
const validator = validationRules[key];
|
|
89
|
-
const value = this[key];
|
|
90
|
-
if (!validator(value)) {
|
|
91
|
-
this.setValidationMessages({
|
|
92
|
-
type: "Error",
|
|
93
|
-
fieldDescription: key,
|
|
94
|
-
message: `${key} is invalid.`,
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
return this.validationMessages;
|
|
99
|
-
}
|
|
100
|
-
setValidationMessages(message) {
|
|
101
|
-
this.validationMessages.push(message);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
exports.HoopProfilesListImplModel = HoopProfilesListImplModel;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from "../../abstract/BaseModel";
|
|
2
|
-
import { validationMessage } from "../../interface/IBaseModel";
|
|
3
|
-
export declare class HoopWeeklyTimingModel extends BaseModel {
|
|
4
|
-
private _startDay;
|
|
5
|
-
private _endDay;
|
|
6
|
-
private _startTime;
|
|
7
|
-
private _endTime;
|
|
8
|
-
private _description;
|
|
9
|
-
constructor(startDay: string, endDay: string, startTime: string, endTime: string, description: string);
|
|
10
|
-
get startDay(): string;
|
|
11
|
-
set startDay(value: string);
|
|
12
|
-
get endDay(): string;
|
|
13
|
-
set endDay(value: string);
|
|
14
|
-
get startTime(): string;
|
|
15
|
-
set startTime(value: string);
|
|
16
|
-
get endTime(): string;
|
|
17
|
-
set endTime(value: string);
|
|
18
|
-
get description(): string;
|
|
19
|
-
set description(value: string);
|
|
20
|
-
validateData(): validationMessage[];
|
|
21
|
-
setValidationMessages(data: validationMessage): void;
|
|
22
|
-
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HoopWeeklyTimingModel = void 0;
|
|
4
|
-
const BaseModel_1 = require("../../abstract/BaseModel");
|
|
5
|
-
class HoopWeeklyTimingModel extends BaseModel_1.BaseModel {
|
|
6
|
-
constructor(startDay, endDay, startTime, endTime, description) {
|
|
7
|
-
super();
|
|
8
|
-
this._startDay = startDay;
|
|
9
|
-
this._endDay = endDay;
|
|
10
|
-
this._startTime = startTime;
|
|
11
|
-
this._endTime = endTime;
|
|
12
|
-
this._description = description;
|
|
13
|
-
this.validateData();
|
|
14
|
-
}
|
|
15
|
-
get startDay() {
|
|
16
|
-
return this._startDay;
|
|
17
|
-
}
|
|
18
|
-
set startDay(value) {
|
|
19
|
-
if (typeof value !== "string" || value.trim() === "") {
|
|
20
|
-
throw new Error("Invalid startDay format.");
|
|
21
|
-
}
|
|
22
|
-
this._startDay = value;
|
|
23
|
-
}
|
|
24
|
-
get endDay() {
|
|
25
|
-
return this._endDay;
|
|
26
|
-
}
|
|
27
|
-
set endDay(value) {
|
|
28
|
-
if (typeof value !== "string" || value.trim() === "") {
|
|
29
|
-
throw new Error("Invalid endDay format.");
|
|
30
|
-
}
|
|
31
|
-
this._endDay = value;
|
|
32
|
-
}
|
|
33
|
-
get startTime() {
|
|
34
|
-
return this._startTime;
|
|
35
|
-
}
|
|
36
|
-
set startTime(value) {
|
|
37
|
-
if (!/^\d{2}:\d{2}:\d{2}$/.test(value)) {
|
|
38
|
-
throw new Error("Invalid startTime format. Must be HH:mm:ss.");
|
|
39
|
-
}
|
|
40
|
-
this._startTime = value;
|
|
41
|
-
}
|
|
42
|
-
get endTime() {
|
|
43
|
-
return this._endTime;
|
|
44
|
-
}
|
|
45
|
-
set endTime(value) {
|
|
46
|
-
if (!/^\d{2}:\d{2}:\d{2}$/.test(value)) {
|
|
47
|
-
throw new Error("Invalid endTime format. Must be HH:mm:ss.");
|
|
48
|
-
}
|
|
49
|
-
this._endTime = value;
|
|
50
|
-
}
|
|
51
|
-
get description() {
|
|
52
|
-
return this._description;
|
|
53
|
-
}
|
|
54
|
-
set description(value) {
|
|
55
|
-
if (typeof value !== "string" || value.trim() === "") {
|
|
56
|
-
throw new Error("Invalid description format.");
|
|
57
|
-
}
|
|
58
|
-
this._description = value;
|
|
59
|
-
}
|
|
60
|
-
validateData() {
|
|
61
|
-
this.validationMessages = [];
|
|
62
|
-
const validationRules = {
|
|
63
|
-
startDay: (value) => typeof value === "string" && value.trim() !== "",
|
|
64
|
-
endDay: (value) => typeof value === "string" && value.trim() !== "",
|
|
65
|
-
startTime: (value) => /^\d{2}:\d{2}:\d{2}$/.test(value),
|
|
66
|
-
endTime: (value) => /^\d{2}:\d{2}:\d{2}$/.test(value),
|
|
67
|
-
description: (value) => typeof value === "string" && value.trim() !== "",
|
|
68
|
-
};
|
|
69
|
-
for (const key in validationRules) {
|
|
70
|
-
const validator = validationRules[key];
|
|
71
|
-
const value = this[key];
|
|
72
|
-
if (!validator(value)) {
|
|
73
|
-
this.setValidationMessages({
|
|
74
|
-
type: "Error",
|
|
75
|
-
fieldDescription: key,
|
|
76
|
-
message: `${key} is invalid.`,
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
return this.validationMessages;
|
|
81
|
-
}
|
|
82
|
-
setValidationMessages(data) {
|
|
83
|
-
this.validationMessages.push(data);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
exports.HoopWeeklyTimingModel = HoopWeeklyTimingModel;
|
package/lib/models/index.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export { AuditLogModel } from "./impl/AuditLogsModel";
|
|
2
|
-
export { CallLogsModel } from "./impl/CallLogsModel";
|
|
3
|
-
export { CallStatisticsModel } from "./impl/CallStatisticsModel";
|
|
4
|
-
export { CallbackVoicemail } from "./impl/callbackandvoicemail/CallbackAndVoicemailNamespace";
|
|
5
|
-
export { CategoryDetailModel } from "./impl/CategoryDetailsModel";
|
|
6
|
-
export { NavigationModel } from "./impl/NavigationModel";
|
|
7
|
-
export { PerformanceStatisticsModel } from "./impl/PerformanceStatisticsModel";
|
|
8
|
-
export { PlaybackScreenrecordingsModel } from "./impl/PlaybackScreenrecordings";
|
|
9
|
-
export { ProfileModel } from "./impl/ProfileModel";
|
|
10
|
-
export { QualityFormsModel } from "./impl/QualityFormsModel";
|
|
11
|
-
export { QuestionDetailsModel } from "./impl/QuestionDetailsModel";
|
|
12
|
-
export { QueueModel } from "./impl/QueueModel";
|
|
13
|
-
export { QuickLinkModel } from "./impl/QuickLinkModel";
|
|
14
|
-
export { StatisticsNumberDetailsModel } from "./impl/StatisticsNumberDetailsModel";
|
|
15
|
-
export { StatisticsTimeDetailsModel } from "./impl/StatisticsTimeDetailsModel";
|
|
16
|
-
export { TaskAttributesModel } from "./impl/TaskAttributesModel";
|
|
17
|
-
export { TaskModel } from "./impl/TaskModel";
|
|
18
|
-
export { WorkGroupDetailsModel } from "./impl/WorkGroupDetailsModel";
|
|
19
|
-
export { ChannelSettingModel } from "./impl/channelsettings/ChannelSettingModel";
|
|
20
|
-
export { ChannelSettingTaskInfoModel } from "./impl/channelsettings/ChannelSettingTaskInfoModel";
|
|
21
|
-
export { TaskInfoAttributeModel } from "./impl/channelsettings/TaskInfoAttributeModel";
|
|
22
|
-
export { TaskInfoModel } from "./impl/channelsettings/TaskInfoModel";
|
|
23
|
-
export { CxConfigurator } from "./impl/cxconfig/CxConfigNamespace";
|
|
24
|
-
export { AgentActionsModel } from "./impl/AgentActionsModel";
|
|
25
|
-
export { AgentActionsLogsModel } from "./impl/AgentActionsLogsModel";
|
package/lib/models/index.js
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AgentActionsLogsModel = exports.AgentActionsModel = exports.CxConfigurator = exports.TaskInfoModel = exports.TaskInfoAttributeModel = exports.ChannelSettingTaskInfoModel = exports.ChannelSettingModel = exports.WorkGroupDetailsModel = exports.TaskModel = exports.TaskAttributesModel = exports.StatisticsTimeDetailsModel = exports.StatisticsNumberDetailsModel = exports.QuickLinkModel = exports.QueueModel = exports.QuestionDetailsModel = exports.QualityFormsModel = exports.ProfileModel = exports.PlaybackScreenrecordingsModel = exports.PerformanceStatisticsModel = exports.NavigationModel = exports.CategoryDetailModel = exports.CallbackVoicemail = exports.CallStatisticsModel = exports.CallLogsModel = exports.AuditLogModel = void 0;
|
|
4
|
-
var AuditLogsModel_1 = require("./impl/AuditLogsModel");
|
|
5
|
-
Object.defineProperty(exports, "AuditLogModel", { enumerable: true, get: function () { return AuditLogsModel_1.AuditLogModel; } });
|
|
6
|
-
var CallLogsModel_1 = require("./impl/CallLogsModel");
|
|
7
|
-
Object.defineProperty(exports, "CallLogsModel", { enumerable: true, get: function () { return CallLogsModel_1.CallLogsModel; } });
|
|
8
|
-
var CallStatisticsModel_1 = require("./impl/CallStatisticsModel");
|
|
9
|
-
Object.defineProperty(exports, "CallStatisticsModel", { enumerable: true, get: function () { return CallStatisticsModel_1.CallStatisticsModel; } });
|
|
10
|
-
var CallbackAndVoicemailNamespace_1 = require("./impl/callbackandvoicemail/CallbackAndVoicemailNamespace");
|
|
11
|
-
Object.defineProperty(exports, "CallbackVoicemail", { enumerable: true, get: function () { return CallbackAndVoicemailNamespace_1.CallbackVoicemail; } });
|
|
12
|
-
var CategoryDetailsModel_1 = require("./impl/CategoryDetailsModel");
|
|
13
|
-
Object.defineProperty(exports, "CategoryDetailModel", { enumerable: true, get: function () { return CategoryDetailsModel_1.CategoryDetailModel; } });
|
|
14
|
-
var NavigationModel_1 = require("./impl/NavigationModel");
|
|
15
|
-
Object.defineProperty(exports, "NavigationModel", { enumerable: true, get: function () { return NavigationModel_1.NavigationModel; } });
|
|
16
|
-
var PerformanceStatisticsModel_1 = require("./impl/PerformanceStatisticsModel");
|
|
17
|
-
Object.defineProperty(exports, "PerformanceStatisticsModel", { enumerable: true, get: function () { return PerformanceStatisticsModel_1.PerformanceStatisticsModel; } });
|
|
18
|
-
var PlaybackScreenrecordings_1 = require("./impl/PlaybackScreenrecordings");
|
|
19
|
-
Object.defineProperty(exports, "PlaybackScreenrecordingsModel", { enumerable: true, get: function () { return PlaybackScreenrecordings_1.PlaybackScreenrecordingsModel; } });
|
|
20
|
-
var ProfileModel_1 = require("./impl/ProfileModel");
|
|
21
|
-
Object.defineProperty(exports, "ProfileModel", { enumerable: true, get: function () { return ProfileModel_1.ProfileModel; } });
|
|
22
|
-
var QualityFormsModel_1 = require("./impl/QualityFormsModel");
|
|
23
|
-
Object.defineProperty(exports, "QualityFormsModel", { enumerable: true, get: function () { return QualityFormsModel_1.QualityFormsModel; } });
|
|
24
|
-
var QuestionDetailsModel_1 = require("./impl/QuestionDetailsModel");
|
|
25
|
-
Object.defineProperty(exports, "QuestionDetailsModel", { enumerable: true, get: function () { return QuestionDetailsModel_1.QuestionDetailsModel; } });
|
|
26
|
-
var QueueModel_1 = require("./impl/QueueModel");
|
|
27
|
-
Object.defineProperty(exports, "QueueModel", { enumerable: true, get: function () { return QueueModel_1.QueueModel; } });
|
|
28
|
-
var QuickLinkModel_1 = require("./impl/QuickLinkModel");
|
|
29
|
-
Object.defineProperty(exports, "QuickLinkModel", { enumerable: true, get: function () { return QuickLinkModel_1.QuickLinkModel; } });
|
|
30
|
-
var StatisticsNumberDetailsModel_1 = require("./impl/StatisticsNumberDetailsModel");
|
|
31
|
-
Object.defineProperty(exports, "StatisticsNumberDetailsModel", { enumerable: true, get: function () { return StatisticsNumberDetailsModel_1.StatisticsNumberDetailsModel; } });
|
|
32
|
-
var StatisticsTimeDetailsModel_1 = require("./impl/StatisticsTimeDetailsModel");
|
|
33
|
-
Object.defineProperty(exports, "StatisticsTimeDetailsModel", { enumerable: true, get: function () { return StatisticsTimeDetailsModel_1.StatisticsTimeDetailsModel; } });
|
|
34
|
-
var TaskAttributesModel_1 = require("./impl/TaskAttributesModel");
|
|
35
|
-
Object.defineProperty(exports, "TaskAttributesModel", { enumerable: true, get: function () { return TaskAttributesModel_1.TaskAttributesModel; } });
|
|
36
|
-
var TaskModel_1 = require("./impl/TaskModel");
|
|
37
|
-
Object.defineProperty(exports, "TaskModel", { enumerable: true, get: function () { return TaskModel_1.TaskModel; } });
|
|
38
|
-
var WorkGroupDetailsModel_1 = require("./impl/WorkGroupDetailsModel");
|
|
39
|
-
Object.defineProperty(exports, "WorkGroupDetailsModel", { enumerable: true, get: function () { return WorkGroupDetailsModel_1.WorkGroupDetailsModel; } });
|
|
40
|
-
var ChannelSettingModel_1 = require("./impl/channelsettings/ChannelSettingModel");
|
|
41
|
-
Object.defineProperty(exports, "ChannelSettingModel", { enumerable: true, get: function () { return ChannelSettingModel_1.ChannelSettingModel; } });
|
|
42
|
-
var ChannelSettingTaskInfoModel_1 = require("./impl/channelsettings/ChannelSettingTaskInfoModel");
|
|
43
|
-
Object.defineProperty(exports, "ChannelSettingTaskInfoModel", { enumerable: true, get: function () { return ChannelSettingTaskInfoModel_1.ChannelSettingTaskInfoModel; } });
|
|
44
|
-
var TaskInfoAttributeModel_1 = require("./impl/channelsettings/TaskInfoAttributeModel");
|
|
45
|
-
Object.defineProperty(exports, "TaskInfoAttributeModel", { enumerable: true, get: function () { return TaskInfoAttributeModel_1.TaskInfoAttributeModel; } });
|
|
46
|
-
var TaskInfoModel_1 = require("./impl/channelsettings/TaskInfoModel");
|
|
47
|
-
Object.defineProperty(exports, "TaskInfoModel", { enumerable: true, get: function () { return TaskInfoModel_1.TaskInfoModel; } });
|
|
48
|
-
var CxConfigNamespace_1 = require("./impl/cxconfig/CxConfigNamespace");
|
|
49
|
-
Object.defineProperty(exports, "CxConfigurator", { enumerable: true, get: function () { return CxConfigNamespace_1.CxConfigurator; } });
|
|
50
|
-
var AgentActionsModel_1 = require("./impl/AgentActionsModel");
|
|
51
|
-
Object.defineProperty(exports, "AgentActionsModel", { enumerable: true, get: function () { return AgentActionsModel_1.AgentActionsModel; } });
|
|
52
|
-
var AgentActionsLogsModel_1 = require("./impl/AgentActionsLogsModel");
|
|
53
|
-
Object.defineProperty(exports, "AgentActionsLogsModel", { enumerable: true, get: function () { return AgentActionsLogsModel_1.AgentActionsLogsModel; } });
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export type errorType = 'Warn' | 'Error';
|
|
2
|
-
export type validationMessage = {
|
|
3
|
-
type: errorType;
|
|
4
|
-
message: string;
|
|
5
|
-
fieldDescription: string;
|
|
6
|
-
};
|
|
7
|
-
export interface IBaseModel {
|
|
8
|
-
validationMessages: validationMessage[];
|
|
9
|
-
validateData(): validationMessage[];
|
|
10
|
-
setValidationMessages(daata: validationMessage): void;
|
|
11
|
-
}
|