@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,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
  interface ContentContextData {
@@ -1,18 +1,16 @@
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
  interface ContentModel {
5
5
  /**
6
- * An array containing the attachments that are attached to the content.
6
+ * Array of attachments to be added to the content
7
7
  * Required
8
8
  */
9
- attachments?: ContentAttachment[];
9
+ attachments?: SocMsgContentAttachment[];
10
10
  /**
11
- * Identity identifier of the author of content.
12
- *
13
- * Not mandatory on creation, by default it uses the token's user first identity on channel.
11
+ * Identity identifier of the content author. Not mandatory on creation,
12
+ * by default it uses the token's user first identity on channel
14
13
  * Required
15
- * Example: 541014e17aa58d8ccf000023
16
14
  */
17
15
  authorIdentityId?: string;
18
16
  /**
@@ -24,26 +22,23 @@ interface ContentModel {
24
22
  */
25
23
  autoSubmitted?: boolean;
26
24
  /**
27
- * The content's body.
28
- *
29
- * On creation this field is mandatory except for WhatsApp content using templates.
25
+ * Content body. On creation this field is mandatory except for WhatsApp content
26
+ * using templates. The following are the channels supported and their **max length**
27
+ * restrictions (in brackets):
30
28
  *
31
- * The following are the max length restrictions for the different channels supported.
32
- * Channel and max length
33
- * * Apple Messages For Business (max length 10000)
34
- * * Email (max length 262144)
35
- * * RingCX Digital Messaging (max length 1024)
36
- * * Facebook (max length 8000)
37
- * * GoogleBusinessMessages (max length 3000)
38
- * * Google My Business (max length 4000)
39
- * * Instagram (max length 950)
40
- * * Instagram Messaging (max length 1000)
41
- * * LinkedIn (max length 3000)
42
- * * Messenger (max length 2000)
43
- * * Twitter (max length 280)
44
- * * Viber (max length 7000)
45
- * * WhatsApp (max length 3800)
46
- * * Youtube (max length 8000)
29
+ * - *Apple Messages For Business* (10000)
30
+ * - *Email* (262144)
31
+ * - *RingCX Digital Messaging* (1024)
32
+ * - *Facebook* (8000)
33
+ * - *Google My Business* (4000)
34
+ * - *Instagram* (950)
35
+ * - *Instagram Messaging* (1000)
36
+ * - *LinkedIn* (3000)
37
+ * - *Messenger* (2000)
38
+ * - *Twitter* (280)
39
+ * - *Viber* (7000)
40
+ * - *WhatsApp* (3800)
41
+ * - *Youtube* (8000)
47
42
  * Required
48
43
  * Example: Body of the content
49
44
  */
@@ -53,16 +48,24 @@ interface ContentModel {
53
48
  */
54
49
  bodyFormatted?: ContentBodyFormatted;
55
50
  /**
56
- * Values can be Text or Html.
51
+ * Content input format
57
52
  * Required
58
53
  */
59
54
  bodyInputFormat?: 'Text' | 'Html';
60
55
  /**
61
- * List of the category identifiers of the content.
56
+ * List of the category identifiers of the content
62
57
  * Required
63
58
  * Example: 541014e17aa58d8ccf000023,541014e17aa58d8ccf002023
64
59
  */
65
60
  categoryIds?: string[];
61
+ /**
62
+ * Direction of the content.
63
+ *
64
+ * * Incoming contents are received from a channel.
65
+ * * Outgoing contents are exported to a channel.
66
+ * Example: Incoming
67
+ */
68
+ contentDirection?: 'Incoming' | 'Outgoing';
66
69
  /**
67
70
  */
68
71
  contextData?: ContentContextData;
@@ -74,135 +77,127 @@ interface ContentModel {
74
77
  */
75
78
  creationTime?: string;
76
79
  /**
77
- * Created from of the content.
80
+ * Source of content
78
81
  * Required
79
82
  */
80
83
  createdFrom?: 'Synchronizer' | 'Interface' | 'Api' | 'AutoSurvey' | 'AutoResponseTrigger' | 'AutoRequestEmail';
81
84
  /**
82
- * RC user id of the creator
85
+ * RingCentral user identifier of the creator
83
86
  * Required
84
87
  * Example: 2683222036
85
88
  */
86
89
  creatorId?: string;
90
+ /**
91
+ * True if the content is the first in the thread.
92
+ */
93
+ firstInThread?: boolean;
87
94
  /**
88
95
  * External categories of the content.
89
- *
90
- * Present only if the content has foreignCategories.
96
+ * Returned only if the content has `foreignCategories`
91
97
  * Example: foreign_category_id
92
98
  */
93
99
  foreignCategories?: string[];
94
100
  /**
95
- * Identifier of the content.
101
+ * Content identifier
96
102
  * Required
97
- * Example: 541014e17aa58d8ccf000023
98
103
  */
99
104
  id?: string;
100
105
  /**
101
- * The identity identifier of the content to which this content is a reply to.
106
+ * Identifier of the content identity to which this content is a reply to.
107
+ * If the channel does not support discussion initiation, this parameter is mandatory
102
108
  * Required
103
- * Example: 541014e17asdd8ccf000023
104
109
  */
105
110
  inReplyToAuthorIdentityId?: string;
106
111
  /**
107
- * The content identifier to which this content is a reply to.
108
- *
109
- * On creation, if omitted, a new discussion will be created. If the channel does not support to initiate discussion this parameter is mandatory.
112
+ * Content identifier to which this content is a reply to. On creation, if omitted,
113
+ * a new discussion will be created. If the channel does not support discussion initiation,
114
+ * this parameter is mandatory
110
115
  * Required
111
- * Example: 123414e17asdd8ccf000023
112
116
  */
113
117
  inReplyToContentId?: string;
114
118
  /**
115
- * The intervention identifier of the content.
119
+ * Intervention identifier of the content
116
120
  * Required
117
- * Example: 123415437asdd8ccf000023
118
121
  */
119
122
  interventionId?: string;
120
123
  /**
121
- * Language of the content.
124
+ * Language of the content
122
125
  * Required
123
126
  * Example: En
124
127
  */
125
128
  language?: string;
126
129
  /**
127
- * True if the content is publicly visible on the remote channel (default).
128
- *
129
- * Private content is NOT supported on every channel.
130
+ * If set to `true`, then the content is publicly visible on remote channel.
131
+ * Private content is NOT supported on every channel
130
132
  * Required
131
133
  * Default: true
132
134
  */
133
135
  public?: boolean;
134
136
  /**
135
- * True if the content is published on the remote channel.
137
+ * If set to `true`, then the content is published on remote channel
136
138
  * Required
137
139
  * Example: true
138
140
  */
139
141
  published?: boolean;
140
142
  /**
141
- * Rating of the content.
142
- *
143
- * Present only if the content supports rating and rating is filled.
143
+ * Rating of content. Present only if the content supports rating and rating is filled
144
144
  * Required
145
145
  * Format: int32
146
146
  * Example: 4
147
147
  */
148
148
  rating?: number;
149
149
  /**
150
- * True if the content has been deleted on the remote channel.
150
+ * Set to `true` if content has been deleted on remote channel
151
151
  * Required
152
152
  */
153
153
  remotelyDeleted?: boolean;
154
154
  /**
155
- * Identifier of the channel.
156
- *
157
- * On creation if `inReplyToContentId` is specified, the channel will be determined from it. Otherwise, this parameter is mandatory.
155
+ * Channel identifier.
158
156
  * Required
159
- * Example: fff415437asdd8ccf000023
157
+ * Example: 506d9e817aa58d1259000f12
160
158
  */
161
- sourceId?: string;
159
+ channelId?: string;
162
160
  /**
163
- * Type of the channel.
161
+ * Type of a channel
164
162
  * Required
165
163
  */
166
- sourceType?: 'AppleMessagesForBusiness' | 'Email' | 'EngageMessaging' | 'Facebook' | 'GoogleBusinessMessages' | 'GoogleMyBusiness' | 'Instagram' | 'InstagramMessaging' | 'Linkedin' | 'Messenger' | 'Twitter' | 'Viber' | 'WhatsApp' | 'Youtube';
164
+ channelType?: 'AppleMessagesForBusiness' | 'Email' | 'EngageMessaging' | 'Facebook' | 'GoogleMyBusiness' | 'Instagram' | 'InstagramMessaging' | 'Linkedin' | 'Messenger' | 'Twitter' | 'Viber' | 'WhatsApp' | 'Youtube';
167
165
  /**
168
- * External Uri of the content channel.
166
+ * External URI of a content channel
169
167
  * Required
170
168
  * Format: uri
171
169
  */
172
- sourceUri?: string;
170
+ channelUri?: string;
173
171
  /**
174
- * Content status.
172
+ * Content status
175
173
  * Required
176
174
  */
177
175
  status?: 'New' | 'Assigned' | 'Replied' | 'UserReply' | 'UserInitiated' | 'Ignored';
178
176
  /**
179
- * Synchronization status.
177
+ * Synchronization status
180
178
  * Required
181
179
  * Example: success
182
180
  */
183
181
  synchronizationStatus?: string;
184
182
  /**
185
- * Synchronization error details.
183
+ * Synchronization error details
186
184
  * Required
187
185
  */
188
186
  synchronizationError?: string;
189
187
  /**
190
- * Content thread identifier of the content.
188
+ * Content thread identifier
191
189
  * Required
192
190
  */
193
191
  threadId?: string;
194
192
  /**
195
- * Applicable to Email channels only.
196
- *
197
- * The subject of the email.
198
- *
199
- * This field is mandatory when initiating a discussion.
193
+ * Applicable to Email channels only. The subject of the email.
194
+ * This field is mandatory when initiating a discussion
200
195
  * Required
201
196
  * Example: An email title
202
197
  */
203
198
  title?: string;
204
199
  /**
205
- * Type of the content.
200
+ * Type of the content
206
201
  * Required
207
202
  * Example: Email
208
203
  */
@@ -215,7 +210,7 @@ interface ContentModel {
215
210
  */
216
211
  lastModifiedTime?: string;
217
212
  /**
218
- * Types of structured messages that can be used to reply to this type of message.
213
+ * Types of structured messages that can be used to reply to this type of message
219
214
  * Required
220
215
  */
221
216
  capabilitiesSupported?: string[];
@@ -0,0 +1,19 @@
1
+ interface CostCenterBase {
2
+ /**
3
+ * Internal identifier of a cost center
4
+ * Format: int64
5
+ * Example: 981086004
6
+ */
7
+ id?: number;
8
+ /**
9
+ * Cost Center name
10
+ * Example: My Cost Center
11
+ */
12
+ name?: string;
13
+ /**
14
+ * Billing code associated with a cost center
15
+ * Example: BC 101
16
+ */
17
+ billingCode?: string;
18
+ }
19
+ export default CostCenterBase;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=PagingResource.js.map
3
+ //# sourceMappingURL=CostCenterBase.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CostCenterBase.js","sourceRoot":"","sources":["../../src/definitions/CostCenterBase.ts"],"names":[],"mappings":""}
@@ -0,0 +1,30 @@
1
+ import type TaxLocation from './TaxLocation';
2
+ interface CostCenterItem {
3
+ /**
4
+ * Internal identifier of a cost center
5
+ * Format: int64
6
+ * Example: 981086004
7
+ */
8
+ id?: number;
9
+ /**
10
+ * Cost Center name
11
+ * Example: My Cost Center
12
+ */
13
+ name?: string;
14
+ /**
15
+ * Billing code associated with a cost center
16
+ * Example: BC 101
17
+ */
18
+ billingCode?: string;
19
+ /**
20
+ * Required
21
+ */
22
+ taxLocation?: TaxLocation;
23
+ /**
24
+ * Internal identifier of a parent cost center
25
+ * Format: int64
26
+ * Example: 45878
27
+ */
28
+ parentId?: number;
29
+ }
30
+ export default CostCenterItem;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=CostCenterItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CostCenterItem.js","sourceRoot":"","sources":["../../src/definitions/CostCenterItem.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import type CostCenterItem from './CostCenterItem';
2
+ interface CostCenterList {
3
+ /**
4
+ * Required
5
+ */
6
+ records?: CostCenterItem[];
7
+ }
8
+ export default CostCenterList;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=CostCenterList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CostCenterList.js","sourceRoot":"","sources":["../../src/definitions/CostCenterList.ts"],"names":[],"mappings":""}
@@ -13,15 +13,15 @@ interface CountryInfoDictionaryModel {
13
13
  */
14
14
  name?: string;
15
15
  /**
16
- * Country code according to the ISO standard, see
17
- * [ISO 3166](https://www.iso.org/iso-3166-country-codes.html)
16
+ * Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
17
+ * Example: US
18
18
  */
19
19
  isoCode?: string;
20
20
  /**
21
21
  * Country calling code defined by [ITU-T](http://en.wikipedia.org/wiki/ITU-T)
22
- * recommendations [E.123](http://en.wikipedia.org/wiki/E.123) and
23
- * [E.164](http://en.wikipedia.org/wiki/E.164),
24
- * see [Calling Codes](http://en.wikipedia.org/wiki/List_of_country_calling_codes)
22
+ * recommendations, [E.123](http://en.wikipedia.org/wiki/E.123) and
23
+ * [E.164](http://en.wikipedia.org/wiki/E.164).
24
+ * See also [Calling Codes](http://en.wikipedia.org/wiki/List_of_country_calling_codes)
25
25
  */
26
26
  callingCode?: string;
27
27
  /**
@@ -13,16 +13,15 @@ interface CountryInfoShortModel {
13
13
  */
14
14
  name?: string;
15
15
  /**
16
- * A ISO country code value complying with the
17
- * [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
18
- * format.
16
+ * Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
17
+ * Example: US
19
18
  */
20
19
  isoCode?: string;
21
20
  /**
22
21
  * Country calling code defined by [ITU-T](http://en.wikipedia.org/wiki/ITU-T)
23
- * recommendations [E.123](http://en.wikipedia.org/wiki/E.123) and
24
- * [E.164](http://en.wikipedia.org/wiki/E.164),
25
- * see [Calling Codes](http://en.wikipedia.org/wiki/List_of_country_calling_codes)
22
+ * recommendations, [E.123](http://en.wikipedia.org/wiki/E.123) and
23
+ * [E.164](http://en.wikipedia.org/wiki/E.164).
24
+ * See also [Calling Codes](http://en.wikipedia.org/wiki/List_of_country_calling_codes)
26
25
  */
27
26
  callingCode?: string;
28
27
  }
@@ -22,7 +22,7 @@ interface CreateFaxMessageRequest {
22
22
  */
23
23
  sendTime?: string;
24
24
  /**
25
- * Alpha-2 ISO Code of a country
25
+ * Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
26
26
  * Example: US
27
27
  */
28
28
  isoCode?: string;
@@ -29,6 +29,13 @@ interface CreateSiteRequest {
29
29
  /**
30
30
  */
31
31
  operator?: SiteOperatorReference;
32
+ /**
33
+ * Site access status for cross-site limitation
34
+ */
35
+ siteAccess?: 'Limited' | 'Unlimited';
36
+ /**
37
+ */
38
+ accessibleSiteIds?: string[];
32
39
  /**
33
40
  * Site code value
34
41
  */
@@ -0,0 +1,110 @@
1
+ import type ContentContextData from './ContentContextData';
2
+ /**
3
+ * Request body for operation createSocialMessagingContent
4
+ */
5
+ interface CreateSocialMessagingContentRequest {
6
+ /**
7
+ * Identity identifier of the content author. Not mandatory on creation,
8
+ * by default it uses the token's user first identity on channel
9
+ */
10
+ authorIdentityId?: string;
11
+ /**
12
+ * Content body. On creation this field is mandatory except for WhatsApp content
13
+ * using templates. The following are the channels supported and their **max length**
14
+ * restrictions (in brackets):
15
+ *
16
+ * - *Apple Messages For Business* (10000)
17
+ * - *Email* (262144)
18
+ * - *RingCX Digital Messaging* (1024)
19
+ * - *Facebook* (8000)
20
+ * - *Google My Business* (4000)
21
+ * - *Instagram* (950)
22
+ * - *Instagram Messaging* (1000)
23
+ * - *LinkedIn* (3000)
24
+ * - *Messenger* (2000)
25
+ * - *Twitter* (280)
26
+ * - *Viber* (7000)
27
+ * - *WhatsApp* (3800)
28
+ * - *Youtube* (8000)
29
+ * Example: Body of the content
30
+ */
31
+ body?: string;
32
+ /**
33
+ * Content identifier to which this content is a reply to. On creation, if omitted,
34
+ * a new discussion will be created. If the channel does not support discussion initiation,
35
+ * this parameter is mandatory
36
+ */
37
+ inReplyToContentId?: string;
38
+ /**
39
+ * If set to `true`, then the content is publicly visible on remote channel.
40
+ * Private content is NOT supported on every channel
41
+ * Default: true
42
+ */
43
+ public?: boolean;
44
+ /**
45
+ * Channel identifier.
46
+ * Example: 506d9e817aa58d1259000f12
47
+ */
48
+ channelId?: string;
49
+ /**
50
+ * List of attachment identifiers to be added to the content
51
+ * Example: 541014e17aa58d8ccf000023,541014e17aa58d8ccf000023
52
+ */
53
+ attachmentIds?: string[];
54
+ /**
55
+ * Applicable to Email channels only. The subject of the email.
56
+ * This field is mandatory when initiating a discussion
57
+ * Example: An email title
58
+ */
59
+ title?: string;
60
+ /**
61
+ * Applicable to Email channels only.
62
+ * An array containing the email addresses used in sections of the email.
63
+ * This parameter is mandatory when initiating a discussion
64
+ */
65
+ to?: string[];
66
+ /**
67
+ * Applicable to Email channels only.
68
+ * An array containing the email addresses used in sections of the email.
69
+ * This parameter is mandatory when initiating a discussion
70
+ */
71
+ cc?: string[];
72
+ /**
73
+ * Applicable to Email channels only.
74
+ * An array containing the email addresses used in sections of the email.
75
+ * This parameter is mandatory when initiating a discussion
76
+ */
77
+ bcc?: string[];
78
+ /**
79
+ * Applicable to WhatsApp channels only. Name of the WhatsApp template to use for the content.
80
+ * All available template names are visible on the WhatsApp Business Manager interface
81
+ * Example: customer_order_shipment_template
82
+ */
83
+ templateName?: string;
84
+ /**
85
+ * Applicable to WhatsApp channels only. Language of the WhatsApp template
86
+ * to use for the content. All available template languages are visible on
87
+ * the WhatsApp Business Manager interface. Language specified must conform
88
+ * to the ISO 639-1 alpha-2 codes for representing the names of languages
89
+ * Example: fr
90
+ */
91
+ templateLanguage?: string;
92
+ /**
93
+ * Applicable to WhatsApp channels only. Component configuration of the WhatsApp
94
+ * template to use for the content. All available components are visible on
95
+ * the WhatsApp Business Manager interface
96
+ * Example: [object Object],[object Object]
97
+ */
98
+ components?: object[];
99
+ /**
100
+ */
101
+ contextData?: ContentContextData;
102
+ /**
103
+ * Auto submitted content:
104
+ * - won't reopen tasks or interventions
105
+ * - can be used to send automatic messages like asking an user to follow on twitter, sending a survey, etc,
106
+ * - doesn't get included in statistics
107
+ */
108
+ autoSubmitted?: boolean;
109
+ }
110
+ export default CreateSocialMessagingContentRequest;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=CreateSocialMessagingContentRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateSocialMessagingContentRequest.js","sourceRoot":"","sources":["../../src/definitions/CreateSocialMessagingContentRequest.ts"],"names":[],"mappings":""}
@@ -9,7 +9,8 @@ interface CreateUserEmergencyLocationRequest {
9
9
  */
10
10
  addressFormatId?: string;
11
11
  /**
12
- * If 'true' address validation for non-us addresses is skipped
12
+ * Specifies emergency address validation during the ERL creation/update.
13
+ * If set to 'true', then address validation for non-US addresses is skipped
13
14
  */
14
15
  trusted?: boolean;
15
16
  /**
@@ -11,7 +11,7 @@ interface CustomCompanyGreetingInfo {
11
11
  */
12
12
  id?: string;
13
13
  /**
14
- * Type of company greeting
14
+ * Type of a company greeting
15
15
  */
16
16
  type?: 'Company' | 'StartRecording' | 'StopRecording' | 'AutomaticRecording' | 'TemplateGreeting';
17
17
  /**
@@ -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
  /**
@@ -38,7 +38,8 @@ interface DeviceEmergencyServiceAddressResourceAu {
38
38
  */
39
39
  countryId?: string;
40
40
  /**
41
- * ISO code of a country
41
+ * Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
42
+ * Example: US
42
43
  */
43
44
  countryIsoCode?: string;
44
45
  /**
@@ -38,7 +38,8 @@ interface DeviceEmergencyServiceAddressResourceDefault {
38
38
  */
39
39
  countryId?: string;
40
40
  /**
41
- * ISO code of a country
41
+ * Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
42
+ * Example: US
42
43
  */
43
44
  countryIsoCode?: string;
44
45
  /**
@@ -38,7 +38,8 @@ interface DeviceEmergencyServiceAddressResourceFr {
38
38
  */
39
39
  countryId?: string;
40
40
  /**
41
- * ISO code of a country
41
+ * Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
42
+ * Example: US
42
43
  */
43
44
  countryIsoCode?: string;
44
45
  /**
@@ -80,7 +80,8 @@ interface DeviceResource {
80
80
  */
81
81
  useAsCommonPhone?: boolean;
82
82
  /**
83
- * This flag indicates whether this device is used for hot desking or not
83
+ * Indicates whether this device is used for hot desking or not.
84
+ * Returned if `useAsCommonPhone` is set to false
84
85
  */
85
86
  hotDeskDevice?: boolean;
86
87
  /**
@@ -12,9 +12,9 @@ interface EmailRecipientInfo {
12
12
  */
13
13
  extensionNumber?: string;
14
14
  /**
15
- * Current state of an extension
15
+ * Extension status
16
16
  */
17
- status?: 'Enabled' | 'Disable' | 'NotActivated' | 'Unassigned';
17
+ status?: 'Enabled' | 'Disabled' | 'Frozen' | 'NotActivated' | 'Unassigned';
18
18
  /**
19
19
  * List of user email addresses from extension notification settings.
20
20
  * By default, main email address from contact information is returned