@hostwebhook/node-types 1.15.0 → 1.16.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.
@@ -12,7 +12,7 @@
12
12
  * dashboard owns the UI form schema, the api owns the dispatch logic),
13
13
  * but the canonical list of valid operation strings lives here.
14
14
  */
15
- export declare const GMAIL_OPERATIONS: readonly ["send", "createDraft", "replyToThread", "getMessage", "listMessages", "deleteMessage", "markRead", "markUnread", "addLabel", "removeLabel", "listLabels", "createLabel", "getThread", "trashThread", "untrashThread"];
15
+ export declare const GMAIL_OPERATIONS: readonly ["send", "createDraft", "sendDraft", "replyToThread", "getMessage", "listMessages", "deleteMessage", "markRead", "markUnread", "addLabel", "removeLabel", "listLabels", "createLabel", "getThread", "trashThread", "untrashThread"];
16
16
  export type GmailOperation = (typeof GMAIL_OPERATIONS)[number];
17
17
  /** Type guard — useful when validating untrusted input (DTOs, tool calls). */
18
18
  export declare function isGmailOperation(value: unknown): value is GmailOperation;
@@ -19,6 +19,7 @@ exports.isGmailOperation = isGmailOperation;
19
19
  exports.GMAIL_OPERATIONS = [
20
20
  'send',
21
21
  'createDraft',
22
+ 'sendDraft',
22
23
  'replyToThread',
23
24
  'getMessage',
24
25
  'listMessages',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hostwebhook/node-types",
3
- "version": "1.15.0",
3
+ "version": "1.16.0",
4
4
  "description": "Shared node type definitions, connection rules, and dispatch config for HostWebhook",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",