33 lines
497 B
TypeScript
33 lines
497 B
TypeScript
export interface ListApikeys {
|
|
id: string;
|
|
name: null;
|
|
apikeyid: string;
|
|
};
|
|
|
|
export interface ListResult {
|
|
apikeys: Array< ListApikeys >;
|
|
};
|
|
|
|
export interface AddParams {
|
|
appname: string;
|
|
description: string;
|
|
}
|
|
export interface AddResult{
|
|
status: string;
|
|
}
|
|
|
|
interface DetailData {
|
|
id: string;
|
|
name: null;
|
|
description: null;
|
|
secretkey: string;
|
|
allowedips: null;
|
|
orgid: string;
|
|
apikey: string;
|
|
};
|
|
|
|
export interface DetailResult {
|
|
status: string;
|
|
data: DetailData;
|
|
};
|