/** * Onfleet Node - Version 1 * Discriminator: resource=destination, operation=create */ interface Credentials { onfleetApi: CredentialReference; } /** Create a new Onfleet admin */ export type OnfleetV1DestinationCreateParams = { resource: 'destination'; operation: 'create'; /** * The ID of the destination object for lookup */ id?: string | Expression | PlaceholderValue; /** * Whether or not the address is specified in a single unparsed string * @default false */ unparsed?: boolean | Expression; /** * The destination's street address details * @displayOptions.show { unparsed: [true] } */ address?: string | Expression | PlaceholderValue; /** * The number component of this address, it may also contain letters * @displayOptions.show { unparsed: [false] } */ addressNumber?: string | Expression | PlaceholderValue; /** * The name of the street * @displayOptions.show { unparsed: [false] } */ addressStreet?: string | Expression | PlaceholderValue; /** * The name of the municipality * @displayOptions.show { unparsed: [false] } */ addressCity?: string | Expression | PlaceholderValue; /** * The name of the country * @displayOptions.show { unparsed: [false] } */ addressCountry?: string | Expression | PlaceholderValue; /** * Additional Fields * @displayOptions.show { unparsed: [true] } * @default {} */ additionalFields?: { /** The suite or apartment number, or any additional relevant information */ addressApartment?: string | Expression | PlaceholderValue; /** A name associated with this address */ addressName?: string | Expression | PlaceholderValue; /** Notes about the destination */ addressNotes?: string | Expression | PlaceholderValue; }; }; export type OnfleetV1DestinationCreateNode = { type: 'n8n-nodes-base.onfleet'; version: 1; credentials?: Credentials; config: NodeConfig; };