/**
 * 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>;
};