@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
@@ -17,12 +17,12 @@ class Index {
17
17
  return `${this._parent.path()}/devices`;
18
18
  }
19
19
  /**
20
- * Disassociates phone line (DL & Device) from an extension.
21
- * - if value ```keepAssetsInInventory == true```,
20
+ * Disassociates a phone line (DL & Device) from an extension:
21
+ *
22
+ * - if the value of `keepAssetsInInventory` is `true`,
22
23
  * the given device is moved to unassigned devices and the number is moved to the number inventory;
23
- * - if value ```keepAssetsInInventory == false```, the given device and number is removed from the account;
24
- * - if the parameter keepAssetsInInventory is not set (empty body),
25
- * default value ```keepAssetsInInventory == true``` is used.
24
+ * - if the value of `keepAssetsInInventory` is `false`, the given device and number is removed from the account;
25
+ * - if the parameter `keepAssetsInInventory` is not set (empty body), default value `true` is set.
26
26
  *
27
27
  * HTTP Method: delete
28
28
  * Endpoint: /restapi/v2/accounts/{accountId}/devices/{deviceId}
@@ -6,12 +6,19 @@ declare class Index {
6
6
  constructor(_parent: ParentInterface);
7
7
  path(): string;
8
8
  /**
9
- * Replaces the user device with another device, which is assigned to an extension or is stored in the inventory of the same account.
10
- * Currently the following device types can be swapped - HardPhone and OtherPhone.
9
+ * Replaces the user device with another device, which is assigned to an extension
10
+ * or is stored in the inventory of the same account.
11
+ * Currently, the following device types can be swapped - `HardPhone` and `OtherPhone`.
12
+ *
11
13
  * Please note:
12
- * - 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.
13
- * - 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.
14
- * - If a target device is currently assigned to another extension, then the devices will be just swapped.
14
+ *
15
+ * - This method allows replacing a device itself, while a phone number,
16
+ * a digital Line and an emergency address associated with this device remain unchanged
17
+ * and will still work together in a chain with the replacement device.
18
+ * - If a target device is from the inventory, then a source device will be moved
19
+ * to the inventory, and a target device will be assigned to the current extension.
20
+ * - If a target device is currently assigned to another extension,
21
+ * then the devices will be just swapped.
15
22
  *
16
23
  * HTTP Method: post
17
24
  * Endpoint: /restapi/v2/accounts/{accountId}/extensions/{extensionId}/devices/{deviceId}/replace
@@ -9,12 +9,19 @@ class Index {
9
9
  return `${this._parent.path()}/replace`;
10
10
  }
11
11
  /**
12
- * Replaces the user device with another device, which is assigned to an extension or is stored in the inventory of the same account.
13
- * Currently the following device types can be swapped - HardPhone and OtherPhone.
12
+ * Replaces the user device with another device, which is assigned to an extension
13
+ * or is stored in the inventory of the same account.
14
+ * Currently, the following device types can be swapped - `HardPhone` and `OtherPhone`.
15
+ *
14
16
  * Please note:
15
- * - 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.
16
- * - 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.
17
- * - If a target device is currently assigned to another extension, then the devices will be just swapped.
17
+ *
18
+ * - This method allows replacing a device itself, while a phone number,
19
+ * a digital Line and an emergency address associated with this device remain unchanged
20
+ * and will still work together in a chain with the replacement device.
21
+ * - If a target device is from the inventory, then a source device will be moved
22
+ * to the inventory, and a target device will be assigned to the current extension.
23
+ * - If a target device is currently assigned to another extension,
24
+ * then the devices will be just swapped.
18
25
  *
19
26
  * HTTP Method: post
20
27
  * Endpoint: /restapi/v2/accounts/{accountId}/extensions/{extensionId}/devices/{deviceId}/replace
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/paths/Restapi/V2/Accounts/Extensions/Devices/Replace/index.ts"],"names":[],"mappings":";;AAGA,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1C,CAAC;IACD;;;;;;;;;;;;;OAaG;IACI,KAAK,CAAC,IAAI,CAAC,iBAAoC,EAAE,iBAAqC;QAC3F,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAAS,IAAI,CAAC,IAAI,EAAE,EAAE,iBAAiB,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QACnG,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/paths/Restapi/V2/Accounts/Extensions/Devices/Replace/index.ts"],"names":[],"mappings":";;AAGA,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1C,CAAC;IACD;;;;;;;;;;;;;;;;;;;;OAoBG;IACI,KAAK,CAAC,IAAI,CAAC,iBAAoC,EAAE,iBAAqC;QAC3F,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAAS,IAAI,CAAC,IAAI,EAAE,EAAE,iBAAiB,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QACnG,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
@@ -10,6 +10,7 @@ declare class Index {
10
10
  /**
11
11
  * Deletes user extension(s) and either keeps or destroys the assets - numbers and devices.
12
12
  * Multiple extensions can be deleted with a single API call.
13
+ *
13
14
  * **Please note:** This API cannot be tested on Sandbox.
14
15
  *
15
16
  * HTTP Method: delete
@@ -15,6 +15,7 @@ class Index {
15
15
  /**
16
16
  * Deletes user extension(s) and either keeps or destroys the assets - numbers and devices.
17
17
  * Multiple extensions can be deleted with a single API call.
18
+ *
18
19
  * **Please note:** This API cannot be tested on Sandbox.
19
20
  *
20
21
  * HTTP Method: delete
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/V2/Accounts/Extensions/index.ts"],"names":[],"mappings":";;;;;AAAA,wDAAgC;AAKhC,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,aAAa,CAAC;IAC7C,CAAC;IACD;;;;;;;;;;OAUG;IACI,KAAK,CAAC,MAAM,CACjB,sBAA8C,EAC9C,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,MAAM,CAC5B,IAAI,CAAC,IAAI,EAAE,EACX,sBAAsB,EACtB,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAEM,OAAO,CAAC,WAA0B,IAAI;QAC3C,OAAO,IAAI,iBAAO,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IACrC,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/V2/Accounts/Extensions/index.ts"],"names":[],"mappings":";;;;;AAAA,wDAAgC;AAKhC,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,aAAa,CAAC;IAC7C,CAAC;IACD;;;;;;;;;;;OAWG;IACI,KAAK,CAAC,MAAM,CACjB,sBAA8C,EAC9C,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,MAAM,CAC5B,IAAI,CAAC,IAAI,EAAE,EACX,sBAAsB,EACtB,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAEM,OAAO,CAAC,WAA0B,IAAI;QAC3C,OAAO,IAAI,iBAAO,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IACrC,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
@@ -9,8 +9,8 @@ declare class Index {
9
9
  constructor(_parent: ParentInterface, taskId?: string | null);
10
10
  path(withParameter?: boolean): string;
11
11
  /**
12
- * Adds phone numbers to the account Inventory as unassigned. Currently we support the following three enum values: 'Inventory',
13
- * 'InventoryPartnerBusinessMobileNumber' and 'PartnerBusinessMobileNumber'. Later we may support some other values like 'ForwardedNumber', etc.
12
+ * Adds phone numbers to the account Inventory as unassigned. Currently, we support the following values: `Inventory`,
13
+ * `InventoryPartnerBusinessMobileNumber` and `PartnerBusinessMobileNumber`. Later we may support some other values like `ForwardedNumber`, etc.
14
14
  *
15
15
  * HTTP Method: post
16
16
  * Endpoint: /restapi/v2/accounts/{accountId}/phone-numbers/bulk-add
@@ -13,8 +13,8 @@ class Index {
13
13
  return `${this._parent.path()}/bulk-add`;
14
14
  }
15
15
  /**
16
- * Adds phone numbers to the account Inventory as unassigned. Currently we support the following three enum values: 'Inventory',
17
- * 'InventoryPartnerBusinessMobileNumber' and 'PartnerBusinessMobileNumber'. Later we may support some other values like 'ForwardedNumber', etc.
16
+ * Adds phone numbers to the account Inventory as unassigned. Currently, we support the following values: `Inventory`,
17
+ * `InventoryPartnerBusinessMobileNumber` and `PartnerBusinessMobileNumber`. Later we may support some other values like `ForwardedNumber`, etc.
18
18
  *
19
19
  * HTTP Method: post
20
20
  * Endpoint: /restapi/v2/accounts/{accountId}/phone-numbers/bulk-add
@@ -33,7 +33,7 @@ declare class Index {
33
33
  *
34
34
  * In other words, this method will not delete numbers which are in use on the account - extension direct numbers,
35
35
  * main number, etc. It is possible to indicate phone numbers to be deleted using their IDs or exact string values
36
- * 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.
36
+ * 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.
37
37
  *
38
38
  * HTTP Method: delete
39
39
  * Endpoint: /restapi/v2/accounts/{accountId}/phone-numbers
@@ -40,7 +40,7 @@ class Index {
40
40
  *
41
41
  * In other words, this method will not delete numbers which are in use on the account - extension direct numbers,
42
42
  * main number, etc. It is possible to indicate phone numbers to be deleted using their IDs or exact string values
43
- * 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.
43
+ * 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.
44
44
  *
45
45
  * HTTP Method: delete
46
46
  * Endpoint: /restapi/v2/accounts/{accountId}/phone-numbers
@@ -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';
@@ -24,7 +23,6 @@ declare class Index {
24
23
  */
