@topgroup/diginext
Version:
A BUILD SERVER & CLI to deploy apps to any Kubernetes clusters.
32 lines • 887 B
TypeScript
import type { ResponseData } from "../../interfaces";
import type { DxSubsription } from "./dx-subscription";
export type DxPackage = {
id?: string;
slug?: string;
name?: string;
description?: string;
type?: string;
price?: number;
currency?: string;
quota?: any;
visible?: boolean;
disable?: boolean;
userId?: string;
createdAt?: string;
updatedAt?: string;
};
export type SubscribeParams = {
userEmail: string;
userName?: string;
name?: string;
packageId?: string;
};
export type SubscribeResponse = ResponseData & {
data: DxSubsription;
};
export type PackageResponse = ResponseData & {
data: DxPackage[];
};
export declare function dxGetPackages(): Promise<SubscribeResponse>;
export declare function dxSubscribe(params: SubscribeParams): Promise<SubscribeResponse>;
//# sourceMappingURL=dx-package.d.ts.map