@trii/types 2.10.773 → 2.10.775

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 (412) hide show
  1. package/README.md +2 -0
  2. package/dist/Common/Messages/Message.d.ts +2 -0
  3. package/dist/Contacts/segments.d.ts +3 -2
  4. package/dist/Contacts/segments.js +1 -0
  5. package/dist/Marketing/Campaign.d.ts +96 -50
  6. package/dist/Marketing/Campaign.js +9 -10
  7. package/dist/Marketing/CampaignContract.d.ts +3 -0
  8. package/dist/Marketing/CampaignContract.js +54 -0
  9. package/dist/Marketing/index.d.ts +1 -0
  10. package/dist/Marketing/index.js +1 -0
  11. package/dist/Users/Signature.d.ts +5 -0
  12. package/dist/index.d.ts +1 -0
  13. package/dist/index.js +2 -1
  14. package/package.json +1 -1
  15. package/dist/src/AI/Credential.d.ts +0 -13
  16. package/dist/src/AI/Credential.js +0 -2
  17. package/dist/src/AI/Documents/Document.d.ts +0 -36
  18. package/dist/src/AI/Documents/Document.js +0 -15
  19. package/dist/src/AI/Documents/Store.d.ts +0 -25
  20. package/dist/src/AI/Documents/Store.js +0 -10
  21. package/dist/src/AI/Map.d.ts +0 -13
  22. package/dist/src/AI/Map.js +0 -2
  23. package/dist/src/AI/Provider.d.ts +0 -6
  24. package/dist/src/AI/Provider.js +0 -2
  25. package/dist/src/AI/Threads/API.d.ts +0 -55
  26. package/dist/src/AI/Threads/API.js +0 -2
  27. package/dist/src/AI/Threads/Message.d.ts +0 -61
  28. package/dist/src/AI/Threads/Message.js +0 -2
  29. package/dist/src/AI/Threads/Thread.d.ts +0 -22
  30. package/dist/src/AI/Threads/Thread.js +0 -2
  31. package/dist/src/AI/Threads/index.d.ts +0 -3
  32. package/dist/src/AI/Threads/index.js +0 -19
  33. package/dist/src/AI/aiModuleStatus.d.ts +0 -3
  34. package/dist/src/AI/aiModuleStatus.js +0 -2
  35. package/dist/src/AI/index.d.ts +0 -4
  36. package/dist/src/AI/index.js +0 -20
  37. package/dist/src/Accounts/accounts.d.ts +0 -88
  38. package/dist/src/Accounts/accounts.js +0 -24
  39. package/dist/src/Accounts/device.d.ts +0 -31
  40. package/dist/src/Accounts/device.js +0 -19
  41. package/dist/src/Accounts/index.d.ts +0 -2
  42. package/dist/src/Accounts/index.js +0 -18
  43. package/dist/src/ApiResponses/index.d.ts +0 -9
  44. package/dist/src/ApiResponses/index.js +0 -2
  45. package/dist/src/AuditLogs/auditLog.d.ts +0 -9
  46. package/dist/src/AuditLogs/auditLog.js +0 -2
  47. package/dist/src/AuditLogs/auditLogType.d.ts +0 -5
  48. package/dist/src/AuditLogs/auditLogType.js +0 -9
  49. package/dist/src/AuditLogs/index.d.ts +0 -2
  50. package/dist/src/AuditLogs/index.js +0 -18
  51. package/dist/src/Automations/Capabilities/Capability.d.ts +0 -48
  52. package/dist/src/Automations/Capabilities/Capability.js +0 -9
  53. package/dist/src/Automations/Capabilities/index.d.ts +0 -1
  54. package/dist/src/Automations/Capabilities/index.js +0 -17
  55. package/dist/src/Automations/Common.d.ts +0 -47
  56. package/dist/src/Automations/Common.js +0 -18
  57. package/dist/src/Automations/Events/Event.d.ts +0 -41
  58. package/dist/src/Automations/Events/Event.js +0 -2
  59. package/dist/src/Automations/Events/index.d.ts +0 -1
  60. package/dist/src/Automations/Events/index.js +0 -17
  61. package/dist/src/Automations/Executions/Execution.d.ts +0 -114
  62. package/dist/src/Automations/Executions/Execution.js +0 -23
  63. package/dist/src/Automations/Executions/index.d.ts +0 -1
  64. package/dist/src/Automations/Executions/index.js +0 -17
  65. package/dist/src/Automations/Flows/Canvas.d.ts +0 -86
  66. package/dist/src/Automations/Flows/Canvas.js +0 -34
  67. package/dist/src/Automations/Flows/Flow.d.ts +0 -102
  68. package/dist/src/Automations/Flows/Flow.js +0 -34
  69. package/dist/src/Automations/Flows/Requests.d.ts +0 -71
  70. package/dist/src/Automations/Flows/Requests.js +0 -2
  71. package/dist/src/Automations/Flows/Validation.d.ts +0 -28
  72. package/dist/src/Automations/Flows/Validation.js +0 -9
  73. package/dist/src/Automations/Flows/index.d.ts +0 -4
  74. package/dist/src/Automations/Flows/index.js +0 -20
  75. package/dist/src/Automations/Nodes/Node.d.ts +0 -75
  76. package/dist/src/Automations/Nodes/Node.js +0 -18
  77. package/dist/src/Automations/Nodes/index.d.ts +0 -1
  78. package/dist/src/Automations/Nodes/index.js +0 -17
  79. package/dist/src/Automations/index.d.ts +0 -6
  80. package/dist/src/Automations/index.js +0 -22
  81. package/dist/src/Calendar/Calendar.d.ts +0 -18
  82. package/dist/src/Calendar/Calendar.js +0 -2
  83. package/dist/src/Calendar/Common.d.ts +0 -77
  84. package/dist/src/Calendar/Common.js +0 -16
  85. package/dist/src/Calendar/Event.d.ts +0 -64
  86. package/dist/src/Calendar/Event.js +0 -16
  87. package/dist/src/Calendar/Events.d.ts +0 -61
  88. package/dist/src/Calendar/Events.js +0 -5
  89. package/dist/src/Calendar/Task.d.ts +0 -12
  90. package/dist/src/Calendar/Task.js +0 -2
  91. package/dist/src/Calendar/Tasks.d.ts +0 -18
  92. package/dist/src/Calendar/Tasks.js +0 -5
  93. package/dist/src/Calendar/index.d.ts +0 -3
  94. package/dist/src/Calendar/index.js +0 -19
  95. package/dist/src/Calls/Audio.d.ts +0 -17
  96. package/dist/src/Calls/Audio.js +0 -8
  97. package/dist/src/Calls/Call.d.ts +0 -59
  98. package/dist/src/Calls/Call.js +0 -25
  99. package/dist/src/Calls/Codecs.d.ts +0 -5
  100. package/dist/src/Calls/Codecs.js +0 -21
  101. package/dist/src/Calls/Extension.d.ts +0 -24
  102. package/dist/src/Calls/Extension.js +0 -2
  103. package/dist/src/Calls/Options.d.ts +0 -5
  104. package/dist/src/Calls/Options.js +0 -2
  105. package/dist/src/Calls/Queue.d.ts +0 -52
  106. package/dist/src/Calls/Queue.js +0 -12
  107. package/dist/src/Calls/RingGroup.d.ts +0 -46
  108. package/dist/src/Calls/RingGroup.js +0 -27
  109. package/dist/src/Calls/Transport.d.ts +0 -6
  110. package/dist/src/Calls/Transport.js +0 -11
  111. package/dist/src/Calls/Trunk.d.ts +0 -31
  112. package/dist/src/Calls/Trunk.js +0 -2
  113. package/dist/src/Calls/index.d.ts +0 -6
  114. package/dist/src/Calls/index.js +0 -22
  115. package/dist/src/Chats/Chat.d.ts +0 -61
  116. package/dist/src/Chats/Chat.js +0 -28
  117. package/dist/src/Collections/Api.d.ts +0 -41
  118. package/dist/src/Collections/Api.js +0 -2
  119. package/dist/src/Collections/Commission.d.ts +0 -52
  120. package/dist/src/Collections/Commission.js +0 -10
  121. package/dist/src/Collections/Common.d.ts +0 -78
  122. package/dist/src/Collections/Common.js +0 -39
  123. package/dist/src/Collections/Dashboard.d.ts +0 -27
  124. package/dist/src/Collections/Dashboard.js +0 -2
  125. package/dist/src/Collections/Debt.d.ts +0 -97
  126. package/dist/src/Collections/Debt.js +0 -12
  127. package/dist/src/Collections/Interest.d.ts +0 -38
  128. package/dist/src/Collections/Interest.js +0 -25
  129. package/dist/src/Collections/Payment.d.ts +0 -87
  130. package/dist/src/Collections/Payment.js +0 -21
  131. package/dist/src/Collections/PaymentPlan.d.ts +0 -87
  132. package/dist/src/Collections/PaymentPlan.js +0 -21
  133. package/dist/src/Collections/PaymentPlanConfiguration.d.ts +0 -100
  134. package/dist/src/Collections/PaymentPlanConfiguration.js +0 -34
  135. package/dist/src/Collections/Portfolio.d.ts +0 -52
  136. package/dist/src/Collections/Portfolio.js +0 -12
  137. package/dist/src/Collections/Promise.d.ts +0 -49
  138. package/dist/src/Collections/Promise.js +0 -25
  139. package/dist/src/Collections/index.d.ts +0 -11
  140. package/dist/src/Collections/index.js +0 -27
  141. package/dist/src/Common/API/AuthApiKey.d.ts +0 -5
  142. package/dist/src/Common/API/AuthApiKey.js +0 -2
  143. package/dist/src/Common/API/AuthBasic.d.ts +0 -4
  144. package/dist/src/Common/API/AuthBasic.js +0 -2
  145. package/dist/src/Common/API/AuthBearer.d.ts +0 -5
  146. package/dist/src/Common/API/AuthBearer.js +0 -2
  147. package/dist/src/Common/API/AuthType.d.ts +0 -6
  148. package/dist/src/Common/API/AuthType.js +0 -10
  149. package/dist/src/Common/API/Method.d.ts +0 -4
  150. package/dist/src/Common/API/Method.js +0 -8
  151. package/dist/src/Common/API/index.d.ts +0 -5
  152. package/dist/src/Common/API/index.js +0 -21
  153. package/dist/src/Common/Channels/Channel.d.ts +0 -124
  154. package/dist/src/Common/Channels/Channel.js +0 -20
  155. package/dist/src/Common/Channels/ChannelAccount.d.ts +0 -35
  156. package/dist/src/Common/Channels/ChannelAccount.js +0 -17
  157. package/dist/src/Common/Channels/ChannelType.d.ts +0 -24
  158. package/dist/src/Common/Channels/ChannelType.js +0 -28
  159. package/dist/src/Common/Channels/Email.d.ts +0 -62
  160. package/dist/src/Common/Channels/Email.js +0 -36
  161. package/dist/src/Common/Channels/Facebook.d.ts +0 -25
  162. package/dist/src/Common/Channels/Facebook.js +0 -6
  163. package/dist/src/Common/Channels/Form.d.ts +0 -118
  164. package/dist/src/Common/Channels/Form.js +0 -32
  165. package/dist/src/Common/Channels/GoogleBusiness.d.ts +0 -20
  166. package/dist/src/Common/Channels/GoogleBusiness.js +0 -9
  167. package/dist/src/Common/Channels/Instagram.d.ts +0 -29
  168. package/dist/src/Common/Channels/Instagram.js +0 -14
  169. package/dist/src/Common/Channels/MercadoLibre.d.ts +0 -27
  170. package/dist/src/Common/Channels/MercadoLibre.js +0 -9
  171. package/dist/src/Common/Channels/Pbx.d.ts +0 -2
  172. package/dist/src/Common/Channels/Pbx.js +0 -6
  173. package/dist/src/Common/Channels/Permission.d.ts +0 -6
  174. package/dist/src/Common/Channels/Permission.js +0 -6
  175. package/dist/src/Common/Channels/RCS.d.ts +0 -37
  176. package/dist/src/Common/Channels/RCS.js +0 -9
  177. package/dist/src/Common/Channels/Sip.d.ts +0 -2
  178. package/dist/src/Common/Channels/Sip.js +0 -6
  179. package/dist/src/Common/Channels/Sms.d.ts +0 -46
  180. package/dist/src/Common/Channels/Sms.js +0 -16
  181. package/dist/src/Common/Channels/WebChat.d.ts +0 -62
  182. package/dist/src/Common/Channels/WebChat.js +0 -19
  183. package/dist/src/Common/Channels/WhatsApp.d.ts +0 -89
  184. package/dist/src/Common/Channels/WhatsApp.js +0 -18
  185. package/dist/src/Common/Channels/index.d.ts +0 -16
  186. package/dist/src/Common/Channels/index.js +0 -32
  187. package/dist/src/Common/EventsQueue/Data/postComment.d.ts +0 -26
  188. package/dist/src/Common/EventsQueue/Data/postComment.js +0 -2
  189. package/dist/src/Common/EventsQueue/EmailTemplate.d.ts +0 -10
  190. package/dist/src/Common/EventsQueue/EmailTemplate.js +0 -2
  191. package/dist/src/Common/EventsQueue/EventQueue.d.ts +0 -13
  192. package/dist/src/Common/EventsQueue/EventQueue.js +0 -2
  193. package/dist/src/Common/EventsQueue/UserUpdate.d.ts +0 -8
  194. package/dist/src/Common/EventsQueue/UserUpdate.js +0 -2
  195. package/dist/src/Common/EventsQueue/index.d.ts +0 -3
  196. package/dist/src/Common/EventsQueue/index.js +0 -19
  197. package/dist/src/Common/Logs/Log.d.ts +0 -18
  198. package/dist/src/Common/Logs/Log.js +0 -13
  199. package/dist/src/Common/Logs/index.d.ts +0 -1
  200. package/dist/src/Common/Logs/index.js +0 -17
  201. package/dist/src/Common/Messages/MediaFile.d.ts +0 -5
  202. package/dist/src/Common/Messages/MediaFile.js +0 -2
  203. package/dist/src/Common/Messages/Message.d.ts +0 -423
  204. package/dist/src/Common/Messages/Message.js +0 -62
  205. package/dist/src/Common/Messages/Template.d.ts +0 -86
  206. package/dist/src/Common/Messages/Template.js +0 -26
  207. package/dist/src/Common/Messages/index.d.ts +0 -3
  208. package/dist/src/Common/Messages/index.js +0 -19
  209. package/dist/src/Common/Notifications/Notification.d.ts +0 -19
  210. package/dist/src/Common/Notifications/Notification.js +0 -10
  211. package/dist/src/Common/Notifications/UserNotificationsConfig.d.ts +0 -33
  212. package/dist/src/Common/Notifications/UserNotificationsConfig.js +0 -18
  213. package/dist/src/Common/Notifications/index.d.ts +0 -2
  214. package/dist/src/Common/Notifications/index.js +0 -18
  215. package/dist/src/Common/Schedules/Schedules.d.ts +0 -32
  216. package/dist/src/Common/Schedules/Schedules.js +0 -2
  217. package/dist/src/Common/Schedules/index.d.ts +0 -1
  218. package/dist/src/Common/Schedules/index.js +0 -17
  219. package/dist/src/Common/index.d.ts +0 -6
  220. package/dist/src/Common/index.js +0 -42
  221. package/dist/src/Contacts/DuplicateContact.d.ts +0 -11
  222. package/dist/src/Contacts/DuplicateContact.js +0 -2
  223. package/dist/src/Contacts/File.d.ts +0 -17
  224. package/dist/src/Contacts/File.js +0 -2
  225. package/dist/src/Contacts/Import.d.ts +0 -18
  226. package/dist/src/Contacts/Import.js +0 -2
  227. package/dist/src/Contacts/Label.d.ts +0 -9
  228. package/dist/src/Contacts/Label.js +0 -2
  229. package/dist/src/Contacts/Note.d.ts +0 -15
  230. package/dist/src/Contacts/Note.js +0 -2
  231. package/dist/src/Contacts/Relationship.d.ts +0 -28
  232. package/dist/src/Contacts/Relationship.js +0 -16
  233. package/dist/src/Contacts/contacts.d.ts +0 -269
  234. package/dist/src/Contacts/contacts.js +0 -54
  235. package/dist/src/Contacts/index.d.ts +0 -9
  236. package/dist/src/Contacts/index.js +0 -25
  237. package/dist/src/Contacts/options.d.ts +0 -5
  238. package/dist/src/Contacts/options.js +0 -2
  239. package/dist/src/Contacts/segments.d.ts +0 -52
  240. package/dist/src/Contacts/segments.js +0 -53
  241. package/dist/src/Conversations/Assignment.d.ts +0 -81
  242. package/dist/src/Conversations/Assignment.js +0 -4
  243. package/dist/src/Conversations/Conversation.d.ts +0 -360
  244. package/dist/src/Conversations/Conversation.js +0 -36
  245. package/dist/src/Conversations/DashBoard/dashboard.d.ts +0 -115
  246. package/dist/src/Conversations/DashBoard/dashboard.js +0 -65
  247. package/dist/src/Conversations/DashBoard/dashboardChannels.d.ts +0 -5
  248. package/dist/src/Conversations/DashBoard/dashboardChannels.js +0 -6
  249. package/dist/src/Conversations/DashBoard/dashboardMessages.d.ts +0 -13
  250. package/dist/src/Conversations/DashBoard/dashboardMessages.js +0 -9
  251. package/dist/src/Conversations/Ending.d.ts +0 -17
  252. package/dist/src/Conversations/Ending.js +0 -2
  253. package/dist/src/Conversations/Flows/Definitions.d.ts +0 -10
  254. package/dist/src/Conversations/Flows/Definitions.js +0 -2
  255. package/dist/src/Conversations/Flows/Flow.d.ts +0 -222
  256. package/dist/src/Conversations/Flows/Flow.js +0 -50
  257. package/dist/src/Conversations/Flows/FlowInfo.d.ts +0 -9
  258. package/dist/src/Conversations/Flows/FlowInfo.js +0 -2
  259. package/dist/src/Conversations/Flows/Workflows/Workflow.d.ts +0 -336
  260. package/dist/src/Conversations/Flows/Workflows/Workflow.js +0 -98
  261. package/dist/src/Conversations/Flows/Workflows/index.d.ts +0 -1
  262. package/dist/src/Conversations/Flows/Workflows/index.js +0 -17
  263. package/dist/src/Conversations/Flows/index.d.ts +0 -4
  264. package/dist/src/Conversations/Flows/index.js +0 -20
  265. package/dist/src/Conversations/Groups/Group.d.ts +0 -17
  266. package/dist/src/Conversations/Groups/Group.js +0 -2
  267. package/dist/src/Conversations/InboxMongo.d.ts +0 -154
  268. package/dist/src/Conversations/InboxMongo.js +0 -128
  269. package/dist/src/Conversations/InboxProjection.d.ts +0 -162
  270. package/dist/src/Conversations/InboxProjection.js +0 -2
  271. package/dist/src/Conversations/Label.d.ts +0 -10
  272. package/dist/src/Conversations/Label.js +0 -2
  273. package/dist/src/Conversations/Outbox.d.ts +0 -24
  274. package/dist/src/Conversations/Outbox.js +0 -4
  275. package/dist/src/Conversations/Queue.d.ts +0 -107
  276. package/dist/src/Conversations/Queue.js +0 -4
  277. package/dist/src/Conversations/QuickResponse.d.ts +0 -34
  278. package/dist/src/Conversations/QuickResponse.js +0 -2
  279. package/dist/src/Conversations/Routing.d.ts +0 -164
  280. package/dist/src/Conversations/Routing.js +0 -2
  281. package/dist/src/Conversations/Sla.d.ts +0 -227
  282. package/dist/src/Conversations/Sla.js +0 -6
  283. package/dist/src/Conversations/SocialWalls.d.ts +0 -72
  284. package/dist/src/Conversations/SocialWalls.js +0 -2
  285. package/dist/src/Conversations/Survey.d.ts +0 -19
  286. package/dist/src/Conversations/Survey.js +0 -9
  287. package/dist/src/Conversations/Transfer.d.ts +0 -73
  288. package/dist/src/Conversations/Transfer.js +0 -2
  289. package/dist/src/Conversations/WebHook.d.ts +0 -22
  290. package/dist/src/Conversations/WebHook.js +0 -2
  291. package/dist/src/Conversations/index.d.ts +0 -21
  292. package/dist/src/Conversations/index.js +0 -60
  293. package/dist/src/Docs/Document.d.ts +0 -58
  294. package/dist/src/Docs/Document.js +0 -29
  295. package/dist/src/Docs/Store.d.ts +0 -37
  296. package/dist/src/Docs/Store.js +0 -17
  297. package/dist/src/Docs/index.d.ts +0 -2
  298. package/dist/src/Docs/index.js +0 -18
  299. package/dist/src/Forms/API.d.ts +0 -53
  300. package/dist/src/Forms/API.js +0 -2
  301. package/dist/src/Forms/SubmittedForm.d.ts +0 -56
  302. package/dist/src/Forms/SubmittedForm.js +0 -9
  303. package/dist/src/Forms/index.d.ts +0 -2
  304. package/dist/src/Forms/index.js +0 -18
  305. package/dist/src/Marketing/Campaign.d.ts +0 -69
  306. package/dist/src/Marketing/Campaign.js +0 -30
  307. package/dist/src/Marketing/Dashboard.d.ts +0 -48
  308. package/dist/src/Marketing/Dashboard.js +0 -2
  309. package/dist/src/Marketing/Options.d.ts +0 -12
  310. package/dist/src/Marketing/Options.js +0 -9
  311. package/dist/src/Marketing/Template.d.ts +0 -19
  312. package/dist/src/Marketing/Template.js +0 -8
  313. package/dist/src/Marketing/index.d.ts +0 -4
  314. package/dist/src/Marketing/index.js +0 -20
  315. package/dist/src/Presence/AgentPause.d.ts +0 -24
  316. package/dist/src/Presence/AgentPause.js +0 -19
  317. package/dist/src/Presence/QueueParticipation.d.ts +0 -17
  318. package/dist/src/Presence/QueueParticipation.js +0 -2
  319. package/dist/src/Presence/QueueRoutingState.d.ts +0 -27
  320. package/dist/src/Presence/QueueRoutingState.js +0 -9
  321. package/dist/src/Presence/index.d.ts +0 -3
  322. package/dist/src/Presence/index.js +0 -19
  323. package/dist/src/PublicAPI/apiKey.d.ts +0 -12
  324. package/dist/src/PublicAPI/apiKey.js +0 -2
  325. package/dist/src/Reports/ScheduledReport.d.ts +0 -205
  326. package/dist/src/Reports/ScheduledReport.js +0 -57
  327. package/dist/src/Reports/aiReport.d.ts +0 -20
  328. package/dist/src/Reports/aiReport.js +0 -2
  329. package/dist/src/Reports/apiResult.d.ts +0 -5
  330. package/dist/src/Reports/apiResult.js +0 -2
  331. package/dist/src/Reports/index.d.ts +0 -3
  332. package/dist/src/Reports/index.js +0 -19
  333. package/dist/src/Sales/Api.d.ts +0 -40
  334. package/dist/src/Sales/Api.js +0 -2
  335. package/dist/src/Sales/Common.d.ts +0 -72
  336. package/dist/src/Sales/Common.js +0 -31
  337. package/dist/src/Sales/Dashboard.d.ts +0 -25
  338. package/dist/src/Sales/Dashboard.js +0 -2
  339. package/dist/src/Sales/Lead.d.ts +0 -99
  340. package/dist/src/Sales/Lead.js +0 -8
  341. package/dist/src/Sales/index.d.ts +0 -4
  342. package/dist/src/Sales/index.js +0 -20
  343. package/dist/src/Security/Security.d.ts +0 -5
  344. package/dist/src/Security/Security.js +0 -2
  345. package/dist/src/Security/index.d.ts +0 -1
  346. package/dist/src/Security/index.js +0 -17
  347. package/dist/src/Shop/Cart/cart.d.ts +0 -19
  348. package/dist/src/Shop/Cart/cart.js +0 -2
  349. package/dist/src/Shop/index.d.ts +0 -1
  350. package/dist/src/Shop/index.js +0 -17
  351. package/dist/src/Spaces/Dashboard.d.ts +0 -4
  352. package/dist/src/Spaces/Dashboard.js +0 -2
  353. package/dist/src/Spaces/index.d.ts +0 -2
  354. package/dist/src/Spaces/index.js +0 -18
  355. package/dist/src/Spaces/spaces.d.ts +0 -104
  356. package/dist/src/Spaces/spaces.js +0 -85
  357. package/dist/src/Tickets/AI.d.ts +0 -400
  358. package/dist/src/Tickets/AI.js +0 -113
  359. package/dist/src/Tickets/AdvancedApi.d.ts +0 -486
  360. package/dist/src/Tickets/AdvancedApi.js +0 -108
  361. package/dist/src/Tickets/Api.d.ts +0 -62
  362. package/dist/src/Tickets/Api.js +0 -8
  363. package/dist/src/Tickets/Approval.d.ts +0 -139
  364. package/dist/src/Tickets/Approval.js +0 -30
  365. package/dist/src/Tickets/Automation.d.ts +0 -237
  366. package/dist/src/Tickets/Automation.js +0 -74
  367. package/dist/src/Tickets/Category.d.ts +0 -71
  368. package/dist/src/Tickets/Category.js +0 -2
  369. package/dist/src/Tickets/Common.d.ts +0 -90
  370. package/dist/src/Tickets/Common.js +0 -38
  371. package/dist/src/Tickets/Conversation.d.ts +0 -68
  372. package/dist/src/Tickets/Conversation.js +0 -30
  373. package/dist/src/Tickets/Dashboard.d.ts +0 -485
  374. package/dist/src/Tickets/Dashboard.js +0 -218
  375. package/dist/src/Tickets/Fields.d.ts +0 -134
  376. package/dist/src/Tickets/Fields.js +0 -44
  377. package/dist/src/Tickets/Layouts.d.ts +0 -65
  378. package/dist/src/Tickets/Layouts.js +0 -22
  379. package/dist/src/Tickets/Routing.d.ts +0 -290
  380. package/dist/src/Tickets/Routing.js +0 -87
  381. package/dist/src/Tickets/Satisfaction.d.ts +0 -31
  382. package/dist/src/Tickets/Satisfaction.js +0 -9
  383. package/dist/src/Tickets/Security.d.ts +0 -302
  384. package/dist/src/Tickets/Security.js +0 -107
  385. package/dist/src/Tickets/SelfService.d.ts +0 -255
  386. package/dist/src/Tickets/SelfService.js +0 -56
  387. package/dist/src/Tickets/Sla.d.ts +0 -253
  388. package/dist/src/Tickets/Sla.js +0 -73
  389. package/dist/src/Tickets/Task.d.ts +0 -122
  390. package/dist/src/Tickets/Task.js +0 -17
  391. package/dist/src/Tickets/Ticket.d.ts +0 -133
  392. package/dist/src/Tickets/Ticket.js +0 -2
  393. package/dist/src/Tickets/Views.d.ts +0 -77
  394. package/dist/src/Tickets/Views.js +0 -23
  395. package/dist/src/Tickets/Workflow.d.ts +0 -129
  396. package/dist/src/Tickets/Workflow.js +0 -44
  397. package/dist/src/Tickets/index.d.ts +0 -20
  398. package/dist/src/Tickets/index.js +0 -36
  399. package/dist/src/Users/Signature.d.ts +0 -74
  400. package/dist/src/Users/Signature.js +0 -2
  401. package/dist/src/Users/UserActivitySummary.d.ts +0 -5
  402. package/dist/src/Users/UserActivitySummary.js +0 -2
  403. package/dist/src/Users/UserProfile.d.ts +0 -97
  404. package/dist/src/Users/UserProfile.js +0 -5
  405. package/dist/src/Users/UserTrii.d.ts +0 -112
  406. package/dist/src/Users/UserTrii.js +0 -17
  407. package/dist/src/Users/UserType.d.ts +0 -10
  408. package/dist/src/Users/UserType.js +0 -13
  409. package/dist/src/Users/index.d.ts +0 -5
  410. package/dist/src/Users/index.js +0 -21
  411. package/dist/src/index.d.ts +0 -23
  412. package/dist/src/index.js +0 -59
