@rc-ex/core 1.3.6 → 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 (729) 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/Audio/V1/Enrollments/index.js +1 -1
  217. package/lib/paths/Ai/Audio/V1/Enrollments/index.js.map +1 -1
  218. package/lib/paths/Ai/Text/V1/Async/Summarize/index.d.ts +1 -1
  219. package/lib/paths/Ai/Text/V1/Async/Summarize/index.js +1 -1
  220. package/lib/paths/Rcvideo/V2/Bridges/index.js +1 -1
  221. package/lib/paths/Rcvideo/V2/Bridges/index.js.map +1 -1
  222. package/lib/paths/Restapi/Account/AnsweringRule/index.js +1 -1
  223. package/lib/paths/Restapi/Account/AnsweringRule/index.js.map +1 -1
  224. package/lib/paths/Restapi/Account/BusinessAddress/index.d.ts +1 -1
  225. package/lib/paths/Restapi/Account/BusinessAddress/index.js +1 -1
  226. package/lib/paths/Restapi/Account/CallMonitoringGroups/index.js +1 -1
  227. package/lib/paths/Restapi/Account/CallMonitoringGroups/index.js.map +1 -1
  228. package/lib/paths/Restapi/Account/CallRecording/CustomGreetings/index.js +2 -2
  229. package/lib/paths/Restapi/Account/CallRecording/CustomGreetings/index.js.map +1 -1
  230. package/lib/paths/Restapi/Account/CustomFields/index.js +1 -1
  231. package/lib/paths/Restapi/Account/CustomFields/index.js.map +1 -1
  232. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Networks/index.js +1 -1
  233. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Networks/index.js.map +1 -1
  234. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Switches/index.js +1 -1
  235. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/Switches/index.js.map +1 -1
  236. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/WirelessPoints/index.js +1 -1
  237. package/lib/paths/Restapi/Account/EmergencyAddressAutoUpdate/WirelessPoints/index.js.map +1 -1
  238. package/lib/paths/Restapi/Account/EmergencyLocations/index.d.ts +4 -4
  239. package/lib/paths/Restapi/Account/EmergencyLocations/index.js +1 -1
  240. package/lib/paths/Restapi/Account/EmergencyLocations/index.js.map +1 -1
  241. package/lib/paths/Restapi/Account/Extension/AddressBook/Contact/index.d.ts +6 -3
  242. package/lib/paths/Restapi/Account/Extension/AddressBook/Contact/index.js +7 -4
  243. package/lib/paths/Restapi/Account/Extension/AddressBook/Contact/index.js.map +1 -1
  244. package/lib/paths/Restapi/Account/Extension/AnsweringRule/index.js +1 -1
  245. package/lib/paths/Restapi/Account/Extension/AnsweringRule/index.js.map +1 -1
  246. package/lib/paths/Restapi/Account/Extension/AssignedRole/Default/index.js +1 -1
  247. package/lib/paths/Restapi/Account/Extension/AssignedRole/Default/index.js.map +1 -1
  248. package/lib/paths/Restapi/Account/Extension/CallLog/index.js +1 -1
  249. package/lib/paths/Restapi/Account/Extension/CallLog/index.js.map +1 -1
  250. package/lib/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.d.ts +6 -2
  251. package/lib/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.js +7 -3
  252. package/lib/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.js.map +1 -1
  253. package/lib/paths/Restapi/Account/Extension/EmergencyLocations/index.d.ts +5 -4
  254. package/lib/paths/Restapi/Account/Extension/EmergencyLocations/index.js +3 -3
  255. package/lib/paths/Restapi/Account/Extension/EmergencyLocations/index.js.map +1 -1
  256. package/lib/paths/Restapi/Account/Extension/Fax/index.d.ts +1 -1
  257. package/lib/paths/Restapi/Account/Extension/Fax/index.js +1 -1
  258. package/lib/paths/Restapi/Account/Extension/ForwardingNumber/index.js +1 -1
  259. package/lib/paths/Restapi/Account/Extension/ForwardingNumber/index.js.map +1 -1
  260. package/lib/paths/Restapi/Account/Extension/MessageStore/index.js +1 -1
  261. package/lib/paths/Restapi/Account/Extension/MessageStore/index.js.map +1 -1
  262. package/lib/paths/Restapi/Account/Extension/Presence/index.d.ts +7 -13
  263. package/lib/paths/Restapi/Account/Extension/Presence/index.js +7 -13
  264. package/lib/paths/Restapi/Account/Extension/Presence/index.js.map +1 -1
  265. package/lib/paths/Restapi/Account/Extension/ProfileImage/index.js +1 -1
  266. package/lib/paths/Restapi/Account/Extension/ProfileImage/index.js.map +1 -1
  267. package/lib/paths/Restapi/Account/Extension/RingOut/index.js +1 -1
  268. package/lib/paths/Restapi/Account/Extension/RingOut/index.js.map +1 -1
  269. package/lib/paths/Restapi/Account/IvrPrompts/index.js +1 -1
  270. package/lib/paths/Restapi/Account/IvrPrompts/index.js.map +1 -1
  271. package/lib/paths/Restapi/Account/PhoneNumber/index.d.ts +2 -2
  272. package/lib/paths/Restapi/Account/PhoneNumber/index.js +2 -2
  273. package/lib/paths/Restapi/Account/Sites/index.js +1 -1
  274. package/lib/paths/Restapi/Account/Sites/index.js.map +1 -1
  275. package/lib/paths/Restapi/Account/Telephony/Conference/index.js +1 -1
  276. package/lib/paths/Restapi/Account/Telephony/Conference/index.js.map +1 -1
  277. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Park/index.js +1 -1
  278. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Park/index.js.map +1 -1
  279. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Recordings/index.js +1 -1
  280. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Recordings/index.js.map +1 -1
  281. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Reject/index.js +1 -1
  282. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Reject/index.js.map +1 -1
  283. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Unhold/index.js +1 -1
  284. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Unhold/index.js.map +1 -1
  285. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/index.js +1 -1
  286. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/index.js.map +1 -1
  287. package/lib/paths/Restapi/Account/Telephony/Sessions/index.js +1 -1
  288. package/lib/paths/Restapi/Account/Telephony/Sessions/index.js.map +1 -1
  289. package/lib/paths/Restapi/Account/UserRole/index.js +1 -1
  290. package/lib/paths/Restapi/Account/UserRole/index.js.map +1 -1
  291. package/lib/paths/Restapi/Oauth/Revoke/index.d.ts +4 -2
  292. package/lib/paths/Restapi/Oauth/Revoke/index.js +4 -3
  293. package/lib/paths/Restapi/Oauth/Revoke/index.js.map +1 -1
  294. package/lib/paths/Restapi/Subscription/Renew/index.js +1 -1
  295. package/lib/paths/Restapi/Subscription/Renew/index.js.map +1 -1
  296. package/lib/paths/Restapi/Subscription/index.d.ts +3 -0
  297. package/lib/paths/Restapi/Subscription/index.js +4 -1
  298. package/lib/paths/Restapi/Subscription/index.js.map +1 -1
  299. package/lib/paths/Restapi/V2/Accounts/Devices/index.d.ts +5 -5
  300. package/lib/paths/Restapi/V2/Accounts/Devices/index.js +5 -5
  301. package/lib/paths/Restapi/V2/Accounts/Extensions/Devices/Replace/index.d.ts +12 -5
  302. package/lib/paths/Restapi/V2/Accounts/Extensions/Devices/Replace/index.js +12 -5
  303. package/lib/paths/Restapi/V2/Accounts/Extensions/Devices/Replace/index.js.map +1 -1
  304. package/lib/paths/Restapi/V2/Accounts/Extensions/index.d.ts +1 -0
  305. package/lib/paths/Restapi/V2/Accounts/Extensions/index.js +1 -0
  306. package/lib/paths/Restapi/V2/Accounts/Extensions/index.js.map +1 -1
  307. package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/BulkAdd/index.d.ts +2 -2
  308. package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/BulkAdd/index.js +2 -2
  309. package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/index.d.ts +1 -1
  310. package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/index.js +1 -1
  311. package/lib/paths/Restapi/V2/Accounts/SendActivationEmail/index.js +1 -1
  312. package/lib/paths/Restapi/V2/Accounts/SendActivationEmail/index.js.map +1 -1
  313. package/lib/paths/Restapi/V2/Accounts/index.d.ts +0 -2
  314. package/lib/paths/Restapi/V2/Accounts/index.js +0 -4
  315. package/lib/paths/Restapi/V2/Accounts/index.js.map +1 -1
  316. package/lib/paths/Scim/Users/index.js +1 -1
  317. package/lib/paths/Scim/Users/index.js.map +1 -1
  318. package/lib/paths/TeamMessaging/V1/AdaptiveCards/index.js +1 -1
  319. package/lib/paths/TeamMessaging/V1/AdaptiveCards/index.js.map +1 -1
  320. package/lib/paths/TeamMessaging/V1/Chats/Favorite/index.js +1 -1
  321. package/lib/paths/TeamMessaging/V1/Chats/Favorite/index.js.map +1 -1
  322. package/lib/paths/TeamMessaging/V1/Chats/Posts/index.js +1 -1
  323. package/lib/paths/TeamMessaging/V1/Chats/Posts/index.js.map +1 -1
  324. package/lib/paths/TeamMessaging/V1/Chats/Unfavorite/index.js +1 -1
  325. package/lib/paths/TeamMessaging/V1/Chats/Unfavorite/index.js.map +1 -1
  326. package/lib/paths/TeamMessaging/V1/Events/index.js +1 -1
  327. package/lib/paths/TeamMessaging/V1/Events/index.js.map +1 -1
  328. package/lib/paths/TeamMessaging/V1/Groups/Webhooks/index.js +1 -1
  329. package/lib/paths/TeamMessaging/V1/Groups/Webhooks/index.js.map +1 -1
  330. package/lib/paths/TeamMessaging/V1/Notes/Lock/index.js +1 -1
  331. package/lib/paths/TeamMessaging/V1/Notes/Lock/index.js.map +1 -1
  332. package/lib/paths/TeamMessaging/V1/Notes/Publish/index.js +1 -1
  333. package/lib/paths/TeamMessaging/V1/Notes/Publish/index.js.map +1 -1
  334. package/lib/paths/TeamMessaging/V1/Notes/Unlock/index.js +1 -1
  335. package/lib/paths/TeamMessaging/V1/Notes/Unlock/index.js.map +1 -1
  336. package/lib/paths/TeamMessaging/V1/Notes/index.js +1 -1
  337. package/lib/paths/TeamMessaging/V1/Notes/index.js.map +1 -1
  338. package/lib/paths/TeamMessaging/V1/Tasks/index.js +1 -1
  339. package/lib/paths/TeamMessaging/V1/Tasks/index.js.map +1 -1
  340. package/lib/paths/TeamMessaging/V1/Teams/Archive/index.js +1 -1
  341. package/lib/paths/TeamMessaging/V1/Teams/Archive/index.js.map +1 -1
  342. package/lib/paths/TeamMessaging/V1/Teams/Join/index.js +1 -1
  343. package/lib/paths/TeamMessaging/V1/Teams/Join/index.js.map +1 -1
  344. package/lib/paths/TeamMessaging/V1/Teams/Leave/index.js +1 -1
  345. package/lib/paths/TeamMessaging/V1/Teams/Leave/index.js.map +1 -1
  346. package/lib/paths/TeamMessaging/V1/Teams/Unarchive/index.js +1 -1
  347. package/lib/paths/TeamMessaging/V1/Teams/Unarchive/index.js.map +1 -1
  348. package/lib/paths/TeamMessaging/V1/Teams/index.js +1 -1
  349. package/lib/paths/TeamMessaging/V1/Teams/index.js.map +1 -1
  350. package/lib/paths/TeamMessaging/V1/Webhooks/Activate/index.js +1 -1
  351. package/lib/paths/TeamMessaging/V1/Webhooks/Activate/index.js.map +1 -1
  352. package/lib/paths/TeamMessaging/V1/Webhooks/Suspend/index.js +1 -1
  353. package/lib/paths/TeamMessaging/V1/Webhooks/Suspend/index.js.map +1 -1
  354. package/lib/paths/TeamMessaging/V1/Webhooks/index.js +1 -1
  355. package/lib/paths/TeamMessaging/V1/Webhooks/index.js.map +1 -1
  356. package/lib/paths/Webinar/Configuration/V1/Webinars/Sessions/Invitees/index.js +1 -1
  357. package/lib/paths/Webinar/Configuration/V1/Webinars/Sessions/Invitees/index.js.map +1 -1
  358. package/lib/paths/Webinar/Configuration/V1/Webinars/Sessions/index.js +1 -1
  359. package/lib/paths/Webinar/Configuration/V1/Webinars/Sessions/index.js.map +1 -1
  360. package/lib/paths/Webinar/Configuration/V1/Webinars/index.js +1 -1
  361. package/lib/paths/Webinar/Configuration/V1/Webinars/index.js.map +1 -1
  362. package/lib/paths/Webinar/Notifications/V1/Subscriptions/Renew/index.js +1 -1
  363. package/lib/paths/Webinar/Notifications/V1/Subscriptions/Renew/index.js.map +1 -1
  364. package/lib/paths/Webinar/Notifications/V1/Subscriptions/index.js +1 -1
  365. package/lib/paths/Webinar/Notifications/V1/Subscriptions/index.js.map +1 -1
  366. package/lib/paths/Webinar/Registration/V1/Sessions/Registrants/index.js +1 -1
  367. package/lib/paths/Webinar/Registration/V1/Sessions/Registrants/index.js.map +1 -1
  368. package/package.json +4 -4
  369. package/src/definitions/ADGError.ts +1 -1
  370. package/src/definitions/AccountOperatorInfo.ts +11 -0
  371. package/src/definitions/AccountPhoneNumberInfo.ts +3 -3
  372. package/src/definitions/AccountPresenceEventBody.ts +3 -3
  373. package/src/definitions/AccountTelephonySessionsEvent.ts +1 -1
  374. package/src/definitions/AddPhoneNumberRequestItem.ts +2 -2
  375. package/src/definitions/AddressBookBulkUploadResponse.ts +2 -2
  376. package/src/definitions/ApiErrorResponseModel.ts +1 -1
  377. package/src/definitions/AsrApiResponseResponse.ts +6 -0
  378. package/src/definitions/AssignPhoneNumberRequest.ts +2 -2
  379. package/src/definitions/AuthorizeRequest.ts +2 -1
  380. package/src/definitions/AutomaticLocationUpdatesTaskInfo.ts +1 -1
  381. package/src/definitions/BaseCallLogRecord.ts +7 -2
  382. package/src/definitions/BlockedCallerGreetingInfo.ts +1 -1
  383. package/src/definitions/BridgeResponse.ts +1 -1
  384. package/src/definitions/BulkAddDevicesItem.ts +1 -1
  385. package/src/definitions/BulkDeleteUsersRequest.ts +2 -2
  386. package/src/definitions/BulkOperationExtensionReference.ts +1 -1
  387. package/src/definitions/CallLogRecord.ts +7 -2
  388. package/src/definitions/CallLogRecordLegInfo.ts +7 -2
  389. package/src/definitions/CallLogRecordMessage.ts +1 -1
  390. package/src/definitions/CallParty.ts +2 -2
  391. package/src/definitions/CallQueueExtensionInfo.ts +1 -1
  392. package/src/definitions/{EmergencyLocationResourceAddress.ts → CommonEmergencyLocationAddressInfo.ts} +3 -3
  393. package/src/definitions/{EmergencyLocationAddressInfoAu.ts → CommonEmergencyLocationAddressInfoAu.ts} +4 -5
  394. package/src/definitions/{EmergencyLocationAddressInfoDefault.ts → CommonEmergencyLocationAddressInfoDefault.ts} +2 -2
  395. package/src/definitions/{EmergencyLocationAddressInfoFr.ts → CommonEmergencyLocationAddressInfoFr.ts} +3 -3
  396. package/src/definitions/{EmergencyLocationResource.ts → CommonEmergencyLocationResource.ts} +6 -6
  397. package/src/definitions/CompanyAnsweringRuleRequest.ts +1 -1
  398. package/src/definitions/CompanyAnsweringRuleUpdate.ts +1 -1
  399. package/src/definitions/CompanyPhoneNumberInfo.ts +4 -4
  400. package/src/definitions/ConferencePhoneNumberInfo.ts +1 -1
  401. package/src/definitions/ContactCenterProvider.ts +3 -1
  402. package/src/definitions/ContactInfo.ts +1 -1
  403. package/src/definitions/ContactInfoCreationRequest.ts +2 -2
  404. package/src/definitions/ContactInfoUpdateRequest.ts +2 -2
  405. package/src/definitions/ContactResource.ts +3 -2
  406. package/src/definitions/CostCenterInfo.ts +16 -0
  407. package/src/definitions/CreateAnsweringRuleForwardingNumberInfo.ts +1 -1
  408. package/src/definitions/CreateAnsweringRuleRequest.ts +1 -1
  409. package/src/definitions/CreateBridgeRequest.ts +1 -1
  410. package/src/definitions/CreateCompanyGreetingRequest.ts +1 -1
  411. package/src/definitions/CreateConversationRequest.ts +3 -1
  412. package/src/definitions/CreateCustomUserGreetingRequest.ts +1 -1
  413. package/src/definitions/CreateNetworkRequest.ts +0 -5
  414. package/src/definitions/CreateSubscriptionRequest.ts +1 -0
  415. package/src/definitions/CreateSwitchInfo.ts +2 -2
  416. package/src/definitions/CreateUserEmergencyLocationRequest.ts +3 -3
  417. package/src/definitions/CreateWebhookSubscriptionRequest.ts +1 -0
  418. package/src/definitions/CreateWirelessPoint.ts +2 -2
  419. package/src/definitions/CustomCompanyGreetingInfo.ts +1 -1
  420. package/src/definitions/CustomUserGreetingInfo.ts +1 -1
  421. package/src/definitions/DeleteMessageByFilterParameters.ts +1 -1
  422. package/src/definitions/DeletePhoneNumbersRequest.ts +1 -1
  423. package/src/definitions/DetailedExtensionPresenceEventBody.ts +3 -3
  424. package/src/definitions/DetailedExtensionPresenceWithSIPEventBody.ts +3 -3
  425. package/src/definitions/DeviceDefinition.ts +1 -1
  426. package/src/definitions/DeviceEmergencyInfo.ts +3 -8
  427. package/src/definitions/DeviceEmergencyLocationInfo.ts +1 -1
  428. package/src/definitions/DeviceInfoRequest.ts +2 -2
  429. package/src/definitions/DeviceModelInfo.ts +2 -2
  430. package/src/definitions/DevicePhoneNumberInfo.ts +1 -1
  431. package/src/definitions/DeviceProvisioningExtensionInfo.ts +1 -1
  432. package/src/definitions/DeviceResource.ts +17 -12
  433. package/src/definitions/DictionaryGreetingInfo.ts +2 -2
  434. package/src/definitions/ERLLocationInfo.ts +1 -1
  435. package/src/definitions/EmailRecipientInfo.ts +1 -1
  436. package/src/definitions/EmergencyAddress.ts +2 -2
  437. package/src/definitions/{EmergencyLocationInfoRequestAddress.ts → EmergencyAddressInfo.ts} +10 -3
  438. package/src/definitions/EmergencyLocationInfo.ts +1 -1
  439. package/src/definitions/EmergencyLocationInfoRequest.ts +3 -3
  440. package/src/definitions/EmergencyLocationsResource.ts +2 -2
  441. package/src/definitions/EmergencyServiceAddressResource.ts +1 -1
  442. package/src/definitions/EveryoneTeamInfo.ts +1 -1
  443. package/src/definitions/ExtensionBulkUpdateInfo.ts +5 -0
  444. package/src/definitions/ExtensionBulkUpdateTaskResource.ts +2 -2
  445. package/src/definitions/ExtensionCallerIdInfo.ts +2 -2
  446. package/src/definitions/ExtensionCallerIdInfoRequest.ts +2 -2
  447. package/src/definitions/ExtensionCreationRequest.ts +6 -9
  448. package/src/definitions/ExtensionCreationResponse.ts +4 -5
  449. package/src/definitions/ExtensionFavoritesEvent.ts +1 -1
  450. package/src/definitions/ExtensionGrantListEvent.ts +1 -1
  451. package/src/definitions/ExtensionInfo.ts +1 -1
  452. package/src/definitions/ExtensionInfoEvent.ts +2 -2
  453. package/src/definitions/ExtensionInfoIntId.ts +1 -1
  454. package/src/definitions/ExtensionListEvent.ts +1 -1
  455. package/src/definitions/ExtensionPresenceEventBody.ts +3 -3
  456. package/src/definitions/ExtensionServiceFeatureInfo.ts +1 -1
  457. package/src/definitions/ExtensionTelephonySessionsEvent.ts +2 -1
  458. package/src/definitions/ExtensionUpdateRequest.ts +1 -1
  459. package/src/definitions/FaxResponse.ts +2 -2
  460. package/src/definitions/ForwardCallPartyResponse.ts +2 -2
  461. package/src/definitions/ForwardingInfo.ts +2 -2
  462. package/src/definitions/ForwardingInfoCreateRuleRequest.ts +3 -3
  463. package/src/definitions/GetAccountInfoResponse.ts +1 -1
  464. package/src/definitions/GetExtensionInfoResponse.ts +9 -4
  465. package/src/definitions/GetExtensionListInfoResponse.ts +8 -3
  466. package/src/definitions/GetInternalTextMessageInfoResponse.ts +3 -3
  467. package/src/definitions/GetMessageInfoResponse.ts +4 -4
  468. package/src/definitions/GetPresenceInfo.ts +4 -4
  469. package/src/definitions/GetSMSMessageInfoResponse.ts +3 -3
  470. package/src/definitions/GetTokenRequest.ts +1 -1
  471. package/src/definitions/GreetingInfo.ts +1 -1
  472. package/src/definitions/InstantMessageEvent.ts +1 -1
  473. package/src/definitions/InstantMessageEventBody.ts +3 -3
  474. package/src/definitions/ListAccountPhoneNumbersParameters.ts +2 -2
  475. package/src/definitions/ListAccountPhoneNumbersV2Parameters.ts +4 -4
  476. package/src/definitions/ListCompanyActiveCallsParameters.ts +1 -1
  477. package/src/definitions/ListCompanyAnsweringRuleInfo.ts +1 -1
  478. package/src/definitions/ListDirectoryEntriesParameters.ts +1 -1
  479. package/src/definitions/ListExtensionActiveCallsParameters.ts +1 -1
  480. package/src/definitions/ListExtensionDevicesParameters.ts +2 -2
  481. package/src/definitions/ListExtensionPhoneNumbersParameters.ts +1 -1
  482. package/src/definitions/ListGlipChatsNewParameters.ts +1 -1
  483. package/src/definitions/ListMessagesParameters.ts +3 -3
  484. package/src/definitions/ListRecentChatsNewParameters.ts +1 -1
  485. package/src/definitions/ListStandardGreetingsParameters.ts +2 -2
  486. package/src/definitions/ListStatesParameters.ts +2 -2
  487. package/src/definitions/ListUserTemplatesParameters.ts +1 -1
  488. package/src/definitions/LocationOwnerInfo.ts +10 -0
  489. package/src/definitions/MessageAttachmentInfoIntId.ts +1 -1
  490. package/src/definitions/MessageEvent.ts +1 -1
  491. package/src/definitions/MessageEventBody.ts +1 -1
  492. package/src/definitions/MessageStoreCallerInfoResponseTo.ts +1 -1
  493. package/src/definitions/ModelInfo.ts +1 -1
  494. package/src/definitions/NetworkInfo.ts +0 -5
  495. package/src/definitions/NotificationSettings.ts +2 -2
  496. package/src/definitions/NotificationSettingsUpdateRequest.ts +3 -3
  497. package/src/definitions/ParameterizedErrorResponseModel.ts +1 -1
  498. package/src/definitions/ParsePhoneNumberParameters.ts +1 -1
  499. package/src/definitions/PartySuperviseRequest.ts +1 -1
  500. package/src/definitions/PartyUpdateInfo.ts +1 -1
  501. package/src/definitions/PermissionIdResource.ts +1 -1
  502. package/src/definitions/PhoneLinesInfo.ts +1 -1
  503. package/src/definitions/PhoneNumberDefinitionNumberId.ts +1 -1
  504. package/src/definitions/PhoneNumberInfoConferencing.ts +2 -2
  505. package/src/definitions/PhoneNumberInfoIntId.ts +2 -2
  506. package/src/definitions/PhoneNumberResource.ts +1 -1
  507. package/src/definitions/PresenceInfoRequest.ts +1 -1
  508. package/src/definitions/PresenceInfoResponse.ts +1 -1
  509. package/src/definitions/PrivateIpRangeInfo.ts +7 -5
  510. package/src/definitions/PrivateIpRangeInfoRequest.ts +5 -0
  511. package/src/definitions/ProfileImageInfo.ts +3 -3
  512. package/src/definitions/PromptInfo.ts +1 -1
  513. package/src/definitions/QueueInfo.ts +10 -4
  514. package/src/definitions/ReadUserCallLogParameters.ts +1 -1
  515. package/src/definitions/ReasonInfo.ts +1 -1
  516. package/src/definitions/RecurrenceInfo.ts +2 -1
  517. package/src/definitions/RemoveLineRequest.ts +5 -4
  518. package/src/definitions/ReplyParty.ts +1 -1
  519. package/src/definitions/RevokeTokenParameters.ts +11 -0
  520. package/src/definitions/RevokeTokenRequest.ts +1 -1
  521. package/src/definitions/RolesBusinessSiteResource.ts +5 -0
  522. package/src/definitions/ScheduleUserMeetingInfo.ts +1 -1
  523. package/src/definitions/ScimResourceTypeResponse.ts +1 -1
  524. package/src/definitions/ScimUser.ts +2 -2
  525. package/src/definitions/ScimUserResponse.ts +2 -2
  526. package/src/definitions/SearchDirectoryEntriesRequest.ts +4 -2
  527. package/src/definitions/ServiceInfoV2.ts +1 -1
  528. package/src/definitions/SessionGlobalListEntry.ts +0 -1
  529. package/src/definitions/ShippingAddressInfo.ts +1 -1
  530. package/src/definitions/ShippingInfo.ts +3 -3
  531. package/src/definitions/SipInfoResponse.ts +5 -0
  532. package/src/definitions/SipRegistrationDeviceEmergencyInfo.ts +1 -1
  533. package/src/definitions/SipRegistrationDeviceInfo.ts +13 -12
  534. package/src/definitions/SipRegistrationDeviceLocationInfo.ts +1 -1
  535. package/src/definitions/SubscriptionInfo.ts +0 -1
  536. package/src/definitions/SummaryUnit.ts +3 -0
  537. package/src/definitions/SuperviseCallSessionRequest.ts +1 -1
  538. package/src/definitions/SuperviseCallSessionResponse.ts +1 -1
  539. package/src/definitions/SwitchInfo.ts +2 -6
  540. package/src/definitions/SyncInfoMessages.ts +1 -1
  541. package/src/definitions/SyncMessagesParameters.ts +3 -3
  542. package/src/definitions/TMChatInfo.ts +1 -1
  543. package/src/definitions/TMConversationInfo.ts +1 -1
  544. package/src/definitions/TMCreateEventRequest.ts +5 -2
  545. package/src/definitions/TMPostInfo.ts +1 -1
  546. package/src/definitions/TMTeamInfo.ts +1 -1
  547. package/src/definitions/TelephonySessionsEventBody.ts +1 -1
  548. package/src/definitions/TemporaryNumberInfo.ts +3 -1
  549. package/src/definitions/TranscribedObject.ts +6 -0
  550. package/src/definitions/UpdateAnsweringRuleRequest.ts +1 -1
  551. package/src/definitions/UpdateContactParameters.ts +2 -2
  552. package/src/definitions/UpdateNetworkRequest.ts +0 -5
  553. package/src/definitions/UpdateSubscriptionRequest.ts +1 -0
  554. package/src/definitions/UpdateSwitchInfo.ts +2 -2
  555. package/src/definitions/UpdateWirelessPoint.ts +2 -2
  556. package/src/definitions/UserPhoneNumberExtensionInfo.ts +1 -1
  557. package/src/definitions/UserPhoneNumberInfo.ts +9 -6
  558. package/src/definitions/UtteranceObject.ts +40 -0
  559. package/src/definitions/VoicemailInfo.ts +1 -1
  560. package/src/definitions/VoicemailMessageEvent.ts +1 -1
  561. package/src/definitions/VoicemailMessageEventBody.ts +3 -3
  562. package/src/definitions/WcsSessionBaseModel.ts +0 -1
  563. package/src/definitions/WcsSessionResource.ts +0 -1
  564. package/src/definitions/WcsSessionWithLocaleCodeModel.ts +0 -1
  565. package/src/definitions/WirelessPointInfo.ts +2 -6
  566. package/src/paths/Ai/Audio/V1/Enrollments/index.ts +1 -1
  567. package/src/paths/Ai/Text/V1/Async/Summarize/index.ts +1 -1
  568. package/src/paths/Rcvideo/V2/Bridges/index.ts +1 -1
  569. package/src/paths/Restapi/Account/AnsweringRule/index.ts +1 -1
  570. package/src/paths/Restapi/Account/BusinessAddress/index.ts +1 -1
  571. package/src/paths/Restapi/Account/CallMonitoringGroups/index.ts +1 -1
  572. package/src/paths/Restapi/Account/CallRecording/CustomGreetings/index.ts +2 -2
  573. package/src/paths/Restapi/Account/CustomFields/index.ts +1 -1
  574. package/src/paths/Restapi/Account/EmergencyAddressAutoUpdate/Networks/index.ts +1 -1
  575. package/src/paths/Restapi/Account/EmergencyAddressAutoUpdate/Switches/index.ts +1 -1
  576. package/src/paths/Restapi/Account/EmergencyAddressAutoUpdate/WirelessPoints/index.ts +1 -1
  577. package/src/paths/Restapi/Account/EmergencyLocations/index.ts +8 -8
  578. package/src/paths/Restapi/Account/Extension/AddressBook/Contact/index.ts +7 -4
  579. package/src/paths/Restapi/Account/Extension/AnsweringRule/index.ts +1 -1
  580. package/src/paths/Restapi/Account/Extension/AssignedRole/Default/index.ts +1 -1
  581. package/src/paths/Restapi/Account/Extension/CallLog/index.ts +1 -1
  582. package/src/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.ts +7 -3
  583. package/src/paths/Restapi/Account/Extension/EmergencyLocations/index.ts +11 -10
  584. package/src/paths/Restapi/Account/Extension/Fax/index.ts +1 -1
  585. package/src/paths/Restapi/Account/Extension/ForwardingNumber/index.ts +1 -1
  586. package/src/paths/Restapi/Account/Extension/MessageStore/index.ts +1 -1
  587. package/src/paths/Restapi/Account/Extension/Presence/index.ts +7 -13
  588. package/src/paths/Restapi/Account/Extension/ProfileImage/index.ts +1 -1
  589. package/src/paths/Restapi/Account/Extension/RingOut/index.ts +1 -1
  590. package/src/paths/Restapi/Account/IvrPrompts/index.ts +1 -1
  591. package/src/paths/Restapi/Account/PhoneNumber/index.ts +2 -2
  592. package/src/paths/Restapi/Account/Sites/index.ts +1 -1
  593. package/src/paths/Restapi/Account/Telephony/Conference/index.ts +1 -1
  594. package/src/paths/Restapi/Account/Telephony/Sessions/Parties/Park/index.ts +1 -1
  595. package/src/paths/Restapi/Account/Telephony/Sessions/Parties/Recordings/index.ts +1 -1
  596. package/src/paths/Restapi/Account/Telephony/Sessions/Parties/Reject/index.ts +1 -1
  597. package/src/paths/Restapi/Account/Telephony/Sessions/Parties/Unhold/index.ts +1 -1
  598. package/src/paths/Restapi/Account/Telephony/Sessions/Parties/index.ts +1 -1
  599. package/src/paths/Restapi/Account/Telephony/Sessions/index.ts +1 -1
  600. package/src/paths/Restapi/Account/UserRole/index.ts +1 -1
  601. package/src/paths/Restapi/Oauth/Revoke/index.ts +9 -3
  602. package/src/paths/Restapi/Subscription/Renew/index.ts +1 -1
  603. package/src/paths/Restapi/Subscription/index.ts +4 -1
  604. package/src/paths/Restapi/V2/Accounts/Devices/index.ts +5 -5
  605. package/src/paths/Restapi/V2/Accounts/Extensions/Devices/Replace/index.ts +12 -5
  606. package/src/paths/Restapi/V2/Accounts/Extensions/index.ts +1 -0
  607. package/src/paths/Restapi/V2/Accounts/PhoneNumbers/BulkAdd/index.ts +2 -2
  608. package/src/paths/Restapi/V2/Accounts/PhoneNumbers/index.ts +1 -1
  609. package/src/paths/Restapi/V2/Accounts/SendActivationEmail/index.ts +1 -1
  610. package/src/paths/Restapi/V2/Accounts/index.ts +0 -5
  611. package/src/paths/Scim/Users/index.ts +1 -1
  612. package/src/paths/TeamMessaging/V1/AdaptiveCards/index.ts +1 -1
  613. package/src/paths/TeamMessaging/V1/Chats/Favorite/index.ts +1 -1
  614. package/src/paths/TeamMessaging/V1/Chats/Posts/index.ts +1 -1
  615. package/src/paths/TeamMessaging/V1/Chats/Unfavorite/index.ts +1 -1
  616. package/src/paths/TeamMessaging/V1/Events/index.ts +1 -1
  617. package/src/paths/TeamMessaging/V1/Groups/Webhooks/index.ts +1 -1
  618. package/src/paths/TeamMessaging/V1/Notes/Lock/index.ts +1 -1
  619. package/src/paths/TeamMessaging/V1/Notes/Publish/index.ts +1 -1
  620. package/src/paths/TeamMessaging/V1/Notes/Unlock/index.ts +1 -1
  621. package/src/paths/TeamMessaging/V1/Notes/index.ts +1 -1
  622. package/src/paths/TeamMessaging/V1/Tasks/index.ts +1 -1
  623. package/src/paths/TeamMessaging/V1/Teams/Archive/index.ts +1 -1
  624. package/src/paths/TeamMessaging/V1/Teams/Join/index.ts +1 -1
  625. package/src/paths/TeamMessaging/V1/Teams/Leave/index.ts +1 -1
  626. package/src/paths/TeamMessaging/V1/Teams/Unarchive/index.ts +1 -1
  627. package/src/paths/TeamMessaging/V1/Teams/index.ts +1 -1
  628. package/src/paths/TeamMessaging/V1/Webhooks/Activate/index.ts +1 -1
  629. package/src/paths/TeamMessaging/V1/Webhooks/Suspend/index.ts +1 -1
  630. package/src/paths/TeamMessaging/V1/Webhooks/index.ts +1 -1
  631. package/src/paths/Webinar/Configuration/V1/Webinars/Sessions/Invitees/index.ts +1 -1
  632. package/src/paths/Webinar/Configuration/V1/Webinars/Sessions/index.ts +1 -1
  633. package/src/paths/Webinar/Configuration/V1/Webinars/index.ts +1 -1
  634. package/src/paths/Webinar/Notifications/V1/Subscriptions/Renew/index.ts +1 -1
  635. package/src/paths/Webinar/Notifications/V1/Subscriptions/index.ts +1 -1
  636. package/src/paths/Webinar/Registration/V1/Sessions/Registrants/index.ts +1 -1
  637. package/src/samples.md +910 -933
  638. package/lib/definitions/BulkManageLicensesRequest.d.ts +0 -13
  639. package/lib/definitions/BulkManageLicensesRequest.js.map +0 -1
  640. package/lib/definitions/BulkManageLicensesResponse.d.ts +0 -10
  641. package/lib/definitions/BulkManageLicensesResponse.js.map +0 -1
  642. package/lib/definitions/CreateUserEmergencyLocationRequestAddress.js.map +0 -1
  643. package/lib/definitions/DeviceEmergencyAddressAu.d.ts +0 -81
  644. package/lib/definitions/DeviceEmergencyAddressAu.js.map +0 -1
  645. package/lib/definitions/DeviceEmergencyAddressDefault.d.ts +0 -69
  646. package/lib/definitions/DeviceEmergencyAddressDefault.js.map +0 -1
  647. package/lib/definitions/DeviceEmergencyAddressFr.d.ts +0 -77
  648. package/lib/definitions/DeviceEmergencyAddressFr.js +0 -3
  649. package/lib/definitions/DeviceEmergencyAddressFr.js.map +0 -1
  650. package/lib/definitions/DeviceEmergencyInfoAddress.d.ts +0 -73
  651. package/lib/definitions/DeviceEmergencyInfoAddress.js +0 -3
  652. package/lib/definitions/DeviceEmergencyInfoAddress.js.map +0 -1
  653. package/lib/definitions/EmergencyAddressInfoAu.d.ts +0 -82
  654. package/lib/definitions/EmergencyAddressInfoAu.js.map +0 -1
  655. package/lib/definitions/EmergencyAddressInfoDefault.d.ts +0 -70
  656. package/lib/definitions/EmergencyAddressInfoDefault.js +0 -3
  657. package/lib/definitions/EmergencyAddressInfoDefault.js.map +0 -1
  658. package/lib/definitions/EmergencyAddressInfoFr.d.ts +0 -78
  659. package/lib/definitions/EmergencyAddressInfoFr.js.map +0 -1
  660. package/lib/definitions/EmergencyLocationAddressInfoAu.js +0 -3
  661. package/lib/definitions/EmergencyLocationAddressInfoAu.js.map +0 -1
  662. package/lib/definitions/EmergencyLocationAddressInfoDefault.js +0 -3
  663. package/lib/definitions/EmergencyLocationAddressInfoDefault.js.map +0 -1
  664. package/lib/definitions/EmergencyLocationAddressInfoFr.js +0 -3
  665. package/lib/definitions/EmergencyLocationAddressInfoFr.js.map +0 -1
  666. package/lib/definitions/EmergencyLocationInfoRequestAddress.d.ts +0 -72
  667. package/lib/definitions/EmergencyLocationInfoRequestAddress.js +0 -3
  668. package/lib/definitions/EmergencyLocationInfoRequestAddress.js.map +0 -1
  669. package/lib/definitions/EmergencyLocationResource.js +0 -3
  670. package/lib/definitions/EmergencyLocationResource.js.map +0 -1
  671. package/lib/definitions/EmergencyLocationResourceAddress.js +0 -3
  672. package/lib/definitions/EmergencyLocationResourceAddress.js.map +0 -1
  673. package/lib/definitions/ExtensionCreationRequestCostCenter.d.ts +0 -7
  674. package/lib/definitions/ExtensionCreationRequestCostCenter.js +0 -3
  675. package/lib/definitions/ExtensionCreationRequestCostCenter.js.map +0 -1
  676. package/lib/definitions/ExtensionCreationResponseCostCenter.d.ts +0 -11
  677. package/lib/definitions/ExtensionCreationResponseCostCenter.js +0 -3
  678. package/lib/definitions/ExtensionCreationResponseCostCenter.js.map +0 -1
  679. package/lib/definitions/LicenseAssignmentEntry.d.ts +0 -13
  680. package/lib/definitions/LicenseAssignmentEntry.js.map +0 -1
  681. package/lib/definitions/LicenseAssignmentResponseEntry.d.ts +0 -23
  682. package/lib/definitions/LicenseAssignmentResponseEntry.js +0 -3
  683. package/lib/definitions/LicenseAssignmentResponseEntry.js.map +0 -1
  684. package/lib/definitions/LocationUpdatesEmergencyAddressInfoAu.d.ts +0 -73
  685. package/lib/definitions/LocationUpdatesEmergencyAddressInfoAu.js +0 -3
  686. package/lib/definitions/LocationUpdatesEmergencyAddressInfoAu.js.map +0 -1
  687. package/lib/definitions/LocationUpdatesEmergencyAddressInfoDefault.d.ts +0 -61
  688. package/lib/definitions/LocationUpdatesEmergencyAddressInfoDefault.js +0 -3
  689. package/lib/definitions/LocationUpdatesEmergencyAddressInfoDefault.js.map +0 -1
  690. package/lib/definitions/LocationUpdatesEmergencyAddressInfoFr.d.ts +0 -69
  691. package/lib/definitions/LocationUpdatesEmergencyAddressInfoFr.js +0 -3
  692. package/lib/definitions/LocationUpdatesEmergencyAddressInfoFr.js.map +0 -1
  693. package/lib/definitions/PrivateIpRangeInfoEmergencyAddress.d.ts +0 -67
  694. package/lib/definitions/PrivateIpRangeInfoEmergencyAddress.js +0 -3
  695. package/lib/definitions/PrivateIpRangeInfoEmergencyAddress.js.map +0 -1
  696. package/lib/definitions/SwitchInfoEmergencyAddress.d.ts +0 -75
  697. package/lib/definitions/SwitchInfoEmergencyAddress.js +0 -3
  698. package/lib/definitions/SwitchInfoEmergencyAddress.js.map +0 -1
  699. package/lib/definitions/WirelessPointInfoEmergencyAddress.d.ts +0 -75
  700. package/lib/definitions/WirelessPointInfoEmergencyAddress.js +0 -3
  701. package/lib/definitions/WirelessPointInfoEmergencyAddress.js.map +0 -1
  702. package/lib/paths/Restapi/V2/Accounts/Licenses/BulkAssign/index.d.ts +0 -18
  703. package/lib/paths/Restapi/V2/Accounts/Licenses/BulkAssign/index.js +0 -24
  704. package/lib/paths/Restapi/V2/Accounts/Licenses/BulkAssign/index.js.map +0 -1
  705. package/lib/paths/Restapi/V2/Accounts/Licenses/index.d.ts +0 -10
  706. package/lib/paths/Restapi/V2/Accounts/Licenses/index.js +0 -20
  707. package/lib/paths/Restapi/V2/Accounts/Licenses/index.js.map +0 -1
  708. package/src/definitions/BulkManageLicensesRequest.ts +0 -16
  709. package/src/definitions/BulkManageLicensesResponse.ts +0 -13
  710. package/src/definitions/CreateUserEmergencyLocationRequestAddress.ts +0 -89
  711. package/src/definitions/DeviceEmergencyAddressAu.ts +0 -98
  712. package/src/definitions/DeviceEmergencyAddressDefault.ts +0 -83
  713. package/src/definitions/DeviceEmergencyAddressFr.ts +0 -93
  714. package/src/definitions/DeviceEmergencyInfoAddress.ts +0 -90
  715. package/src/definitions/EmergencyAddressInfoAu.ts +0 -99
  716. package/src/definitions/EmergencyAddressInfoDefault.ts +0 -84
  717. package/src/definitions/EmergencyAddressInfoFr.ts +0 -94
  718. package/src/definitions/ExtensionCreationRequestCostCenter.ts +0 -8
  719. package/src/definitions/ExtensionCreationResponseCostCenter.ts +0 -13
  720. package/src/definitions/LicenseAssignmentEntry.ts +0 -15
  721. package/src/definitions/LicenseAssignmentResponseEntry.ts +0 -28
  722. package/src/definitions/LocationUpdatesEmergencyAddressInfoAu.ts +0 -89
  723. package/src/definitions/LocationUpdatesEmergencyAddressInfoDefault.ts +0 -74
  724. package/src/definitions/LocationUpdatesEmergencyAddressInfoFr.ts +0 -84
  725. package/src/definitions/PrivateIpRangeInfoEmergencyAddress.ts +0 -83
  726. package/src/definitions/SwitchInfoEmergencyAddress.ts +0 -92
  727. package/src/definitions/WirelessPointInfoEmergencyAddress.ts +0 -92
  728. package/src/paths/Restapi/V2/Accounts/Licenses/BulkAssign/index.ts +0 -36
  729. package/src/paths/Restapi/V2/Accounts/Licenses/index.ts +0 -20
