@antelopejs/dms-saas 0.1.8 → 0.2.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 +5 -3
- package/dist/auth/subscription-access-gate.d.ts +1 -1
- package/dist/notifications/subjects.d.ts +19 -19
- package/dist/pages/platform/categories.d.ts +6 -6
- package/dist/pages/platform/credit-notes.d.ts +1 -1
- package/dist/pages/platform/dashboard.d.ts +2 -2
- package/dist/pages/platform/features.d.ts +1 -1
- package/dist/pages/platform/invoices.d.ts +1 -1
- package/dist/pages/platform/plans/edit.d.ts +2 -2
- package/dist/pages/platform/plans/index.d.ts +1 -1
- package/dist/pages/platform/plans/migrations.d.ts +1 -1
- package/dist/pages/platform/segments/index.d.ts +1 -1
- package/dist/pages/platform/settings.d.ts +1 -1
- package/dist/pages/platform/users/detail.d.ts +1 -1
- package/dist/pages/platform/users/index.d.ts +1 -1
- package/dist/pages/platform/workspaces/detail.d.ts +1 -1
- package/dist/pages/platform/workspaces/index.d.ts +2 -2
- package/dist/pages/tenant/billing.d.ts +1 -1
- package/dist/routes/platformOwner/billing-settings.d.ts +2 -2
- package/dist/routes/platformOwner/plan-deletion.d.ts +1 -1
- package/dist/routes/platformOwner/plans.d.ts +5 -5
- package/dist/routes/platformOwner/segments.d.ts +1 -1
- package/dist/routes/public/legal-documents.d.ts +2 -2
- package/dist/routes/tenant/workspaces.d.ts +1 -1
- package/dist/utils/invoice-lines-type.d.ts +1 -1
- package/package.json +15 -15
package/README.md
CHANGED
|
@@ -32,7 +32,9 @@ workspace. From that directory run `pnpm install`,
|
|
|
32
32
|
`pnpm test:frontend`. The frontend check generates a temporary workspace, then
|
|
33
33
|
builds client, SSR, and email bundles and runs Vue typechecking. To run the
|
|
34
34
|
playground frontend during backend development, use `pnpm frontend:dev`; this
|
|
35
|
-
dispatches through the core CLI as `ajs dms dev`.
|
|
35
|
+
dispatches through the core CLI as `ajs dms dev`. The playground connects to
|
|
36
|
+
MongoDB at `mongodb://localhost:27017` unless `MONGO_URL` is set, either in the
|
|
37
|
+
environment or in `playground/.env`.
|
|
36
38
|
|
|
37
39
|
## Completing a registration that entered without a workspace
|
|
38
40
|
|
|
@@ -506,7 +508,7 @@ remain indefinitely. The existing retention policy still removes old terminal
|
|
|
506
508
|
`success`/`skipped` receipts, so deduplication is not guaranteed after that window.
|
|
507
509
|
|
|
508
510
|
Revision mutations require the published database interface `0.1.6` or later
|
|
509
|
-
and an adapter implementing that contract. The MongoDB test adapter uses `1.3.
|
|
511
|
+
and an adapter implementing that contract. The MongoDB test adapter uses `1.3.1`,
|
|
510
512
|
and any DMS release carrying this module satisfies the requirement. New records
|
|
511
513
|
initialize revisions; legacy PostgreSQL rows with a declared revision column
|
|
512
514
|
require an explicit revision backfill
|
|
@@ -663,7 +665,7 @@ records positive promotion confirmation before validating final metadata, then
|
|
|
663
665
|
uses the existing database operation receipt to authorize publication. Published
|
|
664
666
|
prerequisites are the database interface `0.1.6`, the storage interface `0.1.3`,
|
|
665
667
|
and a compatible provider: local `0.1.4` or S3 `0.1.3`, all of which any DMS
|
|
666
|
-
release carrying this module provides. Tests use MongoDB `1.3.
|
|
668
|
+
release carrying this module provides. Tests use MongoDB `1.3.1`.
|
|
667
669
|
There is no legacy move/existence fallback.
|
|
668
670
|
|
|
669
671
|
Source admissions remain insert-only and permanent. Rejected work cannot publish,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { TenantSubscriptionStatus } from "../db";
|
|
2
|
-
export declare const BLOCKING_STATUSES: Set<"active" | "
|
|
2
|
+
export declare const BLOCKING_STATUSES: Set<"active" | "cancelled" | "suspended" | "trialing" | "past_due" | "pending_payment">;
|
|
3
3
|
export declare const WORKSPACE_ACCESS_BLOCKED_CODE = "saas.errors.workspace.access_blocked";
|
|
4
4
|
export declare function isTenantSubscriptionBlocked(tenantId: string): Promise<{
|
|
5
5
|
blocked: boolean;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { NotificationSubject } from "@antelopejs/interface-dms/notifications";
|
|
2
2
|
export type NotificationSubjectInfo = ReturnType<typeof NotificationSubject>;
|
|
3
|
-
export declare const SaasCategory: import("@antelopejs/interface-dms/
|
|
4
|
-
export declare const planMigratedSubject: import("@antelopejs/interface-dms/
|
|
5
|
-
export declare const trialEndingSoonSubject: import("@antelopejs/interface-dms/
|
|
6
|
-
export declare const trialEndedBlockedSubject: import("@antelopejs/interface-dms/
|
|
7
|
-
export declare const paymentFailedSubject: import("@antelopejs/interface-dms/
|
|
8
|
-
export declare const workspaceSuspendedSubject: import("@antelopejs/interface-dms/
|
|
9
|
-
export declare const freeWorkspaceExpiredSubject: import("@antelopejs/interface-dms/
|
|
10
|
-
export declare const freeWorkspaceEndingSoonSubject: import("@antelopejs/interface-dms/
|
|
11
|
-
export declare const subscriptionCancelledSubject: import("@antelopejs/interface-dms/
|
|
12
|
-
export declare const creditNoteIssuedSubject: import("@antelopejs/interface-dms/
|
|
13
|
-
export declare const refundProcessedSubject: import("@antelopejs/interface-dms/
|
|
14
|
-
export declare const platformOwnerAddedSubject: import("@antelopejs/interface-dms/
|
|
15
|
-
export declare const platformOwnerRemovedSubject: import("@antelopejs/interface-dms/
|
|
16
|
-
export declare const workspaceReactivatedSubject: import("@antelopejs/interface-dms/
|
|
17
|
-
export declare const seatOverageSubject: import("@antelopejs/interface-dms/
|
|
18
|
-
export declare const supportNewMessageSubject: import("@antelopejs/interface-dms/
|
|
19
|
-
export declare const supportStatusChangedSubject: import("@antelopejs/interface-dms/
|
|
20
|
-
export declare const complimentaryAccessGrantedSubject: import("@antelopejs/interface-dms/
|
|
21
|
-
export declare const automationNotificationSubject: import("@antelopejs/interface-dms/
|
|
3
|
+
export declare const SaasCategory: import("@antelopejs/interface-dms/notifications/types").NotificationCategoryInfo;
|
|
4
|
+
export declare const planMigratedSubject: import("@antelopejs/interface-dms/notifications/types").NotificationSubjectInfo;
|
|
5
|
+
export declare const trialEndingSoonSubject: import("@antelopejs/interface-dms/notifications/types").NotificationSubjectInfo;
|
|
6
|
+
export declare const trialEndedBlockedSubject: import("@antelopejs/interface-dms/notifications/types").NotificationSubjectInfo;
|
|
7
|
+
export declare const paymentFailedSubject: import("@antelopejs/interface-dms/notifications/types").NotificationSubjectInfo;
|
|
8
|
+
export declare const workspaceSuspendedSubject: import("@antelopejs/interface-dms/notifications/types").NotificationSubjectInfo;
|
|
9
|
+
export declare const freeWorkspaceExpiredSubject: import("@antelopejs/interface-dms/notifications/types").NotificationSubjectInfo;
|
|
10
|
+
export declare const freeWorkspaceEndingSoonSubject: import("@antelopejs/interface-dms/notifications/types").NotificationSubjectInfo;
|
|
11
|
+
export declare const subscriptionCancelledSubject: import("@antelopejs/interface-dms/notifications/types").NotificationSubjectInfo;
|
|
12
|
+
export declare const creditNoteIssuedSubject: import("@antelopejs/interface-dms/notifications/types").NotificationSubjectInfo;
|
|
13
|
+
export declare const refundProcessedSubject: import("@antelopejs/interface-dms/notifications/types").NotificationSubjectInfo;
|
|
14
|
+
export declare const platformOwnerAddedSubject: import("@antelopejs/interface-dms/notifications/types").NotificationSubjectInfo;
|
|
15
|
+
export declare const platformOwnerRemovedSubject: import("@antelopejs/interface-dms/notifications/types").NotificationSubjectInfo;
|
|
16
|
+
export declare const workspaceReactivatedSubject: import("@antelopejs/interface-dms/notifications/types").NotificationSubjectInfo;
|
|
17
|
+
export declare const seatOverageSubject: import("@antelopejs/interface-dms/notifications/types").NotificationSubjectInfo;
|
|
18
|
+
export declare const supportNewMessageSubject: import("@antelopejs/interface-dms/notifications/types").NotificationSubjectInfo;
|
|
19
|
+
export declare const supportStatusChangedSubject: import("@antelopejs/interface-dms/notifications/types").NotificationSubjectInfo;
|
|
20
|
+
export declare const complimentaryAccessGrantedSubject: import("@antelopejs/interface-dms/notifications/types").NotificationSubjectInfo;
|
|
21
|
+
export declare const automationNotificationSubject: import("@antelopejs/interface-dms/notifications/types").NotificationSubjectInfo;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const overviewCategory: import("@antelopejs/interface-dms
|
|
2
|
-
export declare const customersCategory: import("@antelopejs/interface-dms
|
|
3
|
-
export declare const catalogCategory: import("@antelopejs/interface-dms
|
|
4
|
-
export declare const billingCategory: import("@antelopejs/interface-dms
|
|
5
|
-
export declare const configurationCategory: import("@antelopejs/interface-dms
|
|
6
|
-
export declare const supportCategory: import("@antelopejs/interface-dms
|
|
1
|
+
export declare const overviewCategory: import("@antelopejs/interface-dms").CategoryInfo;
|
|
2
|
+
export declare const customersCategory: import("@antelopejs/interface-dms").CategoryInfo;
|
|
3
|
+
export declare const catalogCategory: import("@antelopejs/interface-dms").CategoryInfo;
|
|
4
|
+
export declare const billingCategory: import("@antelopejs/interface-dms").CategoryInfo;
|
|
5
|
+
export declare const configurationCategory: import("@antelopejs/interface-dms").CategoryInfo;
|
|
6
|
+
export declare const supportCategory: import("@antelopejs/interface-dms").CategoryInfo;
|
|
@@ -4,6 +4,6 @@ declare const SaasCreditNotesController_base: {
|
|
|
4
4
|
location: string;
|
|
5
5
|
};
|
|
6
6
|
export declare class SaasCreditNotesController extends SaasCreditNotesController_base {
|
|
7
|
-
static table: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/
|
|
7
|
+
static table: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/base").TableViewOptionsSerialized>;
|
|
8
8
|
}
|
|
9
9
|
export {};
|
|
@@ -4,7 +4,7 @@ declare const SaasDashboardController_base: {
|
|
|
4
4
|
location: string;
|
|
5
5
|
};
|
|
6
6
|
export declare class SaasDashboardController extends SaasDashboardController_base {
|
|
7
|
-
static kpis: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/
|
|
8
|
-
static charts: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/
|
|
7
|
+
static kpis: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/base").GridOptions>;
|
|
8
|
+
static charts: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/base").GridOptions>;
|
|
9
9
|
}
|
|
10
10
|
export {};
|
|
@@ -4,6 +4,6 @@ declare const SaasFeaturesController_base: {
|
|
|
4
4
|
location: string;
|
|
5
5
|
};
|
|
6
6
|
export declare class SaasFeaturesController extends SaasFeaturesController_base {
|
|
7
|
-
static table: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/
|
|
7
|
+
static table: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/base").TableViewOptionsSerialized>;
|
|
8
8
|
}
|
|
9
9
|
export {};
|
|
@@ -4,6 +4,6 @@ declare const SaasInvoicesController_base: {
|
|
|
4
4
|
location: string;
|
|
5
5
|
};
|
|
6
6
|
export declare class SaasInvoicesController extends SaasInvoicesController_base {
|
|
7
|
-
static table: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/
|
|
7
|
+
static table: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/base").TableViewOptionsSerialized>;
|
|
8
8
|
}
|
|
9
9
|
export {};
|
|
@@ -4,7 +4,7 @@ declare const SaasPlanNewController_base: {
|
|
|
4
4
|
location: string;
|
|
5
5
|
};
|
|
6
6
|
export declare class SaasPlanNewController extends SaasPlanNewController_base {
|
|
7
|
-
static form: import("@antelopejs/interface-dms/
|
|
7
|
+
static form: import("@antelopejs/interface-dms/base").FormBuilder;
|
|
8
8
|
}
|
|
9
9
|
declare const SaasPlanEditController_base: {
|
|
10
10
|
new (...args: any[]): {};
|
|
@@ -12,6 +12,6 @@ declare const SaasPlanEditController_base: {
|
|
|
12
12
|
location: string;
|
|
13
13
|
};
|
|
14
14
|
export declare class SaasPlanEditController extends SaasPlanEditController_base {
|
|
15
|
-
static form: import("@antelopejs/interface-dms/
|
|
15
|
+
static form: import("@antelopejs/interface-dms/base").FormBuilder;
|
|
16
16
|
}
|
|
17
17
|
export {};
|
|
@@ -4,6 +4,6 @@ declare const SaasPlansController_base: {
|
|
|
4
4
|
location: string;
|
|
5
5
|
};
|
|
6
6
|
export declare class SaasPlansController extends SaasPlansController_base {
|
|
7
|
-
static table: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/
|
|
7
|
+
static table: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/base").TableViewOptionsSerialized>;
|
|
8
8
|
}
|
|
9
9
|
export {};
|
|
@@ -4,6 +4,6 @@ declare const SaasPlanMigrationsController_base: {
|
|
|
4
4
|
location: string;
|
|
5
5
|
};
|
|
6
6
|
export declare class SaasPlanMigrationsController extends SaasPlanMigrationsController_base {
|
|
7
|
-
static table: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/
|
|
7
|
+
static table: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/base").TableViewOptionsSerialized>;
|
|
8
8
|
}
|
|
9
9
|
export {};
|
|
@@ -4,6 +4,6 @@ declare const SaasSegmentsController_base: {
|
|
|
4
4
|
location: string;
|
|
5
5
|
};
|
|
6
6
|
export declare class SaasSegmentsController extends SaasSegmentsController_base {
|
|
7
|
-
static table: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/
|
|
7
|
+
static table: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/base").TableViewOptionsSerialized>;
|
|
8
8
|
}
|
|
9
9
|
export {};
|
|
@@ -4,6 +4,6 @@ declare const SaasSettingsController_base: {
|
|
|
4
4
|
location: string;
|
|
5
5
|
};
|
|
6
6
|
export declare class SaasSettingsController extends SaasSettingsController_base {
|
|
7
|
-
static layout: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/
|
|
7
|
+
static layout: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/base").TabProps>;
|
|
8
8
|
}
|
|
9
9
|
export {};
|
|
@@ -4,6 +4,6 @@ declare const SaasUserDetailController_base: {
|
|
|
4
4
|
location: string;
|
|
5
5
|
};
|
|
6
6
|
export declare class SaasUserDetailController extends SaasUserDetailController_base {
|
|
7
|
-
static layout: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/
|
|
7
|
+
static layout: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/base").VStackOptions>;
|
|
8
8
|
}
|
|
9
9
|
export {};
|
|
@@ -4,6 +4,6 @@ declare const SaasUsersListController_base: {
|
|
|
4
4
|
location: string;
|
|
5
5
|
};
|
|
6
6
|
export declare class SaasUsersListController extends SaasUsersListController_base {
|
|
7
|
-
static table: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/
|
|
7
|
+
static table: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/base").TableViewOptionsSerialized>;
|
|
8
8
|
}
|
|
9
9
|
export {};
|
|
@@ -4,6 +4,6 @@ declare const SaasWorkspaceDetailController_base: {
|
|
|
4
4
|
location: string;
|
|
5
5
|
};
|
|
6
6
|
export declare class SaasWorkspaceDetailController extends SaasWorkspaceDetailController_base {
|
|
7
|
-
static layout: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/
|
|
7
|
+
static layout: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/base").VStackOptions>;
|
|
8
8
|
}
|
|
9
9
|
export {};
|
|
@@ -20,8 +20,8 @@ export declare class SaasWorkspacesListController extends SaasWorkspacesListCont
|
|
|
20
20
|
tenantModel: TenantModel;
|
|
21
21
|
userModel: UserModel;
|
|
22
22
|
planModel: PlanModel;
|
|
23
|
-
static kpis: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/
|
|
24
|
-
static table: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/
|
|
23
|
+
static kpis: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/base").GridOptions>;
|
|
24
|
+
static table: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/base").TableViewOptionsSerialized>;
|
|
25
25
|
createWorkspace(user: User, body: CreateWorkspaceBody): Promise<{
|
|
26
26
|
tenantId: string;
|
|
27
27
|
owner: InviteUserToTenantResult;
|
|
@@ -10,6 +10,6 @@ export declare class SaasTenantBillingController extends SaasTenantBillingContro
|
|
|
10
10
|
static paymentMethod: import("@antelopejs/interface-dms").ComponentBuilder<unknown>;
|
|
11
11
|
static billingForm: import("@antelopejs/interface-dms").ComponentBuilder<unknown>;
|
|
12
12
|
static refundButton: import("@antelopejs/interface-dms").ComponentBuilder<unknown>;
|
|
13
|
-
static table: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/
|
|
13
|
+
static table: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/base").TableViewOptionsSerialized>;
|
|
14
14
|
}
|
|
15
15
|
export {};
|
|
@@ -14,7 +14,7 @@ interface BillingSettingsBody {
|
|
|
14
14
|
declare const SaasBillingSettingsController_base: import("@antelopejs/interface-api").ControllerClass<object>;
|
|
15
15
|
export declare class SaasBillingSettingsController extends SaasBillingSettingsController_base {
|
|
16
16
|
billingSettingsModel: BillingSettingsModel;
|
|
17
|
-
get(_user: User): Promise<import("@antelopejs/interface-dms-saas/
|
|
18
|
-
update(_user: User, body: BillingSettingsBody): Promise<import("@antelopejs/interface-dms-saas/
|
|
17
|
+
get(_user: User): Promise<import("@antelopejs/interface-dms-saas/db").BillingSettings>;
|
|
18
|
+
update(_user: User, body: BillingSettingsBody): Promise<import("@antelopejs/interface-dms-saas/db").BillingSettings>;
|
|
19
19
|
}
|
|
20
20
|
export {};
|
|
@@ -10,7 +10,7 @@ export declare class SaasPlanDeletionController extends SaasPlanDeletionControll
|
|
|
10
10
|
planMigrationModel: PlanMigrationModel;
|
|
11
11
|
tenantSubscriptionModel: TenantSubscriptionModel;
|
|
12
12
|
migrationStatus(_user: User, migrationId: string): Promise<{
|
|
13
|
-
migration: import("@antelopejs/interface-dms-saas/
|
|
13
|
+
migration: import("@antelopejs/interface-dms-saas/db").PlanMigration;
|
|
14
14
|
sourcePlanRetained: boolean;
|
|
15
15
|
scope: string;
|
|
16
16
|
reconciliation: string;
|
|
@@ -66,18 +66,18 @@ export declare class SaasPlansApiController extends SaasPlansApiController_base
|
|
|
66
66
|
name: string;
|
|
67
67
|
slug: string;
|
|
68
68
|
description: string;
|
|
69
|
-
audience: import("@antelopejs/interface-dms-saas/
|
|
69
|
+
audience: import("@antelopejs/interface-dms-saas/db").PlanAudience;
|
|
70
70
|
price: number;
|
|
71
71
|
currency: string;
|
|
72
|
-
interval: import("@antelopejs/interface-dms-saas/
|
|
73
|
-
billingMode: import("@antelopejs/interface-dms-saas/
|
|
74
|
-
features: import("@antelopejs/interface-dms-saas/
|
|
72
|
+
interval: import("@antelopejs/interface-dms-saas/db").PlanInterval;
|
|
73
|
+
billingMode: import("@antelopejs/interface-dms-saas/db").PlanBillingMode;
|
|
74
|
+
features: import("@antelopejs/interface-dms-saas/db").PlanFeatureValue[];
|
|
75
75
|
permissions: string[];
|
|
76
76
|
inheritsFromPlanId: string | null;
|
|
77
77
|
trialDays: number;
|
|
78
78
|
maxMembers: number;
|
|
79
79
|
isPublic: boolean;
|
|
80
|
-
paymentProviderRefs: import("@antelopejs/interface-dms-saas/
|
|
80
|
+
paymentProviderRefs: import("@antelopejs/interface-dms-saas/db").PlanProviderRefs;
|
|
81
81
|
borderColor: string | null;
|
|
82
82
|
borderLabel: string | null;
|
|
83
83
|
order: number;
|
|
@@ -17,7 +17,7 @@ export declare class SaasSegmentsApiController extends SaasSegmentsApiController
|
|
|
17
17
|
segmentModel: SegmentModel;
|
|
18
18
|
planModel: PlanModel;
|
|
19
19
|
fields(_user: User): Promise<SegmentFieldsCatalog>;
|
|
20
|
-
startOwnersExport(user: User, ctx: RequestContext, id: string): Promise<import("@antelopejs/interface-dms/
|
|
20
|
+
startOwnersExport(user: User, ctx: RequestContext, id: string): Promise<import("@antelopejs/interface-dms/base").ExportJobTicket>;
|
|
21
21
|
getOwnersExportStatus(user: User, ctx: RequestContext, id: string, jobId: string): Promise<ExportJobStatus>;
|
|
22
22
|
downloadOwnersExport(user: User, ctx: RequestContext, id: string, jobId: string): Promise<void>;
|
|
23
23
|
}
|
|
@@ -9,7 +9,7 @@ export declare function ensureLegalDocumentsSingleton(): Promise<void>;
|
|
|
9
9
|
declare const LegalDocumentsController_base: import("@antelopejs/interface-api").ControllerClass<object>;
|
|
10
10
|
export declare class LegalDocumentsController extends LegalDocumentsController_base {
|
|
11
11
|
legalDocumentsModel: LegalDocumentsModel;
|
|
12
|
-
get(): Promise<import("@antelopejs/interface-dms-saas/
|
|
13
|
-
update(_user: User, body: LegalDocumentsBody): Promise<import("@antelopejs/interface-dms-saas/
|
|
12
|
+
get(): Promise<import("@antelopejs/interface-dms-saas/db").LegalDocuments>;
|
|
13
|
+
update(_user: User, body: LegalDocumentsBody): Promise<import("@antelopejs/interface-dms-saas/db").LegalDocuments | undefined>;
|
|
14
14
|
}
|
|
15
15
|
export {};
|
|
@@ -59,7 +59,7 @@ export declare class SaasWorkspacesController extends SaasWorkspacesController_b
|
|
|
59
59
|
_id: string;
|
|
60
60
|
name: string;
|
|
61
61
|
createdAt: Date;
|
|
62
|
-
status: "active" | "
|
|
62
|
+
status: "active" | "cancelled" | "suspended" | "trialing" | "past_due" | "pending_payment" | null;
|
|
63
63
|
planId: string | null;
|
|
64
64
|
planName: string | null;
|
|
65
65
|
currency: string;
|
|
@@ -10,8 +10,8 @@ export declare class InvoiceLinesType extends DataType {
|
|
|
10
10
|
periodStart: z.ZodNullable<z.ZodDate>;
|
|
11
11
|
periodEnd: z.ZodNullable<z.ZodDate>;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
|
-
currency: string;
|
|
14
13
|
description: string;
|
|
14
|
+
currency: string;
|
|
15
15
|
amount: number;
|
|
16
16
|
periodStart: Date | null;
|
|
17
17
|
periodEnd: Date | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antelopejs/dms-saas",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
10
|
"dist",
|
|
11
|
+
"!dist/.tsbuildinfo",
|
|
11
12
|
"frontend-vue",
|
|
12
13
|
"package.json",
|
|
13
14
|
"README.md",
|
|
@@ -30,23 +31,23 @@
|
|
|
30
31
|
"dependencies": {
|
|
31
32
|
"@antelopejs/interface-api": ">=0.0.13 <1.0.0",
|
|
32
33
|
"@antelopejs/interface-api-util": ">=0.1.2 <1.0.0",
|
|
33
|
-
"@antelopejs/interface-core": ">=0.
|
|
34
|
+
"@antelopejs/interface-core": ">=0.1.1 <1.0.0",
|
|
34
35
|
"@antelopejs/interface-data-api": ">=0.1.9 <1.0.0",
|
|
35
36
|
"@antelopejs/interface-database": ">=0.1.7 <1.0.0",
|
|
36
37
|
"@antelopejs/interface-database-decorators": ">=0.1.6 <1.0.0",
|
|
37
|
-
"@antelopejs/interface-dms": ">=0.
|
|
38
|
-
"@antelopejs/interface-dms-saas": ">=0.0
|
|
38
|
+
"@antelopejs/interface-dms": ">=0.2.0 <1.0.0",
|
|
39
|
+
"@antelopejs/interface-dms-saas": ">=0.1.0 <1.0.0",
|
|
39
40
|
"@antelopejs/interface-file-storage": ">=0.1.3 <1.0.0",
|
|
40
41
|
"node-cron": "^4.2.1",
|
|
41
42
|
"stripe": "^17.5.0",
|
|
42
43
|
"zod": "^3.24.4"
|
|
43
44
|
},
|
|
44
45
|
"devDependencies": {
|
|
45
|
-
"@antelopejs/core": "1.
|
|
46
|
-
"@antelopejs/dms": ">=0.
|
|
47
|
-
"@antelopejs/dms-frontend": "0.2.
|
|
48
|
-
"@antelopejs/file-storage-local": "0.1.
|
|
49
|
-
"@antelopejs/mongodb": "1.3.
|
|
46
|
+
"@antelopejs/core": "1.9.1",
|
|
47
|
+
"@antelopejs/dms": ">=0.4.0 <1.0.0",
|
|
48
|
+
"@antelopejs/dms-frontend": "0.2.6",
|
|
49
|
+
"@antelopejs/file-storage-local": "0.1.5",
|
|
50
|
+
"@antelopejs/mongodb": "1.3.1",
|
|
50
51
|
"@antelopejs/tooling-configs": ">=0.0.6 <1.0.0",
|
|
51
52
|
"@types/node": "^24.0.0",
|
|
52
53
|
"@types/node-cron": "^3.0.11",
|
|
@@ -58,11 +59,11 @@
|
|
|
58
59
|
"release-it": "^19.2.4",
|
|
59
60
|
"release-it-changelogen": "^0.1.0",
|
|
60
61
|
"rimraf": "^6.1.3",
|
|
61
|
-
"typescript": "^
|
|
62
|
+
"typescript": "^6.0.3",
|
|
62
63
|
"vitest": "^4.1.10"
|
|
63
64
|
},
|
|
64
65
|
"optionalDependencies": {
|
|
65
|
-
"@antelopejs/interface-dms-automation": ">=0.0
|
|
66
|
+
"@antelopejs/interface-dms-automation": ">=0.1.0 <1.0.0"
|
|
66
67
|
},
|
|
67
68
|
"antelopeJs": {
|
|
68
69
|
"baseUrl": "dist",
|
|
@@ -71,18 +72,17 @@
|
|
|
71
72
|
]
|
|
72
73
|
},
|
|
73
74
|
"scripts": {
|
|
74
|
-
"build": "pnpm --filter @antelopejs/interface-dms-saas build && rimraf dist && tsc
|
|
75
|
+
"build": "pnpm --filter @antelopejs/interface-dms-saas build && rimraf dist && tsc",
|
|
75
76
|
"test:frontend": "ajs dms verify-source --layer node_modules/@antelopejs/dms/frontend-vue --module frontend-vue",
|
|
76
77
|
"frontend:dev": "cd playground && pnpm frontend:dev",
|
|
77
78
|
"dev": "ajs project run -w -p playground",
|
|
78
79
|
"stripe:webhooks": "stripe listen --forward-to localhost:5010/api/saas/webhooks/stripe",
|
|
79
80
|
"lint:fix": "oxlint --fix --max-warnings=1000000 && oxfmt . && cd frontend-vue && pnpm lint:fix",
|
|
80
81
|
"lint": "oxlint && oxfmt --check . && cd frontend-vue && pnpm lint",
|
|
81
|
-
"typecheck": "tsc
|
|
82
|
+
"typecheck": "tsc --noEmit",
|
|
82
83
|
"format": "oxfmt . && cd frontend-vue && pnpm format",
|
|
83
|
-
"check:package-contract": "node scripts/check-package-contract.mjs",
|
|
84
84
|
"verify:interface": "node scripts/verify-interface-package.cjs",
|
|
85
|
-
"test": "pnpm run build && pnpm --filter @antelopejs/interface-dms-saas run check:
|
|
85
|
+
"test": "pnpm run build && pnpm --filter @antelopejs/interface-dms-saas run check:exports && pnpm run test:unit",
|
|
86
86
|
"test:unit": "vitest run",
|
|
87
87
|
"release": "pnpm --filter @antelopejs/interface-dms-saas build && pnpm --dir frontend-vue install --frozen-lockfile && pnpm run verify:interface && release-it",
|
|
88
88
|
"knip": "knip --dependencies",
|