conekta/conekta-node

View on GitHub
model/api-key-response.ts

Summary

Maintainability
A
0 mins
Test Coverage
/* tslint:disable */
/* eslint-disable */
/**
 * Conekta API
 * Conekta sdk
 *
 * The version of the OpenAPI document: 2.1.0
 * Contact: engineering@conekta.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */



/**
 * api keys model
 * @export
 * @interface ApiKeyResponse
 */
export interface ApiKeyResponse {
    /**
     * Indicates if the api key is active
     * @type {boolean}
     * @memberof ApiKeyResponse
     */
    'active'?: boolean;
    /**
     * Unix timestamp in seconds of when the api key was created
     * @type {number}
     * @memberof ApiKeyResponse
     */
    'created_at'?: number;
    /**
     * Unix timestamp in seconds of when the api key was last updated
     * @type {number}
     * @memberof ApiKeyResponse
     */
    'updated_at'?: number;
    /**
     * Unix timestamp in seconds of when the api key was deleted
     * @type {number}
     * @memberof ApiKeyResponse
     */
    'deactivated_at'?: number | null;
    /**
     * A name or brief explanation of what this api key is used for
     * @type {string}
     * @memberof ApiKeyResponse
     */
    'description'?: string;
    /**
     * Unique identifier of the api key
     * @type {string}
     * @memberof ApiKeyResponse
     */
    'id'?: string;
    /**
     * Indicates if the api key is in production
     * @type {boolean}
     * @memberof ApiKeyResponse
     */
    'livemode'?: boolean;
    /**
     * Indicates if the api key was deleted
     * @type {boolean}
     * @memberof ApiKeyResponse
     */
    'deleted'?: boolean;
    /**
     * Object name, value is \'api_key\'
     * @type {string}
     * @memberof ApiKeyResponse
     */
    'object'?: string;
    /**
     * The first few characters of the authentication_token
     * @type {string}
     * @memberof ApiKeyResponse
     */
    'prefix'?: string;
    /**
     * Indicates if the api key is private or public
     * @type {string}
     * @memberof ApiKeyResponse
     */
    'role'?: string;
}