@frogbotai/piece-resend 0.5.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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 FrogBot
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,50 @@
1
+ import { type PieceFactoryConfig } from "frogbot/pieces";
2
+ export declare const resendActions: readonly ["send_email"];
3
+ export declare const resendScopes: readonly [];
4
+ export declare function createResend(config?: PieceFactoryConfig): import("frogbot/pieces").Piece & {
5
+ /** Send Email: Send a text or HTML email */
6
+ sendEmail: import("node_modules/frogbot/dist/types/tool").AnyTool;
7
+ /** Send Batch Emails: Send up to 100 emails in a single API call */
8
+ sendBatchEmails: import("node_modules/frogbot/dist/types/tool").AnyTool;
9
+ /** Get Email Status: Retrieve the delivery status of a sent email */
10
+ getEmailStatus: import("node_modules/frogbot/dist/types/tool").AnyTool;
11
+ /** List Sent Emails: Retrieve a list of emails sent from your Resend account */
12
+ listEmails: import("node_modules/frogbot/dist/types/tool").AnyTool;
13
+ /** Cancel Scheduled Email: Cancel a scheduled email before it is sent */
14
+ cancelScheduledEmail: import("node_modules/frogbot/dist/types/tool").AnyTool;
15
+ /** Reschedule Email: Update the send time of a scheduled email */
16
+ rescheduleEmail: import("node_modules/frogbot/dist/types/tool").AnyTool;
17
+ /** Create Contact: Add a contact to a Resend audience */
18
+ createContact: import("node_modules/frogbot/dist/types/tool").AnyTool;
19
+ /** Update Contact: Update the name or subscription status of a contact in an audience */
20
+ updateContact: import("node_modules/frogbot/dist/types/tool").AnyTool;
21
+ /** Delete Contact: Remove a contact from an audience */
22
+ deleteContact: import("node_modules/frogbot/dist/types/tool").AnyTool;
23
+ /** List Contacts: Retrieve all contacts in an audience */
24
+ listContacts: import("node_modules/frogbot/dist/types/tool").AnyTool;
25
+ /** List Domains: Retrieve all domains added to your Resend account */
26
+ listDomains: import("node_modules/frogbot/dist/types/tool").AnyTool;
27
+ /** Create Domain: Add a sending domain to your Resend account and get the DNS records to verify it */
28
+ createDomain: import("node_modules/frogbot/dist/types/tool").AnyTool;
29
+ /** Delete Domain: Remove a domain from your Resend account */
30
+ deleteDomain: import("node_modules/frogbot/dist/types/tool").AnyTool;
31
+ /** Verify Domain: Trigger a DNS verification check for a domain */
32
+ verifyDomain: import("node_modules/frogbot/dist/types/tool").AnyTool;
33
+ /** List Audiences: Retrieve all contact audiences in your Resend account */
34
+ listAudiences: import("node_modules/frogbot/dist/types/tool").AnyTool;
35
+ /** Create Audience: Create a new contact audience in Resend */
36
+ createAudience: import("node_modules/frogbot/dist/types/tool").AnyTool;
37
+ /** Delete Audience: Permanently delete an audience and all its contacts */
38
+ deleteAudience: import("node_modules/frogbot/dist/types/tool").AnyTool;
39
+ /** List Broadcasts: Retrieve all broadcasts in your Resend account */
40
+ listBroadcasts: import("node_modules/frogbot/dist/types/tool").AnyTool;
41
+ /** Create Broadcast: Create a new broadcast email to send to an audience */
42
+ createBroadcast: import("node_modules/frogbot/dist/types/tool").AnyTool;
43
+ /** Send Broadcast: Send or schedule a broadcast email to its audience */
44
+ sendBroadcast: import("node_modules/frogbot/dist/types/tool").AnyTool;
45
+ /** Delete Broadcast: Permanently delete a broadcast from your Resend account */
46
+ deleteBroadcast: import("node_modules/frogbot/dist/types/tool").AnyTool;
47
+ /** Custom API Call: Make a custom API call to a specific endpoint */
48
+ customApiCall: import("node_modules/frogbot/dist/types/tool").AnyTool;
49
+ };
50
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAA2B,KAAK,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAElF,eAAO,MAAM,aAAa,yBAA0B,CAAC;AACrD,eAAO,MAAM,YAAY,aAAc,CAAC;AAExC,wBAAgB,YAAY,CAAC,MAAM,CAAC,EAAE,kBAAkB;IAUpD,4CAA4C;;IAE5C,oEAAoE;;IAEpE,qEAAqE;;IAErE,gFAAgF;;IAEhF,yEAAyE;;IAEzE,kEAAkE;;IAElE,yDAAyD;;IAEzD,yFAAyF;;IAEzF,wDAAwD;;IAExD,0DAA0D;;IAE1D,sEAAsE;;IAEtE,sGAAsG;;IAEtG,8DAA8D;;IAE9D,mEAAmE;;IAEnE,4EAA4E;;IAE5E,+DAA+D;;IAE/D,2EAA2E;;IAE3E,sEAAsE;;IAEtE,4EAA4E;;IAE5E,yEAAyE;;IAEzE,gFAAgF;;IAEhF,qEAAqE;;EAGxE"}
package/dist/index.js ADDED
@@ -0,0 +1,61 @@
1
+ import * as module from '@activepieces/piece-resend';
2
+ import { createActivepiecesPiece } from "frogbot/pieces";
3
+ export const resendActions = ['send_email'];
4
+ export const resendScopes = [];
5
+ export function createResend(config) {
6
+ const piece = createActivepiecesPiece({
7
+ module: module,
8
+ service: "resend",
9
+ credentialType: "secret_text",
10
+ defaultActions: resendActions,
11
+ scopes: resendScopes,
12
+ config,
13
+ });
14
+ return Object.assign(piece, {
15
+ /** Send Email: Send a text or HTML email */
16
+ sendEmail: piece.tool("send_email"),
17
+ /** Send Batch Emails: Send up to 100 emails in a single API call */
18
+ sendBatchEmails: piece.tool("send_batch_emails"),
19
+ /** Get Email Status: Retrieve the delivery status of a sent email */
20
+ getEmailStatus: piece.tool("get_email_status"),
21
+ /** List Sent Emails: Retrieve a list of emails sent from your Resend account */
22
+ listEmails: piece.tool("list_emails"),
23
+ /** Cancel Scheduled Email: Cancel a scheduled email before it is sent */
24
+ cancelScheduledEmail: piece.tool("cancel_scheduled_email"),
25
+ /** Reschedule Email: Update the send time of a scheduled email */
26
+ rescheduleEmail: piece.tool("reschedule_email"),
27
+ /** Create Contact: Add a contact to a Resend audience */
28
+ createContact: piece.tool("create_contact"),
29
+ /** Update Contact: Update the name or subscription status of a contact in an audience */
30
+ updateContact: piece.tool("update_contact"),
31
+ /** Delete Contact: Remove a contact from an audience */
32
+ deleteContact: piece.tool("delete_contact"),
33
+ /** List Contacts: Retrieve all contacts in an audience */
34
+ listContacts: piece.tool("list_contacts"),
35
+ /** List Domains: Retrieve all domains added to your Resend account */
36
+ listDomains: piece.tool("list_domains"),
37
+ /** Create Domain: Add a sending domain to your Resend account and get the DNS records to verify it */
38
+ createDomain: piece.tool("create_domain"),
39
+ /** Delete Domain: Remove a domain from your Resend account */
40
+ deleteDomain: piece.tool("delete_domain"),
41
+ /** Verify Domain: Trigger a DNS verification check for a domain */
42
+ verifyDomain: piece.tool("verify_domain"),
43
+ /** List Audiences: Retrieve all contact audiences in your Resend account */
44
+ listAudiences: piece.tool("list_audiences"),
45
+ /** Create Audience: Create a new contact audience in Resend */
46
+ createAudience: piece.tool("create_audience"),
47
+ /** Delete Audience: Permanently delete an audience and all its contacts */
48
+ deleteAudience: piece.tool("delete_audience"),
49
+ /** List Broadcasts: Retrieve all broadcasts in your Resend account */
50
+ listBroadcasts: piece.tool("list_broadcasts"),
51
+ /** Create Broadcast: Create a new broadcast email to send to an audience */
52
+ createBroadcast: piece.tool("create_broadcast"),
53
+ /** Send Broadcast: Send or schedule a broadcast email to its audience */
54
+ sendBroadcast: piece.tool("send_broadcast"),
55
+ /** Delete Broadcast: Permanently delete a broadcast from your Resend account */
56
+ deleteBroadcast: piece.tool("delete_broadcast"),
57
+ /** Custom API Call: Make a custom API call to a specific endpoint */
58
+ customApiCall: piece.tool("custom_api_call"),
59
+ });
60
+ }
61
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,uBAAuB,EAA2B,MAAM,gBAAgB,CAAC;AAElF,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,YAAY,CAAU,CAAC;AACrD,MAAM,CAAC,MAAM,YAAY,GAAG,EAAW,CAAC;AAExC,MAAM,UAAU,YAAY,CAAC,MAA2B;IACtD,MAAM,KAAK,GAAG,uBAAuB,CAAC;QACpC,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,QAAQ;QACjB,cAAc,EAAE,aAAa;QAC7B,cAAc,EAAE,aAAa;QAC7B,MAAM,EAAE,YAAY;QACpB,MAAM;KACP,CAAC,CAAC;IACH,OAAO,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE;QAC1B,4CAA4C;QAC5C,SAAS,EAAE,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC;QACnC,oEAAoE;QACpE,eAAe,EAAE,KAAK,CAAC,IAAI,CAAC,mBAAmB,CAAC;QAChD,qEAAqE;QACrE,cAAc,EAAE,KAAK,CAAC,IAAI,CAAC,kBAAkB,CAAC;QAC9C,gFAAgF;QAChF,UAAU,EAAE,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC;QACrC,yEAAyE;QACzE,oBAAoB,EAAE,KAAK,CAAC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AAiB,CAAC;KAC7C,CAAC,CAAC;AACL,CAAC"}
package/package.json ADDED
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "@frogbotai/piece-resend",
3
+ "version": "0.5.0",
4
+ "description": "Resend tools for FrogBot.",
5
+ "license": "MIT",
6
+ "author": "Colby Gilbert",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/frogbotai/frogbot.git",
10
+ "directory": "packages/pieces/piece-resend"
11
+ },
12
+ "type": "module",
13
+ "main": "./dist/index.js",
14
+ "types": "./dist/index.d.ts",
15
+ "exports": {
16
+ ".": {
17
+ "import": "./dist/index.js",
18
+ "types": "./dist/index.d.ts",
19
+ "default": "./dist/index.js"
20
+ }
21
+ },
22
+ "files": [
23
+ "dist"
24
+ ],
25
+ "sideEffects": false,
26
+ "dependencies": {
27
+ "@activepieces/piece-resend": "0.4.3"
28
+ },
29
+ "peerDependencies": {
30
+ "frogbot": "0.5.0"
31
+ },
32
+ "devDependencies": {
33
+ "typescript": "5.6.2",
34
+ "frogbot": "0.5.0"
35
+ },
36
+ "publishConfig": {
37
+ "access": "public"
38
+ },
39
+ "scripts": {
40
+ "build": "tsc -p tsconfig.json",
41
+ "clean": "rm -rf dist",
42
+ "typecheck": "tsc --noEmit"
43
+ }
44
+ }