Skip to content

Commit ffdf63c

Browse files
committed
updates
1 parent 1229b7e commit ffdf63c

File tree

10 files changed

+21
-10
lines changed

10 files changed

+21
-10
lines changed

components/krispcall/actions/add-contact/add-contact.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "krispcall-add-contact",
55
name: "Add Contact",
66
description: "Creates a new contact. [See the documentation](https://documenter.getpostman.com/view/32476792/2sA3dxFCaL)",
7-
version: "0.0.2",
7+
version: "0.0.3",
88
type: "action",
99
props: {
1010
krispcall,

components/krispcall/actions/delete-contact/delete-contact.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "krispcall-delete-contact",
66
name: "Delete Contact",
77
description: "Deletes a list of contacts. [See the documentation](https://documenter.getpostman.com/view/32476792/2sA3dxFCaL)",
8-
version: "0.0.2",
8+
version: "0.0.3",
99
type: "action",
1010
props: {
1111
krispcall,

components/krispcall/actions/new-mms/new-mms.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "krispcall-new-mms",
55
name: "Send New MMS",
66
description: "Send a new MMS to a contact. [See the documentation](https://documenter.getpostman.com/view/32476792/2sA3dxFCaL)",
7-
version: "0.0.2",
7+
version: "0.0.3",
88
type: "action",
99
props: {
1010
krispcall,

components/krispcall/actions/new-sms/new-sms.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "krispcall-new-sms",
55
name: "Send New SMS",
66
description: "Send a new SMS to a number. [See the documentation](https://documenter.getpostman.com/view/32476792/2sA3dxFCaL)",
7-
version: "0.0.2",
7+
version: "0.0.3",
88
type: "action",
99
props: {
1010
krispcall,

components/krispcall/krispcall.app.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export default {
7474
},
7575
methods: {
7676
_baseUrl() {
77-
return "https://automationapi.krispcall.com/api/v1/platform/pipedream";
77+
return "https://automationqaapi.safefamilyapp.com/api/v1/platform/pipedream";
7878
},
7979
_headers() {
8080
return {
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import common from "../common/base.mjs";
2+
import sampleEmit from "./test-event.mjs";
23

34
export default {
45
...common,
56
key: "krispcall-new-call-instant",
67
name: "New Call (Instant)",
78
description: "Emit new event when a new call is created.",
8-
version: "0.0.{{ts}}",
9+
version: "0.0.1",
910
type: "source",
1011
dedupe: "unique",
1112
methods: {
@@ -14,7 +15,8 @@ export default {
1415
return "new_call_log";
1516
},
1617
getSummary(body) {
17-
return `New call created: ${body.id}`;
18+
return `New call from ${body.call_from} to ${body.call_to}`;
1819
},
1920
},
21+
sampleEmit,
2022
};
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
export default {
2+
"id": "neBKMVChtEeV5DSATpYzKZ",
3+
"call_from": "+12565681662",
4+
"call_to": "+12565307376",
5+
"duration": "00 hr 00 min 13 secs",
6+
"outcome": "Connected",
7+
"direction": "Outgoing",
8+
"call_recording": "https://qa.safefamilyapp.com/1c343d?vmid=0x21d2ee31ba6"
9+
}

components/krispcall/sources/new-contact-instant/new-contact-instant.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "krispcall-new-contact-instant",
77
name: "New Contact (Instant)",
88
description: "Emit new event when a new contact is created.",
9-
version: "0.0.2",
9+
version: "0.0.3",
1010
type: "source",
1111
dedupe: "unique",
1212
methods: {

components/krispcall/sources/new-sms-or-mms-instant/new-sms-or-mms-instant.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "krispcall-new-sms-or-mms-instant",
77
name: "New SMS or MMS Sent (Instant)",
88
description: "Emit new event when a new SMS or MMS is sent.",
9-
version: "0.0.2",
9+
version: "0.0.3",
1010
type: "source",
1111
dedupe: "unique",
1212
methods: {

components/krispcall/sources/new-voicemail-instant/new-voicemail-instant.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "krispcall-new-voicemail-instant",
77
name: "New Voicemail (Instant)",
88
description: "Emit new event when a new voicemail is sent.",
9-
version: "0.0.2",
9+
version: "0.0.3",
1010
type: "source",
1111
dedupe: "unique",
1212
methods: {

0 commit comments

Comments
 (0)