@rc-ex/core 1.3.7 → 1.3.8

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 (566) hide show
  1. package/lib/definitions/ADGError.d.ts +1 -1
  2. package/lib/definitions/AccountOperatorInfo.d.ts +10 -0
  3. package/lib/definitions/AccountPhoneNumberInfo.d.ts +3 -3
  4. package/lib/definitions/AccountPresenceEventBody.d.ts +3 -3
  5. package/lib/definitions/AccountTelephonySessionsEvent.d.ts +1 -1
  6. package/lib/definitions/AddPhoneNumberRequestItem.d.ts +2 -2
  7. package/lib/definitions/AddressBookBulkUploadResponse.d.ts +2 -2
  8. package/lib/definitions/ApiErrorResponseModel.d.ts +1 -1
  9. package/lib/definitions/AsrApiResponseResponse.d.ts +5 -0
  10. package/lib/definitions/AssignPhoneNumberRequest.d.ts +2 -2
  11. package/lib/definitions/AuthorizeRequest.d.ts +2 -1
  12. package/lib/definitions/AutomaticLocationUpdatesTaskInfo.d.ts +1 -1
  13. package/lib/definitions/BaseCallLogRecord.d.ts +6 -2
  14. package/lib/definitions/BlockedCallerGreetingInfo.d.ts +1 -1
  15. package/lib/definitions/BridgeResponse.d.ts +1 -1
  16. package/lib/definitions/BulkAddDevicesItem.d.ts +1 -1
  17. package/lib/definitions/BulkDeleteUsersRequest.d.ts +2 -2
  18. package/lib/definitions/BulkOperationExtensionReference.d.ts +1 -1
  19. package/lib/definitions/CallLogRecord.d.ts +6 -2
  20. package/lib/definitions/CallLogRecordLegInfo.d.ts +6 -2
  21. package/lib/definitions/CallLogRecordMessage.d.ts +1 -1
  22. package/lib/definitions/CallParty.d.ts +2 -2
  23. package/lib/definitions/CallQueueExtensionInfo.d.ts +1 -1
  24. package/lib/definitions/{EmergencyLocationResourceAddress.d.ts → CommonEmergencyLocationAddressInfo.d.ts} +3 -3
  25. package/lib/definitions/{BulkManageLicensesRequest.js → CommonEmergencyLocationAddressInfo.js} +1 -1
  26. package/lib/definitions/CommonEmergencyLocationAddressInfo.js.map +1 -0
  27. package/lib/definitions/{EmergencyLocationAddressInfoAu.d.ts → CommonEmergencyLocationAddressInfoAu.d.ts} +4 -5
  28. package/lib/definitions/{DeviceEmergencyAddressDefault.js → CommonEmergencyLocationAddressInfoAu.js} +1 -1
  29. package/lib/definitions/CommonEmergencyLocationAddressInfoAu.js.map +1 -0
  30. package/lib/definitions/{EmergencyLocationAddressInfoDefault.d.ts → CommonEmergencyLocationAddressInfoDefault.d.ts} +2 -2
  31. package/lib/definitions/{CreateUserEmergencyLocationRequestAddress.js → CommonEmergencyLocationAddressInfoDefault.js} +1 -1
  32. package/lib/definitions/CommonEmergencyLocationAddressInfoDefault.js.map +1 -0
  33. package/lib/definitions/{EmergencyLocationAddressInfoFr.d.ts → CommonEmergencyLocationAddressInfoFr.d.ts} +3 -3
  34. package/lib/definitions/CommonEmergencyLocationAddressInfoFr.js +3 -0
  35. package/lib/definitions/CommonEmergencyLocationAddressInfoFr.js.map +1 -0
  36. package/lib/definitions/{EmergencyLocationResource.d.ts → CommonEmergencyLocationResource.d.ts} +6 -6
  37. package/lib/definitions/{BulkManageLicensesResponse.js → CommonEmergencyLocationResource.js} +1 -1
  38. package/lib/definitions/CommonEmergencyLocationResource.js.map +1 -0
  39. package/lib/definitions/CompanyAnsweringRuleRequest.d.ts +1 -1
  40. package/lib/definitions/CompanyAnsweringRuleUpdate.d.ts +1 -1
  41. package/lib/definitions/CompanyPhoneNumberInfo.d.ts +4 -4
  42. package/lib/definitions/ConferencePhoneNumberInfo.d.ts +1 -1
  43. package/lib/definitions/ContactCenterProvider.d.ts +3 -1
  44. package/lib/definitions/ContactInfo.d.ts +1 -1
  45. package/lib/definitions/ContactInfoCreationRequest.d.ts +2 -2
  46. package/lib/definitions/ContactInfoUpdateRequest.d.ts +2 -2
  47. package/lib/definitions/ContactResource.d.ts +3 -2
  48. package/lib/definitions/CostCenterInfo.d.ts +14 -0
  49. package/lib/definitions/{EmergencyAddressInfoAu.js → CostCenterInfo.js} +1 -1
  50. package/lib/definitions/CostCenterInfo.js.map +1 -0
  51. package/lib/definitions/CreateAnsweringRuleForwardingNumberInfo.d.ts +1 -1
  52. package/lib/definitions/CreateAnsweringRuleRequest.d.ts +1 -1
  53. package/lib/definitions/CreateBridgeRequest.d.ts +1 -1
  54. package/lib/definitions/CreateCompanyGreetingRequest.d.ts +1 -1
  55. package/lib/definitions/CreateConversationRequest.d.ts +3 -1
  56. package/lib/definitions/CreateCustomUserGreetingRequest.d.ts +1 -1
  57. package/lib/definitions/CreateNetworkRequest.d.ts +0 -4
  58. package/lib/definitions/CreateSubscriptionRequest.d.ts +1 -0
  59. package/lib/definitions/CreateSwitchInfo.d.ts +2 -2
  60. package/lib/definitions/CreateUserEmergencyLocationRequest.d.ts +3 -3
  61. package/lib/definitions/CreateWebhookSubscriptionRequest.d.ts +1 -0
  62. package/lib/definitions/CreateWirelessPoint.d.ts +2 -2
  63. package/lib/definitions/CustomCompanyGreetingInfo.d.ts +1 -1
  64. package/lib/definitions/CustomUserGreetingInfo.d.ts +1 -1
  65. package/lib/definitions/DeleteMessageByFilterParameters.d.ts +1 -1
  66. package/lib/definitions/DeletePhoneNumbersRequest.d.ts +1 -1
  67. package/lib/definitions/DetailedExtensionPresenceEventBody.d.ts +3 -3
  68. package/lib/definitions/DetailedExtensionPresenceWithSIPEventBody.d.ts +3 -3
  69. package/lib/definitions/DeviceDefinition.d.ts +1 -1
  70. package/lib/definitions/DeviceEmergencyInfo.d.ts +3 -8
  71. package/lib/definitions/DeviceEmergencyLocationInfo.d.ts +1 -1
  72. package/lib/definitions/DeviceInfoRequest.d.ts +2 -2
  73. package/lib/definitions/DeviceModelInfo.d.ts +2 -2
  74. package/lib/definitions/DevicePhoneNumberInfo.d.ts +1 -1
  75. package/lib/definitions/DeviceProvisioningExtensionInfo.d.ts +1 -1
  76. package/lib/definitions/DeviceResource.d.ts +16 -12
  77. package/lib/definitions/DictionaryGreetingInfo.d.ts +2 -2
  78. package/lib/definitions/ERLLocationInfo.d.ts +1 -1
  79. package/lib/definitions/EmailRecipientInfo.d.ts +1 -1
  80. package/lib/definitions/EmergencyAddress.d.ts +2 -2
  81. package/lib/definitions/{CreateUserEmergencyLocationRequestAddress.d.ts → EmergencyAddressInfo.d.ts} +9 -3
  82. package/lib/definitions/{EmergencyAddressInfoFr.js → EmergencyAddressInfo.js} +1 -1
  83. package/lib/definitions/EmergencyAddressInfo.js.map +1 -0
  84. package/lib/definitions/EmergencyLocationInfo.d.ts +1 -1
  85. package/lib/definitions/EmergencyLocationInfoRequest.d.ts +3 -3
  86. package/lib/definitions/EmergencyLocationsResource.d.ts +2 -2
  87. package/lib/definitions/EmergencyServiceAddressResource.d.ts +1 -1
  88. package/lib/definitions/EveryoneTeamInfo.d.ts +1 -1
  89. package/lib/definitions/ExtensionBulkUpdateInfo.d.ts +4 -0
  90. package/lib/definitions/ExtensionBulkUpdateTaskResource.d.ts +2 -2
  91. package/lib/definitions/ExtensionCallerIdInfo.d.ts +2 -2
  92. package/lib/definitions/ExtensionCallerIdInfoRequest.d.ts +2 -2
  93. package/lib/definitions/ExtensionCreationRequest.d.ts +6 -9
  94. package/lib/definitions/ExtensionCreationResponse.d.ts +4 -5
  95. package/lib/definitions/ExtensionFavoritesEvent.d.ts +1 -1
  96. package/lib/definitions/ExtensionGrantListEvent.d.ts +1 -1
  97. package/lib/definitions/ExtensionInfo.d.ts +1 -1
  98. package/lib/definitions/ExtensionInfoEvent.d.ts +2 -2
  99. package/lib/definitions/ExtensionInfoIntId.d.ts +1 -1
  100. package/lib/definitions/ExtensionListEvent.d.ts +1 -1
  101. package/lib/definitions/ExtensionPresenceEventBody.d.ts +3 -3
  102. package/lib/definitions/ExtensionServiceFeatureInfo.d.ts +1 -1
  103. package/lib/definitions/ExtensionTelephonySessionsEvent.d.ts +2 -1
  104. package/lib/definitions/ExtensionUpdateRequest.d.ts +1 -1
  105. package/lib/definitions/FaxResponse.d.ts +2 -2
  106. package/lib/definitions/ForwardCallPartyResponse.d.ts +2 -2
  107. package/lib/definitions/ForwardingInfo.d.ts +2 -2
  108. package/lib/definitions/ForwardingInfoCreateRuleRequest.d.ts +3 -3
  109. package/lib/definitions/GetAccountInfoResponse.d.ts +1 -1
  110. package/lib/definitions/GetExtensionInfoResponse.d.ts +8 -4
  111. package/lib/definitions/GetExtensionListInfoResponse.d.ts +7 -3
  112. package/lib/definitions/GetInternalTextMessageInfoResponse.d.ts +3 -3
  113. package/lib/definitions/GetMessageInfoResponse.d.ts +4 -4
  114. package/lib/definitions/GetPresenceInfo.d.ts +4 -4
  115. package/lib/definitions/GetSMSMessageInfoResponse.d.ts +3 -3
  116. package/lib/definitions/GetTokenRequest.d.ts +1 -1
  117. package/lib/definitions/GreetingInfo.d.ts +1 -1
  118. package/lib/definitions/InstantMessageEvent.d.ts +1 -1
  119. package/lib/definitions/InstantMessageEventBody.d.ts +3 -3
  120. package/lib/definitions/ListAccountPhoneNumbersParameters.d.ts +2 -2
  121. package/lib/definitions/ListAccountPhoneNumbersV2Parameters.d.ts +4 -4
  122. package/lib/definitions/ListCompanyActiveCallsParameters.d.ts +1 -1
  123. package/lib/definitions/ListCompanyAnsweringRuleInfo.d.ts +1 -1
  124. package/lib/definitions/ListDirectoryEntriesParameters.d.ts +1 -1
  125. package/lib/definitions/ListExtensionActiveCallsParameters.d.ts +1 -1
  126. package/lib/definitions/ListExtensionDevicesParameters.d.ts +2 -2
  127. package/lib/definitions/ListExtensionPhoneNumbersParameters.d.ts +1 -1
  128. package/lib/definitions/ListGlipChatsNewParameters.d.ts +1 -1
  129. package/lib/definitions/ListMessagesParameters.d.ts +3 -3
  130. package/lib/definitions/ListRecentChatsNewParameters.d.ts +1 -1
  131. package/lib/definitions/ListStandardGreetingsParameters.d.ts +2 -2
  132. package/lib/definitions/ListStatesParameters.d.ts +2 -2
  133. package/lib/definitions/ListUserTemplatesParameters.d.ts +1 -1
  134. package/lib/definitions/LocationOwnerInfo.d.ts +8 -0
  135. package/lib/definitions/MessageAttachmentInfoIntId.d.ts +1 -1
  136. package/lib/definitions/MessageEvent.d.ts +1 -1
  137. package/lib/definitions/MessageEventBody.d.ts +1 -1
  138. package/lib/definitions/MessageStoreCallerInfoResponseTo.d.ts +1 -1
  139. package/lib/definitions/ModelInfo.d.ts +1 -1
  140. package/lib/definitions/NetworkInfo.d.ts +0 -4
  141. package/lib/definitions/NotificationSettings.d.ts +2 -2
  142. package/lib/definitions/NotificationSettingsUpdateRequest.d.ts +3 -3
  143. package/lib/definitions/ParameterizedErrorResponseModel.d.ts +1 -1
  144. package/lib/definitions/ParsePhoneNumberParameters.d.ts +1 -1
  145. package/lib/definitions/PartySuperviseRequest.d.ts +1 -1
  146. package/lib/definitions/PartyUpdateInfo.d.ts +1 -1
  147. package/lib/definitions/PermissionIdResource.d.ts +1 -1
  148. package/lib/definitions/PhoneLinesInfo.d.ts +1 -1
  149. package/lib/definitions/PhoneNumberDefinitionNumberId.d.ts +1 -1
  150. package/lib/definitions/PhoneNumberInfoConferencing.d.ts +2 -2
  151. package/lib/definitions/PhoneNumberInfoIntId.d.ts +2 -2
  152. package/lib/definitions/PhoneNumberResource.d.ts +1 -1
  153. package/lib/definitions/PresenceInfoRequest.d.ts +1 -1
  154. package/lib/definitions/PresenceInfoResponse.d.ts +1 -1
  155. package/lib/definitions/PrivateIpRangeInfo.d.ts +6 -5
  156. package/lib/definitions/PrivateIpRangeInfoRequest.d.ts +4 -0
  157. package/lib/definitions/ProfileImageInfo.d.ts +3 -3
  158. package/lib/definitions/PromptInfo.d.ts +1 -1
  159. package/lib/definitions/QueueInfo.d.ts +10 -4
  160. package/lib/definitions/ReadUserCallLogParameters.d.ts +1 -1
  161. package/lib/definitions/ReasonInfo.d.ts +1 -1
  162. package/lib/definitions/RecurrenceInfo.d.ts +2 -1
  163. package/lib/definitions/RemoveLineRequest.d.ts +5 -4
  164. package/lib/definitions/ReplyParty.d.ts +1 -1
  165. package/lib/definitions/RevokeTokenParameters.d.ts +10 -0
  166. package/lib/definitions/{LicenseAssignmentEntry.js → RevokeTokenParameters.js} +1 -1
  167. package/lib/definitions/RevokeTokenParameters.js.map +1 -0
  168. package/lib/definitions/RevokeTokenRequest.d.ts +1 -1
  169. package/lib/definitions/RolesBusinessSiteResource.d.ts +4 -0
  170. package/lib/definitions/ScheduleUserMeetingInfo.d.ts +1 -1
  171. package/lib/definitions/ScimResourceTypeResponse.d.ts +1 -1
  172. package/lib/definitions/ScimUser.d.ts +2 -2
  173. package/lib/definitions/ScimUserResponse.d.ts +2 -2
  174. package/lib/definitions/SearchDirectoryEntriesRequest.d.ts +4 -2
  175. package/lib/definitions/ServiceInfoV2.d.ts +1 -1
  176. package/lib/definitions/SessionGlobalListEntry.d.ts +0 -1
  177. package/lib/definitions/ShippingAddressInfo.d.ts +1 -1
  178. package/lib/definitions/ShippingInfo.d.ts +3 -3
  179. package/lib/definitions/SipInfoResponse.d.ts +4 -0
  180. package/lib/definitions/SipRegistrationDeviceEmergencyInfo.d.ts +1 -1
  181. package/lib/definitions/SipRegistrationDeviceInfo.d.ts +13 -12
  182. package/lib/definitions/SipRegistrationDeviceLocationInfo.d.ts +1 -1
  183. package/lib/definitions/SubscriptionInfo.d.ts +0 -1
  184. package/lib/definitions/SummaryUnit.d.ts +3 -0
  185. package/lib/definitions/SuperviseCallSessionRequest.d.ts +1 -1
  186. package/lib/definitions/SuperviseCallSessionResponse.d.ts +1 -1
  187. package/lib/definitions/SwitchInfo.d.ts +2 -6
  188. package/lib/definitions/SyncInfoMessages.d.ts +1 -1
  189. package/lib/definitions/SyncMessagesParameters.d.ts +3 -3
  190. package/lib/definitions/TMChatInfo.d.ts +1 -1
  191. package/lib/definitions/TMConversationInfo.d.ts +1 -1
  192. package/lib/definitions/TMCreateEventRequest.d.ts +5 -2
  193. package/lib/definitions/TMPostInfo.d.ts +1 -1
  194. package/lib/definitions/TMTeamInfo.d.ts +1 -1
  195. package/lib/definitions/TelephonySessionsEventBody.d.ts +1 -1
  196. package/lib/definitions/TemporaryNumberInfo.d.ts +3 -1
  197. package/lib/definitions/TranscribedObject.d.ts +5 -0
  198. package/lib/definitions/UpdateAnsweringRuleRequest.d.ts +1 -1
  199. package/lib/definitions/UpdateContactParameters.d.ts +2 -2
  200. package/lib/definitions/UpdateNetworkRequest.d.ts +0 -4
  201. package/lib/definitions/UpdateSubscriptionRequest.d.ts +1 -0
  202. package/lib/definitions/UpdateSwitchInfo.d.ts +2 -2
  203. package/lib/definitions/UpdateWirelessPoint.d.ts +2 -2
  204. package/lib/definitions/UserPhoneNumberExtensionInfo.d.ts +1 -1
  205. package/lib/definitions/UserPhoneNumberInfo.d.ts +9 -6
  206. package/lib/definitions/UtteranceObject.d.ts +33 -0
  207. package/lib/definitions/{DeviceEmergencyAddressAu.js → UtteranceObject.js} +1 -1
  208. package/lib/definitions/UtteranceObject.js.map +1 -0
  209. package/lib/definitions/VoicemailInfo.d.ts +1 -1
  210. package/lib/definitions/VoicemailMessageEvent.d.ts +1 -1
  211. package/lib/definitions/VoicemailMessageEventBody.d.ts +3 -3
  212. package/lib/definitions/WcsSessionBaseModel.d.ts +0 -1
  213. package/lib/definitions/WcsSessionResource.d.ts +0 -1
  214. package/lib/definitions/WcsSessionWithLocaleCodeModel.d.ts +0 -1
  215. package/lib/definitions/WirelessPointInfo.d.ts +2 -6
  216. package/lib/paths/Ai/Text/V1/Async/Summarize/index.d.ts +1 -1
  217. package/lib/paths/Ai/Text/V1/Async/Summarize/index.js +1 -1
  218. package/lib/paths/Restapi/Account/BusinessAddress/index.d.ts +1 -1
  219. package/lib/paths/Restapi/Account/BusinessAddress/index.js +1 -1
  220. package/lib/paths/Restapi/Account/EmergencyLocations/index.d.ts +4 -4
  221. package/lib/paths/Restapi/Account/EmergencyLocations/index.js.map +1 -1
  222. package/lib/paths/Restapi/Account/Extension/AddressBook/Contact/index.d.ts +6 -3
  223. package/lib/paths/Restapi/Account/Extension/AddressBook/Contact/index.js +6 -3
  224. package/lib/paths/Restapi/Account/Extension/AddressBook/Contact/index.js.map +1 -1
  225. package/lib/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.d.ts +6 -2
  226. package/lib/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.js +6 -2
  227. package/lib/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.js.map +1 -1
  228. package/lib/paths/Restapi/Account/Extension/EmergencyLocations/index.d.ts +5 -4
  229. package/lib/paths/Restapi/Account/Extension/EmergencyLocations/index.js +2 -2
  230. package/lib/paths/Restapi/Account/Extension/EmergencyLocations/index.js.map +1 -1
  231. package/lib/paths/Restapi/Account/Extension/Fax/index.d.ts +1 -1
  232. package/lib/paths/Restapi/Account/Extension/Fax/index.js +1 -1
  233. package/lib/paths/Restapi/Account/Extension/Presence/index.d.ts +7 -13
  234. package/lib/paths/Restapi/Account/Extension/Presence/index.js +7 -13
  235. package/lib/paths/Restapi/Account/Extension/Presence/index.js.map +1 -1
  236. package/lib/paths/Restapi/Account/PhoneNumber/index.d.ts +2 -2
  237. package/lib/paths/Restapi/Account/PhoneNumber/index.js +2 -2
  238. package/lib/paths/Restapi/Oauth/Revoke/index.d.ts +4 -2
  239. package/lib/paths/Restapi/Oauth/Revoke/index.js +4 -3
  240. package/lib/paths/Restapi/Oauth/Revoke/index.js.map +1 -1
  241. package/lib/paths/Restapi/Subscription/index.d.ts +3 -0
  242. package/lib/paths/Restapi/Subscription/index.js +3 -0
  243. package/lib/paths/Restapi/Subscription/index.js.map +1 -1
  244. package/lib/paths/Restapi/V2/Accounts/Devices/index.d.ts +5 -5
  245. package/lib/paths/Restapi/V2/Accounts/Devices/index.js +5 -5
  246. package/lib/paths/Restapi/V2/Accounts/Extensions/Devices/Replace/index.d.ts +12 -5
  247. package/lib/paths/Restapi/V2/Accounts/Extensions/Devices/Replace/index.js +12 -5
  248. package/lib/paths/Restapi/V2/Accounts/Extensions/Devices/Replace/index.js.map +1 -1
  249. package/lib/paths/Restapi/V2/Accounts/Extensions/index.d.ts +1 -0
  250. package/lib/paths/Restapi/V2/Accounts/Extensions/index.js +1 -0
  251. package/lib/paths/Restapi/V2/Accounts/Extensions/index.js.map +1 -1
  252. package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/BulkAdd/index.d.ts +2 -2
  253. package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/BulkAdd/index.js +2 -2
  254. package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/index.d.ts +1 -1
  255. package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/index.js +1 -1
  256. package/lib/paths/Restapi/V2/Accounts/index.d.ts +0 -2
  257. package/lib/paths/Restapi/V2/Accounts/index.js +0 -4
  258. package/lib/paths/Restapi/V2/Accounts/index.js.map +1 -1
  259. package/package.json +4 -4
  260. package/src/definitions/ADGError.ts +1 -1
  261. package/src/definitions/AccountOperatorInfo.ts +11 -0
  262. package/src/definitions/AccountPhoneNumberInfo.ts +3 -3
  263. package/src/definitions/AccountPresenceEventBody.ts +3 -3
  264. package/src/definitions/AccountTelephonySessionsEvent.ts +1 -1
  265. package/src/definitions/AddPhoneNumberRequestItem.ts +2 -2
  266. package/src/definitions/AddressBookBulkUploadResponse.ts +2 -2
  267. package/src/definitions/ApiErrorResponseModel.ts +1 -1
  268. package/src/definitions/AsrApiResponseResponse.ts +6 -0
  269. package/src/definitions/AssignPhoneNumberRequest.ts +2 -2
  270. package/src/definitions/AuthorizeRequest.ts +2 -1
  271. package/src/definitions/AutomaticLocationUpdatesTaskInfo.ts +1 -1
  272. package/src/definitions/BaseCallLogRecord.ts +7 -2
  273. package/src/definitions/BlockedCallerGreetingInfo.ts +1 -1
  274. package/src/definitions/BridgeResponse.ts +1 -1
  275. package/src/definitions/BulkAddDevicesItem.ts +1 -1
  276. package/src/definitions/BulkDeleteUsersRequest.ts +2 -2
  277. package/src/definitions/BulkOperationExtensionReference.ts +1 -1
  278. package/src/definitions/CallLogRecord.ts +7 -2
  279. package/src/definitions/CallLogRecordLegInfo.ts +7 -2
  280. package/src/definitions/CallLogRecordMessage.ts +1 -1
  281. package/src/definitions/CallParty.ts +2 -2
  282. package/src/definitions/CallQueueExtensionInfo.ts +1 -1
  283. package/src/definitions/{EmergencyLocationResourceAddress.ts → CommonEmergencyLocationAddressInfo.ts} +3 -3
  284. package/src/definitions/{EmergencyLocationAddressInfoAu.ts → CommonEmergencyLocationAddressInfoAu.ts} +4 -5
  285. package/src/definitions/{EmergencyLocationAddressInfoDefault.ts → CommonEmergencyLocationAddressInfoDefault.ts} +2 -2
  286. package/src/definitions/{EmergencyLocationAddressInfoFr.ts → CommonEmergencyLocationAddressInfoFr.ts} +3 -3
  287. package/src/definitions/{EmergencyLocationResource.ts → CommonEmergencyLocationResource.ts} +6 -6
  288. package/src/definitions/CompanyAnsweringRuleRequest.ts +1 -1
  289. package/src/definitions/CompanyAnsweringRuleUpdate.ts +1 -1
  290. package/src/definitions/CompanyPhoneNumberInfo.ts +4 -4
  291. package/src/definitions/ConferencePhoneNumberInfo.ts +1 -1
  292. package/src/definitions/ContactCenterProvider.ts +3 -1
  293. package/src/definitions/ContactInfo.ts +1 -1
  294. package/src/definitions/ContactInfoCreationRequest.ts +2 -2
  295. package/src/definitions/ContactInfoUpdateRequest.ts +2 -2
  296. package/src/definitions/ContactResource.ts +3 -2
  297. package/src/definitions/CostCenterInfo.ts +16 -0
  298. package/src/definitions/CreateAnsweringRuleForwardingNumberInfo.ts +1 -1
  299. package/src/definitions/CreateAnsweringRuleRequest.ts +1 -1
  300. package/src/definitions/CreateBridgeRequest.ts +1 -1
  301. package/src/definitions/CreateCompanyGreetingRequest.ts +1 -1
  302. package/src/definitions/CreateConversationRequest.ts +3 -1
  303. package/src/definitions/CreateCustomUserGreetingRequest.ts +1 -1
  304. package/src/definitions/CreateNetworkRequest.ts +0 -5
  305. package/src/definitions/CreateSubscriptionRequest.ts +1 -0
  306. package/src/definitions/CreateSwitchInfo.ts +2 -2
  307. package/src/definitions/CreateUserEmergencyLocationRequest.ts +3 -3
  308. package/src/definitions/CreateWebhookSubscriptionRequest.ts +1 -0
  309. package/src/definitions/CreateWirelessPoint.ts +2 -2
  310. package/src/definitions/CustomCompanyGreetingInfo.ts +1 -1
  311. package/src/definitions/CustomUserGreetingInfo.ts +1 -1
  312. package/src/definitions/DeleteMessageByFilterParameters.ts +1 -1
  313. package/src/definitions/DeletePhoneNumbersRequest.ts +1 -1
  314. package/src/definitions/DetailedExtensionPresenceEventBody.ts +3 -3
  315. package/src/definitions/DetailedExtensionPresenceWithSIPEventBody.ts +3 -3
  316. package/src/definitions/DeviceDefinition.ts +1 -1
  317. package/src/definitions/DeviceEmergencyInfo.ts +3 -8
  318. package/src/definitions/DeviceEmergencyLocationInfo.ts +1 -1
  319. package/src/definitions/DeviceInfoRequest.ts +2 -2
  320. package/src/definitions/DeviceModelInfo.ts +2 -2
  321. package/src/definitions/DevicePhoneNumberInfo.ts +1 -1
  322. package/src/definitions/DeviceProvisioningExtensionInfo.ts +1 -1
  323. package/src/definitions/DeviceResource.ts +17 -12
  324. package/src/definitions/DictionaryGreetingInfo.ts +2 -2
  325. package/src/definitions/ERLLocationInfo.ts +1 -1
  326. package/src/definitions/EmailRecipientInfo.ts +1 -1
  327. package/src/definitions/EmergencyAddress.ts +2 -2
  328. package/src/definitions/{EmergencyLocationInfoRequestAddress.ts → EmergencyAddressInfo.ts} +10 -3
  329. package/src/definitions/EmergencyLocationInfo.ts +1 -1
  330. package/src/definitions/EmergencyLocationInfoRequest.ts +3 -3
  331. package/src/definitions/EmergencyLocationsResource.ts +2 -2
  332. package/src/definitions/EmergencyServiceAddressResource.ts +1 -1
  333. package/src/definitions/EveryoneTeamInfo.ts +1 -1
  334. package/src/definitions/ExtensionBulkUpdateInfo.ts +5 -0
  335. package/src/definitions/ExtensionBulkUpdateTaskResource.ts +2 -2
  336. package/src/definitions/ExtensionCallerIdInfo.ts +2 -2
  337. package/src/definitions/ExtensionCallerIdInfoRequest.ts +2 -2
  338. package/src/definitions/ExtensionCreationRequest.ts +6 -9
  339. package/src/definitions/ExtensionCreationResponse.ts +4 -5
  340. package/src/definitions/ExtensionFavoritesEvent.ts +1 -1
  341. package/src/definitions/ExtensionGrantListEvent.ts +1 -1
  342. package/src/definitions/ExtensionInfo.ts +1 -1
  343. package/src/definitions/ExtensionInfoEvent.ts +2 -2
  344. package/src/definitions/ExtensionInfoIntId.ts +1 -1
  345. package/src/definitions/ExtensionListEvent.ts +1 -1
  346. package/src/definitions/ExtensionPresenceEventBody.ts +3 -3
  347. package/src/definitions/ExtensionServiceFeatureInfo.ts +1 -1
  348. package/src/definitions/ExtensionTelephonySessionsEvent.ts +2 -1
  349. package/src/definitions/ExtensionUpdateRequest.ts +1 -1
  350. package/src/definitions/FaxResponse.ts +2 -2
  351. package/src/definitions/ForwardCallPartyResponse.ts +2 -2
  352. package/src/definitions/ForwardingInfo.ts +2 -2
  353. package/src/definitions/ForwardingInfoCreateRuleRequest.ts +3 -3
  354. package/src/definitions/GetAccountInfoResponse.ts +1 -1
  355. package/src/definitions/GetExtensionInfoResponse.ts +9 -4
  356. package/src/definitions/GetExtensionListInfoResponse.ts +8 -3
  357. package/src/definitions/GetInternalTextMessageInfoResponse.ts +3 -3
  358. package/src/definitions/GetMessageInfoResponse.ts +4 -4
  359. package/src/definitions/GetPresenceInfo.ts +4 -4
  360. package/src/definitions/GetSMSMessageInfoResponse.ts +3 -3
  361. package/src/definitions/GetTokenRequest.ts +1 -1
  362. package/src/definitions/GreetingInfo.ts +1 -1
  363. package/src/definitions/InstantMessageEvent.ts +1 -1
  364. package/src/definitions/InstantMessageEventBody.ts +3 -3
  365. package/src/definitions/ListAccountPhoneNumbersParameters.ts +2 -2
  366. package/src/definitions/ListAccountPhoneNumbersV2Parameters.ts +4 -4
  367. package/src/definitions/ListCompanyActiveCallsParameters.ts +1 -1
  368. package/src/definitions/ListCompanyAnsweringRuleInfo.ts +1 -1
  369. package/src/definitions/ListDirectoryEntriesParameters.ts +1 -1
  370. package/src/definitions/ListExtensionActiveCallsParameters.ts +1 -1
  371. package/src/definitions/ListExtensionDevicesParameters.ts +2 -2
  372. package/src/definitions/ListExtensionPhoneNumbersParameters.ts +1 -1
  373. package/src/definitions/ListGlipChatsNewParameters.ts +1 -1
  374. package/src/definitions/ListMessagesParameters.ts +3 -3
  375. package/src/definitions/ListRecentChatsNewParameters.ts +1 -1
  376. package/src/definitions/ListStandardGreetingsParameters.ts +2 -2
  377. package/src/definitions/ListStatesParameters.ts +2 -2
  378. package/src/definitions/ListUserTemplatesParameters.ts +1 -1
  379. package/src/definitions/LocationOwnerInfo.ts +10 -0
  380. package/src/definitions/MessageAttachmentInfoIntId.ts +1 -1
  381. package/src/definitions/MessageEvent.ts +1 -1
  382. package/src/definitions/MessageEventBody.ts +1 -1
  383. package/src/definitions/MessageStoreCallerInfoResponseTo.ts +1 -1
  384. package/src/definitions/ModelInfo.ts +1 -1
  385. package/src/definitions/NetworkInfo.ts +0 -5
  386. package/src/definitions/NotificationSettings.ts +2 -2
  387. package/src/definitions/NotificationSettingsUpdateRequest.ts +3 -3
  388. package/src/definitions/ParameterizedErrorResponseModel.ts +1 -1
  389. package/src/definitions/ParsePhoneNumberParameters.ts +1 -1
  390. package/src/definitions/PartySuperviseRequest.ts +1 -1
  391. package/src/definitions/PartyUpdateInfo.ts +1 -1
  392. package/src/definitions/PermissionIdResource.ts +1 -1
  393. package/src/definitions/PhoneLinesInfo.ts +1 -1
  394. package/src/definitions/PhoneNumberDefinitionNumberId.ts +1 -1
  395. package/src/definitions/PhoneNumberInfoConferencing.ts +2 -2
  396. package/src/definitions/PhoneNumberInfoIntId.ts +2 -2
  397. package/src/definitions/PhoneNumberResource.ts +1 -1
  398. package/src/definitions/PresenceInfoRequest.ts +1 -1
  399. package/src/definitions/PresenceInfoResponse.ts +1 -1
  400. package/src/definitions/PrivateIpRangeInfo.ts +7 -5
  401. package/src/definitions/PrivateIpRangeInfoRequest.ts +5 -0
  402. package/src/definitions/ProfileImageInfo.ts +3 -3
  403. package/src/definitions/PromptInfo.ts +1 -1
  404. package/src/definitions/QueueInfo.ts +10 -4
  405. package/src/definitions/ReadUserCallLogParameters.ts +1 -1
  406. package/src/definitions/ReasonInfo.ts +1 -1
  407. package/src/definitions/RecurrenceInfo.ts +2 -1
  408. package/src/definitions/RemoveLineRequest.ts +5 -4
  409. package/src/definitions/ReplyParty.ts +1 -1
  410. package/src/definitions/RevokeTokenParameters.ts +11 -0
  411. package/src/definitions/RevokeTokenRequest.ts +1 -1
  412. package/src/definitions/RolesBusinessSiteResource.ts +5 -0
  413. package/src/definitions/ScheduleUserMeetingInfo.ts +1 -1
  414. package/src/definitions/ScimResourceTypeResponse.ts +1 -1
  415. package/src/definitions/ScimUser.ts +2 -2
  416. package/src/definitions/ScimUserResponse.ts +2 -2
  417. package/src/definitions/SearchDirectoryEntriesRequest.ts +4 -2
  418. package/src/definitions/ServiceInfoV2.ts +1 -1
  419. package/src/definitions/SessionGlobalListEntry.ts +0 -1
  420. package/src/definitions/ShippingAddressInfo.ts +1 -1
  421. package/src/definitions/ShippingInfo.ts +3 -3
  422. package/src/definitions/SipInfoResponse.ts +5 -0
  423. package/src/definitions/SipRegistrationDeviceEmergencyInfo.ts +1 -1
  424. package/src/definitions/SipRegistrationDeviceInfo.ts +13 -12
  425. package/src/definitions/SipRegistrationDeviceLocationInfo.ts +1 -1
  426. package/src/definitions/SubscriptionInfo.ts +0 -1
  427. package/src/definitions/SummaryUnit.ts +3 -0
  428. package/src/definitions/SuperviseCallSessionRequest.ts +1 -1
  429. package/src/definitions/SuperviseCallSessionResponse.ts +1 -1
  430. package/src/definitions/SwitchInfo.ts +2 -6
  431. package/src/definitions/SyncInfoMessages.ts +1 -1
  432. package/src/definitions/SyncMessagesParameters.ts +3 -3
  433. package/src/definitions/TMChatInfo.ts +1 -1
  434. package/src/definitions/TMConversationInfo.ts +1 -1
  435. package/src/definitions/TMCreateEventRequest.ts +5 -2
  436. package/src/definitions/TMPostInfo.ts +1 -1
  437. package/src/definitions/TMTeamInfo.ts +1 -1
  438. package/src/definitions/TelephonySessionsEventBody.ts +1 -1
  439. package/src/definitions/TemporaryNumberInfo.ts +3 -1
  440. package/src/definitions/TranscribedObject.ts +6 -0
  441. package/src/definitions/UpdateAnsweringRuleRequest.ts +1 -1
  442. package/src/definitions/UpdateContactParameters.ts +2 -2
  443. package/src/definitions/UpdateNetworkRequest.ts +0 -5
  444. package/src/definitions/UpdateSubscriptionRequest.ts +1 -0
  445. package/src/definitions/UpdateSwitchInfo.ts +2 -2
  446. package/src/definitions/UpdateWirelessPoint.ts +2 -2
  447. package/src/definitions/UserPhoneNumberExtensionInfo.ts +1 -1
  448. package/src/definitions/UserPhoneNumberInfo.ts +9 -6
  449. package/src/definitions/UtteranceObject.ts +40 -0
  450. package/src/definitions/VoicemailInfo.ts +1 -1
  451. package/src/definitions/VoicemailMessageEvent.ts +1 -1
  452. package/src/definitions/VoicemailMessageEventBody.ts +3 -3
  453. package/src/definitions/WcsSessionBaseModel.ts +0 -1
  454. package/src/definitions/WcsSessionResource.ts +0 -1
  455. package/src/definitions/WcsSessionWithLocaleCodeModel.ts +0 -1
  456. package/src/definitions/WirelessPointInfo.ts +2 -6
  457. package/src/paths/Ai/Text/V1/Async/Summarize/index.ts +1 -1
  458. package/src/paths/Restapi/Account/BusinessAddress/index.ts +1 -1
  459. package/src/paths/Restapi/Account/EmergencyLocations/index.ts +7 -7
  460. package/src/paths/Restapi/Account/Extension/AddressBook/Contact/index.ts +6 -3
  461. package/src/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.ts +6 -2
  462. package/src/paths/Restapi/Account/Extension/EmergencyLocations/index.ts +10 -9
  463. package/src/paths/Restapi/Account/Extension/Fax/index.ts +1 -1
  464. package/src/paths/Restapi/Account/Extension/Presence/index.ts +7 -13
  465. package/src/paths/Restapi/Account/PhoneNumber/index.ts +2 -2
  466. package/src/paths/Restapi/Oauth/Revoke/index.ts +9 -3
  467. package/src/paths/Restapi/Subscription/index.ts +3 -0
  468. package/src/paths/Restapi/V2/Accounts/Devices/index.ts +5 -5
  469. package/src/paths/Restapi/V2/Accounts/Extensions/Devices/Replace/index.ts +12 -5
  470. package/src/paths/Restapi/V2/Accounts/Extensions/index.ts +1 -0
  471. package/src/paths/Restapi/V2/Accounts/PhoneNumbers/BulkAdd/index.ts +2 -2
  472. package/src/paths/Restapi/V2/Accounts/PhoneNumbers/index.ts +1 -1
  473. package/src/paths/Restapi/V2/Accounts/index.ts +0 -5
  474. package/src/samples.md +910 -933
  475. package/lib/definitions/BulkManageLicensesRequest.d.ts +0 -13
  476. package/lib/definitions/BulkManageLicensesRequest.js.map +0 -1
  477. package/lib/definitions/BulkManageLicensesResponse.d.ts +0 -10
  478. package/lib/definitions/BulkManageLicensesResponse.js.map +0 -1
  479. package/lib/definitions/CreateUserEmergencyLocationRequestAddress.js.map +0 -1
  480. package/lib/definitions/DeviceEmergencyAddressAu.d.ts +0 -81
  481. package/lib/definitions/DeviceEmergencyAddressAu.js.map +0 -1
  482. package/lib/definitions/DeviceEmergencyAddressDefault.d.ts +0 -69
  483. package/lib/definitions/DeviceEmergencyAddressDefault.js.map +0 -1
  484. package/lib/definitions/DeviceEmergencyAddressFr.d.ts +0 -77
  485. package/lib/definitions/DeviceEmergencyAddressFr.js +0 -3
  486. package/lib/definitions/DeviceEmergencyAddressFr.js.map +0 -1
  487. package/lib/definitions/DeviceEmergencyInfoAddress.d.ts +0 -73
  488. package/lib/definitions/DeviceEmergencyInfoAddress.js +0 -3
  489. package/lib/definitions/DeviceEmergencyInfoAddress.js.map +0 -1
  490. package/lib/definitions/EmergencyAddressInfoAu.d.ts +0 -82
  491. package/lib/definitions/EmergencyAddressInfoAu.js.map +0 -1
  492. package/lib/definitions/EmergencyAddressInfoDefault.d.ts +0 -70
  493. package/lib/definitions/EmergencyAddressInfoDefault.js +0 -3
  494. package/lib/definitions/EmergencyAddressInfoDefault.js.map +0 -1
  495. package/lib/definitions/EmergencyAddressInfoFr.d.ts +0 -78
  496. package/lib/definitions/EmergencyAddressInfoFr.js.map +0 -1
  497. package/lib/definitions/EmergencyLocationAddressInfoAu.js +0 -3
  498. package/lib/definitions/EmergencyLocationAddressInfoAu.js.map +0 -1
  499. package/lib/definitions/EmergencyLocationAddressInfoDefault.js +0 -3
  500. package/lib/definitions/EmergencyLocationAddressInfoDefault.js.map +0 -1
  501. package/lib/definitions/EmergencyLocationAddressInfoFr.js +0 -3
  502. package/lib/definitions/EmergencyLocationAddressInfoFr.js.map +0 -1
  503. package/lib/definitions/EmergencyLocationInfoRequestAddress.d.ts +0 -72
  504. package/lib/definitions/EmergencyLocationInfoRequestAddress.js +0 -3
  505. package/lib/definitions/EmergencyLocationInfoRequestAddress.js.map +0 -1
  506. package/lib/definitions/EmergencyLocationResource.js +0 -3
  507. package/lib/definitions/EmergencyLocationResource.js.map +0 -1
  508. package/lib/definitions/EmergencyLocationResourceAddress.js +0 -3
  509. package/lib/definitions/EmergencyLocationResourceAddress.js.map +0 -1
  510. package/lib/definitions/ExtensionCreationRequestCostCenter.d.ts +0 -7
  511. package/lib/definitions/ExtensionCreationRequestCostCenter.js +0 -3
  512. package/lib/definitions/ExtensionCreationRequestCostCenter.js.map +0 -1
  513. package/lib/definitions/ExtensionCreationResponseCostCenter.d.ts +0 -11
  514. package/lib/definitions/ExtensionCreationResponseCostCenter.js +0 -3
  515. package/lib/definitions/ExtensionCreationResponseCostCenter.js.map +0 -1
  516. package/lib/definitions/LicenseAssignmentEntry.d.ts +0 -13
  517. package/lib/definitions/LicenseAssignmentEntry.js.map +0 -1
  518. package/lib/definitions/LicenseAssignmentResponseEntry.d.ts +0 -23
  519. package/lib/definitions/LicenseAssignmentResponseEntry.js +0 -3
  520. package/lib/definitions/LicenseAssignmentResponseEntry.js.map +0 -1
  521. package/lib/definitions/LocationUpdatesEmergencyAddressInfoAu.d.ts +0 -73
  522. package/lib/definitions/LocationUpdatesEmergencyAddressInfoAu.js +0 -3
  523. package/lib/definitions/LocationUpdatesEmergencyAddressInfoAu.js.map +0 -1
  524. package/lib/definitions/LocationUpdatesEmergencyAddressInfoDefault.d.ts +0 -61
  525. package/lib/definitions/LocationUpdatesEmergencyAddressInfoDefault.js +0 -3
  526. package/lib/definitions/LocationUpdatesEmergencyAddressInfoDefault.js.map +0 -1
  527. package/lib/definitions/LocationUpdatesEmergencyAddressInfoFr.d.ts +0 -69
  528. package/lib/definitions/LocationUpdatesEmergencyAddressInfoFr.js +0 -3
  529. package/lib/definitions/LocationUpdatesEmergencyAddressInfoFr.js.map +0 -1
  530. package/lib/definitions/PrivateIpRangeInfoEmergencyAddress.d.ts +0 -67
  531. package/lib/definitions/PrivateIpRangeInfoEmergencyAddress.js +0 -3
  532. package/lib/definitions/PrivateIpRangeInfoEmergencyAddress.js.map +0 -1
  533. package/lib/definitions/SwitchInfoEmergencyAddress.d.ts +0 -75
  534. package/lib/definitions/SwitchInfoEmergencyAddress.js +0 -3
  535. package/lib/definitions/SwitchInfoEmergencyAddress.js.map +0 -1
  536. package/lib/definitions/WirelessPointInfoEmergencyAddress.d.ts +0 -75
  537. package/lib/definitions/WirelessPointInfoEmergencyAddress.js +0 -3
  538. package/lib/definitions/WirelessPointInfoEmergencyAddress.js.map +0 -1
  539. package/lib/paths/Restapi/V2/Accounts/Licenses/BulkAssign/index.d.ts +0 -18
  540. package/lib/paths/Restapi/V2/Accounts/Licenses/BulkAssign/index.js +0 -24
  541. package/lib/paths/Restapi/V2/Accounts/Licenses/BulkAssign/index.js.map +0 -1
  542. package/lib/paths/Restapi/V2/Accounts/Licenses/index.d.ts +0 -10
  543. package/lib/paths/Restapi/V2/Accounts/Licenses/index.js +0 -20
  544. package/lib/paths/Restapi/V2/Accounts/Licenses/index.js.map +0 -1
  545. package/src/definitions/BulkManageLicensesRequest.ts +0 -16
  546. package/src/definitions/BulkManageLicensesResponse.ts +0 -13
  547. package/src/definitions/CreateUserEmergencyLocationRequestAddress.ts +0 -89
  548. package/src/definitions/DeviceEmergencyAddressAu.ts +0 -98
  549. package/src/definitions/DeviceEmergencyAddressDefault.ts +0 -83
  550. package/src/definitions/DeviceEmergencyAddressFr.ts +0 -93
  551. package/src/definitions/DeviceEmergencyInfoAddress.ts +0 -90
  552. package/src/definitions/EmergencyAddressInfoAu.ts +0 -99
  553. package/src/definitions/EmergencyAddressInfoDefault.ts +0 -84
  554. package/src/definitions/EmergencyAddressInfoFr.ts +0 -94
  555. package/src/definitions/ExtensionCreationRequestCostCenter.ts +0 -8
  556. package/src/definitions/ExtensionCreationResponseCostCenter.ts +0 -13
  557. package/src/definitions/LicenseAssignmentEntry.ts +0 -15
  558. package/src/definitions/LicenseAssignmentResponseEntry.ts +0 -28
  559. package/src/definitions/LocationUpdatesEmergencyAddressInfoAu.ts +0 -89
  560. package/src/definitions/LocationUpdatesEmergencyAddressInfoDefault.ts +0 -74
  561. package/src/definitions/LocationUpdatesEmergencyAddressInfoFr.ts +0 -84
  562. package/src/definitions/PrivateIpRangeInfoEmergencyAddress.ts +0 -83
  563. package/src/definitions/SwitchInfoEmergencyAddress.ts +0 -92
  564. package/src/definitions/WirelessPointInfoEmergencyAddress.ts +0 -92
  565. package/src/paths/Restapi/V2/Accounts/Licenses/BulkAssign/index.ts +0 -36
  566. package/src/paths/Restapi/V2/Accounts/Licenses/index.ts +0 -20
