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
description: "The channel via which the ticket is created",
43
+
options: VIA_CHANNEL_OPTIONS,
43
44
},
44
45
viaSourceFrom: {
45
-
propDefinition: [
46
-
richpanel,
47
-
"viaSourceFrom",
48
-
],
46
+
type: "object",
47
+
label: "Via Source From",
48
+
description: "The object source from which the ticket was created. **Examples: {\"address\": \"[email protected]\"} or {\"id\": \"+16692668044\"}. It depends on the selected channel**.",
49
49
},
50
50
viaSourceTo: {
51
-
propDefinition: [
52
-
richpanel,
53
-
"viaSourceTo",
54
-
],
55
-
optional: true,
51
+
type: "object",
52
+
label: "Via Source To",
53
+
description: "The object source to which the ticket was created. **Examples: {\"address\": \"[email protected]\"} or {\"id\": \"+16692668044\"}. It depends on the selected channel**.",
Copy file name to clipboardExpand all lines: components/richpanel/actions/update-ticket-status/update-ticket-status.mjs
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ export default {
4
4
key: "richpanel-update-ticket-status",
5
5
name: "Update Ticket Status",
6
6
description: "Updates the status of an existing ticket in Richpanel. [See the documentation](https://developer.richpanel.com/reference/update-a-conversation).",
@@ -2,7 +2,6 @@ import { axios } from "@pipedream/platform";
2
2
import{
3
3
COMMENT_SENDER_TYPE_OPTIONS,
4
4
STATUS_OPTIONS,
5
-
VIA_CHANNEL_OPTIONS,
6
5
}from"./common/constants.mjs";
7
6
8
7
exportdefault{
@@ -17,7 +16,7 @@ export default {
17
16
status: {
18
17
type: "string",
19
18
label: "Status",
20
-
description: "The status of the new ticket",
19
+
description: "The status of the ticket",
21
20
options: STATUS_OPTIONS,
22
21
},
23
22
commentBody: {
@@ -31,22 +30,6 @@ export default {
31
30
description: "The sender type of the comment",
32
31
options: COMMENT_SENDER_TYPE_OPTIONS,
33
32
},
34
-
viaChannel: {
35
-
type: "string",
36
-
label: "Via Channel",
37
-
description: "The channel via which the ticket is created",
38
-
options: VIA_CHANNEL_OPTIONS,
39
-
},
40
-
viaSourceFrom: {
41
-
type: "object",
42
-
label: "Via Source From",
43
-
description: "The object source from which the ticket was created. **Examples: {\"address\": \"[email protected]\"} or {\"id\": \"+16692668044\"}. It depends on the selected channel**.",
44
-
},
45
-
viaSourceTo: {
46
-
type: "object",
47
-
label: "Via Source To",
48
-
description: "The object source to which the ticket was created. **Examples: {\"address\": \"[email protected]\"} or {\"id\": \"+16692668044\"}. It depends on the selected channel**.",
49
-
},
50
33
tags: {
51
34
type: "string[]",
52
35
label: "Tags",
@@ -62,137 +45,12 @@ export default {
62
45
}));
63
46
},
64
47
},
65
-
66
-
eventFilterStatus: {
67
-
type: "string[]",
68
-
label: "Filter by Status",
69
-
description: "Filter emitted events by ticket status",
70
-
options: [
71
-
{
72
-
label: "Open",
73
-
value: "OPEN",
74
-
},
75
-
{
76
-
label: "Closed",
77
-
value: "CLOSED",
78
-
},
79
-
{
80
-
label: "Snoozed",
81
-
value: "SNOOZED",
82
-
},
83
-
],
84
-
},
85
-
eventFilterPriority: {
86
-
type: "string[]",
87
-
label: "Filter by Priority",
88
-
description: "Filter emitted events by ticket priority",
89
-
options: [
90
-
{
91
-
label: "Low",
92
-
value: "LOW",
93
-
},
94
-
{
95
-
label: "Medium",
96
-
value: "MEDIUM",
97
-
},
98
-
{
99
-
label: "High",
100
-
value: "HIGH",
101
-
},
102
-
],
103
-
},
104
-
eventFilterAssignedAgent: {
105
-
type: "string[]",
106
-
label: "Filter by Assigned Agent",
107
-
description: "Filter emitted events by assigned agent",
0 commit comments