@antelopejs/dms-saas 0.4.0 → 0.5.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 +37 -2
- package/dist/auth/index.d.ts +1 -0
- package/dist/auth/index.js +1 -0
- package/dist/auth/index.js.map +1 -1
- package/dist/auth/owner-only-permissions-resolver.d.ts +1 -0
- package/dist/auth/owner-only-permissions-resolver.js +25 -0
- package/dist/auth/owner-only-permissions-resolver.js.map +1 -0
- package/dist/billing-state/directory-hooks.d.ts +1 -0
- package/dist/billing-state/directory-hooks.js +35 -0
- package/dist/billing-state/directory-hooks.js.map +1 -0
- package/dist/billing-state/directory.d.ts +29 -0
- package/dist/billing-state/directory.js +152 -0
- package/dist/billing-state/directory.js.map +1 -0
- package/dist/billing-state/index.d.ts +5 -1
- package/dist/billing-state/index.js +14 -2
- package/dist/billing-state/index.js.map +1 -1
- package/dist/billing-state/past-due-banner.d.ts +4 -3
- package/dist/billing-state/past-due-banner.js +30 -10
- package/dist/billing-state/past-due-banner.js.map +1 -1
- package/dist/billing-state/recovery.d.ts +4 -0
- package/dist/billing-state/recovery.js +7 -5
- package/dist/billing-state/recovery.js.map +1 -1
- package/dist/billing-state/trial-ending-banner.d.ts +4 -0
- package/dist/billing-state/trial-ending-banner.js +66 -0
- package/dist/billing-state/trial-ending-banner.js.map +1 -0
- package/dist/config/runtime.d.ts +1 -0
- package/dist/config/runtime.js +5 -0
- package/dist/config/runtime.js.map +1 -1
- package/dist/crons/auto-suspend-past-due.js +4 -5
- package/dist/crons/auto-suspend-past-due.js.map +1 -1
- package/dist/data-api/platformOwner/admin-user-invoices.d.ts +6 -4
- package/dist/data-api/platformOwner/admin-user-invoices.js +52 -30
- package/dist/data-api/platformOwner/admin-user-invoices.js.map +1 -1
- package/dist/data-api/platformOwner/admin-user-workspaces.d.ts +2 -0
- package/dist/data-api/platformOwner/admin-user-workspaces.js +69 -3
- package/dist/data-api/platformOwner/admin-user-workspaces.js.map +1 -1
- package/dist/data-api/platformOwner/credit-note-rows.d.ts +11 -0
- package/dist/data-api/platformOwner/credit-note-rows.js +54 -0
- package/dist/data-api/platformOwner/credit-note-rows.js.map +1 -0
- package/dist/data-api/platformOwner/credit-notes.d.ts +13 -0
- package/dist/data-api/platformOwner/credit-notes.js +149 -10
- package/dist/data-api/platformOwner/credit-notes.js.map +1 -1
- package/dist/data-api/platformOwner/features.d.ts +7 -2
- package/dist/data-api/platformOwner/features.js +151 -37
- package/dist/data-api/platformOwner/features.js.map +1 -1
- package/dist/data-api/platformOwner/invitations.js +29 -9
- package/dist/data-api/platformOwner/invitations.js.map +1 -1
- package/dist/data-api/platformOwner/invoice-cells.d.ts +5 -0
- package/dist/data-api/platformOwner/invoice-cells.js +51 -0
- package/dist/data-api/platformOwner/invoice-cells.js.map +1 -0
- package/dist/data-api/platformOwner/invoice-options.js.map +1 -1
- package/dist/data-api/platformOwner/invoice-rows.d.ts +9 -0
- package/dist/data-api/platformOwner/invoice-rows.js +39 -0
- package/dist/data-api/platformOwner/invoice-rows.js.map +1 -0
- package/dist/data-api/platformOwner/invoices.d.ts +24 -6
- package/dist/data-api/platformOwner/invoices.js +192 -11
- package/dist/data-api/platformOwner/invoices.js.map +1 -1
- package/dist/data-api/platformOwner/members.d.ts +2 -1
- package/dist/data-api/platformOwner/members.js +56 -20
- package/dist/data-api/platformOwner/members.js.map +1 -1
- package/dist/data-api/platformOwner/plan-migrations.d.ts +14 -2
- package/dist/data-api/platformOwner/plan-migrations.js +179 -33
- package/dist/data-api/platformOwner/plan-migrations.js.map +1 -1
- package/dist/data-api/platformOwner/plans.d.ts +30 -6
- package/dist/data-api/platformOwner/plans.js +269 -44
- package/dist/data-api/platformOwner/plans.js.map +1 -1
- package/dist/data-api/platformOwner/segments.d.ts +9 -7
- package/dist/data-api/platformOwner/segments.js +108 -101
- package/dist/data-api/platformOwner/segments.js.map +1 -1
- package/dist/data-api/platformOwner/table-scope.d.ts +6 -0
- package/dist/data-api/platformOwner/table-scope.js +8 -0
- package/dist/data-api/platformOwner/table-scope.js.map +1 -0
- package/dist/data-api/platformOwner/users.d.ts +15 -2
- package/dist/data-api/platformOwner/users.js +171 -15
- package/dist/data-api/platformOwner/users.js.map +1 -1
- package/dist/data-api/platformOwner/workspace-cells.d.ts +12 -0
- package/dist/data-api/platformOwner/workspace-cells.js +90 -0
- package/dist/data-api/platformOwner/workspace-cells.js.map +1 -0
- package/dist/data-api/platformOwner/workspaces.d.ts +26 -4
- package/dist/data-api/platformOwner/workspaces.js +269 -97
- package/dist/data-api/platformOwner/workspaces.js.map +1 -1
- package/dist/data-api/tenant/tenant-invoices.d.ts +4 -0
- package/dist/data-api/tenant/tenant-invoices.js +68 -4
- package/dist/data-api/tenant/tenant-invoices.js.map +1 -1
- package/dist/hooks/register.js +5 -1
- package/dist/hooks/register.js.map +1 -1
- package/dist/i18n/composed-text.d.ts +17 -0
- package/dist/i18n/composed-text.js +71 -0
- package/dist/i18n/composed-text.js.map +1 -0
- package/dist/implementations/dms-saas/billing.d.ts +1 -0
- package/dist/implementations/dms-saas/billing.js +4 -1
- package/dist/implementations/dms-saas/billing.js.map +1 -1
- package/dist/implementations/dms-saas/pages.d.ts +0 -1
- package/dist/implementations/dms-saas/pages.js +0 -4
- package/dist/implementations/dms-saas/pages.js.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/metrics/activity-sources.d.ts +2 -0
- package/dist/metrics/activity-sources.js +60 -0
- package/dist/metrics/activity-sources.js.map +1 -0
- package/dist/metrics/activity.d.ts +25 -0
- package/dist/metrics/activity.js +197 -0
- package/dist/metrics/activity.js.map +1 -0
- package/dist/metrics/directory-summary.d.ts +30 -0
- package/dist/metrics/directory-summary.js +95 -0
- package/dist/metrics/directory-summary.js.map +1 -0
- package/dist/metrics/headline-items.d.ts +32 -0
- package/dist/metrics/headline-items.js +242 -0
- package/dist/metrics/headline-items.js.map +1 -0
- package/dist/metrics/normalised-mrr.d.ts +32 -0
- package/dist/metrics/normalised-mrr.js +75 -0
- package/dist/metrics/normalised-mrr.js.map +1 -0
- package/dist/metrics/revenue.d.ts +30 -0
- package/dist/metrics/revenue.js +126 -0
- package/dist/metrics/revenue.js.map +1 -0
- package/dist/notifications/recipients.d.ts +1 -0
- package/dist/notifications/recipients.js +4 -0
- package/dist/notifications/recipients.js.map +1 -1
- package/dist/notifications/subjects.d.ts +18 -17
- package/dist/notifications/subjects.js +7 -1
- package/dist/notifications/subjects.js.map +1 -1
- package/dist/operator-actions/commands.js +9 -6
- package/dist/operator-actions/commands.js.map +1 -1
- package/dist/operator-actions/invitation-commands.d.ts +7 -1
- package/dist/operator-actions/invitation-commands.js +16 -0
- package/dist/operator-actions/invitation-commands.js.map +1 -1
- package/dist/operator-actions/previews.d.ts +50 -0
- package/dist/operator-actions/previews.js +113 -0
- package/dist/operator-actions/previews.js.map +1 -0
- package/dist/operator-actions/types.d.ts +1 -1
- package/dist/operator-actions/upgrade-preview.d.ts +35 -0
- package/dist/operator-actions/upgrade-preview.js +110 -0
- package/dist/operator-actions/upgrade-preview.js.map +1 -0
- package/dist/operator-billing/billing-rules.d.ts +58 -0
- package/dist/operator-billing/billing-rules.js +90 -0
- package/dist/operator-billing/billing-rules.js.map +1 -0
- package/dist/operator-billing/billing-settings-store.d.ts +3 -0
- package/dist/operator-billing/billing-settings-store.js +34 -0
- package/dist/operator-billing/billing-settings-store.js.map +1 -0
- package/dist/operator-billing/billing-stats.d.ts +37 -0
- package/dist/operator-billing/billing-stats.js +197 -0
- package/dist/operator-billing/billing-stats.js.map +1 -0
- package/dist/operator-billing/credit-allowance.d.ts +17 -0
- package/dist/operator-billing/credit-allowance.js +44 -0
- package/dist/operator-billing/credit-allowance.js.map +1 -0
- package/dist/operator-billing/credit-note-request.d.ts +39 -0
- package/dist/operator-billing/credit-note-request.js +73 -0
- package/dist/operator-billing/credit-note-request.js.map +1 -0
- package/dist/operator-billing/index.d.ts +8 -0
- package/dist/operator-billing/index.js +25 -0
- package/dist/operator-billing/index.js.map +1 -0
- package/dist/operator-billing/invoice-credit.d.ts +41 -0
- package/dist/operator-billing/invoice-credit.js +111 -0
- package/dist/operator-billing/invoice-credit.js.map +1 -0
- package/dist/operator-billing/legal-documents-store.d.ts +12 -0
- package/dist/operator-billing/legal-documents-store.js +46 -0
- package/dist/operator-billing/legal-documents-store.js.map +1 -0
- package/dist/operator-billing/legal-versions.d.ts +5 -0
- package/dist/operator-billing/legal-versions.js +31 -0
- package/dist/operator-billing/legal-versions.js.map +1 -0
- package/dist/pages/block-meta.d.ts +15 -0
- package/dist/pages/block-meta.js +21 -0
- package/dist/pages/block-meta.js.map +1 -0
- package/dist/pages/module.d.ts +1 -3
- package/dist/pages/module.js +1 -8
- package/dist/pages/module.js.map +1 -1
- package/dist/pages/platform/credit-notes.d.ts +1 -0
- package/dist/pages/platform/credit-notes.js +63 -5
- package/dist/pages/platform/credit-notes.js.map +1 -1
- package/dist/pages/platform/dashboard.d.ts +4 -1
- package/dist/pages/platform/dashboard.js +123 -64
- package/dist/pages/platform/dashboard.js.map +1 -1
- package/dist/pages/platform/features.js +83 -12
- package/dist/pages/platform/features.js.map +1 -1
- package/dist/pages/platform/index.d.ts +1 -0
- package/dist/pages/platform/index.js +1 -0
- package/dist/pages/platform/index.js.map +1 -1
- package/dist/pages/platform/invoices.d.ts +6 -0
- package/dist/pages/platform/invoices.js +84 -28
- package/dist/pages/platform/invoices.js.map +1 -1
- package/dist/pages/platform/paths.d.ts +9 -0
- package/dist/pages/platform/paths.js +25 -0
- package/dist/pages/platform/paths.js.map +1 -0
- package/dist/pages/platform/plans/edit.d.ts +2 -2
- package/dist/pages/platform/plans/edit.js +170 -105
- package/dist/pages/platform/plans/edit.js.map +1 -1
- package/dist/pages/platform/plans/index.d.ts +1 -0
- package/dist/pages/platform/plans/index.js +172 -55
- package/dist/pages/platform/plans/index.js.map +1 -1
- package/dist/pages/platform/plans/migrations.d.ts +12 -0
- package/dist/pages/platform/plans/migrations.js +259 -13
- package/dist/pages/platform/plans/migrations.js.map +1 -1
- package/dist/pages/platform/segments/edit.d.ts +17 -0
- package/dist/pages/platform/segments/edit.js +124 -0
- package/dist/pages/platform/segments/edit.js.map +1 -0
- package/dist/pages/platform/segments/index.js +68 -8
- package/dist/pages/platform/segments/index.js.map +1 -1
- package/dist/pages/platform/settings.d.ts +1 -1
- package/dist/pages/platform/settings.js +164 -105
- package/dist/pages/platform/settings.js.map +1 -1
- package/dist/pages/platform/users/detail.js +104 -33
- package/dist/pages/platform/users/detail.js.map +1 -1
- package/dist/pages/platform/users/index.js +52 -18
- package/dist/pages/platform/users/index.js.map +1 -1
- package/dist/pages/platform/workspaces/detail.d.ts +3 -1
- package/dist/pages/platform/workspaces/detail.js +184 -113
- package/dist/pages/platform/workspaces/detail.js.map +1 -1
- package/dist/pages/platform/workspaces/index.d.ts +1 -20
- package/dist/pages/platform/workspaces/index.js +152 -180
- package/dist/pages/platform/workspaces/index.js.map +1 -1
- package/dist/pages/platform/workspaces/shared.d.ts +11 -0
- package/dist/pages/platform/workspaces/shared.js +53 -0
- package/dist/pages/platform/workspaces/shared.js.map +1 -0
- package/dist/pages/public/auth/no-workspace.js +7 -2
- package/dist/pages/public/auth/no-workspace.js.map +1 -1
- package/dist/pages/public/index.js.map +1 -1
- package/dist/pages/public/legal/privacy-policy.d.ts +1 -0
- package/dist/pages/public/legal/privacy-policy.js +9 -4
- package/dist/pages/public/legal/privacy-policy.js.map +1 -1
- package/dist/pages/public/legal/terms-and-conditions.d.ts +1 -0
- package/dist/pages/public/legal/terms-and-conditions.js +9 -4
- package/dist/pages/public/legal/terms-and-conditions.js.map +1 -1
- package/dist/pages/public/legal/terms-of-use.d.ts +1 -0
- package/dist/pages/public/legal/terms-of-use.js +9 -4
- package/dist/pages/public/legal/terms-of-use.js.map +1 -1
- package/dist/pages/public/nav-bar.d.ts +2 -0
- package/dist/pages/public/nav-bar.js +14 -0
- package/dist/pages/public/nav-bar.js.map +1 -0
- package/dist/pages/public/pricing.d.ts +10 -0
- package/dist/pages/public/pricing.js +32 -0
- package/dist/pages/public/pricing.js.map +1 -0
- package/dist/pages/public/register.d.ts +1 -0
- package/dist/pages/public/register.js +6 -3
- package/dist/pages/public/register.js.map +1 -1
- package/dist/pages/public/screens.js +1 -0
- package/dist/pages/public/screens.js.map +1 -1
- package/dist/pages/tenant/billing.d.ts +7 -7
- package/dist/pages/tenant/billing.js +141 -63
- package/dist/pages/tenant/billing.js.map +1 -1
- package/dist/pages/tenant/data-export.d.ts +3 -1
- package/dist/pages/tenant/data-export.js +25 -6
- package/dist/pages/tenant/data-export.js.map +1 -1
- package/dist/pages/tenant/general.d.ts +3 -2
- package/dist/pages/tenant/general.js +91 -11
- package/dist/pages/tenant/general.js.map +1 -1
- package/dist/pages/tenant/index.d.ts +1 -0
- package/dist/pages/tenant/index.js +1 -0
- package/dist/pages/tenant/index.js.map +1 -1
- package/dist/pages/tenant/members-seat-quota.d.ts +3 -0
- package/dist/pages/tenant/members-seat-quota.js +18 -6
- package/dist/pages/tenant/members-seat-quota.js.map +1 -1
- package/dist/pages/tenant/owner-only.d.ts +1 -0
- package/dist/pages/tenant/owner-only.js +14 -0
- package/dist/pages/tenant/owner-only.js.map +1 -0
- package/dist/pages/tenant/workspace-suspended.js +7 -3
- package/dist/pages/tenant/workspace-suspended.js.map +1 -1
- package/dist/plan-changes/applied-upgrade.d.ts +5 -0
- package/dist/plan-changes/applied-upgrade.js +51 -0
- package/dist/plan-changes/applied-upgrade.js.map +1 -0
- package/dist/plan-changes/deferred.js +9 -40
- package/dist/plan-changes/deferred.js.map +1 -1
- package/dist/plan-changes/immediate.d.ts +4 -0
- package/dist/plan-changes/immediate.js +34 -0
- package/dist/plan-changes/immediate.js.map +1 -0
- package/dist/plan-changes/index.d.ts +1 -0
- package/dist/plan-changes/index.js +1 -0
- package/dist/plan-changes/index.js.map +1 -1
- package/dist/plan-changes/pending-target.d.ts +17 -0
- package/dist/plan-changes/pending-target.js +62 -0
- package/dist/plan-changes/pending-target.js.map +1 -0
- package/dist/plans/catalogue-summary.d.ts +24 -0
- package/dist/plans/catalogue-summary.js +97 -0
- package/dist/plans/catalogue-summary.js.map +1 -0
- package/dist/plans/catalogue-usage.d.ts +36 -0
- package/dist/plans/catalogue-usage.js +120 -0
- package/dist/plans/catalogue-usage.js.map +1 -0
- package/dist/plans/feature-guards.d.ts +5 -0
- package/dist/plans/feature-guards.js +31 -0
- package/dist/plans/feature-guards.js.map +1 -0
- package/dist/plans/feature-usage.d.ts +4 -0
- package/dist/plans/feature-usage.js +22 -0
- package/dist/plans/feature-usage.js.map +1 -0
- package/dist/plans/migration-blocks.d.ts +13 -0
- package/dist/plans/migration-blocks.js +337 -0
- package/dist/plans/migration-blocks.js.map +1 -0
- package/dist/plans/migration-detail.d.ts +48 -0
- package/dist/plans/migration-detail.js +80 -0
- package/dist/plans/migration-detail.js.map +1 -0
- package/dist/plans/migration-dialogs.d.ts +8 -0
- package/dist/plans/migration-dialogs.js +103 -0
- package/dist/plans/migration-dialogs.js.map +1 -0
- package/dist/plans/migration-outcomes.d.ts +7 -0
- package/dist/plans/migration-outcomes.js +38 -0
- package/dist/plans/migration-outcomes.js.map +1 -0
- package/dist/plans/migration-realtime.d.ts +2 -0
- package/dist/plans/migration-realtime.js +19 -0
- package/dist/plans/migration-realtime.js.map +1 -0
- package/dist/plans/migration-workspaces.d.ts +40 -0
- package/dist/plans/migration-workspaces.js +121 -0
- package/dist/plans/migration-workspaces.js.map +1 -0
- package/dist/plans/money.d.ts +1 -0
- package/dist/plans/money.js +11 -0
- package/dist/plans/money.js.map +1 -0
- package/dist/plans/plan-access-type.d.ts +25 -0
- package/dist/plans/plan-access-type.js +49 -0
- package/dist/plans/plan-access-type.js.map +1 -0
- package/dist/plans/plan-audience.d.ts +3 -0
- package/dist/plans/plan-audience.js +9 -0
- package/dist/plans/plan-audience.js.map +1 -0
- package/dist/plans/plan-diff.d.ts +13 -0
- package/dist/plans/plan-diff.js +73 -0
- package/dist/plans/plan-diff.js.map +1 -0
- package/dist/plans/plan-permission-tree.d.ts +11 -0
- package/dist/plans/plan-permission-tree.js +58 -0
- package/dist/plans/plan-permission-tree.js.map +1 -0
- package/dist/plans/plan-write.d.ts +17 -0
- package/dist/plans/plan-write.js +111 -0
- package/dist/plans/plan-write.js.map +1 -0
- package/dist/plans/seat-capacity.d.ts +3 -1
- package/dist/plans/seat-capacity.js +10 -2
- package/dist/plans/seat-capacity.js.map +1 -1
- package/dist/plans/seat-hooks.d.ts +1 -0
- package/dist/plans/seat-hooks.js +1 -0
- package/dist/plans/seat-hooks.js.map +1 -1
- package/dist/plans/stripe-sync.d.ts +3 -0
- package/dist/plans/stripe-sync.js +16 -0
- package/dist/plans/stripe-sync.js.map +1 -1
- package/dist/routes/platformOwner/billing-settings.d.ts +11 -35
- package/dist/routes/platformOwner/billing-settings.js +77 -47
- package/dist/routes/platformOwner/billing-settings.js.map +1 -1
- package/dist/routes/platformOwner/billing-stats.d.ts +15 -0
- package/dist/routes/platformOwner/billing-stats.js +106 -0
- package/dist/routes/platformOwner/billing-stats.js.map +1 -0
- package/dist/routes/platformOwner/block-payloads.d.ts +7 -0
- package/dist/routes/platformOwner/block-payloads.js +3 -0
- package/dist/routes/platformOwner/block-payloads.js.map +1 -0
- package/dist/routes/platformOwner/credit-notes-issue.d.ts +7 -8
- package/dist/routes/platformOwner/credit-notes-issue.js +28 -16
- package/dist/routes/platformOwner/credit-notes-issue.js.map +1 -1
- package/dist/routes/platformOwner/dashboard.d.ts +14 -57
- package/dist/routes/platformOwner/dashboard.js +126 -247
- package/dist/routes/platformOwner/dashboard.js.map +1 -1
- package/dist/routes/platformOwner/index.d.ts +7 -0
- package/dist/routes/platformOwner/index.js +7 -0
- package/dist/routes/platformOwner/index.js.map +1 -1
- package/dist/routes/platformOwner/plan-deletion.d.ts +77 -19
- package/dist/routes/platformOwner/plan-deletion.js +219 -67
- package/dist/routes/platformOwner/plan-deletion.js.map +1 -1
- package/dist/routes/platformOwner/plan-dialogs.d.ts +22 -0
- package/dist/routes/platformOwner/plan-dialogs.js +211 -0
- package/dist/routes/platformOwner/plan-dialogs.js.map +1 -0
- package/dist/routes/platformOwner/plan-migration-context.d.ts +9 -0
- package/dist/routes/platformOwner/plan-migration-context.js +147 -0
- package/dist/routes/platformOwner/plan-migration-context.js.map +1 -0
- package/dist/routes/platformOwner/plan-migration-export.d.ts +12 -0
- package/dist/routes/platformOwner/plan-migration-export.js +100 -0
- package/dist/routes/platformOwner/plan-migration-export.js.map +1 -0
- package/dist/routes/platformOwner/plan-migrations.d.ts +43 -0
- package/dist/routes/platformOwner/plan-migrations.js +260 -0
- package/dist/routes/platformOwner/plan-migrations.js.map +1 -0
- package/dist/routes/platformOwner/plans.d.ts +44 -41
- package/dist/routes/platformOwner/plans.js +155 -142
- package/dist/routes/platformOwner/plans.js.map +1 -1
- package/dist/routes/platformOwner/platform-owners.d.ts +8 -6
- package/dist/routes/platformOwner/platform-owners.js +40 -12
- package/dist/routes/platformOwner/platform-owners.js.map +1 -1
- package/dist/routes/platformOwner/segments-export.d.ts +15 -0
- package/dist/routes/platformOwner/segments-export.js +143 -0
- package/dist/routes/platformOwner/segments-export.js.map +1 -0
- package/dist/routes/platformOwner/segments.d.ts +17 -11
- package/dist/routes/platformOwner/segments.js +62 -113
- package/dist/routes/platformOwner/segments.js.map +1 -1
- package/dist/routes/platformOwner/stripe-dashboard.d.ts +6 -0
- package/dist/routes/platformOwner/stripe-dashboard.js +29 -0
- package/dist/routes/platformOwner/stripe-dashboard.js.map +1 -0
- package/dist/routes/platformOwner/users-detail.d.ts +12 -22
- package/dist/routes/platformOwner/users-detail.js +60 -53
- package/dist/routes/platformOwner/users-detail.js.map +1 -1
- package/dist/routes/platformOwner/workspace-detail.d.ts +36 -0
- package/dist/routes/platformOwner/workspace-detail.js +222 -0
- package/dist/routes/platformOwner/workspace-detail.js.map +1 -0
- package/dist/routes/platformOwner/workspace-invitations.d.ts +4 -0
- package/dist/routes/platformOwner/workspace-invitations.js +18 -0
- package/dist/routes/platformOwner/workspace-invitations.js.map +1 -1
- package/dist/routes/platformOwner/workspace-operator-actions.d.ts +14 -2
- package/dist/routes/platformOwner/workspace-operator-actions.js +42 -4
- package/dist/routes/platformOwner/workspace-operator-actions.js.map +1 -1
- package/dist/routes/platformOwner/workspaces-admin.d.ts +17 -12
- package/dist/routes/platformOwner/workspaces-admin.js +122 -28
- package/dist/routes/platformOwner/workspaces-admin.js.map +1 -1
- package/dist/routes/public/index.d.ts +1 -0
- package/dist/routes/public/index.js +1 -0
- package/dist/routes/public/index.js.map +1 -1
- package/dist/routes/public/legal-documents.d.ts +2 -8
- package/dist/routes/public/legal-documents.js +4 -39
- package/dist/routes/public/legal-documents.js.map +1 -1
- package/dist/routes/public/pricing.d.ts +12 -0
- package/dist/routes/public/pricing.js +50 -0
- package/dist/routes/public/pricing.js.map +1 -0
- package/dist/routes/public/public-plan-catalog.d.ts +37 -0
- package/dist/routes/public/public-plan-catalog.js +63 -0
- package/dist/routes/public/public-plan-catalog.js.map +1 -0
- package/dist/routes/public/register.d.ts +13 -0
- package/dist/routes/public/register.js +88 -4
- package/dist/routes/public/register.js.map +1 -1
- package/dist/routes/tenant/billing-pay-invoice.d.ts +13 -0
- package/dist/routes/tenant/billing-pay-invoice.js +82 -0
- package/dist/routes/tenant/billing-pay-invoice.js.map +1 -0
- package/dist/routes/tenant/billing-portal.d.ts +8 -3
- package/dist/routes/tenant/billing-portal.js +34 -16
- package/dist/routes/tenant/billing-portal.js.map +1 -1
- package/dist/routes/tenant/billing-self-refund.d.ts +26 -1
- package/dist/routes/tenant/billing-self-refund.js +95 -46
- package/dist/routes/tenant/billing-self-refund.js.map +1 -1
- package/dist/routes/tenant/complimentary-banner.d.ts +12 -0
- package/dist/routes/tenant/complimentary-banner.js +64 -0
- package/dist/routes/tenant/complimentary-banner.js.map +1 -0
- package/dist/routes/tenant/data-export.js +14 -0
- package/dist/routes/tenant/data-export.js.map +1 -1
- package/dist/routes/tenant/index.d.ts +7 -0
- package/dist/routes/tenant/index.js +7 -0
- package/dist/routes/tenant/index.js.map +1 -1
- package/dist/routes/tenant/tenant-billing.d.ts +1 -0
- package/dist/routes/tenant/tenant-billing.js +18 -13
- package/dist/routes/tenant/tenant-billing.js.map +1 -1
- package/dist/routes/tenant/tenant-plan-authentication.d.ts +13 -0
- package/dist/routes/tenant/tenant-plan-authentication.js +79 -0
- package/dist/routes/tenant/tenant-plan-authentication.js.map +1 -0
- package/dist/routes/tenant/tenant-plan-cancellation.d.ts +12 -0
- package/dist/routes/tenant/tenant-plan-cancellation.js +87 -0
- package/dist/routes/tenant/tenant-plan-cancellation.js.map +1 -0
- package/dist/routes/tenant/tenant-plan-checkout.d.ts +3 -0
- package/dist/routes/tenant/tenant-plan-checkout.js +21 -11
- package/dist/routes/tenant/tenant-plan-checkout.js.map +1 -1
- package/dist/routes/tenant/tenant-plan-ops.d.ts +32 -2
- package/dist/routes/tenant/tenant-plan-ops.js +112 -39
- package/dist/routes/tenant/tenant-plan-ops.js.map +1 -1
- package/dist/routes/tenant/tenant-plan-preview.d.ts +33 -0
- package/dist/routes/tenant/tenant-plan-preview.js +216 -0
- package/dist/routes/tenant/tenant-plan-preview.js.map +1 -0
- package/dist/routes/tenant/tenant-plan-resubscription.d.ts +2 -0
- package/dist/routes/tenant/tenant-plan-resubscription.js +61 -0
- package/dist/routes/tenant/tenant-plan-resubscription.js.map +1 -0
- package/dist/routes/tenant/tenant-plan.d.ts +9 -4
- package/dist/routes/tenant/tenant-plan.js +124 -16
- package/dist/routes/tenant/tenant-plan.js.map +1 -1
- package/dist/routes/tenant/tenant-seats.d.ts +6 -1
- package/dist/routes/tenant/tenant-seats.js +26 -5
- package/dist/routes/tenant/tenant-seats.js.map +1 -1
- package/dist/routes/tenant/tenant-upcoming-invoice.d.ts +26 -0
- package/dist/routes/tenant/tenant-upcoming-invoice.js +200 -0
- package/dist/routes/tenant/tenant-upcoming-invoice.js.map +1 -0
- package/dist/routes/tenant/workspace-access.d.ts +67 -0
- package/dist/routes/tenant/workspace-access.js +224 -0
- package/dist/routes/tenant/workspace-access.js.map +1 -0
- package/dist/routes/tenant/workspaces.d.ts +12 -43
- package/dist/routes/tenant/workspaces.js +82 -192
- package/dist/routes/tenant/workspaces.js.map +1 -1
- package/dist/segments/index.d.ts +29 -0
- package/dist/segments/index.js +116 -0
- package/dist/segments/index.js.map +1 -0
- package/dist/stripe/client.d.ts +1 -0
- package/dist/stripe/client.js +11 -0
- package/dist/stripe/client.js.map +1 -1
- package/dist/stripe/customer-locale.d.ts +3 -0
- package/dist/stripe/customer-locale.js +36 -0
- package/dist/stripe/customer-locale.js.map +1 -0
- package/dist/stripe/dashboard-links.d.ts +2 -0
- package/dist/stripe/dashboard-links.js +8 -0
- package/dist/stripe/dashboard-links.js.map +1 -0
- package/dist/stripe/index.d.ts +3 -0
- package/dist/stripe/index.js +3 -0
- package/dist/stripe/index.js.map +1 -1
- package/dist/stripe/pending-update.d.ts +5 -0
- package/dist/stripe/pending-update.js +56 -0
- package/dist/stripe/pending-update.js.map +1 -0
- package/dist/stripe/plan-schedule.js +4 -1
- package/dist/stripe/plan-schedule.js.map +1 -1
- package/dist/stripe/subscription-cancellation.d.ts +3 -0
- package/dist/stripe/subscription-cancellation.js +26 -0
- package/dist/stripe/subscription-cancellation.js.map +1 -0
- package/dist/stripe/sync-plan.js +5 -6
- package/dist/stripe/sync-plan.js.map +1 -1
- package/dist/stripe/upcoming-invoice.d.ts +9 -0
- package/dist/stripe/upcoming-invoice.js +19 -3
- package/dist/stripe/upcoming-invoice.js.map +1 -1
- package/dist/stripe/webhook-checkout.js +2 -0
- package/dist/stripe/webhook-checkout.js.map +1 -1
- package/dist/stripe/webhook-credit-notes.js +15 -0
- package/dist/stripe/webhook-credit-notes.js.map +1 -1
- package/dist/stripe/webhook-dispatch.js +2 -0
- package/dist/stripe/webhook-dispatch.js.map +1 -1
- package/dist/stripe/webhook-handlers.d.ts +1 -0
- package/dist/stripe/webhook-handlers.js +34 -9
- package/dist/stripe/webhook-handlers.js.map +1 -1
- package/dist/stripe/webhook-shared.d.ts +3 -1
- package/dist/stripe/webhook-shared.js +20 -1
- package/dist/stripe/webhook-shared.js.map +1 -1
- package/dist/stripe/workspace-checkout.d.ts +2 -0
- package/dist/stripe/workspace-checkout.js +4 -0
- package/dist/stripe/workspace-checkout.js.map +1 -1
- package/dist/types/config.d.ts +2 -0
- package/dist/types/config.js.map +1 -1
- package/dist/upcoming-invoice/mapping.js +1 -0
- package/dist/upcoming-invoice/mapping.js.map +1 -1
- package/dist/users/index.d.ts +4 -0
- package/dist/users/index.js +21 -0
- package/dist/users/index.js.map +1 -0
- package/dist/users/platform-role.d.ts +18 -0
- package/dist/users/platform-role.js +127 -0
- package/dist/users/platform-role.js.map +1 -0
- package/dist/users/user-detail.d.ts +43 -0
- package/dist/users/user-detail.js +100 -0
- package/dist/users/user-detail.js.map +1 -0
- package/dist/users/user-facts.d.ts +10 -0
- package/dist/users/user-facts.js +157 -0
- package/dist/users/user-facts.js.map +1 -0
- package/dist/users/user-segments.d.ts +10 -0
- package/dist/users/user-segments.js +32 -0
- package/dist/users/user-segments.js.map +1 -0
- package/dist/utils/billing-displays.d.ts +6 -0
- package/dist/utils/billing-displays.js +17 -0
- package/dist/utils/billing-displays.js.map +1 -0
- package/dist/utils/billing-document-status.d.ts +0 -4
- package/dist/utils/billing-document-status.js +1 -13
- package/dist/utils/billing-document-status.js.map +1 -1
- package/dist/utils/billing-document-type.d.ts +6 -0
- package/dist/utils/billing-document-type.js +13 -0
- package/dist/utils/billing-document-type.js.map +1 -1
- package/dist/utils/csv-file.d.ts +2 -0
- package/dist/utils/csv-file.js +23 -0
- package/dist/utils/csv-file.js.map +1 -0
- package/dist/utils/form-insight-type.d.ts +8 -0
- package/dist/utils/form-insight-type.js +34 -0
- package/dist/utils/form-insight-type.js.map +1 -0
- package/dist/utils/index.d.ts +8 -0
- package/dist/utils/index.js +8 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/language.d.ts +1 -0
- package/dist/utils/language.js +7 -0
- package/dist/utils/language.js.map +1 -0
- package/dist/utils/money.d.ts +2 -0
- package/dist/utils/money.js +24 -0
- package/dist/utils/money.js.map +1 -0
- package/dist/utils/segment-evaluator.d.ts +4 -0
- package/dist/utils/segment-evaluator.js +15 -8
- package/dist/utils/segment-evaluator.js.map +1 -1
- package/dist/utils/segment-explain.d.ts +10 -0
- package/dist/utils/segment-explain.js +31 -0
- package/dist/utils/segment-explain.js.map +1 -0
- package/dist/utils/segment-fields.d.ts +13 -2
- package/dist/utils/segment-fields.js +137 -116
- package/dist/utils/segment-fields.js.map +1 -1
- package/dist/utils/segment-matching.d.ts +14 -3
- package/dist/utils/segment-matching.js +47 -13
- package/dist/utils/segment-matching.js.map +1 -1
- package/dist/utils/segment-preview.d.ts +31 -0
- package/dist/utils/segment-preview.js +83 -0
- package/dist/utils/segment-preview.js.map +1 -0
- package/dist/utils/segment-user-projection.d.ts +3 -0
- package/dist/utils/segment-user-projection.js +31 -0
- package/dist/utils/segment-user-projection.js.map +1 -0
- package/dist/utils/segment-validation.d.ts +14 -0
- package/dist/utils/segment-validation.js +98 -0
- package/dist/utils/segment-validation.js.map +1 -0
- package/dist/utils/status-vocabulary.d.ts +57 -0
- package/dist/utils/status-vocabulary.js +92 -0
- package/dist/utils/status-vocabulary.js.map +1 -0
- package/dist/workers/index.d.ts +1 -0
- package/dist/workers/index.js +1 -0
- package/dist/workers/index.js.map +1 -1
- package/dist/workers/plan-migration-resolution.d.ts +14 -0
- package/dist/workers/plan-migration-resolution.js +99 -0
- package/dist/workers/plan-migration-resolution.js.map +1 -0
- package/dist/workers/plan-migration.d.ts +6 -1
- package/dist/workers/plan-migration.js +152 -37
- package/dist/workers/plan-migration.js.map +1 -1
- package/dist/workspaces/billing-identity-lock.d.ts +1 -0
- package/dist/workspaces/billing-identity-lock.js +18 -0
- package/dist/workspaces/billing-identity-lock.js.map +1 -0
- package/dist/workspaces/complimentary-banner.d.ts +11 -0
- package/dist/workspaces/complimentary-banner.js +83 -0
- package/dist/workspaces/complimentary-banner.js.map +1 -0
- package/dist/workspaces/default-member-role.d.ts +2 -0
- package/dist/workspaces/default-member-role.js +43 -0
- package/dist/workspaces/default-member-role.js.map +1 -0
- package/dist/workspaces/deletion-request.d.ts +2 -0
- package/dist/workspaces/deletion-request.js +5 -0
- package/dist/workspaces/deletion-request.js.map +1 -0
- package/dist/workspaces/deletion.d.ts +1 -1
- package/dist/workspaces/deletion.js +19 -7
- package/dist/workspaces/deletion.js.map +1 -1
- package/dist/workspaces/detail-items.d.ts +15 -0
- package/dist/workspaces/detail-items.js +226 -0
- package/dist/workspaces/detail-items.js.map +1 -0
- package/dist/workspaces/first-payment.d.ts +5 -0
- package/dist/workspaces/first-payment.js +28 -0
- package/dist/workspaces/first-payment.js.map +1 -0
- package/dist/workspaces/free-workspaces-per-card.d.ts +6 -0
- package/dist/workspaces/free-workspaces-per-card.js +58 -0
- package/dist/workspaces/free-workspaces-per-card.js.map +1 -0
- package/dist/workspaces/index.d.ts +7 -0
- package/dist/workspaces/index.js +7 -0
- package/dist/workspaces/index.js.map +1 -1
- package/dist/workspaces/invitations.d.ts +2 -1
- package/dist/workspaces/invitations.js +16 -6
- package/dist/workspaces/invitations.js.map +1 -1
- package/dist/workspaces/my-workspaces.d.ts +13 -0
- package/dist/workspaces/my-workspaces.js +68 -0
- package/dist/workspaces/my-workspaces.js.map +1 -0
- package/dist/workspaces/operator-creation.d.ts +39 -0
- package/dist/workspaces/operator-creation.js +123 -0
- package/dist/workspaces/operator-creation.js.map +1 -0
- package/dist/workspaces/operator-view.d.ts +13 -0
- package/dist/workspaces/operator-view.js +37 -0
- package/dist/workspaces/operator-view.js.map +1 -0
- package/dist/workspaces/owner-contact.d.ts +7 -0
- package/dist/workspaces/owner-contact.js +24 -0
- package/dist/workspaces/owner-contact.js.map +1 -0
- package/dist/workspaces/owner-invitation-email.d.ts +12 -0
- package/dist/workspaces/owner-invitation-email.js +53 -0
- package/dist/workspaces/owner-invitation-email.js.map +1 -0
- package/dist/workspaces/provisioning.d.ts +2 -0
- package/dist/workspaces/provisioning.js +37 -15
- package/dist/workspaces/provisioning.js.map +1 -1
- package/dist/workspaces/self-serve-creation.d.ts +38 -0
- package/dist/workspaces/self-serve-creation.js +106 -0
- package/dist/workspaces/self-serve-creation.js.map +1 -0
- package/dist/workspaces/workspace-glance.d.ts +3 -0
- package/dist/workspaces/workspace-glance.js +93 -0
- package/dist/workspaces/workspace-glance.js.map +1 -0
- package/dist/workspaces/workspace-name.d.ts +2 -0
- package/dist/workspaces/workspace-name.js +14 -0
- package/dist/workspaces/workspace-name.js.map +1 -0
- package/dist/workspaces/workspace-overview.d.ts +41 -0
- package/dist/workspaces/workspace-overview.js +84 -0
- package/dist/workspaces/workspace-overview.js.map +1 -0
- package/dist/workspaces/workspace-owner.d.ts +7 -0
- package/dist/workspaces/workspace-owner.js +14 -0
- package/dist/workspaces/workspace-owner.js.map +1 -0
- package/frontend-vue/app/build/PayInvoiceDialog.vue +40 -0
- package/frontend-vue/app/build/PayInvoicePanel.vue +203 -0
- package/frontend-vue/app/build/PlanChangeReview.vue +415 -0
- package/frontend-vue/app/build/PlanFeatureValueInput.vue +143 -0
- package/frontend-vue/app/build/PlanPermissionPicker.vue +246 -0
- package/frontend-vue/app/build/WorkspaceSwitcherRow.vue +116 -0
- package/frontend-vue/app/build/components/CreditNoteInvoiceSummary.vue +82 -0
- package/frontend-vue/app/build/components/FormFieldRow.vue +97 -0
- package/frontend-vue/app/build/components/FormRows.vue +26 -0
- package/frontend-vue/app/build/components/RequiredLegend.vue +7 -0
- package/frontend-vue/app/build/composables/useCreditNoteDraft.ts +142 -0
- package/frontend-vue/app/build/composables/useCreditNoteTexts.ts +123 -0
- package/frontend-vue/app/build/composables/useLiveFormValues.ts +49 -0
- package/frontend-vue/app/build/day-formats.ts +17 -0
- package/frontend-vue/app/build/highlight.ts +28 -0
- package/frontend-vue/app/build/plan-catalog.ts +161 -0
- package/frontend-vue/app/build/plan-change-heading.ts +81 -0
- package/frontend-vue/app/build/plan-permissions.ts +92 -0
- package/frontend-vue/app/build/plan-retire.ts +83 -0
- package/frontend-vue/app/build/public/AccessTimeline.vue +68 -0
- package/frontend-vue/app/build/public/LegalAcceptance.vue +51 -0
- package/frontend-vue/app/build/public/OtherWorkspaces.vue +88 -0
- package/frontend-vue/app/build/public/PricingComparison.vue +227 -0
- package/frontend-vue/app/build/public/PricingFaq.vue +76 -0
- package/frontend-vue/app/build/public/PublicStage.vue +72 -0
- package/frontend-vue/app/build/public/RegistrationCardField.vue +71 -0
- package/frontend-vue/app/build/public/RegistrationPlanCard.vue +122 -0
- package/frontend-vue/app/build/public/access.ts +118 -0
- package/frontend-vue/app/build/public/chosen-plan.ts +36 -0
- package/frontend-vue/app/build/public/legal.ts +99 -0
- package/frontend-vue/app/build/public/pricing.ts +175 -0
- package/frontend-vue/app/build/public/routes.ts +122 -0
- package/frontend-vue/app/build/public/usePublicFetch.ts +44 -0
- package/frontend-vue/app/build/public/usePublicPlanFormat.ts +52 -0
- package/frontend-vue/app/build/segments/tree.ts +137 -0
- package/frontend-vue/app/build/segments/types.ts +119 -0
- package/frontend-vue/app/build/segments/useSegmentCatalog.ts +58 -0
- package/frontend-vue/app/build/segments/useSegmentDraft.ts +33 -0
- package/frontend-vue/app/build/segments/useSegmentPreview.ts +78 -0
- package/frontend-vue/app/build/segments/useSegmentSentence.ts +60 -0
- package/frontend-vue/app/build/segments/useSegmentWords.ts +204 -0
- package/frontend-vue/app/build/useWorkspaceName.ts +14 -0
- package/frontend-vue/app/build/users/useUserDetail.ts +82 -0
- package/frontend-vue/app/build/workspace-detail/ComplimentaryDialog.vue +219 -0
- package/frontend-vue/app/build/workspace-detail/CreditDialog.vue +243 -0
- package/frontend-vue/app/build/workspace-detail/UpgradeDialog.vue +258 -0
- package/frontend-vue/app/build/workspace-detail/WorkspaceActionDialogs.vue +82 -0
- package/frontend-vue/app/build/workspace-detail/planPrice.ts +26 -0
- package/frontend-vue/app/build/workspace-detail/types.ts +138 -0
- package/frontend-vue/app/build/workspace-detail/useWorkspaceActions.ts +177 -0
- package/frontend-vue/app/build/workspace-detail/useWorkspaceOverview.ts +44 -0
- package/frontend-vue/app/build/workspace-paths.ts +8 -0
- package/frontend-vue/app/components/BillingIdentityFields.vue +294 -161
- package/frontend-vue/app/components/CustomerPortalButton.vue +80 -32
- package/frontend-vue/app/components/DataExport.vue +250 -260
- package/frontend-vue/app/components/DataExportHistory.vue +246 -0
- package/frontend-vue/app/components/DunningTimeline.vue +120 -0
- package/frontend-vue/app/components/IssueCreditNoteModal.vue +318 -116
- package/frontend-vue/app/components/LegalDocumentRelease.vue +64 -0
- package/frontend-vue/app/components/LegalLayout.vue +284 -46
- package/frontend-vue/app/components/MigrationStripeCheck.vue +133 -0
- package/frontend-vue/app/components/PastDueAlert.vue +186 -78
- package/frontend-vue/app/components/PastDueBanner.vue +96 -67
- package/frontend-vue/app/components/PayInvoiceModal.vue +57 -0
- package/frontend-vue/app/components/PaymentMethodCard.vue +159 -163
- package/frontend-vue/app/components/PendingCheckoutModal.vue +61 -61
- package/frontend-vue/app/components/PlanAccessEditor.vue +410 -0
- package/frontend-vue/app/components/PlanCard.vue +358 -261
- package/frontend-vue/app/components/PlanCardPublic.vue +123 -51
- package/frontend-vue/app/components/PlanComparisonModal.vue +373 -309
- package/frontend-vue/app/components/PlanEditorPreview.vue +374 -0
- package/frontend-vue/app/components/PlanLimitInput.vue +92 -0
- package/frontend-vue/app/components/PlanTaxSync.vue +118 -0
- package/frontend-vue/app/components/PlanUpgradeModal.vue +265 -156
- package/frontend-vue/app/components/PlatformNotes.vue +215 -255
- package/frontend-vue/app/components/Pricing.vue +236 -0
- package/frontend-vue/app/components/PublicNavBar.vue +70 -0
- package/frontend-vue/app/components/RefundButton.vue +264 -113
- package/frontend-vue/app/components/RefundExample.vue +86 -0
- package/frontend-vue/app/components/Register.vue +217 -121
- package/frontend-vue/app/components/RegistrationClosed.vue +30 -13
- package/frontend-vue/app/components/RetirePlanModal.vue +829 -0
- package/frontend-vue/app/components/SeatQuotaBanner.vue +240 -90
- package/frontend-vue/app/components/SegmentConditionRow.vue +171 -0
- package/frontend-vue/app/components/SegmentConditionsBuilder.vue +89 -162
- package/frontend-vue/app/components/SegmentConditionsGroup.vue +273 -463
- package/frontend-vue/app/components/SegmentLivePreview.vue +301 -0
- package/frontend-vue/app/components/SegmentLogicToggle.vue +24 -0
- package/frontend-vue/app/components/SegmentRulesText.vue +57 -0
- package/frontend-vue/app/components/SegmentValueInput.vue +165 -0
- package/frontend-vue/app/components/SegmentWords.vue +36 -0
- package/frontend-vue/app/components/TenantBillingForm.vue +142 -103
- package/frontend-vue/app/components/TenantPlanCard.vue +635 -280
- package/frontend-vue/app/components/TrialEndingBanner.vue +76 -0
- package/frontend-vue/app/components/UserPlatformRoleCard.vue +102 -0
- package/frontend-vue/app/components/UserSegmentMatches.vue +123 -0
- package/frontend-vue/app/components/UserSummaryCard.vue +107 -158
- package/frontend-vue/app/components/WorkspaceAdminCreateModal.vue +354 -177
- package/frontend-vue/app/components/WorkspaceCreateModal.vue +372 -252
- package/frontend-vue/app/components/WorkspaceDangerZone.vue +178 -126
- package/frontend-vue/app/components/WorkspaceDetailHeader.vue +262 -19
- package/frontend-vue/app/components/WorkspaceInvitationLink.vue +108 -86
- package/frontend-vue/app/components/WorkspaceOperatorActions.vue +105 -330
- package/frontend-vue/app/components/WorkspaceSuspendButton.vue +34 -158
- package/frontend-vue/app/components/WorkspaceSuspended.vue +390 -149
- package/frontend-vue/app/components/WorkspaceSwitcherWidget.vue +145 -161
- package/frontend-vue/app/composables/useBillingIdentity.ts +97 -95
- package/frontend-vue/app/composables/useBillingStatus.ts +56 -24
- package/frontend-vue/app/composables/useCurrentWorkspace.ts +15 -30
- package/frontend-vue/app/composables/useDaysLeft.ts +20 -0
- package/frontend-vue/app/composables/useExportHistory.ts +209 -120
- package/frontend-vue/app/composables/useInvitationLink.ts +39 -53
- package/frontend-vue/app/composables/useMoneyFormat.ts +64 -33
- package/frontend-vue/app/composables/useMyWorkspaces.ts +41 -32
- package/frontend-vue/app/composables/useNextInvoice.ts +20 -0
- package/frontend-vue/app/composables/usePayInvoice.ts +52 -0
- package/frontend-vue/app/composables/usePendingCheckout.ts +71 -67
- package/frontend-vue/app/composables/usePlanCatalog.ts +16 -0
- package/frontend-vue/app/composables/usePlanChangeReview.ts +115 -0
- package/frontend-vue/app/composables/usePlanComparison.ts +17 -8
- package/frontend-vue/app/composables/usePlanDowngrade.ts +25 -23
- package/frontend-vue/app/composables/usePlanFeatureFormat.ts +238 -202
- package/frontend-vue/app/composables/usePlanPriceLabel.ts +28 -0
- package/frontend-vue/app/composables/useSaasRegistration.ts +516 -301
- package/frontend-vue/app/composables/useSaasStatus.ts +81 -0
- package/frontend-vue/app/composables/useSeatQuota.ts +27 -17
- package/frontend-vue/app/composables/useServerConfirm.ts +44 -0
- package/frontend-vue/app/composables/useStripePaymentElement.ts +3 -5
- package/frontend-vue/app/composables/useTenantPlan.ts +235 -99
- package/frontend-vue/app/composables/useUpgradeAuthentication.ts +37 -0
- package/frontend-vue/app/composables/useWorkspaceFinalization.ts +4 -0
- package/frontend-vue/app/composables/useWorkspaceOverview.ts +58 -0
- package/frontend-vue/app/composables/useWorkspaceRenamed.ts +33 -0
- package/frontend-vue/app/custom-pages/auth/no-workspace.vue +391 -312
- package/frontend-vue/app/plugins/auth-links.ts +38 -17
- package/frontend-vue/app/plugins/billing-data-types.ts +111 -58
- package/frontend-vue/app/plugins/footer-links.ts +13 -33
- package/frontend-vue/app/plugins/segment-conditions-data-type.ts +45 -0
- package/frontend-vue/app/plugins/sidebar-widgets.ts +13 -10
- package/frontend-vue/app/types/runtime-config.ts +9 -4
- package/frontend-vue/dms.frontend.build.ts +7 -0
- package/frontend-vue/dms.frontend.ts +6 -13
- package/frontend-vue/i18n/locales/saas-en-GB.json +499 -1380
- package/frontend-vue/i18n/locales/saas-fr-FR.json +499 -1380
- package/frontend-vue/i18n/locales/saas-operator-billing-en-GB.json +282 -0
- package/frontend-vue/i18n/locales/saas-operator-billing-fr-FR.json +282 -0
- package/frontend-vue/i18n/locales/saas-operator-catalog-en-GB.json +597 -0
- package/frontend-vue/i18n/locales/saas-operator-catalog-fr-FR.json +597 -0
- package/frontend-vue/i18n/locales/saas-operator-users-en-GB.json +505 -0
- package/frontend-vue/i18n/locales/saas-operator-users-fr-FR.json +505 -0
- package/frontend-vue/i18n/locales/saas-operator-workspaces-en-GB.json +595 -0
- package/frontend-vue/i18n/locales/saas-operator-workspaces-fr-FR.json +595 -0
- package/frontend-vue/i18n/locales/saas-public-en-GB.json +304 -0
- package/frontend-vue/i18n/locales/saas-public-fr-FR.json +304 -0
- package/frontend-vue/i18n/locales/saas-tenant-billing-en-GB.json +434 -0
- package/frontend-vue/i18n/locales/saas-tenant-billing-fr-FR.json +434 -0
- package/frontend-vue/i18n/locales/saas-tenant-workspace-en-GB.json +252 -0
- package/frontend-vue/i18n/locales/saas-tenant-workspace-fr-FR.json +252 -0
- package/frontend-vue/package.json +1 -1
- package/package.json +10 -10
- package/frontend-vue/app/components/CardGrid.vue +0 -77
- package/frontend-vue/app/components/DeletePlanModal.vue +0 -223
- package/frontend-vue/app/components/FreeAccessBanner.vue +0 -70
- package/frontend-vue/app/components/PlanCardsDisplay.vue +0 -127
- package/frontend-vue/app/components/PlanInheritancePicker.vue +0 -329
- package/frontend-vue/app/components/RecentActivity.vue +0 -72
- package/frontend-vue/app/components/WorkspaceBillingInfo.vue +0 -68
- package/frontend-vue/app/components/WorkspaceCompAccessButton.vue +0 -198
- package/frontend-vue/app/components/WorkspaceIdentity.vue +0 -99
- package/frontend-vue/app/components/WorkspaceJoinButton.vue +0 -50
- package/frontend-vue/app/components/WorkspaceSummaryCard.vue +0 -185
- package/frontend-vue/app/composables/useDetailRefresh.ts +0 -17
- package/frontend-vue/app/composables/usePastDueBannerAction.ts +0 -20
- package/frontend-vue/app/plugins/plan-cards-display.ts +0 -16
- package/frontend-vue/app/plugins/segment-conditions-data-type.client.ts +0 -122
|
@@ -16,73 +16,36 @@ const metadata_1 = require("@antelopejs/interface-data-api/metadata");
|
|
|
16
16
|
const interface_database_decorators_1 = require("@antelopejs/interface-database-decorators");
|
|
17
17
|
const db_1 = require("@antelopejs/interface-dms/db");
|
|
18
18
|
const auth_1 = require("@antelopejs/interface-dms/auth");
|
|
19
|
-
const db_2 = require("@antelopejs/interface-dms/auth/db");
|
|
20
19
|
const base_1 = require("@antelopejs/interface-dms/base");
|
|
21
20
|
const default_types_1 = require("@antelopejs/interface-dms/base/data-types/default-types");
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
{
|
|
39
|
-
label: "$saas.workspaces.owner_status.invitation_pending",
|
|
40
|
-
value: "invitation_pending",
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
label: "$saas.workspaces.owner_status.invitation_expired",
|
|
44
|
-
value: "invitation_expired",
|
|
45
|
-
},
|
|
46
|
-
{ label: "$saas.workspaces.owner_status.none", value: "none" },
|
|
47
|
-
];
|
|
48
|
-
const OWNER_STATUS_BY_INVITATION = {
|
|
49
|
-
pending: "invitation_pending",
|
|
50
|
-
expired: "invitation_expired",
|
|
21
|
+
const db_2 = require("../../db");
|
|
22
|
+
const status_vocabulary_1 = require("../../utils/status-vocabulary");
|
|
23
|
+
const hidden_filter_1 = require("./hidden-filter");
|
|
24
|
+
const workspace_cells_1 = require("./workspace-cells");
|
|
25
|
+
const COLUMN = "$saas.workspaces.column";
|
|
26
|
+
const NAME_COLUMN_SIZE = 175;
|
|
27
|
+
const STATUS_COLUMN_SIZE = 130;
|
|
28
|
+
const PLAN_COLUMN_SIZE = 150;
|
|
29
|
+
const MRR_COLUMN_SIZE = 100;
|
|
30
|
+
const OWNER_COLUMN_SIZE = 185;
|
|
31
|
+
const RENEWS_COLUMN_SIZE = 170;
|
|
32
|
+
const CREATED_COLUMN_SIZE = 130;
|
|
33
|
+
const DIRECTORY_JOIN = {
|
|
34
|
+
table: db_2.TenantBillingState,
|
|
35
|
+
localKey: "_id",
|
|
36
|
+
remoteIndex: "_id",
|
|
51
37
|
};
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
return self.table._id;
|
|
38
|
+
function directoryField(remoteField) {
|
|
39
|
+
return (0, metadata_1.Joined)({ ...DIRECTORY_JOIN, remoteField });
|
|
55
40
|
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
async function workspaceOwnership(tenantId) {
|
|
65
|
-
const emails = await memberOwnerEmails(tenantId);
|
|
66
|
-
if (emails.length > 0)
|
|
67
|
-
return { emails, inviteEmail: null, status: "joined" };
|
|
68
|
-
const invite = await (0, invitations_1.findPendingOwnerInvite)(tenantId);
|
|
69
|
-
if (!invite)
|
|
70
|
-
return { emails, inviteEmail: null, status: "none" };
|
|
71
|
-
return {
|
|
72
|
-
emails,
|
|
73
|
-
inviteEmail: invite.email,
|
|
74
|
-
status: OWNER_STATUS_BY_INVITATION[(0, invitations_1.invitationStatusOf)(invite)],
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
const ownershipByRow = new WeakMap();
|
|
78
|
-
function rowOwnership(self) {
|
|
79
|
-
const row = self;
|
|
80
|
-
let lookup = ownershipByRow.get(row);
|
|
81
|
-
if (!lookup) {
|
|
82
|
-
lookup = workspaceOwnership(tenantIdOf(row));
|
|
83
|
-
ownershipByRow.set(row, lookup);
|
|
84
|
-
}
|
|
85
|
-
return lookup;
|
|
41
|
+
const RENEWAL_KIND_TYPE = new default_types_1.DefaultDataTypes.SelectType({
|
|
42
|
+
items: db_2.WORKSPACE_RENEWAL_KINDS.map((kind) => ({
|
|
43
|
+
label: `$saas.workspaces.renewal_kind.${kind}`,
|
|
44
|
+
value: kind,
|
|
45
|
+
})),
|
|
46
|
+
});
|
|
47
|
+
function directoryRow(self) {
|
|
48
|
+
return self;
|
|
86
49
|
}
|
|
87
50
|
let workspacesDataAPI = class workspacesDataAPI extends (0, interface_data_api_1.DataController)(db_1.Tenant, {
|
|
88
51
|
get: base_1.TableViewRoutes.Get,
|
|
@@ -90,22 +53,28 @@ let workspacesDataAPI = class workspacesDataAPI extends (0, interface_data_api_1
|
|
|
90
53
|
select: base_1.TableViewRoutes.Select,
|
|
91
54
|
count: base_1.TableViewRoutes.Count,
|
|
92
55
|
countBatch: base_1.TableViewRoutes.CountBatch,
|
|
56
|
+
summary: base_1.TableViewRoutes.Summary,
|
|
93
57
|
}, (0, interface_api_1.Controller)("/api/saas/tables/workspaces")) {
|
|
94
|
-
get
|
|
95
|
-
return (0,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
return NO_VALUE;
|
|
100
|
-
const plan = await (0, interface_database_decorators_1.GetModel)(db_3.PlanModel).get(sub.planId);
|
|
101
|
-
return plan?.name ?? NO_VALUE;
|
|
102
|
-
});
|
|
58
|
+
get planDetail() {
|
|
59
|
+
return (0, workspace_cells_1.workspacePlanDetail)(directoryRow(this));
|
|
60
|
+
}
|
|
61
|
+
get mrrAmount() {
|
|
62
|
+
return (0, workspace_cells_1.workspaceMrrAmount)(directoryRow(this));
|
|
103
63
|
}
|
|
104
|
-
get
|
|
105
|
-
return
|
|
64
|
+
get mrrNote() {
|
|
65
|
+
return (0, workspace_cells_1.workspaceMrrNote)(directoryRow(this));
|
|
106
66
|
}
|
|
107
|
-
get
|
|
108
|
-
return
|
|
67
|
+
get ownerLabel() {
|
|
68
|
+
return (0, workspace_cells_1.workspaceOwnerLabel)(directoryRow(this));
|
|
69
|
+
}
|
|
70
|
+
get ownerState() {
|
|
71
|
+
return (0, workspace_cells_1.workspaceOwnerState)(directoryRow(this));
|
|
72
|
+
}
|
|
73
|
+
get renewalSummary() {
|
|
74
|
+
return (0, workspace_cells_1.workspaceRenewalSummary)(directoryRow(this));
|
|
75
|
+
}
|
|
76
|
+
get renewalDate() {
|
|
77
|
+
return (0, workspace_cells_1.workspaceRenewalDate)(directoryRow(this));
|
|
109
78
|
}
|
|
110
79
|
};
|
|
111
80
|
exports.workspacesDataAPI = workspacesDataAPI;
|
|
@@ -128,9 +97,11 @@ __decorate([
|
|
|
128
97
|
(0, base_1.Exported)(),
|
|
129
98
|
(0, metadata_1.Sortable)(),
|
|
130
99
|
(0, base_1.Column)({
|
|
131
|
-
name:
|
|
100
|
+
name: `${COLUMN}.workspace`,
|
|
132
101
|
type: new default_types_1.DefaultDataTypes.StringType(),
|
|
133
102
|
filterable: true,
|
|
103
|
+
size: NAME_COLUMN_SIZE,
|
|
104
|
+
display: new base_1.DefaultDisplays.IdentityDisplay({ subtitleField: "_id" }),
|
|
134
105
|
}),
|
|
135
106
|
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
136
107
|
__metadata("design:type", String)
|
|
@@ -140,60 +111,261 @@ __decorate([
|
|
|
140
111
|
(0, base_1.Exported)(),
|
|
141
112
|
(0, metadata_1.Sortable)({ noIndex: true }),
|
|
142
113
|
(0, base_1.Column)({
|
|
143
|
-
name:
|
|
144
|
-
type:
|
|
114
|
+
name: `${COLUMN}.status`,
|
|
115
|
+
type: (0, status_vocabulary_1.statusType)("workspace"),
|
|
145
116
|
filterable: true,
|
|
117
|
+
display: (0, status_vocabulary_1.statusPillDisplay)("workspace"),
|
|
118
|
+
size: STATUS_COLUMN_SIZE,
|
|
146
119
|
}),
|
|
147
|
-
(
|
|
148
|
-
table: db_3.TenantBillingState,
|
|
149
|
-
localKey: "_id",
|
|
150
|
-
remoteField: "billingState",
|
|
151
|
-
remoteIndex: "_id",
|
|
152
|
-
}),
|
|
120
|
+
directoryField("billingState"),
|
|
153
121
|
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
154
122
|
__metadata("design:type", String)
|
|
155
123
|
], workspacesDataAPI.prototype, "billingState", void 0);
|
|
124
|
+
__decorate([
|
|
125
|
+
(0, metadata_1.Listable)(["_id"]),
|
|
126
|
+
(0, hidden_filter_1.HiddenStringFilter)(),
|
|
127
|
+
directoryField("planId"),
|
|
128
|
+
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
129
|
+
__metadata("design:type", Object)
|
|
130
|
+
], workspacesDataAPI.prototype, "planId", void 0);
|
|
156
131
|
__decorate([
|
|
157
132
|
(0, metadata_1.Listable)(["_id"]),
|
|
158
133
|
(0, base_1.Exported)(),
|
|
134
|
+
(0, metadata_1.Sortable)({ noIndex: true }),
|
|
159
135
|
(0, base_1.Column)({
|
|
160
|
-
name:
|
|
136
|
+
name: `${COLUMN}.plan`,
|
|
161
137
|
type: new default_types_1.DefaultDataTypes.StringType(),
|
|
138
|
+
filterable: true,
|
|
139
|
+
display: new base_1.DefaultDisplays.TwoLineDisplay({ subField: "planDetail" }),
|
|
140
|
+
size: PLAN_COLUMN_SIZE,
|
|
162
141
|
}),
|
|
142
|
+
directoryField("planName"),
|
|
163
143
|
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
164
|
-
__metadata("design:type", Object)
|
|
165
|
-
|
|
166
|
-
|
|
144
|
+
__metadata("design:type", Object)
|
|
145
|
+
], workspacesDataAPI.prototype, "planName", void 0);
|
|
146
|
+
__decorate([
|
|
147
|
+
(0, metadata_1.Listable)(["_id"]),
|
|
148
|
+
(0, base_1.Exported)(),
|
|
149
|
+
(0, metadata_1.Sortable)({ noIndex: true }),
|
|
150
|
+
(0, base_1.Column)({
|
|
151
|
+
name: `${COLUMN}.mrr`,
|
|
152
|
+
type: new default_types_1.DefaultDataTypes.NumberType(),
|
|
153
|
+
filterable: true,
|
|
154
|
+
display: new base_1.DefaultDisplays.TwoLineDisplay({
|
|
155
|
+
primaryField: "mrrAmount",
|
|
156
|
+
subField: "mrrNote",
|
|
157
|
+
}),
|
|
158
|
+
size: MRR_COLUMN_SIZE,
|
|
159
|
+
}),
|
|
160
|
+
directoryField("mrrMinor"),
|
|
161
|
+
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
162
|
+
__metadata("design:type", Number)
|
|
163
|
+
], workspacesDataAPI.prototype, "mrrMinor", void 0);
|
|
164
|
+
__decorate([
|
|
165
|
+
(0, metadata_1.Listable)(["_id"]),
|
|
166
|
+
(0, base_1.Column)({
|
|
167
|
+
name: `${COLUMN}.reporting_mrr`,
|
|
168
|
+
type: new default_types_1.DefaultDataTypes.NumberType(),
|
|
169
|
+
isVisible: false,
|
|
170
|
+
}),
|
|
171
|
+
directoryField("reportingMrr"),
|
|
172
|
+
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
173
|
+
__metadata("design:type", Number)
|
|
174
|
+
], workspacesDataAPI.prototype, "reportingMrr", void 0);
|
|
167
175
|
__decorate([
|
|
168
176
|
(0, metadata_1.Listable)(["_id"]),
|
|
177
|
+
(0, base_1.Searchable)(),
|
|
169
178
|
(0, base_1.Exported)(),
|
|
179
|
+
(0, metadata_1.Sortable)({ noIndex: true }),
|
|
170
180
|
(0, base_1.Column)({
|
|
171
|
-
name:
|
|
181
|
+
name: `${COLUMN}.owner`,
|
|
172
182
|
type: new default_types_1.DefaultDataTypes.StringType(),
|
|
183
|
+
filterable: true,
|
|
184
|
+
display: new base_1.DefaultDisplays.TwoLineDisplay({
|
|
185
|
+
primaryField: "ownerLabel",
|
|
186
|
+
subField: "ownerState",
|
|
187
|
+
}),
|
|
188
|
+
size: OWNER_COLUMN_SIZE,
|
|
173
189
|
}),
|
|
190
|
+
directoryField("ownerName"),
|
|
174
191
|
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
175
|
-
__metadata("design:type", Object)
|
|
176
|
-
|
|
177
|
-
|
|
192
|
+
__metadata("design:type", Object)
|
|
193
|
+
], workspacesDataAPI.prototype, "ownerName", void 0);
|
|
194
|
+
__decorate([
|
|
195
|
+
(0, metadata_1.Listable)(["_id"]),
|
|
196
|
+
(0, base_1.Searchable)(),
|
|
197
|
+
(0, base_1.Exported)(),
|
|
198
|
+
(0, base_1.Column)({
|
|
199
|
+
name: `${COLUMN}.owner_email`,
|
|
200
|
+
type: new default_types_1.DefaultDataTypes.EmailType(),
|
|
201
|
+
filterable: true,
|
|
202
|
+
isVisible: false,
|
|
203
|
+
}),
|
|
204
|
+
directoryField("ownerEmail"),
|
|
205
|
+
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
206
|
+
__metadata("design:type", Object)
|
|
207
|
+
], workspacesDataAPI.prototype, "ownerEmail", void 0);
|
|
178
208
|
__decorate([
|
|
179
209
|
(0, metadata_1.Listable)(["_id"]),
|
|
180
210
|
(0, base_1.Exported)(),
|
|
181
211
|
(0, base_1.Column)({
|
|
182
|
-
name:
|
|
183
|
-
type:
|
|
212
|
+
name: `${COLUMN}.owner_status`,
|
|
213
|
+
type: (0, status_vocabulary_1.statusType)("owner"),
|
|
214
|
+
filterable: true,
|
|
215
|
+
isVisible: false,
|
|
216
|
+
}),
|
|
217
|
+
directoryField("ownerStatus"),
|
|
218
|
+
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
219
|
+
__metadata("design:type", String)
|
|
220
|
+
], workspacesDataAPI.prototype, "ownerStatus", void 0);
|
|
221
|
+
__decorate([
|
|
222
|
+
(0, metadata_1.Listable)(["_id"]),
|
|
223
|
+
(0, base_1.Column)({
|
|
224
|
+
name: `${COLUMN}.owner_never_joined`,
|
|
225
|
+
type: new default_types_1.DefaultDataTypes.BooleanType(),
|
|
226
|
+
filterable: true,
|
|
227
|
+
isVisible: false,
|
|
228
|
+
}),
|
|
229
|
+
directoryField("ownerNeverJoined"),
|
|
230
|
+
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
231
|
+
__metadata("design:type", Boolean)
|
|
232
|
+
], workspacesDataAPI.prototype, "ownerNeverJoined", void 0);
|
|
233
|
+
__decorate([
|
|
234
|
+
(0, metadata_1.Listable)(["_id"]),
|
|
235
|
+
(0, base_1.Exported)(),
|
|
236
|
+
(0, metadata_1.Sortable)({ noIndex: true }),
|
|
237
|
+
(0, base_1.Column)({
|
|
238
|
+
name: `${COLUMN}.renews`,
|
|
239
|
+
type: new default_types_1.DefaultDataTypes.DateType(),
|
|
240
|
+
filterable: true,
|
|
241
|
+
display: new base_1.DefaultDisplays.TwoLineDisplay({
|
|
242
|
+
primaryField: "renewalSummary",
|
|
243
|
+
subField: "renewalDate",
|
|
244
|
+
}),
|
|
245
|
+
size: RENEWS_COLUMN_SIZE,
|
|
246
|
+
}),
|
|
247
|
+
directoryField("renewsAt"),
|
|
248
|
+
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
249
|
+
__metadata("design:type", Object)
|
|
250
|
+
], workspacesDataAPI.prototype, "renewsAt", void 0);
|
|
251
|
+
__decorate([
|
|
252
|
+
(0, metadata_1.Listable)(["_id"]),
|
|
253
|
+
(0, base_1.Column)({
|
|
254
|
+
name: `${COLUMN}.renewal_kind`,
|
|
255
|
+
type: RENEWAL_KIND_TYPE,
|
|
256
|
+
filterable: true,
|
|
257
|
+
isVisible: false,
|
|
258
|
+
}),
|
|
259
|
+
directoryField("renewalKind"),
|
|
260
|
+
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
261
|
+
__metadata("design:type", Object)
|
|
262
|
+
], workspacesDataAPI.prototype, "renewalKind", void 0);
|
|
263
|
+
__decorate([
|
|
264
|
+
(0, metadata_1.Listable)(["_id"]),
|
|
265
|
+
(0, base_1.Column)({
|
|
266
|
+
name: `${COLUMN}.state_since`,
|
|
267
|
+
type: new default_types_1.DefaultDataTypes.DateType(),
|
|
268
|
+
filterable: true,
|
|
269
|
+
isVisible: false,
|
|
184
270
|
}),
|
|
271
|
+
directoryField("stateSince"),
|
|
272
|
+
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
273
|
+
__metadata("design:type", Object)
|
|
274
|
+
], workspacesDataAPI.prototype, "stateSince", void 0);
|
|
275
|
+
__decorate([
|
|
276
|
+
(0, metadata_1.Listable)(["_id"]),
|
|
277
|
+
(0, base_1.Column)({
|
|
278
|
+
name: `${COLUMN}.complimentary`,
|
|
279
|
+
type: new default_types_1.DefaultDataTypes.BooleanType(),
|
|
280
|
+
filterable: true,
|
|
281
|
+
isVisible: false,
|
|
282
|
+
}),
|
|
283
|
+
directoryField("isComplimentary"),
|
|
284
|
+
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
285
|
+
__metadata("design:type", Boolean)
|
|
286
|
+
], workspacesDataAPI.prototype, "isComplimentary", void 0);
|
|
287
|
+
__decorate([
|
|
288
|
+
(0, metadata_1.Listable)(["_id"]),
|
|
289
|
+
directoryField("currency"),
|
|
290
|
+
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
291
|
+
__metadata("design:type", Object)
|
|
292
|
+
], workspacesDataAPI.prototype, "currency", void 0);
|
|
293
|
+
__decorate([
|
|
294
|
+
(0, metadata_1.Listable)(["_id"]),
|
|
295
|
+
directoryField("planUnitAmountMinor"),
|
|
296
|
+
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
297
|
+
__metadata("design:type", Object)
|
|
298
|
+
], workspacesDataAPI.prototype, "planUnitAmountMinor", void 0);
|
|
299
|
+
__decorate([
|
|
300
|
+
(0, metadata_1.Listable)(["_id"]),
|
|
301
|
+
directoryField("planInterval"),
|
|
302
|
+
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
303
|
+
__metadata("design:type", Object)
|
|
304
|
+
], workspacesDataAPI.prototype, "planInterval", void 0);
|
|
305
|
+
__decorate([
|
|
306
|
+
(0, metadata_1.Listable)(["_id"]),
|
|
307
|
+
directoryField("planBillingMode"),
|
|
308
|
+
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
309
|
+
__metadata("design:type", Object)
|
|
310
|
+
], workspacesDataAPI.prototype, "planBillingMode", void 0);
|
|
311
|
+
__decorate([
|
|
312
|
+
(0, metadata_1.Listable)(["_id"]),
|
|
313
|
+
directoryField("seats"),
|
|
314
|
+
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
315
|
+
__metadata("design:type", Number)
|
|
316
|
+
], workspacesDataAPI.prototype, "seats", void 0);
|
|
317
|
+
__decorate([
|
|
318
|
+
(0, metadata_1.Listable)(["_id"]),
|
|
185
319
|
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
186
320
|
__metadata("design:type", Object),
|
|
187
321
|
__metadata("design:paramtypes", [])
|
|
188
|
-
], workspacesDataAPI.prototype, "
|
|
322
|
+
], workspacesDataAPI.prototype, "planDetail", null);
|
|
323
|
+
__decorate([
|
|
324
|
+
(0, metadata_1.Listable)(["_id"]),
|
|
325
|
+
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
326
|
+
__metadata("design:type", Object),
|
|
327
|
+
__metadata("design:paramtypes", [])
|
|
328
|
+
], workspacesDataAPI.prototype, "mrrAmount", null);
|
|
329
|
+
__decorate([
|
|
330
|
+
(0, metadata_1.Listable)(["_id"]),
|
|
331
|
+
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
332
|
+
__metadata("design:type", Object),
|
|
333
|
+
__metadata("design:paramtypes", [])
|
|
334
|
+
], workspacesDataAPI.prototype, "mrrNote", null);
|
|
335
|
+
__decorate([
|
|
336
|
+
(0, metadata_1.Listable)(["_id"]),
|
|
337
|
+
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
338
|
+
__metadata("design:type", Object),
|
|
339
|
+
__metadata("design:paramtypes", [])
|
|
340
|
+
], workspacesDataAPI.prototype, "ownerLabel", null);
|
|
341
|
+
__decorate([
|
|
342
|
+
(0, metadata_1.Listable)(["_id"]),
|
|
343
|
+
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
344
|
+
__metadata("design:type", Object),
|
|
345
|
+
__metadata("design:paramtypes", [])
|
|
346
|
+
], workspacesDataAPI.prototype, "ownerState", null);
|
|
347
|
+
__decorate([
|
|
348
|
+
(0, metadata_1.Listable)(["_id"]),
|
|
349
|
+
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
350
|
+
__metadata("design:type", Object),
|
|
351
|
+
__metadata("design:paramtypes", [])
|
|
352
|
+
], workspacesDataAPI.prototype, "renewalSummary", null);
|
|
353
|
+
__decorate([
|
|
354
|
+
(0, metadata_1.Listable)(["_id"]),
|
|
355
|
+
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
356
|
+
__metadata("design:type", Object),
|
|
357
|
+
__metadata("design:paramtypes", [])
|
|
358
|
+
], workspacesDataAPI.prototype, "renewalDate", null);
|
|
189
359
|
__decorate([
|
|
190
360
|
(0, base_1.Select)(),
|
|
191
361
|
(0, metadata_1.Listable)(),
|
|
192
362
|
(0, metadata_1.Sortable)(),
|
|
193
363
|
(0, base_1.Exported)(),
|
|
194
364
|
(0, base_1.Column)({
|
|
195
|
-
name:
|
|
365
|
+
name: `${COLUMN}.created_at`,
|
|
196
366
|
type: new default_types_1.DefaultDataTypes.DateType(),
|
|
367
|
+
filterable: true,
|
|
368
|
+
size: CREATED_COLUMN_SIZE,
|
|
197
369
|
}),
|
|
198
370
|
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
199
371
|
__metadata("design:type", Date)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaces.js","sourceRoot":"","sources":["../../../src/data-api/platformOwner/workspaces.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6DAAuD;AACvD,uEAGwC;AACxC,sEAOiD;AACjD,
|
|
1
|
+
{"version":3,"file":"workspaces.js","sourceRoot":"","sources":["../../../src/data-api/platformOwner/workspaces.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6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import { Invoice, InvoiceModel } from "../../db";
|
|
3
4
|
declare const tenantInvoicesDataAPI_base: import("@antelopejs/interface-core/decorators").Class<import("@antelopejs/interface-data-api").ExtractDefCallbacks<{
|
|
@@ -5,6 +6,7 @@ declare const tenantInvoicesDataAPI_base: import("@antelopejs/interface-core/dec
|
|
|
5
6
|
list: import("@antelopejs/interface-data-api").DataControllerCallback;
|
|
6
7
|
select: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<any>;
|
|
7
8
|
count: import("@antelopejs/interface-data-api").DataControllerCallback;
|
|
9
|
+
countBatch: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<any>;
|
|
8
10
|
}> & {
|
|
9
11
|
table: Invoice;
|
|
10
12
|
}> & import("@antelopejs/interface-core/decorators").Class<object> & {
|
|
@@ -16,6 +18,7 @@ export declare class tenantInvoicesDataAPI extends tenantInvoicesDataAPI_base {
|
|
|
16
18
|
_id: string;
|
|
17
19
|
documentType: string;
|
|
18
20
|
number: string | null;
|
|
21
|
+
get documentLine(): BlockText;
|
|
19
22
|
parentInvoiceNumber: string | null;
|
|
20
23
|
periodStart: Date | null;
|
|
21
24
|
periodEnd: Date | null;
|
|
@@ -25,6 +28,7 @@ export declare class tenantInvoicesDataAPI extends tenantInvoicesDataAPI_base {
|
|
|
25
28
|
amount: number;
|
|
26
29
|
lines: InvoiceLine[];
|
|
27
30
|
status: string;
|
|
31
|
+
get paymentStatus(): string;
|
|
28
32
|
creditNoteReason: string | null;
|
|
29
33
|
creditNoteType: string | null;
|
|
30
34
|
memo: string | null;
|