@nextsparkjs/theme-default 0.1.0-beta.126 → 0.1.0-beta.128
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/config/billing.config.ts
CHANGED
|
@@ -163,8 +163,7 @@ export const billingConfig: BillingConfig = {
|
|
|
163
163
|
file_uploads: 100,
|
|
164
164
|
webhooks_count: 0,
|
|
165
165
|
},
|
|
166
|
-
|
|
167
|
-
stripePriceIdYearly: null,
|
|
166
|
+
providerPriceIds: { monthly: null, yearly: null },
|
|
168
167
|
},
|
|
169
168
|
|
|
170
169
|
// Starter Plan - For growing teams
|
|
@@ -194,8 +193,7 @@ export const billingConfig: BillingConfig = {
|
|
|
194
193
|
file_uploads: 500,
|
|
195
194
|
webhooks_count: 3,
|
|
196
195
|
},
|
|
197
|
-
|
|
198
|
-
stripePriceIdYearly: 'price_starter_yearly',
|
|
196
|
+
providerPriceIds: { monthly: 'price_1TAIW6QetGjJvG5hzCCpMwXT', yearly: 'price_1TAIWuQetGjJvG5hkI3aJYTw' },
|
|
199
197
|
},
|
|
200
198
|
|
|
201
199
|
// Pro Plan - For professional teams
|
|
@@ -230,8 +228,7 @@ export const billingConfig: BillingConfig = {
|
|
|
230
228
|
file_uploads: 2000,
|
|
231
229
|
webhooks_count: 10,
|
|
232
230
|
},
|
|
233
|
-
|
|
234
|
-
stripePriceIdYearly: 'price_pro_yearly',
|
|
231
|
+
providerPriceIds: { monthly: 'price_1TAIZMQetGjJvG5hqDh3dbCv', yearly: 'price_1TAIZMQetGjJvG5haLm28w3H' },
|
|
235
232
|
},
|
|
236
233
|
|
|
237
234
|
// Business Plan - For larger organizations
|
|
@@ -270,8 +267,7 @@ export const billingConfig: BillingConfig = {
|
|
|
270
267
|
file_uploads: 10000,
|
|
271
268
|
webhooks_count: 50,
|
|
272
269
|
},
|
|
273
|
-
|
|
274
|
-
stripePriceIdYearly: 'price_business_yearly',
|
|
270
|
+
providerPriceIds: { monthly: 'price_1TAIaNQetGjJvG5hn6fgXx1n', yearly: 'price_1TAIacQetGjJvG5hVQO6i2UL' },
|
|
275
271
|
},
|
|
276
272
|
|
|
277
273
|
// Enterprise Plan - Custom unlimited plan
|
|
@@ -292,8 +288,7 @@ export const billingConfig: BillingConfig = {
|
|
|
292
288
|
file_uploads: -1,
|
|
293
289
|
webhooks_count: -1,
|
|
294
290
|
},
|
|
295
|
-
|
|
296
|
-
stripePriceIdYearly: null,
|
|
291
|
+
providerPriceIds: { monthly: null, yearly: null },
|
|
297
292
|
},
|
|
298
293
|
],
|
|
299
294
|
|
package/package.json
CHANGED
|
@@ -51,7 +51,7 @@ class BillingAPIController extends BaseAPIController {
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
|
-
* POST /api/v1/billing/checkout - Create
|
|
54
|
+
* POST /api/v1/billing/checkout - Create payment checkout session
|
|
55
55
|
* @param {Object} checkoutData - Checkout data
|
|
56
56
|
* @param {string} checkoutData.planSlug - Plan slug (e.g., 'pro')
|
|
57
57
|
* @param {string} [checkoutData.billingPeriod='monthly'] - Billing period
|
|
@@ -213,7 +213,7 @@ export class SuperadminPOM extends BasePOM {
|
|
|
213
213
|
plan: cySelector('superadmin.teams.detail.subscription.plan'),
|
|
214
214
|
status: cySelector('superadmin.teams.detail.subscription.status'),
|
|
215
215
|
period: cySelector('superadmin.teams.detail.subscription.period'),
|
|
216
|
-
|
|
216
|
+
providerLink: cySelector('superadmin.teams.detail.subscription.providerLink'),
|
|
217
217
|
},
|
|
218
218
|
billingHistory: {
|
|
219
219
|
container: cySelector('superadmin.teams.detail.billingHistory.container'),
|
|
@@ -256,7 +256,7 @@ export class SuperadminPOM extends BasePOM {
|
|
|
256
256
|
element: cySelector('superadmin.subscriptions.table.element'),
|
|
257
257
|
row: (id: string) => cySelector('superadmin.subscriptions.table.row', { id }),
|
|
258
258
|
viewTeamButton: (id: string) => cySelector('superadmin.subscriptions.table.viewTeamButton', { id }),
|
|
259
|
-
|
|
259
|
+
providerLink: (id: string) => cySelector('superadmin.subscriptions.table.providerLink', { id }),
|
|
260
260
|
},
|
|
261
261
|
pagination: {
|
|
262
262
|
container: cySelector('superadmin.subscriptions.pagination.container'),
|