@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
|
@@ -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
|
-
*
|
|
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
|
|
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
|
|
10
|
-
*
|
|
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
|
-
*
|
|
13
|
-
* -
|
|
14
|
-
*
|
|
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
|
|
13
|
-
*
|
|
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
|
-
*
|
|
16
|
-
* -
|
|
17
|
-
*
|
|
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
|
|
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
|
|
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
|
|
13
|
-
*
|
|
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
|
|
17
|
-
*
|
|
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,
|
|
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.
|
|
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.
|
|
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.
|
|
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": "
|
|
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='
|
|
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
|
|
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
|
|
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
|
|
38
|
+
* If `true` enables other extensions to see the extension presence status
|
|
39
39
|
*/
|
|
40
40
|
allowSeeMyPresence?: boolean;
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
|
-
* If
|
|
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
|
|
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
|
-
*
|
|
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
|
|
12
|
-
* Later we may support other values like
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
5
|
+
* Type of phone number
|
|
6
6
|
*/
|
|
7
7
|
type?: 'VoiceFax' | 'VoiceOnly' | 'FaxOnly';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* Target usage type of
|
|
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
|
|
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.
|
|
@@ -40,7 +40,7 @@ interface BaseCallLogRecord {
|
|
|
40
40
|
partyId?: string;
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
|
-
* The type of
|
|
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
|
|
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
|
|
@@ -18,7 +18,7 @@ interface BridgeResponse {
|
|
|
18
18
|
name?: string;
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
* Type of
|
|
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.
|
|
@@ -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
|
|
7
|
-
* assigned to deleted extensions will be kept in the account's inventory. If set to
|
|
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
|
|
@@ -41,7 +41,7 @@ interface CallLogRecord {
|
|
|
41
41
|
partyId?: string;
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
* The type of
|
|
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
|
|
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
|
|
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
|
|
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
|
|
@@ -27,8 +27,8 @@ interface CallParty {
|
|
|
27
27
|
muted?: boolean;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
* If
|
|
31
|
-
* conference,
|
|
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
|
|
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
|
|
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
|
|
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
|
|
89
|
+
export default CommonEmergencyLocationAddressInfo;
|