n8n-nodes-base
Version:
Base nodes of n8n
41 lines (37 loc) • 945 B
text/typescript
/**
* Intercom Node - Version 1
* Discriminator: resource=company, operation=users
*/
interface Credentials {
intercomApi: CredentialReference;
}
/** Companies allow you to represent commercial organizations using your product */
export type IntercomV1CompanyUsersParams = {
resource: 'company';
operation: 'users';
/**
* List By
*/
listBy?: 'id' | 'companyId' | Expression<string>;
/**
* View by value
*/
value?: string | Expression<string> | PlaceholderValue;
/**
* Whether to return all results or only up to a given limit
* @default false
*/
returnAll?: boolean | Expression<boolean>;
/**
* Max number of results to return
* @displayOptions.show { returnAll: [false] }
* @default 50
*/
limit?: number | Expression<number>;
};
export type IntercomV1CompanyUsersNode = {
type: 'n8n-nodes-base.intercom';
version: 1;
credentials?: Credentials;
config: NodeConfig<IntercomV1CompanyUsersParams>;
};