@rc-ex/core 1.4.0 → 1.4.2

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 (402) 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/index.js +7 -3
  169. package/lib/index.js.map +1 -1
  170. package/lib/paths/Cx/SocialMessaging/V1/Contents/index.d.ts +17 -19
  171. package/lib/paths/Cx/SocialMessaging/V1/Contents/index.js +15 -17
  172. package/lib/paths/Cx/SocialMessaging/V1/Contents/index.js.map +1 -1
  173. package/lib/paths/Cx/SocialMessaging/V1/Identities/index.d.ts +1 -1
  174. package/lib/paths/Cx/SocialMessaging/V1/Identities/index.js +1 -1
  175. package/lib/paths/Restapi/Account/CallQueues/index.d.ts +4 -3
  176. package/lib/paths/Restapi/Account/CallQueues/index.js +2 -2
  177. package/lib/paths/Restapi/Account/CallQueues/index.js.map +1 -1
  178. package/lib/paths/Restapi/Account/Directory/Entries/index.d.ts +2 -1
  179. package/lib/paths/Restapi/Account/Directory/Entries/index.js +2 -2
  180. package/lib/paths/Restapi/Account/Directory/Entries/index.js.map +1 -1
  181. package/lib/paths/Restapi/Account/Extension/AnsweringRule/index.d.ts +3 -3
  182. package/lib/paths/Restapi/Account/Extension/AnsweringRule/index.js.map +1 -1
  183. package/lib/paths/Restapi/Account/IvrPrompts/Content/index.d.ts +3 -0
  184. package/lib/paths/Restapi/Account/IvrPrompts/Content/index.js +3 -0
  185. package/lib/paths/Restapi/Account/IvrPrompts/Content/index.js.map +1 -1
  186. package/lib/paths/Restapi/V2/Accounts/CostCenters/index.d.ts +18 -0
  187. package/lib/paths/Restapi/V2/Accounts/CostCenters/index.js +25 -0
  188. package/lib/paths/Restapi/V2/Accounts/CostCenters/index.js.map +1 -0
  189. package/lib/paths/Restapi/V2/Accounts/Extensions/CallFlipNumbers/index.d.ts +45 -0
  190. package/lib/paths/Restapi/V2/Accounts/Extensions/CallFlipNumbers/index.js +55 -0
  191. package/lib/paths/Restapi/V2/Accounts/Extensions/CallFlipNumbers/index.js.map +1 -0
  192. package/lib/paths/Restapi/V2/Accounts/Extensions/index.d.ts +2 -0
  193. package/lib/paths/Restapi/V2/Accounts/Extensions/index.js +4 -0
  194. package/lib/paths/Restapi/V2/Accounts/Extensions/index.js.map +1 -1
  195. package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/BulkAdd/index.d.ts +1 -1
  196. package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/BulkAdd/index.js +1 -1
  197. package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/Replace/index.d.ts +1 -1
  198. package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/Replace/index.js +1 -1
  199. package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/index.d.ts +6 -6
  200. package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/index.js +6 -6
  201. package/lib/paths/Restapi/V2/Accounts/index.d.ts +2 -0
  202. package/lib/paths/Restapi/V2/Accounts/index.js +4 -0
  203. package/lib/paths/Restapi/V2/Accounts/index.js.map +1 -1
  204. package/lib/paths/TeamMessaging/V1/Chats/Posts/index.d.ts +5 -1
  205. package/lib/paths/TeamMessaging/V1/Chats/Posts/index.js +5 -1
  206. package/lib/paths/TeamMessaging/V1/Chats/Posts/index.js.map +1 -1
  207. package/package.json +5 -5
  208. package/src/definitions/AccountInfo.ts +1 -7
  209. package/src/definitions/AccountPhoneNumberInfo.ts +4 -2
  210. package/src/definitions/AccountRegionalSettings.ts +2 -1
  211. package/src/definitions/AccountServiceInfo.ts +2 -2
  212. package/src/definitions/AccountServiceInfoRequest.ts +2 -2
  213. package/src/definitions/AccountStatusInfo.ts +3 -1
  214. package/src/definitions/AddPhoneNumberRequestItem.ts +5 -0
  215. package/src/definitions/AddPhoneNumbersResponseItem.ts +5 -0
  216. package/src/definitions/AssignPhoneNumberRequest.ts +2 -2
  217. package/src/definitions/AssignedCountryInfo.ts +3 -1
  218. package/src/definitions/AuthCodeTokenRequest.ts +1 -0
  219. package/src/definitions/BatchListResponse.ts +2 -2
  220. package/src/definitions/{PackageInfo.ts → BillingPackageInfo.ts} +2 -2
  221. package/src/definitions/CallFlipNumberListResource.ts +10 -0
  222. package/src/definitions/CallFlipNumberResource.ts +33 -0
  223. package/src/definitions/{AnsweringRuleInfo.ts → CallHandlingRuleInfo.ts} +2 -2
  224. package/src/definitions/CallParty.ts +6 -0
  225. package/src/definitions/CallQueueDetails.ts +6 -1
  226. package/src/definitions/CallQueueDetailsForUpdate.ts +45 -0
  227. package/src/definitions/CallQueueInfo.ts +7 -1
  228. package/src/definitions/{CallQueues.ts → CallQueueList.ts} +2 -2
  229. package/src/definitions/CallQueueMember.ts +2 -2
  230. package/src/definitions/{GreetingResource.ts → CallRecordingGreetingResource.ts} +2 -2
  231. package/src/definitions/CallRecordingSettingsResource.ts +2 -2
  232. package/src/definitions/ClientCredentialsBase.ts +4 -1
  233. package/src/definitions/ClientCredentialsByAccount.ts +4 -1
  234. package/src/definitions/ClientCredentialsByBrand.ts +4 -1
  235. package/src/definitions/ClientCredentialsByPartnerAccount.ts +4 -1
  236. package/src/definitions/ClientCredentialsTokenRequest.ts +4 -1
  237. package/src/definitions/CommonEmergencyLocationAddressInfo.ts +2 -1
  238. package/src/definitions/CommonEmergencyLocationAddressInfoAu.ts +2 -1
  239. package/src/definitions/CommonEmergencyLocationAddressInfoDefault.ts +2 -1
  240. package/src/definitions/CommonEmergencyLocationAddressInfoFr.ts +2 -1
  241. package/src/definitions/CompanyPhoneNumberInfo.ts +11 -6
  242. package/src/definitions/ContentBodyFormatted.ts +1 -1
  243. package/src/definitions/ContentContextData.ts +1 -2
  244. package/src/definitions/ContentModel.ts +68 -72
  245. package/src/definitions/CostCenterBase.ts +22 -0
  246. package/src/definitions/CostCenterItem.ts +36 -0
  247. package/src/definitions/CostCenterList.ts +10 -0
  248. package/src/definitions/CountryInfoDictionaryModel.ts +5 -5
  249. package/src/definitions/CountryInfoShortModel.ts +5 -6
  250. package/src/definitions/CreateFaxMessageRequest.ts +1 -1
  251. package/src/definitions/CreateSiteRequest.ts +9 -0
  252. package/src/definitions/CreateSocialMessagingContentRequest.ts +126 -0
  253. package/src/definitions/CreateUserEmergencyLocationRequest.ts +2 -1
  254. package/src/definitions/CustomCompanyGreetingInfo.ts +1 -1
  255. package/src/definitions/DeletePhoneNumbersRequestItem.ts +1 -1
  256. package/src/definitions/DeviceCodeTokenRequest.ts +1 -0
  257. package/src/definitions/DeviceEmergencyServiceAddressResourceAu.ts +2 -1
  258. package/src/definitions/DeviceEmergencyServiceAddressResourceDefault.ts +2 -1
  259. package/src/definitions/DeviceEmergencyServiceAddressResourceFr.ts +2 -1
  260. package/src/definitions/DeviceResource.ts +2 -1
  261. package/src/definitions/EmailRecipientInfo.ts +2 -2
  262. package/src/definitions/EmergencyAddressInfo.ts +2 -1
  263. package/src/definitions/EmergencyLocationRequestResource.ts +2 -1
  264. package/src/definitions/EmergencyLocationResponseResource.ts +2 -1
  265. package/src/definitions/EmergencyServiceAddressResource.ts +2 -1
  266. package/src/definitions/ExtensionBulkUpdateInfo.ts +2 -1
  267. package/src/definitions/ExtensionBulkUpdateTaskResult.ts +3 -3
  268. package/src/definitions/ExtensionBulkUpdateTaskResultAffectedItems.ts +9 -0
  269. package/src/definitions/ExtensionCreationRequest.ts +2 -2
  270. package/src/definitions/ExtensionCreationResponse.ts +1 -3
  271. package/src/definitions/ExtensionRegionalSettingRequest.ts +1 -1
  272. package/src/definitions/ExtensionStatusInfo.ts +2 -10
  273. package/src/definitions/ExtensionUpdateRequest.ts +2 -1
  274. package/src/definitions/GetAccountInfoResponse.ts +2 -2
  275. package/src/definitions/GetCountryInfoNumberParser.ts +5 -4
  276. package/src/definitions/GetExtensionInfoResponse.ts +13 -3
  277. package/src/definitions/GetExtensionListInfoResponse.ts +9 -4
  278. package/src/definitions/GetMessageInfoResponse.ts +0 -5
  279. package/src/definitions/GetSMSMessageInfoResponse.ts +0 -5
  280. package/src/definitions/GetTokenRequest.ts +5 -1
  281. package/src/definitions/GuestTokenRequest.ts +6 -1
  282. package/src/definitions/IdentityModel.ts +5 -1
  283. package/src/definitions/IvrPinTokenRequest.ts +1 -0
  284. package/src/definitions/JwtTokenRequest.ts +1 -0
  285. package/src/definitions/LanguageInfo.ts +2 -1
  286. package/src/definitions/ListAccountPhoneNumbersParameters.ts +4 -2
  287. package/src/definitions/ListAccountPhoneNumbersV2Parameters.ts +3 -1
  288. package/src/definitions/ListCallMonitoringGroupsParameters.ts +5 -0
  289. package/src/definitions/ListDirectoryEntriesParameters.ts +6 -0
  290. package/src/definitions/ListEmergencyLocationsParameters.ts +1 -0
  291. package/src/definitions/ListExtensionPhoneNumbersParameters.ts +4 -2
  292. package/src/definitions/ListExtensionsParameters.ts +2 -2
  293. package/src/definitions/ListMeetingRecordingsResponse.ts +4 -4
  294. package/src/definitions/ListSocialMessagingContentsParameters.ts +85 -0
  295. package/src/definitions/ListSocialMessagingIdentitiesParameters.ts +15 -4
  296. package/src/definitions/LocationUpdatesEmergencyAddressInfoRequest.ts +2 -1
  297. package/src/definitions/MeetingsCountryResource.ts +6 -0
  298. package/src/definitions/MeetingsResource.ts +4 -4
  299. package/src/definitions/MessageListResponse.ts +2 -2
  300. package/src/definitions/MessageTemplateInfo.ts +12 -0
  301. package/src/definitions/MessageTemplateRequest.ts +2 -2
  302. package/src/definitions/MessageTemplateResponse.ts +2 -2
  303. package/src/definitions/MessageTemplateUpdateRequest.ts +2 -2
  304. package/src/definitions/MetaData.ts +14 -0
  305. package/src/definitions/MetaDataValues.ts +13 -0
  306. package/src/definitions/MissedCallExtensionInfoExternalNumber.ts +1 -1
  307. package/src/definitions/OptOutListResponse.ts +2 -2
  308. package/src/definitions/OtpTokenRequest.ts +4 -1
  309. package/src/definitions/PhoneNumberInfoIntId.ts +2 -2
  310. package/src/definitions/ReadDirectoryEntryParameters.ts +12 -0
  311. package/src/definitions/RefreshTokenRequest.ts +1 -0
  312. package/src/definitions/RegSessionModel.ts +7 -0
  313. package/src/definitions/RegSessionModelSettings.ts +11 -0
  314. package/src/definitions/RegionalSettings.ts +2 -1
  315. package/src/definitions/RolesCountryResource.ts +6 -0
  316. package/src/definitions/RolesRegionalSettingsResource.ts +2 -0
  317. package/src/definitions/RopcTokenRequest.ts +1 -0
  318. package/src/definitions/SearchDirectoryEntriesParameters.ts +6 -0
  319. package/src/definitions/ServiceInfoContractedCountryId.ts +8 -0
  320. package/src/definitions/ServiceInfoPlan.ts +0 -5
  321. package/src/definitions/ServiceInfoUBrand.ts +0 -6
  322. package/src/definitions/ServiceInfoV2.ts +6 -2
  323. package/src/definitions/SipRegistrationDeviceEmergencyInfoAddress.ts +2 -1
  324. package/src/definitions/SiteInfo.ts +5 -0
  325. package/src/definitions/SiteUpdateRequest.ts +9 -0
  326. package/src/definitions/SmsRequestCountryInfo.ts +2 -1
  327. package/src/definitions/SocMsgContentAttachment.ts +86 -0
  328. package/src/definitions/TMCreateTaskRequest.ts +2 -2
  329. package/src/definitions/TaxLocation.ts +45 -0
  330. package/src/definitions/TemplateInfo.ts +29 -6
  331. package/src/definitions/UnconditionalForwardingInfo.ts +2 -2
  332. package/src/definitions/UserAnsweringRuleList.ts +2 -2
  333. package/src/definitions/UserPhoneNumberInfo.ts +4 -4
  334. package/src/definitions/UserTransitionInfo.ts +2 -2
  335. package/src/index.ts +7 -3
  336. package/src/paths/Cx/SocialMessaging/V1/Contents/index.ts +23 -20
  337. package/src/paths/Cx/SocialMessaging/V1/Identities/index.ts +1 -1
  338. package/src/paths/Restapi/Account/CallQueues/index.ts +6 -5
  339. package/src/paths/Restapi/Account/Directory/Entries/index.ts +6 -2
  340. package/src/paths/Restapi/Account/Extension/AnsweringRule/index.ts +5 -5
  341. package/src/paths/Restapi/Account/IvrPrompts/Content/index.ts +3 -0
  342. package/src/paths/Restapi/V2/Accounts/CostCenters/index.ts +28 -0
  343. package/src/paths/Restapi/V2/Accounts/Extensions/CallFlipNumbers/index.ts +67 -0
  344. package/src/paths/Restapi/V2/Accounts/Extensions/index.ts +5 -0
  345. package/src/paths/Restapi/V2/Accounts/PhoneNumbers/BulkAdd/index.ts +1 -1
  346. package/src/paths/Restapi/V2/Accounts/PhoneNumbers/Replace/index.ts +1 -1
  347. package/src/paths/Restapi/V2/Accounts/PhoneNumbers/index.ts +6 -6
  348. package/src/paths/Restapi/V2/Accounts/index.ts +5 -0
  349. package/src/paths/TeamMessaging/V1/Chats/Posts/index.ts +5 -1
  350. package/src/samples.md +192 -110
  351. package/lib/definitions/AnsweringRuleInfo.js.map +0 -1
  352. package/lib/definitions/CallQueues.js.map +0 -1
  353. package/lib/definitions/ContentAttachment.d.ts +0 -76
  354. package/lib/definitions/ContentAttachment.js.map +0 -1
  355. package/lib/definitions/CreateContentRequest.d.ts +0 -131
  356. package/lib/definitions/CreateContentRequest.js.map +0 -1
  357. package/lib/definitions/EmergencyLocationInfoRequest.d.ts +0 -38
  358. package/lib/definitions/EmergencyLocationInfoRequest.js +0 -3
  359. package/lib/definitions/EmergencyLocationInfoRequest.js.map +0 -1
  360. package/lib/definitions/GreetingResource.js +0 -3
  361. package/lib/definitions/GreetingResource.js.map +0 -1
  362. package/lib/definitions/MeetingRecordingsNavigationInfo.d.ts +0 -16
  363. package/lib/definitions/MeetingRecordingsNavigationInfo.js +0 -3
  364. package/lib/definitions/MeetingRecordingsNavigationInfo.js.map +0 -1
  365. package/lib/definitions/MeetingRecordingsNavigationInfoUri.d.ts +0 -10
  366. package/lib/definitions/MeetingRecordingsNavigationInfoUri.js +0 -3
  367. package/lib/definitions/MeetingRecordingsNavigationInfoUri.js.map +0 -1
  368. package/lib/definitions/MeetingRecordingsPagingInfo.d.ts +0 -33
  369. package/lib/definitions/MeetingRecordingsPagingInfo.js +0 -3
  370. package/lib/definitions/MeetingRecordingsPagingInfo.js.map +0 -1
  371. package/lib/definitions/MeetingsNavigationInfo.d.ts +0 -16
  372. package/lib/definitions/MeetingsNavigationInfo.js +0 -3
  373. package/lib/definitions/MeetingsNavigationInfo.js.map +0 -1
  374. package/lib/definitions/MeetingsNavigationInfoUri.d.ts +0 -7
  375. package/lib/definitions/MeetingsNavigationInfoUri.js +0 -3
  376. package/lib/definitions/MeetingsNavigationInfoUri.js.map +0 -1
  377. package/lib/definitions/MeetingsPagingInfo.d.ts +0 -27
  378. package/lib/definitions/MeetingsPagingInfo.js +0 -3
  379. package/lib/definitions/MeetingsPagingInfo.js.map +0 -1
  380. package/lib/definitions/PackageInfo.js.map +0 -1
  381. package/lib/definitions/PagingResource.d.ts +0 -32
  382. package/lib/definitions/PagingResource.js.map +0 -1
  383. package/lib/definitions/ServiceInfoCountryShortModel.d.ts +0 -29
  384. package/lib/definitions/ServiceInfoCountryShortModel.js +0 -3
  385. package/lib/definitions/ServiceInfoCountryShortModel.js.map +0 -1
  386. package/lib/definitions/SiteResource.d.ts +0 -14
  387. package/lib/definitions/SiteResource.js.map +0 -1
  388. package/lib/definitions/SocMsgListContentsParameters.js +0 -3
  389. package/lib/definitions/SocMsgListContentsParameters.js.map +0 -1
  390. package/src/definitions/ContentAttachment.ts +0 -85
  391. package/src/definitions/CreateContentRequest.ts +0 -147
  392. package/src/definitions/EmergencyLocationInfoRequest.ts +0 -47
  393. package/src/definitions/MeetingRecordingsNavigationInfo.ts +0 -21
  394. package/src/definitions/MeetingRecordingsNavigationInfoUri.ts +0 -11
  395. package/src/definitions/MeetingRecordingsPagingInfo.ts +0 -39
  396. package/src/definitions/MeetingsNavigationInfo.ts +0 -21
  397. package/src/definitions/MeetingsNavigationInfoUri.ts +0 -8
  398. package/src/definitions/MeetingsPagingInfo.ts +0 -33
  399. package/src/definitions/PagingResource.ts +0 -37
  400. package/src/definitions/ServiceInfoCountryShortModel.ts +0 -34
  401. package/src/definitions/SiteResource.ts +0 -16
  402. package/src/definitions/SocMsgListContentsParameters.ts +0 -70
