hgs-twilio-class-lib 1.1.53 → 1.1.54

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 (480) hide show
  1. package/lib/aws/abstract/ServiceObjectStore.d.ts +9 -0
  2. package/lib/aws/abstract/ServiceObjectStore.js +10 -1
  3. package/lib/aws/abstract/ServiceOpenRequest.d.ts +7 -0
  4. package/lib/aws/abstract/ServiceOpenRequest.js +10 -1
  5. package/lib/aws/abstract/ServiceRequest.d.ts +3 -0
  6. package/lib/aws/abstract/ServiceRequest.js +7 -1
  7. package/lib/aws/abstract/ServiceResource.d.ts +20 -0
  8. package/lib/aws/abstract/ServiceResource.js +31 -1
  9. package/lib/aws/abstract/ServiceResourceFactory.d.ts +13 -0
  10. package/lib/aws/abstract/ServiceResourceFactory.js +14 -1
  11. package/lib/aws/abstract/ServiceTransaction.d.ts +6 -0
  12. package/lib/aws/abstract/ServiceTransaction.js +11 -1
  13. package/lib/aws/impl/AWSAPIConfig.d.ts +14 -0
  14. package/lib/aws/impl/AWSAPIConfig.js +38 -1
  15. package/lib/aws/impl/AWSClient.d.ts +5 -0
  16. package/lib/aws/impl/AWSClient.js +21 -1
  17. package/lib/aws/impl/AWSConnectAPIConfig.d.ts +17 -0
  18. package/lib/aws/impl/AWSConnectAPIConfig.js +38 -1
  19. package/lib/aws/impl/DynamoDB/DynamoOpenRequest.d.ts +18 -0
  20. package/lib/aws/impl/DynamoDB/DynamoOpenRequest.js +24 -1
  21. package/lib/aws/impl/DynamoDB/DynamoRequest.d.ts +16 -0
  22. package/lib/aws/impl/DynamoDB/DynamoRequest.js +21 -1
  23. package/lib/aws/impl/DynamoDB/DynamoResourse.d.ts +29 -0
  24. package/lib/aws/impl/DynamoDB/DynamoResourse.js +45 -1
  25. package/lib/aws/impl/DynamoDB/DynamoServiceFactory.d.ts +16 -0
  26. package/lib/aws/impl/DynamoDB/DynamoServiceFactory.js +63 -1
  27. package/lib/aws/impl/DynamoDB/DynamoTable.d.ts +26 -0
  28. package/lib/aws/impl/DynamoDB/DynamoTable.js +126 -1
  29. package/lib/aws/impl/DynamoDB/DynamoTransaction.d.ts +21 -0
  30. package/lib/aws/impl/DynamoDB/DynamoTransaction.js +37 -1
  31. package/lib/aws/impl/HoopServices/HoopService.d.ts +28 -0
  32. package/lib/aws/impl/HoopServices/HoopService.js +124 -1
  33. package/lib/aws/impl/HoopServices/HoopServiceFactory.d.ts +17 -0
  34. package/lib/aws/impl/HoopServices/HoopServiceFactory.js +53 -1
  35. package/lib/aws/impl/HoopServices/HoopServiceOpenRequest.d.ts +18 -0
  36. package/lib/aws/impl/HoopServices/HoopServiceOpenRequest.js +24 -1
  37. package/lib/aws/impl/HoopServices/HoopServiceResource.d.ts +29 -0
  38. package/lib/aws/impl/HoopServices/HoopServiceResource.js +46 -1
  39. package/lib/aws/impl/HoopServices/HoopServiceTransaction.d.ts +22 -0
  40. package/lib/aws/impl/HoopServices/HoopServiceTransaction.js +37 -1
  41. package/lib/aws/interface/IDirection.d.ts +2 -0
  42. package/lib/aws/interface/IDirection.js +2 -1
  43. package/lib/aws/interface/ILink.d.ts +2 -0
  44. package/lib/aws/interface/ILink.js +2 -1
  45. package/lib/aws/interface/IServiceDBOpenRequest.d.ts +3 -0
  46. package/lib/aws/interface/IServiceDBOpenRequest.js +2 -1
  47. package/lib/aws/interface/IServiceObjectStore.d.ts +3 -0
  48. package/lib/aws/interface/IServiceObjectStore.js +2 -1
  49. package/lib/aws/interface/IServiceObjectStoreParameters.d.ts +4 -0
  50. package/lib/aws/interface/IServiceObjectStoreParameters.js +2 -1
  51. package/lib/aws/interface/IServiceRequest.d.ts +3 -0
  52. package/lib/aws/interface/IServiceRequest.js +2 -1
  53. package/lib/aws/interface/IServiceResource.d.ts +7 -0
  54. package/lib/aws/interface/IServiceResource.js +2 -1
  55. package/lib/aws/interface/IServiceTransation.d.ts +3 -0
  56. package/lib/aws/interface/IServiceTransation.js +2 -1
  57. package/lib/aws/interface/ISubResourceUri.d.ts +2 -0
  58. package/lib/aws/interface/ISubResourceUri.js +2 -1
  59. package/lib/aws/interface/ISyncItemData.d.ts +0 -0
  60. package/lib/aws/interface/ISyncItemData.js +1 -1
  61. package/lib/aws/interface/ISyncObjectStoreParameters.d.ts +0 -0
  62. package/lib/aws/interface/ISyncObjectStoreParameters.js +1 -1
  63. package/lib/aws/interface/ISyncTransactionOptions.d.ts +4 -0
  64. package/lib/aws/interface/ISyncTransactionOptions.js +2 -1
  65. package/lib/common/abstract/CommonError.d.ts +8 -0
  66. package/lib/common/abstract/CommonError.js +12 -1
  67. package/lib/common/abstract/Database.d.ts +44 -0
  68. package/lib/common/abstract/Database.js +58 -1
  69. package/lib/common/abstract/DatabaseClient.d.ts +11 -0
  70. package/lib/common/abstract/DatabaseClient.js +21 -1
  71. package/lib/common/abstract/DatabaseClientConfig.d.ts +5 -0
  72. package/lib/common/abstract/DatabaseClientConfig.js +9 -1
  73. package/lib/common/abstract/DatabaseFactory.d.ts +70 -0
  74. package/lib/common/abstract/DatabaseFactory.js +32 -1
  75. package/lib/common/abstract/DatabaseObjectStore.d.ts +29 -0
  76. package/lib/common/abstract/DatabaseObjectStore.js +13 -1
  77. package/lib/common/abstract/DatabaseOpenRequest.d.ts +24 -0
  78. package/lib/common/abstract/DatabaseOpenRequest.js +13 -1
  79. package/lib/common/abstract/DatabaseRequest.d.ts +21 -0
  80. package/lib/common/abstract/DatabaseRequest.js +14 -1
  81. package/lib/common/abstract/DatabaseTransaction.d.ts +22 -0
  82. package/lib/common/abstract/DatabaseTransaction.js +13 -1
  83. package/lib/common/abstract/Filter.d.ts +12 -0
  84. package/lib/common/abstract/Filter.js +30 -1
  85. package/lib/common/enum/ErrorTypes.d.ts +4 -0
  86. package/lib/common/enum/ErrorTypes.js +9 -1
  87. package/lib/common/enum/FilterTypes.d.ts +10 -0
  88. package/lib/common/enum/FilterTypes.js +14 -1
  89. package/lib/common/interface/IDatabaesInfo.d.ts +2 -0
  90. package/lib/common/interface/IDatabaesInfo.js +2 -1
  91. package/lib/common/interface/IDatabase.d.ts +4 -0
  92. package/lib/common/interface/IDatabase.js +2 -1
  93. package/lib/common/interface/IDatabaseClient.d.ts +5 -0
  94. package/lib/common/interface/IDatabaseClient.js +2 -1
  95. package/lib/common/interface/IDatabaseConfig.d.ts +8 -0
  96. package/lib/common/interface/IDatabaseConfig.js +10 -1
  97. package/lib/common/interface/IDatabaseDBOpenRequest.d.ts +2 -0
  98. package/lib/common/interface/IDatabaseDBOpenRequest.js +2 -1
  99. package/lib/common/interface/IDatabaseFactory.d.ts +21 -0
  100. package/lib/common/interface/IDatabaseFactory.js +2 -1
  101. package/lib/common/interface/IDatabaseObjectStore.d.ts +2 -0
  102. package/lib/common/interface/IDatabaseObjectStore.js +2 -1
  103. package/lib/common/interface/IDatabaseObjectStoreParameters.d.ts +2 -0
  104. package/lib/common/interface/IDatabaseObjectStoreParameters.js +2 -1
  105. package/lib/common/interface/IDatabaseRecord.d.ts +2 -0
  106. package/lib/common/interface/IDatabaseRecord.js +2 -1
  107. package/lib/common/interface/IDatabaseRequest.d.ts +2 -0
  108. package/lib/common/interface/IDatabaseRequest.js +2 -1
  109. package/lib/common/interface/IDatabaseTransaction.d.ts +2 -0
  110. package/lib/common/interface/IDatabaseTransaction.js +2 -1
  111. package/lib/common/interface/IDatabaseTransactionOptions.d.ts +2 -0
  112. package/lib/common/interface/IDatabaseTransactionOptions.js +2 -1
  113. package/lib/common/interface/IError.d.ts +5 -0
  114. package/lib/common/interface/IError.js +2 -1
  115. package/lib/common/interface/IErrorDetails.d.ts +6 -0
  116. package/lib/common/interface/IErrorDetails.js +2 -1
  117. package/lib/common/interface/IFilter.d.ts +25 -0
  118. package/lib/common/interface/IFilter.js +2 -1
  119. package/lib/common/type/DatabaseReadyType.d.ts +1 -0
  120. package/lib/common/type/DatabaseReadyType.js +2 -1
  121. package/lib/common/type/FilterInputType.d.ts +1 -0
  122. package/lib/common/type/FilterInputType.js +2 -1
  123. package/lib/common/type/SearchParameterType.d.ts +15 -0
  124. package/lib/common/type/SearchParameterType.js +3 -1
  125. package/lib/common/utils/dateFormat.d.ts +1 -0
  126. package/lib/common/utils/dateFormat.js +58 -1
  127. package/lib/common/utils/filter.d.ts +1 -0
  128. package/lib/common/utils/filter.js +99 -1
  129. package/lib/common/utils/newFilter.d.ts +1 -0
  130. package/lib/common/utils/newFilter.js +126 -1
  131. package/lib/common/utils/pagination.d.ts +1 -0
  132. package/lib/common/utils/pagination.js +9 -1
  133. package/lib/common/utils/search.d.ts +1 -0
  134. package/lib/common/utils/search.js +14 -1
  135. package/lib/common/utils/sort.d.ts +1 -0
  136. package/lib/common/utils/sort.js +13 -1
  137. package/lib/config/AWSConfig.d.ts +6 -0
  138. package/lib/config/AWSConfig.js +9 -1
  139. package/lib/config/DatabaseConfig.d.ts +33 -0
  140. package/lib/config/DatabaseConfig.js +36 -1
  141. package/lib/config/TwilioConfig.d.ts +4 -0
  142. package/lib/config/TwilioConfig.js +7 -1
  143. package/lib/controller/Common.d.ts +20 -0
  144. package/lib/controller/Common.js +57 -1
  145. package/lib/controller/DatabaseFactoryCollection.d.ts +6 -0
  146. package/lib/controller/DatabaseFactoryCollection.js +14 -1
  147. package/lib/controller/MainController.d.ts +6 -0
  148. package/lib/controller/MainController.js +174 -1
  149. package/lib/controller/aws/HoopBuisnessHours.d.ts +23 -0
  150. package/lib/controller/aws/HoopBuisnessHours.js +408 -1
  151. package/lib/controller/aws/HoopOperationsController.d.ts +9 -0
  152. package/lib/controller/aws/HoopOperationsController.js +86 -1
  153. package/lib/controller/aws/HoopOverrideBranchesController.d.ts +7 -0
  154. package/lib/controller/aws/HoopOverrideBranchesController.js +40 -1
  155. package/lib/controller/aws/HoopProfilesListController.d.ts +8 -0
  156. package/lib/controller/aws/HoopProfilesListController.js +61 -1
  157. package/lib/controller/aws/PlaybackScreenrecordings.d.ts +9 -0
  158. package/lib/controller/aws/PlaybackScreenrecordings.js +63 -1
  159. package/lib/controller/twilio/AgentActionsController.d.ts +54 -0
  160. package/lib/controller/twilio/AgentActionsController.js +177 -1
  161. package/lib/controller/twilio/AgentScorecardController.d.ts +53 -0
  162. package/lib/controller/twilio/AgentScorecardController.js +173 -1
  163. package/lib/controller/twilio/AuditLogController.d.ts +15 -0
  164. package/lib/controller/twilio/AuditLogController.js +137 -1
  165. package/lib/controller/twilio/CallLogsController.d.ts +12 -0
  166. package/lib/controller/twilio/CallLogsController.js +131 -1
  167. package/lib/controller/twilio/CallbackAndVoicemailController.d.ts +12 -0
  168. package/lib/controller/twilio/CallbackAndVoicemailController.js +114 -1
  169. package/lib/controller/twilio/ChannelSettingTaskInfoController.d.ts +11 -0
  170. package/lib/controller/twilio/ChannelSettingTaskInfoController.js +117 -1
  171. package/lib/controller/twilio/ChannelSettingsController.d.ts +16 -0
  172. package/lib/controller/twilio/ChannelSettingsController.js +142 -1
  173. package/lib/controller/twilio/CxConfigAssetController.d.ts +12 -0
  174. package/lib/controller/twilio/CxConfigAssetController.js +128 -1
  175. package/lib/controller/twilio/CxConfigController.d.ts +18 -0
  176. package/lib/controller/twilio/CxConfigController.js +112 -1
  177. package/lib/controller/twilio/CxConfigExternalNumbersController.d.ts +12 -0
  178. package/lib/controller/twilio/CxConfigExternalNumbersController.js +138 -1
  179. package/lib/controller/twilio/CxConfigOther.d.ts +16 -0
  180. package/lib/controller/twilio/CxConfigOther.js +128 -1
  181. package/lib/controller/twilio/CxConfigQueueMenuController.d.ts +12 -0
  182. package/lib/controller/twilio/CxConfigQueueMenuController.js +129 -1
  183. package/lib/controller/twilio/CxConfigUIconfigController.d.ts +12 -0
  184. package/lib/controller/twilio/CxConfigUIconfigController.js +132 -1
  185. package/lib/controller/twilio/GPMController.d.ts +12 -0
  186. package/lib/controller/twilio/GPMController.js +151 -1
  187. package/lib/controller/twilio/HoopBusinessHoursController.d.ts +18 -0
  188. package/lib/controller/twilio/HoopBusinessHoursController.js +285 -1
  189. package/lib/controller/twilio/HoopHolidaysController.d.ts +14 -0
  190. package/lib/controller/twilio/HoopHolidaysController.js +150 -1
  191. package/lib/controller/twilio/HoopMainController.d.ts +13 -0
  192. package/lib/controller/twilio/HoopMainController.js +297 -1
  193. package/lib/controller/twilio/HoopNotesController.d.ts +14 -0
  194. package/lib/controller/twilio/HoopNotesController.js +149 -1
  195. package/lib/controller/twilio/HoopOperationsController.d.ts +14 -0
  196. package/lib/controller/twilio/HoopOperationsController.js +138 -1
  197. package/lib/controller/twilio/HoopOverrideBranchesController.d.ts +14 -0
  198. package/lib/controller/twilio/HoopOverrideBranchesController.js +137 -1
  199. package/lib/controller/twilio/HoopPartialDaysController.d.ts +14 -0
  200. package/lib/controller/twilio/HoopPartialDaysController.js +150 -1
  201. package/lib/controller/twilio/HoopProfilesListController.d.ts +14 -0
  202. package/lib/controller/twilio/HoopProfilesListController.js +147 -1
  203. package/lib/controller/twilio/NavigationController.d.ts +13 -0
  204. package/lib/controller/twilio/NavigationController.js +170 -1
  205. package/lib/controller/twilio/QualityFormsController.d.ts +12 -0
  206. package/lib/controller/twilio/QualityFormsController.js +129 -1
  207. package/lib/controller/twilio/QuickLinkController.d.ts +11 -0
  208. package/lib/controller/twilio/QuickLinkController.js +122 -1
  209. package/lib/controller/twilio/RealTimeReportQueueDetailsController.d.ts +14 -0
  210. package/lib/controller/twilio/RealTimeReportQueueDetailsController.js +126 -1
  211. package/lib/controller/twilio/RealTimeReportsWGDetailsController.d.ts +53 -0
  212. package/lib/controller/twilio/RealTimeReportsWGDetailsController.js +160 -1
  213. package/lib/controller/twilio/TaskInfoPanelController.d.ts +15 -0
  214. package/lib/controller/twilio/TaskInfoPanelController.js +134 -1
  215. package/lib/controller/twilio/filterImpl/AgentScorecardFilter.d.ts +12 -0
  216. package/lib/controller/twilio/filterImpl/AgentScorecardFilter.js +52 -1
  217. package/lib/controller/twilio/filterImpl/AuditLogsFilter.d.ts +12 -0
  218. package/lib/controller/twilio/filterImpl/AuditLogsFilter.js +89 -1
  219. package/lib/controller/twilio/filterImpl/CXConfigPromptFilter.d.ts +12 -0
  220. package/lib/controller/twilio/filterImpl/CXConfigPromptFilter.js +81 -1
  221. package/lib/controller/twilio/filterImpl/CallLogsFilter.d.ts +20 -0
  222. package/lib/controller/twilio/filterImpl/CallLogsFilter.js +101 -1
  223. package/lib/controller/twilio/filterImpl/CxConfigAssetFilter.d.ts +12 -0
  224. package/lib/controller/twilio/filterImpl/CxConfigAssetFilter.js +59 -1
  225. package/lib/controller/twilio/filterImpl/CxConfigExternalNumbersFilter.d.ts +12 -0
  226. package/lib/controller/twilio/filterImpl/CxConfigExternalNumbersFilter.js +67 -1
  227. package/lib/controller/twilio/filterImpl/CxConfigOtherFilter.d.ts +14 -0
  228. package/lib/controller/twilio/filterImpl/CxConfigOtherFilter.js +52 -1
  229. package/lib/controller/twilio/filterImpl/CxConfigQueueMenuFilter.d.ts +17 -0
  230. package/lib/controller/twilio/filterImpl/CxConfigQueueMenuFilter.js +78 -1
  231. package/lib/controller/twilio/filterImpl/CxConfigUIconfigFilter.d.ts +12 -0
  232. package/lib/controller/twilio/filterImpl/CxConfigUIconfigFilter.js +51 -1
  233. package/lib/controller/twilio/filterImpl/HoopHolidaysFilter.d.ts +12 -0
  234. package/lib/controller/twilio/filterImpl/HoopHolidaysFilter.js +55 -1
  235. package/lib/controller/twilio/filterImpl/HoopNotesFilter.d.ts +12 -0
  236. package/lib/controller/twilio/filterImpl/HoopNotesFilter.js +51 -1
  237. package/lib/controller/twilio/filterImpl/HoopPartialDaysFilter.d.ts +12 -0
  238. package/lib/controller/twilio/filterImpl/HoopPartialDaysFilter.js +55 -1
  239. package/lib/controller/twilio/filterImpl/MainFilterService.d.ts +4 -0
  240. package/lib/controller/twilio/filterImpl/MainFilterService.js +108 -1
  241. package/lib/controller/twilio/filterImpl/NavigationFilter.d.ts +20 -0
  242. package/lib/controller/twilio/filterImpl/NavigationFilter.js +90 -1
  243. package/lib/controller/twilio/filterImpl/QueueDetailsFilter.d.ts +14 -0
  244. package/lib/controller/twilio/filterImpl/QueueDetailsFilter.js +53 -1
  245. package/lib/controller/twilio/filterImpl/TaskCompleteFilter.d.ts +12 -0
  246. package/lib/controller/twilio/filterImpl/TaskCompleteFilter.js +62 -1
  247. package/lib/controller/twilio/filterImpl/TaskInfoPanelFilter.d.ts +12 -0
  248. package/lib/controller/twilio/filterImpl/TaskInfoPanelFilter.js +52 -1
  249. package/lib/express/ApiResponse.d.ts +15 -0
  250. package/lib/express/ApiResponse.js +11 -1
  251. package/lib/express/RequestValidator.d.ts +50 -0
  252. package/lib/express/RequestValidator.js +77 -1
  253. package/lib/express/RequireParamsPicker.d.ts +7 -0
  254. package/lib/express/RequireParamsPicker.js +14 -1
  255. package/lib/express/ValidateRequireParameters.d.ts +3 -0
  256. package/lib/express/ValidateRequireParameters.js +39 -1
  257. package/lib/index.d.ts +39 -0
  258. package/lib/index.js +100 -1
  259. package/lib/models/BatchUpdateSkills.model.d.ts +0 -0
  260. package/lib/models/BatchUpdateSkills.model.js +11 -1
  261. package/lib/models/CannedMessage.model.d.ts +4 -0
  262. package/lib/models/CannedMessage.model.js +1 -1
  263. package/lib/models/ChannelSettingsTaskInfo.model.d.ts +87 -0
  264. package/lib/models/ChannelSettingsTaskInfo.model.js +1 -1
  265. package/lib/models/CustomerFeedback.model.d.ts +9 -0
  266. package/lib/models/CustomerFeedback.model.js +1 -1
  267. package/lib/models/Filter.model.d.ts +15 -0
  268. package/lib/models/Filter.model.js +2 -1
  269. package/lib/models/Hoop.model.d.ts +9 -0
  270. package/lib/models/Hoop.model.js +9 -1
  271. package/lib/models/Navigation.model.d.ts +28 -0
  272. package/lib/models/Navigation.model.js +8 -1
  273. package/lib/models/Roles.Model.d.ts +8 -0
  274. package/lib/models/Roles.Model.js +1 -1
  275. package/lib/models/abstract/BaseModel.d.ts +17 -0
  276. package/lib/models/abstract/BaseModel.js +40 -1
  277. package/lib/models/impl/AgentActionsLogsModel.d.ts +27 -0
  278. package/lib/models/impl/AgentActionsLogsModel.js +89 -1
  279. package/lib/models/impl/AgentActionsModel.d.ts +19 -0
  280. package/lib/models/impl/AgentActionsModel.js +60 -1
  281. package/lib/models/impl/AgentScorecardModel.d.ts +66 -0
  282. package/lib/models/impl/AgentScorecardModel.js +282 -1
  283. package/lib/models/impl/AuditLogsModel.d.ts +31 -0
  284. package/lib/models/impl/AuditLogsModel.js +146 -1
  285. package/lib/models/impl/CallLogsModel.d.ts +37 -0
  286. package/lib/models/impl/CallLogsModel.js +109 -1
  287. package/lib/models/impl/CallStatisticsModel.d.ts +16 -0
  288. package/lib/models/impl/CallStatisticsModel.js +52 -1
  289. package/lib/models/impl/CategoryDetailsModel.d.ts +17 -0
  290. package/lib/models/impl/CategoryDetailsModel.js +44 -1
  291. package/lib/models/impl/MemberModel.d.ts +42 -0
  292. package/lib/models/impl/MemberModel.js +170 -1
  293. package/lib/models/impl/ModelValidationError.d.ts +6 -0
  294. package/lib/models/impl/ModelValidationError.js +15 -1
  295. package/lib/models/impl/NavigationModel.d.ts +39 -0
  296. package/lib/models/impl/NavigationModel.js +126 -1
  297. package/lib/models/impl/PerformanceStatisticsModel.d.ts +41 -0
  298. package/lib/models/impl/PerformanceStatisticsModel.js +129 -1
  299. package/lib/models/impl/PlaybackScreenrecordings.d.ts +39 -0
  300. package/lib/models/impl/PlaybackScreenrecordings.js +133 -1
  301. package/lib/models/impl/ProfileModel.d.ts +23 -0
  302. package/lib/models/impl/ProfileModel.js +102 -1
  303. package/lib/models/impl/QualityFormsModel.d.ts +39 -0
  304. package/lib/models/impl/QualityFormsModel.js +150 -1
  305. package/lib/models/impl/QuestionDetailsModel.d.ts +39 -0
  306. package/lib/models/impl/QuestionDetailsModel.js +173 -1
  307. package/lib/models/impl/QueueDetailsModel.d.ts +63 -0
  308. package/lib/models/impl/QueueDetailsModel.js +261 -1
  309. package/lib/models/impl/QueueModel.d.ts +39 -0
  310. package/lib/models/impl/QueueModel.js +156 -1
  311. package/lib/models/impl/QuickLinkModel.d.ts +24 -0
  312. package/lib/models/impl/QuickLinkModel.js +122 -1
  313. package/lib/models/impl/StatisticsNumberDetailsModel.d.ts +18 -0
  314. package/lib/models/impl/StatisticsNumberDetailsModel.js +72 -1
  315. package/lib/models/impl/StatisticsTimeDetailsModel.d.ts +18 -0
  316. package/lib/models/impl/StatisticsTimeDetailsModel.js +72 -1
  317. package/lib/models/impl/TaskAttributesModel.d.ts +31 -0
  318. package/lib/models/impl/TaskAttributesModel.js +108 -1
  319. package/lib/models/impl/TaskChannelModel.d.ts +15 -0
  320. package/lib/models/impl/TaskChannelModel.js +69 -1
  321. package/lib/models/impl/TaskComplete.d.ts +0 -0
  322. package/lib/models/impl/TaskComplete.js +1 -1
  323. package/lib/models/impl/TaskInfoPanelModel.d.ts +16 -0
  324. package/lib/models/impl/TaskInfoPanelModel.js +69 -1
  325. package/lib/models/impl/TaskModel.d.ts +59 -0
  326. package/lib/models/impl/TaskModel.js +234 -1
  327. package/lib/models/impl/WorkGroupDetailsModel.d.ts +63 -0
  328. package/lib/models/impl/WorkGroupDetailsModel.js +281 -1
  329. package/lib/models/impl/callbackandvoicemail/CallbackAndVoicemailModel.d.ts +33 -0
  330. package/lib/models/impl/callbackandvoicemail/CallbackAndVoicemailModel.js +140 -1
  331. package/lib/models/impl/callbackandvoicemail/CallbackAndVoicemailNamespace.d.ts +8 -0
  332. package/lib/models/impl/callbackandvoicemail/CallbackAndVoicemailNamespace.js +12 -1
  333. package/lib/models/impl/callbackandvoicemail/CallbackModel.d.ts +19 -0
  334. package/lib/models/impl/callbackandvoicemail/CallbackModel.js +82 -1
  335. package/lib/models/impl/callbackandvoicemail/VoicemailModel.d.ts +25 -0
  336. package/lib/models/impl/callbackandvoicemail/VoicemailModel.js +108 -1
  337. package/lib/models/impl/channelsettings/ChannelSettingModel.d.ts +68 -0
  338. package/lib/models/impl/channelsettings/ChannelSettingModel.js +240 -1
  339. package/lib/models/impl/channelsettings/ChannelSettingTaskInfoModel.d.ts +31 -0
  340. package/lib/models/impl/channelsettings/ChannelSettingTaskInfoModel.js +106 -1
  341. package/lib/models/impl/channelsettings/TaskInfoAttributeModel.d.ts +25 -0
  342. package/lib/models/impl/channelsettings/TaskInfoAttributeModel.js +80 -1
  343. package/lib/models/impl/channelsettings/TaskInfoModel.d.ts +13 -0
  344. package/lib/models/impl/channelsettings/TaskInfoModel.js +52 -1
  345. package/lib/models/impl/cxconfig/CxConfigNamespace.d.ts +16 -0
  346. package/lib/models/impl/cxconfig/CxConfigNamespace.js +20 -1
  347. package/lib/models/impl/cxconfig/CxConfigUIConfigModel.d.ts +27 -0
  348. package/lib/models/impl/cxconfig/CxConfigUIConfigModel.js +180 -1
  349. package/lib/models/impl/cxconfig/CxConfiguratorConfigModel.d.ts +24 -0
  350. package/lib/models/impl/cxconfig/CxConfiguratorConfigModel.js +103 -1
  351. package/lib/models/impl/cxconfig/CxConfiguratorExternalNumbersModel.d.ts +24 -0
  352. package/lib/models/impl/cxconfig/CxConfiguratorExternalNumbersModel.js +149 -1
  353. package/lib/models/impl/cxconfig/CxConfiguratorGPMAssetModel.d.ts +27 -0
  354. package/lib/models/impl/cxconfig/CxConfiguratorGPMAssetModel.js +179 -1
  355. package/lib/models/impl/cxconfig/CxConfiguratorGPMPromptModel.d.ts +40 -0
  356. package/lib/models/impl/cxconfig/CxConfiguratorGPMPromptModel.js +213 -1
  357. package/lib/models/impl/cxconfig/CxConfiguratorOtherModel.d.ts +27 -0
  358. package/lib/models/impl/cxconfig/CxConfiguratorOtherModel.js +159 -1
  359. package/lib/models/impl/cxconfig/CxConfiguratorQueueMenuModel.d.ts +40 -0
  360. package/lib/models/impl/cxconfig/CxConfiguratorQueueMenuModel.js +128 -1
  361. package/lib/models/impl/hoop/HoopBusinessHoursModel.d.ts +39 -0
  362. package/lib/models/impl/hoop/HoopBusinessHoursModel.js +122 -1
  363. package/lib/models/impl/hoop/HoopDescriptionModel.d.ts +16 -0
  364. package/lib/models/impl/hoop/HoopDescriptionModel.js +64 -1
  365. package/lib/models/impl/hoop/HoopHolidaysImplModel.d.ts +25 -0
  366. package/lib/models/impl/hoop/HoopHolidaysImplModel.js +118 -1
  367. package/lib/models/impl/hoop/HoopNotesImplModel.d.ts +25 -0
  368. package/lib/models/impl/hoop/HoopNotesImplModel.js +117 -1
  369. package/lib/models/impl/hoop/HoopOperationsImplModel.d.ts +28 -0
  370. package/lib/models/impl/hoop/HoopOperationsImplModel.js +161 -1
  371. package/lib/models/impl/hoop/HoopOverrideImplModel.d.ts +22 -0
  372. package/lib/models/impl/hoop/HoopOverrideImplModel.js +143 -1
  373. package/lib/models/impl/hoop/HoopPartialDaysImplModel.d.ts +31 -0
  374. package/lib/models/impl/hoop/HoopPartialDaysImplModel.js +140 -1
  375. package/lib/models/impl/hoop/HoopProfilesListImplModel.d.ts +22 -0
  376. package/lib/models/impl/hoop/HoopProfilesListImplModel.js +104 -1
  377. package/lib/models/impl/hoop/HoopWeeklyTimingModel.d.ts +22 -0
  378. package/lib/models/impl/hoop/HoopWeeklyTimingModel.js +86 -1
  379. package/lib/models/index.d.ts +25 -0
  380. package/lib/models/index.js +53 -1
  381. package/lib/models/interface/IBaseModel.d.ts +11 -0
  382. package/lib/models/interface/IBaseModel.js +2 -1
  383. package/lib/models/types/AgentScorecard.type.d.ts +6 -0
  384. package/lib/models/types/AgentScorecard.type.js +7 -1
  385. package/lib/models/types/AuditLog.type.d.ts +13 -0
  386. package/lib/models/types/AuditLog.type.js +10 -1
  387. package/lib/models/types/CallLog.type.d.ts +16 -0
  388. package/lib/models/types/CallLog.type.js +10 -1
  389. package/lib/models/types/ChannelSetting.type.d.ts +7 -0
  390. package/lib/models/types/ChannelSetting.type.js +11 -1
  391. package/lib/models/types/CxConfig.type.d.ts +72 -0
  392. package/lib/models/types/CxConfig.type.js +43 -1
  393. package/lib/models/types/Hoop.type.d.ts +9 -0
  394. package/lib/models/types/Hoop.type.js +13 -1
  395. package/lib/models/types/Navigation.type.d.ts +11 -0
  396. package/lib/models/types/Navigation.type.js +8 -1
  397. package/lib/models/types/Profile.type.d.ts +1 -0
  398. package/lib/models/types/Profile.type.js +2 -1
  399. package/lib/models/types/QueueDetails.type.d.ts +6 -0
  400. package/lib/models/types/QueueDetails.type.js +7 -1
  401. package/lib/models/types/TaskComplete.type.d.ts +7 -0
  402. package/lib/models/types/TaskComplete.type.js +6 -1
  403. package/lib/models/types/TaskInfoPanel.type.d.ts +6 -0
  404. package/lib/models/types/TaskInfoPanel.type.js +7 -1
  405. package/lib/server.d.ts +1 -0
  406. package/lib/server.js +39 -1
  407. package/lib/twilio/abstract/ServiceObjectStore.d.ts +6 -0
  408. package/lib/twilio/abstract/ServiceObjectStore.js +10 -1
  409. package/lib/twilio/abstract/ServiceOpenRequest.d.ts +7 -0
  410. package/lib/twilio/abstract/ServiceOpenRequest.js +10 -1
  411. package/lib/twilio/abstract/ServiceRequest.d.ts +3 -0
  412. package/lib/twilio/abstract/ServiceRequest.js +7 -1
  413. package/lib/twilio/abstract/ServiceResource.d.ts +23 -0
  414. package/lib/twilio/abstract/ServiceResource.js +37 -1
  415. package/lib/twilio/abstract/ServiceResourceFactory.d.ts +15 -0
  416. package/lib/twilio/abstract/ServiceResourceFactory.js +18 -1
  417. package/lib/twilio/abstract/ServiceTransaction.d.ts +6 -0
  418. package/lib/twilio/abstract/ServiceTransaction.js +11 -1
  419. package/lib/twilio/abstract/SyncServiceItemResource.d.ts +31 -0
  420. package/lib/twilio/abstract/SyncServiceItemResource.js +60 -1
  421. package/lib/twilio/abstract/TwilioClientConfig.d.ts +0 -0
  422. package/lib/twilio/abstract/TwilioClientConfig.js +1 -1
  423. package/lib/twilio/impl/TwilioAPIKeyConfig.d.ts +14 -0
  424. package/lib/twilio/impl/TwilioAPIKeyConfig.js +31 -1
  425. package/lib/twilio/impl/TwilioAuthTokenConfig.d.ts +11 -0
  426. package/lib/twilio/impl/TwilioAuthTokenConfig.js +24 -1
  427. package/lib/twilio/impl/TwilioClient.d.ts +6 -0
  428. package/lib/twilio/impl/TwilioClient.js +21 -1
  429. package/lib/twilio/impl/message/messageService.d.ts +0 -0
  430. package/lib/twilio/impl/message/messageService.js +42 -1
  431. package/lib/twilio/impl/sync/SyncDocument.d.ts +24 -0
  432. package/lib/twilio/impl/sync/SyncDocument.js +52 -1
  433. package/lib/twilio/impl/sync/SyncDocumentTransaction.d.ts +20 -0
  434. package/lib/twilio/impl/sync/SyncDocumentTransaction.js +31 -1
  435. package/lib/twilio/impl/sync/SyncList.d.ts +24 -0
  436. package/lib/twilio/impl/sync/SyncList.js +52 -1
  437. package/lib/twilio/impl/sync/SyncListItem.d.ts +5 -0
  438. package/lib/twilio/impl/sync/SyncListItem.js +22 -1
  439. package/lib/twilio/impl/sync/SyncListTransaction.d.ts +20 -0
  440. package/lib/twilio/impl/sync/SyncListTransaction.js +31 -1
  441. package/lib/twilio/impl/sync/SyncMap.d.ts +25 -0
  442. package/lib/twilio/impl/sync/SyncMap.js +139 -1
  443. package/lib/twilio/impl/sync/SyncMapItem.d.ts +5 -0
  444. package/lib/twilio/impl/sync/SyncMapItem.js +7 -1
  445. package/lib/twilio/impl/sync/SyncMapTransaction.d.ts +22 -0
  446. package/lib/twilio/impl/sync/SyncMapTransaction.js +38 -1
  447. package/lib/twilio/impl/sync/SyncOpenRequest.d.ts +18 -0
  448. package/lib/twilio/impl/sync/SyncOpenRequest.js +24 -1
  449. package/lib/twilio/impl/sync/SyncRequest.d.ts +16 -0
  450. package/lib/twilio/impl/sync/SyncRequest.js +21 -1
  451. package/lib/twilio/impl/sync/SyncResource.d.ts +50 -0
  452. package/lib/twilio/impl/sync/SyncResource.js +97 -1
  453. package/lib/twilio/impl/sync/SyncServiceFactory.d.ts +22 -0
  454. package/lib/twilio/impl/sync/SyncServiceFactory.js +117 -1
  455. package/lib/twilio/interface/IDirection.d.ts +2 -0
  456. package/lib/twilio/interface/IDirection.js +2 -1
  457. package/lib/twilio/interface/ILink.d.ts +2 -0
  458. package/lib/twilio/interface/ILink.js +2 -1
  459. package/lib/twilio/interface/IServiceDBOpenRequest.d.ts +3 -0
  460. package/lib/twilio/interface/IServiceDBOpenRequest.js +2 -1
  461. package/lib/twilio/interface/IServiceObjectStore.d.ts +3 -0
  462. package/lib/twilio/interface/IServiceObjectStore.js +2 -1
  463. package/lib/twilio/interface/IServiceObjectStoreParameters.d.ts +4 -0
  464. package/lib/twilio/interface/IServiceObjectStoreParameters.js +2 -1
  465. package/lib/twilio/interface/IServiceRequest.d.ts +3 -0
  466. package/lib/twilio/interface/IServiceRequest.js +2 -1
  467. package/lib/twilio/interface/IServiceResource.d.ts +8 -0
  468. package/lib/twilio/interface/IServiceResource.js +2 -1
  469. package/lib/twilio/interface/IServiceTransation.d.ts +3 -0
  470. package/lib/twilio/interface/IServiceTransation.js +2 -1
  471. package/lib/twilio/interface/ISubResourceUri.d.ts +2 -0
  472. package/lib/twilio/interface/ISubResourceUri.js +2 -1
  473. package/lib/twilio/interface/ISyncItemData.d.ts +0 -0
  474. package/lib/twilio/interface/ISyncItemData.js +1 -1
  475. package/lib/twilio/interface/ISyncObjectStoreParameters.d.ts +0 -0
  476. package/lib/twilio/interface/ISyncObjectStoreParameters.js +1 -1
  477. package/lib/twilio/interface/ISyncTransactionOptions.d.ts +4 -0
  478. package/lib/twilio/interface/ISyncTransactionOptions.js +2 -1
  479. package/package.json +9 -5
  480. package/lib/models/abstract/BaseModelOld.js +0 -1
