@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface
|
|
1
|
+
interface CallRecordingGreetingResource {
|
|
2
2
|
/**
|
|
3
3
|
*/
|
|
4
4
|
type?: 'StartRecording' | 'StopRecording' | 'AutomaticRecording';
|
|
@@ -11,4 +11,4 @@ interface GreetingResource {
|
|
|
11
11
|
mode?: 'Default' | 'Custom';
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
export default
|
|
14
|
+
export default CallRecordingGreetingResource;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type OnDemandResource from './OnDemandResource';
|
|
2
2
|
import type AutomaticRecordingResource from './AutomaticRecordingResource';
|
|
3
|
-
import type
|
|
3
|
+
import type CallRecordingGreetingResource from './CallRecordingGreetingResource';
|
|
4
4
|
|
|
5
5
|
interface CallRecordingSettingsResource {
|
|
6
6
|
/**
|
|
@@ -14,7 +14,7 @@ interface CallRecordingSettingsResource {
|
|
|
14
14
|
/**
|
|
15
15
|
* Collection of Greeting Info
|
|
16
16
|
*/
|
|
17
|
-
greetings?:
|
|
17
|
+
greetings?: CallRecordingGreetingResource[];
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
export default CallRecordingSettingsResource;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Token endpoint request parameters used in the "Client Credentials" authorization flow
|
|
2
|
+
* Token endpoint request parameters used in the "Client Credentials" authorization flow
|
|
3
|
+
* with the `client_credentials` grant type
|
|
4
|
+
*
|
|
3
5
|
*/
|
|
4
6
|
interface ClientCredentialsBase {
|
|
5
7
|
/**
|
|
6
8
|
* Grant type
|
|
9
|
+
* Required
|
|
7
10
|
*/
|
|
8
11
|
grant_type?: 'client_credentials';
|
|
9
12
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Token endpoint request parameters used in the "Client Credentials" authorization flow
|
|
2
|
+
* Token endpoint request parameters used in the "Client Credentials" authorization flow
|
|
3
|
+
* with the `client_credentials` grant type
|
|
4
|
+
*
|
|
3
5
|
*/
|
|
4
6
|
interface ClientCredentialsByAccount {
|
|
5
7
|
/**
|
|
6
8
|
* Grant type
|
|
9
|
+
* Required
|
|
7
10
|
*/
|
|
8
11
|
grant_type?: 'client_credentials';
|
|
9
12
|
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Token endpoint request parameters used in the "Client Credentials" authorization flow
|
|
2
|
+
* Token endpoint request parameters used in the "Client Credentials" authorization flow
|
|
3
|
+
* with the `client_credentials` grant type
|
|
4
|
+
*
|
|
3
5
|
*/
|
|
4
6
|
interface ClientCredentialsByBrand {
|
|
5
7
|
/**
|
|
6
8
|
* Grant type
|
|
9
|
+
* Required
|
|
7
10
|
*/
|
|
8
11
|
grant_type?: 'client_credentials';
|
|
9
12
|
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Token endpoint request parameters used in the "Client Credentials" authorization flow
|
|
2
|
+
* Token endpoint request parameters used in the "Client Credentials" authorization flow
|
|
3
|
+
* with the `client_credentials` grant type
|
|
4
|
+
*
|
|
3
5
|
*/
|
|
4
6
|
interface ClientCredentialsByPartnerAccount {
|
|
5
7
|
/**
|
|
6
8
|
* Grant type
|
|
9
|
+
* Required
|
|
7
10
|
*/
|
|
8
11
|
grant_type?: 'client_credentials';
|
|
9
12
|
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Token endpoint request parameters used in the "Client Credentials" authorization flow
|
|
2
|
+
* Token endpoint request parameters used in the "Client Credentials" authorization flow
|
|
3
|
+
* with the `client_credentials` grant type
|
|
4
|
+
*
|
|
3
5
|
*/
|
|
4
6
|
interface ClientCredentialsTokenRequest {
|
|
5
7
|
/**
|
|
6
8
|
* Grant type
|
|
9
|
+
* Required
|
|
7
10
|
*/
|
|
8
11
|
grant_type?: 'client_credentials';
|
|
9
12
|
|
|
@@ -10,7 +10,8 @@ interface CommonEmergencyLocationAddressInfo {
|
|
|
10
10
|
countryId?: string;
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
|
|
14
|
+
* Example: US
|
|
14
15
|
*/
|
|
15
16
|
countryIsoCode?: string;
|
|
16
17
|
|
|
@@ -10,7 +10,8 @@ interface CommonEmergencyLocationAddressInfoAu {
|
|
|
10
10
|
countryId?: string;
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
|
|
14
|
+
* Example: US
|
|
14
15
|
*/
|
|
15
16
|
countryIsoCode?: string;
|
|
16
17
|
|
|
@@ -10,7 +10,8 @@ interface CommonEmergencyLocationAddressInfoDefault {
|
|
|
10
10
|
countryId?: string;
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
|
|
14
|
+
* Example: US
|
|
14
15
|
*/
|
|
15
16
|
countryIsoCode?: string;
|
|
16
17
|
|
|
@@ -10,7 +10,8 @@ interface CommonEmergencyLocationAddressInfoFr {
|
|
|
10
10
|
countryId?: string;
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
|
|
14
|
+
* Example: US
|
|
14
15
|
*/
|
|
15
16
|
countryIsoCode?: string;
|
|
16
17
|
|
|
@@ -52,16 +52,16 @@ interface CompanyPhoneNumberInfo {
|
|
|
52
52
|
phoneNumber?: string;
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
|
-
* Status of a phone number. If the value is
|
|
56
|
-
* number is ready to be used.
|
|
57
|
-
*
|
|
55
|
+
* Status of a phone number. If the value is `Normal`, the phone
|
|
56
|
+
* number is ready to be used. Otherwise, it is an external number not yet
|
|
57
|
+
* ported to RingCentral
|
|
58
58
|
*/
|
|
59
|
-
status?: 'Normal' | 'Pending' | 'PortedIn' | 'Temporary';
|
|
59
|
+
status?: 'Normal' | 'Pending' | 'PortedIn' | 'Temporary' | 'Unknown';
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* Type of a phone number
|
|
63
63
|
*/
|
|
64
|
-
type?: 'VoiceFax' | '
|
|
64
|
+
type?: 'VoiceFax' | 'VoiceOnly' | 'FaxOnly';
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
67
|
* Usage type of phone number. Usage type of phone number.
|
|
@@ -101,6 +101,11 @@ interface CompanyPhoneNumberInfo {
|
|
|
101
101
|
* Specifies if a phone number is primary, i.e. displayed as 'main number' and called by default
|
|
102
102
|
*/
|
|
103
103
|
primary?: boolean;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Phone number activation status. Determine whether phone number migration is completed on the partner side.
|
|
107
|
+
*/
|
|
108
|
+
activationStatus?: 'Active' | 'Inactive';
|
|
104
109
|
}
|
|
105
110
|
|
|
106
111
|
export default CompanyPhoneNumberInfo;
|
|
@@ -1,20 +1,18 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type SocMsgContentAttachment from './SocMsgContentAttachment';
|
|
2
2
|
import type ContentBodyFormatted from './ContentBodyFormatted';
|
|
3
3
|
import type ContentContextData from './ContentContextData';
|
|
4
4
|
|
|
5
5
|
interface ContentModel {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Array of attachments to be added to the content
|
|
8
8
|
* Required
|
|
9
9
|
*/
|
|
10
|
-
attachments?:
|
|
10
|
+
attachments?: SocMsgContentAttachment[];
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
* Identity identifier of the author
|
|
14
|
-
*
|
|
15
|
-
* Not mandatory on creation, by default it uses the token's user first identity on channel.
|
|
13
|
+
* Identity identifier of the content author. Not mandatory on creation,
|
|
14
|
+
* by default it uses the token's user first identity on channel
|
|
16
15
|
* Required
|
|
17
|
-
* Example: 541014e17aa58d8ccf000023
|
|
18
16
|
*/
|
|
19
17
|
authorIdentityId?: string;
|
|
20
18
|
|
|
@@ -28,26 +26,23 @@ interface ContentModel {
|
|
|
28
26
|
autoSubmitted?: boolean;
|
|
29
27
|
|
|
30
28
|
/**
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
29
|
+
* Content body. On creation this field is mandatory except for WhatsApp content
|
|
30
|
+
* using templates. The following are the channels supported and their **max length**
|
|
31
|
+
* restrictions (in brackets):
|
|
34
32
|
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
* *
|
|
38
|
-
* *
|
|
39
|
-
* *
|
|
40
|
-
* *
|
|
41
|
-
* *
|
|
42
|
-
* *
|
|
43
|
-
* *
|
|
44
|
-
* *
|
|
45
|
-
* *
|
|
46
|
-
* *
|
|
47
|
-
* *
|
|
48
|
-
* * Viber (max length 7000)
|
|
49
|
-
* * WhatsApp (max length 3800)
|
|
50
|
-
* * Youtube (max length 8000)
|
|
33
|
+
* - *Apple Messages For Business* (10000)
|
|
34
|
+
* - *Email* (262144)
|
|
35
|
+
* - *RingCX Digital Messaging* (1024)
|
|
36
|
+
* - *Facebook* (8000)
|
|
37
|
+
* - *Google My Business* (4000)
|
|
38
|
+
* - *Instagram* (950)
|
|
39
|
+
* - *Instagram Messaging* (1000)
|
|
40
|
+
* - *LinkedIn* (3000)
|
|
41
|
+
* - *Messenger* (2000)
|
|
42
|
+
* - *Twitter* (280)
|
|
43
|
+
* - *Viber* (7000)
|
|
44
|
+
* - *WhatsApp* (3800)
|
|
45
|
+
* - *Youtube* (8000)
|
|
51
46
|
* Required
|
|
52
47
|
* Example: Body of the content
|
|
53
48
|
*/
|
|
@@ -59,18 +54,27 @@ interface ContentModel {
|
|
|
59
54
|
bodyFormatted?: ContentBodyFormatted;
|
|
60
55
|
|
|
61
56
|
/**
|
|
62
|
-
*
|
|
57
|
+
* Content input format
|
|
63
58
|
* Required
|
|
64
59
|
*/
|
|
65
60
|
bodyInputFormat?: 'Text' | 'Html';
|
|
66
61
|
|
|
67
62
|
/**
|
|
68
|
-
* List of the category identifiers of the content
|
|
63
|
+
* List of the category identifiers of the content
|
|
69
64
|
* Required
|
|
70
65
|
* Example: 541014e17aa58d8ccf000023,541014e17aa58d8ccf002023
|
|
71
66
|
*/
|
|
72
67
|
categoryIds?: string[];
|
|
73
68
|
|
|
69
|
+
/**
|
|
70
|
+
* Direction of the content.
|
|
71
|
+
*
|
|
72
|
+
* * Incoming contents are received from a channel.
|
|
73
|
+
* * Outgoing contents are exported to a channel.
|
|
74
|
+
* Example: Incoming
|
|
75
|
+
*/
|
|
76
|
+
contentDirection?: 'Incoming' | 'Outgoing';
|
|
77
|
+
|
|
74
78
|
/**
|
|
75
79
|
*/
|
|
76
80
|
contextData?: ContentContextData;
|
|
@@ -84,83 +88,81 @@ interface ContentModel {
|
|
|
84
88
|
creationTime?: string;
|
|
85
89
|
|
|
86
90
|
/**
|
|
87
|
-
*
|
|
91
|
+
* Source of content
|
|
88
92
|
* Required
|
|
89
93
|
*/
|
|
90
94
|
createdFrom?: 'Synchronizer' | 'Interface' | 'Api' | 'AutoSurvey' | 'AutoResponseTrigger' | 'AutoRequestEmail';
|
|
91
95
|
|
|
92
96
|
/**
|
|
93
|
-
*
|
|
97
|
+
* RingCentral user identifier of the creator
|
|
94
98
|
* Required
|
|
95
99
|
* Example: 2683222036
|
|
96
100
|
*/
|
|
97
101
|
creatorId?: string;
|
|
98
102
|
|
|
103
|
+
/**
|
|
104
|
+
* True if the content is the first in the thread.
|
|
105
|
+
*/
|
|
106
|
+
firstInThread?: boolean;
|
|
107
|
+
|
|
99
108
|
/**
|
|
100
109
|
* External categories of the content.
|
|
101
|
-
*
|
|
102
|
-
* Present only if the content has foreignCategories.
|
|
110
|
+
* Returned only if the content has `foreignCategories`
|
|
103
111
|
* Example: foreign_category_id
|
|
104
112
|
*/
|
|
105
113
|
foreignCategories?: string[];
|
|
106
114
|
|
|
107
115
|
/**
|
|
108
|
-
*
|
|
116
|
+
* Content identifier
|
|
109
117
|
* Required
|
|
110
|
-
* Example: 541014e17aa58d8ccf000023
|
|
111
118
|
*/
|
|
112
119
|
id?: string;
|
|
113
120
|
|
|
114
121
|
/**
|
|
115
|
-
*
|
|
122
|
+
* Identifier of the content identity to which this content is a reply to.
|
|
123
|
+
* If the channel does not support discussion initiation, this parameter is mandatory
|
|
116
124
|
* Required
|
|
117
|
-
* Example: 541014e17asdd8ccf000023
|
|
118
125
|
*/
|
|
119
126
|
inReplyToAuthorIdentityId?: string;
|
|
120
127
|
|
|
121
128
|
/**
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
129
|
+
* Content identifier to which this content is a reply to. On creation, if omitted,
|
|
130
|
+
* a new discussion will be created. If the channel does not support discussion initiation,
|
|
131
|
+
* this parameter is mandatory
|
|
125
132
|
* Required
|
|
126
|
-
* Example: 123414e17asdd8ccf000023
|
|
127
133
|
*/
|
|
128
134
|
inReplyToContentId?: string;
|
|
129
135
|
|
|
130
136
|
/**
|
|
131
|
-
*
|
|
137
|
+
* Intervention identifier of the content
|
|
132
138
|
* Required
|
|
133
|
-
* Example: 123415437asdd8ccf000023
|
|
134
139
|
*/
|
|
135
140
|
interventionId?: string;
|
|
136
141
|
|
|
137
142
|
/**
|
|
138
|
-
* Language of the content
|
|
143
|
+
* Language of the content
|
|
139
144
|
* Required
|
|
140
145
|
* Example: En
|
|
141
146
|
*/
|
|
142
147
|
language?: string;
|
|
143
148
|
|
|
144
149
|
/**
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
* Private content is NOT supported on every channel.
|
|
150
|
+
* If set to `true`, then the content is publicly visible on remote channel.
|
|
151
|
+
* Private content is NOT supported on every channel
|
|
148
152
|
* Required
|
|
149
153
|
* Default: true
|
|
150
154
|
*/
|
|
151
155
|
public?: boolean;
|
|
152
156
|
|
|
153
157
|
/**
|
|
154
|
-
*
|
|
158
|
+
* If set to `true`, then the content is published on remote channel
|
|
155
159
|
* Required
|
|
156
160
|
* Example: true
|
|
157
161
|
*/
|
|
158
162
|
published?: boolean;
|
|
159
163
|
|
|
160
164
|
/**
|
|
161
|
-
* Rating of the content
|
|
162
|
-
*
|
|
163
|
-
* Present only if the content supports rating and rating is filled.
|
|
165
|
+
* Rating of content. Present only if the content supports rating and rating is filled
|
|
164
166
|
* Required
|
|
165
167
|
* Format: int32
|
|
166
168
|
* Example: 4
|
|
@@ -168,30 +170,27 @@ interface ContentModel {
|
|
|
168
170
|
rating?: number;
|
|
169
171
|
|
|
170
172
|
/**
|
|
171
|
-
*
|
|
173
|
+
* Set to `true` if content has been deleted on remote channel
|
|
172
174
|
* Required
|
|
173
175
|
*/
|
|
174
176
|
remotelyDeleted?: boolean;
|
|
175
177
|
|
|
176
178
|
/**
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
* On creation if `inReplyToContentId` is specified, the channel will be determined from it. Otherwise, this parameter is mandatory.
|
|
179
|
+
* Channel identifier.
|
|
180
180
|
* Required
|
|
181
|
-
* Example:
|
|
181
|
+
* Example: 506d9e817aa58d1259000f12
|
|
182
182
|
*/
|
|
183
|
-
|
|
183
|
+
channelId?: string;
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
|
-
* Type of
|
|
186
|
+
* Type of a channel
|
|
187
187
|
* Required
|
|
188
188
|
*/
|
|
189
|
-
|
|
189
|
+
channelType?:
|
|
190
190
|
| 'AppleMessagesForBusiness'
|
|
191
191
|
| 'Email'
|
|
192
192
|
| 'EngageMessaging'
|
|
193
193
|
| 'Facebook'
|
|
194
|
-
| 'GoogleBusinessMessages'
|
|
195
194
|
| 'GoogleMyBusiness'
|
|
196
195
|
| 'Instagram'
|
|
197
196
|
| 'InstagramMessaging'
|
|
@@ -203,50 +202,47 @@ interface ContentModel {
|
|
|
203
202
|
| 'Youtube';
|
|
204
203
|
|
|
205
204
|
/**
|
|
206
|
-
* External
|
|
205
|
+
* External URI of a content channel
|
|
207
206
|
* Required
|
|
208
207
|
* Format: uri
|
|
209
208
|
*/
|
|
210
|
-
|
|
209
|
+
channelUri?: string;
|
|
211
210
|
|
|
212
211
|
/**
|
|
213
|
-
* Content status
|
|
212
|
+
* Content status
|
|
214
213
|
* Required
|
|
215
214
|
*/
|
|
216
215
|
status?: 'New' | 'Assigned' | 'Replied' | 'UserReply' | 'UserInitiated' | 'Ignored';
|
|
217
216
|
|
|
218
217
|
/**
|
|
219
|
-
* Synchronization status
|
|
218
|
+
* Synchronization status
|
|
220
219
|
* Required
|
|
221
220
|
* Example: success
|
|
222
221
|
*/
|
|
223
222
|
synchronizationStatus?: string;
|
|
224
223
|
|
|
225
224
|
/**
|
|
226
|
-
* Synchronization error details
|
|
225
|
+
* Synchronization error details
|
|
227
226
|
* Required
|
|
228
227
|
*/
|
|
229
228
|
synchronizationError?: string;
|
|
230
229
|
|
|
231
230
|
/**
|
|
232
|
-
* Content thread identifier
|
|
231
|
+
* Content thread identifier
|
|
233
232
|
* Required
|
|
234
233
|
*/
|
|
235
234
|
threadId?: string;
|
|
236
235
|
|
|
237
236
|
/**
|
|
238
|
-
* Applicable to Email channels only.
|
|
239
|
-
*
|
|
240
|
-
* The subject of the email.
|
|
241
|
-
*
|
|
242
|
-
* This field is mandatory when initiating a discussion.
|
|
237
|
+
* Applicable to Email channels only. The subject of the email.
|
|
238
|
+
* This field is mandatory when initiating a discussion
|
|
243
239
|
* Required
|
|
244
240
|
* Example: An email title
|
|
245
241
|
*/
|
|
246
242
|
title?: string;
|
|
247
243
|
|
|
248
244
|
/**
|
|
249
|
-
* Type of the content
|
|
245
|
+
* Type of the content
|
|
250
246
|
* Required
|
|
251
247
|
* Example: Email
|
|
252
248
|
*/
|
|
@@ -294,7 +290,7 @@ interface ContentModel {
|
|
|
294
290
|
lastModifiedTime?: string;
|
|
295
291
|
|
|
296
292
|
/**
|
|
297
|
-
* Types of structured messages that can be used to reply to this type of message
|
|
293
|
+
* Types of structured messages that can be used to reply to this type of message
|
|
298
294
|
* Required
|
|
299
295
|
*/
|
|
300
296
|
capabilitiesSupported?: string[];
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
interface CostCenterBase {
|
|
2
|
+
/**
|
|
3
|
+
* Internal identifier of a cost center
|
|
4
|
+
* Format: int64
|
|
5
|
+
* Example: 981086004
|
|
6
|
+
*/
|
|
7
|
+
id?: number;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Cost Center name
|
|
11
|
+
* Example: My Cost Center
|
|
12
|
+
*/
|
|
13
|
+
name?: string;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Billing code associated with a cost center
|
|
17
|
+
* Example: BC 101
|
|
18
|
+
*/
|
|
19
|
+
billingCode?: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export default CostCenterBase;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type TaxLocation from './TaxLocation';
|
|
2
|
+
|
|
3
|
+
interface CostCenterItem {
|
|
4
|
+
/**
|
|
5
|
+
* Internal identifier of a cost center
|
|
6
|
+
* Format: int64
|
|
7
|
+
* Example: 981086004
|
|
8
|
+
*/
|
|
9
|
+
id?: number;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Cost Center name
|
|
13
|
+
* Example: My Cost Center
|
|
14
|
+
*/
|
|
15
|
+
name?: string;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Billing code associated with a cost center
|
|
19
|
+
* Example: BC 101
|
|
20
|
+
*/
|
|
21
|
+
billingCode?: string;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Required
|
|
25
|
+
*/
|
|
26
|
+
taxLocation?: TaxLocation;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Internal identifier of a parent cost center
|
|
30
|
+
* Format: int64
|
|
31
|
+
* Example: 45878
|
|
32
|
+
*/
|
|
33
|
+
parentId?: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export default CostCenterItem;
|
|
@@ -16,16 +16,16 @@ interface CountryInfoDictionaryModel {
|
|
|
16
16
|
name?: string;
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
19
|
+
* Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
|
|
20
|
+
* Example: US
|
|
21
21
|
*/
|
|
22
22
|
isoCode?: string;
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* Country calling code defined by [ITU-T](http://en.wikipedia.org/wiki/ITU-T)
|
|
26
|
-
* recommendations [E.123](http://en.wikipedia.org/wiki/E.123) and
|
|
27
|
-
* [E.164](http://en.wikipedia.org/wiki/E.164)
|
|
28
|
-
*
|
|
26
|
+
* recommendations, [E.123](http://en.wikipedia.org/wiki/E.123) and
|
|
27
|
+
* [E.164](http://en.wikipedia.org/wiki/E.164).
|
|
28
|
+
* See also [Calling Codes](http://en.wikipedia.org/wiki/List_of_country_calling_codes)
|
|
29
29
|
*/
|
|
30
30
|
callingCode?: string;
|
|
31
31
|
|
|
@@ -16,17 +16,16 @@ interface CountryInfoShortModel {
|
|
|
16
16
|
name?: string;
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* format.
|
|
19
|
+
* Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
|
|
20
|
+
* Example: US
|
|
22
21
|
*/
|
|
23
22
|
isoCode?: string;
|
|
24
23
|
|
|
25
24
|
/**
|
|
26
25
|
* Country calling code defined by [ITU-T](http://en.wikipedia.org/wiki/ITU-T)
|
|
27
|
-
* recommendations [E.123](http://en.wikipedia.org/wiki/E.123) and
|
|
28
|
-
* [E.164](http://en.wikipedia.org/wiki/E.164)
|
|
29
|
-
*
|
|
26
|
+
* recommendations, [E.123](http://en.wikipedia.org/wiki/E.123) and
|
|
27
|
+
* [E.164](http://en.wikipedia.org/wiki/E.164).
|
|
28
|
+
* See also [Calling Codes](http://en.wikipedia.org/wiki/List_of_country_calling_codes)
|
|
30
29
|
*/
|
|
31
30
|
callingCode?: string;
|
|
32
31
|
}
|
|
@@ -37,6 +37,15 @@ interface CreateSiteRequest {
|
|
|
37
37
|
*/
|
|
38
38
|
operator?: SiteOperatorReference;
|
|
39
39
|
|
|
40
|
+
/**
|
|
41
|
+
* Site access status for cross-site limitation
|
|
42
|
+
*/
|
|
43
|
+
siteAccess?: 'Limited' | 'Unlimited';
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
*/
|
|
47
|
+
accessibleSiteIds?: string[];
|
|
48
|
+
|
|
40
49
|
/**
|
|
41
50
|
* Site code value
|
|
42
51
|
*/
|