@trii/types 2.10.666 → 2.10.668

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 (413) hide show
  1. package/dist/{src/AI/Map.d.ts → AI/MapPolygon.d.ts} +10 -1
  2. package/dist/Conversations/Flows/Nodes/NodeAIChatBot.d.ts +0 -0
  3. package/dist/Conversations/Flows/Nodes/NodeAIChatBot.js +0 -0
  4. package/dist/Conversations/Flows/Nodes/NodeApi.d.ts +2 -0
  5. package/dist/Conversations/Flows/Nodes/NodeApi.js +183 -0
  6. package/dist/Conversations/Flows/Nodes/NodeBotIA.d.ts +15 -0
  7. package/dist/{src/Common/Channels/Sip.js → Conversations/Flows/Nodes/NodeBotIA.js} +3 -3
  8. package/dist/Conversations/Flows/Nodes/NodeChatBotIA.d.ts +15 -0
  9. package/dist/Conversations/Flows/Nodes/NodeChatBotIA.js +6 -0
  10. package/dist/Conversations/Flows/Nodes/NodeConditional.d.ts +0 -0
  11. package/dist/Conversations/Flows/Nodes/NodeConditional.js +0 -0
  12. package/dist/Conversations/Flows/Nodes/NodeContactSearch.d.ts +0 -0
  13. package/dist/Conversations/Flows/Nodes/NodeContactSearch.js +0 -0
  14. package/dist/Conversations/Flows/Nodes/NodeContactUpdate.d.ts +0 -0
  15. package/dist/Conversations/Flows/Nodes/NodeContactUpdate.js +0 -0
  16. package/dist/Conversations/Flows/Nodes/NodeConversationAssignTo.d.ts +0 -0
  17. package/dist/Conversations/Flows/Nodes/NodeConversationAssignTo.js +0 -0
  18. package/dist/Conversations/Flows/Nodes/NodeConversationFinalize.d.ts +0 -0
  19. package/dist/Conversations/Flows/Nodes/NodeConversationFinalize.js +0 -0
  20. package/dist/Conversations/Flows/Nodes/NodeConversationUpdate.d.ts +0 -0
  21. package/dist/Conversations/Flows/Nodes/NodeConversationUpdate.js +0 -0
  22. package/dist/Conversations/Flows/Nodes/NodeFillForm.d.ts +0 -0
  23. package/dist/Conversations/Flows/Nodes/NodeFillForm.js +0 -0
  24. package/dist/Conversations/Flows/Nodes/NodeFillTicket.d.ts +1 -0
  25. package/dist/Conversations/Flows/Nodes/NodeFillTicket.js +9 -0
  26. package/dist/Conversations/Flows/Nodes/NodeGoogleCalendar.d.ts +20 -0
  27. package/dist/Conversations/Flows/Nodes/NodeGoogleMaps copy.d.ts +12 -0
  28. package/dist/Conversations/Flows/Nodes/NodeGoogleMaps copy.js +6 -0
  29. package/dist/Conversations/Flows/Nodes/NodeGoogleMaps.d.ts +15 -0
  30. package/dist/Conversations/Flows/Nodes/NodeMsgReply.d.ts +0 -0
  31. package/dist/Conversations/Flows/Nodes/NodeMsgReply.js +0 -0
  32. package/dist/Conversations/Flows/Nodes/NodeMsgSend.d.ts +0 -0
  33. package/dist/Conversations/Flows/Nodes/NodeMsgSend.js +0 -0
  34. package/dist/Conversations/Flows/Nodes/NodeMsgText.d.ts +1 -0
  35. package/dist/Conversations/Flows/Nodes/NodeMsgText.js +27 -0
  36. package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.d.ts +0 -0
  37. package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.js +0 -0
  38. package/dist/Conversations/Flows/Nodes/NodeRedirect.d.ts +0 -0
  39. package/dist/Conversations/Flows/Nodes/NodeRedirect.js +0 -0
  40. package/dist/Conversations/Flows/Nodes/NodeSendEmail.d.ts +0 -0
  41. package/dist/Conversations/Flows/Nodes/NodeSendEmail.js +0 -0
  42. package/dist/Conversations/Flows/Nodes/NodeSqlQuery.d.ts +0 -0
  43. package/dist/Conversations/Flows/Nodes/NodeSqlQuery.js +0 -0
  44. package/dist/Conversations/Flows/Nodes/NodeStart.d.ts +0 -0
  45. package/dist/Conversations/Flows/Nodes/NodeStart.js +0 -0
  46. package/dist/Conversations/Flows/Nodes/NodeTimeScheduleControl.d.ts +0 -0
  47. package/dist/Conversations/Flows/Nodes/NodeTimeScheduleControl.js +0 -0
  48. package/dist/Conversations/Flows/Nodes/NodeTimeTimer.d.ts +0 -0
  49. package/dist/Conversations/Flows/Nodes/NodeTimeTimer.js +0 -0
  50. package/dist/Conversations/Flows/Nodes/NodeTimeWaitUntil.d.ts +0 -0
  51. package/dist/Conversations/Flows/Nodes/NodeTimeWaitUntil.js +0 -0
  52. package/dist/Conversations/Flows/Nodes/NodeToolCalculator.d.ts +2 -0
  53. package/dist/Conversations/Flows/Nodes/NodeToolCalculator.js +37 -0
  54. package/dist/Conversations/Flows/Nodes/NodeToolContacts.d.ts +2 -0
  55. package/dist/Conversations/Flows/Nodes/NodeToolContacts.js +59 -0
  56. package/dist/Conversations/Flows/Nodes/NodeToolFunction.d.ts +2 -0
  57. package/dist/Conversations/Flows/Nodes/NodeToolFunction.js +45 -0
  58. package/dist/Conversations/Flows/Nodes/NodeToolGoogleCalendar.d.ts +2 -0
  59. package/dist/Conversations/Flows/Nodes/NodeToolGoogleCalendar.js +87 -0
  60. package/dist/Conversations/Flows/Nodes/NodeToolGoogleMaps.d.ts +1 -0
  61. package/dist/Conversations/Flows/Nodes/NodeToolKnowledge.d.ts +2 -0
  62. package/dist/Conversations/Flows/Nodes/NodeToolKnowledge.js +52 -0
  63. package/dist/Conversations/Flows/Nodes/NodeToolMapsCheckPolygon.d.ts +2 -0
  64. package/dist/Conversations/Flows/Nodes/NodeToolMapsCheckPolygon.js +59 -0
  65. package/dist/Conversations/Flows/Nodes/NodeToolMcpClient.d.ts +2 -0
  66. package/dist/Conversations/Flows/Nodes/NodeToolMcpClient.js +45 -0
  67. package/dist/Conversations/Flows/Nodes/NodeToolShoppingCart.d.ts +2 -0
  68. package/dist/Conversations/Flows/Nodes/NodeToolShoppingCart.js +81 -0
  69. package/dist/Conversations/Flows/Nodes/index.d.ts +24 -0
  70. package/dist/Conversations/Flows/Nodes/index.js +40 -0
  71. package/dist/Conversations/Flows/Workflows/Workflow.d.ts +280 -123
  72. package/dist/Conversations/Flows/Workflows/Workflow.js +85 -35
  73. package/dist/Spaces/spaces.d.ts +2 -2
  74. package/dist/Tickets/AccessLevel.d.ts +5 -0
  75. package/dist/Tickets/AccessLevel.js +9 -0
  76. package/dist/Tickets/Workflow.d.ts +7 -3
  77. package/package.json +1 -1
  78. package/dist/src/AI/Credential.d.ts +0 -13
  79. package/dist/src/AI/Documents/Document.d.ts +0 -36
  80. package/dist/src/AI/Documents/Document.js +0 -15
  81. package/dist/src/AI/Documents/Store.d.ts +0 -25
  82. package/dist/src/AI/Documents/Store.js +0 -10
  83. package/dist/src/AI/Provider.d.ts +0 -6
  84. package/dist/src/AI/Threads/API.d.ts +0 -55
  85. package/dist/src/AI/Threads/Message.d.ts +0 -61
  86. package/dist/src/AI/Threads/Message.js +0 -2
  87. package/dist/src/AI/Threads/Thread.d.ts +0 -22
  88. package/dist/src/AI/Threads/Thread.js +0 -2
  89. package/dist/src/AI/Threads/index.d.ts +0 -3
  90. package/dist/src/AI/Threads/index.js +0 -19
  91. package/dist/src/AI/aiModuleStatus.d.ts +0 -3
  92. package/dist/src/AI/aiModuleStatus.js +0 -2
  93. package/dist/src/AI/index.d.ts +0 -4
  94. package/dist/src/AI/index.js +0 -20
  95. package/dist/src/Accounts/accounts.d.ts +0 -88
  96. package/dist/src/Accounts/accounts.js +0 -24
  97. package/dist/src/Accounts/device.d.ts +0 -31
  98. package/dist/src/Accounts/device.js +0 -19
  99. package/dist/src/Accounts/index.d.ts +0 -2
  100. package/dist/src/Accounts/index.js +0 -18
  101. package/dist/src/ApiResponses/index.d.ts +0 -9
  102. package/dist/src/ApiResponses/index.js +0 -2
  103. package/dist/src/AuditLogs/auditLog.d.ts +0 -9
  104. package/dist/src/AuditLogs/auditLog.js +0 -2
  105. package/dist/src/AuditLogs/auditLogType.d.ts +0 -5
  106. package/dist/src/AuditLogs/auditLogType.js +0 -9
  107. package/dist/src/AuditLogs/index.d.ts +0 -2
  108. package/dist/src/AuditLogs/index.js +0 -18
  109. package/dist/src/Calendar/Calendar.d.ts +0 -18
  110. package/dist/src/Calendar/Calendar.js +0 -2
  111. package/dist/src/Calendar/Common.d.ts +0 -77
  112. package/dist/src/Calendar/Common.js +0 -16
  113. package/dist/src/Calendar/Event.d.ts +0 -64
  114. package/dist/src/Calendar/Event.js +0 -16
  115. package/dist/src/Calendar/Events.d.ts +0 -61
  116. package/dist/src/Calendar/Events.js +0 -5
  117. package/dist/src/Calendar/Task.d.ts +0 -12
  118. package/dist/src/Calendar/Task.js +0 -2
  119. package/dist/src/Calendar/Tasks.d.ts +0 -18
  120. package/dist/src/Calendar/Tasks.js +0 -5
  121. package/dist/src/Calendar/index.d.ts +0 -3
  122. package/dist/src/Calendar/index.js +0 -19
  123. package/dist/src/Calls/Audio.d.ts +0 -17
  124. package/dist/src/Calls/Audio.js +0 -8
  125. package/dist/src/Calls/Call.d.ts +0 -59
  126. package/dist/src/Calls/Call.js +0 -25
  127. package/dist/src/Calls/Codecs.d.ts +0 -5
  128. package/dist/src/Calls/Codecs.js +0 -21
  129. package/dist/src/Calls/Extension.d.ts +0 -24
  130. package/dist/src/Calls/Extension.js +0 -2
  131. package/dist/src/Calls/Options.d.ts +0 -5
  132. package/dist/src/Calls/Options.js +0 -2
  133. package/dist/src/Calls/Queue.d.ts +0 -52
  134. package/dist/src/Calls/Queue.js +0 -12
  135. package/dist/src/Calls/RingGroup.d.ts +0 -46
  136. package/dist/src/Calls/RingGroup.js +0 -27
  137. package/dist/src/Calls/Transport.d.ts +0 -6
  138. package/dist/src/Calls/Transport.js +0 -11
  139. package/dist/src/Calls/Trunk.d.ts +0 -31
  140. package/dist/src/Calls/Trunk.js +0 -2
  141. package/dist/src/Calls/index.d.ts +0 -6
  142. package/dist/src/Calls/index.js +0 -22
  143. package/dist/src/Collections/Api.d.ts +0 -41
  144. package/dist/src/Collections/Api.js +0 -2
  145. package/dist/src/Collections/Commission.d.ts +0 -52
  146. package/dist/src/Collections/Commission.js +0 -10
  147. package/dist/src/Collections/Common.d.ts +0 -78
  148. package/dist/src/Collections/Common.js +0 -39
  149. package/dist/src/Collections/Dashboard.d.ts +0 -27
  150. package/dist/src/Collections/Dashboard.js +0 -2
  151. package/dist/src/Collections/Debt.d.ts +0 -97
  152. package/dist/src/Collections/Debt.js +0 -12
  153. package/dist/src/Collections/Interest.d.ts +0 -38
  154. package/dist/src/Collections/Interest.js +0 -25
  155. package/dist/src/Collections/Payment.d.ts +0 -87
  156. package/dist/src/Collections/Payment.js +0 -21
  157. package/dist/src/Collections/PaymentPlan.d.ts +0 -87
  158. package/dist/src/Collections/PaymentPlan.js +0 -21
  159. package/dist/src/Collections/PaymentPlanConfiguration.d.ts +0 -100
  160. package/dist/src/Collections/PaymentPlanConfiguration.js +0 -34
  161. package/dist/src/Collections/Portfolio.d.ts +0 -52
  162. package/dist/src/Collections/Portfolio.js +0 -12
  163. package/dist/src/Collections/Promise.d.ts +0 -49
  164. package/dist/src/Collections/Promise.js +0 -25
  165. package/dist/src/Collections/index.d.ts +0 -11
  166. package/dist/src/Collections/index.js +0 -27
  167. package/dist/src/Common/API/AuthApiKey.d.ts +0 -5
  168. package/dist/src/Common/API/AuthApiKey.js +0 -2
  169. package/dist/src/Common/API/AuthBasic.d.ts +0 -4
  170. package/dist/src/Common/API/AuthBasic.js +0 -2
  171. package/dist/src/Common/API/AuthBearer.d.ts +0 -5
  172. package/dist/src/Common/API/AuthBearer.js +0 -2
  173. package/dist/src/Common/API/AuthType.d.ts +0 -6
  174. package/dist/src/Common/API/AuthType.js +0 -10
  175. package/dist/src/Common/API/Method.d.ts +0 -4
  176. package/dist/src/Common/API/Method.js +0 -8
  177. package/dist/src/Common/API/index.d.ts +0 -5
  178. package/dist/src/Common/API/index.js +0 -21
  179. package/dist/src/Common/Channels/Channel.d.ts +0 -99
  180. package/dist/src/Common/Channels/Channel.js +0 -20
  181. package/dist/src/Common/Channels/ChannelAccount.d.ts +0 -35
  182. package/dist/src/Common/Channels/ChannelAccount.js +0 -17
  183. package/dist/src/Common/Channels/ChannelType.d.ts +0 -24
  184. package/dist/src/Common/Channels/ChannelType.js +0 -28
  185. package/dist/src/Common/Channels/Email.d.ts +0 -62
  186. package/dist/src/Common/Channels/Email.js +0 -36
  187. package/dist/src/Common/Channels/Facebook.d.ts +0 -25
  188. package/dist/src/Common/Channels/Facebook.js +0 -6
  189. package/dist/src/Common/Channels/Form.d.ts +0 -118
  190. package/dist/src/Common/Channels/Form.js +0 -32
  191. package/dist/src/Common/Channels/GoogleBusiness.d.ts +0 -20
  192. package/dist/src/Common/Channels/GoogleBusiness.js +0 -9
  193. package/dist/src/Common/Channels/Instagram.d.ts +0 -29
  194. package/dist/src/Common/Channels/Instagram.js +0 -14
  195. package/dist/src/Common/Channels/MercadoLibre.d.ts +0 -27
  196. package/dist/src/Common/Channels/MercadoLibre.js +0 -9
  197. package/dist/src/Common/Channels/Pbx.d.ts +0 -2
  198. package/dist/src/Common/Channels/Pbx.js +0 -6
  199. package/dist/src/Common/Channels/Permission.d.ts +0 -6
  200. package/dist/src/Common/Channels/Permission.js +0 -6
  201. package/dist/src/Common/Channels/RCS.d.ts +0 -37
  202. package/dist/src/Common/Channels/RCS.js +0 -9
  203. package/dist/src/Common/Channels/Sip.d.ts +0 -2
  204. package/dist/src/Common/Channels/Sms.d.ts +0 -46
  205. package/dist/src/Common/Channels/Sms.js +0 -16
  206. package/dist/src/Common/Channels/WebChat.d.ts +0 -62
  207. package/dist/src/Common/Channels/WebChat.js +0 -19
  208. package/dist/src/Common/Channels/WhatsApp.d.ts +0 -89
  209. package/dist/src/Common/Channels/WhatsApp.js +0 -18
  210. package/dist/src/Common/Channels/index.d.ts +0 -16
  211. package/dist/src/Common/Channels/index.js +0 -32
  212. package/dist/src/Common/EventsQueue/Data/postComment.d.ts +0 -26
  213. package/dist/src/Common/EventsQueue/Data/postComment.js +0 -2
  214. package/dist/src/Common/EventsQueue/EmailTemplate.d.ts +0 -10
  215. package/dist/src/Common/EventsQueue/EmailTemplate.js +0 -2
  216. package/dist/src/Common/EventsQueue/EventQueue.d.ts +0 -13
  217. package/dist/src/Common/EventsQueue/EventQueue.js +0 -2
  218. package/dist/src/Common/EventsQueue/UserUpdate.d.ts +0 -8
  219. package/dist/src/Common/EventsQueue/UserUpdate.js +0 -2
  220. package/dist/src/Common/EventsQueue/index.d.ts +0 -3
  221. package/dist/src/Common/EventsQueue/index.js +0 -19
  222. package/dist/src/Common/Logs/Log.d.ts +0 -18
  223. package/dist/src/Common/Logs/Log.js +0 -13
  224. package/dist/src/Common/Logs/index.d.ts +0 -1
  225. package/dist/src/Common/Logs/index.js +0 -17
  226. package/dist/src/Common/Messages/MediaFile.d.ts +0 -5
  227. package/dist/src/Common/Messages/MediaFile.js +0 -2
  228. package/dist/src/Common/Messages/Message.d.ts +0 -423
  229. package/dist/src/Common/Messages/Message.js +0 -62
  230. package/dist/src/Common/Messages/Template.d.ts +0 -86
  231. package/dist/src/Common/Messages/Template.js +0 -26
  232. package/dist/src/Common/Messages/index.d.ts +0 -3
  233. package/dist/src/Common/Messages/index.js +0 -19
  234. package/dist/src/Common/Notifications/Notification.d.ts +0 -19
  235. package/dist/src/Common/Notifications/Notification.js +0 -10
  236. package/dist/src/Common/Notifications/UserNotificationsConfig.d.ts +0 -33
  237. package/dist/src/Common/Notifications/UserNotificationsConfig.js +0 -18
  238. package/dist/src/Common/Notifications/index.d.ts +0 -2
  239. package/dist/src/Common/Notifications/index.js +0 -18
  240. package/dist/src/Common/Schedules/Schedules.d.ts +0 -32
  241. package/dist/src/Common/Schedules/Schedules.js +0 -2
  242. package/dist/src/Common/Schedules/index.d.ts +0 -1
  243. package/dist/src/Common/Schedules/index.js +0 -17
  244. package/dist/src/Common/index.d.ts +0 -6
  245. package/dist/src/Common/index.js +0 -42
  246. package/dist/src/Contacts/DuplicateContact.d.ts +0 -11
  247. package/dist/src/Contacts/DuplicateContact.js +0 -2
  248. package/dist/src/Contacts/File.d.ts +0 -17
  249. package/dist/src/Contacts/File.js +0 -2
  250. package/dist/src/Contacts/Import.d.ts +0 -18
  251. package/dist/src/Contacts/Import.js +0 -2
  252. package/dist/src/Contacts/Label.d.ts +0 -9
  253. package/dist/src/Contacts/Label.js +0 -2
  254. package/dist/src/Contacts/Note.d.ts +0 -15
  255. package/dist/src/Contacts/Note.js +0 -2
  256. package/dist/src/Contacts/Relationship.d.ts +0 -28
  257. package/dist/src/Contacts/Relationship.js +0 -16
  258. package/dist/src/Contacts/contacts.d.ts +0 -269
  259. package/dist/src/Contacts/contacts.js +0 -54
  260. package/dist/src/Contacts/index.d.ts +0 -9
  261. package/dist/src/Contacts/index.js +0 -25
  262. package/dist/src/Contacts/options.d.ts +0 -5
  263. package/dist/src/Contacts/options.js +0 -2
  264. package/dist/src/Contacts/segments.d.ts +0 -52
  265. package/dist/src/Contacts/segments.js +0 -53
  266. package/dist/src/Conversations/Conversation.d.ts +0 -167
  267. package/dist/src/Conversations/Conversation.js +0 -56
  268. package/dist/src/Conversations/DashBoard/dashboard.d.ts +0 -115
  269. package/dist/src/Conversations/DashBoard/dashboard.js +0 -65
  270. package/dist/src/Conversations/DashBoard/dashboardChannels.d.ts +0 -5
  271. package/dist/src/Conversations/DashBoard/dashboardChannels.js +0 -6
  272. package/dist/src/Conversations/DashBoard/dashboardForms.d.ts +0 -44
  273. package/dist/src/Conversations/DashBoard/dashboardForms.js +0 -24
  274. package/dist/src/Conversations/DashBoard/dashboardMessages.d.ts +0 -13
  275. package/dist/src/Conversations/DashBoard/dashboardMessages.js +0 -9
  276. package/dist/src/Conversations/Ending.d.ts +0 -17
  277. package/dist/src/Conversations/Ending.js +0 -2
  278. package/dist/src/Conversations/Flows/Definitions.d.ts +0 -10
  279. package/dist/src/Conversations/Flows/Definitions.js +0 -2
  280. package/dist/src/Conversations/Flows/Flow.d.ts +0 -222
  281. package/dist/src/Conversations/Flows/Flow.js +0 -50
  282. package/dist/src/Conversations/Flows/FlowInfo.d.ts +0 -9
  283. package/dist/src/Conversations/Flows/FlowInfo.js +0 -2
  284. package/dist/src/Conversations/Flows/Workflows/Workflow.d.ts +0 -179
  285. package/dist/src/Conversations/Flows/Workflows/Workflow.js +0 -48
  286. package/dist/src/Conversations/Flows/Workflows/index.d.ts +0 -1
  287. package/dist/src/Conversations/Flows/Workflows/index.js +0 -17
  288. package/dist/src/Conversations/Flows/index.d.ts +0 -4
  289. package/dist/src/Conversations/Flows/index.js +0 -20
  290. package/dist/src/Conversations/Groups/Group.d.ts +0 -23
  291. package/dist/src/Conversations/Groups/Group.js +0 -8
  292. package/dist/src/Conversations/Label.d.ts +0 -10
  293. package/dist/src/Conversations/Label.js +0 -2
  294. package/dist/src/Conversations/QuickResponse.d.ts +0 -34
  295. package/dist/src/Conversations/QuickResponse.js +0 -2
  296. package/dist/src/Conversations/SocialWalls.d.ts +0 -72
  297. package/dist/src/Conversations/SocialWalls.js +0 -2
  298. package/dist/src/Conversations/Survey.d.ts +0 -19
  299. package/dist/src/Conversations/Survey.js +0 -9
  300. package/dist/src/Conversations/WebHook.d.ts +0 -22
  301. package/dist/src/Conversations/WebHook.js +0 -2
  302. package/dist/src/Conversations/index.d.ts +0 -13
  303. package/dist/src/Conversations/index.js +0 -52
  304. package/dist/src/Docs/Document.d.ts +0 -58
  305. package/dist/src/Docs/Document.js +0 -29
  306. package/dist/src/Docs/Store.d.ts +0 -37
  307. package/dist/src/Docs/Store.js +0 -17
  308. package/dist/src/Docs/index.d.ts +0 -2
  309. package/dist/src/Docs/index.js +0 -18
  310. package/dist/src/Marketing/Campaign.d.ts +0 -69
  311. package/dist/src/Marketing/Campaign.js +0 -30
  312. package/dist/src/Marketing/Dashboard.d.ts +0 -48
  313. package/dist/src/Marketing/Dashboard.js +0 -2
  314. package/dist/src/Marketing/Options.d.ts +0 -12
  315. package/dist/src/Marketing/Options.js +0 -9
  316. package/dist/src/Marketing/Template.d.ts +0 -19
  317. package/dist/src/Marketing/Template.js +0 -8
  318. package/dist/src/Marketing/index.d.ts +0 -4
  319. package/dist/src/Marketing/index.js +0 -20
  320. package/dist/src/PublicAPI/apiKey.d.ts +0 -12
  321. package/dist/src/PublicAPI/apiKey.js +0 -2
  322. package/dist/src/Reports/ScheduledReport.d.ts +0 -205
  323. package/dist/src/Reports/ScheduledReport.js +0 -57
  324. package/dist/src/Reports/aiReport.d.ts +0 -20
  325. package/dist/src/Reports/aiReport.js +0 -2
  326. package/dist/src/Reports/apiResult.d.ts +0 -5
  327. package/dist/src/Reports/apiResult.js +0 -2
  328. package/dist/src/Reports/index.d.ts +0 -3
  329. package/dist/src/Reports/index.js +0 -19
  330. package/dist/src/Sales/Api.d.ts +0 -40
  331. package/dist/src/Sales/Api.js +0 -2
  332. package/dist/src/Sales/Common.d.ts +0 -72
  333. package/dist/src/Sales/Common.js +0 -31
  334. package/dist/src/Sales/Dashboard.d.ts +0 -25
  335. package/dist/src/Sales/Dashboard.js +0 -2
  336. package/dist/src/Sales/Lead.d.ts +0 -99
  337. package/dist/src/Sales/Lead.js +0 -8
  338. package/dist/src/Sales/index.d.ts +0 -4
  339. package/dist/src/Sales/index.js +0 -20
  340. package/dist/src/Security/Security.d.ts +0 -5
  341. package/dist/src/Security/Security.js +0 -2
  342. package/dist/src/Security/index.d.ts +0 -1
  343. package/dist/src/Security/index.js +0 -17
  344. package/dist/src/Shop/Cart/cart.d.ts +0 -19
  345. package/dist/src/Shop/Cart/cart.js +0 -2
  346. package/dist/src/Shop/index.d.ts +0 -1
  347. package/dist/src/Shop/index.js +0 -17
  348. package/dist/src/Spaces/Dashboard.d.ts +0 -4
  349. package/dist/src/Spaces/Dashboard.js +0 -2
  350. package/dist/src/Spaces/index.d.ts +0 -2
  351. package/dist/src/Spaces/index.js +0 -18
  352. package/dist/src/Spaces/spaces.d.ts +0 -104
  353. package/dist/src/Spaces/spaces.js +0 -85
  354. package/dist/src/Tickets/AI.d.ts +0 -400
  355. package/dist/src/Tickets/AI.js +0 -113
  356. package/dist/src/Tickets/AdvancedApi.d.ts +0 -486
  357. package/dist/src/Tickets/AdvancedApi.js +0 -108
  358. package/dist/src/Tickets/Api.d.ts +0 -62
  359. package/dist/src/Tickets/Api.js +0 -8
  360. package/dist/src/Tickets/Approval.d.ts +0 -139
  361. package/dist/src/Tickets/Approval.js +0 -30
  362. package/dist/src/Tickets/Automation.d.ts +0 -237
  363. package/dist/src/Tickets/Automation.js +0 -74
  364. package/dist/src/Tickets/Category.d.ts +0 -53
  365. package/dist/src/Tickets/Category.js +0 -2
  366. package/dist/src/Tickets/Common.d.ts +0 -90
  367. package/dist/src/Tickets/Common.js +0 -38
  368. package/dist/src/Tickets/Conversation.d.ts +0 -68
  369. package/dist/src/Tickets/Conversation.js +0 -30
  370. package/dist/src/Tickets/Dashboard.d.ts +0 -408
  371. package/dist/src/Tickets/Dashboard.js +0 -206
  372. package/dist/src/Tickets/Fields.d.ts +0 -133
  373. package/dist/src/Tickets/Fields.js +0 -44
  374. package/dist/src/Tickets/Layouts.d.ts +0 -63
  375. package/dist/src/Tickets/Layouts.js +0 -22
  376. package/dist/src/Tickets/Routing.d.ts +0 -290
  377. package/dist/src/Tickets/Routing.js +0 -87
  378. package/dist/src/Tickets/Satisfaction.d.ts +0 -31
  379. package/dist/src/Tickets/Satisfaction.js +0 -9
  380. package/dist/src/Tickets/Security.d.ts +0 -302
  381. package/dist/src/Tickets/Security.js +0 -107
  382. package/dist/src/Tickets/SelfService.d.ts +0 -255
  383. package/dist/src/Tickets/SelfService.js +0 -56
  384. package/dist/src/Tickets/Sla.d.ts +0 -253
  385. package/dist/src/Tickets/Sla.js +0 -73
  386. package/dist/src/Tickets/Task.d.ts +0 -122
  387. package/dist/src/Tickets/Task.js +0 -17
  388. package/dist/src/Tickets/Ticket.d.ts +0 -133
  389. package/dist/src/Tickets/Ticket.js +0 -2
  390. package/dist/src/Tickets/Views.d.ts +0 -77
  391. package/dist/src/Tickets/Views.js +0 -23
  392. package/dist/src/Tickets/Workflow.d.ts +0 -109
  393. package/dist/src/Tickets/Workflow.js +0 -44
  394. package/dist/src/Tickets/index.d.ts +0 -20
  395. package/dist/src/Tickets/index.js +0 -36
  396. package/dist/src/Users/Signature.d.ts +0 -74
  397. package/dist/src/Users/Signature.js +0 -2
  398. package/dist/src/Users/UserActivitySummary.d.ts +0 -5
  399. package/dist/src/Users/UserActivitySummary.js +0 -2
  400. package/dist/src/Users/UserProfile.d.ts +0 -97
  401. package/dist/src/Users/UserProfile.js +0 -5
  402. package/dist/src/Users/UserTrii.d.ts +0 -102
  403. package/dist/src/Users/UserTrii.js +0 -10
  404. package/dist/src/Users/UserType.d.ts +0 -10
  405. package/dist/src/Users/UserType.js +0 -13
  406. package/dist/src/Users/index.d.ts +0 -5
  407. package/dist/src/Users/index.js +0 -21
  408. package/dist/src/index.d.ts +0 -20
  409. package/dist/src/index.js +0 -56
  410. /package/dist/{src/AI/Credential.js → AI/MapPolygon.js} +0 -0
  411. /package/dist/{src/AI/Map.js → Conversations/Flows/Nodes/NodeGoogleCalendar.js} +0 -0
  412. /package/dist/{src/AI/Provider.js → Conversations/Flows/Nodes/NodeGoogleMaps.js} +0 -0
  413. /package/dist/{src/AI/Threads/API.js → Conversations/Flows/Nodes/NodeToolGoogleMaps.js} +0 -0
