@demind-inc/core 1.6.52 → 1.6.54
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.
- package/dist/models/User.d.ts +2 -2
- package/dist/models/User.js +2 -0
- package/lib/models/User.ts +5 -1
- package/package.json +1 -1
package/dist/models/User.d.ts
CHANGED
|
@@ -101,7 +101,7 @@ export interface Subscription {
|
|
|
101
101
|
discountId: string;
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
|
-
export type SubscriptionRecurring = "MONTHLY" | "ANNUAL" | "
|
|
104
|
+
export type SubscriptionRecurring = "MONTHLY" | "ANNUAL" | "WEEKLY";
|
|
105
105
|
export interface GrantSubscription {
|
|
106
106
|
productId: string;
|
|
107
107
|
purchaseDate?: string;
|
|
@@ -112,7 +112,7 @@ export interface ConvertedReferralCampaign {
|
|
|
112
112
|
campaignId: string;
|
|
113
113
|
rewardfulClientId?: string;
|
|
114
114
|
}
|
|
115
|
-
export type StripeLookupkey = "beta_monthly_staging" | "beta_yearly_staging" | "basic_monthly_staging" | "basic_yearly_staging" | "basic_lifetime_staging" | "beta_monthly_prod" | "beta_yearly_prod" | "basic_monthly_prod" | "basic_yearly_prod" | "basic_lifetime_prod";
|
|
115
|
+
export type StripeLookupkey = "beta_monthly_staging" | "beta_yearly_staging" | "basic_monthly_staging" | "basic_yearly_staging" | "basic_lifetime_staging" | "basic_weekly_staging" | "beta_monthly_prod" | "beta_yearly_prod" | "basic_monthly_prod" | "basic_yearly_prod" | "basic_weekly_prod" | "basic_lifetime_prod";
|
|
116
116
|
export declare const stripeLookupKeySet: Record<"beta" | "basic", StripeLookupkey[]>;
|
|
117
117
|
export interface SubscriptionPrice {
|
|
118
118
|
currency: string;
|
package/dist/models/User.js
CHANGED
package/lib/models/User.ts
CHANGED
|
@@ -112,7 +112,7 @@ export interface Subscription {
|
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
export type SubscriptionRecurring = "MONTHLY" | "ANNUAL" | "
|
|
115
|
+
export type SubscriptionRecurring = "MONTHLY" | "ANNUAL" | "WEEKLY";
|
|
116
116
|
|
|
117
117
|
export interface GrantSubscription {
|
|
118
118
|
productId: string;
|
|
@@ -132,10 +132,12 @@ export type StripeLookupkey =
|
|
|
132
132
|
| "basic_monthly_staging"
|
|
133
133
|
| "basic_yearly_staging"
|
|
134
134
|
| "basic_lifetime_staging"
|
|
135
|
+
| "basic_weekly_staging"
|
|
135
136
|
| "beta_monthly_prod"
|
|
136
137
|
| "beta_yearly_prod"
|
|
137
138
|
| "basic_monthly_prod"
|
|
138
139
|
| "basic_yearly_prod"
|
|
140
|
+
| "basic_weekly_prod"
|
|
139
141
|
| "basic_lifetime_prod";
|
|
140
142
|
|
|
141
143
|
export const stripeLookupKeySet: Record<"beta" | "basic", StripeLookupkey[]> = {
|
|
@@ -149,9 +151,11 @@ export const stripeLookupKeySet: Record<"beta" | "basic", StripeLookupkey[]> = {
|
|
|
149
151
|
"basic_monthly_staging",
|
|
150
152
|
"basic_yearly_staging",
|
|
151
153
|
"basic_lifetime_staging",
|
|
154
|
+
"basic_weekly_staging",
|
|
152
155
|
"basic_monthly_prod",
|
|
153
156
|
"basic_yearly_prod",
|
|
154
157
|
"basic_lifetime_prod",
|
|
158
|
+
"basic_weekly_prod",
|
|
155
159
|
],
|
|
156
160
|
};
|
|
157
161
|
|