@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.
- package/lib/definitions/ADGError.d.ts +1 -1
- package/lib/definitions/AccountOperatorInfo.d.ts +10 -0
- package/lib/definitions/AccountPhoneNumberInfo.d.ts +3 -3
- package/lib/definitions/AccountPresenceEventBody.d.ts +3 -3
- package/lib/definitions/AccountTelephonySessionsEvent.d.ts +1 -1
- package/lib/definitions/AddPhoneNumberRequestItem.d.ts +2 -2
- package/lib/definitions/AddressBookBulkUploadResponse.d.ts +2 -2
- package/lib/definitions/ApiErrorResponseModel.d.ts +1 -1
- package/lib/definitions/AsrApiResponseResponse.d.ts +5 -0
- package/lib/definitions/AssignPhoneNumberRequest.d.ts +2 -2
- package/lib/definitions/AuthorizeRequest.d.ts +2 -1
- package/lib/definitions/AutomaticLocationUpdatesTaskInfo.d.ts +1 -1
- package/lib/definitions/BaseCallLogRecord.d.ts +6 -2
- package/lib/definitions/BlockedCallerGreetingInfo.d.ts +1 -1
- package/lib/definitions/BridgeResponse.d.ts +1 -1
- package/lib/definitions/BulkAddDevicesItem.d.ts +1 -1
- package/lib/definitions/BulkDeleteUsersRequest.d.ts +2 -2
- package/lib/definitions/BulkOperationExtensionReference.d.ts +1 -1
- package/lib/definitions/CallLogRecord.d.ts +6 -2
- package/lib/definitions/CallLogRecordLegInfo.d.ts +6 -2
- package/lib/definitions/CallLogRecordMessage.d.ts +1 -1
- package/lib/definitions/CallParty.d.ts +2 -2
- package/lib/definitions/CallQueueExtensionInfo.d.ts +1 -1
- package/lib/definitions/{EmergencyLocationResourceAddress.d.ts → CommonEmergencyLocationAddressInfo.d.ts} +3 -3
- package/lib/definitions/{BulkManageLicensesRequest.js → CommonEmergencyLocationAddressInfo.js} +1 -1
- package/lib/definitions/CommonEmergencyLocationAddressInfo.js.map +1 -0
- package/lib/definitions/{EmergencyLocationAddressInfoAu.d.ts → CommonEmergencyLocationAddressInfoAu.d.ts} +4 -5
- package/lib/definitions/{DeviceEmergencyAddressDefault.js → CommonEmergencyLocationAddressInfoAu.js} +1 -1
- package/lib/definitions/CommonEmergencyLocationAddressInfoAu.js.map +1 -0
- package/lib/definitions/{EmergencyLocationAddressInfoDefault.d.ts → CommonEmergencyLocationAddressInfoDefault.d.ts} +2 -2
- package/lib/definitions/{CreateUserEmergencyLocationRequestAddress.js → CommonEmergencyLocationAddressInfoDefault.js} +1 -1
- package/lib/definitions/CommonEmergencyLocationAddressInfoDefault.js.map +1 -0
- package/lib/definitions/{EmergencyLocationAddressInfoFr.d.ts → CommonEmergencyLocationAddressInfoFr.d.ts} +3 -3
- package/lib/definitions/CommonEmergencyLocationAddressInfoFr.js +3 -0
- package/lib/definitions/CommonEmergencyLocationAddressInfoFr.js.map +1 -0
- package/lib/definitions/{EmergencyLocationResource.d.ts → CommonEmergencyLocationResource.d.ts} +6 -6
- package/lib/definitions/{BulkManageLicensesResponse.js → CommonEmergencyLocationResource.js} +1 -1
- package/lib/definitions/CommonEmergencyLocationResource.js.map +1 -0
- package/lib/definitions/CompanyAnsweringRuleRequest.d.ts +1 -1
- package/lib/definitions/CompanyAnsweringRuleUpdate.d.ts +1 -1
- package/lib/definitions/CompanyPhoneNumberInfo.d.ts +4 -4
- package/lib/definitions/ConferencePhoneNumberInfo.d.ts +1 -1
- package/lib/definitions/ContactCenterProvider.d.ts +3 -1
- package/lib/definitions/ContactInfo.d.ts +1 -1
- package/lib/definitions/ContactInfoCreationRequest.d.ts +2 -2
- package/lib/definitions/ContactInfoUpdateRequest.d.ts +2 -2
- package/lib/definitions/ContactResource.d.ts +3 -2
- package/lib/definitions/CostCenterInfo.d.ts +14 -0
- package/lib/definitions/{EmergencyAddressInfoAu.js → CostCenterInfo.js} +1 -1
- package/lib/definitions/CostCenterInfo.js.map +1 -0
- package/lib/definitions/CreateAnsweringRuleForwardingNumberInfo.d.ts +1 -1
- package/lib/definitions/CreateAnsweringRuleRequest.d.ts +1 -1
- package/lib/definitions/CreateBridgeRequest.d.ts +1 -1
- package/lib/definitions/CreateCompanyGreetingRequest.d.ts +1 -1
- package/lib/definitions/CreateConversationRequest.d.ts +3 -1
- package/lib/definitions/CreateCustomUserGreetingRequest.d.ts +1 -1
- package/lib/definitions/CreateNetworkRequest.d.ts +0 -4
- package/lib/definitions/CreateSubscriptionRequest.d.ts +1 -0
- package/lib/definitions/CreateSwitchInfo.d.ts +2 -2
- package/lib/definitions/CreateUserEmergencyLocationRequest.d.ts +3 -3
- package/lib/definitions/CreateWebhookSubscriptionRequest.d.ts +1 -0
- package/lib/definitions/CreateWirelessPoint.d.ts +2 -2
- package/lib/definitions/CustomCompanyGreetingInfo.d.ts +1 -1
- package/lib/definitions/CustomUserGreetingInfo.d.ts +1 -1
- package/lib/definitions/DeleteMessageByFilterParameters.d.ts +1 -1
- package/lib/definitions/DeletePhoneNumbersRequest.d.ts +1 -1
- package/lib/definitions/DetailedExtensionPresenceEventBody.d.ts +3 -3
- package/lib/definitions/DetailedExtensionPresenceWithSIPEventBody.d.ts +3 -3
- package/lib/definitions/DeviceDefinition.d.ts +1 -1
- package/lib/definitions/DeviceEmergencyInfo.d.ts +3 -8
- package/lib/definitions/DeviceEmergencyLocationInfo.d.ts +1 -1
- package/lib/definitions/DeviceInfoRequest.d.ts +2 -2
- package/lib/definitions/DeviceModelInfo.d.ts +2 -2
- package/lib/definitions/DevicePhoneNumberInfo.d.ts +1 -1
- package/lib/definitions/DeviceProvisioningExtensionInfo.d.ts +1 -1
- package/lib/definitions/DeviceResource.d.ts +16 -12
- package/lib/definitions/DictionaryGreetingInfo.d.ts +2 -2
- package/lib/definitions/ERLLocationInfo.d.ts +1 -1
- package/lib/definitions/EmailRecipientInfo.d.ts +1 -1
- package/lib/definitions/EmergencyAddress.d.ts +2 -2
- package/lib/definitions/{CreateUserEmergencyLocationRequestAddress.d.ts → EmergencyAddressInfo.d.ts} +9 -3
- package/lib/definitions/{EmergencyAddressInfoFr.js → EmergencyAddressInfo.js} +1 -1
- package/lib/definitions/EmergencyAddressInfo.js.map +1 -0
- package/lib/definitions/EmergencyLocationInfo.d.ts +1 -1
- package/lib/definitions/EmergencyLocationInfoRequest.d.ts +3 -3
- package/lib/definitions/EmergencyLocationsResource.d.ts +2 -2
- package/lib/definitions/EmergencyServiceAddressResource.d.ts +1 -1
- package/lib/definitions/EveryoneTeamInfo.d.ts +1 -1
- package/lib/definitions/ExtensionBulkUpdateInfo.d.ts +4 -0
- package/lib/definitions/ExtensionBulkUpdateTaskResource.d.ts +2 -2
- package/lib/definitions/ExtensionCallerIdInfo.d.ts +2 -2
- package/lib/definitions/ExtensionCallerIdInfoRequest.d.ts +2 -2
- package/lib/definitions/ExtensionCreationRequest.d.ts +6 -9
- package/lib/definitions/ExtensionCreationResponse.d.ts +4 -5
- package/lib/definitions/ExtensionFavoritesEvent.d.ts +1 -1
- package/lib/definitions/ExtensionGrantListEvent.d.ts +1 -1
- package/lib/definitions/ExtensionInfo.d.ts +1 -1
- package/lib/definitions/ExtensionInfoEvent.d.ts +2 -2
- package/lib/definitions/ExtensionInfoIntId.d.ts +1 -1
- package/lib/definitions/ExtensionListEvent.d.ts +1 -1
- package/lib/definitions/ExtensionPresenceEventBody.d.ts +3 -3
- package/lib/definitions/ExtensionServiceFeatureInfo.d.ts +1 -1
- package/lib/definitions/ExtensionTelephonySessionsEvent.d.ts +2 -1
- package/lib/definitions/ExtensionUpdateRequest.d.ts +1 -1
- package/lib/definitions/FaxResponse.d.ts +2 -2
- package/lib/definitions/ForwardCallPartyResponse.d.ts +2 -2
- package/lib/definitions/ForwardingInfo.d.ts +2 -2
- package/lib/definitions/ForwardingInfoCreateRuleRequest.d.ts +3 -3
- package/lib/definitions/GetAccountInfoResponse.d.ts +1 -1
- package/lib/definitions/GetExtensionInfoResponse.d.ts +8 -4
- package/lib/definitions/GetExtensionListInfoResponse.d.ts +7 -3
- package/lib/definitions/GetInternalTextMessageInfoResponse.d.ts +3 -3
- package/lib/definitions/GetMessageInfoResponse.d.ts +4 -4
- package/lib/definitions/GetPresenceInfo.d.ts +4 -4
- package/lib/definitions/GetSMSMessageInfoResponse.d.ts +3 -3
- package/lib/definitions/GetTokenRequest.d.ts +1 -1
- package/lib/definitions/GreetingInfo.d.ts +1 -1
- package/lib/definitions/InstantMessageEvent.d.ts +1 -1
- package/lib/definitions/InstantMessageEventBody.d.ts +3 -3
- package/lib/definitions/ListAccountPhoneNumbersParameters.d.ts +2 -2
- package/lib/definitions/ListAccountPhoneNumbersV2Parameters.d.ts +4 -4
- package/lib/definitions/ListCompanyActiveCallsParameters.d.ts +1 -1
- package/lib/definitions/ListCompanyAnsweringRuleInfo.d.ts +1 -1
- package/lib/definitions/ListDirectoryEntriesParameters.d.ts +1 -1
- package/lib/definitions/ListExtensionActiveCallsParameters.d.ts +1 -1
- package/lib/definitions/ListExtensionDevicesParameters.d.ts +2 -2
- package/lib/definitions/ListExtensionPhoneNumbersParameters.d.ts +1 -1
- package/lib/definitions/ListGlipChatsNewParameters.d.ts +1 -1
- package/lib/definitions/ListMessagesParameters.d.ts +3 -3
- package/lib/definitions/ListRecentChatsNewParameters.d.ts +1 -1
- package/lib/definitions/ListStandardGreetingsParameters.d.ts +2 -2
- package/lib/definitions/ListStatesParameters.d.ts +2 -2
- package/lib/definitions/ListUserTemplatesParameters.d.ts +1 -1
- package/lib/definitions/LocationOwnerInfo.d.ts +8 -0
- package/lib/definitions/MessageAttachmentInfoIntId.d.ts +1 -1
- package/lib/definitions/MessageEvent.d.ts +1 -1
- package/lib/definitions/MessageEventBody.d.ts +1 -1
- package/lib/definitions/MessageStoreCallerInfoResponseTo.d.ts +1 -1
- package/lib/definitions/ModelInfo.d.ts +1 -1
- package/lib/definitions/NetworkInfo.d.ts +0 -4
- package/lib/definitions/NotificationSettings.d.ts +2 -2
- package/lib/definitions/NotificationSettingsUpdateRequest.d.ts +3 -3
- package/lib/definitions/ParameterizedErrorResponseModel.d.ts +1 -1
- package/lib/definitions/ParsePhoneNumberParameters.d.ts +1 -1
- package/lib/definitions/PartySuperviseRequest.d.ts +1 -1
- package/lib/definitions/PartyUpdateInfo.d.ts +1 -1
- package/lib/definitions/PermissionIdResource.d.ts +1 -1
- package/lib/definitions/PhoneLinesInfo.d.ts +1 -1
- package/lib/definitions/PhoneNumberDefinitionNumberId.d.ts +1 -1
- package/lib/definitions/PhoneNumberInfoConferencing.d.ts +2 -2
- package/lib/definitions/PhoneNumberInfoIntId.d.ts +2 -2
- package/lib/definitions/PhoneNumberResource.d.ts +1 -1
- package/lib/definitions/PresenceInfoRequest.d.ts +1 -1
- package/lib/definitions/PresenceInfoResponse.d.ts +1 -1
- package/lib/definitions/PrivateIpRangeInfo.d.ts +6 -5
- package/lib/definitions/PrivateIpRangeInfoRequest.d.ts +4 -0
- package/lib/definitions/ProfileImageInfo.d.ts +3 -3
- package/lib/definitions/PromptInfo.d.ts +1 -1
- package/lib/definitions/QueueInfo.d.ts +10 -4
- package/lib/definitions/ReadUserCallLogParameters.d.ts +1 -1
- package/lib/definitions/ReasonInfo.d.ts +1 -1
- package/lib/definitions/RecurrenceInfo.d.ts +2 -1
- package/lib/definitions/RemoveLineRequest.d.ts +5 -4
- package/lib/definitions/ReplyParty.d.ts +1 -1
- package/lib/definitions/RevokeTokenParameters.d.ts +10 -0
- package/lib/definitions/{LicenseAssignmentEntry.js → RevokeTokenParameters.js} +1 -1
- package/lib/definitions/RevokeTokenParameters.js.map +1 -0
- package/lib/definitions/RevokeTokenRequest.d.ts +1 -1
- package/lib/definitions/RolesBusinessSiteResource.d.ts +4 -0
- package/lib/definitions/ScheduleUserMeetingInfo.d.ts +1 -1
- package/lib/definitions/ScimResourceTypeResponse.d.ts +1 -1
- package/lib/definitions/ScimUser.d.ts +2 -2
- package/lib/definitions/ScimUserResponse.d.ts +2 -2
- package/lib/definitions/SearchDirectoryEntriesRequest.d.ts +4 -2
- package/lib/definitions/ServiceInfoV2.d.ts +1 -1
- package/lib/definitions/SessionGlobalListEntry.d.ts +0 -1
- package/lib/definitions/ShippingAddressInfo.d.ts +1 -1
- package/lib/definitions/ShippingInfo.d.ts +3 -3
- package/lib/definitions/SipInfoResponse.d.ts +4 -0
- package/lib/definitions/SipRegistrationDeviceEmergencyInfo.d.ts +1 -1
- package/lib/definitions/SipRegistrationDeviceInfo.d.ts +13 -12
- package/lib/definitions/SipRegistrationDeviceLocationInfo.d.ts +1 -1
- package/lib/definitions/SubscriptionInfo.d.ts +0 -1
- package/lib/definitions/SummaryUnit.d.ts +3 -0
- package/lib/definitions/SuperviseCallSessionRequest.d.ts +1 -1
- package/lib/definitions/SuperviseCallSessionResponse.d.ts +1 -1
- package/lib/definitions/SwitchInfo.d.ts +2 -6
- package/lib/definitions/SyncInfoMessages.d.ts +1 -1
- package/lib/definitions/SyncMessagesParameters.d.ts +3 -3
- package/lib/definitions/TMChatInfo.d.ts +1 -1
- package/lib/definitions/TMConversationInfo.d.ts +1 -1
- package/lib/definitions/TMCreateEventRequest.d.ts +5 -2
- package/lib/definitions/TMPostInfo.d.ts +1 -1
- package/lib/definitions/TMTeamInfo.d.ts +1 -1
- package/lib/definitions/TelephonySessionsEventBody.d.ts +1 -1
- package/lib/definitions/TemporaryNumberInfo.d.ts +3 -1
- package/lib/definitions/TranscribedObject.d.ts +5 -0
- package/lib/definitions/UpdateAnsweringRuleRequest.d.ts +1 -1
- package/lib/definitions/UpdateContactParameters.d.ts +2 -2
- package/lib/definitions/UpdateNetworkRequest.d.ts +0 -4
- package/lib/definitions/UpdateSubscriptionRequest.d.ts +1 -0
- package/lib/definitions/UpdateSwitchInfo.d.ts +2 -2
- package/lib/definitions/UpdateWirelessPoint.d.ts +2 -2
- package/lib/definitions/UserPhoneNumberExtensionInfo.d.ts +1 -1
- package/lib/definitions/UserPhoneNumberInfo.d.ts +9 -6
- package/lib/definitions/UtteranceObject.d.ts +33 -0
- package/lib/definitions/{DeviceEmergencyAddressAu.js → UtteranceObject.js} +1 -1
- package/lib/definitions/UtteranceObject.js.map +1 -0
- package/lib/definitions/VoicemailInfo.d.ts +1 -1
- package/lib/definitions/VoicemailMessageEvent.d.ts +1 -1
- package/lib/definitions/VoicemailMessageEventBody.d.ts +3 -3
- package/lib/definitions/WcsSessionBaseModel.d.ts +0 -1
- package/lib/definitions/WcsSessionResource.d.ts +0 -1
- package/lib/definitions/WcsSessionWithLocaleCodeModel.d.ts +0 -1
- package/lib/definitions/WirelessPointInfo.d.ts +2 -6
- package/lib/paths/Ai/Text/V1/Async/Summarize/index.d.ts +1 -1
- package/lib/paths/Ai/Text/V1/Async/Summarize/index.js +1 -1
- package/lib/paths/Restapi/Account/BusinessAddress/index.d.ts +1 -1
- package/lib/paths/Restapi/Account/BusinessAddress/index.js +1 -1
- package/lib/paths/Restapi/Account/EmergencyLocations/index.d.ts +4 -4
- package/lib/paths/Restapi/Account/EmergencyLocations/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/AddressBook/Contact/index.d.ts +6 -3
- package/lib/paths/Restapi/Account/Extension/AddressBook/Contact/index.js +6 -3
- package/lib/paths/Restapi/Account/Extension/AddressBook/Contact/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.d.ts +6 -2
- package/lib/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.js +6 -2
- package/lib/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/EmergencyLocations/index.d.ts +5 -4
- package/lib/paths/Restapi/Account/Extension/EmergencyLocations/index.js +2 -2
- package/lib/paths/Restapi/Account/Extension/EmergencyLocations/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/Fax/index.d.ts +1 -1
- package/lib/paths/Restapi/Account/Extension/Fax/index.js +1 -1
- package/lib/paths/Restapi/Account/Extension/Presence/index.d.ts +7 -13
- package/lib/paths/Restapi/Account/Extension/Presence/index.js +7 -13
- package/lib/paths/Restapi/Account/Extension/Presence/index.js.map +1 -1
- package/lib/paths/Restapi/Account/PhoneNumber/index.d.ts +2 -2
- package/lib/paths/Restapi/Account/PhoneNumber/index.js +2 -2
- package/lib/paths/Restapi/Oauth/Revoke/index.d.ts +4 -2
- package/lib/paths/Restapi/Oauth/Revoke/index.js +4 -3
- package/lib/paths/Restapi/Oauth/Revoke/index.js.map +1 -1
- package/lib/paths/Restapi/Subscription/index.d.ts +3 -0
- package/lib/paths/Restapi/Subscription/index.js +3 -0
- package/lib/paths/Restapi/Subscription/index.js.map +1 -1
- package/lib/paths/Restapi/V2/Accounts/Devices/index.d.ts +5 -5
- package/lib/paths/Restapi/V2/Accounts/Devices/index.js +5 -5
- package/lib/paths/Restapi/V2/Accounts/Extensions/Devices/Replace/index.d.ts +12 -5
- package/lib/paths/Restapi/V2/Accounts/Extensions/Devices/Replace/index.js +12 -5
- package/lib/paths/Restapi/V2/Accounts/Extensions/Devices/Replace/index.js.map +1 -1
- package/lib/paths/Restapi/V2/Accounts/Extensions/index.d.ts +1 -0
- package/lib/paths/Restapi/V2/Accounts/Extensions/index.js +1 -0
- package/lib/paths/Restapi/V2/Accounts/Extensions/index.js.map +1 -1
- package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/BulkAdd/index.d.ts +2 -2
- package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/BulkAdd/index.js +2 -2
- package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/index.d.ts +1 -1
- package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/index.js +1 -1
- package/lib/paths/Restapi/V2/Accounts/index.d.ts +0 -2
- package/lib/paths/Restapi/V2/Accounts/index.js +0 -4
- package/lib/paths/Restapi/V2/Accounts/index.js.map +1 -1
- package/package.json +4 -4
- package/src/definitions/ADGError.ts +1 -1
- package/src/definitions/AccountOperatorInfo.ts +11 -0
- package/src/definitions/AccountPhoneNumberInfo.ts +3 -3
- package/src/definitions/AccountPresenceEventBody.ts +3 -3
- package/src/definitions/AccountTelephonySessionsEvent.ts +1 -1
- package/src/definitions/AddPhoneNumberRequestItem.ts +2 -2
- package/src/definitions/AddressBookBulkUploadResponse.ts +2 -2
- package/src/definitions/ApiErrorResponseModel.ts +1 -1
- package/src/definitions/AsrApiResponseResponse.ts +6 -0
- package/src/definitions/AssignPhoneNumberRequest.ts +2 -2
- package/src/definitions/AuthorizeRequest.ts +2 -1
- package/src/definitions/AutomaticLocationUpdatesTaskInfo.ts +1 -1
- package/src/definitions/BaseCallLogRecord.ts +7 -2
- package/src/definitions/BlockedCallerGreetingInfo.ts +1 -1
- package/src/definitions/BridgeResponse.ts +1 -1
- package/src/definitions/BulkAddDevicesItem.ts +1 -1
- package/src/definitions/BulkDeleteUsersRequest.ts +2 -2
- package/src/definitions/BulkOperationExtensionReference.ts +1 -1
- package/src/definitions/CallLogRecord.ts +7 -2
- package/src/definitions/CallLogRecordLegInfo.ts +7 -2
- package/src/definitions/CallLogRecordMessage.ts +1 -1
- package/src/definitions/CallParty.ts +2 -2
- package/src/definitions/CallQueueExtensionInfo.ts +1 -1
- package/src/definitions/{EmergencyLocationResourceAddress.ts → CommonEmergencyLocationAddressInfo.ts} +3 -3
- package/src/definitions/{EmergencyLocationAddressInfoAu.ts → CommonEmergencyLocationAddressInfoAu.ts} +4 -5
- package/src/definitions/{EmergencyLocationAddressInfoDefault.ts → CommonEmergencyLocationAddressInfoDefault.ts} +2 -2
- package/src/definitions/{EmergencyLocationAddressInfoFr.ts → CommonEmergencyLocationAddressInfoFr.ts} +3 -3
- package/src/definitions/{EmergencyLocationResource.ts → CommonEmergencyLocationResource.ts} +6 -6
- package/src/definitions/CompanyAnsweringRuleRequest.ts +1 -1
- package/src/definitions/CompanyAnsweringRuleUpdate.ts +1 -1
- package/src/definitions/CompanyPhoneNumberInfo.ts +4 -4
- package/src/definitions/ConferencePhoneNumberInfo.ts +1 -1
- package/src/definitions/ContactCenterProvider.ts +3 -1
- package/src/definitions/ContactInfo.ts +1 -1
- package/src/definitions/ContactInfoCreationRequest.ts +2 -2
- package/src/definitions/ContactInfoUpdateRequest.ts +2 -2
- package/src/definitions/ContactResource.ts +3 -2
- package/src/definitions/CostCenterInfo.ts +16 -0
- package/src/definitions/CreateAnsweringRuleForwardingNumberInfo.ts +1 -1
- package/src/definitions/CreateAnsweringRuleRequest.ts +1 -1
- package/src/definitions/CreateBridgeRequest.ts +1 -1
- package/src/definitions/CreateCompanyGreetingRequest.ts +1 -1
- package/src/definitions/CreateConversationRequest.ts +3 -1
- package/src/definitions/CreateCustomUserGreetingRequest.ts +1 -1
- package/src/definitions/CreateNetworkRequest.ts +0 -5
- package/src/definitions/CreateSubscriptionRequest.ts +1 -0
- package/src/definitions/CreateSwitchInfo.ts +2 -2
- package/src/definitions/CreateUserEmergencyLocationRequest.ts +3 -3
- package/src/definitions/CreateWebhookSubscriptionRequest.ts +1 -0
- package/src/definitions/CreateWirelessPoint.ts +2 -2
- package/src/definitions/CustomCompanyGreetingInfo.ts +1 -1
- package/src/definitions/CustomUserGreetingInfo.ts +1 -1
- package/src/definitions/DeleteMessageByFilterParameters.ts +1 -1
- package/src/definitions/DeletePhoneNumbersRequest.ts +1 -1
- package/src/definitions/DetailedExtensionPresenceEventBody.ts +3 -3
- package/src/definitions/DetailedExtensionPresenceWithSIPEventBody.ts +3 -3
- package/src/definitions/DeviceDefinition.ts +1 -1
- package/src/definitions/DeviceEmergencyInfo.ts +3 -8
- package/src/definitions/DeviceEmergencyLocationInfo.ts +1 -1
- package/src/definitions/DeviceInfoRequest.ts +2 -2
- package/src/definitions/DeviceModelInfo.ts +2 -2
- package/src/definitions/DevicePhoneNumberInfo.ts +1 -1
- package/src/definitions/DeviceProvisioningExtensionInfo.ts +1 -1
- package/src/definitions/DeviceResource.ts +17 -12
- package/src/definitions/DictionaryGreetingInfo.ts +2 -2
- package/src/definitions/ERLLocationInfo.ts +1 -1
- package/src/definitions/EmailRecipientInfo.ts +1 -1
- package/src/definitions/EmergencyAddress.ts +2 -2
- package/src/definitions/{EmergencyLocationInfoRequestAddress.ts → EmergencyAddressInfo.ts} +10 -3
- package/src/definitions/EmergencyLocationInfo.ts +1 -1
- package/src/definitions/EmergencyLocationInfoRequest.ts +3 -3
- package/src/definitions/EmergencyLocationsResource.ts +2 -2
- package/src/definitions/EmergencyServiceAddressResource.ts +1 -1
- package/src/definitions/EveryoneTeamInfo.ts +1 -1
- package/src/definitions/ExtensionBulkUpdateInfo.ts +5 -0
- package/src/definitions/ExtensionBulkUpdateTaskResource.ts +2 -2
- package/src/definitions/ExtensionCallerIdInfo.ts +2 -2
- package/src/definitions/ExtensionCallerIdInfoRequest.ts +2 -2
- package/src/definitions/ExtensionCreationRequest.ts +6 -9
- package/src/definitions/ExtensionCreationResponse.ts +4 -5
- package/src/definitions/ExtensionFavoritesEvent.ts +1 -1
- package/src/definitions/ExtensionGrantListEvent.ts +1 -1
- package/src/definitions/ExtensionInfo.ts +1 -1
- package/src/definitions/ExtensionInfoEvent.ts +2 -2
- package/src/definitions/ExtensionInfoIntId.ts +1 -1
- package/src/definitions/ExtensionListEvent.ts +1 -1
- package/src/definitions/ExtensionPresenceEventBody.ts +3 -3
- package/src/definitions/ExtensionServiceFeatureInfo.ts +1 -1
- package/src/definitions/ExtensionTelephonySessionsEvent.ts +2 -1
- package/src/definitions/ExtensionUpdateRequest.ts +1 -1
- package/src/definitions/FaxResponse.ts +2 -2
- package/src/definitions/ForwardCallPartyResponse.ts +2 -2
- package/src/definitions/ForwardingInfo.ts +2 -2
- package/src/definitions/ForwardingInfoCreateRuleRequest.ts +3 -3
- package/src/definitions/GetAccountInfoResponse.ts +1 -1
- package/src/definitions/GetExtensionInfoResponse.ts +9 -4
- package/src/definitions/GetExtensionListInfoResponse.ts +8 -3
- package/src/definitions/GetInternalTextMessageInfoResponse.ts +3 -3
- package/src/definitions/GetMessageInfoResponse.ts +4 -4
- package/src/definitions/GetPresenceInfo.ts +4 -4
- package/src/definitions/GetSMSMessageInfoResponse.ts +3 -3
- package/src/definitions/GetTokenRequest.ts +1 -1
- package/src/definitions/GreetingInfo.ts +1 -1
- package/src/definitions/InstantMessageEvent.ts +1 -1
- package/src/definitions/InstantMessageEventBody.ts +3 -3
- package/src/definitions/ListAccountPhoneNumbersParameters.ts +2 -2
- package/src/definitions/ListAccountPhoneNumbersV2Parameters.ts +4 -4
- package/src/definitions/ListCompanyActiveCallsParameters.ts +1 -1
- package/src/definitions/ListCompanyAnsweringRuleInfo.ts +1 -1
- package/src/definitions/ListDirectoryEntriesParameters.ts +1 -1
- package/src/definitions/ListExtensionActiveCallsParameters.ts +1 -1
- package/src/definitions/ListExtensionDevicesParameters.ts +2 -2
- package/src/definitions/ListExtensionPhoneNumbersParameters.ts +1 -1
- package/src/definitions/ListGlipChatsNewParameters.ts +1 -1
- package/src/definitions/ListMessagesParameters.ts +3 -3
- package/src/definitions/ListRecentChatsNewParameters.ts +1 -1
- package/src/definitions/ListStandardGreetingsParameters.ts +2 -2
- package/src/definitions/ListStatesParameters.ts +2 -2
- package/src/definitions/ListUserTemplatesParameters.ts +1 -1
- package/src/definitions/LocationOwnerInfo.ts +10 -0
- package/src/definitions/MessageAttachmentInfoIntId.ts +1 -1
- package/src/definitions/MessageEvent.ts +1 -1
- package/src/definitions/MessageEventBody.ts +1 -1
- package/src/definitions/MessageStoreCallerInfoResponseTo.ts +1 -1
- package/src/definitions/ModelInfo.ts +1 -1
- package/src/definitions/NetworkInfo.ts +0 -5
- package/src/definitions/NotificationSettings.ts +2 -2
- package/src/definitions/NotificationSettingsUpdateRequest.ts +3 -3
- package/src/definitions/ParameterizedErrorResponseModel.ts +1 -1
- package/src/definitions/ParsePhoneNumberParameters.ts +1 -1
- package/src/definitions/PartySuperviseRequest.ts +1 -1
- package/src/definitions/PartyUpdateInfo.ts +1 -1
- package/src/definitions/PermissionIdResource.ts +1 -1
- package/src/definitions/PhoneLinesInfo.ts +1 -1
- package/src/definitions/PhoneNumberDefinitionNumberId.ts +1 -1
- package/src/definitions/PhoneNumberInfoConferencing.ts +2 -2
- package/src/definitions/PhoneNumberInfoIntId.ts +2 -2
- package/src/definitions/PhoneNumberResource.ts +1 -1
- package/src/definitions/PresenceInfoRequest.ts +1 -1
- package/src/definitions/PresenceInfoResponse.ts +1 -1
- package/src/definitions/PrivateIpRangeInfo.ts +7 -5
- package/src/definitions/PrivateIpRangeInfoRequest.ts +5 -0
- package/src/definitions/ProfileImageInfo.ts +3 -3
- package/src/definitions/PromptInfo.ts +1 -1
- package/src/definitions/QueueInfo.ts +10 -4
- package/src/definitions/ReadUserCallLogParameters.ts +1 -1
- package/src/definitions/ReasonInfo.ts +1 -1
- package/src/definitions/RecurrenceInfo.ts +2 -1
- package/src/definitions/RemoveLineRequest.ts +5 -4
- package/src/definitions/ReplyParty.ts +1 -1
- package/src/definitions/RevokeTokenParameters.ts +11 -0
- package/src/definitions/RevokeTokenRequest.ts +1 -1
- package/src/definitions/RolesBusinessSiteResource.ts +5 -0
- package/src/definitions/ScheduleUserMeetingInfo.ts +1 -1
- package/src/definitions/ScimResourceTypeResponse.ts +1 -1
- package/src/definitions/ScimUser.ts +2 -2
- package/src/definitions/ScimUserResponse.ts +2 -2
- package/src/definitions/SearchDirectoryEntriesRequest.ts +4 -2
- package/src/definitions/ServiceInfoV2.ts +1 -1
- package/src/definitions/SessionGlobalListEntry.ts +0 -1
- package/src/definitions/ShippingAddressInfo.ts +1 -1
- package/src/definitions/ShippingInfo.ts +3 -3
- package/src/definitions/SipInfoResponse.ts +5 -0
- package/src/definitions/SipRegistrationDeviceEmergencyInfo.ts +1 -1
- package/src/definitions/SipRegistrationDeviceInfo.ts +13 -12
- package/src/definitions/SipRegistrationDeviceLocationInfo.ts +1 -1
- package/src/definitions/SubscriptionInfo.ts +0 -1
- package/src/definitions/SummaryUnit.ts +3 -0
- package/src/definitions/SuperviseCallSessionRequest.ts +1 -1
- package/src/definitions/SuperviseCallSessionResponse.ts +1 -1
- package/src/definitions/SwitchInfo.ts +2 -6
- package/src/definitions/SyncInfoMessages.ts +1 -1
- package/src/definitions/SyncMessagesParameters.ts +3 -3
- package/src/definitions/TMChatInfo.ts +1 -1
- package/src/definitions/TMConversationInfo.ts +1 -1
- package/src/definitions/TMCreateEventRequest.ts +5 -2
- package/src/definitions/TMPostInfo.ts +1 -1
- package/src/definitions/TMTeamInfo.ts +1 -1
- package/src/definitions/TelephonySessionsEventBody.ts +1 -1
- package/src/definitions/TemporaryNumberInfo.ts +3 -1
- package/src/definitions/TranscribedObject.ts +6 -0
- package/src/definitions/UpdateAnsweringRuleRequest.ts +1 -1
- package/src/definitions/UpdateContactParameters.ts +2 -2
- package/src/definitions/UpdateNetworkRequest.ts +0 -5
- package/src/definitions/UpdateSubscriptionRequest.ts +1 -0
- package/src/definitions/UpdateSwitchInfo.ts +2 -2
- package/src/definitions/UpdateWirelessPoint.ts +2 -2
- package/src/definitions/UserPhoneNumberExtensionInfo.ts +1 -1
- package/src/definitions/UserPhoneNumberInfo.ts +9 -6
- package/src/definitions/UtteranceObject.ts +40 -0
- package/src/definitions/VoicemailInfo.ts +1 -1
- package/src/definitions/VoicemailMessageEvent.ts +1 -1
- package/src/definitions/VoicemailMessageEventBody.ts +3 -3
- package/src/definitions/WcsSessionBaseModel.ts +0 -1
- package/src/definitions/WcsSessionResource.ts +0 -1
- package/src/definitions/WcsSessionWithLocaleCodeModel.ts +0 -1
- package/src/definitions/WirelessPointInfo.ts +2 -6
- package/src/paths/Ai/Text/V1/Async/Summarize/index.ts +1 -1
- package/src/paths/Restapi/Account/BusinessAddress/index.ts +1 -1
- package/src/paths/Restapi/Account/EmergencyLocations/index.ts +7 -7
- package/src/paths/Restapi/Account/Extension/AddressBook/Contact/index.ts +6 -3
- package/src/paths/Restapi/Account/Extension/CallerBlocking/PhoneNumbers/index.ts +6 -2
- package/src/paths/Restapi/Account/Extension/EmergencyLocations/index.ts +10 -9
- package/src/paths/Restapi/Account/Extension/Fax/index.ts +1 -1
- package/src/paths/Restapi/Account/Extension/Presence/index.ts +7 -13
- package/src/paths/Restapi/Account/PhoneNumber/index.ts +2 -2
- package/src/paths/Restapi/Oauth/Revoke/index.ts +9 -3
- package/src/paths/Restapi/Subscription/index.ts +3 -0
- package/src/paths/Restapi/V2/Accounts/Devices/index.ts +5 -5
- package/src/paths/Restapi/V2/Accounts/Extensions/Devices/Replace/index.ts +12 -5
- package/src/paths/Restapi/V2/Accounts/Extensions/index.ts +1 -0
- package/src/paths/Restapi/V2/Accounts/PhoneNumbers/BulkAdd/index.ts +2 -2
- package/src/paths/Restapi/V2/Accounts/PhoneNumbers/index.ts +1 -1
- package/src/paths/Restapi/V2/Accounts/index.ts +0 -5
- package/src/samples.md +910 -933
- package/lib/definitions/BulkManageLicensesRequest.d.ts +0 -13
- package/lib/definitions/BulkManageLicensesRequest.js.map +0 -1
- package/lib/definitions/BulkManageLicensesResponse.d.ts +0 -10
- package/lib/definitions/BulkManageLicensesResponse.js.map +0 -1
- package/lib/definitions/CreateUserEmergencyLocationRequestAddress.js.map +0 -1
- package/lib/definitions/DeviceEmergencyAddressAu.d.ts +0 -81
- package/lib/definitions/DeviceEmergencyAddressAu.js.map +0 -1
- package/lib/definitions/DeviceEmergencyAddressDefault.d.ts +0 -69
- package/lib/definitions/DeviceEmergencyAddressDefault.js.map +0 -1
- package/lib/definitions/DeviceEmergencyAddressFr.d.ts +0 -77
- package/lib/definitions/DeviceEmergencyAddressFr.js +0 -3
- package/lib/definitions/DeviceEmergencyAddressFr.js.map +0 -1
- package/lib/definitions/DeviceEmergencyInfoAddress.d.ts +0 -73
- package/lib/definitions/DeviceEmergencyInfoAddress.js +0 -3
- package/lib/definitions/DeviceEmergencyInfoAddress.js.map +0 -1
- package/lib/definitions/EmergencyAddressInfoAu.d.ts +0 -82
- package/lib/definitions/EmergencyAddressInfoAu.js.map +0 -1
- package/lib/definitions/EmergencyAddressInfoDefault.d.ts +0 -70
- package/lib/definitions/EmergencyAddressInfoDefault.js +0 -3
- package/lib/definitions/EmergencyAddressInfoDefault.js.map +0 -1
- package/lib/definitions/EmergencyAddressInfoFr.d.ts +0 -78
- package/lib/definitions/EmergencyAddressInfoFr.js.map +0 -1
- package/lib/definitions/EmergencyLocationAddressInfoAu.js +0 -3
- package/lib/definitions/EmergencyLocationAddressInfoAu.js.map +0 -1
- package/lib/definitions/EmergencyLocationAddressInfoDefault.js +0 -3
- package/lib/definitions/EmergencyLocationAddressInfoDefault.js.map +0 -1
- package/lib/definitions/EmergencyLocationAddressInfoFr.js +0 -3
- package/lib/definitions/EmergencyLocationAddressInfoFr.js.map +0 -1
- package/lib/definitions/EmergencyLocationInfoRequestAddress.d.ts +0 -72
- package/lib/definitions/EmergencyLocationInfoRequestAddress.js +0 -3
- package/lib/definitions/EmergencyLocationInfoRequestAddress.js.map +0 -1
- package/lib/definitions/EmergencyLocationResource.js +0 -3
- package/lib/definitions/EmergencyLocationResource.js.map +0 -1
- package/lib/definitions/EmergencyLocationResourceAddress.js +0 -3
- package/lib/definitions/EmergencyLocationResourceAddress.js.map +0 -1
- package/lib/definitions/ExtensionCreationRequestCostCenter.d.ts +0 -7
- package/lib/definitions/ExtensionCreationRequestCostCenter.js +0 -3
- package/lib/definitions/ExtensionCreationRequestCostCenter.js.map +0 -1
- package/lib/definitions/ExtensionCreationResponseCostCenter.d.ts +0 -11
- package/lib/definitions/ExtensionCreationResponseCostCenter.js +0 -3
- package/lib/definitions/ExtensionCreationResponseCostCenter.js.map +0 -1
- package/lib/definitions/LicenseAssignmentEntry.d.ts +0 -13
- package/lib/definitions/LicenseAssignmentEntry.js.map +0 -1
- package/lib/definitions/LicenseAssignmentResponseEntry.d.ts +0 -23
- package/lib/definitions/LicenseAssignmentResponseEntry.js +0 -3
- package/lib/definitions/LicenseAssignmentResponseEntry.js.map +0 -1
- package/lib/definitions/LocationUpdatesEmergencyAddressInfoAu.d.ts +0 -73
- package/lib/definitions/LocationUpdatesEmergencyAddressInfoAu.js +0 -3
- package/lib/definitions/LocationUpdatesEmergencyAddressInfoAu.js.map +0 -1
- package/lib/definitions/LocationUpdatesEmergencyAddressInfoDefault.d.ts +0 -61
- package/lib/definitions/LocationUpdatesEmergencyAddressInfoDefault.js +0 -3
- package/lib/definitions/LocationUpdatesEmergencyAddressInfoDefault.js.map +0 -1
- package/lib/definitions/LocationUpdatesEmergencyAddressInfoFr.d.ts +0 -69
- package/lib/definitions/LocationUpdatesEmergencyAddressInfoFr.js +0 -3
- package/lib/definitions/LocationUpdatesEmergencyAddressInfoFr.js.map +0 -1
- package/lib/definitions/PrivateIpRangeInfoEmergencyAddress.d.ts +0 -67
- package/lib/definitions/PrivateIpRangeInfoEmergencyAddress.js +0 -3
- package/lib/definitions/PrivateIpRangeInfoEmergencyAddress.js.map +0 -1
- package/lib/definitions/SwitchInfoEmergencyAddress.d.ts +0 -75
- package/lib/definitions/SwitchInfoEmergencyAddress.js +0 -3
- package/lib/definitions/SwitchInfoEmergencyAddress.js.map +0 -1
- package/lib/definitions/WirelessPointInfoEmergencyAddress.d.ts +0 -75
- package/lib/definitions/WirelessPointInfoEmergencyAddress.js +0 -3
- package/lib/definitions/WirelessPointInfoEmergencyAddress.js.map +0 -1
- package/lib/paths/Restapi/V2/Accounts/Licenses/BulkAssign/index.d.ts +0 -18
- package/lib/paths/Restapi/V2/Accounts/Licenses/BulkAssign/index.js +0 -24
- package/lib/paths/Restapi/V2/Accounts/Licenses/BulkAssign/index.js.map +0 -1
- package/lib/paths/Restapi/V2/Accounts/Licenses/index.d.ts +0 -10
- package/lib/paths/Restapi/V2/Accounts/Licenses/index.js +0 -20
- package/lib/paths/Restapi/V2/Accounts/Licenses/index.js.map +0 -1
- package/src/definitions/BulkManageLicensesRequest.ts +0 -16
- package/src/definitions/BulkManageLicensesResponse.ts +0 -13
- package/src/definitions/CreateUserEmergencyLocationRequestAddress.ts +0 -89
- package/src/definitions/DeviceEmergencyAddressAu.ts +0 -98
- package/src/definitions/DeviceEmergencyAddressDefault.ts +0 -83
- package/src/definitions/DeviceEmergencyAddressFr.ts +0 -93
- package/src/definitions/DeviceEmergencyInfoAddress.ts +0 -90
- package/src/definitions/EmergencyAddressInfoAu.ts +0 -99
- package/src/definitions/EmergencyAddressInfoDefault.ts +0 -84
- package/src/definitions/EmergencyAddressInfoFr.ts +0 -94
- package/src/definitions/ExtensionCreationRequestCostCenter.ts +0 -8
- package/src/definitions/ExtensionCreationResponseCostCenter.ts +0 -13
- package/src/definitions/LicenseAssignmentEntry.ts +0 -15
- package/src/definitions/LicenseAssignmentResponseEntry.ts +0 -28
- package/src/definitions/LocationUpdatesEmergencyAddressInfoAu.ts +0 -89
- package/src/definitions/LocationUpdatesEmergencyAddressInfoDefault.ts +0 -74
- package/src/definitions/LocationUpdatesEmergencyAddressInfoFr.ts +0 -84
- package/src/definitions/PrivateIpRangeInfoEmergencyAddress.ts +0 -83
- package/src/definitions/SwitchInfoEmergencyAddress.ts +0 -92
- package/src/definitions/WirelessPointInfoEmergencyAddress.ts +0 -92
- package/src/paths/Restapi/V2/Accounts/Licenses/BulkAssign/index.ts +0 -36
- package/src/paths/Restapi/V2/Accounts/Licenses/index.ts +0 -20
|
@@ -27,7 +27,7 @@ interface TelephonySessionsEventBody {
|
|
|
27
27
|
serverId?: string;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
* The call start
|
|
30
|
+
* The call start date/time in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format including timezone, for example *2016-03-10T18:07:52.534Z*
|
|
31
31
|
* Format: date-time
|
|
32
32
|
*/
|
|
33
33
|
eventTime?: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Temporary phone number, if any. Returned for phone numbers in `Pending` porting status only
|
|
3
|
+
*
|
|
3
4
|
*/
|
|
4
5
|
interface TemporaryNumberInfo {
|
|
5
6
|
/**
|
|
@@ -8,7 +9,8 @@ interface TemporaryNumberInfo {
|
|
|
8
9
|
id?: string;
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
|
-
* Temporary phone number in [E.164](https://www.itu.int/rec/T-REC-E.164-201011-I)
|
|
12
|
+
* Temporary phone number in [E.164](https://www.itu.int/rec/T-REC-E.164-201011-I)
|
|
13
|
+
* (with '+' sign) format
|
|
12
14
|
*/
|
|
13
15
|
phoneNumber?: string;
|
|
14
16
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type UtteranceObject from './UtteranceObject';
|
|
1
2
|
import type WordSegment from './WordSegment';
|
|
2
3
|
|
|
3
4
|
interface TranscribedObject {
|
|
@@ -8,6 +9,11 @@ interface TranscribedObject {
|
|
|
8
9
|
*/
|
|
9
10
|
speakerCount?: number;
|
|
10
11
|
|
|
12
|
+
/**
|
|
13
|
+
* Speaker wise utterances. Field is set only when enableSpeakerDiarization is true.
|
|
14
|
+
*/
|
|
15
|
+
utterances?: UtteranceObject[];
|
|
16
|
+
|
|
11
17
|
/**
|
|
12
18
|
* Required
|
|
13
19
|
*/
|
|
@@ -20,7 +20,7 @@ interface UpdateAnsweringRuleRequest {
|
|
|
20
20
|
forwarding?: ForwardingInfoCreateRuleRequest;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* Specifies if the rule is active or inactive. The default value is
|
|
23
|
+
* Specifies if the rule is active or inactive. The default value is `true`
|
|
24
24
|
*/
|
|
25
25
|
enabled?: boolean;
|
|
26
26
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
interface UpdateContactParameters {
|
|
5
5
|
/**
|
|
6
|
-
* Country code value complying with the [ISO 3166-1 alpha-2](https://ru.wikipedia.org/wiki/ISO_3166-1_alpha-2)
|
|
7
|
-
*
|
|
6
|
+
* Country code value complying with the [ISO 3166-1 alpha-2](https://ru.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
|
|
7
|
+
* The default value is home country of the current extension
|
|
8
8
|
*/
|
|
9
9
|
dialingPlan?: string;
|
|
10
10
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type AutomaticLocationUpdatesSiteInfo from './AutomaticLocationUpdatesSiteInfo';
|
|
2
2
|
import type PublicIpRangeInfo from './PublicIpRangeInfo';
|
|
3
3
|
import type PrivateIpRangeInfoRequest from './PrivateIpRangeInfoRequest';
|
|
4
|
-
import type ERLLocationInfo from './ERLLocationInfo';
|
|
5
4
|
|
|
6
5
|
interface UpdateNetworkRequest {
|
|
7
6
|
/**
|
|
@@ -28,10 +27,6 @@ interface UpdateNetworkRequest {
|
|
|
28
27
|
* Required
|
|
29
28
|
*/
|
|
30
29
|
privateIpRanges?: PrivateIpRangeInfoRequest[];
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
*/
|
|
34
|
-
emergencyLocation?: ERLLocationInfo;
|
|
35
30
|
}
|
|
36
31
|
|
|
37
32
|
export default UpdateNetworkRequest;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type SwitchSiteInfo from './SwitchSiteInfo';
|
|
2
|
-
import type
|
|
2
|
+
import type EmergencyAddressInfo from './EmergencyAddressInfo';
|
|
3
3
|
|
|
4
4
|
interface UpdateSwitchInfo {
|
|
5
5
|
/**
|
|
@@ -30,7 +30,7 @@ interface UpdateSwitchInfo {
|
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
*/
|
|
33
|
-
emergencyAddress?:
|
|
33
|
+
emergencyAddress?: EmergencyAddressInfo;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
export default UpdateSwitchInfo;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type EmergencyAddressAutoUpdateSiteInfo from './EmergencyAddressAutoUpdateSiteInfo';
|
|
2
|
-
import type
|
|
2
|
+
import type EmergencyAddressInfo from './EmergencyAddressInfo';
|
|
3
3
|
|
|
4
4
|
interface UpdateWirelessPoint {
|
|
5
5
|
/**
|
|
@@ -25,7 +25,7 @@ interface UpdateWirelessPoint {
|
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
*/
|
|
28
|
-
emergencyAddress?:
|
|
28
|
+
emergencyAddress?: EmergencyAddressInfo;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
export default UpdateWirelessPoint;
|
|
@@ -28,7 +28,7 @@ interface UserPhoneNumberExtensionInfo {
|
|
|
28
28
|
* created by partner. The RingCentral supports the mapping of accounts and
|
|
29
29
|
* stores the corresponding account ID/extension ID for each partner ID of
|
|
30
30
|
* a client application. In request URIs partner IDs are accepted instead
|
|
31
|
-
* of regular RingCentral native IDs as path parameters using pid
|
|
31
|
+
* of regular RingCentral native IDs as path parameters using `pid=XXX` clause.
|
|
32
32
|
* Though in response URIs contain the corresponding account IDs and extension
|
|
33
33
|
* IDs. In all request and response bodies these values are reflected via
|
|
34
34
|
* partnerId attributes of account and extension
|
|
@@ -28,7 +28,7 @@ interface UserPhoneNumberInfo {
|
|
|
28
28
|
extension?: UserPhoneNumberExtensionInfo;
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
|
-
* Custom user name of a phone number, if any
|
|
31
|
+
* Custom user-defined name of a phone number, if any
|
|
32
32
|
*/
|
|
33
33
|
label?: string;
|
|
34
34
|
|
|
@@ -38,7 +38,8 @@ interface UserPhoneNumberInfo {
|
|
|
38
38
|
location?: string;
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
|
-
* Payment type. 'External' is returned for forwarded numbers
|
|
41
|
+
* Payment type. 'External' is returned for forwarded numbers
|
|
42
|
+
* which are not terminated in the RingCentral phone system
|
|
42
43
|
*/
|
|
43
44
|
paymentType?: 'External' | 'TollFree' | 'Local' | 'BusinessMobileNumberProvider' | 'ExternalNumberProvider';
|
|
44
45
|
|
|
@@ -48,12 +49,14 @@ interface UserPhoneNumberInfo {
|
|
|
48
49
|
phoneNumber?: string;
|
|
49
50
|
|
|
50
51
|
/**
|
|
51
|
-
*
|
|
52
|
+
* Indicates if a phone number is primary, i.e. displayed as 'main number' and called by default
|
|
52
53
|
*/
|
|
53
54
|
primary?: boolean;
|
|
54
55
|
|
|
55
56
|
/**
|
|
56
|
-
* Status of a phone number. If the value is 'Normal', the phone
|
|
57
|
+
* Status of a phone number. If the value is 'Normal', the phone
|
|
58
|
+
* number is ready to be used. Otherwise, it is an external number not yet
|
|
59
|
+
* ported to RingCentral
|
|
57
60
|
*/
|
|
58
61
|
status?: 'Normal' | 'Pending' | 'PortedIn' | 'Temporary';
|
|
59
62
|
|
|
@@ -63,12 +66,12 @@ interface UserPhoneNumberInfo {
|
|
|
63
66
|
type?: 'VoiceFax' | 'FaxOnly' | 'VoiceOnly';
|
|
64
67
|
|
|
65
68
|
/**
|
|
66
|
-
* Extension
|
|
69
|
+
* Extension subtype, if applicable. For any unsupported subtypes the 'Unknown' value will be returned
|
|
67
70
|
*/
|
|
68
71
|
subType?: 'VideoPro' | 'VideoProPlus' | 'DigitalSignage' | 'Unknown';
|
|
69
72
|
|
|
70
73
|
/**
|
|
71
|
-
* Usage type of
|
|
74
|
+
* Usage type of phone number. Numbers of 'NumberPool' type will not be returned for phone number list requests
|
|
72
75
|
*/
|
|
73
76
|
usageType?:
|
|
74
77
|
| 'MainCompanyNumber'
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type WordTimingsUnit from './WordTimingsUnit';
|
|
2
|
+
|
|
3
|
+
interface UtteranceObject {
|
|
4
|
+
/**
|
|
5
|
+
* Required
|
|
6
|
+
* Format: float
|
|
7
|
+
* Example: 0.3
|
|
8
|
+
*/
|
|
9
|
+
start?: number;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Required
|
|
13
|
+
* Format: float
|
|
14
|
+
* Example: 5.1
|
|
15
|
+
*/
|
|
16
|
+
end?: number;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Required
|
|
20
|
+
* Example: Hello! This is John.
|
|
21
|
+
*/
|
|
22
|
+
text?: string;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Format: float
|
|
26
|
+
* Example: 0.97
|
|
27
|
+
*/
|
|
28
|
+
confidence?: number;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Example: JohnDoe
|
|
32
|
+
*/
|
|
33
|
+
speakerId?: string;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
*/
|
|
37
|
+
wordTimings?: WordTimingsUnit[];
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export default UtteranceObject;
|
|
@@ -12,7 +12,7 @@ interface VoicemailMessageEvent {
|
|
|
12
12
|
event?: string;
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Date/time of sending a notification in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format including timezone, for example *2016-03-10T18:07:52.534Z*
|
|
16
16
|
*/
|
|
17
17
|
timestamp?: string;
|
|
18
18
|
|
|
@@ -21,19 +21,19 @@ interface VoicemailMessageEventBody {
|
|
|
21
21
|
from?: SenderInfo;
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
* Type of
|
|
24
|
+
* Type of message
|
|
25
25
|
*/
|
|
26
26
|
type?: 'Voicemail';
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
|
-
* Message creation
|
|
29
|
+
* Message creation date/time in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
30
30
|
* format including timezone, for example *2019-03-10T18:07:52.534Z*
|
|
31
31
|
* Format: date-time
|
|
32
32
|
*/
|
|
33
33
|
creationTime?: string;
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Date/time when a message was modified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
37
37
|
* format including timezone, for example *2019-03-10T18:07:52.534Z*
|
|
38
38
|
* Format: date-time
|
|
39
39
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type EmergencyAddressAutoUpdateSiteInfo from './EmergencyAddressAutoUpdateSiteInfo';
|
|
2
|
-
import type
|
|
2
|
+
import type EmergencyAddressInfo from './EmergencyAddressInfo';
|
|
3
3
|
import type ERLLocationInfo from './ERLLocationInfo';
|
|
4
4
|
|
|
5
5
|
interface WirelessPointInfo {
|
|
@@ -31,13 +31,9 @@ interface WirelessPointInfo {
|
|
|
31
31
|
site?: EmergencyAddressAutoUpdateSiteInfo;
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
-
* Emergency address information (or information assigned to the
|
|
35
|
-
* switch or wireless point - in case of using them). Only one of a pair
|
|
36
|
-
* `emergencyAddress` or `emergencyLocationId` should be specified,
|
|
37
|
-
* otherwise an error is returned
|
|
38
34
|
* Required
|
|
39
35
|
*/
|
|
40
|
-
emergencyAddress?:
|
|
36
|
+
emergencyAddress?: EmergencyAddressInfo;
|
|
41
37
|
|
|
42
38
|
/**
|
|
43
39
|
*/
|
|
@@ -15,7 +15,7 @@ class Index {
|
|
|
15
15
|
return `${this._parent.path()}/summarize`;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
|
-
* Returns Conversational Summarization to webhook uri.
|
|
18
|
+
* Returns Conversational Summarization to webhook uri for segmented transcript of audios with start,end,speakerId, text(alphanumeric and punctuations).
|
|
19
19
|
* HTTP Method: post
|
|
20
20
|
* Endpoint: /ai/text/v1/async/summarize
|
|
21
21
|
* Rate Limit Group: Heavy
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type DeleteEmergencyLocationParameters from '../../../../definitions/DeleteEmergencyLocationParameters';
|
|
2
2
|
import type ReadEmergencyLocationParameters from '../../../../definitions/ReadEmergencyLocationParameters';
|
|
3
|
-
import type
|
|
3
|
+
import type CommonEmergencyLocationResource from '../../../../definitions/CommonEmergencyLocationResource';
|
|
4
4
|
import type EmergencyLocationInfoRequest from '../../../../definitions/EmergencyLocationInfoRequest';
|
|
5
5
|
import type EmergencyLocationsResource from '../../../../definitions/EmergencyLocationsResource';
|
|
6
6
|
import type ListEmergencyLocationsParameters from '../../../../definitions/ListEmergencyLocationsParameters';
|
|
@@ -49,8 +49,8 @@ class Index {
|
|
|
49
49
|
public async post(
|
|
50
50
|
emergencyLocationInfoRequest: EmergencyLocationInfoRequest,
|
|
51
51
|
restRequestConfig?: RestRequestConfig,
|
|
52
|
-
): Promise<
|
|
53
|
-
const r = await this.rc.post<
|
|
52
|
+
): Promise<CommonEmergencyLocationResource> {
|
|
53
|
+
const r = await this.rc.post<CommonEmergencyLocationResource>(
|
|
54
54
|
this.path(false),
|
|
55
55
|
emergencyLocationInfoRequest,
|
|
56
56
|
undefined,
|
|
@@ -70,11 +70,11 @@ class Index {
|
|
|
70
70
|
public async get(
|
|
71
71
|
queryParams?: ReadEmergencyLocationParameters,
|
|
72
72
|
restRequestConfig?: RestRequestConfig,
|
|
73
|
-
): Promise<
|
|
73
|
+
): Promise<CommonEmergencyLocationResource> {
|
|
74
74
|
if (this.locationId === null) {
|
|
75
75
|
throw new Error('locationId must be specified.');
|
|
76
76
|
}
|
|
77
|
-
const r = await this.rc.get<
|
|
77
|
+
const r = await this.rc.get<CommonEmergencyLocationResource>(this.path(), queryParams, restRequestConfig);
|
|
78
78
|
return r.data;
|
|
79
79
|
}
|
|
80
80
|
|
|
@@ -89,11 +89,11 @@ class Index {
|
|
|
89
89
|
public async put(
|
|
90
90
|
emergencyLocationInfoRequest: EmergencyLocationInfoRequest,
|
|
91
91
|
restRequestConfig?: RestRequestConfig,
|
|
92
|
-
): Promise<
|
|
92
|
+
): Promise<CommonEmergencyLocationResource> {
|
|
93
93
|
if (this.locationId === null) {
|
|
94
94
|
throw new Error('locationId must be specified.');
|
|
95
95
|
}
|
|
96
|
-
const r = await this.rc.put<
|
|
96
|
+
const r = await this.rc.put<CommonEmergencyLocationResource>(
|
|
97
97
|
this.path(),
|
|
98
98
|
emergencyLocationInfoRequest,
|
|
99
99
|
undefined,
|
|
@@ -61,7 +61,8 @@ class Index {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
|
-
* Returns the user personal contact(s).
|
|
64
|
+
* Returns the user personal contact(s).
|
|
65
|
+
* [Batch request syntax](https://developers.ringcentral.com/api-reference/Batch-Requests) is supported.
|
|
65
66
|
*
|
|
66
67
|
* HTTP Method: get
|
|
67
68
|
* Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/address-book/contact/{contactId}
|
|
@@ -78,7 +79,8 @@ class Index {
|
|
|
78
79
|
}
|
|
79
80
|
|
|
80
81
|
/**
|
|
81
|
-
* Updates the user personal contact(s) (full resource update).
|
|
82
|
+
* Updates the user personal contact(s) (full resource update).
|
|
83
|
+
* [Batch request syntax](https://developers.ringcentral.com/api-reference/Batch-Requests) is supported.
|
|
82
84
|
*
|
|
83
85
|
* HTTP Method: put
|
|
84
86
|
* Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/address-book/contact/{contactId}
|
|
@@ -104,7 +106,8 @@ class Index {
|
|
|
104
106
|
}
|
|
105
107
|
|
|
106
108
|
/**
|
|
107
|
-
* Deletes the user personal contact(s).
|
|
109
|
+
* Deletes the user personal contact(s).
|
|
110
|
+
* [Batch request syntax](https://developers.ringcentral.com/api-reference/Batch-Requests) is supported.
|
|
108
111
|
*
|
|
109
112
|
* HTTP Method: delete
|
|
110
113
|
* Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/address-book/contact/{contactId}
|
|
@@ -58,7 +58,9 @@ class Index {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
|
-
* Returns blocked or allowed phone number(s) by their ID(s).
|
|
61
|
+
* Returns blocked or allowed phone number(s) by their ID(s).
|
|
62
|
+
* [Batch request syntax](https://developers.ringcentral.com/api-reference/Batch-Requests) is supported.
|
|
63
|
+
*
|
|
62
64
|
* HTTP Method: get
|
|
63
65
|
* Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/caller-blocking/phone-numbers/{blockedNumberId}
|
|
64
66
|
* Rate Limit Group: Light
|
|
@@ -74,7 +76,9 @@ class Index {
|
|
|
74
76
|
}
|
|
75
77
|
|
|
76
78
|
/**
|
|
77
|
-
* Updates blocked or allowed phone number(s) by their ID(s).
|
|
79
|
+
* Updates blocked or allowed phone number(s) by their ID(s).
|
|
80
|
+
* [Batch request syntax](https://developers.ringcentral.com/api-reference/Batch-Requests) is supported.
|
|
81
|
+
*
|
|
78
82
|
* HTTP Method: put
|
|
79
83
|
* Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/caller-blocking/phone-numbers/{blockedNumberId}
|
|
80
84
|
* Rate Limit Group: Medium
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type DeleteExtensionEmergencyLocationParameters from '../../../../../definitions/DeleteExtensionEmergencyLocationParameters';
|
|
2
|
-
import type
|
|
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<
|
|
51
|
-
const r = await this.rc.post<
|
|
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<
|
|
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<
|
|
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
|
-
|
|
86
|
+
emergencyLocationInfoRequest: EmergencyLocationInfoRequest,
|
|
86
87
|
restRequestConfig?: RestRequestConfig,
|
|
87
|
-
): Promise<
|
|
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<
|
|
92
|
+
const r = await this.rc.put<CommonEmergencyLocationResource>(
|
|
92
93
|
this.path(),
|
|
93
|
-
|
|
94
|
+
emergencyLocationInfoRequest,
|
|
94
95
|
undefined,
|
|
95
96
|
restRequestConfig,
|
|
96
97
|
);
|
|
@@ -15,7 +15,7 @@ class Index {
|
|
|
15
15
|
return `${this._parent.path()}/fax`;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
|
-
* Creates and sends/
|
|
18
|
+
* Creates and sends/re-sends a fax message. Re-send can be implemented
|
|
19
19
|
* if sending has failed. Fax attachment size (both single and total) is
|
|
20
20
|
* limited to 50Mb.
|
|
21
21
|
*
|
|
@@ -16,19 +16,13 @@ class Index {
|
|
|
16
16
|
return `${this._parent.path()}/presence`;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
|
-
* Returns the presence status of an extension or several extensions
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* the
|
|
26
|
-
* presence status even if the status publication is turned off. Batch request
|
|
27
|
-
* is supported. For batch requests the number of extensions in one request is
|
|
28
|
-
* limited to 30. If more extensions are included in the request, the error code
|
|
29
|
-
* 400 Bad Request is returned with the logical error code InvalidMultipartRequest
|
|
30
|
-
* and the corresponding message Extension Presence Info multipart request
|
|
31
|
-
* is limited to 30 extensions.
|
|
19
|
+
* Returns the presence status of an extension or several extensions by their ID(s). The `presenceStatus` is returned as Offline
|
|
20
|
+
* (the parameters `telephonyStatus`, `message`, `userStatus` and `dndStatus` are not returned at all) for the following extension types:
|
|
21
|
+
* Department/Announcement Only/Take Messages Only (Voicemail)/Fax User/Paging Only Group/Shared Lines Group/IVR Menu/Application Extension/Park Location.
|
|
22
|
+
* If the user requests his/her own presence status, the response contains actual presence status even if the status publication is turned off.
|
|
23
|
+
* [Batch request syntax](https://developers.ringcentral.com/api-reference/Batch-Requests) is supported. For batch requests the number of extensions
|
|
24
|
+
* in one request is limited to 30. If more extensions are included in the request, the error code 400 Bad Request is returned with the logical error
|
|
25
|
+
* code InvalidMultipartRequest and the corresponding message Extension Presence Info multipart request is limited to 30 extensions.
|
|
32
26
|
*
|
|
33
27
|
* HTTP Method: get
|
|
34
28
|
* Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/presence
|
|
@@ -38,8 +38,8 @@ class Index {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
|
-
* Returns phone number(s) belonging to a certain account or extension
|
|
42
|
-
*
|
|
41
|
+
* Returns phone number(s) belonging to a certain account or extension by phoneNumberId(s).
|
|
42
|
+
* [Batch request syntax](https://developers.ringcentral.com/api-reference/Batch-Requests) is supported.
|
|
43
43
|
*
|
|
44
44
|
* HTTP Method: get
|
|
45
45
|
* Endpoint: /restapi/{apiVersion}/account/{accountId}/phone-number/{phoneNumberId}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type RevokeTokenParameters from '../../../../definitions/RevokeTokenParameters';
|
|
1
2
|
import type RevokeTokenRequest from '../../../../definitions/RevokeTokenRequest';
|
|
2
3
|
import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../types';
|
|
3
4
|
|
|
@@ -13,7 +14,8 @@ class Index {
|
|
|
13
14
|
return `${this._parent.path()}/revoke`;
|
|
14
15
|
}
|
|
15
16
|
/**
|
|
16
|
-
* Revokes
|
|
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(
|
|
27
|
-
|
|
28
|
+
public async post(
|
|
29
|
+
revokeTokenRequest: RevokeTokenRequest,
|
|
30
|
+
queryParams?: RevokeTokenParameters,
|
|
31
|
+
restRequestConfig?: RestRequestConfig,
|
|
32
|
+
): Promise<string> {
|
|
33
|
+
const r = await this.rc.post<string>(this.path(), revokeTokenRequest, queryParams, restRequestConfig);
|
|
28
34
|
return r.data;
|
|
29
35
|
}
|
|
30
36
|
}
|
|
@@ -110,6 +110,9 @@ class Index {
|
|
|
110
110
|
* If the request body is empty then the specified subscription will be renewed without any
|
|
111
111
|
* event filter modifications and using the default expiration time.
|
|
112
112
|
*
|
|
113
|
+
* If the request is sent with empty body, it just renews a subscription
|
|
114
|
+
* (so it is an equivalent of the `POST /restapi/v1.0/subscription/{subscriptionId}/renew`).
|
|
115
|
+
*
|
|
113
116
|
* Please note that `WebSocket` subscriptions cannot be updated via HTTP interface.
|
|
114
117
|
*
|
|
115
118
|
* HTTP Method: put
|
|
@@ -20,12 +20,12 @@ class Index {
|
|
|
20
20
|
return `${this._parent.path()}/devices`;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Disassociates phone line (DL & Device) from an extension
|
|
24
|
-
*
|
|
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
|
|
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}
|