@pipedream/twilio 0.6.2 → 0.7.0

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.
Files changed (24) hide show
  1. package/actions/check-verification-token/check-verification-token.mjs +6 -1
  2. package/actions/create-verification-service/create-verification-service.mjs +6 -1
  3. package/actions/delete-call/delete-call.mjs +6 -1
  4. package/actions/delete-message/delete-message.mjs +6 -1
  5. package/actions/download-recording-media/download-recording-media.mjs +6 -1
  6. package/actions/get-call/get-call.mjs +6 -1
  7. package/actions/get-message/get-message.mjs +6 -1
  8. package/actions/get-transcripts/get-transcripts.mjs +6 -1
  9. package/actions/list-application-sid-options/list-application-sid-options.mjs +24 -0
  10. package/actions/list-calls/list-calls.mjs +6 -1
  11. package/actions/list-from-options/list-from-options.mjs +24 -0
  12. package/actions/list-incoming-phone-number-options/list-incoming-phone-number-options.mjs +24 -0
  13. package/actions/list-message-media/list-message-media.mjs +6 -1
  14. package/actions/list-messages/list-messages.mjs +6 -1
  15. package/actions/list-parent-call-sid-options/list-parent-call-sid-options.mjs +24 -0
  16. package/actions/list-recording-i-d-options/list-recording-i-d-options.mjs +24 -0
  17. package/actions/list-service-sid-options/list-service-sid-options.mjs +24 -0
  18. package/actions/list-sid-options/list-sid-options.mjs +24 -0
  19. package/actions/list-transcripts/list-transcripts.mjs +6 -1
  20. package/actions/make-phone-call/make-phone-call.mjs +6 -1
  21. package/actions/phone-number-lookup/phone-number-lookup.mjs +6 -1
  22. package/actions/send-message/send-message.mjs +6 -1
  23. package/actions/send-sms-verification/send-sms-verification.mjs +6 -1
  24. package/package.json +3 -3
