UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

82 lines (81 loc) 2.1 kB
/** * OpenPay API * super charge your subscription management. * * The version of the OpenAPI document: 1.2.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface StringConfigField */ export interface StringConfigField { /** * * @type {string} * @memberof StringConfigField */ defaultValue?: string | null; /** * * @type {string} * @memberof StringConfigField */ description?: string | null; /** * The key of the field in the config. * @type {string} * @memberof StringConfigField */ key: string; /** * * @type {number} * @memberof StringConfigField */ maxLength?: number | null; /** * * @type {number} * @memberof StringConfigField */ minLength?: number | null; /** * The name of the field. * @type {string} * @memberof StringConfigField */ name: string; /** * * @type {string} * @memberof StringConfigField */ type?: StringConfigFieldTypeEnum; /** * * @type {string} * @memberof StringConfigField */ value: string | null; } /** * @export */ export declare const StringConfigFieldTypeEnum: { readonly String: "string"; }; export type StringConfigFieldTypeEnum = typeof StringConfigFieldTypeEnum[keyof typeof StringConfigFieldTypeEnum]; /** * Check if a given object implements the StringConfigField interface. */ export declare function instanceOfStringConfigField(value: object): value is StringConfigField; export declare function StringConfigFieldFromJSON(json: any): StringConfigField; export declare function StringConfigFieldFromJSONTyped(json: any, ignoreDiscriminator: boolean): StringConfigField; export declare function StringConfigFieldToJSON(json: any): StringConfigField; export declare function StringConfigFieldToJSONTyped(value?: StringConfigField | null, ignoreDiscriminator?: boolean): any;