@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
@@ -0,0 +1,126 @@
1
+ import type ContentContextData from './ContentContextData';
2
+
3
+ /**
4
+ * Request body for operation createSocialMessagingContent
5
+ */
6
+ interface CreateSocialMessagingContentRequest {
7
+ /**
8
+ * Identity identifier of the content author. Not mandatory on creation,
9
+ * by default it uses the token's user first identity on channel
10
+ */
11
+ authorIdentityId?: string;
12
+
13
+ /**
14
+ * Content body. On creation this field is mandatory except for WhatsApp content
15
+ * using templates. The following are the channels supported and their **max length**
16
+ * restrictions (in brackets):
17
+ *
18
+ * - *Apple Messages For Business* (10000)
19
+ * - *Email* (262144)
20
+ * - *RingCX Digital Messaging* (1024)
21
+ * - *Facebook* (8000)
22
+ * - *Google My Business* (4000)
23
+ * - *Instagram* (950)
24
+ * - *Instagram Messaging* (1000)
25
+ * - *LinkedIn* (3000)
26
+ * - *Messenger* (2000)
27
+ * - *Twitter* (280)
28
+ * - *Viber* (7000)
29
+ * - *WhatsApp* (3800)
30
+ * - *Youtube* (8000)
31
+ * Example: Body of the content
32
+ */
33
+ body?: string;
34
+
35
+ /**
36
+ * Content identifier to which this content is a reply to. On creation, if omitted,
37
+ * a new discussion will be created. If the channel does not support discussion initiation,
38
+ * this parameter is mandatory
39
+ */
40
+ inReplyToContentId?: string;
41
+
42
+ /**
43
+ * If set to `true`, then the content is publicly visible on remote channel.
44
+ * Private content is NOT supported on every channel
45
+ * Default: true
46
+ */
47
+ public?: boolean;
48
+
49
+ /**
50
+ * Channel identifier.
51
+ * Example: 506d9e817aa58d1259000f12
52
+ */
53
+ channelId?: string;
54
+
55
+ /**
56
+ * List of attachment identifiers to be added to the content
57
+ * Example: 541014e17aa58d8ccf000023,541014e17aa58d8ccf000023
58
+ */
59
+ attachmentIds?: string[];
60
+
61
+ /**
62
+ * Applicable to Email channels only. The subject of the email.
63
+ * This field is mandatory when initiating a discussion
64
+ * Example: An email title
65
+ */
66
+ title?: string;
67
+
68
+ /**
69
+ * Applicable to Email channels only.
70
+ * An array containing the email addresses used in sections of the email.
71
+ * This parameter is mandatory when initiating a discussion
72
+ */
73
+ to?: string[];
74
+
75
+ /**
76
+ * Applicable to Email channels only.
77
+ * An array containing the email addresses used in sections of the email.
78
+ * This parameter is mandatory when initiating a discussion
79
+ */
80
+ cc?: string[];
81
+
82
+ /**
83
+ * Applicable to Email channels only.
84
+ * An array containing the email addresses used in sections of the email.
85
+ * This parameter is mandatory when initiating a discussion
86
+ */
87
+ bcc?: string[];
88
+
89
+ /**
90
+ * Applicable to WhatsApp channels only. Name of the WhatsApp template to use for the content.
91
+ * All available template names are visible on the WhatsApp Business Manager interface
92
+ * Example: customer_order_shipment_template
93
+ */
94
+ templateName?: string;
95
+
96
+ /**
97
+ * Applicable to WhatsApp channels only. Language of the WhatsApp template
98
+ * to use for the content. All available template languages are visible on
99
+ * the WhatsApp Business Manager interface. Language specified must conform
100
+ * to the ISO 639-1 alpha-2 codes for representing the names of languages
101
+ * Example: fr
102
+ */
103
+ templateLanguage?: string;
104
+
105
+ /**
106
+ * Applicable to WhatsApp channels only. Component configuration of the WhatsApp
107
+ * template to use for the content. All available components are visible on
108
+ * the WhatsApp Business Manager interface
109
+ * Example: [object Object],[object Object]
110
+ */
111
+ components?: object[];
112
+
113
+ /**
114
+ */
115
+ contextData?: ContentContextData;
116
+
117
+ /**
118
+ * Auto submitted content:
119
+ * - won't reopen tasks or interventions
120
+ * - can be used to send automatic messages like asking an user to follow on twitter, sending a survey, etc,
121
+ * - doesn't get included in statistics
122
+ */
123
+ autoSubmitted?: boolean;
124
+ }
125
+
126
+ export default CreateSocialMessagingContentRequest;
@@ -12,7 +12,8 @@ interface CreateUserEmergencyLocationRequest {
12
12
  addressFormatId?: string;
13
13
 
14
14
  /**
15
- * If 'true' address validation for non-us addresses is skipped
15
+ * Specifies emergency address validation during the ERL creation/update.
16
+ * If set to 'true', then address validation for non-US addresses is skipped
16
17
  */
17
18
  trusted?: boolean;
18
19
 
@@ -14,7 +14,7 @@ interface CustomCompanyGreetingInfo {
14
14
  id?: string;
15
15
 
16
16
  /**
17
- * Type of company greeting
17
+ * Type of a company greeting
18
18
  */
19
19
  type?: 'Company' | 'StartRecording' | 'StopRecording' | 'AutomaticRecording' | 'TemplateGreeting';
20
20
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The indication of a number to be deleted - either "id" or "phoneNumber" must be specified.
2
+ * The indication of a number to be deleted - either `id` or `phoneNumber` must be specified.
3
3
  */
4
4
  interface DeletePhoneNumbersRequestItem {
5
5
  /**
@@ -6,6 +6,7 @@
6
6
  interface DeviceCodeTokenRequest {
7
7
  /**
8
8
  * Grant type
9
+ * Required
9
10
  */
10
11
  grant_type?: 'urn:ietf:params:oauth:grant-type:device_code';
11
12
 
@@ -48,7 +48,8 @@ interface DeviceEmergencyServiceAddressResourceAu {
48
48
  countryId?: string;
49
49
 
50
50
  /**
51
- * ISO code of a country
51
+ * Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
52
+ * Example: US
52
53
  */
53
54
  countryIsoCode?: string;
54
55
 
@@ -48,7 +48,8 @@ interface DeviceEmergencyServiceAddressResourceDefault {
48
48
  countryId?: string;
49
49
 
50
50
  /**
51
- * ISO code of a country
51
+ * Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
52
+ * Example: US
52
53
  */
53
54
  countryIsoCode?: string;
54
55
 
@@ -48,7 +48,8 @@ interface DeviceEmergencyServiceAddressResourceFr {
48
48
  countryId?: string;
49
49
 
50
50
  /**
51
- * ISO code of a country
51
+ * Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
52
+ * Example: US
52
53
  */
53
54
  countryIsoCode?: string;
54
55
 
@@ -97,7 +97,8 @@ interface DeviceResource {
97
97
  useAsCommonPhone?: boolean;
98
98
 
99
99
  /**
100
- * This flag indicates whether this device is used for hot desking or not
100
+ * Indicates whether this device is used for hot desking or not.
101
+ * Returned if `useAsCommonPhone` is set to false
101
102
  */
102
103
  hotDeskDevice?: boolean;
103
104
 
@@ -15,9 +15,9 @@ interface EmailRecipientInfo {
15
15
  extensionNumber?: string;
16
16
 
17
17
  /**
18
- * Current state of an extension
18
+ * Extension status
19
19
  */
20
- status?: 'Enabled' | 'Disable' | 'NotActivated' | 'Unassigned';
20
+ status?: 'Enabled' | 'Disabled' | 'Frozen' | 'NotActivated' | 'Unassigned';
21
21
 
22
22
  /**
23
23
  * List of user email addresses from extension notification settings.
@@ -10,7 +10,8 @@ interface EmergencyAddressInfo {
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
 
@@ -44,7 +44,8 @@ interface EmergencyLocationRequestResource {
44
44
  visibility?: 'Public';
45
45
 
46
46
  /**
47
- * If 'true' address validation for non-us addresses is skipped
47
+ * Specifies emergency address validation during the ERL creation/update.
48
+ * If set to 'true', then address validation for non-US addresses is skipped
48
49
  */
49
50
  trusted?: boolean;
50
51
  }
@@ -63,7 +63,8 @@ interface EmergencyLocationResponseResource {
63
63
  addressFormatId?: string;
64
64
 
65
65
  /**
66
- * If 'true' address validation for non-us addresses is skipped
66
+ * Specifies emergency address validation during the ERL creation/update.
67
+ * If set to 'true', then address validation for non-US addresses is skipped
67
68
  */
68
69
  trusted?: boolean;
69
70
  }
@@ -50,7 +50,8 @@ interface EmergencyServiceAddressResource {
50
50
  countryId?: string;
51
51
 
52
52
  /**
53
- * ISO code of a country
53
+ * Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
54
+ * Example: US
54
55
  */
55
56
  countryIsoCode?: string;
56
57
 
@@ -15,8 +15,9 @@ interface ExtensionBulkUpdateInfo {
15
15
  id?: string;
16
16
 
17
17
  /**
18
+ * Extension status
18
19
  */
19
- status?: 'Disabled' | 'Enabled' | 'NotActivated' | 'Frozen';
20
+ status?: 'Enabled' | 'Disabled' | 'Frozen' | 'NotActivated';
20
21
 
21
22
  /**
22
23
  */
@@ -1,13 +1,13 @@
1
- import type ExtensionUpdateShortResult from './ExtensionUpdateShortResult';
1
+ import type ExtensionBulkUpdateTaskResultAffectedItems from './ExtensionBulkUpdateTaskResultAffectedItems';
2
2
  import type ErrorEntity from './ErrorEntity';
3
3
 
4
4
  /**
5
- * Result record on multiple extension update task
5
+ * Resulting record of a task on multiple extensions update
6
6
  */
7
7
  interface ExtensionBulkUpdateTaskResult {
8
8
  /**
9
9
  */
10
- affectedItems?: ExtensionUpdateShortResult[];
10
+ affectedItems?: ExtensionBulkUpdateTaskResultAffectedItems;
11
11
 
12
12
  /**
13
13
  */
@@ -0,0 +1,9 @@
1
+ import type ExtensionUpdateShortResult from './ExtensionUpdateShortResult';
2
+
3
+ interface ExtensionBulkUpdateTaskResultAffectedItems {
4
+ /**
5
+ */
6
+ result?: ExtensionUpdateShortResult[];
7
+ }
8
+
9
+ export default ExtensionBulkUpdateTaskResultAffectedItems;
@@ -60,9 +60,9 @@ interface ExtensionCreationRequest {
60
60
  site?: SiteInfo;
61
61
 
62
62
  /**
63
- * Extension current state
63
+ * Extension status
64
64
  */
65
- status?: 'Enabled' | 'Disabled' | 'NotActivated' | 'Unassigned' | 'Frozen';
65
+ status?: 'Enabled' | 'Disabled' | 'Frozen' | 'NotActivated' | 'Unassigned';
66
66
 
67
67
  /**
68
68
  */
@@ -93,9 +93,7 @@ interface ExtensionCreationResponse {
93
93
  site?: ProvisioningSiteInfo;
94
94
 
95
95
  /**
96
- * Extension current state. If 'Unassigned' is specified, then
97
- * extensions without `extensionNumber` are returned. If not specified, then
98
- * all extensions are returned
96
+ * Extension status
99
97
  */
100
98
  status?: 'Enabled' | 'Disabled' | 'Frozen' | 'NotActivated' | 'Unassigned';
101
99
 
@@ -31,7 +31,7 @@ interface ExtensionRegionalSettingRequest {
31
31
  currency?: ExtensionCurrencyInfoRequest;
32
32
 
33
33
  /**
34
- * Time format setting
34
+ * Time format (12-hours or 24-hours).
35
35
  * Default: 12h
36
36
  */
37
37
  timeFormat?: '12h' | '24h';
@@ -1,6 +1,5 @@
1
1
  /**
2
- * Status information (reason, comment). Returned for 'Disabled'
3
- * status only
2
+ * Status information (reason, comment). Returned for `Disabled` extensions only
4
3
  *
5
4
  */
6
5
  interface ExtensionStatusInfo {
@@ -12,14 +11,7 @@ interface ExtensionStatusInfo {
12
11
  /**
13
12
  * Type of suspension
14
13
  */
15
- reason?: 'SuspendedVoluntarily' | 'SuspendedInvoluntarily' | 'CancelledVoluntarily' | 'CancelledInvoluntarily';
16
-
17
- /**
18
- * Date until which an account will get deleted. The default
19
- * value is 30 days since the current date
20
- * Format: date-time
21
- */
22
- till?: string;
14
+ reason?: 'Voluntarily' | 'Involuntarily';
23
15
  }
24
16
 
25
17
  export default ExtensionStatusInfo;
@@ -9,8 +9,9 @@ import type ReferenceInfo from './ReferenceInfo';
9
9
 
10
10
  interface ExtensionUpdateRequest {
11
11
  /**
12
+ * Extension status
12
13
  */
13
- status?: 'Disabled' | 'Enabled' | 'NotActivated' | 'Frozen';
14
+ status?: 'Enabled' | 'Disabled' | 'Frozen' | 'NotActivated';
14
15
 
15
16
  /**
16
17
  */
@@ -52,9 +52,9 @@ interface GetAccountInfoResponse {
52
52
  signupInfo?: SignupInfoResource;
53
53
 
54
54
  /**
55
- * Status of the current account
55
+ * Status of an account
56
56
  */
57
- status?: 'Initial' | 'Confirmed' | 'Unconfirmed' | 'Disabled';
57
+ status?: 'Initial' | 'Unconfirmed' | 'Confirmed' | 'Disabled';
58
58
 
59
59
  /**
60
60
  */
@@ -11,14 +11,15 @@ interface GetCountryInfoNumberParser {
11
11
  uri?: string;
12
12
 
13
13
  /**
14
- * Country calling code defined by ITU-T recommendations `E.123`
15
- * and `E.164`, see Calling Codes
16
- * Example: 1
14
+ * Country calling code defined by [ITU-T](http://en.wikipedia.org/wiki/ITU-T)
15
+ * recommendations, [E.123](http://en.wikipedia.org/wiki/E.123) and
16
+ * [E.164](http://en.wikipedia.org/wiki/E.164).
17
+ * See also [Calling Codes](http://en.wikipedia.org/wiki/List_of_country_calling_codes)
17
18
  */
18
19
  callingCode?: string;
19
20
 
20
21
  /**
21
- * Country code in `ISO 3166` alpha-2 format
22
+ * Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
22
23
  * Example: US
23
24
  */
24
25
  isoCode?: string;
@@ -114,9 +114,7 @@ interface GetExtensionInfoResponse {
114
114
  setupWizardState?: 'NotStarted' | 'Incomplete' | 'Completed';
115
115
 
116
116
  /**
117
- * Extension current state. If 'Unassigned' is specified, then
118
- * extensions without `extensionNumber` are returned. If not specified,
119
- * then all extensions are returned
117
+ * Extension status
120
118
  */
121
119
  status?: 'Enabled' | 'Disabled' | 'Frozen' | 'NotActivated' | 'Unassigned';
122
120
 
@@ -175,6 +173,18 @@ interface GetExtensionInfoResponse {
175
173
  /**
176
174
  */
177
175
  assignedCountry?: AssignedCountryInfo;
176
+
177
+ /**
178
+ * Extension creation date/time, in ISO 8601 format
179
+ * Format: date-time
180
+ * Example: 2024-06-06T07:01:14.123Z
181
+ */
182
+ creationTime?: string;
183
+
184
+ /**
185
+ * Site access status for cross-site limitation
186
+ */
187
+ siteAccess?: 'Limited' | 'Unlimited';
178
188
  }
179
189
 
180
190
  export default GetExtensionInfoResponse;
@@ -43,14 +43,12 @@ interface GetExtensionListInfoResponse {
43
43
  profileImage?: ProfileImageInfo;
44
44
 
45
45
  /**
46
- * Extension current state. If 'Unassigned' is specified, then
47
- * extensions without `extensionNumber` are returned. If not specified,
48
- * then all extensions are returned
46
+ * Extension status
49
47
  */
50
48
  status?: 'Enabled' | 'Disabled' | 'Frozen' | 'NotActivated' | 'Unassigned';
51
49
 
52
50
  /**
53
- * Extension type. Please note that legacy 'Department' extension type
51
+ * Extension type. Please note that legacy `Department` extension type
54
52
  * corresponds to 'Call Queue' extensions in modern RingCentral product
55
53
  * terminology
56
54
  */
@@ -103,6 +101,13 @@ interface GetExtensionListInfoResponse {
103
101
  /**
104
102
  */
105
103
  costCenter?: CostCenterInfo;
104
+
105
+ /**
106
+ * Extension creation date/time, in ISO 8601 format
107
+ * Format: date-time
108
+ * Example: 2024-06-06T07:01:14.123Z
109
+ */
110
+ creationTime?: string;
106
111
  }
107
112
 
108
113
  export default GetExtensionListInfoResponse;
@@ -53,11 +53,6 @@ interface GetMessageInfoResponse {
53
53
  */
54
54
  creationTime?: string;
55
55
 
56
- /**
57
- * SMS only. Delivery error code returned by gateway
58
- */
59
- deliveryErrorCode?: string;
60
-
61
56
  /**
62
57
  * Text message direction. Note that for some message types not all
63
58
  * directions are allowed. For example voicemail messages can
@@ -47,11 +47,6 @@ interface GetSMSMessageInfoResponse {
47
47
  */
48
48
  creationTime?: string;
49
49
 
50
- /**
51
- * SMS only. Delivery error code returned by gateway
52
- */
53
- deliveryErrorCode?: string;
54
-
55
50
  /**
56
51
  * Text message direction. Note that for some message types not all
57
52
  * directions are allowed. For example voicemail messages can
@@ -1,5 +1,7 @@
1
1
  /**
2
- * Token endpoint request parameters used in the "Guest" authorization flow with the `guest` grant type
2
+ * Token endpoint request parameters used in the "Guest" authorization flow
3
+ * with the `guest` grant type
4
+ *
3
5
  */
4
6
  interface GetTokenRequest {
5
7
  /**
@@ -170,11 +172,13 @@ interface GetTokenRequest {
170
172
 
171
173
  /**
172
174
  * Resource type for the guest access.
175
+ * Required
173
176
  */
174
177
  resource_type?: string;
175
178
 
176
179
  /**
177
180
  * Resource URL for the guest access.
181
+ * Required
178
182
  */
179
183
  resource?: string;
180
184
  }
@@ -1,9 +1,12 @@
1
1
  /**
2
- * Token endpoint request parameters used in the "Guest" authorization flow with the `guest` grant type
2
+ * Token endpoint request parameters used in the "Guest" authorization flow
3
+ * with the `guest` grant type
4
+ *
3
5
  */
4
6
  interface GuestTokenRequest {
5
7
  /**
6
8
  * Grant type
9
+ * Required
7
10
  */
8
11
  grant_type?: 'guest';
9
12
 
@@ -14,11 +17,13 @@ interface GuestTokenRequest {
14
17
 
15
18
  /**
16
19
  * Resource type for the guest access.
20
+ * Required
17
21
  */
18
22
  resource_type?: string;
19
23
 
20
24
  /**
21
25
  * Resource URL for the guest access.
26
+ * Required
22
27
  */
23
28
  resource?: string;
24
29
  }
@@ -73,6 +73,11 @@ interface IdentityModel {
73
73
  */
74
74
  identityGroupId?: string;
75
75
 
76
+ /**
77
+ * Either Agent or Customer
78
+ */
79
+ identityType?: 'Agent' | 'Customer';
80
+
76
81
  /**
77
82
  * LastName.
78
83
  * Example: Doe
@@ -100,7 +105,6 @@ interface IdentityModel {
100
105
  | 'Email'
101
106
  | 'EngageMessaging'
102
107
  | 'Facebook'
103
- | 'GoogleBusinessMessages'
104
108
  | 'GoogleMyBusiness'
105
109
  | 'Instagram'
106
110
  | 'Linkedin'
@@ -5,6 +5,7 @@
5
5
  interface IvrPinTokenRequest {
6
6
  /**
7
7
  * Grant type
8
+ * Required
8
9
  */
9
10
  grant_type?: 'ivr_pin';
10
11
 
@@ -6,6 +6,7 @@
6
6
  interface JwtTokenRequest {
7
7
  /**
8
8
  * Grant type
9
+ * Required
9
10
  */
10
11
  grant_type?: 'urn:ietf:params:oauth:grant-type:jwt-bearer' | 'partner_jwt';
11
12
 
@@ -31,7 +31,8 @@ interface LanguageInfo {
31
31
  localeCode?: string;
32
32
 
33
33
  /**
34
- * Country code according to the ISO standard, see [ISO 3166](https://www.iso.org/iso-3166-country-codes.html)
34
+ * Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
35
+ * Example: US
35
36
  */
36
37
  isoCode?: string;
37
38
 
@@ -49,9 +49,11 @@ interface ListAccountPhoneNumbersParameters {
49
49
  | 'ExternalNumberProviderTollFree';
50
50
 
51
51
  /**
52
- * Status of a phone number
52
+ * Status of a phone number. If the value is `Normal`, the phone
53
+ * number is ready to be used. Otherwise, it is an external number not yet
54
+ * ported to RingCentral
53
55
  */
54
- status?: 'Normal' | 'Pending' | 'PortedIn' | 'Temporary';
56
+ status?: 'Normal' | 'Pending' | 'PortedIn' | 'Temporary' | 'Unknown';
55
57
  }
56
58
 
57
59
  export default ListAccountPhoneNumbersParameters;
@@ -51,7 +51,9 @@ interface ListAccountPhoneNumbersV2Parameters {
51
51
  )[];
52
52
 
53
53
  /**
54
- * Status of a phone number. If the value is 'Normal', the phone number is ready to be used. Otherwise, it is an external number not yet ported to RingCentral
54
+ * Status of a phone number. If the value is `Normal`, the phone
55
+ * number is ready to be used. Otherwise, it is an external number not yet
56
+ * ported to RingCentral
55
57
  */
56
58
  status?: 'Normal' | 'Pending' | 'PortedIn' | 'Temporary' | 'Unknown';
57
59
 
@@ -22,6 +22,11 @@ interface ListCallMonitoringGroupsParameters {
22
22
  * group within the result
23
23
  */
24
24
  memberExtensionId?: string;
25
+
26
+ /**
27
+ * Internal identifier of a site
28
+ */
29
+ siteId?: string;
25
30
  }
26
31
 
27
32
  export default ListCallMonitoringGroupsParameters;
@@ -2,6 +2,12 @@
2
2
  * Query parameters for operation listDirectoryEntries
3
3
  */
4
4
  interface ListDirectoryEntriesParameters {
5
+ /**
6
+ * Flag to enable cross-site limitation checking
7
+ * Example: true
8
+ */
9
+ accessibleSitesOnly?: boolean;
10
+
5
11
  /**
6
12
  * If `true` then contacts of all accounts in federation are returned. If `false` then only contacts of the current account are returned, and account section is eliminated in this case
7
13
  * Default: true