@rc-ex/core 1.4.1 → 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 (315) 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/index.js +7 -3
  104. package/lib/index.js.map +1 -1
  105. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/Insights/index.d.ts +18 -0
  106. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/Insights/index.js +24 -0
  107. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/Insights/index.js.map +1 -0
  108. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/index.d.ts +11 -0
  109. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/index.js +24 -0
  110. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/index.js.map +1 -0
  111. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/index.d.ts +11 -0
  112. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/index.js +24 -0
  113. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/Domains/index.js.map +1 -0
  114. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/index.d.ts +11 -0
  115. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/index.js +24 -0
  116. package/lib/paths/Ai/Ringsense/V1/Public/Accounts/index.js.map +1 -0
  117. package/lib/paths/Ai/Ringsense/V1/Public/index.d.ts +10 -0
  118. package/lib/paths/Ai/Ringsense/V1/Public/index.js +20 -0
  119. package/lib/paths/Ai/Ringsense/V1/Public/index.js.map +1 -0
  120. package/lib/paths/{Cx/SocialMessaging → Ai/Ringsense}/V1/index.d.ts +2 -4
  121. package/lib/paths/{Cx/SocialMessaging → Ai/Ringsense}/V1/index.js +3 -7
  122. package/lib/paths/Ai/Ringsense/V1/index.js.map +1 -0
  123. package/lib/paths/{Cx/SocialMessaging → Ai/Ringsense}/index.js +1 -1
  124. package/lib/paths/Ai/Ringsense/index.js.map +1 -0
  125. package/lib/paths/Ai/index.d.ts +2 -0
  126. package/lib/paths/Ai/index.js +4 -0
  127. package/lib/paths/Ai/index.js.map +1 -1
  128. package/lib/paths/Restapi/Account/CallLog/index.d.ts +3 -1
  129. package/lib/paths/Restapi/Account/CallLog/index.js +3 -1
  130. package/lib/paths/Restapi/Account/CallLog/index.js.map +1 -1
  131. package/lib/paths/Restapi/Account/Extension/AddressBook/Contact/index.d.ts +3 -3
  132. package/lib/paths/Restapi/Account/Extension/AddressBook/Contact/index.js +3 -3
  133. package/lib/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.d.ts +5 -3
  134. package/lib/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.js +5 -3
  135. package/lib/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.js.map +1 -1
  136. package/lib/paths/Restapi/Account/Extension/Device/index.d.ts +2 -2
  137. package/lib/paths/Restapi/Account/Extension/Device/index.js +2 -2
  138. package/lib/paths/Restapi/Account/Extension/MessageStore/index.d.ts +12 -13
  139. package/lib/paths/Restapi/Account/Extension/MessageStore/index.js +12 -13
  140. package/lib/paths/Restapi/Account/Extension/MessageStore/index.js.map +1 -1
  141. package/lib/paths/Restapi/Account/Extension/Presence/index.d.ts +1 -1
  142. package/lib/paths/Restapi/Account/Extension/Presence/index.js +1 -1
  143. package/lib/paths/Restapi/Account/PhoneNumber/index.d.ts +1 -1
  144. package/lib/paths/Restapi/Account/PhoneNumber/index.js +1 -1
  145. package/lib/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/Content/index.d.ts +20 -0
  146. package/lib/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/Content/index.js +27 -0
  147. package/lib/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/Content/index.js.map +1 -0
  148. package/lib/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/index.d.ts +11 -0
  149. package/lib/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/index.js +24 -0
  150. package/lib/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/index.js.map +1 -0
  151. package/lib/paths/Restapi/Account/Telephony/Metadata/index.d.ts +10 -0
  152. package/lib/paths/Restapi/Account/Telephony/Metadata/index.js +20 -0
  153. package/lib/paths/Restapi/Account/Telephony/Metadata/index.js.map +1 -0
  154. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Recordings/index.d.ts +3 -1
  155. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Recordings/index.js +3 -1
  156. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Recordings/index.js.map +1 -1
  157. package/lib/paths/Restapi/Account/Telephony/index.d.ts +2 -0
  158. package/lib/paths/Restapi/Account/Telephony/index.js +4 -0
  159. package/lib/paths/Restapi/Account/Telephony/index.js.map +1 -1
  160. package/lib/paths/TeamMessaging/V1/Persons/index.d.ts +3 -1
  161. package/lib/paths/TeamMessaging/V1/Persons/index.js +3 -1
  162. package/lib/paths/TeamMessaging/V1/Persons/index.js.map +1 -1
  163. package/package.json +6 -6
  164. package/src/Rest.ts +31 -19
  165. package/src/definitions/AIInsights.ts +34 -0
  166. package/src/definitions/AIScoreInsightUnit.ts +10 -0
  167. package/src/definitions/AccountPresenceEventBody.ts +6 -1
  168. package/src/definitions/BaseCallLogRecord.ts +4 -5
  169. package/src/definitions/BaseTokenRequest.ts +1 -1
  170. package/src/definitions/BatchProvisionUsersRequestItem.ts +0 -7
  171. package/src/definitions/BatchProvisionUsersRequestItemContact.ts +6 -0
  172. package/src/definitions/BulletedSummaryInsightUnit.ts +10 -0
  173. package/src/definitions/CallLogRecord.ts +4 -5
  174. package/src/definitions/CallLogRecordLegInfo.ts +7 -6
  175. package/src/definitions/CallMonitoringGroup.ts +6 -0
  176. package/src/definitions/CallMonitoringGroupSite.ts +13 -0
  177. package/src/definitions/CallStatusInfo.ts +22 -6
  178. package/src/definitions/ContactResource.ts +0 -26
  179. package/src/definitions/CreateCallMonitoringGroupRequest.ts +6 -0
  180. package/src/definitions/CreateCallMonitoringGroupRequestSite.ts +8 -0
  181. package/src/definitions/DefaultUserRole.ts +5 -0
  182. package/src/definitions/DeviceResource.ts +5 -0
  183. package/src/definitions/ExtensionCreationRequest.ts +6 -0
  184. package/src/definitions/ExtensionRegionalSettingRequest.ts +5 -0
  185. package/src/definitions/GetMessageInfoResponse.ts +5 -0
  186. package/src/definitions/GetRecordingInsightsParameters.ts +11 -0
  187. package/src/definitions/GetTokenRequest.ts +1 -1
  188. package/src/definitions/HighlightsInsightUnit.ts +33 -0
  189. package/src/definitions/InternalDeliveryMode.ts +16 -0
  190. package/src/definitions/ListCallMonitoringGroupsParameters.ts +1 -1
  191. package/src/definitions/ListDirectoryEntriesParameters.ts +2 -2
  192. package/src/definitions/ListExtensionDevicesParameters.ts +2 -2
  193. package/src/definitions/ListUserTemplatesParameters.ts +1 -1
  194. package/src/definitions/NextStepsInsightUnit.ts +33 -0
  195. package/src/definitions/NotificationDeliveryMode.ts +8 -1
  196. package/src/definitions/PartySuperviseResponse.ts +3 -1
  197. package/src/definitions/PeerInfo.ts +1 -1
  198. package/src/definitions/RSConversationalInsightsUnit.ts +33 -0
  199. package/src/definitions/ReadDirectoryEntryParameters.ts +2 -2
  200. package/src/definitions/ReadMultichannelCallRecordingContentParameters.ts +16 -0
  201. package/src/definitions/RecordingInsights.ts +92 -0
  202. package/src/definitions/ScimUserSearchResponse.ts +2 -2
  203. package/src/definitions/ScimUserShortInfo.ts +62 -0
  204. package/src/definitions/SearchDirectoryEntriesParameters.ts +2 -2
  205. package/src/definitions/{ServiceInfoPlan.ts → ServiceInfoPlanV2.ts} +2 -6
  206. package/src/definitions/ServiceInfoV2.ts +2 -2
  207. package/src/definitions/ShippingInfo.ts +1 -1
  208. package/src/definitions/SipData.ts +23 -0
  209. package/src/definitions/SummaryInsightUnit.ts +26 -0
  210. package/src/definitions/SyncAccountCallLogParameters.ts +4 -1
  211. package/src/definitions/SyncMessagesParameters.ts +3 -3
  212. package/src/definitions/SyncUserCallLogParameters.ts +4 -3
  213. package/src/definitions/TMMessageAttachmentInfo.ts +11 -0
  214. package/src/definitions/TelephonySessionsEventPartyInfo.ts +57 -2
  215. package/src/definitions/TemplateInfo.ts +6 -1
  216. package/src/definitions/TranscriptInsightUnit.ts +36 -0
  217. package/src/definitions/TransitionInfo.ts +16 -0
  218. package/src/definitions/UiCallInfo.ts +16 -0
  219. package/src/definitions/UiCallInfoRecord.ts +14 -0
  220. package/src/definitions/VoicemailOwnerResource.ts +16 -0
  221. package/src/index.ts +7 -3
  222. package/src/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/Insights/index.ts +31 -0
  223. package/src/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Records/index.ts +25 -0
  224. package/src/paths/Ai/Ringsense/V1/Public/Accounts/Domains/index.ts +25 -0
  225. package/src/paths/Ai/Ringsense/V1/Public/Accounts/index.ts +25 -0
  226. package/src/paths/Ai/Ringsense/V1/Public/index.ts +20 -0
  227. package/src/paths/{Cx/SocialMessaging → Ai/Ringsense}/V1/index.ts +3 -8
  228. package/src/paths/{Cx/SocialMessaging → Ai/Ringsense}/index.ts +1 -1
  229. package/src/paths/Ai/index.ts +5 -0
  230. package/src/paths/Restapi/Account/CallLog/index.ts +3 -1
  231. package/src/paths/Restapi/Account/Extension/AddressBook/Contact/index.ts +3 -3
  232. package/src/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.ts +5 -3
  233. package/src/paths/Restapi/Account/Extension/Device/index.ts +2 -2
  234. package/src/paths/Restapi/Account/Extension/MessageStore/index.ts +12 -13
  235. package/src/paths/Restapi/Account/Extension/Presence/index.ts +1 -1
  236. package/src/paths/Restapi/Account/PhoneNumber/index.ts +1 -1
  237. package/src/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/Content/index.ts +33 -0
  238. package/src/paths/Restapi/Account/Telephony/Metadata/MultichannelRecordings/index.ts +25 -0
  239. package/src/paths/Restapi/Account/Telephony/Metadata/index.ts +20 -0
  240. package/src/paths/Restapi/Account/Telephony/Sessions/Parties/Recordings/index.ts +3 -1
  241. package/src/paths/Restapi/Account/Telephony/index.ts +5 -0
  242. package/src/paths/TeamMessaging/V1/Persons/index.ts +3 -1
  243. package/src/samples.md +4657 -4709
  244. package/lib/definitions/CallQueueResource.d.ts +0 -11
  245. package/lib/definitions/CallQueueResource.js.map +0 -1
  246. package/lib/definitions/CallSessionStatusInfo.d.ts +0 -20
  247. package/lib/definitions/CallSessionStatusInfo.js.map +0 -1
  248. package/lib/definitions/ContentBodyFormatted.d.ts +0 -12
  249. package/lib/definitions/ContentBodyFormatted.js.map +0 -1
  250. package/lib/definitions/ContentContextData.d.ts +0 -8
  251. package/lib/definitions/ContentContextData.js.map +0 -1
  252. package/lib/definitions/ContentList.d.ts +0 -13
  253. package/lib/definitions/ContentList.js.map +0 -1
  254. package/lib/definitions/ContentModel.d.ts +0 -218
  255. package/lib/definitions/ContentModel.js.map +0 -1
  256. package/lib/definitions/CostCenterResource.d.ts +0 -15
  257. package/lib/definitions/CostCenterResource.js +0 -3
  258. package/lib/definitions/CostCenterResource.js.map +0 -1
  259. package/lib/definitions/CreateSocialMessagingContentRequest.d.ts +0 -110
  260. package/lib/definitions/CreateSocialMessagingContentRequest.js +0 -3
  261. package/lib/definitions/CreateSocialMessagingContentRequest.js.map +0 -1
  262. package/lib/definitions/DirectoryRoleResource.d.ts +0 -16
  263. package/lib/definitions/DirectoryRoleResource.js +0 -3
  264. package/lib/definitions/DirectoryRoleResource.js.map +0 -1
  265. package/lib/definitions/GroupResource.d.ts +0 -11
  266. package/lib/definitions/GroupResource.js.map +0 -1
  267. package/lib/definitions/IdentitiesList.d.ts +0 -13
  268. package/lib/definitions/IdentitiesList.js.map +0 -1
  269. package/lib/definitions/IdentityExtraValues.d.ts +0 -6
  270. package/lib/definitions/IdentityExtraValues.js +0 -3
  271. package/lib/definitions/IdentityExtraValues.js.map +0 -1
  272. package/lib/definitions/IdentityModel.d.ts +0 -199
  273. package/lib/definitions/IdentityModel.js.map +0 -1
  274. package/lib/definitions/ListSocialMessagingContentsParameters.d.ts +0 -68
  275. package/lib/definitions/ListSocialMessagingContentsParameters.js +0 -3
  276. package/lib/definitions/ListSocialMessagingContentsParameters.js.map +0 -1
  277. package/lib/definitions/ListSocialMessagingIdentitiesParameters.d.ts +0 -47
  278. package/lib/definitions/ListSocialMessagingIdentitiesParameters.js +0 -3
  279. package/lib/definitions/ListSocialMessagingIdentitiesParameters.js.map +0 -1
  280. package/lib/definitions/ServiceInfoPlan.js +0 -3
  281. package/lib/definitions/ServiceInfoPlan.js.map +0 -1
  282. package/lib/definitions/SocMsgContentAttachment.d.ts +0 -77
  283. package/lib/definitions/SocMsgContentAttachment.js +0 -3
  284. package/lib/definitions/SocMsgContentAttachment.js.map +0 -1
  285. package/lib/paths/Cx/SocialMessaging/V1/Contents/index.d.ts +0 -65
  286. package/lib/paths/Cx/SocialMessaging/V1/Contents/index.js +0 -83
  287. package/lib/paths/Cx/SocialMessaging/V1/Contents/index.js.map +0 -1
  288. package/lib/paths/Cx/SocialMessaging/V1/Identities/index.d.ts +0 -34
  289. package/lib/paths/Cx/SocialMessaging/V1/Identities/index.js +0 -50
  290. package/lib/paths/Cx/SocialMessaging/V1/Identities/index.js.map +0 -1
  291. package/lib/paths/Cx/SocialMessaging/V1/index.js.map +0 -1
  292. package/lib/paths/Cx/SocialMessaging/index.js.map +0 -1
  293. package/lib/paths/Cx/index.d.ts +0 -9
  294. package/lib/paths/Cx/index.js +0 -19
  295. package/lib/paths/Cx/index.js.map +0 -1
  296. package/src/definitions/CallQueueResource.ts +0 -13
  297. package/src/definitions/CallSessionStatusInfo.ts +0 -26
  298. package/src/definitions/ContentBodyFormatted.ts +0 -14
  299. package/src/definitions/ContentContextData.ts +0 -9
  300. package/src/definitions/ContentList.ts +0 -16
  301. package/src/definitions/ContentModel.ts +0 -299
  302. package/src/definitions/CostCenterResource.ts +0 -18
  303. package/src/definitions/CreateSocialMessagingContentRequest.ts +0 -126
  304. package/src/definitions/DirectoryRoleResource.ts +0 -20
  305. package/src/definitions/GroupResource.ts +0 -13
  306. package/src/definitions/IdentitiesList.ts +0 -16
  307. package/src/definitions/IdentityExtraValues.ts +0 -7
  308. package/src/definitions/IdentityModel.ts +0 -248
  309. package/src/definitions/ListSocialMessagingContentsParameters.ts +0 -85
  310. package/src/definitions/ListSocialMessagingIdentitiesParameters.ts +0 -61
  311. package/src/definitions/SocMsgContentAttachment.ts +0 -86
  312. package/src/paths/Cx/SocialMessaging/V1/Contents/index.ts +0 -101
  313. package/src/paths/Cx/SocialMessaging/V1/Identities/index.ts +0 -58
  314. package/src/paths/Cx/index.ts +0 -18
  315. /package/lib/paths/{Cx/SocialMessaging → Ai/Ringsense}/index.d.ts +0 -0
