Skip to content
Snippets Groups Projects
Select Git revision
  • a186748b4f61c17ea2837b4c593b58bd8de50caa
  • main default protected
  • in-out-painting
3 results

main.py

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    api.ts 19.25 KiB
    /* tslint:disable */
    /* eslint-disable */
    /**
     * Coscine.Api.Token
     * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
     *
     * The version of the OpenAPI document: 2.0.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 { Configuration } from './configuration';
    import globalAxios, { AxiosPromise, AxiosInstance } from 'axios';
    // Some imports not used depending on template conditions
    // @ts-ignore
    import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
    // @ts-ignore
    import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
    
    /**
     * Used to parse the json request for add token.
     * @export
     * @interface AddApiTokenParameter
     */
    export interface AddApiTokenParameter {
        /**
         * Gets or sets the name of the token. 
         * @type {string}
         * @memberof AddApiTokenParameter
         */
        name?: string | null;
        /**
         * Gets or sets the expiration of the token. 
         * @type {number}
         * @memberof AddApiTokenParameter
         */
        expiration?: number | null;
    }
    /**
     * 
     * @export
     * @interface ApiTokenObject
     */
    export interface ApiTokenObject {
        /**
         * 
         * @type {string}
         * @memberof ApiTokenObject
         */
        tokenId?: string;
        /**
         * 
         * @type {string}
         * @memberof ApiTokenObject
         */
        name?: string | null;
        /**
         * 
         * @type {string}
         * @memberof ApiTokenObject
         */
        created?: string;
        /**
         * 
         * @type {string}
         * @memberof ApiTokenObject