@@ -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
  );
@@ -115,7 +116,7 @@ class Index {
115
116
  if (this.locationId === null) {
116
117
  throw new Error('locationId must be specified.');
117
118
  }
118
- const r = await this.rc.delete<string>(this.path(), undefined, queryParams, restRequestConfig);
119
+ const r = await this.rc.delete<string>(this.path(), {}, queryParams, restRequestConfig);
119
120
  return r.data;
120
121
  }
121
122
  }
@@ -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
  *
@@ -140,7 +140,7 @@ class Index {
140
140
  if (this.forwardingNumberId === null) {
141
141
  throw new Error('forwardingNumberId must be specified.');
142
142
  }
143
- const r = await this.rc.delete<string>(this.path(), undefined, undefined, restRequestConfig);
143
+ const r = await this.rc.delete<string>(this.path(), {}, undefined, restRequestConfig);
144
144
  return r.data;
145
145
  }
146
146
  }
@@ -58,7 +58,7 @@ class Index {
58
58
  queryParams?: DeleteMessageByFilterParameters,
59
59
  restRequestConfig?: RestRequestConfig,
60
60
  ): Promise<string> {
61
- const r = await this.rc.delete<string>(this.path(false), undefined, queryParams, restRequestConfig);
61
+ const r = await this.rc.delete<string>(this.path(false), {}, queryParams, restRequestConfig);
62
62
  return r.data;
63
63
  }
