@indexea/sdk
Version:
Indexea JavaScript SDK (indexea.com)
59 lines (58 loc) • 1.51 kB
TypeScript
/**
* Indexea OpenAPI
* OpenAPI of Indexea
*
* The version of the OpenAPI document: 1.0.0
* Contact: support@indexea.com
*
* 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 OptionForm
*/
export interface OptionForm {
/**
* 配置项名称
* @type {string}
* @memberof OptionForm
*/
key: string;
/**
* 配置值类型
* @type {string}
* @memberof OptionForm
*/
type: OptionFormTypeEnum;
/**
* 配置值
* @type {string}
* @memberof OptionForm
*/
value: string;
/**
* 验证码(非必须,只有在配置通知邮箱和手机的时候才需要)
* @type {string}
* @memberof OptionForm
*/
vcode?: string;
}
/**
* @export
*/
export declare const OptionFormTypeEnum: {
readonly Int: "int";
readonly Bool: "bool";
readonly String: "string";
};
export type OptionFormTypeEnum = typeof OptionFormTypeEnum[keyof typeof OptionFormTypeEnum];
/**
* Check if a given object implements the OptionForm interface.
*/
export declare function instanceOfOptionForm(value: object): boolean;
export declare function OptionFormFromJSON(json: any): OptionForm;
export declare function OptionFormFromJSONTyped(json: any, ignoreDiscriminator: boolean): OptionForm;
export declare function OptionFormToJSON(value?: OptionForm | null): any;