@dgpholdings/greatoak-shared 1.2.49 → 1.2.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type TSalesPlan = {
|
|
2
|
+
id: string;
|
|
3
|
+
type: "annual" | "monthly";
|
|
4
|
+
price: string;
|
|
5
|
+
};
|
|
6
|
+
export type TApiSalesGetPlansRes = {
|
|
7
|
+
plans: TSalesPlan[];
|
|
8
|
+
};
|
|
9
|
+
export type TApiSalesSubscribeReq = {
|
|
10
|
+
planId: string;
|
|
11
|
+
platform: "ios" | "android" | "web";
|
|
12
|
+
receipt: string;
|
|
13
|
+
};
|
|
14
|
+
export type TApiSalesSubscribeRes = {
|
|
15
|
+
success: boolean;
|
|
16
|
+
message?: string;
|
|
17
|
+
};
|
package/dist/types/index.d.ts
CHANGED