64
64
 
@@ -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
@@ -83,7 +83,7 @@ class Index {
83
83
  * User Permission: EditUserInfo
84
84
  */
85
85
  public async delete(restRequestConfig?: RestRequestConfig): Promise<string> {
86
- const r = await this.rc.delete<string>(this.path(false), undefined, undefined, restRequestConfig);
86
+ const r = await this.rc.delete<string>(this.path(false), {}, undefined, restRequestConfig);
87
87
  return r.data;
88
88
  }
89
89
 
@@ -64,7 +64,7 @@ class Index {
64
64
  if (this.ringoutId === null) {
65
65
  throw new Error('ringoutId must be specified.');
66
66
  }
67
- const r = await this.rc.delete<string>(this.path(), undefined, undefined, restRequestConfig);
67
+ const r = await this.rc.delete<string>(this.path(), {}, undefined, restRequestConfig);
68
68
  return r.data;
69
69
  }
70
70
  }
@@ -99,7 +99,7 @@ class Index {
99
99
  if (this.promptId === null) {
100
100
  throw new Error('promptId must be specified.');
101
101
  }
102
- const r = await this.rc.delete<string>(this.path(), undefined, undefined, restRequestConfig);
102
+ const r = await this.rc.delete<string>(this.path(), {}, undefined, restRequestConfig);
103
103
  return r.data;
104
104
  }
