intercom-client
Version:
Official Node bindings to the Intercom API
36 lines (35 loc) • 866 B
TypeScript
/**
* This file was auto-generated by Fern from our API Definition.
*/
/**
* @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;
}