/** * WooCommerce Node - Version 1 * Discriminator: resource=customer, operation=create */ interface Credentials { wooCommerceApi: CredentialReference; } /** Create a customer */ export type WooCommerceV1CustomerCreateParams = { resource: 'customer'; operation: 'create'; /** * Email */ email?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Billing Address * @default {} */ billing?: { /** First Name */ first_name?: string | Expression | PlaceholderValue; /** Last Name */ last_name?: string | Expression | PlaceholderValue; /** Company */ company?: string | Expression | PlaceholderValue; /** Address 1 */ address_1?: string | Expression | PlaceholderValue; /** Address 2 */ address_2?: string | Expression | PlaceholderValue; /** City */ city?: string | Expression | PlaceholderValue; /** State */ state?: string | Expression | PlaceholderValue; /** Postcode */ postcode?: string | Expression | PlaceholderValue; /** Country */ country?: string | Expression | PlaceholderValue; /** Email */ email?: string | Expression | PlaceholderValue; /** Phone */ phone?: string | Expression | PlaceholderValue; }; /** First Name */ first_name?: string | Expression | PlaceholderValue; /** Last Name */ last_name?: string | Expression | PlaceholderValue; /** Metadata * @default {} */ meta_data?: { /** Metadata Fields */ meta_data_fields?: Array<{ /** Key */ key?: string | Expression | PlaceholderValue; /** Value */ value?: string | Expression | PlaceholderValue; }>; }; /** Password */ password?: string | Expression | PlaceholderValue; /** Shipping Address * @default {} */ shipping?: { /** First Name */ first_name?: string | Expression | PlaceholderValue; /** Last Name */ last_name?: string | Expression | PlaceholderValue; /** Company */ company?: string | Expression | PlaceholderValue; /** Address 1 */ address_1?: string | Expression | PlaceholderValue; /** Address 2 */ address_2?: string | Expression | PlaceholderValue; /** City */ city?: string | Expression | PlaceholderValue; /** State */ state?: string | Expression | PlaceholderValue; /** Postcode */ postcode?: string | Expression | PlaceholderValue; /** Country */ country?: string | Expression | PlaceholderValue; /** Email */ email?: string | Expression | PlaceholderValue; /** Phone */ phone?: string | Expression | PlaceholderValue; }; /** Username */ username?: string | Expression | PlaceholderValue; }; }; export type WooCommerceV1CustomerCreateNode = { type: 'n8n-nodes-base.wooCommerce'; version: 1; credentials?: Credentials; config: NodeConfig; };