105
105
 
@@ -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}
@@ -97,7 +97,7 @@ class Index {
97
97
  if (this.siteId === null) {
98
98
  throw new Error('siteId must be specified.');
99
99
  }
100
- const r = await this.rc.delete<string>(this.path(), undefined, undefined, restRequestConfig);
100
+ const r = await this.rc.delete<string>(this.path(), {}, undefined, restRequestConfig);
101
101
  return r.data;
102
102
  }
103
103
 
@@ -20,7 +20,7 @@ class Index {
20
20
  * App Permission: CallControl
21
21
  */
22
22
  public async post(restRequestConfig?: RestRequestConfig): Promise<CallSession> {
23
- const r = await this.rc.post<CallSession>(this.path(), undefined, undefined, restRequestConfig);
23
+ const r = await this.rc.post<CallSession>(this.path(), {}, undefined, restRequestConfig);
24
24
  return r.data;
25
25
  }
26
26
  }
@@ -20,7 +20,7 @@ class Index {
20
20
  * App Permission: CallControl
21
21
  */
22
22
  public async post(restRequestConfig?: RestRequestConfig): Promise<CallParty> {
23
- const r = await this.rc.post<CallParty>(this.path(), undefined, undefined, restRequestConfig);
23
+ const r = await this.rc.post<CallParty>(this.path(), {}, undefined, restRequestConfig);
24
24
  return r.data;
25
25
  }
26
26
  }
