Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/gong/actions/add-new-call/add-new-call.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default {
name: "Add New Call",
description: "Add a new call. [See the documentation](https://us-66463.app.gong.io/settings/api/documentation#post-/v2/calls)",
type: "action",
version: "0.0.1",
version: "0.0.2",
props: {
app,
clientUniqueId: {
Expand Down
2 changes: 1 addition & 1 deletion components/gong/actions/list-calls/list-calls.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
name: "List calls",
description: "List calls. [See the documentation](https://us-66463.app.gong.io/settings/api/documentation#get-/v2/calls)",
type: "action",
version: "0.0.1",
version: "0.0.2",
props: {
app,
fromDateTime: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
name: "Retrieve Transcripts Of Calls",
description: "Retrieve transcripts of calls. [See the documentation](https://us-66463.app.gong.io/settings/api/documentation#post-/v2/calls/transcript)",
type: "action",
version: "0.0.1",
version: "0.0.2",
props: {
app,
fromDateTime: {
Expand All @@ -29,6 +29,12 @@ export default {
"workspaceId",
],
},
callIds: {
propDefinition: [
app,
"callIds",
],
},
},
methods: {
retrieveTranscriptsOfCalls(args = {}) {
Expand All @@ -51,7 +57,7 @@ export default {
data: {
filter,
},
summary: (response) => `Successfully retrieved transcripts of calls with request ID \`${response.requestId}\``,
summary: (response) => `Successfully retrieved transcripts of calls with request ID \`${response.requestId}\`.`,
});
},
};
15 changes: 15 additions & 0 deletions components/gong/gong.app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,21 @@ export default {
label: "To Date Time",
description: "Date and time (in ISO-8601 format: `2018-02-18T02:30:00-07:00` or `2018-02-18T08:00:00Z`, where Z stands for UTC) until which to list recorded calls. Returns calls that started up to but excluding specified date and time. If not provided, list ends with most recent call.",
},
callIds: {
type: "string[]",
label: "Call IDs",
description: "List of calls Ids to be filtered. If not supplied, returns all calls between **From Date Time** and **To Date Time**.",
optional: true,
async options() {
const { calls } = await this.listCalls();
return calls.map(({
id: value, title: label,
}) => ({
label,
value,
}));
},
},
},
methods: {
exportSummary(step) {
Expand Down
4 changes: 2 additions & 2 deletions components/gong/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/gong",
"version": "0.1.0",
"version": "0.1.1",
"description": "Pipedream Gong Components",
"main": "gong.app.mjs",
"keywords": [
Expand All @@ -10,7 +10,7 @@
"homepage": "https://pipedream.com/apps/gong",
"author": "Pipedream <[email protected]> (https://pipedream.com/)",
"dependencies": {
"@pipedream/platform": "^1.5.1"
"@pipedream/platform": "^3.0.3"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion components/gong/sources/new-call/new-call.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
name: "New Call",
description: "Triggers when a new call is added. [See the documentation](https://us-66463.app.gong.io/settings/api/documentation#get-/v2/calls)",
type: "source",
version: "0.0.1",
version: "0.0.2",
dedupe: "unique",
methods: {
...common.methods,
Expand Down
4 changes: 2 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading