/** * Affinity Node - Version 1 * Discriminator: resource=organization, operation=create */ interface Credentials { affinityApi: CredentialReference; } /** Create a list entry */ export type AffinityV1OrganizationCreateParams = { resource: 'organization'; operation: 'create'; /** * The name of the organization */ name?: string | Expression | PlaceholderValue; /** * The domain name of the organization */ domain?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Persons that the new organization will be associated with. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @default [] */ persons?: string[]; }; }; export type AffinityV1OrganizationCreateOutput = { crunchbase_uuid?: null; domain?: string; domains?: Array; global?: boolean; id?: number; name?: string; person_ids?: Array; }; export type AffinityV1OrganizationCreateNode = { type: 'n8n-nodes-base.affinity'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };