@antelopejs/dms-saas 0.11.1 → 0.12.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 +12 -12
- package/dist/data-api/platformOwner/admin-user-invoices.d.ts +1 -1
- package/dist/data-api/platformOwner/admin-user-workspaces.d.ts +1 -1
- package/dist/data-api/platformOwner/credit-notes.d.ts +14 -1
- package/dist/data-api/platformOwner/features.d.ts +15 -2
- package/dist/data-api/platformOwner/invitations.d.ts +1 -1
- package/dist/data-api/platformOwner/invoices.d.ts +7 -1
- package/dist/data-api/platformOwner/members.d.ts +1 -1
- package/dist/data-api/platformOwner/plan-migrations.d.ts +1 -1
- package/dist/data-api/platformOwner/plans.d.ts +8 -2
- package/dist/data-api/platformOwner/plans.js +1 -1
- package/dist/data-api/platformOwner/plans.js.map +1 -1
- package/dist/data-api/platformOwner/segments.d.ts +14 -1
- package/dist/data-api/platformOwner/users.d.ts +14 -1
- package/dist/data-api/platformOwner/workspaces.d.ts +1 -1
- package/dist/data-api/tenant/tenant-invoices.d.ts +1 -1
- package/dist/invoice-line-items/recovery/task.model.d.ts +3 -3
- package/dist/operator-actions/db/lifecycle-delivery.model.d.ts +3 -3
- package/dist/operator-actions/db/operator-action.model.d.ts +3 -3
- package/dist/routes/platformOwner/plan-migration-export.js +4 -1
- package/dist/routes/platformOwner/plan-migration-export.js.map +1 -1
- package/dist/routes/platformOwner/plans.d.ts +1 -1
- package/dist/routes/platformOwner/platform-notes.d.ts +2 -1
- package/dist/routes/platformOwner/platform-notes.js +1 -1
- package/dist/routes/platformOwner/platform-notes.js.map +1 -1
- package/dist/routes/platformOwner/segments-export.js +4 -1
- package/dist/routes/platformOwner/segments-export.js.map +1 -1
- package/dist/routes/tenant/data-export.d.ts +2 -1
- package/dist/routes/tenant/data-export.js +1 -1
- package/dist/routes/tenant/data-export.js.map +1 -1
- package/dist/routes/tenant/tenant-billing.js +2 -1
- package/dist/routes/tenant/tenant-billing.js.map +1 -1
- package/dist/upcoming-invoice/db/preview-cache.model.d.ts +3 -3
- package/dist/utils/pagination.d.ts +2 -1
- package/dist/utils/pagination.js +3 -1
- package/dist/utils/pagination.js.map +1 -1
- package/dist/utils/row-instance.d.ts +2 -1
- package/dist/utils/row-instance.js.map +1 -1
- package/dist/utils/workspace-records.js.map +1 -1
- package/dist/workspaces/db/provisioning-attempt.model.d.ts +3 -3
- package/dist/workspaces/db/trial-identity.model.d.ts +3 -3
- package/frontend-vue/app/build/PayInvoicePanel.vue +4 -4
- package/frontend-vue/app/build/PlanChangeReview.vue +4 -4
- package/frontend-vue/app/build/PlanFeatureValueInput.vue +2 -2
- package/frontend-vue/app/build/components/FormFieldRow.vue +1 -1
- package/frontend-vue/app/build/components/RetirePlanDiff.vue +2 -2
- package/frontend-vue/app/build/public/OtherWorkspaces.vue +2 -2
- package/frontend-vue/app/build/public/PricingComparison.vue +2 -2
- package/frontend-vue/app/build/public/PricingFaq.vue +2 -2
- package/frontend-vue/app/build/public/PublicStage.vue +3 -3
- package/frontend-vue/app/build/public/RegistrationPlanCard.vue +5 -5
- package/frontend-vue/app/build/public/legal-html.ts +146 -0
- package/frontend-vue/app/build/workspace-detail/ComplimentaryDialog.vue +3 -3
- package/frontend-vue/app/build/workspace-detail/CreditDialog.vue +2 -2
- package/frontend-vue/app/build/workspace-detail/UpgradeDialog.vue +1 -1
- package/frontend-vue/app/components/BillingIdentityFields.vue +2 -2
- package/frontend-vue/app/components/DataExport.vue +8 -8
- package/frontend-vue/app/components/DataExportHistory.vue +2 -2
- package/frontend-vue/app/components/IssueCreditNoteModal.vue +2 -2
- package/frontend-vue/app/components/LegalLayout.vue +33 -30
- package/frontend-vue/app/components/PastDueAlert.vue +3 -3
- package/frontend-vue/app/components/PaymentMethodCard.vue +2 -2
- package/frontend-vue/app/components/PlanCard.vue +2 -2
- package/frontend-vue/app/components/PlanCardPublic.vue +3 -3
- package/frontend-vue/app/components/PlanEditorPreview.vue +4 -4
- package/frontend-vue/app/components/PlanUpgradeModal.vue +4 -4
- package/frontend-vue/app/components/PlatformNotes.vue +2 -2
- package/frontend-vue/app/components/Pricing.vue +10 -8
- package/frontend-vue/app/components/RefundButton.vue +3 -3
- package/frontend-vue/app/components/Register.vue +4 -2
- package/frontend-vue/app/components/RegistrationClosed.vue +1 -1
- package/frontend-vue/app/components/RetirePlanModal.vue +6 -6
- package/frontend-vue/app/components/SeatQuotaBanner.vue +8 -8
- package/frontend-vue/app/components/SegmentLivePreview.vue +4 -4
- package/frontend-vue/app/components/TenantBillingForm.vue +2 -2
- package/frontend-vue/app/components/TenantPlanCard.vue +8 -8
- package/frontend-vue/app/components/UserPlatformRoleCard.vue +2 -2
- package/frontend-vue/app/components/UserSegmentMatches.vue +2 -2
- package/frontend-vue/app/components/WorkspaceAdminCreateModal.vue +2 -2
- package/frontend-vue/app/components/WorkspaceInvitationLink.vue +1 -1
- package/frontend-vue/app/components/WorkspaceOperatorActions.vue +2 -2
- package/frontend-vue/app/components/WorkspaceSuspended.vue +9 -9
- package/frontend-vue/app/custom-pages/auth/no-workspace.vue +3 -3
- package/frontend-vue/build/backend-boundary.ts +8 -3
- package/frontend-vue/eslint.config.mjs +0 -1
- package/frontend-vue/package.json +1 -1
- package/package.json +18 -15
package/README.md
CHANGED
|
@@ -46,7 +46,7 @@ export default defineConfig({
|
|
|
46
46
|
},
|
|
47
47
|
modules: {
|
|
48
48
|
"dms-saas": {
|
|
49
|
-
source: { type: "package", package: "@antelopejs/dms-saas", version: "^0.
|
|
49
|
+
source: { type: "package", package: "@antelopejs/dms-saas", version: "^0.12.0" },
|
|
50
50
|
config: {
|
|
51
51
|
stripe: {
|
|
52
52
|
secretKey: "sk_test_placeholder",
|
|
@@ -66,17 +66,17 @@ Then point a Stripe webhook at `https://<api>/api/saas/webhooks/stripe`, and pub
|
|
|
66
66
|
|
|
67
67
|
<!-- antelopejs-docs-compat:start -->
|
|
68
68
|
|
|
69
|
-
| Package | Supported
|
|
70
|
-
| ------------------------------------------- |
|
|
71
|
-
| `@antelopejs/interface-api` | `>=0.3.
|
|
72
|
-
| `@antelopejs/interface-api-util` | `>=0.3.2 <
|
|
73
|
-
| `@antelopejs/interface-core` | `>=0.
|
|
74
|
-
| `@antelopejs/interface-data-api` | `>=0.
|
|
75
|
-
| `@antelopejs/interface-database` | `>=0.
|
|
76
|
-
| `@antelopejs/interface-database-decorators` | `>=0.
|
|
77
|
-
| `@antelopejs/interface-dms` | `>=0.
|
|
78
|
-
| `@antelopejs/interface-dms-automation` | `>=0.6.
|
|
79
|
-
| `@antelopejs/interface-dms-saas` | `workspace:^`
|
|
69
|
+
| Package | Supported | Tested with |
|
|
70
|
+
| ------------------------------------------- | ------------------ | ----------- |
|
|
71
|
+
| `@antelopejs/interface-api` | `>=0.3.3 <0.4.0` | `0.3.3` |
|
|
72
|
+
| `@antelopejs/interface-api-util` | `>=0.3.2 <0.4.0` | `0.3.2` |
|
|
73
|
+
| `@antelopejs/interface-core` | `>=0.5.1 <0.6.0` | `0.5.1` |
|
|
74
|
+
| `@antelopejs/interface-data-api` | `>=0.8.0 <0.9.0` | `0.8.0` |
|
|
75
|
+
| `@antelopejs/interface-database` | `>=0.4.0 <0.5.0` | `0.4.0` |
|
|
76
|
+
| `@antelopejs/interface-database-decorators` | `>=0.5.2 <0.6.0` | `0.5.2` |
|
|
77
|
+
| `@antelopejs/interface-dms` | `>=0.14.0 <0.15.0` | `0.14.0` |
|
|
78
|
+
| `@antelopejs/interface-dms-automation` | `>=0.6.2 <0.7.0` | `0.6.2` |
|
|
79
|
+
| `@antelopejs/interface-dms-saas` | `workspace:^` | `0.10.0` |
|
|
80
80
|
|
|
81
81
|
<!-- antelopejs-docs-compat:end -->
|
|
82
82
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Invoice, InvoiceModel } from "../../db";
|
|
2
2
|
declare const adminUserInvoicesDataAPI_base: import("@antelopejs/interface-core/decorators").Class<import("@antelopejs/interface-data-api").ExtractDefCallbacks<{
|
|
3
|
-
get: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-data-api/metadata").
|
|
3
|
+
get: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-data-api/metadata").StoredRow, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-dms/auth/db").User, import("@antelopejs/interface-api").RequestContext, string | undefined, string | undefined, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
4
4
|
list: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/base").TableViewListPage, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
5
5
|
select: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/base").TableViewListPage, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
6
6
|
count: import("@antelopejs/interface-data-api").DataControllerCallback;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TenantMember, TenantMemberModel } from "@antelopejs/interface-dms/db";
|
|
2
2
|
declare const adminUserWorkspacesDataAPI_base: import("@antelopejs/interface-core/decorators").Class<import("@antelopejs/interface-data-api").ExtractDefCallbacks<{
|
|
3
|
-
get: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-data-api/metadata").
|
|
3
|
+
get: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-data-api/metadata").StoredRow, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-dms/auth/db").User, import("@antelopejs/interface-api").RequestContext, string | undefined, string | undefined, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
4
4
|
list: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/base").TableViewListPage, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
5
5
|
select: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/base").TableViewListPage, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
6
6
|
count: import("@antelopejs/interface-data-api").DataControllerCallback;
|
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
import { CreditNote, CreditNoteModel } from "../../db";
|
|
2
2
|
declare const creditNotesDataAPI_base: import("@antelopejs/interface-core/decorators").Class<import("@antelopejs/interface-data-api").ExtractDefCallbacks<{
|
|
3
|
-
|
|
3
|
+
exportStart: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<{
|
|
4
|
+
pluckMode: string;
|
|
5
|
+
}, {
|
|
6
|
+
jobId: string;
|
|
7
|
+
format: string;
|
|
8
|
+
extension: string;
|
|
9
|
+
}, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.ListParameters, string | undefined, string | undefined, string[], import("@antelopejs/interface-dms/auth/db").User, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
10
|
+
exportStatus: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<unknown, {
|
|
11
|
+
status: string;
|
|
12
|
+
progress: number;
|
|
13
|
+
error?: string;
|
|
14
|
+
}, [import("@antelopejs/interface-api").RequestContext, string, import("@antelopejs/interface-dms/auth/db").User, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
15
|
+
exportDownload: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<unknown, void, [import("@antelopejs/interface-api").RequestContext, string, import("@antelopejs/interface-dms/auth/db").User, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
16
|
+
get: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-data-api/metadata").StoredRow, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-dms/auth/db").User, import("@antelopejs/interface-api").RequestContext, string | undefined, string | undefined, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
4
17
|
list: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/base").TableViewListPage, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
5
18
|
select: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/base").TableViewListPage, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
6
19
|
count: import("@antelopejs/interface-data-api").DataControllerCallback;
|
|
@@ -1,7 +1,20 @@
|
|
|
1
1
|
import { type ComposedText } from "@antelopejs/interface-dms/base";
|
|
2
2
|
import { Feature, FeatureModel } from "../../db";
|
|
3
3
|
declare const featuresDataAPI_base: import("@antelopejs/interface-core/decorators").Class<import("@antelopejs/interface-data-api").ExtractDefCallbacks<{
|
|
4
|
-
readonly
|
|
4
|
+
readonly exportStart: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<{
|
|
5
|
+
pluckMode: string;
|
|
6
|
+
}, {
|
|
7
|
+
jobId: string;
|
|
8
|
+
format: string;
|
|
9
|
+
extension: string;
|
|
10
|
+
}, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.ListParameters, string | undefined, string | undefined, string[], import("@antelopejs/interface-dms/auth/db").User, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
11
|
+
readonly exportStatus: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<unknown, {
|
|
12
|
+
status: string;
|
|
13
|
+
progress: number;
|
|
14
|
+
error?: string;
|
|
15
|
+
}, [import("@antelopejs/interface-api").RequestContext, string, import("@antelopejs/interface-dms/auth/db").User, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
16
|
+
readonly exportDownload: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<unknown, void, [import("@antelopejs/interface-api").RequestContext, string, import("@antelopejs/interface-dms/auth/db").User, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
17
|
+
readonly get: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-data-api/metadata").StoredRow, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-dms/auth/db").User, import("@antelopejs/interface-api").RequestContext, string | undefined, string | undefined, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
5
18
|
readonly list: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/base").TableViewListPage, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
6
19
|
readonly select: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/base").TableViewListPage, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
7
20
|
readonly count: import("@antelopejs/interface-data-api").DataControllerCallback;
|
|
@@ -10,7 +23,7 @@ declare const featuresDataAPI_base: import("@antelopejs/interface-core/decorator
|
|
|
10
23
|
readonly new: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.NewParameters, {
|
|
11
24
|
_id: string;
|
|
12
25
|
}, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.NewParameters, import("@antelopejs/interface-data-api/components").Validation.WrittenBody, import("@antelopejs/interface-dms/auth/db").User, import("@antelopejs/interface-api").RequestContext, string | undefined, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
13
|
-
readonly edit: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.EditParameters, import("@antelopejs/interface-data-api/metadata").
|
|
26
|
+
readonly edit: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.EditParameters, import("@antelopejs/interface-data-api/metadata").StoredRow, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.EditParameters, import("@antelopejs/interface-data-api/components").Validation.WrittenBody, import("@antelopejs/interface-dms/auth/db").User, import("@antelopejs/interface-api").RequestContext, string | undefined, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
14
27
|
readonly delete: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.DeleteParameters, number | {
|
|
15
28
|
deleted: number;
|
|
16
29
|
}, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.DeleteParameters, Buffer<ArrayBufferLike>, import("@antelopejs/interface-dms/auth/db").User, import("@antelopejs/interface-api").RequestContext, string | undefined, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UserInvite, UserInviteModel } from "@antelopejs/interface-dms/db";
|
|
2
2
|
declare const invitationsDataAPI_base: import("@antelopejs/interface-core/decorators").Class<import("@antelopejs/interface-data-api").ExtractDefCallbacks<{
|
|
3
|
-
get: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-data-api/metadata").
|
|
3
|
+
get: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-data-api/metadata").StoredRow, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-dms/auth/db").User, import("@antelopejs/interface-api").RequestContext, string | undefined, string | undefined, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
4
4
|
list: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/base").TableViewListPage, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
5
5
|
count: import("@antelopejs/interface-data-api").DataControllerCallback;
|
|
6
6
|
}> & {
|
|
@@ -2,7 +2,13 @@ import { type CellSubline, type ComposedText } from "@antelopejs/interface-dms/b
|
|
|
2
2
|
import { Invoice, type InvoiceLine, InvoiceModel, type InvoiceStatus } from "../../db";
|
|
3
3
|
declare const invoicesDataAPI_base: import("@antelopejs/interface-core/decorators").Class<import("@antelopejs/interface-data-api").ExtractDefCallbacks<{
|
|
4
4
|
exportStart: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, unknown, [ctx: any, opts: import("@antelopejs/interface-data-api/components").Parameters.ListParameters, ...args: any[]]>;
|
|
5
|
-
|
|
5
|
+
exportStatus: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<unknown, {
|
|
6
|
+
status: string;
|
|
7
|
+
progress: number;
|
|
8
|
+
error?: string;
|
|
9
|
+
}, [import("@antelopejs/interface-api").RequestContext, string, import("@antelopejs/interface-dms/auth/db").User, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
10
|
+
exportDownload: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<unknown, void, [import("@antelopejs/interface-api").RequestContext, string, import("@antelopejs/interface-dms/auth/db").User, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
11
|
+
get: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-data-api/metadata").StoredRow, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-dms/auth/db").User, import("@antelopejs/interface-api").RequestContext, string | undefined, string | undefined, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
6
12
|
list: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, unknown, [ctx: any, opts: import("@antelopejs/interface-data-api/components").Parameters.ListParameters, ...args: any[]]>;
|
|
7
13
|
select: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, unknown, [ctx: any, opts: import("@antelopejs/interface-data-api/components").Parameters.ListParameters, ...args: any[]]>;
|
|
8
14
|
count: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, unknown, [ctx: any, opts: import("@antelopejs/interface-data-api/components").Parameters.ListParameters, ...args: any[]]>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TenantMember, TenantMemberModel } from "@antelopejs/interface-dms/db";
|
|
2
2
|
import { User } from "@antelopejs/interface-dms/auth/db";
|
|
3
3
|
declare const membersDataAPI_base: import("@antelopejs/interface-core/decorators").Class<import("@antelopejs/interface-data-api").ExtractDefCallbacks<{
|
|
4
|
-
get: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-data-api/metadata").
|
|
4
|
+
get: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-data-api/metadata").StoredRow, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.GetParameters, User, import("@antelopejs/interface-api").RequestContext, string | undefined, string | undefined, User]>;
|
|
5
5
|
list: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/base").TableViewListPage, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.ListParameters, User]>;
|
|
6
6
|
select: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/base").TableViewListPage, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.ListParameters, User]>;
|
|
7
7
|
count: import("@antelopejs/interface-data-api").DataControllerCallback;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ComposedText } from "@antelopejs/interface-dms/base";
|
|
2
2
|
import { PlanMigration, PlanMigrationModel } from "../../db";
|
|
3
3
|
declare const planMigrationsDataAPI_base: import("@antelopejs/interface-core/decorators").Class<import("@antelopejs/interface-data-api").ExtractDefCallbacks<{
|
|
4
|
-
get: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-data-api/metadata").
|
|
4
|
+
get: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-data-api/metadata").StoredRow, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-dms/auth/db").User, import("@antelopejs/interface-api").RequestContext, string | undefined, string | undefined, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
5
5
|
list: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/base").TableViewListPage, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
6
6
|
select: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/base").TableViewListPage, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
7
7
|
count: import("@antelopejs/interface-data-api").DataControllerCallback;
|
|
@@ -4,12 +4,18 @@ export declare const PLAN_SALE_STATUSES: readonly ["on_sale", "legacy"];
|
|
|
4
4
|
export type PlanSaleStatus = (typeof PLAN_SALE_STATUSES)[number];
|
|
5
5
|
declare const plansDataAPI_base: import("@antelopejs/interface-core/decorators").Class<import("@antelopejs/interface-data-api").ExtractDefCallbacks<{
|
|
6
6
|
exportStart: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, unknown, [ctx: any, opts: import("@antelopejs/interface-data-api/components").Parameters.ListParameters, ...args: any[]]>;
|
|
7
|
-
|
|
7
|
+
exportStatus: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<unknown, {
|
|
8
|
+
status: string;
|
|
9
|
+
progress: number;
|
|
10
|
+
error?: string;
|
|
11
|
+
}, [import("@antelopejs/interface-api").RequestContext, string, import("@antelopejs/interface-dms/auth/db").User, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
12
|
+
exportDownload: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<unknown, void, [import("@antelopejs/interface-api").RequestContext, string, import("@antelopejs/interface-dms/auth/db").User, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
13
|
+
get: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-data-api/metadata").StoredRow, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-dms/auth/db").User, import("@antelopejs/interface-api").RequestContext, string | undefined, string | undefined, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
8
14
|
list: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, unknown, [ctx: any, opts: import("@antelopejs/interface-data-api/components").Parameters.ListParameters, ...args: any[]]>;
|
|
9
15
|
select: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, unknown, [ctx: any, opts: import("@antelopejs/interface-data-api/components").Parameters.ListParameters, ...args: any[]]>;
|
|
10
16
|
count: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, unknown, [ctx: any, opts: import("@antelopejs/interface-data-api/components").Parameters.ListParameters, ...args: any[]]>;
|
|
11
17
|
countBatch: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, unknown, [ctx: any, opts: import("@antelopejs/interface-data-api/components").Parameters.ListParameters, ...args: any[]]>;
|
|
12
|
-
edit: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.EditParameters, import("@antelopejs/interface-data-api/metadata").
|
|
18
|
+
edit: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.EditParameters, import("@antelopejs/interface-data-api/metadata").StoredRow, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.EditParameters, import("@antelopejs/interface-data-api/components").Validation.WrittenBody, import("@antelopejs/interface-dms/auth/db").User, import("@antelopejs/interface-api").RequestContext, string | undefined, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
13
19
|
}> & {
|
|
14
20
|
table: Plan;
|
|
15
21
|
}> & import("@antelopejs/interface-core/decorators").Class<object> & {
|
|
@@ -458,7 +458,7 @@ __decorate([
|
|
|
458
458
|
], plansDataAPI.prototype, "updatedAt", void 0);
|
|
459
459
|
__decorate([
|
|
460
460
|
(0, base_1.Select)(),
|
|
461
|
-
(0, metadata_1.Filter)((_context, field, _key, value) => field.eq(value === TRUE_FILTER_VALUE)),
|
|
461
|
+
(0, metadata_1.Filter)((_context, field, _key, value) => field.eq(value === true || value === TRUE_FILTER_VALUE)),
|
|
462
462
|
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
463
463
|
__metadata("design:type", Boolean)
|
|
464
464
|
], plansDataAPI.prototype, "isDeleted", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plans.js","sourceRoot":"","sources":["../../../src/data-api/platformOwner/plans.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6DAAkE;AAClE,uEAGwC;AACxC,sEAQiD;AACjD,6FAImD;AACnD,yDAA+D;AAC/D,yDAQwC;AACxC,2FAA2F;AAC3F,iCAQkB;AAClB,iEAA+E;AAC/E,gDAAyD;AACzD,4DAKkC;AAClC,6CAAiD;AACjD,+CAAgE;AAChE,mEAAuE;AAEvE,MAAM,KAAK,GAAG,qBAAqB,CAAC;AAEpC,MAAM,cAAc,GAAG,mBAAc,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IACpD,KAAK;IACL,KAAK,EAAE,GAAG,KAAK,aAAa,KAAK,EAAE;CACpC,CAAC,CAAC,CAAC;AAEJ,MAAM,cAAc,GAAG,mBAAc,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IACpD,KAAK;IACL,KAAK,EAAE,GAAG,KAAK,aAAa,KAAK,EAAE;CACpC,CAAC,CAAC,CAAC;AAEJ,MAAM,kBA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E;IACV,IAAA,aAAM,EAAC;QACN,IAAI,EAAE,GAAG,KAAK,cAAc;QAC5B,IAAI,EAAE,IAAI,gCAAgB,CAAC,UAAU,EAAE;QACvC,SAAS,EAAE,KAAK;KACjB,CAAC;IACD,IAAA,iBAAM,EAAC,qBAAU,CAAC,SAAS,CAAC;;2CACP;AAId;IAFP,IAAA,mBAAQ,GAAE;IACV,IAAA,iBAAM,EAAC,qBAAU,CAAC,QAAQ,CAAC;8BACT,IAAI;+CAAC;AAOhB;IALP,IAAA,aAAM,GAAE;IACR,IAAA,iBAAM,EAAC,CAAC,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CACvC,KAAK,CAAC,EAAE,CAAC,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,iBAAiB,CAAC,CACxD;IACA,IAAA,iBAAM,EAAC,qBAAU,CAAC,QAAQ,CAAC;;+CACD;uBAjWhB,YAAY;IAFxB,IAAA,2CAAsB,GAAE;IACxB,IAAA,oBAAa,GAAE;GACH,YAAY,CAkWxB"}
|
|
@@ -5,7 +5,20 @@ import { Segment, type SegmentConditionGroup, type SegmentCountPoint, SegmentMod
|
|
|
5
5
|
export declare function weeklyCountChange(history: readonly SegmentCountPoint[], currentCount: number, now?: Date): number;
|
|
6
6
|
export declare function weeklyChangeLine(change: number): CellSubline;
|
|
7
7
|
declare const segmentsDataAPI_base: import("@antelopejs/interface-core/decorators").Class<import("@antelopejs/interface-data-api").ExtractDefCallbacks<{
|
|
8
|
-
|
|
8
|
+
exportStart: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<{
|
|
9
|
+
pluckMode: string;
|
|
10
|
+
}, {
|
|
11
|
+
jobId: string;
|
|
12
|
+
format: string;
|
|
13
|
+
extension: string;
|
|
14
|
+
}, [RequestContext, import("@antelopejs/interface-data-api/components").Parameters.ListParameters, string | undefined, string | undefined, string[], import("@antelopejs/interface-dms/auth/db").User, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
15
|
+
exportStatus: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<unknown, {
|
|
16
|
+
status: string;
|
|
17
|
+
progress: number;
|
|
18
|
+
error?: string;
|
|
19
|
+
}, [RequestContext, string, import("@antelopejs/interface-dms/auth/db").User, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
20
|
+
exportDownload: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<unknown, void, [RequestContext, string, import("@antelopejs/interface-dms/auth/db").User, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
21
|
+
get: DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-data-api/metadata").StoredRow, [RequestContext, import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-dms/auth/db").User, RequestContext, string | undefined, string | undefined, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
9
22
|
list: DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/base").TableViewListPage, [RequestContext, import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
10
23
|
select: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/base").TableViewListPage, [RequestContext, import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
11
24
|
count: DataControllerCallback;
|
|
@@ -5,7 +5,20 @@ export interface UserWorkspaceCounts {
|
|
|
5
5
|
member: number;
|
|
6
6
|
}
|
|
7
7
|
declare const saasUsersDataAPI_base: import("@antelopejs/interface-core/decorators").Class<import("@antelopejs/interface-data-api").ExtractDefCallbacks<{
|
|
8
|
-
|
|
8
|
+
exportStart: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<{
|
|
9
|
+
pluckMode: string;
|
|
10
|
+
}, {
|
|
11
|
+
jobId: string;
|
|
12
|
+
format: string;
|
|
13
|
+
extension: string;
|
|
14
|
+
}, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.ListParameters, string | undefined, string | undefined, string[], User, User]>;
|
|
15
|
+
exportStatus: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<unknown, {
|
|
16
|
+
status: string;
|
|
17
|
+
progress: number;
|
|
18
|
+
error?: string;
|
|
19
|
+
}, [import("@antelopejs/interface-api").RequestContext, string, User, User]>;
|
|
20
|
+
exportDownload: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<unknown, void, [import("@antelopejs/interface-api").RequestContext, string, User, User]>;
|
|
21
|
+
get: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-data-api/metadata").StoredRow, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.GetParameters, User, import("@antelopejs/interface-api").RequestContext, string | undefined, string | undefined, User]>;
|
|
9
22
|
list: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/base").TableViewListPage, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.ListParameters, User]>;
|
|
10
23
|
select: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/base").TableViewListPage, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.ListParameters, User]>;
|
|
11
24
|
count: import("@antelopejs/interface-data-api").DataControllerCallback;
|
|
@@ -2,7 +2,7 @@ import { Tenant, TenantModel } from "@antelopejs/interface-dms/db";
|
|
|
2
2
|
import { type CellSubline, type ComposedText } from "@antelopejs/interface-dms/base";
|
|
3
3
|
import { type BillingState, type PlanBillingMode, type PlanInterval, type WorkspaceOwnerStatus, type WorkspaceRenewalKind } from "../../db";
|
|
4
4
|
declare const workspacesDataAPI_base: import("@antelopejs/interface-core/decorators").Class<import("@antelopejs/interface-data-api").ExtractDefCallbacks<{
|
|
5
|
-
get: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-data-api/metadata").
|
|
5
|
+
get: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-data-api/metadata").StoredRow, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-dms/auth/db").User, import("@antelopejs/interface-api").RequestContext, string | undefined, string | undefined, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
6
6
|
list: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/base").TableViewListPage, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
7
7
|
select: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/base").TableViewListPage, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
8
8
|
count: import("@antelopejs/interface-data-api").DataControllerCallback;
|
|
@@ -2,7 +2,7 @@ import { type BlockText } from "@antelopejs/interface-dms/base";
|
|
|
2
2
|
import type { InvoiceLine } from "../../db";
|
|
3
3
|
import { Invoice, InvoiceModel } from "../../db";
|
|
4
4
|
declare const tenantInvoicesDataAPI_base: import("@antelopejs/interface-core/decorators").Class<import("@antelopejs/interface-data-api").ExtractDefCallbacks<{
|
|
5
|
-
get: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-data-api/metadata").
|
|
5
|
+
get: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-data-api/metadata").StoredRow, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.GetParameters, import("@antelopejs/interface-dms/auth/db").User, import("@antelopejs/interface-api").RequestContext, string | undefined, string | undefined, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
6
6
|
list: import("@antelopejs/interface-data-api").DataControllerCallback<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/base").TableViewListPage, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
7
7
|
select: import("@antelopejs/interface-data-api").DataControllerCallbackWithOptions<import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/base").TableViewListPage, [import("@antelopejs/interface-api").RequestContext, import("@antelopejs/interface-data-api/components").Parameters.ListParameters, import("@antelopejs/interface-dms/auth/db").User]>;
|
|
8
8
|
count: import("@antelopejs/interface-data-api").DataControllerCallback;
|
|
@@ -9,9 +9,9 @@ declare const InvoiceLineInjectionModel_base: {
|
|
|
9
9
|
new (database: import("@antelopejs/interface-database").SchemaInstance<any>): {
|
|
10
10
|
readonly table: import("@antelopejs/interface-database").Table<InvoiceLineInjection>;
|
|
11
11
|
readonly database: import("@antelopejs/interface-database").SchemaInstance<any>;
|
|
12
|
-
get(id: string):
|
|
13
|
-
getBy(index: keyof InvoiceLineInjection, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]):
|
|
14
|
-
getAll():
|
|
12
|
+
get(id: string): Promise<InvoiceLineInjection | undefined>;
|
|
13
|
+
getBy(index: keyof InvoiceLineInjection, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): Promise<InvoiceLineInjection[]>;
|
|
14
|
+
getAll(): Promise<InvoiceLineInjection[]>;
|
|
15
15
|
insert(obj: import("@antelopejs/interface-database-decorators").DeepPartial<InvoiceLineInjection> | import("@antelopejs/interface-database-decorators").DeepPartial<InvoiceLineInjection>[], options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<string[]>;
|
|
16
16
|
update(id: string, obj: import("@antelopejs/interface-database-decorators").DeepPartial<InvoiceLineInjection>, options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<number>;
|
|
17
17
|
update(obj: import("@antelopejs/interface-database-decorators").DeepPartial<InvoiceLineInjection> & {
|
|
@@ -5,9 +5,9 @@ declare const LifecycleDeliveryModel_base: {
|
|
|
5
5
|
new (database: import("@antelopejs/interface-database").SchemaInstance<any>): {
|
|
6
6
|
readonly table: import("@antelopejs/interface-database").Table<LifecycleDelivery>;
|
|
7
7
|
readonly database: import("@antelopejs/interface-database").SchemaInstance<any>;
|
|
8
|
-
get(id: string):
|
|
9
|
-
getBy(index: keyof LifecycleDelivery, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]):
|
|
10
|
-
getAll():
|
|
8
|
+
get(id: string): Promise<LifecycleDelivery | undefined>;
|
|
9
|
+
getBy(index: keyof LifecycleDelivery, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): Promise<LifecycleDelivery[]>;
|
|
10
|
+
getAll(): Promise<LifecycleDelivery[]>;
|
|
11
11
|
insert(obj: import("@antelopejs/interface-database-decorators").DeepPartial<LifecycleDelivery> | import("@antelopejs/interface-database-decorators").DeepPartial<LifecycleDelivery>[], options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<string[]>;
|
|
12
12
|
update(id: string, obj: import("@antelopejs/interface-database-decorators").DeepPartial<LifecycleDelivery>, options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<number>;
|
|
13
13
|
update(obj: import("@antelopejs/interface-database-decorators").DeepPartial<LifecycleDelivery> & {
|
|
@@ -8,9 +8,9 @@ declare const OperatorActionModel_base: {
|
|
|
8
8
|
new (database: import("@antelopejs/interface-database").SchemaInstance<any>): {
|
|
9
9
|
readonly table: import("@antelopejs/interface-database").Table<OperatorAction>;
|
|
10
10
|
readonly database: import("@antelopejs/interface-database").SchemaInstance<any>;
|
|
11
|
-
get(id: string):
|
|
12
|
-
getBy(index: keyof OperatorAction, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]):
|
|
13
|
-
getAll():
|
|
11
|
+
get(id: string): Promise<OperatorAction | undefined>;
|
|
12
|
+
getBy(index: keyof OperatorAction, ...keys: import("@antelopejs/interface-database-decorators").IndexKey[]): Promise<OperatorAction[]>;
|
|
13
|
+
getAll(): Promise<OperatorAction[]>;
|
|
14
14
|
insert(obj: import("@antelopejs/interface-database-decorators").DeepPartial<OperatorAction> | import("@antelopejs/interface-database-decorators").DeepPartial<OperatorAction>[], options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<string[]>;
|
|
15
15
|
update(id: string, obj: import("@antelopejs/interface-database-decorators").DeepPartial<OperatorAction>, options?: import("@antelopejs/interface-database-decorators").ValidateOptions): Promise<number>;
|
|
16
16
|
update(obj: import("@antelopejs/interface-database-decorators").DeepPartial<OperatorAction> & {
|
|
@@ -22,16 +22,19 @@ const interface_api_util_1 = require("@antelopejs/interface-api-util");
|
|
|
22
22
|
const interface_database_decorators_1 = require("@antelopejs/interface-database-decorators");
|
|
23
23
|
const auth_1 = require("@antelopejs/interface-dms/auth");
|
|
24
24
|
const base_1 = require("@antelopejs/interface-dms/base");
|
|
25
|
+
const zod_1 = require("zod");
|
|
25
26
|
const db_1 = require("../../db");
|
|
26
27
|
const migration_workspaces_1 = require("../../plans/migration-workspaces");
|
|
27
28
|
const csv_file_1 = require("../../utils/csv-file");
|
|
28
29
|
const plan_migration_context_1 = require("./plan-migration-context");
|
|
29
30
|
const HTTP_NOT_FOUND = 404;
|
|
30
31
|
const EXPORT_SCOPE = "saas-plan-migration-workspaces";
|
|
32
|
+
const migrationExportContext = zod_1.z.object({ migrationId: zod_1.z.string() });
|
|
31
33
|
function exportAccess(migrationId) {
|
|
32
34
|
return {
|
|
33
35
|
scope: EXPORT_SCOPE,
|
|
34
|
-
|
|
36
|
+
contextSchema: migrationExportContext,
|
|
37
|
+
isOwnedBy: (_record, context) => context.migrationId === migrationId,
|
|
35
38
|
};
|
|
36
39
|
}
|
|
37
40
|
class SaasPlanMigrationExportController extends (0, interface_api_1.Controller)("/api/saas/plan-migrations") {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plan-migration-export.js","sourceRoot":"","sources":["../../../src/routes/platformOwner/plan-migration-export.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,sDAAyB;AACzB,6DAOmC;AACnC,uEAAwD;AACxD,6FAAkE;AAClE,yDAA+D;AAE/D,yDAMwC;AACxC,iCAA8C;AAC9C,2EAG0C;AAC1C,mDAA6D;AAC7D,qEAGkC;AAElC,MAAM,cAAc,GAAG,GAAG,CAAC;AAC3B,MAAM,YAAY,GAAG,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"plan-migration-export.js","sourceRoot":"","sources":["../../../src/routes/platformOwner/plan-migration-export.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,sDAAyB;AACzB,6DAOmC;AACnC,uEAAwD;AACxD,6FAAkE;AAClE,yDAA+D;AAE/D,yDAMwC;AACxC,6BAAwB;AACxB,iCAA8C;AAC9C,2EAG0C;AAC1C,mDAA6D;AAC7D,qEAGkC;AAElC,MAAM,cAAc,GAAG,GAAG,CAAC;AAC3B,MAAM,YAAY,GAAG,gCAAgC,CAAC;AAEtD,MAAM,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;AAIrE,SAAS,YAAY,CACnB,WAAmB;IAEnB,OAAO;QACL,KAAK,EAAE,YAAY;QACnB,aAAa,EAAE,sBAAsB;QACrC,SAAS,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,WAAW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AN,KAAK,CAAC,cAAc,CACD,IAAU,EAChB,GAAmB,EACb,EAAU,EACP,KAAa;QAEjC,MAAM,IAAA,wBAAiB,EAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC;IAC9D,CAAC;CACF;AApDD,8EAoDC;AAhDS;IADP,IAAA,qCAAK,EAAC,uBAAkB,CAAC;8BACE,uBAAkB;6EAAC;AAGzC;IADL,IAAA,oBAAI,EAAC,8BAA8B,CAAC;IAElC,WAAA,IAAA,oBAAa,GAAE,CAAA;IACf,WAAA,IAAA,uBAAO,GAAE,CAAA;IACT,WAAA,IAAA,yBAAS,EAAC,IAAI,CAAC,CAAA;;;;oEAqBjB;AAGK;IADL,IAAA,mBAAG,EAAC,sCAAsC,CAAC;IAEzC,WAAA,IAAA,oBAAa,GAAE,CAAA;IACf,WAAA,IAAA,uBAAO,GAAE,CAAA;IACT,WAAA,IAAA,yBAAS,EAAC,IAAI,CAAC,CAAA;IACf,WAAA,IAAA,yBAAS,EAAC,OAAO,CAAC,CAAA;;;;qEAGpB;AAGK;IADL,IAAA,mBAAG,EAAC,wCAAwC,CAAC;IAE3C,WAAA,IAAA,oBAAa,GAAE,CAAA;IACf,WAAA,IAAA,uBAAO,GAAE,CAAA;IACT,WAAA,IAAA,yBAAS,EAAC,IAAI,CAAC,CAAA;IACf,WAAA,IAAA,yBAAS,EAAC,OAAO,CAAC,CAAA;;;;uEAGpB"}
|
|
@@ -70,6 +70,7 @@ export declare class SaasPlansApiController extends SaasPlansApiController_base
|
|
|
70
70
|
editorContext(_user: User, id: string): Promise<PlanEditorContext>;
|
|
71
71
|
getOne(_user: User, id: string): Promise<{
|
|
72
72
|
inheritance: import("../../plans/plan-write").PlanInheritanceInput;
|
|
73
|
+
name?: string | undefined;
|
|
73
74
|
_id?: string | undefined;
|
|
74
75
|
localize?: {
|
|
75
76
|
<This extends {
|
|
@@ -81,7 +82,6 @@ export declare class SaasPlansApiController extends SaasPlansApiController_base
|
|
|
81
82
|
} | undefined;
|
|
82
83
|
createdAt?: Date | undefined;
|
|
83
84
|
updatedAt?: Date | undefined;
|
|
84
|
-
name?: string | undefined;
|
|
85
85
|
description?: string | undefined;
|
|
86
86
|
permissions?: string[] | undefined;
|
|
87
87
|
order?: number | undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TenantModel } from "@antelopejs/interface-dms/db";
|
|
2
2
|
import { type User, UserModel } from "@antelopejs/interface-dms/auth/db";
|
|
3
3
|
import { PlatformNoteModel, type PlatformNoteTargetType } from "../../db";
|
|
4
|
+
import type { QueryParameterValue } from "../../utils/query-parameter";
|
|
4
5
|
interface CreateNoteBody {
|
|
5
6
|
content: string;
|
|
6
7
|
}
|
|
@@ -29,7 +30,7 @@ export declare class SaasPlatformNotesController extends SaasPlatformNotesContro
|
|
|
29
30
|
noteModel: PlatformNoteModel;
|
|
30
31
|
userModel: UserModel;
|
|
31
32
|
tenantModel: TenantModel;
|
|
32
|
-
list(_user: User, targetType: string, targetId: string, page
|
|
33
|
+
list(_user: User, targetType: string, targetId: string, page: QueryParameterValue, pageSize: QueryParameterValue): Promise<ListNotesResponse>;
|
|
33
34
|
create(author: User, targetType: string, targetId: string, body: CreateNoteBody): Promise<PlatformNoteWithAuthor>;
|
|
34
35
|
remove(actor: User, id: string): Promise<DeletedNoteResult>;
|
|
35
36
|
}
|
|
@@ -125,7 +125,7 @@ __decorate([
|
|
|
125
125
|
__param(3, (0, interface_api_1.Parameter)("page", "query")),
|
|
126
126
|
__param(4, (0, interface_api_1.Parameter)("pageSize", "query")),
|
|
127
127
|
__metadata("design:type", Function),
|
|
128
|
-
__metadata("design:paramtypes", [Function, String, String,
|
|
128
|
+
__metadata("design:paramtypes", [Function, String, String, Object, Object]),
|
|
129
129
|
__metadata("design:returntype", Promise)
|
|
130
130
|
], SaasPlatformNotesController.prototype, "list", null);
|
|
131
131
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform-notes.js","sourceRoot":"","sources":["../../../src/routes/platformOwner/platform-notes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,6DAOmC;AACnC,uEAAwD;AACxD,6FAAkE;AAClE,qDAA2D;AAC3D,yDAA+D;AAC/D,0DAAyE;AACzE,iCAKkB;AAClB,uCAA+C;
|
|
1
|
+
{"version":3,"file":"platform-notes.js","sourceRoot":"","sources":["../../../src/routes/platformOwner/platform-notes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,6DAOmC;AACnC,uEAAwD;AACxD,6FAAkE;AAClE,qDAA2D;AAC3D,yDAA+D;AAC/D,0DAAyE;AACzE,iCAKkB;AAClB,uCAA+C;AAG/C,MAAM,gBAAgB,GAAG,GAAG,CAAC;AAC7B,MAAM,cAAc,GAAG,GAAG,CAAC;AAC3B,MAAM,cAAc,GAAG,GAAG,CAAC;AAC3B,MAAM,kBAAkB,GAAG,IAAI,CAAC;AA6BhC,SAAS,gBAAgB,CAAC,KAAa;IACrC,MAAM,UAAU,GAAG,+BAA0B,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,KAAK,KAAK,CAAC,CAAC;IAC7E,IAAA,2BAAM,EACJ,UAAU,KAAK,SAAS,EACxB,gBAAgB,EAChB,2CAA2C,CAC5C,CAAC;IACF,OAAO,UAAU,CAAC;AACpB,CAAC;AAED,KAAK,UAAU,kBAAkB,CAC/B,UAAkC,EAClC,QAAgB,EAChB,SAAoB,EACpB,WAAwB;IAExB,MAAM,OAAO,GAAG;QACd,IAAI,EAAE,GAAG,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC;QACnC,SAAS,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,CAAC,QAAQ,CAAC;KAI3C,CAAC;IACF,MAAM,MAAM,GAAG,MAAM,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC;IAC3C,IAAA,2BAAM,EAAC,MAAM,EAAE,cAAc,E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;AAGrB;IADP,IAAA,qCAAK,EAAC,gBAAW,CAAC;8BACE,gBAAW;gEAAC;AAG3B;IADL,IAAA,mBAAG,EAAC,wBAAwB,CAAC;IAE3B,WAAA,IAAA,oBAAa,GAAE,CAAA;IACf,WAAA,IAAA,yBAAS,EAAC,YAAY,CAAC,CAAA;IACvB,WAAA,IAAA,yBAAS,EAAC,UAAU,CAAC,CAAA;IACrB,WAAA,IAAA,yBAAS,EAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC1B,WAAA,IAAA,yBAAS,EAAC,UAAU,EAAE,OAAO,CAAC,CAAA;;;;uDAchC;AAGK;IADL,IAAA,oBAAI,EAAC,wBAAwB,CAAC;IAE5B,WAAA,IAAA,oBAAa,GAAE,CAAA;IACf,WAAA,IAAA,yBAAS,EAAC,YAAY,CAAC,CAAA;IACvB,WAAA,IAAA,yBAAS,EAAC,UAAU,CAAC,CAAA;IACrB,WAAA,IAAA,wBAAQ,GAAE,CAAA;;;;yDA6BZ;AAGK;IADL,IAAA,sBAAM,EAAC,MAAM,CAAC;IAEZ,WAAA,IAAA,oBAAa,GAAE,CAAA;IACf,WAAA,IAAA,yBAAS,EAAC,IAAI,CAAC,CAAA;;;;yDAQjB"}
|
|
@@ -23,6 +23,7 @@ const interface_api_util_1 = require("@antelopejs/interface-api-util");
|
|
|
23
23
|
const interface_database_decorators_1 = require("@antelopejs/interface-database-decorators");
|
|
24
24
|
const auth_1 = require("@antelopejs/interface-dms/auth");
|
|
25
25
|
const base_1 = require("@antelopejs/interface-dms/base");
|
|
26
|
+
const zod_1 = require("zod");
|
|
26
27
|
const db_1 = require("../../db");
|
|
27
28
|
const utils_1 = require("../../utils");
|
|
28
29
|
const csv_file_1 = require("../../utils/csv-file");
|
|
@@ -43,10 +44,12 @@ const CSV_HEADER = [
|
|
|
43
44
|
"owned_workspaces",
|
|
44
45
|
"owned_mrr",
|
|
45
46
|
];
|
|
47
|
+
const ownersExportContext = zod_1.z.object({ segmentId: zod_1.z.string() });
|
|
46
48
|
function ownersExportAccessForSegment(segmentId) {
|
|
47
49
|
return {
|
|
48
50
|
scope: OWNERS_EXPORT_SCOPE,
|
|
49
|
-
|
|
51
|
+
contextSchema: ownersExportContext,
|
|
52
|
+
isOwnedBy: (_record, context) => context.segmentId === segmentId,
|
|
50
53
|
};
|
|
51
54
|
}
|
|
52
55
|
function segmentExportRow(projection) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"segments-export.js","sourceRoot":"","sources":["../../../src/routes/platformOwner/segments-export.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"segments-export.js","sourceRoot":"","sources":["../../../src/routes/platformOwner/segments-export.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAmEA,4CAcC;AAjFD,sDAAyB;AACzB,6DAOmC;AACnC,uEAAwD;AACxD,6FAAkE;AAClE,yDAA+D;AAE/D,yDAMwC;AACxC,6BAAwB;AACxB,iCAAmD;AACnD,uCAIqB;AACrB,mDAA6D;AAC7D,uDAAiD;AAEjD,MAAM,cAAc,GAAG,GAAG,CAAC;AAC3B,MAAM,mBAAmB,GAAG,qBAAqB,CAAC;AAClD,MAAM,qBAAqB,GAAG,EAAE,CAAC;AACjC,MAAM,qBAAqB,GAAG,CAAC,CAAC;AAChC,MAAM,mBAAmB,GAAG,IAAI,CAAC;AAEjC,MAAM,UAAU,GAAG;IACjB,SAAS;IACT,OAAO;IACP,MAAM;IACN,UAAU;IACV,YAAY;IACZ,cAAc;IACd,YAAY;IACZ,kBAAkB;IAClB,WAAW;CACZ,CAAC;AAEF,MAAM,mBAAmB,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;AAIhE,SAAS,4BAA4B,CACnC,SAAiB;IAEjB,OAAO;QACL,KAAK,EAAE,mBAAmB;QAC1B,aAAa,EAAE,mBAAmB;QAClC,SAAS,EAAE,CAAC,OA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