@antelopejs/dms-saas 0.8.0 → 0.9.0
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 +22 -6
- package/dist/auth/owner-only-permissions-resolver.js.map +1 -1
- package/dist/auth/plan-permissions-resolver.js.map +1 -1
- package/dist/automation/index.js.map +1 -1
- package/dist/billing-state/directory-hooks.js.map +1 -1
- package/dist/billing-state/directory.js.map +1 -1
- package/dist/billing-state/past-due-banner.js.map +1 -1
- package/dist/billing-state/recovery.js +2 -1
- package/dist/billing-state/recovery.js.map +1 -1
- package/dist/billing-state/trial-ending-banner.js.map +1 -1
- package/dist/crons/hard-delete-cancelled.js.map +1 -1
- package/dist/crons/recompute-billing-state.js +1 -4
- package/dist/crons/recompute-billing-state.js.map +1 -1
- package/dist/data-api/platformOwner/admin-user-workspaces.js +1 -1
- package/dist/data-api/platformOwner/admin-user-workspaces.js.map +1 -1
- package/dist/data-api/platformOwner/credit-note-rows.d.ts +4 -4
- package/dist/data-api/platformOwner/credit-note-rows.js +2 -1
- package/dist/data-api/platformOwner/credit-note-rows.js.map +1 -1
- package/dist/data-api/platformOwner/credit-notes.d.ts +1 -1
- package/dist/data-api/platformOwner/credit-notes.js +1 -1
- package/dist/data-api/platformOwner/credit-notes.js.map +1 -1
- package/dist/data-api/platformOwner/features.js.map +1 -1
- package/dist/data-api/platformOwner/invitations.js.map +1 -1
- package/dist/data-api/platformOwner/invoice-cells.js.map +1 -1
- package/dist/data-api/platformOwner/invoice-rows.d.ts +5 -4
- package/dist/data-api/platformOwner/invoice-rows.js.map +1 -1
- package/dist/data-api/platformOwner/invoices.d.ts +5 -5
- package/dist/data-api/platformOwner/invoices.js +5 -4
- package/dist/data-api/platformOwner/invoices.js.map +1 -1
- package/dist/data-api/platformOwner/plan-migrations.js.map +1 -1
- package/dist/data-api/platformOwner/plans.d.ts +5 -5
- package/dist/data-api/platformOwner/plans.js.map +1 -1
- package/dist/data-api/platformOwner/segments.js.map +1 -1
- package/dist/data-api/platformOwner/table-scope.d.ts +2 -1
- package/dist/data-api/platformOwner/table-scope.js.map +1 -1
- package/dist/data-api/platformOwner/users.js +7 -6
- package/dist/data-api/platformOwner/users.js.map +1 -1
- package/dist/data-api/platformOwner/workspace-cells.d.ts +2 -2
- package/dist/data-api/platformOwner/workspace-cells.js +1 -1
- package/dist/data-api/platformOwner/workspace-cells.js.map +1 -1
- package/dist/data-api/platformOwner/workspaces.d.ts +6 -5
- package/dist/data-api/platformOwner/workspaces.js +7 -10
- package/dist/data-api/platformOwner/workspaces.js.map +1 -1
- package/dist/data-api/tenant/tenant-invoices.js.map +1 -1
- package/dist/frontend-module.js.map +1 -1
- package/dist/hooks/register.js +8 -1
- package/dist/hooks/register.js.map +1 -1
- package/dist/hooks/tenant-export.js.map +1 -1
- package/dist/hooks/tenant-provisioning.js +2 -2
- package/dist/hooks/tenant-provisioning.js.map +1 -1
- package/dist/i18n/composed-text.js.map +1 -1
- package/dist/implementations/dms-saas/invoice-line-items.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/invoice-line-items/injection.d.ts +1 -1
- package/dist/invoice-line-items/injection.js.map +1 -1
- package/dist/invoice-line-items/recovery/discovery.js +11 -9
- package/dist/invoice-line-items/recovery/discovery.js.map +1 -1
- package/dist/invoice-line-items/recovery/managed-lines.js +18 -12
- package/dist/invoice-line-items/recovery/managed-lines.js.map +1 -1
- package/dist/metrics/activity-sources.js +1 -3
- package/dist/metrics/activity-sources.js.map +1 -1
- package/dist/metrics/activity.d.ts +3 -2
- package/dist/metrics/activity.js +19 -3
- package/dist/metrics/activity.js.map +1 -1
- package/dist/metrics/directory-summary.js +12 -4
- package/dist/metrics/directory-summary.js.map +1 -1
- package/dist/metrics/normalised-mrr.js.map +1 -1
- package/dist/metrics/revenue.d.ts +2 -2
- package/dist/metrics/revenue.js +3 -2
- package/dist/metrics/revenue.js.map +1 -1
- package/dist/operator-actions/commands.js +2 -1
- package/dist/operator-actions/commands.js.map +1 -1
- package/dist/operator-actions/db/lifecycle-delivery.model.js.map +1 -1
- package/dist/operator-actions/invitation-commands.d.ts +1 -1
- package/dist/operator-actions/invitation-commands.js +5 -27
- package/dist/operator-actions/invitation-commands.js.map +1 -1
- package/dist/operator-actions/journal.js +5 -2
- package/dist/operator-actions/journal.js.map +1 -1
- package/dist/operator-actions/lifecycle-consumers.js.map +1 -1
- package/dist/operator-actions/one-shot.d.ts +9 -0
- package/dist/operator-actions/one-shot.js +21 -0
- package/dist/operator-actions/one-shot.js.map +1 -0
- package/dist/operator-actions/types.d.ts +1 -1
- package/dist/operator-billing/billing-settings-store.d.ts +2 -0
- package/dist/operator-billing/billing-settings-store.js +8 -2
- package/dist/operator-billing/billing-settings-store.js.map +1 -1
- package/dist/operator-billing/billing-stats.d.ts +2 -1
- package/dist/operator-billing/billing-stats.js +3 -2
- package/dist/operator-billing/billing-stats.js.map +1 -1
- package/dist/operator-billing/credit-allowance.d.ts +6 -3
- package/dist/operator-billing/credit-allowance.js.map +1 -1
- package/dist/operator-billing/credit-note-request.js.map +1 -1
- package/dist/operator-billing/invoice-credit.js +9 -3
- package/dist/operator-billing/invoice-credit.js.map +1 -1
- package/dist/operator-billing/legal-documents-store.js.map +1 -1
- package/dist/operator-billing/legal-versions.js +13 -8
- package/dist/operator-billing/legal-versions.js.map +1 -1
- package/dist/pages/platform/dashboard.js.map +1 -1
- package/dist/pages/platform/features.js.map +1 -1
- package/dist/pages/platform/plans/edit.js.map +1 -1
- package/dist/pages/platform/plans/index.js.map +1 -1
- package/dist/pages/platform/plans/migrations.js.map +1 -1
- package/dist/pages/platform/settings.js +11 -3
- package/dist/pages/platform/settings.js.map +1 -1
- package/dist/pages/platform/users/detail.js.map +1 -1
- package/dist/pages/platform/users/index.js.map +1 -1
- package/dist/pages/platform/workspaces/detail.js.map +1 -1
- package/dist/pages/platform/workspaces/index.js.map +1 -1
- package/dist/pages/public/index.js.map +1 -1
- package/dist/pages/public/legal/privacy-policy.js.map +1 -1
- package/dist/pages/public/legal/terms-and-conditions.js.map +1 -1
- package/dist/pages/public/legal/terms-of-use.js.map +1 -1
- package/dist/pages/public/pricing.js.map +1 -1
- package/dist/pages/public/register.js.map +1 -1
- package/dist/pages/public/screens.js +5 -2
- package/dist/pages/public/screens.js.map +1 -1
- package/dist/pages/tenant/billing.js.map +1 -1
- package/dist/pages/tenant/general.js.map +1 -1
- package/dist/pages/tenant/members-seat-quota.js.map +1 -1
- package/dist/pages/tenant/workspace-suspended.js.map +1 -1
- package/dist/plan-changes/applied-upgrade.d.ts +1 -1
- package/dist/plan-changes/applied-upgrade.js.map +1 -1
- package/dist/plan-changes/deferred.js.map +1 -1
- package/dist/plan-changes/guarded-free.js.map +1 -1
- package/dist/plan-changes/guarded-landing.js.map +1 -1
- package/dist/plan-changes/inventory-barrier.js.map +1 -1
- package/dist/plans/migration-blocks.js +6 -6
- package/dist/plans/migration-blocks.js.map +1 -1
- package/dist/plans/migration-dialogs.js.map +1 -1
- package/dist/plans/plan-diff.js +2 -1
- package/dist/plans/plan-diff.js.map +1 -1
- package/dist/plans/plan-permission-tree.js.map +1 -1
- package/dist/plans/plan-write.js +9 -7
- package/dist/plans/plan-write.js.map +1 -1
- package/dist/plans/seat-hooks.js.map +1 -1
- package/dist/plans/stripe-sync.js.map +1 -1
- package/dist/routes/platformOwner/dashboard.d.ts +2 -1
- package/dist/routes/platformOwner/dashboard.js.map +1 -1
- package/dist/routes/platformOwner/plan-deletion.js.map +1 -1
- package/dist/routes/platformOwner/plan-dialogs.d.ts +3 -2
- package/dist/routes/platformOwner/plan-dialogs.js.map +1 -1
- package/dist/routes/platformOwner/plan-migrations.d.ts +4 -2
- package/dist/routes/platformOwner/plan-migrations.js +2 -1
- package/dist/routes/platformOwner/plan-migrations.js.map +1 -1
- package/dist/routes/platformOwner/plans.d.ts +7 -5
- package/dist/routes/platformOwner/plans.js +10 -0
- package/dist/routes/platformOwner/plans.js.map +1 -1
- package/dist/routes/platformOwner/platform-notes.js +3 -3
- package/dist/routes/platformOwner/platform-notes.js.map +1 -1
- package/dist/routes/platformOwner/segments-export.js.map +1 -1
- package/dist/routes/platformOwner/segments.js +2 -3
- package/dist/routes/platformOwner/segments.js.map +1 -1
- package/dist/routes/platformOwner/workspace-detail.d.ts +6 -2
- package/dist/routes/platformOwner/workspace-detail.js +10 -1
- package/dist/routes/platformOwner/workspace-detail.js.map +1 -1
- package/dist/routes/platformOwner/workspace-operator-actions.d.ts +2 -1
- package/dist/routes/platformOwner/workspace-operator-actions.js +4 -4
- package/dist/routes/platformOwner/workspace-operator-actions.js.map +1 -1
- package/dist/routes/platformOwner/workspaces-admin.d.ts +4 -2
- package/dist/routes/platformOwner/workspaces-admin.js +30 -7
- package/dist/routes/platformOwner/workspaces-admin.js.map +1 -1
- package/dist/routes/public/pricing.d.ts +2 -1
- package/dist/routes/public/pricing.js.map +1 -1
- package/dist/routes/public/public-plan-catalog.d.ts +2 -1
- package/dist/routes/public/public-plan-catalog.js +2 -1
- package/dist/routes/public/public-plan-catalog.js.map +1 -1
- package/dist/routes/public/register.d.ts +6 -3
- package/dist/routes/public/register.js +2 -1
- package/dist/routes/public/register.js.map +1 -1
- package/dist/routes/tenant/billing-pay-invoice.js.map +1 -1
- package/dist/routes/tenant/billing-portal.js.map +1 -1
- package/dist/routes/tenant/billing-self-refund.js.map +1 -1
- package/dist/routes/tenant/data-export.js.map +1 -1
- package/dist/routes/tenant/tenant-billing.js.map +1 -1
- package/dist/routes/tenant/tenant-plan-authentication.js.map +1 -1
- package/dist/routes/tenant/tenant-plan-cancellation.js.map +1 -1
- package/dist/routes/tenant/tenant-plan-checkout-recovery.js.map +1 -1
- package/dist/routes/tenant/tenant-plan-checkout.js +2 -3
- package/dist/routes/tenant/tenant-plan-checkout.js.map +1 -1
- package/dist/routes/tenant/tenant-plan-ops.js.map +1 -1
- package/dist/routes/tenant/tenant-plan-preview.js.map +1 -1
- package/dist/routes/tenant/tenant-plan-resubscription.js.map +1 -1
- package/dist/routes/tenant/tenant-plan.d.ts +5 -3
- package/dist/routes/tenant/tenant-plan.js +4 -3
- package/dist/routes/tenant/tenant-plan.js.map +1 -1
- package/dist/routes/tenant/tenant-upcoming-invoice.js +2 -3
- package/dist/routes/tenant/tenant-upcoming-invoice.js.map +1 -1
- package/dist/routes/tenant/workspaces.d.ts +2 -1
- package/dist/routes/tenant/workspaces.js.map +1 -1
- package/dist/stripe/client.js +2 -1
- package/dist/stripe/client.js.map +1 -1
- package/dist/stripe/customer-billing.d.ts +1 -1
- package/dist/stripe/customer-billing.js +1 -1
- package/dist/stripe/customer-billing.js.map +1 -1
- package/dist/stripe/payload-shapes.d.ts +20 -5
- package/dist/stripe/payload-shapes.js +4 -4
- package/dist/stripe/payload-shapes.js.map +1 -1
- package/dist/stripe/pending-update.js +2 -1
- package/dist/stripe/pending-update.js.map +1 -1
- package/dist/stripe/plan-schedule.js +3 -2
- package/dist/stripe/plan-schedule.js.map +1 -1
- package/dist/stripe/sync-plan.js +9 -8
- package/dist/stripe/sync-plan.js.map +1 -1
- package/dist/stripe/webhook-checkout.d.ts +2 -2
- package/dist/stripe/webhook-checkout.js +5 -4
- package/dist/stripe/webhook-checkout.js.map +1 -1
- package/dist/stripe/webhook-credit-notes.d.ts +2 -2
- package/dist/stripe/webhook-credit-notes.js +2 -1
- package/dist/stripe/webhook-credit-notes.js.map +1 -1
- package/dist/stripe/webhook-dispatch.js +6 -2
- package/dist/stripe/webhook-dispatch.js.map +1 -1
- package/dist/stripe/webhook-handlers.d.ts +10 -10
- package/dist/stripe/webhook-handlers.js.map +1 -1
- package/dist/stripe/webhook-shared.d.ts +1 -1
- package/dist/stripe/webhook-shared.js +2 -1
- package/dist/stripe/webhook-shared.js.map +1 -1
- package/dist/stripe/workspace-checkout.js +2 -1
- package/dist/stripe/workspace-checkout.js.map +1 -1
- package/dist/upcoming-invoice/eligibility.js.map +1 -1
- package/dist/upcoming-invoice/preview.js.map +1 -1
- package/dist/upcoming-invoice/pricing.js +6 -2
- package/dist/upcoming-invoice/pricing.js.map +1 -1
- package/dist/users/user-facts.js.map +1 -1
- package/dist/utils/content-language.d.ts +3 -1
- package/dist/utils/content-language.js +2 -1
- package/dist/utils/content-language.js.map +1 -1
- package/dist/utils/keyed-insert.d.ts +3 -7
- package/dist/utils/keyed-insert.js.map +1 -1
- package/dist/utils/parse-future-date.js +2 -1
- package/dist/utils/parse-future-date.js.map +1 -1
- package/dist/utils/primitive-guards.d.ts +4 -0
- package/dist/utils/primitive-guards.js +19 -0
- package/dist/utils/primitive-guards.js.map +1 -0
- package/dist/utils/query-parameter.d.ts +1 -0
- package/dist/utils/query-parameter.js +3 -0
- package/dist/utils/query-parameter.js.map +1 -0
- package/dist/utils/row-instance.js.map +1 -1
- package/dist/utils/segment-conditions-type.js +2 -1
- package/dist/utils/segment-conditions-type.js.map +1 -1
- package/dist/utils/segment-evaluator.js +8 -7
- package/dist/utils/segment-evaluator.js.map +1 -1
- package/dist/utils/segment-explain.js +2 -1
- package/dist/utils/segment-explain.js.map +1 -1
- package/dist/utils/segment-matching.js.map +1 -1
- package/dist/utils/segment-validation.js +12 -13
- package/dist/utils/segment-validation.js.map +1 -1
- package/dist/utils/time.js +2 -1
- package/dist/utils/time.js.map +1 -1
- package/dist/workers/plan-migration.js.map +1 -1
- package/dist/workspaces/billing-identity.d.ts +3 -1
- package/dist/workspaces/billing-identity.js +10 -1
- package/dist/workspaces/billing-identity.js.map +1 -1
- package/dist/workspaces/default-plan.d.ts +1 -1
- package/dist/workspaces/default-plan.js +11 -7
- package/dist/workspaces/default-plan.js.map +1 -1
- package/dist/workspaces/deletion.js.map +1 -1
- package/dist/workspaces/detail-items.js.map +1 -1
- package/dist/workspaces/operator-creation.js +2 -3
- package/dist/workspaces/operator-creation.js.map +1 -1
- package/dist/workspaces/owner-invitation-email.js.map +1 -1
- package/dist/workspaces/provisioning-types.d.ts +46 -0
- package/dist/workspaces/provisioning-types.js +3 -0
- package/dist/workspaces/provisioning-types.js.map +1 -0
- package/dist/workspaces/provisioning.d.ts +3 -45
- package/dist/workspaces/provisioning.js.map +1 -1
- package/dist/workspaces/registration-extras.js +13 -9
- package/dist/workspaces/registration-extras.js.map +1 -1
- package/dist/workspaces/self-serve-creation.js.map +1 -1
- package/dist/workspaces/subscription-create-params.js.map +1 -1
- package/frontend-vue/app/build/PayInvoicePanel.vue +3 -2
- package/frontend-vue/app/build/PlanChangeReview.vue +7 -6
- package/frontend-vue/app/build/components/RetirePlanDiff.vue +178 -0
- package/frontend-vue/app/build/public/OtherWorkspaces.vue +4 -11
- package/frontend-vue/app/build/public/registration-errors.ts +2 -0
- package/frontend-vue/app/build/workspace-detail/ComplimentaryDialog.vue +7 -5
- package/frontend-vue/app/build/workspace-detail/CreditDialog.vue +5 -4
- package/frontend-vue/app/build/workspace-detail/UpgradeDialog.vue +7 -5
- package/frontend-vue/app/build/workspace-detail/types.ts +1 -1
- package/frontend-vue/app/build/workspace-detail/useWorkspaceActions.ts +2 -7
- package/frontend-vue/app/build/workspace-paths.ts +12 -0
- package/frontend-vue/app/components/CustomerPortalButton.vue +4 -2
- package/frontend-vue/app/components/DataExport.vue +14 -14
- package/frontend-vue/app/components/DataExportHistory.vue +7 -12
- package/frontend-vue/app/components/IssueCreditNoteModal.vue +4 -7
- package/frontend-vue/app/components/LegalLayout.vue +5 -4
- package/frontend-vue/app/components/MigrationStripeCheck.vue +2 -5
- package/frontend-vue/app/components/PendingCheckoutModal.vue +2 -7
- package/frontend-vue/app/components/PlanTaxSync.vue +2 -6
- package/frontend-vue/app/components/PlanUpgradeModal.vue +10 -11
- package/frontend-vue/app/components/PlatformNotes.vue +4 -8
- package/frontend-vue/app/components/Pricing.vue +4 -2
- package/frontend-vue/app/components/RefundButton.vue +4 -2
- package/frontend-vue/app/components/RetirePlanModal.vue +16 -165
- package/frontend-vue/app/components/TenantBillingForm.vue +3 -7
- package/frontend-vue/app/components/TenantPlanCard.vue +11 -18
- package/frontend-vue/app/components/UserPlatformRoleCard.vue +2 -5
- package/frontend-vue/app/components/WorkspaceAdminCreateModal.vue +5 -3
- package/frontend-vue/app/components/WorkspaceCreateModal.vue +12 -5
- package/frontend-vue/app/components/WorkspaceDangerZone.vue +8 -3
- package/frontend-vue/app/components/WorkspaceDetailHeader.vue +16 -13
- package/frontend-vue/app/components/WorkspaceInvitationLink.vue +3 -2
- package/frontend-vue/app/components/WorkspaceOperatorActions.vue +17 -4
- package/frontend-vue/app/components/WorkspaceSuspended.vue +6 -13
- package/frontend-vue/app/components/WorkspaceSwitcherWidget.vue +21 -15
- package/frontend-vue/app/composables/useApiErrorMessage.ts +4 -33
- package/frontend-vue/app/composables/useInvitationLink.ts +14 -11
- package/frontend-vue/app/composables/useSaasRegistration.ts +14 -72
- package/frontend-vue/app/composables/useSaasRegistrationPlan.ts +73 -0
- package/frontend-vue/app/custom-pages/auth/no-workspace.vue +14 -11
- package/frontend-vue/build/backend-boundary.ts +122 -0
- package/frontend-vue/dms.frontend.build.ts +2 -0
- package/frontend-vue/i18n/locales/saas-operator-dashboard-en-GB.json +66 -0
- package/frontend-vue/i18n/locales/saas-operator-dashboard-fr-FR.json +66 -0
- package/frontend-vue/i18n/locales/saas-operator-workspaces-en-GB.json +13 -65
- package/frontend-vue/i18n/locales/saas-operator-workspaces-fr-FR.json +13 -65
- package/frontend-vue/i18n/locales/saas-public-en-GB.json +2 -4
- package/frontend-vue/i18n/locales/saas-public-fr-FR.json +2 -4
- package/frontend-vue/i18n/locales/saas-tenant-workspace-en-GB.json +0 -1
- package/frontend-vue/i18n/locales/saas-tenant-workspace-fr-FR.json +0 -1
- package/frontend-vue/package.json +1 -1
- package/package.json +17 -18
- package/skills/dms-saas/SKILL.md +2 -3
- package/skills/dms-saas/cases.json +48 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"saas": {
|
|
3
|
+
"dashboard": {
|
|
4
|
+
"title": "Tableau de bord",
|
|
5
|
+
"description": "Revenu récurrent, santé des espaces de travail et incidents de facturation pour tous les clients.",
|
|
6
|
+
"other_currencies": "{amounts} dans d'autres devises non comptés",
|
|
7
|
+
"headline": {
|
|
8
|
+
"label": "Revenu récurrent et espaces de travail",
|
|
9
|
+
"mrr": "MRR · normalisé",
|
|
10
|
+
"arr": "ARR {arr}",
|
|
11
|
+
"paying": "Espaces payants",
|
|
12
|
+
"paying_value": "{paying} / {total}",
|
|
13
|
+
"paying_detail": "{free} gratuits · {trialing} en essai",
|
|
14
|
+
"trials": "Essais",
|
|
15
|
+
"trials_detail": "Aucun ne se termine dans les 14 jours | 1 se termine dans les 14 jours | {count} se terminent dans les 14 jours"
|
|
16
|
+
},
|
|
17
|
+
"churn": {
|
|
18
|
+
"title": "Attrition du revenu",
|
|
19
|
+
"description": "MRR perdu par des résiliations sur la période"
|
|
20
|
+
},
|
|
21
|
+
"attention": {
|
|
22
|
+
"title": "À traiter",
|
|
23
|
+
"description": "Les files qu'un opérateur devrait regarder aujourd'hui.",
|
|
24
|
+
"empty_title": "Rien à signaler",
|
|
25
|
+
"empty_description": "Aucun espace en retard de paiement, aucun accès offert ne se termine cette semaine, aucune migration ni facture n'attend.",
|
|
26
|
+
"past_due": "Aucun espace en retard de paiement | 1 espace en retard de paiement | {count} espaces en retard de paiement",
|
|
27
|
+
"complimentary_ending": "Aucun accès offert ne se termine | 1 accès offert se termine | {count} accès offerts se terminent",
|
|
28
|
+
"named_ending": "{name} le {date}",
|
|
29
|
+
"migrations": "Aucune migration à réconcilier | 1 migration à réconcilier | {count} migrations à réconcilier",
|
|
30
|
+
"migrations_detail": "{from} → {to} · {failed} espaces sur {total} en échec",
|
|
31
|
+
"open_invoices": "Aucune facture ouverte | 1 facture ouverte | {count} factures ouvertes",
|
|
32
|
+
"open_invoices_detail": "{amount} en attente de paiement"
|
|
33
|
+
},
|
|
34
|
+
"paid_invoices": {
|
|
35
|
+
"title": "Factures payées",
|
|
36
|
+
"description": "Encaissé et crédité, dans la devise de reporting",
|
|
37
|
+
"collected": "Encaissé",
|
|
38
|
+
"credited": "Crédité / remboursé",
|
|
39
|
+
"collected_previous_period": "Encaissé, période précédente",
|
|
40
|
+
"collected_previous_year": "Encaissé, année précédente",
|
|
41
|
+
"collected_compared": "Encaissé, période comparée"
|
|
42
|
+
},
|
|
43
|
+
"by_status": {
|
|
44
|
+
"title": "Espaces par statut",
|
|
45
|
+
"description": "Une couleur par statut dans tout le module",
|
|
46
|
+
"open_list": "Ouvrir la liste"
|
|
47
|
+
},
|
|
48
|
+
"plans": {
|
|
49
|
+
"title": "Offres par MRR",
|
|
50
|
+
"subtitle": "MRR normalisé apporté par chaque offre",
|
|
51
|
+
"description": "Aucun espace payant · {price} | 1 espace payant · {price} | {count} espaces payants · {price}",
|
|
52
|
+
"empty": "Aucune offre n'apporte encore de revenu récurrent.",
|
|
53
|
+
"open_catalogue": "Catalogue"
|
|
54
|
+
},
|
|
55
|
+
"activity": {
|
|
56
|
+
"title": "Activité récente",
|
|
57
|
+
"empty": "Rien ne s'est encore passé.",
|
|
58
|
+
"tabs": {
|
|
59
|
+
"all": "Tout",
|
|
60
|
+
"billing": "Facturation",
|
|
61
|
+
"lifecycle": "Cycle de vie"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -1,67 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"saas": {
|
|
3
|
-
"dashboard": {
|
|
4
|
-
"title": "Dashboard",
|
|
5
|
-
"description": "Recurring revenue, workspace health and billing issues across every customer.",
|
|
6
|
-
"other_currencies": "{amounts} in other currencies not counted",
|
|
7
|
-
"headline": {
|
|
8
|
-
"label": "Recurring revenue and workspaces",
|
|
9
|
-
"mrr": "MRR · normalised",
|
|
10
|
-
"arr": "ARR {arr}",
|
|
11
|
-
"paying": "Paying workspaces",
|
|
12
|
-
"paying_value": "{paying} / {total}",
|
|
13
|
-
"paying_detail": "{free} free · {trialing} in trial",
|
|
14
|
-
"trials": "Trials",
|
|
15
|
-
"trials_detail": "None end in the next 14 days | 1 ends in the next 14 days | {count} end in the next 14 days"
|
|
16
|
-
},
|
|
17
|
-
"churn": {
|
|
18
|
-
"title": "Revenue churn",
|
|
19
|
-
"description": "MRR lost to cancellations over the period"
|
|
20
|
-
},
|
|
21
|
-
"attention": {
|
|
22
|
-
"title": "Needs attention",
|
|
23
|
-
"description": "Queues an operator should look at today.",
|
|
24
|
-
"empty_title": "All clear",
|
|
25
|
-
"empty_description": "No workspace is past due, no complimentary access ends this week, no migration or invoice is waiting.",
|
|
26
|
-
"past_due": "No workspace past due | 1 workspace past due | {count} workspaces past due",
|
|
27
|
-
"complimentary_ending": "No complimentary access ending | 1 complimentary access ending | {count} complimentary accesses ending",
|
|
28
|
-
"named_ending": "{name} on {date}",
|
|
29
|
-
"migrations": "No migration to reconcile | 1 migration needs reconciliation | {count} migrations need reconciliation",
|
|
30
|
-
"migrations_detail": "{from} → {to} · {failed} of {total} workspaces failed",
|
|
31
|
-
"open_invoices": "No open invoice | 1 open invoice | {count} open invoices",
|
|
32
|
-
"open_invoices_detail": "{amount} awaiting payment"
|
|
33
|
-
},
|
|
34
|
-
"paid_invoices": {
|
|
35
|
-
"title": "Paid invoices",
|
|
36
|
-
"description": "Collected and credited, in the reporting currency",
|
|
37
|
-
"collected": "Collected",
|
|
38
|
-
"credited": "Credited / refunded",
|
|
39
|
-
"collected_previous_period": "Collected, previous period",
|
|
40
|
-
"collected_previous_year": "Collected, previous year",
|
|
41
|
-
"collected_compared": "Collected, compared period"
|
|
42
|
-
},
|
|
43
|
-
"by_status": {
|
|
44
|
-
"title": "Workspaces by status",
|
|
45
|
-
"description": "One colour per status across the module",
|
|
46
|
-
"open_list": "Open list"
|
|
47
|
-
},
|
|
48
|
-
"plans": {
|
|
49
|
-
"title": "Plans by MRR",
|
|
50
|
-
"subtitle": "Normalised MRR each plan brings",
|
|
51
|
-
"description": "No paying workspace · {price} | 1 paying workspace · {price} | {count} paying workspaces · {price}",
|
|
52
|
-
"empty": "No plan brings recurring revenue yet.",
|
|
53
|
-
"open_catalogue": "Catalogue"
|
|
54
|
-
},
|
|
55
|
-
"activity": {
|
|
56
|
-
"title": "Recent activity",
|
|
57
|
-
"empty": "Nothing happened yet.",
|
|
58
|
-
"tabs": {
|
|
59
|
-
"all": "All",
|
|
60
|
-
"billing": "Billing",
|
|
61
|
-
"lifecycle": "Lifecycle"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
3
|
"activity": {
|
|
66
4
|
"by_operator": "by {operator}",
|
|
67
5
|
"platform": {
|
|
@@ -72,6 +10,8 @@
|
|
|
72
10
|
"workspace_suspended": "{workspace} suspended",
|
|
73
11
|
"workspace_reactivated": "{workspace} reactivated",
|
|
74
12
|
"subscription_upgraded": "{workspace} upgraded {from} → {to}",
|
|
13
|
+
"complimentary_access_granted": "Complimentary access on {to} granted to {workspace}",
|
|
14
|
+
"support_joined": "Platform support joined {workspace}",
|
|
75
15
|
"balance_credited": "Stripe credit granted to {workspace}",
|
|
76
16
|
"invitation_sent": "Invitation to {workspace} e-mailed to {email}",
|
|
77
17
|
"invitation_email_failed": "Invitation e-mail to {email} for {workspace} not sent",
|
|
@@ -86,6 +26,8 @@
|
|
|
86
26
|
"workspace_suspended": "Workspace suspended",
|
|
87
27
|
"workspace_reactivated": "Workspace reactivated",
|
|
88
28
|
"subscription_upgraded": "Upgraded {from} → {to}",
|
|
29
|
+
"complimentary_access_granted": "Complimentary access granted on {to}",
|
|
30
|
+
"support_joined": "Platform support joined the workspace",
|
|
89
31
|
"balance_credited": "Stripe credit granted",
|
|
90
32
|
"invitation_sent": "Invitation e-mailed to {email}",
|
|
91
33
|
"invitation_email_failed": "Invitation e-mail to {email} not sent: copy the link to send it yourself",
|
|
@@ -232,14 +174,18 @@
|
|
|
232
174
|
"no_owner": "No owner",
|
|
233
175
|
"workspace_owner": "Workspace owner",
|
|
234
176
|
"created": "Created {date}",
|
|
235
|
-
"
|
|
177
|
+
"membership_owner": "You own this workspace",
|
|
178
|
+
"membership_member": "You're a member since {date}",
|
|
179
|
+
"membership_support": "You joined as platform support · {date}",
|
|
236
180
|
"complimentary": "Complimentary",
|
|
237
181
|
"change_plan": "Change plan",
|
|
238
182
|
"grant_free_access": "Grant free access",
|
|
239
183
|
"immediate_upgrade": "Immediate upgrade…",
|
|
240
184
|
"grant_credit": "Grant Stripe credit…",
|
|
241
185
|
"join": "Join as member…",
|
|
242
|
-
"
|
|
186
|
+
"owner": "Workspace owner",
|
|
187
|
+
"member": "Member",
|
|
188
|
+
"support": "Joined",
|
|
243
189
|
"open_in_stripe": "Open customer in Stripe",
|
|
244
190
|
"copy_link": "Copy workspace link",
|
|
245
191
|
"link_copied": "Workspace link copied.",
|
|
@@ -386,7 +332,9 @@
|
|
|
386
332
|
"credit_description": "Deducted from the next invoices",
|
|
387
333
|
"credit_unavailable": "Needs a Stripe customer",
|
|
388
334
|
"join": "Join as member",
|
|
389
|
-
"
|
|
335
|
+
"owner": "Workspace owner",
|
|
336
|
+
"member": "Already a member",
|
|
337
|
+
"support": "Joined as platform support",
|
|
390
338
|
"join_description": "Platform support · no seat used"
|
|
391
339
|
},
|
|
392
340
|
"credit": {
|
|
@@ -1,67 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"saas": {
|
|
3
|
-
"dashboard": {
|
|
4
|
-
"title": "Tableau de bord",
|
|
5
|
-
"description": "Revenu récurrent, santé des espaces de travail et incidents de facturation pour tous les clients.",
|
|
6
|
-
"other_currencies": "{amounts} dans d'autres devises non comptés",
|
|
7
|
-
"headline": {
|
|
8
|
-
"label": "Revenu récurrent et espaces de travail",
|
|
9
|
-
"mrr": "MRR · normalisé",
|
|
10
|
-
"arr": "ARR {arr}",
|
|
11
|
-
"paying": "Espaces payants",
|
|
12
|
-
"paying_value": "{paying} / {total}",
|
|
13
|
-
"paying_detail": "{free} gratuits · {trialing} en essai",
|
|
14
|
-
"trials": "Essais",
|
|
15
|
-
"trials_detail": "Aucun ne se termine dans les 14 jours | 1 se termine dans les 14 jours | {count} se terminent dans les 14 jours"
|
|
16
|
-
},
|
|
17
|
-
"churn": {
|
|
18
|
-
"title": "Attrition du revenu",
|
|
19
|
-
"description": "MRR perdu par des résiliations sur la période"
|
|
20
|
-
},
|
|
21
|
-
"attention": {
|
|
22
|
-
"title": "À traiter",
|
|
23
|
-
"description": "Les files qu'un opérateur devrait regarder aujourd'hui.",
|
|
24
|
-
"empty_title": "Rien à signaler",
|
|
25
|
-
"empty_description": "Aucun espace en retard de paiement, aucun accès offert ne se termine cette semaine, aucune migration ni facture n'attend.",
|
|
26
|
-
"past_due": "Aucun espace en retard de paiement | 1 espace en retard de paiement | {count} espaces en retard de paiement",
|
|
27
|
-
"complimentary_ending": "Aucun accès offert ne se termine | 1 accès offert se termine | {count} accès offerts se terminent",
|
|
28
|
-
"named_ending": "{name} le {date}",
|
|
29
|
-
"migrations": "Aucune migration à réconcilier | 1 migration à réconcilier | {count} migrations à réconcilier",
|
|
30
|
-
"migrations_detail": "{from} → {to} · {failed} espaces sur {total} en échec",
|
|
31
|
-
"open_invoices": "Aucune facture ouverte | 1 facture ouverte | {count} factures ouvertes",
|
|
32
|
-
"open_invoices_detail": "{amount} en attente de paiement"
|
|
33
|
-
},
|
|
34
|
-
"paid_invoices": {
|
|
35
|
-
"title": "Factures payées",
|
|
36
|
-
"description": "Encaissé et crédité, dans la devise de reporting",
|
|
37
|
-
"collected": "Encaissé",
|
|
38
|
-
"credited": "Crédité / remboursé",
|
|
39
|
-
"collected_previous_period": "Encaissé, période précédente",
|
|
40
|
-
"collected_previous_year": "Encaissé, année précédente",
|
|
41
|
-
"collected_compared": "Encaissé, période comparée"
|
|
42
|
-
},
|
|
43
|
-
"by_status": {
|
|
44
|
-
"title": "Espaces par statut",
|
|
45
|
-
"description": "Une couleur par statut dans tout le module",
|
|
46
|
-
"open_list": "Ouvrir la liste"
|
|
47
|
-
},
|
|
48
|
-
"plans": {
|
|
49
|
-
"title": "Offres par MRR",
|
|
50
|
-
"subtitle": "MRR normalisé apporté par chaque offre",
|
|
51
|
-
"description": "Aucun espace payant · {price} | 1 espace payant · {price} | {count} espaces payants · {price}",
|
|
52
|
-
"empty": "Aucune offre n'apporte encore de revenu récurrent.",
|
|
53
|
-
"open_catalogue": "Catalogue"
|
|
54
|
-
},
|
|
55
|
-
"activity": {
|
|
56
|
-
"title": "Activité récente",
|
|
57
|
-
"empty": "Rien ne s'est encore passé.",
|
|
58
|
-
"tabs": {
|
|
59
|
-
"all": "Tout",
|
|
60
|
-
"billing": "Facturation",
|
|
61
|
-
"lifecycle": "Cycle de vie"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
3
|
"activity": {
|
|
66
4
|
"by_operator": "par {operator}",
|
|
67
5
|
"platform": {
|
|
@@ -72,6 +10,8 @@
|
|
|
72
10
|
"workspace_suspended": "{workspace} suspendu",
|
|
73
11
|
"workspace_reactivated": "{workspace} réactivé",
|
|
74
12
|
"subscription_upgraded": "{workspace} passé de {from} à {to}",
|
|
13
|
+
"complimentary_access_granted": "Accès offert sur {to} accordé à {workspace}",
|
|
14
|
+
"support_joined": "Le support plateforme a rejoint {workspace}",
|
|
75
15
|
"balance_credited": "Crédit Stripe accordé à {workspace}",
|
|
76
16
|
"invitation_sent": "Invitation à {workspace} envoyée par e-mail à {email}",
|
|
77
17
|
"invitation_email_failed": "E-mail d'invitation à {email} pour {workspace} non envoyé",
|
|
@@ -86,6 +26,8 @@
|
|
|
86
26
|
"workspace_suspended": "Espace suspendu",
|
|
87
27
|
"workspace_reactivated": "Espace réactivé",
|
|
88
28
|
"subscription_upgraded": "Passé de {from} à {to}",
|
|
29
|
+
"complimentary_access_granted": "Accès offert accordé sur {to}",
|
|
30
|
+
"support_joined": "Le support plateforme a rejoint l'espace",
|
|
89
31
|
"balance_credited": "Crédit Stripe accordé",
|
|
90
32
|
"invitation_sent": "Invitation envoyée par e-mail à {email}",
|
|
91
33
|
"invitation_email_failed": "E-mail d'invitation à {email} non envoyé : copiez le lien pour l'envoyer vous-même",
|
|
@@ -232,14 +174,18 @@
|
|
|
232
174
|
"no_owner": "Aucun propriétaire",
|
|
233
175
|
"workspace_owner": "Propriétaire de l'espace",
|
|
234
176
|
"created": "Créé le {date}",
|
|
235
|
-
"
|
|
177
|
+
"membership_owner": "Vous êtes propriétaire de cet espace",
|
|
178
|
+
"membership_member": "Vous êtes membre depuis le {date}",
|
|
179
|
+
"membership_support": "Vous avez rejoint l'espace en support plateforme · {date}",
|
|
236
180
|
"complimentary": "Offert",
|
|
237
181
|
"change_plan": "Changer d'offre",
|
|
238
182
|
"grant_free_access": "Offrir l'accès",
|
|
239
183
|
"immediate_upgrade": "Montée en gamme immédiate…",
|
|
240
184
|
"grant_credit": "Accorder un crédit Stripe…",
|
|
241
185
|
"join": "Rejoindre comme membre…",
|
|
242
|
-
"
|
|
186
|
+
"owner": "Propriétaire de l'espace",
|
|
187
|
+
"member": "Membre",
|
|
188
|
+
"support": "Membre",
|
|
243
189
|
"open_in_stripe": "Ouvrir le client dans Stripe",
|
|
244
190
|
"copy_link": "Copier le lien de l'espace",
|
|
245
191
|
"link_copied": "Lien de l'espace copié.",
|
|
@@ -386,7 +332,9 @@
|
|
|
386
332
|
"credit_description": "Déduit des prochaines factures",
|
|
387
333
|
"credit_unavailable": "Nécessite un client Stripe",
|
|
388
334
|
"join": "Rejoindre comme membre",
|
|
389
|
-
"
|
|
335
|
+
"owner": "Propriétaire de l'espace",
|
|
336
|
+
"member": "Déjà membre",
|
|
337
|
+
"support": "Membre en support plateforme",
|
|
390
338
|
"join_description": "Support plateforme · aucun siège utilisé"
|
|
391
339
|
},
|
|
392
340
|
"credit": {
|
|
@@ -250,8 +250,7 @@
|
|
|
250
250
|
"complimentary_expired": "Choose a plan"
|
|
251
251
|
},
|
|
252
252
|
"manage_in_stripe": "Manage in Stripe",
|
|
253
|
-
"portal_failed": "We couldn't open Stripe"
|
|
254
|
-
"portal_failed_hint": "Try again, or pay the invoice from Billing."
|
|
253
|
+
"portal_failed": "We couldn't open Stripe"
|
|
255
254
|
},
|
|
256
255
|
"member": {
|
|
257
256
|
"title": "Only the workspace owner can restore access",
|
|
@@ -265,8 +264,7 @@
|
|
|
265
264
|
"owner": "workspace owner",
|
|
266
265
|
"member": "member",
|
|
267
266
|
"open": "Open",
|
|
268
|
-
"switch_failed": "We couldn't open {name}"
|
|
269
|
-
"switch_failed_hint": "Try again in a moment."
|
|
267
|
+
"switch_failed": "We couldn't open {name}"
|
|
270
268
|
},
|
|
271
269
|
"signed_in_as": "Signed in as {email}",
|
|
272
270
|
"check_again": "Check again",
|
|
@@ -250,8 +250,7 @@
|
|
|
250
250
|
"complimentary_expired": "Choisir une offre"
|
|
251
251
|
},
|
|
252
252
|
"manage_in_stripe": "Gérer dans Stripe",
|
|
253
|
-
"portal_failed": "Impossible d'ouvrir Stripe"
|
|
254
|
-
"portal_failed_hint": "Réessayez, ou réglez la facture depuis Facturation."
|
|
253
|
+
"portal_failed": "Impossible d'ouvrir Stripe"
|
|
255
254
|
},
|
|
256
255
|
"member": {
|
|
257
256
|
"title": "Seul le propriétaire de l'espace peut rétablir l'accès",
|
|
@@ -265,8 +264,7 @@
|
|
|
265
264
|
"owner": "propriétaire de l'espace",
|
|
266
265
|
"member": "membre",
|
|
267
266
|
"open": "Ouvrir",
|
|
268
|
-
"switch_failed": "Impossible d'ouvrir {name}"
|
|
269
|
-
"switch_failed_hint": "Réessayez dans un instant."
|
|
267
|
+
"switch_failed": "Impossible d'ouvrir {name}"
|
|
270
268
|
},
|
|
271
269
|
"signed_in_as": "Connecté en tant que {email}",
|
|
272
270
|
"check_again": "Vérifier à nouveau",
|
|
@@ -200,7 +200,6 @@
|
|
|
200
200
|
"clear_search": "Clear search",
|
|
201
201
|
"create": "Create workspace",
|
|
202
202
|
"switch_failed": "Couldn't switch to {name}",
|
|
203
|
-
"still_in": "You're still in {name}.",
|
|
204
203
|
"complimentary": "complimentary",
|
|
205
204
|
"owner_prefix": "owner",
|
|
206
205
|
"members_count": "no member | 1 member | {count} members",
|
|
@@ -200,7 +200,6 @@
|
|
|
200
200
|
"clear_search": "Effacer la recherche",
|
|
201
201
|
"create": "Créer un espace",
|
|
202
202
|
"switch_failed": "Impossible de passer à {name}",
|
|
203
|
-
"still_in": "Vous êtes toujours dans {name}.",
|
|
204
203
|
"complimentary": "offert",
|
|
205
204
|
"owner_prefix": "propriétaire",
|
|
206
205
|
"members_count": "aucun membre | 1 membre | {count} membres",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antelopejs/dms-saas",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "SaaS module for the AntelopeJS DMS: self-service sign-up and pricing, plans that gate features, Stripe billing, workspace settings and a back office.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"antelopejs",
|
|
@@ -48,32 +48,34 @@
|
|
|
48
48
|
"@antelopejs/interface-api": ">=0.0.15 <1.0.0",
|
|
49
49
|
"@antelopejs/interface-api-util": ">=0.1.3 <1.0.0",
|
|
50
50
|
"@antelopejs/interface-core": ">=0.2.4 <1.0.0",
|
|
51
|
-
"@antelopejs/interface-data-api": ">=0.
|
|
52
|
-
"@antelopejs/interface-database": ">=0.1.
|
|
53
|
-
"@antelopejs/interface-database-decorators": ">=0.1.
|
|
54
|
-
"@antelopejs/interface-dms": ">=0.
|
|
51
|
+
"@antelopejs/interface-data-api": ">=0.4.0 <1.0.0",
|
|
52
|
+
"@antelopejs/interface-database": ">=0.1.11 <1.0.0",
|
|
53
|
+
"@antelopejs/interface-database-decorators": ">=0.1.10 <1.0.0",
|
|
54
|
+
"@antelopejs/interface-dms": ">=0.9.0 <1.0.0",
|
|
55
55
|
"node-cron": "^4.2.1",
|
|
56
56
|
"stripe": "^22.6.2",
|
|
57
57
|
"zod": "^3.24.4",
|
|
58
|
-
"@antelopejs/interface-dms-saas": "^0.6.
|
|
58
|
+
"@antelopejs/interface-dms-saas": "^0.6.1"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@antelopejs/core": "1.
|
|
62
|
-
"@antelopejs/dms": ">=0.
|
|
63
|
-
"@antelopejs/dms-frontend": ">=0.
|
|
64
|
-
"@antelopejs/mongodb": "1.
|
|
65
|
-
"@
|
|
61
|
+
"@antelopejs/core": "1.17.1",
|
|
62
|
+
"@antelopejs/dms": ">=0.13.1 <1.0.0",
|
|
63
|
+
"@antelopejs/dms-frontend": ">=0.9.1 <0.10.0",
|
|
64
|
+
"@antelopejs/mongodb": "1.5.0",
|
|
65
|
+
"@total-typescript/shoehorn": "^0.1.2",
|
|
66
66
|
"@types/node": "^24.0.0",
|
|
67
|
+
"@vitejs/plugin-vue": "^6.0.10",
|
|
68
|
+
"@vue/test-utils": "^2.5.1",
|
|
69
|
+
"happy-dom": "^21.0.4",
|
|
67
70
|
"knip": "^6.34.0",
|
|
68
71
|
"mongodb-memory-server-core": "^11.0.1",
|
|
69
|
-
"oxfmt": "^0.66.0",
|
|
70
|
-
"oxlint": "1.81.0",
|
|
71
|
-
"oxlint-tsgolint": "^7.0.2001",
|
|
72
72
|
"release-it": "^19.2.4",
|
|
73
73
|
"release-it-changelogen": "^0.1.0",
|
|
74
74
|
"rimraf": "^6.1.3",
|
|
75
75
|
"typescript": "^6.0.3",
|
|
76
|
-
"
|
|
76
|
+
"vite": "^8.3.4",
|
|
77
|
+
"vitest": "^4.1.10",
|
|
78
|
+
"vue": "^3.5.18"
|
|
77
79
|
},
|
|
78
80
|
"optionalDependencies": {
|
|
79
81
|
"@antelopejs/interface-dms-automation": ">=0.2.1 <1.0.0"
|
|
@@ -94,10 +96,7 @@
|
|
|
94
96
|
"frontend:dev": "cd playground && pnpm frontend:dev",
|
|
95
97
|
"dev": "ajs project run -w -p playground",
|
|
96
98
|
"stripe:webhooks": "stripe listen --forward-to localhost:5010/api/saas/webhooks/stripe",
|
|
97
|
-
"lint:fix": "oxlint --fix --max-warnings=1000000 && oxfmt . && cd frontend-vue && pnpm lint:fix",
|
|
98
|
-
"lint": "oxlint && oxfmt --check . && antelopejs-check-interface-ranges && cd frontend-vue && pnpm lint",
|
|
99
99
|
"typecheck": "tsc --noEmit",
|
|
100
|
-
"format": "oxfmt . && cd frontend-vue && pnpm format",
|
|
101
100
|
"verify:interface": "node scripts/verify-interface-package.cjs",
|
|
102
101
|
"test": "pnpm run build && pnpm --filter @antelopejs/interface-dms-saas run check:exports && pnpm run test:unit",
|
|
103
102
|
"test:unit": "vitest run",
|
package/skills/dms-saas/SKILL.md
CHANGED
|
@@ -14,8 +14,7 @@ User docs: `docs/` of this package, published at https://dms.antelopejs.com/docs
|
|
|
14
14
|
|
|
15
15
|
## Setup checklist
|
|
16
16
|
|
|
17
|
-
-
|
|
18
|
-
0.5 is the DMS 0.8 line.
|
|
17
|
+
- Requires `@antelopejs/dms` >=0.13.1 (interface-dms 0.9, renderer `@antelopejs/dms-frontend` 0.9).
|
|
19
18
|
- `ajs project modules add @antelopejs/dms-saas`; config `stripe.{secretKey,publishableKey,webhookSecret}` from env
|
|
20
19
|
(`envOverrides`). Placeholder keys disable Stripe calls: plan sync skipped, registration
|
|
21
20
|
takes no card whatever `registration.paymentMethod` says. Stripe refusing the key or unreachable → handled
|
|
@@ -48,7 +47,7 @@ User docs: `docs/` of this package, published at https://dms.antelopejs.com/docs
|
|
|
48
47
|
| --- | --- |
|
|
49
48
|
| Own registration screen | `publicScreens.register: false` + `useSaasRegistration()` composable |
|
|
50
49
|
| Store sign-up answers | `extras` on the payload + `Hook.TENANT_BEING_PROVISIONED` listener (throwing cancels the sign-up; return `undefined`) |
|
|
51
|
-
| Bill metered usage | `RegisterInvoiceLineItemsProvider({ id, resolve })` in `construct`,
|
|
50
|
+
| Bill metered usage | `RegisterInvoiceLineItemsProvider({ id, resolve })` in `construct`, `UnregisterInvoiceLineItemsProvider(id)` in `stop`, both from `@antelopejs/interface-dms-saas/invoice-line-items` (the root only exposes them as the `invoiceLineItems` namespace); stable `key`s |
|
|
52
51
|
| Show tax-exact next invoice | `GetUpcomingInvoicePreview({ tenantId, userId })` → `available` / `absent` / `unavailable` |
|
|
53
52
|
| Page in workspace settings | `category: workspaceSettingsCategory` (from `/pages`) |
|
|
54
53
|
| Block on the billing page | `RegisterTenantBillingPageExtension({ name, components })` anchored on `tenantBillingPage.components.*` |
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"cases": [
|
|
4
|
+
{
|
|
5
|
+
"id": "saas-pro-plan",
|
|
6
|
+
"area": "modules",
|
|
7
|
+
"style": "clean",
|
|
8
|
+
"prompt": "Add a Pro plan that unlocks the CSV exports.",
|
|
9
|
+
"expect": {
|
|
10
|
+
"skills": ["dms-saas"],
|
|
11
|
+
"acceptable": ["dms-auth", "dms"]
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"id": "saas-stripe-webhook-casual",
|
|
16
|
+
"area": "modules",
|
|
17
|
+
"style": "casual",
|
|
18
|
+
"prompt": "stripe webhook keeps failing signature check",
|
|
19
|
+
"expect": {
|
|
20
|
+
"skills": ["dms-saas"],
|
|
21
|
+
"acceptable": ["dms"]
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"id": "dms-saas-metered-usage-invoice",
|
|
26
|
+
"area": "modules",
|
|
27
|
+
"style": "clean",
|
|
28
|
+
"prompt": "Charge each workspace for the API calls it used this month as an extra line on its Stripe invoice. Which hook do I register, and where do I remove it?",
|
|
29
|
+
"expect": {
|
|
30
|
+
"skills": ["dms-saas"],
|
|
31
|
+
"acceptable": ["dms"],
|
|
32
|
+
"mustMention": ["RegisterInvoiceLineItemsProvider"]
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"id": "dms-saas-avoid-route-permission",
|
|
37
|
+
"area": "modules",
|
|
38
|
+
"style": "clean",
|
|
39
|
+
"prompt": "Protect an export endpoint so only users holding the exports.read permission can call it, and register that permission.",
|
|
40
|
+
"expect": {
|
|
41
|
+
"skills": ["dms-auth"],
|
|
42
|
+
"acceptable": ["dms"],
|
|
43
|
+
"mustMention": ["AuthUserWithPermission"],
|
|
44
|
+
"avoid": ["dms-saas"]
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|