@@ -1,77 +0,0 @@
1
- import { UserInfo } from "../Users";
2
- export type CalendarItemKind = "EVENT" | "TASK";
3
- export type CalendarVisibility = "PRIVATE" | "PUBLIC";
4
- export type BusyStatus = "BUSY" | "FREE";
5
- export declare enum relatedType {
6
- CONTACT = 1,
7
- DEBT = 2,
8
- TICKET = 3
9
- }
10
- export interface IRelatedRef {
11
- type: relatedType;
12
- id: string;
13
- }
14
- export declare enum EventNotificationPeriod {
15
- MINUTE = 1,
16
- HOUR = 2,
17
- DAY = 3,
18
- WEEK = 4
19
- }
20
- export interface IReminder {
21
- id: string;
22
- /** Absolute reminder time (optional if using offset). */
23
- remindAt?: Date;
24
- /**
25
- * Offset relative to:
26
- * - EVENT: occurrence startAt
27
- * - TASK: dueAt
28
- */
29
- offsetValue?: number;
30
- offsetUnit?: EventNotificationPeriod;
31
- sendToContact: boolean;
32
- }
33
- export interface ISyncRef {
34
- provider: "NONE" | "GOOGLE";
35
- /** External calendar id (e.g., Google calendarId) */
36
- externalCalendarId?: string;
37
- /** External item id (e.g., Google eventId / taskId) */
38
- externalItemId?: string;
39
- /** iCal UID (useful for correlation with Google/iCal) */
40
- iCalUID?: string;
41
- /** Provider ETag / version for concurrency */
42
- etag?: string;
43
- lastSyncedAt?: Date;
44
- syncState?: "PENDING" | "SYNCED" | "ERROR";
45
- syncError?: string;
46
- }
47
- export interface IAuditFields {
48
- createdAt: Date;
49
- createdBy: UserInfo;
50
- updatedAt?: Date;
51
- updatedBy?: UserInfo;
52
- deletedAt?: Date;
53
- deletedBy?: UserInfo;
54
- }
55
- export interface ICalendarItemType {
56
- id: string;
57
- name: string;
58
- color: string;
59
- icon: string;
60
- /** Indicates whether this type applies to events or tasks. */
61
- kind: CalendarItemKind;
62
- }
63
- export interface ICalendarItemBase extends IAuditFields {
64
- id: string;
65
- spaceId: string;
66
- kind: CalendarItemKind;
67
- visibility: CalendarVisibility;
68
- title: string;
69
- details: string;
70
- location?: string;
71
- color?: string;
72
- type?: ICalendarItemType;
73
- related?: IRelatedRef[];
74
- sharedWith?: UserInfo[];
75
- reminders?: IReminder[];
76
- sync?: ISyncRef;
77
- }
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EventNotificationPeriod = exports.relatedType = void 0;
4
- var relatedType;
5
- (function (relatedType) {
6
- relatedType[relatedType["CONTACT"] = 1] = "CONTACT";
7
- relatedType[relatedType["DEBT"] = 2] = "DEBT";
8
- relatedType[relatedType["TICKET"] = 3] = "TICKET";
9
- })(relatedType || (exports.relatedType = relatedType = {}));
10
- var EventNotificationPeriod;
11
- (function (EventNotificationPeriod) {
12
- EventNotificationPeriod[EventNotificationPeriod["MINUTE"] = 1] = "MINUTE";
13
- EventNotificationPeriod[EventNotificationPeriod["HOUR"] = 2] = "HOUR";
14
- EventNotificationPeriod[EventNotificationPeriod["DAY"] = 3] = "DAY";
15
- EventNotificationPeriod[EventNotificationPeriod["WEEK"] = 4] = "WEEK";
16
- })(EventNotificationPeriod || (exports.EventNotificationPeriod = EventNotificationPeriod = {}));
@@ -1,64 +0,0 @@
1
- import { IContactInfo } from "../Contacts/contacts";
2
- import { UserInfo } from "../Users/UserTrii";
3
- export interface IEventType {
4
- id: string;
5
- name: string;
6
- color: string;
7
- icon: string;
8
- }
9
- export interface IEvent {
10
- id: string;
11
- spaceId: string;
12
- isPrivate: boolean;
13
- relatedContact: IContactInfo;
14
- relatedTicket: any;
15
- relatedDebt: any;
16
- startAt: Date;
17
- endAt: Date;
18
- /**Event duration expressed in minutes */
19
- duration: number;
20
- allDay: boolean;
21
- title: string;
22
- details: string;
23
- location: string;
24
- color?: string;
25
- eventType?: IEventType;
26
- calendarId?: string;
27
- rule?: string;
28
- parentId?: string;
29
- originalOccurrenceDate?: Date;
30
- notifications: IEventNotification[];
31
- sharedWith: UserInfo[];
32
- createdAt: Date;
33
- createdBy: UserInfo;
34
- finalized: boolean;
35
- finalizedAt?: Date;
36
- finalizedBy?: UserInfo;
37
- deletedAt?: Date;
38
- deletedBy?: UserInfo;
39
- }
40
- export interface IRelatedInfo {
41
- type: relatedType;
42
- id: string;
43
- contact: IContactInfo;
44
- ticket: any;
45
- debt: any;
46
- }
47
- export declare enum relatedType {
48
- CONTACT = 1,
49
- DEBT = 2,
50
- TICKET = 3
51
- }
52
- export interface IEventNotification {
53
- id: string;
54
- notificacionDateTime: Date;
55
- timeValue: number;
56
- timePeriod: EventNotificationPeriod;
57
- sendToContact: boolean;
58
- }
59
- export declare enum EventNotificationPeriod {
60
- MINUTE = 1,
61
- HOUR = 2,
62
- DAY = 3,
63
- WEEK = 4
64
- }
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EventNotificationPeriod = exports.relatedType = void 0;
4
- var relatedType;
5
- (function (relatedType) {
6
- relatedType[relatedType["CONTACT"] = 1] = "CONTACT";
7
- relatedType[relatedType["DEBT"] = 2] = "DEBT";
8
- relatedType[relatedType["TICKET"] = 3] = "TICKET";
9
- })(relatedType || (exports.relatedType = relatedType = {}));
10
- var EventNotificationPeriod;
11
- (function (EventNotificationPeriod) {
12
- EventNotificationPeriod[EventNotificationPeriod["MINUTE"] = 1] = "MINUTE";
13
- EventNotificationPeriod[EventNotificationPeriod["HOUR"] = 2] = "HOUR";
14
- EventNotificationPeriod[EventNotificationPeriod["DAY"] = 3] = "DAY";
15
- EventNotificationPeriod[EventNotificationPeriod["WEEK"] = 4] = "WEEK";
16
- })(EventNotificationPeriod || (exports.EventNotificationPeriod = EventNotificationPeriod = {}));
@@ -1,61 +0,0 @@
1
- import { BusyStatus, ICalendarItemBase } from "./Common";
2
- export type EventStatus = "CONFIRMED" | "TENTATIVE" | "CANCELLED";
3
- /**
4
- * - SINGLE: a normal non-recurring event
5
- * - SERIES_MASTER: the recurring master
6
- * - SERIES_OVERRIDE: an exception/override for one occurrence
7
- */
8
- export type EventDocKind = "SINGLE" | "SERIES_MASTER" | "SERIES_OVERRIDE";
9
- export interface IRecurrence {
10
- /**
11
- * iCal RRULE compatible with Google:
12
- * e.g. "FREQ=WEEKLY;BYDAY=MO,WE;INTERVAL=1"
13
- */
14
- rrule: string;
15
- /** Optional expansion limit (alternative to COUNT in RRULE). */
16
- until?: Date;
17
- /** Excluded occurrences (EXDATE). */
18
- exDates?: Date[];
19
- /** Additional occurrences (RDATE). */
20
- rDates?: Date[];
21
- /** Event timezone (strongly recommended). */
22
- timeZone: string;
23
- }
24
- export interface IRecurrenceOverride {
25
- /** Link to master series. */
26
- masterId: string;
27
- /**
28
- * Occurrence key: original start time of the occurrence as generated from the master.
29
- * This aligns with how Google identifies instances via originalStartTime.
30
- */
31
- originalStartAt: Date;
32
- /** What happens to that occurrence. */
33
- action: "MODIFY" | "CANCEL";
34
- /** When MODIFY: patch fields to override. */
35
- patch?: Partial<Pick<ICalendarEvent, "title" | "details" | "location" | "allDay" | "startAt" | "endAt" | "status" | "busyStatus">>;
36
- }
37
- export interface ICalendarEvent extends ICalendarItemBase {
38
- kind: "EVENT";
39
- /** Document kind for recurrence handling. */
40
- docKind: EventDocKind;
41
- allDay: boolean;
42
- /**
43
- * Use startAt/endAt for time range.
44
- * If allDay=true, recommended convention:
45
- * - startAt at 00:00 in recurrence.timeZone
46
- * - endAt exclusive (next day 00:00) for single-day all-day
47
- */
48
- startAt: Date;
49
- endAt: Date;
50
- /** Should it block availability? */
51
- busyStatus?: BusyStatus;
52
- status?: EventStatus;
53
- /**
54
- * Recurrence definition, only for docKind="SERIES_MASTER"
55
- */
56
- recurrence?: IRecurrence;
57
- /**
58
- * Override definition, only for docKind="SERIES_OVERRIDE"
59
- */
60
- override?: IRecurrenceOverride;
61
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- // ===========================
3
- // EVENTS
4
- // ===========================
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- import { Contacts } from "..";
2
- export interface ITask {
3
- id: string;
4
- spaceId: string;
5
- calendarId: string;
6
- title: string;
7
- description?: string;
8
- startAt?: Date;
9
- isCompleted: boolean;
10
- contactId: string;
11
- relatedContact?: Contacts.IContactInfo;
12
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,18 +0,0 @@
1
- import { IContactInfo } from "../Contacts";
2
- import { UserInfo } from "../Users";
3
- import { ICalendarItemBase } from "./Common";
4
- export type TaskStatus = "NEEDS_ACTION" | "IN_PROGRESS" | "COMPLETED" | "CANCELLED";
5
- export type TaskPriority = 1 | 2 | 3 | 4;
6
- export interface ICalendarTask extends ICalendarItemBase {
7
- kind: "TASK";
8
- /** Optional deadline */
9
- dueAt?: Date;
10
- /** If dueAt is date-only in UI, store 00:00 + hasTime=false */
11
- hasTime?: boolean;
12
- status: TaskStatus;
13
- priority?: TaskPriority;
14
- completedAt?: Date;
15
- completedBy?: UserInfo;
16
- /** Optional: support subtasks */
17
- relatedContact: IContactInfo;
18
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- // ===========================
3
- // TASKS
4
- // ===========================
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export * from './Event';
2
- export * from './Calendar';
3
- export * from './Task';
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./Event"), exports);
18
- __exportStar(require("./Calendar"), exports);
19
- __exportStar(require("./Task"), exports);
@@ -1,17 +0,0 @@
1
- export interface IAudio {
2
- id: string;
3
- spaceId: string;
4
- type: audioType;
5
- name: string;
6
- description: string;
7
- url: string;
8
- fileName: string;
9
- mimeType: string;
10
- duration: number;
11
- createdAt?: Date | null;
12
- createdBy?: string | null;
13
- }
14
- export declare enum audioType {
15
- PROMPT = 0,
16
- MUSIC = 1
17
- }
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.audioType = void 0;
4
- var audioType;
5
- (function (audioType) {
6
- audioType[audioType["PROMPT"] = 0] = "PROMPT";
7
- audioType[audioType["MUSIC"] = 1] = "MUSIC";
8
- })(audioType || (exports.audioType = audioType = {}));
@@ -1,59 +0,0 @@
1
- import { Channels } from "../Common/index";
2
- export interface ICallLog {
3
- id: string;
4
- shardKey?: string;
5
- spaceId: string;
6
- userId: string;
7
- extensionNumber: string;
8
- remoteName: string;
9
- remoteNumber: string;
10
- contactId?: string;
11
- origin: string;
12
- channelInfo: Channels.IChannel;
13
- recId: string;
14
- recUrl: string;
15
- type: CallType;
16
- direction: CallDirection;
17
- status: CallStatus;
18
- cost: number;
19
- uuid: string;
20
- uuidParent: null;
21
- callerIdNumber: string;
22
- callerIdName: string;
23
- destinationNumber: string;
24
- startStamp: Date;
25
- answerStamp: Date;
26
- endStamp: Date;
27
- billSec: number;
28
- duration: number;
29
- hangupCause: string;
30
- accountcode: string;
31
- readCodec: string;
32
- writeCodec: string;
33
- sipHangupDisposition: string;
34
- ani: string;
35
- sipCallId: string;
36
- domainName: string;
37
- source: string;
38
- createdAt?: Date | null;
39
- createdBy?: string | null;
40
- }
41
- export declare enum CallType {
42
- NONE = 0,
43
- EXTERNAL = 1,
44
- INTERNAL = 2
45
- }
46
- export declare enum CallDirection {
47
- INBOUND = 1,
48
- OUTBOUND = 2
49
- }
50
- export declare enum CallStatus {
51
- NONE = 0,
52
- ANSWERED = 1,
53
- NO_ANSWER = 2,
54
- BUSY = 3,
55
- FAILED = 4,
56
- LOST = 5,
57
- ABANDONED = 6,
58
- OVERFLOWED = 7
59
- }
@@ -1,25 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CallStatus = exports.CallDirection = exports.CallType = void 0;
4
- var CallType;
5
- (function (CallType) {
6
- CallType[CallType["NONE"] = 0] = "NONE";
7
- CallType[CallType["EXTERNAL"] = 1] = "EXTERNAL";
8
- CallType[CallType["INTERNAL"] = 2] = "INTERNAL";
9
- })(CallType || (exports.CallType = CallType = {}));
10
- var CallDirection;
11
- (function (CallDirection) {
12
- CallDirection[CallDirection["INBOUND"] = 1] = "INBOUND";
13
- CallDirection[CallDirection["OUTBOUND"] = 2] = "OUTBOUND";
14
- })(CallDirection || (exports.CallDirection = CallDirection = {}));
15
- var CallStatus;
16
- (function (CallStatus) {
17
- CallStatus[CallStatus["NONE"] = 0] = "NONE";
18
- CallStatus[CallStatus["ANSWERED"] = 1] = "ANSWERED";
19
- CallStatus[CallStatus["NO_ANSWER"] = 2] = "NO_ANSWER";
20
- CallStatus[CallStatus["BUSY"] = 3] = "BUSY";
21
- CallStatus[CallStatus["FAILED"] = 4] = "FAILED";
22
- CallStatus[CallStatus["LOST"] = 5] = "LOST";
23
- CallStatus[CallStatus["ABANDONED"] = 6] = "ABANDONED";
24
- CallStatus[CallStatus["OVERFLOWED"] = 7] = "OVERFLOWED";
25
- })(CallStatus || (exports.CallStatus = CallStatus = {}));
@@ -1,5 +0,0 @@
1
- export interface ICodec {
2
- name: string;
3
- value: string;
4
- }
5
- export declare const defaultCodecs: ICodec[];
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.defaultCodecs = void 0;
4
- exports.defaultCodecs = [
5
- { name: "PCMU", value: "ulaw" },
6
- { name: "PCMA", value: "alaw" },
7
- { name: "GSM", value: "gsm" },
8
- { name: "G.726", value: "g726" },
9
- { name: "G.729", value: "g729" },
10
- { name: "iLBC", value: "ilbc" },
11
- { name: "G.722", value: "g722" },
12
- { name: "Siren7", value: "siren7" },
13
- { name: "Siren14", value: "siren14" },
14
- { name: "G.723", value: "g723" },
15
- { name: "H.263", value: "h263" },
16
- { name: "H.263p", value: "h263p" },
17
- { name: "H.264", value: "h264" },
18
- { name: "H.265", value: "h265" },
19
- { name: "VP8", value: "vp8" },
20
- { name: "OPUS", value: "opus" }
21
- ];
@@ -1,24 +0,0 @@
1
- export interface IExtension {
2
- id: string;
3
- spaceId: string;
4
- extension: string;
5
- callerIdNumber: string;
6
- authID: string;
7
- sipPassword: string;
8
- sipServer: string;
9
- sipProxy: string;
10
- voicemailEnabled: boolean;
11
- voicemailPassword: string;
12
- keepAlive: boolean;
13
- keepAliveFrequency: number;
14
- disabled: boolean;
15
- enableQualityEvaluation: boolean;
16
- name: string;
17
- email: string;
18
- concurrentRegistrations: number;
19
- userId: string;
20
- dtmfMode: string;
21
- codecs: string;
22
- createdAt?: Date | null;
23
- createdBy?: string | null;
24
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- export interface IOptions {
2
- id: string;
3
- spaceId: string;
4
- hostUrl: string;
5
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,52 +0,0 @@
1
- import { ExtensionType, IRingGroupMember } from "./RingGroup";
2
- export interface IQueue {
3
- id: string;
4
- spaceId: string;
5
- name: string;
6
- extension: string;
7
- ringStrategy: RingStrategyQueue;
8
- musicOnHold?: string;
9
- maxQueueLength?: number;
10
- /**
11
- * Agent Rest Time (s)
12
- * Configure the amount of time in seconds after ending a call where the agent will not receive additional calls.
13
- * Once this time has passed, the agent will be able to receive calls again.
14
- * If set to 0, agents can receive additional calls immediately after ending a call.
15
- */
16
- agentRestTime?: number;
17
- /**Retry Time (s)
18
- * Configure the number of seconds to wait before ringing the next agent. The minimum is 1.
19
- */
20
- retryTime?: number;
21
- /**Agent Ring Time (s)
22
- * Configure the number of seconds to ring an agent. The minimum is 5.
23
- */
24
- agentRingTime?: number;
25
- autoRecord: boolean;
26
- /**Welcome Prompt
27
- * Configure a custom welcome prompt for the queue.
28
- */
29
- customPrompt?: string;
30
- skipBusyAgent: boolean;
31
- /**
32
- * extension number for static users
33
- */
34
- staticMembers: IRingGroupMember[];
35
- /**
36
- * users Id who are allowed to login in this queue to answer calls
37
- */
38
- allowedAgents?: string[];
39
- TimeOutDestinationEnabled: boolean;
40
- TimeOutDestinationType: ExtensionType;
41
- TimeOutDestinationValue?: string;
42
- createdAt?: Date | null;
43
- createdBy?: string | null;
44
- }
45
- export declare enum RingStrategyQueue {
46
- RING_ALL = 0,
47
- LINEAR = 1,
48
- LAST_RECENT = 2,
49
- FEWEST_CALLS = 3,
50
- RANDOM = 4,
51
- ROUND_ROBIN = 5
52
- }
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RingStrategyQueue = void 0;
4
- var RingStrategyQueue;
5
- (function (RingStrategyQueue) {
6
- RingStrategyQueue[RingStrategyQueue["RING_ALL"] = 0] = "RING_ALL";
7
- RingStrategyQueue[RingStrategyQueue["LINEAR"] = 1] = "LINEAR";
8
- RingStrategyQueue[RingStrategyQueue["LAST_RECENT"] = 2] = "LAST_RECENT";
9
- RingStrategyQueue[RingStrategyQueue["FEWEST_CALLS"] = 3] = "FEWEST_CALLS";
10
- RingStrategyQueue[RingStrategyQueue["RANDOM"] = 4] = "RANDOM";
11
- RingStrategyQueue[RingStrategyQueue["ROUND_ROBIN"] = 5] = "ROUND_ROBIN";
12
- })(RingStrategyQueue || (exports.RingStrategyQueue = RingStrategyQueue = {}));
@@ -1,46 +0,0 @@
1
- export interface IRingGroup {
2
- id: string;
3
- spaceId: string;
4
- name: string;
5
- extension: string;
6
- ringStrategy: RingStrategyType;
7
- musicOnHold?: string;
8
- customPrompt?: string;
9
- ringTimeOut: number;
10
- skipBusyAgent: boolean;
11
- /**
12
- * extension number for external ring groups
13
- */
14
- members: IRingGroupMember[];
15
- TimeOutDestinationEnabled: boolean;
16
- TimeOutDestinationType: ExtensionType;
17
- TimeOutDestinationValue?: string;
18
- createdAt?: Date | null;
19
- createdBy?: string | null;
20
- }
21
- export declare enum RingStrategyType {
22
- SIMULTANEOUS = 0,
23
- RING_IN_ORDER = 1
24
- }
25
- export interface IRingGroupMember {
26
- position: number;
27
- extension: string;
28
- }
29
- export declare enum ExtensionType {
30
- /**Extension is a user */
31
- USER = 0,
32
- /**Queue */
33
- QUEUE = 1,
34
- /**Group */
35
- GROUP = 2,
36
- /**Ring Group */
37
- RING_GROUP = 3,
38
- /**Conference */
39
- CONFERENCE = 4,
40
- /**Extension is a voicemail */
41
- VOICEMAIL = 5,
42
- /**Extension number */
43
- EXTERNAL = 6,
44
- /**Flow */
45
- FLOW = 7
46
- }
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ExtensionType = exports.RingStrategyType = void 0;
4
- var RingStrategyType;
5
- (function (RingStrategyType) {
6
- RingStrategyType[RingStrategyType["SIMULTANEOUS"] = 0] = "SIMULTANEOUS";
7
- RingStrategyType[RingStrategyType["RING_IN_ORDER"] = 1] = "RING_IN_ORDER";
8
- })(RingStrategyType || (exports.RingStrategyType = RingStrategyType = {}));
9
- var ExtensionType;
10
- (function (ExtensionType) {
11
- /**Extension is a user */
12
- ExtensionType[ExtensionType["USER"] = 0] = "USER";
13
- /**Queue */
14
- ExtensionType[ExtensionType["QUEUE"] = 1] = "QUEUE";
15
- /**Group */
16
- ExtensionType[ExtensionType["GROUP"] = 2] = "GROUP";
17
- /**Ring Group */
18
- ExtensionType[ExtensionType["RING_GROUP"] = 3] = "RING_GROUP";
19
- /**Conference */
20
- ExtensionType[ExtensionType["CONFERENCE"] = 4] = "CONFERENCE";
21
- /**Extension is a voicemail */
22
- ExtensionType[ExtensionType["VOICEMAIL"] = 5] = "VOICEMAIL";
23
- /**Extension number */
24
- ExtensionType[ExtensionType["EXTERNAL"] = 6] = "EXTERNAL";
25
- /**Flow */
26
- ExtensionType[ExtensionType["FLOW"] = 7] = "FLOW";
27
- })(ExtensionType || (exports.ExtensionType = ExtensionType = {}));
@@ -1,6 +0,0 @@
1
- export declare enum TransportType {
2
- /**UDP */
3
- UDP = 0,
4
- /**TCP */
5
- TCP = 1
6
- }
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TransportType = void 0;
4
- var TransportType;
5
- (function (TransportType) {
6
- /**UDP */
7
- TransportType[TransportType["UDP"] = 0] = "UDP";
8
- /**TCP */
9
- TransportType[TransportType["TCP"] = 1] = "TCP";
10
- /**TLC */
11
- })(TransportType || (exports.TransportType = TransportType = {}));