@@ -6,7 +6,12 @@ export default {
6
6
  name: "Check Verification Token",
7
7
  description: "Check if user-provided token is correct. [See the documentation](https://www.twilio.com/docs/verify/api)",
8
8
  type: "action",
9
- version: "0.0.4",
9
+ version: "0.0.5",
10
+ annotations: {
11
+ destructiveHint: false,
12
+ openWorldHint: true,
13
+ readOnlyHint: true,
14
+ },
10
15
  props: {
11
16
  app,
12
17
  serviceSid: {
@@ -5,7 +5,12 @@ export default {
5
5
  name: "Create Verification Service",
6
6
  description: "Create a verification service for sending SMS verifications. [See the documentation](https://www.twilio.com/docs/verify/api/service#create-a-verification-service)",
7
7
  type: "action",
8
- version: "0.0.3",
8
+ version: "0.0.4",
9
+ annotations: {
10
+ destructiveHint: true,
11
+ openWorldHint: true,
12
+ readOnlyHint: false,
13
+ },
9
14
  props: {
10
15
  twilio,
11
16
  friendlyName: {
@@ -4,7 +4,12 @@ export default {
4
4
  key: "twilio-delete-call",
5
5
  name: "Delete Call",
6
6
  description: "Remove a call record from your account. [See the documentation](https://www.twilio.com/docs/voice/api/call-resource#delete-a-call-resource)",
7
- version: "0.1.5",
7
+ version: "0.1.6",
8
+ annotations: {
9
+ destructiveHint: true,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  twilio,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "twilio-delete-message",
5
5
  name: "Delete Message",
6
6
  description: "Delete a message record from your account. [See the documentation](https://www.twilio.com/docs/sms/api/message-resource#delete-a-message-resource)",
7
- version: "0.1.5",
7
+ version: "0.1.6",
8
+ annotations: {
9
+ destructiveHint: true,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  twilio,
@@ -8,7 +8,12 @@ export default {
8
8
  key: "twilio-download-recording-media",
9
9
  name: "Download Recording Media",
10
10
  description: "Download a recording media file. [See the documentation](https://www.twilio.com/docs/voice/api/recording#fetch-a-recording-media-file)",
11
- version: "0.1.8",
11
+ version: "0.1.9",
12
+ annotations: {
13
+ destructiveHint: false,
14
+ openWorldHint: true,
15
+ readOnlyHint: false,
16
+ },
12
17
  type: "action",
13
18
  props: {
14
19
  twilio,
@@ -5,7 +5,12 @@ export default {
5
5
  key: "twilio-get-call",
6
6
  name: "Get Call",
7
7
  description: "Return call resource of an individual call. [See the documentation](https://www.twilio.com/docs/voice/api/call-resource#fetch-a-call-resource)",
8
- version: "0.1.5",
8
+ version: "0.1.6",
9
+ annotations: {
10
+ destructiveHint: false,
11
+ openWorldHint: true,
12
+ readOnlyHint: true,
13
+ },
9
14
  type: "action",
10
15
  props: {
11
16
  twilio,
@@ -5,7 +5,12 @@ export default {
5
5
  key: "twilio-get-message",
6
6
  name: "Get Message",
7
7
  description: "Return details of a message. [See the documentation](https://www.twilio.com/docs/sms/api/message-resource#fetch-a-message-resource)",
8
- version: "0.1.5",
8
+ version: "0.1.6",
9
+ annotations: {
10
+ destructiveHint: false,
11
+ openWorldHint: true,
12
+ readOnlyHint: false,
13
+ },
9
14
  type: "action",
10
15
  props: {
11
16
  twilio,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "twilio-get-transcripts",
5
5
  name: "Get Transcripts",
6
6
  description: "Retrieves full transcripts for the specified transcript SIDs. [See the documentation](https://www.twilio.com/docs/voice/intelligence/api/transcript-sentence-resource#get-transcript-sentences)",
7
- version: "0.0.2",
7
+ version: "0.0.3",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: true,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  twilio,
@@ -0,0 +1,24 @@
1
+ import twilio from "../../twilio.app.mjs";
2
+
3
+ export default {
4
+ key: "twilio-list-application-sid-options",
5
+ name: "List Application SID Options",
6
+ description: "Retrieves available options for the Application SID field.",
7
+ version: "0.0.1",
8
+ type: "action",
9
+ annotations: {
10
+ destructiveHint: false,
11
+ openWorldHint: true,
12
+ readOnlyHint: true,
13
+ },
14
+ props: {
15
+ twilio,
16
+ },
17
+ async run({ $ }) {
18
+ const options = await twilio.propDefinitions.applicationSid.options.call(this.twilio);
19
+ $.export("$summary", `Successfully retrieved ${options.length} option${options.length === 1
20
+ ? ""
21
+ : "s"}`);
22
+ return options;
23
+ },
24
+ };
@@ -5,7 +5,12 @@ export default {
5
5
  key: "twilio-list-calls",
6
6
  name: "List Calls",
7
7
  description: "Return a list of calls associated with your account. [See the documentation](https://www.twilio.com/docs/voice/api/call-resource#read-multiple-call-resources)",
8
- version: "0.1.5",
8
+ version: "0.1.6",
9
+ annotations: {
10
+ destructiveHint: false,
11
+ openWorldHint: true,
12
+ readOnlyHint: true,
13
+ },
9
14
  type: "action",
10
15
  props: {
11
16
  twilio,
@@ -0,0 +1,24 @@
1
+ import twilio from "../../twilio.app.mjs";
2
+
3
+ export default {
4
+ key: "twilio-list-from-options",
5
+ name: "List From Options",
6
+ description: "Retrieves available options for the From field.",
7
+ version: "0.0.1",
8
+ type: "action",
9
+ annotations: {
10
+ destructiveHint: false,
11
+ openWorldHint: true,
12
+ readOnlyHint: true,
13
+ },
14
+ props: {
15
+ twilio,
16
+ },
17
+ async run({ $ }) {
18
+ const options = await twilio.propDefinitions.from.options.call(this.twilio);
19
+ $.export("$summary", `Successfully retrieved ${options.length} option${options.length === 1
20
+ ? ""
21
+ : "s"}`);
22
+ return options;
23
+ },
24
+ };
@@ -0,0 +1,24 @@
1
+ import twilio from "../../twilio.app.mjs";
2
+
3
+ export default {
4
+ key: "twilio-list-incoming-phone-number-options",
5
+ name: "List Incoming Phone Number Options",
6
+ description: "Retrieves available options for the Incoming Phone Number field.",
7
+ version: "0.0.1",
8
+ type: "action",
9
+ annotations: {
10
+ destructiveHint: false,
11
+ openWorldHint: true,
12
+ readOnlyHint: true,
13
+ },
14
+ props: {
15
+ twilio,
16
+ },
17
+ async run({ $ }) {
18
+ const options = await twilio.propDefinitions.incomingPhoneNumber.options.call(this.twilio);
19
+ $.export("$summary", `Successfully retrieved ${options.length} option${options.length === 1
20
+ ? ""
21
+ : "s"}`);
22
+ return options;
23
+ },
24
+ };
@@ -5,7 +5,12 @@ export default {
5
5
  key: "twilio-list-message-media",
6
6
  name: "List Message Media",
7
7
  description: "Return a list of media associated with your message. [See the documentation](https://www.twilio.com/docs/sms/api/media-resource#read-multiple-media-resources)",
8
- version: "0.1.5",
8
+ version: "0.1.6",
9
+ annotations: {
10
+ destructiveHint: false,
11
+ openWorldHint: true,
12
+ readOnlyHint: false,
13
+ },
9
14
  type: "action",
10
15
  props: {
11
16
  twilio,
@@ -6,7 +6,12 @@ export default {
6
6
  key: "twilio-list-messages",
7
7
  name: "List Messages",
8
8
  description: "Return a list of messages associated with your account. [See the documentation](https://www.twilio.com/docs/sms/api/message-resource#read-multiple-message-resources)",
9
- version: "0.1.6",
9
+ version: "0.1.7",
10
+ annotations: {
11
+ destructiveHint: false,
12
+ openWorldHint: true,
13
+ readOnlyHint: true,
14
+ },
10
15
  type: "action",
11
16
  props: {
12
17
  twilio,
@@ -0,0 +1,24 @@
1
+ import twilio from "../../twilio.app.mjs";
2
+
3
+ export default {
4
+ key: "twilio-list-parent-call-sid-options",
5
+ name: "List Parent Call SID Options",
6
+ description: "Retrieves available options for the Parent Call SID field.",
7
+ version: "0.0.1",
8
+ type: "action",
9
+ annotations: {
10
+ destructiveHint: false,
11
+ openWorldHint: true,
12
+ readOnlyHint: true,
13
+ },
14
+ props: {
15
+ twilio,
16
+ },
17
+ async run({ $ }) {
18
+ const options = await twilio.propDefinitions.parentCallSid.options.call(this.twilio);
19
+ $.export("$summary", `Successfully retrieved ${options.length} option${options.length === 1
20
+ ? ""
21
+ : "s"}`);
22
+ return options;
23
+ },
24
+ };
@@ -0,0 +1,24 @@
1
+ import twilio from "../../twilio.app.mjs";
2
+
3
+ export default {
4
+ key: "twilio-list-recording-i-d-options",
5
+ name: "List Recording ID Options",
6
+ description: "Retrieves available options for the Recording ID field.",
7
+ version: "0.0.1",
8
+ type: "action",
9
+ annotations: {
10
+ destructiveHint: false,
11
+ openWorldHint: true,
12
+ readOnlyHint: true,
13
+ },
14
+ props: {
15
+ twilio,
16
+ },
17
+ async run({ $ }) {
18
+ const options = await twilio.propDefinitions.recordingID.options.call(this.twilio);
19
+ $.export("$summary", `Successfully retrieved ${options.length} option${options.length === 1
20
+ ? ""
21
+ : "s"}`);
22
+ return options;
23
+ },
24
+ };
@@ -0,0 +1,24 @@
1
+ import twilio from "../../twilio.app.mjs";
2
+
3
+ export default {
4
+ key: "twilio-list-service-sid-options",
5
+ name: "List Service SID Options",
6
+ description: "Retrieves available options for the Service SID field.",
7
+ version: "0.0.1",
8
+ type: "action",
9
+ annotations: {
10
+ destructiveHint: false,
11
+ openWorldHint: true,
12
+ readOnlyHint: true,
13
+ },
14
+ props: {
15
+ twilio,
16
+ },
17
+ async run({ $ }) {
18
+ const options = await twilio.propDefinitions.serviceSid.options.call(this.twilio);
19
+ $.export("$summary", `Successfully retrieved ${options.length} option${options.length === 1
20
+ ? ""
21
+ : "s"}`);
22
+ return options;
23
+ },
24
+ };
@@ -0,0 +1,24 @@
1
+ import twilio from "../../twilio.app.mjs";
2
+
3
+ export default {
4
+ key: "twilio-list-sid-options",
5
+ name: "List Call ID Options",
6
+ description: "Retrieves available options for the Call ID field.",
7
+ version: "0.0.1",
8
+ type: "action",
9
+ annotations: {
10
+ destructiveHint: false,
11
+ openWorldHint: true,
12
+ readOnlyHint: true,
13
+ },
14
+ props: {
15
+ twilio,
16
+ },
17
+ async run({ $ }) {
18
+ const options = await twilio.propDefinitions.sid.options.call(this.twilio);
19
+ $.export("$summary", `Successfully retrieved ${options.length} option${options.length === 1
20
+ ? ""
21
+ : "s"}`);
22
+ return options;
23
+ },
24
+ };
@@ -5,7 +5,12 @@ export default {
5
5
  key: "twilio-list-transcripts",
6
6
  name: "List Transcripts",
7
7
  description: "Return a list of transcripts. [See the documentation](https://www.twilio.com/docs/voice/intelligence/api/transcript-resource#fetch-multiple-transcripts)",
8
- version: "0.0.3",
8
+ version: "0.0.4",
9
+ annotations: {
10
+ destructiveHint: false,
11
+ openWorldHint: true,
12
+ readOnlyHint: true,
13
+ },
9
14
  type: "action",
10
15
  props: {
11
16
  twilio,
@@ -6,7 +6,12 @@ export default {
6
6
  key: "twilio-make-phone-call",
7
7
  name: "Make a Phone Call",
8
8
  description: "Make a phone call passing text, a URL, or an application that Twilio will use to handle the call. [See the documentation](https://www.twilio.com/docs/voice/api/call-resource#create-a-call-resource)",
9
- version: "0.1.6",
9
+ version: "0.1.7",
10
+ annotations: {
11
+ destructiveHint: false,
12
+ openWorldHint: true,
13
+ readOnlyHint: false,
14
+ },
10
15
  type: "action",
11
16
  props: {
12
17
  twilio,
@@ -5,7 +5,12 @@ export default {
5
5
  name: "Phone Number Lookup",
6
6
  description: "Lookup information about a phone number. [See the documentation](https://www.twilio.com/docs/lookup/v2-api/line-type-intelligence) for more information",
7
7
  type: "action",
8
- version: "0.0.3",
8
+ version: "0.0.4",
9
+ annotations: {
10
+ destructiveHint: false,
11
+ openWorldHint: true,
12
+ readOnlyHint: true,
13
+ },
9
14
  props: {
10
15
  app,
11
16
  sid: {
@@ -7,7 +7,12 @@ export default {
7
7
  name: "Send Message",
8
8
  description: "Send an SMS text with optional media files. [See the documentation](https://www.twilio.com/docs/sms/api/message-resource#create-a-message-resource)",
9
9
  type: "action",
10
- version: "0.0.3",
10
+ version: "0.0.4",
11
+ annotations: {
12
+ destructiveHint: false,
13
+ openWorldHint: true,
14
+ readOnlyHint: false,
15
+ },
11
16
  props: {
12
17
  twilio,
13
18
  from: {
@@ -5,7 +5,12 @@ export default {
5
5
  name: "Send SMS Verification",
6
6
  description: "Send an SMS verification to a phone number. [See the documentation](https://www.twilio.com/docs/verify/api)",
7
7
  type: "action",
8
- version: "0.0.4",
8
+ version: "0.0.5",
9
+ annotations: {
10
+ destructiveHint: true,
11
+ openWorldHint: true,
12
+ readOnlyHint: false,
13
+ },
9
14
  props: {
10
15
  app,
11
16
  serviceSid: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/twilio",
3
- "version": "0.6.2",
3
+ "version": "0.7.0",
4
4
  "description": "Pipedream Twilio Components",
5
5
  "main": "twilio.app.mjs",
6
6
  "keywords": [
@@ -10,11 +10,11 @@
10
10
  "homepage": "https://pipedream.com/apps/twilio",
11
11
  "author": "Pipedream <support@pipedream.com> (https://pipedream.com/)",
12
12
  "dependencies": {
13
- "@pipedream/platform": "^3.1.0",
13
+ "@pipedream/platform": "^3.1.1",
14
14
  "got": "^13.0.0",
15
15
  "phone": "^3.1.49",
16
16
  "stream": "^0.0.3",
17
- "twilio": "^3.54.2"
17
+ "twilio": "^5.10.4"
18
18
  },
19
19
  "gitHead": "e12480b94cc03bed4808ebc6b13e7fdb3a1ba535",
20
20
  "publishConfig": {