Skip to content

Variable: subscriberSchema

const subscriberSchema: ZodObject<{ destination_subscriber: ZodOptional<ZodObject<{ destination_id: ZodString; }, $strip>>; user_subscriber: ZodOptional<ZodObject<{ user_id: ZodNumber; }, $strip>>; }, $strip>

  • destination_subscriber (optional): The destination to receive the subscription email. This parameter is mutually exclusive with user_subscriber.
  • destination_subscriber.destination_id: The canonical identifier of the destination to receive email notification.
  • user_subscriber (optional): The user to receive the subscription email. This parameter is mutually exclusive with destination_subscriber.
  • user_subscriber.user_id: UserId of the subscriber.