@rc-ex/core 1.3.15 → 1.4.1
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/FormData.d.ts +0 -1
- package/lib/Utils.d.ts +0 -1
- package/lib/definitions/AccountInfo.d.ts +1 -6
- package/lib/definitions/AccountPhoneNumberInfo.d.ts +8 -2
- package/lib/definitions/AccountRegionalSettings.d.ts +2 -1
- package/lib/definitions/AccountServiceInfo.d.ts +2 -2
- package/lib/definitions/AccountServiceInfoRequest.d.ts +2 -2
- package/lib/definitions/AccountStatusInfo.d.ts +3 -1
- package/lib/definitions/ActivePermissionResource.d.ts +1 -1
- package/lib/definitions/AddPhoneNumberRequestItem.d.ts +4 -0
- package/lib/definitions/AddPhoneNumbersResponseItem.d.ts +4 -0
- package/lib/definitions/AssignPhoneNumberRequest.d.ts +6 -2
- package/lib/definitions/AssignedCountryInfo.d.ts +3 -1
- package/lib/definitions/Attachment.d.ts +0 -2
- package/lib/definitions/AuthCodeTokenRequest.d.ts +31 -0
- package/lib/definitions/{CreateContentRequest.js → AuthCodeTokenRequest.js} +1 -1
- package/lib/definitions/AuthCodeTokenRequest.js.map +1 -0
- package/lib/definitions/AuthorizeParameters.d.ts +92 -0
- package/lib/definitions/AuthorizeParameters.js +3 -0
- package/lib/definitions/AuthorizeParameters.js.map +1 -0
- package/lib/definitions/AuthorizeRequest.d.ts +39 -42
- package/lib/definitions/BaseCallLogRecord.d.ts +0 -1
- package/lib/definitions/BaseTokenRequest.d.ts +41 -0
- package/lib/definitions/{GreetingResource.js → BaseTokenRequest.js} +1 -1
- package/lib/definitions/BaseTokenRequest.js.map +1 -0
- package/lib/definitions/BatchListResponse.d.ts +2 -2
- package/lib/definitions/{PackageInfo.d.ts → BillingPackageInfo.d.ts} +2 -2
- package/lib/definitions/BillingPackageInfo.js +3 -0
- package/lib/definitions/BillingPackageInfo.js.map +1 -0
- package/lib/definitions/CallFlipNumberListResource.d.ts +8 -0
- package/lib/definitions/CallFlipNumberListResource.js +3 -0
- package/lib/definitions/CallFlipNumberListResource.js.map +1 -0
- package/lib/definitions/CallFlipNumberResource.d.ts +28 -0
- package/lib/definitions/CallFlipNumberResource.js +3 -0
- package/lib/definitions/CallFlipNumberResource.js.map +1 -0
- package/lib/definitions/{AnsweringRuleInfo.d.ts → CallHandlingRuleInfo.d.ts} +2 -2
- package/lib/definitions/CallHandlingRuleInfo.js +3 -0
- package/lib/definitions/CallHandlingRuleInfo.js.map +1 -0
- package/lib/definitions/CallLogRecord.d.ts +0 -1
- package/lib/definitions/CallLogRecordLegInfo.d.ts +0 -1
- package/lib/definitions/CallParty.d.ts +5 -0
- package/lib/definitions/CallQueueDetails.d.ts +5 -1
- package/lib/definitions/CallQueueDetailsForUpdate.d.ts +36 -0
- package/lib/definitions/CallQueueDetailsForUpdate.js +3 -0
- package/lib/definitions/CallQueueDetailsForUpdate.js.map +1 -0
- package/lib/definitions/CallQueueInfo.d.ts +5 -1
- package/lib/definitions/{CallQueues.d.ts → CallQueueList.d.ts} +2 -2
- package/lib/definitions/{PagingResource.js → CallQueueList.js} +1 -1
- package/lib/definitions/CallQueueList.js.map +1 -0
- package/lib/definitions/CallQueueMember.d.ts +2 -2
- package/lib/definitions/{GreetingResource.d.ts → CallRecordingGreetingResource.d.ts} +2 -2
- package/lib/definitions/CallRecordingGreetingResource.js +3 -0
- package/lib/definitions/CallRecordingGreetingResource.js.map +1 -0
- package/lib/definitions/CallRecordingSettingsResource.d.ts +2 -2
- package/lib/definitions/ClientAuthJwtModel.d.ts +15 -0
- package/lib/definitions/ClientAuthJwtModel.js +3 -0
- package/lib/definitions/ClientAuthJwtModel.js.map +1 -0
- package/lib/definitions/ClientCredentialsBase.d.ts +13 -0
- package/lib/definitions/ClientCredentialsBase.js +3 -0
- package/lib/definitions/ClientCredentialsBase.js.map +1 -0
- package/lib/definitions/ClientCredentialsByAccount.d.ts +18 -0
- package/lib/definitions/ClientCredentialsByAccount.js +3 -0
- package/lib/definitions/ClientCredentialsByAccount.js.map +1 -0
- package/lib/definitions/ClientCredentialsByBrand.d.ts +18 -0
- package/lib/definitions/ClientCredentialsByBrand.js +3 -0
- package/lib/definitions/ClientCredentialsByBrand.js.map +1 -0
- package/lib/definitions/ClientCredentialsByPartnerAccount.d.ts +23 -0
- package/lib/definitions/ClientCredentialsByPartnerAccount.js +3 -0
- package/lib/definitions/ClientCredentialsByPartnerAccount.js.map +1 -0
- package/lib/definitions/ClientCredentialsTokenRequest.d.ts +28 -0
- package/lib/definitions/ClientCredentialsTokenRequest.js +3 -0
- package/lib/definitions/ClientCredentialsTokenRequest.js.map +1 -0
- package/lib/definitions/CommonEmergencyLocationAddressInfo.d.ts +2 -1
- package/lib/definitions/CommonEmergencyLocationAddressInfoAu.d.ts +2 -1
- package/lib/definitions/CommonEmergencyLocationAddressInfoDefault.d.ts +2 -1
- package/lib/definitions/CommonEmergencyLocationAddressInfoFr.d.ts +2 -1
- package/lib/definitions/CompanyAnsweringRuleRequest.d.ts +2 -1
- package/lib/definitions/CompanyPhoneNumberInfo.d.ts +10 -6
- package/lib/definitions/ContentBodyFormatted.d.ts +1 -1
- package/lib/definitions/ContentContextData.d.ts +1 -2
- package/lib/definitions/ContentModel.d.ts +66 -71
- package/lib/definitions/CostCenterBase.d.ts +19 -0
- package/lib/definitions/CostCenterBase.js +3 -0
- package/lib/definitions/CostCenterBase.js.map +1 -0
- package/lib/definitions/CostCenterItem.d.ts +30 -0
- package/lib/definitions/CostCenterItem.js +3 -0
- package/lib/definitions/CostCenterItem.js.map +1 -0
- package/lib/definitions/CostCenterList.d.ts +8 -0
- package/lib/definitions/CostCenterList.js +3 -0
- package/lib/definitions/CostCenterList.js.map +1 -0
- package/lib/definitions/CountryInfoDictionaryModel.d.ts +5 -5
- package/lib/definitions/CountryInfoShortModel.d.ts +5 -6
- package/lib/definitions/CreateFaxMessageRequest.d.ts +1 -1
- package/lib/definitions/CreateSiteRequest.d.ts +7 -0
- package/lib/definitions/CreateSocialMessagingContentRequest.d.ts +110 -0
- package/lib/definitions/CreateSocialMessagingContentRequest.js +3 -0
- package/lib/definitions/CreateSocialMessagingContentRequest.js.map +1 -0
- package/lib/definitions/CreateUserEmergencyLocationRequest.d.ts +2 -1
- package/lib/definitions/CustomCompanyGreetingInfo.d.ts +1 -1
- package/lib/definitions/DeletePhoneNumbersRequestItem.d.ts +1 -1
- package/lib/definitions/DeviceCodeTokenRequest.d.ts +19 -0
- package/lib/definitions/DeviceCodeTokenRequest.js +3 -0
- package/lib/definitions/DeviceCodeTokenRequest.js.map +1 -0
- package/lib/definitions/DeviceEmergencyInfo.d.ts +2 -2
- package/lib/definitions/DeviceEmergencyServiceAddressResourceAu.d.ts +2 -1
- package/lib/definitions/DeviceEmergencyServiceAddressResourceDefault.d.ts +2 -1
- package/lib/definitions/DeviceEmergencyServiceAddressResourceFr.d.ts +2 -1
- package/lib/definitions/DeviceResource.d.ts +2 -1
- package/lib/definitions/EmailRecipientInfo.d.ts +2 -2
- package/lib/definitions/EmergencyAddressInfo.d.ts +2 -1
- package/lib/definitions/EmergencyLocationRequestResource.d.ts +2 -1
- package/lib/definitions/EmergencyLocationResponseResource.d.ts +2 -1
- package/lib/definitions/EmergencyServiceAddressResource.d.ts +2 -1
- package/lib/definitions/EventRecurrenceInfo.d.ts +25 -0
- package/lib/definitions/EventRecurrenceInfo.js +3 -0
- package/lib/definitions/EventRecurrenceInfo.js.map +1 -0
- package/lib/definitions/ExtensionBulkUpdateInfo.d.ts +2 -1
- package/lib/definitions/ExtensionBulkUpdateTaskResult.d.ts +3 -3
- package/lib/definitions/ExtensionBulkUpdateTaskResultAffectedItems.d.ts +7 -0
- package/lib/definitions/ExtensionBulkUpdateTaskResultAffectedItems.js +3 -0
- package/lib/definitions/ExtensionBulkUpdateTaskResultAffectedItems.js.map +1 -0
- package/lib/definitions/ExtensionCreationRequest.d.ts +2 -2
- package/lib/definitions/ExtensionCreationResponse.d.ts +2 -4
- package/lib/definitions/ExtensionRegionalSettingRequest.d.ts +1 -1
- package/lib/definitions/ExtensionStatusInfo.d.ts +2 -9
- package/lib/definitions/ExtensionUpdateRequest.d.ts +2 -1
- package/lib/definitions/FaxResponseTo.d.ts +11 -0
- package/lib/definitions/GetAccountInfoResponse.d.ts +2 -2
- package/lib/definitions/GetConferencingInfoResponse.d.ts +5 -0
- package/lib/definitions/GetCountryInfoNumberParser.d.ts +5 -4
- package/lib/definitions/GetExtensionInfoResponse.d.ts +11 -3
- package/lib/definitions/GetExtensionListInfoResponse.d.ts +8 -4
- package/lib/definitions/GetMessageInfoResponse.d.ts +0 -4
- package/lib/definitions/GetSMSMessageInfoResponse.d.ts +0 -4
- package/lib/definitions/GetTokenRequest.d.ts +90 -45
- package/lib/definitions/GuestTokenRequest.d.ts +27 -0
- package/lib/definitions/{AnsweringRuleInfo.js → GuestTokenRequest.js} +1 -1
- package/lib/definitions/GuestTokenRequest.js.map +1 -0
- package/lib/definitions/IdentityExtraValues.d.ts +1 -1
- package/lib/definitions/IdentityModel.d.ts +33 -65
- package/lib/definitions/IvrPinTokenRequest.d.ts +17 -0
- package/lib/definitions/IvrPinTokenRequest.js +3 -0
- package/lib/definitions/IvrPinTokenRequest.js.map +1 -0
- package/lib/definitions/JobStatusResponse.d.ts +7 -0
- package/lib/definitions/JobStatusResponseResponse.d.ts +39 -0
- package/lib/definitions/JobStatusResponseResponse.js +3 -0
- package/lib/definitions/JobStatusResponseResponse.js.map +1 -0
- package/lib/definitions/JwtTokenRequest.d.ts +20 -0
- package/lib/definitions/JwtTokenRequest.js +3 -0
- package/lib/definitions/JwtTokenRequest.js.map +1 -0
- package/lib/definitions/LanguageInfo.d.ts +2 -1
- package/lib/definitions/ListAccountPhoneNumbersParameters.d.ts +4 -2
- package/lib/definitions/ListAccountPhoneNumbersV2Parameters.d.ts +3 -1
- package/lib/definitions/ListCallMonitoringGroupsParameters.d.ts +4 -0
- package/lib/definitions/ListCompanyMessageTemplatesParameters.d.ts +11 -0
- package/lib/definitions/ListCompanyMessageTemplatesParameters.js +3 -0
- package/lib/definitions/ListCompanyMessageTemplatesParameters.js.map +1 -0
- package/lib/definitions/ListDirectoryEntriesParameters.d.ts +5 -0
- package/lib/definitions/ListEmergencyLocationsParameters.d.ts +1 -0
- package/lib/definitions/ListExtensionPhoneNumbersParameters.d.ts +4 -2
- package/lib/definitions/ListExtensionsParameters.d.ts +2 -2
- package/lib/definitions/ListMeetingRecordingsResponse.d.ts +4 -4
- package/lib/definitions/{SocMsgListContentsParameters.d.ts → ListSocialMessagingContentsParameters.d.ts} +25 -17
- package/lib/definitions/ListSocialMessagingContentsParameters.js +3 -0
- package/lib/definitions/ListSocialMessagingContentsParameters.js.map +1 -0
- package/lib/definitions/{SocMsgListIdentitiesParameters.d.ts → ListSocialMessagingIdentitiesParameters.d.ts} +14 -10
- package/lib/definitions/ListSocialMessagingIdentitiesParameters.js +3 -0
- package/lib/definitions/ListSocialMessagingIdentitiesParameters.js.map +1 -0
- package/lib/definitions/ListUserMessageTemplatesParameters.d.ts +15 -0
- package/lib/definitions/ListUserMessageTemplatesParameters.js +3 -0
- package/lib/definitions/ListUserMessageTemplatesParameters.js.map +1 -0
- package/lib/definitions/LocationUpdatesEmergencyAddressInfoRequest.d.ts +2 -1
- package/lib/definitions/MeetingsCountryResource.d.ts +6 -0
- package/lib/definitions/MeetingsResource.d.ts +4 -4
- package/lib/definitions/MessageListResponse.d.ts +2 -2
- package/lib/definitions/MessageStatusCounts.d.ts +2 -1
- package/lib/definitions/MessageStoreCallerInfoResponseTo.d.ts +4 -0
- package/lib/definitions/MessageTemplateInfo.d.ts +11 -0
- package/lib/definitions/MessageTemplateInfo.js +3 -0
- package/lib/definitions/MessageTemplateInfo.js.map +1 -0
- package/lib/definitions/MessageTemplateRequest.d.ts +17 -0
- package/lib/definitions/MessageTemplateRequest.js +3 -0
- package/lib/definitions/MessageTemplateRequest.js.map +1 -0
- package/lib/definitions/MessageTemplateResponse.d.ts +23 -0
- package/lib/definitions/MessageTemplateResponse.js +3 -0
- package/lib/definitions/MessageTemplateResponse.js.map +1 -0
- package/lib/definitions/MessageTemplateUpdateRequest.d.ts +16 -0
- package/lib/definitions/MessageTemplateUpdateRequest.js +3 -0
- package/lib/definitions/MessageTemplateUpdateRequest.js.map +1 -0
- package/lib/definitions/MessageTemplatesListResponse.d.ts +8 -0
- package/lib/definitions/MessageTemplatesListResponse.js +3 -0
- package/lib/definitions/MessageTemplatesListResponse.js.map +1 -0
- package/lib/definitions/MetaData.d.ts +12 -0
- package/lib/definitions/{CallQueues.js → MetaData.js} +1 -1
- package/lib/definitions/MetaData.js.map +1 -0
- package/lib/definitions/MetaDataValues.d.ts +11 -0
- package/lib/definitions/MetaDataValues.js +3 -0
- package/lib/definitions/MetaDataValues.js.map +1 -0
- package/lib/definitions/MissedCallExtensionInfoExternalNumber.d.ts +1 -1
- package/lib/definitions/OptOutListResponse.d.ts +2 -2
- package/lib/definitions/OtpTokenRequest.d.ts +19 -0
- package/lib/definitions/OtpTokenRequest.js +3 -0
- package/lib/definitions/OtpTokenRequest.js.map +1 -0
- package/lib/definitions/PhoneNumberInfoIntId.d.ts +2 -2
- package/lib/definitions/ReadDirectoryEntryParameters.d.ts +11 -0
- package/lib/definitions/ReadDirectoryEntryParameters.js +3 -0
- package/lib/definitions/ReadDirectoryEntryParameters.js.map +1 -0
- package/lib/definitions/ReadGlipPostsNewParameters.d.ts +1 -1
- package/lib/definitions/RefreshTokenRequest.d.ts +18 -0
- package/lib/definitions/RefreshTokenRequest.js +3 -0
- package/lib/definitions/RefreshTokenRequest.js.map +1 -0
- package/lib/definitions/RegSessionModel.d.ts +6 -0
- package/lib/definitions/RegSessionModelSettings.d.ts +18 -1
- package/lib/definitions/RegionalSettings.d.ts +2 -1
- package/lib/definitions/RegistrantBaseModel.d.ts +4 -0
- package/lib/definitions/RegistrantBaseModelWithQuestionnaire.d.ts +4 -0
- package/lib/definitions/RegistrantMinimalModel.d.ts +4 -0
- package/lib/definitions/RegistrantModelResponsePostWithQuestionnaire.d.ts +4 -0
- package/lib/definitions/RegistrantModelWithQuestionnaire.d.ts +4 -0
- package/lib/definitions/RevokeTokenRequest.d.ts +7 -3
- package/lib/definitions/RoleResource.d.ts +1 -1
- package/lib/definitions/RolesCountryResource.d.ts +6 -0
- package/lib/definitions/RolesRegionalSettingsResource.d.ts +2 -0
- package/lib/definitions/RopcTokenRequest.d.ts +38 -0
- package/lib/definitions/RopcTokenRequest.js +3 -0
- package/lib/definitions/RopcTokenRequest.js.map +1 -0
- package/lib/definitions/SearchDirectoryEntriesParameters.d.ts +5 -0
- package/lib/definitions/ServiceInfo.d.ts +1 -1
- package/lib/definitions/ServiceInfoContractedCountryId.d.ts +7 -0
- package/lib/definitions/ServiceInfoContractedCountryId.js +3 -0
- package/lib/definitions/ServiceInfoContractedCountryId.js.map +1 -0
- package/lib/definitions/ServiceInfoPlan.d.ts +17 -0
- package/lib/definitions/ServiceInfoPlan.js +3 -0
- package/lib/definitions/ServiceInfoPlan.js.map +1 -0
- package/lib/definitions/ServiceInfoUBrand.d.ts +11 -0
- package/lib/definitions/{ContentAttachment.js → ServiceInfoUBrand.js} +1 -1
- package/lib/definitions/ServiceInfoUBrand.js.map +1 -0
- package/lib/definitions/ServiceInfoV2.d.ts +15 -0
- package/lib/definitions/SipRegistrationDeviceEmergencyInfoAddress.d.ts +2 -1
- package/lib/definitions/Site.d.ts +16 -0
- package/lib/definitions/{PackageInfo.js → Site.js} +1 -1
- package/lib/definitions/Site.js.map +1 -0
- package/lib/definitions/SiteInfo.d.ts +4 -0
- package/lib/definitions/SiteUpdateRequest.d.ts +7 -0
- package/lib/definitions/SmsRequestCountryInfo.d.ts +2 -1
- package/lib/definitions/SocMsgContentAttachment.d.ts +77 -0
- package/lib/definitions/SocMsgContentAttachment.js +3 -0
- package/lib/definitions/SocMsgContentAttachment.js.map +1 -0
- package/lib/definitions/TMCreateEventRequest.d.ts +2 -19
- package/lib/definitions/TMCreateTaskRequest.d.ts +4 -4
- package/lib/definitions/TMEventInfo.d.ts +2 -17
- package/lib/definitions/TMMessageAttachmentInfo.d.ts +2 -17
- package/lib/definitions/TMTaskInfo.d.ts +2 -3
- package/lib/definitions/TMUpdateTaskRequest.d.ts +2 -2
- package/lib/definitions/{TMTaskInfoRecurrence.d.ts → TaskRecurrenceInfo.d.ts} +11 -5
- package/lib/definitions/TaskRecurrenceInfo.js +3 -0
- package/lib/definitions/TaskRecurrenceInfo.js.map +1 -0
- package/lib/definitions/TaxLocation.d.ts +38 -0
- package/lib/definitions/{SiteResource.js → TaxLocation.js} +1 -1
- package/lib/definitions/TaxLocation.js.map +1 -0
- package/lib/definitions/TokenInfo.d.ts +22 -16
- package/lib/definitions/UnconditionalForwardingInfo.d.ts +2 -2
- package/lib/definitions/UserAnsweringRuleList.d.ts +2 -2
- package/lib/definitions/UserPhoneNumberInfo.d.ts +4 -4
- package/lib/definitions/UserTransitionInfo.d.ts +2 -2
- package/lib/paths/Cx/SocialMessaging/V1/Contents/index.d.ts +17 -19
- package/lib/paths/Cx/SocialMessaging/V1/Contents/index.js +15 -17
- package/lib/paths/Cx/SocialMessaging/V1/Contents/index.js.map +1 -1
- package/lib/paths/Cx/SocialMessaging/V1/Identities/index.d.ts +8 -10
- package/lib/paths/Cx/SocialMessaging/V1/Identities/index.js +6 -8
- package/lib/paths/Cx/SocialMessaging/V1/Identities/index.js.map +1 -1
- package/lib/paths/Restapi/Account/CallQueues/index.d.ts +4 -3
- package/lib/paths/Restapi/Account/CallQueues/index.js +2 -2
- package/lib/paths/Restapi/Account/CallQueues/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Directory/Entries/index.d.ts +2 -1
- package/lib/paths/Restapi/Account/Directory/Entries/index.js +2 -2
- package/lib/paths/Restapi/Account/Directory/Entries/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/AnsweringRule/index.d.ts +3 -3
- package/lib/paths/Restapi/Account/Extension/AnsweringRule/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/Greeting/Content/index.d.ts +0 -1
- package/lib/paths/Restapi/Account/Extension/MessageStore/Content/index.d.ts +0 -1
- package/lib/paths/Restapi/Account/Extension/MessageStoreTemplates/index.d.ts +57 -0
- package/lib/paths/Restapi/Account/Extension/MessageStoreTemplates/index.js +84 -0
- package/lib/paths/Restapi/Account/Extension/MessageStoreTemplates/index.js.map +1 -0
- package/lib/paths/Restapi/Account/Extension/ProfileImage/index.d.ts +0 -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/Greeting/Content/index.d.ts +0 -1
- package/lib/paths/Restapi/Account/IvrPrompts/Content/index.d.ts +3 -1
- package/lib/paths/Restapi/Account/IvrPrompts/Content/index.js +3 -0
- package/lib/paths/Restapi/Account/IvrPrompts/Content/index.js.map +1 -1
- package/lib/paths/Restapi/Account/MessageStoreTemplates/index.d.ts +54 -0
- package/lib/paths/Restapi/Account/MessageStoreTemplates/index.js +81 -0
- package/lib/paths/Restapi/Account/MessageStoreTemplates/index.js.map +1 -0
- package/lib/paths/Restapi/Account/Recording/Content/index.d.ts +0 -1
- package/lib/paths/Restapi/Account/ServiceInfo/index.d.ts +1 -1
- package/lib/paths/Restapi/Account/ServiceInfo/index.js +1 -1
- package/lib/paths/Restapi/Account/index.d.ts +2 -0
- package/lib/paths/Restapi/Account/index.js +4 -0
- package/lib/paths/Restapi/Account/index.js.map +1 -1
- package/lib/paths/Restapi/Oauth/Authorize/index.d.ts +18 -3
- package/lib/paths/Restapi/Oauth/Authorize/index.js +18 -4
- package/lib/paths/Restapi/Oauth/Authorize/index.js.map +1 -1
- package/lib/paths/Restapi/Oauth/Revoke/index.d.ts +6 -4
- package/lib/paths/Restapi/Oauth/Revoke/index.js +6 -4
- package/lib/paths/Restapi/Oauth/Revoke/index.js.map +1 -1
- package/lib/paths/Restapi/Oauth/Token/index.d.ts +6 -3
- package/lib/paths/Restapi/Oauth/Token/index.js +6 -3
- package/lib/paths/Restapi/Oauth/Token/index.js.map +1 -1
- package/lib/paths/Restapi/Oauth/index.d.ts +0 -4
- package/lib/paths/Restapi/Oauth/index.js +0 -8
- package/lib/paths/Restapi/Oauth/index.js.map +1 -1
- package/lib/paths/Restapi/V2/Accounts/CostCenters/index.d.ts +18 -0
- package/lib/paths/Restapi/{Oauth/SessionInfo → V2/Accounts/CostCenters}/index.js +6 -5
- package/lib/paths/Restapi/V2/Accounts/CostCenters/index.js.map +1 -0
- package/lib/paths/Restapi/V2/Accounts/Extensions/CallFlipNumbers/index.d.ts +45 -0
- package/lib/paths/Restapi/V2/Accounts/Extensions/CallFlipNumbers/index.js +55 -0
- package/lib/paths/Restapi/V2/Accounts/Extensions/CallFlipNumbers/index.js.map +1 -0
- package/lib/paths/Restapi/V2/Accounts/Extensions/index.d.ts +2 -0
- package/lib/paths/Restapi/V2/Accounts/Extensions/index.js +4 -0
- package/lib/paths/Restapi/V2/Accounts/Extensions/index.js.map +1 -1
- package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/BulkAdd/index.d.ts +1 -1
- package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/BulkAdd/index.js +1 -1
- package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/Replace/index.d.ts +1 -1
- package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/Replace/index.js +1 -1
- package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/index.d.ts +6 -6
- package/lib/paths/Restapi/V2/Accounts/PhoneNumbers/index.js +6 -6
- package/lib/paths/Restapi/V2/Accounts/index.d.ts +2 -0
- package/lib/paths/Restapi/V2/Accounts/index.js +4 -0
- package/lib/paths/Restapi/V2/Accounts/index.js.map +1 -1
- package/lib/paths/TeamMessaging/V1/Chats/Posts/index.d.ts +5 -1
- package/lib/paths/TeamMessaging/V1/Chats/Posts/index.js +5 -1
- package/lib/paths/TeamMessaging/V1/Chats/Posts/index.js.map +1 -1
- package/lib/types.d.ts +0 -2
- package/package.json +5 -5
- package/src/definitions/AccountInfo.ts +1 -7
- package/src/definitions/AccountPhoneNumberInfo.ts +9 -2
- package/src/definitions/AccountRegionalSettings.ts +2 -1
- package/src/definitions/AccountServiceInfo.ts +2 -2
- package/src/definitions/AccountServiceInfoRequest.ts +2 -2
- package/src/definitions/AccountStatusInfo.ts +3 -1
- package/src/definitions/ActivePermissionResource.ts +1 -1
- package/src/definitions/AddPhoneNumberRequestItem.ts +5 -0
- package/src/definitions/AddPhoneNumbersResponseItem.ts +5 -0
- package/src/definitions/AssignPhoneNumberRequest.ts +7 -2
- package/src/definitions/AssignedCountryInfo.ts +3 -1
- package/src/definitions/AuthCodeTokenRequest.ts +35 -0
- package/src/definitions/AuthorizeParameters.ts +107 -0
- package/src/definitions/AuthorizeRequest.ts +39 -44
- package/src/definitions/BaseCallLogRecord.ts +0 -1
- package/src/definitions/BaseTokenRequest.ts +59 -0
- package/src/definitions/BatchListResponse.ts +2 -2
- package/src/definitions/{PackageInfo.ts → BillingPackageInfo.ts} +2 -2
- package/src/definitions/CallFlipNumberListResource.ts +10 -0
- package/src/definitions/CallFlipNumberResource.ts +33 -0
- package/src/definitions/{AnsweringRuleInfo.ts → CallHandlingRuleInfo.ts} +2 -2
- package/src/definitions/CallLogRecord.ts +0 -1
- package/src/definitions/CallLogRecordLegInfo.ts +0 -1
- package/src/definitions/CallParty.ts +6 -0
- package/src/definitions/CallQueueDetails.ts +6 -1
- package/src/definitions/CallQueueDetailsForUpdate.ts +45 -0
- package/src/definitions/CallQueueInfo.ts +7 -1
- package/src/definitions/{CallQueues.ts → CallQueueList.ts} +2 -2
- package/src/definitions/CallQueueMember.ts +2 -2
- package/src/definitions/{GreetingResource.ts → CallRecordingGreetingResource.ts} +2 -2
- package/src/definitions/CallRecordingSettingsResource.ts +2 -2
- package/src/definitions/ClientAuthJwtModel.ts +17 -0
- package/src/definitions/ClientCredentialsBase.ts +14 -0
- package/src/definitions/ClientCredentialsByAccount.ts +20 -0
- package/src/definitions/ClientCredentialsByBrand.ts +20 -0
- package/src/definitions/ClientCredentialsByPartnerAccount.ts +26 -0
- package/src/definitions/ClientCredentialsTokenRequest.ts +32 -0
- package/src/definitions/CommonEmergencyLocationAddressInfo.ts +2 -1
- package/src/definitions/CommonEmergencyLocationAddressInfoAu.ts +2 -1
- package/src/definitions/CommonEmergencyLocationAddressInfoDefault.ts +2 -1
- package/src/definitions/CommonEmergencyLocationAddressInfoFr.ts +2 -1
- package/src/definitions/CompanyAnsweringRuleRequest.ts +2 -1
- package/src/definitions/CompanyPhoneNumberInfo.ts +11 -6
- package/src/definitions/ContentBodyFormatted.ts +1 -1
- package/src/definitions/ContentContextData.ts +1 -2
- package/src/definitions/ContentModel.ts +68 -72
- package/src/definitions/CostCenterBase.ts +22 -0
- package/src/definitions/CostCenterItem.ts +36 -0
- package/src/definitions/CostCenterList.ts +10 -0
- package/src/definitions/CountryInfoDictionaryModel.ts +5 -5
- package/src/definitions/CountryInfoShortModel.ts +5 -6
- package/src/definitions/CreateFaxMessageRequest.ts +1 -1
- package/src/definitions/CreateSiteRequest.ts +9 -0
- package/src/definitions/CreateSocialMessagingContentRequest.ts +126 -0
- package/src/definitions/CreateUserEmergencyLocationRequest.ts +2 -1
- package/src/definitions/CustomCompanyGreetingInfo.ts +1 -1
- package/src/definitions/DeletePhoneNumbersRequestItem.ts +1 -1
- package/src/definitions/DeviceCodeTokenRequest.ts +21 -0
- package/src/definitions/DeviceEmergencyInfo.ts +2 -2
- package/src/definitions/DeviceEmergencyServiceAddressResourceAu.ts +2 -1
- package/src/definitions/DeviceEmergencyServiceAddressResourceDefault.ts +2 -1
- package/src/definitions/DeviceEmergencyServiceAddressResourceFr.ts +2 -1
- package/src/definitions/DeviceResource.ts +2 -1
- package/src/definitions/EmailRecipientInfo.ts +2 -2
- package/src/definitions/EmergencyAddressInfo.ts +2 -1
- package/src/definitions/EmergencyLocationRequestResource.ts +2 -1
- package/src/definitions/EmergencyLocationResponseResource.ts +2 -1
- package/src/definitions/EmergencyServiceAddressResource.ts +2 -1
- package/src/definitions/EventRecurrenceInfo.ts +29 -0
- package/src/definitions/ExtensionBulkUpdateInfo.ts +2 -1
- package/src/definitions/ExtensionBulkUpdateTaskResult.ts +3 -3
- package/src/definitions/ExtensionBulkUpdateTaskResultAffectedItems.ts +9 -0
- package/src/definitions/ExtensionCreationRequest.ts +2 -2
- package/src/definitions/ExtensionCreationResponse.ts +2 -3
- package/src/definitions/ExtensionRegionalSettingRequest.ts +1 -1
- package/src/definitions/ExtensionStatusInfo.ts +2 -10
- package/src/definitions/ExtensionUpdateRequest.ts +2 -1
- package/src/definitions/FaxResponseTo.ts +13 -0
- package/src/definitions/GetAccountInfoResponse.ts +2 -2
- package/src/definitions/GetConferencingInfoResponse.ts +6 -0
- package/src/definitions/GetCountryInfoNumberParser.ts +5 -4
- package/src/definitions/GetExtensionInfoResponse.ts +13 -3
- package/src/definitions/GetExtensionListInfoResponse.ts +9 -4
- package/src/definitions/GetMessageInfoResponse.ts +0 -5
- package/src/definitions/GetSMSMessageInfoResponse.ts +0 -5
- package/src/definitions/GetTokenRequest.ts +93 -46
- package/src/definitions/GuestTokenRequest.ts +31 -0
- package/src/definitions/IdentityExtraValues.ts +1 -1
- package/src/definitions/IdentityModel.ts +33 -65
- package/src/definitions/IvrPinTokenRequest.ts +19 -0
- package/src/definitions/JobStatusResponse.ts +10 -0
- package/src/definitions/JobStatusResponseResponse.ts +48 -0
- package/src/definitions/JwtTokenRequest.ts +22 -0
- package/src/definitions/LanguageInfo.ts +2 -1
- package/src/definitions/ListAccountPhoneNumbersParameters.ts +4 -2
- package/src/definitions/ListAccountPhoneNumbersV2Parameters.ts +3 -1
- package/src/definitions/ListCallMonitoringGroupsParameters.ts +5 -0
- package/src/definitions/ListCompanyMessageTemplatesParameters.ts +12 -0
- package/src/definitions/ListDirectoryEntriesParameters.ts +6 -0
- package/src/definitions/ListEmergencyLocationsParameters.ts +1 -0
- package/src/definitions/ListExtensionPhoneNumbersParameters.ts +4 -2
- package/src/definitions/ListExtensionsParameters.ts +2 -2
- package/src/definitions/ListMeetingRecordingsResponse.ts +4 -4
- package/src/definitions/ListSocialMessagingContentsParameters.ts +85 -0
- package/src/definitions/ListSocialMessagingIdentitiesParameters.ts +61 -0
- package/src/definitions/ListUserMessageTemplatesParameters.ts +17 -0
- package/src/definitions/LocationUpdatesEmergencyAddressInfoRequest.ts +2 -1
- package/src/definitions/MeetingsCountryResource.ts +6 -0
- package/src/definitions/MeetingsResource.ts +4 -4
- package/src/definitions/MessageListResponse.ts +2 -2
- package/src/definitions/MessageStatusCounts.ts +2 -1
- package/src/definitions/MessageStoreCallerInfoResponseTo.ts +5 -0
- package/src/definitions/MessageTemplateInfo.ts +12 -0
- package/src/definitions/MessageTemplateRequest.ts +21 -0
- package/src/definitions/MessageTemplateResponse.ts +29 -0
- package/src/definitions/MessageTemplateUpdateRequest.ts +20 -0
- package/src/definitions/MessageTemplatesListResponse.ts +10 -0
- package/src/definitions/MetaData.ts +14 -0
- package/src/definitions/MetaDataValues.ts +13 -0
- package/src/definitions/MissedCallExtensionInfoExternalNumber.ts +1 -1
- package/src/definitions/OptOutListResponse.ts +2 -2
- package/src/definitions/OtpTokenRequest.ts +21 -0
- package/src/definitions/PhoneNumberInfoIntId.ts +2 -2
- package/src/definitions/ReadDirectoryEntryParameters.ts +12 -0
- package/src/definitions/ReadGlipPostsNewParameters.ts +1 -1
- package/src/definitions/RefreshTokenRequest.ts +20 -0
- package/src/definitions/RegSessionModel.ts +7 -0
- package/src/definitions/RegSessionModelSettings.ts +22 -1
- package/src/definitions/RegionalSettings.ts +2 -1
- package/src/definitions/RegistrantBaseModel.ts +5 -0
- package/src/definitions/RegistrantBaseModelWithQuestionnaire.ts +5 -0
- package/src/definitions/RegistrantMinimalModel.ts +5 -0
- package/src/definitions/RegistrantModelResponsePostWithQuestionnaire.ts +5 -0
- package/src/definitions/RegistrantModelWithQuestionnaire.ts +5 -0
- package/src/definitions/RevokeTokenRequest.ts +7 -3
- package/src/definitions/RoleResource.ts +9 -1
- package/src/definitions/RolesCountryResource.ts +6 -0
- package/src/definitions/RolesRegionalSettingsResource.ts +2 -0
- package/src/definitions/RopcTokenRequest.ts +43 -0
- package/src/definitions/SearchDirectoryEntriesParameters.ts +6 -0
- package/src/definitions/ServiceInfo.ts +1 -1
- package/src/definitions/ServiceInfoContractedCountryId.ts +8 -0
- package/src/definitions/ServiceInfoPlan.ts +20 -0
- package/src/definitions/ServiceInfoUBrand.ts +12 -0
- package/src/definitions/ServiceInfoV2.ts +19 -0
- package/src/definitions/SipRegistrationDeviceEmergencyInfoAddress.ts +2 -1
- package/src/definitions/Site.ts +18 -0
- package/src/definitions/SiteInfo.ts +5 -0
- package/src/definitions/SiteUpdateRequest.ts +9 -0
- package/src/definitions/SmsRequestCountryInfo.ts +2 -1
- package/src/definitions/SocMsgContentAttachment.ts +86 -0
- package/src/definitions/TMCreateEventRequest.ts +3 -22
- package/src/definitions/TMCreateTaskRequest.ts +4 -4
- package/src/definitions/TMEventInfo.ts +3 -20
- package/src/definitions/TMMessageAttachmentInfo.ts +2 -20
- package/src/definitions/TMTaskInfo.ts +2 -3
- package/src/definitions/TMUpdateTaskRequest.ts +2 -2
- package/src/definitions/{TMTaskInfoRecurrence.ts → TaskRecurrenceInfo.ts} +11 -5
- package/src/definitions/TaxLocation.ts +45 -0
- package/src/definitions/TokenInfo.ts +22 -16
- package/src/definitions/UnconditionalForwardingInfo.ts +2 -2
- package/src/definitions/UserAnsweringRuleList.ts +2 -2
- package/src/definitions/UserPhoneNumberInfo.ts +4 -4
- package/src/definitions/UserTransitionInfo.ts +2 -2
- package/src/paths/Cx/SocialMessaging/V1/Contents/index.ts +23 -20
- package/src/paths/Cx/SocialMessaging/V1/Identities/index.ts +8 -10
- package/src/paths/Restapi/Account/CallQueues/index.ts +6 -5
- package/src/paths/Restapi/Account/Directory/Entries/index.ts +6 -2
- package/src/paths/Restapi/Account/Extension/AnsweringRule/index.ts +5 -5
- package/src/paths/Restapi/Account/Extension/MessageStoreTemplates/index.ts +115 -0
- package/src/paths/Restapi/Account/Extension/index.ts +5 -0
- package/src/paths/Restapi/Account/IvrPrompts/Content/index.ts +3 -0
- package/src/paths/Restapi/Account/MessageStoreTemplates/index.ts +112 -0
- package/src/paths/Restapi/Account/ServiceInfo/index.ts +1 -1
- package/src/paths/Restapi/Account/index.ts +5 -0
- package/src/paths/Restapi/Oauth/Authorize/index.ts +19 -4
- package/src/paths/Restapi/Oauth/Revoke/index.ts +6 -4
- package/src/paths/Restapi/Oauth/Token/index.ts +6 -3
- package/src/paths/Restapi/Oauth/index.ts +0 -10
- package/src/paths/Restapi/V2/Accounts/CostCenters/index.ts +28 -0
- package/src/paths/Restapi/V2/Accounts/Extensions/CallFlipNumbers/index.ts +67 -0
- package/src/paths/Restapi/V2/Accounts/Extensions/index.ts +5 -0
- package/src/paths/Restapi/V2/Accounts/PhoneNumbers/BulkAdd/index.ts +1 -1
- package/src/paths/Restapi/V2/Accounts/PhoneNumbers/Replace/index.ts +1 -1
- package/src/paths/Restapi/V2/Accounts/PhoneNumbers/index.ts +6 -6
- package/src/paths/Restapi/V2/Accounts/index.ts +5 -0
- package/src/paths/TeamMessaging/V1/Chats/Posts/index.ts +5 -1
- package/src/samples.md +1546 -1216
- package/lib/definitions/AnsweringRuleInfo.js.map +0 -1
- package/lib/definitions/CallQueues.js.map +0 -1
- package/lib/definitions/ContentAttachment.d.ts +0 -76
- package/lib/definitions/ContentAttachment.js.map +0 -1
- package/lib/definitions/CreateContentRequest.d.ts +0 -131
- package/lib/definitions/CreateContentRequest.js.map +0 -1
- package/lib/definitions/EmergencyLocationInfoRequest.d.ts +0 -38
- package/lib/definitions/EmergencyLocationInfoRequest.js +0 -3
- package/lib/definitions/EmergencyLocationInfoRequest.js.map +0 -1
- package/lib/definitions/GreetingResource.js.map +0 -1
- package/lib/definitions/IntrospectTokenRequest.d.ts +0 -13
- package/lib/definitions/IntrospectTokenRequest.js +0 -3
- package/lib/definitions/IntrospectTokenRequest.js.map +0 -1
- package/lib/definitions/MeetingRecordingsNavigationInfo.d.ts +0 -16
- package/lib/definitions/MeetingRecordingsNavigationInfo.js +0 -3
- package/lib/definitions/MeetingRecordingsNavigationInfo.js.map +0 -1
- package/lib/definitions/MeetingRecordingsNavigationInfoUri.d.ts +0 -10
- package/lib/definitions/MeetingRecordingsNavigationInfoUri.js +0 -3
- package/lib/definitions/MeetingRecordingsNavigationInfoUri.js.map +0 -1
- package/lib/definitions/MeetingRecordingsPagingInfo.d.ts +0 -33
- package/lib/definitions/MeetingRecordingsPagingInfo.js +0 -3
- package/lib/definitions/MeetingRecordingsPagingInfo.js.map +0 -1
- package/lib/definitions/MeetingsNavigationInfo.d.ts +0 -16
- package/lib/definitions/MeetingsNavigationInfo.js +0 -3
- package/lib/definitions/MeetingsNavigationInfo.js.map +0 -1
- package/lib/definitions/MeetingsNavigationInfoUri.d.ts +0 -7
- package/lib/definitions/MeetingsNavigationInfoUri.js +0 -3
- package/lib/definitions/MeetingsNavigationInfoUri.js.map +0 -1
- package/lib/definitions/MeetingsPagingInfo.d.ts +0 -27
- package/lib/definitions/MeetingsPagingInfo.js +0 -3
- package/lib/definitions/MeetingsPagingInfo.js.map +0 -1
- package/lib/definitions/PackageInfo.js.map +0 -1
- package/lib/definitions/PagingResource.d.ts +0 -32
- package/lib/definitions/PagingResource.js.map +0 -1
- package/lib/definitions/SessionInfoResponse.d.ts +0 -42
- package/lib/definitions/SessionInfoResponse.js +0 -3
- package/lib/definitions/SessionInfoResponse.js.map +0 -1
- package/lib/definitions/SiteResource.d.ts +0 -14
- package/lib/definitions/SiteResource.js.map +0 -1
- package/lib/definitions/SocMsgListContentsParameters.js +0 -3
- package/lib/definitions/SocMsgListContentsParameters.js.map +0 -1
- package/lib/definitions/SocMsgListIdentitiesParameters.js +0 -3
- package/lib/definitions/SocMsgListIdentitiesParameters.js.map +0 -1
- package/lib/definitions/TMCreateTaskRequestRecurrence.d.ts +0 -25
- package/lib/definitions/TMCreateTaskRequestRecurrence.js +0 -3
- package/lib/definitions/TMCreateTaskRequestRecurrence.js.map +0 -1
- package/lib/definitions/TMTaskInfoRecurrence.js +0 -3
- package/lib/definitions/TMTaskInfoRecurrence.js.map +0 -1
- package/lib/definitions/TMUpdateTaskRequestRecurrence.d.ts +0 -24
- package/lib/definitions/TMUpdateTaskRequestRecurrence.js +0 -3
- package/lib/definitions/TMUpdateTaskRequestRecurrence.js.map +0 -1
- package/lib/definitions/TokenIntrospectionResponse.d.ts +0 -47
- package/lib/definitions/TokenIntrospectionResponse.js +0 -3
- package/lib/definitions/TokenIntrospectionResponse.js.map +0 -1
- package/lib/paths/Restapi/Oauth/Introspect/index.d.ts +0 -24
- package/lib/paths/Restapi/Oauth/Introspect/index.js +0 -30
- package/lib/paths/Restapi/Oauth/Introspect/index.js.map +0 -1
- package/lib/paths/Restapi/Oauth/SessionInfo/index.d.ts +0 -17
- package/lib/paths/Restapi/Oauth/SessionInfo/index.js.map +0 -1
- package/src/definitions/ContentAttachment.ts +0 -85
- package/src/definitions/CreateContentRequest.ts +0 -147
- package/src/definitions/EmergencyLocationInfoRequest.ts +0 -47
- package/src/definitions/IntrospectTokenRequest.ts +0 -15
- package/src/definitions/MeetingRecordingsNavigationInfo.ts +0 -21
- package/src/definitions/MeetingRecordingsNavigationInfoUri.ts +0 -11
- package/src/definitions/MeetingRecordingsPagingInfo.ts +0 -39
- package/src/definitions/MeetingsNavigationInfo.ts +0 -21
- package/src/definitions/MeetingsNavigationInfoUri.ts +0 -8
- package/src/definitions/MeetingsPagingInfo.ts +0 -33
- package/src/definitions/PagingResource.ts +0 -37
- package/src/definitions/SessionInfoResponse.ts +0 -50
- package/src/definitions/SiteResource.ts +0 -16
- package/src/definitions/SocMsgListContentsParameters.ts +0 -70
- package/src/definitions/SocMsgListIdentitiesParameters.ts +0 -50
- package/src/definitions/TMCreateTaskRequestRecurrence.ts +0 -29
- package/src/definitions/TMUpdateTaskRequestRecurrence.ts +0 -28
- package/src/definitions/TokenIntrospectionResponse.ts +0 -56
- package/src/paths/Restapi/Oauth/Introspect/index.ts +0 -42
- package/src/paths/Restapi/Oauth/SessionInfo/index.ts +0 -27
|
@@ -20,7 +20,7 @@ class Index {
|
|
|
20
20
|
* Endpoint: /restapi/{apiVersion}/account/{accountId}/service-info
|
|
21
21
|
* Rate Limit Group: Light
|
|
22
22
|
* App Permission: ReadAccounts
|
|
23
|
-
* User Permission:
|
|
23
|
+
* User Permission: ReadCompanyInfo
|
|
24
24
|
*/
|
|
25
25
|
public async get(restRequestConfig?: RestRequestConfig): Promise<AccountServiceInfo> {
|
|
26
26
|
const r = await this.rc.get<AccountServiceInfo>(this.path(), undefined, restRequestConfig);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import EmergencyAddressAutoUpdate from './EmergencyAddressAutoUpdate';
|
|
2
2
|
import MessageStoreConfiguration from './MessageStoreConfiguration';
|
|
3
3
|
import AddressBookBulkUpload from './AddressBookBulkUpload';
|
|
4
|
+
import MessageStoreTemplates from './MessageStoreTemplates';
|
|
4
5
|
import CallMonitoringGroups from './CallMonitoringGroups';
|
|
5
6
|
import ExtensionBulkUpdate from './ExtensionBulkUpdate';
|
|
6
7
|
import MessageStoreReport from './MessageStoreReport';
|
|
@@ -202,6 +203,10 @@ class Index {
|
|
|
202
203
|
return new CallMonitoringGroups(this, groupId);
|
|
203
204
|
}
|
|
204
205
|
|
|
206
|
+
public messageStoreTemplates(templateId: string | null = null): MessageStoreTemplates {
|
|
207
|
+
return new MessageStoreTemplates(this, templateId);
|
|
208
|
+
}
|
|
209
|
+
|
|
205
210
|
public addressBookBulkUpload(): AddressBookBulkUpload {
|
|
206
211
|
return new AddressBookBulkUpload(this);
|
|
207
212
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type AuthorizeRequest from '../../../../definitions/AuthorizeRequest';
|
|
2
|
+
import type AuthorizeParameters from '../../../../definitions/AuthorizeParameters';
|
|
2
3
|
import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../types';
|
|
3
4
|
|
|
4
5
|
class Index {
|
|
@@ -13,18 +14,32 @@ class Index {
|
|
|
13
14
|
return `${this._parent.path()}/authorize`;
|
|
14
15
|
}
|
|
15
16
|
/**
|
|
16
|
-
* Performs
|
|
17
|
+
* Performs Authentication of the End-User by sending the User Agent to the Authorization Server's
|
|
18
|
+
* Authorization Endpoint for Authentication and Authorization,
|
|
19
|
+
* using request parameters defined by OAuth 2.0 [RFC-6749](https://datatracker.ietf.org/doc/html/rfc6749#section-3.1)
|
|
20
|
+
* and additional parameters and parameter values defined by
|
|
21
|
+
* [OpenID Connect Core 1.0](https://openid.net/specs/openid-connect-core-1_0.html#AuthorizationEndpoint).
|
|
22
|
+
*
|
|
23
|
+
* This is the version that uses HTTP `GET` method.
|
|
24
|
+
*
|
|
17
25
|
* HTTP Method: get
|
|
18
26
|
* Endpoint: /restapi/oauth/authorize
|
|
19
27
|
* Rate Limit Group: Auth
|
|
20
28
|
*/
|
|
21
|
-
public async get(restRequestConfig?: RestRequestConfig): Promise<string> {
|
|
22
|
-
const r = await this.rc.get<string>(this.path(),
|
|
29
|
+
public async get(queryParams?: AuthorizeParameters, restRequestConfig?: RestRequestConfig): Promise<string> {
|
|
30
|
+
const r = await this.rc.get<string>(this.path(), queryParams, restRequestConfig);
|
|
23
31
|
return r.data;
|
|
24
32
|
}
|
|
25
33
|
|
|
26
34
|
/**
|
|
27
|
-
* Performs
|
|
35
|
+
* Performs Authentication of the End-User by sending the User Agent to the Authorization Server's
|
|
36
|
+
* Authorization Endpoint for Authentication and Authorization,
|
|
37
|
+
* using request parameters defined by OAuth 2.0 [RFC-6749](https://datatracker.ietf.org/doc/html/rfc6749#section-3.1)
|
|
38
|
+
* and additional parameters and parameter values defined by
|
|
39
|
+
* [OpenID Connect Core 1.0](https://openid.net/specs/openid-connect-core-1_0.html#AuthorizationEndpoint).
|
|
40
|
+
*
|
|
41
|
+
* This is the version that uses HTTP `POST` method.
|
|
42
|
+
*
|
|
28
43
|
* HTTP Method: post
|
|
29
44
|
* Endpoint: /restapi/oauth/authorize
|
|
30
45
|
* Rate Limit Group: Auth
|
|
@@ -15,11 +15,13 @@ class Index {
|
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* Revokes all active access/refresh tokens and invalidates the OAuth session basing on token provided.
|
|
18
|
-
* `token` parameter may be passed in query string or body and may represent access or refresh token.
|
|
18
|
+
* The `token` parameter may be passed in query string or body and may represent access or refresh token.
|
|
19
19
|
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
20
|
+
* This endpoint is defined by [RFC-7009 "OAuth 2.0 Token Revocation"](https://datatracker.ietf.org/doc/html/rfc7009)
|
|
21
|
+
*
|
|
22
|
+
* For confidential client application types
|
|
23
|
+
* this endpoint requires client authentication using one of the supported
|
|
24
|
+
* methods (`client_secret_basic`, `client_secret_jwt` or `private_key_jwt`)
|
|
23
25
|
*
|
|
24
26
|
* HTTP Method: post
|
|
25
27
|
* Endpoint: /restapi/oauth/revoke
|
|
@@ -16,9 +16,12 @@ class Index {
|
|
|
16
16
|
/**
|
|
17
17
|
* Returns access (and potentially refresh) tokens for making API requests.
|
|
18
18
|
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
19
|
+
* For confidential client application types
|
|
20
|
+
* this endpoint requires client authentication using one of the supported
|
|
21
|
+
* methods (`client_secret_basic`, `client_secret_jwt` or `private_key_jwt`)
|
|
22
|
+
*
|
|
23
|
+
* For non-confidential client application types
|
|
24
|
+
* the client identifier must be provided via `client_id` request attribute.
|
|
22
25
|
*
|
|
23
26
|
* HTTP Method: post
|
|
24
27
|
* Endpoint: /restapi/oauth/token
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import SessionInfo from './SessionInfo';
|
|
2
|
-
import Introspect from './Introspect';
|
|
3
1
|
import Authorize from './Authorize';
|
|
4
2
|
import Revoke from './Revoke';
|
|
5
3
|
import Token from './Token';
|
|
@@ -28,13 +26,5 @@ class Index {
|
|
|
28
26
|
public authorize(): Authorize {
|
|
29
27
|
return new Authorize(this);
|
|
30
28
|
}
|
|
31
|
-
|
|
32
|
-
public introspect(): Introspect {
|
|
33
|
-
return new Introspect(this);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
public sessionInfo(): SessionInfo {
|
|
37
|
-
return new SessionInfo(this);
|
|
38
|
-
}
|
|
39
29
|
}
|
|
40
30
|
export default Index;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type CostCenterList from '../../../../../definitions/CostCenterList';
|
|
2
|
+
import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../../types';
|
|
3
|
+
|
|
4
|
+
class Index {
|
|
5
|
+
public rc: RingCentralInterface;
|
|
6
|
+
public _parent: ParentInterface;
|
|
7
|
+
|
|
8
|
+
public constructor(_parent: ParentInterface) {
|
|
9
|
+
this._parent = _parent;
|
|
10
|
+
this.rc = _parent.rc;
|
|
11
|
+
}
|
|
12
|
+
public path(): string {
|
|
13
|
+
return `${this._parent.path()}/cost-centers`;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Returns the list of cost centers of the account specified in path.
|
|
17
|
+
* HTTP Method: get
|
|
18
|
+
* Endpoint: /restapi/v2/accounts/{accountId}/cost-centers
|
|
19
|
+
* Rate Limit Group: Light
|
|
20
|
+
* App Permission: ReadAccounts
|
|
21
|
+
* User Permission: CostCenterManagement
|
|
22
|
+
*/
|
|
23
|
+
public async get(restRequestConfig?: RestRequestConfig): Promise<CostCenterList> {
|
|
24
|
+
const r = await this.rc.get<CostCenterList>(this.path(), undefined, restRequestConfig);
|
|
25
|
+
return r.data;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
export default Index;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import type CallFlipNumberListResource from '../../../../../../definitions/CallFlipNumberListResource';
|
|
2
|
+
import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../../../types';
|
|
3
|
+
|
|
4
|
+
class Index {
|
|
5
|
+
public rc: RingCentralInterface;
|
|
6
|
+
public _parent: ParentInterface;
|
|
7
|
+
|
|
8
|
+
public constructor(_parent: ParentInterface) {
|
|
9
|
+
this._parent = _parent;
|
|
10
|
+
this.rc = _parent.rc;
|
|
11
|
+
}
|
|
12
|
+
public path(): string {
|
|
13
|
+
return `${this._parent.path()}/call-flip-numbers`;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Returns call flip settings. Call flip destination is an extension level setting.
|
|
17
|
+
* The following numbers can be used for call flip:
|
|
18
|
+
*
|
|
19
|
+
* * User's DL numbers (added/removed automatically by the System)
|
|
20
|
+
* * PSTN numbers in E.164 format (added/removed manually by User)
|
|
21
|
+
*
|
|
22
|
+
* Call flip list is generally limited up to 10 numbers.
|
|
23
|
+
*
|
|
24
|
+
* **Please note:** This API is only working with the new Communication Handling flow.
|
|
25
|
+
* To ensure that please check if the 'NewCallHandlingAndForwarding' feature is supported.
|
|
26
|
+
*
|
|
27
|
+
* HTTP Method: get
|
|
28
|
+
* Endpoint: /restapi/v2/accounts/{accountId}/extensions/{extensionId}/call-flip-numbers
|
|
29
|
+
* Rate Limit Group: Light
|
|
30
|
+
* App Permission: ReadAccounts
|
|
31
|
+
*/
|
|
32
|
+
public async get(restRequestConfig?: RestRequestConfig): Promise<CallFlipNumberListResource> {
|
|
33
|
+
const r = await this.rc.get<CallFlipNumberListResource>(this.path(), undefined, restRequestConfig);
|
|
34
|
+
return r.data;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Updates call flip settings. Call flip destination is an extension level setting.
|
|
39
|
+
* The following numbers can be used for call flip:
|
|
40
|
+
*
|
|
41
|
+
* * User's DL numbers (added/removed automatically by the System)
|
|
42
|
+
* * PSTN numbers in E.164 format (added/removed manually by User)
|
|
43
|
+
*
|
|
44
|
+
* Call flip list is generally limited up to 10 numbers.
|
|
45
|
+
*
|
|
46
|
+
* **Please note:** This API is only working with the new Communication Handling flow.
|
|
47
|
+
* To ensure that please check if the 'NewCallHandlingAndForwarding' feature is supported.
|
|
48
|
+
*
|
|
49
|
+
* HTTP Method: put
|
|
50
|
+
* Endpoint: /restapi/v2/accounts/{accountId}/extensions/{extensionId}/call-flip-numbers
|
|
51
|
+
* Rate Limit Group: Medium
|
|
52
|
+
* App Permission: EditExtensions
|
|
53
|
+
*/
|
|
54
|
+
public async put(
|
|
55
|
+
callFlipNumberListResource: CallFlipNumberListResource,
|
|
56
|
+
restRequestConfig?: RestRequestConfig,
|
|
57
|
+
): Promise<CallFlipNumberListResource> {
|
|
58
|
+
const r = await this.rc.put<CallFlipNumberListResource>(
|
|
59
|
+
this.path(),
|
|
60
|
+
callFlipNumberListResource,
|
|
61
|
+
undefined,
|
|
62
|
+
restRequestConfig,
|
|
63
|
+
);
|
|
64
|
+
return r.data;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
export default Index;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import CallFlipNumbers from './CallFlipNumbers';
|
|
1
2
|
import Devices from './Devices';
|
|
2
3
|
import type BulkDeleteUsersResponse from '../../../../../definitions/BulkDeleteUsersResponse';
|
|
3
4
|
import type BulkDeleteUsersRequest from '../../../../../definitions/BulkDeleteUsersRequest';
|
|
@@ -42,5 +43,9 @@ class Index {
|
|
|
42
43
|
public devices(deviceId: string | null = null): Devices {
|
|
43
44
|
return new Devices(this, deviceId);
|
|
44
45
|
}
|
|
46
|
+
|
|
47
|
+
public callFlipNumbers(): CallFlipNumbers {
|
|
48
|
+
return new CallFlipNumbers(this);
|
|
49
|
+
}
|
|
45
50
|
}
|
|
46
51
|
export default Index;
|
|
@@ -43,7 +43,7 @@ class Index {
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
|
-
* Returns the result of asynchronous operation which adds phone numbers to the account
|
|
46
|
+
* Returns the result of asynchronous operation which adds phone numbers to the account inventory.
|
|
47
47
|
*
|
|
48
48
|
* HTTP Method: get
|
|
49
49
|
* Endpoint: /restapi/v2/accounts/{accountId}/phone-numbers/bulk-add/{taskId}
|
|
@@ -14,7 +14,7 @@ class Index {
|
|
|
14
14
|
return `${this._parent.path()}/replace`;
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
|
-
* Replaces (swaps) phone numbers from
|
|
17
|
+
* Replaces (swaps) phone numbers from inventory with the main, company, direct or company fax numbers.
|
|
18
18
|
* This method is used to replace temporary numbers when the porting process is complete.
|
|
19
19
|
*
|
|
20
20
|
* HTTP Method: post
|
|
@@ -44,10 +44,10 @@ class Index {
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
|
-
* This method can only delete numbers that
|
|
48
|
-
* -
|
|
49
|
-
* - `
|
|
50
|
-
* - `
|
|
47
|
+
* This method can only delete numbers that of the following usage types:
|
|
48
|
+
* - `Inventory`,
|
|
49
|
+
* - `ForwardedNumber`,
|
|
50
|
+
* - `ForwardedCompanyNumber`.
|
|
51
51
|
*
|
|
52
52
|
* In other words, this method will not delete numbers which are in use on the account - extension direct numbers,
|
|
53
53
|
* main number, etc. It is possible to indicate phone numbers to be deleted using their IDs or exact string values
|
|
@@ -76,8 +76,8 @@ class Index {
|
|
|
76
76
|
* Assigns or reassigns a phone number as a company or extension number.
|
|
77
77
|
*
|
|
78
78
|
* Assign scenarios supported:
|
|
79
|
-
* - from
|
|
80
|
-
* - from
|
|
79
|
+
* - from inventory to a company number;
|
|
80
|
+
* - from inventory to an extension number.
|
|
81
81
|
*
|
|
82
82
|
* Reassign scenarios supported:
|
|
83
83
|
* - from an extension to another extension;
|
|
@@ -3,6 +3,7 @@ import SendWelcomeEmail from './SendWelcomeEmail';
|
|
|
3
3
|
import BatchProvisioning from './BatchProvisioning';
|
|
4
4
|
import DeviceInventory from './DeviceInventory';
|
|
5
5
|
import PhoneNumbers from './PhoneNumbers';
|
|
6
|
+
import CostCenters from './CostCenters';
|
|
6
7
|
import Extensions from './Extensions';
|
|
7
8
|
import Devices from './Devices';
|
|
8
9
|
import type AccountInfo from '../../../../definitions/AccountInfo';
|
|
@@ -48,6 +49,10 @@ class Index {
|
|
|
48
49
|
return new Extensions(this);
|
|
49
50
|
}
|
|
50
51
|
|
|
52
|
+
public costCenters(): CostCenters {
|
|
53
|
+
return new CostCenters(this);
|
|
54
|
+
}
|
|
55
|
+
|
|
51
56
|
public phoneNumbers(phoneNumberId: string | null = null): PhoneNumbers {
|
|
52
57
|
return new PhoneNumbers(this, phoneNumberId);
|
|
53
58
|
}
|
|
@@ -37,7 +37,11 @@ class Index {
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
* Creates a post in the chat specified in path. Any mention can be added within the `text` attribute of
|
|
40
|
+
* Creates a post in the chat specified in path. Any mention can be added within the `text` attribute of
|
|
41
|
+
* the request body in .md format - ``, where `type` is one of (Person, Team, File, Note,
|
|
42
|
+
* Task, Event, Link, Card) and `id` is a unique identifier of the mentioned object of the specified type.
|
|
43
|
+
* Attachments can also be added to a post by passing the type and ID of attachment(s) in request body.
|
|
44
|
+
*
|
|
41
45
|
* HTTP Method: post
|
|
42
46
|
* Endpoint: /team-messaging/v1/chats/{chatId}/posts
|
|
43
47
|
* Rate Limit Group: Medium
|