@@ -1,4 +1,4 @@
1
- interface GreetingResource {
1
+ interface CallRecordingGreetingResource {
2
2
  /**
3
3
  */
4
4
  type?: 'StartRecording' | 'StopRecording' | 'AutomaticRecording';
@@ -11,4 +11,4 @@ interface GreetingResource {
11
11
  mode?: 'Default' | 'Custom';
12
12
  }
13
13
 
14
- export default GreetingResource;
14
+ export default CallRecordingGreetingResource;
@@ -1,6 +1,6 @@
1
1
  import type OnDemandResource from './OnDemandResource';
2
2
  import type AutomaticRecordingResource from './AutomaticRecordingResource';
3
- import type GreetingResource from './GreetingResource';
3
+ import type CallRecordingGreetingResource from './CallRecordingGreetingResource';
4
4
 
5
5
  interface CallRecordingSettingsResource {
6
6
  /**
@@ -14,7 +14,7 @@ interface CallRecordingSettingsResource {
14
14
  /**
15
15
  * Collection of Greeting Info
16
16
  */
17
- greetings?: GreetingResource[];
17
+ greetings?: CallRecordingGreetingResource[];
18
18
  }
19
19
 
20
20
  export default CallRecordingSettingsResource;
@@ -1,9 +1,12 @@
1
1
  /**
2
- * Token endpoint request parameters used in the "Client Credentials" authorization flow with the `client_credentials` grant type
2
+ * Token endpoint request parameters used in the "Client Credentials" authorization flow
3
+ * with the `client_credentials` grant type
4
+ *
3
5
  */
4
6
  interface ClientCredentialsBase {
5
7
  /**
6
8
  * Grant type
9
+ * Required
7
10
  */
8
11
  grant_type?: 'client_credentials';
9
12
  }
@@ -1,9 +1,12 @@
1
1
  /**
2
- * Token endpoint request parameters used in the "Client Credentials" authorization flow with the `client_credentials` grant type
2
+ * Token endpoint request parameters used in the "Client Credentials" authorization flow
3
+ * with the `client_credentials` grant type
4
+ *
3
5
  */
4
6
  interface ClientCredentialsByAccount {
5
7
  /**
6
8
  * Grant type
9
+ * Required
7
10
  */
8
11
  grant_type?: 'client_credentials';
9
12
 
@@ -1,9 +1,12 @@
1
1
  /**
2
- * Token endpoint request parameters used in the "Client Credentials" authorization flow with the `client_credentials` grant type
2
+ * Token endpoint request parameters used in the "Client Credentials" authorization flow
3
+ * with the `client_credentials` grant type
4
+ *
3
5
  */
4
6
  interface ClientCredentialsByBrand {
5
7
  /**
6
8
  * Grant type
9
+ * Required
7
10
  */
8
11
  grant_type?: 'client_credentials';
9
12
 
@@ -1,9 +1,12 @@
1
1
  /**
2
- * Token endpoint request parameters used in the "Client Credentials" authorization flow with the `client_credentials` grant type
2
+ * Token endpoint request parameters used in the "Client Credentials" authorization flow
3
+ * with the `client_credentials` grant type
4
+ *
3
5
  */
4
6
  interface ClientCredentialsByPartnerAccount {
5
7
  /**
6
8
  * Grant type
9
+ * Required
7
10
  */
8
11
  grant_type?: 'client_credentials';
9
12
 
@@ -1,9 +1,12 @@
1
1
  /**
2
- * Token endpoint request parameters used in the "Client Credentials" authorization flow with the `client_credentials` grant type
2
+ * Token endpoint request parameters used in the "Client Credentials" authorization flow
3
+ * with the `client_credentials` grant type
4
+ *
3
5
  */
4
6
  interface ClientCredentialsTokenRequest {
5
7
  /**
6
8
  * Grant type
9
+ * Required
7
10
  */
8
11
  grant_type?: 'client_credentials';
9
12
 
@@ -10,7 +10,8 @@ interface CommonEmergencyLocationAddressInfo {
10
10
  countryId?: string;
11
11
 
12
12
  /**
13
- * ISO code of a country
13
+ * Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
14
+ * Example: US
14
15
  */
15
16
  countryIsoCode?: string;
16
17
 
@@ -10,7 +10,8 @@ interface CommonEmergencyLocationAddressInfoAu {
10
10
  countryId?: string;
11
11
 
12
12
  /**
13
- * ISO code of a country
13
+ * Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
14
+ * Example: US
14
15
  */
15
16
  countryIsoCode?: string;
16
17
 
@@ -10,7 +10,8 @@ interface CommonEmergencyLocationAddressInfoDefault {
10
10
  countryId?: string;
11
11
 
12
12
  /**
13
- * ISO code of a country
13
+ * Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
14
+ * Example: US
14
15
  */
15
16
  countryIsoCode?: string;
16
17
 
@@ -10,7 +10,8 @@ interface CommonEmergencyLocationAddressInfoFr {
10
10
  countryId?: string;
11
11
 
12
12
  /**
13
- * ISO code of a country
13
+ * Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
14
+ * Example: US
14
15
  */
15
16
  countryIsoCode?: string;
16
17
 
@@ -52,16 +52,16 @@ interface CompanyPhoneNumberInfo {
52
52
  phoneNumber?: string;
53
53
 
54
54
  /**
55
- * Status of a phone number. If the value is 'Normal', the phone
56
- * number is ready to be used. If the value is 'Pending' it is an
57
- * external number not yet ported to RingCentral.
55
+ * Status of a phone number. If the value is `Normal`, the phone
56
+ * number is ready to be used. Otherwise, it is an external number not yet
57
+ * ported to RingCentral
58
58
  */
59
- status?: 'Normal' | 'Pending' | 'PortedIn' | 'Temporary';
59
+ status?: 'Normal' | 'Pending' | 'PortedIn' | 'Temporary' | 'Unknown';
60
60
 
61
61
  /**
62
- * Phone number type
62
+ * Type of a phone number
63
63
  */
64
- type?: 'VoiceFax' | 'FaxOnly' | 'VoiceOnly';
64
+ type?: 'VoiceFax' | 'VoiceOnly' | 'FaxOnly';
65
65
 
66
66
  /**
67
67
  * Usage type of phone number. Usage type of phone number.
@@ -101,6 +101,11 @@ interface CompanyPhoneNumberInfo {
101
101
  * Specifies if a phone number is primary, i.e. displayed as 'main number' and called by default
102
102
  */
103
103
  primary?: boolean;
104
+
105
+ /**
106
+ * Phone number activation status. Determine whether phone number migration is completed on the partner side.
107
+ */
108
+ activationStatus?: 'Active' | 'Inactive';
104
109
  }
105
110
 
106
111
  export default CompanyPhoneNumberInfo;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Text and HTML formatted versions of the content body.
2
+ * Text and HTML formatted versions of the content body
3
3
  */
4
4
  interface ContentBodyFormatted {
5
5
  /**
@@ -1,7 +1,6 @@
1
1
  /**
2
2
  * Additional data of the content.
3
- *
4
- * The contextData hash keys are the custom fields keys.
3
+ * The `contextData` hash keys are the custom fields keys
5
4
  *
6
5
  */
7
6
  // eslint-disable-next-line @typescript-eslint/no-empty-interface
@@ -1,20 +1,18 @@
1
- import type ContentAttachment from './ContentAttachment';
1
+ import type SocMsgContentAttachment from './SocMsgContentAttachment';
2
2
  import type ContentBodyFormatted from './ContentBodyFormatted';
3
3
  import type ContentContextData from './ContentContextData';
4
4
 
5
5
  interface ContentModel {
6
6
  /**
7
- * An array containing the attachments that are attached to the content.
7
+ * Array of attachments to be added to the content
8
8
  * Required
9
9
  */
10
- attachments?: ContentAttachment[];
10
+ attachments?: SocMsgContentAttachment[];
11
11
 
12
12
  /**
13
- * Identity identifier of the author of content.
14
- *
15
- * Not mandatory on creation, by default it uses the token's user first identity on channel.
13
+ * Identity identifier of the content author. Not mandatory on creation,
14
+ * by default it uses the token's user first identity on channel
16
15
  * Required
17
- * Example: 541014e17aa58d8ccf000023
18
16
  */
19
17
  authorIdentityId?: string;
20
18
 
@@ -28,26 +26,23 @@ interface ContentModel {
28
26
  autoSubmitted?: boolean;
29
27
 
30
28
  /**
31
- * The content's body.
32
- *
33
- * On creation this field is mandatory except for WhatsApp content using templates.
29
+ * Content body. On creation this field is mandatory except for WhatsApp content
30
+ * using templates. The following are the channels supported and their **max length**
31
+ * restrictions (in brackets):
34
32
  *
35
- * The following are the max length restrictions for the different channels supported.
36
- * Channel and max length
37
- * * Apple Messages For Business (max length 10000)
38
- * * Email (max length 262144)
39
- * * RingCX Digital Messaging (max length 1024)
40
- * * Facebook (max length 8000)
41
- * * GoogleBusinessMessages (max length 3000)
42
- * * Google My Business (max length 4000)
43
- * * Instagram (max length 950)
44
- * * Instagram Messaging (max length 1000)
45
- * * LinkedIn (max length 3000)
46
- * * Messenger (max length 2000)
47
- * * Twitter (max length 280)
48
- * * Viber (max length 7000)
49
- * * WhatsApp (max length 3800)
50
- * * Youtube (max length 8000)
33
+ * - *Apple Messages For Business* (10000)
34
+ * - *Email* (262144)
35
+ * - *RingCX Digital Messaging* (1024)
36
+ * - *Facebook* (8000)
37
+ * - *Google My Business* (4000)
38
+ * - *Instagram* (950)
39
+ * - *Instagram Messaging* (1000)
40
+ * - *LinkedIn* (3000)
41
+ * - *Messenger* (2000)
42
+ * - *Twitter* (280)
43
+ * - *Viber* (7000)
44
+ * - *WhatsApp* (3800)
45
+ * - *Youtube* (8000)
51
46
  * Required
52
47
  * Example: Body of the content
53
48
  */
@@ -59,18 +54,27 @@ interface ContentModel {
59
54
  bodyFormatted?: ContentBodyFormatted;
60
55
 
61
56
  /**
62
- * Values can be Text or Html.
57
+ * Content input format
63
58
  * Required
64
59
  */
65
60
  bodyInputFormat?: 'Text' | 'Html';
66
61
 
67
62
  /**
68
- * List of the category identifiers of the content.
63
+ * List of the category identifiers of the content
69
64
  * Required
70
65
  * Example: 541014e17aa58d8ccf000023,541014e17aa58d8ccf002023
71
66
  */
72
67
  categoryIds?: string[];
73
68
 
69
+ /**
70
+ * Direction of the content.
71
+ *
72
+ * * Incoming contents are received from a channel.
73
+ * * Outgoing contents are exported to a channel.
74
+ * Example: Incoming
75
+ */
76
+ contentDirection?: 'Incoming' | 'Outgoing';
77
+
74
78
  /**
75
79
  */
76
80
  contextData?: ContentContextData;
@@ -84,83 +88,81 @@ interface ContentModel {
84
88
  creationTime?: string;
85
89
 
86
90
  /**
87
- * Created from of the content.
91
+ * Source of content
88
92
  * Required
89
93
  */
90
94
  createdFrom?: 'Synchronizer' | 'Interface' | 'Api' | 'AutoSurvey' | 'AutoResponseTrigger' | 'AutoRequestEmail';
91
95
 
92
96
  /**
93
- * RC user id of the creator
97
+ * RingCentral user identifier of the creator
94
98
  * Required
95
99
  * Example: 2683222036
96
100
  */
97
101
  creatorId?: string;
98
102
 
103
+ /**
104
+ * True if the content is the first in the thread.
105
+ */
106
+ firstInThread?: boolean;
107
+
99
108
  /**
100
109
  * External categories of the content.
101
- *
102
- * Present only if the content has foreignCategories.
110
+ * Returned only if the content has `foreignCategories`
103
111
  * Example: foreign_category_id
104
112
  */
105
113
  foreignCategories?: string[];
106
114
 
107
115
  /**
108
- * Identifier of the content.
116
+ * Content identifier
109
117
  * Required
110
- * Example: 541014e17aa58d8ccf000023
111
118
  */
112
119
  id?: string;
113
120
 
114
121
  /**
115
- * The identity identifier of the content to which this content is a reply to.
122
+ * Identifier of the content identity to which this content is a reply to.
123
+ * If the channel does not support discussion initiation, this parameter is mandatory
116
124
  * Required
117
- * Example: 541014e17asdd8ccf000023
118
125
  */
119
126
  inReplyToAuthorIdentityId?: string;
120
127
 
121
128
  /**
122
- * The content identifier to which this content is a reply to.
123
- *
124
- * On creation, if omitted, a new discussion will be created. If the channel does not support to initiate discussion this parameter is mandatory.
129
+ * Content identifier to which this content is a reply to. On creation, if omitted,
130
+ * a new discussion will be created. If the channel does not support discussion initiation,
131
+ * this parameter is mandatory
125
132
  * Required
126
- * Example: 123414e17asdd8ccf000023
127
133
  */
128
134
  inReplyToContentId?: string;
129
135
 
130
136
  /**
131
- * The intervention identifier of the content.
137
+ * Intervention identifier of the content
132
138
  * Required
133
- * Example: 123415437asdd8ccf000023
134
139
  */
135
140
  interventionId?: string;
136
141
 
137
142
  /**
138
- * Language of the content.
143
+ * Language of the content
139
144
  * Required
140
145
  * Example: En
141
146
  */
142
147
  language?: string;
143
148
 
144
149
  /**
145
- * True if the content is publicly visible on the remote channel (default).
146
- *
147
- * Private content is NOT supported on every channel.
150
+ * If set to `true`, then the content is publicly visible on remote channel.
151
+ * Private content is NOT supported on every channel
148
152
  * Required
149
153
  * Default: true
150
154
  */
151
155
  public?: boolean;
152
156
 
153
157
  /**
154
- * True if the content is published on the remote channel.
158
+ * If set to `true`, then the content is published on remote channel
155
159
  * Required
156
160
  * Example: true
157
161
  */
158
162
  published?: boolean;
159
163
 
160
164
  /**
161
- * Rating of the content.
162
- *
163
- * Present only if the content supports rating and rating is filled.
165
+ * Rating of content. Present only if the content supports rating and rating is filled
164
166
  * Required
165
167
  * Format: int32
166
168
  * Example: 4
@@ -168,30 +170,27 @@ interface ContentModel {
168
170
  rating?: number;
169
171
 
170
172
  /**
171
- * True if the content has been deleted on the remote channel.
173
+ * Set to `true` if content has been deleted on remote channel
172
174
  * Required
173
175
  */
174
176
  remotelyDeleted?: boolean;
175
177
 
176
178
  /**
177
- * Identifier of the channel.
178
- *
179
- * On creation if `inReplyToContentId` is specified, the channel will be determined from it. Otherwise, this parameter is mandatory.
179
+ * Channel identifier.
180
180
  * Required
181
- * Example: fff415437asdd8ccf000023
181
+ * Example: 506d9e817aa58d1259000f12
182
182
  */
183
- sourceId?: string;
183
+ channelId?: string;
184
184
 
185
185
  /**
186
- * Type of the channel.
186
+ * Type of a channel
187
187
  * Required
188
188
  */
189
- sourceType?:
189
+ channelType?:
190
190
  | 'AppleMessagesForBusiness'
191
191
  | 'Email'
192
192
  | 'EngageMessaging'
193
193
  | 'Facebook'
194
- | 'GoogleBusinessMessages'
195
194
  | 'GoogleMyBusiness'
196
195
  | 'Instagram'
197
196
  | 'InstagramMessaging'
@@ -203,50 +202,47 @@ interface ContentModel {
203
202
  | 'Youtube';
204
203
 
205
204
  /**
206
- * External Uri of the content channel.
205
+ * External URI of a content channel
207
206
  * Required
208
207
  * Format: uri
209
208
  */
210
- sourceUri?: string;
209
+ channelUri?: string;
211
210
 
212
211
  /**
213
- * Content status.
212
+ * Content status
214
213
  * Required
215
214
  */
216
215
  status?: 'New' | 'Assigned' | 'Replied' | 'UserReply' | 'UserInitiated' | 'Ignored';
217
216
 
218
217
  /**
219
- * Synchronization status.
218
+ * Synchronization status
220
219
  * Required
221
220
  * Example: success
222
221
  */
223
222
  synchronizationStatus?: string;
224
223
 
225
224
  /**
226
- * Synchronization error details.
225
+ * Synchronization error details
227
226
  * Required
228
227
  */
229
228
  synchronizationError?: string;
230
229
 
231
230
  /**
232
- * Content thread identifier of the content.
231
+ * Content thread identifier
233
232
  * Required
234
233
  */
235
234
  threadId?: string;
236
235
 
237
236
  /**
238
- * Applicable to Email channels only.
239
- *
240
- * The subject of the email.
241
- *
242
- * This field is mandatory when initiating a discussion.
237
+ * Applicable to Email channels only. The subject of the email.
238
+ * This field is mandatory when initiating a discussion
243
239
  * Required
244
240
  * Example: An email title
245
241
  */
246
242
  title?: string;
247
243
 
248
244
  /**
249
- * Type of the content.
245
+ * Type of the content
250
246
  * Required
251
247
  * Example: Email
252
248
  */
@@ -294,7 +290,7 @@ interface ContentModel {
294
290
  lastModifiedTime?: string;
295
291
 
296
292
  /**
297
- * Types of structured messages that can be used to reply to this type of message.
293
+ * Types of structured messages that can be used to reply to this type of message
298
294
  * Required
299
295
  */
300
296
  capabilitiesSupported?: string[];
@@ -0,0 +1,22 @@
1
+ interface CostCenterBase {
2
+ /**
3
+ * Internal identifier of a cost center
4
+ * Format: int64
5
+ * Example: 981086004
6
+ */
7
+ id?: number;
8
+
9
+ /**
10
+ * Cost Center name
11
+ * Example: My Cost Center
12
+ */
13
+ name?: string;
14
+
15
+ /**
16
+ * Billing code associated with a cost center
17
+ * Example: BC 101
18
+ */
19
+ billingCode?: string;
20
+ }
21
+
22
+ export default CostCenterBase;
@@ -0,0 +1,36 @@
1
+ import type TaxLocation from './TaxLocation';
2
+
3
+ interface CostCenterItem {
4
+ /**
5
+ * Internal identifier of a cost center
6
+ * Format: int64
7
+ * Example: 981086004
8
+ */
9
+ id?: number;
10
+
11
+ /**
12
+ * Cost Center name
13
+ * Example: My Cost Center
14
+ */
15
+ name?: string;
16
+
17
+ /**
18
+ * Billing code associated with a cost center
19
+ * Example: BC 101
20
+ */
21
+ billingCode?: string;
22
+
23
+ /**
24
+ * Required
25
+ */
26
+ taxLocation?: TaxLocation;
27
+
28
+ /**
29
+ * Internal identifier of a parent cost center
30
+ * Format: int64
31
+ * Example: 45878
32
+ */
33
+ parentId?: number;
34
+ }
35
+
36
+ export default CostCenterItem;
@@ -0,0 +1,10 @@
1
+ import type CostCenterItem from './CostCenterItem';
2
+
3
+ interface CostCenterList {
4
+ /**
5
+ * Required
6
+ */
7
+ records?: CostCenterItem[];
8
+ }
9
+
10
+ export default CostCenterList;
@@ -16,16 +16,16 @@ interface CountryInfoDictionaryModel {
16
16
  name?: string;
17
17
 
18
18
  /**
19
- * Country code according to the ISO standard, see
20
- * [ISO 3166](https://www.iso.org/iso-3166-country-codes.html)
19
+ * Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
20
+ * Example: US
21
21
  */
22
22
  isoCode?: string;
23
23
 
24
24
  /**
25
25
  * Country calling code defined by [ITU-T](http://en.wikipedia.org/wiki/ITU-T)
26
- * recommendations [E.123](http://en.wikipedia.org/wiki/E.123) and
27
- * [E.164](http://en.wikipedia.org/wiki/E.164),
28
- * see [Calling Codes](http://en.wikipedia.org/wiki/List_of_country_calling_codes)
26
+ * recommendations, [E.123](http://en.wikipedia.org/wiki/E.123) and
27
+ * [E.164](http://en.wikipedia.org/wiki/E.164).
28
+ * See also [Calling Codes](http://en.wikipedia.org/wiki/List_of_country_calling_codes)
29
29
  */
30
30
  callingCode?: string;
31
31
 
@@ -16,17 +16,16 @@ interface CountryInfoShortModel {
16
16
  name?: string;
17
17
 
18
18
  /**
19
- * A ISO country code value complying with the
20
- * [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
21
- * format.
19
+ * Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
20
+ * Example: US
22
21
  */
23
22
  isoCode?: string;
24
23
 
25
24
  /**
26
25
  * Country calling code defined by [ITU-T](http://en.wikipedia.org/wiki/ITU-T)
27
- * recommendations [E.123](http://en.wikipedia.org/wiki/E.123) and
28
- * [E.164](http://en.wikipedia.org/wiki/E.164),
29
- * see [Calling Codes](http://en.wikipedia.org/wiki/List_of_country_calling_codes)
26
+ * recommendations, [E.123](http://en.wikipedia.org/wiki/E.123) and
27
+ * [E.164](http://en.wikipedia.org/wiki/E.164).
28
+ * See also [Calling Codes](http://en.wikipedia.org/wiki/List_of_country_calling_codes)
30
29
  */
31
30
  callingCode?: string;
32
31
  }
@@ -26,7 +26,7 @@ interface CreateFaxMessageRequest {
26
26
  sendTime?: string;
27
27
 
28
28
  /**
29
- * Alpha-2 ISO Code of a country
29
+ * Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
30
30
  * Example: US
31
31
  */
32
32
  isoCode?: string;
@@ -37,6 +37,15 @@ interface CreateSiteRequest {
37
37
  */
38
38
  operator?: SiteOperatorReference;
39
39
 
40
+ /**
41
+ * Site access status for cross-site limitation
42
+ */
43
+ siteAccess?: 'Limited' | 'Unlimited';
44
+
45
+ /**
46
+ */
47
+ accessibleSiteIds?: string[];
48
+
40
49
  /**
41
50
  * Site code value
42
51
  */