@@ -27,7 +27,7 @@ class Index {
27
27
  * App Permission: CallControl
28
28
  */
29
29
  public async post(restRequestConfig?: RestRequestConfig): Promise<string> {
30
- const r = await this.rc.post<string>(this.path(false), undefined, undefined, restRequestConfig);
30
+ const r = await this.rc.post<string>(this.path(false), {}, undefined, restRequestConfig);
31
31
  return r.data;
32
32
  }
33
33
 
@@ -19,7 +19,7 @@ class Index {
19
19
  * App Permission: CallControl
20
20
  */
21
21
  public async post(restRequestConfig?: RestRequestConfig): Promise<string> {
22
- const r = await this.rc.post<string>(this.path(), undefined, undefined, restRequestConfig);
22
+ const r = await this.rc.post<string>(this.path(), {}, undefined, restRequestConfig);
23
23
  return r.data;
24
24
  }
25
25
  }
@@ -20,7 +20,7 @@ class Index {
20
20
  * App Permission: CallControl
21
21
  */
22
22
  public async post(restRequestConfig?: RestRequestConfig): Promise<CallParty> {
23
- const r = await this.rc.post<CallParty>(this.path(), undefined, undefined, restRequestConfig);
23
+ const r = await this.rc.post<CallParty>(this.path(), {}, undefined, restRequestConfig);
24
24
  return r.data;
25
25
  }
26
26
  }
@@ -59,7 +59,7 @@ class Index {
59
59
  if (this.partyId === null) {
60
60
  throw new Error('partyId must be specified.');
61
61
  }
62
- const r = await this.rc.delete<string>(this.path(), undefined, undefined, restRequestConfig);
62
+ const r = await this.rc.delete<string>(this.path(), {}, undefined, restRequestConfig);
63
63
  return r.data;
64
64
  }
65
65
 
@@ -49,7 +49,7 @@ class Index {
49
49
  if (this.telephonySessionId === null) {
50
50
  throw new Error('telephonySessionId must be specified.');
51
51
  }
52
- const r = await this.rc.delete<string>(this.path(), undefined, undefined, restRequestConfig);
52
+ const r = await this.rc.delete<string>(this.path(), {}, undefined, restRequestConfig);
53
53
  return r.data;
54
54
  }
55
55
 
@@ -98,7 +98,7 @@ class Index {
98
98
  if (this.roleId === null) {
99
99
  throw new Error('roleId must be specified.');
100
100
  }
101
- const r = await this.rc.delete<string>(this.path(), undefined, queryParams, restRequestConfig);
101
+ const r = await this.rc.delete<string>(this.path(), {}, queryParams, restRequestConfig);
102
102
  return r.data;
103
103
  }
104
104
 
@@ -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
  }
