21 lines
414 B
TypeScript
21 lines
414 B
TypeScript
import { IService } from '../service';
|
|
|
|
export interface IApplication {
|
|
id?: string;
|
|
service: IService;
|
|
service_id: string;
|
|
api_key?: string;
|
|
user_id?: string;
|
|
remaining_count?: number;
|
|
used_count?: number;
|
|
created_at?: string;
|
|
updated_at?: string;
|
|
}
|
|
|
|
export interface IApplicationListResponse {
|
|
count: number;
|
|
items: IApplication[];
|
|
}
|
|
|
|
export type IApplicationDetailResponse = IApplication;
|