google-mcp-suite 1.2.0 → 1.3.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/calendar/methods/add_calendar_entry/index.d.ts.map +1 -1
- package/dist/calendar/methods/add_calendar_entry/index.js +6 -0
- package/dist/calendar/methods/add_calendar_entry/index.js.map +1 -1
- package/dist/calendar/methods/clear_calendar/index.d.ts.map +1 -1
- package/dist/calendar/methods/clear_calendar/index.js +6 -1
- package/dist/calendar/methods/clear_calendar/index.js.map +1 -1
- package/dist/calendar/methods/create_calendar/index.d.ts.map +1 -1
- package/dist/calendar/methods/create_calendar/index.js +6 -0
- package/dist/calendar/methods/create_calendar/index.js.map +1 -1
- package/dist/calendar/methods/delete_calendar/index.d.ts.map +1 -1
- package/dist/calendar/methods/delete_calendar/index.js +6 -1
- package/dist/calendar/methods/delete_calendar/index.js.map +1 -1
- package/dist/calendar/methods/get_calendar/index.d.ts.map +1 -1
- package/dist/calendar/methods/get_calendar/index.js +6 -0
- package/dist/calendar/methods/get_calendar/index.js.map +1 -1
- package/dist/calendar/methods/get_calendar_entry/index.d.ts.map +1 -1
- package/dist/calendar/methods/get_calendar_entry/index.js +6 -0
- package/dist/calendar/methods/get_calendar_entry/index.js.map +1 -1
- package/dist/calendar/methods/get_colors/index.d.ts.map +1 -1
- package/dist/calendar/methods/get_colors/index.js +6 -0
- package/dist/calendar/methods/get_colors/index.js.map +1 -1
- package/dist/calendar/methods/get_setting/index.d.ts.map +1 -1
- package/dist/calendar/methods/get_setting/index.js +6 -0
- package/dist/calendar/methods/get_setting/index.js.map +1 -1
- package/dist/calendar/methods/list_event_instances/index.d.ts.map +1 -1
- package/dist/calendar/methods/list_event_instances/index.js +6 -0
- package/dist/calendar/methods/list_event_instances/index.js.map +1 -1
- package/dist/calendar/methods/list_settings/index.d.ts.map +1 -1
- package/dist/calendar/methods/list_settings/index.js +6 -0
- package/dist/calendar/methods/list_settings/index.js.map +1 -1
- package/dist/calendar/methods/move_event/index.d.ts.map +1 -1
- package/dist/calendar/methods/move_event/index.js +6 -0
- package/dist/calendar/methods/move_event/index.js.map +1 -1
- package/dist/calendar/methods/patch_event/index.d.ts.map +1 -1
- package/dist/calendar/methods/patch_event/index.js +6 -0
- package/dist/calendar/methods/patch_event/index.js.map +1 -1
- package/dist/calendar/methods/query_free_busy/index.d.ts.map +1 -1
- package/dist/calendar/methods/query_free_busy/index.js +6 -0
- package/dist/calendar/methods/query_free_busy/index.js.map +1 -1
- package/dist/calendar/methods/quick_add_event/index.d.ts.map +1 -1
- package/dist/calendar/methods/quick_add_event/index.js +6 -0
- package/dist/calendar/methods/quick_add_event/index.js.map +1 -1
- package/dist/calendar/methods/remove_calendar_entry/index.d.ts +2 -1
- package/dist/calendar/methods/remove_calendar_entry/index.d.ts.map +1 -1
- package/dist/calendar/methods/remove_calendar_entry/index.js +8 -1
- package/dist/calendar/methods/remove_calendar_entry/index.js.map +1 -1
- package/dist/calendar/methods/update_calendar/index.d.ts.map +1 -1
- package/dist/calendar/methods/update_calendar/index.js +6 -0
- package/dist/calendar/methods/update_calendar/index.js.map +1 -1
- package/dist/calendar/methods/update_calendar_entry/index.d.ts.map +1 -1
- package/dist/calendar/methods/update_calendar_entry/index.js +6 -0
- package/dist/calendar/methods/update_calendar_entry/index.js.map +1 -1
- package/dist/calendar/tools/create_event/index.d.ts.map +1 -1
- package/dist/calendar/tools/create_event/index.js +6 -0
- package/dist/calendar/tools/create_event/index.js.map +1 -1
- package/dist/calendar/tools/delete_event/index.d.ts.map +1 -1
- package/dist/calendar/tools/delete_event/index.js +6 -1
- package/dist/calendar/tools/delete_event/index.js.map +1 -1
- package/dist/calendar/tools/get_event/index.d.ts.map +1 -1
- package/dist/calendar/tools/get_event/index.js +6 -0
- package/dist/calendar/tools/get_event/index.js.map +1 -1
- package/dist/calendar/tools/list_calendars/index.d.ts.map +1 -1
- package/dist/calendar/tools/list_calendars/index.js +6 -0
- package/dist/calendar/tools/list_calendars/index.js.map +1 -1
- package/dist/calendar/tools/list_events/index.d.ts.map +1 -1
- package/dist/calendar/tools/list_events/index.js +6 -0
- package/dist/calendar/tools/list_events/index.js.map +1 -1
- package/dist/calendar/tools/respond_to_event/index.d.ts.map +1 -1
- package/dist/calendar/tools/respond_to_event/index.js +6 -0
- package/dist/calendar/tools/respond_to_event/index.js.map +1 -1
- package/dist/calendar/tools/suggest_time/index.d.ts.map +1 -1
- package/dist/calendar/tools/suggest_time/index.js +6 -0
- package/dist/calendar/tools/suggest_time/index.js.map +1 -1
- package/dist/calendar/tools/update_event/index.d.ts.map +1 -1
- package/dist/calendar/tools/update_event/index.js +6 -0
- package/dist/calendar/tools/update_event/index.js.map +1 -1
- package/dist/gmail/methods/batch_delete_messages/index.d.ts.map +1 -1
- package/dist/gmail/methods/batch_delete_messages/index.js +6 -1
- package/dist/gmail/methods/batch_delete_messages/index.js.map +1 -1
- package/dist/gmail/methods/batch_modify_messages/index.d.ts.map +1 -1
- package/dist/gmail/methods/batch_modify_messages/index.js +6 -0
- package/dist/gmail/methods/batch_modify_messages/index.js.map +1 -1
- package/dist/gmail/methods/create_filter/index.d.ts.map +1 -1
- package/dist/gmail/methods/create_filter/index.js +6 -1
- package/dist/gmail/methods/create_filter/index.js.map +1 -1
- package/dist/gmail/methods/delete_draft/index.d.ts +2 -1
- package/dist/gmail/methods/delete_draft/index.d.ts.map +1 -1
- package/dist/gmail/methods/delete_draft/index.js +8 -1
- package/dist/gmail/methods/delete_draft/index.js.map +1 -1
- package/dist/gmail/methods/delete_filter/index.d.ts +2 -1
- package/dist/gmail/methods/delete_filter/index.d.ts.map +1 -1
- package/dist/gmail/methods/delete_filter/index.js +8 -1
- package/dist/gmail/methods/delete_filter/index.js.map +1 -1
- package/dist/gmail/methods/delete_label/index.d.ts +2 -2
- package/dist/gmail/methods/delete_label/index.d.ts.map +1 -1
- package/dist/gmail/methods/delete_label/index.js +8 -2
- package/dist/gmail/methods/delete_label/index.js.map +1 -1
- package/dist/gmail/methods/delete_message/index.d.ts.map +1 -1
- package/dist/gmail/methods/delete_message/index.js +6 -1
- package/dist/gmail/methods/delete_message/index.js.map +1 -1
- package/dist/gmail/methods/delete_thread/index.d.ts.map +1 -1
- package/dist/gmail/methods/delete_thread/index.js +6 -1
- package/dist/gmail/methods/delete_thread/index.js.map +1 -1
- package/dist/gmail/methods/download_attachment/index.d.ts.map +1 -1
- package/dist/gmail/methods/download_attachment/index.js +6 -0
- package/dist/gmail/methods/download_attachment/index.js.map +1 -1
- package/dist/gmail/methods/get_draft/index.d.ts.map +1 -1
- package/dist/gmail/methods/get_draft/index.js +6 -0
- package/dist/gmail/methods/get_draft/index.js.map +1 -1
- package/dist/gmail/methods/get_filter/index.d.ts.map +1 -1
- package/dist/gmail/methods/get_filter/index.js +6 -0
- package/dist/gmail/methods/get_filter/index.js.map +1 -1
- package/dist/gmail/methods/get_label/index.d.ts.map +1 -1
- package/dist/gmail/methods/get_label/index.js +6 -0
- package/dist/gmail/methods/get_label/index.js.map +1 -1
- package/dist/gmail/methods/get_message/index.d.ts.map +1 -1
- package/dist/gmail/methods/get_message/index.js +6 -0
- package/dist/gmail/methods/get_message/index.js.map +1 -1
- package/dist/gmail/methods/list_filters/index.d.ts.map +1 -1
- package/dist/gmail/methods/list_filters/index.js +6 -0
- package/dist/gmail/methods/list_filters/index.js.map +1 -1
- package/dist/gmail/methods/list_messages/index.d.ts.map +1 -1
- package/dist/gmail/methods/list_messages/index.js +6 -0
- package/dist/gmail/methods/list_messages/index.js.map +1 -1
- package/dist/gmail/methods/send_draft/index.d.ts.map +1 -1
- package/dist/gmail/methods/send_draft/index.js +6 -1
- package/dist/gmail/methods/send_draft/index.js.map +1 -1
- package/dist/gmail/methods/send_message/index.d.ts.map +1 -1
- package/dist/gmail/methods/send_message/index.js +6 -1
- package/dist/gmail/methods/send_message/index.js.map +1 -1
- package/dist/gmail/methods/trash_message/index.d.ts.map +1 -1
- package/dist/gmail/methods/trash_message/index.js +6 -0
- package/dist/gmail/methods/trash_message/index.js.map +1 -1
- package/dist/gmail/methods/trash_thread/index.d.ts.map +1 -1
- package/dist/gmail/methods/trash_thread/index.js +6 -0
- package/dist/gmail/methods/trash_thread/index.js.map +1 -1
- package/dist/gmail/methods/untrash_message/index.d.ts.map +1 -1
- package/dist/gmail/methods/untrash_message/index.js +6 -0
- package/dist/gmail/methods/untrash_message/index.js.map +1 -1
- package/dist/gmail/methods/untrash_thread/index.d.ts.map +1 -1
- package/dist/gmail/methods/untrash_thread/index.js +6 -0
- package/dist/gmail/methods/untrash_thread/index.js.map +1 -1
- package/dist/gmail/methods/update_draft/index.d.ts.map +1 -1
- package/dist/gmail/methods/update_draft/index.js +6 -0
- package/dist/gmail/methods/update_draft/index.js.map +1 -1
- package/dist/gmail/methods/update_label/index.d.ts.map +1 -1
- package/dist/gmail/methods/update_label/index.js +6 -0
- package/dist/gmail/methods/update_label/index.js.map +1 -1
- package/dist/gmail/tools/create_draft/index.d.ts.map +1 -1
- package/dist/gmail/tools/create_draft/index.js +6 -0
- package/dist/gmail/tools/create_draft/index.js.map +1 -1
- package/dist/gmail/tools/create_label/index.d.ts.map +1 -1
- package/dist/gmail/tools/create_label/index.js +6 -0
- package/dist/gmail/tools/create_label/index.js.map +1 -1
- package/dist/gmail/tools/get_thread/index.d.ts.map +1 -1
- package/dist/gmail/tools/get_thread/index.js +6 -0
- package/dist/gmail/tools/get_thread/index.js.map +1 -1
- package/dist/gmail/tools/label_message/index.d.ts.map +1 -1
- package/dist/gmail/tools/label_message/index.js +6 -0
- package/dist/gmail/tools/label_message/index.js.map +1 -1
- package/dist/gmail/tools/label_thread/index.d.ts.map +1 -1
- package/dist/gmail/tools/label_thread/index.js +6 -0
- package/dist/gmail/tools/label_thread/index.js.map +1 -1
- package/dist/gmail/tools/list_drafts/index.d.ts.map +1 -1
- package/dist/gmail/tools/list_drafts/index.js +10 -0
- package/dist/gmail/tools/list_drafts/index.js.map +1 -1
- package/dist/gmail/tools/list_labels/index.d.ts.map +1 -1
- package/dist/gmail/tools/list_labels/index.js +6 -0
- package/dist/gmail/tools/list_labels/index.js.map +1 -1
- package/dist/gmail/tools/search_threads/index.d.ts.map +1 -1
- package/dist/gmail/tools/search_threads/index.js +6 -0
- package/dist/gmail/tools/search_threads/index.js.map +1 -1
- package/dist/gmail/tools/unlabel_message/index.d.ts.map +1 -1
- package/dist/gmail/tools/unlabel_message/index.js +6 -0
- package/dist/gmail/tools/unlabel_message/index.js.map +1 -1
- package/dist/gmail/tools/unlabel_thread/index.d.ts.map +1 -1
- package/dist/gmail/tools/unlabel_thread/index.js +6 -0
- package/dist/gmail/tools/unlabel_thread/index.js.map +1 -1
- package/dist/lib/operation.d.ts +45 -3
- package/dist/lib/operation.d.ts.map +1 -1
- package/dist/lib/operation.js.map +1 -1
- package/dist/lib/server.d.ts +1 -3
- package/dist/lib/server.d.ts.map +1 -1
- package/dist/lib/server.js +2 -2
- package/dist/lib/server.js.map +1 -1
- package/dist/sheets/methods/append_values/index.d.ts.map +1 -1
- package/dist/sheets/methods/append_values/index.js +6 -0
- package/dist/sheets/methods/append_values/index.js.map +1 -1
- package/dist/sheets/methods/batch_clear_values/index.d.ts.map +1 -1
- package/dist/sheets/methods/batch_clear_values/index.js +6 -1
- package/dist/sheets/methods/batch_clear_values/index.js.map +1 -1
- package/dist/sheets/methods/batch_clear_values_by_data_filter/index.d.ts.map +1 -1
- package/dist/sheets/methods/batch_clear_values_by_data_filter/index.js +6 -1
- package/dist/sheets/methods/batch_clear_values_by_data_filter/index.js.map +1 -1
- package/dist/sheets/methods/batch_get_values/index.d.ts.map +1 -1
- package/dist/sheets/methods/batch_get_values/index.js +6 -0
- package/dist/sheets/methods/batch_get_values/index.js.map +1 -1
- package/dist/sheets/methods/batch_get_values_by_data_filter/index.d.ts.map +1 -1
- package/dist/sheets/methods/batch_get_values_by_data_filter/index.js +6 -0
- package/dist/sheets/methods/batch_get_values_by_data_filter/index.js.map +1 -1
- package/dist/sheets/methods/batch_update_values/index.d.ts.map +1 -1
- package/dist/sheets/methods/batch_update_values/index.js +6 -0
- package/dist/sheets/methods/batch_update_values/index.js.map +1 -1
- package/dist/sheets/methods/batch_update_values_by_data_filter/index.d.ts.map +1 -1
- package/dist/sheets/methods/batch_update_values_by_data_filter/index.js +6 -0
- package/dist/sheets/methods/batch_update_values_by_data_filter/index.js.map +1 -1
- package/dist/sheets/methods/clear_values/index.d.ts.map +1 -1
- package/dist/sheets/methods/clear_values/index.js +6 -1
- package/dist/sheets/methods/clear_values/index.js.map +1 -1
- package/dist/sheets/methods/copy_sheet/index.d.ts.map +1 -1
- package/dist/sheets/methods/copy_sheet/index.js +6 -0
- package/dist/sheets/methods/copy_sheet/index.js.map +1 -1
- package/dist/sheets/methods/create_spreadsheet/index.d.ts.map +1 -1
- package/dist/sheets/methods/create_spreadsheet/index.js +6 -0
- package/dist/sheets/methods/create_spreadsheet/index.js.map +1 -1
- package/dist/sheets/methods/get_developer_metadata/index.d.ts.map +1 -1
- package/dist/sheets/methods/get_developer_metadata/index.js +6 -0
- package/dist/sheets/methods/get_developer_metadata/index.js.map +1 -1
- package/dist/sheets/methods/get_spreadsheet/index.d.ts.map +1 -1
- package/dist/sheets/methods/get_spreadsheet/index.js +6 -0
- package/dist/sheets/methods/get_spreadsheet/index.js.map +1 -1
- package/dist/sheets/methods/get_values/index.d.ts.map +1 -1
- package/dist/sheets/methods/get_values/index.js +6 -0
- package/dist/sheets/methods/get_values/index.js.map +1 -1
- package/dist/sheets/methods/search_developer_metadata/index.d.ts.map +1 -1
- package/dist/sheets/methods/search_developer_metadata/index.js +6 -0
- package/dist/sheets/methods/search_developer_metadata/index.js.map +1 -1
- package/dist/sheets/methods/update_values/index.d.ts.map +1 -1
- package/dist/sheets/methods/update_values/index.js +6 -0
- package/dist/sheets/methods/update_values/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/get_message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,cAAc,CAAC;IACxC,WAAW,EAAE,6BAA6B;IAC1C,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/get\n * Fetches a single message and projects it. MINIMAL maps to `metadata`,\n * FULL_CONTENT (default) maps to `full` (decoded body + attachment ids).\n */\nexport const get_message = gmailOperation({\n description: 'Get a single message by id.',\n schema,\n handler,\n});\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/get_message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,cAAc,CAAC;IACxC,WAAW,EAAE,6BAA6B;IAC1C,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;QAClB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/get\n * Fetches a single message and projects it. MINIMAL maps to `metadata`,\n * FULL_CONTENT (default) maps to `full` (decoded body + attachment ids).\n */\nexport const get_message = gmailOperation({\n description: 'Get a single message by id.',\n annotations: {\n readOnlyHint: true,\n destructiveHint: false,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/list_filters/index.ts"],"names":[],"mappings":"AAIA,8GAA8G;AAC9G,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/list_filters/index.ts"],"names":[],"mappings":"AAIA,8GAA8G;AAC9G,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;iCAUvB,CAAC"}
|
|
@@ -4,6 +4,12 @@ import { schema } from './schema.js';
|
|
|
4
4
|
/** Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.settings.filters/list */
|
|
5
5
|
export const list_filters = gmailOperation({
|
|
6
6
|
description: 'List all filters for the account.',
|
|
7
|
+
annotations: {
|
|
8
|
+
readOnlyHint: true,
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
idempotentHint: true,
|
|
11
|
+
openWorldHint: false,
|
|
12
|
+
},
|
|
7
13
|
schema,
|
|
8
14
|
handler,
|
|
9
15
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/list_filters/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,8GAA8G;AAC9G,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,mCAAmC;IAChD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/** Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.settings.filters/list */\nexport const list_filters = gmailOperation({\n description: 'List all filters for the account.',\n schema,\n handler,\n});\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/list_filters/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,8GAA8G;AAC9G,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,mCAAmC;IAChD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;QAClB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/** Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.settings.filters/list */\nexport const list_filters = gmailOperation({\n description: 'List all filters for the account.',\n annotations: {\n readOnlyHint: true,\n destructiveHint: false,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/list_messages/index.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/list_messages/index.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAUxB,CAAC"}
|
|
@@ -8,6 +8,12 @@ import { schema } from './schema.js';
|
|
|
8
8
|
*/
|
|
9
9
|
export const list_messages = gmailOperation({
|
|
10
10
|
description: 'List messages using Gmail query syntax.',
|
|
11
|
+
annotations: {
|
|
12
|
+
readOnlyHint: true,
|
|
13
|
+
destructiveHint: false,
|
|
14
|
+
idempotentHint: true,
|
|
15
|
+
openWorldHint: false,
|
|
16
|
+
},
|
|
11
17
|
schema,
|
|
12
18
|
handler,
|
|
13
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/list_messages/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,cAAc,CAAC;IAC1C,WAAW,EAAE,yCAAyC;IACtD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/list\n * Lists message stubs, then fetches each with `metadata` format (headers +\n * snippet) for the projection. Use get_message for a full body.\n */\nexport const list_messages = gmailOperation({\n description: 'List messages using Gmail query syntax.',\n schema,\n handler,\n});\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/list_messages/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,cAAc,CAAC;IAC1C,WAAW,EAAE,yCAAyC;IACtD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;QAClB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/list\n * Lists message stubs, then fetches each with `metadata` format (headers +\n * snippet) for the projection. Use get_message for a full body.\n */\nexport const list_messages = gmailOperation({\n description: 'List messages using Gmail query syntax.',\n annotations: {\n readOnlyHint: true,\n destructiveHint: false,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/send_draft/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/send_draft/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;iCAUrB,CAAC"}
|
|
@@ -9,7 +9,12 @@ import { schema } from './schema.js';
|
|
|
9
9
|
*/
|
|
10
10
|
export const send_draft = gmailOperation({
|
|
11
11
|
description: 'Send an existing draft.',
|
|
12
|
-
|
|
12
|
+
annotations: {
|
|
13
|
+
readOnlyHint: false,
|
|
14
|
+
destructiveHint: true,
|
|
15
|
+
idempotentHint: false,
|
|
16
|
+
openWorldHint: true,
|
|
17
|
+
},
|
|
13
18
|
schema,
|
|
14
19
|
handler,
|
|
15
20
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/send_draft/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,cAAc,CAAC;IACvC,WAAW,EAAE,yBAAyB;IACtC,WAAW,EAAE,IAAI;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/send_draft/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,cAAc,CAAC;IACvC,WAAW,EAAE,yBAAyB;IACtC,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,IAAI;QACrB,cAAc,EAAE,KAAK;QACrB,aAAa,EAAE,IAAI;KACpB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.drafts/send\n *\n * Irreversible: sends an existing draft, which deletes the draft and creates a\n * message with the SENT label. Returns the sent message.\n */\nexport const send_draft = gmailOperation({\n description: 'Send an existing draft.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: true,\n idempotentHint: false,\n openWorldHint: true,\n },\n schema,\n handler,\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/send_message/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/send_message/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAUvB,CAAC"}
|
|
@@ -10,7 +10,12 @@ import { schema } from './schema.js';
|
|
|
10
10
|
*/
|
|
11
11
|
export const send_message = gmailOperation({
|
|
12
12
|
description: 'Send an email immediately.',
|
|
13
|
-
|
|
13
|
+
annotations: {
|
|
14
|
+
readOnlyHint: false,
|
|
15
|
+
destructiveHint: true,
|
|
16
|
+
idempotentHint: false,
|
|
17
|
+
openWorldHint: true,
|
|
18
|
+
},
|
|
14
19
|
schema,
|
|
15
20
|
handler,
|
|
16
21
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/send_message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,4BAA4B;IACzC,WAAW,EAAE,IAAI;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/send_message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,4BAA4B;IACzC,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,IAAI;QACrB,cAAc,EAAE,KAAK;QACrB,aAAa,EAAE,IAAI;KACpB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/send\n *\n * Irreversible: assembles an RFC 822 message and sends it immediately. When\n * `replyToMessageId` is given, the original is fetched for its thread and\n * Message-ID so the reply threads correctly.\n */\nexport const send_message = gmailOperation({\n description: 'Send an email immediately.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: true,\n idempotentHint: false,\n openWorldHint: true,\n },\n schema,\n handler,\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/trash_message/index.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/trash_message/index.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;iCAUxB,CAAC"}
|
|
@@ -7,6 +7,12 @@ import { schema } from './schema.js';
|
|
|
7
7
|
*/
|
|
8
8
|
export const trash_message = gmailOperation({
|
|
9
9
|
description: 'Move a message to the trash.',
|
|
10
|
+
annotations: {
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
destructiveHint: true,
|
|
13
|
+
idempotentHint: true,
|
|
14
|
+
openWorldHint: false,
|
|
15
|
+
},
|
|
10
16
|
schema,
|
|
11
17
|
handler,
|
|
12
18
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/trash_message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,cAAc,CAAC;IAC1C,WAAW,EAAE,8BAA8B;IAC3C,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/trash\n * Reversible: moves a message to the trash (undo with untrash_message).\n */\nexport const trash_message = gmailOperation({\n description: 'Move a message to the trash.',\n schema,\n handler,\n});\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/trash_message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,cAAc,CAAC;IAC1C,WAAW,EAAE,8BAA8B;IAC3C,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,IAAI;QACrB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/trash\n * Reversible: moves a message to the trash (undo with untrash_message).\n */\nexport const trash_message = gmailOperation({\n description: 'Move a message to the trash.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: true,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/trash_thread/index.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/trash_thread/index.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;iCAUvB,CAAC"}
|
|
@@ -7,6 +7,12 @@ import { schema } from './schema.js';
|
|
|
7
7
|
*/
|
|
8
8
|
export const trash_thread = gmailOperation({
|
|
9
9
|
description: 'Move a thread to the trash.',
|
|
10
|
+
annotations: {
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
destructiveHint: true,
|
|
13
|
+
idempotentHint: true,
|
|
14
|
+
openWorldHint: false,
|
|
15
|
+
},
|
|
10
16
|
schema,
|
|
11
17
|
handler,
|
|
12
18
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/trash_thread/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,6BAA6B;IAC1C,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.threads/trash\n * Reversible: moves every message in a thread to the trash (undo with untrash_thread).\n */\nexport const trash_thread = gmailOperation({\n description: 'Move a thread to the trash.',\n schema,\n handler,\n});\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/trash_thread/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,6BAA6B;IAC1C,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,IAAI;QACrB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.threads/trash\n * Reversible: moves every message in a thread to the trash (undo with untrash_thread).\n */\nexport const trash_thread = gmailOperation({\n description: 'Move a thread to the trash.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: true,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/untrash_message/index.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/untrash_message/index.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;iCAU1B,CAAC"}
|
|
@@ -7,6 +7,12 @@ import { schema } from './schema.js';
|
|
|
7
7
|
*/
|
|
8
8
|
export const untrash_message = gmailOperation({
|
|
9
9
|
description: 'Remove a message from the trash.',
|
|
10
|
+
annotations: {
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
destructiveHint: false,
|
|
13
|
+
idempotentHint: true,
|
|
14
|
+
openWorldHint: false,
|
|
15
|
+
},
|
|
10
16
|
schema,
|
|
11
17
|
handler,
|
|
12
18
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/untrash_message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC;IAC5C,WAAW,EAAE,kCAAkC;IAC/C,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/untrash\n * Reversible: removes a message from the trash.\n */\nexport const untrash_message = gmailOperation({\n description: 'Remove a message from the trash.',\n schema,\n handler,\n});\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/untrash_message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC;IAC5C,WAAW,EAAE,kCAAkC;IAC/C,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/untrash\n * Reversible: removes a message from the trash.\n */\nexport const untrash_message = gmailOperation({\n description: 'Remove a message from the trash.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: false,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/untrash_thread/index.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/untrash_thread/index.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;iCAUzB,CAAC"}
|
|
@@ -7,6 +7,12 @@ import { schema } from './schema.js';
|
|
|
7
7
|
*/
|
|
8
8
|
export const untrash_thread = gmailOperation({
|
|
9
9
|
description: 'Remove a thread from the trash.',
|
|
10
|
+
annotations: {
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
destructiveHint: false,
|
|
13
|
+
idempotentHint: true,
|
|
14
|
+
openWorldHint: false,
|
|
15
|
+
},
|
|
10
16
|
schema,
|
|
11
17
|
handler,
|
|
12
18
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/untrash_thread/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,cAAc,CAAC;IAC3C,WAAW,EAAE,iCAAiC;IAC9C,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.threads/untrash\n * Reversible: removes every message in a thread from the trash.\n */\nexport const untrash_thread = gmailOperation({\n description: 'Remove a thread from the trash.',\n schema,\n handler,\n});\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/untrash_thread/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,cAAc,CAAC;IAC3C,WAAW,EAAE,iCAAiC;IAC9C,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.threads/untrash\n * Reversible: removes every message in a thread from the trash.\n */\nexport const untrash_thread = gmailOperation({\n description: 'Remove a thread from the trash.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: false,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/update_draft/index.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/update_draft/index.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAUvB,CAAC"}
|
|
@@ -8,6 +8,12 @@ import { schema } from './schema.js';
|
|
|
8
8
|
*/
|
|
9
9
|
export const update_draft = gmailOperation({
|
|
10
10
|
description: 'Replace the content of an existing draft.',
|
|
11
|
+
annotations: {
|
|
12
|
+
readOnlyHint: false,
|
|
13
|
+
destructiveHint: false,
|
|
14
|
+
idempotentHint: true,
|
|
15
|
+
openWorldHint: false,
|
|
16
|
+
},
|
|
11
17
|
schema,
|
|
12
18
|
handler,
|
|
13
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/update_draft/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,2CAA2C;IACxD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.drafts/update\n * Replaces the draft's content with a freshly assembled message, then re-fetches\n * it `full` for projection.\n */\nexport const update_draft = gmailOperation({\n description: 'Replace the content of an existing draft.',\n schema,\n handler,\n});\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/update_draft/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,2CAA2C;IACxD,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.drafts/update\n * Replaces the draft's content with a freshly assembled message, then re-fetches\n * it `full` for projection.\n */\nexport const update_draft = gmailOperation({\n description: 'Replace the content of an existing draft.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: false,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/update_label/index.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/update_label/index.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;iCAUvB,CAAC"}
|
|
@@ -7,6 +7,12 @@ import { schema } from './schema.js';
|
|
|
7
7
|
*/
|
|
8
8
|
export const update_label = gmailOperation({
|
|
9
9
|
description: 'Update a label name and/or color.',
|
|
10
|
+
annotations: {
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
destructiveHint: false,
|
|
13
|
+
idempotentHint: true,
|
|
14
|
+
openWorldHint: false,
|
|
15
|
+
},
|
|
10
16
|
schema,
|
|
11
17
|
handler,
|
|
12
18
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/update_label/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,mCAAmC;IAChD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.labels/patch\n * Patches name and/or color of a user label.\n */\nexport const update_label = gmailOperation({\n description: 'Update a label name and/or color.',\n schema,\n handler,\n});\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/update_label/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,mCAAmC;IAChD,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.labels/patch\n * Patches name and/or color of a user label.\n */\nexport const update_label = gmailOperation({\n description: 'Update a label name and/or color.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: false,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/create_draft/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/create_draft/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAUvB,CAAC"}
|
|
@@ -10,6 +10,12 @@ import { schema } from './schema.js';
|
|
|
10
10
|
*/
|
|
11
11
|
export const create_draft = gmailOperation({
|
|
12
12
|
description: 'Create a draft email.',
|
|
13
|
+
annotations: {
|
|
14
|
+
readOnlyHint: false,
|
|
15
|
+
destructiveHint: false,
|
|
16
|
+
idempotentHint: false,
|
|
17
|
+
openWorldHint: false,
|
|
18
|
+
},
|
|
13
19
|
schema,
|
|
14
20
|
handler,
|
|
15
21
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/create_draft/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,uBAAuB;IACpC,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/create_draft\n *\n * Assembles an RFC 822 message and creates a draft. When `replyToMessageId` is\n * given, the original is fetched for its thread and Message-ID so the draft\n * threads correctly. The created draft is re-fetched `full` for projection.\n */\nexport const create_draft = gmailOperation({\n description: 'Create a draft email.',\n schema,\n handler,\n});\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/create_draft/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,uBAAuB;IACpC,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,KAAK;QACrB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/create_draft\n *\n * Assembles an RFC 822 message and creates a draft. When `replyToMessageId` is\n * given, the original is fetched for its thread and Message-ID so the draft\n * threads correctly. The created draft is re-fetched `full` for projection.\n */\nexport const create_draft = gmailOperation({\n description: 'Create a draft email.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: false,\n idempotentHint: false,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/create_label/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/create_label/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;iCAUvB,CAAC"}
|
|
@@ -9,6 +9,12 @@ import { schema } from './schema.js';
|
|
|
9
9
|
*/
|
|
10
10
|
export const create_label = gmailOperation({
|
|
11
11
|
description: 'Create a new label.',
|
|
12
|
+
annotations: {
|
|
13
|
+
readOnlyHint: false,
|
|
14
|
+
destructiveHint: false,
|
|
15
|
+
idempotentHint: false,
|
|
16
|
+
openWorldHint: false,
|
|
17
|
+
},
|
|
12
18
|
schema,
|
|
13
19
|
handler,
|
|
14
20
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/create_label/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,qBAAqB;IAClC,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/create_label\n *\n * Creates a user label via `users.labels.create` and projects the result\n * (id -> labelId). `displayName` maps to the REST `name`.\n */\nexport const create_label = gmailOperation({\n description: 'Create a new label.',\n schema,\n handler,\n});\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/create_label/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,qBAAqB;IAClC,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,KAAK;QACrB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/create_label\n *\n * Creates a user label via `users.labels.create` and projects the result\n * (id -> labelId). `displayName` maps to the REST `name`.\n */\nexport const create_label = gmailOperation({\n description: 'Create a new label.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: false,\n idempotentHint: false,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/get_thread/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/get_thread/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAUrB,CAAC"}
|
|
@@ -10,6 +10,12 @@ import { schema } from './schema.js';
|
|
|
10
10
|
*/
|
|
11
11
|
export const get_thread = gmailOperation({
|
|
12
12
|
description: 'Get a thread and its messages by id.',
|
|
13
|
+
annotations: {
|
|
14
|
+
readOnlyHint: true,
|
|
15
|
+
destructiveHint: false,
|
|
16
|
+
idempotentHint: true,
|
|
17
|
+
openWorldHint: false,
|
|
18
|
+
},
|
|
13
19
|
schema,
|
|
14
20
|
handler,
|
|
15
21
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/get_thread/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,cAAc,CAAC;IACvC,WAAW,EAAE,sCAAsC;IACnD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/get_thread\n *\n * MINIMAL maps to the REST `metadata` format (headers + snippet); FULL_CONTENT\n * (the default) maps to `full`, which carries the MIME tree projected to\n * plaintext bodies and attachment ids.\n */\nexport const get_thread = gmailOperation({\n description: 'Get a thread and its messages by id.',\n schema,\n handler,\n});\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/get_thread/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,cAAc,CAAC;IACvC,WAAW,EAAE,sCAAsC;IACnD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;QAClB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/get_thread\n *\n * MINIMAL maps to the REST `metadata` format (headers + snippet); FULL_CONTENT\n * (the default) maps to `full`, which carries the MIME tree projected to\n * plaintext bodies and attachment ids.\n */\nexport const get_thread = gmailOperation({\n description: 'Get a thread and its messages by id.',\n annotations: {\n readOnlyHint: true,\n destructiveHint: false,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/label_message/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,aAAa;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/label_message/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,aAAa;;;;;;iCAUxB,CAAC"}
|
|
@@ -9,6 +9,12 @@ import { schema } from './schema.js';
|
|
|
9
9
|
*/
|
|
10
10
|
export const label_message = gmailOperation({
|
|
11
11
|
description: 'Add labels to a message.',
|
|
12
|
+
annotations: {
|
|
13
|
+
readOnlyHint: false,
|
|
14
|
+
destructiveHint: false,
|
|
15
|
+
idempotentHint: true,
|
|
16
|
+
openWorldHint: false,
|
|
17
|
+
},
|
|
12
18
|
schema,
|
|
13
19
|
handler,
|
|
14
20
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/label_message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,cAAc,CAAC;IAC1C,WAAW,EAAE,0BAA0B;IACvC,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/label_message\n * Adds labels via `users.messages.modify` (addLabelIds); confirms the applied\n * labels. (Matches `label_thread`, whose thread response carries no single label\n * set, so both tools report the labels acted on rather than the resulting state.)\n */\nexport const label_message = gmailOperation({\n description: 'Add labels to a message.',\n schema,\n handler,\n});\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/label_message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,cAAc,CAAC;IAC1C,WAAW,EAAE,0BAA0B;IACvC,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/label_message\n * Adds labels via `users.messages.modify` (addLabelIds); confirms the applied\n * labels. (Matches `label_thread`, whose thread response carries no single label\n * set, so both tools report the labels acted on rather than the resulting state.)\n */\nexport const label_message = gmailOperation({\n description: 'Add labels to a message.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: false,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/label_thread/index.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/label_thread/index.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;iCAUvB,CAAC"}
|
|
@@ -8,6 +8,12 @@ import { schema } from './schema.js';
|
|
|
8
8
|
*/
|
|
9
9
|
export const label_thread = gmailOperation({
|
|
10
10
|
description: 'Add labels to a thread.',
|
|
11
|
+
annotations: {
|
|
12
|
+
readOnlyHint: false,
|
|
13
|
+
destructiveHint: false,
|
|
14
|
+
idempotentHint: true,
|
|
15
|
+
openWorldHint: false,
|
|
16
|
+
},
|
|
11
17
|
schema,
|
|
12
18
|
handler,
|
|
13
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/label_thread/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,yBAAyB;IACtC,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/label_thread\n * Adds labels to every message in a thread via `users.threads.modify`\n * (addLabelIds); confirms the applied labels.\n */\nexport const label_thread = gmailOperation({\n description: 'Add labels to a thread.',\n schema,\n handler,\n});\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/label_thread/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,yBAAyB;IACtC,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/label_thread\n * Adds labels to every message in a thread via `users.threads.modify`\n * (addLabelIds); confirms the applied labels.\n */\nexport const label_thread = gmailOperation({\n description: 'Add labels to a thread.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: false,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/list_drafts/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/list_drafts/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;iCActB,CAAC"}
|
|
@@ -9,6 +9,16 @@ import { schema } from './schema.js';
|
|
|
9
9
|
*/
|
|
10
10
|
export const list_drafts = gmailOperation({
|
|
11
11
|
description: 'List draft messages, with optional Gmail query filtering.',
|
|
12
|
+
// Deviation: Google's page marks all four hints false, contradicting its
|
|
13
|
+
// sibling list operations (list_labels, search_threads are read-only); a
|
|
14
|
+
// list cannot modify the account, so this transcribes the corrected values.
|
|
15
|
+
// See COVERAGE.md.
|
|
16
|
+
annotations: {
|
|
17
|
+
readOnlyHint: true,
|
|
18
|
+
destructiveHint: false,
|
|
19
|
+
idempotentHint: true,
|
|
20
|
+
openWorldHint: false,
|
|
21
|
+
},
|
|
12
22
|
schema,
|
|
13
23
|
handler,
|
|
14
24
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/list_drafts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,cAAc,CAAC;IACxC,WAAW,EAAE,2DAA2D;IACxE,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/list_drafts\n *\n * `users.drafts.list` returns id + message stubs; each draft is fetched `full`\n * so the projection can populate subject, recipients, and the body.\n */\nexport const list_drafts = gmailOperation({\n description: 'List draft messages, with optional Gmail query filtering.',\n schema,\n handler,\n});\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/list_drafts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,cAAc,CAAC;IACxC,WAAW,EAAE,2DAA2D;IACxE,yEAAyE;IACzE,yEAAyE;IACzE,4EAA4E;IAC5E,mBAAmB;IACnB,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;QAClB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/list_drafts\n *\n * `users.drafts.list` returns id + message stubs; each draft is fetched `full`\n * so the projection can populate subject, recipients, and the body.\n */\nexport const list_drafts = gmailOperation({\n description: 'List draft messages, with optional Gmail query filtering.',\n // Deviation: Google's page marks all four hints false, contradicting its\n // sibling list operations (list_labels, search_threads are read-only); a\n // list cannot modify the account, so this transcribes the corrected values.\n // See COVERAGE.md.\n annotations: {\n readOnlyHint: true,\n destructiveHint: false,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/list_labels/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/list_labels/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;iCAUtB,CAAC"}
|
|
@@ -10,6 +10,12 @@ import { schema } from './schema.js';
|
|
|
10
10
|
*/
|
|
11
11
|
export const list_labels = gmailOperation({
|
|
12
12
|
description: 'List the labels in the mailbox.',
|
|
13
|
+
annotations: {
|
|
14
|
+
readOnlyHint: true,
|
|
15
|
+
destructiveHint: false,
|
|
16
|
+
idempotentHint: true,
|
|
17
|
+
openWorldHint: false,
|
|
18
|
+
},
|
|
13
19
|
schema,
|
|
14
20
|
handler,
|
|
15
21
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/list_labels/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,cAAc,CAAC;IACxC,WAAW,EAAE,iCAAiC;IAC9C,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/list_labels\n *\n * The REST `users.labels.list` returns every label in one call (no paging) with\n * basic fields; `color` and the thread counts are populated only when present.\n * The projection renames `id` -> `labelId` to match the documented shape.\n */\nexport const list_labels = gmailOperation({\n description: 'List the labels in the mailbox.',\n schema,\n handler,\n});\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/list_labels/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,cAAc,CAAC;IACxC,WAAW,EAAE,iCAAiC;IAC9C,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;QAClB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/list_labels\n *\n * The REST `users.labels.list` returns every label in one call (no paging) with\n * basic fields; `color` and the thread counts are populated only when present.\n * The projection renames `id` -> `labelId` to match the documented shape.\n */\nexport const list_labels = gmailOperation({\n description: 'List the labels in the mailbox.',\n annotations: {\n readOnlyHint: true,\n destructiveHint: false,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/search_threads/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/search_threads/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAUzB,CAAC"}
|
|
@@ -10,6 +10,12 @@ import { schema } from './schema.js';
|
|
|
10
10
|
*/
|
|
11
11
|
export const search_threads = gmailOperation({
|
|
12
12
|
description: 'Search threads. Returns thread ids and snippets; use get_thread for messages.',
|
|
13
|
+
annotations: {
|
|
14
|
+
readOnlyHint: true,
|
|
15
|
+
destructiveHint: false,
|
|
16
|
+
idempotentHint: true,
|
|
17
|
+
openWorldHint: false,
|
|
18
|
+
},
|
|
13
19
|
schema,
|
|
14
20
|
handler,
|
|
15
21
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/search_threads/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,cAAc,CAAC;IAC3C,WAAW,EAAE,+EAA+E;IAC5F,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/search_threads\n *\n * One `users.threads.list` call: returns thread ids and the snippet the list\n * response already carries, with no per-thread fetch. Use `get_thread(id)` to\n * hydrate a thread's full messages on demand.\n */\nexport const search_threads = gmailOperation({\n description: 'Search threads. Returns thread ids and snippets; use get_thread for messages.',\n schema,\n handler,\n});\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/search_threads/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,cAAc,CAAC;IAC3C,WAAW,EAAE,+EAA+E;IAC5F,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;QAClB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/search_threads\n *\n * One `users.threads.list` call: returns thread ids and the snippet the list\n * response already carries, with no per-thread fetch. Use `get_thread(id)` to\n * hydrate a thread's full messages on demand.\n */\nexport const search_threads = gmailOperation({\n description: 'Search threads. Returns thread ids and snippets; use get_thread for messages.',\n annotations: {\n readOnlyHint: true,\n destructiveHint: false,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/unlabel_message/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,eAAe;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/unlabel_message/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,eAAe;;;;;;iCAU1B,CAAC"}
|
|
@@ -9,6 +9,12 @@ import { schema } from './schema.js';
|
|
|
9
9
|
*/
|
|
10
10
|
export const unlabel_message = gmailOperation({
|
|
11
11
|
description: 'Remove labels from a message.',
|
|
12
|
+
annotations: {
|
|
13
|
+
readOnlyHint: false,
|
|
14
|
+
destructiveHint: true,
|
|
15
|
+
idempotentHint: true,
|
|
16
|
+
openWorldHint: false,
|
|
17
|
+
},
|
|
12
18
|
schema,
|
|
13
19
|
handler,
|
|
14
20
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/unlabel_message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC;IAC5C,WAAW,EAAE,+BAA+B;IAC5C,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/unlabel_message\n * Removes labels via `users.messages.modify` (removeLabelIds); confirms the\n * removed labels. (Matches `unlabel_thread`, whose thread response carries no\n * single label set, so both tools report the labels acted on.)\n */\nexport const unlabel_message = gmailOperation({\n description: 'Remove labels from a message.',\n schema,\n handler,\n});\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/unlabel_message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC;IAC5C,WAAW,EAAE,+BAA+B;IAC5C,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,IAAI;QACrB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/unlabel_message\n * Removes labels via `users.messages.modify` (removeLabelIds); confirms the\n * removed labels. (Matches `unlabel_thread`, whose thread response carries no\n * single label set, so both tools report the labels acted on.)\n */\nexport const unlabel_message = gmailOperation({\n description: 'Remove labels from a message.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: true,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/unlabel_thread/index.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/unlabel_thread/index.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;;;;iCAUzB,CAAC"}
|
|
@@ -8,6 +8,12 @@ import { schema } from './schema.js';
|
|
|
8
8
|
*/
|
|
9
9
|
export const unlabel_thread = gmailOperation({
|
|
10
10
|
description: 'Remove labels from a thread.',
|
|
11
|
+
annotations: {
|
|
12
|
+
readOnlyHint: false,
|
|
13
|
+
destructiveHint: true,
|
|
14
|
+
idempotentHint: true,
|
|
15
|
+
openWorldHint: false,
|
|
16
|
+
},
|
|
11
17
|
schema,
|
|
12
18
|
handler,
|
|
13
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/unlabel_thread/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,cAAc,CAAC;IAC3C,WAAW,EAAE,8BAA8B;IAC3C,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/unlabel_thread\n * Removes labels from every message in a thread via `users.threads.modify`\n * (removeLabelIds); confirms the removed labels.\n */\nexport const unlabel_thread = gmailOperation({\n description: 'Remove labels from a thread.',\n schema,\n handler,\n});\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/unlabel_thread/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,cAAc,CAAC;IAC3C,WAAW,EAAE,8BAA8B;IAC3C,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,IAAI;QACrB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/unlabel_thread\n * Removes labels from every message in a thread via `users.threads.modify`\n * (removeLabelIds); confirms the removed labels.\n */\nexport const unlabel_thread = gmailOperation({\n description: 'Remove labels from a thread.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: true,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
|