@@ -1 +1,234 @@
1
- Object.defineProperty(exports,"__esModule",{value:!0}),exports.TaskModel=exports.AssignmentStatusEnum=void 0;const t=require("../abstract/BaseModel"),e=require("./TaskAttributesModel");var s;!function(t){t.reserved="reserved",t.pending="pending",t.assigned="assigned",t.completed="completed",t.canceled="canceled"}(s||(exports.AssignmentStatusEnum=s={}));class i extends t.BaseModel{constructor(t,e,s,i,r,a,n,o,u,d,h,g,m,p,l,_,c){super(),this._accountSid=t,this._age=e,this._assignmentStatus=s,this._attributes=i,this._dateCreated=r,this._dateUpdated=a,this._priority=n,this._reason=o,this._sid=u,this._taskQueueSid=d,this._timeout=h,this._workflowSid=g,this._workspaceSid=m,this._workflowFriendlyName=p,this._queueFriendlyName=l,this._routingTarget=_,this._requiredAttention=c}set accountSid(t){this._accountSid=t}get age(){return this._age}get assignmentStatus(){return this._assignmentStatus}set assignmentStatus(t){this._assignmentStatus=t}get attributes(){return this._attributes}set attributes(t){this._attributes=t}get dateCreated(){return this._dateCreated}get dateUpdated(){return this._dateUpdated}get priority(){return this._priority}set priority(t){this._priority=t}get reason(){return this._reason}set reason(t){this._reason=t}get sid(){return this._sid}set sid(t){this._sid=t}get taskQueueSid(){return this._taskQueueSid}set taskQueueSid(t){this._taskQueueSid=t}get timeout(){return this._timeout}set timeout(t){this._timeout=t}get workflowSid(){return this._workflowSid}set workflowSid(t){this._workflowSid=t}get workspaceSid(){return this._workspaceSid}get workflowFriendlyName(){return this._workflowFriendlyName}get queueFriendlyName(){return this._queueFriendlyName}set queueFriendlyName(t){this._queueFriendlyName=t}get routingTarget(){return this._routingTarget}set routingTarget(t){this._routingTarget=t}get requiredAttention(){return this._requiredAttention}set requiredAttention(t){this._requiredAttention=t}validateData(){return this.validationMessages=[],"string"==typeof this._accountSid&&this._accountSid.trim()||this.validationMessages.push({type:"Error",fieldDescription:"accountSid",message:"AccountSid must be a non-empty string"}),("number"!=typeof this._age||this._age<0)&&this.validationMessages.push({type:"Error",fieldDescription:"age",message:"Age must be a non-negative number"}),Object.values(s).includes(this._assignmentStatus)||this.validationMessages.push({type:"Error",fieldDescription:"assignmentStatus",message:"AssignmentStatus must be a valid enum value"}),this._attributes instanceof e.TaskAttributesModel?("string"==typeof this._attributes.channelType&&this._attributes.channelType.trim()||this.validationMessages.push({type:"Error",fieldDescription:"attributes.channelType",message:"ChannelType must be a non-empty string"}),"string"==typeof this._attributes.from&&this._attributes.from.trim()||this.validationMessages.push({type:"Error",fieldDescription:"attributes.from",message:"From must be a non-empty string"}),"string"==typeof this._attributes.email&&this._attributes.email.trim()||this.validationMessages.push({type:"Error",fieldDescription:"attributes.email",message:"Email must be a non-empty string"}),"string"==typeof this._attributes.customerDevice&&this._attributes.customerDevice.trim()||this.validationMessages.push({type:"Error",fieldDescription:"attributes.customerDevice",message:"CustomerDevice must be a non-empty string"}),("number"!=typeof this._attributes.onHoldTime||this._attributes.onHoldTime<0)&&this.validationMessages.push({type:"Error",fieldDescription:"attributes.onHoldTime",message:"OnHoldTime must be a non-negative number"}),"string"==typeof this._attributes.conversationSid&&this._attributes.conversationSid.trim()||this.validationMessages.push({type:"Error",fieldDescription:"attributes.conversationSid",message:"ConversationSid must be a non-empty string"})):this.validationMessages.push({type:"Error",fieldDescription:"attributes",message:"Attributes must be an instance of TaskAttributesModel"}),"string"==typeof this._sid&&this._sid.trim()||this.validationMessages.push({type:"Error",fieldDescription:"sid",message:"Sid must be a non-empty string"}),"string"==typeof this._taskQueueSid&&this._taskQueueSid.trim()||this.validationMessages.push({type:"Error",fieldDescription:"taskQueueSid",message:"TaskQueueSid must be a non-empty string"}),this._timeout<0&&this.validationMessages.push({type:"Error",fieldDescription:"timeout",message:"Timeout must be a non-negative number"}),"string"==typeof this._workflowSid&&this._workflowSid.trim()||this.validationMessages.push({type:"Error",fieldDescription:"workflowSid",message:"WorkflowSid must be a non-empty string"}),"string"==typeof this._workspaceSid&&this._workspaceSid.trim()||this.validationMessages.push({type:"Error",fieldDescription:"workspaceSid",message:"WorkspaceSid must be a non-empty string"}),this.validationMessages}}exports.TaskModel=i;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TaskModel = exports.AssignmentStatusEnum = void 0;
4
+ const BaseModel_1 = require("../abstract/BaseModel");
5
+ const TaskAttributesModel_1 = require("./TaskAttributesModel");
6
+ var AssignmentStatusEnum;
7
+ (function (AssignmentStatusEnum) {
8
+ AssignmentStatusEnum["reserved"] = "reserved";
9
+ AssignmentStatusEnum["pending"] = "pending";
10
+ AssignmentStatusEnum["assigned"] = "assigned";
11
+ AssignmentStatusEnum["completed"] = "completed";
12
+ AssignmentStatusEnum["canceled"] = "canceled";
13
+ })(AssignmentStatusEnum || (exports.AssignmentStatusEnum = AssignmentStatusEnum = {}));
14
+ class TaskModel extends BaseModel_1.BaseModel {
15
+ constructor(accountSid, age, assignmentStatus, attributes, dateCreated, dateUpdated, priority, reason, sid, taskQueueSid, timeout, workflowSid, workspaceSid, workflowFriendlyName, queueFriendlyName, routingTarget, requiredAttention) {
16
+ super();
17
+ this._accountSid = accountSid;
18
+ this._age = age;
19
+ this._assignmentStatus = assignmentStatus;
20
+ this._attributes = attributes;
21
+ this._dateCreated = dateCreated;
22
+ this._dateUpdated = dateUpdated;
23
+ this._priority = priority;
24
+ this._reason = reason;
25
+ this._sid = sid;
26
+ this._taskQueueSid = taskQueueSid;
27
+ this._timeout = timeout;
28
+ this._workflowSid = workflowSid;
29
+ this._workspaceSid = workspaceSid;
30
+ this._workflowFriendlyName = workflowFriendlyName;
31
+ this._queueFriendlyName = queueFriendlyName;
32
+ this._routingTarget = routingTarget;
33
+ this._requiredAttention = requiredAttention;
34
+ }
35
+ // Getters and Setters
36
+ set accountSid(value) {
37
+ this._accountSid = value;
38
+ }
39
+ get age() {
40
+ return this._age;
41
+ }
42
+ get assignmentStatus() {
43
+ return this._assignmentStatus;
44
+ }
45
+ set assignmentStatus(value) {
46
+ this._assignmentStatus = value;
47
+ }
48
+ get attributes() {
49
+ return this._attributes;
50
+ }
51
+ set attributes(value) {
52
+ this._attributes = value;
53
+ }
54
+ get dateCreated() {
55
+ return this._dateCreated;
56
+ }
57
+ get dateUpdated() {
58
+ return this._dateUpdated;
59
+ }
60
+ get priority() {
61
+ return this._priority;
62
+ }
63
+ set priority(value) {
64
+ this._priority = value;
65
+ }
66
+ get reason() {
67
+ return this._reason;
68
+ }
69
+ set reason(value) {
70
+ this._reason = value;
71
+ }
72
+ get sid() {
73
+ return this._sid;
74
+ }
75
+ set sid(value) {
76
+ this._sid = value;
77
+ }
78
+ get taskQueueSid() {
79
+ return this._taskQueueSid;
80
+ }
81
+ set taskQueueSid(value) {
82
+ this._taskQueueSid = value;
83
+ }
84
+ get timeout() {
85
+ return this._timeout;
86
+ }
87
+ set timeout(value) {
88
+ this._timeout = value;
89
+ }
90
+ get workflowSid() {
91
+ return this._workflowSid;
92
+ }
93
+ set workflowSid(value) {
94
+ this._workflowSid = value;
95
+ }
96
+ get workspaceSid() {
97
+ return this._workspaceSid;
98
+ }
99
+ get workflowFriendlyName() {
100
+ return this._workflowFriendlyName;
101
+ }
102
+ get queueFriendlyName() {
103
+ return this._queueFriendlyName;
104
+ }
105
+ set queueFriendlyName(value) {
106
+ this._queueFriendlyName = value;
107
+ }
108
+ get routingTarget() {
109
+ return this._routingTarget;
110
+ }
111
+ set routingTarget(value) {
112
+ this._routingTarget = value;
113
+ }
114
+ get requiredAttention() {
115
+ return this._requiredAttention;
116
+ }
117
+ set requiredAttention(value) {
118
+ this._requiredAttention = value;
119
+ }
120
+ // Validation Method
121
+ validateData() {
122
+ this.validationMessages = [];
123
+ if (typeof this._accountSid !== "string" || !this._accountSid.trim()) {
124
+ this.validationMessages.push({
125
+ type: "Error",
126
+ fieldDescription: "accountSid",
127
+ message: "AccountSid must be a non-empty string",
128
+ });
129
+ }
130
+ if (typeof this._age !== "number" || this._age < 0) {
131
+ this.validationMessages.push({
132
+ type: "Error",
133
+ fieldDescription: "age",
134
+ message: "Age must be a non-negative number",
135
+ });
136
+ }
137
+ if (!Object.values(AssignmentStatusEnum).includes(this._assignmentStatus)) {
138
+ this.validationMessages.push({
139
+ type: "Error",
140
+ fieldDescription: "assignmentStatus",
141
+ message: "AssignmentStatus must be a valid enum value",
142
+ });
143
+ }
144
+ if (!(this._attributes instanceof TaskAttributesModel_1.TaskAttributesModel)) {
145
+ this.validationMessages.push({
146
+ type: "Error",
147
+ fieldDescription: "attributes",
148
+ message: "Attributes must be an instance of TaskAttributesModel",
149
+ });
150
+ }
151
+ else {
152
+ // Validate TaskAttributesModel fields
153
+ if (typeof this._attributes.channelType !== "string" || !this._attributes.channelType.trim()) {
154
+ this.validationMessages.push({
155
+ type: "Error",
156
+ fieldDescription: "attributes.channelType",
157
+ message: "ChannelType must be a non-empty string",
158
+ });
159
+ }
160
+ if (typeof this._attributes.from !== "string" || !this._attributes.from.trim()) {
161
+ this.validationMessages.push({
162
+ type: "Error",
163
+ fieldDescription: "attributes.from",
164
+ message: "From must be a non-empty string",
165
+ });
166
+ }
167
+ if (typeof this._attributes.email !== "string" || !this._attributes.email.trim()) {
168
+ this.validationMessages.push({
169
+ type: "Error",
170
+ fieldDescription: "attributes.email",
171
+ message: "Email must be a non-empty string",
172
+ });
173
+ }
174
+ if (typeof this._attributes.customerDevice !== "string" || !this._attributes.customerDevice.trim()) {
175
+ this.validationMessages.push({
176
+ type: "Error",
177
+ fieldDescription: "attributes.customerDevice",
178
+ message: "CustomerDevice must be a non-empty string",
179
+ });
180
+ }
181
+ if (typeof this._attributes.onHoldTime !== "number" || this._attributes.onHoldTime < 0) {
182
+ this.validationMessages.push({
183
+ type: "Error",
184
+ fieldDescription: "attributes.onHoldTime",
185
+ message: "OnHoldTime must be a non-negative number",
186
+ });
187
+ }
188
+ if (typeof this._attributes.conversationSid !== "string" || !this._attributes.conversationSid.trim()) {
189
+ this.validationMessages.push({
190
+ type: "Error",
191
+ fieldDescription: "attributes.conversationSid",
192
+ message: "ConversationSid must be a non-empty string",
193
+ });
194
+ }
195
+ }
196
+ if (typeof this._sid !== "string" || !this._sid.trim()) {
197
+ this.validationMessages.push({
198
+ type: "Error",
199
+ fieldDescription: "sid",
200
+ message: "Sid must be a non-empty string",
201
+ });
202
+ }
203
+ if (typeof this._taskQueueSid !== "string" || !this._taskQueueSid.trim()) {
204
+ this.validationMessages.push({
205
+ type: "Error",
206
+ fieldDescription: "taskQueueSid",
207
+ message: "TaskQueueSid must be a non-empty string",
208
+ });
209
+ }
210
+ if (this._timeout < 0) {
211
+ this.validationMessages.push({
212
+ type: "Error",
213
+ fieldDescription: "timeout",
214
+ message: "Timeout must be a non-negative number",
215
+ });
216
+ }
217
+ if (typeof this._workflowSid !== "string" || !this._workflowSid.trim()) {
218
+ this.validationMessages.push({
219
+ type: "Error",
220
+ fieldDescription: "workflowSid",
221
+ message: "WorkflowSid must be a non-empty string",
222
+ });
223
+ }
224
+ if (typeof this._workspaceSid !== "string" || !this._workspaceSid.trim()) {
225
+ this.validationMessages.push({
226
+ type: "Error",
227
+ fieldDescription: "workspaceSid",
228
+ message: "WorkspaceSid must be a non-empty string",
229
+ });
230
+ }
231
+ return this.validationMessages;
232
+ }
233
+ }
234
+ exports.TaskModel = TaskModel;
@@ -0,0 +1,63 @@
1
+ import { BaseModel } from "../abstract/BaseModel";
2
+ import { validationMessage } from "../interface/IBaseModel";
3
+ export declare class WorkGroupDetailsModel extends BaseModel {
4
+ private _id;
5
+ private _totalAgents;
6
+ private _loggedOn;
7
+ private _agentsAvailable;
8
+ private _percentAvailable;
9
+ private _agentsAvailableToTakeCalls;
10
+ private _nonAcdInteractions;
11
+ private _availableForAcdInteractions;
12
+ private _notAvailableForAcdInteractions;
13
+ private _inboundAcdInteractions;
14
+ private _outboundAcdInteractions;
15
+ private _inboundAcw;
16
+ private _outboundAcw;
17
+ private _interactionWaiting;
18
+ private _interactionOnhold;
19
+ private _longestInteractionWaiting;
20
+ private _longestAvailable;
21
+ private _createdAt;
22
+ private _updatedAt;
23
+ constructor(id: string, totalAgents: number, loggedOn: number, agentsAvailable: number, percentAvailable: number, agentsAvailableToTakeCalls: number, nonAcdInteractions: number, availableForAcdInteractions: number, notAvailableForAcdInteractions: number, inboundAcdInteractions: number, outboundAcdInteractions: number, inboundAcw: number, outboundAcw: number, interactionWaiting: number, interactionOnhold: number, longestInteractionWaiting: string, longestAvailable: number, createdAt?: Date, updatedAt?: Date);
24
+ validateData(): validationMessage[];
25
+ get id(): string;
26
+ set id(value: string);
27
+ get totalAgents(): number;
28
+ set totalAgents(value: number);
29
+ get loggedOn(): number;
30
+ set loggedOn(value: number);
31
+ get agentsAvailable(): number;
32
+ set agentsAvailable(value: number);
33
+ get percentAvailable(): number;
34
+ set percentAvailable(value: number);
35
+ get agentsAvailableToTakeCalls(): number;
36
+ set agentsAvailableToTakeCalls(value: number);
37
+ get nonAcdInteractions(): number;
38
+ set nonAcdInteractions(value: number);
39
+ get availableForAcdInteractions(): number;
40
+ set availableForAcdInteractions(value: number);
41
+ get notAvailableForAcdInteractions(): number;
42
+ set notAvailableForAcdInteractions(value: number);
43
+ get inboundAcdInteractions(): number;
44
+ set inboundAcdInteractions(value: number);
45
+ get outboundAcdInteractions(): number;
46
+ set outboundAcdInteractions(value: number);
47
+ get inboundAcw(): number;
48
+ set inboundAcw(value: number);
49
+ get outboundAcw(): number;
50
+ set outboundAcw(value: number);
51
+ get interactionWaiting(): number;
52
+ set interactionWaiting(value: number);
53
+ get interactionOnhold(): number;
54
+ set interactionOnhold(value: number);
55
+ get longestInteractionWaiting(): string;
56
+ set longestInteractionWaiting(value: string);
57
+ get longestAvailable(): number;
58
+ set longestAvailable(value: number);
59
+ get createdAt(): Date | undefined;
60
+ set createdAt(value: Date | undefined);
61
+ get updatedAt(): Date | undefined;
62
+ set updatedAt(value: Date | undefined);
63
+ }
@@ -1 +1,281 @@
1
- Object.defineProperty(exports,"__esModule",{value:!0}),exports.WorkGroupDetailsModel=void 0;const t=require("../abstract/BaseModel");class e extends t.BaseModel{constructor(t,e,i,n,s,a,o,r,l,d,c,g,u,h,A,b,v,p,_){super(),this._id=t,this._totalAgents=e,this._loggedOn=i,this._agentsAvailable=n,this._percentAvailable=s,this._agentsAvailableToTakeCalls=a,this._nonAcdInteractions=o,this._availableForAcdInteractions=r,this._notAvailableForAcdInteractions=l,this._inboundAcdInteractions=d,this._outboundAcdInteractions=c,this._inboundAcw=g,this._outboundAcw=u,this._interactionWaiting=h,this._interactionOnhold=A,this._longestInteractionWaiting=b,this._longestAvailable=v,this._createdAt=p,this._updatedAt=_}validateData(){return this.validationMessages=[],"string"==typeof this._id&&this._id.trim()||this.validationMessages.push({type:"Error",fieldDescription:"id",message:"ID must be a non-empty string"}),this._totalAgents<0&&this.validationMessages.push({type:"Error",fieldDescription:"totalAgents",message:"Total agents must be a non-negative number"}),this._loggedOn<0&&this.validationMessages.push({type:"Error",fieldDescription:"loggedOn",message:"Logged on agents must be a non-negative number"}),this._agentsAvailable<0&&this.validationMessages.push({type:"Error",fieldDescription:"agentsAvailable",message:"Agents available must be a non-negative number"}),(this._percentAvailable<0||this._percentAvailable>100)&&this.validationMessages.push({type:"Error",fieldDescription:"percentAvailable",message:"Percent available must be between 0 and 100"}),this._agentsAvailableToTakeCalls<0&&this.validationMessages.push({type:"Error",fieldDescription:"agentsAvailableToTakeCalls",message:"Agents available to take calls must be a non-negative number"}),this._nonAcdInteractions<0&&this.validationMessages.push({type:"Error",fieldDescription:"nonAcdInteractions",message:"Non-ACD interactions must be a non-negative number"}),this._availableForAcdInteractions<0&&this.validationMessages.push({type:"Error",fieldDescription:"availableForAcdInteractions",message:"Available for ACD interactions must be a non-negative number"}),this._notAvailableForAcdInteractions<0&&this.validationMessages.push({type:"Error",fieldDescription:"notAvailableForAcdInteractions",message:"Not available for ACD interactions must be a non-negative number"}),this._inboundAcdInteractions<0&&this.validationMessages.push({type:"Error",fieldDescription:"inboundAcdInteractions",message:"Inbound ACD interactions must be a non-negative number"}),this._outboundAcdInteractions<0&&this.validationMessages.push({type:"Error",fieldDescription:"outboundAcdInteractions",message:"Outbound ACD interactions must be a non-negative number"}),this._inboundAcw<0&&this.validationMessages.push({type:"Error",fieldDescription:"inboundAcw",message:"Inbound ACW must be a non-negative number"}),this._outboundAcw<0&&this.validationMessages.push({type:"Error",fieldDescription:"outboundAcw",message:"Outbound ACW must be a non-negative number"}),this._interactionWaiting<0&&this.validationMessages.push({type:"Error",fieldDescription:"interactionWaiting",message:"Interaction waiting count must be a non-negative number"}),this._interactionOnhold<0&&this.validationMessages.push({type:"Error",fieldDescription:"interactionOnhold",message:"Interaction on-hold count must be a non-negative number"}),"string"==typeof this._longestInteractionWaiting&&this._longestInteractionWaiting.trim()||this.validationMessages.push({type:"Error",fieldDescription:"longestInteractionWaiting",message:"Longest interaction waiting must be a non-empty string"}),this._longestAvailable<0&&this.validationMessages.push({type:"Error",fieldDescription:"longestAvailable",message:"Longest available time must be a non-negative number"}),!this._createdAt||this._createdAt instanceof Date||this.validationMessages.push({type:"Error",fieldDescription:"createdAt",message:"CreatedAt must be a valid Date object or undefined"}),!this._updatedAt||this._updatedAt instanceof Date||this.validationMessages.push({type:"Error",fieldDescription:"updatedAt",message:"UpdatedAt must be a valid Date object or undefined"}),this.validationMessages}get id(){return this._id}set id(t){this._id=t}get totalAgents(){return this._totalAgents}set totalAgents(t){this._totalAgents=t}get loggedOn(){return this._loggedOn}set loggedOn(t){this._loggedOn=t}get agentsAvailable(){return this._agentsAvailable}set agentsAvailable(t){this._agentsAvailable=t}get percentAvailable(){return this._percentAvailable}set percentAvailable(t){this._percentAvailable=t}get agentsAvailableToTakeCalls(){return this._agentsAvailableToTakeCalls}set agentsAvailableToTakeCalls(t){this._agentsAvailableToTakeCalls=t}get nonAcdInteractions(){return this._nonAcdInteractions}set nonAcdInteractions(t){this._nonAcdInteractions=t}get availableForAcdInteractions(){return this._availableForAcdInteractions}set availableForAcdInteractions(t){this._availableForAcdInteractions=t}get notAvailableForAcdInteractions(){return this._notAvailableForAcdInteractions}set notAvailableForAcdInteractions(t){this._notAvailableForAcdInteractions=t}get inboundAcdInteractions(){return this._inboundAcdInteractions}set inboundAcdInteractions(t){this._inboundAcdInteractions=t}get outboundAcdInteractions(){return this._outboundAcdInteractions}set outboundAcdInteractions(t){this._outboundAcdInteractions=t}get inboundAcw(){return this._inboundAcw}set inboundAcw(t){this._inboundAcw=t}get outboundAcw(){return this._outboundAcw}set outboundAcw(t){this._outboundAcw=t}get interactionWaiting(){return this._interactionWaiting}set interactionWaiting(t){this._interactionWaiting=t}get interactionOnhold(){return this._interactionOnhold}set interactionOnhold(t){this._interactionOnhold=t}get longestInteractionWaiting(){return this._longestInteractionWaiting}set longestInteractionWaiting(t){this._longestInteractionWaiting=t}get longestAvailable(){return this._longestAvailable}set longestAvailable(t){this._longestAvailable=t}get createdAt(){return this._createdAt}set createdAt(t){this._createdAt=t}get updatedAt(){return this._updatedAt}set updatedAt(t){this._updatedAt=t}}exports.WorkGroupDetailsModel=e;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WorkGroupDetailsModel = void 0;
4
+ const BaseModel_1 = require("../abstract/BaseModel");
5
+ class WorkGroupDetailsModel extends BaseModel_1.BaseModel {
6
+ constructor(id, totalAgents, loggedOn, agentsAvailable, percentAvailable, agentsAvailableToTakeCalls, nonAcdInteractions, availableForAcdInteractions, notAvailableForAcdInteractions, inboundAcdInteractions, outboundAcdInteractions, inboundAcw, outboundAcw, interactionWaiting, interactionOnhold, longestInteractionWaiting, longestAvailable, createdAt, updatedAt) {
7
+ super();
8
+ this._id = id;
9
+ this._totalAgents = totalAgents;
10
+ this._loggedOn = loggedOn;
11
+ this._agentsAvailable = agentsAvailable;
12
+ this._percentAvailable = percentAvailable;
13
+ this._agentsAvailableToTakeCalls = agentsAvailableToTakeCalls;
14
+ this._nonAcdInteractions = nonAcdInteractions;
15
+ this._availableForAcdInteractions = availableForAcdInteractions;
16
+ this._notAvailableForAcdInteractions = notAvailableForAcdInteractions;
17
+ this._inboundAcdInteractions = inboundAcdInteractions;
18
+ this._outboundAcdInteractions = outboundAcdInteractions;
19
+ this._inboundAcw = inboundAcw;
20
+ this._outboundAcw = outboundAcw;
21
+ this._interactionWaiting = interactionWaiting;
22
+ this._interactionOnhold = interactionOnhold;
23
+ this._longestInteractionWaiting = longestInteractionWaiting;
24
+ this._longestAvailable = longestAvailable;
25
+ this._createdAt = createdAt;
26
+ this._updatedAt = updatedAt;
27
+ }
28
+ validateData() {
29
+ this.validationMessages = [];
30
+ if (typeof this._id !== "string" || !this._id.trim()) {
31
+ this.validationMessages.push({
32
+ type: "Error",
33
+ fieldDescription: "id",
34
+ message: "ID must be a non-empty string",
35
+ });
36
+ }
37
+ if (this._totalAgents < 0) {
38
+ this.validationMessages.push({
39
+ type: "Error",
40
+ fieldDescription: "totalAgents",
41
+ message: "Total agents must be a non-negative number",
42
+ });
43
+ }
44
+ if (this._loggedOn < 0) {
45
+ this.validationMessages.push({
46
+ type: "Error",
47
+ fieldDescription: "loggedOn",
48
+ message: "Logged on agents must be a non-negative number",
49
+ });
50
+ }
51
+ if (this._agentsAvailable < 0) {
52
+ this.validationMessages.push({
53
+ type: "Error",
54
+ fieldDescription: "agentsAvailable",
55
+ message: "Agents available must be a non-negative number",
56
+ });
57
+ }
58
+ if (this._percentAvailable < 0 || this._percentAvailable > 100) {
59
+ this.validationMessages.push({
60
+ type: "Error",
61
+ fieldDescription: "percentAvailable",
62
+ message: "Percent available must be between 0 and 100",
63
+ });
64
+ }
65
+ if (this._agentsAvailableToTakeCalls < 0) {
66
+ this.validationMessages.push({
67
+ type: "Error",
68
+ fieldDescription: "agentsAvailableToTakeCalls",
69
+ message: "Agents available to take calls must be a non-negative number",
70
+ });
71
+ }
72
+ if (this._nonAcdInteractions < 0) {
73
+ this.validationMessages.push({
74
+ type: "Error",
75
+ fieldDescription: "nonAcdInteractions",
76
+ message: "Non-ACD interactions must be a non-negative number",
77
+ });
78
+ }
79
+ if (this._availableForAcdInteractions < 0) {
80
+ this.validationMessages.push({
81
+ type: "Error",
82
+ fieldDescription: "availableForAcdInteractions",
83
+ message: "Available for ACD interactions must be a non-negative number",
84
+ });
85
+ }
86
+ if (this._notAvailableForAcdInteractions < 0) {
87
+ this.validationMessages.push({
88
+ type: "Error",
89
+ fieldDescription: "notAvailableForAcdInteractions",
90
+ message: "Not available for ACD interactions must be a non-negative number",
91
+ });
92
+ }
93
+ if (this._inboundAcdInteractions < 0) {
94
+ this.validationMessages.push({
95
+ type: "Error",
96
+ fieldDescription: "inboundAcdInteractions",
97
+ message: "Inbound ACD interactions must be a non-negative number",
98
+ });
99
+ }
100
+ if (this._outboundAcdInteractions < 0) {
101
+ this.validationMessages.push({
102
+ type: "Error",
103
+ fieldDescription: "outboundAcdInteractions",
104
+ message: "Outbound ACD interactions must be a non-negative number",
105
+ });
106
+ }
107
+ if (this._inboundAcw < 0) {
108
+ this.validationMessages.push({
109
+ type: "Error",
110
+ fieldDescription: "inboundAcw",
111
+ message: "Inbound ACW must be a non-negative number",
112
+ });
113
+ }
114
+ if (this._outboundAcw < 0) {
115
+ this.validationMessages.push({
116
+ type: "Error",
117
+ fieldDescription: "outboundAcw",
118
+ message: "Outbound ACW must be a non-negative number",
119
+ });
120
+ }
121
+ if (this._interactionWaiting < 0) {
122
+ this.validationMessages.push({
123
+ type: "Error",
124
+ fieldDescription: "interactionWaiting",
125
+ message: "Interaction waiting count must be a non-negative number",
126
+ });
127
+ }
128
+ if (this._interactionOnhold < 0) {
129
+ this.validationMessages.push({
130
+ type: "Error",
131
+ fieldDescription: "interactionOnhold",
132
+ message: "Interaction on-hold count must be a non-negative number",
133
+ });
134
+ }
135
+ if (typeof this._longestInteractionWaiting !== "string" || !this._longestInteractionWaiting.trim()) {
136
+ this.validationMessages.push({
137
+ type: "Error",
138
+ fieldDescription: "longestInteractionWaiting",
139
+ message: "Longest interaction waiting must be a non-empty string",
140
+ });
141
+ }
142
+ if (this._longestAvailable < 0) {
143
+ this.validationMessages.push({
144
+ type: "Error",
145
+ fieldDescription: "longestAvailable",
146
+ message: "Longest available time must be a non-negative number",
147
+ });
148
+ }
149
+ if (this._createdAt && !(this._createdAt instanceof Date)) {
150
+ this.validationMessages.push({
151
+ type: "Error",
152
+ fieldDescription: "createdAt",
153
+ message: "CreatedAt must be a valid Date object or undefined",
154
+ });
155
+ }
156
+ if (this._updatedAt && !(this._updatedAt instanceof Date)) {
157
+ this.validationMessages.push({
158
+ type: "Error",
159
+ fieldDescription: "updatedAt",
160
+ message: "UpdatedAt must be a valid Date object or undefined",
161
+ });
162
+ }
163
+ return this.validationMessages;
164
+ }
165
+ // Getters and setters for all fields
166
+ get id() {
167
+ return this._id;
168
+ }
169
+ set id(value) {
170
+ this._id = value;
171
+ }
172
+ get totalAgents() {
173
+ return this._totalAgents;
174
+ }
175
+ set totalAgents(value) {
176
+ this._totalAgents = value;
177
+ }
178
+ get loggedOn() {
179
+ return this._loggedOn;
180
+ }
181
+ set loggedOn(value) {
182
+ this._loggedOn = value;
183
+ }
184
+ get agentsAvailable() {
185
+ return this._agentsAvailable;
186
+ }
187
+ set agentsAvailable(value) {
188
+ this._agentsAvailable = value;
189
+ }
190
+ get percentAvailable() {
191
+ return this._percentAvailable;
192
+ }
193
+ set percentAvailable(value) {
194
+ this._percentAvailable = value;
195
+ }
196
+ get agentsAvailableToTakeCalls() {
197
+ return this._agentsAvailableToTakeCalls;
198
+ }
199
+ set agentsAvailableToTakeCalls(value) {
200
+ this._agentsAvailableToTakeCalls = value;
201
+ }
202
+ get nonAcdInteractions() {
203
+ return this._nonAcdInteractions;
204
+ }
205
+ set nonAcdInteractions(value) {
206
+ this._nonAcdInteractions = value;
207
+ }
208
+ get availableForAcdInteractions() {
209
+ return this._availableForAcdInteractions;
210
+ }
211
+ set availableForAcdInteractions(value) {
212
+ this._availableForAcdInteractions = value;
213
+ }
214
+ get notAvailableForAcdInteractions() {
215
+ return this._notAvailableForAcdInteractions;
216
+ }
217
+ set notAvailableForAcdInteractions(value) {
218
+ this._notAvailableForAcdInteractions = value;
219
+ }
220
+ get inboundAcdInteractions() {
221
+ return this._inboundAcdInteractions;
222
+ }
223
+ set inboundAcdInteractions(value) {
224
+ this._inboundAcdInteractions = value;
225
+ }
226
+ get outboundAcdInteractions() {
227
+ return this._outboundAcdInteractions;
228
+ }
229
+ set outboundAcdInteractions(value) {
230
+ this._outboundAcdInteractions = value;
231
+ }
232
+ get inboundAcw() {
233
+ return this._inboundAcw;
234
+ }
235
+ set inboundAcw(value) {
236
+ this._inboundAcw = value;
237
+ }
238
+ get outboundAcw() {
239
+ return this._outboundAcw;
240
+ }
241
+ set outboundAcw(value) {
242
+ this._outboundAcw = value;
243
+ }
244
+ get interactionWaiting() {
245
+ return this._interactionWaiting;
246
+ }
247
+ set interactionWaiting(value) {
248
+ this._interactionWaiting = value;
249
+ }
250
+ get interactionOnhold() {
251
+ return this._interactionOnhold;
252
+ }
253
+ set interactionOnhold(value) {
254
+ this._interactionOnhold = value;
255
+ }
256
+ get longestInteractionWaiting() {
257
+ return this._longestInteractionWaiting;
258
+ }
259
+ set longestInteractionWaiting(value) {
260
+ this._longestInteractionWaiting = value;
261
+ }
262
+ get longestAvailable() {
263
+ return this._longestAvailable;
264
+ }
265
+ set longestAvailable(value) {
266
+ this._longestAvailable = value;
267
+ }
268
+ get createdAt() {
269
+ return this._createdAt;
270
+ }
271
+ set createdAt(value) {
272
+ this._createdAt = value;
273
+ }
274
+ get updatedAt() {
275
+ return this._updatedAt;
276
+ }
277
+ set updatedAt(value) {
278
+ this._updatedAt = value;
279
+ }
280
+ }
281
+ exports.WorkGroupDetailsModel = WorkGroupDetailsModel;
@@ -0,0 +1,33 @@
1
+ import { BaseModel } from "../../abstract/BaseModel";
2
+ import { validationMessage } from "../../interface/IBaseModel";
3
+ import { VoicemailModel } from './VoicemailModel';
4
+ import { CallbackModel } from './CallbackModel';
5
+ export declare class CallbackAndVoicemailModel extends BaseModel {
6
+ private _id;
7
+ private _isEnabled;
8
+ private _callback;
9
+ private _voicemail;
10
+ private _createdAt;
11
+ private _updatedAt;
12
+ constructor(id: string, isEnabled: boolean, callback: CallbackModel, voicemail: VoicemailModel, createdAt: Date, updatedAt: Date);
13
+ /**Getters and Setters */
14
+ get id(): string;
15
+ set id(value: string);
16
+ get isEnabled(): boolean;
17
+ set isEnabled(value: boolean);
18
+ get callback(): CallbackModel;
19
+ set callback(value: CallbackModel);
20
+ get voicemail(): VoicemailModel;
21
+ set voicemail(value: VoicemailModel);
22
+ get createdAt(): Date;
23
+ set createdAt(value: Date);
24
+ get updatedAt(): Date;
25
+ set updatedAt(value: Date);
26
+ /** **Validation Method** */
27
+ validateData(): validationMessage[];
28
+ setValidationMessages(data: validationMessage): void;
29
+ /****Serialization Support** */
30
+ get serialize(): Record<string, any>;
31
+ /****Deserialization Support** */
32
+ deserialize(data: Record<string, any>): void;
33
+ }