/** * Linkbreakers API * This is a documentation of all the APIs of Linkbreakers * * The version of the OpenAPI document: 1.118.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Request to create a new link. * @export * @interface CreateLinkRequest */ export interface CreateLinkRequest { /** * Enable conversion tracking by preserving lbid in redirect URL. * @type {boolean} * @memberof CreateLinkRequest */ conversionTracking?: boolean; /** * Optional custom domain ID (UUID). Leave empty to use the default domain. * @type {string} * @memberof CreateLinkRequest */ customDomainId?: string; /** * The destination URL to shorten. This field is required. * @type {string} * @memberof CreateLinkRequest */ destination: string; /** * Directory to organize this link into. If empty, link is created at root level. * @type {string} * @memberof CreateLinkRequest */ directoryId?: string; /** * * @type {string} * @memberof CreateLinkRequest */ fallbackDestination?: string; /** * Optional pre-generated link ID (UUID). * Skipped from the AI tool schema: on a create there is no existing link to * alias, so exposing it only invites the LLM to invent a raw UUID. The system * generates the id and returns it as an alias in the response. * @type {string} * @memberof CreateLinkRequest */ id?: string; /** * A map of string key-value pairs. All values must be strings. Nested objects or arrays are not supported. Maximum of 50 keys. * @type {{ [key: string]: string; }} * @memberof CreateLinkRequest */ metadata?: { [key: string]: string; }; /** * * @type {string} * @memberof CreateLinkRequest */ name?: string; /** * What the user is trying to achieve with this link, in one or two sentences. * Lead scoring weights the link from this, and the link's assistant * conversations read it as context, so it is restated whenever the workflow * changes shape. * @type {string} * @memberof CreateLinkRequest */ purpose?: string; /** * The QR Code design ID (UUID). * @type {string} * @memberof CreateLinkRequest */ qrcodeDesignId?: string; /** * * @type {string} * @memberof CreateLinkRequest */ qrcodeTemplateId?: string; /** * The shortlink (URL slug) for the link. * If not given, a unique one is generated by the system. * @type {string} * @memberof CreateLinkRequest */ shortlink?: string; /** * List of tags to associate with the link. If a tag doesn't exist, it will be created. * @type {Array} * @memberof CreateLinkRequest */ tags?: Array; /** * Wait for QR code generation to complete before returning response. * @type {boolean} * @memberof CreateLinkRequest */ waitForQrcode?: boolean; } /** * Check if a given object implements the CreateLinkRequest interface. */ export declare function instanceOfCreateLinkRequest(value: object): value is CreateLinkRequest; export declare function CreateLinkRequestFromJSON(json: any): CreateLinkRequest; export declare function CreateLinkRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateLinkRequest; export declare function CreateLinkRequestToJSON(json: any): CreateLinkRequest; export declare function CreateLinkRequestToJSONTyped(value?: CreateLinkRequest | null, ignoreDiscriminator?: boolean): any;