@frogbotai/piece-resend 0.33.0 → 0.35.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.
@@ -7,8 +7,8 @@ export declare const createBroadcast: import("frogbot/pieces").PieceActionDefini
7
7
  reply_to: z.ZodOptional<z.ZodString>;
8
8
  preview_text: z.ZodOptional<z.ZodString>;
9
9
  content_type: z.ZodEnum<{
10
- text: "text";
11
10
  html: "html";
11
+ text: "text";
12
12
  }>;
13
13
  content: z.ZodString;
14
14
  }, z.core.$strip>, undefined, {
@@ -8,8 +8,8 @@ export declare const send: import("frogbot/pieces").PieceActionDefinition<z.ZodO
8
8
  reply_to: z.ZodOptional<z.ZodString>;
9
9
  subject: z.ZodString;
10
10
  content_type: z.ZodEnum<{
11
- text: "text";
12
11
  html: "html";
12
+ text: "text";
13
13
  }>;
14
14
  content: z.ZodString;
15
15
  scheduled_at: z.ZodOptional<z.ZodString>;
@@ -6,8 +6,8 @@ export declare const sendBatchEmails: import("frogbot/pieces").PieceActionDefini
6
6
  to: z.ZodString;
7
7
  subject: z.ZodString;
8
8
  content_type: z.ZodEnum<{
9
- text: "text";
10
9
  html: "html";
10
+ text: "text";
11
11
  }>;
12
12
  content: z.ZodString;
13
13
  reply_to: z.ZodOptional<z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAcF,eAAO,MAAM,kBAAkB,eAAgB;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE;mBAChD,GAAG,WAAW,OAAO;0FAajC,oBAAoB;CA8CvB,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAcF,eAAO,MAAM,kBAAkB,GAAI,YAAY;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE;mBAChD,GAAG,WAAW,OAAO;0FAajC,oBAAoB;CA8CvB,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
package/dist/email.d.ts CHANGED
@@ -1,14 +1,6 @@
1
1
  export declare const resendEmail: {
2
2
  send({ message, client, options }: {
3
- message: {
4
- [x: string]: NodemailerSendMailOptions;
5
- [x: number]: NodemailerSendMailOptions;
6
- [x: symbol]: NodemailerSendMailOptions;
7
- from?: ({
8
- address: string;
9
- name?: string;
10
- } | string) | undefined;
11
- };
3
+ message: import("payload").SendEmailOptions;
12
4
  client: {
13
5
  authorize(url: URL, headers: Headers): void;
14
6
  request({ body, headers, method, path, query, redirect, response: includeResponse, }: import("./client.js").ResendRequestOptions): Promise<unknown>;
@@ -1 +1 @@
1
- {"version":3,"file":"email.d.ts","sourceRoot":"","sources":["../src/email.ts"],"names":[],"mappings":"AAmCA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;oBA/BM,CAAC;;;;;CAoD6C,CAAC"}
1
+ {"version":3,"file":"email.d.ts","sourceRoot":"","sources":["../src/email.ts"],"names":[],"mappings":"AAmCA,eAAO,MAAM,WAAW;;;;;;;;;;oBA/BM,CAAC;;;;;CAoD6C,CAAC"}
package/dist/index.d.ts CHANGED
@@ -62,8 +62,8 @@ export declare const createResend: import("frogbot/pieces").PieceFactory<{
62
62
  reply_to: import("zod").ZodOptional<import("zod").ZodString>;
63
63
  preview_text: import("zod").ZodOptional<import("zod").ZodString>;
64
64
  content_type: import("zod").ZodEnum<{
65
- text: "text";
66
65
  html: "html";
66
+ text: "text";
67
67
  }>;
68
68
  content: import("zod").ZodString;
69
69
  }, import("zod/v4/core").$strip>, undefined, {
@@ -293,8 +293,8 @@ export declare const createResend: import("frogbot/pieces").PieceFactory<{
293
293
  reply_to: import("zod").ZodOptional<import("zod").ZodString>;
294
294
  subject: import("zod").ZodString;
295
295
  content_type: import("zod").ZodEnum<{
296
- text: "text";
297
296
  html: "html";
297
+ text: "text";
298
298
  }>;
299
299
  content: import("zod").ZodString;
300
300
  scheduled_at: import("zod").ZodOptional<import("zod").ZodString>;
@@ -314,8 +314,8 @@ export declare const createResend: import("frogbot/pieces").PieceFactory<{
314
314
  to: import("zod").ZodString;
315
315
  subject: import("zod").ZodString;
316
316
  content_type: import("zod").ZodEnum<{
317
- text: "text";
318
317
  html: "html";
318
+ text: "text";
319
319
  }>;
320
320
  content: import("zod").ZodString;
321
321
  reply_to: import("zod").ZodOptional<import("zod").ZodString>;
@@ -377,15 +377,7 @@ export declare const createResend: import("frogbot/pieces").PieceFactory<{
377
377
  }))[];
378
378
  email: {
379
379
  send({ message, client, options }: {
380
- message: {
381
- [x: string]: NodemailerSendMailOptions;
382
- [x: number]: NodemailerSendMailOptions;
383
- [x: symbol]: NodemailerSendMailOptions;
384
- from?: ({
385
- address: string;
386
- name?: string;
387
- } | string) | undefined;
388
- };
380
+ message: import("payload").SendEmailOptions;
389
381
  client: {
390
382
  authorize(url: URL, headers: Headers): void;
391
383
  request({ body, headers, method, path, query, redirect, response: includeResponse, }: import("./client.js").ResendRequestOptions): Promise<unknown>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,aAAa,kYAuBhB,CAAC;AAEX,eAAO,MAAM,YAAY,aAAc,CAAC;AAExC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;oBAtD+B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAAD,CAAC;;;;;;EAsFF,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,aAAa,kYAuBhB,CAAC;AAEX,eAAO,MAAM,YAAY,aAAc,CAAC;AAExC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;oBAtD+B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAAD,CAAC;;;;;;EAsFF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frogbotai/piece-resend",
3
- "version": "0.33.0",
3
+ "version": "0.35.0",
4
4
  "description": "Resend tools for FrogBot.",
5
5
  "license": "MIT",
6
6
  "author": "Colby Gilbert",
@@ -27,11 +27,11 @@
27
27
  "zod": "^4.3.6"
28
28
  },
29
29
  "peerDependencies": {
30
- "frogbot": "0.33.0"
30
+ "frogbot": "0.35.0"
31
31
  },
32
32
  "devDependencies": {
33
- "typescript": "5.6.2",
34
- "frogbot": "0.33.0"
33
+ "typescript": "6.0.3",
34
+ "frogbot": "0.35.0"
35
35
  },
36
36
  "publishConfig": {
37
37
  "access": "public"