@@ -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 = {}));
@@ -1,31 +0,0 @@
1
- import { TransportType } from "./Transport";
2
- export interface ITrunk {
3
- id: string;
4
- spaceId: string;
5
- providerName: string;
6
- providerHost: string;
7
- /**
8
- * need register
9
- */
10
- needRegister: boolean;
11
- transportType: TransportType;
12
- autoRecord: boolean;
13
- keepOriginalCID: boolean;
14
- keepTrunkCID: boolean;
15
- disabled: boolean;
16
- callerIdNumber: string;
17
- callerIdName: string;
18
- fromDomain: string;
19
- /**
20
- * Trunk Codecs
21
- * e.g. "ulaw,alaw,gsm,g726,g729,ilbc,opus"
22
- */
23
- codecs: string;
24
- /**
25
- * Trunk DTMF Mode
26
- * e.g. "rfc4733"
27
- */
28
- dtmfMode: string;
29
- createdAt?: Date | null;
30
- createdBy?: string | null;
31
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +0,0 @@
1
- export * from './Call';
2
- export * from './RingGroup';
3
- export * from './Trunk';
4
- export * from './Transport';
5
- export * from './Codecs';
6
- export * from './Queue';
@@ -1,22 +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("./Call"), exports);
18
- __exportStar(require("./RingGroup"), exports);
19
- __exportStar(require("./Trunk"), exports);
20
- __exportStar(require("./Transport"), exports);
21
- __exportStar(require("./Codecs"), exports);
22
- __exportStar(require("./Queue"), exports);