@frogbotai/piece-gmail 0.25.0 → 0.27.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/dist/files.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import type { FrogbotRequest } from 'frogbot';
1
+ import type { FrogBotRequest } from 'frogbot';
2
2
  import { z } from 'zod';
3
3
  export declare const attachment: z.ZodObject<{
4
4
  fileId: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
5
5
  name: z.ZodOptional<z.ZodString>;
6
6
  }, z.core.$strip>;
7
- export declare function loadFileAttachment(req: FrogbotRequest, value: z.output<typeof attachment>): Promise<{
7
+ export declare function loadFileAttachment(req: FrogBotRequest, value: z.output<typeof attachment>): Promise<{
8
8
  name: {};
9
9
  type: {};
10
10
  data: Buffer;
package/dist/index.d.ts CHANGED
@@ -32,7 +32,7 @@ export declare const createGmail: import("frogbot").PieceFactory<{
32
32
  readonly account: ({ tokens, req }: {
33
33
  tokens: import("frogbot").OAuthTokens;
34
34
  client: unknown;
35
- req: import("frogbot").FrogbotRequest;
35
+ req: import("frogbot").FrogBotRequest;
36
36
  }) => Promise<{
37
37
  id: string;
38
38
  label: string;
package/dist/mail.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { FrogbotRequest } from 'frogbot';
1
+ import type { FrogBotRequest } from 'frogbot';
2
2
  import { type gmail_v1 } from 'googleapis';
3
3
  import { z } from 'zod';
4
4
  import type { Gmail } from './client.js';
@@ -34,7 +34,7 @@ export declare const emailOutput: z.ZodObject<{
34
34
  export declare function splitAddresses(value?: string | null): string[];
35
35
  export declare function findHeader(message: gmail_v1.Schema$Message, name: string): string | null | undefined;
36
36
  export declare function getOriginal(client: Gmail, id: string): Promise<gmail_v1.Schema$Message>;
37
- export declare function saveAttachments(client: Gmail, req: FrogbotRequest, message: gmail_v1.Schema$Message): Promise<gmail_v1.Schema$Message | {
37
+ export declare function saveAttachments(client: Gmail, req: FrogBotRequest, message: gmail_v1.Schema$Message): Promise<gmail_v1.Schema$Message | {
38
38
  attachments: {
39
39
  id: string | number;
40
40
  name: string;
@@ -65,7 +65,7 @@ export declare function createRawMessage({ input, req, extraHeaders, }: {
65
65
  subject: string;
66
66
  to: string[];
67
67
  };
68
- req: FrogbotRequest;
68
+ req: FrogBotRequest;
69
69
  extraHeaders?: string[];
70
70
  }): Promise<string>;
71
71
  export declare function searchQuery(input: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frogbotai/piece-gmail",
3
- "version": "0.25.0",
3
+ "version": "0.27.0",
4
4
  "description": "Gmail tools for FrogBot.",
5
5
  "license": "MIT",
6
6
  "author": "Colby Gilbert",
@@ -26,20 +26,20 @@
26
26
  "dependencies": {
27
27
  "googleapis": "^180.0.0",
28
28
  "zod": "^4.3.6",
29
- "@frogbotai/piece-google": "0.25.0"
29
+ "@frogbotai/piece-google": "0.27.0"
30
30
  },
31
31
  "peerDependencies": {
32
- "frogbot": "0.25.0"
32
+ "frogbot": "0.27.0"
33
33
  },
34
34
  "devDependencies": {
35
35
  "typescript": "5.6.2",
36
- "frogbot": "0.25.0"
36
+ "frogbot": "0.27.0"
37
37
  },
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  },
41
41
  "scripts": {
42
- "build": "tsc -p tsconfig.json",
42
+ "build": "rm -rf dist && tsc -p tsconfig.json",
43
43
  "clean": "rm -rf dist",
44
44
  "typecheck": "tsc --noEmit"
45
45
  }