@@ -5,7 +5,7 @@ interface TMTeamInfo {
5
5
  id?: string;
6
6
 
7
7
  /**
8
- * Type of a chat
8
+ * Type of chat
9
9
  */
10
10
  type?: 'Team';
11
11
 
@@ -27,7 +27,7 @@ interface TelephonySessionsEventBody {
27
27
  serverId?: string;
28
28
 
29
29
  /**
30
- * The call start datetime in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format including timezone, for example *2016-03-10T18:07:52.534Z*
30
+ * The call start date/time in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format including timezone, for example *2016-03-10T18:07:52.534Z*
31
31
  * Format: date-time
32
32
  */
33
33
  eventTime?: string;
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * Temporary phone number, if any. Returned for phone numbers in `Pending` porting status only
3
+ *
3
4
  */
4
5
  interface TemporaryNumberInfo {
5
6
  /**
@@ -8,7 +9,8 @@ interface TemporaryNumberInfo {
8
9
  id?: string;
9
10
 
10
11
  /**
11
- * Temporary phone number in [E.164](https://www.itu.int/rec/T-REC-E.164-201011-I) (with '+' sign) format
12
+ * Temporary phone number in [E.164](https://www.itu.int/rec/T-REC-E.164-201011-I)
13
+ * (with '+' sign) format
12
14
  */
13
15
  phoneNumber?: string;
14
16
  }
@@ -1,3 +1,4 @@
1
+ import type UtteranceObject from './UtteranceObject';
1
2
  import type WordSegment from './WordSegment';
2
3
 
3
4
  interface TranscribedObject {
@@ -8,6 +9,11 @@ interface TranscribedObject {
8
9
  */
9
10
  speakerCount?: number;
10
11
 
12
+ /**
13
+ * Speaker wise utterances. Field is set only when enableSpeakerDiarization is true.
14
+ */
15
+ utterances?: UtteranceObject[];
16
+
11
17
  /**
12
18
  * Required
13
19
  */
@@ -20,7 +20,7 @@ interface UpdateAnsweringRuleRequest {
20
20
  forwarding?: ForwardingInfoCreateRuleRequest;
21
21
 
22
22
  /**
23
- * Specifies if the rule is active or inactive. The default value is 'True'
23
+ * Specifies if the rule is active or inactive. The default value is `true`
24
24
  */
25
25
  enabled?: boolean;
26
26
 
@@ -3,8 +3,8 @@
3
3
  */
4
4
  interface UpdateContactParameters {
5
5
  /**
6
- * Country code value complying with the [ISO 3166-1 alpha-2](https://ru.wikipedia.org/wiki/ISO_3166-1_alpha-2)
7
- * format. The default value is home country of the current extension
6
+ * Country code value complying with the [ISO 3166-1 alpha-2](https://ru.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
7
+ * The default value is home country of the current extension
8
8
  */
9
9
  dialingPlan?: string;
10
10
  }
@@ -1,7 +1,6 @@
1
1
  import type AutomaticLocationUpdatesSiteInfo from './AutomaticLocationUpdatesSiteInfo';
2
2
  import type PublicIpRangeInfo from './PublicIpRangeInfo';
3
3
  import type PrivateIpRangeInfoRequest from './PrivateIpRangeInfoRequest';
4
- import type ERLLocationInfo from './ERLLocationInfo';
5
4
 
6
5
  interface UpdateNetworkRequest {
7
6
  /**
@@ -28,10 +27,6 @@ interface UpdateNetworkRequest {
28
27
  * Required
29
28
  */
30
29
  privateIpRanges?: PrivateIpRangeInfoRequest[];
31
-
32
- /**
33
- */
34
- emergencyLocation?: ERLLocationInfo;
35
30
  }
36
31
 
37
32
  export default UpdateNetworkRequest;
@@ -16,6 +16,7 @@ interface UpdateSubscriptionRequest {
16
16
  * | `WebSocket` | n/a (the parameter is ignored) |
17
17
  * Minimum: 1
18
18
  * Format: int32
19
+ * Example: 1200
19
20
  */
20
21
  expiresIn?: number;
21
22
  }
@@ -1,5 +1,5 @@
1
1
  import type SwitchSiteInfo from './SwitchSiteInfo';
2
- import type EmergencyAddressInfoDefault from './EmergencyAddressInfoDefault';
2
+ import type EmergencyAddressInfo from './EmergencyAddressInfo';
3
3
 
4
4
  interface UpdateSwitchInfo {
5
5
  /**
@@ -30,7 +30,7 @@ interface UpdateSwitchInfo {
30
30
 
31
31
  /**
32
32
  */
33
- emergencyAddress?: EmergencyAddressInfoDefault;
33
+ emergencyAddress?: EmergencyAddressInfo;
34
34
  }
35
35
 
36
36
  export default UpdateSwitchInfo;
@@ -1,5 +1,5 @@
1
1
  import type EmergencyAddressAutoUpdateSiteInfo from './EmergencyAddressAutoUpdateSiteInfo';
2
- import type EmergencyAddressInfoDefault from './EmergencyAddressInfoDefault';
2
+ import type EmergencyAddressInfo from './EmergencyAddressInfo';
3
3
 
4
4
  interface UpdateWirelessPoint {
5
5
  /**
@@ -25,7 +25,7 @@ interface UpdateWirelessPoint {
25
25
 
26
26
  /**
27
27
  */
28
- emergencyAddress?: EmergencyAddressInfoDefault;
28
+ emergencyAddress?: EmergencyAddressInfo;
29
29
  }
30
30
 
31
31
  export default UpdateWirelessPoint;
@@ -28,7 +28,7 @@ interface UserPhoneNumberExtensionInfo {
28
28
  * created by partner. The RingCentral supports the mapping of accounts and
29
29
  * stores the corresponding account ID/extension ID for each partner ID of
30
30
  * a client application. In request URIs partner IDs are accepted instead
31
- * of regular RingCentral native IDs as path parameters using pid = XXX clause.
31
+ * of regular RingCentral native IDs as path parameters using `pid=XXX` clause.
32
32
  * Though in response URIs contain the corresponding account IDs and extension
33
33
  * IDs. In all request and response bodies these values are reflected via
34
34
  * partnerId attributes of account and extension
@@ -28,7 +28,7 @@ interface UserPhoneNumberInfo {
28
28
  extension?: UserPhoneNumberExtensionInfo;
29
29
 
30
30
  /**
31
- * Custom user name of a phone number, if any
31
+ * Custom user-defined name of a phone number, if any
32
32
  */
33
33
  label?: string;
34
34
 
@@ -38,7 +38,8 @@ interface UserPhoneNumberInfo {
38
38
  location?: string;
39
39
 
40
40
  /**
41
- * Payment type. 'External' is returned for forwarded numbers which are not terminated in the RingCentral phone system
41
+ * Payment type. 'External' is returned for forwarded numbers
42
+ * which are not terminated in the RingCentral phone system
42
43
  */
43
44
  paymentType?: 'External' | 'TollFree' | 'Local' | 'BusinessMobileNumberProvider' | 'ExternalNumberProvider';
44
45
 
@@ -48,12 +49,14 @@ interface UserPhoneNumberInfo {
48
49
  phoneNumber?: string;
49
50
 
50
51
  /**
51
- * Specifies if a phone number is primary, i.e. displayed as 'main number' and called by default
52
+ * Indicates if a phone number is primary, i.e. displayed as 'main number' and called by default
52
53
  */
53
54
  primary?: boolean;
54
55
 
55
56
  /**
56
- * 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
57
+ * Status of a phone number. If the value is 'Normal', the phone
58
+ * number is ready to be used. Otherwise, it is an external number not yet
59
+ * ported to RingCentral
57
60
  */
58
61
  status?: 'Normal' | 'Pending' | 'PortedIn' | 'Temporary';
59
62
 
@@ -63,12 +66,12 @@ interface UserPhoneNumberInfo {
63
66
  type?: 'VoiceFax' | 'FaxOnly' | 'VoiceOnly';
64
67
 
65
68
  /**
66
- * Extension sub-type, if applicable. For any unsupported sub-types the 'Unknown' value will be returned
69
+ * Extension subtype, if applicable. For any unsupported subtypes the 'Unknown' value will be returned
67
70
  */
68
71
  subType?: 'VideoPro' | 'VideoProPlus' | 'DigitalSignage' | 'Unknown';
69
72
 
70
73
  /**
71
- * Usage type of a phone number. Numbers of 'NumberPool' type will not be returned for phone number list requests
74
+ * Usage type of phone number. Numbers of 'NumberPool' type will not be returned for phone number list requests
72
75
  */
73
76
  usageType?:
74
77
  | 'MainCompanyNumber'
@@ -0,0 +1,40 @@
1
+ import type WordTimingsUnit from './WordTimingsUnit';
2
+
3
+ interface UtteranceObject {
4
+ /**
5
+ * Required
6
+ * Format: float
7
+ * Example: 0.3
8
+ */
9
+ start?: number;
10
+
11
+ /**
12
+ * Required
13
+ * Format: float
14
+ * Example: 5.1
15
+ */
16
+ end?: number;
17
+
18
+ /**
19
+ * Required
20
+ * Example: Hello! This is John.
21
+ */
22
+ text?: string;
23
+
24
+ /**
25
+ * Format: float
26
+ * Example: 0.97
27
+ */
28
+ confidence?: number;
29
+
30
+ /**
31
+ * Example: JohnDoe
32
+ */
33
+ speakerId?: string;
34
+
35
+ /**
36
+ */
37
+ wordTimings?: WordTimingsUnit[];
38
+ }
39
+
40
+ export default UtteranceObject;
@@ -5,7 +5,7 @@ import type RecipientInfo from './RecipientInfo';
5
5
  */
6
6
  interface VoicemailInfo {
7
7
  /**
8
- * If 'True' then voicemails are allowed to be received
8
+ * If `true` then voicemails are allowed to be received
9
9
  */
10
10
  enabled?: boolean;
11
11
 
@@ -12,7 +12,7 @@ interface VoicemailMessageEvent {
12
12
  event?: string;
13
13
 
14
14
  /**
15
- * Datetime of sending a notification in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format including timezone, for example *2016-03-10T18:07:52.534Z*
15
+ * Date/time of sending a notification in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format including timezone, for example *2016-03-10T18:07:52.534Z*
16
16
  */
17
17
  timestamp?: string;
18
18
 
@@ -21,19 +21,19 @@ interface VoicemailMessageEventBody {
21
21
  from?: SenderInfo;
22
22
 
23
23
  /**
24
- * Type of a message
24
+ * Type of message
25
25
  */
26
26
  type?: 'Voicemail';
27
27
 
28
28
  /**
29
- * Message creation datetime in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
29
+ * Message creation date/time in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
30
30
  * format including timezone, for example *2019-03-10T18:07:52.534Z*
31
31
  * Format: date-time
32
32
  */
33
33
  creationTime?: string;
34
34
 
35
35
  /**
36
- * Datetime when a message was modified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
36
+ * Date/time when a message was modified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
37
37
  * format including timezone, for example *2019-03-10T18:07:52.534Z*
38
38
  * Format: date-time
39
39
  */
@@ -25,7 +25,6 @@ interface WcsSessionBaseModel {
25
25
 
26
26
  /**
27
27
  * Localized time zone description.
28
- * Required
29
28
  * Example: Eastern Time (America/New_York)
30
29
  */
31
30
  localizedTimeZoneDescription?: string;
@@ -45,7 +45,6 @@ interface WcsSessionResource {
45
45
 
46
46
  /**
47
47
  * Localized time zone description.
48
- * Required
49
48
  * Example: Eastern Time (America/New_York)
50
49
  */
51
50
  localizedTimeZoneDescription?: string;
@@ -25,7 +25,6 @@ interface WcsSessionWithLocaleCodeModel {
25
25
 
26
26
  /**
27
27
  * Localized time zone description.
28
- * Required
29
28
  * Example: Eastern Time (America/New_York)
30
29
  */
31
30
  localizedTimeZoneDescription?: string;
@@ -1,5 +1,5 @@
1
1
  import type EmergencyAddressAutoUpdateSiteInfo from './EmergencyAddressAutoUpdateSiteInfo';
2
- import type WirelessPointInfoEmergencyAddress from './WirelessPointInfoEmergencyAddress';
2
+ import type EmergencyAddressInfo from './EmergencyAddressInfo';
3
3
  import type ERLLocationInfo from './ERLLocationInfo';
4
4
 
5
5
  interface WirelessPointInfo {
@@ -31,13 +31,9 @@ interface WirelessPointInfo {
31
31
  site?: EmergencyAddressAutoUpdateSiteInfo;
32
32
 
33
33
  /**
34
- * Emergency address information (or information assigned to the
35
- * switch or wireless point - in case of using them). Only one of a pair
36
- * `emergencyAddress` or `emergencyLocationId` should be specified,
37
- * otherwise an error is returned
38
34
  * Required
39
35
  */
40
- emergencyAddress?: WirelessPointInfoEmergencyAddress;
36
+ emergencyAddress?: EmergencyAddressInfo;
41
37
 
42
38
  /**
43
39
  */
@@ -15,7 +15,7 @@ class Index {
15
15
  return `${this._parent.path()}/summarize`;
16
16
  }
17
17
  /**
18
- * Returns Conversational Summarization to webhook uri.
18
+ * Returns Conversational Summarization to webhook uri for segmented transcript of audios with start,end,speakerId, text(alphanumeric and punctuations).
19
19
  * HTTP Method: post
20
20
  * Endpoint: /ai/text/v1/async/summarize
21
21
  * Rate Limit Group: Heavy
@@ -29,7 +29,7 @@ class Index {
29
29
 
30
30
  /**
31
31
  * Updates the business address of a company that account is linked
32
- * to. Batch request is supported.
32
+ * to.
33
33
  *
34
34
  * HTTP Method: put
35
35
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/business-address
@@ -1,6 +1,6 @@
1
1
  import type DeleteEmergencyLocationParameters from '../../../../definitions/DeleteEmergencyLocationParameters';
2
2
  import type ReadEmergencyLocationParameters from '../../../../definitions/ReadEmergencyLocationParameters';
3
- import type EmergencyLocationResource from '../../../../definitions/EmergencyLocationResource';
3
+ import type CommonEmergencyLocationResource from '../../../../definitions/CommonEmergencyLocationResource';
4
4
  import type EmergencyLocationInfoRequest from '../../../../definitions/EmergencyLocationInfoRequest';
5
5
  import type EmergencyLocationsResource from '../../../../definitions/EmergencyLocationsResource';
6
6
  import type ListEmergencyLocationsParameters from '../../../../definitions/ListEmergencyLocationsParameters';
@@ -49,8 +49,8 @@ class Index {
49
49
  public async post(
50
50
  emergencyLocationInfoRequest: EmergencyLocationInfoRequest,
51
51
  restRequestConfig?: RestRequestConfig,
52
- ): Promise<EmergencyLocationResource> {
53
- const r = await this.rc.post<EmergencyLocationResource>(
52
+ ): Promise<CommonEmergencyLocationResource> {
53
+ const r = await this.rc.post<CommonEmergencyLocationResource>(
54
54
  this.path(false),
55
55
  emergencyLocationInfoRequest,
56
56
  undefined,
@@ -70,11 +70,11 @@ class Index {
70
70
  public async get(
71
71
  queryParams?: ReadEmergencyLocationParameters,
72
72
  restRequestConfig?: RestRequestConfig,
73
- ): Promise<EmergencyLocationResource> {
73
+ ): Promise<CommonEmergencyLocationResource> {
74
74
  if (this.locationId === null) {
75
75
  throw new Error('locationId must be specified.');
76
76
  }
77
- const r = await this.rc.get<EmergencyLocationResource>(this.path(), queryParams, restRequestConfig);
77
+ const r = await this.rc.get<CommonEmergencyLocationResource>(this.path(), queryParams, restRequestConfig);
78
78
  return r.data;
79
79
  }
80
80
 
@@ -89,11 +89,11 @@ class Index {
89
89
  public async put(
90
90
  emergencyLocationInfoRequest: EmergencyLocationInfoRequest,
91
91
  restRequestConfig?: RestRequestConfig,
92
- ): Promise<EmergencyLocationResource> {
92
+ ): Promise<CommonEmergencyLocationResource> {
93
93
  if (this.locationId === null) {
94
94
  throw new Error('locationId must be specified.');
95
95
  }
96
- const r = await this.rc.put<EmergencyLocationResource>(
96
+ const r = await this.rc.put<CommonEmergencyLocationResource>(
97
97
  this.path(),
98
98
  emergencyLocationInfoRequest,
99
99
  undefined,
@@ -61,7 +61,8 @@ class Index {
61
61
  }
62
62
 
63
63
  /**
64
- * Returns the user personal contact(s). Batch request syntax is supported.
64
+ * Returns the user personal contact(s).
65
+ * [Batch request syntax](https://developers.ringcentral.com/api-reference/Batch-Requests) is supported.
65
66
  *
66
67
  * HTTP Method: get
67
68
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/address-book/contact/{contactId}
@@ -78,7 +79,8 @@ class Index {
78
79
  }
79
80
 
80
81
  /**
81
- * Updates the user personal contact(s) (full resource update). Batch request syntax is supported
82
+ * Updates the user personal contact(s) (full resource update).
83
+ * [Batch request syntax](https://developers.ringcentral.com/api-reference/Batch-Requests) is supported.
82
84
  *
83
85
  * HTTP Method: put
84
86
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/address-book/contact/{contactId}
@@ -104,7 +106,8 @@ class Index {
104
106
  }
105
107
 
106
108
  /**
107
- * Deletes the user personal contact(s). Batch request syntax is supported.
109
+ * Deletes the user personal contact(s).
110
+ * [Batch request syntax](https://developers.ringcentral.com/api-reference/Batch-Requests) is supported.
108
111
  *
109
112
  * HTTP Method: delete
110
113
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/address-book/contact/{contactId}
@@ -58,7 +58,9 @@ class Index {
58
58
  }
59
59
 
60
60
  /**
61
- * Returns blocked or allowed phone number(s) by their ID(s). Batch request is supported.
61
+ * Returns blocked or allowed phone number(s) by their ID(s).
62
+ * [Batch request syntax](https://developers.ringcentral.com/api-reference/Batch-Requests) is supported.
63
+ *
62
64
  * HTTP Method: get
63
65
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/caller-blocking/phone-numbers/{blockedNumberId}
64
66
  * Rate Limit Group: Light
@@ -74,7 +76,9 @@ class Index {
74
76
  }
75
77
 
76
78
  /**
77
- * Updates blocked or allowed phone number(s) by their ID(s). Batch request is supported.
79
+ * Updates blocked or allowed phone number(s) by their ID(s).
80
+ * [Batch request syntax](https://developers.ringcentral.com/api-reference/Batch-Requests) is supported.
81
+ *
78
82
  * HTTP Method: put
79
83
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/caller-blocking/phone-numbers/{blockedNumberId}
80
84
  * Rate Limit Group: Medium
@@ -1,5 +1,6 @@
1
1
  import type DeleteExtensionEmergencyLocationParameters from '../../../../../definitions/DeleteExtensionEmergencyLocationParameters';
2
- import type EmergencyLocationResource from '../../../../../definitions/EmergencyLocationResource';
2
+ import type EmergencyLocationInfoRequest from '../../../../../definitions/EmergencyLocationInfoRequest';
3
+ import type CommonEmergencyLocationResource from '../../../../../definitions/CommonEmergencyLocationResource';
3
4
  import type CreateUserEmergencyLocationRequest from '../../../../../definitions/CreateUserEmergencyLocationRequest';
4
5
  import type EmergencyLocationsResource from '../../../../../definitions/EmergencyLocationsResource';
5
6
  import type GetExtensionEmergencyLocationsParameters from '../../../../../definitions/GetExtensionEmergencyLocationsParameters';
@@ -47,8 +48,8 @@ class Index {
47
48
  public async post(
48
49
  createUserEmergencyLocationRequest: CreateUserEmergencyLocationRequest,
49
50
  restRequestConfig?: RestRequestConfig,
50
- ): Promise<EmergencyLocationResource> {
51
- const r = await this.rc.post<EmergencyLocationResource>(
51
+ ): Promise<CommonEmergencyLocationResource> {
52
+ const r = await this.rc.post<CommonEmergencyLocationResource>(
52
53
  this.path(false),
53
54
  createUserEmergencyLocationRequest,
54
55
  undefined,
@@ -64,11 +65,11 @@ class Index {
64
65
  * Rate Limit Group: Light
65
66
  * App Permission: ReadAccounts
66
67
  */
67
- public async get(restRequestConfig?: RestRequestConfig): Promise<EmergencyLocationResource> {
68
+ public async get(restRequestConfig?: RestRequestConfig): Promise<CommonEmergencyLocationResource> {
68
69
  if (this.locationId === null) {
69
70
  throw new Error('locationId must be specified.');
70
71
  }
71
- const r = await this.rc.get<EmergencyLocationResource>(this.path(), undefined, restRequestConfig);
72
+ const r = await this.rc.get<CommonEmergencyLocationResource>(this.path(), undefined, restRequestConfig);
72
73
  return r.data;
73
74
  }
74
75
 
@@ -82,15 +83,15 @@ class Index {
82
83
  * User Permission: EmergencyFramework
83
84
  */
84
85
  public async put(
85
- emergencyLocationResource: EmergencyLocationResource,
86
+ emergencyLocationInfoRequest: EmergencyLocationInfoRequest,
86
87
  restRequestConfig?: RestRequestConfig,
87
- ): Promise<EmergencyLocationResource> {
88
+ ): Promise<CommonEmergencyLocationResource> {
88
89
  if (this.locationId === null) {
89
90
  throw new Error('locationId must be specified.');
90
91
  }
91
- const r = await this.rc.put<EmergencyLocationResource>(
92
+ const r = await this.rc.put<CommonEmergencyLocationResource>(
92
93
  this.path(),
93
- emergencyLocationResource,
94
+ emergencyLocationInfoRequest,
94
95
  undefined,
95
96
  restRequestConfig,
96
97
  );
@@ -15,7 +15,7 @@ class Index {
15
15
  return `${this._parent.path()}/fax`;
16
16
  }
17
17
  /**
18
- * Creates and sends/resends a fax message. Resend can be implemented
18
+ * Creates and sends/re-sends a fax message. Re-send can be implemented
19
19
  * if sending has failed. Fax attachment size (both single and total) is
20
20
  * limited to 50Mb.
21
21
  *
@@ -16,19 +16,13 @@ class Index {
16
16
  return `${this._parent.path()}/presence`;
17
17
  }
18
18
  /**
19
- * Returns the presence status of an extension or several extensions
20
- * by their ID(s). Batch request is supported. The `presenceStatus` is returned
21
- * as Offline (the parameters `telephonyStatus`, `message`, `userStatus`
22
- * and `dndStatus` are not returned at all) for the following extension types:
23
- * Department/Announcement Only/Take Messages Only (Voicemail)/Fax User/Paging
24
- * Only Group/Shared Lines Group/IVR Menu/Application Extension/Park Location.If
25
- * the user requests his/her own presence status, the response contains actual
26
- * presence status even if the status publication is turned off. Batch request
27
- * is supported. For batch requests the number of extensions in one request is
28
- * limited to 30. If more extensions are included in the request, the error code
29
- * 400 Bad Request is returned with the logical error code InvalidMultipartRequest
30
- * and the corresponding message Extension Presence Info multipart request
31
- * is limited to 30 extensions.
19
+ * Returns the presence status of an extension or several extensions by their ID(s). The `presenceStatus` is returned as Offline
20
+ * (the parameters `telephonyStatus`, `message`, `userStatus` and `dndStatus` are not returned at all) for the following extension types:
21
+ * Department/Announcement Only/Take Messages Only (Voicemail)/Fax User/Paging Only Group/Shared Lines Group/IVR Menu/Application Extension/Park Location.
22
+ * If the user requests his/her own presence status, the response contains actual presence status even if the status publication is turned off.
23
+ * [Batch request syntax](https://developers.ringcentral.com/api-reference/Batch-Requests) is supported. For batch requests the number of extensions
24
+ * in one request is limited to 30. If more extensions are included in the request, the error code 400 Bad Request is returned with the logical error
25
+ * code InvalidMultipartRequest and the corresponding message Extension Presence Info multipart request is limited to 30 extensions.
32
26
  *
33
27
  * HTTP Method: get
34
28
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/presence
@@ -38,8 +38,8 @@ class Index {
38
38
  }
39
39
 
40
40
  /**
41
- * Returns phone number(s) belonging to a certain account or extension
42
- * by phoneNumberId(s). Batch request is supported.
41
+ * Returns phone number(s) belonging to a certain account or extension by phoneNumberId(s).
42
+ * [Batch request syntax](https://developers.ringcentral.com/api-reference/Batch-Requests) is supported.
43
43
  *
44
44
  * HTTP Method: get
45
45
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/phone-number/{phoneNumberId}
@@ -1,3 +1,4 @@
1
+ import type RevokeTokenParameters from '../../../../definitions/RevokeTokenParameters';
1
2
  import type RevokeTokenRequest from '../../../../definitions/RevokeTokenRequest';
2
3
  import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../types';
3
4
 
@@ -13,7 +14,8 @@ class Index {
13
14
  return `${this._parent.path()}/revoke`;
14
15
  }
15
16
  /**
16
- * Revokes previously issued access and refresh token.
17
+ * Revokes all active access/refresh tokens and invalidates the OAuth session basing on token provided.
18
+ * `token` parameter may be passed in query string or body and may represent access or refresh token.
17
19
  *
18
20
  * Depending on client application type
19
21
  * requests to this endpoint may require authentication with HTTP Basic scheme
@@ -23,8 +25,12 @@ class Index {
23
25
  * Endpoint: /restapi/oauth/revoke
24
26
  * Rate Limit Group: Auth
25
27
  */
26
- public async post(revokeTokenRequest: RevokeTokenRequest, restRequestConfig?: RestRequestConfig): Promise<string> {
27
- const r = await this.rc.post<string>(this.path(), revokeTokenRequest, undefined, restRequestConfig);
28
+ public async post(
29
+ revokeTokenRequest: RevokeTokenRequest,
30
+ queryParams?: RevokeTokenParameters,
31
+ restRequestConfig?: RestRequestConfig,
32
+ ): Promise<string> {
33
+ const r = await this.rc.post<string>(this.path(), revokeTokenRequest, queryParams, restRequestConfig);
28
34
  return r.data;
29
35
  }
30
36
  }
@@ -110,6 +110,9 @@ class Index {
110
110
  * If the request body is empty then the specified subscription will be renewed without any
111
111
  * event filter modifications and using the default expiration time.
112
112
  *
113
+ * If the request is sent with empty body, it just renews a subscription
114
+ * (so it is an equivalent of the `POST /restapi/v1.0/subscription/{subscriptionId}/renew`).
115
+ *
113
116
  * Please note that `WebSocket` subscriptions cannot be updated via HTTP interface.
114
117
  *
115
118
  * HTTP Method: put
@@ -20,12 +20,12 @@ class Index {
20
20
  return `${this._parent.path()}/devices`;
21
21
  }
22
22
  /**
23
- * Disassociates phone line (DL & Device) from an extension.
24
- * - if value ```keepAssetsInInventory == true```,
23
+ * Disassociates a phone line (DL & Device) from an extension:
24
+ *
25
+ * - if the value of `keepAssetsInInventory` is `true`,
25
26
  * the given device is moved to unassigned devices and the number is moved to the number inventory;
26
- * - if value ```keepAssetsInInventory == false```, the given device and number is removed from the account;
27
- * - if the parameter keepAssetsInInventory is not set (empty body),
28
- * default value ```keepAssetsInInventory == true``` is used.
27
+ * - if the value of `keepAssetsInInventory` is `false`, the given device and number is removed from the account;
28
+ * - if the parameter `keepAssetsInInventory` is not set (empty body), default value `true` is set.
29
29
  *
30
30
  * HTTP Method: delete
31
31
  * Endpoint: /restapi/v2/accounts/{accountId}/devices/{deviceId}