@rc-ex/core 1.3.7 → 1.3.9
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/AccountInfo.d.ts +2 -2
- 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/AccountStatusInfo.d.ts +10 -9
- package/lib/definitions/AccountTelephonySessionsEvent.d.ts +1 -1
- package/lib/definitions/ActivePermissionResource.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/AutoShared.d.ts +15 -0
- package/lib/definitions/{StatusInfo.js → AutoShared.js} +1 -1
- package/lib/definitions/AutoShared.js.map +1 -0
- 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/CallQueueDetails.d.ts +13 -4
- package/lib/definitions/CallQueueExtensionInfo.d.ts +1 -1
- package/lib/definitions/CallQueueInfo.d.ts +8 -0
- package/lib/definitions/CallQueueOverflowSettings.d.ts +2 -2
- package/lib/definitions/CloudRecording.d.ts +11 -2
- package/lib/definitions/{EmergencyLocationResourceAddress.d.ts → CommonEmergencyLocationAddressInfo.d.ts} +3 -3
- package/lib/definitions/CommonEmergencyLocationAddressInfo.js +3 -0
- package/lib/definitions/CommonEmergencyLocationAddressInfo.js.map +1 -0
- package/lib/definitions/{EmergencyLocationAddressInfoAu.d.ts → CommonEmergencyLocationAddressInfoAu.d.ts} +4 -5
- package/lib/definitions/CommonEmergencyLocationAddressInfoAu.js +3 -0
- package/lib/definitions/CommonEmergencyLocationAddressInfoAu.js.map +1 -0
- package/lib/definitions/{EmergencyLocationAddressInfoDefault.d.ts → CommonEmergencyLocationAddressInfoDefault.d.ts} +2 -2
- package/lib/definitions/CommonEmergencyLocationAddressInfoDefault.js +3 -0
- 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/CommonEmergencyLocationResource.js +3 -0
- 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/ContentAttachment.d.ts +76 -0
- package/lib/definitions/{EmergencyAddressInfoFr.js → ContentAttachment.js} +1 -1
- package/lib/definitions/ContentAttachment.js.map +1 -0
- package/lib/definitions/ContentBodyFormatted.d.ts +12 -0
- package/lib/definitions/{CallQueueOverflowAgent.js → ContentBodyFormatted.js} +1 -1
- package/lib/definitions/ContentBodyFormatted.js.map +1 -0
- package/lib/definitions/ContentContextData.d.ts +9 -0
- package/lib/definitions/{CallQueueUpdateDetails.js → ContentContextData.js} +1 -1
- package/lib/definitions/ContentContextData.js.map +1 -0
- package/lib/definitions/ContentList.d.ts +13 -0
- package/lib/definitions/ContentList.js +3 -0
- package/lib/definitions/ContentList.js.map +1 -0
- package/lib/definitions/ContentModel.d.ts +223 -0
- package/lib/definitions/ContentModel.js +3 -0
- package/lib/definitions/ContentModel.js.map +1 -0
- package/lib/definitions/CostCenterInfo.d.ts +14 -0
- package/lib/definitions/CostCenterInfo.js +3 -0
- 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/CreateContentRequest.d.ts +131 -0
- package/lib/definitions/CreateContentRequest.js +3 -0
- package/lib/definitions/CreateContentRequest.js.map +1 -0
- 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/EmergencyAddressInfo.js +3 -0
- 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 +2 -2
- 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 +9 -5
- package/lib/definitions/GetExtensionListInfoResponse.d.ts +8 -4
- 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/Host.d.ts +3 -3
- package/lib/definitions/IdentitiesList.d.ts +13 -0
- package/lib/definitions/IdentitiesList.js +3 -0
- package/lib/definitions/IdentitiesList.js.map +1 -0
- package/lib/definitions/IdentityExtraValues.d.ts +6 -0
- package/lib/definitions/IdentityExtraValues.js +3 -0
- package/lib/definitions/IdentityExtraValues.js.map +1 -0
- package/lib/definitions/IdentityModel.d.ts +231 -0
- package/lib/definitions/IdentityModel.js +3 -0
- package/lib/definitions/IdentityModel.js.map +1 -0
- package/lib/definitions/ImportIdentityRequest.d.ts +61 -0
- package/lib/definitions/ImportIdentityRequest.js +3 -0
- package/lib/definitions/ImportIdentityRequest.js.map +1 -0
- package/lib/definitions/InstantMessageEvent.d.ts +1 -1
- package/lib/definitions/InstantMessageEventBody.d.ts +3 -3
- package/lib/definitions/IntrospectTokenRequest.d.ts +13 -0
- package/lib/definitions/{EmergencyAddressInfoAu.js → IntrospectTokenRequest.js} +1 -1
- package/lib/definitions/IntrospectTokenRequest.js.map +1 -0
- package/lib/definitions/ListAccountPhoneNumbersParameters.d.ts +2 -2
- package/lib/definitions/ListAccountPhoneNumbersV2Parameters.d.ts +4 -4
- package/lib/definitions/ListCallQueuesParameters.d.ts +2 -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/ListExtensionsParameters.d.ts +1 -1
- package/lib/definitions/ListGlipChatsNewParameters.d.ts +1 -1
- package/lib/definitions/ListMessagesParameters.d.ts +3 -3
- package/lib/definitions/ListOfAvailableForAssigningRolesParameters.d.ts +25 -0
- package/lib/definitions/ListOfAvailableForAssigningRolesParameters.js +3 -0
- package/lib/definitions/ListOfAvailableForAssigningRolesParameters.js.map +1 -0
- package/lib/definitions/ListRecentChatsNewParameters.d.ts +1 -1
- package/lib/definitions/ListStandardGreetingsParameters.d.ts +2 -2
- package/lib/definitions/ListStandardUserRoleParameters.d.ts +5 -0
- package/lib/definitions/ListStatesParameters.d.ts +2 -2
- package/lib/definitions/ListUserTemplatesParameters.d.ts +1 -1
- package/lib/definitions/ListVideoMeetingsParameters.d.ts +17 -1
- package/lib/definitions/LocationOwnerInfo.d.ts +8 -0
- package/lib/definitions/Meeting.d.ts +27 -13
- package/lib/definitions/MeetingPage.d.ts +3 -1
- 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/NonEnumeratedPagingModel.d.ts +31 -0
- package/lib/definitions/{DeviceEmergencyAddressAu.js → NonEnumeratedPagingModel.js} +1 -1
- package/lib/definitions/NonEnumeratedPagingModel.js.map +1 -0
- package/lib/definitions/NotificationSettings.d.ts +2 -2
- package/lib/definitions/NotificationSettingsUpdateRequest.d.ts +3 -3
- package/lib/definitions/Paging.d.ts +1 -0
- package/lib/definitions/ParameterizedErrorResponseModel.d.ts +1 -1
- package/lib/definitions/ParsePhoneNumberParameters.d.ts +1 -1
- package/lib/definitions/Participant.d.ts +11 -5
- package/lib/definitions/PartySuperviseRequest.d.ts +1 -1
- package/lib/definitions/PartyUpdateInfo.d.ts +1 -1
- package/lib/definitions/PermissionIdResource.d.ts +5 -1
- package/lib/definitions/PermissionsCapabilities.d.ts +18 -0
- package/lib/definitions/PermissionsCapabilities.js +3 -0
- package/lib/definitions/PermissionsCapabilities.js.map +1 -0
- 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/ReadUserRoleParameters.d.ts +11 -0
- package/lib/definitions/ReadUserRoleParameters.js +3 -0
- package/lib/definitions/ReadUserRoleParameters.js.map +1 -0
- package/lib/definitions/ReasonInfo.d.ts +1 -1
- package/lib/definitions/Recording.d.ts +20 -7
- package/lib/definitions/RecordingsPreferences.d.ts +4 -0
- 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/RevokeTokenParameters.js +3 -0
- package/lib/definitions/RevokeTokenParameters.js.map +1 -0
- package/lib/definitions/RevokeTokenRequest.d.ts +1 -1
- package/lib/definitions/RoleResource.d.ts +7 -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/SessionInfoResponse.d.ts +42 -0
- package/lib/definitions/SessionInfoResponse.js +3 -0
- package/lib/definitions/SessionInfoResponse.js.map +1 -0
- package/lib/definitions/ShippingAddressInfo.d.ts +1 -1
- package/lib/definitions/ShippingInfo.d.ts +3 -3
- package/lib/definitions/SipInfoResponse.d.ts +5 -1
- 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/SocMsgListContentsParameters.d.ts +60 -0
- package/lib/definitions/{BulkManageLicensesRequest.js → SocMsgListContentsParameters.js} +1 -1
- package/lib/definitions/SocMsgListContentsParameters.js.map +1 -0
- package/lib/definitions/SocMsgListIdentitiesParameters.d.ts +43 -0
- package/lib/definitions/SocMsgListIdentitiesParameters.js +3 -0
- package/lib/definitions/SocMsgListIdentitiesParameters.js.map +1 -0
- 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/TokenInfo.d.ts +19 -0
- package/lib/definitions/TokenIntrospectionResponse.d.ts +47 -0
- package/lib/definitions/{BulkManageLicensesResponse.js → TokenIntrospectionResponse.js} +1 -1
- package/lib/definitions/TokenIntrospectionResponse.js.map +1 -0
- 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 +10 -7
- package/lib/definitions/UtteranceObject.d.ts +33 -0
- package/lib/definitions/UtteranceObject.js +3 -0
- 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/Cx/SocialMessaging/V1/Contents/index.d.ts +67 -0
- package/lib/paths/Cx/SocialMessaging/V1/Contents/index.js +85 -0
- package/lib/paths/Cx/SocialMessaging/V1/Contents/index.js.map +1 -0
- package/lib/paths/Cx/SocialMessaging/V1/Identities/Anonymize/index.d.ts +17 -0
- package/lib/paths/Cx/SocialMessaging/V1/Identities/Anonymize/index.js +25 -0
- package/lib/paths/Cx/SocialMessaging/V1/Identities/Anonymize/index.js.map +1 -0
- package/lib/paths/Cx/SocialMessaging/V1/Identities/Deanonymize/index.d.ts +19 -0
- package/lib/paths/Cx/SocialMessaging/V1/Identities/Deanonymize/index.js +27 -0
- package/lib/paths/Cx/SocialMessaging/V1/Identities/Deanonymize/index.js.map +1 -0
- package/lib/paths/Cx/SocialMessaging/V1/Identities/Import/index.d.ts +20 -0
- package/lib/paths/Cx/SocialMessaging/V1/Identities/Import/index.js +27 -0
- package/lib/paths/Cx/SocialMessaging/V1/Identities/Import/index.js.map +1 -0
- package/lib/paths/Cx/SocialMessaging/V1/Identities/index.d.ts +42 -0
- package/lib/paths/Cx/SocialMessaging/V1/Identities/index.js +67 -0
- package/lib/paths/Cx/SocialMessaging/V1/Identities/index.js.map +1 -0
- package/lib/paths/Cx/SocialMessaging/V1/index.d.ts +12 -0
- package/lib/paths/Cx/SocialMessaging/V1/index.js +24 -0
- package/lib/paths/Cx/SocialMessaging/V1/index.js.map +1 -0
- package/lib/paths/{Restapi/V2/Accounts/Licenses → Cx/SocialMessaging}/index.d.ts +3 -3
- package/lib/paths/{Restapi/V2/Accounts/Licenses → Cx/SocialMessaging}/index.js +4 -4
- package/lib/paths/Cx/SocialMessaging/index.js.map +1 -0
- package/lib/paths/Cx/index.d.ts +9 -0
- package/lib/paths/Cx/index.js +19 -0
- package/lib/paths/Cx/index.js.map +1 -0
- package/lib/paths/Rcvideo/V1/Account/Extension/Recordings/index.d.ts +3 -1
- package/lib/paths/Rcvideo/V1/Account/Extension/Recordings/index.js +3 -1
- package/lib/paths/Rcvideo/V1/Account/Extension/Recordings/index.js.map +1 -1
- package/lib/paths/Rcvideo/V1/Account/Recordings/index.d.ts +3 -1
- package/lib/paths/Rcvideo/V1/Account/Recordings/index.js +3 -1
- package/lib/paths/Rcvideo/V1/Account/Recordings/index.js.map +1 -1
- package/lib/paths/Rcvideo/V1/Accounts/Extensions/Delegators/index.d.ts +1 -2
- package/lib/paths/Rcvideo/V1/Accounts/Extensions/Delegators/index.js +2 -2
- package/lib/paths/Rcvideo/V1/Accounts/Extensions/Delegators/index.js.map +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/CallQueues/index.d.ts +1 -4
- package/lib/paths/Restapi/Account/CallQueues/index.js +2 -4
- package/lib/paths/Restapi/Account/CallQueues/index.js.map +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/AssignableRoles/index.d.ts +18 -0
- package/lib/paths/Restapi/Account/Extension/AssignableRoles/index.js +24 -0
- package/lib/paths/Restapi/Account/Extension/AssignableRoles/index.js.map +1 -0
- 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/OverflowSettings/index.d.ts +0 -1
- package/lib/paths/Restapi/Account/Extension/OverflowSettings/index.js +0 -1
- package/lib/paths/Restapi/Account/Extension/OverflowSettings/index.js.map +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/Extension/index.d.ts +2 -0
- package/lib/paths/Restapi/Account/Extension/index.js +4 -0
- package/lib/paths/Restapi/Account/Extension/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/Account/UserRole/index.d.ts +3 -2
- package/lib/paths/Restapi/Account/UserRole/index.js +2 -2
- package/lib/paths/Restapi/Account/UserRole/index.js.map +1 -1
- package/lib/paths/Restapi/Oauth/Introspect/index.d.ts +24 -0
- package/lib/paths/Restapi/Oauth/Introspect/index.js +30 -0
- package/lib/paths/Restapi/Oauth/Introspect/index.js.map +1 -0
- 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/Oauth/SessionInfo/index.d.ts +17 -0
- package/lib/paths/Restapi/Oauth/SessionInfo/index.js +24 -0
- package/lib/paths/Restapi/Oauth/SessionInfo/index.js.map +1 -0
- package/lib/paths/Restapi/Oauth/index.d.ts +4 -0
- package/lib/paths/Restapi/Oauth/index.js +8 -0
- package/lib/paths/Restapi/Oauth/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 +6 -6
- package/src/definitions/ADGError.ts +1 -1
- package/src/definitions/AccountInfo.ts +2 -2
- package/src/definitions/AccountOperatorInfo.ts +11 -0
- package/src/definitions/AccountPhoneNumberInfo.ts +3 -3
- package/src/definitions/AccountPresenceEventBody.ts +3 -3
- package/src/definitions/AccountStatusInfo.ts +10 -9
- package/src/definitions/AccountTelephonySessionsEvent.ts +1 -1
- package/src/definitions/ActivePermissionResource.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/AutoShared.ts +17 -0
- 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/CallQueueDetails.ts +15 -4
- package/src/definitions/CallQueueExtensionInfo.ts +1 -1
- package/src/definitions/CallQueueInfo.ts +10 -0
- package/src/definitions/CallQueueOverflowSettings.ts +2 -2
- package/src/definitions/CloudRecording.ts +13 -2
- 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/ContentAttachment.ts +85 -0
- package/src/definitions/ContentBodyFormatted.ts +14 -0
- package/src/definitions/ContentContextData.ts +10 -0
- package/src/definitions/ContentList.ts +16 -0
- package/src/definitions/ContentModel.ts +303 -0
- 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/CreateContentRequest.ts +147 -0
- 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 +2 -2
- 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 +10 -5
- package/src/definitions/GetExtensionListInfoResponse.ts +9 -4
- 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/Host.ts +3 -3
- package/src/definitions/IdentitiesList.ts +16 -0
- package/src/definitions/IdentityExtraValues.ts +7 -0
- package/src/definitions/IdentityModel.ts +280 -0
- package/src/definitions/ImportIdentityRequest.ts +73 -0
- package/src/definitions/InstantMessageEvent.ts +1 -1
- package/src/definitions/InstantMessageEventBody.ts +3 -3
- package/src/definitions/IntrospectTokenRequest.ts +15 -0
- package/src/definitions/ListAccountPhoneNumbersParameters.ts +2 -2
- package/src/definitions/ListAccountPhoneNumbersV2Parameters.ts +4 -4
- package/src/definitions/ListCallQueuesParameters.ts +2 -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/ListExtensionsParameters.ts +1 -0
- package/src/definitions/ListGlipChatsNewParameters.ts +1 -1
- package/src/definitions/ListMessagesParameters.ts +3 -3
- package/src/definitions/ListOfAvailableForAssigningRolesParameters.ts +27 -0
- package/src/definitions/ListRecentChatsNewParameters.ts +1 -1
- package/src/definitions/ListStandardGreetingsParameters.ts +2 -2
- package/src/definitions/ListStandardUserRoleParameters.ts +6 -0
- package/src/definitions/ListStatesParameters.ts +2 -2
- package/src/definitions/ListUserTemplatesParameters.ts +1 -1
- package/src/definitions/ListVideoMeetingsParameters.ts +19 -1
- package/src/definitions/LocationOwnerInfo.ts +10 -0
- package/src/definitions/Meeting.ts +30 -13
- package/src/definitions/MeetingPage.ts +3 -1
- 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/NonEnumeratedPagingModel.ts +36 -0
- package/src/definitions/NotificationSettings.ts +2 -2
- package/src/definitions/NotificationSettingsUpdateRequest.ts +3 -3
- package/src/definitions/Paging.ts +1 -0
- package/src/definitions/ParameterizedErrorResponseModel.ts +1 -1
- package/src/definitions/ParsePhoneNumberParameters.ts +1 -1
- package/src/definitions/Participant.ts +12 -5
- package/src/definitions/PartySuperviseRequest.ts +1 -1
- package/src/definitions/PartyUpdateInfo.ts +1 -1
- package/src/definitions/PermissionIdResource.ts +7 -1
- package/src/definitions/PermissionsCapabilities.ts +21 -0
- 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/ReadUserRoleParameters.ts +12 -0
- package/src/definitions/ReasonInfo.ts +1 -1
- package/src/definitions/Recording.ts +23 -7
- package/src/definitions/RecordingsPreferences.ts +5 -0
- 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/RoleResource.ts +7 -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/SessionInfoResponse.ts +50 -0
- package/src/definitions/ShippingAddressInfo.ts +1 -1
- package/src/definitions/ShippingInfo.ts +3 -3
- package/src/definitions/SipInfoResponse.ts +6 -1
- package/src/definitions/SipRegistrationDeviceEmergencyInfo.ts +1 -1
- package/src/definitions/SipRegistrationDeviceInfo.ts +13 -12
- package/src/definitions/SipRegistrationDeviceLocationInfo.ts +1 -1
- package/src/definitions/SocMsgListContentsParameters.ts +70 -0
- package/src/definitions/SocMsgListIdentitiesParameters.ts +50 -0
- 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/TokenInfo.ts +23 -0
- package/src/definitions/TokenIntrospectionResponse.ts +56 -0
- 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 +10 -7
- 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/Cx/SocialMessaging/V1/Contents/index.ts +98 -0
- package/src/paths/Cx/SocialMessaging/V1/Identities/Anonymize/index.ts +27 -0
- package/src/paths/Cx/SocialMessaging/V1/Identities/Deanonymize/index.ts +29 -0
- package/src/paths/Cx/SocialMessaging/V1/Identities/Import/index.ts +33 -0
- package/src/paths/Cx/SocialMessaging/V1/Identities/index.ts +75 -0
- package/src/paths/Cx/SocialMessaging/V1/index.ts +25 -0
- package/src/paths/{Restapi/V2/Accounts/Licenses → Cx/SocialMessaging}/index.ts +5 -5
- package/src/paths/Cx/index.ts +18 -0
- package/src/paths/Rcvideo/V1/Account/Extension/Recordings/index.ts +3 -1
- package/src/paths/Rcvideo/V1/Account/Recordings/index.ts +3 -1
- package/src/paths/Rcvideo/V1/Accounts/Extensions/Delegators/index.ts +2 -6
- package/src/paths/Restapi/Account/BusinessAddress/index.ts +1 -1
- package/src/paths/Restapi/Account/CallQueues/index.ts +2 -5
- 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/AssignableRoles/index.ts +31 -0
- 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/OverflowSettings/index.ts +0 -1
- package/src/paths/Restapi/Account/Extension/Presence/index.ts +7 -13
- package/src/paths/Restapi/Account/Extension/index.ts +5 -0
- package/src/paths/Restapi/Account/PhoneNumber/index.ts +2 -2
- package/src/paths/Restapi/Account/UserRole/index.ts +5 -4
- package/src/paths/Restapi/Oauth/Introspect/index.ts +42 -0
- package/src/paths/Restapi/Oauth/Revoke/index.ts +9 -3
- package/src/paths/Restapi/Oauth/SessionInfo/index.ts +27 -0
- package/src/paths/Restapi/Oauth/index.ts +10 -0
- 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 +4431 -4193
- 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/CallQueueOverflowAgent.d.ts +0 -19
- package/lib/definitions/CallQueueOverflowAgent.js.map +0 -1
- package/lib/definitions/CallQueueUpdateDetails.d.ts +0 -16
- package/lib/definitions/CallQueueUpdateDetails.js.map +0 -1
- package/lib/definitions/CreateUserEmergencyLocationRequestAddress.js +0 -3
- 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 +0 -3
- 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 +0 -3
- 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/RcvListDelegatorsParameters.d.ts +0 -9
- package/lib/definitions/RcvListDelegatorsParameters.js +0 -3
- package/lib/definitions/RcvListDelegatorsParameters.js.map +0 -1
- package/lib/definitions/StatusInfo.d.ts +0 -22
- package/lib/definitions/StatusInfo.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.js.map +0 -1
- package/src/definitions/BulkManageLicensesRequest.ts +0 -16
- package/src/definitions/BulkManageLicensesResponse.ts +0 -13
- package/src/definitions/CallQueueOverflowAgent.ts +0 -23
- package/src/definitions/CallQueueUpdateDetails.ts +0 -20
- 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/RcvListDelegatorsParameters.ts +0 -10
- package/src/definitions/StatusInfo.ts +0 -25
- 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
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import BulkAssign from './BulkAssign';
|
|
2
2
|
import Default from './Default';
|
|
3
3
|
import type DeleteCustomRoleParameters from '../../../../definitions/DeleteCustomRoleParameters';
|
|
4
|
+
import type ReadUserRoleParameters from '../../../../definitions/ReadUserRoleParameters';
|
|
4
5
|
import type RoleResource from '../../../../definitions/RoleResource';
|
|
5
6
|
import type RolesCollectionResource from '../../../../definitions/RolesCollectionResource';
|
|
6
7
|
import type ListUserRolesParameters from '../../../../definitions/ListUserRolesParameters';
|
|
@@ -37,7 +38,7 @@ declare class Index {
|
|
|
37
38
|
* App Permission: ReadAccounts
|
|
38
39
|
* User Permission: ReadUserRoles
|
|
39
40
|
*/
|
|
40
|
-
get(restRequestConfig?: RestRequestConfig): Promise<RoleResource>;
|
|
41
|
+
get(queryParams?: ReadUserRoleParameters, restRequestConfig?: RestRequestConfig): Promise<RoleResource>;
|
|
41
42
|
/**
|
|
42
43
|
* Updates a user role assigned to the current account by ID.
|
|
43
44
|
* HTTP Method: put
|
|
@@ -46,7 +47,7 @@ declare class Index {
|
|
|
46
47
|
* App Permission: RoleManagement
|
|
47
48
|
* User Permission: EditUserRoles
|
|
48
49
|
*/
|
|
49
|
-
put(roleResource: RoleResource, restRequestConfig?: RestRequestConfig): Promise<
|
|
50
|
+
put(roleResource: RoleResource, restRequestConfig?: RestRequestConfig): Promise<RoleResource>;
|
|
50
51
|
/**
|
|
51
52
|
* Deletes a custom user role by ID.
|
|
52
53
|
* HTTP Method: delete
|
|
@@ -49,11 +49,11 @@ class Index {
|
|
|
49
49
|
* App Permission: ReadAccounts
|
|
50
50
|
* User Permission: ReadUserRoles
|
|
51
51
|
*/
|
|
52
|
-
async get(restRequestConfig) {
|
|
52
|
+
async get(queryParams, restRequestConfig) {
|
|
53
53
|
if (this.roleId === null) {
|
|
54
54
|
throw new Error('roleId must be specified.');
|
|
55
55
|
}
|
|
56
|
-
const r = await this.rc.get(this.path(),
|
|
56
|
+
const r = await this.rc.get(this.path(), queryParams, restRequestConfig);
|
|
57
57
|
return r.data;
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/Restapi/Account/UserRole/index.ts"],"names":[],"mappings":";;;;;AAAA,8DAAsC;AACtC,wDAAgC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/Restapi/Account/UserRole/index.ts"],"names":[],"mappings":";;;;;AAAA,8DAAsC;AACtC,wDAAgC;AAQhC,MAAM,KAAK;IAKT,YAAmB,OAAwB,EAAE,SAAwB,IAAI;QACvE,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IACM,IAAI,CAAC,aAAa,GAAG,IAAI;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC;YAC1C,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,cAAc,IAAI,CAAC,MAAM,EAAE,CAAC;QAC3D,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,YAAY,CAAC;IAC5C,CAAC;IACD;;;;;;;OAOG;IACI,KAAK,CAAC,IAAI,CACf,WAAqC,EACrC,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAA0B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;QACvG,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;OAOG;IACI,KAAK,CAAC,IAAI,CAAC,YAA0B,EAAE,iBAAqC;QACjF,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAAS,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QACnG,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;OAOG;IACI,KAAK,CAAC,GAAG,CAAC,WAAoC,EAAE,iBAAqC;QAC1F,IAAI,IAAI,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC;YACzB,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;QAC/C,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAAe,IAAI,CAAC,IAAI,EAAE,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;QACvF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;OAOG;IACI,KAAK,CAAC,GAAG,CAAC,YAA0B,EAAE,iBAAqC;QAChF,IAAI,IAAI,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC;YACzB,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;QAC/C,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAAe,IAAI,CAAC,IAAI,EAAE,EAAE,YAAY,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QACnG,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;OAOG;IACI,KAAK,CAAC,MAAM,CACjB,WAAwC,EACxC,iBAAqC;QAErC,IAAI,IAAI,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC;YACzB,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;QAC/C,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,MAAM,CAAS,IAAI,CAAC,IAAI,EAAE,EAAE,EAAE,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;QACxF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAEM,OAAO;QACZ,OAAO,IAAI,iBAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC;IAEM,UAAU;QACf,OAAO,IAAI,oBAAU,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type TokenIntrospectionResponse from '../../../../definitions/TokenIntrospectionResponse';
|
|
2
|
+
import type IntrospectTokenRequest from '../../../../definitions/IntrospectTokenRequest';
|
|
3
|
+
import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../types';
|
|
4
|
+
declare class Index {
|
|
5
|
+
rc: RingCentralInterface;
|
|
6
|
+
_parent: ParentInterface;
|
|
7
|
+
constructor(_parent: ParentInterface);
|
|
8
|
+
path(): string;
|
|
9
|
+
/**
|
|
10
|
+
* Determines state and metadata for a given token (access token, refresh token
|
|
11
|
+
* or authorization code)
|
|
12
|
+
*
|
|
13
|
+
* Depending on client application type
|
|
14
|
+
* requests to this endpoint may require authentication with HTTP Basic scheme
|
|
15
|
+
* using registered client ID and client secret as login and password, correspondingly.
|
|
16
|
+
*
|
|
17
|
+
* HTTP Method: post
|
|
18
|
+
* Endpoint: /restapi/oauth/introspect
|
|
19
|
+
* Rate Limit Group: Auth
|
|
20
|
+
* App Permission: Interoperability
|
|
21
|
+
*/
|
|
22
|
+
post(introspectTokenRequest: IntrospectTokenRequest, restRequestConfig?: RestRequestConfig): Promise<TokenIntrospectionResponse>;
|
|
23
|
+
}
|
|
24
|
+
export default Index;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class Index {
|
|
4
|
+
constructor(_parent) {
|
|
5
|
+
this._parent = _parent;
|
|
6
|
+
this.rc = _parent.rc;
|
|
7
|
+
}
|
|
8
|
+
path() {
|
|
9
|
+
return `${this._parent.path()}/introspect`;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Determines state and metadata for a given token (access token, refresh token
|
|
13
|
+
* or authorization code)
|
|
14
|
+
*
|
|
15
|
+
* Depending on client application type
|
|
16
|
+
* requests to this endpoint may require authentication with HTTP Basic scheme
|
|
17
|
+
* using registered client ID and client secret as login and password, correspondingly.
|
|
18
|
+
*
|
|
19
|
+
* HTTP Method: post
|
|
20
|
+
* Endpoint: /restapi/oauth/introspect
|
|
21
|
+
* Rate Limit Group: Auth
|
|
22
|
+
* App Permission: Interoperability
|
|
23
|
+
*/
|
|
24
|
+
async post(introspectTokenRequest, restRequestConfig) {
|
|
25
|
+
const r = await this.rc.post(this.path(), introspectTokenRequest, undefined, restRequestConfig);
|
|
26
|
+
return r.data;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.default = Index;
|
|
30
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/Restapi/Oauth/Introspect/index.ts"],"names":[],"mappings":";;AAIA,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;;;;;;;;;;;;OAYG;IACI,KAAK,CAAC,IAAI,CACf,sBAA8C,EAC9C,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAC1B,IAAI,CAAC,IAAI,EAAE,EACX,sBAAsB,EACtB,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
|
|
@@ -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
|
declare class Index {
|
|
@@ -6,7 +7,8 @@ declare class Index {
|
|
|
6
7
|
constructor(_parent: ParentInterface);
|
|
7
8
|
path(): string;
|
|
8
9
|
/**
|
|
9
|
-
* Revokes
|
|
10
|
+
* Revokes all active access/refresh tokens and invalidates the OAuth session basing on token provided.
|
|
11
|
+
* `token` parameter may be passed in query string or body and may represent access or refresh token.
|
|
10
12
|
*
|
|
11
13
|
* Depending on client application type
|
|
12
14
|
* requests to this endpoint may require authentication with HTTP Basic scheme
|
|
@@ -16,6 +18,6 @@ declare class Index {
|
|
|
16
18
|
* Endpoint: /restapi/oauth/revoke
|
|
17
19
|
* Rate Limit Group: Auth
|
|
18
20
|
*/
|
|
19
|
-
post(revokeTokenRequest: RevokeTokenRequest, restRequestConfig?: RestRequestConfig): Promise<string>;
|
|
21
|
+
post(revokeTokenRequest: RevokeTokenRequest, queryParams?: RevokeTokenParameters, restRequestConfig?: RestRequestConfig): Promise<string>;
|
|
20
22
|
}
|
|
21
23
|
export default Index;
|
|
@@ -9,7 +9,8 @@ class Index {
|
|
|
9
9
|
return `${this._parent.path()}/revoke`;
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
|
-
* Revokes
|
|
12
|
+
* Revokes all active access/refresh tokens and invalidates the OAuth session basing on token provided.
|
|
13
|
+
* `token` parameter may be passed in query string or body and may represent access or refresh token.
|
|
13
14
|
*
|
|
14
15
|
* Depending on client application type
|
|
15
16
|
* requests to this endpoint may require authentication with HTTP Basic scheme
|
|
@@ -19,8 +20,8 @@ class Index {
|
|
|
19
20
|
* Endpoint: /restapi/oauth/revoke
|
|
20
21
|
* Rate Limit Group: Auth
|
|
21
22
|
*/
|
|
22
|
-
async post(revokeTokenRequest, restRequestConfig) {
|
|
23
|
-
const r = await this.rc.post(this.path(), revokeTokenRequest,
|
|
23
|
+
async post(revokeTokenRequest, queryParams, restRequestConfig) {
|
|
24
|
+
const r = await this.rc.post(this.path(), revokeTokenRequest, queryParams, restRequestConfig);
|
|
24
25
|
return r.data;
|
|
25
26
|
}
|
|
26
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/Restapi/Oauth/Revoke/index.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/Restapi/Oauth/Revoke/index.ts"],"names":[],"mappings":";;AAIA,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,SAAS,CAAC;IACzC,CAAC;IACD;;;;;;;;;;;OAWG;IACI,KAAK,CAAC,IAAI,CACf,kBAAsC,EACtC,WAAmC,EACnC,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAAS,IAAI,CAAC,IAAI,EAAE,EAAE,kBAAkB,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;QACtG,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type SessionInfoResponse from '../../../../definitions/SessionInfoResponse';
|
|
2
|
+
import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../types';
|
|
3
|
+
declare class Index {
|
|
4
|
+
rc: RingCentralInterface;
|
|
5
|
+
_parent: ParentInterface;
|
|
6
|
+
constructor(_parent: ParentInterface);
|
|
7
|
+
path(): string;
|
|
8
|
+
/**
|
|
9
|
+
* Returns information about current OAuth session
|
|
10
|
+
*
|
|
11
|
+
* HTTP Method: get
|
|
12
|
+
* Endpoint: /restapi/oauth/session-info
|
|
13
|
+
* Rate Limit Group: Auth
|
|
14
|
+
*/
|
|
15
|
+
get(restRequestConfig?: RestRequestConfig): Promise<SessionInfoResponse>;
|
|
16
|
+
}
|
|
17
|
+
export default Index;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class Index {
|
|
4
|
+
constructor(_parent) {
|
|
5
|
+
this._parent = _parent;
|
|
6
|
+
this.rc = _parent.rc;
|
|
7
|
+
}
|
|
8
|
+
path() {
|
|
9
|
+
return `${this._parent.path()}/session-info`;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Returns information about current OAuth session
|
|
13
|
+
*
|
|
14
|
+
* HTTP Method: get
|
|
15
|
+
* Endpoint: /restapi/oauth/session-info
|
|
16
|
+
* Rate Limit Group: Auth
|
|
17
|
+
*/
|
|
18
|
+
async get(restRequestConfig) {
|
|
19
|
+
const r = await this.rc.get(this.path(), undefined, restRequestConfig);
|
|
20
|
+
return r.data;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.default = Index;
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/Restapi/Oauth/SessionInfo/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,eAAe,CAAC;IAC/C,CAAC;IACD;;;;;;OAMG;IACI,KAAK,CAAC,GAAG,CAAC,iBAAqC;QACpD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAAsB,IAAI,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QAC5F,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import SessionInfo from './SessionInfo';
|
|
2
|
+
import Introspect from './Introspect';
|
|
1
3
|
import Authorize from './Authorize';
|
|
2
4
|
import Revoke from './Revoke';
|
|
3
5
|
import Token from './Token';
|
|
@@ -10,5 +12,7 @@ declare class Index {
|
|
|
10
12
|
token(): Token;
|
|
11
13
|
revoke(): Revoke;
|
|
12
14
|
authorize(): Authorize;
|
|
15
|
+
introspect(): Introspect;
|
|
16
|
+
sessionInfo(): SessionInfo;
|
|
13
17
|
}
|
|
14
18
|
export default Index;
|
|
@@ -3,6 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const SessionInfo_1 = __importDefault(require("./SessionInfo"));
|
|
7
|
+
const Introspect_1 = __importDefault(require("./Introspect"));
|
|
6
8
|
const Authorize_1 = __importDefault(require("./Authorize"));
|
|
7
9
|
const Revoke_1 = __importDefault(require("./Revoke"));
|
|
8
10
|
const Token_1 = __importDefault(require("./Token"));
|
|
@@ -23,6 +25,12 @@ class Index {
|
|
|
23
25
|
authorize() {
|
|
24
26
|
return new Authorize_1.default(this);
|
|
25
27
|
}
|
|
28
|
+
introspect() {
|
|
29
|
+
return new Introspect_1.default(this);
|
|
30
|
+
}
|
|
31
|
+
sessionInfo() {
|
|
32
|
+
return new SessionInfo_1.default(this);
|
|
33
|
+
}
|
|
26
34
|
}
|
|
27
35
|
exports.default = Index;
|
|
28
36
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/paths/Restapi/Oauth/index.ts"],"names":[],"mappings":";;;;;AAAA,4DAAoC;AACpC,sDAA8B;AAC9B,oDAA4B;AAG5B,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,CAAC,KAAK,CAAC,QAAQ,CAAC;IAC7C,CAAC;IAEM,KAAK;QACV,OAAO,IAAI,eAAK,CAAC,IAAI,CAAC,CAAC;IACzB,CAAC;IAEM,MAAM;QACX,OAAO,IAAI,gBAAM,CAAC,IAAI,CAAC,CAAC;IAC1B,CAAC;IAEM,SAAS;QACd,OAAO,IAAI,mBAAS,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/paths/Restapi/Oauth/index.ts"],"names":[],"mappings":";;;;;AAAA,gEAAwC;AACxC,8DAAsC;AACtC,4DAAoC;AACpC,sDAA8B;AAC9B,oDAA4B;AAG5B,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,CAAC,KAAK,CAAC,QAAQ,CAAC;IAC7C,CAAC;IAEM,KAAK;QACV,OAAO,IAAI,eAAK,CAAC,IAAI,CAAC,CAAC;IACzB,CAAC;IAEM,MAAM;QACX,OAAO,IAAI,gBAAM,CAAC,IAAI,CAAC,CAAC;IAC1B,CAAC;IAEM,SAAS;QACd,OAAO,IAAI,mBAAS,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC;IAEM,UAAU;QACf,OAAO,IAAI,oBAAU,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;IAEM,WAAW;QAChB,OAAO,IAAI,qBAAW,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
|
|
@@ -76,6 +76,9 @@ declare class Index {
|
|
|
76
76
|
* If the request body is empty then the specified subscription will be renewed without any
|
|
77
77
|
* event filter modifications and using the default expiration time.
|
|
78
78
|
*
|
|
79
|
+
* If the request is sent with empty body, it just renews a subscription
|
|
80
|
+
* (so it is an equivalent of the `POST /restapi/v1.0/subscription/{subscriptionId}/renew`).
|
|
81
|
+
*
|
|
79
82
|
* Please note that `WebSocket` subscriptions cannot be updated via HTTP interface.
|
|
80
83
|
*
|
|
81
84
|
* HTTP Method: put
|
|
@@ -94,6 +94,9 @@ class Index {
|
|
|
94
94
|
* If the request body is empty then the specified subscription will be renewed without any
|
|
95
95
|
* event filter modifications and using the default expiration time.
|
|
96
96
|
*
|
|
97
|
+
* If the request is sent with empty body, it just renews a subscription
|
|
98
|
+
* (so it is an equivalent of the `POST /restapi/v1.0/subscription/{subscriptionId}/renew`).
|
|
99
|
+
*
|
|
97
100
|
* Please note that `WebSocket` subscriptions cannot be updated via HTTP interface.
|
|
98
101
|
*
|
|
99
102
|
* HTTP Method: put
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/paths/Restapi/Subscription/index.ts"],"names":[],"mappings":";;;;;AAAA,oDAA4B;AAO5B,MAAM,KAAK;IAKT,YAAmB,OAAwB,EAAE,iBAAgC,IAAI;QAC/E,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;IACvC,CAAC;IACM,IAAI,CAAC,aAAa,GAAG,IAAI;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,cAAc,KAAK,IAAI,EAAE,CAAC;YAClD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,iBAAiB,IAAI,CAAC,cAAc,EAAE,CAAC;QACtE,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,eAAe,CAAC;IAC/C,CAAC;IACD;;;;;;OAMG;IACI,KAAK,CAAC,IAAI,CAAC,iBAAqC;QACrD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAA2B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QACtG,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsCG;IACI,KAAK,CAAC,IAAI,CACf,yBAAoD,EACpD,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAC1B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAChB,yBAAyB,EACzB,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;OAKG;IACI,KAAK,CAAC,GAAG,CAAC,iBAAqC;QACpD,IAAI,IAAI,CAAC,cAAc,KAAK,IAAI,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;QACvD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAAmB,IAAI,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QACzF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/paths/Restapi/Subscription/index.ts"],"names":[],"mappings":";;;;;AAAA,oDAA4B;AAO5B,MAAM,KAAK;IAKT,YAAmB,OAAwB,EAAE,iBAAgC,IAAI;QAC/E,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;IACvC,CAAC;IACM,IAAI,CAAC,aAAa,GAAG,IAAI;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,cAAc,KAAK,IAAI,EAAE,CAAC;YAClD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,iBAAiB,IAAI,CAAC,cAAc,EAAE,CAAC;QACtE,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,eAAe,CAAC;IAC/C,CAAC;IACD;;;;;;OAMG;IACI,KAAK,CAAC,IAAI,CAAC,iBAAqC;QACrD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAA2B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QACtG,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsCG;IACI,KAAK,CAAC,IAAI,CACf,yBAAoD,EACpD,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAC1B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAChB,yBAAyB,EACzB,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;OAKG;IACI,KAAK,CAAC,GAAG,CAAC,iBAAqC;QACpD,IAAI,IAAI,CAAC,cAAc,KAAK,IAAI,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;QACvD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAAmB,IAAI,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QACzF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACI,KAAK,CAAC,GAAG,CACd,yBAAoD,EACpD,iBAAqC;QAErC,IAAI,IAAI,CAAC,cAAc,KAAK,IAAI,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;QACvD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAAmB,IAAI,CAAC,IAAI,EAAE,EAAE,yBAAyB,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QACpH,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;OAKG;IACI,KAAK,CAAC,MAAM,CAAC,iBAAqC;QACvD,IAAI,IAAI,CAAC,cAAc,KAAK,IAAI,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;QACvD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,MAAM,CAAS,IAAI,CAAC,IAAI,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QACtF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAEM,KAAK;QACV,OAAO,IAAI,eAAK,CAAC,IAAI,CAAC,CAAC;IACzB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
|
|
@@ -9,12 +9,12 @@ declare class Index {
|
|
|
9
9
|
constructor(_parent: ParentInterface, deviceId?: string | null);
|
|
10
10
|
path(withParameter?: boolean): string;
|
|
11
11
|
/**
|
|
12
|
-
* Disassociates phone line (DL & Device) from an extension
|
|
13
|
-
*
|
|
12
|
+
* Disassociates a phone line (DL & Device) from an extension:
|
|
13
|
+
*
|
|
14
|
+
* - if the value of `keepAssetsInInventory` is `true`,
|
|
14
15
|
* the given device is moved to unassigned devices and the number is moved to the number inventory;
|
|
15
|
-
* - if value
|
|
16
|
-
* - if the parameter keepAssetsInInventory is not set (empty body),
|
|
17
|
-
* default value ```keepAssetsInInventory == true``` is used.
|
|
16
|
+
* - if the value of `keepAssetsInInventory` is `false`, the given device and number is removed from the account;
|
|
17
|
+
* - if the parameter `keepAssetsInInventory` is not set (empty body), default value `true` is set.
|
|
18
18
|
*
|
|
19
19
|
* HTTP Method: delete
|
|
20
20
|
* Endpoint: /restapi/v2/accounts/{accountId}/devices/{deviceId}
|
|
@@ -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.9",
|
|
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",
|
|
@@ -18,17 +18,17 @@
|
|
|
18
18
|
"access": "public"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@types/qs": "^6.9.
|
|
22
|
-
"axios": "^1.6.
|
|
23
|
-
"qs": "^6.
|
|
21
|
+
"@types/qs": "^6.9.12",
|
|
22
|
+
"axios": "^1.6.7",
|
|
23
|
+
"qs": "^6.12.0"
|
|
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.11",
|
|
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": "05f526e4ed70628c5b432fe5861d4e5f596fe7fe"
|
|
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.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type AccountStatusInfo from './AccountStatusInfo';
|
|
2
2
|
import type PostalAddress from './PostalAddress';
|
|
3
3
|
import type ServiceInfoV2 from './ServiceInfoV2';
|
|
4
4
|
import type SystemUserContactInfo from './SystemUserContactInfo';
|
|
@@ -33,7 +33,7 @@ interface AccountInfo {
|
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
*/
|
|
36
|
-
statusInfo?:
|
|
36
|
+
statusInfo?: AccountStatusInfo;
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* Company name
|
|
@@ -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';
|