@rc-ex/core 1.4.0 → 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/definitions/AccountInfo.d.ts +1 -6
- package/lib/definitions/AccountPhoneNumberInfo.d.ts +4 -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/AddPhoneNumberRequestItem.d.ts +4 -0
- package/lib/definitions/AddPhoneNumbersResponseItem.d.ts +4 -0
- package/lib/definitions/AssignPhoneNumberRequest.d.ts +2 -2
- package/lib/definitions/AssignedCountryInfo.d.ts +3 -1
- package/lib/definitions/AuthCodeTokenRequest.d.ts +1 -0
- package/lib/definitions/BatchListResponse.d.ts +2 -2
- package/lib/definitions/{PackageInfo.d.ts → BillingPackageInfo.d.ts} +2 -2
- package/lib/definitions/{AnsweringRuleInfo.js → BillingPackageInfo.js} +1 -1
- 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/{CreateContentRequest.js → CallHandlingRuleInfo.js} +1 -1
- package/lib/definitions/CallHandlingRuleInfo.js.map +1 -0
- 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/{SiteResource.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/ClientCredentialsBase.d.ts +4 -1
- package/lib/definitions/ClientCredentialsByAccount.d.ts +4 -1
- package/lib/definitions/ClientCredentialsByBrand.d.ts +4 -1
- package/lib/definitions/ClientCredentialsByPartnerAccount.d.ts +4 -1
- package/lib/definitions/ClientCredentialsTokenRequest.d.ts +4 -1
- 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/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/{PagingResource.js → CostCenterBase.js} +1 -1
- 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 +1 -0
- 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/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 +1 -3
- 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/GetAccountInfoResponse.d.ts +2 -2
- 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 +5 -1
- package/lib/definitions/GuestTokenRequest.d.ts +6 -1
- package/lib/definitions/IdentityModel.d.ts +5 -1
- package/lib/definitions/IvrPinTokenRequest.d.ts +1 -0
- package/lib/definitions/JwtTokenRequest.d.ts +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/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/ListSocialMessagingIdentitiesParameters.d.ts +8 -4
- 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/MessageTemplateInfo.d.ts +11 -0
- package/lib/definitions/{ContentAttachment.js → MessageTemplateInfo.js} +1 -1
- package/lib/definitions/MessageTemplateInfo.js.map +1 -0
- package/lib/definitions/MessageTemplateRequest.d.ts +2 -2
- package/lib/definitions/MessageTemplateResponse.d.ts +2 -2
- package/lib/definitions/MessageTemplateUpdateRequest.d.ts +2 -2
- 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 +4 -1
- 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/RefreshTokenRequest.d.ts +1 -0
- package/lib/definitions/RegSessionModel.d.ts +6 -0
- package/lib/definitions/RegSessionModelSettings.d.ts +9 -0
- package/lib/definitions/RegionalSettings.d.ts +2 -1
- package/lib/definitions/RolesCountryResource.d.ts +6 -0
- package/lib/definitions/RolesRegionalSettingsResource.d.ts +2 -0
- package/lib/definitions/RopcTokenRequest.d.ts +1 -0
- package/lib/definitions/SearchDirectoryEntriesParameters.d.ts +5 -0
- 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 +0 -4
- package/lib/definitions/ServiceInfoUBrand.d.ts +0 -5
- package/lib/definitions/ServiceInfoV2.d.ts +5 -2
- package/lib/definitions/SipRegistrationDeviceEmergencyInfoAddress.d.ts +2 -1
- 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/TMCreateTaskRequest.d.ts +2 -2
- package/lib/definitions/TaxLocation.d.ts +38 -0
- package/lib/definitions/{PackageInfo.js → TaxLocation.js} +1 -1
- package/lib/definitions/TaxLocation.js.map +1 -0
- package/lib/definitions/TemplateInfo.d.ts +24 -6
- 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 +1 -1
- package/lib/paths/Cx/SocialMessaging/V1/Identities/index.js +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/IvrPrompts/Content/index.d.ts +3 -0
- 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/V2/Accounts/CostCenters/index.d.ts +18 -0
- package/lib/paths/Restapi/V2/Accounts/CostCenters/index.js +25 -0
- 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/package.json +5 -5
- package/src/definitions/AccountInfo.ts +1 -7
- package/src/definitions/AccountPhoneNumberInfo.ts +4 -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/AddPhoneNumberRequestItem.ts +5 -0
- package/src/definitions/AddPhoneNumbersResponseItem.ts +5 -0
- package/src/definitions/AssignPhoneNumberRequest.ts +2 -2
- package/src/definitions/AssignedCountryInfo.ts +3 -1
- package/src/definitions/AuthCodeTokenRequest.ts +1 -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/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/ClientCredentialsBase.ts +4 -1
- package/src/definitions/ClientCredentialsByAccount.ts +4 -1
- package/src/definitions/ClientCredentialsByBrand.ts +4 -1
- package/src/definitions/ClientCredentialsByPartnerAccount.ts +4 -1
- package/src/definitions/ClientCredentialsTokenRequest.ts +4 -1
- 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/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 +1 -0
- 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/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 +1 -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/GetAccountInfoResponse.ts +2 -2
- 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 +5 -1
- package/src/definitions/GuestTokenRequest.ts +6 -1
- package/src/definitions/IdentityModel.ts +5 -1
- package/src/definitions/IvrPinTokenRequest.ts +1 -0
- package/src/definitions/JwtTokenRequest.ts +1 -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/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 +15 -4
- 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/MessageTemplateInfo.ts +12 -0
- package/src/definitions/MessageTemplateRequest.ts +2 -2
- package/src/definitions/MessageTemplateResponse.ts +2 -2
- package/src/definitions/MessageTemplateUpdateRequest.ts +2 -2
- 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 +4 -1
- package/src/definitions/PhoneNumberInfoIntId.ts +2 -2
- package/src/definitions/ReadDirectoryEntryParameters.ts +12 -0
- package/src/definitions/RefreshTokenRequest.ts +1 -0
- package/src/definitions/RegSessionModel.ts +7 -0
- package/src/definitions/RegSessionModelSettings.ts +11 -0
- package/src/definitions/RegionalSettings.ts +2 -1
- package/src/definitions/RolesCountryResource.ts +6 -0
- package/src/definitions/RolesRegionalSettingsResource.ts +2 -0
- package/src/definitions/RopcTokenRequest.ts +1 -0
- package/src/definitions/SearchDirectoryEntriesParameters.ts +6 -0
- package/src/definitions/ServiceInfoContractedCountryId.ts +8 -0
- package/src/definitions/ServiceInfoPlan.ts +0 -5
- package/src/definitions/ServiceInfoUBrand.ts +0 -6
- package/src/definitions/ServiceInfoV2.ts +6 -2
- package/src/definitions/SipRegistrationDeviceEmergencyInfoAddress.ts +2 -1
- 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/TMCreateTaskRequest.ts +2 -2
- package/src/definitions/TaxLocation.ts +45 -0
- package/src/definitions/TemplateInfo.ts +29 -6
- 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 +1 -1
- 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/IvrPrompts/Content/index.ts +3 -0
- 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 +192 -110
- 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 +0 -3
- package/lib/definitions/GreetingResource.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/ServiceInfoCountryShortModel.d.ts +0 -29
- package/lib/definitions/ServiceInfoCountryShortModel.js +0 -3
- package/lib/definitions/ServiceInfoCountryShortModel.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/src/definitions/ContentAttachment.ts +0 -85
- package/src/definitions/CreateContentRequest.ts +0 -147
- package/src/definitions/EmergencyLocationInfoRequest.ts +0 -47
- 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/ServiceInfoCountryShortModel.ts +0 -34
- package/src/definitions/SiteResource.ts +0 -16
- package/src/definitions/SocMsgListContentsParameters.ts +0 -70
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
interface SocMsgContentAttachment {
|
|
2
|
+
/**
|
|
3
|
+
* Type of attachment, which is generally a MIME attachment type like `image/jpeg`, etc.
|
|
4
|
+
* Security level in RingCX determines what type of attachment is allowed.
|
|
5
|
+
* Based on the security level the following attachment types are supported.
|
|
6
|
+
*
|
|
7
|
+
* *'Strict'* level allows safe extensions below:
|
|
8
|
+
* Content name and supported types:
|
|
9
|
+
*
|
|
10
|
+
* - audio (AAC, MP3, OGG, M4A)
|
|
11
|
+
* - image (BMP, GIF, JPG, JPEG, PNG, SVG, WEBP)
|
|
12
|
+
* - pdf (PDF)
|
|
13
|
+
* - text (CSV, TXT, LOG)
|
|
14
|
+
* - video (AVI, FLV, M4V, MKV, MOV, MP4, MPG, QT, WMV)
|
|
15
|
+
* - other (AMR, DMS, VCARD, TIF, TIFF, MPEG)
|
|
16
|
+
*
|
|
17
|
+
* *'Relaxed'* level allows documents:
|
|
18
|
+
* Content name and supported types:
|
|
19
|
+
*
|
|
20
|
+
* - excel (XLS, XLSM, XLSX, XLC, XLT, XLTM, XLTX)
|
|
21
|
+
* - presentation (KEY, ODP, OTP)
|
|
22
|
+
* - powerpoint (PPS, PPT, PPTX, POT)
|
|
23
|
+
* - spreadsheet (Numbers - ODS, OTS)
|
|
24
|
+
* - word (DOC, DOCM, DOCX, DOTM, DOTX)
|
|
25
|
+
* - word_processing (Pages - ODT, OTT, RTF)
|
|
26
|
+
*
|
|
27
|
+
* *'Permissive'* level allows all documents.
|
|
28
|
+
*
|
|
29
|
+
* However, there are no security level restrictions for content posted through the channel
|
|
30
|
+
* Example: image/jpeg
|
|
31
|
+
*/
|
|
32
|
+
contentType?: string;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Creation time of the resource.
|
|
36
|
+
* Format: date-time
|
|
37
|
+
* Example: 2023-02-04T12:43:07Z
|
|
38
|
+
*/
|
|
39
|
+
creationTime?: string;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Specifies if attachment is embedded in content
|
|
43
|
+
*/
|
|
44
|
+
embedded?: boolean;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Filename of attachment
|
|
48
|
+
* Example: 0.jpeg
|
|
49
|
+
*/
|
|
50
|
+
filename?: string;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Identifier of the attachment.
|
|
54
|
+
* Example: 54085e5b7aa58d8b5d00006c
|
|
55
|
+
*/
|
|
56
|
+
id?: string;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Attachment privacy setting
|
|
60
|
+
* Default: true
|
|
61
|
+
*/
|
|
62
|
+
public?: boolean;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Size of attachment
|
|
66
|
+
* Format: int32
|
|
67
|
+
* Example: 217571
|
|
68
|
+
*/
|
|
69
|
+
size?: number;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* The time when the last modification was completed.
|
|
73
|
+
* Format: date-time
|
|
74
|
+
* Example: 2023-02-04T12:43:07Z
|
|
75
|
+
*/
|
|
76
|
+
lastModifiedTime?: string;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Attachment URI
|
|
80
|
+
* Format: uri
|
|
81
|
+
* Example: https://example.digital.ringcentral.com/files/attachments/54085e5b7aa58d8b5d00006c
|
|
82
|
+
*/
|
|
83
|
+
uri?: string;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export default SocMsgContentAttachment;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type TMCreateTaskRequestAssignees from './TMCreateTaskRequestAssignees';
|
|
2
2
|
import type TaskRecurrenceInfo from './TaskRecurrenceInfo';
|
|
3
|
-
import type
|
|
3
|
+
import type TaskAttachment from './TaskAttachment';
|
|
4
4
|
|
|
5
5
|
interface TMCreateTaskRequest {
|
|
6
6
|
/**
|
|
@@ -52,7 +52,7 @@ interface TMCreateTaskRequest {
|
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
54
|
*/
|
|
55
|
-
attachments?:
|
|
55
|
+
attachments?: TaskAttachment[];
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
export default TMCreateTaskRequest;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type PostalAddress from './PostalAddress';
|
|
2
|
+
|
|
3
|
+
interface TaxLocation {
|
|
4
|
+
/**
|
|
5
|
+
* Internal identifier of a tax location
|
|
6
|
+
* Required
|
|
7
|
+
* Format: int64
|
|
8
|
+
* Example: 981086004
|
|
9
|
+
*/
|
|
10
|
+
id?: number;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Tax location name
|
|
14
|
+
* Required
|
|
15
|
+
* Example: Tax_Location
|
|
16
|
+
*/
|
|
17
|
+
name?: string;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Type of the location object. Only 'TaxLocation' is currently supported for POST method
|
|
21
|
+
* Required
|
|
22
|
+
* Example: TaxLocation
|
|
23
|
+
*/
|
|
24
|
+
type?: 'BillingAddress' | 'TaxLocation' | 'Site';
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Unique identifier of a tax location in the partner's system
|
|
28
|
+
* Example: 4587834894962936
|
|
29
|
+
*/
|
|
30
|
+
externalLocationId?: string;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Effective date in the ISO 8601 (`YYYY-MM-DDThh:mm:ssTZD`) format, including date, time, and timezone
|
|
34
|
+
* Format: date-time
|
|
35
|
+
* Example: 2022-06-05T10:11:12Z
|
|
36
|
+
*/
|
|
37
|
+
effectiveDate?: string;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Required
|
|
41
|
+
*/
|
|
42
|
+
address?: PostalAddress;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export default TaxLocation;
|
|
@@ -1,12 +1,35 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Text message template information
|
|
3
|
-
*/
|
|
4
1
|
interface TemplateInfo {
|
|
5
2
|
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
3
|
+
* Link to a template
|
|
4
|
+
* Format: uri
|
|
8
5
|
*/
|
|
9
|
-
|
|
6
|
+
uri?: string;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Internal identifier of a template
|
|
10
|
+
*/
|
|
11
|
+
id?: string;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
*/
|
|
15
|
+
type?: 'UserSettings' | 'CallHandling';
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Name of a template
|
|
19
|
+
*/
|
|
20
|
+
name?: string;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Time of a template creation
|
|
24
|
+
* Format: date-time
|
|
25
|
+
*/
|
|
26
|
+
creationTime?: string;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Time of the last template modification
|
|
30
|
+
* Format: date-time
|
|
31
|
+
*/
|
|
32
|
+
lastModifiedTime?: string;
|
|
10
33
|
}
|
|
11
34
|
|
|
12
35
|
export default TemplateInfo;
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
interface UnconditionalForwardingInfo {
|
|
7
7
|
/**
|
|
8
8
|
* Phone number to which the call is forwarded. In addition to
|
|
9
|
-
* common
|
|
9
|
+
* common E.164 format, the following number patterns are supported: 11xxxxxxxxxxx,
|
|
10
10
|
* 444xxxxxxxxxxx, 616xxxxxxxxxxx, 1700yyyy; where xxxxxxxxxxx is a phone number in
|
|
11
|
-
*
|
|
11
|
+
* E.164 format (without '+' sign) and yyyy is an external short extension number.
|
|
12
12
|
* Max number of digits is 15
|
|
13
13
|
*/
|
|
14
14
|
phoneNumber?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type CallHandlingRuleInfo from './CallHandlingRuleInfo';
|
|
2
2
|
import type EnumeratedPagingModel from './EnumeratedPagingModel';
|
|
3
3
|
import type PageNavigationModel from './PageNavigationModel';
|
|
4
4
|
|
|
@@ -13,7 +13,7 @@ interface UserAnsweringRuleList {
|
|
|
13
13
|
/**
|
|
14
14
|
* List of answering rules
|
|
15
15
|
*/
|
|
16
|
-
records?:
|
|
16
|
+
records?: CallHandlingRuleInfo[];
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
*/
|
|
@@ -60,16 +60,16 @@ interface UserPhoneNumberInfo {
|
|
|
60
60
|
primary?: boolean;
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
|
-
* Status of a phone number. If the value is
|
|
63
|
+
* Status of a phone number. If the value is `Normal`, the phone
|
|
64
64
|
* number is ready to be used. Otherwise, it is an external number not yet
|
|
65
65
|
* ported to RingCentral
|
|
66
66
|
*/
|
|
67
|
-
status?: 'Normal' | 'Pending' | 'PortedIn' | 'Temporary';
|
|
67
|
+
status?: 'Normal' | 'Pending' | 'PortedIn' | 'Temporary' | 'Unknown';
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
|
-
*
|
|
70
|
+
* Type of a phone number
|
|
71
71
|
*/
|
|
72
|
-
type?: 'VoiceFax' | '
|
|
72
|
+
type?: 'VoiceFax' | 'VoiceOnly' | 'FaxOnly';
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
75
|
* Extension subtype, if applicable. For any unsupported subtypes the 'Unknown' value will be returned
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* For NotActivated extensions only. Welcome email settings
|
|
2
|
+
* For `NotActivated` extensions only. Welcome email settings
|
|
3
3
|
*
|
|
4
4
|
*/
|
|
5
5
|
interface UserTransitionInfo {
|
|
@@ -11,7 +11,7 @@ interface UserTransitionInfo {
|
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Specifies if a welcome/activation email is sent to the new users (within extension status changing from
|
|
14
|
-
*
|
|
14
|
+
* `Unassigned` to `NotActivated/Disabled`)
|
|
15
15
|
*/
|
|
16
16
|
sendWelcomeEmail?: boolean;
|
|
17
17
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type
|
|
1
|
+
import type CreateSocialMessagingContentRequest from '../../../../../definitions/CreateSocialMessagingContentRequest';
|
|
2
|
+
import type ListSocialMessagingContentsParameters from '../../../../../definitions/ListSocialMessagingContentsParameters';
|
|
3
3
|
import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../../types';
|
|
4
4
|
|
|
5
5
|
class Index {
|
|
@@ -19,15 +19,14 @@ class Index {
|
|
|
19
19
|
return `${this._parent.path()}/contents`;
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Returns a list of social messaging contents ordered by creation date. The default order is descending.
|
|
23
23
|
*
|
|
24
|
-
* The account context of this request is determined by the RC Account
|
|
25
|
-
* in the Authorization header.
|
|
24
|
+
* The account context of this request is determined by the RC Account ID associated with
|
|
25
|
+
* the access token provided in the Authorization header.
|
|
26
26
|
*
|
|
27
|
-
* The query parameters provided
|
|
27
|
+
* The query parameters provided in request will be considered an AND operation to filter the list.
|
|
28
28
|
*
|
|
29
|
-
* A query parameter not specified or
|
|
30
|
-
* filtering the list.
|
|
29
|
+
* A query parameter which is not specified or provided with the null value will be ignored.
|
|
31
30
|
*
|
|
32
31
|
* HTTP Method: get
|
|
33
32
|
* Endpoint: /cx/social-messaging/v1/contents
|
|
@@ -35,7 +34,7 @@ class Index {
|
|
|
35
34
|
* App Permission: SocialMessaging
|
|
36
35
|
*/
|
|
37
36
|
public async list(
|
|
38
|
-
queryParams?:
|
|
37
|
+
queryParams?: ListSocialMessagingContentsParameters,
|
|
39
38
|
restRequestConfig?: RestRequestConfig,
|
|
40
39
|
): Promise<string> {
|
|
41
40
|
const r = await this.rc.get<string>(this.path(false), queryParams, restRequestConfig);
|
|
@@ -43,26 +42,26 @@ class Index {
|
|
|
43
42
|
}
|
|
44
43
|
|
|
45
44
|
/**
|
|
46
|
-
* Creates new content for use in discussions.
|
|
45
|
+
* Creates the new social messaging content for use in discussions.
|
|
47
46
|
*
|
|
48
|
-
* This request is used to reply to already
|
|
47
|
+
* This request is used to reply to an already posted content or to initiate a discussion. If authorized, the
|
|
49
48
|
* authenticated user will be used as the content author.
|
|
50
49
|
*
|
|
51
50
|
* Content will be created and pushed asynchronously to the channel. When the content is successfully pushed to
|
|
52
|
-
* the channel, the Content.Exported event will be reported.
|
|
51
|
+
* the channel, the `Content.Exported` event will be reported.
|
|
53
52
|
*
|
|
54
|
-
* The account context of this request is determined by the RC Account
|
|
53
|
+
* The account context of this request is determined by the RC Account ID associated with the access token provided
|
|
55
54
|
* in the Authorization header.
|
|
56
55
|
*
|
|
57
56
|
* Replying to customer content is usually possible unless the channel or conversation is read only. Composing
|
|
58
57
|
* content, on the contrary, depends on the channel itself.
|
|
59
58
|
*
|
|
60
|
-
*
|
|
59
|
+
* - The channel may not support it and be purely reactive like Instagram, Messenger, etc.
|
|
61
60
|
*
|
|
62
|
-
*
|
|
61
|
+
* - Some channels (usually public accounts, like Twitter or Facebook pages) allow content publishing
|
|
63
62
|
* without targeting specific individuals.
|
|
64
63
|
*
|
|
65
|
-
*
|
|
64
|
+
* - Some channels (usually non-public media) require specific targeting (phone number for SMS, email address
|
|
66
65
|
* for email, customer_id, etc.) to be able to create content. This is channel-specific and detailed under the
|
|
67
66
|
* generic parameters.
|
|
68
67
|
*
|
|
@@ -72,16 +71,20 @@ class Index {
|
|
|
72
71
|
* App Permission: SocialMessaging
|
|
73
72
|
*/
|
|
74
73
|
public async post(
|
|
75
|
-
|
|
74
|
+
createSocialMessagingContentRequest: CreateSocialMessagingContentRequest,
|
|
76
75
|
restRequestConfig?: RestRequestConfig,
|
|
77
76
|
): Promise<string> {
|
|
78
|
-
const r = await this.rc.post<string>(
|
|
77
|
+
const r = await this.rc.post<string>(
|
|
78
|
+
this.path(false),
|
|
79
|
+
createSocialMessagingContentRequest,
|
|
80
|
+
undefined,
|
|
81
|
+
restRequestConfig,
|
|
82
|
+
);
|
|
79
83
|
return r.data;
|
|
80
84
|
}
|
|
81
85
|
|
|
82
86
|
/**
|
|
83
|
-
*
|
|
84
|
-
*
|
|
87
|
+
* Returns the social messaging content by ID specified in path.
|
|
85
88
|
* HTTP Method: get
|
|
86
89
|
* Endpoint: /cx/social-messaging/v1/contents/{contentId}
|
|
87
90
|
* Rate Limit Group: Light
|
|
@@ -18,7 +18,7 @@ class Index {
|
|
|
18
18
|
return `${this._parent.path()}/identities`;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
|
-
* Returns a list of identities
|
|
21
|
+
* Returns a list of identities ordered by creation date. The default order is descending.
|
|
22
22
|
*
|
|
23
23
|
* The account context of this request is determined by the RC Account ID associated with
|
|
24
24
|
* the access token provided in the Authorization header.
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import BulkAssign from './BulkAssign';
|
|
2
2
|
import Presence from './Presence';
|
|
3
3
|
import Members from './Members';
|
|
4
|
+
import type CallQueueDetailsForUpdate from '../../../../definitions/CallQueueDetailsForUpdate';
|
|
4
5
|
import type CallQueueDetails from '../../../../definitions/CallQueueDetails';
|
|
5
|
-
import type
|
|
6
|
+
import type CallQueueList from '../../../../definitions/CallQueueList';
|
|
6
7
|
import type ListCallQueuesParameters from '../../../../definitions/ListCallQueuesParameters';
|
|
7
8
|
import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../types';
|
|
8
9
|
|
|
@@ -33,8 +34,8 @@ class Index {
|
|
|
33
34
|
public async list(
|
|
34
35
|
queryParams?: ListCallQueuesParameters,
|
|
35
36
|
restRequestConfig?: RestRequestConfig,
|
|
36
|
-
): Promise<
|
|
37
|
-
const r = await this.rc.get<
|
|
37
|
+
): Promise<CallQueueList> {
|
|
38
|
+
const r = await this.rc.get<CallQueueList>(this.path(false), queryParams, restRequestConfig);
|
|
38
39
|
return r.data;
|
|
39
40
|
}
|
|
40
41
|
|
|
@@ -64,13 +65,13 @@ class Index {
|
|
|
64
65
|
* User Permission: EditUserInfo
|
|
65
66
|
*/
|
|
66
67
|
public async put(
|
|
67
|
-
|
|
68
|
+
callQueueDetailsForUpdate: CallQueueDetailsForUpdate,
|
|
68
69
|
restRequestConfig?: RestRequestConfig,
|
|
69
70
|
): Promise<CallQueueDetails> {
|
|
70
71
|
if (this.groupId === null) {
|
|
71
72
|
throw new Error('groupId must be specified.');
|
|
72
73
|
}
|
|
73
|
-
const r = await this.rc.put<CallQueueDetails>(this.path(),
|
|
74
|
+
const r = await this.rc.put<CallQueueDetails>(this.path(), callQueueDetailsForUpdate, undefined, restRequestConfig);
|
|
74
75
|
return r.data;
|
|
75
76
|
}
|
|
76
77
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import Search from './Search';
|
|
2
2
|
import type ContactResource from '../../../../../definitions/ContactResource';
|
|
3
|
+
import type ReadDirectoryEntryParameters from '../../../../../definitions/ReadDirectoryEntryParameters';
|
|
3
4
|
import type DirectoryResource from '../../../../../definitions/DirectoryResource';
|
|
4
5
|
import type ListDirectoryEntriesParameters from '../../../../../definitions/ListDirectoryEntriesParameters';
|
|
5
6
|
import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../../types';
|
|
@@ -42,11 +43,14 @@ class Index {
|
|
|
42
43
|
* Rate Limit Group: Medium
|
|
43
44
|
* App Permission: ReadAccounts
|
|
44
45
|
*/
|
|
45
|
-
public async get(
|
|
46
|
+
public async get(
|
|
47
|
+
queryParams?: ReadDirectoryEntryParameters,
|
|
48
|
+
restRequestConfig?: RestRequestConfig,
|
|
49
|
+
): Promise<ContactResource> {
|
|
46
50
|
if (this.entryId === null) {
|
|
47
51
|
throw new Error('entryId must be specified.');
|
|
48
52
|
}
|
|
49
|
-
const r = await this.rc.get<ContactResource>(this.path(),
|
|
53
|
+
const r = await this.rc.get<ContactResource>(this.path(), queryParams, restRequestConfig);
|
|
50
54
|
return r.data;
|
|
51
55
|
}
|
|
52
56
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type UpdateAnsweringRuleRequest from '../../../../../definitions/UpdateAnsweringRuleRequest';
|
|
2
|
-
import type
|
|
2
|
+
import type CallHandlingRuleInfo from '../../../../../definitions/CallHandlingRuleInfo';
|
|
3
3
|
import type ReadAnsweringRuleParameters from '../../../../../definitions/ReadAnsweringRuleParameters';
|
|
4
4
|
import type CustomAnsweringRuleInfo from '../../../../../definitions/CustomAnsweringRuleInfo';
|
|
5
5
|
import type CreateAnsweringRuleRequest from '../../../../../definitions/CreateAnsweringRuleRequest';
|
|
@@ -71,11 +71,11 @@ class Index {
|
|
|
71
71
|
public async get(
|
|
72
72
|
queryParams?: ReadAnsweringRuleParameters,
|
|
73
73
|
restRequestConfig?: RestRequestConfig,
|
|
74
|
-
): Promise<
|
|
74
|
+
): Promise<CallHandlingRuleInfo> {
|
|
75
75
|
if (this.ruleId === null) {
|
|
76
76
|
throw new Error('ruleId must be specified.');
|
|
77
77
|
}
|
|
78
|
-
const r = await this.rc.get<
|
|
78
|
+
const r = await this.rc.get<CallHandlingRuleInfo>(this.path(), queryParams, restRequestConfig);
|
|
79
79
|
return r.data;
|
|
80
80
|
}
|
|
81
81
|
|
|
@@ -90,11 +90,11 @@ class Index {
|
|
|
90
90
|
public async put(
|
|
91
91
|
updateAnsweringRuleRequest: UpdateAnsweringRuleRequest,
|
|
92
92
|
restRequestConfig?: RestRequestConfig,
|
|
93
|
-
): Promise<
|
|
93
|
+
): Promise<CallHandlingRuleInfo> {
|
|
94
94
|
if (this.ruleId === null) {
|
|
95
95
|
throw new Error('ruleId must be specified.');
|
|
96
96
|
}
|
|
97
|
-
const r = await this.rc.put<
|
|
97
|
+
const r = await this.rc.put<CallHandlingRuleInfo>(
|
|
98
98
|
this.path(),
|
|
99
99
|
updateAnsweringRuleRequest,
|
|
100
100
|
undefined,
|
|
@@ -14,6 +14,9 @@ class Index {
|
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* Returns media content of an IVR prompt by ID.
|
|
17
|
+
*
|
|
18
|
+
* **This API must be called via media API entry point, e.g. https://media.ringcentral.com**
|
|
19
|
+
*
|
|
17
20
|
* HTTP Method: get
|
|
18
21
|
* Endpoint: /restapi/{apiVersion}/account/{accountId}/ivr-prompts/{promptId}/content
|
|
19
22
|
* Rate Limit Group: Heavy
|
|
@@ -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
|
}
|