@rc-ex/core 1.4.0 → 1.4.1

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 (399) hide show
  1. package/lib/definitions/AccountInfo.d.ts +1 -6
  2. package/lib/definitions/AccountPhoneNumberInfo.d.ts +4 -2
  3. package/lib/definitions/AccountRegionalSettings.d.ts +2 -1
  4. package/lib/definitions/AccountServiceInfo.d.ts +2 -2
  5. package/lib/definitions/AccountServiceInfoRequest.d.ts +2 -2
  6. package/lib/definitions/AccountStatusInfo.d.ts +3 -1
  7. package/lib/definitions/AddPhoneNumberRequestItem.d.ts +4 -0
  8. package/lib/definitions/AddPhoneNumbersResponseItem.d.ts +4 -0
  9. package/lib/definitions/AssignPhoneNumberRequest.d.ts +2 -2
  10. package/lib/definitions/AssignedCountryInfo.d.ts +3 -1
  11. package/lib/definitions/AuthCodeTokenRequest.d.ts +1 -0
  12. package/lib/definitions/BatchListResponse.d.ts +2 -2
  13. package/lib/definitions/{PackageInfo.d.ts → BillingPackageInfo.d.ts} +2 -2
  14. package/lib/definitions/{AnsweringRuleInfo.js → BillingPackageInfo.js} +1 -1
  15. package/lib/definitions/BillingPackageInfo.js.map +1 -0
  16. package/lib/definitions/CallFlipNumberListResource.d.ts +8 -0
  17. package/lib/definitions/CallFlipNumberListResource.js +3 -0
  18. package/lib/definitions/CallFlipNumberListResource.js.map +1 -0
  19. package/lib/definitions/CallFlipNumberResource.d.ts +28 -0
  20. package/lib/definitions/CallFlipNumberResource.js +3 -0
  21. package/lib/definitions/CallFlipNumberResource.js.map +1 -0
  22. package/lib/definitions/{AnsweringRuleInfo.d.ts → CallHandlingRuleInfo.d.ts} +2 -2
  23. package/lib/definitions/{CreateContentRequest.js → CallHandlingRuleInfo.js} +1 -1
  24. package/lib/definitions/CallHandlingRuleInfo.js.map +1 -0
  25. package/lib/definitions/CallParty.d.ts +5 -0
  26. package/lib/definitions/CallQueueDetails.d.ts +5 -1
  27. package/lib/definitions/CallQueueDetailsForUpdate.d.ts +36 -0
  28. package/lib/definitions/CallQueueDetailsForUpdate.js +3 -0
  29. package/lib/definitions/CallQueueDetailsForUpdate.js.map +1 -0
  30. package/lib/definitions/CallQueueInfo.d.ts +5 -1
  31. package/lib/definitions/{CallQueues.d.ts → CallQueueList.d.ts} +2 -2
  32. package/lib/definitions/{SiteResource.js → CallQueueList.js} +1 -1
  33. package/lib/definitions/CallQueueList.js.map +1 -0
  34. package/lib/definitions/CallQueueMember.d.ts +2 -2
  35. package/lib/definitions/{GreetingResource.d.ts → CallRecordingGreetingResource.d.ts} +2 -2
  36. package/lib/definitions/CallRecordingGreetingResource.js +3 -0
  37. package/lib/definitions/CallRecordingGreetingResource.js.map +1 -0
  38. package/lib/definitions/CallRecordingSettingsResource.d.ts +2 -2
  39. package/lib/definitions/ClientCredentialsBase.d.ts +4 -1
  40. package/lib/definitions/ClientCredentialsByAccount.d.ts +4 -1
  41. package/lib/definitions/ClientCredentialsByBrand.d.ts +4 -1
  42. package/lib/definitions/ClientCredentialsByPartnerAccount.d.ts +4 -1
  43. package/lib/definitions/ClientCredentialsTokenRequest.d.ts +4 -1
  44. package/lib/definitions/CommonEmergencyLocationAddressInfo.d.ts +2 -1
  45. package/lib/definitions/CommonEmergencyLocationAddressInfoAu.d.ts +2 -1
  46. package/lib/definitions/CommonEmergencyLocationAddressInfoDefault.d.ts +2 -1
  47. package/lib/definitions/CommonEmergencyLocationAddressInfoFr.d.ts +2 -1
  48. package/lib/definitions/CompanyPhoneNumberInfo.d.ts +10 -6
  49. package/lib/definitions/ContentBodyFormatted.d.ts +1 -1
  50. package/lib/definitions/ContentContextData.d.ts +1 -2
  51. package/lib/definitions/ContentModel.d.ts +66 -71
  52. package/lib/definitions/CostCenterBase.d.ts +19 -0
  53. package/lib/definitions/{PagingResource.js → CostCenterBase.js} +1 -1
  54. package/lib/definitions/CostCenterBase.js.map +1 -0
  55. package/lib/definitions/CostCenterItem.d.ts +30 -0
  56. package/lib/definitions/CostCenterItem.js +3 -0
  57. package/lib/definitions/CostCenterItem.js.map +1 -0
  58. package/lib/definitions/CostCenterList.d.ts +8 -0
  59. package/lib/definitions/CostCenterList.js +3 -0
  60. package/lib/definitions/CostCenterList.js.map +1 -0
  61. package/lib/definitions/CountryInfoDictionaryModel.d.ts +5 -5
  62. package/lib/definitions/CountryInfoShortModel.d.ts +5 -6
  63. package/lib/definitions/CreateFaxMessageRequest.d.ts +1 -1
  64. package/lib/definitions/CreateSiteRequest.d.ts +7 -0
  65. package/lib/definitions/CreateSocialMessagingContentRequest.d.ts +110 -0
  66. package/lib/definitions/CreateSocialMessagingContentRequest.js +3 -0
  67. package/lib/definitions/CreateSocialMessagingContentRequest.js.map +1 -0
  68. package/lib/definitions/CreateUserEmergencyLocationRequest.d.ts +2 -1
  69. package/lib/definitions/CustomCompanyGreetingInfo.d.ts +1 -1
  70. package/lib/definitions/DeletePhoneNumbersRequestItem.d.ts +1 -1
  71. package/lib/definitions/DeviceCodeTokenRequest.d.ts +1 -0
  72. package/lib/definitions/DeviceEmergencyServiceAddressResourceAu.d.ts +2 -1
  73. package/lib/definitions/DeviceEmergencyServiceAddressResourceDefault.d.ts +2 -1
  74. package/lib/definitions/DeviceEmergencyServiceAddressResourceFr.d.ts +2 -1
  75. package/lib/definitions/DeviceResource.d.ts +2 -1
  76. package/lib/definitions/EmailRecipientInfo.d.ts +2 -2
  77. package/lib/definitions/EmergencyAddressInfo.d.ts +2 -1
  78. package/lib/definitions/EmergencyLocationRequestResource.d.ts +2 -1
  79. package/lib/definitions/EmergencyLocationResponseResource.d.ts +2 -1
  80. package/lib/definitions/EmergencyServiceAddressResource.d.ts +2 -1
  81. package/lib/definitions/ExtensionBulkUpdateInfo.d.ts +2 -1
  82. package/lib/definitions/ExtensionBulkUpdateTaskResult.d.ts +3 -3
  83. package/lib/definitions/ExtensionBulkUpdateTaskResultAffectedItems.d.ts +7 -0
  84. package/lib/definitions/ExtensionBulkUpdateTaskResultAffectedItems.js +3 -0
  85. package/lib/definitions/ExtensionBulkUpdateTaskResultAffectedItems.js.map +1 -0
  86. package/lib/definitions/ExtensionCreationRequest.d.ts +2 -2
  87. package/lib/definitions/ExtensionCreationResponse.d.ts +1 -3
  88. package/lib/definitions/ExtensionRegionalSettingRequest.d.ts +1 -1
  89. package/lib/definitions/ExtensionStatusInfo.d.ts +2 -9
  90. package/lib/definitions/ExtensionUpdateRequest.d.ts +2 -1
  91. package/lib/definitions/GetAccountInfoResponse.d.ts +2 -2
  92. package/lib/definitions/GetCountryInfoNumberParser.d.ts +5 -4
  93. package/lib/definitions/GetExtensionInfoResponse.d.ts +11 -3
  94. package/lib/definitions/GetExtensionListInfoResponse.d.ts +8 -4
  95. package/lib/definitions/GetMessageInfoResponse.d.ts +0 -4
  96. package/lib/definitions/GetSMSMessageInfoResponse.d.ts +0 -4
  97. package/lib/definitions/GetTokenRequest.d.ts +5 -1
  98. package/lib/definitions/GuestTokenRequest.d.ts +6 -1
  99. package/lib/definitions/IdentityModel.d.ts +5 -1
  100. package/lib/definitions/IvrPinTokenRequest.d.ts +1 -0
  101. package/lib/definitions/JwtTokenRequest.d.ts +1 -0
  102. package/lib/definitions/LanguageInfo.d.ts +2 -1
  103. package/lib/definitions/ListAccountPhoneNumbersParameters.d.ts +4 -2
  104. package/lib/definitions/ListAccountPhoneNumbersV2Parameters.d.ts +3 -1
  105. package/lib/definitions/ListCallMonitoringGroupsParameters.d.ts +4 -0
  106. package/lib/definitions/ListDirectoryEntriesParameters.d.ts +5 -0
  107. package/lib/definitions/ListEmergencyLocationsParameters.d.ts +1 -0
  108. package/lib/definitions/ListExtensionPhoneNumbersParameters.d.ts +4 -2
  109. package/lib/definitions/ListExtensionsParameters.d.ts +2 -2
  110. package/lib/definitions/ListMeetingRecordingsResponse.d.ts +4 -4
  111. package/lib/definitions/{SocMsgListContentsParameters.d.ts → ListSocialMessagingContentsParameters.d.ts} +25 -17
  112. package/lib/definitions/ListSocialMessagingContentsParameters.js +3 -0
  113. package/lib/definitions/ListSocialMessagingContentsParameters.js.map +1 -0
  114. package/lib/definitions/ListSocialMessagingIdentitiesParameters.d.ts +8 -4
  115. package/lib/definitions/LocationUpdatesEmergencyAddressInfoRequest.d.ts +2 -1
  116. package/lib/definitions/MeetingsCountryResource.d.ts +6 -0
  117. package/lib/definitions/MeetingsResource.d.ts +4 -4
  118. package/lib/definitions/MessageListResponse.d.ts +2 -2
  119. package/lib/definitions/MessageTemplateInfo.d.ts +11 -0
  120. package/lib/definitions/{ContentAttachment.js → MessageTemplateInfo.js} +1 -1
  121. package/lib/definitions/MessageTemplateInfo.js.map +1 -0
  122. package/lib/definitions/MessageTemplateRequest.d.ts +2 -2
  123. package/lib/definitions/MessageTemplateResponse.d.ts +2 -2
  124. package/lib/definitions/MessageTemplateUpdateRequest.d.ts +2 -2
  125. package/lib/definitions/MetaData.d.ts +12 -0
  126. package/lib/definitions/{CallQueues.js → MetaData.js} +1 -1
  127. package/lib/definitions/MetaData.js.map +1 -0
  128. package/lib/definitions/MetaDataValues.d.ts +11 -0
  129. package/lib/definitions/MetaDataValues.js +3 -0
  130. package/lib/definitions/MetaDataValues.js.map +1 -0
  131. package/lib/definitions/MissedCallExtensionInfoExternalNumber.d.ts +1 -1
  132. package/lib/definitions/OptOutListResponse.d.ts +2 -2
  133. package/lib/definitions/OtpTokenRequest.d.ts +4 -1
  134. package/lib/definitions/PhoneNumberInfoIntId.d.ts +2 -2
  135. package/lib/definitions/ReadDirectoryEntryParameters.d.ts +11 -0
  136. package/lib/definitions/ReadDirectoryEntryParameters.js +3 -0
  137. package/lib/definitions/ReadDirectoryEntryParameters.js.map +1 -0
  138. package/lib/definitions/RefreshTokenRequest.d.ts +1 -0
  139. package/lib/definitions/RegSessionModel.d.ts +6 -0
  140. package/lib/definitions/RegSessionModelSettings.d.ts +9 -0
  141. package/lib/definitions/RegionalSettings.d.ts +2 -1
  142. package/lib/definitions/RolesCountryResource.d.ts +6 -0
  143. package/lib/definitions/RolesRegionalSettingsResource.d.ts +2 -0
  144. package/lib/definitions/RopcTokenRequest.d.ts +1 -0
  145. package/lib/definitions/SearchDirectoryEntriesParameters.d.ts +5 -0
  146. package/lib/definitions/ServiceInfoContractedCountryId.d.ts +7 -0
  147. package/lib/definitions/ServiceInfoContractedCountryId.js +3 -0
  148. package/lib/definitions/ServiceInfoContractedCountryId.js.map +1 -0
  149. package/lib/definitions/ServiceInfoPlan.d.ts +0 -4
  150. package/lib/definitions/ServiceInfoUBrand.d.ts +0 -5
  151. package/lib/definitions/ServiceInfoV2.d.ts +5 -2
  152. package/lib/definitions/SipRegistrationDeviceEmergencyInfoAddress.d.ts +2 -1
  153. package/lib/definitions/SiteInfo.d.ts +4 -0
  154. package/lib/definitions/SiteUpdateRequest.d.ts +7 -0
  155. package/lib/definitions/SmsRequestCountryInfo.d.ts +2 -1
  156. package/lib/definitions/SocMsgContentAttachment.d.ts +77 -0
  157. package/lib/definitions/SocMsgContentAttachment.js +3 -0
  158. package/lib/definitions/SocMsgContentAttachment.js.map +1 -0
  159. package/lib/definitions/TMCreateTaskRequest.d.ts +2 -2
  160. package/lib/definitions/TaxLocation.d.ts +38 -0
  161. package/lib/definitions/{PackageInfo.js → TaxLocation.js} +1 -1
  162. package/lib/definitions/TaxLocation.js.map +1 -0
  163. package/lib/definitions/TemplateInfo.d.ts +24 -6
  164. package/lib/definitions/UnconditionalForwardingInfo.d.ts +2 -2
  165. package/lib/definitions/UserAnsweringRuleList.d.ts +2 -2
  166. package/lib/definitions/UserPhoneNumberInfo.d.ts +4 -4
  167. package/lib/definitions/UserTransitionInfo.d.ts +2 -2
  168. package/lib/paths/Cx/SocialMessaging/V1/Contents/index.d.ts +17 -19
  169. package/lib/paths/Cx/SocialMessaging/V1/Contents/index.js +15 -17
  170. package/lib/paths/Cx/SocialMessaging/V1/Contents/index.js.map +1 -1
  171. package/lib/paths/Cx/SocialMessaging/V1/Identities/index.d.ts +1 -1
  172. package/lib/paths/Cx/SocialMessaging/V1/Identities/index.js +1 -1
  173. package/lib/paths/Restapi/Account/CallQueues/index.d.ts +4 -3
  174. package/lib/paths/Restapi/Account/CallQueues/index.js +2 -2
  175. package/lib/paths/Restapi/Account/CallQueues/index.js.map +1 -1
  176. package/lib/paths/Restapi/Account/Directory/Entries/index.d.ts +2 -1
  177. package/lib/paths/Restapi/Account/Directory/Entries/index.js +2 -2
  178. package/lib/paths/Restapi/Account/Directory/Entries/index.js.map +1 -1
  179. package/lib/paths/Restapi/Account/Extension/AnsweringRule/index.d.ts +3 -3
  180. package/lib/paths/Restapi/Account/Extension/AnsweringRule/index.js.map +1 -1
  181. package/lib/paths/Restapi/Account/IvrPrompts/Content/index.d.ts +3 -0
  182. package/lib/paths/Restapi/Account/IvrPrompts/Content/index.js +3 -0
  183. package/lib/paths/Restapi/Account/IvrPrompts/Content/index.js.map +1 -1
  184. package/lib/paths/Restapi/V2/Accounts/CostCenters/index.d.ts +18 -0
  185. package/lib/paths/Restapi/V2/Accounts/CostCenters/index.js +25 -0
  186. package/lib/paths/Restapi/V2/Accounts/CostCenters/index.js.map +1 -0
  187. package/lib/paths/Restapi/V2/Accounts/Extensions/CallFlipNumbers/index.d.ts +45 -0
  188. package/lib/paths/Restapi/V2/Accounts/Extensions/CallFlipNumbers/index.js +55 -0
  189. package/lib/paths/Restapi/V2/Accounts/Extensions/CallFlipNumbers/index.js.map +1 -0
  190. package/lib/paths/Restapi/V2/Accounts/Extensions/index.d.ts +2 -0
  191. package/lib/paths/Restapi/V2/Accounts/Extensions/index.js +4 -0
  192. package/lib/paths/Restapi/V2/Accounts/Extensions/index.js.map +1 -1
  193. package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/BulkAdd/index.d.ts +1 -1
  194. package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/BulkAdd/index.js +1 -1
  195. package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/Replace/index.d.ts +1 -1
  196. package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/Replace/index.js +1 -1
  197. package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/index.d.ts +6 -6
  198. package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/index.js +6 -6
  199. package/lib/paths/Restapi/V2/Accounts/index.d.ts +2 -0
  200. package/lib/paths/Restapi/V2/Accounts/index.js +4 -0
  201. package/lib/paths/Restapi/V2/Accounts/index.js.map +1 -1
  202. package/lib/paths/TeamMessaging/V1/Chats/Posts/index.d.ts +5 -1
  203. package/lib/paths/TeamMessaging/V1/Chats/Posts/index.js +5 -1
  204. package/lib/paths/TeamMessaging/V1/Chats/Posts/index.js.map +1 -1
  205. package/package.json +5 -5
  206. package/src/definitions/AccountInfo.ts +1 -7
  207. package/src/definitions/AccountPhoneNumberInfo.ts +4 -2
  208. package/src/definitions/AccountRegionalSettings.ts +2 -1
  209. package/src/definitions/AccountServiceInfo.ts +2 -2
  210. package/src/definitions/AccountServiceInfoRequest.ts +2 -2
  211. package/src/definitions/AccountStatusInfo.ts +3 -1
  212. package/src/definitions/AddPhoneNumberRequestItem.ts +5 -0
  213. package/src/definitions/AddPhoneNumbersResponseItem.ts +5 -0
  214. package/src/definitions/AssignPhoneNumberRequest.ts +2 -2
  215. package/src/definitions/AssignedCountryInfo.ts +3 -1
  216. package/src/definitions/AuthCodeTokenRequest.ts +1 -0
  217. package/src/definitions/BatchListResponse.ts +2 -2
  218. package/src/definitions/{PackageInfo.ts → BillingPackageInfo.ts} +2 -2
  219. package/src/definitions/CallFlipNumberListResource.ts +10 -0
  220. package/src/definitions/CallFlipNumberResource.ts +33 -0
  221. package/src/definitions/{AnsweringRuleInfo.ts → CallHandlingRuleInfo.ts} +2 -2
  222. package/src/definitions/CallParty.ts +6 -0
  223. package/src/definitions/CallQueueDetails.ts +6 -1
  224. package/src/definitions/CallQueueDetailsForUpdate.ts +45 -0
  225. package/src/definitions/CallQueueInfo.ts +7 -1
  226. package/src/definitions/{CallQueues.ts → CallQueueList.ts} +2 -2
  227. package/src/definitions/CallQueueMember.ts +2 -2
  228. package/src/definitions/{GreetingResource.ts → CallRecordingGreetingResource.ts} +2 -2
  229. package/src/definitions/CallRecordingSettingsResource.ts +2 -2
  230. package/src/definitions/ClientCredentialsBase.ts +4 -1
  231. package/src/definitions/ClientCredentialsByAccount.ts +4 -1
  232. package/src/definitions/ClientCredentialsByBrand.ts +4 -1
  233. package/src/definitions/ClientCredentialsByPartnerAccount.ts +4 -1
  234. package/src/definitions/ClientCredentialsTokenRequest.ts +4 -1
  235. package/src/definitions/CommonEmergencyLocationAddressInfo.ts +2 -1
  236. package/src/definitions/CommonEmergencyLocationAddressInfoAu.ts +2 -1
  237. package/src/definitions/CommonEmergencyLocationAddressInfoDefault.ts +2 -1
  238. package/src/definitions/CommonEmergencyLocationAddressInfoFr.ts +2 -1
  239. package/src/definitions/CompanyPhoneNumberInfo.ts +11 -6
  240. package/src/definitions/ContentBodyFormatted.ts +1 -1
  241. package/src/definitions/ContentContextData.ts +1 -2
  242. package/src/definitions/ContentModel.ts +68 -72
  243. package/src/definitions/CostCenterBase.ts +22 -0
  244. package/src/definitions/CostCenterItem.ts +36 -0
  245. package/src/definitions/CostCenterList.ts +10 -0
  246. package/src/definitions/CountryInfoDictionaryModel.ts +5 -5
  247. package/src/definitions/CountryInfoShortModel.ts +5 -6
  248. package/src/definitions/CreateFaxMessageRequest.ts +1 -1
  249. package/src/definitions/CreateSiteRequest.ts +9 -0
  250. package/src/definitions/CreateSocialMessagingContentRequest.ts +126 -0
  251. package/src/definitions/CreateUserEmergencyLocationRequest.ts +2 -1
  252. package/src/definitions/CustomCompanyGreetingInfo.ts +1 -1
  253. package/src/definitions/DeletePhoneNumbersRequestItem.ts +1 -1
  254. package/src/definitions/DeviceCodeTokenRequest.ts +1 -0
  255. package/src/definitions/DeviceEmergencyServiceAddressResourceAu.ts +2 -1
  256. package/src/definitions/DeviceEmergencyServiceAddressResourceDefault.ts +2 -1
  257. package/src/definitions/DeviceEmergencyServiceAddressResourceFr.ts +2 -1
  258. package/src/definitions/DeviceResource.ts +2 -1
  259. package/src/definitions/EmailRecipientInfo.ts +2 -2
  260. package/src/definitions/EmergencyAddressInfo.ts +2 -1
  261. package/src/definitions/EmergencyLocationRequestResource.ts +2 -1
  262. package/src/definitions/EmergencyLocationResponseResource.ts +2 -1
  263. package/src/definitions/EmergencyServiceAddressResource.ts +2 -1
  264. package/src/definitions/ExtensionBulkUpdateInfo.ts +2 -1
  265. package/src/definitions/ExtensionBulkUpdateTaskResult.ts +3 -3
  266. package/src/definitions/ExtensionBulkUpdateTaskResultAffectedItems.ts +9 -0
  267. package/src/definitions/ExtensionCreationRequest.ts +2 -2
  268. package/src/definitions/ExtensionCreationResponse.ts +1 -3
  269. package/src/definitions/ExtensionRegionalSettingRequest.ts +1 -1
  270. package/src/definitions/ExtensionStatusInfo.ts +2 -10
  271. package/src/definitions/ExtensionUpdateRequest.ts +2 -1
  272. package/src/definitions/GetAccountInfoResponse.ts +2 -2
  273. package/src/definitions/GetCountryInfoNumberParser.ts +5 -4
  274. package/src/definitions/GetExtensionInfoResponse.ts +13 -3
  275. package/src/definitions/GetExtensionListInfoResponse.ts +9 -4
  276. package/src/definitions/GetMessageInfoResponse.ts +0 -5
  277. package/src/definitions/GetSMSMessageInfoResponse.ts +0 -5
  278. package/src/definitions/GetTokenRequest.ts +5 -1
  279. package/src/definitions/GuestTokenRequest.ts +6 -1
  280. package/src/definitions/IdentityModel.ts +5 -1
  281. package/src/definitions/IvrPinTokenRequest.ts +1 -0
  282. package/src/definitions/JwtTokenRequest.ts +1 -0
  283. package/src/definitions/LanguageInfo.ts +2 -1
  284. package/src/definitions/ListAccountPhoneNumbersParameters.ts +4 -2
  285. package/src/definitions/ListAccountPhoneNumbersV2Parameters.ts +3 -1
  286. package/src/definitions/ListCallMonitoringGroupsParameters.ts +5 -0
  287. package/src/definitions/ListDirectoryEntriesParameters.ts +6 -0
  288. package/src/definitions/ListEmergencyLocationsParameters.ts +1 -0
  289. package/src/definitions/ListExtensionPhoneNumbersParameters.ts +4 -2
  290. package/src/definitions/ListExtensionsParameters.ts +2 -2
  291. package/src/definitions/ListMeetingRecordingsResponse.ts +4 -4
  292. package/src/definitions/ListSocialMessagingContentsParameters.ts +85 -0
  293. package/src/definitions/ListSocialMessagingIdentitiesParameters.ts +15 -4
  294. package/src/definitions/LocationUpdatesEmergencyAddressInfoRequest.ts +2 -1
  295. package/src/definitions/MeetingsCountryResource.ts +6 -0
  296. package/src/definitions/MeetingsResource.ts +4 -4
  297. package/src/definitions/MessageListResponse.ts +2 -2
  298. package/src/definitions/MessageTemplateInfo.ts +12 -0
  299. package/src/definitions/MessageTemplateRequest.ts +2 -2
  300. package/src/definitions/MessageTemplateResponse.ts +2 -2
  301. package/src/definitions/MessageTemplateUpdateRequest.ts +2 -2
  302. package/src/definitions/MetaData.ts +14 -0
  303. package/src/definitions/MetaDataValues.ts +13 -0
  304. package/src/definitions/MissedCallExtensionInfoExternalNumber.ts +1 -1
  305. package/src/definitions/OptOutListResponse.ts +2 -2
  306. package/src/definitions/OtpTokenRequest.ts +4 -1
  307. package/src/definitions/PhoneNumberInfoIntId.ts +2 -2
  308. package/src/definitions/ReadDirectoryEntryParameters.ts +12 -0
  309. package/src/definitions/RefreshTokenRequest.ts +1 -0
  310. package/src/definitions/RegSessionModel.ts +7 -0
  311. package/src/definitions/RegSessionModelSettings.ts +11 -0
  312. package/src/definitions/RegionalSettings.ts +2 -1
  313. package/src/definitions/RolesCountryResource.ts +6 -0
  314. package/src/definitions/RolesRegionalSettingsResource.ts +2 -0
  315. package/src/definitions/RopcTokenRequest.ts +1 -0
  316. package/src/definitions/SearchDirectoryEntriesParameters.ts +6 -0
  317. package/src/definitions/ServiceInfoContractedCountryId.ts +8 -0
  318. package/src/definitions/ServiceInfoPlan.ts +0 -5
  319. package/src/definitions/ServiceInfoUBrand.ts +0 -6
  320. package/src/definitions/ServiceInfoV2.ts +6 -2
  321. package/src/definitions/SipRegistrationDeviceEmergencyInfoAddress.ts +2 -1
  322. package/src/definitions/SiteInfo.ts +5 -0
  323. package/src/definitions/SiteUpdateRequest.ts +9 -0
  324. package/src/definitions/SmsRequestCountryInfo.ts +2 -1
  325. package/src/definitions/SocMsgContentAttachment.ts +86 -0
  326. package/src/definitions/TMCreateTaskRequest.ts +2 -2
  327. package/src/definitions/TaxLocation.ts +45 -0
  328. package/src/definitions/TemplateInfo.ts +29 -6
  329. package/src/definitions/UnconditionalForwardingInfo.ts +2 -2
  330. package/src/definitions/UserAnsweringRuleList.ts +2 -2
  331. package/src/definitions/UserPhoneNumberInfo.ts +4 -4
  332. package/src/definitions/UserTransitionInfo.ts +2 -2
  333. package/src/paths/Cx/SocialMessaging/V1/Contents/index.ts +23 -20
  334. package/src/paths/Cx/SocialMessaging/V1/Identities/index.ts +1 -1
  335. package/src/paths/Restapi/Account/CallQueues/index.ts +6 -5
  336. package/src/paths/Restapi/Account/Directory/Entries/index.ts +6 -2
  337. package/src/paths/Restapi/Account/Extension/AnsweringRule/index.ts +5 -5
  338. package/src/paths/Restapi/Account/IvrPrompts/Content/index.ts +3 -0
  339. package/src/paths/Restapi/V2/Accounts/CostCenters/index.ts +28 -0
  340. package/src/paths/Restapi/V2/Accounts/Extensions/CallFlipNumbers/index.ts +67 -0
  341. package/src/paths/Restapi/V2/Accounts/Extensions/index.ts +5 -0
  342. package/src/paths/Restapi/V2/Accounts/PhoneNumbers/BulkAdd/index.ts +1 -1
  343. package/src/paths/Restapi/V2/Accounts/PhoneNumbers/Replace/index.ts +1 -1
  344. package/src/paths/Restapi/V2/Accounts/PhoneNumbers/index.ts +6 -6
  345. package/src/paths/Restapi/V2/Accounts/index.ts +5 -0
  346. package/src/paths/TeamMessaging/V1/Chats/Posts/index.ts +5 -1
  347. package/src/samples.md +192 -110
  348. package/lib/definitions/AnsweringRuleInfo.js.map +0 -1
  349. package/lib/definitions/CallQueues.js.map +0 -1
  350. package/lib/definitions/ContentAttachment.d.ts +0 -76
  351. package/lib/definitions/ContentAttachment.js.map +0 -1
  352. package/lib/definitions/CreateContentRequest.d.ts +0 -131
  353. package/lib/definitions/CreateContentRequest.js.map +0 -1
  354. package/lib/definitions/EmergencyLocationInfoRequest.d.ts +0 -38
  355. package/lib/definitions/EmergencyLocationInfoRequest.js +0 -3
  356. package/lib/definitions/EmergencyLocationInfoRequest.js.map +0 -1
  357. package/lib/definitions/GreetingResource.js +0 -3
  358. package/lib/definitions/GreetingResource.js.map +0 -1
  359. package/lib/definitions/MeetingRecordingsNavigationInfo.d.ts +0 -16
  360. package/lib/definitions/MeetingRecordingsNavigationInfo.js +0 -3
  361. package/lib/definitions/MeetingRecordingsNavigationInfo.js.map +0 -1
  362. package/lib/definitions/MeetingRecordingsNavigationInfoUri.d.ts +0 -10
  363. package/lib/definitions/MeetingRecordingsNavigationInfoUri.js +0 -3
  364. package/lib/definitions/MeetingRecordingsNavigationInfoUri.js.map +0 -1
  365. package/lib/definitions/MeetingRecordingsPagingInfo.d.ts +0 -33
  366. package/lib/definitions/MeetingRecordingsPagingInfo.js +0 -3
  367. package/lib/definitions/MeetingRecordingsPagingInfo.js.map +0 -1
  368. package/lib/definitions/MeetingsNavigationInfo.d.ts +0 -16
  369. package/lib/definitions/MeetingsNavigationInfo.js +0 -3
  370. package/lib/definitions/MeetingsNavigationInfo.js.map +0 -1
  371. package/lib/definitions/MeetingsNavigationInfoUri.d.ts +0 -7
  372. package/lib/definitions/MeetingsNavigationInfoUri.js +0 -3
  373. package/lib/definitions/MeetingsNavigationInfoUri.js.map +0 -1
  374. package/lib/definitions/MeetingsPagingInfo.d.ts +0 -27
  375. package/lib/definitions/MeetingsPagingInfo.js +0 -3
  376. package/lib/definitions/MeetingsPagingInfo.js.map +0 -1
  377. package/lib/definitions/PackageInfo.js.map +0 -1
  378. package/lib/definitions/PagingResource.d.ts +0 -32
  379. package/lib/definitions/PagingResource.js.map +0 -1
  380. package/lib/definitions/ServiceInfoCountryShortModel.d.ts +0 -29
  381. package/lib/definitions/ServiceInfoCountryShortModel.js +0 -3
  382. package/lib/definitions/ServiceInfoCountryShortModel.js.map +0 -1
  383. package/lib/definitions/SiteResource.d.ts +0 -14
  384. package/lib/definitions/SiteResource.js.map +0 -1
  385. package/lib/definitions/SocMsgListContentsParameters.js +0 -3
  386. package/lib/definitions/SocMsgListContentsParameters.js.map +0 -1
  387. package/src/definitions/ContentAttachment.ts +0 -85
  388. package/src/definitions/CreateContentRequest.ts +0 -147
  389. package/src/definitions/EmergencyLocationInfoRequest.ts +0 -47
  390. package/src/definitions/MeetingRecordingsNavigationInfo.ts +0 -21
  391. package/src/definitions/MeetingRecordingsNavigationInfoUri.ts +0 -11
  392. package/src/definitions/MeetingRecordingsPagingInfo.ts +0 -39
  393. package/src/definitions/MeetingsNavigationInfo.ts +0 -21
  394. package/src/definitions/MeetingsNavigationInfoUri.ts +0 -8
  395. package/src/definitions/MeetingsPagingInfo.ts +0 -33
  396. package/src/definitions/PagingResource.ts +0 -37
  397. package/src/definitions/ServiceInfoCountryShortModel.ts +0 -34
  398. package/src/definitions/SiteResource.ts +0 -16
  399. package/src/definitions/SocMsgListContentsParameters.ts +0 -70
