intercom-client
Version:
Official Node bindings to the Intercom API
35 lines (34 loc) • 1.35 kB
TypeScript
/**
* This file was auto-generated by Fern from our API Definition.
*/
/**
* @example
* {
* name: "my company",
* company_id: "company_remote_id",
* remote_created_at: 1374138000
* }
*
* @example
* {}
*/
export interface CreateOrUpdateCompanyRequest {
/** The name of the Company */
name?: string;
/** The company id you have defined for the company. Can't be updated */
company_id?: string;
/** The name of the plan you have associated with the company. */
plan?: string;
/** The number of employees in this company. */
size?: number;
/** The URL for this company's website. Please note that the value specified here is not validated. Accepts any string. */
website?: string;
/** The industry that this company operates in. */
industry?: string;
/** A hash of key/value pairs containing any other data about the company you want Intercom to store. */
custom_attributes?: Record<string, unknown>;
/** The time the company was created by you. */
remote_created_at?: number;
/** How much revenue the company generates for your business. Note that this will truncate floats. i.e. it only allow for whole integers, 155.98 will be truncated to 155. Note that this has an upper limit of 2**31-1 or 2147483647.. */
monthly_spend?: number;
}