@pipedream/bandwidth 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Overview
|
|
2
|
+
|
|
3
|
+
With the Bandwidth API, you can build a variety of applications and tools for
|
|
4
|
+
managing your communication needs. Here are a few examples of what you can
|
|
5
|
+
build:
|
|
6
|
+
|
|
7
|
+
- A tool for monitoring your bandwidth usage
|
|
8
|
+
- A tool for managing your contact lists
|
|
9
|
+
- A tool for sending and receiving text messages
|
|
10
|
+
- A tool for making and receiving phone calls
|
|
11
|
+
- A tool for recording and storing call data
|
package/package.json
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
const bandwidth = require(
|
|
1
|
+
const bandwidth = require("../../bandwidth.app");
|
|
2
2
|
|
|
3
3
|
module.exports = {
|
|
4
|
-
name:
|
|
4
|
+
name: "New Outgoing SMS",
|
|
5
5
|
description:
|
|
6
|
-
|
|
7
|
-
key:
|
|
8
|
-
version:
|
|
6
|
+
"Emits an event each time an outbound message status event is received at the source url",
|
|
7
|
+
key: "bandwidth-new-outgoing-sms",
|
|
8
|
+
version: "1.1.1",
|
|
9
|
+
type: "source",
|
|
9
10
|
props: {
|
|
10
11
|
bandwidth,
|
|
11
12
|
http: {
|
|
12
|
-
type:
|
|
13
|
+
type: "$.interface.http",
|
|
13
14
|
customResponse: true,
|
|
14
15
|
},
|
|
15
16
|
},
|
|
@@ -20,7 +21,7 @@ module.exports = {
|
|
|
20
21
|
status: 204,
|
|
21
22
|
});
|
|
22
23
|
|
|
23
|
-
if (messageBody.message.direction ==
|
|
24
|
+
if (messageBody.message.direction == "out") {
|
|
24
25
|
this.$emit(messageBody, {
|
|
25
26
|
summary: messageBody.type,
|
|
26
27
|
id: messageBody.message.id,
|