@@ -22,7 +22,7 @@ class Index {
22
22
  * Rate Limit Group: Light
23
23
  */
24
24
  public async post(restRequestConfig?: RestRequestConfig): Promise<SubscriptionInfo> {
25
- const r = await this.rc.post<SubscriptionInfo>(this.path(), undefined, undefined, restRequestConfig);
25
+ const r = await this.rc.post<SubscriptionInfo>(this.path(), {}, undefined, restRequestConfig);
26
26
  return r.data;
27
27
  }
28
28
  }
@@ -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
@@ -137,7 +140,7 @@ class Index {
137
140
  if (this.subscriptionId === null) {
138
141
  throw new Error('subscriptionId must be specified.');
139
142
  }
140
- const r = await this.rc.delete<string>(this.path(), undefined, undefined, restRequestConfig);
143
+ const r = await this.rc.delete<string>(this.path(), {}, undefined, restRequestConfig);
141
144
  return r.data;
142
145
  }
143
146
 
@@ -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}
@@ -13,12 +13,19 @@ class Index {
13
13
  return `${this._parent.path()}/replace`;
14
14
  }
15
15
  /**
16
- * Replaces the user device with another device, which is assigned to an extension or is stored in the inventory of the same account.
17
- * Currently the following device types can be swapped - HardPhone and OtherPhone.
16
+ * Replaces the user device with another device, which is assigned to an extension
17
+ * or is stored in the inventory of the same account.
18
+ * Currently, the following device types can be swapped - `HardPhone` and `OtherPhone`.
19
+ *
18
20
  * Please note:
19
- * - This method allows to replace a device itself, while a phone number, a digital Line and an emergency address associated with this device remain unchanged and will still work together in a chain with the replacement device.
20
- * - If a target device is from the inventory, then a source device will be moved to the inventory, and a target device will be assigned to the current extension.
21
- * - If a target device is currently assigned to another extension, then the devices will be just swapped.
21
+ *
22
+ * - This method allows replacing a device itself, while a phone number,
23
+ * a digital Line and an emergency address associated with this device remain unchanged
24
+ * and will still work together in a chain with the replacement device.
25
+ * - If a target device is from the inventory, then a source device will be moved
26
+ * to the inventory, and a target device will be assigned to the current extension.
27
+ * - If a target device is currently assigned to another extension,
28
+ * then the devices will be just swapped.
22
29
  *
23
30
  * HTTP Method: post
24
31
  * Endpoint: /restapi/v2/accounts/{accountId}/extensions/{extensionId}/devices/{deviceId}/replace
@@ -17,6 +17,7 @@ class Index {
17
17
  /**
18
18
  * Deletes user extension(s) and either keeps or destroys the assets - numbers and devices.
19
19
  * Multiple extensions can be deleted with a single API call.
20
+ *
20
21
  * **Please note:** This API cannot be tested on Sandbox.
21
22
  *
22
23
  * HTTP Method: delete
@@ -20,8 +20,8 @@ class Index {
20
20
  return `${this._parent.path()}/bulk-add`;
21
21
  }
22
22
  /**
23
- * Adds phone numbers to the account Inventory as unassigned. Currently we support the following three enum values: 'Inventory',
24
- * 'InventoryPartnerBusinessMobileNumber' and 'PartnerBusinessMobileNumber'. Later we may support some other values like 'ForwardedNumber', etc.
23
+ * Adds phone numbers to the account Inventory as unassigned. Currently, we support the following values: `Inventory`,
24
+ * `InventoryPartnerBusinessMobileNumber` and `PartnerBusinessMobileNumber`. Later we may support some other values like `ForwardedNumber`, etc.
25
25
  *
26
26
  * HTTP Method: post
27
27
  * Endpoint: /restapi/v2/accounts/{accountId}/phone-numbers/bulk-add
@@ -51,7 +51,7 @@ class Index {
51
51
  *
52
52
  * In other words, this method will not delete numbers which are in use on the account - extension direct numbers,
53
53
  * main number, etc. It is possible to indicate phone numbers to be deleted using their IDs or exact string values
54
- * in e.164 format. However the same lookup method (by ID or by value) must be used for all numbers within the same API call.
54
+ * in e.164 format. However, the same lookup method (by ID or by value) must be used for all numbers within the same API call.
55
55
  *
56
56
  * HTTP Method: delete
57
57
  * Endpoint: /restapi/v2/accounts/{accountId}/phone-numbers
@@ -20,7 +20,7 @@ class Index {
20
20
  * User Permission: AccountAdministration
21
21
  */
