Fix packages for usage issue (#101)
Co-authored-by: AceDataCloud <office@acedata.cloud>
This commit is contained in:
1 parent
e4c9e0b5d3
commit
2cdb987181
7 files changed
+23
-6
No files matched your search
@@ -45,10 +45,17 @@ export interface IResponse {
|
||||
headers: ISchema;
|
||||
}
|
||||
|
||||
export enum IPackageType {
|
||||
PERIOD = 'Period',
|
||||
USAGE = 'Usage'
|
||||
}
|
||||
|
||||
export interface IPackage {
|
||||
id: string;
|
||||
amount: number;
|
||||
price: number;
|
||||
type?: IPackageType;
|
||||
duration?: number;
|
||||
}
|
||||
|
||||
export enum IApiUnit {
|
||||
|
||||
@@ -2,7 +2,8 @@ import { ICredential } from './credential';
|
||||
import { IService } from './service';
|
||||
|
||||
export enum IApplicationType {
|
||||
API = 'Api'
|
||||
USAGE = 'Usage',
|
||||
PERIOD = 'Period'
|
||||
}
|
||||
|
||||
export interface IApplication {
|
||||
|
||||
Reference in new issue
Block a user