@@ -1,199 +0,0 @@
1
- import type IdentityExtraValues from './IdentityExtraValues';
2
- interface IdentityModel {
3
- /**
4
- * Identity identifier.
5
- * Required
6
- * Example: 506d9e817aa58d1259000f12
7
- */
8
- id?: string;
9
- /**
10
- * Identity's avatar URI
11
- * Format: uri
12
- * Example: https://example.com/assets/avatar/default-79fd530c58c2a6b83a11fcc0e842ed7023ceb69292cfeb857bc2af2c624b90fd.png
13
- */
14
- avatarUri?: string;
15
- /**
16
- * Company.
17
- * Example: Test Company
18
- */
19
- company?: string;
20
- /**
21
- * Creation time of the resource.
22
- * Required
23
- * Format: date-time
24
- * Example: 2023-02-04T12:43:07Z
25
- */
26
- creationTime?: string;
27
- /**
28
- * Display name of identity
29
- * Example: John Doe
30
- */
31
- displayName?: string;
32
- /**
33
- * Email address.
34
- * Format: email
35
- * Example: user@example.com
36
- */
37
- emailAddress?: string;
38
- /**
39
- */
40
- extraValues?: IdentityExtraValues;
41
- /**
42
- * FirstName.
43
- * Example: John
44
- */
45
- firstName?: string;
46
- /**
47
- * Gender.
48
- * Example: Woman
49
- */
50
- gender?: 'Man' | 'Woman';
51
- /**
52
- * Phone number.
53
- * Example: +33634231224
54
- */
55
- homePhone?: string;
56
- /**
57
- * Identity group identifier which references the identity group that contains
58
- * all information (phone, notes, etc). Multiple identities may belong to
59
- * a single group. If the parameter value is null, it means that identity
60
- * does not belong to a group or have extra information
61
- * Example: 54085e5b7aa58d8b5d00006c
62
- */
63
- identityGroupId?: string;
64
- /**
65
- * Either Agent or Customer
66
- */
67
- identityType?: 'Agent' | 'Customer';
68
- /**
69
- * LastName.
70
- * Example: Doe
71
- */
72
- lastName?: string;
73
- /**
74
- * Phone number.
75
- * Example: +33634231224
76
- */
77
- mobilePhone?: string;
78
- /**
79
- * Screen name of identity
80
- * Example: John D.
81
- */
82
- screenName?: string;
83
- /**
84
- * Type of identity
85
- * Required
86
- */
87
- type?: 'AppleMessagesForBusiness' | 'Email' | 'EngageMessaging' | 'Facebook' | 'GoogleMyBusiness' | 'Instagram' | 'Linkedin' | 'Twitter' | 'Viber' | 'WhatsApp' | 'Youtube';
88
- /**
89
- * The time when the last modification was completed.
90
- * Required
91
- * Format: date-time
92
- * Example: 2023-02-04T12:43:07Z
93
- */
94
- lastModifiedTime?: string;
95
- /**
96
- * List of the associated user identifiers who can use the identity
97
- */
98
- userIds?: string[];
99
- /**
100
- * UUID of identity
101
- * Example: 9680ab94-3b78-495c-bb2c-a969954d8260
102
- */
103
- uuid?: string;
104
- /**
105
- * Device info of the identity. Applicable to RingCX Digital Messaging channels only
106
- * Example: iPhone (iPhone); iOS 15.0.2
107
- */
108
- mobileDeviceInfo?: string;
109
- /**
110
- * Facebook biography of the identity. Applicable to Facebook and Messenger channels only
111
- * Example: Painter living in Paris
112
- */
113
- fbBio?: string;
114
- /**
115
- * Facebook category of the identity. Applicable to Facebook and Messenger channels only
116
- * Example: Computers/Internet
117
- */
118
- fbCategory?: string;
119
- /**
120
- * Facebook locale of the identity. Applicable to Facebook and Messenger channels only
121
- * Example: fr_FR
122
- */
123
- fbLocale?: string;
124
- /**
125
- * Instagram followers count of the identity. Applicable to Instagram and InstagramMessaging channels only
126
- * Format: int32
127
- * Example: 10
128
- */
129
- igFollowersCount?: number;
130
- /**
131
- * Twitter description of the identity. Applicable to Twitter channels only
132
- * Example: Software Engineer
133
- */
134
- twDescription?: string;
135
- /**
136
- * Twitter followers count of the identity. Applicable to Twitter channels only
137
- * Format: int32
138
- * Example: 10
139
- */
140
- twFollowersCount?: number;
141
- /**
142
- * Count of Twitter accounts followed by the identity. Applicable to Twitter channels only
143
- * Format: int32
144
- * Example: 500
145
- */
146
- twFollowingCount?: number;
147
- /**
148
- * Count of tweets of the identity. Applicable to Twitter channels only
149
- * Format: int32
150
- * Example: 42
151
- */
152
- twStatusesCount?: number;
153
- /**
154
- * Twitter location of the identity. Applicable to Twitter channels only
155
- * Example: Paris
156
- */
157
- twLocation?: string;
158
- /**
159
- * Viber API version of the identity. Applicable to Viber channels only
160
- * Example: 10
161
- */
162
- apiVersion?: string;
163
- /**
164
- * Viber country of the identity. Applicable to Viber channels only
165
- * Example: FR
166
- */
167
- country?: string;
168
- /**
169
- * Viber device type of the identity. Applicable to Viber channels only
170
- * Example: SM-G970U1
171
- */
172
- deviceType?: string;
173
- /**
174
- * Viber language of the identity. Applicable to Viber channels only
175
- * Example: fr-FR
176
- */
177
- language?: string;
178
- /**
179
- * Viber mobile country code of the identity. Applicable to Viber channels only
180
- * Example: 1
181
- */
182
- mcc?: string;
183
- /**
184
- * Viber mobile network code of the identity. Applicable to Viber channels only
185
- * Example: 220
186
- */
187
- mnc?: string;
188
- /**
189
- * Viber primary device OS of the identity. Applicable to Viber channels only
190
- * Example: Android 11
191
- */
192
- primaryDeviceOs?: string;
193
- /**
194
- * Viber application version of the identity. Applicable to Viber channels only
195
- * Example: 19.5.0
196
- */
197
- viberVersion?: string;
198
- }
199
- export default IdentityModel;
@@ -1 +0,0 @@
1
- {"version":3,"file":"IdentityModel.js","sourceRoot":"","sources":["../../src/definitions/IdentityModel.ts"],"names":[],"mappings":""}
@@ -1,68 +0,0 @@
1
- /**
2
- * Query parameters for operation listSocialMessagingContents
3
- */
4
- interface ListSocialMessagingContentsParameters {
5
- /**
6
- * Filter based on the specified intervention identifiers
7
- * Example: 7f946431b6eebffafae642cc,re946431b6eebffafae642cc
8
- */
9
- interventionIds?: string[];
10
- /**
11
- * Filter based on the specified identity identifiers
12
- * Example: 7f946431b6eebffafae642cc,re946431b6eebffafae642cc
13
- */
14
- authorIdentityIds?: string[];
15
- /**
16
- * Filter based on the specified identity group identifiers
17
- * Example: 7f946431b6eebffafae642cc,re946431b6eebffafae642cc
18
- */
19
- authorIdentityGroupIds?: string[];
20
- /**
21
- * Filter based on the specified channel identifiers
22
- * Example: 7f946431b6eebffafae642cc
23
- */
24
- channelIds?: string[];
25
- /**
26
- * Direction of the content.
27
- *
28
- * * Incoming contents are received from a channel.
29
- * * Outgoing contents are exported to a channel.
30
- * Example: Incoming
31
- */
32
- contentDirection?: 'Incoming' | 'Outgoing';
33
- /**
34
- * Filter based on the specified thread identifiers
35
- * Example: 7f946431b6eebffafae642cc
36
- */
37
- threadIds?: string[];
38
- /**
39
- * Filter based on the specified text(s). Provided multiple times, the values are ANDed
40
- */
41
- text?: string[];
42
- /**
43
- * Filter for specified status
44
- */
45
- status?: ('New' | 'Assigned' | 'Replied' | 'UserReply' | 'UserInitiated' | 'Ignored')[];
46
- /**
47
- * Ordering by creationTime and lastModifiedTime is descending by default.
48
- * Example: +creationTime
49
- * Default: -creationTime
50
- */
51
- orderBy?: '-creationTime' | '+creationTime' | 'creationTime' | '-lastModifiedTime' | '+lastModifiedTime' | 'lastModifiedTime';
52
- /**
53
- * The token indicating the particular page of the result set to be retrieved.
54
- * If omitted the first page will be returned.
55
- */
56
- pageToken?: string;
57
- /**
58
- * The number of items per page. If provided value in the request
59
- * is greater than a maximum, the maximum value is applied
60
- * Maximum: 1000
61
- * Minimum: 1
62
- * Format: int32
63
- * Example: 100
64
- * Default: 100
65
- */
66
- perPage?: number;
67
- }
68
- export default ListSocialMessagingContentsParameters;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=ListSocialMessagingContentsParameters.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ListSocialMessagingContentsParameters.js","sourceRoot":"","sources":["../../src/definitions/ListSocialMessagingContentsParameters.ts"],"names":[],"mappings":""}
@@ -1,47 +0,0 @@
1
- /**
2
- * Query parameters for operation listSocialMessagingIdentities
3
- */
4
- interface ListSocialMessagingIdentitiesParameters {
5
- /**
6
- * Filter based on the specified channelId.
7
- */
8
- channelId?: string;
9
- /**
10
- * Filter based on the specified `identityGroupIds` (separated by commas)
11
- */
12
- identityGroupIds?: string[];
13
- /**
14
- * Either Agent or Customer
15
- */
16
- identityType?: 'Agent' | 'Customer';
17
- /**
18
- * Filter based on the specified `userId`
19
- */
20
- userId?: string;
21
- /**
22
- * Filter based on the specified `uuid`
23
- */
24
- uuid?: string;
25
- /**
26
- * Ordering by creationTime and lastModifiedTime is descending by default.
27
- * Example: +creationTime
28
- * Default: -creationTime
29
- */
30
- orderBy?: '-creationTime' | '+creationTime' | 'creationTime' | '-lastModifiedTime' | '+lastModifiedTime' | 'lastModifiedTime';
31
- /**
32
- * The token indicating the particular page of the result set to be retrieved.
33
- * If omitted the first page will be returned.
34
- */
35
- pageToken?: string;
36
- /**
37
- * The number of items per page. If provided value in the request
38
- * is greater than a maximum, the maximum value is applied
39
- * Maximum: 1000
40
- * Minimum: 1
41
- * Format: int32
42
- * Example: 100
43
- * Default: 100
44
- */
45
- perPage?: number;
46
- }
47
- export default ListSocialMessagingIdentitiesParameters;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=ListSocialMessagingIdentitiesParameters.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ListSocialMessagingIdentitiesParameters.js","sourceRoot":"","sources":["../../src/definitions/ListSocialMessagingIdentitiesParameters.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=ServiceInfoPlan.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ServiceInfoPlan.js","sourceRoot":"","sources":["../../src/definitions/ServiceInfoPlan.ts"],"names":[],"mappings":""}
@@ -1,77 +0,0 @@
1
- interface SocMsgContentAttachment {
2
- /**
3
- * Type of attachment, which is generally a MIME attachment type like `image/jpeg`, etc.
4
- * Security level in RingCX determines what type of attachment is allowed.
5
- * Based on the security level the following attachment types are supported.
6
- *
7
- * *'Strict'* level allows safe extensions below:
8
- * Content name and supported types:
9
- *
10
- * - audio (AAC, MP3, OGG, M4A)
11
- * - image (BMP, GIF, JPG, JPEG, PNG, SVG, WEBP)
12
- * - pdf (PDF)
13
- * - text (CSV, TXT, LOG)
14
- * - video (AVI, FLV, M4V, MKV, MOV, MP4, MPG, QT, WMV)
15
- * - other (AMR, DMS, VCARD, TIF, TIFF, MPEG)
16
- *
17
- * *'Relaxed'* level allows documents:
18
- * Content name and supported types:
19
- *
20
- * - excel (XLS, XLSM, XLSX, XLC, XLT, XLTM, XLTX)
21
- * - presentation (KEY, ODP, OTP)
22
- * - powerpoint (PPS, PPT, PPTX, POT)
23
- * - spreadsheet (Numbers - ODS, OTS)
24
- * - word (DOC, DOCM, DOCX, DOTM, DOTX)
25
- * - word_processing (Pages - ODT, OTT, RTF)
26
- *
27
- * *'Permissive'* level allows all documents.
28
- *
29
- * However, there are no security level restrictions for content posted through the channel
30
- * Example: image/jpeg
31
- */
32
- contentType?: string;
33
- /**
34
- * Creation time of the resource.
35
- * Format: date-time
36
- * Example: 2023-02-04T12:43:07Z
37
- */
38
- creationTime?: string;
39
- /**
40
- * Specifies if attachment is embedded in content
41
- */
42
- embedded?: boolean;
43
- /**
44
- * Filename of attachment
45
- * Example: 0.jpeg
46
- */
47
- filename?: string;
48
- /**
49
- * Identifier of the attachment.
50
- * Example: 54085e5b7aa58d8b5d00006c
51
- */
52
- id?: string;
53
- /**
54
- * Attachment privacy setting
55
- * Default: true
56
- */
57
- public?: boolean;
58
- /**
59
- * Size of attachment
60
- * Format: int32
61
- * Example: 217571
62
- */
63
- size?: number;
64
- /**
65
- * The time when the last modification was completed.
66
- * Format: date-time
67
- * Example: 2023-02-04T12:43:07Z
68
- */
69
- lastModifiedTime?: string;
70
- /**
71
- * Attachment URI
72
- * Format: uri
73
- * Example: https://example.digital.ringcentral.com/files/attachments/54085e5b7aa58d8b5d00006c
74
- */
75
- uri?: string;
76
- }
77
- export default SocMsgContentAttachment;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=SocMsgContentAttachment.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SocMsgContentAttachment.js","sourceRoot":"","sources":["../../src/definitions/SocMsgContentAttachment.ts"],"names":[],"mappings":""}
@@ -1,65 +0,0 @@
1
- import type CreateSocialMessagingContentRequest from '../../../../../definitions/CreateSocialMessagingContentRequest';
2
- import type ListSocialMessagingContentsParameters from '../../../../../definitions/ListSocialMessagingContentsParameters';
3
- import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../../types';
4
- declare class Index {
5
- rc: RingCentralInterface;
6
- _parent: ParentInterface;
7
- contentId: string | null;
8
- constructor(_parent: ParentInterface, contentId?: string | null);
9
- path(withParameter?: boolean): string;
10
- /**
11
- * Returns a list of social messaging contents ordered by creation date. The default order is descending.
12
- *
13
- * The account context of this request is determined by the RC Account ID associated with
14
- * the access token provided in the Authorization header.
15
- *
16
- * The query parameters provided in request will be considered an AND operation to filter the list.
17
- *
18
- * A query parameter which is not specified or provided with the null value will be ignored.
19
- *
20
- * HTTP Method: get
21
- * Endpoint: /cx/social-messaging/v1/contents
22
- * Rate Limit Group: Light
23
- * App Permission: SocialMessaging
24
- */
25
- list(queryParams?: ListSocialMessagingContentsParameters, restRequestConfig?: RestRequestConfig): Promise<string>;
26
- /**
27
- * Creates the new social messaging content for use in discussions.
28
- *
29
- * This request is used to reply to an already posted content or to initiate a discussion. If authorized, the
30
- * authenticated user will be used as the content author.
31
- *
32
- * Content will be created and pushed asynchronously to the channel. When the content is successfully pushed to
33
- * the channel, the `Content.Exported` event will be reported.
34
- *
35
- * The account context of this request is determined by the RC Account ID associated with the access token provided
36
- * in the Authorization header.
37
- *
38
- * Replying to customer content is usually possible unless the channel or conversation is read only. Composing
39
- * content, on the contrary, depends on the channel itself.
40
- *
41
- * - The channel may not support it and be purely reactive like Instagram, Messenger, etc.
42
- *
43
- * - Some channels (usually public accounts, like Twitter or Facebook pages) allow content publishing
44
- * without targeting specific individuals.
45
- *
46
- * - Some channels (usually non-public media) require specific targeting (phone number for SMS, email address
47
- * for email, customer_id, etc.) to be able to create content. This is channel-specific and detailed under the
48
- * generic parameters.
49
- *
50
- * HTTP Method: post
51
- * Endpoint: /cx/social-messaging/v1/contents
52
- * Rate Limit Group: Light
53
- * App Permission: SocialMessaging
54
- */
55
- post(createSocialMessagingContentRequest: CreateSocialMessagingContentRequest, restRequestConfig?: RestRequestConfig): Promise<string>;
56
- /**
57
- * Returns the social messaging content by ID specified in path.
58
- * HTTP Method: get
59
- * Endpoint: /cx/social-messaging/v1/contents/{contentId}
60
- * Rate Limit Group: Light
61
- * App Permission: SocialMessaging
62
- */
63
- get(restRequestConfig?: RestRequestConfig): Promise<string>;
64
- }
65
- export default Index;
@@ -1,83 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- class Index {
4
- constructor(_parent, contentId = null) {
5
- this._parent = _parent;
6
- this.rc = _parent.rc;
7
- this.contentId = contentId;
8
- }
9
- path(withParameter = true) {
10
- if (withParameter && this.contentId !== null) {
11
- return `${this._parent.path()}/contents/${this.contentId}`;
12
- }
13
- return `${this._parent.path()}/contents`;
14
- }
15
- /**
16
- * Returns a list of social messaging contents ordered by creation date. The default order is descending.
17
- *
18
- * The account context of this request is determined by the RC Account ID associated with
19
- * the access token provided in the Authorization header.
20
- *
21
- * The query parameters provided in request will be considered an AND operation to filter the list.
22
- *
23
- * A query parameter which is not specified or provided with the null value will be ignored.
24
- *
25
- * HTTP Method: get
26
- * Endpoint: /cx/social-messaging/v1/contents
27
- * Rate Limit Group: Light
28
- * App Permission: SocialMessaging
29
- */
30
- async list(queryParams, restRequestConfig) {
31
- const r = await this.rc.get(this.path(false), queryParams, restRequestConfig);
32
- return r.data;
33
- }
34
- /**
35
- * Creates the new social messaging content for use in discussions.
36
- *
37
- * This request is used to reply to an already posted content or to initiate a discussion. If authorized, the
38
- * authenticated user will be used as the content author.
39
- *
40
- * Content will be created and pushed asynchronously to the channel. When the content is successfully pushed to
41
- * the channel, the `Content.Exported` event will be reported.
42
- *
43
- * The account context of this request is determined by the RC Account ID associated with the access token provided
44
- * in the Authorization header.
45
- *
46
- * Replying to customer content is usually possible unless the channel or conversation is read only. Composing
47
- * content, on the contrary, depends on the channel itself.
48
- *
49
- * - The channel may not support it and be purely reactive like Instagram, Messenger, etc.
50
- *
51
- * - Some channels (usually public accounts, like Twitter or Facebook pages) allow content publishing
52
- * without targeting specific individuals.
53
- *
54
- * - Some channels (usually non-public media) require specific targeting (phone number for SMS, email address
55
- * for email, customer_id, etc.) to be able to create content. This is channel-specific and detailed under the
56
- * generic parameters.
57
- *
58
- * HTTP Method: post
59
- * Endpoint: /cx/social-messaging/v1/contents
60
- * Rate Limit Group: Light
61
- * App Permission: SocialMessaging
62
- */
63
- async post(createSocialMessagingContentRequest, restRequestConfig) {
64
- const r = await this.rc.post(this.path(false), createSocialMessagingContentRequest, undefined, restRequestConfig);
65
- return r.data;
66
- }
67
- /**
68
- * Returns the social messaging content by ID specified in path.
69
- * HTTP Method: get
70
- * Endpoint: /cx/social-messaging/v1/contents/{contentId}
71
- * Rate Limit Group: Light
72
- * App Permission: SocialMessaging
73
- */
74
- async get(restRequestConfig) {
75
- if (this.contentId === null) {
76
- throw new Error('contentId must be specified.');
77
- }
78
- const r = await this.rc.get(this.path(), undefined, restRequestConfig);
79
- return r.data;
80
- }
81
- }
82
- exports.default = Index;
83
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Cx/SocialMessaging/V1/Contents/index.ts"],"names":[],"mappings":";;AAIA,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,aAAa,IAAI,CAAC,SAAS,EAAE,CAAC;QAC7D,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3C,CAAC;IACD;;;;;;;;;;;;;;OAcG;IACI,KAAK,CAAC,IAAI,CACf,WAAmD,EACnD,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAAS,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;QACtF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACI,KAAK,CAAC,IAAI,CACf,mCAAwE,EACxE,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAC1B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAChB,mCAAmC,EACnC,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,GAAG,CAAC,iBAAqC;QACpD,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,GAAG,CAAS,IAAI,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QAC/E,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
@@ -1,34 +0,0 @@
1
- import type ListSocialMessagingIdentitiesParameters from '../../../../../definitions/ListSocialMessagingIdentitiesParameters';
2
- import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../../types';
3
- declare class Index {
4
- rc: RingCentralInterface;
5
- _parent: ParentInterface;
6
- identityId: string | null;
7
- constructor(_parent: ParentInterface, identityId?: string | null);
8
- path(withParameter?: boolean): string;
9
- /**
10
- * Returns a list of identities ordered by creation date. The default order is descending.
11
- *
12
- * The account context of this request is determined by the RC Account ID associated with
13
- * the access token provided in the Authorization header.
14
- *
15
- * The query parameters provided will be considered an AND operation to filter the list.
16
- *
17
- * A query parameter which is not specified or provided with the null value will be ignored.
18
- *
19
- * HTTP Method: get
20
- * Endpoint: /cx/social-messaging/v1/identities
21
- * Rate Limit Group: Light
22
- * App Permission: SocialMessaging
23
- */
24
- list(queryParams?: ListSocialMessagingIdentitiesParameters, restRequestConfig?: RestRequestConfig): Promise<string>;
25
- /**
26
- * Returns an identity by ID specified in path.
27
- * HTTP Method: get
28
- * Endpoint: /cx/social-messaging/v1/identities/{identityId}
29
- * Rate Limit Group: Light
30
- * App Permission: SocialMessaging
31
- */
32
- get(restRequestConfig?: RestRequestConfig): Promise<string>;
33
- }
34
- export default Index;
@@ -1,50 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- class Index {
4
- constructor(_parent, identityId = null) {
5
- this._parent = _parent;
6
- this.rc = _parent.rc;
7
- this.identityId = identityId;
8
- }
9
- path(withParameter = true) {
10
- if (withParameter && this.identityId !== null) {
11
- return `${this._parent.path()}/identities/${this.identityId}`;
12
- }
13
- return `${this._parent.path()}/identities`;
14
- }
15
- /**
16
- * Returns a list of identities ordered by creation date. The default order is descending.
17
- *
18
- * The account context of this request is determined by the RC Account ID associated with
19
- * the access token provided in the Authorization header.
20
- *
21
- * The query parameters provided will be considered an AND operation to filter the list.
22
- *
23
- * A query parameter which is not specified or provided with the null value will be ignored.
24
- *
25
- * HTTP Method: get
26
- * Endpoint: /cx/social-messaging/v1/identities
27
- * Rate Limit Group: Light
28
- * App Permission: SocialMessaging
29
- */
30
- async list(queryParams, restRequestConfig) {
31
- const r = await this.rc.get(this.path(false), queryParams, restRequestConfig);
32
- return r.data;
33
- }
34
- /**
35
- * Returns an identity by ID specified in path.
36
- * HTTP Method: get
37
- * Endpoint: /cx/social-messaging/v1/identities/{identityId}
38
- * Rate Limit Group: Light
39
- * App Permission: SocialMessaging
40
- */
41
- async get(restRequestConfig) {
42
- if (this.identityId === null) {
43
- throw new Error('identityId must be specified.');
44
- }
45
- const r = await this.rc.get(this.path(), undefined, restRequestConfig);
46
- return r.data;
47
- }
48
- }
49
- exports.default = Index;
50
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Cx/SocialMessaging/V1/Identities/index.ts"],"names":[],"mappings":";;AAGA,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,eAAe,IAAI,CAAC,UAAU,EAAE,CAAC;QAChE,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,aAAa,CAAC;IAC7C,CAAC;IACD;;;;;;;;;;;;;;OAcG;IACI,KAAK,CAAC,IAAI,CACf,WAAqD,EACrD,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAAS,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;QACtF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,GAAG,CAAC,iBAAqC;QACpD,IAAI,IAAI,CAAC,UAAU,KAAK,IAAI,EAAE,CAAC;YAC7B,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;QACnD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAAS,IAAI,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QAC/E,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}