@taskmagic/apps-neverbounce 0.0.1

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,7 @@
1
+ # apps-neverbounce
2
+
3
+ This library was generated with [Nx](https://nx.dev).
4
+
5
+ ## Building
6
+
7
+ Run `nx build apps-neverbounce` to build the library.
package/package.json ADDED
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "@taskmagic/apps-neverbounce",
3
+ "version": "0.0.1",
4
+ "dependencies": {
5
+ "@anthropic-ai/sdk": "0.33.1",
6
+ "@sinclair/typebox": "0.34.11",
7
+ "axios": "1.17.0",
8
+ "axios-retry": "4.4.1",
9
+ "deepmerge-ts": "7.1.0",
10
+ "mime-types": "2.1.35",
11
+ "nanoid": "3.3.8",
12
+ "openai": "4.67.1",
13
+ "replicate": "0.34.1",
14
+ "semver": "7.6.0",
15
+ "zod": "3.25.76",
16
+ "@taskmagic/pieces-common": "0.4.4",
17
+ "@taskmagic/pieces-framework": "0.7.46",
18
+ "@taskmagic/shared": "0.10.171",
19
+ "tslib": "1.14.1"
20
+ },
21
+ "overrides": {
22
+ "cross-spawn": "7.0.6",
23
+ "elliptic": "^6.6.1",
24
+ "fast-xml-parser": "^4.4.1",
25
+ "protobufjs": "^7.5.5",
26
+ "tmp": "^0.2.4",
27
+ "koa": "^2.16.4",
28
+ "picomatch": "^4.0.4",
29
+ "langsmith": "^0.6.0",
30
+ "serialize-javascript": "^6.0.2",
31
+ "elevenlabs": {
32
+ "form-data": "^4.0.4"
33
+ },
34
+ "@tryfabric/martian": {
35
+ "@notionhq/client": "$@notionhq/client"
36
+ },
37
+ "vite": {
38
+ "rollup": "npm:@rollup/wasm-node@^4.61.1"
39
+ }
40
+ },
41
+ "resolutions": {
42
+ "rollup": "npm:@rollup/wasm-node@^4.61.1"
43
+ },
44
+ "types": "./src/index.d.ts",
45
+ "main": "./src/index.js",
46
+ "type": "commonjs"
47
+ }
package/src/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export declare const neverbounce: import("@taskmagic/pieces-framework").Piece<import("@taskmagic/pieces-framework").SecretTextProperty<true>>;
package/src/index.js ADDED
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.neverbounce = void 0;
4
+ const pieces_framework_1 = require("@taskmagic/pieces-framework");
5
+ const pieces_common_1 = require("@taskmagic/pieces-common");
6
+ const shared_1 = require("@taskmagic/shared");
7
+ const auth_1 = require("./lib/common/auth");
8
+ const verify_email_address_1 = require("./lib/actions/verify-email-address");
9
+ exports.neverbounce = (0, pieces_framework_1.createPiece)({
10
+ displayName: 'NeverBounce',
11
+ auth: auth_1.neverbounceAuth,
12
+ minimumSupportedRelease: '0.30.0',
13
+ logoUrl: 'https://cdn.activepieces.com/pieces/neverbounce.png',
14
+ categories: [shared_1.PieceCategory.COMMUNICATION],
15
+ description: 'NeverBounce is an email verification service that improves deliverability and helps businesses adhere to strict deliverability guidelines.',
16
+ authors: ['sanket-a11y'],
17
+ actions: [
18
+ verify_email_address_1.verifyEmailAddress,
19
+ (0, pieces_common_1.createCustomApiCallAction)({
20
+ auth: auth_1.neverbounceAuth,
21
+ baseUrl: () => 'https://api.neverbounce.com/v4.2',
22
+ }),
23
+ ],
24
+ triggers: [],
25
+ });
26
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/neverbounce/src/index.ts"],"names":[],"mappings":";;;AAAA,kEAA0D;AAC1D,4DAAqE;AACrE,8CAAkD;AAClD,4CAAoD;AACpD,6EAAwE;AAE3D,QAAA,WAAW,GAAG,IAAA,8BAAW,EAAC;IACrC,WAAW,EAAE,aAAa;IAC1B,IAAI,EAAE,sBAAe;IACrB,uBAAuB,EAAE,QAAQ;IACjC,OAAO,EAAE,qDAAqD;IAC9D,UAAU,EAAE,CAAC,sBAAa,CAAC,aAAa,CAAC;IACzC,WAAW,EACT,4IAA4I;IAC9I,OAAO,EAAE,CAAC,aAAa,CAAC;IACxB,OAAO,EAAE;QACP,yCAAkB;QAClB,IAAA,yCAAyB,EAAC;YACxB,IAAI,EAAE,sBAAe;YACrB,OAAO,EAAE,GAAG,EAAE,CAAC,kCAAkC;SAClD,CAAC;KACH;IACD,QAAQ,EAAE,EAAE;CACb,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare const verifyEmailAddress: import("@taskmagic/pieces-framework").IAction<import("@taskmagic/pieces-framework").SecretTextProperty<true>, {
2
+ email: import("@taskmagic/pieces-framework").ShortTextProperty<true>;
3
+ }>;
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.verifyEmailAddress = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const pieces_framework_1 = require("@taskmagic/pieces-framework");
6
+ const pieces_common_1 = require("@taskmagic/pieces-common");
7
+ const auth_1 = require("../common/auth");
8
+ exports.verifyEmailAddress = (0, pieces_framework_1.createAction)({
9
+ auth: auth_1.neverbounceAuth,
10
+ name: 'verifyEmailAddress',
11
+ displayName: 'Verify Email Address',
12
+ description: 'Verify a single email address using NeverBounce API',
13
+ props: {
14
+ email: pieces_framework_1.Property.ShortText({
15
+ displayName: 'Email Address',
16
+ description: 'The email address to verify',
17
+ required: true,
18
+ }),
19
+ },
20
+ run(context) {
21
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
22
+ const queryParams = {
23
+ key: context.auth,
24
+ email: context.propsValue.email,
25
+ };
26
+ const response = yield pieces_common_1.httpClient.sendRequest({
27
+ method: pieces_common_1.HttpMethod.GET,
28
+ url: 'https://api.neverbounce.com/v4.2/single/check',
29
+ queryParams,
30
+ });
31
+ return response.body;
32
+ });
33
+ },
34
+ });
35
+ //# sourceMappingURL=verify-email-address.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verify-email-address.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/neverbounce/src/lib/actions/verify-email-address.ts"],"names":[],"mappings":";;;;AAAA,kEAAqE;AACrE,4DAAkE;AAClE,yCAAiD;AAEpC,QAAA,kBAAkB,GAAG,IAAA,+BAAY,EAAC;IAC7C,IAAI,EAAE,sBAAe;IACrB,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE,sBAAsB;IACnC,WAAW,EAAE,qDAAqD;IAClE,KAAK,EAAE;QACL,KAAK,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACxB,WAAW,EAAE,eAAe;YAC5B,WAAW,EAAE,6BAA6B;YAC1C,QAAQ,EAAE,IAAI;SACf,CAAC;KACH;IACK,GAAG,CAAC,OAAO;;YACf,MAAM,WAAW,GAA2B;gBAC1C,GAAG,EAAE,OAAO,CAAC,IAAc;gBAC3B,KAAK,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK;aAChC,CAAC;YAEF,MAAM,QAAQ,GAAG,MAAM,0BAAU,CAAC,WAAW,CAAC;gBAC5C,MAAM,EAAE,0BAAU,CAAC,GAAG;gBACtB,GAAG,EAAE,+CAA+C;gBACpD,WAAW;aACZ,CAAC,CAAC;YAEH,OAAO,QAAQ,CAAC,IAAI,CAAC;QACvB,CAAC;KAAA;CACF,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const neverbounceAuth: import("@taskmagic/pieces-framework").SecretTextProperty<true>;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.neverbounceAuth = void 0;
4
+ const pieces_framework_1 = require("@taskmagic/pieces-framework");
5
+ exports.neverbounceAuth = pieces_framework_1.PieceAuth.SecretText({
6
+ displayName: 'API Key',
7
+ description: 'Your Neverbounce API Key. Get it from https://neverbounce.com/',
8
+ required: true,
9
+ });
10
+ //# sourceMappingURL=auth.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/neverbounce/src/lib/common/auth.ts"],"names":[],"mappings":";;;AAAA,kEAAwD;AAE3C,QAAA,eAAe,GAAG,4BAAS,CAAC,UAAU,CAAC;IAClD,WAAW,EAAE,SAAS;IACtB,WAAW,EAAE,gEAAgE;IAC7E,QAAQ,EAAE,IAAI;CACf,CAAC,CAAC"}