@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
|
@@ -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';
|
|
@@ -21,5 +22,6 @@ declare class Index {
|
|
|
21
22
|
*/
|
|
22
23
|
delete(bulkDeleteUsersRequest: BulkDeleteUsersRequest, restRequestConfig?: RestRequestConfig): Promise<BulkDeleteUsersResponse>;
|
|
23
24
|
devices(deviceId?: string | null): Devices;
|
|
25
|
+
callFlipNumbers(): CallFlipNumbers;
|
|
24
26
|
}
|
|
25
27
|
export default Index;
|
|
@@ -3,6 +3,7 @@ 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 CallFlipNumbers_1 = __importDefault(require("./CallFlipNumbers"));
|
|
6
7
|
const Devices_1 = __importDefault(require("./Devices"));
|
|
7
8
|
class Index {
|
|
8
9
|
constructor(_parent) {
|
|
@@ -31,6 +32,9 @@ class Index {
|
|
|
31
32
|
devices(deviceId = null) {
|
|
32
33
|
return new Devices_1.default(this, deviceId);
|
|
33
34
|
}
|
|
35
|
+
callFlipNumbers() {
|
|
36
|
+
return new CallFlipNumbers_1.default(this);
|
|
37
|
+
}
|
|
34
38
|
}
|
|
35
39
|
exports.default = Index;
|
|
36
40
|
//# sourceMappingURL=index.js.map
|
|
@@ -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;;;;;;;;;;;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"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/V2/Accounts/Extensions/index.ts"],"names":[],"mappings":";;;;;AAAA,wEAAgD;AAChD,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;IAEM,eAAe;QACpB,OAAO,IAAI,yBAAe,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
|
|
@@ -20,7 +20,7 @@ declare class Index {
|
|
|
20
20
|
*/
|
|
21
21
|
post(addPhoneNumbersRequest: AddPhoneNumbersRequest, restRequestConfig?: RestRequestConfig): Promise<AddPhoneNumbersResponse>;
|
|
22
22
|
/**
|
|
23
|
-
* Returns the result of asynchronous operation which adds phone numbers to the account
|
|
23
|
+
* Returns the result of asynchronous operation which adds phone numbers to the account inventory.
|
|
24
24
|
*
|
|
25
25
|
* HTTP Method: get
|
|
26
26
|
* Endpoint: /restapi/v2/accounts/{accountId}/phone-numbers/bulk-add/{taskId}
|
|
@@ -27,7 +27,7 @@ class Index {
|
|
|
27
27
|
return r.data;
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
|
-
* Returns the result of asynchronous operation which adds phone numbers to the account
|
|
30
|
+
* Returns the result of asynchronous operation which adds phone numbers to the account inventory.
|
|
31
31
|
*
|
|
32
32
|
* HTTP Method: get
|
|
33
33
|
* Endpoint: /restapi/v2/accounts/{accountId}/phone-numbers/bulk-add/{taskId}
|
|
@@ -7,7 +7,7 @@ declare class Index {
|
|
|
7
7
|
constructor(_parent: ParentInterface);
|
|
8
8
|
path(): string;
|
|
9
9
|
/**
|
|
10
|
-
* Replaces (swaps) phone numbers from
|
|
10
|
+
* Replaces (swaps) phone numbers from inventory with the main, company, direct or company fax numbers.
|
|
11
11
|
* This method is used to replace temporary numbers when the porting process is complete.
|
|
12
12
|
*
|
|
13
13
|
* HTTP Method: post
|
|
@@ -9,7 +9,7 @@ class Index {
|
|
|
9
9
|
return `${this._parent.path()}/replace`;
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
|
-
* Replaces (swaps) phone numbers from
|
|
12
|
+
* Replaces (swaps) phone numbers from inventory with the main, company, direct or company fax numbers.
|
|
13
13
|
* This method is used to replace temporary numbers when the porting process is complete.
|
|
14
14
|
*
|
|
15
15
|
* HTTP Method: post
|
|
@@ -26,10 +26,10 @@ declare class Index {
|
|
|
26
26
|
*/
|
|
27
27
|
get(queryParams?: ListAccountPhoneNumbersV2Parameters, restRequestConfig?: RestRequestConfig): Promise<AccountPhoneNumberList>;
|
|
28
28
|
/**
|
|
29
|
-
* This method can only delete numbers that
|
|
30
|
-
* -
|
|
31
|
-
* - `
|
|
32
|
-
* - `
|
|
29
|
+
* This method can only delete numbers that of the following usage types:
|
|
30
|
+
* - `Inventory`,
|
|
31
|
+
* - `ForwardedNumber`,
|
|
32
|
+
* - `ForwardedCompanyNumber`.
|
|
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
|
|
@@ -46,8 +46,8 @@ declare class Index {
|
|
|
46
46
|
* Assigns or reassigns a phone number as a company or extension number.
|
|
47
47
|
*
|
|
48
48
|
* Assign scenarios supported:
|
|
49
|
-
* - from
|
|
50
|
-
* - from
|
|
49
|
+
* - from inventory to a company number;
|
|
50
|
+
* - from inventory to an extension number.
|
|
51
51
|
*
|
|
52
52
|
* Reassign scenarios supported:
|
|
53
53
|
* - from an extension to another extension;
|
|
@@ -33,10 +33,10 @@ class Index {
|
|
|
33
33
|
return r.data;
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
|
-
* This method can only delete numbers that
|
|
37
|
-
* -
|
|
38
|
-
* - `
|
|
39
|
-
* - `
|
|
36
|
+
* This method can only delete numbers that of the following usage types:
|
|
37
|
+
* - `Inventory`,
|
|
38
|
+
* - `ForwardedNumber`,
|
|
39
|
+
* - `ForwardedCompanyNumber`.
|
|
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
|
|
@@ -56,8 +56,8 @@ class Index {
|
|
|
56
56
|
* Assigns or reassigns a phone number as a company or extension number.
|
|
57
57
|
*
|
|
58
58
|
* Assign scenarios supported:
|
|
59
|
-
* - from
|
|
60
|
-
* - from
|
|
59
|
+
* - from inventory to a company number;
|
|
60
|
+
* - from inventory to an extension number.
|
|
61
61
|
*
|
|
62
62
|
* Reassign scenarios supported:
|
|
63
63
|
* - 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';
|
|
@@ -24,6 +25,7 @@ declare class Index {
|
|
|
24
25
|
get(restRequestConfig?: RestRequestConfig): Promise<AccountInfo>;
|
|
25
26
|
devices(deviceId?: string | null): Devices;
|
|
26
27
|
extensions(): Extensions;
|
|
28
|
+
costCenters(): CostCenters;
|
|
27
29
|
phoneNumbers(phoneNumberId?: string | null): PhoneNumbers;
|
|
28
30
|
deviceInventory(): DeviceInventory;
|
|
29
31
|
batchProvisioning(): BatchProvisioning;
|
|
@@ -8,6 +8,7 @@ const SendWelcomeEmail_1 = __importDefault(require("./SendWelcomeEmail"));
|
|
|
8
8
|
const BatchProvisioning_1 = __importDefault(require("./BatchProvisioning"));
|
|
9
9
|
const DeviceInventory_1 = __importDefault(require("./DeviceInventory"));
|
|
10
10
|
const PhoneNumbers_1 = __importDefault(require("./PhoneNumbers"));
|
|
11
|
+
const CostCenters_1 = __importDefault(require("./CostCenters"));
|
|
11
12
|
const Extensions_1 = __importDefault(require("./Extensions"));
|
|
12
13
|
const Devices_1 = __importDefault(require("./Devices"));
|
|
13
14
|
class Index {
|
|
@@ -43,6 +44,9 @@ class Index {
|
|
|
43
44
|
extensions() {
|
|
44
45
|
return new Extensions_1.default(this);
|
|
45
46
|
}
|
|
47
|
+
costCenters() {
|
|
48
|
+
return new CostCenters_1.default(this);
|
|
49
|
+
}
|
|
46
50
|
phoneNumbers(phoneNumberId = null) {
|
|
47
51
|
return new PhoneNumbers_1.default(this, phoneNumberId);
|
|
48
52
|
}
|
|
@@ -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,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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C,CAAC;IAEM,mBAAmB;QACxB,OAAO,IAAI,6BAAmB,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
|
|
@@ -19,7 +19,11 @@ declare class Index {
|
|
|
19
19
|
*/
|
|
20
20
|
list(queryParams?: ReadGlipPostsNewParameters, restRequestConfig?: RestRequestConfig): Promise<TMPostsList>;
|
|
21
21
|
/**
|
|
22
|
-
* Creates a post in the chat specified in path. Any mention can be added within the `text` attribute of
|
|
22
|
+
* Creates a post in the chat specified in path. Any mention can be added within the `text` attribute of
|
|
23
|
+
* the request body in .md format - ``, where `type` is one of (Person, Team, File, Note,
|
|
24
|
+
* Task, Event, Link, Card) and `id` is a unique identifier of the mentioned object of the specified type.
|
|
25
|
+
* Attachments can also be added to a post by passing the type and ID of attachment(s) in request body.
|
|
26
|
+
*
|
|
23
27
|
* HTTP Method: post
|
|
24
28
|
* Endpoint: /team-messaging/v1/chats/{chatId}/posts
|
|
25
29
|
* Rate Limit Group: Medium
|
|
@@ -24,7 +24,11 @@ class Index {
|
|
|
24
24
|
return r.data;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
|
-
* Creates a post in the chat specified in path. Any mention can be added within the `text` attribute of
|
|
27
|
+
* Creates a post in the chat specified in path. Any mention can be added within the `text` attribute of
|
|
28
|
+
* the request body in .md format - ``, where `type` is one of (Person, Team, File, Note,
|
|
29
|
+
* Task, Event, Link, Card) and `id` is a unique identifier of the mentioned object of the specified type.
|
|
30
|
+
* Attachments can also be added to a post by passing the type and ID of attachment(s) in request body.
|
|
31
|
+
*
|
|
28
32
|
* HTTP Method: post
|
|
29
33
|
* Endpoint: /team-messaging/v1/chats/{chatId}/posts
|
|
30
34
|
* Rate Limit Group: Medium
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/TeamMessaging/V1/Chats/Posts/index.ts"],"names":[],"mappings":";;AAOA,MAAM,KAAK;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,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QACtF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,KAAK,CAChB,mBAAwC,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,KAAK,CAAa,IAAI,CAAC,IAAI,EAAE,EAAE,mBAAmB,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QAC1G,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
|
package/lib/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rc-ex/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.1",
|
|
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,9 +18,9 @@
|
|
|
18
18
|
"access": "public"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@types/qs": "^6.9.
|
|
22
|
-
"axios": "^1.
|
|
23
|
-
"qs": "^6.
|
|
21
|
+
"@types/qs": "^6.9.16",
|
|
22
|
+
"axios": "^1.7.7",
|
|
23
|
+
"qs": "^6.13.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"dotenv-override-true": "^6.2.2",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"scripts": {
|
|
31
31
|
"generate": "ts-node -r dotenv-override-true/config code-generator.ts"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "5b5b176fbdecfda9f388d1a34281178c54840ece"
|
|
34
34
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type AccountStatusInfo from './AccountStatusInfo';
|
|
2
1
|
import type PostalAddress from './PostalAddress';
|
|
3
2
|
import type ServiceInfoV2 from './ServiceInfoV2';
|
|
4
3
|
import type SystemUserContactInfo from './SystemUserContactInfo';
|
|
@@ -25,16 +24,11 @@ interface AccountInfo {
|
|
|
25
24
|
mainNumber?: string;
|
|
26
25
|
|
|
27
26
|
/**
|
|
28
|
-
*
|
|
27
|
+
* Status of an account
|
|
29
28
|
* Required
|
|
30
|
-
* Example: Confirmed
|
|
31
29
|
*/
|
|
32
30
|
status?: 'Initial' | 'Unconfirmed' | 'Confirmed' | 'Disabled';
|
|
33
31
|
|
|
34
|
-
/**
|
|
35
|
-
*/
|
|
36
|
-
statusInfo?: AccountStatusInfo;
|
|
37
|
-
|
|
38
32
|
/**
|
|
39
33
|
* Company name
|
|
40
34
|
* Example: Acme Inc.
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type ContactCenterProvider from './ContactCenterProvider';
|
|
1
2
|
import type AccountPhoneNumberInfoExtension from './AccountPhoneNumberInfoExtension';
|
|
2
3
|
|
|
3
4
|
interface AccountPhoneNumberInfo {
|
|
@@ -16,7 +17,7 @@ interface AccountPhoneNumberInfo {
|
|
|
16
17
|
phoneNumber?: string;
|
|
17
18
|
|
|
18
19
|
/**
|
|
19
|
-
* Type of phone number
|
|
20
|
+
* Type of a phone number
|
|
20
21
|
*/
|
|
21
22
|
type?: 'VoiceFax' | 'VoiceOnly' | 'FaxOnly';
|
|
22
23
|
|
|
@@ -54,7 +55,13 @@ interface AccountPhoneNumberInfo {
|
|
|
54
55
|
byocNumber?: boolean;
|
|
55
56
|
|
|
56
57
|
/**
|
|
57
|
-
|
|
58
|
+
*/
|
|
59
|
+
contactCenterProvider?: ContactCenterProvider;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Status of a phone number. If the value is `Normal`, the phone
|
|
63
|
+
* number is ready to be used. Otherwise, it is an external number not yet
|
|
64
|
+
* ported to RingCentral
|
|
58
65
|
* Required
|
|
59
66
|
*/
|
|
60
67
|
status?: 'Normal' | 'Pending' | 'PortedIn' | 'Temporary' | 'Unknown';
|
|
@@ -31,7 +31,8 @@ interface AccountRegionalSettings {
|
|
|
31
31
|
formattingLocale?: FormattingLocaleInfo;
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
-
* Time format
|
|
34
|
+
* Time format (12-hours or 24-hours).
|
|
35
|
+
* Default: 12h
|
|
35
36
|
*/
|
|
36
37
|
timeFormat?: '12h' | '24h';
|
|
37
38
|
|
|
@@ -5,7 +5,7 @@ import type TargetServicePlanInfo from './TargetServicePlanInfo';
|
|
|
5
5
|
import type BillingPlanInfo from './BillingPlanInfo';
|
|
6
6
|
import type ServiceFeatureInfo from './ServiceFeatureInfo';
|
|
7
7
|
import type AccountLimits from './AccountLimits';
|
|
8
|
-
import type
|
|
8
|
+
import type BillingPackageInfo from './BillingPackageInfo';
|
|
9
9
|
import type UBrandInfo from './UBrandInfo';
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -55,7 +55,7 @@ interface AccountServiceInfo {
|
|
|
55
55
|
|
|
56
56
|
/**
|
|
57
57
|
*/
|
|
58
|
-
package?:
|
|
58
|
+
package?: BillingPackageInfo;
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
61
|
*/
|
|
@@ -5,7 +5,7 @@ import type TargetServicePlanInfo from './TargetServicePlanInfo';
|
|
|
5
5
|
import type BillingPlanInfo from './BillingPlanInfo';
|
|
6
6
|
import type ServiceFeatureInfo from './ServiceFeatureInfo';
|
|
7
7
|
import type AccountLimits from './AccountLimits';
|
|
8
|
-
import type
|
|
8
|
+
import type BillingPackageInfo from './BillingPackageInfo';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Account service information, including brand, service plan and billing plan
|
|
@@ -54,7 +54,7 @@ interface AccountServiceInfoRequest {
|
|
|
54
54
|
|
|
55
55
|
/**
|
|
56
56
|
*/
|
|
57
|
-
package?:
|
|
57
|
+
package?: BillingPackageInfo;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
export default AccountServiceInfoRequest;
|
|
@@ -15,7 +15,9 @@ interface AccountStatusInfo {
|
|
|
15
15
|
comment?: string;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* Date after which the account will get deleted.
|
|
18
|
+
* Date after which the disabled account will get deleted.
|
|
19
|
+
* Parameter can be used to overwrite default retention period
|
|
20
|
+
* (that is 30 days after disabling the account)
|
|
19
21
|
* Format: date-time
|
|
20
22
|
* Example: 2023-03-26T11:30:45.940Z
|
|
21
23
|
*/
|
|
@@ -14,6 +14,11 @@ interface AddPhoneNumberRequestItem {
|
|
|
14
14
|
* Default: Inventory
|
|
15
15
|
*/
|
|
16
16
|
usageType?: 'Inventory' | 'InventoryPartnerBusinessMobileNumber' | 'PartnerBusinessMobileNumber';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Phone number activation status. Determine whether phone number migration is completed on the partner side.
|
|
20
|
+
*/
|
|
21
|
+
activationStatus?: 'Active' | 'Inactive';
|
|
17
22
|
}
|
|
18
23
|
|
|
19
24
|
export default AddPhoneNumberRequestItem;
|
|
@@ -27,6 +27,11 @@ interface AddPhoneNumbersResponseItem {
|
|
|
27
27
|
* Example: +16501234567
|
|
28
28
|
*/
|
|
29
29
|
phoneNumber?: string;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Phone number activation status. Determine whether phone number migration is completed on the partner side.
|
|
33
|
+
*/
|
|
34
|
+
activationStatus?: 'Active' | 'Inactive';
|
|
30
35
|
}
|
|
31
36
|
|
|
32
37
|
export default AddPhoneNumbersResponseItem;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type AssignPhoneNumberRequestExtension from './AssignPhoneNumberRequestExtension';
|
|
2
|
+
import type ContactCenterProvider from './ContactCenterProvider';
|
|
2
3
|
|
|
3
4
|
interface AssignPhoneNumberRequest {
|
|
4
5
|
/**
|
|
5
|
-
* Type of phone number
|
|
6
|
+
* Type of a phone number
|
|
6
7
|
*/
|
|
7
8
|
type?: 'VoiceFax' | 'VoiceOnly' | 'FaxOnly';
|
|
8
9
|
|
|
@@ -10,7 +11,7 @@ interface AssignPhoneNumberRequest {
|
|
|
10
11
|
* Target usage type of phone number (only listed values are supported)
|
|
11
12
|
* Required
|
|
12
13
|
*/
|
|
13
|
-
usageType?: 'MainCompanyNumber' | 'CompanyNumber' | 'DirectNumber' | '
|
|
14
|
+
usageType?: 'MainCompanyNumber' | 'CompanyNumber' | 'DirectNumber' | 'ContactCenterNumber';
|
|
14
15
|
|
|
15
16
|
/**
|
|
16
17
|
*/
|
|
@@ -19,6 +20,10 @@ interface AssignPhoneNumberRequest {
|
|
|
19
20
|
/**
|
|
20
21
|
*/
|
|
21
22
|
costCenterId?: string;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*/
|
|
26
|
+
contactCenterProvider?: ContactCenterProvider;
|
|
22
27
|
}
|
|
23
28
|
|
|
24
29
|
export default AssignPhoneNumberRequest;
|
|
@@ -9,11 +9,13 @@ interface AssignedCountryInfo {
|
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Canonical URI of an assigned country resource
|
|
12
|
+
* Format: uri
|
|
12
13
|
*/
|
|
13
14
|
uri?: string;
|
|
14
15
|
|
|
15
16
|
/**
|
|
16
|
-
*
|
|
17
|
+
* Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
|
|
18
|
+
* Example: US
|
|
17
19
|
*/
|
|
18
20
|
isoCode?: string;
|
|
19
21
|
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Token endpoint request parameters used in the "Authorization Code" and "Authorization code with PKCE" flows
|
|
3
|
+
* with the `authorization_code` grant type
|
|
4
|
+
*
|
|
5
|
+
*/
|
|
6
|
+
interface AuthCodeTokenRequest {
|
|
7
|
+
/**
|
|
8
|
+
* Grant type
|
|
9
|
+
* Required
|
|
10
|
+
*/
|
|
11
|
+
grant_type?: 'authorization_code';
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* For `authorization_code` grant type only. User's authorization code
|
|
15
|
+
* Required
|
|
16
|
+
*/
|
|
17
|
+
code?: string;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* For `authorization_code` grant type only. This is a callback URI which determines where the response
|
|
21
|
+
* is sent. The value of this parameter must exactly match one of
|
|
22
|
+
* the URIs you have provided for your app upon registration
|
|
23
|
+
* Format: uri
|
|
24
|
+
*/
|
|
25
|
+
redirect_uri?: string;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* For `authorization_code` grant type only.
|
|
29
|
+
* The code verifier as defined by the PKCE specification -
|
|
30
|
+
* [RFC-7636 "Proof Key for Code Exchange by OAuth Public Clients"](https://datatracker.ietf.org/doc/html/rfc7636)
|
|
31
|
+
*/
|
|
32
|
+
code_verifier?: string;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export default AuthCodeTokenRequest;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Query parameters for operation authorize
|
|
3
|
+
*/
|
|
4
|
+
interface AuthorizeParameters {
|
|
5
|
+
/**
|
|
6
|
+
* The registered identifier of a client application
|
|
7
|
+
* Example: AZwEVwGEcfGet2PCouA7K6
|
|
8
|
+
*/
|
|
9
|
+
client_id?: string;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Determines authorization flow type. The only supported value is `code` which corresponds to OAuth 2.0 "Authorization Code Flow"
|
|
13
|
+
*/
|
|
14
|
+
response_type?: 'code';
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* This is the URI where the Authorization Server redirects the User Agent to at the end of the authorization flow.
|
|
18
|
+
* The value of this parameter must exactly match one of the URIs registered for this client application.
|
|
19
|
+
* This parameter is required if there are more than one redirect URIs registered for the app.
|
|
20
|
+
* Format: uri
|
|
21
|
+
*/
|
|
22
|
+
redirect_uri?: string;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* An opaque value used by the client to maintain state between the request and callback.
|
|
26
|
+
* The authorization server includes this value when redirecting the User Agent back
|
|
27
|
+
* to the client. The parameter SHOULD be used for preventing cross-site request forgery attacks.
|
|
28
|
+
*/
|
|
29
|
+
state?: string;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* The list of space separated application permissions (OAuth scopes)
|
|
33
|
+
*/
|
|
34
|
+
scope?: string;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Specifies how the Authorization Server displays the authentication and consent user interface pages to the End-User.
|
|
38
|
+
* Default: page
|
|
39
|
+
*/
|
|
40
|
+
display?: 'page' | 'popup' | 'touch' | 'mobile';
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Space-delimited, case-sensitive list of ASCII string values that specifies whether the Authorization Server prompts the End-User for
|
|
44
|
+
* re-authentication and consent. The defined values are:
|
|
45
|
+
*
|
|
46
|
+
* - `login` - RingCentral native login form,
|
|
47
|
+
* - `sso` - Single Sign-On login form,
|
|
48
|
+
* - `consent` - form to show the requested scope and prompt user for consent.
|
|
49
|
+
*
|
|
50
|
+
* Either `login` or `sso` (or both) must be specified. The default
|
|
51
|
+
* value is `login sso`
|
|
52
|
+
* Default: login sso
|
|
53
|
+
*/
|
|
54
|
+
prompt?: string;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* End-User's preferred languages and scripts for the user interface, represented as a space-separated list of
|
|
58
|
+
* [RFC-5646](https://datatracker.ietf.org/doc/html/rfc5646) language tag values, ordered by preference.
|
|
59
|
+
*
|
|
60
|
+
* If this parameter is provided, its value overrides 'Accept-Language' header value and 'localeId' parameter value (if any)
|
|
61
|
+
* Example: en-US
|
|
62
|
+
*/
|
|
63
|
+
ui_locales?: string;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* DEPRECATED: `ui_locales` parameter should be used instead
|
|
67
|
+
* Example: en-US
|
|
68
|
+
*/
|
|
69
|
+
localeId?: string;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* The code challenge value as defined by the PKCE specification -
|
|
73
|
+
* [RFC-7636 "Proof Key for Code Exchange by OAuth Public Clients"](https://datatracker.ietf.org/doc/html/rfc7636)
|
|
74
|
+
*/
|
|
75
|
+
code_challenge?: string;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* The code challenge method as defined by the PKCE specification -
|
|
79
|
+
* [RFC-7636 "Proof Key for Code Exchange by OAuth Public Clients"](https://datatracker.ietf.org/doc/html/rfc7636)
|
|
80
|
+
* Default: plain
|
|
81
|
+
*/
|
|
82
|
+
code_challenge_method?: 'plain' | 'S256';
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* String value used to associate a Client session with an ID Token, and to mitigate replay attacks. The value is passed through unmodified from the Authentication Request to the ID Token.
|
|
86
|
+
*/
|
|
87
|
+
nonce?: string;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Login form user interface options (space-separated). By default, the UI options that are registered for this client application will be used
|
|
91
|
+
*/
|
|
92
|
+
ui_options?: string;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Hint to the Authorization Server about the login identifier the End-User might use to log in.
|
|
96
|
+
*/
|
|
97
|
+
login_hint?: string;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* RingCentral Brand identifier. If it is not provided in the request,
|
|
101
|
+
* server will try to determine brand from the client application profile.
|
|
102
|
+
* Example: 1210
|
|
103
|
+
*/
|
|
104
|
+
brand_id?: string;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export default AuthorizeParameters;
|