@rc-ex/core 1.4.2 → 1.5.0

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 (312) hide show
  1. package/lib/FormData.d.ts +1 -1
  2. package/lib/Rest.d.ts +3 -3
  3. package/lib/Rest.js +14 -10
  4. package/lib/Rest.js.map +1 -1
  5. package/lib/definitions/AIInsights.d.ts +27 -0
  6. package/lib/definitions/{ContentList.js → AIInsights.js} +1 -1
  7. package/lib/definitions/AIInsights.js.map +1 -0
  8. package/lib/definitions/AIScoreInsightUnit.d.ts +9 -0
  9. package/lib/definitions/{ContentContextData.js → AIScoreInsightUnit.js} +1 -1
  10. package/lib/definitions/AIScoreInsightUnit.js.map +1 -0
  11. package/lib/definitions/AccountPresenceEventBody.d.ts +5 -1
  12. package/lib/definitions/BaseCallLogRecord.d.ts +3 -5
  13. package/lib/definitions/BaseTokenRequest.d.ts +1 -1
  14. package/lib/definitions/BatchProvisionUsersRequestItem.d.ts +0 -6
  15. package/lib/definitions/BatchProvisionUsersRequestItemContact.d.ts +4 -0
  16. package/lib/definitions/BulletedSummaryInsightUnit.d.ts +9 -0
  17. package/lib/definitions/BulletedSummaryInsightUnit.js +3 -0
  18. package/lib/definitions/BulletedSummaryInsightUnit.js.map +1 -0
  19. package/lib/definitions/CallLogRecord.d.ts +3 -5
  20. package/lib/definitions/CallLogRecordLegInfo.d.ts +4 -6
  21. package/lib/definitions/CallMonitoringGroup.d.ts +4 -0
  22. package/lib/definitions/CallMonitoringGroupSite.d.ts +11 -0
  23. package/lib/definitions/CallMonitoringGroupSite.js +3 -0
  24. package/lib/definitions/CallMonitoringGroupSite.js.map +1 -0
  25. package/lib/definitions/CallStatusInfo.d.ts +16 -4
  26. package/lib/definitions/ContactResource.d.ts +0 -21
  27. package/lib/definitions/CreateCallMonitoringGroupRequest.d.ts +4 -0
  28. package/lib/definitions/CreateCallMonitoringGroupRequestSite.d.ts +7 -0
  29. package/lib/definitions/CreateCallMonitoringGroupRequestSite.js +3 -0
  30. package/lib/definitions/CreateCallMonitoringGroupRequestSite.js.map +1 -0
  31. package/lib/definitions/DefaultUserRole.d.ts +4 -0
  32. package/lib/definitions/DeviceResource.d.ts +4 -0
  33. package/lib/definitions/ExtensionCreationRequest.d.ts +5 -0
  34. package/lib/definitions/ExtensionRegionalSettingRequest.d.ts +5 -0
  35. package/lib/definitions/GetMessageInfoResponse.d.ts +4 -0
  36. package/lib/definitions/GetRecordingInsightsParameters.d.ts +10 -0
  37. package/lib/definitions/GetRecordingInsightsParameters.js +3 -0
  38. package/lib/definitions/GetRecordingInsightsParameters.js.map +1 -0
  39. package/lib/definitions/GetTokenRequest.d.ts +1 -1
  40. package/lib/definitions/HighlightsInsightUnit.d.ts +29 -0
  41. package/lib/definitions/{CallSessionStatusInfo.js → HighlightsInsightUnit.js} +1 -1
  42. package/lib/definitions/HighlightsInsightUnit.js.map +1 -0
  43. package/lib/definitions/InternalDeliveryMode.d.ts +14 -0
  44. package/lib/definitions/{ContentBodyFormatted.js → InternalDeliveryMode.js} +1 -1
  45. package/lib/definitions/InternalDeliveryMode.js.map +1 -0
  46. package/lib/definitions/ListCallMonitoringGroupsParameters.d.ts +1 -1
  47. package/lib/definitions/ListDirectoryEntriesParameters.d.ts +2 -2
  48. package/lib/definitions/ListExtensionDevicesParameters.d.ts +2 -2
  49. package/lib/definitions/ListUserTemplatesParameters.d.ts +1 -1
  50. package/lib/definitions/NextStepsInsightUnit.d.ts +29 -0
  51. package/lib/definitions/NextStepsInsightUnit.js +3 -0
  52. package/lib/definitions/NextStepsInsightUnit.js.map +1 -0
  53. package/lib/definitions/NotificationDeliveryMode.d.ts +7 -1
  54. package/lib/definitions/PartySuperviseResponse.d.ts +3 -1
  55. package/lib/definitions/PeerInfo.d.ts +1 -1
  56. package/lib/definitions/RSConversationalInsightsUnit.d.ts +29 -0
  57. package/lib/definitions/RSConversationalInsightsUnit.js +3 -0
  58. package/lib/definitions/RSConversationalInsightsUnit.js.map +1 -0
  59. package/lib/definitions/ReadDirectoryEntryParameters.d.ts +2 -2
  60. package/lib/definitions/ReadMultichannelCallRecordingContentParameters.d.ts +14 -0
  61. package/lib/definitions/ReadMultichannelCallRecordingContentParameters.js +3 -0
  62. package/lib/definitions/ReadMultichannelCallRecordingContentParameters.js.map +1 -0
  63. package/lib/definitions/RecordingInsights.d.ts +78 -0
  64. package/lib/definitions/{CallQueueResource.js → RecordingInsights.js} +1 -1
  65. package/lib/definitions/RecordingInsights.js.map +1 -0
  66. package/lib/definitions/ScimUserSearchResponse.d.ts +2 -2
  67. package/lib/definitions/ScimUserShortInfo.d.ts +50 -0
  68. package/lib/definitions/ScimUserShortInfo.js +3 -0
  69. package/lib/definitions/ScimUserShortInfo.js.map +1 -0
  70. package/lib/definitions/SearchDirectoryEntriesParameters.d.ts +2 -2
  71. package/lib/definitions/{ServiceInfoPlan.d.ts → ServiceInfoPlanV2.d.ts} +2 -5
  72. package/lib/definitions/ServiceInfoPlanV2.js +3 -0
  73. package/lib/definitions/ServiceInfoPlanV2.js.map +1 -0
  74. package/lib/definitions/ServiceInfoV2.d.ts +2 -2
  75. package/lib/definitions/ShippingInfo.d.ts +1 -1
  76. package/lib/definitions/SipData.d.ts +20 -0
  77. package/lib/definitions/{ContentModel.js → SipData.js} +1 -1
  78. package/lib/definitions/SipData.js.map +1 -0
  79. package/lib/definitions/SummaryInsightUnit.d.ts +23 -0
  80. package/lib/definitions/SummaryInsightUnit.js +3 -0
  81. package/lib/definitions/SummaryInsightUnit.js.map +1 -0
  82. package/lib/definitions/SyncAccountCallLogParameters.d.ts +4 -1
  83. package/lib/definitions/SyncMessagesParameters.d.ts +3 -3
  84. package/lib/definitions/SyncUserCallLogParameters.d.ts +4 -3
  85. package/lib/definitions/TMMessageAttachmentInfo.d.ts +9 -0
  86. package/lib/definitions/TelephonySessionsEventPartyInfo.d.ts +48 -2
  87. package/lib/definitions/TemplateInfo.d.ts +5 -1
  88. package/lib/definitions/TranscriptInsightUnit.d.ts +32 -0
  89. package/lib/definitions/TranscriptInsightUnit.js +3 -0
  90. package/lib/definitions/TranscriptInsightUnit.js.map +1 -0
  91. package/lib/definitions/TransitionInfo.d.ts +13 -0
  92. package/lib/definitions/{IdentitiesList.js → TransitionInfo.js} +1 -1
  93. package/lib/definitions/TransitionInfo.js.map +1 -0
  94. package/lib/definitions/UiCallInfo.d.ts +13 -0
  95. package/lib/definitions/{IdentityModel.js → UiCallInfo.js} +1 -1
  96. package/lib/definitions/UiCallInfo.js.map +1 -0
  97. package/lib/definitions/UiCallInfoRecord.d.ts +12 -0
  98. package/lib/definitions/{GroupResource.js → UiCallInfoRecord.js} +1 -1
  99. package/lib/definitions/UiCallInfoRecord.js.map +1 -0
  100. package/lib/definitions/VoicemailOwnerResource.d.ts +14 -0
  101. package/lib/definitions/VoicemailOwnerResource.js +3 -0
  102. package/lib/definitions/VoicemailOwnerResource.js.map +1 -0
  103. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/Insights/index.d.ts +18 -0
  104. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/Insights/index.js +24 -0
  105. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/Insights/index.js.map +1 -0
  106. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/index.d.ts +11 -0
  107. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/index.js +24 -0
  108. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/index.js.map +1 -0
  109. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/index.d.ts +11 -0
  110. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/index.js +24 -0
  111. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/index.js.map +1 -0
  112. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/index.d.ts +11 -0
  113. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/index.js +24 -0
  114. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/index.js.map +1 -0
  115. package/lib/paths/Ai/Ringsense/V1/Public/index.d.ts +10 -0
  116. package/lib/paths/Ai/Ringsense/V1/Public/index.js +20 -0
  117. package/lib/paths/Ai/Ringsense/V1/Public/index.js.map +1 -0
  118. package/lib/paths/{Cx/SocialMessaging → Ai/Ringsense}/V1/index.d.ts +2 -4
  119. package/lib/paths/{Cx/SocialMessaging → Ai/Ringsense}/V1/index.js +3 -7
  120. package/lib/paths/Ai/Ringsense/V1/index.js.map +1 -0
  121. package/lib/paths/{Cx/SocialMessaging → Ai/Ringsense}/index.js +1 -1
  122. package/lib/paths/Ai/Ringsense/index.js.map +1 -0
  123. package/lib/paths/Ai/index.d.ts +2 -0
  124. package/lib/paths/Ai/index.js +4 -0
  125. package/lib/paths/Ai/index.js.map +1 -1
  126. package/lib/paths/Restapi/Account/CallLog/index.d.ts +3 -1
  127. package/lib/paths/Restapi/Account/CallLog/index.js +3 -1
  128. package/lib/paths/Restapi/Account/CallLog/index.js.map +1 -1
  129. package/lib/paths/Restapi/Account/Extension/AddressBook/Contact/index.d.ts +3 -3
  130. package/lib/paths/Restapi/Account/Extension/AddressBook/Contact/index.js +3 -3
  131. package/lib/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.d.ts +5 -3
  132. package/lib/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.js +5 -3
  133. package/lib/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.js.map +1 -1
  134. package/lib/paths/Restapi/Account/Extension/Device/index.d.ts +2 -2
  135. package/lib/paths/Restapi/Account/Extension/Device/index.js +2 -2
  136. package/lib/paths/Restapi/Account/Extension/MessageStore/index.d.ts +12 -13
  137. package/lib/paths/Restapi/Account/Extension/MessageStore/index.js +12 -13
  138. package/lib/paths/Restapi/Account/Extension/MessageStore/index.js.map +1 -1
  139. package/lib/paths/Restapi/Account/Extension/Presence/index.d.ts +1 -1
  140. package/lib/paths/Restapi/Account/Extension/Presence/index.js +1 -1
  141. package/lib/paths/Restapi/Account/PhoneNumber/index.d.ts +1 -1
  142. package/lib/paths/Restapi/Account/PhoneNumber/index.js +1 -1
  143. package/lib/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/Content/index.d.ts +20 -0
  144. package/lib/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/Content/index.js +27 -0
  145. package/lib/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/Content/index.js.map +1 -0
  146. package/lib/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/index.d.ts +11 -0
  147. package/lib/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/index.js +24 -0
  148. package/lib/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/index.js.map +1 -0
  149. package/lib/paths/Restapi/Account/Telephony/Metadata/index.d.ts +10 -0
  150. package/lib/paths/Restapi/Account/Telephony/Metadata/index.js +20 -0
  151. package/lib/paths/Restapi/Account/Telephony/Metadata/index.js.map +1 -0
  152. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Recordings/index.d.ts +3 -1
  153. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Recordings/index.js +3 -1
  154. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Recordings/index.js.map +1 -1
  155. package/lib/paths/Restapi/Account/Telephony/index.d.ts +2 -0
  156. package/lib/paths/Restapi/Account/Telephony/index.js +4 -0
  157. package/lib/paths/Restapi/Account/Telephony/index.js.map +1 -1
  158. package/lib/paths/TeamMessaging/V1/Persons/index.d.ts +3 -1
  159. package/lib/paths/TeamMessaging/V1/Persons/index.js +3 -1
  160. package/lib/paths/TeamMessaging/V1/Persons/index.js.map +1 -1
  161. package/package.json +6 -6
  162. package/src/Rest.ts +31 -19
  163. package/src/definitions/AIInsights.ts +34 -0
  164. package/src/definitions/AIScoreInsightUnit.ts +10 -0
  165. package/src/definitions/AccountPresenceEventBody.ts +6 -1
  166. package/src/definitions/BaseCallLogRecord.ts +4 -5
  167. package/src/definitions/BaseTokenRequest.ts +1 -1
  168. package/src/definitions/BatchProvisionUsersRequestItem.ts +0 -7
  169. package/src/definitions/BatchProvisionUsersRequestItemContact.ts +6 -0
  170. package/src/definitions/BulletedSummaryInsightUnit.ts +10 -0
  171. package/src/definitions/CallLogRecord.ts +4 -5
  172. package/src/definitions/CallLogRecordLegInfo.ts +7 -6
  173. package/src/definitions/CallMonitoringGroup.ts +6 -0
  174. package/src/definitions/CallMonitoringGroupSite.ts +13 -0
  175. package/src/definitions/CallStatusInfo.ts +22 -6
  176. package/src/definitions/ContactResource.ts +0 -26
  177. package/src/definitions/CreateCallMonitoringGroupRequest.ts +6 -0
  178. package/src/definitions/CreateCallMonitoringGroupRequestSite.ts +8 -0
  179. package/src/definitions/DefaultUserRole.ts +5 -0
  180. package/src/definitions/DeviceResource.ts +5 -0
  181. package/src/definitions/ExtensionCreationRequest.ts +6 -0
  182. package/src/definitions/ExtensionRegionalSettingRequest.ts +5 -0
  183. package/src/definitions/GetMessageInfoResponse.ts +5 -0
  184. package/src/definitions/GetRecordingInsightsParameters.ts +11 -0
  185. package/src/definitions/GetTokenRequest.ts +1 -1
  186. package/src/definitions/HighlightsInsightUnit.ts +33 -0
  187. package/src/definitions/InternalDeliveryMode.ts +16 -0
  188. package/src/definitions/ListCallMonitoringGroupsParameters.ts +1 -1
  189. package/src/definitions/ListDirectoryEntriesParameters.ts +2 -2
  190. package/src/definitions/ListExtensionDevicesParameters.ts +2 -2
  191. package/src/definitions/ListUserTemplatesParameters.ts +1 -1
  192. package/src/definitions/NextStepsInsightUnit.ts +33 -0
  193. package/src/definitions/NotificationDeliveryMode.ts +8 -1
  194. package/src/definitions/PartySuperviseResponse.ts +3 -1
  195. package/src/definitions/PeerInfo.ts +1 -1
  196. package/src/definitions/RSConversationalInsightsUnit.ts +33 -0
  197. package/src/definitions/ReadDirectoryEntryParameters.ts +2 -2
  198. package/src/definitions/ReadMultichannelCallRecordingContentParameters.ts +16 -0
  199. package/src/definitions/RecordingInsights.ts +92 -0
  200. package/src/definitions/ScimUserSearchResponse.ts +2 -2
  201. package/src/definitions/ScimUserShortInfo.ts +62 -0
  202. package/src/definitions/SearchDirectoryEntriesParameters.ts +2 -2
  203. package/src/definitions/{ServiceInfoPlan.ts → ServiceInfoPlanV2.ts} +2 -6
  204. package/src/definitions/ServiceInfoV2.ts +2 -2
  205. package/src/definitions/ShippingInfo.ts +1 -1
  206. package/src/definitions/SipData.ts +23 -0
  207. package/src/definitions/SummaryInsightUnit.ts +26 -0
  208. package/src/definitions/SyncAccountCallLogParameters.ts +4 -1
  209. package/src/definitions/SyncMessagesParameters.ts +3 -3
  210. package/src/definitions/SyncUserCallLogParameters.ts +4 -3
  211. package/src/definitions/TMMessageAttachmentInfo.ts +11 -0
  212. package/src/definitions/TelephonySessionsEventPartyInfo.ts +57 -2
  213. package/src/definitions/TemplateInfo.ts +6 -1
  214. package/src/definitions/TranscriptInsightUnit.ts +36 -0
  215. package/src/definitions/TransitionInfo.ts +16 -0
  216. package/src/definitions/UiCallInfo.ts +16 -0
  217. package/src/definitions/UiCallInfoRecord.ts +14 -0
  218. package/src/definitions/VoicemailOwnerResource.ts +16 -0
  219. package/src/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/Insights/index.ts +31 -0
  220. package/src/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/index.ts +25 -0
  221. package/src/paths/Ai/Ringsense/V1/Public/Accounts/Domains/index.ts +25 -0
  222. package/src/paths/Ai/Ringsense/V1/Public/Accounts/index.ts +25 -0
  223. package/src/paths/Ai/Ringsense/V1/Public/index.ts +20 -0
  224. package/src/paths/{Cx/SocialMessaging → Ai/Ringsense}/V1/index.ts +3 -8
  225. package/src/paths/{Cx/SocialMessaging → Ai/Ringsense}/index.ts +1 -1
  226. package/src/paths/Ai/index.ts +5 -0
  227. package/src/paths/Restapi/Account/CallLog/index.ts +3 -1
  228. package/src/paths/Restapi/Account/Extension/AddressBook/Contact/index.ts +3 -3
  229. package/src/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.ts +5 -3
  230. package/src/paths/Restapi/Account/Extension/Device/index.ts +2 -2
  231. package/src/paths/Restapi/Account/Extension/MessageStore/index.ts +12 -13
  232. package/src/paths/Restapi/Account/Extension/Presence/index.ts +1 -1
  233. package/src/paths/Restapi/Account/PhoneNumber/index.ts +1 -1
  234. package/src/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/Content/index.ts +33 -0
  235. package/src/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/index.ts +25 -0
  236. package/src/paths/Restapi/Account/Telephony/Metadata/index.ts +20 -0
  237. package/src/paths/Restapi/Account/Telephony/Sessions/Parties/Recordings/index.ts +3 -1
  238. package/src/paths/Restapi/Account/Telephony/index.ts +5 -0
  239. package/src/paths/TeamMessaging/V1/Persons/index.ts +3 -1
  240. package/src/samples.md +4657 -4709
  241. package/lib/definitions/CallQueueResource.d.ts +0 -11
  242. package/lib/definitions/CallQueueResource.js.map +0 -1
  243. package/lib/definitions/CallSessionStatusInfo.d.ts +0 -20
  244. package/lib/definitions/CallSessionStatusInfo.js.map +0 -1
  245. package/lib/definitions/ContentBodyFormatted.d.ts +0 -12
  246. package/lib/definitions/ContentBodyFormatted.js.map +0 -1
  247. package/lib/definitions/ContentContextData.d.ts +0 -8
  248. package/lib/definitions/ContentContextData.js.map +0 -1
  249. package/lib/definitions/ContentList.d.ts +0 -13
  250. package/lib/definitions/ContentList.js.map +0 -1
  251. package/lib/definitions/ContentModel.d.ts +0 -218
  252. package/lib/definitions/ContentModel.js.map +0 -1
  253. package/lib/definitions/CostCenterResource.d.ts +0 -15
  254. package/lib/definitions/CostCenterResource.js +0 -3
  255. package/lib/definitions/CostCenterResource.js.map +0 -1
  256. package/lib/definitions/CreateSocialMessagingContentRequest.d.ts +0 -110
  257. package/lib/definitions/CreateSocialMessagingContentRequest.js +0 -3
  258. package/lib/definitions/CreateSocialMessagingContentRequest.js.map +0 -1
  259. package/lib/definitions/DirectoryRoleResource.d.ts +0 -16
  260. package/lib/definitions/DirectoryRoleResource.js +0 -3
  261. package/lib/definitions/DirectoryRoleResource.js.map +0 -1
  262. package/lib/definitions/GroupResource.d.ts +0 -11
  263. package/lib/definitions/GroupResource.js.map +0 -1
  264. package/lib/definitions/IdentitiesList.d.ts +0 -13
  265. package/lib/definitions/IdentitiesList.js.map +0 -1
  266. package/lib/definitions/IdentityExtraValues.d.ts +0 -6
  267. package/lib/definitions/IdentityExtraValues.js +0 -3
  268. package/lib/definitions/IdentityExtraValues.js.map +0 -1
  269. package/lib/definitions/IdentityModel.d.ts +0 -199
  270. package/lib/definitions/IdentityModel.js.map +0 -1
  271. package/lib/definitions/ListSocialMessagingContentsParameters.d.ts +0 -68
  272. package/lib/definitions/ListSocialMessagingContentsParameters.js +0 -3
  273. package/lib/definitions/ListSocialMessagingContentsParameters.js.map +0 -1
  274. package/lib/definitions/ListSocialMessagingIdentitiesParameters.d.ts +0 -47
  275. package/lib/definitions/ListSocialMessagingIdentitiesParameters.js +0 -3
  276. package/lib/definitions/ListSocialMessagingIdentitiesParameters.js.map +0 -1
  277. package/lib/definitions/ServiceInfoPlan.js +0 -3
  278. package/lib/definitions/ServiceInfoPlan.js.map +0 -1
  279. package/lib/definitions/SocMsgContentAttachment.d.ts +0 -77
  280. package/lib/definitions/SocMsgContentAttachment.js +0 -3
  281. package/lib/definitions/SocMsgContentAttachment.js.map +0 -1
  282. package/lib/paths/Cx/SocialMessaging/V1/Contents/index.d.ts +0 -65
  283. package/lib/paths/Cx/SocialMessaging/V1/Contents/index.js +0 -83
  284. package/lib/paths/Cx/SocialMessaging/V1/Contents/index.js.map +0 -1
  285. package/lib/paths/Cx/SocialMessaging/V1/Identities/index.d.ts +0 -34
  286. package/lib/paths/Cx/SocialMessaging/V1/Identities/index.js +0 -50
  287. package/lib/paths/Cx/SocialMessaging/V1/Identities/index.js.map +0 -1
  288. package/lib/paths/Cx/SocialMessaging/V1/index.js.map +0 -1
  289. package/lib/paths/Cx/SocialMessaging/index.js.map +0 -1
  290. package/lib/paths/Cx/index.d.ts +0 -9
  291. package/lib/paths/Cx/index.js +0 -19
  292. package/lib/paths/Cx/index.js.map +0 -1
  293. package/src/definitions/CallQueueResource.ts +0 -13
  294. package/src/definitions/CallSessionStatusInfo.ts +0 -26
  295. package/src/definitions/ContentBodyFormatted.ts +0 -14
  296. package/src/definitions/ContentContextData.ts +0 -9
  297. package/src/definitions/ContentList.ts +0 -16
  298. package/src/definitions/ContentModel.ts +0 -299
  299. package/src/definitions/CostCenterResource.ts +0 -18
  300. package/src/definitions/CreateSocialMessagingContentRequest.ts +0 -126
  301. package/src/definitions/DirectoryRoleResource.ts +0 -20
  302. package/src/definitions/GroupResource.ts +0 -13
  303. package/src/definitions/IdentitiesList.ts +0 -16
  304. package/src/definitions/IdentityExtraValues.ts +0 -7
  305. package/src/definitions/IdentityModel.ts +0 -248
  306. package/src/definitions/ListSocialMessagingContentsParameters.ts +0 -85
  307. package/src/definitions/ListSocialMessagingIdentitiesParameters.ts +0 -61
  308. package/src/definitions/SocMsgContentAttachment.ts +0 -86
  309. package/src/paths/Cx/SocialMessaging/V1/Contents/index.ts +0 -101
  310. package/src/paths/Cx/SocialMessaging/V1/Identities/index.ts +0 -58
  311. package/src/paths/Cx/index.ts +0 -18
  312. /package/lib/paths/{Cx/SocialMessaging → Ai/Ringsense}/index.d.ts +0 -0
