intercom-client
Version:
Official Node bindings to the Intercom API
31 lines (30 loc) • 781 B
TypeScript
/**
* @example
* {
* contact_id: "63a07ddf05a32042dffac965",
* id: "37846",
* consent_type: "opt_in"
* }
*
* @example
* {
* contact_id: "63a07ddf05a32042dffac965",
* id: "37846",
* consent_type: "opt_in"
* }
*
* @example
* {
* contact_id: "63a07ddf05a32042dffac965",
* id: "invalid_id",
* consent_type: "opt_in"
* }
*/
export interface AttachSubscriptionToContactRequest {
/** The unique identifier for the contact which is given by Intercom */
contact_id: string;
/** The unique identifier for the subscription which is given by Intercom */
id: string;
/** The consent_type of a subscription, opt_out or opt_in. */
consent_type: string;
}