@@ -37,7 +37,11 @@ class Index {
37
37
  }
38
38
 
39
39
  /**
40
- * Creates a post in the chat specified in path. Any mention can be added within the `text` attribute of the request body in .md format - `![:Type](id)`, where `type` is one of (Person, Team, File, Note, Task, Event, Link, Card) and `id` is a unique identifier of the mentioned object of the specified type. Attachments of the following types (File, Card, Event, Note) can also be added to a post by passing type and ID of attachment(s) in request body.
40
+ * Creates a post in the chat specified in path. Any mention can be added within the `text` attribute of
41
+ * the request body in .md format - `![:Type](id)`, where `type` is one of (Person, Team, File, Note,
42
+ * Task, Event, Link, Card) and `id` is a unique identifier of the mentioned object of the specified type.
43
+ * Attachments can also be added to a post by passing the type and ID of attachment(s) in request body.
44
+ *
41
45
  * HTTP Method: post
42
46
  * Endpoint: /team-messaging/v1/chats/{chatId}/posts
43
47
  * Rate Limit Group: Medium
package/src/samples.md CHANGED
@@ -384,7 +384,7 @@ await rc.revoke();
384
384
  - `getTokenRequest` is of type [GetTokenRequest](./definitions/GetTokenRequest.ts)
385
385
  - `result` is of type [TokenInfo](./definitions/TokenInfo.ts)
386
386
 
387
- [Try it out](https://developer.ringcentral.com/api-reference#OAuth-2.0-/-OpenID-Connect-getToken) in API Explorer.
387
+ [Try it out](https://developer.ringcentral.com/api-reference#OAuth-and-OpenID-Connect-getToken) in API Explorer.
388
388
 
389
389
  ## scimListResourceTypes2
390
390
 
@@ -575,7 +575,7 @@ await rc.revoke();
575
575
  - `revokeTokenParameters` is of type [RevokeTokenParameters](./definitions/RevokeTokenParameters.ts)
576
576
  - `result` is an empty string
577
577
 
578
- [Try it out](https://developer.ringcentral.com/api-reference#OAuth-2.0-/-OpenID-Connect-revokeToken) in API Explorer.
578
+ [Try it out](https://developer.ringcentral.com/api-reference#OAuth-and-OpenID-Connect-revokeToken) in API Explorer.
579
579
 
580
580
  ## readDevice
581
581
 
@@ -930,7 +930,7 @@ await rc.revoke();
930
930
  - `authorizeParameters` is of type [AuthorizeParameters](./definitions/AuthorizeParameters.ts)
931
931
  - `result` is an empty string
932
932
 
933
- [Try it out](https://developer.ringcentral.com/api-reference#OAuth-2.0-/-OpenID-Connect-authorize) in API Explorer.
933
+ [Try it out](https://developer.ringcentral.com/api-reference#OAuth-and-OpenID-Connect-authorize) in API Explorer.
934
934
 
935
935
  ## authorize2
936
936
 
@@ -954,7 +954,7 @@ await rc.revoke();
954
954
  - `authorizeRequest` is of type [AuthorizeRequest](./definitions/AuthorizeRequest.ts)
955
955
  - `result` is an empty string
956
956
 
957
- [Try it out](https://developer.ringcentral.com/api-reference#OAuth-2.0-/-OpenID-Connect-authorize2) in API Explorer.
957
+ [Try it out](https://developer.ringcentral.com/api-reference#OAuth-and-OpenID-Connect-authorize2) in API Explorer.
958
958
 
959
959
  ## getAccountInfoV2
960
960
 
@@ -2215,7 +2215,7 @@ await rc.revoke();
2215
2215
 
2216
2216
  ## removeLineJWSPublic
2217
2217
 
2218
- Remove phone line
2218
+ Remove Phone Line
2219
2219
 
2220
2220
  | Name | Value |
2221
2221
  | ---------------- | ----------------------------------------------------- |
@@ -2285,7 +2285,7 @@ await rc.revoke();
2285
2285
  - Parameter `apiVersion` is optional with default value `v1.0`
2286
2286
  - Parameter `accountId` is optional with default value `~`
2287
2287
  - `listCallQueuesParameters` is of type [ListCallQueuesParameters](./definitions/ListCallQueuesParameters.ts)
2288
- - `result` is of type [CallQueues](./definitions/CallQueues.ts)
2288
+ - `result` is of type [CallQueueList](./definitions/CallQueueList.ts)
2289
2289
 
2290
2290
  [Try it out](https://developer.ringcentral.com/api-reference#Call-Queues-listCallQueues) in API Explorer.
2291
2291
 
@@ -2329,13 +2329,13 @@ Update Call Queue
2329
2329
  ```ts
2330
2330
  const rc = new RingCentral({ clientId, clientSecret, server });
2331
2331
  await rc.authorize({ jwt });
2332
- var result = await rc.restapi(apiVersion).account(accountId).callQueues(groupId).put(callQueueDetails);
2332
+ var result = await rc.restapi(apiVersion).account(accountId).callQueues(groupId).put(callQueueDetailsForUpdate);
2333
2333
  await rc.revoke();
2334
2334
  ```
2335
2335
 
2336
2336
  - Parameter `apiVersion` is optional with default value `v1.0`
2337
2337
  - Parameter `accountId` is optional with default value `~`
2338
- - `callQueueDetails` is of type [CallQueueDetails](./definitions/CallQueueDetails.ts)
2338
+ - `callQueueDetailsForUpdate` is of type [CallQueueDetailsForUpdate](./definitions/CallQueueDetailsForUpdate.ts)
2339
2339
  - `result` is of type [CallQueueDetails](./definitions/CallQueueDetails.ts)
2340
2340
 
2341
2341
  [Try it out](https://developer.ringcentral.com/api-reference#Call-Queues-updateCallQueueInfo) in API Explorer.
@@ -3484,9 +3484,9 @@ await rc.revoke();
3484
3484
 
3485
3485
  [Try it out](https://developer.ringcentral.com/api-reference#Insights-caiAnalyzeInteraction) in API Explorer.
3486
3486
 
3487
- ## socMsgListContents
3487
+ ## listSocialMessagingContents
3488
3488
 
3489
- List All Contents
3489
+ List Contents
3490
3490
 
3491
3491
  | Name | Value |
3492
3492
  | ---------------- | ---------------------------------- |
@@ -3499,16 +3499,16 @@ List All Contents
3499
3499
  ```ts
3500
3500
  const rc = new RingCentral({ clientId, clientSecret, server });
3501
3501
  await rc.authorize({ jwt });
3502
- var result = await rc.cx().socialMessaging().v1().contents().list(socMsgListContentsParameters);
3502
+ var result = await rc.cx().socialMessaging().v1().contents().list(listSocialMessagingContentsParameters);
3503
3503
  await rc.revoke();
3504
3504
  ```
3505
3505
 
3506
- - `socMsgListContentsParameters` is of type [SocMsgListContentsParameters](./definitions/SocMsgListContentsParameters.ts)
3506
+ - `listSocialMessagingContentsParameters` is of type [ListSocialMessagingContentsParameters](./definitions/ListSocialMessagingContentsParameters.ts)
3507
3507
  - `result` is an empty string
3508
3508
 
3509
- [Try it out](https://developer.ringcentral.com/api-reference#Contents-socMsgListContents) in API Explorer.
3509
+ [Try it out](https://developer.ringcentral.com/api-reference#Contents-listSocialMessagingContents) in API Explorer.
3510
3510
 
3511
- ## socMsgCreateContent
3511
+ ## createSocialMessagingContent
3512
3512
 
3513
3513
  Create Content
3514
3514
 
@@ -3523,16 +3523,16 @@ Create Content
3523
3523
  ```ts
3524
3524
  const rc = new RingCentral({ clientId, clientSecret, server });
3525
3525
  await rc.authorize({ jwt });
3526
- var result = await rc.cx().socialMessaging().v1().contents().post(createContentRequest);
3526
+ var result = await rc.cx().socialMessaging().v1().contents().post(createSocialMessagingContentRequest);
3527
3527
  await rc.revoke();
3528
3528
  ```
3529
3529
 
3530
- - `createContentRequest` is of type [CreateContentRequest](./definitions/CreateContentRequest.ts)
3530
+ - `createSocialMessagingContentRequest` is of type [CreateSocialMessagingContentRequest](./definitions/CreateSocialMessagingContentRequest.ts)
3531
3531
  - `result` is an empty string
3532
3532
 
3533
- [Try it out](https://developer.ringcentral.com/api-reference#Contents-socMsgCreateContent) in API Explorer.
3533
+ [Try it out](https://developer.ringcentral.com/api-reference#Contents-createSocialMessagingContent) in API Explorer.
3534
3534
 
3535
- ## socMsgGetContent
3535
+ ## readSocialMessagingContent
3536
3536
 
3537
3537
  Get Content
3538
3538
 
@@ -3553,7 +3553,7 @@ await rc.revoke();
3553
3553
 
3554
3554
  - `result` is an empty string
3555
3555
 
3556
- [Try it out](https://developer.ringcentral.com/api-reference#Contents-socMsgGetContent) in API Explorer.
3556
+ [Try it out](https://developer.ringcentral.com/api-reference#Contents-readSocialMessagingContent) in API Explorer.
3557
3557
 
3558
3558
  ## listSocialMessagingIdentities
3559
3559
 
@@ -3708,6 +3708,29 @@ await rc.revoke();
3708
3708
 
3709
3709
  [Try it out](https://developer.ringcentral.com/api-reference#Bridge-Management-createBridge) in API Explorer.
3710
3710
 
3711
+ ## listCostCenters
3712
+
3713
+ List Cost Centers
3714
+
3715
+ | Name | Value |
3716
+ | ---------------- | ----------------------------------------------- |
3717
+ | HTTP Method | `GET` |
3718
+ | Endpoint | `/restapi/v2/accounts/{accountId}/cost-centers` |
3719
+ | Rate Limit Group | `Light` |
3720
+ | App Permission | `ReadAccounts` |
3721
+ | User Permission | `CostCenterManagement` |
3722
+
3723
+ ```ts
3724
+ const rc = new RingCentral({ clientId, clientSecret, server });
3725
+ await rc.authorize({ jwt });
3726
+ var result = await rc.restapi().v2().accounts(accountId).costCenters().get();
3727
+ await rc.revoke();
3728
+ ```
3729
+
3730
+ - `result` is of type [CostCenterList](./definitions/CostCenterList.ts)
3731
+
3732
+ [Try it out](https://developer.ringcentral.com/api-reference#Cost-Centers-listCostCenters) in API Explorer.
3733
+
3711
3734
  ## addDeviceToInventory
3712
3735
 
3713
3736
  Add Phone to Inventory
@@ -3906,29 +3929,6 @@ await rc.revoke();
3906
3929
 
3907
3930
  [Try it out](https://developer.ringcentral.com/api-reference#Phone-Numbers-replacePhoneNumberV2) in API Explorer.
3908
3931
 
3909
- ## sendActivationEmailV2
3910
-
3911
- Send/Resend Activation Email
3912
-
3913
- | Name | Value |
3914
- | ---------------- | -------------------------------------------------------- |
3915
- | HTTP Method | `POST` |
3916
- | Endpoint | `/restapi/v2/accounts/{accountId}/send-activation-email` |
3917
- | Rate Limit Group | `Medium` |
3918
- | App Permission | `EditAccounts` |
3919
- | User Permission | `AccountAdministration` |
3920
-
3921
- ```ts
3922
- const rc = new RingCentral({ clientId, clientSecret, server });
3923
- await rc.authorize({ jwt });
3924
- var result = await rc.restapi().v2().accounts(accountId).sendActivationEmail().post();
3925
- await rc.revoke();
3926
- ```
3927
-
3928
- - `result` is an empty string
3929
-
3930
- [Try it out](https://developer.ringcentral.com/api-reference#Company-sendActivationEmailV2) in API Explorer.
3931
-
3932
3932
  ## sendWelcomeEmailV2
3933
3933
 
3934
3934
  Send/Resend Welcome Email
@@ -4899,12 +4899,18 @@ Get Corporate Directory Entry
4899
4899
  ```ts
4900
4900
  const rc = new RingCentral({ clientId, clientSecret, server });
4901
4901
  await rc.authorize({ jwt });
4902
- var result = await rc.restapi(apiVersion).account(accountId).directory().entries(entryId).get();
4902
+ var result = await rc
4903
+ .restapi(apiVersion)
4904
+ .account(accountId)
4905
+ .directory()
4906
+ .entries(entryId)
4907
+ .get(readDirectoryEntryParameters);
4903
4908
  await rc.revoke();
4904
4909
  ```
4905
4910
 
4906
4911
  - Parameter `apiVersion` is optional with default value `v1.0`
4907
4912
  - Parameter `accountId` is optional with default value `~`
4913
+ - `readDirectoryEntryParameters` is of type [ReadDirectoryEntryParameters](./definitions/ReadDirectoryEntryParameters.ts)
4908
4914
  - `result` is of type [ContactResource](./definitions/ContactResource.ts)
4909
4915
 
4910
4916
  [Try it out](https://developer.ringcentral.com/api-reference#Internal-Contacts-readDirectoryEntry) in API Explorer.
@@ -5273,7 +5279,7 @@ await rc.revoke();
5273
5279
  - Parameter `accountId` is optional with default value `~`
5274
5280
  - Parameter `extensionId` is optional with default value `~`
5275
5281
  - `readAnsweringRuleParameters` is of type [ReadAnsweringRuleParameters](./definitions/ReadAnsweringRuleParameters.ts)
5276
- - `result` is of type [AnsweringRuleInfo](./definitions/AnsweringRuleInfo.ts)
5282
+ - `result` is of type [CallHandlingRuleInfo](./definitions/CallHandlingRuleInfo.ts)
5277
5283
 
5278
5284
  [Try it out](https://developer.ringcentral.com/api-reference#Call-Handling-Rules-readAnsweringRule) in API Explorer.
5279
5285
 
@@ -5305,7 +5311,7 @@ await rc.revoke();
5305
5311
  - Parameter `accountId` is optional with default value `~`
5306
5312
  - Parameter `extensionId` is optional with default value `~`
5307
5313
  - `updateAnsweringRuleRequest` is of type [UpdateAnsweringRuleRequest](./definitions/UpdateAnsweringRuleRequest.ts)
5308
- - `result` is of type [AnsweringRuleInfo](./definitions/AnsweringRuleInfo.ts)
5314
+ - `result` is of type [CallHandlingRuleInfo](./definitions/CallHandlingRuleInfo.ts)
5309
5315
 
5310
5316
  [Try it out](https://developer.ringcentral.com/api-reference#Call-Handling-Rules-updateAnsweringRule) in API Explorer.
5311
5317
 
@@ -6251,38 +6257,6 @@ await rc.revoke();
6251
6257
 
6252
6258
  [Try it out](https://developer.ringcentral.com/api-reference#Message-Store-patchMessage) in API Explorer.
6253
6259
 
6254
- ## syncMessages
6255
-
6256
- Sync Messages
6257
-
6258
- | Name | Value |
6259
- | ---------------- | -------------------------------------------------------------------------------- |
6260
- | HTTP Method | `GET` |
6261
- | Endpoint | `/restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/message-sync` |
6262
- | Rate Limit Group | `Light` |
6263
- | App Permission | `ReadMessages` |
6264
- | User Permission | `ReadMessages` |
6265
-
6266
- ```ts
6267
- const rc = new RingCentral({ clientId, clientSecret, server });
6268
- await rc.authorize({ jwt });
6269
- var result = await rc
6270
- .restapi(apiVersion)
6271
- .account(accountId)
6272
- .extension(extensionId)
6273
- .messageSync()
6274
- .get(syncMessagesParameters);
6275
- await rc.revoke();
6276
- ```
6277
-
6278
- - Parameter `apiVersion` is optional with default value `v1.0`
6279
- - Parameter `accountId` is optional with default value `~`
6280
- - Parameter `extensionId` is optional with default value `~`
6281
- - `syncMessagesParameters` is of type [SyncMessagesParameters](./definitions/SyncMessagesParameters.ts)
6282
- - `result` is of type [GetMessageSyncResponse](./definitions/GetMessageSyncResponse.ts)
6283
-
6284
- [Try it out](https://developer.ringcentral.com/api-reference#Message-Store-syncMessages) in API Explorer.
6285
-
6286
6260
  ## readUserPresenceStatus
6287
6261
 
6288
6262
  Get User Presence Status
@@ -8221,6 +8195,38 @@ await rc.revoke();
8221
8195
 
8222
8196
  [Try it out](https://developer.ringcentral.com/api-reference#Registration-Management-rcwRegUpdateSession) in API Explorer.
8223
8197
 
8198
+ ## syncMessages
8199
+
8200
+ Sync Messages
8201
+
8202
+ | Name | Value |
8203
+ | ---------------- | -------------------------------------------------------------------------------- |
8204
+ | HTTP Method | `GET` |
8205
+ | Endpoint | `/restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/message-sync` |
8206
+ | Rate Limit Group | `Light` |
8207
+ | App Permission | `ReadMessages` |
8208
+ | User Permission | `ReadMessages` |
8209
+
8210
+ ```ts
8211
+ const rc = new RingCentral({ clientId, clientSecret, server });
8212
+ await rc.authorize({ jwt });
8213
+ var result = await rc
8214
+ .restapi(apiVersion)
8215
+ .account(accountId)
8216
+ .extension(extensionId)
8217
+ .messageSync()
8218
+ .get(syncMessagesParameters);
8219
+ await rc.revoke();
8220
+ ```
8221
+
8222
+ - Parameter `apiVersion` is optional with default value `v1.0`
8223
+ - Parameter `accountId` is optional with default value `~`
8224
+ - Parameter `extensionId` is optional with default value `~`
8225
+ - `syncMessagesParameters` is of type [SyncMessagesParameters](./definitions/SyncMessagesParameters.ts)
8226
+ - `result` is of type [GetMessageSyncResponse](./definitions/GetMessageSyncResponse.ts)
8227
+
8228
+ [Try it out](https://developer.ringcentral.com/api-reference#Message-Store-syncMessages) in API Explorer.
8229
+
8224
8230
  ## listExtensionPhoneNumbers
8225
8231
 
8226
8232
  Get Extension Phone Number List
@@ -8831,6 +8837,29 @@ await rc.revoke();
8831
8837
 
8832
8838
  [Try it out](https://developer.ringcentral.com/api-reference#Phone-Numbers-getBulkAddTaskResultsV2) in API Explorer.
8833
8839
 
8840
+ ## sendActivationEmailV2
8841
+
8842
+ Send/Resend Activation Email
8843
+
8844
+ | Name | Value |
8845
+ | ---------------- | -------------------------------------------------------- |
8846
+ | HTTP Method | `POST` |
8847
+ | Endpoint | `/restapi/v2/accounts/{accountId}/send-activation-email` |
8848
+ | Rate Limit Group | `Medium` |
8849
+ | App Permission | `EditAccounts` |
8850
+ | User Permission | `AccountAdministration` |
8851
+
8852
+ ```ts
8853
+ const rc = new RingCentral({ clientId, clientSecret, server });
8854
+ await rc.authorize({ jwt });
8855
+ var result = await rc.restapi().v2().accounts(accountId).sendActivationEmail().post();
8856
+ await rc.revoke();
8857
+ ```
8858
+
8859
+ - `result` is an empty string
8860
+
8861
+ [Try it out](https://developer.ringcentral.com/api-reference#Company-sendActivationEmailV2) in API Explorer.
8862
+
8834
8863
  ## addA2PSMSOptOuts
8835
8864
 
8836
8865
  Add Opt-In/Out Numbers
@@ -10221,39 +10250,6 @@ await rc.revoke();
10221
10250
 
10222
10251
  [Try it out](https://developer.ringcentral.com/api-reference#Call-Control-callFlipParty) in API Explorer.
10223
10252
 
10224
- ## holdCallParty
10225
-
10226
- Hold Call Party
10227
-
10228
- | Name | Value |
10229
- | ---------------- | ---------------------------------------------------------------------------------------------------------- |
10230
- | HTTP Method | `POST` |
10231
- | Endpoint | `/restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId}/hold` |
10232
- | Rate Limit Group | `Light` |
10233
- | App Permission | `CallControl` |
10234
- | User Permission | `N/A` |
10235
-
10236
- ```ts
10237
- const rc = new RingCentral({ clientId, clientSecret, server });
10238
- await rc.authorize({ jwt });
10239
- var result = await rc
10240
- .restapi(apiVersion)
10241
- .account(accountId)
10242
- .telephony()
10243
- .sessions(telephonySessionId)
10244
- .parties(partyId)
10245
- .hold()
10246
- .post(holdCallPartyRequest);
10247
- await rc.revoke();
10248
- ```
10249
-
10250
- - Parameter `apiVersion` is optional with default value `v1.0`
10251
- - Parameter `accountId` is optional with default value `~`
10252
- - `holdCallPartyRequest` is of type [HoldCallPartyRequest](./definitions/HoldCallPartyRequest.ts)
10253
- - `result` is of type [CallParty](./definitions/CallParty.ts)
10254
-
10255
- [Try it out](https://developer.ringcentral.com/api-reference#Call-Control-holdCallParty) in API Explorer.
10256
-
10257
10253
  ## callParkParty
10258
10254
 
10259
10255
  Call Park
@@ -10692,6 +10688,59 @@ await rc.revoke();
10692
10688
 
10693
10689
  [Try it out](https://developer.ringcentral.com/api-reference#Registrants-rcwRegDeleteRegistrant) in API Explorer.
10694
10690
 
10691
+ ## readCallFlipSettings
10692
+
10693
+ Get Call Flip Settings
10694
+
10695
+ | Name | Value |
10696
+ | ---------------- | ----------------------------------------------------------------------------- |
10697
+ | HTTP Method | `GET` |
10698
+ | Endpoint | `/restapi/v2/accounts/{accountId}/extensions/{extensionId}/call-flip-numbers` |
10699
+ | Rate Limit Group | `Light` |
10700
+ | App Permission | `ReadAccounts` |
10701
+ | User Permission | `N/A` |
10702
+
10703
+ ```ts
10704
+ const rc = new RingCentral({ clientId, clientSecret, server });
10705
+ await rc.authorize({ jwt });
10706
+ var result = await rc.restapi().v2().accounts(accountId).extensions(extensionId).callFlipNumbers().get();
10707
+ await rc.revoke();
10708
+ ```
10709
+
10710
+ - `result` is of type [CallFlipNumberListResource](./definitions/CallFlipNumberListResource.ts)
10711
+
10712
+ [Try it out](https://developer.ringcentral.com/api-reference#Call-Flip-readCallFlipSettings) in API Explorer.
10713
+
10714
+ ## updateCallFlipSettings
10715
+
10716
+ Update Call Flip Settings
10717
+
10718
+ | Name | Value |
10719
+ | ---------------- | ----------------------------------------------------------------------------- |
10720
+ | HTTP Method | `PUT` |
10721
+ | Endpoint | `/restapi/v2/accounts/{accountId}/extensions/{extensionId}/call-flip-numbers` |
10722
+ | Rate Limit Group | `Medium` |
10723
+ | App Permission | `EditExtensions` |
10724
+ | User Permission | `N/A` |
10725
+
10726
+ ```ts
10727
+ const rc = new RingCentral({ clientId, clientSecret, server });
10728
+ await rc.authorize({ jwt });
10729
+ var result = await rc
10730
+ .restapi()
10731
+ .v2()
10732
+ .accounts(accountId)
10733
+ .extensions(extensionId)
10734
+ .callFlipNumbers()
10735
+ .put(callFlipNumberListResource);
10736
+ await rc.revoke();
10737
+ ```
10738
+
10739
+ - `callFlipNumberListResource` is of type [CallFlipNumberListResource](./definitions/CallFlipNumberListResource.ts)
10740
+ - `result` is of type [CallFlipNumberListResource](./definitions/CallFlipNumberListResource.ts)
10741
+
10742
+ [Try it out](https://developer.ringcentral.com/api-reference#Call-Flip-updateCallFlipSettings) in API Explorer.
10743
+
10695
10744
  ## updateCallMonitoringGroupList
10696
10745
 
10697
10746
  Update Call Monitoring Group List
@@ -12112,6 +12161,39 @@ await rc.revoke();
12112
12161
 
12113
12162
  [Try it out](https://developer.ringcentral.com/api-reference#Call-Control-forwardCallParty) in API Explorer.
12114
12163
 
12164
+ ## holdCallParty
12165
+
12166
+ Hold Call Party
12167
+
12168
+ | Name | Value |
12169
+ | ---------------- | ---------------------------------------------------------------------------------------------------------- |
12170
+ | HTTP Method | `POST` |
12171
+ | Endpoint | `/restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId}/hold` |
12172
+ | Rate Limit Group | `Light` |
12173
+ | App Permission | `CallControl` |
12174
+ | User Permission | `N/A` |
12175
+
12176
+ ```ts
12177
+ const rc = new RingCentral({ clientId, clientSecret, server });
12178
+ await rc.authorize({ jwt });
12179
+ var result = await rc
12180
+ .restapi(apiVersion)
12181
+ .account(accountId)
12182
+ .telephony()
12183
+ .sessions(telephonySessionId)
12184
+ .parties(partyId)
12185
+ .hold()
12186
+ .post(holdCallPartyRequest);
12187
+ await rc.revoke();
12188
+ ```
12189
+
12190
+ - Parameter `apiVersion` is optional with default value `v1.0`
12191
+ - Parameter `accountId` is optional with default value `~`
12192
+ - `holdCallPartyRequest` is of type [HoldCallPartyRequest](./definitions/HoldCallPartyRequest.ts)
12193
+ - `result` is of type [CallParty](./definitions/CallParty.ts)
12194
+
12195
+ [Try it out](https://developer.ringcentral.com/api-reference#Call-Control-holdCallParty) in API Explorer.
12196
+
12115
12197
  ## ignoreCallInQueue
12116
12198
 
12117
12199
  Ignore Call in Queue
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnsweringRuleInfo.js","sourceRoot":"","sources":["../../src/definitions/AnsweringRuleInfo.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"CallQueues.js","sourceRoot":"","sources":["../../src/definitions/CallQueues.ts"],"names":[],"mappings":""}
@@ -1,76 +0,0 @@
1
- interface ContentAttachment {
2
- /**
3
- * Type of the attachment, which is generally a MIME attachment type like "image/jpeg", etc.
4
- *
5
- * Security level in ED determines what type of attachment is allowed.
6
- *
7
- * Based on the security level the following attachment types are supported.
8
- *
9
- * "Strict" level allows safe extensions below:
10
- * Content name and supported types
11
- * * audio (supports aac mp3 ogg m4a)
12
- * * image (supports bmp gif jpg jpeg png svg webp)
13
- * * pdf (supports pdf)
14
- * * text (supports csv txt log)
15
- * * video (supports avi flv m4v mkv mov mp4 mpg qt wmv)
16
- * * other (supports amr dms vcard tif tiff mpeg)
17
- *
18
- * "Relaxed" level allows documents:
19
- * Content name and supported types
20
- * * excel (supports xls xlsm xlsx xlc xlt xltm xltx)
21
- * * presentation (supports key odp otp)
22
- * * powerpoint (supports pps ppt pptx pot)
23
- * * spreadsheet (supports numbers ods ots)
24
- * * word (supports doc docm docx dotm dotx)
25
- * * word_processing (supports 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 attachment.
35
- * Format: date-time
36
- * Example: 2023-02-04T12:43:07Z
37
- */
38
- creationTime?: string;
39
- /**
40
- * Embedded in a content.
41
- */
42
- embedded?: boolean;
43
- /**
44
- * Filename of the attachment.
45
- * Example: 0.jpeg
46
- */
47
- filename?: string;
48
- /**
49
- * Identifier of the attachment.
50
- * Example: 54085e5b7aa58d8b5d00006c
51
- */
52
- id?: string;
53
- /**
54
- * Privacy setting of the attachment.
55
- */
56
- public?: boolean;
57
- /**
58
- * Size of the attachment.
59
- * Format: int32
60
- * Example: 217571
61
- */
62
- size?: number;
63
- /**
64
- * The time when the last modification was completed.
65
- * Format: date-time
66
- * Example: 2023-02-04T12:43:07Z
67
- */
68
- lastModifiedTime?: string;
69
- /**
70
- * Uri of the attachment.
71
- * Format: uri
72
- * Example: https://example.digital.ringcentral.com/files/attachments/54085e5b7aa58d8b5d00006c
73
- */
74
- uri?: string;
75
- }
76
- export default ContentAttachment;
@@ -1 +0,0 @@
1
- {"version":3,"file":"ContentAttachment.js","sourceRoot":"","sources":["../../src/definitions/ContentAttachment.ts"],"names":[],"mappings":""}