@@ -9,8 +9,8 @@ class Index {
9
9
  return `${this._parent.path()}/device`;
10
10
  }
11
11
  /**
12
- * Returns devices of an extension or multiple extensions by their ID(s). Batch request
13
- * is supported.
12
+ * Returns devices of an extension or multiple extensions by their ID(s).
13
+ * [Batch request syntax](https://developers.ringcentral.com/guide/basics/batch-requests) is supported.
14
14
  *
15
15
  * HTTP Method: get
16
16
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/device
@@ -23,12 +23,11 @@ declare class Index {
23
23
  */
24
24
  list(queryParams?: ListMessagesParameters, restRequestConfig?: RestRequestConfig): Promise<GetMessageList>;
25
25
  /**
26
- * Deletes conversation(s) by conversation ID(s). Batch request is
27
- * supported, max number of IDs passed as query/path parameters is 50. Alternative
28
- * syntax is supported - user conversations can be deleted by passing multiple
29
- * IDs in request body as an array of string, max number of conversation IDs
30
- * passed in request body is 100. In this case asterisk is used in the path instead
31
- * of IDs
26
+ * Deletes conversation(s) by conversation ID(s).
27
+ * [Batch request syntax](https://developers.ringcentral.com/guide/basics/batch-requests) is supported - maximum number
28
+ * of IDs passed as query/path parameters is 50. Alternative syntax is supported - the user's conversations can be deleted
29
+ * by passing multiple IDs in request body as an array of string. Maximum number of conversation IDs passed in request body
30
+ * is 100. In this case asterisk '*' is used in the path instead of IDs.
32
31
  *
33
32
  * HTTP Method: delete
34
33
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/message-store
@@ -39,7 +38,8 @@ declare class Index {
39
38
  deleteAll(queryParams?: DeleteMessageByFilterParameters, restRequestConfig?: RestRequestConfig): Promise<string>;
40
39
  /**
41
40
  * Returns an individual message record or multiple records by the given message ID(s).
42
- * The length of inbound messages is unlimited. Bulk syntax is supported.
41
+ * The length of inbound messages is unlimited. [Bulk syntax](https://developers.ringcentral.com/guide/basics/batch-requests)
42
+ * is supported.
43
43
  *
44
44
  * HTTP Method: get
45
45
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/message-store/{messageId}
@@ -51,12 +51,11 @@ declare class Index {
51
51
  /**
52
52
  * Updates message(s) by their ID(s). Currently, only the `readStatus`
53
53
  * can be updated using this method.
54
- *
55
- * Bulk syntax is supported, max number of IDs passed as query/path
56
- * parameters is 50. Alternative bulk syntax is also supported - user messages can be updated
57
- * by passing multiple IDs in request body as an array of string, max number
58
- * of IDs passed in the body is 1000. In this case asterisk is used in the
59
- * path instead of IDs.
54
+ * [Bulk syntax](https://developers.ringcentral.com/guide/basics/batch-requests) is supported,
55
+ * maximum number of IDs passed as query/path parameters is 50. Alternative bulk syntax is also
56
+ * supported - the user's messages can be updated by passing multiple IDs in request body as
57
+ * an array of string, maximum number of IDs passed in the body is 1000. In this case asterisk '*'
58
+ * is used in the path instead of IDs.
60
59
  *
61
60
  * HTTP Method: put
62
61
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/message-store/{messageId}
@@ -29,12 +29,11 @@ class Index {
29
29
  return r.data;
30
30
  }
31
31
  /**
32
- * Deletes conversation(s) by conversation ID(s). Batch request is
33
- * supported, max number of IDs passed as query/path parameters is 50. Alternative
34
- * syntax is supported - user conversations can be deleted by passing multiple
35
- * IDs in request body as an array of string, max number of conversation IDs
36
- * passed in request body is 100. In this case asterisk is used in the path instead
37
- * of IDs
32
+ * Deletes conversation(s) by conversation ID(s).
33
+ * [Batch request syntax](https://developers.ringcentral.com/guide/basics/batch-requests) is supported - maximum number
34
+ * of IDs passed as query/path parameters is 50. Alternative syntax is supported - the user's conversations can be deleted
35
+ * by passing multiple IDs in request body as an array of string. Maximum number of conversation IDs passed in request body
36
+ * is 100. In this case asterisk '*' is used in the path instead of IDs.
38
37
  *
39
38
  * HTTP Method: delete
40
39
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/message-store
@@ -48,7 +47,8 @@ class Index {
48
47
  }
49
48
  /**
50
49
  * Returns an individual message record or multiple records by the given message ID(s).
51
- * The length of inbound messages is unlimited. Bulk syntax is supported.
50
+ * The length of inbound messages is unlimited. [Bulk syntax](https://developers.ringcentral.com/guide/basics/batch-requests)
51
+ * is supported.
52
52
  *
53
53
  * HTTP Method: get
54
54
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/message-store/{messageId}
@@ -66,12 +66,11 @@ class Index {
66
66
  /**
67
67
  * Updates message(s) by their ID(s). Currently, only the `readStatus`
68
68
  * can be updated using this method.
69
- *
70
- * Bulk syntax is supported, max number of IDs passed as query/path
71
- * parameters is 50. Alternative bulk syntax is also supported - user messages can be updated
72
- * by passing multiple IDs in request body as an array of string, max number
73
- * of IDs passed in the body is 1000. In this case asterisk is used in the
74
- * path instead of IDs.
69
+ * [Bulk syntax](https://developers.ringcentral.com/guide/basics/batch-requests) is supported,
70
+ * maximum number of IDs passed as query/path parameters is 50. Alternative bulk syntax is also
71
+ * supported - the user's messages can be updated by passing multiple IDs in request body as
72
+ * an array of string, maximum number of IDs passed in the body is 1000. In this case asterisk '*'
73
+ * is used in the path instead of IDs.
75
74
  *
76
75
  * HTTP Method: put
77
76
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/message-store/{messageId}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/Account/Extension/MessageStore/index.ts"],"names":[],"mappings":";;;;;AAAA,wDAAgC;AAUhC,MAAM,KAAK;IAKT,YAAmB,OAAwB,EAAE,YAA2B,IAAI;QAC1E,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;IACM,IAAI,CAAC,aAAa,GAAG,IAAI;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,SAAS,KAAK,IAAI,EAAE,CAAC;YAC7C,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,kBAAkB,IAAI,CAAC,SAAS,EAAE,CAAC;QAClE,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,gBAAgB,CAAC;IAChD,CAAC;IACD;;;;;;;OAOG;IACI,KAAK,CAAC,IAAI,CACf,WAAoC,EACpC,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAAiB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;QAC9F,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;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AAG,MAAM,IAAI,CAAC,EAAE,CAAC,MAAM,CAAS,IAAI,CAAC,IAAI,EAAE,EAAE,wBAAwB,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;QAC9G,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACI,KAAK,CAAC,KAAK,CAChB,mBAAwC,EACxC,iBAAqC;QAErC,IAAI,IAAI,CAAC,SAAS,KAAK,IAAI,EAAE,CAAC;YAC5B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,KAAK,CAC3B,IAAI,CAAC,IAAI,EAAE,EACX,mBAAmB,EACnB,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAEM,OAAO,CAAC,eAA8B,IAAI;QAC/C,OAAO,IAAI,iBAAO,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;IACzC,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/Account/Extension/MessageStore/index.ts"],"names":[],"mappings":";;;;;AAAA,wDAAgC;AAUhC,MAAM,KAAK;IAKT,YAAmB,OAAwB,EAAE,YAA2B,IAAI;QAC1E,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;IACM,IAAI,CAAC,aAAa,GAAG,IAAI;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,SAAS,KAAK,IAAI,EAAE,CAAC;YAC7C,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,kBAAkB,IAAI,CAAC,SAAS,EAAE,CAAC;QAClE,CAAC;QAC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AI,CAAC,IAAI,EAAE,EACX,oBAAoB,EACpB,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;;;;;;OAYG;IACI,KAAK,CAAC,MAAM,CACjB,wBAAkC,EAClC,WAAqC,EACrC,iBAAqC;QAErC,IAAI,IAAI,CAAC,SAAS,KAAK,IAAI,EAAE,CAAC;YAC5B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,MAAM,CAAS,IAAI,CAAC,IAAI,EAAE,EAAE,wBAAwB,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;QAC9G,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACI,KAAK,CAAC,KAAK,CAChB,mBAAwC,EACxC,iBAAqC;QAErC,IAAI,IAAI,CAAC,SAAS,KAAK,IAAI,EAAE,CAAC;YAC5B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,KAAK,CAC3B,IAAI,CAAC,IAAI,EAAE,EACX,mBAAmB,EACnB,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAEM,OAAO,CAAC,eAA8B,IAAI;QAC/C,OAAO,IAAI,iBAAO,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;IACzC,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
@@ -13,7 +13,7 @@ declare class Index {
13
13
  * (the parameters `telephonyStatus`, `message`, `userStatus` and `dndStatus` are not returned at all) for the following extension types:
14
14
  * Department/Announcement Only/Take Messages Only (Voicemail)/Fax User/Paging Only Group/Shared Lines Group/IVR Menu/Application Extension/Park Location.
15
15
  * If the user requests his/her own presence status, the response contains actual presence status even if the status publication is turned off.
16
- * [Batch request syntax](https://developers.ringcentral.com/api-reference/Batch-Requests) is supported. For batch requests the number of extensions
16
+ * [Batch request syntax](https://developers.ringcentral.com/guide/basics/batch-requests) is supported. For batch requests the number of extensions
17
17
  * in one request is limited to 30. If more extensions are included in the request, the error code 400 Bad Request is returned with the logical error
18
18
  * code InvalidMultipartRequest and the corresponding message Extension Presence Info multipart request is limited to 30 extensions.
19
19
  *
@@ -13,7 +13,7 @@ class Index {
13
13
  * (the parameters `telephonyStatus`, `message`, `userStatus` and `dndStatus` are not returned at all) for the following extension types:
14
14
  * Department/Announcement Only/Take Messages Only (Voicemail)/Fax User/Paging Only Group/Shared Lines Group/IVR Menu/Application Extension/Park Location.
15
15
  * If the user requests his/her own presence status, the response contains actual presence status even if the status publication is turned off.
16
- * [Batch request syntax](https://developers.ringcentral.com/api-reference/Batch-Requests) is supported. For batch requests the number of extensions
16
+ * [Batch request syntax](https://developers.ringcentral.com/guide/basics/batch-requests) is supported. For batch requests the number of extensions
17
17
  * in one request is limited to 30. If more extensions are included in the request, the error code 400 Bad Request is returned with the logical error
18
18
  * code InvalidMultipartRequest and the corresponding message Extension Presence Info multipart request is limited to 30 extensions.
19
19
  *
@@ -21,7 +21,7 @@ declare class Index {
21
21
  list(queryParams?: ListAccountPhoneNumbersParameters, restRequestConfig?: RestRequestConfig): Promise<AccountPhoneNumbers>;
22
22
  /**
23
23
  * Returns phone number(s) belonging to a certain account or extension by phoneNumberId(s).
24
- * [Batch request syntax](https://developers.ringcentral.com/api-reference/Batch-Requests) is supported.
24
+ * [Batch request syntax](https://developers.ringcentral.com/guide/basics/batch-requests) is supported.
25
25
  *
26
26
  * HTTP Method: get
27
27
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/phone-number/{phoneNumberId}
@@ -28,7 +28,7 @@ class Index {
28
28
  }
29
29
  /**
30
30
  * Returns phone number(s) belonging to a certain account or extension by phoneNumberId(s).
31
- * [Batch request syntax](https://developers.ringcentral.com/api-reference/Batch-Requests) is supported.
31
+ * [Batch request syntax](https://developers.ringcentral.com/guide/basics/batch-requests) is supported.
32
32
  *
33
33
  * HTTP Method: get
34
34
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/phone-number/{phoneNumberId}
@@ -0,0 +1,20 @@
1
+ import type ReadMultichannelCallRecordingContentParameters from '../../../../../../../definitions/ReadMultichannelCallRecordingContentParameters';
2
+ import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../../../../types';
3
+ declare class Index {
4
+ rc: RingCentralInterface;
5
+ _parent: ParentInterface;
6
+ constructor(_parent: ParentInterface);
7
+ path(): string;
8
+ /**
9
+ * Returns media content of a multichannel call recording
10
+ *
11
+ * **This API must be called via media API entry point, e.g. https://media.ringcentral.com**
12
+ *
13
+ * HTTP Method: get
14
+ * Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/metadata/multichannel-recordings/{metadataId}/content
15
+ * Rate Limit Group: Heavy
16
+ * App Permission: ReadCallRecording
17
+ */
18
+ get(queryParams?: ReadMultichannelCallRecordingContentParameters, restRequestConfig?: RestRequestConfig): Promise<string>;
19
+ }
20
+ export default Index;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class Index {
4
+ constructor(_parent) {
5
+ this._parent = _parent;
6
+ this.rc = _parent.rc;
7
+ }
8
+ path() {
9
+ return `${this._parent.path()}/content`;
10
+ }
11
+ /**
12
+ * Returns media content of a multichannel call recording
13
+ *
14
+ * **This API must be called via media API entry point, e.g. https://media.ringcentral.com**
15
+ *
16
+ * HTTP Method: get
17
+ * Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/metadata/multichannel-recordings/{metadataId}/content
18
+ * Rate Limit Group: Heavy
19
+ * App Permission: ReadCallRecording
20
+ */
21
+ async get(queryParams, restRequestConfig) {
22
+ const r = await this.rc.get(this.path(), queryParams, restRequestConfig);
23
+ return r.data;
24
+ }
25
+ }
26
+ exports.default = Index;
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/Content/index.ts"],"names":[],"mappings":";;AAGA,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1C,CAAC;IACD;;;;;;;;;OASG;IACI,KAAK,CAAC,GAAG,CACd,WAA4D,EAC5D,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAAS,IAAI,CAAC,IAAI,EAAE,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;QACjF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
@@ -0,0 +1,11 @@
1
+ import Content from './Content';
2
+ import type { RingCentralInterface, ParentInterface } from '../../../../../../types';
3
+ declare class Index {
4
+ rc: RingCentralInterface;
5
+ _parent: ParentInterface;
6
+ metadataId: string | null;
7
+ constructor(_parent: ParentInterface, metadataId?: string | null);
8
+ path(withParameter?: boolean): string;
9
+ content(): Content;
10
+ }
11
+ export default Index;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const Content_1 = __importDefault(require("./Content"));
7
+ class Index {
8
+ constructor(_parent, metadataId = null) {
9
+ this._parent = _parent;
10
+ this.rc = _parent.rc;
11
+ this.metadataId = metadataId;
12
+ }
13
+ path(withParameter = true) {
14
+ if (withParameter && this.metadataId !== null) {
15
+ return `${this._parent.path()}/multichannel-recordings/${this.metadataId}`;
16
+ }
17
+ return `${this._parent.path()}/multichannel-recordings`;
18
+ }
19
+ content() {
20
+ return new Content_1.default(this);
21
+ }
22
+ }
23
+ exports.default = Index;
24
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/index.ts"],"names":[],"mappings":";;;;;AAAA,wDAAgC;AAGhC,MAAM,KAAK;IAKT,YAAmB,OAAwB,EAAE,aAA4B,IAAI;QAC3E,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;IACM,IAAI,CAAC,aAAa,GAAG,IAAI;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,UAAU,KAAK,IAAI,EAAE,CAAC;YAC9C,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,4BAA4B,IAAI,CAAC,UAAU,EAAE,CAAC;QAC7E,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,0BAA0B,CAAC;IAC1D,CAAC;IAEM,OAAO;QACZ,OAAO,IAAI,iBAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
@@ -0,0 +1,10 @@
1
+ import MultichannelRecordings from './MultichannelRecordings';
2
+ import type { RingCentralInterface, ParentInterface } from '../../../../../types';
3
+ declare class Index {
4
+ rc: RingCentralInterface;
5
+ _parent: ParentInterface;
6
+ constructor(_parent: ParentInterface);
7
+ path(): string;
8
+ multichannelRecordings(metadataId?: string | null): MultichannelRecordings;
9
+ }
10
+ export default Index;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const MultichannelRecordings_1 = __importDefault(require("./MultichannelRecordings"));
7
+ class Index {
8
+ constructor(_parent) {
9
+ this._parent = _parent;
10
+ this.rc = _parent.rc;
11
+ }
12
+ path() {
13
+ return `${this._parent.path(false)}/metadata`;
14
+ }
15
+ multichannelRecordings(metadataId = null) {
16
+ return new MultichannelRecordings_1.default(this, metadataId);
17
+ }
18
+ }
19
+ exports.default = Index;
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/Account/Telephony/Metadata/index.ts"],"names":[],"mappings":";;;;;AAAA,sFAA8D;AAG9D,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC;IAChD,CAAC;IAEM,sBAAsB,CAAC,aAA4B,IAAI;QAC5D,OAAO,IAAI,gCAAsB,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;IACtD,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
@@ -9,7 +9,9 @@ declare class Index {
9
9
  constructor(_parent: ParentInterface, recordingId?: string | null);
10
10
  path(withParameter?: boolean): string;
11
11
  /**
12
- * Starts a new call recording for the party
12
+ * Starts a new call recording for a call party.
13
+ * *Please note* this API does not allow conference calls to be recorded.
14
+ *
13
15
  * HTTP Method: post
14
16
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId}/recordings
15
17
  * Rate Limit Group: Light
@@ -13,7 +13,9 @@ class Index {
13
13
  return `${this._parent.path()}/recordings`;
14
14
  }
15
15
  /**
16
- * Starts a new call recording for the party
16
+ * Starts a new call recording for a call party.
17
+ * *Please note* this API does not allow conference calls to be recorded.
18
+ *
17
19
  * HTTP Method: post
18
20
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId}/recordings
19
21
  * Rate Limit Group: Light
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/paths/Restapi/Account/Telephony/Sessions/Parties/Recordings/index.ts"],"names":[],"mappings":";;AAKA,MAAM,KAAK;IAKT,YAAmB,OAAwB,EAAE,cAA6B,IAAI;QAC5E,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACjC,CAAC;IACM,IAAI,CAAC,aAAa,GAAG,IAAI;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,WAAW,KAAK,IAAI,EAAE,CAAC;YAC/C,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,eAAe,IAAI,CAAC,WAAW,EAAE,CAAC;QACjE,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,aAAa,CAAC;IAC7C,CAAC;IACD;;;;;;OAMG;IACI,KAAK,CAAC,IAAI,CAAC,iBAAqC;QACrD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAAS,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QACzF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,KAAK,CAChB,mBAAwC,EACxC,WAAgD,EAChD,iBAAqC;QAErC,IAAI,IAAI,CAAC,WAAW,KAAK,IAAI,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;QACpD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,KAAK,CAAgB,IAAI,CAAC,IAAI,EAAE,EAAE,mBAAmB,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;QAC/G,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/paths/Restapi/Account/Telephony/Sessions/Parties/Recordings/index.ts"],"names":[],"mappings":";;AAKA,MAAM,KAAK;IAKT,YAAmB,OAAwB,EAAE,cAA6B,IAAI;QAC5E,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACjC,CAAC;IACM,IAAI,CAAC,aAAa,GAAG,IAAI;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,WAAW,KAAK,IAAI,EAAE,CAAC;YAC/C,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,eAAe,IAAI,CAAC,WAAW,EAAE,CAAC;QACjE,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,aAAa,CAAC;IAC7C,CAAC;IACD;;;;;;;;OAQG;IACI,KAAK,CAAC,IAAI,CAAC,iBAAqC;QACrD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAAS,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QACzF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,KAAK,CAChB,mBAAwC,EACxC,WAAgD,EAChD,iBAAqC;QAErC,IAAI,IAAI,CAAC,WAAW,KAAK,IAAI,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;QACpD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,KAAK,CAAgB,IAAI,CAAC,IAAI,EAAE,EAAE,mBAAmB,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;QAC/G,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
@@ -1,12 +1,14 @@
1
1
  import Conference from './Conference';
2
2
  import CallOut from './CallOut';
3
3
  import Sessions from './Sessions';
4
+ import Metadata from './Metadata';
4
5
  import type { RingCentralInterface, ParentInterface } from '../../../../types';
5
6
  declare class Index {
6
7
  rc: RingCentralInterface;
7
8
  _parent: ParentInterface;
8
9
  constructor(_parent: ParentInterface);
9
10
  path(): string;
11
+ metadata(): Metadata;
10
12
  sessions(telephonySessionId?: string | null): Sessions;
11
13
  callOut(): CallOut;
12
14
  conference(): Conference;
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const Conference_1 = __importDefault(require("./Conference"));
7
7
  const CallOut_1 = __importDefault(require("./CallOut"));
8
8
  const Sessions_1 = __importDefault(require("./Sessions"));
9
+ const Metadata_1 = __importDefault(require("./Metadata"));
9
10
  class Index {
10
11
  constructor(_parent) {
11
12
  this._parent = _parent;
@@ -14,6 +15,9 @@ class Index {
14
15
  path() {
15
16
  return `${this._parent.path()}/telephony`;
16
17
  }
18
+ metadata() {
19
+ return new Metadata_1.default(this);
20
+ }
17
21
  sessions(telephonySessionId = null) {
18
22
  return new Sessions_1.default(this, telephonySessionId);
19
23
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/Restapi/Account/Telephony/index.ts"],"names":[],"mappings":";;;;;AAAA,8DAAsC;AACtC,wDAAgC;AAChC,0DAAkC;AAGlC,MAAM,KAAK;IAI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,kBAAe,KAAK,CAAC"}
@@ -7,7 +7,9 @@ declare class Index {
7
7
  constructor(_parent: ParentInterface, personId?: string | null);
8
8
  path(withParameter?: boolean): string;
9
9
  /**
10
- * Returns a user or multiple users by their ID(s). Batch request is supported.
10
+ * Returns a user or multiple users by their ID(s).
11
+ * [Batch requests](https://developers.ringcentral.com/guide/basics/batch-requests) are supported.
12
+ *
11
13
  * HTTP Method: get
12
14
  * Endpoint: /team-messaging/v1/persons/{personId}
13
15
  * Rate Limit Group: Light
@@ -13,7 +13,9 @@ class Index {
13
13
  return `${this._parent.path()}/persons`;
14
14
  }
15
15
  /**
16
- * Returns a user or multiple users by their ID(s). Batch request is supported.
16
+ * Returns a user or multiple users by their ID(s).
17
+ * [Batch requests](https://developers.ringcentral.com/guide/basics/batch-requests) are supported.
18
+ *
17
19
  * HTTP Method: get
18
20
  * Endpoint: /team-messaging/v1/persons/{personId}
19
21
  * Rate Limit Group: Light
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/TeamMessaging/V1/Persons/index.ts"],"names":[],"mappings":";;AAGA,MAAM,KAAK;IAKT,YAAmB,OAAwB,EAAE,WAA0B,IAAI;QACzE,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;IACM,IAAI,CAAC,aAAa,GAAG,IAAI;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,EAAE,CAAC;YAC5C,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,YAAY,IAAI,CAAC,QAAQ,EAAE,CAAC;QAC3D,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1C,CAAC;IACD;;;;;;OAMG;IACI,KAAK,CAAC,GAAG,CAAC,i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AAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rc-ex/core",
3
- "version": "1.4.2",
3
+ "version": "1.5.0",
4
4
  "description": "Core for ringcentral-extensible project",
5
5
  "author": "Tyler Liu <tyler.liu@ringcentral.com>",
6
6
  "homepage": "https://github.com/ringcentral/ringcentral-extensible/tree/master/packages/core",
@@ -18,17 +18,17 @@
18
18
  "access": "public"
19
19
  },
20
20
  "dependencies": {
21
- "@types/qs": "^6.9.16",
22
- "axios": "^1.7.7",
23
- "qs": "^6.13.0"
21
+ "@types/qs": "^6.9.18",
22
+ "axios": "^1.7.9",
23
+ "qs": "^6.14.0"
24
24
  },
25
25
  "devDependencies": {
26
26
  "dotenv-override-true": "^6.2.2",
27
- "ringcentral-code-generator": "^0.6.13",
27
+ "ringcentral-code-generator": "^0.7.2",
28
28
  "ts-node": "^10.9.2"
29
29
  },
30
30
  "scripts": {
31
31
  "generate": "ts-node -r dotenv-override-true/config code-generator.ts"
32
32
  },
33
- "gitHead": "b992e8e21a97a1d7dc1e77ae5c6ccb13591839d6"
33
+ "gitHead": "03fab0f9fc3d924054df16abd6854a5063e19829"
34
34
  }
package/src/Rest.ts CHANGED
@@ -1,18 +1,23 @@
1
- import type { AxiosInstance } from 'axios';
2
- import axios from 'axios';
3
- import qs from 'qs';
4
- import { boundary } from './FormData';
5
-
6
- import RestException from './RestException';
7
- import type TokenInfo from './definitions/TokenInfo';
8
- import type { RestMethod, RestOptions, RestRequestConfig, RestResponse } from './types';
9
-
10
- const version = '1.3.x';
1
+ import type { AxiosInstance } from "axios";
2
+ import axios from "axios";
3
+ import qs from "qs";
4
+ import { boundary } from "./FormData";
5
+
6
+ import RestException from "./RestException";
7
+ import type TokenInfo from "./definitions/TokenInfo";
8
+ import type {
9
+ RestMethod,
10
+ RestOptions,
11
+ RestRequestConfig,
12
+ RestResponse,
13
+ } from "./types";
14
+
15
+ const version = "1.5.0";
11
16
 
12
17
  export default class Rest {
13
- public static sandboxServer = 'https://platform.devtest.ringcentral.com';
18
+ public static sandboxServer = "https://platform.devtest.ringcentral.com";
14
19
 
15
- public static productionServer = 'https://platform.ringcentral.com';
20
+ public static productionServer = "https://platform.ringcentral.com";
16
21
 
17
22
  public server: string;
18
23
 
@@ -30,19 +35,20 @@ export default class Rest {
30
35
 
31
36
  public constructor(options: RestOptions) {
32
37
  this.server = options.server ?? Rest.productionServer;
33
- this.clientId = options.clientId ?? '';
38
+ this.clientId = options.clientId ?? "";
34
39
  this.clientSecret = options.clientSecret;
35
40
  this.token = options.token ?? undefined;
36
- this.appName = options.appName ?? 'Unknown';
37
- this.appVersion = options.appVersion ?? '0.0.1';
41
+ this.appName = options.appName ?? "Unknown";
42
+ this.appVersion = options.appVersion ?? "0.0.1";
38
43
 
39
44
  this.httpClient = axios.create({
40
45
  headers: {
41
- 'X-User-Agent': `${this.appName}/${this.appVersion} ringcentral-extensible/core/${version}`,
46
+ "X-User-Agent":
47
+ `${this.appName}/${this.appVersion} ringcentral-extensible/core/${version}`,
42
48
  },
43
49
  validateStatus: () => true,
44
50
  paramsSerializer: {
45
- serialize: (params) => qs.stringify(params, { arrayFormat: 'repeat' }),
51
+ serialize: (params) => qs.stringify(params, { arrayFormat: "repeat" }),
46
52
  },
47
53
  });
48
54
 
@@ -50,7 +56,10 @@ export default class Rest {
50
56
  if (Buffer.isBuffer(config.data)) {
51
57
  return {
52
58
  ...config,
53
- headers: { ...config.headers, 'Content-Type': `multipart/form-data; boundary=${boundary}` } as any,
59
+ headers: {
60
+ ...config.headers,
61
+ "Content-Type": `multipart/form-data; boundary=${boundary}`,
62
+ } as any,
54
63
  };
55
64
  }
56
65
  return config;
@@ -74,7 +83,10 @@ export default class Rest {
74
83
  ...config,
75
84
  };
76
85
  // /restapi/oauth/wstoken uses bearer token
77
- if (endpoint === '/restapi/oauth/token' || endpoint === '/restapi/oauth/revoke') {
86
+ if (
87
+ endpoint === "/restapi/oauth/token" ||
88
+ endpoint === "/restapi/oauth/revoke"
89
+ ) {
78
90
  if (this.clientSecret) {
79
91
  // basic token
80
92
  newConfig.auth = {
@@ -0,0 +1,34 @@
1
+ import type TranscriptInsightUnit from './TranscriptInsightUnit';
2
+ import type SummaryInsightUnit from './SummaryInsightUnit';
3
+ import type HighlightsInsightUnit from './HighlightsInsightUnit';
4
+ import type NextStepsInsightUnit from './NextStepsInsightUnit';
5
+ import type BulletedSummaryInsightUnit from './BulletedSummaryInsightUnit';
6
+ import type AIScoreInsightUnit from './AIScoreInsightUnit';
7
+
8
+ interface AIInsights {
9
+ /**
10
+ */
11
+ Transcript?: TranscriptInsightUnit[];
12
+
13
+ /**
14
+ */
15
+ Summary?: SummaryInsightUnit[];
16
+
17
+ /**
18
+ */
19
+ Highlights?: HighlightsInsightUnit[];
20
+
21
+ /**
22
+ */
23
+ NextSteps?: NextStepsInsightUnit[];
24
+
25
+ /**
26
+ */
27
+ BulletedSummary?: BulletedSummaryInsightUnit[];
28
+
29
+ /**
30
+ */
31
+ AIScore?: AIScoreInsightUnit[];
32
+ }
33
+
34
+ export default AIInsights;
@@ -0,0 +1,10 @@
1
+ interface AIScoreInsightUnit {
2
+ /**
3
+ * Value of the score
4
+ * Required
5
+ * Example: 7
6
+ */
7
+ value?: string;
8
+ }
9
+
10
+ export default AIScoreInsightUnit;
@@ -9,7 +9,7 @@ interface AccountPresenceEventBody {
9
9
  extensionId?: string;
10
10
 
11
11
  /**
12
- * Telephony presence status. Returned if telephony status is changed.
12
+ * Telephony presence status. Returned if telephony status is changed
13
13
  */
14
14
  telephonyStatus?: 'NoCall' | 'CallConnected' | 'Ringing' | 'OnHold' | 'ParkedCall';
15
15
 
@@ -34,6 +34,11 @@ interface AccountPresenceEventBody {
34
34
  */
35
35
  dndStatus?: 'TakeAllCalls' | 'DoNotAcceptAnyCalls' | 'DoNotAcceptDepartmentCalls' | 'TakeDepartmentCallsOnly';
36
36
 
37
+ /**
38
+ * Meetings presence status. Specifies if a user is on a meeting
39
+ */
40
+ meetingStatus?: 'Connected' | 'Disconnected';
41
+
37
42
  /**
38
43
  * If `true` enables other extensions to see the extension presence status
39
44
  */
@@ -263,15 +263,13 @@ interface BaseCallLogRecord {
263
263
 
264
264
  /**
265
265
  * Call duration in seconds
266
- * Required
267
- * Format: int32
266
+ * Format: int64
268
267
  */
269
268
  duration?: number;
270
269
 
271
270
  /**
272
271
  * Call duration in milliseconds
273
- * Required
274
- * Format: int32
272
+ * Format: int64
275
273
  */
276
274
  durationMs?: number;
277
275
 
@@ -304,7 +302,8 @@ interface BaseCallLogRecord {
304
302
  | 'Vma'
305
303
  | 'LocalNumber'
306
304
  | 'ImsOutgoing'
307
- | 'ImsIncoming';
305
+ | 'ImsIncoming'
306
+ | 'Unknown';
308
307
  }
309
308
 
310
309
  export default BaseCallLogRecord;
@@ -49,7 +49,7 @@ interface BaseTokenRequest {
49
49
 
50
50
  /**
51
51
  * Refresh token lifetime in seconds
52
- * Maximum: 604800
52
+ * Maximum: 2592000
53
53
  * Format: int32
54
54
  * Default: 604800
55
55
  */