/** * 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. */ import * as runtime from '../runtime'; import type { ApplyQrcodeTemplateRequest, ApplyQrcodeTemplateResponse, GetQrcodeDesignResponse, PublicCreateQrcodeDesignRequest, PublicCreateQrcodeDesignResponse, QrcodeDesignServiceUpdateBody, UpdateQrcodeDesignResponse } from '../models/index'; export interface QrcodeDesignServiceApplyTemplateRequest { applyQrcodeTemplateRequest: ApplyQrcodeTemplateRequest; } export interface QrcodeDesignServiceDeleteRequest { id: string; } export interface QrcodeDesignServiceGetRequest { id: string; } export interface QrcodeDesignServicePublicCreateRequest { publicCreateQrcodeDesignRequest: PublicCreateQrcodeDesignRequest; } export interface QrcodeDesignServiceUpdateRequest { id: string; qrcodeDesignServiceUpdateBody: QrcodeDesignServiceUpdateBody; } /** * QRCodeDesignsApi - interface * * @export * @interface QRCodeDesignsApiInterface */ export interface QRCodeDesignsApiInterface { /** * Creates request options for qrcodeDesignServiceApplyTemplate without sending the request * @param {ApplyQrcodeTemplateRequest} applyQrcodeTemplateRequest * @throws {RequiredError} * @memberof QRCodeDesignsApiInterface */ qrcodeDesignServiceApplyTemplateRequestOpts(requestParameters: QrcodeDesignServiceApplyTemplateRequest): Promise; /** * Copy all design settings from a community QR code template to an existing link\'s QR code design. This replaces the current design with the template\'s styling. * @summary Apply a QR code template to a link * @param {ApplyQrcodeTemplateRequest} applyQrcodeTemplateRequest * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof QRCodeDesignsApiInterface */ qrcodeDesignServiceApplyTemplateRaw(requestParameters: QrcodeDesignServiceApplyTemplateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Copy all design settings from a community QR code template to an existing link\'s QR code design. This replaces the current design with the template\'s styling. * Apply a QR code template to a link */ qrcodeDesignServiceApplyTemplate(requestParameters: QrcodeDesignServiceApplyTemplateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for qrcodeDesignServiceDelete without sending the request * @param {string} id The ID of the QR code design to delete * @throws {RequiredError} * @memberof QRCodeDesignsApiInterface */ qrcodeDesignServiceDeleteRequestOpts(requestParameters: QrcodeDesignServiceDeleteRequest): Promise; /** * Remove a QR code design that is no longer in use by any assets. * @summary Delete a QR code design * @param {string} id The ID of the QR code design to delete * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof QRCodeDesignsApiInterface */ qrcodeDesignServiceDeleteRaw(requestParameters: QrcodeDesignServiceDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Remove a QR code design that is no longer in use by any assets. * Delete a QR code design */ qrcodeDesignServiceDelete(requestParameters: QrcodeDesignServiceDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for qrcodeDesignServiceGet without sending the request * @param {string} id The ID of the QR code design to get (UUID) * @throws {RequiredError} * @memberof QRCodeDesignsApiInterface */ qrcodeDesignServiceGetRequestOpts(requestParameters: QrcodeDesignServiceGetRequest): Promise; /** * Fetch a QR code design by its identifier including computed metadata. * @summary Get a QR code design * @param {string} id The ID of the QR code design to get (UUID) * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof QRCodeDesignsApiInterface */ qrcodeDesignServiceGetRaw(requestParameters: QrcodeDesignServiceGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Fetch a QR code design by its identifier including computed metadata. * Get a QR code design */ qrcodeDesignServiceGet(requestParameters: QrcodeDesignServiceGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for qrcodeDesignServicePublicCreate without sending the request * @param {PublicCreateQrcodeDesignRequest} publicCreateQrcodeDesignRequest * @throws {RequiredError} * @memberof QRCodeDesignsApiInterface */ qrcodeDesignServicePublicCreateRequestOpts(requestParameters: QrcodeDesignServicePublicCreateRequest): Promise; /** * Provision a QR code styling preset that can be reused across links or templates. * @summary Create a new QR code design * @param {PublicCreateQrcodeDesignRequest} publicCreateQrcodeDesignRequest * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof QRCodeDesignsApiInterface */ qrcodeDesignServicePublicCreateRaw(requestParameters: QrcodeDesignServicePublicCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Provision a QR code styling preset that can be reused across links or templates. * Create a new QR code design */ qrcodeDesignServicePublicCreate(requestParameters: QrcodeDesignServicePublicCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for qrcodeDesignServiceUpdate without sending the request * @param {string} id The ID of the QR code design to update (UUID) * @param {QrcodeDesignServiceUpdateBody} qrcodeDesignServiceUpdateBody * @throws {RequiredError} * @memberof QRCodeDesignsApiInterface */ qrcodeDesignServiceUpdateRequestOpts(requestParameters: QrcodeDesignServiceUpdateRequest): Promise; /** * Apply styling tweaks or media changes to an existing QR code design. * @summary Update a QR code design * @param {string} id The ID of the QR code design to update (UUID) * @param {QrcodeDesignServiceUpdateBody} qrcodeDesignServiceUpdateBody * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof QRCodeDesignsApiInterface */ qrcodeDesignServiceUpdateRaw(requestParameters: QrcodeDesignServiceUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Apply styling tweaks or media changes to an existing QR code design. * Update a QR code design */ qrcodeDesignServiceUpdate(requestParameters: QrcodeDesignServiceUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; } /** * */ export declare class QRCodeDesignsApi extends runtime.BaseAPI implements QRCodeDesignsApiInterface { /** * Creates request options for qrcodeDesignServiceApplyTemplate without sending the request */ qrcodeDesignServiceApplyTemplateRequestOpts(requestParameters: QrcodeDesignServiceApplyTemplateRequest): Promise; /** * Copy all design settings from a community QR code template to an existing link\'s QR code design. This replaces the current design with the template\'s styling. * Apply a QR code template to a link */ qrcodeDesignServiceApplyTemplateRaw(requestParameters: QrcodeDesignServiceApplyTemplateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Copy all design settings from a community QR code template to an existing link\'s QR code design. This replaces the current design with the template\'s styling. * Apply a QR code template to a link */ qrcodeDesignServiceApplyTemplate(requestParameters: QrcodeDesignServiceApplyTemplateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for qrcodeDesignServiceDelete without sending the request */ qrcodeDesignServiceDeleteRequestOpts(requestParameters: QrcodeDesignServiceDeleteRequest): Promise; /** * Remove a QR code design that is no longer in use by any assets. * Delete a QR code design */ qrcodeDesignServiceDeleteRaw(requestParameters: QrcodeDesignServiceDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Remove a QR code design that is no longer in use by any assets. * Delete a QR code design */ qrcodeDesignServiceDelete(requestParameters: QrcodeDesignServiceDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for qrcodeDesignServiceGet without sending the request */ qrcodeDesignServiceGetRequestOpts(requestParameters: QrcodeDesignServiceGetRequest): Promise; /** * Fetch a QR code design by its identifier including computed metadata. * Get a QR code design */ qrcodeDesignServiceGetRaw(requestParameters: QrcodeDesignServiceGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Fetch a QR code design by its identifier including computed metadata. * Get a QR code design */ qrcodeDesignServiceGet(requestParameters: QrcodeDesignServiceGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for qrcodeDesignServicePublicCreate without sending the request */ qrcodeDesignServicePublicCreateRequestOpts(requestParameters: QrcodeDesignServicePublicCreateRequest): Promise; /** * Provision a QR code styling preset that can be reused across links or templates. * Create a new QR code design */ qrcodeDesignServicePublicCreateRaw(requestParameters: QrcodeDesignServicePublicCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Provision a QR code styling preset that can be reused across links or templates. * Create a new QR code design */ qrcodeDesignServicePublicCreate(requestParameters: QrcodeDesignServicePublicCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for qrcodeDesignServiceUpdate without sending the request */ qrcodeDesignServiceUpdateRequestOpts(requestParameters: QrcodeDesignServiceUpdateRequest): Promise; /** * Apply styling tweaks or media changes to an existing QR code design. * Update a QR code design */ qrcodeDesignServiceUpdateRaw(requestParameters: QrcodeDesignServiceUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Apply styling tweaks or media changes to an existing QR code design. * Update a QR code design */ qrcodeDesignServiceUpdate(requestParameters: QrcodeDesignServiceUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; }