hgs-twilio-class-lib 1.1.72 → 1.1.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (479) hide show
  1. package/lib/aws/abstract/ServiceObjectStore.d.ts +9 -0
  2. package/lib/aws/abstract/ServiceObjectStore.js +10 -0
  3. package/lib/aws/abstract/ServiceOpenRequest.d.ts +7 -0
  4. package/lib/aws/abstract/ServiceOpenRequest.js +10 -0
  5. package/lib/aws/abstract/ServiceRequest.d.ts +3 -0
  6. package/lib/aws/abstract/ServiceRequest.js +7 -0
  7. package/lib/aws/abstract/ServiceResource.d.ts +20 -0
  8. package/lib/aws/abstract/ServiceResource.js +31 -0
  9. package/lib/aws/abstract/ServiceResourceFactory.d.ts +13 -0
  10. package/lib/aws/abstract/ServiceResourceFactory.js +14 -0
  11. package/lib/aws/abstract/ServiceTransaction.d.ts +6 -0
  12. package/lib/aws/abstract/ServiceTransaction.js +11 -0
  13. package/lib/aws/impl/AWSAPIConfig.d.ts +14 -0
  14. package/lib/aws/impl/AWSAPIConfig.js +38 -0
  15. package/lib/aws/impl/AWSClient.d.ts +5 -0
  16. package/lib/aws/impl/AWSClient.js +21 -0
  17. package/lib/aws/impl/AWSConnectAPIConfig.d.ts +17 -0
  18. package/lib/aws/impl/AWSConnectAPIConfig.js +38 -0
  19. package/lib/aws/impl/DynamoDB/DynamoOpenRequest.d.ts +18 -0
  20. package/lib/aws/impl/DynamoDB/DynamoOpenRequest.js +24 -0
  21. package/lib/aws/impl/DynamoDB/DynamoRequest.d.ts +16 -0
  22. package/lib/aws/impl/DynamoDB/DynamoRequest.js +21 -0
  23. package/lib/aws/impl/DynamoDB/DynamoResourse.d.ts +29 -0
  24. package/lib/aws/impl/DynamoDB/DynamoResourse.js +45 -0
  25. package/lib/aws/impl/DynamoDB/DynamoServiceFactory.d.ts +16 -0
  26. package/lib/aws/impl/DynamoDB/DynamoServiceFactory.js +63 -0
  27. package/lib/aws/impl/DynamoDB/DynamoTable.d.ts +26 -0
  28. package/lib/aws/impl/DynamoDB/DynamoTable.js +126 -0
  29. package/lib/aws/impl/DynamoDB/DynamoTransaction.d.ts +21 -0
  30. package/lib/aws/impl/DynamoDB/DynamoTransaction.js +37 -0
  31. package/lib/aws/impl/HoopServices/HoopService.d.ts +28 -0
  32. package/lib/aws/impl/HoopServices/HoopService.js +124 -0
  33. package/lib/aws/impl/HoopServices/HoopServiceFactory.d.ts +17 -0
  34. package/lib/aws/impl/HoopServices/HoopServiceFactory.js +53 -0
  35. package/lib/aws/impl/HoopServices/HoopServiceOpenRequest.d.ts +18 -0
  36. package/lib/aws/impl/HoopServices/HoopServiceOpenRequest.js +24 -0
  37. package/lib/aws/impl/HoopServices/HoopServiceResource.d.ts +29 -0
  38. package/lib/aws/impl/HoopServices/HoopServiceResource.js +46 -0
  39. package/lib/aws/impl/HoopServices/HoopServiceTransaction.d.ts +22 -0
  40. package/lib/aws/impl/HoopServices/HoopServiceTransaction.js +37 -0
  41. package/lib/aws/interface/IDirection.d.ts +2 -0
  42. package/lib/aws/interface/IDirection.js +2 -0
  43. package/lib/aws/interface/ILink.d.ts +2 -0
  44. package/lib/aws/interface/ILink.js +2 -0
  45. package/lib/aws/interface/IServiceDBOpenRequest.d.ts +3 -0
  46. package/lib/aws/interface/IServiceDBOpenRequest.js +2 -0
  47. package/lib/aws/interface/IServiceObjectStore.d.ts +3 -0
  48. package/lib/aws/interface/IServiceObjectStore.js +2 -0
  49. package/lib/aws/interface/IServiceObjectStoreParameters.d.ts +4 -0
  50. package/lib/aws/interface/IServiceObjectStoreParameters.js +2 -0
  51. package/lib/aws/interface/IServiceRequest.d.ts +3 -0
  52. package/lib/aws/interface/IServiceRequest.js +2 -0
  53. package/lib/aws/interface/IServiceResource.d.ts +7 -0
  54. package/lib/aws/interface/IServiceResource.js +2 -0
  55. package/lib/aws/interface/IServiceTransation.d.ts +3 -0
  56. package/lib/aws/interface/IServiceTransation.js +2 -0
  57. package/lib/aws/interface/ISubResourceUri.d.ts +2 -0
  58. package/lib/aws/interface/ISubResourceUri.js +2 -0
  59. package/lib/aws/interface/ISyncItemData.d.ts +0 -0
  60. package/lib/aws/interface/ISyncItemData.js +1 -0
  61. package/lib/aws/interface/ISyncObjectStoreParameters.d.ts +0 -0
  62. package/lib/aws/interface/ISyncObjectStoreParameters.js +1 -0
  63. package/lib/aws/interface/ISyncTransactionOptions.d.ts +4 -0
  64. package/lib/aws/interface/ISyncTransactionOptions.js +2 -0
  65. package/lib/common/abstract/CommonError.d.ts +8 -0
  66. package/lib/common/abstract/CommonError.js +12 -0
  67. package/lib/common/abstract/Database.d.ts +44 -0
  68. package/lib/common/abstract/Database.js +58 -0
  69. package/lib/common/abstract/DatabaseClient.d.ts +11 -0
  70. package/lib/common/abstract/DatabaseClient.js +21 -0
  71. package/lib/common/abstract/DatabaseClientConfig.d.ts +5 -0
  72. package/lib/common/abstract/DatabaseClientConfig.js +9 -0
  73. package/lib/common/abstract/DatabaseFactory.d.ts +70 -0
  74. package/lib/common/abstract/DatabaseFactory.js +32 -0
  75. package/lib/common/abstract/DatabaseObjectStore.d.ts +29 -0
  76. package/lib/common/abstract/DatabaseObjectStore.js +13 -0
  77. package/lib/common/abstract/DatabaseOpenRequest.d.ts +24 -0
  78. package/lib/common/abstract/DatabaseOpenRequest.js +13 -0
  79. package/lib/common/abstract/DatabaseRequest.d.ts +21 -0
  80. package/lib/common/abstract/DatabaseRequest.js +14 -0
  81. package/lib/common/abstract/DatabaseTransaction.d.ts +22 -0
  82. package/lib/common/abstract/DatabaseTransaction.js +13 -0
  83. package/lib/common/abstract/Filter.d.ts +12 -0
  84. package/lib/common/abstract/Filter.js +30 -0
  85. package/lib/common/enum/ErrorTypes.d.ts +4 -0
  86. package/lib/common/enum/ErrorTypes.js +9 -0
  87. package/lib/common/enum/FilterTypes.d.ts +10 -0
  88. package/lib/common/enum/FilterTypes.js +14 -0
  89. package/lib/common/interface/IDatabaesInfo.d.ts +2 -0
  90. package/lib/common/interface/IDatabaesInfo.js +2 -0
  91. package/lib/common/interface/IDatabase.d.ts +4 -0
  92. package/lib/common/interface/IDatabase.js +2 -0
  93. package/lib/common/interface/IDatabaseClient.d.ts +5 -0
  94. package/lib/common/interface/IDatabaseClient.js +2 -0
  95. package/lib/common/interface/IDatabaseConfig.d.ts +8 -0
  96. package/lib/common/interface/IDatabaseConfig.js +10 -0
  97. package/lib/common/interface/IDatabaseDBOpenRequest.d.ts +2 -0
  98. package/lib/common/interface/IDatabaseDBOpenRequest.js +2 -0
  99. package/lib/common/interface/IDatabaseFactory.d.ts +21 -0
  100. package/lib/common/interface/IDatabaseFactory.js +2 -0
  101. package/lib/common/interface/IDatabaseObjectStore.d.ts +2 -0
  102. package/lib/common/interface/IDatabaseObjectStore.js +2 -0
  103. package/lib/common/interface/IDatabaseObjectStoreParameters.d.ts +2 -0
  104. package/lib/common/interface/IDatabaseObjectStoreParameters.js +2 -0
  105. package/lib/common/interface/IDatabaseRecord.d.ts +2 -0
  106. package/lib/common/interface/IDatabaseRecord.js +2 -0
  107. package/lib/common/interface/IDatabaseRequest.d.ts +2 -0
  108. package/lib/common/interface/IDatabaseRequest.js +2 -0
  109. package/lib/common/interface/IDatabaseTransaction.d.ts +2 -0
  110. package/lib/common/interface/IDatabaseTransaction.js +2 -0
  111. package/lib/common/interface/IDatabaseTransactionOptions.d.ts +2 -0
  112. package/lib/common/interface/IDatabaseTransactionOptions.js +2 -0
  113. package/lib/common/interface/IError.d.ts +5 -0
  114. package/lib/common/interface/IError.js +2 -0
  115. package/lib/common/interface/IErrorDetails.d.ts +6 -0
  116. package/lib/common/interface/IErrorDetails.js +2 -0
  117. package/lib/common/interface/IFilter.d.ts +25 -0
  118. package/lib/common/interface/IFilter.js +2 -0
  119. package/lib/common/type/DatabaseReadyType.d.ts +1 -0
  120. package/lib/common/type/DatabaseReadyType.js +2 -0
  121. package/lib/common/type/FilterInputType.d.ts +1 -0
  122. package/lib/common/type/FilterInputType.js +2 -0
  123. package/lib/common/type/SearchParameterType.d.ts +15 -0
  124. package/lib/common/type/SearchParameterType.js +3 -0
  125. package/lib/common/utils/dateFormat.d.ts +1 -0
  126. package/lib/common/utils/dateFormat.js +58 -0
  127. package/lib/common/utils/filter.d.ts +1 -0
  128. package/lib/common/utils/filter.js +99 -0
  129. package/lib/common/utils/newFilter.d.ts +1 -0
  130. package/lib/common/utils/newFilter.js +126 -0
  131. package/lib/common/utils/pagination.d.ts +1 -0
  132. package/lib/common/utils/pagination.js +9 -0
  133. package/lib/common/utils/search.d.ts +1 -0
  134. package/lib/common/utils/search.js +14 -0
  135. package/lib/common/utils/sort.d.ts +1 -0
  136. package/lib/common/utils/sort.js +29 -0
  137. package/lib/config/AWSConfig.d.ts +6 -0
  138. package/lib/config/AWSConfig.js +9 -0
  139. package/lib/config/DatabaseConfig.d.ts +33 -0
  140. package/lib/config/DatabaseConfig.js +36 -0
  141. package/lib/config/TwilioConfig.d.ts +4 -0
  142. package/lib/config/TwilioConfig.js +7 -0
  143. package/lib/controller/Common.d.ts +20 -0
  144. package/lib/controller/Common.js +57 -0
  145. package/lib/controller/DatabaseFactoryCollection.d.ts +6 -0
  146. package/lib/controller/DatabaseFactoryCollection.js +14 -0
  147. package/lib/controller/MainController.d.ts +6 -0
  148. package/lib/controller/MainController.js +174 -0
  149. package/lib/controller/aws/HoopBuisnessHours.d.ts +23 -0
  150. package/lib/controller/aws/HoopBuisnessHours.js +408 -0
  151. package/lib/controller/aws/HoopOperationsController.d.ts +9 -0
  152. package/lib/controller/aws/HoopOperationsController.js +86 -0
  153. package/lib/controller/aws/HoopOverrideBranchesController.d.ts +7 -0
  154. package/lib/controller/aws/HoopOverrideBranchesController.js +40 -0
  155. package/lib/controller/aws/HoopProfilesListController.d.ts +8 -0
  156. package/lib/controller/aws/HoopProfilesListController.js +61 -0
  157. package/lib/controller/aws/PlaybackScreenrecordings.d.ts +9 -0
  158. package/lib/controller/aws/PlaybackScreenrecordings.js +63 -0
  159. package/lib/controller/twilio/AgentActionsController.d.ts +54 -0
  160. package/lib/controller/twilio/AgentActionsController.js +177 -0
  161. package/lib/controller/twilio/AgentScorecardController.d.ts +53 -0
  162. package/lib/controller/twilio/AgentScorecardController.js +173 -0
  163. package/lib/controller/twilio/AuditLogController.d.ts +15 -0
  164. package/lib/controller/twilio/AuditLogController.js +137 -0
  165. package/lib/controller/twilio/CallLogsController.d.ts +12 -0
  166. package/lib/controller/twilio/CallLogsController.js +131 -0
  167. package/lib/controller/twilio/CallbackAndVoicemailController.d.ts +12 -0
  168. package/lib/controller/twilio/CallbackAndVoicemailController.js +114 -0
  169. package/lib/controller/twilio/ChannelSettingTaskInfoController.d.ts +11 -0
  170. package/lib/controller/twilio/ChannelSettingTaskInfoController.js +117 -0
  171. package/lib/controller/twilio/ChannelSettingsController.d.ts +16 -0
  172. package/lib/controller/twilio/ChannelSettingsController.js +142 -0
  173. package/lib/controller/twilio/CxConfigAssetController.d.ts +12 -0
  174. package/lib/controller/twilio/CxConfigAssetController.js +128 -0
  175. package/lib/controller/twilio/CxConfigController.d.ts +18 -0
  176. package/lib/controller/twilio/CxConfigController.js +112 -0
  177. package/lib/controller/twilio/CxConfigExternalNumbersController.d.ts +12 -0
  178. package/lib/controller/twilio/CxConfigExternalNumbersController.js +138 -0
  179. package/lib/controller/twilio/CxConfigOther.d.ts +16 -0
  180. package/lib/controller/twilio/CxConfigOther.js +138 -0
  181. package/lib/controller/twilio/CxConfigQueueMenuController.d.ts +12 -0
  182. package/lib/controller/twilio/CxConfigQueueMenuController.js +129 -0
  183. package/lib/controller/twilio/CxConfigUIconfigController.d.ts +12 -0
  184. package/lib/controller/twilio/CxConfigUIconfigController.js +132 -0
  185. package/lib/controller/twilio/GPMController.d.ts +12 -0
  186. package/lib/controller/twilio/GPMController.js +151 -0
  187. package/lib/controller/twilio/HoopBusinessHoursController.d.ts +18 -0
  188. package/lib/controller/twilio/HoopBusinessHoursController.js +285 -0
  189. package/lib/controller/twilio/HoopHolidaysController.d.ts +14 -0
  190. package/lib/controller/twilio/HoopHolidaysController.js +152 -0
  191. package/lib/controller/twilio/HoopMainController.d.ts +13 -0
  192. package/lib/controller/twilio/HoopMainController.js +297 -0
  193. package/lib/controller/twilio/HoopNotesController.d.ts +14 -0
  194. package/lib/controller/twilio/HoopNotesController.js +149 -0
  195. package/lib/controller/twilio/HoopOperationsController.d.ts +14 -0
  196. package/lib/controller/twilio/HoopOperationsController.js +138 -0
  197. package/lib/controller/twilio/HoopOverrideBranchesController.d.ts +14 -0
  198. package/lib/controller/twilio/HoopOverrideBranchesController.js +137 -0
  199. package/lib/controller/twilio/HoopPartialDaysController.d.ts +14 -0
  200. package/lib/controller/twilio/HoopPartialDaysController.js +152 -0
  201. package/lib/controller/twilio/HoopProfilesListController.d.ts +14 -0
  202. package/lib/controller/twilio/HoopProfilesListController.js +147 -0
  203. package/lib/controller/twilio/NavigationController.d.ts +13 -0
  204. package/lib/controller/twilio/NavigationController.js +170 -0
  205. package/lib/controller/twilio/QualityFormsController.d.ts +12 -0
  206. package/lib/controller/twilio/QualityFormsController.js +129 -0
  207. package/lib/controller/twilio/QuickLinkController.d.ts +11 -0
  208. package/lib/controller/twilio/QuickLinkController.js +122 -0
  209. package/lib/controller/twilio/RealTimeReportQueueDetailsController.d.ts +14 -0
  210. package/lib/controller/twilio/RealTimeReportQueueDetailsController.js +126 -0
  211. package/lib/controller/twilio/RealTimeReportsWGDetailsController.d.ts +53 -0
  212. package/lib/controller/twilio/RealTimeReportsWGDetailsController.js +160 -0
  213. package/lib/controller/twilio/TaskInfoPanelController.d.ts +15 -0
  214. package/lib/controller/twilio/TaskInfoPanelController.js +134 -0
  215. package/lib/controller/twilio/filterImpl/AgentScorecardFilter.d.ts +12 -0
  216. package/lib/controller/twilio/filterImpl/AgentScorecardFilter.js +52 -0
  217. package/lib/controller/twilio/filterImpl/AuditLogsFilter.d.ts +12 -0
  218. package/lib/controller/twilio/filterImpl/AuditLogsFilter.js +89 -0
  219. package/lib/controller/twilio/filterImpl/CXConfigPromptFilter.d.ts +12 -0
  220. package/lib/controller/twilio/filterImpl/CXConfigPromptFilter.js +81 -0
  221. package/lib/controller/twilio/filterImpl/CallLogsFilter.d.ts +20 -0
  222. package/lib/controller/twilio/filterImpl/CallLogsFilter.js +101 -0
  223. package/lib/controller/twilio/filterImpl/CxConfigAssetFilter.d.ts +12 -0
  224. package/lib/controller/twilio/filterImpl/CxConfigAssetFilter.js +59 -0
  225. package/lib/controller/twilio/filterImpl/CxConfigExternalNumbersFilter.d.ts +12 -0
  226. package/lib/controller/twilio/filterImpl/CxConfigExternalNumbersFilter.js +67 -0
  227. package/lib/controller/twilio/filterImpl/CxConfigOtherFilter.d.ts +14 -0
  228. package/lib/controller/twilio/filterImpl/CxConfigOtherFilter.js +52 -0
  229. package/lib/controller/twilio/filterImpl/CxConfigQueueMenuFilter.d.ts +17 -0
  230. package/lib/controller/twilio/filterImpl/CxConfigQueueMenuFilter.js +78 -0
  231. package/lib/controller/twilio/filterImpl/CxConfigUIconfigFilter.d.ts +12 -0
  232. package/lib/controller/twilio/filterImpl/CxConfigUIconfigFilter.js +51 -0
  233. package/lib/controller/twilio/filterImpl/HoopHolidaysFilter.d.ts +14 -0
  234. package/lib/controller/twilio/filterImpl/HoopHolidaysFilter.js +58 -0
  235. package/lib/controller/twilio/filterImpl/HoopNotesFilter.d.ts +12 -0
  236. package/lib/controller/twilio/filterImpl/HoopNotesFilter.js +51 -0
  237. package/lib/controller/twilio/filterImpl/HoopPartialDaysFilter.d.ts +14 -0
  238. package/lib/controller/twilio/filterImpl/HoopPartialDaysFilter.js +58 -0
  239. package/lib/controller/twilio/filterImpl/MainFilterService.d.ts +4 -0
  240. package/lib/controller/twilio/filterImpl/MainFilterService.js +108 -0
  241. package/lib/controller/twilio/filterImpl/NavigationFilter.d.ts +20 -0
  242. package/lib/controller/twilio/filterImpl/NavigationFilter.js +90 -0
  243. package/lib/controller/twilio/filterImpl/QueueDetailsFilter.d.ts +14 -0
  244. package/lib/controller/twilio/filterImpl/QueueDetailsFilter.js +53 -0
  245. package/lib/controller/twilio/filterImpl/TaskCompleteFilter.d.ts +12 -0
  246. package/lib/controller/twilio/filterImpl/TaskCompleteFilter.js +62 -0
  247. package/lib/controller/twilio/filterImpl/TaskInfoPanelFilter.d.ts +12 -0
  248. package/lib/controller/twilio/filterImpl/TaskInfoPanelFilter.js +52 -0
  249. package/lib/express/ApiResponse.d.ts +15 -0
  250. package/lib/express/ApiResponse.js +11 -0
  251. package/lib/express/RequestValidator.d.ts +50 -0
  252. package/lib/express/RequestValidator.js +77 -0
  253. package/lib/express/RequireParamsPicker.d.ts +7 -0
  254. package/lib/express/RequireParamsPicker.js +14 -0
  255. package/lib/express/ValidateRequireParameters.d.ts +3 -0
  256. package/lib/express/ValidateRequireParameters.js +39 -0
  257. package/lib/index.d.ts +39 -0
  258. package/lib/index.js +100 -0
  259. package/lib/models/BatchUpdateSkills.model.d.ts +0 -0
  260. package/lib/models/BatchUpdateSkills.model.js +11 -0
  261. package/lib/models/CannedMessage.model.d.ts +4 -0
  262. package/lib/models/CannedMessage.model.js +1 -0
  263. package/lib/models/ChannelSettingsTaskInfo.model.d.ts +87 -0
  264. package/lib/models/ChannelSettingsTaskInfo.model.js +1 -0
  265. package/lib/models/CustomerFeedback.model.d.ts +9 -0
  266. package/lib/models/CustomerFeedback.model.js +1 -0
  267. package/lib/models/Filter.model.d.ts +15 -0
  268. package/lib/models/Filter.model.js +2 -0
  269. package/lib/models/Hoop.model.d.ts +15 -0
  270. package/lib/models/Hoop.model.js +18 -0
  271. package/lib/models/Navigation.model.d.ts +28 -0
  272. package/lib/models/Navigation.model.js +8 -0
  273. package/lib/models/Roles.Model.d.ts +8 -0
  274. package/lib/models/Roles.Model.js +1 -0
  275. package/lib/models/abstract/BaseModel.d.ts +17 -0
  276. package/lib/models/abstract/BaseModel.js +40 -0
  277. package/lib/models/impl/AgentActionsLogsModel.d.ts +27 -0
  278. package/lib/models/impl/AgentActionsLogsModel.js +89 -0
  279. package/lib/models/impl/AgentActionsModel.d.ts +19 -0
  280. package/lib/models/impl/AgentActionsModel.js +60 -0
  281. package/lib/models/impl/AgentScorecardModel.d.ts +66 -0
  282. package/lib/models/impl/AgentScorecardModel.js +282 -0
  283. package/lib/models/impl/AuditLogsModel.d.ts +31 -0
  284. package/lib/models/impl/AuditLogsModel.js +146 -0
  285. package/lib/models/impl/CallLogsModel.d.ts +37 -0
  286. package/lib/models/impl/CallLogsModel.js +109 -0
  287. package/lib/models/impl/CallStatisticsModel.d.ts +16 -0
  288. package/lib/models/impl/CallStatisticsModel.js +52 -0
  289. package/lib/models/impl/CategoryDetailsModel.d.ts +17 -0
  290. package/lib/models/impl/CategoryDetailsModel.js +44 -0
  291. package/lib/models/impl/MemberModel.d.ts +42 -0
  292. package/lib/models/impl/MemberModel.js +170 -0
  293. package/lib/models/impl/ModelValidationError.d.ts +6 -0
  294. package/lib/models/impl/ModelValidationError.js +15 -0
  295. package/lib/models/impl/NavigationModel.d.ts +39 -0
  296. package/lib/models/impl/NavigationModel.js +126 -0
  297. package/lib/models/impl/PerformanceStatisticsModel.d.ts +41 -0
  298. package/lib/models/impl/PerformanceStatisticsModel.js +129 -0
  299. package/lib/models/impl/PlaybackScreenrecordings.d.ts +39 -0
  300. package/lib/models/impl/PlaybackScreenrecordings.js +133 -0
  301. package/lib/models/impl/ProfileModel.d.ts +23 -0
  302. package/lib/models/impl/ProfileModel.js +102 -0
  303. package/lib/models/impl/QualityFormsModel.d.ts +39 -0
  304. package/lib/models/impl/QualityFormsModel.js +150 -0
  305. package/lib/models/impl/QuestionDetailsModel.d.ts +39 -0
  306. package/lib/models/impl/QuestionDetailsModel.js +173 -0
  307. package/lib/models/impl/QueueDetailsModel.d.ts +63 -0
  308. package/lib/models/impl/QueueDetailsModel.js +261 -0
  309. package/lib/models/impl/QueueModel.d.ts +39 -0
  310. package/lib/models/impl/QueueModel.js +156 -0
  311. package/lib/models/impl/QuickLinkModel.d.ts +24 -0
  312. package/lib/models/impl/QuickLinkModel.js +122 -0
  313. package/lib/models/impl/StatisticsNumberDetailsModel.d.ts +18 -0
  314. package/lib/models/impl/StatisticsNumberDetailsModel.js +72 -0
  315. package/lib/models/impl/StatisticsTimeDetailsModel.d.ts +18 -0
  316. package/lib/models/impl/StatisticsTimeDetailsModel.js +72 -0
  317. package/lib/models/impl/TaskAttributesModel.d.ts +31 -0
  318. package/lib/models/impl/TaskAttributesModel.js +108 -0
  319. package/lib/models/impl/TaskChannelModel.d.ts +15 -0
  320. package/lib/models/impl/TaskChannelModel.js +69 -0
  321. package/lib/models/impl/TaskComplete.d.ts +0 -0
  322. package/lib/models/impl/TaskComplete.js +1 -0
  323. package/lib/models/impl/TaskInfoPanelModel.d.ts +16 -0
  324. package/lib/models/impl/TaskInfoPanelModel.js +69 -0
  325. package/lib/models/impl/TaskModel.d.ts +59 -0
  326. package/lib/models/impl/TaskModel.js +234 -0
  327. package/lib/models/impl/WorkGroupDetailsModel.d.ts +63 -0
  328. package/lib/models/impl/WorkGroupDetailsModel.js +281 -0
  329. package/lib/models/impl/callbackandvoicemail/CallbackAndVoicemailModel.d.ts +33 -0
  330. package/lib/models/impl/callbackandvoicemail/CallbackAndVoicemailModel.js +140 -0
  331. package/lib/models/impl/callbackandvoicemail/CallbackAndVoicemailNamespace.d.ts +8 -0
  332. package/lib/models/impl/callbackandvoicemail/CallbackAndVoicemailNamespace.js +12 -0
  333. package/lib/models/impl/callbackandvoicemail/CallbackModel.d.ts +19 -0
  334. package/lib/models/impl/callbackandvoicemail/CallbackModel.js +82 -0
  335. package/lib/models/impl/callbackandvoicemail/VoicemailModel.d.ts +25 -0
  336. package/lib/models/impl/callbackandvoicemail/VoicemailModel.js +108 -0
  337. package/lib/models/impl/channelsettings/ChannelSettingModel.d.ts +68 -0
  338. package/lib/models/impl/channelsettings/ChannelSettingModel.js +240 -0
  339. package/lib/models/impl/channelsettings/ChannelSettingTaskInfoModel.d.ts +31 -0
  340. package/lib/models/impl/channelsettings/ChannelSettingTaskInfoModel.js +106 -0
  341. package/lib/models/impl/channelsettings/TaskInfoAttributeModel.d.ts +25 -0
  342. package/lib/models/impl/channelsettings/TaskInfoAttributeModel.js +80 -0
  343. package/lib/models/impl/channelsettings/TaskInfoModel.d.ts +13 -0
  344. package/lib/models/impl/channelsettings/TaskInfoModel.js +52 -0
  345. package/lib/models/impl/cxconfig/CxConfigNamespace.d.ts +16 -0
  346. package/lib/models/impl/cxconfig/CxConfigNamespace.js +20 -0
  347. package/lib/models/impl/cxconfig/CxConfigUIConfigModel.d.ts +27 -0
  348. package/lib/models/impl/cxconfig/CxConfigUIConfigModel.js +173 -0
  349. package/lib/models/impl/cxconfig/CxConfiguratorConfigModel.d.ts +24 -0
  350. package/lib/models/impl/cxconfig/CxConfiguratorConfigModel.js +103 -0
  351. package/lib/models/impl/cxconfig/CxConfiguratorExternalNumbersModel.d.ts +24 -0
  352. package/lib/models/impl/cxconfig/CxConfiguratorExternalNumbersModel.js +149 -0
  353. package/lib/models/impl/cxconfig/CxConfiguratorGPMAssetModel.d.ts +27 -0
  354. package/lib/models/impl/cxconfig/CxConfiguratorGPMAssetModel.js +179 -0
  355. package/lib/models/impl/cxconfig/CxConfiguratorGPMPromptModel.d.ts +37 -0
  356. package/lib/models/impl/cxconfig/CxConfiguratorGPMPromptModel.js +197 -0
  357. package/lib/models/impl/cxconfig/CxConfiguratorOtherModel.d.ts +27 -0
  358. package/lib/models/impl/cxconfig/CxConfiguratorOtherModel.js +159 -0
  359. package/lib/models/impl/cxconfig/CxConfiguratorQueueMenuModel.d.ts +40 -0
  360. package/lib/models/impl/cxconfig/CxConfiguratorQueueMenuModel.js +128 -0
  361. package/lib/models/impl/hoop/HoopBusinessHoursModel.d.ts +39 -0
  362. package/lib/models/impl/hoop/HoopBusinessHoursModel.js +122 -0
  363. package/lib/models/impl/hoop/HoopDescriptionModel.d.ts +16 -0
  364. package/lib/models/impl/hoop/HoopDescriptionModel.js +64 -0
  365. package/lib/models/impl/hoop/HoopHolidaysImplModel.d.ts +25 -0
  366. package/lib/models/impl/hoop/HoopHolidaysImplModel.js +118 -0
  367. package/lib/models/impl/hoop/HoopNotesImplModel.d.ts +25 -0
  368. package/lib/models/impl/hoop/HoopNotesImplModel.js +117 -0
  369. package/lib/models/impl/hoop/HoopOperationsImplModel.d.ts +28 -0
  370. package/lib/models/impl/hoop/HoopOperationsImplModel.js +161 -0
  371. package/lib/models/impl/hoop/HoopOverrideImplModel.d.ts +22 -0
  372. package/lib/models/impl/hoop/HoopOverrideImplModel.js +143 -0
  373. package/lib/models/impl/hoop/HoopPartialDaysImplModel.d.ts +31 -0
  374. package/lib/models/impl/hoop/HoopPartialDaysImplModel.js +140 -0
  375. package/lib/models/impl/hoop/HoopProfilesListImplModel.d.ts +22 -0
  376. package/lib/models/impl/hoop/HoopProfilesListImplModel.js +104 -0
  377. package/lib/models/impl/hoop/HoopWeeklyTimingModel.d.ts +22 -0
  378. package/lib/models/impl/hoop/HoopWeeklyTimingModel.js +86 -0
  379. package/lib/models/index.d.ts +25 -0
  380. package/lib/models/index.js +53 -0
  381. package/lib/models/interface/IBaseModel.d.ts +11 -0
  382. package/lib/models/interface/IBaseModel.js +2 -0
  383. package/lib/models/types/AgentScorecard.type.d.ts +6 -0
  384. package/lib/models/types/AgentScorecard.type.js +7 -0
  385. package/lib/models/types/AuditLog.type.d.ts +13 -0
  386. package/lib/models/types/AuditLog.type.js +10 -0
  387. package/lib/models/types/CallLog.type.d.ts +16 -0
  388. package/lib/models/types/CallLog.type.js +10 -0
  389. package/lib/models/types/ChannelSetting.type.d.ts +7 -0
  390. package/lib/models/types/ChannelSetting.type.js +11 -0
  391. package/lib/models/types/CxConfig.type.d.ts +72 -0
  392. package/lib/models/types/CxConfig.type.js +43 -0
  393. package/lib/models/types/Hoop.type.d.ts +9 -0
  394. package/lib/models/types/Hoop.type.js +13 -0
  395. package/lib/models/types/Navigation.type.d.ts +11 -0
  396. package/lib/models/types/Navigation.type.js +8 -0
  397. package/lib/models/types/Profile.type.d.ts +1 -0
  398. package/lib/models/types/Profile.type.js +2 -0
  399. package/lib/models/types/QueueDetails.type.d.ts +6 -0
  400. package/lib/models/types/QueueDetails.type.js +7 -0
  401. package/lib/models/types/TaskComplete.type.d.ts +7 -0
  402. package/lib/models/types/TaskComplete.type.js +6 -0
  403. package/lib/models/types/TaskInfoPanel.type.d.ts +6 -0
  404. package/lib/models/types/TaskInfoPanel.type.js +7 -0
  405. package/lib/server.d.ts +1 -0
  406. package/lib/server.js +39 -0
  407. package/lib/twilio/abstract/ServiceObjectStore.d.ts +6 -0
  408. package/lib/twilio/abstract/ServiceObjectStore.js +10 -0
  409. package/lib/twilio/abstract/ServiceOpenRequest.d.ts +7 -0
  410. package/lib/twilio/abstract/ServiceOpenRequest.js +10 -0
  411. package/lib/twilio/abstract/ServiceRequest.d.ts +3 -0
  412. package/lib/twilio/abstract/ServiceRequest.js +7 -0
  413. package/lib/twilio/abstract/ServiceResource.d.ts +23 -0
  414. package/lib/twilio/abstract/ServiceResource.js +37 -0
  415. package/lib/twilio/abstract/ServiceResourceFactory.d.ts +15 -0
  416. package/lib/twilio/abstract/ServiceResourceFactory.js +18 -0
  417. package/lib/twilio/abstract/ServiceTransaction.d.ts +6 -0
  418. package/lib/twilio/abstract/ServiceTransaction.js +11 -0
  419. package/lib/twilio/abstract/SyncServiceItemResource.d.ts +31 -0
  420. package/lib/twilio/abstract/SyncServiceItemResource.js +60 -0
  421. package/lib/twilio/abstract/TwilioClientConfig.d.ts +0 -0
  422. package/lib/twilio/abstract/TwilioClientConfig.js +1 -0
  423. package/lib/twilio/impl/TwilioAPIKeyConfig.d.ts +14 -0
  424. package/lib/twilio/impl/TwilioAPIKeyConfig.js +31 -0
  425. package/lib/twilio/impl/TwilioAuthTokenConfig.d.ts +11 -0
  426. package/lib/twilio/impl/TwilioAuthTokenConfig.js +24 -0
  427. package/lib/twilio/impl/TwilioClient.d.ts +6 -0
  428. package/lib/twilio/impl/TwilioClient.js +21 -0
  429. package/lib/twilio/impl/message/messageService.d.ts +0 -0
  430. package/lib/twilio/impl/message/messageService.js +42 -0
  431. package/lib/twilio/impl/sync/SyncDocument.d.ts +24 -0
  432. package/lib/twilio/impl/sync/SyncDocument.js +52 -0
  433. package/lib/twilio/impl/sync/SyncDocumentTransaction.d.ts +20 -0
  434. package/lib/twilio/impl/sync/SyncDocumentTransaction.js +31 -0
  435. package/lib/twilio/impl/sync/SyncList.d.ts +24 -0
  436. package/lib/twilio/impl/sync/SyncList.js +52 -0
  437. package/lib/twilio/impl/sync/SyncListItem.d.ts +5 -0
  438. package/lib/twilio/impl/sync/SyncListItem.js +22 -0
  439. package/lib/twilio/impl/sync/SyncListTransaction.d.ts +20 -0
  440. package/lib/twilio/impl/sync/SyncListTransaction.js +31 -0
  441. package/lib/twilio/impl/sync/SyncMap.d.ts +25 -0
  442. package/lib/twilio/impl/sync/SyncMap.js +139 -0
  443. package/lib/twilio/impl/sync/SyncMapItem.d.ts +5 -0
  444. package/lib/twilio/impl/sync/SyncMapItem.js +7 -0
  445. package/lib/twilio/impl/sync/SyncMapTransaction.d.ts +22 -0
  446. package/lib/twilio/impl/sync/SyncMapTransaction.js +38 -0
  447. package/lib/twilio/impl/sync/SyncOpenRequest.d.ts +18 -0
  448. package/lib/twilio/impl/sync/SyncOpenRequest.js +24 -0
  449. package/lib/twilio/impl/sync/SyncRequest.d.ts +16 -0
  450. package/lib/twilio/impl/sync/SyncRequest.js +21 -0
  451. package/lib/twilio/impl/sync/SyncResource.d.ts +50 -0
  452. package/lib/twilio/impl/sync/SyncResource.js +97 -0
  453. package/lib/twilio/impl/sync/SyncServiceFactory.d.ts +22 -0
  454. package/lib/twilio/impl/sync/SyncServiceFactory.js +117 -0
  455. package/lib/twilio/interface/IDirection.d.ts +2 -0
  456. package/lib/twilio/interface/IDirection.js +2 -0
  457. package/lib/twilio/interface/ILink.d.ts +2 -0
  458. package/lib/twilio/interface/ILink.js +2 -0
  459. package/lib/twilio/interface/IServiceDBOpenRequest.d.ts +3 -0
  460. package/lib/twilio/interface/IServiceDBOpenRequest.js +2 -0
  461. package/lib/twilio/interface/IServiceObjectStore.d.ts +3 -0
  462. package/lib/twilio/interface/IServiceObjectStore.js +2 -0
  463. package/lib/twilio/interface/IServiceObjectStoreParameters.d.ts +4 -0
  464. package/lib/twilio/interface/IServiceObjectStoreParameters.js +2 -0
  465. package/lib/twilio/interface/IServiceRequest.d.ts +3 -0
  466. package/lib/twilio/interface/IServiceRequest.js +2 -0
  467. package/lib/twilio/interface/IServiceResource.d.ts +8 -0
  468. package/lib/twilio/interface/IServiceResource.js +2 -0
  469. package/lib/twilio/interface/IServiceTransation.d.ts +3 -0
  470. package/lib/twilio/interface/IServiceTransation.js +2 -0
  471. package/lib/twilio/interface/ISubResourceUri.d.ts +2 -0
  472. package/lib/twilio/interface/ISubResourceUri.js +2 -0
  473. package/lib/twilio/interface/ISyncItemData.d.ts +0 -0
  474. package/lib/twilio/interface/ISyncItemData.js +1 -0
  475. package/lib/twilio/interface/ISyncObjectStoreParameters.d.ts +0 -0
  476. package/lib/twilio/interface/ISyncObjectStoreParameters.js +1 -0
  477. package/lib/twilio/interface/ISyncTransactionOptions.d.ts +4 -0
  478. package/lib/twilio/interface/ISyncTransactionOptions.js +2 -0
  479. package/package.json +1 -1