25
24
  get(restRequestConfig?: RestRequestConfig): Promise<AccountInfo>;
26
25
  devices(deviceId?: string | null): Devices;
27
- licenses(): Licenses;
28
26
  extensions(): Extensions;
29
27
  phoneNumbers(phoneNumberId?: string | null): PhoneNumbers;
30
28
  deviceInventory(): DeviceInventory;
@@ -9,7 +9,6 @@ const BatchProvisioning_1 = __importDefault(require("./BatchProvisioning"));
9
9
  const DeviceInventory_1 = __importDefault(require("./DeviceInventory"));
10
10
  const PhoneNumbers_1 = __importDefault(require("./PhoneNumbers"));
11
11
  const Extensions_1 = __importDefault(require("./Extensions"));
12
- const Licenses_1 = __importDefault(require("./Licenses"));
13
12
  const Devices_1 = __importDefault(require("./Devices"));
14
13
  class Index {
15
14
  constructor(_parent, accountId = '~') {
@@ -41,9 +40,6 @@ class Index {
41
40
  devices(deviceId = null) {
42
41
  return new Devices_1.default(this, deviceId);
43
42
  }
44
- licenses() {
45
- return new Licenses_1.default(this);
46
- }
47
43
  extensions() {
48
44
  return new Extensions_1.default(this);
49
45
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/Restapi/V2/Accounts/index.ts"],"names":[],"mappings":";;;;;AAAA,gFAAwD;AACxD,0EAAkD;AAClD,4EAAoD;AACpD,wEAAgD;AAChD,kEAA0C;AAC1C,8DAAsC;AACtC,0DAAkC;AAClC,wDAAgC;AAIhC,MAAM,KAAK;IAKT,YAAmB,OAAwB,EAAE,YAA2B,GAAG;QACzE,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;IACM,IAAI,CAAC,aAAa,GAAG,IAAI;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,SAAS,KAAK,IAAI,EAAE,CAAC;YAC7C,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,aAAa,IAAI,CAAC,SAAS,EAAE,CAAC;QAC7D,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3C,CAAC;IACD;;;;;;;OAOG;IACI,KAAK,CAAC,GAAG,CAAC,iBAAqC;QACpD,IAAI,IAAI,CAAC,SAAS,KAAK,IAAI,EAAE,CAAC;YAC5B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAAc,IAAI,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QACpF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAEM,OAAO,CAAC,WAA0B,IAAI;QAC3C,OAAO,IAAI,iBAAO,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IACrC,CAAC;IAEM,QAAQ;QACb,OAAO,IAAI,kBAAQ,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IAEM,UAAU;QACf,OAAO,IAAI,oBAAU,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;IAEM,YAAY,CAAC,gBAA+B,IAAI;QACrD,OAAO,IAAI,sBAAY,CAAC,IAAI,EAAE,aAAa,CAAC,CAAC;IAC/C,CAAC;IAEM,eAAe;QACpB,OAAO,IAAI,yBAAe,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC;IAEM,iBAAiB;QACtB,OAAO,IAAI,2BAAiB,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC;IAEM,gBAAgB;QACrB,OAAO,IAAI,0BAAgB,CAAC,IAAI,CAAC,CAAC;IACpC,CAAC;IAEM,mBAAmB;QACxB,OAAO,IAAI,6BAAmB,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/Restapi/V2/Accounts/index.ts"],"names":[],"mappings":";;;;;AAAA,gFAAwD;AACxD,0EAAkD;AAClD,4EAAoD;AACpD,wEAAgD;AAChD,kEAA0C;AAC1C,8DAAsC;AACtC,wDAAgC;AAIhC,MAAM,KAAK;IAKT,YAAmB,OAAwB,EAAE,YAA2B,GAAG;QACzE,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;IACM,IAAI,CAAC,aAAa,GAAG,IAAI;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,SAAS,KAAK,IAAI,EAAE,CAAC;YAC7C,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,aAAa,IAAI,CAAC,SAAS,EAAE,CAAC;QAC7D,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3C,CAAC;IACD;;;;;;;OAOG;IACI,KAAK,CAAC,GAAG,CAAC,iBAAqC;QACpD,IAAI,IAAI,CAAC,SAAS,KAAK,IAAI,EAAE,CAAC;YAC5B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAAc,IAAI,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QACpF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAEM,OAAO,CAAC,WAA0B,IAAI;QAC3C,OAAO,IAAI,iBAAO,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IACrC,CAAC;IAEM,UAAU;QACf,OAAO,IAAI,oBAAU,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;IAEM,YAAY,CAAC,gBAA+B,IAAI;QACrD,OAAO,IAAI,sBAAY,CAAC,IAAI,EAAE,aAAa,CAAC,CAAC;IAC/C,CAAC;IAEM,eAAe;QACpB,OAAO,IAAI,yBAAe,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC;IAEM,iBAAiB;QACtB,OAAO,IAAI,2BAAiB,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC;IAEM,gBAAgB;QACrB,OAAO,IAAI,0BAAgB,CAAC,IAAI,CAAC,CAAC;IACpC,CAAC;IAEM,mBAAmB;QACxB,OAAO,IAAI,6BAAmB,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rc-ex/core",
3
- "version": "1.3.7",
3
+ "version": "1.3.8",
4
4
  "description": "Core for ringcentral-extensible project",
5
5
  "author": "Tyler Liu <tyler.liu@ringcentral.com>",
6
6
  "homepage": "https://github.com/ringcentral/ringcentral-extensible/tree/master/packages/core",
@@ -19,16 +19,16 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "@types/qs": "^6.9.11",
22
- "axios": "^1.6.5",
22
+ "axios": "^1.6.7",
23
23
  "qs": "^6.11.2"
24
24
  },
25
25
  "devDependencies": {
26
26
  "dotenv-override-true": "^6.2.2",
27
- "ringcentral-code-generator": "^0.6.8",
27
+ "ringcentral-code-generator": "^0.6.10",
28
28
  "ts-node": "^10.9.2"
29
29
  },
30
30
  "scripts": {
31
31
  "generate": "ts-node -r dotenv-override-true/config code-generator.ts"
32
32
  },
33
- "gitHead": "905bb74e3433538047e5b80140ee2e79e8119c2e"
33
+ "gitHead": "779fc10f0bfd6792a89a45b5d23630e243bbecf4"
34
34
  }
@@ -20,7 +20,7 @@ interface ADGError {
20
20
  | "ErrorCode{code='ADG-105', httpStatus=404, description='Current account is not linked to any federation.'}"
21
21
  | "ErrorCode{code='ADG-107', httpStatus=404, description='Account not found.'}"
22
22
  | "ErrorCode{code='ADG-122', httpStatus=404, description='Contact not found.'}"
23
- | "ErrorCode{code=''ADG-200'', httpStatus=404, description=''Invalid URI''}";
23
+ | "ErrorCode{code='ADG-200', httpStatus=404, description='Invalid URI'}";
24
24
 
25
25
  /**
26
26
  * Message that describes the error. This message can be used in UI.
@@ -20,6 +20,17 @@ interface AccountOperatorInfo {
20
20
  * Number of an operator extension
21
21
  */
22
22
  extensionNumber?: string;
23
+
24
+ /**
25
+ * Internal identifier of an extension created by partner. Supported for Partner Applications.
26
+ * The RingCentral supports the mapping of accounts and stores the corresponding account ID/extension
27
+ * ID for each partner ID of a client application. In request URIs partner IDs are accepted instead
28
+ * of regular RingCentral native IDs as path parameters using `pid=XXX` clause.
29
+ * Though in response URIs contain the corresponding account IDs and extension
30
+ * IDs. In all request and response bodies these values are reflected via
31
+ * partnerId attributes of account and extension
32
+ */
33
+ partnerId?: string;
23
34
  }
24
35
 
25
36
  export default AccountOperatorInfo;
@@ -16,7 +16,7 @@ interface AccountPhoneNumberInfo {
16
16
  phoneNumber?: string;
17
17
 
18
18
  /**
19
- * Type of a phone number
19
+ * Type of phone number
20
20
  */
21
21
  type?: 'VoiceFax' | 'VoiceOnly' | 'FaxOnly';
22
22
 
@@ -28,7 +28,7 @@ interface AccountPhoneNumberInfo {
28
28
  tollType?: 'Toll' | 'TollFree';
29
29
 
30
30
  /**
31
- * Usage type of a phone number
31
+ * Usage type of phone number
32
32
  * Required
33
33
  */
34
34
  usageType?:
@@ -50,7 +50,7 @@ interface AccountPhoneNumberInfo {
50
50
  | 'ELIN';
51
51
 
52
52
  /**
53
- * 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
53
+ * Status of a phone number. If the value is 'Normal', the phone number is ready to be used. Otherwise, it is an external number not yet ported to RingCentral
54
54
  * Required
55
55
  */
56
56
  status?: 'Normal' | 'Pending' | 'PortedIn' | 'Temporary' | 'Unknown';
@@ -35,17 +35,17 @@ interface AccountPresenceEventBody {
35
35
  dndStatus?: 'TakeAllCalls' | 'DoNotAcceptAnyCalls' | 'DoNotAcceptDepartmentCalls' | 'TakeDepartmentCallsOnly';
36
36
 
37
37
  /**
38
- * If 'True' enables other extensions to see the extension presence status
38
+ * If `true` enables other extensions to see the extension presence status
39
39
  */
40
40
  allowSeeMyPresence?: boolean;
41
41
 
42
42
  /**
43
- * If 'True' enables to ring extension phone, if any user monitored by this extension is ringing
43
+ * If `true` enables to ring extension phone, if any user monitored by this extension is ringing
44
44
  */
45
45
  ringOnMonitoredCall?: boolean;
46
46
 
47
47
  /**
48
- * If 'True' enables the extension user to pick up a monitored line on hold
48
+ * If `true` enables the extension user to pick up a monitored line on hold
49
49
  */
50
50
  pickUpCallsOnHold?: boolean;
51
51
 
@@ -12,7 +12,7 @@ interface AccountTelephonySessionsEvent {
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
 
@@ -8,8 +8,8 @@ interface AddPhoneNumberRequestItem {
8
8
  phoneNumber?: string;
9
9
 
10
10
  /**
11
- * Usage type of a phone number. Currently we support the following three enum values: 'Inventory', 'InventoryPartnerBusinessMobileNumber' and 'PartnerBusinessMobileNumber'.
12
- * Later we may support other values like 'ForwardedNumber' etc.
11
+ * Usage type of phone number. Currently, we support the following values: `Inventory`, `InventoryPartnerBusinessMobileNumber`
12
+ * and `PartnerBusinessMobileNumber`. Later we may support some other values like `ForwardedNumber`, etc.
13
13
  * Required
14
14
  * Default: Inventory
15
15
  */
@@ -25,14 +25,14 @@ interface AddressBookBulkUploadResponse {
25
25
  status?: 'Accepted' | 'InProgress' | 'Completed' | 'Failed';
26
26
 
27
27
  /**
28
- * Datetime of a task creation
28
+ * Date/time of a task creation
29
29
  * Required
30
30
  * Format: date-time
31
31
  */
32
32
  creationTime?: string;
33
33
 
34
34
  /**
35
- * Datetime of a task latest update
35
+ * Date/time of a task latest update
36
36
  * Required
37
37
  * Format: date-time
38
38
  */
@@ -5,7 +5,7 @@ import type ApiError from './ApiError';
5
5
  */
6
6
  interface ApiErrorResponseModel {
7
7
  /**
8
- * The array of errors (there will be just one in the most of cases)
8
+ * The array of errors (there will be just one in the most of the cases)
9
9
  * Required
10
10
  */
11
11
  errors?: ApiError[];
@@ -1,3 +1,4 @@
1
+ import type UtteranceObject from './UtteranceObject';
1
2
  import type WordSegment from './WordSegment';
2
3
 
3
4
  interface AsrApiResponseResponse {
@@ -8,6 +9,11 @@ interface AsrApiResponseResponse {
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
  */
13
19
  words?: WordSegment[];
@@ -2,12 +2,12 @@ import type AssignPhoneNumberRequestExtension from './AssignPhoneNumberRequestEx
2
2
 
3
3
  interface AssignPhoneNumberRequest {
4
4
  /**
5
- * Type of a phone number
5
+ * Type of phone number
6
6
  */
7
7
  type?: 'VoiceFax' | 'VoiceOnly' | 'FaxOnly';
8
8
 
9
9
  /**
10
- * Target usage type of a phone number (only listed values are supported)
10
+ * Target usage type of phone number (only listed values are supported)
11
11
  * Required
12
12
  */
13
13
  usageType?: 'MainCompanyNumber' | 'CompanyNumber' | 'DirectNumber' | 'PhoneLine';
@@ -23,7 +23,7 @@ interface AuthorizeRequest {
23
23
  client_id?: string;
24
24
 
25
25
  /**
26
- * Client state. Returned back to the client at the end of the flow
26
+ * Client state. Returned to the client at the end of the flow
27
27
  */
28
28
  state?: string;
29
29
 
@@ -45,6 +45,7 @@ interface AuthorizeRequest {
45
45
  /**
46
46
  * Specifies which login form will be displayed. Space-separated
47
47
  * set of the following values:
48
+ *
48
49
  * - **login** - RingCentral native login form,
49
50
  * - **sso** - Single Sign-On login form,
50
51
  * - **consent** - form to show the requested scope and prompt user for consent.
@@ -24,7 +24,7 @@ interface AutomaticLocationUpdatesTaskInfo {
24
24
  lastModifiedTime?: string;
25
25
 
26
26
  /**
27
- * Type of a task
27
+ * Type of task
28
28
  */
29
29
  type?: 'WirelessPointsBulkCreate' | 'WirelessPointsBulkUpdate' | 'SwitchesBulkCreate' | 'SwitchesBulkUpdate';
30
30
 
@@ -40,7 +40,7 @@ interface BaseCallLogRecord {
40
40
  partyId?: string;
41
41
 
42
42
  /**
43
- * The type of a call transport. 'PSTN' indicates that a call leg was initiated
43
+ * The type of call transport. 'PSTN' indicates that a call leg was initiated
44
44
  * from the PSTN network provider; 'VoIP' - from an RC phone.
45
45
  * Required
46
46
  */
@@ -55,7 +55,7 @@ interface BaseCallLogRecord {
55
55
  to?: CallLogToParty;
56
56
 
57
57
  /**
58
- * The type of a call
58
+ * The type of call
59
59
  * Required
60
60
  */
61
61
  type?: 'Voice' | 'Fax';
@@ -74,6 +74,11 @@ interface BaseCallLogRecord {
74
74
  */
75
75
  delegate?: CallLogDelegateInfo;
76
76
 
77
+ /**
78
+ * Call delegation type
79
+ */
80
+ delegationType?: 'Coworker' | 'Unknown';
81
+
77
82
  /**
78
83
  * The internal action corresponding to the call operation
79
84
  * Required
@@ -2,7 +2,7 @@ import type PresetInfo from './PresetInfo';
2
2
 
3
3
  interface BlockedCallerGreetingInfo {
4
4
  /**
5
- * Type of a greeting
5
+ * Type of greeting
6
6
  */
7
7
  type?: string;
8
8
 
@@ -18,7 +18,7 @@ interface BridgeResponse {
18
18
  name?: string;
19
19
 
20
20
  /**
21
- * Type of a bridge. It specifies bridge life cycle.
21
+ * Type of bridge. It specifies bridge life cycle.
22
22
  * 1) Instant - The bridge will be used for a meeting only once immediately after creation. Then it will be deleted.
23
23
  * 2) Scheduled - The bridge will be used for scheduled one or more meetings. If the bridge is not used for a long
24
24
  * time after the last meeting, then it will be deleted.
@@ -27,7 +27,7 @@ interface BulkAddDevicesItem {
27
27
  emergency?: BulkAddDevicesItemEmergency;
28
28
 
29
29
  /**
30
- * To be used to assign a number by id
30
+ * To be used to assign a number by ID
31
31
  * Required
32
32
  */
33
33
  phoneInfo?: BulkAddDevicesItemPhoneInfo;
@@ -3,8 +3,8 @@ import type BulkOperationExtensionReference from './BulkOperationExtensionRefere
3
3
  interface BulkDeleteUsersRequest {
4
4
  /**
5
5
  * Indicates that the freed users' assets (phone numbers and devices) should be moved
6
- * to account inventory rather then deleted. If set to 'True, the phone numbers and devices
7
- * assigned to deleted extensions will be kept in the account's inventory. If set to 'False',
6
+ * to account inventory rather than deleted. If set to `true`, the phone numbers and devices
7
+ * assigned to deleted extensions will be kept in the account's inventory. If set to `false`,
8
8
  * these assets will be deleted from the account and returned to either the partner's phone
9
9
  * numbers or RingCentral's phone number pool
10
10
  * Default: true
@@ -3,7 +3,7 @@
3
3
  */
4
4
  interface BulkOperationExtensionReference {
5
5
  /**
6
- * Internal identifier of a RingCentral extension
6
+ * Internal identifier of a RingCentral extension
7
7
  * Required
8
8
  * Example: 12345
9
9
  */
@@ -41,7 +41,7 @@ interface CallLogRecord {
41
41
  partyId?: string;
42
42
 
43
43
  /**
44
- * The type of a call transport. 'PSTN' indicates that a call leg was initiated
44
+ * The type of call transport. 'PSTN' indicates that a call leg was initiated
45
45
  * from the PSTN network provider; 'VoIP' - from an RC phone.
46
46
  * Required
47
47
  */
@@ -56,7 +56,7 @@ interface CallLogRecord {
56
56
  to?: CallLogToParty;
57
57
 
58
58
  /**
59
- * The type of a call
59
+ * The type of call
60
60
  * Required
61
61
  */
62
62
  type?: 'Voice' | 'Fax';
@@ -75,6 +75,11 @@ interface CallLogRecord {
75
75
  */
76
76
  delegate?: CallLogDelegateInfo;
77
77
 
78
+ /**
79
+ * Call delegation type
80
+ */
81
+ delegationType?: 'Coworker' | 'Unknown';
82
+
78
83
  /**
79
84
  * The internal action corresponding to the call operation
80
85
  * Required
@@ -40,7 +40,7 @@ interface CallLogRecordLegInfo {
40
40
  partyId?: string;
41
41
 
42
42
  /**
43
- * The type of a call transport. 'PSTN' indicates that a call leg was initiated
43
+ * The type of call transport. 'PSTN' indicates that a call leg was initiated
44
44
  * from the PSTN network provider; 'VoIP' - from an RC phone.
45
45
  * Required
46
46
  */
@@ -55,7 +55,7 @@ interface CallLogRecordLegInfo {
55
55
  to?: CallLogToParty;
56
56
 
57
57
  /**
58
- * The type of a call
58
+ * The type of call
59
59
  * Required
60
60
  */
61
61
  type?: 'Voice' | 'Fax';
@@ -74,6 +74,11 @@ interface CallLogRecordLegInfo {
74
74
  */
75
75
  delegate?: CallLogDelegateInfo;
76
76
 
77
+ /**
78
+ * Call delegation type
79
+ */
80
+ delegationType?: 'Coworker' | 'Unknown';
81
+
77
82
  /**
78
83
  * The internal action corresponding to the call operation
79
84
  * Required
@@ -9,7 +9,7 @@ interface CallLogRecordMessage {
9
9
  id?: string;
10
10
 
11
11
  /**
12
- * Type of a message
12
+ * Type of message
13
13
  * Required
14
14
  */
15
15
  type?: string;
@@ -27,8 +27,8 @@ interface CallParty {
27
27
  muted?: boolean;
28
28
 
29
29
  /**
30
- * If 'True' then the party is not connected to a session voice
31
- * conference, 'False' means the party is connected to other parties in a
30
+ * If `true` then the party is not connected to a session voice
31
+ * conference, `false` means the party is connected to other parties in a
32
32
  * session
33
33
  */
34
34
  standAlone?: boolean;
@@ -20,7 +20,7 @@ interface CallQueueExtensionInfo {
20
20
  slaThresholdSeconds?: number;
21
21
 
22
22
  /**
23
- * If 'True' abandoned calls (hanged up prior to being served)
23
+ * If `true` abandoned calls (hanged up prior to being served)
24
24
  * are included into service level calculation
25
25
  */
26
26
  includeAbandonedCalls?: boolean;
@@ -1,4 +1,4 @@
1
- interface EmergencyLocationResourceAddress {
1
+ interface CommonEmergencyLocationAddressInfo {
2
2
  /**
3
3
  * Country name
4
4
  */
@@ -45,7 +45,7 @@ interface EmergencyLocationResourceAddress {
45
45
  city?: string;
46
46
 
47
47
  /**
48
- * The name of the street (The field is utilised as 'streetName' field for FR addresses)
48
+ * The name of the street (The field is utilized as 'streetName' field for FR addresses)
49
49
  */
50
50
  street?: string;
51
51
 
@@ -86,4 +86,4 @@ interface EmergencyLocationResourceAddress {
86
86
  buildingNumber?: string;
87
87
  }
88
88
 
89
- export default EmergencyLocationResourceAddress;
89
+ export default CommonEmergencyLocationAddressInfo;