@rc-ex/core 1.4.0 → 1.4.2
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/index.js +7 -3
- package/lib/index.js.map +1 -1
- 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/index.ts +7 -3
- 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
|
@@ -3,6 +3,7 @@ import SendWelcomeEmail from './SendWelcomeEmail';
|
|
|
3
3
|
import BatchProvisioning from './BatchProvisioning';
|
|
4
4
|
import DeviceInventory from './DeviceInventory';
|
|
5
5
|
import PhoneNumbers from './PhoneNumbers';
|
|
6
|
+
import CostCenters from './CostCenters';
|
|
6
7
|
import Extensions from './Extensions';
|
|
7
8
|
import Devices from './Devices';
|
|
8
9
|
import type AccountInfo from '../../../../definitions/AccountInfo';
|
|
@@ -48,6 +49,10 @@ class Index {
|
|
|
48
49
|
return new Extensions(this);
|
|
49
50
|
}
|
|
50
51
|
|
|
52
|
+
public costCenters(): CostCenters {
|
|
53
|
+
return new CostCenters(this);
|
|
54
|
+
}
|
|
55
|
+
|
|
51
56
|
public phoneNumbers(phoneNumberId: string | null = null): PhoneNumbers {
|
|
52
57
|
return new PhoneNumbers(this, phoneNumberId);
|
|
53
58
|
}
|
|
@@ -37,7 +37,11 @@ class Index {
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
* Creates a post in the chat specified in path. Any mention can be added within the `text` attribute of
|
|
40
|
+
* Creates a post in the chat specified in path. Any mention can be added within the `text` attribute of
|
|
41
|
+
* the request body in .md format - ``, where `type` is one of (Person, Team, File, Note,
|
|
42
|
+
* Task, Event, Link, Card) and `id` is a unique identifier of the mentioned object of the specified type.
|
|
43
|
+
* Attachments can also be added to a post by passing the type and ID of attachment(s) in request body.
|
|
44
|
+
*
|
|
41
45
|
* HTTP Method: post
|
|
42
46
|
* Endpoint: /team-messaging/v1/chats/{chatId}/posts
|
|
43
47
|
* Rate Limit Group: Medium
|
package/src/samples.md
CHANGED
|
@@ -384,7 +384,7 @@ await rc.revoke();
|
|
|
384
384
|
- `getTokenRequest` is of type [GetTokenRequest](./definitions/GetTokenRequest.ts)
|
|
385
385
|
- `result` is of type [TokenInfo](./definitions/TokenInfo.ts)
|
|
386
386
|
|
|
387
|
-
[Try it out](https://developer.ringcentral.com/api-reference#OAuth-
|
|
387
|
+
[Try it out](https://developer.ringcentral.com/api-reference#OAuth-and-OpenID-Connect-getToken) in API Explorer.
|
|
388
388
|
|
|
389
389
|
## scimListResourceTypes2
|
|
390
390
|
|
|
@@ -575,7 +575,7 @@ await rc.revoke();
|
|
|
575
575
|
- `revokeTokenParameters` is of type [RevokeTokenParameters](./definitions/RevokeTokenParameters.ts)
|
|
576
576
|
- `result` is an empty string
|
|
577
577
|
|
|
578
|
-
[Try it out](https://developer.ringcentral.com/api-reference#OAuth-
|
|
578
|
+
[Try it out](https://developer.ringcentral.com/api-reference#OAuth-and-OpenID-Connect-revokeToken) in API Explorer.
|
|
579
579
|
|
|
580
580
|
## readDevice
|
|
581
581
|
|
|
@@ -930,7 +930,7 @@ await rc.revoke();
|
|
|
930
930
|
- `authorizeParameters` is of type [AuthorizeParameters](./definitions/AuthorizeParameters.ts)
|
|
931
931
|
- `result` is an empty string
|
|
932
932
|
|
|
933
|
-
[Try it out](https://developer.ringcentral.com/api-reference#OAuth-
|
|
933
|
+
[Try it out](https://developer.ringcentral.com/api-reference#OAuth-and-OpenID-Connect-authorize) in API Explorer.
|
|
934
934
|
|
|
935
935
|
## authorize2
|
|
936
936
|
|
|
@@ -954,7 +954,7 @@ await rc.revoke();
|
|
|
954
954
|
- `authorizeRequest` is of type [AuthorizeRequest](./definitions/AuthorizeRequest.ts)
|
|
955
955
|
- `result` is an empty string
|
|
956
956
|
|
|
957
|
-
[Try it out](https://developer.ringcentral.com/api-reference#OAuth-
|
|
957
|
+
[Try it out](https://developer.ringcentral.com/api-reference#OAuth-and-OpenID-Connect-authorize2) in API Explorer.
|
|
958
958
|
|
|
959
959
|
## getAccountInfoV2
|
|
960
960
|
|
|
@@ -2215,7 +2215,7 @@ await rc.revoke();
|
|
|
2215
2215
|
|
|
2216
2216
|
## removeLineJWSPublic
|
|
2217
2217
|
|
|
2218
|
-
Remove
|
|
2218
|
+
Remove Phone Line
|
|
2219
2219
|
|
|
2220
2220
|
| Name | Value |
|
|
2221
2221
|
| ---------------- | ----------------------------------------------------- |
|
|
@@ -2285,7 +2285,7 @@ await rc.revoke();
|
|
|
2285
2285
|
- Parameter `apiVersion` is optional with default value `v1.0`
|
|
2286
2286
|
- Parameter `accountId` is optional with default value `~`
|
|
2287
2287
|
- `listCallQueuesParameters` is of type [ListCallQueuesParameters](./definitions/ListCallQueuesParameters.ts)
|
|
2288
|
-
- `result` is of type [
|
|
2288
|
+
- `result` is of type [CallQueueList](./definitions/CallQueueList.ts)
|
|
2289
2289
|
|
|
2290
2290
|
[Try it out](https://developer.ringcentral.com/api-reference#Call-Queues-listCallQueues) in API Explorer.
|
|
2291
2291
|
|
|
@@ -2329,13 +2329,13 @@ Update Call Queue
|
|
|
2329
2329
|
```ts
|
|
2330
2330
|
const rc = new RingCentral({ clientId, clientSecret, server });
|
|
2331
2331
|
await rc.authorize({ jwt });
|
|
2332
|
-
var result = await rc.restapi(apiVersion).account(accountId).callQueues(groupId).put(
|
|
2332
|
+
var result = await rc.restapi(apiVersion).account(accountId).callQueues(groupId).put(callQueueDetailsForUpdate);
|
|
2333
2333
|
await rc.revoke();
|
|
2334
2334
|
```
|
|
2335
2335
|
|
|
2336
2336
|
- Parameter `apiVersion` is optional with default value `v1.0`
|
|
2337
2337
|
- Parameter `accountId` is optional with default value `~`
|
|
2338
|
-
- `
|
|
2338
|
+
- `callQueueDetailsForUpdate` is of type [CallQueueDetailsForUpdate](./definitions/CallQueueDetailsForUpdate.ts)
|
|
2339
2339
|
- `result` is of type [CallQueueDetails](./definitions/CallQueueDetails.ts)
|
|
2340
2340
|
|
|
2341
2341
|
[Try it out](https://developer.ringcentral.com/api-reference#Call-Queues-updateCallQueueInfo) in API Explorer.
|
|
@@ -3484,9 +3484,9 @@ await rc.revoke();
|
|
|
3484
3484
|
|
|
3485
3485
|
[Try it out](https://developer.ringcentral.com/api-reference#Insights-caiAnalyzeInteraction) in API Explorer.
|
|
3486
3486
|
|
|
3487
|
-
##
|
|
3487
|
+
## listSocialMessagingContents
|
|
3488
3488
|
|
|
3489
|
-
List
|
|
3489
|
+
List Contents
|
|
3490
3490
|
|
|
3491
3491
|
| Name | Value |
|
|
3492
3492
|
| ---------------- | ---------------------------------- |
|
|
@@ -3499,16 +3499,16 @@ List All Contents
|
|
|
3499
3499
|
```ts
|
|
3500
3500
|
const rc = new RingCentral({ clientId, clientSecret, server });
|
|
3501
3501
|
await rc.authorize({ jwt });
|
|
3502
|
-
var result = await rc.cx().socialMessaging().v1().contents().list(
|
|
3502
|
+
var result = await rc.cx().socialMessaging().v1().contents().list(listSocialMessagingContentsParameters);
|
|
3503
3503
|
await rc.revoke();
|
|
3504
3504
|
```
|
|
3505
3505
|
|
|
3506
|
-
- `
|
|
3506
|
+
- `listSocialMessagingContentsParameters` is of type [ListSocialMessagingContentsParameters](./definitions/ListSocialMessagingContentsParameters.ts)
|
|
3507
3507
|
- `result` is an empty string
|
|
3508
3508
|
|
|
3509
|
-
[Try it out](https://developer.ringcentral.com/api-reference#Contents-
|
|
3509
|
+
[Try it out](https://developer.ringcentral.com/api-reference#Contents-listSocialMessagingContents) in API Explorer.
|
|
3510
3510
|
|
|
3511
|
-
##
|
|
3511
|
+
## createSocialMessagingContent
|
|
3512
3512
|
|
|
3513
3513
|
Create Content
|
|
3514
3514
|
|
|
@@ -3523,16 +3523,16 @@ Create Content
|
|
|
3523
3523
|
```ts
|
|
3524
3524
|
const rc = new RingCentral({ clientId, clientSecret, server });
|
|
3525
3525
|
await rc.authorize({ jwt });
|
|
3526
|
-
var result = await rc.cx().socialMessaging().v1().contents().post(
|
|
3526
|
+
var result = await rc.cx().socialMessaging().v1().contents().post(createSocialMessagingContentRequest);
|
|
3527
3527
|
await rc.revoke();
|
|
3528
3528
|
```
|
|
3529
3529
|
|
|
3530
|
-
- `
|
|
3530
|
+
- `createSocialMessagingContentRequest` is of type [CreateSocialMessagingContentRequest](./definitions/CreateSocialMessagingContentRequest.ts)
|
|
3531
3531
|
- `result` is an empty string
|
|
3532
3532
|
|
|
3533
|
-
[Try it out](https://developer.ringcentral.com/api-reference#Contents-
|
|
3533
|
+
[Try it out](https://developer.ringcentral.com/api-reference#Contents-createSocialMessagingContent) in API Explorer.
|
|
3534
3534
|
|
|
3535
|
-
##
|
|
3535
|
+
## readSocialMessagingContent
|
|
3536
3536
|
|
|
3537
3537
|
Get Content
|
|
3538
3538
|
|
|
@@ -3553,7 +3553,7 @@ await rc.revoke();
|
|
|
3553
3553
|
|
|
3554
3554
|
- `result` is an empty string
|
|
3555
3555
|
|
|
3556
|
-
[Try it out](https://developer.ringcentral.com/api-reference#Contents-
|
|
3556
|
+
[Try it out](https://developer.ringcentral.com/api-reference#Contents-readSocialMessagingContent) in API Explorer.
|
|
3557
3557
|
|
|
3558
3558
|
## listSocialMessagingIdentities
|
|
3559
3559
|
|
|
@@ -3708,6 +3708,29 @@ await rc.revoke();
|
|
|
3708
3708
|
|
|
3709
3709
|
[Try it out](https://developer.ringcentral.com/api-reference#Bridge-Management-createBridge) in API Explorer.
|
|
3710
3710
|
|
|
3711
|
+
## listCostCenters
|
|
3712
|
+
|
|
3713
|
+
List Cost Centers
|
|
3714
|
+
|
|
3715
|
+
| Name | Value |
|
|
3716
|
+
| ---------------- | ----------------------------------------------- |
|
|
3717
|
+
| HTTP Method | `GET` |
|
|
3718
|
+
| Endpoint | `/restapi/v2/accounts/{accountId}/cost-centers` |
|
|
3719
|
+
| Rate Limit Group | `Light` |
|
|
3720
|
+
| App Permission | `ReadAccounts` |
|
|
3721
|
+
| User Permission | `CostCenterManagement` |
|
|
3722
|
+
|
|
3723
|
+
```ts
|
|
3724
|
+
const rc = new RingCentral({ clientId, clientSecret, server });
|
|
3725
|
+
await rc.authorize({ jwt });
|
|
3726
|
+
var result = await rc.restapi().v2().accounts(accountId).costCenters().get();
|
|
3727
|
+
await rc.revoke();
|
|
3728
|
+
```
|
|
3729
|
+
|
|
3730
|
+
- `result` is of type [CostCenterList](./definitions/CostCenterList.ts)
|
|
3731
|
+
|
|
3732
|
+
[Try it out](https://developer.ringcentral.com/api-reference#Cost-Centers-listCostCenters) in API Explorer.
|
|
3733
|
+
|
|
3711
3734
|
## addDeviceToInventory
|
|
3712
3735
|
|
|
3713
3736
|
Add Phone to Inventory
|
|
@@ -3906,29 +3929,6 @@ await rc.revoke();
|
|
|
3906
3929
|
|
|
3907
3930
|
[Try it out](https://developer.ringcentral.com/api-reference#Phone-Numbers-replacePhoneNumberV2) in API Explorer.
|
|
3908
3931
|
|
|
3909
|
-
## sendActivationEmailV2
|
|
3910
|
-
|
|
3911
|
-
Send/Resend Activation Email
|
|
3912
|
-
|
|
3913
|
-
| Name | Value |
|
|
3914
|
-
| ---------------- | -------------------------------------------------------- |
|
|
3915
|
-
| HTTP Method | `POST` |
|
|
3916
|
-
| Endpoint | `/restapi/v2/accounts/{accountId}/send-activation-email` |
|
|
3917
|
-
| Rate Limit Group | `Medium` |
|
|
3918
|
-
| App Permission | `EditAccounts` |
|
|
3919
|
-
| User Permission | `AccountAdministration` |
|
|
3920
|
-
|
|
3921
|
-
```ts
|
|
3922
|
-
const rc = new RingCentral({ clientId, clientSecret, server });
|
|
3923
|
-
await rc.authorize({ jwt });
|
|
3924
|
-
var result = await rc.restapi().v2().accounts(accountId).sendActivationEmail().post();
|
|
3925
|
-
await rc.revoke();
|
|
3926
|
-
```
|
|
3927
|
-
|
|
3928
|
-
- `result` is an empty string
|
|
3929
|
-
|
|
3930
|
-
[Try it out](https://developer.ringcentral.com/api-reference#Company-sendActivationEmailV2) in API Explorer.
|
|
3931
|
-
|
|
3932
3932
|
## sendWelcomeEmailV2
|
|
3933
3933
|
|
|
3934
3934
|
Send/Resend Welcome Email
|
|
@@ -4899,12 +4899,18 @@ Get Corporate Directory Entry
|
|
|
4899
4899
|
```ts
|
|
4900
4900
|
const rc = new RingCentral({ clientId, clientSecret, server });
|
|
4901
4901
|
await rc.authorize({ jwt });
|
|
4902
|
-
var result = await rc
|
|
4902
|
+
var result = await rc
|
|
4903
|
+
.restapi(apiVersion)
|
|
4904
|
+
.account(accountId)
|
|
4905
|
+
.directory()
|
|
4906
|
+
.entries(entryId)
|
|
4907
|
+
.get(readDirectoryEntryParameters);
|
|
4903
4908
|
await rc.revoke();
|
|
4904
4909
|
```
|
|
4905
4910
|
|
|
4906
4911
|
- Parameter `apiVersion` is optional with default value `v1.0`
|
|
4907
4912
|
- Parameter `accountId` is optional with default value `~`
|
|
4913
|
+
- `readDirectoryEntryParameters` is of type [ReadDirectoryEntryParameters](./definitions/ReadDirectoryEntryParameters.ts)
|
|
4908
4914
|
- `result` is of type [ContactResource](./definitions/ContactResource.ts)
|
|
4909
4915
|
|
|
4910
4916
|
[Try it out](https://developer.ringcentral.com/api-reference#Internal-Contacts-readDirectoryEntry) in API Explorer.
|
|
@@ -5273,7 +5279,7 @@ await rc.revoke();
|
|
|
5273
5279
|
- Parameter `accountId` is optional with default value `~`
|
|
5274
5280
|
- Parameter `extensionId` is optional with default value `~`
|
|
5275
5281
|
- `readAnsweringRuleParameters` is of type [ReadAnsweringRuleParameters](./definitions/ReadAnsweringRuleParameters.ts)
|
|
5276
|
-
- `result` is of type [
|
|
5282
|
+
- `result` is of type [CallHandlingRuleInfo](./definitions/CallHandlingRuleInfo.ts)
|
|
5277
5283
|
|
|
5278
5284
|
[Try it out](https://developer.ringcentral.com/api-reference#Call-Handling-Rules-readAnsweringRule) in API Explorer.
|
|
5279
5285
|
|
|
@@ -5305,7 +5311,7 @@ await rc.revoke();
|
|
|
5305
5311
|
- Parameter `accountId` is optional with default value `~`
|
|
5306
5312
|
- Parameter `extensionId` is optional with default value `~`
|
|
5307
5313
|
- `updateAnsweringRuleRequest` is of type [UpdateAnsweringRuleRequest](./definitions/UpdateAnsweringRuleRequest.ts)
|
|
5308
|
-
- `result` is of type [
|
|
5314
|
+
- `result` is of type [CallHandlingRuleInfo](./definitions/CallHandlingRuleInfo.ts)
|
|
5309
5315
|
|
|
5310
5316
|
[Try it out](https://developer.ringcentral.com/api-reference#Call-Handling-Rules-updateAnsweringRule) in API Explorer.
|
|
5311
5317
|
|
|
@@ -6251,38 +6257,6 @@ await rc.revoke();
|
|
|
6251
6257
|
|
|
6252
6258
|
[Try it out](https://developer.ringcentral.com/api-reference#Message-Store-patchMessage) in API Explorer.
|
|
6253
6259
|
|
|
6254
|
-
## syncMessages
|
|
6255
|
-
|
|
6256
|
-
Sync Messages
|
|
6257
|
-
|
|
6258
|
-
| Name | Value |
|
|
6259
|
-
| ---------------- | -------------------------------------------------------------------------------- |
|
|
6260
|
-
| HTTP Method | `GET` |
|
|
6261
|
-
| Endpoint | `/restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/message-sync` |
|
|
6262
|
-
| Rate Limit Group | `Light` |
|
|
6263
|
-
| App Permission | `ReadMessages` |
|
|
6264
|
-
| User Permission | `ReadMessages` |
|
|
6265
|
-
|
|
6266
|
-
```ts
|
|
6267
|
-
const rc = new RingCentral({ clientId, clientSecret, server });
|
|
6268
|
-
await rc.authorize({ jwt });
|
|
6269
|
-
var result = await rc
|
|
6270
|
-
.restapi(apiVersion)
|
|
6271
|
-
.account(accountId)
|
|
6272
|
-
.extension(extensionId)
|
|
6273
|
-
.messageSync()
|
|
6274
|
-
.get(syncMessagesParameters);
|
|
6275
|
-
await rc.revoke();
|
|
6276
|
-
```
|
|
6277
|
-
|
|
6278
|
-
- Parameter `apiVersion` is optional with default value `v1.0`
|
|
6279
|
-
- Parameter `accountId` is optional with default value `~`
|
|
6280
|
-
- Parameter `extensionId` is optional with default value `~`
|
|
6281
|
-
- `syncMessagesParameters` is of type [SyncMessagesParameters](./definitions/SyncMessagesParameters.ts)
|
|
6282
|
-
- `result` is of type [GetMessageSyncResponse](./definitions/GetMessageSyncResponse.ts)
|
|
6283
|
-
|
|
6284
|
-
[Try it out](https://developer.ringcentral.com/api-reference#Message-Store-syncMessages) in API Explorer.
|
|
6285
|
-
|
|
6286
6260
|
## readUserPresenceStatus
|
|
6287
6261
|
|
|
6288
6262
|
Get User Presence Status
|
|
@@ -8221,6 +8195,38 @@ await rc.revoke();
|
|
|
8221
8195
|
|
|
8222
8196
|
[Try it out](https://developer.ringcentral.com/api-reference#Registration-Management-rcwRegUpdateSession) in API Explorer.
|
|
8223
8197
|
|
|
8198
|
+
## syncMessages
|
|
8199
|
+
|
|
8200
|
+
Sync Messages
|
|
8201
|
+
|
|
8202
|
+
| Name | Value |
|
|
8203
|
+
| ---------------- | -------------------------------------------------------------------------------- |
|
|
8204
|
+
| HTTP Method | `GET` |
|
|
8205
|
+
| Endpoint | `/restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/message-sync` |
|
|
8206
|
+
| Rate Limit Group | `Light` |
|
|
8207
|
+
| App Permission | `ReadMessages` |
|
|
8208
|
+
| User Permission | `ReadMessages` |
|
|
8209
|
+
|
|
8210
|
+
```ts
|
|
8211
|
+
const rc = new RingCentral({ clientId, clientSecret, server });
|
|
8212
|
+
await rc.authorize({ jwt });
|
|
8213
|
+
var result = await rc
|
|
8214
|
+
.restapi(apiVersion)
|
|
8215
|
+
.account(accountId)
|
|
8216
|
+
.extension(extensionId)
|
|
8217
|
+
.messageSync()
|
|
8218
|
+
.get(syncMessagesParameters);
|
|
8219
|
+
await rc.revoke();
|
|
8220
|
+
```
|
|
8221
|
+
|
|
8222
|
+
- Parameter `apiVersion` is optional with default value `v1.0`
|
|
8223
|
+
- Parameter `accountId` is optional with default value `~`
|
|
8224
|
+
- Parameter `extensionId` is optional with default value `~`
|
|
8225
|
+
- `syncMessagesParameters` is of type [SyncMessagesParameters](./definitions/SyncMessagesParameters.ts)
|
|
8226
|
+
- `result` is of type [GetMessageSyncResponse](./definitions/GetMessageSyncResponse.ts)
|
|
8227
|
+
|
|
8228
|
+
[Try it out](https://developer.ringcentral.com/api-reference#Message-Store-syncMessages) in API Explorer.
|
|
8229
|
+
|
|
8224
8230
|
## listExtensionPhoneNumbers
|
|
8225
8231
|
|
|
8226
8232
|
Get Extension Phone Number List
|
|
@@ -8831,6 +8837,29 @@ await rc.revoke();
|
|
|
8831
8837
|
|
|
8832
8838
|
[Try it out](https://developer.ringcentral.com/api-reference#Phone-Numbers-getBulkAddTaskResultsV2) in API Explorer.
|
|
8833
8839
|
|
|
8840
|
+
## sendActivationEmailV2
|
|
8841
|
+
|
|
8842
|
+
Send/Resend Activation Email
|
|
8843
|
+
|
|
8844
|
+
| Name | Value |
|
|
8845
|
+
| ---------------- | -------------------------------------------------------- |
|
|
8846
|
+
| HTTP Method | `POST` |
|
|
8847
|
+
| Endpoint | `/restapi/v2/accounts/{accountId}/send-activation-email` |
|
|
8848
|
+
| Rate Limit Group | `Medium` |
|
|
8849
|
+
| App Permission | `EditAccounts` |
|
|
8850
|
+
| User Permission | `AccountAdministration` |
|
|
8851
|
+
|
|
8852
|
+
```ts
|
|
8853
|
+
const rc = new RingCentral({ clientId, clientSecret, server });
|
|
8854
|
+
await rc.authorize({ jwt });
|
|
8855
|
+
var result = await rc.restapi().v2().accounts(accountId).sendActivationEmail().post();
|
|
8856
|
+
await rc.revoke();
|
|
8857
|
+
```
|
|
8858
|
+
|
|
8859
|
+
- `result` is an empty string
|
|
8860
|
+
|
|
8861
|
+
[Try it out](https://developer.ringcentral.com/api-reference#Company-sendActivationEmailV2) in API Explorer.
|
|
8862
|
+
|
|
8834
8863
|
## addA2PSMSOptOuts
|
|
8835
8864
|
|
|
8836
8865
|
Add Opt-In/Out Numbers
|
|
@@ -10221,39 +10250,6 @@ await rc.revoke();
|
|
|
10221
10250
|
|
|
10222
10251
|
[Try it out](https://developer.ringcentral.com/api-reference#Call-Control-callFlipParty) in API Explorer.
|
|
10223
10252
|
|
|
10224
|
-
## holdCallParty
|
|
10225
|
-
|
|
10226
|
-
Hold Call Party
|
|
10227
|
-
|
|
10228
|
-
| Name | Value |
|
|
10229
|
-
| ---------------- | ---------------------------------------------------------------------------------------------------------- |
|
|
10230
|
-
| HTTP Method | `POST` |
|
|
10231
|
-
| Endpoint | `/restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId}/hold` |
|
|
10232
|
-
| Rate Limit Group | `Light` |
|
|
10233
|
-
| App Permission | `CallControl` |
|
|
10234
|
-
| User Permission | `N/A` |
|
|
10235
|
-
|
|
10236
|
-
```ts
|
|
10237
|
-
const rc = new RingCentral({ clientId, clientSecret, server });
|
|
10238
|
-
await rc.authorize({ jwt });
|
|
10239
|
-
var result = await rc
|
|
10240
|
-
.restapi(apiVersion)
|
|
10241
|
-
.account(accountId)
|
|
10242
|
-
.telephony()
|
|
10243
|
-
.sessions(telephonySessionId)
|
|
10244
|
-
.parties(partyId)
|
|
10245
|
-
.hold()
|
|
10246
|
-
.post(holdCallPartyRequest);
|
|
10247
|
-
await rc.revoke();
|
|
10248
|
-
```
|
|
10249
|
-
|
|
10250
|
-
- Parameter `apiVersion` is optional with default value `v1.0`
|
|
10251
|
-
- Parameter `accountId` is optional with default value `~`
|
|
10252
|
-
- `holdCallPartyRequest` is of type [HoldCallPartyRequest](./definitions/HoldCallPartyRequest.ts)
|
|
10253
|
-
- `result` is of type [CallParty](./definitions/CallParty.ts)
|
|
10254
|
-
|
|
10255
|
-
[Try it out](https://developer.ringcentral.com/api-reference#Call-Control-holdCallParty) in API Explorer.
|
|
10256
|
-
|
|
10257
10253
|
## callParkParty
|
|
10258
10254
|
|
|
10259
10255
|
Call Park
|
|
@@ -10692,6 +10688,59 @@ await rc.revoke();
|
|
|
10692
10688
|
|
|
10693
10689
|
[Try it out](https://developer.ringcentral.com/api-reference#Registrants-rcwRegDeleteRegistrant) in API Explorer.
|
|
10694
10690
|
|
|
10691
|
+
## readCallFlipSettings
|
|
10692
|
+
|
|
10693
|
+
Get Call Flip Settings
|
|
10694
|
+
|
|
10695
|
+
| Name | Value |
|
|
10696
|
+
| ---------------- | ----------------------------------------------------------------------------- |
|
|
10697
|
+
| HTTP Method | `GET` |
|
|
10698
|
+
| Endpoint | `/restapi/v2/accounts/{accountId}/extensions/{extensionId}/call-flip-numbers` |
|
|
10699
|
+
| Rate Limit Group | `Light` |
|
|
10700
|
+
| App Permission | `ReadAccounts` |
|
|
10701
|
+
| User Permission | `N/A` |
|
|
10702
|
+
|
|
10703
|
+
```ts
|
|
10704
|
+
const rc = new RingCentral({ clientId, clientSecret, server });
|
|
10705
|
+
await rc.authorize({ jwt });
|
|
10706
|
+
var result = await rc.restapi().v2().accounts(accountId).extensions(extensionId).callFlipNumbers().get();
|
|
10707
|
+
await rc.revoke();
|
|
10708
|
+
```
|
|
10709
|
+
|
|
10710
|
+
- `result` is of type [CallFlipNumberListResource](./definitions/CallFlipNumberListResource.ts)
|
|
10711
|
+
|
|
10712
|
+
[Try it out](https://developer.ringcentral.com/api-reference#Call-Flip-readCallFlipSettings) in API Explorer.
|
|
10713
|
+
|
|
10714
|
+
## updateCallFlipSettings
|
|
10715
|
+
|
|
10716
|
+
Update Call Flip Settings
|
|
10717
|
+
|
|
10718
|
+
| Name | Value |
|
|
10719
|
+
| ---------------- | ----------------------------------------------------------------------------- |
|
|
10720
|
+
| HTTP Method | `PUT` |
|
|
10721
|
+
| Endpoint | `/restapi/v2/accounts/{accountId}/extensions/{extensionId}/call-flip-numbers` |
|
|
10722
|
+
| Rate Limit Group | `Medium` |
|
|
10723
|
+
| App Permission | `EditExtensions` |
|
|
10724
|
+
| User Permission | `N/A` |
|
|
10725
|
+
|
|
10726
|
+
```ts
|
|
10727
|
+
const rc = new RingCentral({ clientId, clientSecret, server });
|
|
10728
|
+
await rc.authorize({ jwt });
|
|
10729
|
+
var result = await rc
|
|
10730
|
+
.restapi()
|
|
10731
|
+
.v2()
|
|
10732
|
+
.accounts(accountId)
|
|
10733
|
+
.extensions(extensionId)
|
|
10734
|
+
.callFlipNumbers()
|
|
10735
|
+
.put(callFlipNumberListResource);
|
|
10736
|
+
await rc.revoke();
|
|
10737
|
+
```
|
|
10738
|
+
|
|
10739
|
+
- `callFlipNumberListResource` is of type [CallFlipNumberListResource](./definitions/CallFlipNumberListResource.ts)
|
|
10740
|
+
- `result` is of type [CallFlipNumberListResource](./definitions/CallFlipNumberListResource.ts)
|
|
10741
|
+
|
|
10742
|
+
[Try it out](https://developer.ringcentral.com/api-reference#Call-Flip-updateCallFlipSettings) in API Explorer.
|
|
10743
|
+
|
|
10695
10744
|
## updateCallMonitoringGroupList
|
|
10696
10745
|
|
|
10697
10746
|
Update Call Monitoring Group List
|
|
@@ -12112,6 +12161,39 @@ await rc.revoke();
|
|
|
12112
12161
|
|
|
12113
12162
|
[Try it out](https://developer.ringcentral.com/api-reference#Call-Control-forwardCallParty) in API Explorer.
|
|
12114
12163
|
|
|
12164
|
+
## holdCallParty
|
|
12165
|
+
|
|
12166
|
+
Hold Call Party
|
|
12167
|
+
|
|
12168
|
+
| Name | Value |
|
|
12169
|
+
| ---------------- | ---------------------------------------------------------------------------------------------------------- |
|
|
12170
|
+
| HTTP Method | `POST` |
|
|
12171
|
+
| Endpoint | `/restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId}/hold` |
|
|
12172
|
+
| Rate Limit Group | `Light` |
|
|
12173
|
+
| App Permission | `CallControl` |
|
|
12174
|
+
| User Permission | `N/A` |
|
|
12175
|
+
|
|
12176
|
+
```ts
|
|
12177
|
+
const rc = new RingCentral({ clientId, clientSecret, server });
|
|
12178
|
+
await rc.authorize({ jwt });
|
|
12179
|
+
var result = await rc
|
|
12180
|
+
.restapi(apiVersion)
|
|
12181
|
+
.account(accountId)
|
|
12182
|
+
.telephony()
|
|
12183
|
+
.sessions(telephonySessionId)
|
|
12184
|
+
.parties(partyId)
|
|
12185
|
+
.hold()
|
|
12186
|
+
.post(holdCallPartyRequest);
|
|
12187
|
+
await rc.revoke();
|
|
12188
|
+
```
|
|
12189
|
+
|
|
12190
|
+
- Parameter `apiVersion` is optional with default value `v1.0`
|
|
12191
|
+
- Parameter `accountId` is optional with default value `~`
|
|
12192
|
+
- `holdCallPartyRequest` is of type [HoldCallPartyRequest](./definitions/HoldCallPartyRequest.ts)
|
|
12193
|
+
- `result` is of type [CallParty](./definitions/CallParty.ts)
|
|
12194
|
+
|
|
12195
|
+
[Try it out](https://developer.ringcentral.com/api-reference#Call-Control-holdCallParty) in API Explorer.
|
|
12196
|
+
|
|
12115
12197
|
## ignoreCallInQueue
|
|
12116
12198
|
|
|
12117
12199
|
Ignore Call in Queue
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AnsweringRuleInfo.js","sourceRoot":"","sources":["../../src/definitions/AnsweringRuleInfo.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CallQueues.js","sourceRoot":"","sources":["../../src/definitions/CallQueues.ts"],"names":[],"mappings":""}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
interface ContentAttachment {
|
|
2
|
-
/**
|
|
3
|
-
* Type of the attachment, which is generally a MIME attachment type like "image/jpeg", etc.
|
|
4
|
-
*
|
|
5
|
-
* Security level in ED determines what type of attachment is allowed.
|
|
6
|
-
*
|
|
7
|
-
* Based on the security level the following attachment types are supported.
|
|
8
|
-
*
|
|
9
|
-
* "Strict" level allows safe extensions below:
|
|
10
|
-
* Content name and supported types
|
|
11
|
-
* * audio (supports aac mp3 ogg m4a)
|
|
12
|
-
* * image (supports bmp gif jpg jpeg png svg webp)
|
|
13
|
-
* * pdf (supports pdf)
|
|
14
|
-
* * text (supports csv txt log)
|
|
15
|
-
* * video (supports avi flv m4v mkv mov mp4 mpg qt wmv)
|
|
16
|
-
* * other (supports amr dms vcard tif tiff mpeg)
|
|
17
|
-
*
|
|
18
|
-
* "Relaxed" level allows documents:
|
|
19
|
-
* Content name and supported types
|
|
20
|
-
* * excel (supports xls xlsm xlsx xlc xlt xltm xltx)
|
|
21
|
-
* * presentation (supports key odp otp)
|
|
22
|
-
* * powerpoint (supports pps ppt pptx pot)
|
|
23
|
-
* * spreadsheet (supports numbers ods ots)
|
|
24
|
-
* * word (supports doc docm docx dotm dotx)
|
|
25
|
-
* * word_processing (supports 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
|
-
* Creation time of the attachment.
|
|
35
|
-
* Format: date-time
|
|
36
|
-
* Example: 2023-02-04T12:43:07Z
|
|
37
|
-
*/
|
|
38
|
-
creationTime?: string;
|
|
39
|
-
/**
|
|
40
|
-
* Embedded in a content.
|
|
41
|
-
*/
|
|
42
|
-
embedded?: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* Filename of the attachment.
|
|
45
|
-
* Example: 0.jpeg
|
|
46
|
-
*/
|
|
47
|
-
filename?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Identifier of the attachment.
|
|
50
|
-
* Example: 54085e5b7aa58d8b5d00006c
|
|
51
|
-
*/
|
|
52
|
-
id?: string;
|
|
53
|
-
/**
|
|
54
|
-
* Privacy setting of the attachment.
|
|
55
|
-
*/
|
|
56
|
-
public?: boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Size of the attachment.
|
|
59
|
-
* Format: int32
|
|
60
|
-
* Example: 217571
|
|
61
|
-
*/
|
|
62
|
-
size?: number;
|
|
63
|
-
/**
|
|
64
|
-
* The time when the last modification was completed.
|
|
65
|
-
* Format: date-time
|
|
66
|
-
* Example: 2023-02-04T12:43:07Z
|
|
67
|
-
*/
|
|
68
|
-
lastModifiedTime?: string;
|
|
69
|
-
/**
|
|
70
|
-
* Uri of the attachment.
|
|
71
|
-
* Format: uri
|
|
72
|
-
* Example: https://example.digital.ringcentral.com/files/attachments/54085e5b7aa58d8b5d00006c
|
|
73
|
-
*/
|
|
74
|
-
uri?: string;
|
|
75
|
-
}
|
|
76
|
-
export default ContentAttachment;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContentAttachment.js","sourceRoot":"","sources":["../../src/definitions/ContentAttachment.ts"],"names":[],"mappings":""}
|