update license structures and init to setup image uploader
This commit is contained in:
+7
-10
@@ -2,8 +2,13 @@ export interface IPartnerRawResponse {
|
||||
id: string;
|
||||
name: string;
|
||||
code: string;
|
||||
remained_license: number;
|
||||
license_quota: number;
|
||||
status: string;
|
||||
created_at: string;
|
||||
licenses_status: {
|
||||
total: number;
|
||||
used: number;
|
||||
expired: number;
|
||||
};
|
||||
}
|
||||
export interface IPartnerResponse extends IPartnerRawResponse {}
|
||||
|
||||
@@ -12,11 +17,3 @@ export interface IPartnerRequest {
|
||||
code: string;
|
||||
license_quota: number;
|
||||
}
|
||||
|
||||
//charge license
|
||||
export interface ILicenseChargeRawResponse {}
|
||||
export interface ILicenseChargeResponse extends ILicenseChargeRawResponse {}
|
||||
|
||||
export interface ILicenseChargeRequest {
|
||||
count: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user