22
22
  public async post(restRequestConfig?: RestRequestConfig): Promise<string> {
23
- const r = await this.rc.post<string>(this.path(), undefined, undefined, restRequestConfig);
23
+ const r = await this.rc.post<string>(this.path(), {}, undefined, restRequestConfig);
24
24
  return r.data;
25
25
  }
26
26
  }
@@ -4,7 +4,6 @@ import BatchProvisioning from './BatchProvisioning';
4
4
  import DeviceInventory from './DeviceInventory';
5
5
  import PhoneNumbers from './PhoneNumbers';
6
6
  import Extensions from './Extensions';
7
- import Licenses from './Licenses';
8
7
  import Devices from './Devices';
9
8
  import type AccountInfo from '../../../../definitions/AccountInfo';
10
9
  import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../types';
@@ -45,10 +44,6 @@ class Index {
45
44
  return new Devices(this, deviceId);
46
45
  }
47
46
 
48
- public licenses(): Licenses {
49
- return new Licenses(this);
50
- }
51
-
52
47
  public extensions(): Extensions {
53
48
  return new Extensions(this);
54
49
  }
@@ -90,7 +90,7 @@ class Index {
90
90
  if (this.scimUserId === null) {
91
91
  throw new Error('scimUserId must be specified.');
92
92
  }
93
- const r = await this.rc.delete<string>(this.path(), undefined, undefined, restRequestConfig);
93
+ const r = await this.rc.delete<string>(this.path(), {}, undefined, restRequestConfig);
94
94
  return r.data;
95
95
  }
