/** * Onfleet Node - Version 1 * Discriminator: resource=recipient, operation=create */ interface Credentials { onfleetApi: CredentialReference; } /** Create a new Onfleet admin */ export type OnfleetV1RecipientCreateParams = { resource: 'recipient'; operation: 'create'; /** * The recipient's complete name */ recipientName?: string | Expression | PlaceholderValue; /** * A unique, valid phone number as per the organization's country if there's no leading + sign. If a phone number has a leading + sign, it will disregard the organization's country setting. */ recipientPhone?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Notes for this recipient: these are global notes that should not be task- or destination-specific */ recipientNotes?: string | Expression | PlaceholderValue; /** Whether this recipient has requested to skip SMS notifications * @default false */ recipientSkipSMSNotifications?: boolean | Expression; }; /** * Options * @default {} */ options?: { /** Whether to skip validation for this recipient's phone number * @default false */ recipientSkipPhoneNumberValidation?: boolean | Expression; }; }; export type OnfleetV1RecipientCreateNode = { type: 'n8n-nodes-base.onfleet'; version: 1; credentials?: Credentials; config: NodeConfig; };