import type { ConsentStatus } from './ConsentStatus'; import type { ChannelType } from './ChannelType'; /** * @type ConsentSubscriptionRequest: Consent subscription update request * * @property subscriptionId: Identifier for the communication subscription * - **Pattern:** /^[a-z0-9]+(?:-[a-z0-9]+)*$/ * - **Min Length:** 1 * - **Max Length:** 255 * * @property contactPointValue: The customer\'s contact point value, polymorphic based on the channel type as below: - `sms` - Subject\'s phone number in E.164 format, ex: `+1 424 535 3546` - `email` - Subject\'s email address in RFC 5321 & RFC 5322 format, ex: `jack.sparrow@salesforce.com` * - **Min Length:** 3 * - **Max Length:** 320 * * @property channel: * * @property status: * */ export type ConsentSubscriptionRequest = { subscriptionId: string; contactPointValue: string; channel: ChannelType; status: ConsentStatus; } & { [key: string]: any; };