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/gong/actions/get-extensive-data/get-extensive-data.mjs
+112-2Lines changed: 112 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,8 @@ import { ConfigurationError } from "@pipedream/platform";
5
5
exportdefault{
6
6
key: "gong-get-extensive-data",
7
7
name: "Get Extensive Data",
8
-
description: "Lists detailed call data. [See the documentation](https://us-66463.app.gong.io/settings/api/documentation#post-/v2/calls/extensive)",
9
-
version: "0.0.1",
8
+
description: "Lists detailed call data. [See the documentation](https://gong.app.gong.io/settings/api/documentation#post-/v2/calls/extensive)",
9
+
version: "0.0.2",
10
10
type: "action",
11
11
props: {
12
12
app,
@@ -54,6 +54,76 @@ export default {
54
54
default: constants.DEFAULT_MAX,
55
55
optional: true,
56
56
},
57
+
context: {
58
+
type: "string",
59
+
label: "Context",
60
+
description: "Allowed: None, Basic, Extended. If 'Basic', add links to external systems (context objects) such as CRM, Telephony System, Case Management. If 'Extended' include also data (context fields) for these links. Default value 'None'",
61
+
options: [
62
+
"None",
63
+
"Basic",
64
+
"Extended",
65
+
],
66
+
default: "None",
67
+
optional: true,
68
+
},
69
+
contextTiming: {
70
+
type: "string[]",
71
+
label: "Context Timing",
72
+
description: "Allowed: Now, TimeOfCall. Timing for the context data. The field is optional and can contain either 'Now' or 'TimeOfCall' or both. The default value is ['Now']. Can be provided only when the context field is set to 'Extended'",
73
+
default: [],
74
+
optional: true,
75
+
},
76
+
includeParties: {
77
+
type: "boolean",
78
+
label: "Include Parties",
79
+
description: "Whether to include parties in the response",
80
+
default: false,
81
+
optional: true,
82
+
},
83
+
exposedFieldsContent: {
84
+
type: "object",
85
+
label: "Exposed Fields Content",
86
+
description: "Specify which fields to include in the response for the content",
87
+
default: {
88
+
"structure": false,
89
+
"topics": false,
90
+
"trackers": false,
91
+
"trackerOccurrences": false,
92
+
"pointsOfInterest": false,
93
+
"brief": false,
94
+
"outline": false,
95
+
"highlights": false,
96
+
"callOutcome": false,
97
+
"keyPoints": false,
98
+
},
99
+
optional: true,
100
+
},
101
+
exposedFieldsInteraction: {
102
+
type: "object",
103
+
label: "Exposed Fields Interaction",
104
+
description: "Specify which fields to include in the response for the interaction",
105
+
default: {
106
+
"speakers": false,
107
+
"video": false,
108
+
"personInteractionStats": false,
109
+
"questions": false,
110
+
},
111
+
optional: true,
112
+
},
113
+
includePublicComments: {
114
+
type: "boolean",
115
+
label: "Include Public Comments",
116
+
description: "Whether to include public comments in the response",
117
+
default: false,
118
+
optional: true,
119
+
},
120
+
includeMedia: {
121
+
type: "boolean",
122
+
label: "Include Media",
123
+
description: "Whether to include media in the response",
124
+
default: false,
125
+
optional: true,
126
+
},
57
127
},
58
128
methods: {
59
129
getExtensiveData(args={}){
@@ -68,20 +138,60 @@ export default {
68
138
app,
69
139
getExtensiveData,
70
140
maxResults,
141
+
context,
142
+
contextTiming,
143
+
includeParties,
144
+
exposedFieldsContent,
145
+
exposedFieldsInteraction,
146
+
includePublicComments,
147
+
includeMedia,
71
148
...filter
72
149
}=this;
73
150
74
151
if(filter?.workspaceId&&filter?.callIds){
75
152
thrownewConfigurationError("Must not provide both `callIds` and `workspaceId`");
0 commit comments