@antelopejs/dms-saas 0.3.5 → 0.3.7
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/README.md +48 -0
- package/dist/crons/notify-free-workspaces-ending-soon.js +3 -2
- package/dist/crons/notify-free-workspaces-ending-soon.js.map +1 -1
- package/dist/crons/subscription-notifications.js +4 -4
- package/dist/crons/subscription-notifications.js.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/notifications/recipients.d.ts +1 -0
- package/dist/notifications/recipients.js +8 -12
- package/dist/notifications/recipients.js.map +1 -1
- package/dist/plans/index.d.ts +1 -0
- package/dist/plans/index.js +1 -0
- package/dist/plans/index.js.map +1 -1
- package/dist/plans/seat-hooks.js +14 -0
- package/dist/plans/seat-hooks.js.map +1 -1
- package/dist/plans/stripe-sync.d.ts +6 -0
- package/dist/plans/stripe-sync.js +82 -0
- package/dist/plans/stripe-sync.js.map +1 -0
- package/dist/routes/platformOwner/plans.js +7 -27
- package/dist/routes/platformOwner/plans.js.map +1 -1
- package/dist/routes/tenant/tenant-plan-ops.js +4 -3
- package/dist/routes/tenant/tenant-plan-ops.js.map +1 -1
- package/dist/routes/tenant/tenant-plan.js +2 -1
- package/dist/routes/tenant/tenant-plan.js.map +1 -1
- package/dist/stripe/sync-plan.d.ts +4 -2
- package/dist/stripe/sync-plan.js +147 -38
- package/dist/stripe/sync-plan.js.map +1 -1
- package/dist/stripe/webhook-credit-notes.js +3 -2
- package/dist/stripe/webhook-credit-notes.js.map +1 -1
- package/dist/stripe/webhook-handlers.js +15 -10
- package/dist/stripe/webhook-handlers.js.map +1 -1
- package/dist/workers/plan-migration.js +3 -2
- package/dist/workers/plan-migration.js.map +1 -1
- package/dist/workspaces/provisioning.js +2 -1
- package/dist/workspaces/provisioning.js.map +1 -1
- package/frontend-vue/app/components/PlanCard.vue +2 -1
- package/frontend-vue/app/components/PlanCardPublic.vue +2 -1
- package/frontend-vue/app/components/TenantPlanCard.vue +4 -1
- package/frontend-vue/app/components/WorkspaceCreateModal.vue +2 -1
- package/frontend-vue/app/composables/usePlanDescription.ts +12 -0
- package/frontend-vue/i18n/locales/saas-en-GB.json +43 -0
- package/frontend-vue/i18n/locales/saas-fr-FR.json +43 -0
- package/package.json +2 -2
|
@@ -374,6 +374,9 @@
|
|
|
374
374
|
"members": "{count} members max",
|
|
375
375
|
"members_unlimited": "Unlimited members",
|
|
376
376
|
"subscriptions": "{count} active subscriptions"
|
|
377
|
+
},
|
|
378
|
+
"seat_limit": {
|
|
379
|
+
"invite_unavailable": "All the seats of your plan are taken. Upgrade your plan to invite more members."
|
|
377
380
|
}
|
|
378
381
|
},
|
|
379
382
|
"workspaces": {
|
|
@@ -1240,6 +1243,46 @@
|
|
|
1240
1243
|
"workspace_deletion_requested": {
|
|
1241
1244
|
"title": "Workspace deletion requested",
|
|
1242
1245
|
"description": "Access is revoked and data will be destroyed at the end of the retention period."
|
|
1246
|
+
},
|
|
1247
|
+
"payment_failed": {
|
|
1248
|
+
"title": "Payment failed",
|
|
1249
|
+
"description": "Payment of invoice {invoice} failed ({amount})."
|
|
1250
|
+
},
|
|
1251
|
+
"subscription_cancelled": {
|
|
1252
|
+
"title": "Subscription cancelled",
|
|
1253
|
+
"description": "Your subscription has been cancelled."
|
|
1254
|
+
},
|
|
1255
|
+
"trial_ending_soon": {
|
|
1256
|
+
"title": "Trial ending soon",
|
|
1257
|
+
"description": "Your trial ends in 3 days."
|
|
1258
|
+
},
|
|
1259
|
+
"trial_ended_blocked": {
|
|
1260
|
+
"title": "Trial ended",
|
|
1261
|
+
"description": "Your trial has ended and access is blocked. Update your payment method to restore access."
|
|
1262
|
+
},
|
|
1263
|
+
"refund_processed": {
|
|
1264
|
+
"title": "Refund processed",
|
|
1265
|
+
"description": "A refund of {amount} has been processed."
|
|
1266
|
+
},
|
|
1267
|
+
"credit_note_issued": {
|
|
1268
|
+
"title": "Credit note issued",
|
|
1269
|
+
"description": "A credit note of {amount} has been issued."
|
|
1270
|
+
},
|
|
1271
|
+
"complimentary_access_ending_soon": {
|
|
1272
|
+
"title": "Complimentary access ending soon",
|
|
1273
|
+
"description": "Your complimentary access expires on {date}. Pick a paid plan before then to keep access."
|
|
1274
|
+
},
|
|
1275
|
+
"complimentary_access_expired": {
|
|
1276
|
+
"title": "Complimentary access expired",
|
|
1277
|
+
"description": "The complimentary access granted to your workspace has expired. Pick a paid plan to restore access."
|
|
1278
|
+
},
|
|
1279
|
+
"workspace_suspended_unpaid": {
|
|
1280
|
+
"title": "Workspace suspended",
|
|
1281
|
+
"description": "Your workspace was suspended after a prolonged unpaid invoice. Settle the balance to restore access."
|
|
1282
|
+
},
|
|
1283
|
+
"plan_migrated": {
|
|
1284
|
+
"title": "Plan changed",
|
|
1285
|
+
"description": "Your workspace is now on the {plan} plan."
|
|
1243
1286
|
}
|
|
1244
1287
|
},
|
|
1245
1288
|
"category": {
|
|
@@ -374,6 +374,9 @@
|
|
|
374
374
|
"members": "{count} membres max",
|
|
375
375
|
"members_unlimited": "Membres illimités",
|
|
376
376
|
"subscriptions": "{count} abonnements actifs"
|
|
377
|
+
},
|
|
378
|
+
"seat_limit": {
|
|
379
|
+
"invite_unavailable": "Tous les sièges de votre plan sont occupés. Passez à un plan supérieur pour inviter d'autres membres."
|
|
377
380
|
}
|
|
378
381
|
},
|
|
379
382
|
"workspaces": {
|
|
@@ -1240,6 +1243,46 @@
|
|
|
1240
1243
|
"workspace_deletion_requested": {
|
|
1241
1244
|
"title": "Suppression du workspace demandée",
|
|
1242
1245
|
"description": "L'accès est révoqué et les données seront détruites à la fin de la période de rétention."
|
|
1246
|
+
},
|
|
1247
|
+
"payment_failed": {
|
|
1248
|
+
"title": "Échec du paiement",
|
|
1249
|
+
"description": "Le paiement de la facture {invoice} a échoué ({amount})."
|
|
1250
|
+
},
|
|
1251
|
+
"subscription_cancelled": {
|
|
1252
|
+
"title": "Abonnement résilié",
|
|
1253
|
+
"description": "Votre abonnement a été résilié."
|
|
1254
|
+
},
|
|
1255
|
+
"trial_ending_soon": {
|
|
1256
|
+
"title": "Fin de l'essai imminente",
|
|
1257
|
+
"description": "Votre période d'essai se termine dans 3 jours."
|
|
1258
|
+
},
|
|
1259
|
+
"trial_ended_blocked": {
|
|
1260
|
+
"title": "Période d'essai terminée",
|
|
1261
|
+
"description": "Votre période d'essai est terminée et l'accès est bloqué. Mettez à jour votre moyen de paiement pour rétablir l'accès."
|
|
1262
|
+
},
|
|
1263
|
+
"refund_processed": {
|
|
1264
|
+
"title": "Remboursement effectué",
|
|
1265
|
+
"description": "Un remboursement de {amount} a été effectué."
|
|
1266
|
+
},
|
|
1267
|
+
"credit_note_issued": {
|
|
1268
|
+
"title": "Avoir émis",
|
|
1269
|
+
"description": "Un avoir de {amount} a été émis."
|
|
1270
|
+
},
|
|
1271
|
+
"complimentary_access_ending_soon": {
|
|
1272
|
+
"title": "Fin prochaine de l'accès gratuit",
|
|
1273
|
+
"description": "Votre accès gratuit expire le {date}. Choisissez un plan payant d'ici là pour conserver l'accès."
|
|
1274
|
+
},
|
|
1275
|
+
"complimentary_access_expired": {
|
|
1276
|
+
"title": "Accès gratuit expiré",
|
|
1277
|
+
"description": "L'accès gratuit accordé à votre workspace a expiré. Choisissez un plan payant pour rétablir l'accès."
|
|
1278
|
+
},
|
|
1279
|
+
"workspace_suspended_unpaid": {
|
|
1280
|
+
"title": "Workspace suspendu",
|
|
1281
|
+
"description": "Votre workspace a été suspendu suite à une facture impayée prolongée. Réglez le solde pour rétablir l'accès."
|
|
1282
|
+
},
|
|
1283
|
+
"plan_migrated": {
|
|
1284
|
+
"title": "Plan modifié",
|
|
1285
|
+
"description": "Votre workspace est désormais sur le plan {plan}."
|
|
1243
1286
|
}
|
|
1244
1287
|
},
|
|
1245
1288
|
"category": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antelopejs/dms-saas",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.7",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@antelopejs/interface-data-api": ">=0.1.9 <1.0.0",
|
|
36
36
|
"@antelopejs/interface-database": ">=0.1.8 <1.0.0",
|
|
37
37
|
"@antelopejs/interface-database-decorators": ">=0.1.7 <1.0.0",
|
|
38
|
-
"@antelopejs/interface-dms": ">=0.3.
|
|
38
|
+
"@antelopejs/interface-dms": ">=0.3.2 <1.0.0",
|
|
39
39
|
"@antelopejs/interface-dms-saas": ">=0.2.3 <0.3.0",
|
|
40
40
|
"node-cron": "^4.2.1",
|
|
41
41
|
"stripe": "^17.5.0",
|