96
96
 
@@ -63,7 +63,7 @@ class Index {
63
63
  if (this.cardId === null) {
64
64
  throw new Error('cardId must be specified.');
65
65
  }
66
- const r = await this.rc.delete<string>(this.path(), undefined, undefined, restRequestConfig);
66
+ const r = await this.rc.delete<string>(this.path(), {}, undefined, restRequestConfig);
67
67
  return r.data;
68
68
  }
69
69
  }
@@ -19,7 +19,7 @@ class Index {
19
19
  * App Permission: TeamMessaging
20
20
  */
21
21
  public async post(restRequestConfig?: RestRequestConfig): Promise<string> {
22
- const r = await this.rc.post<string>(this.path(), undefined, undefined, restRequestConfig);
22
+ const r = await this.rc.post<string>(this.path(), {}, undefined, restRequestConfig);
23
23
  return r.data;
24
24
  }
25
25
  }
@@ -77,7 +77,7 @@ class Index {
77
77
  if (this.postId === null) {
78
78
  throw new Error('postId must be specified.');
79
79
  }
80
- const r = await this.rc.delete<string>(this.path(), undefined, undefined, restRequestConfig);
80
+ const r = await this.rc.delete<string>(this.path(), {}, undefined, restRequestConfig);
81
81
  return r.data;
82
82
  }
83
83
 
@@ -19,7 +19,7 @@ class Index {
19
19
  * App Permission: TeamMessaging
20
20
  */
21
21
  public async post(restRequestConfig?: RestRequestConfig): Promise<string> {
22
- const r = await this.rc.post<string>(this.path(), undefined, undefined, restRequestConfig);
22
+ const r = await this.rc.post<string>(this.path(), {}, undefined, restRequestConfig);
23
23
  return r.data;
24
24
  }
25
25
  }
@@ -94,7 +94,7 @@ class Index {
94
94
  if (this.eventId === null) {
95
95
  throw new Error('eventId must be specified.');
96
96
  }
97
- const r = await this.rc.delete<string>(this.path(), undefined, undefined, restRequestConfig);
97
+ const r = await this.rc.delete<string>(this.path(), {}, undefined, restRequestConfig);
98
98
  return r.data;
99
99
  }
100
100
  }
@@ -33,7 +33,7 @@ class Index {
33
33
  * App Permission: TeamMessaging
34
34
  */
35
35
  public async post(restRequestConfig?: RestRequestConfig): Promise<TMWebhookInfo> {
36
- const r = await this.rc.post<TMWebhookInfo>(this.path(), undefined, undefined, restRequestConfig);
36
+ const r = await this.rc.post<TMWebhookInfo>(this.path(), {}, undefined, restRequestConfig);
37
37
  return r.data;
38
38
  }
39
39
  }
@@ -19,7 +19,7 @@ class Index {
19
19
  * App Permission: TeamMessaging
20
20
  */
21
21
  public async post(restRequestConfig?: RestRequestConfig): Promise<string> {
22
- const r = await this.rc.post<string>(this.path(), undefined, undefined, restRequestConfig);
22
+ const r = await this.rc.post<string>(this.path(), {}, undefined, restRequestConfig);
23
23
  return r.data;
24
24
  }
25
25
  }
@@ -20,7 +20,7 @@ class Index {
20
20
  * App Permission: TeamMessaging
21
21
  */
22
22
  public async post(restRequestConfig?: RestRequestConfig): Promise<TMNoteInfo> {
23
- const r = await this.rc.post<TMNoteInfo>(this.path(), undefined, undefined, restRequestConfig);
23
+ const r = await this.rc.post<TMNoteInfo>(this.path(), {}, undefined, restRequestConfig);
24
24
  return r.data;
25
25
  }
26
26
  }
@@ -19,7 +19,7 @@ class Index {
19
19
  * App Permission: TeamMessaging
20
20
  */
21
21
  public async post(restRequestConfig?: RestRequestConfig): Promise<string> {
22
- const r = await this.rc.post<string>(this.path(), undefined, undefined, restRequestConfig);
22
+ const r = await this.rc.post<string>(this.path(), {}, undefined, restRequestConfig);
23
23
  return r.data;
24
24
  }
25
25
  }
@@ -49,7 +49,7 @@ class Index {
49
49
  if (this.noteId === null) {
50
50
  throw new Error('noteId must be specified.');
51
51
  }
52
- const r = await this.rc.delete<string>(this.path(), undefined, undefined, restRequestConfig);
52
+ const r = await this.rc.delete<string>(this.path(), {}, undefined, restRequestConfig);
53
53
  return r.data;
54
54
  }
55
55
 
@@ -46,7 +46,7 @@ class Index {
46
46
  if (this.taskId === null) {
47
47
  throw new Error('taskId must be specified.');
48
48
  }
49
- const r = await this.rc.delete<string>(this.path(), undefined, undefined, restRequestConfig);
49
+ const r = await this.rc.delete<string>(this.path(), {}, undefined, restRequestConfig);
50
50
  return r.data;
51
51
  }
52
52
 
@@ -19,7 +19,7 @@ class Index {
19
19
  * App Permission: TeamMessaging
20
20
  */
21
21
  public async post(restRequestConfig?: RestRequestConfig): Promise<string> {
22
- const r = await this.rc.post<string>(this.path(), undefined, undefined, restRequestConfig);
22
+ const r = await this.rc.post<string>(this.path(), {}, undefined, restRequestConfig);
23
23
  return r.data;
24
24
  }
25
25
  }
@@ -19,7 +19,7 @@ class Index {
19
19
  * App Permission: TeamMessaging
20
20
  */
21
21
  public async post(restRequestConfig?: RestRequestConfig): Promise<string> {
22
- const r = await this.rc.post<string>(this.path(), undefined, undefined, restRequestConfig);
22
+ const r = await this.rc.post<string>(this.path(), {}, undefined, restRequestConfig);
23
23
  return r.data;
24
24
  }
25
25
  }
@@ -19,7 +19,7 @@ class Index {
19
19
  * App Permission: TeamMessaging
20
20
  */
21
21
  public async post(restRequestConfig?: RestRequestConfig): Promise<string> {
22
- const r = await this.rc.post<string>(this.path(), undefined, undefined, restRequestConfig);
22
+ const r = await this.rc.post<string>(this.path(), {}, undefined, restRequestConfig);
23
23
  return r.data;
24
24
  }
25
25
  }
@@ -19,7 +19,7 @@ class Index {
19
19
  * App Permission: TeamMessaging
20
20
  */
21
21
  public async post(restRequestConfig?: RestRequestConfig): Promise<string> {
22
- const r = await this.rc.post<string>(this.path(), undefined, undefined, restRequestConfig);
22
+ const r = await this.rc.post<string>(this.path(), {}, undefined, restRequestConfig);
23
23
  return r.data;
24
24
  }
25
25
  }
@@ -83,7 +83,7 @@ class Index {
83
83
  if (this.chatId === null) {
84
84
  throw new Error('chatId must be specified.');
85
85
  }
86
- const r = await this.rc.delete<string>(this.path(), undefined, undefined, restRequestConfig);
86
+ const r = await this.rc.delete<string>(this.path(), {}, undefined, restRequestConfig);
87
87
  return r.data;
88
88
  }
89
89
 
@@ -19,7 +19,7 @@ class Index {
19
19
  * App Permission: TeamMessaging
20
20
  */
21
21
  public async post(restRequestConfig?: RestRequestConfig): Promise<string> {
22
- const r = await this.rc.post<string>(this.path(), undefined, undefined, restRequestConfig);
22
+ const r = await this.rc.post<string>(this.path(), {}, undefined, restRequestConfig);
23
23
  return r.data;
24
24
  }
25
25
  }
@@ -19,7 +19,7 @@ class Index {
19
19
  * App Permission: TeamMessaging
20
20
  */
21
21
  public async post(restRequestConfig?: RestRequestConfig): Promise<string> {
22
- const r = await this.rc.post<string>(this.path(), undefined, undefined, restRequestConfig);
22
+ const r = await this.rc.post<string>(this.path(), {}, undefined, restRequestConfig);
23
23
  return r.data;
24
24
  }
25
25
  }