@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,18 +1,16 @@
|
|
|
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
|
interface ContentModel {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Array of attachments to be added to the content
|
|
7
7
|
* Required
|
|
8
8
|
*/
|
|
9
|
-
attachments?:
|
|
9
|
+
attachments?: SocMsgContentAttachment[];
|
|
10
10
|
/**
|
|
11
|
-
* Identity identifier of the author
|
|
12
|
-
*
|
|
13
|
-
* Not mandatory on creation, by default it uses the token's user first identity on channel.
|
|
11
|
+
* Identity identifier of the content author. Not mandatory on creation,
|
|
12
|
+
* by default it uses the token's user first identity on channel
|
|
14
13
|
* Required
|
|
15
|
-
* Example: 541014e17aa58d8ccf000023
|
|
16
14
|
*/
|
|
17
15
|
authorIdentityId?: string;
|
|
18
16
|
/**
|
|
@@ -24,26 +22,23 @@ interface ContentModel {
|
|
|
24
22
|
*/
|
|
25
23
|
autoSubmitted?: boolean;
|
|
26
24
|
/**
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
25
|
+
* Content body. On creation this field is mandatory except for WhatsApp content
|
|
26
|
+
* using templates. The following are the channels supported and their **max length**
|
|
27
|
+
* restrictions (in brackets):
|
|
30
28
|
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* *
|
|
34
|
-
* *
|
|
35
|
-
* *
|
|
36
|
-
* *
|
|
37
|
-
* *
|
|
38
|
-
* *
|
|
39
|
-
* *
|
|
40
|
-
* *
|
|
41
|
-
* *
|
|
42
|
-
* *
|
|
43
|
-
* *
|
|
44
|
-
* * Viber (max length 7000)
|
|
45
|
-
* * WhatsApp (max length 3800)
|
|
46
|
-
* * Youtube (max length 8000)
|
|
29
|
+
* - *Apple Messages For Business* (10000)
|
|
30
|
+
* - *Email* (262144)
|
|
31
|
+
* - *RingCX Digital Messaging* (1024)
|
|
32
|
+
* - *Facebook* (8000)
|
|
33
|
+
* - *Google My Business* (4000)
|
|
34
|
+
* - *Instagram* (950)
|
|
35
|
+
* - *Instagram Messaging* (1000)
|
|
36
|
+
* - *LinkedIn* (3000)
|
|
37
|
+
* - *Messenger* (2000)
|
|
38
|
+
* - *Twitter* (280)
|
|
39
|
+
* - *Viber* (7000)
|
|
40
|
+
* - *WhatsApp* (3800)
|
|
41
|
+
* - *Youtube* (8000)
|
|
47
42
|
* Required
|
|
48
43
|
* Example: Body of the content
|
|
49
44
|
*/
|
|
@@ -53,16 +48,24 @@ interface ContentModel {
|
|
|
53
48
|
*/
|
|
54
49
|
bodyFormatted?: ContentBodyFormatted;
|
|
55
50
|
/**
|
|
56
|
-
*
|
|
51
|
+
* Content input format
|
|
57
52
|
* Required
|
|
58
53
|
*/
|
|
59
54
|
bodyInputFormat?: 'Text' | 'Html';
|
|
60
55
|
/**
|
|
61
|
-
* List of the category identifiers of the content
|
|
56
|
+
* List of the category identifiers of the content
|
|
62
57
|
* Required
|
|
63
58
|
* Example: 541014e17aa58d8ccf000023,541014e17aa58d8ccf002023
|
|
64
59
|
*/
|
|
65
60
|
categoryIds?: string[];
|
|
61
|
+
/**
|
|
62
|
+
* Direction of the content.
|
|
63
|
+
*
|
|
64
|
+
* * Incoming contents are received from a channel.
|
|
65
|
+
* * Outgoing contents are exported to a channel.
|
|
66
|
+
* Example: Incoming
|
|
67
|
+
*/
|
|
68
|
+
contentDirection?: 'Incoming' | 'Outgoing';
|
|
66
69
|
/**
|
|
67
70
|
*/
|
|
68
71
|
contextData?: ContentContextData;
|
|
@@ -74,135 +77,127 @@ interface ContentModel {
|
|
|
74
77
|
*/
|
|
75
78
|
creationTime?: string;
|
|
76
79
|
/**
|
|
77
|
-
*
|
|
80
|
+
* Source of content
|
|
78
81
|
* Required
|
|
79
82
|
*/
|
|
80
83
|
createdFrom?: 'Synchronizer' | 'Interface' | 'Api' | 'AutoSurvey' | 'AutoResponseTrigger' | 'AutoRequestEmail';
|
|
81
84
|
/**
|
|
82
|
-
*
|
|
85
|
+
* RingCentral user identifier of the creator
|
|
83
86
|
* Required
|
|
84
87
|
* Example: 2683222036
|
|
85
88
|
*/
|
|
86
89
|
creatorId?: string;
|
|
90
|
+
/**
|
|
91
|
+
* True if the content is the first in the thread.
|
|
92
|
+
*/
|
|
93
|
+
firstInThread?: boolean;
|
|
87
94
|
/**
|
|
88
95
|
* External categories of the content.
|
|
89
|
-
*
|
|
90
|
-
* Present only if the content has foreignCategories.
|
|
96
|
+
* Returned only if the content has `foreignCategories`
|
|
91
97
|
* Example: foreign_category_id
|
|
92
98
|
*/
|
|
93
99
|
foreignCategories?: string[];
|
|
94
100
|
/**
|
|
95
|
-
*
|
|
101
|
+
* Content identifier
|
|
96
102
|
* Required
|
|
97
|
-
* Example: 541014e17aa58d8ccf000023
|
|
98
103
|
*/
|
|
99
104
|
id?: string;
|
|
100
105
|
/**
|
|
101
|
-
*
|
|
106
|
+
* Identifier of the content identity to which this content is a reply to.
|
|
107
|
+
* If the channel does not support discussion initiation, this parameter is mandatory
|
|
102
108
|
* Required
|
|
103
|
-
* Example: 541014e17asdd8ccf000023
|
|
104
109
|
*/
|
|
105
110
|
inReplyToAuthorIdentityId?: string;
|
|
106
111
|
/**
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
112
|
+
* Content identifier to which this content is a reply to. On creation, if omitted,
|
|
113
|
+
* a new discussion will be created. If the channel does not support discussion initiation,
|
|
114
|
+
* this parameter is mandatory
|
|
110
115
|
* Required
|
|
111
|
-
* Example: 123414e17asdd8ccf000023
|
|
112
116
|
*/
|
|
113
117
|
inReplyToContentId?: string;
|
|
114
118
|
/**
|
|
115
|
-
*
|
|
119
|
+
* Intervention identifier of the content
|
|
116
120
|
* Required
|
|
117
|
-
* Example: 123415437asdd8ccf000023
|
|
118
121
|
*/
|
|
119
122
|
interventionId?: string;
|
|
120
123
|
/**
|
|
121
|
-
* Language of the content
|
|
124
|
+
* Language of the content
|
|
122
125
|
* Required
|
|
123
126
|
* Example: En
|
|
124
127
|
*/
|
|
125
128
|
language?: string;
|
|
126
129
|
/**
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
* Private content is NOT supported on every channel.
|
|
130
|
+
* If set to `true`, then the content is publicly visible on remote channel.
|
|
131
|
+
* Private content is NOT supported on every channel
|
|
130
132
|
* Required
|
|
131
133
|
* Default: true
|
|
132
134
|
*/
|
|
133
135
|
public?: boolean;
|
|
134
136
|
/**
|
|
135
|
-
*
|
|
137
|
+
* If set to `true`, then the content is published on remote channel
|
|
136
138
|
* Required
|
|
137
139
|
* Example: true
|
|
138
140
|
*/
|
|
139
141
|
published?: boolean;
|
|
140
142
|
/**
|
|
141
|
-
* Rating of the content
|
|
142
|
-
*
|
|
143
|
-
* Present only if the content supports rating and rating is filled.
|
|
143
|
+
* Rating of content. Present only if the content supports rating and rating is filled
|
|
144
144
|
* Required
|
|
145
145
|
* Format: int32
|
|
146
146
|
* Example: 4
|
|
147
147
|
*/
|
|
148
148
|
rating?: number;
|
|
149
149
|
/**
|
|
150
|
-
*
|
|
150
|
+
* Set to `true` if content has been deleted on remote channel
|
|
151
151
|
* Required
|
|
152
152
|
*/
|
|
153
153
|
remotelyDeleted?: boolean;
|
|
154
154
|
/**
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
* On creation if `inReplyToContentId` is specified, the channel will be determined from it. Otherwise, this parameter is mandatory.
|
|
155
|
+
* Channel identifier.
|
|
158
156
|
* Required
|
|
159
|
-
* Example:
|
|
157
|
+
* Example: 506d9e817aa58d1259000f12
|
|
160
158
|
*/
|
|
161
|
-
|
|
159
|
+
channelId?: string;
|
|
162
160
|
/**
|
|
163
|
-
* Type of
|
|
161
|
+
* Type of a channel
|
|
164
162
|
* Required
|
|
165
163
|
*/
|
|
166
|
-
|
|
164
|
+
channelType?: 'AppleMessagesForBusiness' | 'Email' | 'EngageMessaging' | 'Facebook' | 'GoogleMyBusiness' | 'Instagram' | 'InstagramMessaging' | 'Linkedin' | 'Messenger' | 'Twitter' | 'Viber' | 'WhatsApp' | 'Youtube';
|
|
167
165
|
/**
|
|
168
|
-
* External
|
|
166
|
+
* External URI of a content channel
|
|
169
167
|
* Required
|
|
170
168
|
* Format: uri
|
|
171
169
|
*/
|
|
172
|
-
|
|
170
|
+
channelUri?: string;
|
|
173
171
|
/**
|
|
174
|
-
* Content status
|
|
172
|
+
* Content status
|
|
175
173
|
* Required
|
|
176
174
|
*/
|
|
177
175
|
status?: 'New' | 'Assigned' | 'Replied' | 'UserReply' | 'UserInitiated' | 'Ignored';
|
|
178
176
|
/**
|
|
179
|
-
* Synchronization status
|
|
177
|
+
* Synchronization status
|
|
180
178
|
* Required
|
|
181
179
|
* Example: success
|
|
182
180
|
*/
|
|
183
181
|
synchronizationStatus?: string;
|
|
184
182
|
/**
|
|
185
|
-
* Synchronization error details
|
|
183
|
+
* Synchronization error details
|
|
186
184
|
* Required
|
|
187
185
|
*/
|
|
188
186
|
synchronizationError?: string;
|
|
189
187
|
/**
|
|
190
|
-
* Content thread identifier
|
|
188
|
+
* Content thread identifier
|
|
191
189
|
* Required
|
|
192
190
|
*/
|
|
193
191
|
threadId?: string;
|
|
194
192
|
/**
|
|
195
|
-
* Applicable to Email channels only.
|
|
196
|
-
*
|
|
197
|
-
* The subject of the email.
|
|
198
|
-
*
|
|
199
|
-
* This field is mandatory when initiating a discussion.
|
|
193
|
+
* Applicable to Email channels only. The subject of the email.
|
|
194
|
+
* This field is mandatory when initiating a discussion
|
|
200
195
|
* Required
|
|
201
196
|
* Example: An email title
|
|
202
197
|
*/
|
|
203
198
|
title?: string;
|
|
204
199
|
/**
|
|
205
|
-
* Type of the content
|
|
200
|
+
* Type of the content
|
|
206
201
|
* Required
|
|
207
202
|
* Example: Email
|
|
208
203
|
*/
|
|
@@ -215,7 +210,7 @@ interface ContentModel {
|
|
|
215
210
|
*/
|
|
216
211
|
lastModifiedTime?: string;
|
|
217
212
|
/**
|
|
218
|
-
* Types of structured messages that can be used to reply to this type of message
|
|
213
|
+
* Types of structured messages that can be used to reply to this type of message
|
|
219
214
|
* Required
|
|
220
215
|
*/
|
|
221
216
|
capabilitiesSupported?: string[];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
interface CostCenterBase {
|
|
2
|
+
/**
|
|
3
|
+
* Internal identifier of a cost center
|
|
4
|
+
* Format: int64
|
|
5
|
+
* Example: 981086004
|
|
6
|
+
*/
|
|
7
|
+
id?: number;
|
|
8
|
+
/**
|
|
9
|
+
* Cost Center name
|
|
10
|
+
* Example: My Cost Center
|
|
11
|
+
*/
|
|
12
|
+
name?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Billing code associated with a cost center
|
|
15
|
+
* Example: BC 101
|
|
16
|
+
*/
|
|
17
|
+
billingCode?: string;
|
|
18
|
+
}
|
|
19
|
+
export default CostCenterBase;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CostCenterBase.js","sourceRoot":"","sources":["../../src/definitions/CostCenterBase.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type TaxLocation from './TaxLocation';
|
|
2
|
+
interface CostCenterItem {
|
|
3
|
+
/**
|
|
4
|
+
* Internal identifier of a cost center
|
|
5
|
+
* Format: int64
|
|
6
|
+
* Example: 981086004
|
|
7
|
+
*/
|
|
8
|
+
id?: number;
|
|
9
|
+
/**
|
|
10
|
+
* Cost Center name
|
|
11
|
+
* Example: My Cost Center
|
|
12
|
+
*/
|
|
13
|
+
name?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Billing code associated with a cost center
|
|
16
|
+
* Example: BC 101
|
|
17
|
+
*/
|
|
18
|
+
billingCode?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Required
|
|
21
|
+
*/
|
|
22
|
+
taxLocation?: TaxLocation;
|
|
23
|
+
/**
|
|
24
|
+
* Internal identifier of a parent cost center
|
|
25
|
+
* Format: int64
|
|
26
|
+
* Example: 45878
|
|
27
|
+
*/
|
|
28
|
+
parentId?: number;
|
|
29
|
+
}
|
|
30
|
+
export default CostCenterItem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CostCenterItem.js","sourceRoot":"","sources":["../../src/definitions/CostCenterItem.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CostCenterList.js","sourceRoot":"","sources":["../../src/definitions/CostCenterList.ts"],"names":[],"mappings":""}
|
|
@@ -13,15 +13,15 @@ interface CountryInfoDictionaryModel {
|
|
|
13
13
|
*/
|
|
14
14
|
name?: string;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
17
|
-
*
|
|
16
|
+
* Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
|
|
17
|
+
* Example: US
|
|
18
18
|
*/
|
|
19
19
|
isoCode?: string;
|
|
20
20
|
/**
|
|
21
21
|
* Country calling code defined by [ITU-T](http://en.wikipedia.org/wiki/ITU-T)
|
|
22
|
-
* recommendations [E.123](http://en.wikipedia.org/wiki/E.123) and
|
|
23
|
-
* [E.164](http://en.wikipedia.org/wiki/E.164)
|
|
24
|
-
*
|
|
22
|
+
* recommendations, [E.123](http://en.wikipedia.org/wiki/E.123) and
|
|
23
|
+
* [E.164](http://en.wikipedia.org/wiki/E.164).
|
|
24
|
+
* See also [Calling Codes](http://en.wikipedia.org/wiki/List_of_country_calling_codes)
|
|
25
25
|
*/
|
|
26
26
|
callingCode?: string;
|
|
27
27
|
/**
|
|
@@ -13,16 +13,15 @@ interface CountryInfoShortModel {
|
|
|
13
13
|
*/
|
|
14
14
|
name?: string;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* format.
|
|
16
|
+
* Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
|
|
17
|
+
* Example: US
|
|
19
18
|
*/
|
|
20
19
|
isoCode?: string;
|
|
21
20
|
/**
|
|
22
21
|
* Country calling code defined by [ITU-T](http://en.wikipedia.org/wiki/ITU-T)
|
|
23
|
-
* recommendations [E.123](http://en.wikipedia.org/wiki/E.123) and
|
|
24
|
-
* [E.164](http://en.wikipedia.org/wiki/E.164)
|
|
25
|
-
*
|
|
22
|
+
* recommendations, [E.123](http://en.wikipedia.org/wiki/E.123) and
|
|
23
|
+
* [E.164](http://en.wikipedia.org/wiki/E.164).
|
|
24
|
+
* See also [Calling Codes](http://en.wikipedia.org/wiki/List_of_country_calling_codes)
|
|
26
25
|
*/
|
|
27
26
|
callingCode?: string;
|
|
28
27
|
}
|
|
@@ -29,6 +29,13 @@ interface CreateSiteRequest {
|
|
|
29
29
|
/**
|
|
30
30
|
*/
|
|
31
31
|
operator?: SiteOperatorReference;
|
|
32
|
+
/**
|
|
33
|
+
* Site access status for cross-site limitation
|
|
34
|
+
*/
|
|
35
|
+
siteAccess?: 'Limited' | 'Unlimited';
|
|
36
|
+
/**
|
|
37
|
+
*/
|
|
38
|
+
accessibleSiteIds?: string[];
|
|
32
39
|
/**
|
|
33
40
|
* Site code value
|
|
34
41
|
*/
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import type ContentContextData from './ContentContextData';
|
|
2
|
+
/**
|
|
3
|
+
* Request body for operation createSocialMessagingContent
|
|
4
|
+
*/
|
|
5
|
+
interface CreateSocialMessagingContentRequest {
|
|
6
|
+
/**
|
|
7
|
+
* Identity identifier of the content author. Not mandatory on creation,
|
|
8
|
+
* by default it uses the token's user first identity on channel
|
|
9
|
+
*/
|
|
10
|
+
authorIdentityId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Content body. On creation this field is mandatory except for WhatsApp content
|
|
13
|
+
* using templates. The following are the channels supported and their **max length**
|
|
14
|
+
* restrictions (in brackets):
|
|
15
|
+
*
|
|
16
|
+
* - *Apple Messages For Business* (10000)
|
|
17
|
+
* - *Email* (262144)
|
|
18
|
+
* - *RingCX Digital Messaging* (1024)
|
|
19
|
+
* - *Facebook* (8000)
|
|
20
|
+
* - *Google My Business* (4000)
|
|
21
|
+
* - *Instagram* (950)
|
|
22
|
+
* - *Instagram Messaging* (1000)
|
|
23
|
+
* - *LinkedIn* (3000)
|
|
24
|
+
* - *Messenger* (2000)
|
|
25
|
+
* - *Twitter* (280)
|
|
26
|
+
* - *Viber* (7000)
|
|
27
|
+
* - *WhatsApp* (3800)
|
|
28
|
+
* - *Youtube* (8000)
|
|
29
|
+
* Example: Body of the content
|
|
30
|
+
*/
|
|
31
|
+
body?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Content identifier to which this content is a reply to. On creation, if omitted,
|
|
34
|
+
* a new discussion will be created. If the channel does not support discussion initiation,
|
|
35
|
+
* this parameter is mandatory
|
|
36
|
+
*/
|
|
37
|
+
inReplyToContentId?: string;
|
|
38
|
+
/**
|
|
39
|
+
* If set to `true`, then the content is publicly visible on remote channel.
|
|
40
|
+
* Private content is NOT supported on every channel
|
|
41
|
+
* Default: true
|
|
42
|
+
*/
|
|
43
|
+
public?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Channel identifier.
|
|
46
|
+
* Example: 506d9e817aa58d1259000f12
|
|
47
|
+
*/
|
|
48
|
+
channelId?: string;
|
|
49
|
+
/**
|
|
50
|
+
* List of attachment identifiers to be added to the content
|
|
51
|
+
* Example: 541014e17aa58d8ccf000023,541014e17aa58d8ccf000023
|
|
52
|
+
*/
|
|
53
|
+
attachmentIds?: string[];
|
|
54
|
+
/**
|
|
55
|
+
* Applicable to Email channels only. The subject of the email.
|
|
56
|
+
* This field is mandatory when initiating a discussion
|
|
57
|
+
* Example: An email title
|
|
58
|
+
*/
|
|
59
|
+
title?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Applicable to Email channels only.
|
|
62
|
+
* An array containing the email addresses used in sections of the email.
|
|
63
|
+
* This parameter is mandatory when initiating a discussion
|
|
64
|
+
*/
|
|
65
|
+
to?: string[];
|
|
66
|
+
/**
|
|
67
|
+
* Applicable to Email channels only.
|
|
68
|
+
* An array containing the email addresses used in sections of the email.
|
|
69
|
+
* This parameter is mandatory when initiating a discussion
|
|
70
|
+
*/
|
|
71
|
+
cc?: string[];
|
|
72
|
+
/**
|
|
73
|
+
* Applicable to Email channels only.
|
|
74
|
+
* An array containing the email addresses used in sections of the email.
|
|
75
|
+
* This parameter is mandatory when initiating a discussion
|
|
76
|
+
*/
|
|
77
|
+
bcc?: string[];
|
|
78
|
+
/**
|
|
79
|
+
* Applicable to WhatsApp channels only. Name of the WhatsApp template to use for the content.
|
|
80
|
+
* All available template names are visible on the WhatsApp Business Manager interface
|
|
81
|
+
* Example: customer_order_shipment_template
|
|
82
|
+
*/
|
|
83
|
+
templateName?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Applicable to WhatsApp channels only. Language of the WhatsApp template
|
|
86
|
+
* to use for the content. All available template languages are visible on
|
|
87
|
+
* the WhatsApp Business Manager interface. Language specified must conform
|
|
88
|
+
* to the ISO 639-1 alpha-2 codes for representing the names of languages
|
|
89
|
+
* Example: fr
|
|
90
|
+
*/
|
|
91
|
+
templateLanguage?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Applicable to WhatsApp channels only. Component configuration of the WhatsApp
|
|
94
|
+
* template to use for the content. All available components are visible on
|
|
95
|
+
* the WhatsApp Business Manager interface
|
|
96
|
+
* Example: [object Object],[object Object]
|
|
97
|
+
*/
|
|
98
|
+
components?: object[];
|
|
99
|
+
/**
|
|
100
|
+
*/
|
|
101
|
+
contextData?: ContentContextData;
|
|
102
|
+
/**
|
|
103
|
+
* Auto submitted content:
|
|
104
|
+
* - won't reopen tasks or interventions
|
|
105
|
+
* - can be used to send automatic messages like asking an user to follow on twitter, sending a survey, etc,
|
|
106
|
+
* - doesn't get included in statistics
|
|
107
|
+
*/
|
|
108
|
+
autoSubmitted?: boolean;
|
|
109
|
+
}
|
|
110
|
+
export default CreateSocialMessagingContentRequest;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateSocialMessagingContentRequest.js","sourceRoot":"","sources":["../../src/definitions/CreateSocialMessagingContentRequest.ts"],"names":[],"mappings":""}
|
|
@@ -9,7 +9,8 @@ interface CreateUserEmergencyLocationRequest {
|
|
|
9
9
|
*/
|
|
10
10
|
addressFormatId?: string;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Specifies emergency address validation during the ERL creation/update.
|
|
13
|
+
* If set to 'true', then address validation for non-US addresses is skipped
|
|
13
14
|
*/
|
|
14
15
|
trusted?: boolean;
|
|
15
16
|
/**
|
|
@@ -38,7 +38,8 @@ interface DeviceEmergencyServiceAddressResourceAu {
|
|
|
38
38
|
*/
|
|
39
39
|
countryId?: string;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
|
|
42
|
+
* Example: US
|
|
42
43
|
*/
|
|
43
44
|
countryIsoCode?: string;
|
|
44
45
|
/**
|
|
@@ -38,7 +38,8 @@ interface DeviceEmergencyServiceAddressResourceDefault {
|
|
|
38
38
|
*/
|
|
39
39
|
countryId?: string;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
|
|
42
|
+
* Example: US
|
|
42
43
|
*/
|
|
43
44
|
countryIsoCode?: string;
|
|
44
45
|
/**
|
|
@@ -38,7 +38,8 @@ interface DeviceEmergencyServiceAddressResourceFr {
|
|
|
38
38
|
*/
|
|
39
39
|
countryId?: string;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format
|
|
42
|
+
* Example: US
|
|
42
43
|
*/
|
|
43
44
|
countryIsoCode?: string;
|
|
44
45
|
/**
|
|
@@ -80,7 +80,8 @@ interface DeviceResource {
|
|
|
80
80
|
*/
|
|
81
81
|
useAsCommonPhone?: boolean;
|
|
82
82
|
/**
|
|
83
|
-
*
|
|
83
|
+
* Indicates whether this device is used for hot desking or not.
|
|
84
|
+
* Returned if `useAsCommonPhone` is set to false
|
|
84
85
|
*/
|
|
85
86
|
hotDeskDevice?: boolean;
|
|
86
87
|
/**
|
|
@@ -12,9 +12,9 @@ interface EmailRecipientInfo {
|
|
|
12
12
|
*/
|
|
13
13
|
extensionNumber?: string;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Extension status
|
|
16
16
|
*/
|
|
17
|
-
status?: 'Enabled' | '
|
|
17
|
+
status?: 'Enabled' | 'Disabled' | 'Frozen' | 'NotActivated' | 'Unassigned';
|
|
18
18
|
/**
|
|
19
19
|
* List of user email addresses from extension notification settings.
|
|
20
20
|
* By default, main email address from contact information is returned
|