@antelopejs/dms-saas 0.3.0 → 0.3.2
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/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/types/config.d.ts +0 -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 +2 -4
- 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/README.md
CHANGED
|
@@ -91,51 +91,6 @@ do not need a separate tenant-owner grant list. Subscription access gates remain
|
|
|
91
91
|
independent and unchanged. This resolver alone does not constrain
|
|
92
92
|
`defaultGranted` permissions or guards that do not consult effective permissions.
|
|
93
93
|
|
|
94
|
-
## Native support tickets
|
|
95
|
-
|
|
96
|
-
The Support page stores tickets, messages, and ticket events in the active
|
|
97
|
-
tenant schema. Platform ticket listing uses `CROSS_INSTANCE`; MongoDB's
|
|
98
|
-
`_instance` identifies each ticket's tenant. Detail reads and writes use that
|
|
99
|
-
tenant's scoped models.
|
|
100
|
-
|
|
101
|
-
Support listings use the Data API endpoints:
|
|
102
|
-
|
|
103
|
-
- `/api/saas/tenant/tables/support-tickets/list`
|
|
104
|
-
- `/api/saas/tables/support-tickets/list`
|
|
105
|
-
- `/api/saas/tables/support-owners/list`
|
|
106
|
-
- Existing tenant and platform detail URLs, with `/messages/list` and
|
|
107
|
-
`/events/list` children (and `/count` variants)
|
|
108
|
-
|
|
109
|
-
List queries accept `offset`, `limit`, `sortKey`, `sortDirection`, and
|
|
110
|
-
`filter_<field>`. Responses contain `{ results, total, offset, limit }`. Owner
|
|
111
|
-
rows contain `_id`, `name`, and `email`. Global ticket rows include the joined
|
|
112
|
-
`tenantName`.
|
|
113
|
-
|
|
114
|
-
Pages default to 20 rows and are capped at 100. String filters use the DMS
|
|
115
|
-
comparison modes, for example `filter_status=is:open`. Recent-first reads keep
|
|
116
|
-
timestamp/ID compound ordering. Message and event pagination loads only the
|
|
117
|
-
requested collection; ticket scope is enforced by the server.
|
|
118
|
-
|
|
119
|
-
Status and assignment changes record the actor, previous/new values, and time
|
|
120
|
-
in `support_ticket_events`. This includes automatic reply transitions: support
|
|
121
|
-
replies wait for the customer, and customer replies resume tickets waiting for
|
|
122
|
-
them. Existing tickets start with no historical events; old history is not
|
|
123
|
-
invented. Existing central mirror data is unused and is not automatically deleted.
|
|
124
|
-
|
|
125
|
-
Support level comes from the inherited plan feature whose id is
|
|
126
|
-
`support-sla`. Supported string values are `community`, `email`, `priority`,
|
|
127
|
-
and `dedicated`. An absent or invalid value falls back to community support.
|
|
128
|
-
Those levels respectively expose normal; low/normal; low/normal/high; and all
|
|
129
|
-
priorities. Displayed first-response targets are no guarantee, 48 business
|
|
130
|
-
hours, 8 business hours, and 2 elapsed hours.
|
|
131
|
-
|
|
132
|
-
Attachments use the DMS upload token and staging flow below the tenant-bound
|
|
133
|
-
`support-attachments/{tenantId}` path. A message accepts up to five image, PDF,
|
|
134
|
-
or text files of 10 MiB each. Only staged keys from that tenant path are
|
|
135
|
-
accepted, each is promoted before the tenant message is persisted, and failed
|
|
136
|
-
writes move promoted files back to staging. Ticket-specific metadata routes
|
|
137
|
-
verify that a key belongs to the requested thread before issuing its read URL.
|
|
138
|
-
|
|
139
94
|
## Registration
|
|
140
95
|
|
|
141
96
|
Public registration is short: an account (name, e-mail, password) and the
|
|
@@ -881,47 +836,6 @@ Register consumers before startup reconciliation; use the existing
|
|
|
881
836
|
tenant inventory and gate for bootstrap/backfill rather than treating `created`
|
|
882
837
|
as a historical inventory API.
|
|
883
838
|
|
|
884
|
-
## Support attachment storage and recovery
|
|
885
|
-
|
|
886
|
-
Configure `supportStorage` with an explicit named file-storage definition. Support
|
|
887
|
-
issues private staged uploads through its tenant-member `/api/saas/support/uploads`
|
|
888
|
-
route and persists the tenant, source key and storage name before returning the
|
|
889
|
-
upload capability. Native `/api/files` routes do not authorize support files.
|
|
890
|
-
Support read routes check ticket/message membership before minting a read URL.
|
|
891
|
-
|
|
892
|
-
Keep every old named storage definition unchanged while its uploads, receipts or
|
|
893
|
-
files remain live. Selecting a new `supportStorage` name affects only new uploads;
|
|
894
|
-
existing receipts retain their original routing. Unknown names fail closed. A name
|
|
895
|
-
does not identify a provider incarnation and cannot detect remapping that same
|
|
896
|
-
name to a different backend. Use isolated nonreused keys and prevent privileged or
|
|
897
|
-
external writers from modifying support objects.
|
|
898
|
-
|
|
899
|
-
The storage adapter must provide write-once uploads and dedicated no-clobber
|
|
900
|
-
`PromoteFile`, with trusted-origin replay and private visibility preservation.
|
|
901
|
-
Promotion moves a staged upload to its canonical key without the staging prefix;
|
|
902
|
-
support never retains an expiring staged key as the published reference. Support
|
|
903
|
-
records positive promotion confirmation before validating final metadata, then
|
|
904
|
-
uses the existing database operation receipt to authorize publication. Published
|
|
905
|
-
prerequisites are the database interface `0.1.6`, the storage interface `0.1.3`,
|
|
906
|
-
and a compatible provider: local `0.1.4` or S3 `0.1.3`, all of which any DMS
|
|
907
|
-
release carrying this module provides. Tests use MongoDB `1.3.1`.
|
|
908
|
-
|
|
909
|
-
Source admissions remain insert-only and permanent. Rejected work cannot publish,
|
|
910
|
-
even if a delayed promotion finishes. Owner-initiated paginated support recovery
|
|
911
|
-
repeats ordinary deletion of owned rejected sources and positively confirmed
|
|
912
|
-
finals. It never promotes rejected work just to establish cleanup ownership and
|
|
913
|
-
never deletes an unconfirmed or foreign final. Uncertain acknowledgements can
|
|
914
|
-
therefore retain private orphans. Recovery is not autonomous garbage collection;
|
|
915
|
-
operators must repeat complete passes, including after delayed uploads finish.
|
|
916
|
-
Already issued signed read URLs remain valid until their normal expiry.
|
|
917
|
-
|
|
918
|
-
Never-submitted upload receipts have no operation to recover. Configure provider
|
|
919
|
-
staging expiry for abandoned bytes; permanent issuance/admission metadata is not
|
|
920
|
-
automatically collected. Upload capabilities and in-flight writes can outlive a
|
|
921
|
-
cleanup pass, so storage expiry/operational cleanup must account for them. Do not
|
|
922
|
-
delete receipts to free a source for another request or garbage-collect a file
|
|
923
|
-
that a committed support message still references.
|
|
924
|
-
|
|
925
839
|
## Upgrading
|
|
926
840
|
|
|
927
841
|
### Rows written by earlier builds
|
package/dist/config/runtime.d.ts
CHANGED
|
@@ -6,6 +6,5 @@ export declare function resolveRegistrationPaymentMethodId(paymentMethodId: stri
|
|
|
6
6
|
export declare function getDefaultPlanSlug(): string | undefined;
|
|
7
7
|
export declare function getUpcomingInvoicePreviewCacheTtlMs(): number;
|
|
8
8
|
export declare function getAllowedRedirectHosts(): string[];
|
|
9
|
-
export declare function getSupportStorage(): string;
|
|
10
9
|
export declare function assertAdmissionOpen(isPlatformOwner?: boolean): void;
|
|
11
10
|
export declare function isAllowedRedirectUrl(rawUrl: string): boolean;
|
package/dist/config/runtime.js
CHANGED
|
@@ -7,7 +7,6 @@ exports.resolveRegistrationPaymentMethodId = resolveRegistrationPaymentMethodId;
|
|
|
7
7
|
exports.getDefaultPlanSlug = getDefaultPlanSlug;
|
|
8
8
|
exports.getUpcomingInvoicePreviewCacheTtlMs = getUpcomingInvoicePreviewCacheTtlMs;
|
|
9
9
|
exports.getAllowedRedirectHosts = getAllowedRedirectHosts;
|
|
10
|
-
exports.getSupportStorage = getSupportStorage;
|
|
11
10
|
exports.assertAdmissionOpen = assertAdmissionOpen;
|
|
12
11
|
exports.isAllowedRedirectUrl = isAllowedRedirectUrl;
|
|
13
12
|
const interface_api_util_1 = require("@antelopejs/interface-api-util");
|
|
@@ -16,7 +15,6 @@ const dev_mode_1 = require("./dev-mode");
|
|
|
16
15
|
const REDIRECT_PROTOCOLS = ["http:", "https:"];
|
|
17
16
|
const LOOPBACK_HOSTNAMES = ["localhost", "127.0.0.1", "::1", "[::1]"];
|
|
18
17
|
const HTTP_BAD_REQUEST = 400;
|
|
19
|
-
const HTTP_UNAVAILABLE = 503;
|
|
20
18
|
const ADMISSION_MODES = ["open", "invitation-only"];
|
|
21
19
|
const DEFAULT_UPCOMING_INVOICE_PREVIEW_CACHE_TTL_SECONDS = 3600;
|
|
22
20
|
const MS_PER_SECOND = 1000;
|
|
@@ -71,11 +69,6 @@ function getUpcomingInvoicePreviewCacheTtlMs() {
|
|
|
71
69
|
function getAllowedRedirectHosts() {
|
|
72
70
|
return runtimeConfig?.allowedRedirectHosts ?? [];
|
|
73
71
|
}
|
|
74
|
-
function getSupportStorage() {
|
|
75
|
-
const storage = runtimeConfig?.supportStorage;
|
|
76
|
-
(0, interface_api_util_1.assert)(typeof storage === "string" && storage.trim().length > 0, HTTP_UNAVAILABLE, "saas.errors.support.storage_unavailable");
|
|
77
|
-
return storage;
|
|
78
|
-
}
|
|
79
72
|
function assertAdmissionOpen(isPlatformOwner = false) {
|
|
80
73
|
const HTTP_FORBIDDEN = 403;
|
|
81
74
|
(0, interface_api_util_1.assert)(isPlatformOwner || runtimeConfig?.admissionMode !== "invitation-only", HTTP_FORBIDDEN, "saas.errors.registration_closed");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../src/config/runtime.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../src/config/runtime.ts"],"names":[],"mappings":";;AAmDA,4CAKC;AAGD,gFAKC;AAGD,wEAMC;AAYD,gFAWC;AAED,gDAEC;AAGD,kFAKC;AAED,0DAEC;AAGD,kDAOC;AAuBD,oDAKC;AAtJD,uEAAwD;AACxD,oCAKkB;AAClB,yCAAuC;AAEvC,MAAM,kBAAkB,GAAG,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC/C,MAAM,kBAAkB,GAAG,CAAC,WAAW,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;AACtE,MAAM,gBAAgB,GAAG,GAAG,CAAC;AAC7B,MAAM,eAAe,GAAG,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;AACpD,MAAM,kDAAkD,GAAG,IAAI,CAAC;AACh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IACjD,MAAM,MAAM,GAAG,gBAAgB,CAAC,MAAM,CAAC,CAAC;IACxC,IAAI,CAAC,MAAM;QAAE,OAAO,KAAK,CAAC;IAC1B,IAAI,IAAA,oBAAS,GAAE,IAAI,aAAa,CAAC,MAAM,CAAC;QAAE,OAAO,IAAI,CAAC;IACtD,OAAO,uBAAuB,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACzD,CAAC"}
|
|
@@ -24,7 +24,6 @@ __exportStar(require("./members"), exports);
|
|
|
24
24
|
__exportStar(require("./plan-migrations"), exports);
|
|
25
25
|
__exportStar(require("./plans"), exports);
|
|
26
26
|
__exportStar(require("./segments"), exports);
|
|
27
|
-
__exportStar(require("./support"), exports);
|
|
28
27
|
__exportStar(require("./users"), exports);
|
|
29
28
|
__exportStar(require("./workspaces"), exports);
|
|
30
29
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data-api/platformOwner/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,0DAAwC;AACxC,iDAA+B;AAC/B,6CAA2B;AAC3B,gDAA8B;AAC9B,6CAA2B;AAC3B,4CAA0B;AAC1B,oDAAkC;AAClC,0CAAwB;AACxB,6CAA2B;AAC3B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data-api/platformOwner/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,0DAAwC;AACxC,iDAA+B;AAC/B,6CAA2B;AAC3B,gDAA8B;AAC9B,6CAA2B;AAC3B,4CAA0B;AAC1B,oDAAkC;AAClC,0CAAwB;AACxB,6CAA2B;AAC3B,0CAAwB;AACxB,+CAA6B"}
|
|
@@ -14,6 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./support"), exports);
|
|
18
17
|
__exportStar(require("./tenant-invoices"), exports);
|
|
19
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data-api/tenant/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data-api/tenant/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"}
|
|
@@ -15,7 +15,5 @@ export declare const platformOwnerAddedSubject: import("@antelopejs/interface-dm
|
|
|
15
15
|
export declare const platformOwnerRemovedSubject: import("@antelopejs/interface-dms/notifications/types").NotificationSubjectInfo;
|
|
16
16
|
export declare const workspaceReactivatedSubject: import("@antelopejs/interface-dms/notifications/types").NotificationSubjectInfo;
|
|
17
17
|
export declare const seatOverageSubject: import("@antelopejs/interface-dms/notifications/types").NotificationSubjectInfo;
|
|
18
|
-
export declare const supportNewMessageSubject: import("@antelopejs/interface-dms/notifications/types").NotificationSubjectInfo;
|
|
19
|
-
export declare const supportStatusChangedSubject: import("@antelopejs/interface-dms/notifications/types").NotificationSubjectInfo;
|
|
20
18
|
export declare const complimentaryAccessGrantedSubject: import("@antelopejs/interface-dms/notifications/types").NotificationSubjectInfo;
|
|
21
19
|
export declare const automationNotificationSubject: import("@antelopejs/interface-dms/notifications/types").NotificationSubjectInfo;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.automationNotificationSubject = exports.complimentaryAccessGrantedSubject = exports.
|
|
3
|
+
exports.automationNotificationSubject = exports.complimentaryAccessGrantedSubject = exports.seatOverageSubject = exports.workspaceReactivatedSubject = exports.platformOwnerRemovedSubject = exports.platformOwnerAddedSubject = exports.refundProcessedSubject = exports.creditNoteIssuedSubject = exports.subscriptionCancelledSubject = exports.freeWorkspaceEndingSoonSubject = exports.freeWorkspaceExpiredSubject = exports.workspaceSuspendedSubject = exports.paymentFailedSubject = exports.trialEndedBlockedSubject = exports.trialEndingSoonSubject = exports.planMigratedSubject = exports.SaasCategory = void 0;
|
|
4
4
|
const notifications_1 = require("@antelopejs/interface-dms/notifications");
|
|
5
5
|
exports.SaasCategory = (0, notifications_1.NotificationCategory)("saas", {
|
|
6
6
|
labelKey: "saas.notifications.category.label",
|
|
@@ -23,8 +23,6 @@ const SUBJECT_KEYS = {
|
|
|
23
23
|
freeWorkspaceEndingSoon: "saas.notifications.subjects.free_workspace_ending_soon",
|
|
24
24
|
workspaceReactivated: "saas.notifications.subjects.workspace_reactivated",
|
|
25
25
|
seatOverage: "saas.notifications.subjects.seat_overage",
|
|
26
|
-
supportNewMessage: "saas.notifications.subjects.support_new_message",
|
|
27
|
-
supportStatusChanged: "saas.notifications.subjects.support_status_changed",
|
|
28
26
|
complimentaryAccessGranted: "saas.notifications.subjects.complimentary_access_granted",
|
|
29
27
|
automation: "saas.notifications.subjects.automation",
|
|
30
28
|
};
|
|
@@ -98,16 +96,6 @@ exports.seatOverageSubject = (0, notifications_1.NotificationSubject)("saas.seat
|
|
|
98
96
|
labelKey: SUBJECT_KEYS.seatOverage,
|
|
99
97
|
togglePermission: "default",
|
|
100
98
|
});
|
|
101
|
-
exports.supportNewMessageSubject = (0, notifications_1.NotificationSubject)("saas.support_new_message", {
|
|
102
|
-
category: exports.SaasCategory,
|
|
103
|
-
labelKey: SUBJECT_KEYS.supportNewMessage,
|
|
104
|
-
togglePermission: "default",
|
|
105
|
-
});
|
|
106
|
-
exports.supportStatusChangedSubject = (0, notifications_1.NotificationSubject)("saas.support_status_changed", {
|
|
107
|
-
category: exports.SaasCategory,
|
|
108
|
-
labelKey: SUBJECT_KEYS.supportStatusChanged,
|
|
109
|
-
togglePermission: "default",
|
|
110
|
-
});
|
|
111
99
|
exports.complimentaryAccessGrantedSubject = (0, notifications_1.NotificationSubject)("saas.complimentary_access_granted", {
|
|
112
100
|
category: exports.SaasCategory,
|
|
113
101
|
labelKey: SUBJECT_KEYS.complimentaryAccessGranted,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subjects.js","sourceRoot":"","sources":["../../src/notifications/subjects.ts"],"names":[],"mappings":";;;AAAA,2EAGiD;AAIpC,QAAA,YAAY,GAAG,IAAA,oCAAoB,EAAC,MAAM,EAAE;IACvD,QAAQ,EAAE,mCAAmC;IAC7C,cAAc,EAAE,yCAAyC;IACzD,IAAI,EAAE,gBAAgB;IACtB,gBAAgB,EAAE,SAAS;CAC5B,CAAC,CAAC;AAEH,MAAM,YAAY,GAAG;IACnB,YAAY,EAAE,2CAA2C;IACzD,eAAe,EAAE,+CAA+C;IAChE,iBAAiB,EAAE,iDAAiD;IACpE,aAAa,EAAE,4CAA4C;IAC3D,kBAAkB,EAAE,iDAAiD;IACrE,qBAAqB,EAAE,oDAAoD;IAC3E,gBAAgB,EAAE,gDAAgD;IAClE,eAAe,EAAE,8CAA8C;IAC/D,kBAAkB,EAAE,kDAAkD;IACtE,oBAAoB,EAAE,oDAAoD;IAC1E,oBAAoB,EAAE,oDAAoD;IAC1E,uBAAuB,EACrB,wDAAwD;IAC1D,oBAAoB,EAAE,mDAAmD;IACzE,WAAW,EAAE,0CAA0C;IACvD,
|
|
1
|
+
{"version":3,"file":"subjects.js","sourceRoot":"","sources":["../../src/notifications/subjects.ts"],"names":[],"mappings":";;;AAAA,2EAGiD;AAIpC,QAAA,YAAY,GAAG,IAAA,oCAAoB,EAAC,MAAM,EAAE;IACvD,QAAQ,EAAE,mCAAmC;IAC7C,cAAc,EAAE,yCAAyC;IACzD,IAAI,EAAE,gBAAgB;IACtB,gBAAgB,EAAE,SAAS;CAC5B,CAAC,CAAC;AAEH,MAAM,YAAY,GAAG;IACnB,YA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AoB;IAC3C,gBAAgB,EAAE,SAAS;CAC5B,CACF,CAAC;AACW,QAAA,2BAA2B,GAAG,IAAA,mCAAmB,EAC5D,4BAA4B,EAC5B;IACE,QAAQ,EAAE,oBAAY;IACtB,QAAQ,EAAE,YAAY,CAAC,oBAAoB;IAC3C,gBAAgB,EAAE,SAAS;CAC5B,CACF,CAAC;AACW,QAAA,kBAAkB,GAAG,IAAA,mCAAmB,EAAC,mBAAmB,EAAE;IACzE,QAAQ,EAAE,oBAAY;IACtB,QAAQ,EAAE,YAAY,CAAC,WAAW;IAClC,gBAAgB,EAAE,SAAS;CAC5B,CAAC,CAAC;AACU,QAAA,iCAAiC,GAAG,IAAA,mCAAmB,EAClE,mCAAmC,EACnC;IACE,QAAQ,EAAE,oBAAY;IACtB,QAAQ,EAAE,YAAY,CAAC,0BAA0B;IACjD,gBAAgB,EAAE,SAAS;CAC5B,CACF,CAAC;AACW,QAAA,6BAA6B,GAAG,IAAA,mCAAmB,EAC9D,iBAAiB,EACjB;IACE,QAAQ,EAAE,oBAAY;IACtB,QAAQ,EAAE,YAAY,CAAC,UAAU;IACjC,gBAAgB,EAAE,SAAS;CAC5B,CACF,CAAC"}
|
|
@@ -3,4 +3,3 @@ export declare const customersCategory: import("@antelopejs/interface-dms").Cate
|
|
|
3
3
|
export declare const catalogCategory: import("@antelopejs/interface-dms").CategoryInfo;
|
|
4
4
|
export declare const billingCategory: import("@antelopejs/interface-dms").CategoryInfo;
|
|
5
5
|
export declare const configurationCategory: import("@antelopejs/interface-dms").CategoryInfo;
|
|
6
|
-
export declare const supportCategory: import("@antelopejs/interface-dms").CategoryInfo;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.configurationCategory = exports.billingCategory = exports.catalogCategory = exports.customersCategory = exports.overviewCategory = void 0;
|
|
4
4
|
const page_1 = require("@antelopejs/interface-dms/page");
|
|
5
5
|
const module_1 = require("../module");
|
|
6
6
|
exports.overviewCategory = (0, page_1.Category)("overview", {
|
|
@@ -38,11 +38,4 @@ exports.configurationCategory = (0, page_1.Category)("configuration", {
|
|
|
38
38
|
type: "label",
|
|
39
39
|
order: 40,
|
|
40
40
|
});
|
|
41
|
-
exports.supportCategory = (0, page_1.Category)("support", {
|
|
42
|
-
displayName: "$saas.menu.support",
|
|
43
|
-
category: module_1.saasModule,
|
|
44
|
-
icon: "i-ph-lifebuoy",
|
|
45
|
-
type: "label",
|
|
46
|
-
order: 35,
|
|
47
|
-
});
|
|
48
41
|
//# sourceMappingURL=categories.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"categories.js","sourceRoot":"","sources":["../../../src/pages/platform/categories.ts"],"names":[],"mappings":";;;AAAA,yDAA0D;AAC1D,sCAAuC;AAE1B,QAAA,gBAAgB,GAAG,IAAA,eAAQ,EAAC,UAAU,EAAE;IACnD,WAAW,EAAE,qBAAqB;IAClC,QAAQ,EAAE,mBAAU;IACpB,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,CAAC;CACT,CAAC,CAAC;AAEU,QAAA,iBAAiB,GAAG,IAAA,eAAQ,EAAC,WAAW,EAAE;IACrD,WAAW,EAAE,sBAAsB;IACnC,QAAQ,EAAE,mBAAU;IACpB,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,EAAE;CACV,CAAC,CAAC;AAEU,QAAA,eAAe,GAAG,IAAA,eAAQ,EAAC,SAAS,EAAE;IACjD,WAAW,EAAE,oBAAoB;IACjC,QAAQ,EAAE,mBAAU;IACpB,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,EAAE;CACV,CAAC,CAAC;AAEU,QAAA,eAAe,GAAG,IAAA,eAAQ,EAAC,SAAS,EAAE;IACjD,WAAW,EAAE,oBAAoB;IACjC,QAAQ,EAAE,mBA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AQ,EAAC,eAAe,EAAE;IAC7D,WAAW,EAAE,0BAA0B;IACvC,QAAQ,EAAE,mBAAU;IACpB,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,EAAE;CACV,CAAC,CAAC"}
|
|
@@ -24,7 +24,6 @@ __exportStar(require("./plans/edit"), exports);
|
|
|
24
24
|
__exportStar(require("./plans/migrations"), exports);
|
|
25
25
|
__exportStar(require("./segments"), exports);
|
|
26
26
|
__exportStar(require("./settings"), exports);
|
|
27
|
-
__exportStar(require("./support"), exports);
|
|
28
27
|
__exportStar(require("./users"), exports);
|
|
29
28
|
__exportStar(require("./users/detail"), exports);
|
|
30
29
|
__exportStar(require("./workspaces"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/pages/platform/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,iDAA+B;AAC/B,8CAA4B;AAC5B,6CAA2B;AAC3B,6CAA2B;AAC3B,0CAAwB;AACxB,+CAA6B;AAC7B,qDAAmC;AACnC,6CAA2B;AAC3B,6CAA2B;AAC3B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/pages/platform/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,iDAA+B;AAC/B,8CAA4B;AAC5B,6CAA2B;AAC3B,6CAA2B;AAC3B,0CAAwB;AACxB,+CAA6B;AAC7B,qDAAmC;AACnC,6CAA2B;AAC3B,6CAA2B;AAC3B,0CAAwB;AACxB,iDAA+B;AAC/B,+CAA6B;AAC7B,sDAAoC"}
|
|
@@ -18,6 +18,5 @@ __exportStar(require("./billing"), exports);
|
|
|
18
18
|
__exportStar(require("./data-export"), exports);
|
|
19
19
|
__exportStar(require("./general"), exports);
|
|
20
20
|
__exportStar(require("./members-seat-quota"), exports);
|
|
21
|
-
__exportStar(require("./support"), exports);
|
|
22
21
|
__exportStar(require("./workspace-suspended"), exports);
|
|
23
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/pages/tenant/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,gDAA8B;AAC9B,4CAA0B;AAC1B,uDAAqC;AACrC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/pages/tenant/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,gDAA8B;AAC9B,4CAA0B;AAC1B,uDAAqC;AACrC,wDAAsC"}
|
|
@@ -6,7 +6,6 @@ export * from "./plans";
|
|
|
6
6
|
export * from "./platform-notes";
|
|
7
7
|
export * from "./platform-owners";
|
|
8
8
|
export * from "./segments";
|
|
9
|
-
export * from "./support";
|
|
10
9
|
export * from "./users-detail";
|
|
11
10
|
export * from "./workspace-invitations";
|
|
12
11
|
export * from "./workspace-operator-actions";
|
|
@@ -22,7 +22,6 @@ __exportStar(require("./plans"), exports);
|
|
|
22
22
|
__exportStar(require("./platform-notes"), exports);
|
|
23
23
|
__exportStar(require("./platform-owners"), exports);
|
|
24
24
|
__exportStar(require("./segments"), exports);
|
|
25
|
-
__exportStar(require("./support"), exports);
|
|
26
25
|
__exportStar(require("./users-detail"), exports);
|
|
27
26
|
__exportStar(require("./workspace-invitations"), exports);
|
|
28
27
|
__exportStar(require("./workspace-operator-actions"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/routes/platformOwner/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,uDAAqC;AACrC,8CAA4B;AAC5B,kDAAgC;AAChC,0CAAwB;AACxB,mDAAiC;AACjC,oDAAkC;AAClC,6CAA2B;AAC3B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/routes/platformOwner/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,uDAAqC;AACrC,8CAA4B;AAC5B,kDAAgC;AAChC,0CAAwB;AACxB,mDAAiC;AACjC,oDAAkC;AAClC,6CAA2B;AAC3B,iDAA+B;AAC/B,0DAAwC;AACxC,+DAA6C;AAC7C,qDAAmC"}
|
|
@@ -17,7 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./billing-portal"), exports);
|
|
18
18
|
__exportStar(require("./billing-self-refund"), exports);
|
|
19
19
|
__exportStar(require("./data-export"), exports);
|
|
20
|
-
__exportStar(require("./support"), exports);
|
|
21
20
|
__exportStar(require("./tenant-billing"), exports);
|
|
22
21
|
__exportStar(require("./tenant-plan"), exports);
|
|
23
22
|
__exportStar(require("./tenant-plan-ops"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/routes/tenant/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,wDAAsC;AACtC,gDAA8B;AAC9B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/routes/tenant/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,wDAAsC;AACtC,gDAA8B;AAC9B,mDAAiC;AACjC,gDAA8B;AAC9B,oDAAkC;AAClC,iDAA+B;AAC/B,+CAA6B"}
|
package/dist/types/config.d.ts
CHANGED
|
@@ -17,7 +17,6 @@ export interface DmsSaasConfig {
|
|
|
17
17
|
stripe: DmsSaasStripeConfig;
|
|
18
18
|
admissionMode?: "open" | "invitation-only";
|
|
19
19
|
registration?: DmsSaasRegistrationConfig;
|
|
20
|
-
supportStorage?: string;
|
|
21
20
|
publicScreens?: DmsSaasPublicScreensConfig;
|
|
22
21
|
allowedRedirectHosts?: string[];
|
|
23
22
|
defaultPlanSlug?: string;
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
"customers": "Customers",
|
|
18
18
|
"catalog": "Catalogue",
|
|
19
19
|
"billing": "Billing",
|
|
20
|
-
"support": "Support",
|
|
21
20
|
"configuration": "Configuration"
|
|
22
21
|
},
|
|
23
22
|
"errors": {
|
|
@@ -112,35 +111,6 @@
|
|
|
112
111
|
"webhook": {
|
|
113
112
|
"invalid_signature": "Invalid webhook signature"
|
|
114
113
|
},
|
|
115
|
-
"support": {
|
|
116
|
-
"priority_not_available": "This priority is not included in your plan",
|
|
117
|
-
"invalid_message": "Enter a message of up to 10,000 characters",
|
|
118
|
-
"too_many_attachments": "A message can contain up to 5 attachments",
|
|
119
|
-
"invalid_attachments": "The attachments are invalid",
|
|
120
|
-
"invalid_attachment": "The attachment is invalid",
|
|
121
|
-
"invalid_subject": "Enter a subject of up to 200 characters",
|
|
122
|
-
"invalid_category": "Select a valid category",
|
|
123
|
-
"invalid_priority": "Select a valid priority",
|
|
124
|
-
"invalid_status": "Select a valid status",
|
|
125
|
-
"invalid_pagination": "Use positive whole numbers for page and page size",
|
|
126
|
-
"invalid_status_transition": "This ticket status transition is not allowed",
|
|
127
|
-
"closed_ticket_reply": "Reopen the closed ticket before replying",
|
|
128
|
-
"invalid_assignee": "Assign the ticket to a platform owner",
|
|
129
|
-
"platform_attachments_not_available": "Platform replies cannot add attachments",
|
|
130
|
-
"tenant_busy": "Another support update is in progress. Try again.",
|
|
131
|
-
"invalid_request_id": "A stable support request ID is required",
|
|
132
|
-
"request_reused": "This request ID belongs to different content. Retry the original request.",
|
|
133
|
-
"operation_pending": "This support request is pending. Retry with the same content.",
|
|
134
|
-
"operation_unknown": "The support result is not yet confirmed. Retry with the same content.",
|
|
135
|
-
"projection_pending": "The support history is being recovered. Retry shortly.",
|
|
136
|
-
"attachment_pending": "Attachment admission is pending. Retry the same request.",
|
|
137
|
-
"attachment_already_admitted": "This upload already belongs to another request. Upload the file again.",
|
|
138
|
-
"storage_unavailable": "Support uploads are not configured. Contact the platform administrator.",
|
|
139
|
-
"invalid_cursor": "Invalid support recovery cursor",
|
|
140
|
-
"ticket_not_found": "Support ticket not found",
|
|
141
|
-
"message_not_found": "Support message not found",
|
|
142
|
-
"attachment_not_found": "Attachment not found"
|
|
143
|
-
},
|
|
144
114
|
"platform_notes": {
|
|
145
115
|
"invalid_target": "Invalid target type",
|
|
146
116
|
"target_not_found": "Target not found",
|
|
@@ -1231,101 +1201,6 @@
|
|
|
1231
1201
|
"delete": "Unable to delete the note"
|
|
1232
1202
|
}
|
|
1233
1203
|
},
|
|
1234
|
-
"support": {
|
|
1235
|
-
"tenant": {
|
|
1236
|
-
"title": "Support",
|
|
1237
|
-
"description": "Open and follow support requests for this workspace",
|
|
1238
|
-
"new": "New ticket",
|
|
1239
|
-
"create": "Open ticket",
|
|
1240
|
-
"created": "Support ticket opened",
|
|
1241
|
-
"empty": "No support tickets yet",
|
|
1242
|
-
"select": "Select a ticket to read its conversation"
|
|
1243
|
-
},
|
|
1244
|
-
"platform": {
|
|
1245
|
-
"title": "Support inbox",
|
|
1246
|
-
"description": "Handle support requests across all workspaces",
|
|
1247
|
-
"empty": "No tickets match these filters",
|
|
1248
|
-
"select": "Select a ticket from the inbox",
|
|
1249
|
-
"assignee": "Assignee",
|
|
1250
|
-
"unassigned": "Unassigned"
|
|
1251
|
-
},
|
|
1252
|
-
"subject": "Subject",
|
|
1253
|
-
"message": "Message",
|
|
1254
|
-
"attachments": "Attachments",
|
|
1255
|
-
"attachment": "Attachment {number}",
|
|
1256
|
-
"remove_attachment": "Remove attachment",
|
|
1257
|
-
"reply_placeholder": "Write a reply…",
|
|
1258
|
-
"send": "Send reply",
|
|
1259
|
-
"conversation": "Conversation",
|
|
1260
|
-
"pagination": {
|
|
1261
|
-
"latest_page": "Latest messages",
|
|
1262
|
-
"older_messages": "Choose a later page for older messages"
|
|
1263
|
-
},
|
|
1264
|
-
"history": {
|
|
1265
|
-
"title": "Ticket history",
|
|
1266
|
-
"empty": "No ticket changes yet",
|
|
1267
|
-
"status_changed": "{actor} changed the status from {previous} to {next}",
|
|
1268
|
-
"assignment_changed": "{actor} changed the assignee from {previous} to {next}"
|
|
1269
|
-
},
|
|
1270
|
-
"category": {
|
|
1271
|
-
"label": "Category",
|
|
1272
|
-
"question": "Question",
|
|
1273
|
-
"incident": "Incident",
|
|
1274
|
-
"billing": "Billing",
|
|
1275
|
-
"feature_request": "Feature request"
|
|
1276
|
-
},
|
|
1277
|
-
"priority": {
|
|
1278
|
-
"label": "Priority",
|
|
1279
|
-
"low": "Low",
|
|
1280
|
-
"normal": "Normal",
|
|
1281
|
-
"high": "High",
|
|
1282
|
-
"urgent": "Urgent"
|
|
1283
|
-
},
|
|
1284
|
-
"status": {
|
|
1285
|
-
"open": "Open",
|
|
1286
|
-
"in_progress": "In progress",
|
|
1287
|
-
"waiting_customer": "Waiting for customer",
|
|
1288
|
-
"resolved": "Resolved",
|
|
1289
|
-
"closed": "Closed"
|
|
1290
|
-
},
|
|
1291
|
-
"author": {
|
|
1292
|
-
"tenant": "Workspace",
|
|
1293
|
-
"platform": "Support team"
|
|
1294
|
-
},
|
|
1295
|
-
"filters": {
|
|
1296
|
-
"status": "Status",
|
|
1297
|
-
"priority": "Priority",
|
|
1298
|
-
"all_statuses": "All statuses",
|
|
1299
|
-
"all_priorities": "All priorities",
|
|
1300
|
-
"apply": "Apply filters"
|
|
1301
|
-
},
|
|
1302
|
-
"sla": {
|
|
1303
|
-
"community": {
|
|
1304
|
-
"title": "Community support",
|
|
1305
|
-
"description": "Community assistance without a guaranteed response time."
|
|
1306
|
-
},
|
|
1307
|
-
"email": {
|
|
1308
|
-
"title": "Email support",
|
|
1309
|
-
"description": "Target first response within 2 business days."
|
|
1310
|
-
},
|
|
1311
|
-
"priority": {
|
|
1312
|
-
"title": "Priority support",
|
|
1313
|
-
"description": "Target first response within 8 business hours."
|
|
1314
|
-
},
|
|
1315
|
-
"dedicated": {
|
|
1316
|
-
"title": "Dedicated support",
|
|
1317
|
-
"description": "Target first response within 2 hours."
|
|
1318
|
-
}
|
|
1319
|
-
},
|
|
1320
|
-
"error": {
|
|
1321
|
-
"load": "Could not load support",
|
|
1322
|
-
"create": "Could not open the ticket",
|
|
1323
|
-
"reply": "Could not send the reply",
|
|
1324
|
-
"update": "Could not update the ticket",
|
|
1325
|
-
"upload": "Could not upload the attachment. Select the file to try again.",
|
|
1326
|
-
"attachment": "Could not open the attachment"
|
|
1327
|
-
}
|
|
1328
|
-
},
|
|
1329
1204
|
"notifications": {
|
|
1330
1205
|
"subjects": {
|
|
1331
1206
|
"plan_migrated": "Plan migrated",
|
|
@@ -1343,9 +1218,7 @@
|
|
|
1343
1218
|
"workspace_reactivated": "Workspace reactivated",
|
|
1344
1219
|
"complimentary_access_granted": "Complimentary access granted",
|
|
1345
1220
|
"automation": "Automation",
|
|
1346
|
-
"seat_overage": "Plan seat overage"
|
|
1347
|
-
"support_new_message": "New support message",
|
|
1348
|
-
"support_status_changed": "Support ticket status changed"
|
|
1221
|
+
"seat_overage": "Plan seat overage"
|
|
1349
1222
|
},
|
|
1350
1223
|
"payload": {
|
|
1351
1224
|
"workspace_suspended_admin": {
|
|
@@ -1367,20 +1240,6 @@
|
|
|
1367
1240
|
"workspace_deletion_requested": {
|
|
1368
1241
|
"title": "Workspace deletion requested",
|
|
1369
1242
|
"description": "Access is revoked and data will be destroyed at the end of the retention period."
|
|
1370
|
-
},
|
|
1371
|
-
"support_new_ticket": {
|
|
1372
|
-
"title": "New support ticket"
|
|
1373
|
-
},
|
|
1374
|
-
"support_tenant_reply": {
|
|
1375
|
-
"title": "New customer reply",
|
|
1376
|
-
"description": "A customer added a message to a support ticket."
|
|
1377
|
-
},
|
|
1378
|
-
"support_platform_reply": {
|
|
1379
|
-
"title": "Support replied to your ticket",
|
|
1380
|
-
"description": "The support team added a message to your ticket."
|
|
1381
|
-
},
|
|
1382
|
-
"support_status_changed": {
|
|
1383
|
-
"title": "Your support ticket status changed"
|
|
1384
1243
|
}
|
|
1385
1244
|
},
|
|
1386
1245
|
"category": {
|