@antelopejs/dms-saas 0.3.1 → 0.3.3
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 +0 -86
- package/dist/config/runtime.d.ts +0 -1
- package/dist/config/runtime.js +0 -7
- package/dist/config/runtime.js.map +1 -1
- package/dist/data-api/platformOwner/index.d.ts +0 -1
- package/dist/data-api/platformOwner/index.js +0 -1
- package/dist/data-api/platformOwner/index.js.map +1 -1
- package/dist/data-api/tenant/index.d.ts +0 -1
- package/dist/data-api/tenant/index.js +0 -1
- package/dist/data-api/tenant/index.js.map +1 -1
- package/dist/notifications/subjects.d.ts +0 -2
- package/dist/notifications/subjects.js +1 -13
- package/dist/notifications/subjects.js.map +1 -1
- package/dist/pages/platform/categories.d.ts +0 -1
- package/dist/pages/platform/categories.js +1 -8
- package/dist/pages/platform/categories.js.map +1 -1
- package/dist/pages/platform/index.d.ts +0 -1
- package/dist/pages/platform/index.js +0 -1
- package/dist/pages/platform/index.js.map +1 -1
- package/dist/pages/tenant/index.d.ts +0 -1
- package/dist/pages/tenant/index.js +0 -1
- package/dist/pages/tenant/index.js.map +1 -1
- package/dist/routes/platformOwner/index.d.ts +0 -1
- package/dist/routes/platformOwner/index.js +0 -1
- package/dist/routes/platformOwner/index.js.map +1 -1
- package/dist/routes/public/register.js +1 -3
- package/dist/routes/public/register.js.map +1 -1
- package/dist/routes/tenant/index.d.ts +0 -1
- package/dist/routes/tenant/index.js +0 -1
- package/dist/routes/tenant/index.js.map +1 -1
- package/dist/routes/tenant/tenant-billing.d.ts +2 -1
- package/dist/routes/tenant/tenant-billing.js +14 -11
- package/dist/routes/tenant/tenant-billing.js.map +1 -1
- package/dist/stripe/webhook-handlers.js +19 -20
- package/dist/stripe/webhook-handlers.js.map +1 -1
- package/dist/stripe/webhook-shared.js +9 -11
- package/dist/stripe/webhook-shared.js.map +1 -1
- package/dist/types/config.d.ts +0 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +1 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/keyed-insert.d.ts +7 -0
- package/dist/utils/keyed-insert.js +14 -0
- package/dist/utils/keyed-insert.js.map +1 -0
- package/dist/workspaces/provisioning.js +22 -27
- package/dist/workspaces/provisioning.js.map +1 -1
- package/frontend-vue/i18n/locales/saas-en-GB.json +1 -142
- package/frontend-vue/i18n/locales/saas-fr-FR.json +1 -142
- package/package.json +7 -9
- package/dist/data-api/platformOwner/support.d.ts +0 -58
- package/dist/data-api/platformOwner/support.js +0 -111
- package/dist/data-api/platformOwner/support.js.map +0 -1
- package/dist/data-api/support-fields.d.ts +0 -49
- package/dist/data-api/support-fields.js +0 -166
- package/dist/data-api/support-fields.js.map +0 -1
- package/dist/data-api/support-routes.d.ts +0 -10
- package/dist/data-api/support-routes.js +0 -71
- package/dist/data-api/support-routes.js.map +0 -1
- package/dist/data-api/tenant/support.d.ts +0 -39
- package/dist/data-api/tenant/support.js +0 -53
- package/dist/data-api/tenant/support.js.map +0 -1
- package/dist/pages/platform/support.d.ts +0 -9
- package/dist/pages/platform/support.js +0 -29
- package/dist/pages/platform/support.js.map +0 -1
- package/dist/pages/tenant/support.d.ts +0 -9
- package/dist/pages/tenant/support.js +0 -27
- package/dist/pages/tenant/support.js.map +0 -1
- package/dist/routes/platformOwner/support.d.ts +0 -21
- package/dist/routes/platformOwner/support.js +0 -180
- package/dist/routes/platformOwner/support.js.map +0 -1
- package/dist/routes/tenant/support.d.ts +0 -27
- package/dist/routes/tenant/support.js +0 -185
- package/dist/routes/tenant/support.js.map +0 -1
- package/dist/support/admissions.d.ts +0 -36
- package/dist/support/admissions.js +0 -136
- package/dist/support/admissions.js.map +0 -1
- package/dist/support/attachments.d.ts +0 -12
- package/dist/support/attachments.js +0 -56
- package/dist/support/attachments.js.map +0 -1
- package/dist/support/config.d.ts +0 -19
- package/dist/support/config.js +0 -75
- package/dist/support/config.js.map +0 -1
- package/dist/support/index.d.ts +0 -6
- package/dist/support/index.js +0 -23
- package/dist/support/index.js.map +0 -1
- package/dist/support/operations.d.ts +0 -51
- package/dist/support/operations.js +0 -109
- package/dist/support/operations.js.map +0 -1
- package/dist/support/plans.d.ts +0 -6
- package/dist/support/plans.js +0 -130
- package/dist/support/plans.js.map +0 -1
- package/dist/support/publications.d.ts +0 -8
- package/dist/support/publications.js +0 -106
- package/dist/support/publications.js.map +0 -1
- package/dist/support/recovery.d.ts +0 -7
- package/dist/support/recovery.js +0 -43
- package/dist/support/recovery.js.map +0 -1
- package/dist/support/service.d.ts +0 -51
- package/dist/support/service.js +0 -143
- package/dist/support/service.js.map +0 -1
- package/dist/support/transitions.d.ts +0 -4
- package/dist/support/transitions.js +0 -29
- package/dist/support/transitions.js.map +0 -1
- package/dist/support/uploads.d.ts +0 -39
- package/dist/support/uploads.js +0 -115
- package/dist/support/uploads.js.map +0 -1
- package/dist/support/validation.d.ts +0 -15
- package/dist/support/validation.js +0 -54
- package/dist/support/validation.js.map +0 -1
- package/frontend-vue/app/components/PlatformSupport.vue +0 -461
- package/frontend-vue/app/components/SupportAttachmentUpload.vue +0 -140
- package/frontend-vue/app/components/SupportThreadHistory.vue +0 -139
- package/frontend-vue/app/components/TenantSupport.vue +0 -415
- package/frontend-vue/app/composables/useSupportRequest.ts +0 -74
- package/frontend-vue/app/types/support.ts +0 -123
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antelopejs/dms-saas",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,21 +33,19 @@
|
|
|
33
33
|
"@antelopejs/interface-api-util": ">=0.1.2 <1.0.0",
|
|
34
34
|
"@antelopejs/interface-core": ">=0.1.1 <1.0.0",
|
|
35
35
|
"@antelopejs/interface-data-api": ">=0.1.9 <1.0.0",
|
|
36
|
-
"@antelopejs/interface-database": ">=0.1.
|
|
37
|
-
"@antelopejs/interface-database-decorators": ">=0.1.
|
|
38
|
-
"@antelopejs/interface-dms": ">=0.2.
|
|
39
|
-
"@antelopejs/interface-dms-saas": ">=0.2.
|
|
40
|
-
"@antelopejs/interface-file-storage": ">=0.1.3 <1.0.0",
|
|
36
|
+
"@antelopejs/interface-database": ">=0.1.8 <1.0.0",
|
|
37
|
+
"@antelopejs/interface-database-decorators": ">=0.1.7 <1.0.0",
|
|
38
|
+
"@antelopejs/interface-dms": ">=0.2.7 <1.0.0",
|
|
39
|
+
"@antelopejs/interface-dms-saas": ">=0.2.2 <1.0.0",
|
|
41
40
|
"node-cron": "^4.2.1",
|
|
42
41
|
"stripe": "^17.5.0",
|
|
43
42
|
"zod": "^3.24.4"
|
|
44
43
|
},
|
|
45
44
|
"devDependencies": {
|
|
46
45
|
"@antelopejs/core": "1.9.1",
|
|
47
|
-
"@antelopejs/dms": ">=0.4.
|
|
46
|
+
"@antelopejs/dms": ">=0.4.8 <1.0.0",
|
|
48
47
|
"@antelopejs/dms-frontend": "0.3.2",
|
|
49
|
-
"@antelopejs/
|
|
50
|
-
"@antelopejs/mongodb": "1.3.1",
|
|
48
|
+
"@antelopejs/mongodb": "1.4.0",
|
|
51
49
|
"@antelopejs/tooling-configs": ">=0.0.6 <1.0.0",
|
|
52
50
|
"@types/node": "^24.0.0",
|
|
53
51
|
"@types/node-cron": "^3.0.11",
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { User, UserModel } from "@antelopejs/interface-dms/auth/db";
|
|
2
|
-
import { SupportMessage, SupportMessageModel, SupportTicket, SupportTicketEvent, SupportTicketEventModel, SupportTicketModel } from "../../db";
|
|
3
|
-
import { SupportEventFields, SupportMessageFields, SupportTicketFields } from "../support-fields";
|
|
4
|
-
declare const supportTicketsDataAPI_base: import("@antelopejs/interface-core/decorators").Class<import("@antelopejs/interface-data-api").ExtractDefCallbacks<{
|
|
5
|
-
list: import("@antelopejs/interface-data-api").DataControllerCallback;
|
|
6
|
-
count: import("@antelopejs/interface-data-api").DataControllerCallback;
|
|
7
|
-
}> & {
|
|
8
|
-
table: SupportTicket;
|
|
9
|
-
}> & import("@antelopejs/interface-core/decorators").Class<SupportTicketFields> & {
|
|
10
|
-
extend: <T extends import("@antelopejs/interface-api").ControllerClass>(this: T, location: string) => T;
|
|
11
|
-
location: string;
|
|
12
|
-
};
|
|
13
|
-
export declare class supportTicketsDataAPI extends supportTicketsDataAPI_base {
|
|
14
|
-
model: SupportTicketModel;
|
|
15
|
-
_instance: string;
|
|
16
|
-
tenantName: string;
|
|
17
|
-
}
|
|
18
|
-
declare const supportMessagesDataAPI_base: import("@antelopejs/interface-core/decorators").Class<import("@antelopejs/interface-data-api").ExtractDefCallbacks<{
|
|
19
|
-
list: import("@antelopejs/interface-data-api").DataControllerCallback;
|
|
20
|
-
count: import("@antelopejs/interface-data-api").DataControllerCallback;
|
|
21
|
-
}> & {
|
|
22
|
-
table: SupportMessage;
|
|
23
|
-
}> & import("@antelopejs/interface-core/decorators").Class<SupportMessageFields> & {
|
|
24
|
-
extend: <T extends import("@antelopejs/interface-api").ControllerClass>(this: T, location: string) => T;
|
|
25
|
-
location: string;
|
|
26
|
-
};
|
|
27
|
-
export declare class supportMessagesDataAPI extends supportMessagesDataAPI_base {
|
|
28
|
-
model: SupportMessageModel;
|
|
29
|
-
}
|
|
30
|
-
declare const supportEventsDataAPI_base: import("@antelopejs/interface-core/decorators").Class<import("@antelopejs/interface-data-api").ExtractDefCallbacks<{
|
|
31
|
-
list: import("@antelopejs/interface-data-api").DataControllerCallback;
|
|
32
|
-
count: import("@antelopejs/interface-data-api").DataControllerCallback;
|
|
33
|
-
}> & {
|
|
34
|
-
table: SupportTicketEvent;
|
|
35
|
-
}> & import("@antelopejs/interface-core/decorators").Class<SupportEventFields> & {
|
|
36
|
-
extend: <T extends import("@antelopejs/interface-api").ControllerClass>(this: T, location: string) => T;
|
|
37
|
-
location: string;
|
|
38
|
-
};
|
|
39
|
-
export declare class supportEventsDataAPI extends supportEventsDataAPI_base {
|
|
40
|
-
model: SupportTicketEventModel;
|
|
41
|
-
}
|
|
42
|
-
declare const supportOwnersDataAPI_base: import("@antelopejs/interface-core/decorators").Class<import("@antelopejs/interface-data-api").ExtractDefCallbacks<{
|
|
43
|
-
list: import("@antelopejs/interface-data-api").DataControllerCallback;
|
|
44
|
-
count: import("@antelopejs/interface-data-api").DataControllerCallback;
|
|
45
|
-
}> & {
|
|
46
|
-
table: User;
|
|
47
|
-
}> & import("@antelopejs/interface-core/decorators").Class<object> & {
|
|
48
|
-
extend: <T extends import("@antelopejs/interface-api").ControllerClass>(this: T, location: string) => T;
|
|
49
|
-
location: string;
|
|
50
|
-
};
|
|
51
|
-
export declare class supportOwnersDataAPI extends supportOwnersDataAPI_base {
|
|
52
|
-
model: UserModel;
|
|
53
|
-
owner: boolean;
|
|
54
|
-
_id: string;
|
|
55
|
-
name: string;
|
|
56
|
-
email: string;
|
|
57
|
-
}
|
|
58
|
-
export {};
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.supportOwnersDataAPI = exports.supportEventsDataAPI = exports.supportMessagesDataAPI = exports.supportTicketsDataAPI = void 0;
|
|
13
|
-
const interface_api_1 = require("@antelopejs/interface-api");
|
|
14
|
-
const interface_data_api_1 = require("@antelopejs/interface-data-api");
|
|
15
|
-
const metadata_1 = require("@antelopejs/interface-data-api/metadata");
|
|
16
|
-
const interface_database_1 = require("@antelopejs/interface-database");
|
|
17
|
-
const interface_database_decorators_1 = require("@antelopejs/interface-database-decorators");
|
|
18
|
-
const db_1 = require("@antelopejs/interface-dms/db");
|
|
19
|
-
const auth_1 = require("@antelopejs/interface-dms/auth");
|
|
20
|
-
const db_2 = require("@antelopejs/interface-dms/auth/db");
|
|
21
|
-
const base_1 = require("@antelopejs/interface-dms/base");
|
|
22
|
-
const db_3 = require("../../db");
|
|
23
|
-
const support_fields_1 = require("../support-fields");
|
|
24
|
-
const support_routes_1 = require("../support-routes");
|
|
25
|
-
const hidden_filter_1 = require("./hidden-filter");
|
|
26
|
-
let supportTicketsDataAPI = class supportTicketsDataAPI extends (0, interface_data_api_1.DataController)(db_3.SupportTicket, (0, support_routes_1.supportReadRoutes)("platform", "tickets"), (0, interface_api_1.Controller)("/api/saas/tables/support-tickets", support_fields_1.SupportTicketFields)) {
|
|
27
|
-
};
|
|
28
|
-
exports.supportTicketsDataAPI = supportTicketsDataAPI;
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, metadata_1.ModelReference)(),
|
|
31
|
-
(0, interface_database_decorators_1.Model)(db_3.SupportTicketModel, interface_database_1.CROSS_INSTANCE),
|
|
32
|
-
__metadata("design:type", db_3.SupportTicketModel)
|
|
33
|
-
], supportTicketsDataAPI.prototype, "model", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, metadata_1.Listable)(),
|
|
36
|
-
(0, hidden_filter_1.HiddenStringFilter)(),
|
|
37
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], supportTicketsDataAPI.prototype, "_instance", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, metadata_1.Listable)(["_instance"]),
|
|
42
|
-
(0, base_1.Searchable)(),
|
|
43
|
-
(0, metadata_1.Sortable)({ noIndex: true }),
|
|
44
|
-
(0, metadata_1.Joined)({ table: db_1.Tenant, localKey: "_instance", remoteField: "name" }),
|
|
45
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
46
|
-
__metadata("design:type", String)
|
|
47
|
-
], supportTicketsDataAPI.prototype, "tenantName", void 0);
|
|
48
|
-
exports.supportTicketsDataAPI = supportTicketsDataAPI = __decorate([
|
|
49
|
-
(0, interface_data_api_1.RegisterDataController)(),
|
|
50
|
-
(0, auth_1.AuthOwnerOnly)()
|
|
51
|
-
], supportTicketsDataAPI);
|
|
52
|
-
let supportMessagesDataAPI = class supportMessagesDataAPI extends (0, interface_data_api_1.DataController)(db_3.SupportMessage, (0, support_routes_1.supportReadRoutes)("platform", "messages"), (0, interface_api_1.Controller)("/api/saas/support/platform/:tenantId/:ticketId/messages", support_fields_1.SupportMessageFields)) {
|
|
53
|
-
};
|
|
54
|
-
exports.supportMessagesDataAPI = supportMessagesDataAPI;
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, metadata_1.ModelReference)(),
|
|
57
|
-
(0, interface_database_decorators_1.Model)(db_3.SupportMessageModel, support_routes_1.supportTenantId),
|
|
58
|
-
__metadata("design:type", db_3.SupportMessageModel)
|
|
59
|
-
], supportMessagesDataAPI.prototype, "model", void 0);
|
|
60
|
-
exports.supportMessagesDataAPI = supportMessagesDataAPI = __decorate([
|
|
61
|
-
(0, interface_data_api_1.RegisterDataController)(),
|
|
62
|
-
(0, auth_1.AuthOwnerOnly)()
|
|
63
|
-
], supportMessagesDataAPI);
|
|
64
|
-
let supportEventsDataAPI = class supportEventsDataAPI extends (0, interface_data_api_1.DataController)(db_3.SupportTicketEvent, (0, support_routes_1.supportReadRoutes)("platform", "events"), (0, interface_api_1.Controller)("/api/saas/support/platform/:tenantId/:ticketId/events", support_fields_1.SupportEventFields)) {
|
|
65
|
-
};
|
|
66
|
-
exports.supportEventsDataAPI = supportEventsDataAPI;
|
|
67
|
-
__decorate([
|
|
68
|
-
(0, metadata_1.ModelReference)(),
|
|
69
|
-
(0, interface_database_decorators_1.Model)(db_3.SupportTicketEventModel, support_routes_1.supportTenantId),
|
|
70
|
-
__metadata("design:type", db_3.SupportTicketEventModel)
|
|
71
|
-
], supportEventsDataAPI.prototype, "model", void 0);
|
|
72
|
-
exports.supportEventsDataAPI = supportEventsDataAPI = __decorate([
|
|
73
|
-
(0, interface_data_api_1.RegisterDataController)(),
|
|
74
|
-
(0, auth_1.AuthOwnerOnly)()
|
|
75
|
-
], supportEventsDataAPI);
|
|
76
|
-
let supportOwnersDataAPI = class supportOwnersDataAPI extends (0, interface_data_api_1.DataController)(db_2.User, (0, support_routes_1.supportReadRoutes)("platform", "owners"), (0, interface_api_1.Controller)("/api/saas/tables/support-owners")) {
|
|
77
|
-
};
|
|
78
|
-
exports.supportOwnersDataAPI = supportOwnersDataAPI;
|
|
79
|
-
__decorate([
|
|
80
|
-
(0, metadata_1.ModelReference)(),
|
|
81
|
-
(0, interface_database_decorators_1.Model)(db_2.UserModel),
|
|
82
|
-
__metadata("design:type", db_2.UserModel)
|
|
83
|
-
], supportOwnersDataAPI.prototype, "model", void 0);
|
|
84
|
-
__decorate([
|
|
85
|
-
(0, metadata_1.Filter)((_ctx, proxy) => proxy.eq(true), false),
|
|
86
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
87
|
-
__metadata("design:type", Boolean)
|
|
88
|
-
], supportOwnersDataAPI.prototype, "owner", void 0);
|
|
89
|
-
__decorate([
|
|
90
|
-
(0, metadata_1.Listable)(),
|
|
91
|
-
(0, metadata_1.Sortable)(),
|
|
92
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
93
|
-
__metadata("design:type", String)
|
|
94
|
-
], supportOwnersDataAPI.prototype, "_id", void 0);
|
|
95
|
-
__decorate([
|
|
96
|
-
(0, metadata_1.Listable)(),
|
|
97
|
-
(0, base_1.Searchable)(),
|
|
98
|
-
(0, metadata_1.Sortable)({ noIndex: true }),
|
|
99
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
100
|
-
__metadata("design:type", String)
|
|
101
|
-
], supportOwnersDataAPI.prototype, "name", void 0);
|
|
102
|
-
__decorate([
|
|
103
|
-
(0, metadata_1.Listable)(),
|
|
104
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
105
|
-
__metadata("design:type", String)
|
|
106
|
-
], supportOwnersDataAPI.prototype, "email", void 0);
|
|
107
|
-
exports.supportOwnersDataAPI = supportOwnersDataAPI = __decorate([
|
|
108
|
-
(0, interface_data_api_1.RegisterDataController)(),
|
|
109
|
-
(0, auth_1.AuthOwnerOnly)()
|
|
110
|
-
], supportOwnersDataAPI);
|
|
111
|
-
//# sourceMappingURL=support.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"support.js","sourceRoot":"","sources":["../../../src/data-api/platformOwner/support.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6DAAuD;AACvD,uEAGwC;AACxC,sEAQiD;AACjD,uEAAgE;AAChE,6FAAkE;AAClE,qDAAsD;AACtD,yDAA+D;AAC/D,0DAAoE;AACpE,yDAA4D;AAC5D,iCAOkB;AAClB,sDAI2B;AAC3B,sDAAuE;AACvE,mDAAqD;AAK9C,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,IAAA,mCAAc,EACvD,kBAAa,EACb,IAAA,kCAAiB,EAAC,UAAU,EAAE,SAAS,CAAC,EACxC,IAAA,0BAAU,EAAC,kCAAkC,EAAE,oCAAmB,CAAC,CACpE;CAcA,CAAA;AAlBY,sDAAqB;AAOxB;IAFP,IAAA,yBAAc,GAAE;IAChB,IAAA,qCAAK,EAAC,uBAAkB,EAAE,mCAAc,CAAC;8BAC3B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AAE,gCAAe,CAAC;8BACjC,4BAAuB;mDAAC;+BAV5B,oBAAoB;IAFhC,IAAA,2CAAsB,GAAE;IACxB,IAAA,oBAAa,GAAE;GACH,oBAAoB,CAWhC;AAKM,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,IAAA,mCAAc,EACtD,SAAI,EACJ,IAAA,kCAAiB,EAAC,UAAU,EAAE,QAAQ,CAAC,EACvC,IAAA,0BAAU,EAAC,iCAAiC,CAAC,CAC9C;CAmBA,CAAA;AAvBY,oDAAoB;AAOvB;IAFP,IAAA,yBAAc,GAAE;IAChB,IAAA,qCAAK,EAAC,cAAS,CAAC;8BACF,cAAS;mDAAC;AAGjB;IAFP,IAAA,iBAAM,EAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC;IAC9C,IAAA,iBAAM,EAAC,qBAAU,CAAC,QAAQ,CAAC;;mDACL;AAIf;IAHP,IAAA,mBAAQ,GAAE;IACV,IAAA,mBAAQ,GAAE;IACV,IAAA,iBAAM,EAAC,qBAAU,CAAC,QAAQ,CAAC;;iDACR;AAKZ;IAJP,IAAA,mBAAQ,GAAE;IACV,IAAA,iBAAU,GAAE;IACZ,IAAA,mBAAQ,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC3B,IAAA,iBAAM,EAAC,qBAAU,CAAC,QAAQ,CAAC;;kDACP;AAGb;IAFP,IAAA,mBAAQ,GAAE;IACV,IAAA,iBAAM,EAAC,qBAAU,CAAC,QAAQ,CAAC;;mDACN;+BAtBX,oBAAoB;IAFhC,IAAA,2CAAsB,GAAE;IACxB,IAAA,oBAAa,GAAE;GACH,oBAAoB,CAuBhC"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import type { SupportMessageAuthorType, SupportTicketCategory, SupportTicketEventType, SupportTicketPriority, SupportTicketStatus } from "../db";
|
|
2
|
-
import { SupportMessage, SupportTicketEvent } from "../db";
|
|
3
|
-
declare const SupportTicketFields_base: import("@antelopejs/interface-api").ControllerClass<object>;
|
|
4
|
-
export declare class SupportTicketFields extends SupportTicketFields_base {
|
|
5
|
-
_id: string;
|
|
6
|
-
subject: string;
|
|
7
|
-
status: SupportTicketStatus;
|
|
8
|
-
priority: SupportTicketPriority;
|
|
9
|
-
category: SupportTicketCategory;
|
|
10
|
-
assignedTo: string | null;
|
|
11
|
-
createdBy: string;
|
|
12
|
-
lastMessageAt: Date;
|
|
13
|
-
createdAt: Date;
|
|
14
|
-
updatedAt: Date;
|
|
15
|
-
}
|
|
16
|
-
declare const SupportThreadFields_base: import("@antelopejs/interface-api").ControllerClass<object>;
|
|
17
|
-
export declare class SupportThreadFields extends SupportThreadFields_base {
|
|
18
|
-
_id: string;
|
|
19
|
-
ticketId: string;
|
|
20
|
-
createdAt: Date;
|
|
21
|
-
}
|
|
22
|
-
declare const SupportMessageFields_base: import("@antelopejs/interface-core/decorators").Class<import("@antelopejs/interface-data-api").ExtractDefCallbacks<{}> & {
|
|
23
|
-
table: SupportMessage;
|
|
24
|
-
}> & import("@antelopejs/interface-core/decorators").Class<SupportThreadFields> & {
|
|
25
|
-
extend: <T extends import("@antelopejs/interface-api").ControllerClass>(this: T, location: string) => T;
|
|
26
|
-
location: string;
|
|
27
|
-
};
|
|
28
|
-
export declare class SupportMessageFields extends SupportMessageFields_base {
|
|
29
|
-
ticketId: string;
|
|
30
|
-
authorId: string;
|
|
31
|
-
authorType: SupportMessageAuthorType;
|
|
32
|
-
body: string;
|
|
33
|
-
attachments: string[];
|
|
34
|
-
}
|
|
35
|
-
declare const SupportEventFields_base: import("@antelopejs/interface-core/decorators").Class<import("@antelopejs/interface-data-api").ExtractDefCallbacks<{}> & {
|
|
36
|
-
table: SupportTicketEvent;
|
|
37
|
-
}> & import("@antelopejs/interface-core/decorators").Class<SupportThreadFields> & {
|
|
38
|
-
extend: <T extends import("@antelopejs/interface-api").ControllerClass>(this: T, location: string) => T;
|
|
39
|
-
location: string;
|
|
40
|
-
};
|
|
41
|
-
export declare class SupportEventFields extends SupportEventFields_base {
|
|
42
|
-
ticketId: string;
|
|
43
|
-
actorId: string;
|
|
44
|
-
actorName: string;
|
|
45
|
-
type: SupportTicketEventType;
|
|
46
|
-
previousValue: string | null;
|
|
47
|
-
newValue: string | null;
|
|
48
|
-
}
|
|
49
|
-
export {};
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.SupportEventFields = exports.SupportMessageFields = exports.SupportThreadFields = exports.SupportTicketFields = void 0;
|
|
13
|
-
const interface_api_1 = require("@antelopejs/interface-api");
|
|
14
|
-
const interface_data_api_1 = require("@antelopejs/interface-data-api");
|
|
15
|
-
const metadata_1 = require("@antelopejs/interface-data-api/metadata");
|
|
16
|
-
const base_1 = require("@antelopejs/interface-dms/base");
|
|
17
|
-
const db_1 = require("../db");
|
|
18
|
-
const hidden_filter_1 = require("./platformOwner/hidden-filter");
|
|
19
|
-
class SupportTicketFields extends (0, interface_api_1.Controller)("") {
|
|
20
|
-
}
|
|
21
|
-
exports.SupportTicketFields = SupportTicketFields;
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, metadata_1.Listable)(),
|
|
24
|
-
(0, metadata_1.Sortable)(),
|
|
25
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], SupportTicketFields.prototype, "_id", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, metadata_1.Listable)(),
|
|
30
|
-
(0, base_1.Searchable)(),
|
|
31
|
-
(0, metadata_1.Sortable)({ noIndex: true }),
|
|
32
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], SupportTicketFields.prototype, "subject", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, metadata_1.Listable)(),
|
|
37
|
-
(0, hidden_filter_1.HiddenStringFilter)(),
|
|
38
|
-
(0, metadata_1.Sortable)(),
|
|
39
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
40
|
-
__metadata("design:type", String)
|
|
41
|
-
], SupportTicketFields.prototype, "status", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, metadata_1.Listable)(),
|
|
44
|
-
(0, hidden_filter_1.HiddenStringFilter)(),
|
|
45
|
-
(0, metadata_1.Sortable)(),
|
|
46
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
47
|
-
__metadata("design:type", String)
|
|
48
|
-
], SupportTicketFields.prototype, "priority", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, metadata_1.Listable)(),
|
|
51
|
-
(0, hidden_filter_1.HiddenStringFilter)(),
|
|
52
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
53
|
-
__metadata("design:type", String)
|
|
54
|
-
], SupportTicketFields.prototype, "category", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, metadata_1.Listable)(),
|
|
57
|
-
(0, hidden_filter_1.HiddenStringFilter)(),
|
|
58
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
59
|
-
__metadata("design:type", Object)
|
|
60
|
-
], SupportTicketFields.prototype, "assignedTo", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
(0, metadata_1.Listable)(),
|
|
63
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
64
|
-
__metadata("design:type", String)
|
|
65
|
-
], SupportTicketFields.prototype, "createdBy", void 0);
|
|
66
|
-
__decorate([
|
|
67
|
-
(0, metadata_1.Listable)(),
|
|
68
|
-
(0, metadata_1.Sortable)(),
|
|
69
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
70
|
-
__metadata("design:type", Date)
|
|
71
|
-
], SupportTicketFields.prototype, "lastMessageAt", void 0);
|
|
72
|
-
__decorate([
|
|
73
|
-
(0, metadata_1.Listable)(),
|
|
74
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
75
|
-
__metadata("design:type", Date)
|
|
76
|
-
], SupportTicketFields.prototype, "createdAt", void 0);
|
|
77
|
-
__decorate([
|
|
78
|
-
(0, metadata_1.Listable)(),
|
|
79
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
80
|
-
__metadata("design:type", Date)
|
|
81
|
-
], SupportTicketFields.prototype, "updatedAt", void 0);
|
|
82
|
-
class SupportThreadFields extends (0, interface_api_1.Controller)("") {
|
|
83
|
-
}
|
|
84
|
-
exports.SupportThreadFields = SupportThreadFields;
|
|
85
|
-
__decorate([
|
|
86
|
-
(0, metadata_1.Listable)(),
|
|
87
|
-
(0, metadata_1.Sortable)(),
|
|
88
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
89
|
-
__metadata("design:type", String)
|
|
90
|
-
], SupportThreadFields.prototype, "_id", void 0);
|
|
91
|
-
__decorate([
|
|
92
|
-
(0, metadata_1.Listable)(),
|
|
93
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
94
|
-
__metadata("design:type", String)
|
|
95
|
-
], SupportThreadFields.prototype, "ticketId", void 0);
|
|
96
|
-
__decorate([
|
|
97
|
-
(0, metadata_1.Listable)(),
|
|
98
|
-
(0, metadata_1.Sortable)({ noIndex: true }),
|
|
99
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
100
|
-
__metadata("design:type", Date)
|
|
101
|
-
], SupportThreadFields.prototype, "createdAt", void 0);
|
|
102
|
-
class SupportMessageFields extends (0, interface_data_api_1.DataController)(db_1.SupportMessage, {}, (0, interface_api_1.Controller)("", SupportThreadFields)) {
|
|
103
|
-
}
|
|
104
|
-
exports.SupportMessageFields = SupportMessageFields;
|
|
105
|
-
__decorate([
|
|
106
|
-
(0, metadata_1.Filter)(),
|
|
107
|
-
__metadata("design:type", String)
|
|
108
|
-
], SupportMessageFields.prototype, "ticketId", void 0);
|
|
109
|
-
__decorate([
|
|
110
|
-
(0, metadata_1.Listable)(),
|
|
111
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
112
|
-
__metadata("design:type", String)
|
|
113
|
-
], SupportMessageFields.prototype, "authorId", void 0);
|
|
114
|
-
__decorate([
|
|
115
|
-
(0, metadata_1.Listable)(),
|
|
116
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
117
|
-
__metadata("design:type", String)
|
|
118
|
-
], SupportMessageFields.prototype, "authorType", void 0);
|
|
119
|
-
__decorate([
|
|
120
|
-
(0, metadata_1.Listable)(),
|
|
121
|
-
(0, base_1.Searchable)(),
|
|
122
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
123
|
-
__metadata("design:type", String)
|
|
124
|
-
], SupportMessageFields.prototype, "body", void 0);
|
|
125
|
-
__decorate([
|
|
126
|
-
(0, metadata_1.Listable)(),
|
|
127
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
128
|
-
__metadata("design:type", Array)
|
|
129
|
-
], SupportMessageFields.prototype, "attachments", void 0);
|
|
130
|
-
class SupportEventFields extends (0, interface_data_api_1.DataController)(db_1.SupportTicketEvent, {}, (0, interface_api_1.Controller)("", SupportThreadFields)) {
|
|
131
|
-
}
|
|
132
|
-
exports.SupportEventFields = SupportEventFields;
|
|
133
|
-
__decorate([
|
|
134
|
-
(0, metadata_1.Filter)(),
|
|
135
|
-
__metadata("design:type", String)
|
|
136
|
-
], SupportEventFields.prototype, "ticketId", void 0);
|
|
137
|
-
__decorate([
|
|
138
|
-
(0, metadata_1.Listable)(),
|
|
139
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
140
|
-
__metadata("design:type", String)
|
|
141
|
-
], SupportEventFields.prototype, "actorId", void 0);
|
|
142
|
-
__decorate([
|
|
143
|
-
(0, metadata_1.Listable)(),
|
|
144
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
145
|
-
__metadata("design:type", String)
|
|
146
|
-
], SupportEventFields.prototype, "actorName", void 0);
|
|
147
|
-
__decorate([
|
|
148
|
-
(0, metadata_1.Listable)(),
|
|
149
|
-
(0, hidden_filter_1.HiddenStringFilter)(),
|
|
150
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
151
|
-
__metadata("design:type", String)
|
|
152
|
-
], SupportEventFields.prototype, "type", void 0);
|
|
153
|
-
__decorate([
|
|
154
|
-
(0, metadata_1.Listable)(),
|
|
155
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
156
|
-
__metadata("design:type", Object)
|
|
157
|
-
], SupportEventFields.prototype, "previousValue", void 0);
|
|
158
|
-
__decorate([
|
|
159
|
-
(0, metadata_1.Listable)(),
|
|
160
|
-
(0, metadata_1.Access)(metadata_1.AccessMode.ReadOnly),
|
|
161
|
-
__metadata("design:type", Object)
|
|
162
|
-
], SupportEventFields.prototype, "newValue", void 0);
|
|
163
|
-
(0, metadata_1.Sortable)()(SupportTicketFields.prototype, db_1.SUPPORT_TICKET_ORDER_INDEX);
|
|
164
|
-
(0, metadata_1.Sortable)()(SupportMessageFields.prototype, db_1.SUPPORT_MESSAGE_ORDER_INDEX);
|
|
165
|
-
(0, metadata_1.Sortable)()(SupportEventFields.prototype, db_1.SUPPORT_EVENT_ORDER_INDEX);
|
|
166
|
-
//# sourceMappingURL=support-fields.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"support-fields.js","sourceRoot":"","sources":["../../src/data-api/support-fields.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6DAAuD;AACvD,uEAAgE;AAChE,sEAMiD;AACjD,yDAA4D;AAQ5D,8BAMe;AACf,iEAAmE;AAGnE,MAAa,mBAAoB,SAAQ,IAAA,0BAAU,EAAC,EAAE,CAAC;CAyCtD;AAzCD,kDAyCC;AArCS;IAHP,IAAA,mBAAQ,GAAE;IACV,IAAA,mBAAQ,GAAE;IACV,IAAA,iBAAM,EAAC,qBAAU,CAAC,QAAQ,CAAC;;gDACR;AAKZ;IAJP,IAAA,mBAAQ,GAAE;IACV,IAAA,iBAAU,GAAE;IACZ,IAAA,mBAAQ,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC3B,IAAA,iBAAM,EAAC,qBAAU,CAAC,QAAQ,CAAC;;oDACJ;AAKhB;IAJP,IAAA,mBAAQ,GAAE;IACV,IAAA,kCAAkB,GAAE;IACpB,IAAA,mBAAQ,GAAE;IACV,IAAA,iBAAM,EAAC,qBAAU,CAAC,QAAQ,CAAC;;mDACQ;AAK5B;IAJP,IAAA,mBAAQ,GAAE;IACV,IAAA,kCAAkB,GAAE;IACpB,IAAA,mBAAQ,GAAE;IACV,IAAA,iBAAM,EAAC,qBAAU,CAAC,QAAQ,CAAC;;qDACY;AAIhC;IAHP,IAAA,mBAAQ,GAAE;IACV,IAAA,kCAAkB,GAAE;IACpB,IAAA,iBAAM,EAAC,qBAAU,CAAC,QAAQ,CAAC;;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EAAE,8BAAyB,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { RequestContext } from "@antelopejs/interface-api";
|
|
2
|
-
import type { DataControllerCallback } from "@antelopejs/interface-data-api";
|
|
3
|
-
type SupportAudience = "tenant" | "platform";
|
|
4
|
-
type SupportCollection = "tickets" | "messages" | "events" | "owners";
|
|
5
|
-
export declare function supportTenantId(ctx: RequestContext): string;
|
|
6
|
-
export declare function supportReadRoutes(audience: SupportAudience, collection: SupportCollection): {
|
|
7
|
-
list: DataControllerCallback;
|
|
8
|
-
count: DataControllerCallback;
|
|
9
|
-
};
|
|
10
|
-
export {};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.supportTenantId = supportTenantId;
|
|
4
|
-
exports.supportReadRoutes = supportReadRoutes;
|
|
5
|
-
const interface_api_util_1 = require("@antelopejs/interface-api-util");
|
|
6
|
-
const interface_database_decorators_1 = require("@antelopejs/interface-database-decorators");
|
|
7
|
-
const guards_1 = require("@antelopejs/interface-dms/guards");
|
|
8
|
-
const request_tenant_1 = require("@antelopejs/interface-dms/request-tenant");
|
|
9
|
-
const auth_1 = require("@antelopejs/interface-dms/auth");
|
|
10
|
-
const base_1 = require("@antelopejs/interface-dms/base");
|
|
11
|
-
const db_1 = require("../db");
|
|
12
|
-
const publications_1 = require("../support/publications");
|
|
13
|
-
const HTTP_BAD_REQUEST = 400;
|
|
14
|
-
const PAGE_SIZE = 20;
|
|
15
|
-
const MAX_PAGE_SIZE = 100;
|
|
16
|
-
const GUARDS = { tenant: guards_1.AuthTenantMember, platform: auth_1.AuthOwnerOnly };
|
|
17
|
-
const RECENT_SORTS = {
|
|
18
|
-
tickets: ["lastMessageAt", db_1.SUPPORT_TICKET_ORDER_INDEX],
|
|
19
|
-
messages: ["createdAt", db_1.SUPPORT_MESSAGE_ORDER_INDEX],
|
|
20
|
-
events: ["createdAt", db_1.SUPPORT_EVENT_ORDER_INDEX],
|
|
21
|
-
owners: ["_id", "_id"],
|
|
22
|
-
};
|
|
23
|
-
function validatePagination(params) {
|
|
24
|
-
(0, interface_api_util_1.assert)(Number.isSafeInteger(params.offset ?? 0) &&
|
|
25
|
-
(params.offset ?? 0) >= 0 &&
|
|
26
|
-
Number.isSafeInteger(params.limit ?? PAGE_SIZE) &&
|
|
27
|
-
(params.limit ?? PAGE_SIZE) > 0 &&
|
|
28
|
-
(!params.sortDirection || ["asc", "desc"].includes(params.sortDirection)), HTTP_BAD_REQUEST, "saas.errors.support.invalid_pagination");
|
|
29
|
-
}
|
|
30
|
-
function supportTenantId(ctx) {
|
|
31
|
-
return ctx.routeParameters.tenantId ?? (0, request_tenant_1.getRequestTenantId)(ctx);
|
|
32
|
-
}
|
|
33
|
-
async function scopedParameters(ctx, params, collection) {
|
|
34
|
-
validatePagination(params);
|
|
35
|
-
const filters = { ...params.filters };
|
|
36
|
-
if (collection === "messages" || collection === "events") {
|
|
37
|
-
const ticketId = ctx.routeParameters.ticketId;
|
|
38
|
-
await (0, publications_1.reconcileSupportTicket)((0, interface_database_decorators_1.GetModel)(db_1.SupportTicketModel, supportTenantId(ctx)), ticketId);
|
|
39
|
-
filters.ticketId = [ticketId, "eq"];
|
|
40
|
-
}
|
|
41
|
-
if (collection === "owners")
|
|
42
|
-
filters.owner = ["true", "eq"];
|
|
43
|
-
const [dateField, recentIndex] = RECENT_SORTS[collection];
|
|
44
|
-
const sortKey = params.sortKey ?? dateField;
|
|
45
|
-
return {
|
|
46
|
-
...params,
|
|
47
|
-
filters,
|
|
48
|
-
limit: Math.min(params.limit ?? PAGE_SIZE, MAX_PAGE_SIZE),
|
|
49
|
-
sortKey: sortKey === dateField ? recentIndex : sortKey,
|
|
50
|
-
sortDirection: params.sortDirection ?? "desc",
|
|
51
|
-
noPluck: false,
|
|
52
|
-
noForeign: false,
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
function scopedRoute(base, audience, collection) {
|
|
56
|
-
return {
|
|
57
|
-
...base,
|
|
58
|
-
args: [...base.args.slice(0, -1), GUARDS[audience]()],
|
|
59
|
-
func: async function (ctx, params, ...rest) {
|
|
60
|
-
const scoped = await scopedParameters(ctx, params, collection);
|
|
61
|
-
return base.func.call(this, ctx, scoped, ...rest);
|
|
62
|
-
},
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
function supportReadRoutes(audience, collection) {
|
|
66
|
-
return {
|
|
67
|
-
list: scopedRoute(base_1.TableViewRoutes.List, audience, collection),
|
|
68
|
-
count: scopedRoute(base_1.TableViewRoutes.Count, audience, collection),
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
//# sourceMappingURL=support-routes.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"support-routes.js","sourceRoot":"","sources":["../../src/data-api/support-routes.ts"],"names":[],"mappings":";;AA2CA,0CAEC;AAqDD,8CAQC;AAzGD,uEAAwD;AAGxD,6FAAqE;AACrE,6DAAoE;AACpE,6EAA8E;AAC9E,yDAA+D;AAC/D,yDAAiE;AACjE,8BAKe;AACf,0DAAiE;AAIjE,MAAM,gBAAgB,GAAG,GAAG,CAAC;AAC7B,MAAM,SAAS,GAAG,EAAE,CAAC;AACrB,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,MAAM,GAAG,EAAE,MAAM,EAAE,yBAAgB,EAAE,QAAQ,EAAE,oBAAa,EAAE,CAAC;AACrE,MAAM,YAAY,GAAG;IACnB,OAAO,EAAE,CAAC,eAAe,EAAE,+BAA0B,CAAC;IACtD,QAAQ,EAAE,CAAC,WAAW,EAAE,gCAA2B,CAAC;IACpD,MAAM,EAAE,CAAC,WAAW,EAAE,8BAAyB,CAAC;IAChD,MAAM,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;CACvB,CAAC;AAEF,SAAS,kBAAkB,CAAC,MAAiC;IAC3D,IAAA,2BAAM,EACJ,MAAM,CAAC,aAAa,C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TicketEvent, SupportTicketEventModel, SupportTicketModel } from "../../db";
|
|
2
|
-
import { SupportEventFields, SupportMessageFields, SupportTicketFields } from "../support-fields";
|
|
3
|
-
declare const tenantSupportTicketsDataAPI_base: import("@antelopejs/interface-core/decorators").Class<import("@antelopejs/interface-data-api").ExtractDefCallbacks<{
|
|
4
|
-
list: import("@antelopejs/interface-data-api").DataControllerCallback;
|
|
5
|
-
count: import("@antelopejs/interface-data-api").DataControllerCallback;
|
|
6
|
-
}> & {
|
|
7
|
-
table: SupportTicket;
|
|
8
|
-
}> & import("@antelopejs/interface-core/decorators").Class<SupportTicketFields> & {
|
|
9
|
-
extend: <T extends import("@antelopejs/interface-api").ControllerClass>(this: T, location: string) => T;
|
|
10
|
-
location: string;
|
|
11
|
-
};
|
|
12
|
-
export declare class tenantSupportTicketsDataAPI extends tenantSupportTicketsDataAPI_base {
|
|
13
|
-
model: SupportTicketModel;
|
|
14
|
-
}
|
|
15
|
-
declare const tenantSupportMessagesDataAPI_base: import("@antelopejs/interface-core/decorators").Class<import("@antelopejs/interface-data-api").ExtractDefCallbacks<{
|
|
16
|
-
list: import("@antelopejs/interface-data-api").DataControllerCallback;
|
|
17
|
-
count: import("@antelopejs/interface-data-api").DataControllerCallback;
|
|
18
|
-
}> & {
|
|
19
|
-
table: SupportMessage;
|
|
20
|
-
}> & import("@antelopejs/interface-core/decorators").Class<SupportMessageFields> & {
|
|
21
|
-
extend: <T extends import("@antelopejs/interface-api").ControllerClass>(this: T, location: string) => T;
|
|
22
|
-
location: string;
|
|
23
|
-
};
|
|
24
|
-
export declare class tenantSupportMessagesDataAPI extends tenantSupportMessagesDataAPI_base {
|
|
25
|
-
model: SupportMessageModel;
|
|
26
|
-
}
|
|
27
|
-
declare const tenantSupportEventsDataAPI_base: import("@antelopejs/interface-core/decorators").Class<import("@antelopejs/interface-data-api").ExtractDefCallbacks<{
|
|
28
|
-
list: import("@antelopejs/interface-data-api").DataControllerCallback;
|
|
29
|
-
count: import("@antelopejs/interface-data-api").DataControllerCallback;
|
|
30
|
-
}> & {
|
|
31
|
-
table: SupportTicketEvent;
|
|
32
|
-
}> & import("@antelopejs/interface-core/decorators").Class<SupportEventFields> & {
|
|
33
|
-
extend: <T extends import("@antelopejs/interface-api").ControllerClass>(this: T, location: string) => T;
|
|
34
|
-
location: string;
|
|
35
|
-
};
|
|
36
|
-
export declare class tenantSupportEventsDataAPI extends tenantSupportEventsDataAPI_base {
|
|
37
|
-
model: SupportTicketEventModel;
|
|
38
|
-
}
|
|
39
|
-
export {};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.tenantSupportEventsDataAPI = exports.tenantSupportMessagesDataAPI = exports.tenantSupportTicketsDataAPI = void 0;
|
|
13
|
-
const interface_api_1 = require("@antelopejs/interface-api");
|
|
14
|
-
const interface_data_api_1 = require("@antelopejs/interface-data-api");
|
|
15
|
-
const metadata_1 = require("@antelopejs/interface-data-api/metadata");
|
|
16
|
-
const tenant_scoped_model_1 = require("@antelopejs/interface-dms/tenant-scoped-model");
|
|
17
|
-
const db_1 = require("../../db");
|
|
18
|
-
const support_fields_1 = require("../support-fields");
|
|
19
|
-
const support_routes_1 = require("../support-routes");
|
|
20
|
-
let tenantSupportTicketsDataAPI = class tenantSupportTicketsDataAPI extends (0, interface_data_api_1.DataController)(db_1.SupportTicket, (0, support_routes_1.supportReadRoutes)("tenant", "tickets"), (0, interface_api_1.Controller)("/api/saas/tenant/tables/support-tickets", support_fields_1.SupportTicketFields)) {
|
|
21
|
-
};
|
|
22
|
-
exports.tenantSupportTicketsDataAPI = tenantSupportTicketsDataAPI;
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, metadata_1.ModelReference)(),
|
|
25
|
-
(0, tenant_scoped_model_1.TenantScopedModel)(db_1.SupportTicketModel),
|
|
26
|
-
__metadata("design:type", db_1.SupportTicketModel)
|
|
27
|
-
], tenantSupportTicketsDataAPI.prototype, "model", void 0);
|
|
28
|
-
exports.tenantSupportTicketsDataAPI = tenantSupportTicketsDataAPI = __decorate([
|
|
29
|
-
(0, interface_data_api_1.RegisterDataController)()
|
|
30
|
-
], tenantSupportTicketsDataAPI);
|
|
31
|
-
let tenantSupportMessagesDataAPI = class tenantSupportMessagesDataAPI extends (0, interface_data_api_1.DataController)(db_1.SupportMessage, (0, support_routes_1.supportReadRoutes)("tenant", "messages"), (0, interface_api_1.Controller)("/api/saas/support/:ticketId/messages", support_fields_1.SupportMessageFields)) {
|
|
32
|
-
};
|
|
33
|
-
exports.tenantSupportMessagesDataAPI = tenantSupportMessagesDataAPI;
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, metadata_1.ModelReference)(),
|
|
36
|
-
(0, tenant_scoped_model_1.TenantScopedModel)(db_1.SupportMessageModel),
|
|
37
|
-
__metadata("design:type", db_1.SupportMessageModel)
|
|
38
|
-
], tenantSupportMessagesDataAPI.prototype, "model", void 0);
|
|
39
|
-
exports.tenantSupportMessagesDataAPI = tenantSupportMessagesDataAPI = __decorate([
|
|
40
|
-
(0, interface_data_api_1.RegisterDataController)()
|
|
41
|
-
], tenantSupportMessagesDataAPI);
|
|
42
|
-
let tenantSupportEventsDataAPI = class tenantSupportEventsDataAPI extends (0, interface_data_api_1.DataController)(db_1.SupportTicketEvent, (0, support_routes_1.supportReadRoutes)("tenant", "events"), (0, interface_api_1.Controller)("/api/saas/support/:ticketId/events", support_fields_1.SupportEventFields)) {
|
|
43
|
-
};
|
|
44
|
-
exports.tenantSupportEventsDataAPI = tenantSupportEventsDataAPI;
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, metadata_1.ModelReference)(),
|
|
47
|
-
(0, tenant_scoped_model_1.TenantScopedModel)(db_1.SupportTicketEventModel),
|
|
48
|
-
__metadata("design:type", db_1.SupportTicketEventModel)
|
|
49
|
-
], tenantSupportEventsDataAPI.prototype, "model", void 0);
|
|
50
|
-
exports.tenantSupportEventsDataAPI = tenantSupportEventsDataAPI = __decorate([
|
|
51
|
-
(0, interface_data_api_1.RegisterDataController)()
|
|
52
|
-
], tenantSupportEventsDataAPI);
|
|
53
|
-
//# sourceMappingURL=support.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"support.js","sourceRoot":"","sources":["../../../src/data-api/tenant/support.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6DAAuD;AACvD,uEAGwC;AACxC,sEAAyE;AACzE,uFAAkF;AAClF,iCAOkB;AAClB,sDAI2B;AAC3B,sDAAsD;AAI/C,IAAM,2BAA2B,GAAjC,MAAM,2BAA4B,SAAQ,IAAA,mCAAc,EAC7D,kBAAa,EACb,IAAA,kCAAiB,EAAC,QAAQ,EAAE,SAAS,CAAC,EACtC,IAAA,0BAAU,EAAC,yCAAyC,EAAE,oCAAmB,CAAC,CAC3E;CAIA,CAAA;AARY,kEAA2B;AAO9B;IAFP,IAAA,yBAAc,GAAE;IAChB,IAAA,uCAAiB,EAAC,uBAAkB,CAAC;8BACvB,uBAAkB;0DAAC;sCAPvB,2BAA2B;IADvC,IAAA,2CAAsB,GAAE;GACZ,2BAA2B,CAQvC;AAIM,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,IAAA,mCAAc,EAC9D,mBAAc,EACd,IAAA,kCAAiB,EAAC,QAAQ,EAAE,UAAU,CAAC,EACvC,IAAA,0BAAU,EAAC,sCAAsC,EAAE,qCAAoB,CAAC,CACzE;CAIA,CAAA;AARY,oEAA4B;AAO/B;IAFP,IAAA,yBAAc,GAAE;IAChB,IAAA,uCAAiB,EAAC,wBAAmB,CAAC;8BACxB,wBAAmB;2DAAC;uCAPxB,4BAA4B;IADxC,IAAA,2CAAsB,GAAE;GACZ,4BAA4B,CAQxC;AAIM,IAAM,0BAA0B,GAAhC,MAAM,0BAA2B,SAAQ,IAAA,mCAAc,EAC5D,uBAAkB,EAClB,IAAA,kCAAiB,EAAC,QAAQ,EAAE,QAAQ,CAAC,EACrC,IAAA,0BAAU,EAAC,oCAAoC,EAAE,mCAAkB,CAAC,CACrE;CAIA,CAAA;AARY,gEAA0B;AAO7B;IAFP,IAAA,yBAAc,GAAE;IAChB,IAAA,uCAAiB,EAAC,4BAAuB,CAAC;8BAC5B,4BAAuB;yDAAC;qCAP5B,0BAA0B;IADtC,IAAA,2CAAsB,GAAE;GACZ,0BAA0B,CAQtC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
declare const SaasPlatformSupportPageController_base: {
|
|
2
|
-
new (...args: any[]): {};
|
|
3
|
-
extend: <T extends import("@antelopejs/interface-api").ControllerClass>(this: T, location: string) => T;
|
|
4
|
-
location: string;
|
|
5
|
-
};
|
|
6
|
-
export declare class SaasPlatformSupportPageController extends SaasPlatformSupportPageController_base {
|
|
7
|
-
static content: import("@antelopejs/interface-dms").ComponentBuilder<unknown>;
|
|
8
|
-
}
|
|
9
|
-
export {};
|