@@ -0,0 +1,240 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
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;
@@ -0,0 +1,31 @@
1
+ import { validationMessage } from "../../interface/IBaseModel";
2
+ import { BaseModel } from "../../abstract/BaseModel";
3
+ import { ChannelTypeEnum } from "../../types/ChannelSetting.type";
4
+ import { TaskInfoModel } from "./TaskInfoModel";
5
+ export declare class ChannelSettingTaskInfoModel extends BaseModel {
6
+ private _id;
7
+ private _channelId;
8
+ private _name;
9
+ private _channelType;
10
+ private _taskInfoGroup;
11
+ private _createdBy;
12
+ private _createdDate;
13
+ private _updatedBy?;
14
+ private _updatedDate?;
15
+ constructor(id: string, channelId: string, name: string, channelType: ChannelTypeEnum, taskInfoGroup: TaskInfoModel[], createdBy: string, createdDate: Date);
16
+ get id(): string;
17
+ get channelId(): string;
18
+ get name(): string;
19
+ set name(value: string);
20
+ get channelType(): ChannelTypeEnum;
21
+ set channelType(value: ChannelTypeEnum);
22
+ get taskInfoGroup(): TaskInfoModel[];
23
+ set taskInfoGroup(value: TaskInfoModel[]);
24
+ get createdDate(): Date;
25
+ get createdBy(): string;
26
+ get updatedDate(): Date | undefined;
27
+ set updatedDate(value: Date);
28
+ get updatedBy(): string | undefined;
29
+ set updatedBy(value: string);
30
+ validateData(): validationMessage[];
31
+ }
@@ -0,0 +1,106 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
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;
@@ -0,0 +1,25 @@
1
+ import { BaseModel } from "../../abstract/BaseModel";
2
+ import { validationMessage } from "../../interface/IBaseModel";
3
+ export declare enum TaskAttributeType {
4
+ readOnly = "Read Only",
5
+ input = "Input",
6
+ dropDown = "Drop Down",
7
+ warningMessage = "Warning Message",
8
+ verificationStatus = "Verification Status"
9
+ }
10
+ export declare class TaskInfoAttributeModel extends BaseModel {
11
+ private _attributeName;
12
+ private _label;
13
+ private _objectPath;
14
+ private _type;
15
+ constructor(attributeName: string, label: string, objectPath: string, type: TaskAttributeType);
16
+ get attributeName(): string;
17
+ set attributeName(value: string);
18
+ get label(): string;
19
+ set label(value: string);
20
+ get objectPath(): string;
21
+ set objectPath(value: string);
22
+ get type(): TaskAttributeType;
23
+ set type(value: TaskAttributeType);
24
+ validateData(): validationMessage[];
25
+ }
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
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;
@@ -0,0 +1,13 @@
1
+ import { BaseModel } from "../../abstract/BaseModel";
2
+ import { validationMessage } from "../../interface/IBaseModel";
3
+ import { TaskInfoAttributeModel } from "./TaskInfoAttributeModel";
4
+ export declare class TaskInfoModel extends BaseModel {
5
+ private _name;
6
+ private _attributes;
7
+ constructor(name: string, attributes: TaskInfoAttributeModel[]);
8
+ get name(): string;
9
+ set name(value: string);
10
+ get attributes(): TaskInfoAttributeModel[];
11
+ set attributes(value: TaskInfoAttributeModel[]);
12
+ validateData(): validationMessage[];
13
+ }
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
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;
@@ -0,0 +1,16 @@
1
+ import { CxConfiguratorConfigModel } from "./CxConfiguratorConfigModel";
2
+ import { CxConfiguratorExternalNumbersModel } from "./CxConfiguratorExternalNumbersModel";
3
+ import { CxConfiguratorGPMAssetModel } from "./CxConfiguratorGPMAssetModel";
4
+ import { CxConfiguratorGPMPromptModel } from "./CxConfiguratorGPMPromptModel";
5
+ import { CxConfiguratorOtherModel } from "./CxConfiguratorOtherModel";
6
+ import { CxConfiguratorQueueMenuModel } from "./CxConfiguratorQueueMenuModel";
7
+ import { CxGpmUIConfigModel } from "./CxConfigUIConfigModel";
8
+ export declare namespace CxConfigurator {
9
+ const GpmUIConfig: typeof CxGpmUIConfigModel;
10
+ const QueueModel: typeof CxConfiguratorQueueMenuModel;
11
+ const OtherModel: typeof CxConfiguratorOtherModel;
12
+ const ConfigModel: typeof CxConfiguratorConfigModel;
13
+ const ExternalNumberModel: typeof CxConfiguratorExternalNumbersModel;
14
+ const GpmAsset: typeof CxConfiguratorGPMAssetModel;
15
+ const GpmPrompt: typeof CxConfiguratorGPMPromptModel;
16
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CxConfigurator = void 0;
4
+ const CxConfiguratorConfigModel_1 = require("./CxConfiguratorConfigModel");
5
+ const CxConfiguratorExternalNumbersModel_1 = require("./CxConfiguratorExternalNumbersModel");
6
+ const CxConfiguratorGPMAssetModel_1 = require("./CxConfiguratorGPMAssetModel");
7
+ const CxConfiguratorGPMPromptModel_1 = require("./CxConfiguratorGPMPromptModel");
8
+ const CxConfiguratorOtherModel_1 = require("./CxConfiguratorOtherModel");
9
+ const CxConfiguratorQueueMenuModel_1 = require("./CxConfiguratorQueueMenuModel");
10
+ const CxConfigUIConfigModel_1 = require("./CxConfigUIConfigModel");
11
+ var CxConfigurator;
12
+ (function (CxConfigurator) {
13
+ CxConfigurator.GpmUIConfig = CxConfigUIConfigModel_1.CxGpmUIConfigModel;
14
+ CxConfigurator.QueueModel = CxConfiguratorQueueMenuModel_1.CxConfiguratorQueueMenuModel;
15
+ CxConfigurator.OtherModel = CxConfiguratorOtherModel_1.CxConfiguratorOtherModel;
16
+ CxConfigurator.ConfigModel = CxConfiguratorConfigModel_1.CxConfiguratorConfigModel;
17
+ CxConfigurator.ExternalNumberModel = CxConfiguratorExternalNumbersModel_1.CxConfiguratorExternalNumbersModel;
18
+ CxConfigurator.GpmAsset = CxConfiguratorGPMAssetModel_1.CxConfiguratorGPMAssetModel;
19
+ CxConfigurator.GpmPrompt = CxConfiguratorGPMPromptModel_1.CxConfiguratorGPMPromptModel;
20
+ })(CxConfigurator || (exports.CxConfigurator = CxConfigurator = {}));
@@ -0,0 +1,27 @@
1
+ import { BaseModel } from "../../abstract/BaseModel";
2
+ import { validationMessage } from "../../interface/IBaseModel";
3
+ /**
4
+ * Quick Link Model
5
+ */
6
+ export declare class CxGpmUIConfigModel extends BaseModel {
7
+ private _id;
8
+ private _name;
9
+ private _value;
10
+ private _description;
11
+ private _createdAt;
12
+ private _updatedAt;
13
+ constructor(id: string, name: string, value: string, description: string, createdAt: Date | undefined, updatedAt: Date | undefined);
14
+ get id(): string;
15
+ set id(value: string);
16
+ get name(): string;
17
+ set name(value: string);
18
+ get value(): string;
19
+ set value(value: string);
20
+ get description(): string;
21
+ set description(value: string);
22
+ get createdAt(): Date | undefined;
23
+ set createdAt(value: Date | undefined);
24
+ get updatedAt(): Date | undefined;
25
+ set updatedAt(value: Date | undefined);
26
+ validateData(): validationMessage[];
27
+ }