/** * Bitly Node - Version 1 * Discriminator: resource=link, operation=create */ interface Credentials { bitlyApi: CredentialReference; bitlyOAuth2Api: CredentialReference; } /** Create a link */ export type BitlyV1LinkCreateParams = { resource: 'link'; operation: 'create'; authentication?: 'accessToken' | 'oAuth2' | Expression; /** * Long URL */ longUrl?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Domain * @default bit.ly */ domain?: string | Expression | PlaceholderValue; /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ group?: string | Expression; /** Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a> * @default [] */ tags?: string[]; /** Title */ title?: string | Expression | PlaceholderValue; }; /** * Deeplinks * @default {} */ deeplink?: { /** Deep Link */ deeplinkUi?: Array<{ /** App ID */ appId?: string | Expression | PlaceholderValue; /** App URI Path */ appUriPath?: string | Expression | PlaceholderValue; /** Install Type */ installType?: string | Expression | PlaceholderValue; /** Install URL */ installUrl?: string | Expression | PlaceholderValue; }>; }; }; export type BitlyV1LinkCreateOutput = { archived?: boolean; created_at?: string; id?: string; link?: string; long_url?: string; references?: { group?: string; }; tags?: Array; }; export type BitlyV1LinkCreateNode = { type: 'n8n-nodes-base.bitly'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };