@commandable/mcp 0.0.1
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 +10 -0
- package/README.md +34 -0
- package/dist/cli/bin.d.ts +3 -0
- package/dist/cli/bin.d.ts.map +1 -0
- package/dist/cli/bin.js +7 -0
- package/dist/cli/bin.js.map +1 -0
- package/dist/cli/credentialManager.d.ts +19 -0
- package/dist/cli/credentialManager.d.ts.map +1 -0
- package/dist/cli/credentialManager.js +81 -0
- package/dist/cli/credentialManager.js.map +1 -0
- package/dist/cli/index.d.ts +2 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +77 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/setup.d.ts +3 -0
- package/dist/cli/setup.d.ts.map +1 -0
- package/dist/cli/setup.js +194 -0
- package/dist/cli/setup.js.map +1 -0
- package/dist/crypto/encryption.d.ts +3 -0
- package/dist/crypto/encryption.d.ts.map +1 -0
- package/dist/crypto/encryption.js +29 -0
- package/dist/crypto/encryption.js.map +1 -0
- package/dist/db/client.d.ts +22 -0
- package/dist/db/client.d.ts.map +1 -0
- package/dist/db/client.js +43 -0
- package/dist/db/client.js.map +1 -0
- package/dist/db/credentialStore.d.ts +13 -0
- package/dist/db/credentialStore.d.ts.map +1 -0
- package/dist/db/credentialStore.js +57 -0
- package/dist/db/credentialStore.js.map +1 -0
- package/dist/db/integrationStore.d.ts +5 -0
- package/dist/db/integrationStore.d.ts.map +1 -0
- package/dist/db/integrationStore.js +65 -0
- package/dist/db/integrationStore.js.map +1 -0
- package/dist/db/migrate.d.ts +3 -0
- package/dist/db/migrate.d.ts.map +1 -0
- package/dist/db/migrate.js +88 -0
- package/dist/db/migrate.js.map +1 -0
- package/dist/db/schema.d.ts +911 -0
- package/dist/db/schema.d.ts.map +1 -0
- package/dist/db/schema.js +73 -0
- package/dist/db/schema.js.map +1 -0
- package/dist/errors/httpError.d.ts +6 -0
- package/dist/errors/httpError.d.ts.map +1 -0
- package/dist/errors/httpError.js +11 -0
- package/dist/errors/httpError.js.map +1 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +21 -0
- package/dist/index.js.map +1 -0
- package/dist/integrations/actionsFactory.d.ts +12 -0
- package/dist/integrations/actionsFactory.d.ts.map +1 -0
- package/dist/integrations/actionsFactory.js +68 -0
- package/dist/integrations/actionsFactory.js.map +1 -0
- package/dist/integrations/catalog.d.ts +9 -0
- package/dist/integrations/catalog.d.ts.map +1 -0
- package/dist/integrations/catalog.js +80 -0
- package/dist/integrations/catalog.js.map +1 -0
- package/dist/integrations/dataLoader.d.ts +47 -0
- package/dist/integrations/dataLoader.d.ts.map +1 -0
- package/dist/integrations/dataLoader.js +126 -0
- package/dist/integrations/dataLoader.js.map +1 -0
- package/dist/integrations/getIntegration.d.ts +11 -0
- package/dist/integrations/getIntegration.d.ts.map +1 -0
- package/dist/integrations/getIntegration.js +22 -0
- package/dist/integrations/getIntegration.js.map +1 -0
- package/dist/integrations/googleServiceAccount.d.ts +6 -0
- package/dist/integrations/googleServiceAccount.d.ts.map +1 -0
- package/dist/integrations/googleServiceAccount.js +54 -0
- package/dist/integrations/googleServiceAccount.js.map +1 -0
- package/dist/integrations/providerRegistry.d.ts +2 -0
- package/dist/integrations/providerRegistry.d.ts.map +1 -0
- package/dist/integrations/providerRegistry.js +50 -0
- package/dist/integrations/providerRegistry.js.map +1 -0
- package/dist/integrations/proxy.d.ts +16 -0
- package/dist/integrations/proxy.d.ts.map +1 -0
- package/dist/integrations/proxy.js +331 -0
- package/dist/integrations/proxy.js.map +1 -0
- package/dist/integrations/sandbox.d.ts +7 -0
- package/dist/integrations/sandbox.d.ts.map +1 -0
- package/dist/integrations/sandbox.js +210 -0
- package/dist/integrations/sandbox.js.map +1 -0
- package/dist/integrations/tools.d.ts +3 -0
- package/dist/integrations/tools.d.ts.map +1 -0
- package/dist/integrations/tools.js +70 -0
- package/dist/integrations/tools.js.map +1 -0
- package/dist/mcp/server.d.ts +15 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +50 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/mcp/toolAdapter.d.ts +17 -0
- package/dist/mcp/toolAdapter.d.ts.map +1 -0
- package/dist/mcp/toolAdapter.js +18 -0
- package/dist/mcp/toolAdapter.js.map +1 -0
- package/dist/types.d.ts +34 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/integration-data/README.md +52 -0
- package/integration-data/airtable/credentials.json +20 -0
- package/integration-data/airtable/credentials_hint.md +4 -0
- package/integration-data/airtable/handlers/create_record.js +12 -0
- package/integration-data/airtable/handlers/delete_record.js +7 -0
- package/integration-data/airtable/handlers/get_record.js +4 -0
- package/integration-data/airtable/handlers/get_table_schema.js +6 -0
- package/integration-data/airtable/handlers/list_bases.js +4 -0
- package/integration-data/airtable/handlers/list_records.js +25 -0
- package/integration-data/airtable/handlers/list_table_fields.js +6 -0
- package/integration-data/airtable/handlers/list_tables.js +4 -0
- package/integration-data/airtable/handlers/list_views.js +6 -0
- package/integration-data/airtable/handlers/search_records.js +6 -0
- package/integration-data/airtable/handlers/update_record.js +11 -0
- package/integration-data/airtable/manifest.json +83 -0
- package/integration-data/airtable/schemas/create_record.json +12 -0
- package/integration-data/airtable/schemas/delete_record.json +11 -0
- package/integration-data/airtable/schemas/empty.json +6 -0
- package/integration-data/airtable/schemas/get_record.json +11 -0
- package/integration-data/airtable/schemas/id_base.json +9 -0
- package/integration-data/airtable/schemas/id_base_table.json +10 -0
- package/integration-data/airtable/schemas/list_records.json +26 -0
- package/integration-data/airtable/schemas/search_records.json +12 -0
- package/integration-data/airtable/schemas/update_record.json +13 -0
- package/integration-data/github/credentials.json +20 -0
- package/integration-data/github/credentials_hint.md +7 -0
- package/integration-data/github/handlers/add_labels_to_issue.js +12 -0
- package/integration-data/github/handlers/close_issue.js +5 -0
- package/integration-data/github/handlers/comment_on_issue.js +5 -0
- package/integration-data/github/handlers/create_branch.js +33 -0
- package/integration-data/github/handlers/create_commit.js +91 -0
- package/integration-data/github/handlers/create_issue.js +10 -0
- package/integration-data/github/handlers/create_or_update_file.js +21 -0
- package/integration-data/github/handlers/create_pull_request.js +16 -0
- package/integration-data/github/handlers/create_repo.js +11 -0
- package/integration-data/github/handlers/delete_repo.js +6 -0
- package/integration-data/github/handlers/get_issue.js +4 -0
- package/integration-data/github/handlers/get_repo.js +4 -0
- package/integration-data/github/handlers/list_branches.js +4 -0
- package/integration-data/github/handlers/list_commits.js +12 -0
- package/integration-data/github/handlers/list_issues.js +12 -0
- package/integration-data/github/handlers/list_pull_requests.js +8 -0
- package/integration-data/github/handlers/list_repos_install.js +4 -0
- package/integration-data/github/handlers/list_repos_user.js +4 -0
- package/integration-data/github/handlers/merge_pull_request.js +14 -0
- package/integration-data/github/handlers/update_issue.js +15 -0
- package/integration-data/github/manifest.json +26 -0
- package/integration-data/github/schemas/add_labels_to_issue.json +12 -0
- package/integration-data/github/schemas/close_issue.json +10 -0
- package/integration-data/github/schemas/comment_on_issue.json +11 -0
- package/integration-data/github/schemas/create_branch.json +12 -0
- package/integration-data/github/schemas/create_commit.json +25 -0
- package/integration-data/github/schemas/create_issue.json +13 -0
- package/integration-data/github/schemas/create_or_update_file.json +15 -0
- package/integration-data/github/schemas/create_pull_request.json +15 -0
- package/integration-data/github/schemas/create_repo.json +12 -0
- package/integration-data/github/schemas/delete_repo.json +10 -0
- package/integration-data/github/schemas/empty.json +5 -0
- package/integration-data/github/schemas/get_issue.json +10 -0
- package/integration-data/github/schemas/get_repo.json +9 -0
- package/integration-data/github/schemas/list_commits.json +12 -0
- package/integration-data/github/schemas/list_issues.json +12 -0
- package/integration-data/github/schemas/list_pull_requests.json +10 -0
- package/integration-data/github/schemas/merge_pull_request.json +14 -0
- package/integration-data/github/schemas/owner_repo.json +9 -0
- package/integration-data/github/schemas/update_issue.json +15 -0
- package/integration-data/google-calendar/credentials.json +36 -0
- package/integration-data/google-calendar/credentials_hint.md +9 -0
- package/integration-data/google-calendar/handlers/create_event.js +6 -0
- package/integration-data/google-calendar/handlers/delete_acl.js +6 -0
- package/integration-data/google-calendar/handlers/delete_event.js +7 -0
- package/integration-data/google-calendar/handlers/freebusy_query.js +4 -0
- package/integration-data/google-calendar/handlers/get_acl.js +5 -0
- package/integration-data/google-calendar/handlers/get_calendar.js +4 -0
- package/integration-data/google-calendar/handlers/get_event.js +5 -0
- package/integration-data/google-calendar/handlers/insert_acl.js +6 -0
- package/integration-data/google-calendar/handlers/list_acl.js +5 -0
- package/integration-data/google-calendar/handlers/list_calendars.js +4 -0
- package/integration-data/google-calendar/handlers/list_colors.js +4 -0
- package/integration-data/google-calendar/handlers/list_events.js +21 -0
- package/integration-data/google-calendar/handlers/list_settings.js +4 -0
- package/integration-data/google-calendar/handlers/move_event.js +6 -0
- package/integration-data/google-calendar/handlers/patch_event.js +5 -0
- package/integration-data/google-calendar/handlers/quick_add.js +6 -0
- package/integration-data/google-calendar/handlers/update_acl.js +7 -0
- package/integration-data/google-calendar/handlers/update_event.js +5 -0
- package/integration-data/google-calendar/manifest.json +26 -0
- package/integration-data/google-calendar/schemas/create_event.json +34 -0
- package/integration-data/google-calendar/schemas/delete_acl.json +9 -0
- package/integration-data/google-calendar/schemas/empty.json +1 -0
- package/integration-data/google-calendar/schemas/freebusy_query.json +13 -0
- package/integration-data/google-calendar/schemas/get_acl.json +9 -0
- package/integration-data/google-calendar/schemas/id_calendar.json +8 -0
- package/integration-data/google-calendar/schemas/id_calendar_event.json +9 -0
- package/integration-data/google-calendar/schemas/insert_acl.json +18 -0
- package/integration-data/google-calendar/schemas/list_events.json +15 -0
- package/integration-data/google-calendar/schemas/move_event.json +10 -0
- package/integration-data/google-calendar/schemas/patch_event.json +10 -0
- package/integration-data/google-calendar/schemas/quick_add.json +9 -0
- package/integration-data/google-calendar/schemas/update_acl.json +10 -0
- package/integration-data/google-calendar/schemas/update_event.json +10 -0
- package/integration-data/google-docs/credentials.json +36 -0
- package/integration-data/google-docs/credentials_hint.md +9 -0
- package/integration-data/google-docs/handlers/append_text.js +12 -0
- package/integration-data/google-docs/handlers/batch_update.js +13 -0
- package/integration-data/google-docs/handlers/create_document.js +9 -0
- package/integration-data/google-docs/handlers/delete_first_match.js +50 -0
- package/integration-data/google-docs/handlers/get_document.js +12 -0
- package/integration-data/google-docs/handlers/get_document_structured.js +6 -0
- package/integration-data/google-docs/handlers/get_document_text.js +17 -0
- package/integration-data/google-docs/handlers/insert_inline_image_after_first_match.js +41 -0
- package/integration-data/google-docs/handlers/insert_page_break_after_first_match.js +49 -0
- package/integration-data/google-docs/handlers/insert_table_after_first_match.js +49 -0
- package/integration-data/google-docs/handlers/insert_text_after_first_match.js +51 -0
- package/integration-data/google-docs/handlers/replace_all_text.js +8 -0
- package/integration-data/google-docs/handlers/style_first_match.js +42 -0
- package/integration-data/google-docs/handlers/update_document_style.js +8 -0
- package/integration-data/google-docs/handlers/update_paragraph_style_for_first_match.js +48 -0
- package/integration-data/google-docs/manifest.json +58 -0
- package/integration-data/google-docs/schemas/append_text.json +10 -0
- package/integration-data/google-docs/schemas/apply_text_style.json +13 -0
- package/integration-data/google-docs/schemas/batch_update.json +16 -0
- package/integration-data/google-docs/schemas/create_document.json +8 -0
- package/integration-data/google-docs/schemas/delete_content_range.json +11 -0
- package/integration-data/google-docs/schemas/delete_first_match.json +10 -0
- package/integration-data/google-docs/schemas/get_document.json +11 -0
- package/integration-data/google-docs/schemas/get_document_structured.json +9 -0
- package/integration-data/google-docs/schemas/get_document_text.json +9 -0
- package/integration-data/google-docs/schemas/insert_inline_image.json +12 -0
- package/integration-data/google-docs/schemas/insert_inline_image_after_first_match.json +13 -0
- package/integration-data/google-docs/schemas/insert_page_break.json +10 -0
- package/integration-data/google-docs/schemas/insert_page_break_after_first_match.json +11 -0
- package/integration-data/google-docs/schemas/insert_table.json +12 -0
- package/integration-data/google-docs/schemas/insert_table_after_first_match.json +13 -0
- package/integration-data/google-docs/schemas/insert_text_after_first_match.json +12 -0
- package/integration-data/google-docs/schemas/insert_text_at.json +11 -0
- package/integration-data/google-docs/schemas/replace_all_text.json +12 -0
- package/integration-data/google-docs/schemas/style_first_match.json +12 -0
- package/integration-data/google-docs/schemas/update_document_style.json +11 -0
- package/integration-data/google-docs/schemas/update_paragraph_style.json +13 -0
- package/integration-data/google-docs/schemas/update_paragraph_style_for_first_match.json +12 -0
- package/integration-data/google-sheet/credentials.json +36 -0
- package/integration-data/google-sheet/credentials_hint.md +9 -0
- package/integration-data/google-sheet/handlers/append_values.js +18 -0
- package/integration-data/google-sheet/handlers/batch_clear_values.js +6 -0
- package/integration-data/google-sheet/handlers/batch_clear_values_by_data_filter.js +6 -0
- package/integration-data/google-sheet/handlers/batch_get_values.js +16 -0
- package/integration-data/google-sheet/handlers/batch_update.js +14 -0
- package/integration-data/google-sheet/handlers/batch_update_values.js +16 -0
- package/integration-data/google-sheet/handlers/batch_update_values_by_data_filter.js +16 -0
- package/integration-data/google-sheet/handlers/clear_values.js +6 -0
- package/integration-data/google-sheet/handlers/copy_to_spreadsheet.js +6 -0
- package/integration-data/google-sheet/handlers/create_spreadsheet.js +5 -0
- package/integration-data/google-sheet/handlers/get_developer_metadata.js +6 -0
- package/integration-data/google-sheet/handlers/get_spreadsheet.js +12 -0
- package/integration-data/google-sheet/handlers/get_spreadsheet_by_data_filter.js +10 -0
- package/integration-data/google-sheet/handlers/get_values.js +14 -0
- package/integration-data/google-sheet/handlers/get_values_by_data_filter.js +14 -0
- package/integration-data/google-sheet/handlers/search_developer_metadata.js +7 -0
- package/integration-data/google-sheet/handlers/update_values.js +16 -0
- package/integration-data/google-sheet/manifest.json +125 -0
- package/integration-data/google-sheet/schemas/append_values.json +16 -0
- package/integration-data/google-sheet/schemas/batch_clear_values.json +10 -0
- package/integration-data/google-sheet/schemas/batch_clear_values_by_data_filter.json +10 -0
- package/integration-data/google-sheet/schemas/batch_get_values.json +13 -0
- package/integration-data/google-sheet/schemas/batch_update.json +13 -0
- package/integration-data/google-sheet/schemas/batch_update_values.json +25 -0
- package/integration-data/google-sheet/schemas/batch_update_values_by_data_filter.json +25 -0
- package/integration-data/google-sheet/schemas/clear_values.json +10 -0
- package/integration-data/google-sheet/schemas/copy_to_spreadsheet.json +11 -0
- package/integration-data/google-sheet/schemas/create_spreadsheet.json +11 -0
- package/integration-data/google-sheet/schemas/get_developer_metadata.json +10 -0
- package/integration-data/google-sheet/schemas/get_spreadsheet.json +15 -0
- package/integration-data/google-sheet/schemas/get_spreadsheet_by_data_filter.json +11 -0
- package/integration-data/google-sheet/schemas/get_values.json +13 -0
- package/integration-data/google-sheet/schemas/get_values_by_data_filter.json +17 -0
- package/integration-data/google-sheet/schemas/search_developer_metadata.json +14 -0
- package/integration-data/google-sheet/schemas/update_values.json +15 -0
- package/integration-data/google-slides/credentials.json +36 -0
- package/integration-data/google-slides/credentials_hint.md +9 -0
- package/integration-data/google-slides/handlers/append_text_to_title_of_first_slide.js +17 -0
- package/integration-data/google-slides/handlers/batch_update.js +15 -0
- package/integration-data/google-slides/handlers/create_presentation.js +8 -0
- package/integration-data/google-slides/handlers/create_slide_after_first_match.js +20 -0
- package/integration-data/google-slides/handlers/get_page_thumbnail.js +12 -0
- package/integration-data/google-slides/handlers/get_presentation.js +6 -0
- package/integration-data/google-slides/handlers/insert_image_after_first_match.js +19 -0
- package/integration-data/google-slides/handlers/insert_shape_after_first_match.js +21 -0
- package/integration-data/google-slides/handlers/replace_text_first_match.js +9 -0
- package/integration-data/google-slides/handlers/set_background_color_for_slide_index.js +15 -0
- package/integration-data/google-slides/handlers/style_text_first_match.js +48 -0
- package/integration-data/google-slides/manifest.json +41 -0
- package/integration-data/google-slides/schemas/append_text_to_title_of_first_slide.json +11 -0
- package/integration-data/google-slides/schemas/batch_update.json +13 -0
- package/integration-data/google-slides/schemas/create_presentation.json +8 -0
- package/integration-data/google-slides/schemas/create_slide_after_first_match.json +11 -0
- package/integration-data/google-slides/schemas/get_page_thumbnail.json +12 -0
- package/integration-data/google-slides/schemas/get_presentation.json +9 -0
- package/integration-data/google-slides/schemas/insert_image_after_first_match.json +13 -0
- package/integration-data/google-slides/schemas/insert_shape_after_first_match.json +13 -0
- package/integration-data/google-slides/schemas/replace_text_first_match.json +12 -0
- package/integration-data/google-slides/schemas/set_background_color_for_slide_index.json +11 -0
- package/integration-data/google-slides/schemas/style_text_first_match.json +12 -0
- package/integration-data/new_integration_prompt.md +41 -0
- package/integration-data/notion/credentials.json +21 -0
- package/integration-data/notion/credentials_hint.md +5 -0
- package/integration-data/notion/handlers/append_block_children.js +7 -0
- package/integration-data/notion/handlers/create_comment.js +10 -0
- package/integration-data/notion/handlers/create_database.js +11 -0
- package/integration-data/notion/handlers/create_page.js +13 -0
- package/integration-data/notion/handlers/delete_block.js +8 -0
- package/integration-data/notion/handlers/get_me.js +4 -0
- package/integration-data/notion/handlers/list_block_children.js +10 -0
- package/integration-data/notion/handlers/list_comments.js +14 -0
- package/integration-data/notion/handlers/list_users.js +10 -0
- package/integration-data/notion/handlers/query_database.js +10 -0
- package/integration-data/notion/handlers/retrieve_block.js +4 -0
- package/integration-data/notion/handlers/retrieve_database.js +4 -0
- package/integration-data/notion/handlers/retrieve_page.js +4 -0
- package/integration-data/notion/handlers/retrieve_page_property_item.js +10 -0
- package/integration-data/notion/handlers/retrieve_user.js +4 -0
- package/integration-data/notion/handlers/search.js +11 -0
- package/integration-data/notion/handlers/update_block.js +7 -0
- package/integration-data/notion/handlers/update_database.js +10 -0
- package/integration-data/notion/handlers/update_page_properties.js +10 -0
- package/integration-data/notion/manifest.json +139 -0
- package/integration-data/notion/prompt.md +26 -0
- package/integration-data/notion/schemas/append_block_children.json +10 -0
- package/integration-data/notion/schemas/create_comment.json +18 -0
- package/integration-data/notion/schemas/create_database.json +18 -0
- package/integration-data/notion/schemas/create_page.json +22 -0
- package/integration-data/notion/schemas/delete_block.json +9 -0
- package/integration-data/notion/schemas/empty.json +6 -0
- package/integration-data/notion/schemas/id_block.json +9 -0
- package/integration-data/notion/schemas/id_database.json +9 -0
- package/integration-data/notion/schemas/id_page.json +9 -0
- package/integration-data/notion/schemas/id_user.json +9 -0
- package/integration-data/notion/schemas/list_block_children.json +11 -0
- package/integration-data/notion/schemas/list_comments.json +15 -0
- package/integration-data/notion/schemas/list_users.json +9 -0
- package/integration-data/notion/schemas/query_database.json +13 -0
- package/integration-data/notion/schemas/retrieve_page_property_item.json +12 -0
- package/integration-data/notion/schemas/search.json +27 -0
- package/integration-data/notion/schemas/update_block.json +10 -0
- package/integration-data/notion/schemas/update_database.json +13 -0
- package/integration-data/notion/schemas/update_page_properties.json +13 -0
- package/integration-data/trello/credentials.json +26 -0
- package/integration-data/trello/credentials_hint.md +4 -0
- package/integration-data/trello/handlers/add_checklist_to_card.js +5 -0
- package/integration-data/trello/handlers/add_member_to_card.js +5 -0
- package/integration-data/trello/handlers/archive_list.js +5 -0
- package/integration-data/trello/handlers/create_card.js +13 -0
- package/integration-data/trello/handlers/create_list.js +7 -0
- package/integration-data/trello/handlers/delete_card.js +9 -0
- package/integration-data/trello/handlers/get_board.js +4 -0
- package/integration-data/trello/handlers/get_board_cards.js +4 -0
- package/integration-data/trello/handlers/get_board_custom_fields.js +4 -0
- package/integration-data/trello/handlers/get_board_labels.js +4 -0
- package/integration-data/trello/handlers/get_board_lists.js +4 -0
- package/integration-data/trello/handlers/get_board_members.js +4 -0
- package/integration-data/trello/handlers/get_board_memberships.js +4 -0
- package/integration-data/trello/handlers/get_card.js +4 -0
- package/integration-data/trello/handlers/get_card_actions.js +4 -0
- package/integration-data/trello/handlers/get_card_attachments.js +4 -0
- package/integration-data/trello/handlers/get_card_checklists.js +4 -0
- package/integration-data/trello/handlers/get_card_custom_field_items.js +4 -0
- package/integration-data/trello/handlers/get_card_members.js +4 -0
- package/integration-data/trello/handlers/get_list.js +4 -0
- package/integration-data/trello/handlers/get_list_cards.js +4 -0
- package/integration-data/trello/handlers/get_member.js +4 -0
- package/integration-data/trello/handlers/get_member_boards.js +4 -0
- package/integration-data/trello/handlers/get_member_organizations.js +4 -0
- package/integration-data/trello/handlers/get_organization.js +4 -0
- package/integration-data/trello/handlers/get_organization_boards.js +4 -0
- package/integration-data/trello/handlers/move_card_to_list.js +5 -0
- package/integration-data/trello/handlers/remove_member_from_card.js +9 -0
- package/integration-data/trello/handlers/search.js +5 -0
- package/integration-data/trello/handlers/update_card.js +19 -0
- package/integration-data/trello/handlers/update_list.js +11 -0
- package/integration-data/trello/manifest.json +231 -0
- package/integration-data/trello/schemas/add_checklist_to_card.json +10 -0
- package/integration-data/trello/schemas/add_member_to_card.json +10 -0
- package/integration-data/trello/schemas/archive_list.json +9 -0
- package/integration-data/trello/schemas/create_card.json +13 -0
- package/integration-data/trello/schemas/create_list.json +11 -0
- package/integration-data/trello/schemas/delete_card.json +9 -0
- package/integration-data/trello/schemas/display_trello_cards.json +45 -0
- package/integration-data/trello/schemas/empty.json +5 -0
- package/integration-data/trello/schemas/get_member.json +5 -0
- package/integration-data/trello/schemas/id_board.json +8 -0
- package/integration-data/trello/schemas/id_card.json +8 -0
- package/integration-data/trello/schemas/id_list.json +8 -0
- package/integration-data/trello/schemas/id_org.json +8 -0
- package/integration-data/trello/schemas/move_card_to_list.json +10 -0
- package/integration-data/trello/schemas/remove_member_from_card.json +10 -0
- package/integration-data/trello/schemas/search.json +8 -0
- package/integration-data/trello/schemas/update_card.json +16 -0
- package/integration-data/trello/schemas/update_list.json +12 -0
- package/package.json +61 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"owner": { "type": "string" },
|
|
5
|
+
"repo": { "type": "string" },
|
|
6
|
+
"issue_number": { "type": "integer", "minimum": 1 },
|
|
7
|
+
"body": { "type": "string" }
|
|
8
|
+
},
|
|
9
|
+
"required": ["owner", "repo", "issue_number", "body"],
|
|
10
|
+
"additionalProperties": false
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"owner": { "type": "string", "description": "The account owner of the repository" },
|
|
5
|
+
"repo": { "type": "string", "description": "The name of the repository" },
|
|
6
|
+
"branch": { "type": "string", "description": "The name of the new branch" },
|
|
7
|
+
"from_branch": { "type": "string", "description": "The branch to create from. Defaults to the repository's default branch" }
|
|
8
|
+
},
|
|
9
|
+
"required": ["owner", "repo", "branch"],
|
|
10
|
+
"additionalProperties": false
|
|
11
|
+
}
|
|
12
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"owner": { "type": "string", "description": "The account owner of the repository" },
|
|
5
|
+
"repo": { "type": "string", "description": "The name of the repository" },
|
|
6
|
+
"branch": { "type": "string", "description": "The branch to commit to" },
|
|
7
|
+
"message": { "type": "string", "description": "The commit message" },
|
|
8
|
+
"files": {
|
|
9
|
+
"type": "array",
|
|
10
|
+
"description": "Array of files to add/update/delete in this commit",
|
|
11
|
+
"items": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"path": { "type": "string", "description": "File path in the repository" },
|
|
15
|
+
"content": { "type": "string", "description": "Plain text file content (omit to delete). Do NOT base64; encoding handled internally." },
|
|
16
|
+
"mode": { "type": "string", "enum": ["100644", "100755", "040000", "160000", "120000"], "description": "File mode (100644 for regular files, 100755 for executable)" }
|
|
17
|
+
},
|
|
18
|
+
"required": ["path"]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": ["owner", "repo", "branch", "message", "files"],
|
|
23
|
+
"additionalProperties": false
|
|
24
|
+
}
|
|
25
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"owner": { "type": "string" },
|
|
5
|
+
"repo": { "type": "string" },
|
|
6
|
+
"title": { "type": "string" },
|
|
7
|
+
"body": { "type": "string" },
|
|
8
|
+
"assignees": { "type": "array", "items": { "type": "string" } },
|
|
9
|
+
"labels": { "type": "array", "items": { "type": "string" } }
|
|
10
|
+
},
|
|
11
|
+
"required": ["owner", "repo", "title"],
|
|
12
|
+
"additionalProperties": false
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"owner": { "type": "string", "description": "The account owner of the repository" },
|
|
5
|
+
"repo": { "type": "string", "description": "The name of the repository" },
|
|
6
|
+
"path": { "type": "string", "description": "Path to the file in the repository" },
|
|
7
|
+
"message": { "type": "string", "description": "The commit message" },
|
|
8
|
+
"content": { "type": "string", "description": "Plain text file content. Do NOT base64; encoding handled internally." },
|
|
9
|
+
"branch": { "type": "string", "description": "The branch name. Defaults to the repository's default branch" },
|
|
10
|
+
"sha": { "type": "string", "description": "Required if updating an existing file. The blob SHA of the file being replaced" }
|
|
11
|
+
},
|
|
12
|
+
"required": ["owner", "repo", "path", "message", "content"],
|
|
13
|
+
"additionalProperties": false
|
|
14
|
+
}
|
|
15
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"owner": { "type": "string", "description": "The account owner of the repository" },
|
|
5
|
+
"repo": { "type": "string", "description": "The name of the repository" },
|
|
6
|
+
"title": { "type": "string", "description": "The title of the pull request" },
|
|
7
|
+
"body": { "type": "string", "description": "The contents of the pull request" },
|
|
8
|
+
"head": { "type": "string", "description": "The name of the branch where your changes are implemented" },
|
|
9
|
+
"base": { "type": "string", "description": "The name of the branch you want the changes pulled into" },
|
|
10
|
+
"draft": { "type": "boolean", "description": "Whether to create the pull request as a draft" }
|
|
11
|
+
},
|
|
12
|
+
"required": ["owner", "repo", "title", "head", "base"],
|
|
13
|
+
"additionalProperties": false
|
|
14
|
+
}
|
|
15
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"name": { "type": "string", "description": "The name of the repository" },
|
|
5
|
+
"description": { "type": "string", "description": "A short description of the repository" },
|
|
6
|
+
"private": { "type": "boolean", "description": "Whether the repository is private", "default": false },
|
|
7
|
+
"auto_init": { "type": "boolean", "description": "Pass true to create an initial commit with empty README", "default": false }
|
|
8
|
+
},
|
|
9
|
+
"required": ["name"],
|
|
10
|
+
"additionalProperties": false
|
|
11
|
+
}
|
|
12
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"owner": { "type": "string", "description": "The account owner of the repository" },
|
|
5
|
+
"repo": { "type": "string", "description": "The name of the repository" }
|
|
6
|
+
},
|
|
7
|
+
"required": ["owner", "repo"],
|
|
8
|
+
"additionalProperties": false
|
|
9
|
+
}
|
|
10
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"owner": { "type": "string" },
|
|
5
|
+
"repo": { "type": "string" },
|
|
6
|
+
"sha": { "type": "string" },
|
|
7
|
+
"path": { "type": "string" },
|
|
8
|
+
"author": { "type": "string" }
|
|
9
|
+
},
|
|
10
|
+
"required": ["owner", "repo"],
|
|
11
|
+
"additionalProperties": false
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"owner": { "type": "string" },
|
|
5
|
+
"repo": { "type": "string" },
|
|
6
|
+
"state": { "type": "string", "enum": ["open", "closed", "all"], "default": "open" },
|
|
7
|
+
"labels": { "type": "string" },
|
|
8
|
+
"assignee": { "type": "string" }
|
|
9
|
+
},
|
|
10
|
+
"required": ["owner", "repo"],
|
|
11
|
+
"additionalProperties": false
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"owner": { "type": "string" },
|
|
5
|
+
"repo": { "type": "string" },
|
|
6
|
+
"state": { "type": "string", "enum": ["open", "closed", "all"], "default": "open" }
|
|
7
|
+
},
|
|
8
|
+
"required": ["owner", "repo"],
|
|
9
|
+
"additionalProperties": false
|
|
10
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"owner": { "type": "string", "description": "The account owner of the repository" },
|
|
5
|
+
"repo": { "type": "string", "description": "The name of the repository" },
|
|
6
|
+
"pull_number": { "type": "number", "description": "The number of the pull request" },
|
|
7
|
+
"commit_title": { "type": "string", "description": "Title for the automatic commit message" },
|
|
8
|
+
"commit_message": { "type": "string", "description": "Extra detail to append to automatic commit message" },
|
|
9
|
+
"merge_method": { "type": "string", "enum": ["merge", "squash", "rebase"], "description": "Merge method to use. Default is 'merge'" }
|
|
10
|
+
},
|
|
11
|
+
"required": ["owner", "repo", "pull_number"],
|
|
12
|
+
"additionalProperties": false
|
|
13
|
+
}
|
|
14
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"owner": { "type": "string" },
|
|
5
|
+
"repo": { "type": "string" },
|
|
6
|
+
"issue_number": { "type": "integer", "minimum": 1 },
|
|
7
|
+
"title": { "type": "string" },
|
|
8
|
+
"body": { "type": "string" },
|
|
9
|
+
"state": { "type": "string", "enum": ["open", "closed"] },
|
|
10
|
+
"assignees": { "type": "array", "items": { "type": "string" } },
|
|
11
|
+
"labels": { "type": "array", "items": { "type": "string" } }
|
|
12
|
+
},
|
|
13
|
+
"required": ["owner", "repo", "issue_number"],
|
|
14
|
+
"additionalProperties": false
|
|
15
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": {
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"token": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"title": "OAuth Access Token (optional)",
|
|
8
|
+
"description": "Google OAuth access token to use as a Bearer token (typically short-lived)."
|
|
9
|
+
},
|
|
10
|
+
"serviceAccountJson": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"title": "Service Account JSON (recommended)",
|
|
13
|
+
"description": "Full service account key JSON (contents of the downloaded JSON file)."
|
|
14
|
+
},
|
|
15
|
+
"subject": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"title": "Subject / impersonated user (optional)",
|
|
18
|
+
"description": "Optional user email to impersonate when using Google Workspace domain-wide delegation."
|
|
19
|
+
},
|
|
20
|
+
"scopes": {
|
|
21
|
+
"type": "array",
|
|
22
|
+
"title": "OAuth scopes (optional)",
|
|
23
|
+
"description": "Optional override for OAuth scopes.",
|
|
24
|
+
"items": { "type": "string" }
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"required": [],
|
|
28
|
+
"additionalProperties": false
|
|
29
|
+
},
|
|
30
|
+
"injection": {
|
|
31
|
+
"headers": {
|
|
32
|
+
"Authorization": "Bearer {{token}}"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
Recommended: use a Google service account.
|
|
2
|
+
|
|
3
|
+
- Create a service account in Google Cloud
|
|
4
|
+
- Download a JSON key
|
|
5
|
+
- Paste the JSON into `serviceAccountJson` (or use `env:GOOGLE_SERVICE_ACCOUNT_JSON`)
|
|
6
|
+
|
|
7
|
+
Note: Calendar often needs Google Workspace domain-wide delegation if you want to impersonate a user (`subject`).
|
|
8
|
+
For simple setups, use a short-lived OAuth access token in `token`.
|
|
9
|
+
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
async (input) => {
|
|
2
|
+
const path = `/calendars/${encodeURIComponent(input.calendarId)}/events/${encodeURIComponent(input.eventId)}`
|
|
3
|
+
const res = await integration.fetch(path, { method: 'DELETE' })
|
|
4
|
+
// Google Calendar delete returns 204 No Content, but proxy returns Response; handle empty body
|
|
5
|
+
try { return await res.json() }
|
|
6
|
+
catch { return { success: true } }
|
|
7
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
async (input) => {
|
|
2
|
+
const params = new URLSearchParams()
|
|
3
|
+
if (input.timeMin)
|
|
4
|
+
params.set('timeMin', input.timeMin)
|
|
5
|
+
if (input.timeMax)
|
|
6
|
+
params.set('timeMax', input.timeMax)
|
|
7
|
+
if (input.q)
|
|
8
|
+
params.set('q', input.q)
|
|
9
|
+
if (input.maxResults)
|
|
10
|
+
params.set('maxResults', String(input.maxResults))
|
|
11
|
+
if (input.pageToken)
|
|
12
|
+
params.set('pageToken', input.pageToken)
|
|
13
|
+
if (input.singleEvents !== undefined)
|
|
14
|
+
params.set('singleEvents', String(input.singleEvents))
|
|
15
|
+
if (input.orderBy)
|
|
16
|
+
params.set('orderBy', input.orderBy)
|
|
17
|
+
const qs = params.toString()
|
|
18
|
+
const path = `/calendars/${encodeURIComponent(input.calendarId)}/events${qs ? `?${qs}` : ''}`
|
|
19
|
+
const res = await integration.fetch(path)
|
|
20
|
+
return await res.json()
|
|
21
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
async (input) => {
|
|
2
|
+
const params = new URLSearchParams({ destination: input.destination })
|
|
3
|
+
const path = `/calendars/${encodeURIComponent(input.calendarId)}/events/${encodeURIComponent(input.eventId)}/move?${params.toString()}`
|
|
4
|
+
const res = await integration.fetch(path, { method: 'POST' })
|
|
5
|
+
return await res.json()
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
async (input) => {
|
|
2
|
+
const params = new URLSearchParams({ text: input.text })
|
|
3
|
+
const path = `/calendars/${encodeURIComponent(input.calendarId)}/events/quickAdd?${params.toString()}`
|
|
4
|
+
const res = await integration.fetch(path, { method: 'POST' })
|
|
5
|
+
return await res.json()
|
|
6
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
async (input) => {
|
|
2
|
+
const { calendarId, ruleId, role } = input
|
|
3
|
+
const body = { role }
|
|
4
|
+
const path = `/calendars/${encodeURIComponent(calendarId)}/acl/${encodeURIComponent(ruleId)}`
|
|
5
|
+
const res = await integration.fetch(path, { method: 'PUT', body })
|
|
6
|
+
return await res.json()
|
|
7
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "google-calendar",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"tools": [
|
|
5
|
+
{ "name": "list_calendars", "description": "List calendars for the authenticated user.", "inputSchema": "schemas/empty.json", "handler": "handlers/list_calendars.js", "scope": "read" },
|
|
6
|
+
{ "name": "get_calendar", "description": "Get a calendar by ID.", "inputSchema": "schemas/id_calendar.json", "handler": "handlers/get_calendar.js", "scope": "read" },
|
|
7
|
+
{ "name": "list_events", "description": "List events in a calendar with optional time range and query.", "inputSchema": "schemas/list_events.json", "handler": "handlers/list_events.js", "scope": "read" },
|
|
8
|
+
{ "name": "get_event", "description": "Get a specific event by ID from a calendar.", "inputSchema": "schemas/id_calendar_event.json", "handler": "handlers/get_event.js", "scope": "read" },
|
|
9
|
+
{ "name": "list_colors", "description": "Get the color definitions for calendars and events.", "inputSchema": "schemas/empty.json", "handler": "handlers/list_colors.js", "scope": "read" },
|
|
10
|
+
{ "name": "freebusy_query", "description": "Query free/busy information for calendars.", "inputSchema": "schemas/freebusy_query.json", "handler": "handlers/freebusy_query.js", "scope": "read" },
|
|
11
|
+
{ "name": "list_settings", "description": "List user settings.", "inputSchema": "schemas/empty.json", "handler": "handlers/list_settings.js", "scope": "read" },
|
|
12
|
+
|
|
13
|
+
{ "name": "create_event", "description": "Create an event in a calendar.", "inputSchema": "schemas/create_event.json", "handler": "handlers/create_event.js", "scope": "write" },
|
|
14
|
+
{ "name": "update_event", "description": "Update an event in a calendar (full update).", "inputSchema": "schemas/update_event.json", "handler": "handlers/update_event.js", "scope": "write" },
|
|
15
|
+
{ "name": "patch_event", "description": "Patch fields on an event in a calendar.", "inputSchema": "schemas/patch_event.json", "handler": "handlers/patch_event.js", "scope": "write" },
|
|
16
|
+
{ "name": "delete_event", "description": "Delete an event from a calendar.", "inputSchema": "schemas/id_calendar_event.json", "handler": "handlers/delete_event.js", "scope": "write" },
|
|
17
|
+
{ "name": "move_event", "description": "Move an event to another calendar.", "inputSchema": "schemas/move_event.json", "handler": "handlers/move_event.js", "scope": "write" },
|
|
18
|
+
{ "name": "quick_add", "description": "Create an event using natural language text.", "inputSchema": "schemas/quick_add.json", "handler": "handlers/quick_add.js", "scope": "write" },
|
|
19
|
+
|
|
20
|
+
{ "name": "list_acl", "description": "List ACL rules for a calendar.", "inputSchema": "schemas/id_calendar.json", "handler": "handlers/list_acl.js", "scope": "admin" },
|
|
21
|
+
{ "name": "get_acl", "description": "Get a specific ACL rule by ID for a calendar.", "inputSchema": "schemas/get_acl.json", "handler": "handlers/get_acl.js", "scope": "admin" },
|
|
22
|
+
{ "name": "insert_acl", "description": "Insert a new ACL rule for a calendar.", "inputSchema": "schemas/insert_acl.json", "handler": "handlers/insert_acl.js", "scope": "admin" },
|
|
23
|
+
{ "name": "update_acl", "description": "Update an ACL rule for a calendar.", "inputSchema": "schemas/update_acl.json", "handler": "handlers/update_acl.js", "scope": "admin" },
|
|
24
|
+
{ "name": "delete_acl", "description": "Delete an ACL rule from a calendar.", "inputSchema": "schemas/delete_acl.json", "handler": "handlers/delete_acl.js", "scope": "admin" }
|
|
25
|
+
]
|
|
26
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"calendarId": { "type": "string" },
|
|
5
|
+
"summary": { "type": "string" },
|
|
6
|
+
"description": { "type": "string" },
|
|
7
|
+
"location": { "type": "string" },
|
|
8
|
+
"start": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"date": { "type": "string" },
|
|
12
|
+
"dateTime": { "type": "string" },
|
|
13
|
+
"timeZone": { "type": "string" }
|
|
14
|
+
},
|
|
15
|
+
"additionalProperties": true
|
|
16
|
+
},
|
|
17
|
+
"end": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"properties": {
|
|
20
|
+
"date": { "type": "string" },
|
|
21
|
+
"dateTime": { "type": "string" },
|
|
22
|
+
"timeZone": { "type": "string" }
|
|
23
|
+
},
|
|
24
|
+
"additionalProperties": true
|
|
25
|
+
},
|
|
26
|
+
"attendees": {
|
|
27
|
+
"type": "array",
|
|
28
|
+
"items": { "type": "object", "properties": { "email": { "type": "string" } }, "additionalProperties": true }
|
|
29
|
+
},
|
|
30
|
+
"conferenceData": { "type": "object" }
|
|
31
|
+
},
|
|
32
|
+
"required": ["calendarId", "start", "end"],
|
|
33
|
+
"additionalProperties": true
|
|
34
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"timeMin": { "type": "string" },
|
|
5
|
+
"timeMax": { "type": "string" },
|
|
6
|
+
"items": {
|
|
7
|
+
"type": "array",
|
|
8
|
+
"items": { "type": "object", "properties": { "id": { "type": "string" } }, "required": ["id"], "additionalProperties": false }
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"required": ["timeMin", "timeMax", "items"],
|
|
12
|
+
"additionalProperties": false
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"calendarId": { "type": "string", "description": "Calendar ID (use 'primary' for primary)." },
|
|
5
|
+
"eventId": { "type": "string", "description": "Event ID." }
|
|
6
|
+
},
|
|
7
|
+
"required": ["calendarId", "eventId"],
|
|
8
|
+
"additionalProperties": false
|
|
9
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"calendarId": { "type": "string" },
|
|
5
|
+
"role": { "type": "string", "enum": ["none", "freeBusyReader", "reader", "writer", "owner"] },
|
|
6
|
+
"scope": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"type": { "type": "string", "enum": ["default", "user", "group", "domain"] },
|
|
10
|
+
"value": { "type": "string" }
|
|
11
|
+
},
|
|
12
|
+
"required": ["type"],
|
|
13
|
+
"additionalProperties": false
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": ["calendarId", "role", "scope"],
|
|
17
|
+
"additionalProperties": false
|
|
18
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"calendarId": { "type": "string", "description": "Calendar ID (use 'primary' for primary)." },
|
|
5
|
+
"timeMin": { "type": "string", "description": "RFC3339 start time" },
|
|
6
|
+
"timeMax": { "type": "string", "description": "RFC3339 end time" },
|
|
7
|
+
"q": { "type": "string", "description": "Free-text search query" },
|
|
8
|
+
"maxResults": { "type": "integer", "minimum": 1, "maximum": 2500 },
|
|
9
|
+
"pageToken": { "type": "string" },
|
|
10
|
+
"singleEvents": { "type": "boolean", "description": "Expand recurring events" },
|
|
11
|
+
"orderBy": { "type": "string", "enum": ["startTime", "updated"] }
|
|
12
|
+
},
|
|
13
|
+
"required": ["calendarId"],
|
|
14
|
+
"additionalProperties": false
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"calendarId": { "type": "string" },
|
|
5
|
+
"eventId": { "type": "string" },
|
|
6
|
+
"destination": { "type": "string", "description": "Destination calendarId" }
|
|
7
|
+
},
|
|
8
|
+
"required": ["calendarId", "eventId", "destination"],
|
|
9
|
+
"additionalProperties": false
|
|
10
|
+
}
|