@activepieces/piece-twilio 0.3.1 → 0.3.3
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/package.json +6 -6
- package/src/index.js +4 -1
- package/src/index.js.map +1 -1
- package/src/lib/common/index.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/piece-twilio",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@sinclair/typebox": "0.26.8",
|
|
6
6
|
"axios": "^1.6.3",
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
"is-base64": "1.1.0",
|
|
9
9
|
"lodash": "4.17.21",
|
|
10
10
|
"nanoid": "3.3.6",
|
|
11
|
-
"semver": "7.
|
|
12
|
-
"@activepieces/pieces-common": "0.2.
|
|
13
|
-
"@activepieces/pieces-framework": "0.7.
|
|
14
|
-
"@activepieces/shared": "0.10.
|
|
15
|
-
"tslib": "2.6.
|
|
11
|
+
"semver": "7.6.0",
|
|
12
|
+
"@activepieces/pieces-common": "0.2.9",
|
|
13
|
+
"@activepieces/pieces-framework": "0.7.23",
|
|
14
|
+
"@activepieces/shared": "0.10.92",
|
|
15
|
+
"tslib": "2.6.2"
|
|
16
16
|
},
|
|
17
17
|
"main": "./src/index.js",
|
|
18
18
|
"type": "commonjs"
|
package/src/index.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.twilio = exports.twilioAuth = void 0;
|
|
4
|
+
const pieces_common_1 = require("@activepieces/pieces-common");
|
|
4
5
|
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
6
|
+
const shared_1 = require("@activepieces/shared");
|
|
5
7
|
const send_sms_1 = require("./lib/action/send-sms");
|
|
6
8
|
const new_incoming_sms_1 = require("./lib/trigger/new-incoming-sms");
|
|
7
|
-
const pieces_common_1 = require("@activepieces/pieces-common");
|
|
8
9
|
exports.twilioAuth = pieces_framework_1.PieceAuth.BasicAuth({
|
|
9
10
|
description: 'The authentication to use to connect to Twilio',
|
|
10
11
|
required: true,
|
|
@@ -19,9 +20,11 @@ exports.twilioAuth = pieces_framework_1.PieceAuth.BasicAuth({
|
|
|
19
20
|
});
|
|
20
21
|
exports.twilio = (0, pieces_framework_1.createPiece)({
|
|
21
22
|
displayName: 'Twilio',
|
|
23
|
+
description: 'Cloud communications platform for building SMS, Voice & Messaging applications',
|
|
22
24
|
minimumSupportedRelease: '0.5.0',
|
|
23
25
|
logoUrl: 'https://cdn.activepieces.com/pieces/twilio.png',
|
|
24
26
|
auth: exports.twilioAuth,
|
|
27
|
+
categories: [shared_1.PieceCategory.COMMUNICATION],
|
|
25
28
|
actions: [
|
|
26
29
|
send_sms_1.twilioSendSms,
|
|
27
30
|
(0, pieces_common_1.createCustomApiCallAction)({
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/twilio/src/index.ts"],"names":[],"mappings":";;;AAAA,qEAAwE;AACxE,oDAAsD;AACtD,qEAAsE;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/twilio/src/index.ts"],"names":[],"mappings":";;;AAAA,+DAAwE;AACxE,qEAAwE;AACxE,iDAAqD;AACrD,oDAAsD;AACtD,qEAAsE;AAEzD,QAAA,UAAU,GAAG,4BAAS,CAAC,SAAS,CAAC;IAC5C,WAAW,EAAE,gDAAgD;IAE7D,QAAQ,EAAE,IAAI;IACd,QAAQ,EAAE;QACR,WAAW,EAAE,aAAa;QAC1B,WAAW,EAAE,6CAA6C;KAC3D;IACD,QAAQ,EAAE;QACR,WAAW,EAAE,YAAY;QACzB,WAAW,EAAE,4CAA4C;KAC1D;CACF,CAAC,CAAC;AAEU,QAAA,MAAM,GAAG,IAAA,8BAAW,EAAC;IAChC,WAAW,EAAE,QAAQ;IACrB,WAAW,EACT,gFAAgF;IAElF,uBAAuB,EAAE,OAAO;IAChC,OAAO,EAAE,gDAAgD;IACzD,IAAI,EAAE,kBAAU;IAChB,UAAU,EAAE,CAAC,sBAAa,CAAC,aAAa,CAAC;IACzC,OAAO,EAAE;QACP,wBAAa;QACb,IAAA,yCAAyB,EAAC;YACxB,OAAO,EAAE,GAAG,EAAE,CAAC,mCAAmC;YAClD,IAAI,EAAE,kBAAU;YAChB,WAAW,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;gBACtB,aAAa,EAAE,SAAS,MAAM,CAAC,IAAI,CACjC,GAAI,IAA6B,CAAC,QAAQ,IACvC,IAA6B,CAAC,QACjC,EAAE,CACH,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE;aACvB,CAAC;SACH,CAAC;KACH;IACD,OAAO,EAAE,CAAC,UAAU,CAAC;IACrB,QAAQ,EAAE,CAAC,uCAAoB,CAAC;CACjC,CAAC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { HttpMethod
|
|
1
|
+
import { HttpMethod } from '@activepieces/pieces-common';
|
|
2
2
|
export declare const twilioCommon: {
|
|
3
3
|
phone_number: import("@activepieces/pieces-framework").DropdownProperty<any, true>;
|
|
4
4
|
};
|
|
5
|
-
export declare const callTwilioApi: <T extends
|
|
5
|
+
export declare const callTwilioApi: <T extends unknown>(method: HttpMethod, path: string, auth: {
|
|
6
6
|
account_sid: string;
|
|
7
7
|
auth_token: string;
|
|
8
8
|
}, body?: any) => Promise<import("@activepieces/pieces-common").HttpResponse<T>>;
|