@apideck/node
Version:
Apideck Node.js SDK
122 lines (121 loc) • 2.81 kB
TypeScript
/**
* Apideck
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.13.0
* Contact: support@apideck.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { AuthType } from './AuthType';
import { ConnectionState } from './ConnectionState';
/**
*
* @export
* @interface ConsumerConnection
*/
export interface ConsumerConnection {
/**
*
* @type {string}
* @memberof ConsumerConnection
*/
readonly id?: string;
/**
*
* @type {string}
* @memberof ConsumerConnection
*/
name?: string;
/**
*
* @type {string}
* @memberof ConsumerConnection
*/
icon?: string;
/**
*
* @type {string}
* @memberof ConsumerConnection
*/
logo?: string;
/**
*
* @type {string}
* @memberof ConsumerConnection
*/
readonly website?: string;
/**
*
* @type {string}
* @memberof ConsumerConnection
*/
readonly tag_line?: string;
/**
*
* @type {string}
* @memberof ConsumerConnection
*/
service_id?: string;
/**
*
* @type {string}
* @memberof ConsumerConnection
*/
unified_api?: string;
/**
*
* @type {string}
* @memberof ConsumerConnection
*/
consumer_id?: string;
/**
*
* @type {AuthType}
* @memberof ConsumerConnection
*/
auth_type?: AuthType;
/**
*
* @type {boolean}
* @memberof ConsumerConnection
*/
enabled?: boolean;
/**
* Connection settings. Values will persist to `form_fields` with corresponding id
* @type {object}
* @memberof ConsumerConnection
*/
settings?: object | null;
/**
* Attach your own consumer specific metadata
* @type {{ [key: string]: unknown; }}
* @memberof ConsumerConnection
*/
metadata?: {
[key: string]: unknown;
} | null;
/**
*
* @type {string}
* @memberof ConsumerConnection
*/
created_at?: string;
/**
*
* @type {string}
* @memberof ConsumerConnection
*/
updated_at?: string | null;
/**
*
* @type {ConnectionState}
* @memberof ConsumerConnection
*/
state?: ConnectionState;
}
export declare function ConsumerConnectionFromJSON(json: any): ConsumerConnection;
export declare function ConsumerConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConsumerConnection;
export declare function ConsumerConnectionToJSON(value?: ConsumerConnection | null): any;