You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/richpanel/actions/create-ticket/create-ticket.mjs
+118-5Lines changed: 118 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -24,12 +24,28 @@ export default {
24
24
"status",
25
25
],
26
26
},
27
+
subject: {
28
+
type: "string",
29
+
label: "Subject",
30
+
description: "The subject of the ticket.",
31
+
optional: true,
32
+
},
27
33
commentBody: {
28
34
propDefinition: [
29
35
richpanel,
30
36
"commentBody",
31
37
],
32
38
},
39
+
priority: {
40
+
type: "string",
41
+
label: "Priority",
42
+
description: "The priority of the ticket.",
43
+
options: [
44
+
"HIGH",
45
+
"LOW",
46
+
],
47
+
optional: true,
48
+
},
33
49
commentSenderType: {
34
50
propDefinition: [
35
51
richpanel,
@@ -39,18 +55,57 @@ export default {
39
55
viaChannel: {
40
56
type: "string",
41
57
label: "Via Channel",
42
-
description: "The channel via which the ticket is created",
58
+
description: "The channel via which the ticket is created.",
59
+
reloadProps: true,
43
60
options: VIA_CHANNEL_OPTIONS,
44
61
},
62
+
viaSourceFromAddress: {
63
+
type: "string",
64
+
label: "Via Source From Address",
65
+
description: "The email address of the source from.",
66
+
hidden: true,
67
+
},
68
+
viaSourceFromName: {
69
+
type: "string",
70
+
label: "Via Source From Name",
71
+
description: "The name of the source from.",
72
+
hidden: true,
73
+
},
74
+
viaSourceToAddress: {
75
+
type: "string",
76
+
label: "Via Source To Address",
77
+
description: "The email address of the source to.",
78
+
hidden: true,
79
+
},
80
+
viaSourceToName: {
81
+
type: "string",
82
+
label: "Via Source To Name",
83
+
description: "The name of the source to.",
84
+
hidden: true,
85
+
},
86
+
viaSourceFromNumber: {
87
+
type: "string",
88
+
label: "Via Source From Number",
89
+
description: "The phone number of the source from.",
90
+
hidden: true,
91
+
},
92
+
viaSourceToNumber: {
93
+
type: "string",
94
+
label: "Via Source To Number",
95
+
description: "The phone number of the source to.",
96
+
hidden: true,
97
+
},
45
98
viaSourceFrom: {
46
99
type: "object",
47
100
label: "Via Source From",
48
101
description: "The object source from which the ticket was created. **Examples: {\"address\": \"[email protected]\"} or {\"id\": \"+16692668044\"}. It depends on the selected channel**.",
102
+
hidden: true,
49
103
},
50
104
viaSourceTo: {
51
105
type: "object",
52
106
label: "Via Source To",
53
107
description: "The object source to which the ticket was created. **Examples: {\"address\": \"[email protected]\"} or {\"id\": \"+16692668044\"}. It depends on the selected channel**.",
0 commit comments