@dxv-systems/helpdesk 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +273 -279
- package/dist/bounce.d.ts +6 -0
- package/dist/bounce.js +38 -0
- package/dist/controls.js +1 -6
- package/dist/draft-body.d.ts +0 -1
- package/dist/draft-body.js +0 -14
- package/dist/drafting.d.ts +1 -2
- package/dist/drafting.js +12 -80
- package/dist/errors.d.ts +0 -3
- package/dist/errors.js +1 -7
- package/dist/inbox/handlers.js +23 -35
- package/dist/inbox/messages.d.ts +4 -5
- package/dist/inbox/messages.js +23 -14
- package/dist/inbox/types.d.ts +10 -2
- package/dist/index.d.ts +2 -3
- package/dist/index.js +1 -6
- package/dist/react.d.ts +42 -2
- package/dist/react.js +239 -94
- package/dist/sending.d.ts +2 -1
- package/dist/sending.js +35 -58
- package/dist/states.d.ts +1 -1
- package/dist/states.js +1 -2
- package/dist/testing/index.d.ts +0 -2
- package/dist/testing/index.js +1 -18
- package/dist/types.d.ts +2 -8
- package/package.json +73 -73
- package/dist/autosend.d.ts +0 -43
- package/dist/autosend.js +0 -83
- package/dist/cleanup.d.ts +0 -7
- package/dist/cleanup.js +0 -39
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ 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
|
-
exports.
|
|
17
|
+
exports.startReplyUpload = exports.removeReplyAttachment = exports.pendingReplyAttachments = exports.addReplyAttachment = exports.MAX_REPLY_ATTACHMENTS = exports.MAX_REPLY_ATTACHMENT_BYTES = exports.classifySendError = exports.dismissThread = exports.closeThread = exports.markWaiting = exports.markRepliedExternally = exports.resolveUnknownSend = exports.reconcileUnknownSends = exports.approveAndSend = exports.findQuoteStart = exports.hasQuotedHistory = exports.prependToDraftBody = exports.renderCommentHtml = exports.unignoreThread = exports.sweepStuckDrafts = exports.editDraft = exports.regenerateDraft = exports.completeDraft = exports.ensureDraft = exports.SYNC_FAILING_AFTER = exports.syncMailbox = exports.isSyncFailing = exports.ingestPage = exports.connectMailbox = exports.normalizeMessageId = exports.matchThread = exports.classifyNoise = exports.isForwardSubject = exports.normalizeSubject = exports.writeModeFor = exports.isPaused = exports.DEFAULT_WRITE_MODE = void 0;
|
|
18
18
|
__exportStar(require("./types"), exports);
|
|
19
19
|
__exportStar(require("./errors"), exports);
|
|
20
20
|
__exportStar(require("./states"), exports);
|
|
@@ -41,12 +41,10 @@ Object.defineProperty(exports, "ensureDraft", { enumerable: true, get: function
|
|
|
41
41
|
Object.defineProperty(exports, "completeDraft", { enumerable: true, get: function () { return drafting_1.completeDraft; } });
|
|
42
42
|
Object.defineProperty(exports, "regenerateDraft", { enumerable: true, get: function () { return drafting_1.regenerateDraft; } });
|
|
43
43
|
Object.defineProperty(exports, "editDraft", { enumerable: true, get: function () { return drafting_1.editDraft; } });
|
|
44
|
-
Object.defineProperty(exports, "retryPlacement", { enumerable: true, get: function () { return drafting_1.retryPlacement; } });
|
|
45
44
|
Object.defineProperty(exports, "sweepStuckDrafts", { enumerable: true, get: function () { return drafting_1.sweepStuckDrafts; } });
|
|
46
45
|
Object.defineProperty(exports, "unignoreThread", { enumerable: true, get: function () { return drafting_1.unignoreThread; } });
|
|
47
46
|
var draft_body_1 = require("./draft-body");
|
|
48
47
|
Object.defineProperty(exports, "renderCommentHtml", { enumerable: true, get: function () { return draft_body_1.renderCommentHtml; } });
|
|
49
|
-
Object.defineProperty(exports, "replaceDraftComment", { enumerable: true, get: function () { return draft_body_1.replaceDraftComment; } });
|
|
50
48
|
Object.defineProperty(exports, "prependToDraftBody", { enumerable: true, get: function () { return draft_body_1.prependToDraftBody; } });
|
|
51
49
|
Object.defineProperty(exports, "hasQuotedHistory", { enumerable: true, get: function () { return draft_body_1.hasQuotedHistory; } });
|
|
52
50
|
Object.defineProperty(exports, "findQuoteStart", { enumerable: true, get: function () { return draft_body_1.findQuoteStart; } });
|
|
@@ -66,6 +64,3 @@ Object.defineProperty(exports, "addReplyAttachment", { enumerable: true, get: fu
|
|
|
66
64
|
Object.defineProperty(exports, "pendingReplyAttachments", { enumerable: true, get: function () { return reply_attachments_1.pendingReplyAttachments; } });
|
|
67
65
|
Object.defineProperty(exports, "removeReplyAttachment", { enumerable: true, get: function () { return reply_attachments_1.removeReplyAttachment; } });
|
|
68
66
|
Object.defineProperty(exports, "startReplyUpload", { enumerable: true, get: function () { return reply_attachments_1.startReplyUpload; } });
|
|
69
|
-
var autosend_1 = require("./autosend");
|
|
70
|
-
Object.defineProperty(exports, "evaluateAutoSend", { enumerable: true, get: function () { return autosend_1.evaluateAutoSend; } });
|
|
71
|
-
Object.defineProperty(exports, "DEFAULT_AUTO_SEND_POLICY", { enumerable: true, get: function () { return autosend_1.DEFAULT_AUTO_SEND_POLICY; } });
|
package/dist/react.d.ts
CHANGED
|
@@ -10,27 +10,67 @@ export interface HelpdeskInboxClassNames {
|
|
|
10
10
|
title: string;
|
|
11
11
|
filters: string;
|
|
12
12
|
field: string;
|
|
13
|
+
fieldWide: string;
|
|
13
14
|
label: string;
|
|
15
|
+
selectWrap: string;
|
|
14
16
|
select: string;
|
|
17
|
+
selectIcon: string;
|
|
15
18
|
list: string;
|
|
16
19
|
listItem: string;
|
|
17
20
|
listItemCurrent: string;
|
|
21
|
+
listItemTop: string;
|
|
18
22
|
listItemTitle: string;
|
|
23
|
+
listItemTime: string;
|
|
19
24
|
listItemMeta: string;
|
|
20
25
|
card: string;
|
|
26
|
+
header: string;
|
|
27
|
+
headerTop: string;
|
|
28
|
+
headerActions: string;
|
|
21
29
|
heading: string;
|
|
22
30
|
subheading: string;
|
|
23
31
|
text: string;
|
|
24
32
|
muted: string;
|
|
25
33
|
meta: string;
|
|
26
|
-
badges: string;
|
|
27
34
|
badge: string;
|
|
28
35
|
badgeAttention: string;
|
|
29
36
|
badgeDone: string;
|
|
30
|
-
|
|
37
|
+
badgeError: string;
|
|
38
|
+
reasonNote: string;
|
|
39
|
+
toolButton: string;
|
|
40
|
+
assignedChip: string;
|
|
41
|
+
iconButton: string;
|
|
42
|
+
menu: string;
|
|
43
|
+
menuItem: string;
|
|
44
|
+
backLink: string;
|
|
45
|
+
conversation: string;
|
|
46
|
+
entry: string;
|
|
47
|
+
entryOurs: string;
|
|
48
|
+
avatar: string;
|
|
49
|
+
avatarOurs: string;
|
|
50
|
+
avatarEvent: string;
|
|
31
51
|
message: string;
|
|
52
|
+
messageOurs: string;
|
|
53
|
+
messageEvent: string;
|
|
32
54
|
messageHeader: string;
|
|
33
55
|
messageBody: string;
|
|
56
|
+
emptyBody: string;
|
|
57
|
+
eventTitle: string;
|
|
58
|
+
details: string;
|
|
59
|
+
detailsPre: string;
|
|
60
|
+
fileChips: string;
|
|
61
|
+
fileChip: string;
|
|
62
|
+
fileChipName: string;
|
|
63
|
+
fileChipMeta: string;
|
|
64
|
+
sentNote: string;
|
|
65
|
+
composer: string;
|
|
66
|
+
composerHeader: string;
|
|
67
|
+
aiChip: string;
|
|
68
|
+
composerFooter: string;
|
|
69
|
+
replyChip: string;
|
|
70
|
+
chipRemove: string;
|
|
71
|
+
dashedButton: string;
|
|
72
|
+
srOnly: string;
|
|
73
|
+
icon: string;
|
|
34
74
|
textarea: string;
|
|
35
75
|
actions: string;
|
|
36
76
|
primaryButton: string;
|