@marktoflow/integrations 2.0.0-alpha.7 → 2.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/README.md +64 -553
- package/dist/adapters/claude-agent-hooks.d.ts.map +1 -0
- package/dist/adapters/claude-agent-hooks.js +339 -0
- package/dist/adapters/claude-agent-hooks.js.map +1 -0
- package/dist/adapters/claude-agent-types.d.ts +426 -0
- package/dist/adapters/claude-agent-types.d.ts.map +1 -0
- package/dist/adapters/claude-agent-types.js +62 -0
- package/dist/adapters/claude-agent-types.js.map +1 -0
- package/dist/adapters/claude-agent-workflow.d.ts +393 -0
- package/dist/adapters/claude-agent-workflow.d.ts.map +1 -0
- package/dist/adapters/claude-agent-workflow.js +445 -0
- package/dist/adapters/claude-agent-workflow.js.map +1 -0
- package/dist/adapters/claude-agent.d.ts +189 -0
- package/dist/adapters/claude-agent.d.ts.map +1 -0
- package/dist/adapters/claude-agent.js +504 -0
- package/dist/adapters/claude-agent.js.map +1 -0
- package/dist/adapters/claude-code.d.ts +18 -0
- package/dist/adapters/claude-code.d.ts.map +1 -1
- package/dist/adapters/claude-code.js +33 -0
- package/dist/adapters/claude-code.js.map +1 -1
- package/dist/adapters/codex-types.d.ts +463 -0
- package/dist/adapters/codex-types.d.ts.map +1 -0
- package/dist/adapters/codex-types.js +53 -0
- package/dist/adapters/codex-types.js.map +1 -0
- package/dist/adapters/codex-workflow.d.ts +414 -0
- package/dist/adapters/codex-workflow.d.ts.map +1 -0
- package/dist/adapters/codex-workflow.js +470 -0
- package/dist/adapters/codex-workflow.js.map +1 -0
- package/dist/adapters/codex.d.ts +154 -0
- package/dist/adapters/codex.d.ts.map +1 -0
- package/dist/adapters/codex.js +416 -0
- package/dist/adapters/codex.js.map +1 -0
- package/dist/adapters/github-copilot-types.d.ts +1012 -0
- package/dist/adapters/github-copilot-types.d.ts.map +1 -0
- package/dist/adapters/github-copilot-types.js +80 -0
- package/dist/adapters/github-copilot-types.js.map +1 -0
- package/dist/adapters/github-copilot-workflow.d.ts +462 -0
- package/dist/adapters/github-copilot-workflow.d.ts.map +1 -0
- package/dist/adapters/github-copilot-workflow.js +473 -0
- package/dist/adapters/github-copilot-workflow.js.map +1 -0
- package/dist/adapters/github-copilot.d.ts +239 -37
- package/dist/adapters/github-copilot.d.ts.map +1 -1
- package/dist/adapters/github-copilot.js +365 -58
- package/dist/adapters/github-copilot.js.map +1 -1
- package/dist/adapters/ollama-types.d.ts +746 -0
- package/dist/adapters/ollama-types.d.ts.map +1 -0
- package/dist/adapters/ollama-types.js +65 -0
- package/dist/adapters/ollama-types.js.map +1 -0
- package/dist/adapters/ollama.d.ts +157 -0
- package/dist/adapters/ollama.d.ts.map +1 -1
- package/dist/adapters/ollama.js +425 -3
- package/dist/adapters/ollama.js.map +1 -1
- package/dist/adapters/opencode.d.ts +20 -0
- package/dist/adapters/opencode.d.ts.map +1 -1
- package/dist/adapters/opencode.js +29 -0
- package/dist/adapters/opencode.js.map +1 -1
- package/dist/index.d.ts +45 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +107 -2
- package/dist/index.js.map +1 -1
- package/dist/reliability/errors.d.ts +36 -0
- package/dist/reliability/errors.d.ts.map +1 -0
- package/dist/reliability/errors.js +151 -0
- package/dist/reliability/errors.js.map +1 -0
- package/dist/reliability/index.d.ts +10 -0
- package/dist/reliability/index.d.ts.map +1 -0
- package/dist/reliability/index.js +10 -0
- package/dist/reliability/index.js.map +1 -0
- package/dist/reliability/schemas/airtable.d.ts +7 -0
- package/dist/reliability/schemas/airtable.d.ts.map +1 -0
- package/dist/reliability/schemas/airtable.js +56 -0
- package/dist/reliability/schemas/airtable.js.map +1 -0
- package/dist/reliability/schemas/asana.d.ts +7 -0
- package/dist/reliability/schemas/asana.d.ts.map +1 -0
- package/dist/reliability/schemas/asana.js +45 -0
- package/dist/reliability/schemas/asana.js.map +1 -0
- package/dist/reliability/schemas/aws-s3.d.ts +7 -0
- package/dist/reliability/schemas/aws-s3.d.ts.map +1 -0
- package/dist/reliability/schemas/aws-s3.js +42 -0
- package/dist/reliability/schemas/aws-s3.js.map +1 -0
- package/dist/reliability/schemas/calendly.d.ts +6 -0
- package/dist/reliability/schemas/calendly.d.ts.map +1 -0
- package/dist/reliability/schemas/calendly.js +43 -0
- package/dist/reliability/schemas/calendly.js.map +1 -0
- package/dist/reliability/schemas/confluence.d.ts +7 -0
- package/dist/reliability/schemas/confluence.d.ts.map +1 -0
- package/dist/reliability/schemas/confluence.js +46 -0
- package/dist/reliability/schemas/confluence.js.map +1 -0
- package/dist/reliability/schemas/discord.d.ts +6 -0
- package/dist/reliability/schemas/discord.d.ts.map +1 -0
- package/dist/reliability/schemas/discord.js +40 -0
- package/dist/reliability/schemas/discord.js.map +1 -0
- package/dist/reliability/schemas/dropbox.d.ts +7 -0
- package/dist/reliability/schemas/dropbox.d.ts.map +1 -0
- package/dist/reliability/schemas/dropbox.js +47 -0
- package/dist/reliability/schemas/dropbox.js.map +1 -0
- package/dist/reliability/schemas/github.d.ts +9 -0
- package/dist/reliability/schemas/github.d.ts.map +1 -0
- package/dist/reliability/schemas/github.js +101 -0
- package/dist/reliability/schemas/github.js.map +1 -0
- package/dist/reliability/schemas/gitlab.d.ts +6 -0
- package/dist/reliability/schemas/gitlab.d.ts.map +1 -0
- package/dist/reliability/schemas/gitlab.js +102 -0
- package/dist/reliability/schemas/gitlab.js.map +1 -0
- package/dist/reliability/schemas/gmail.d.ts +9 -0
- package/dist/reliability/schemas/gmail.d.ts.map +1 -0
- package/dist/reliability/schemas/gmail.js +59 -0
- package/dist/reliability/schemas/gmail.js.map +1 -0
- package/dist/reliability/schemas/google-calendar.d.ts +7 -0
- package/dist/reliability/schemas/google-calendar.d.ts.map +1 -0
- package/dist/reliability/schemas/google-calendar.js +58 -0
- package/dist/reliability/schemas/google-calendar.js.map +1 -0
- package/dist/reliability/schemas/google-docs.d.ts +7 -0
- package/dist/reliability/schemas/google-docs.d.ts.map +1 -0
- package/dist/reliability/schemas/google-docs.js +39 -0
- package/dist/reliability/schemas/google-docs.js.map +1 -0
- package/dist/reliability/schemas/google-drive.d.ts +7 -0
- package/dist/reliability/schemas/google-drive.d.ts.map +1 -0
- package/dist/reliability/schemas/google-drive.js +56 -0
- package/dist/reliability/schemas/google-drive.js.map +1 -0
- package/dist/reliability/schemas/google-sheets.d.ts +7 -0
- package/dist/reliability/schemas/google-sheets.d.ts.map +1 -0
- package/dist/reliability/schemas/google-sheets.js +40 -0
- package/dist/reliability/schemas/google-sheets.js.map +1 -0
- package/dist/reliability/schemas/hubspot.d.ts +6 -0
- package/dist/reliability/schemas/hubspot.d.ts.map +1 -0
- package/dist/reliability/schemas/hubspot.js +92 -0
- package/dist/reliability/schemas/hubspot.js.map +1 -0
- package/dist/reliability/schemas/index.d.ts +45 -0
- package/dist/reliability/schemas/index.d.ts.map +1 -0
- package/dist/reliability/schemas/index.js +45 -0
- package/dist/reliability/schemas/index.js.map +1 -0
- package/dist/reliability/schemas/intercom.d.ts +6 -0
- package/dist/reliability/schemas/intercom.d.ts.map +1 -0
- package/dist/reliability/schemas/intercom.js +81 -0
- package/dist/reliability/schemas/intercom.js.map +1 -0
- package/dist/reliability/schemas/jira.d.ts +6 -0
- package/dist/reliability/schemas/jira.d.ts.map +1 -0
- package/dist/reliability/schemas/jira.js +50 -0
- package/dist/reliability/schemas/jira.js.map +1 -0
- package/dist/reliability/schemas/linear.d.ts +6 -0
- package/dist/reliability/schemas/linear.d.ts.map +1 -0
- package/dist/reliability/schemas/linear.js +39 -0
- package/dist/reliability/schemas/linear.js.map +1 -0
- package/dist/reliability/schemas/mailchimp.d.ts +7 -0
- package/dist/reliability/schemas/mailchimp.d.ts.map +1 -0
- package/dist/reliability/schemas/mailchimp.js +58 -0
- package/dist/reliability/schemas/mailchimp.js.map +1 -0
- package/dist/reliability/schemas/monday.d.ts +6 -0
- package/dist/reliability/schemas/monday.d.ts.map +1 -0
- package/dist/reliability/schemas/monday.js +52 -0
- package/dist/reliability/schemas/monday.js.map +1 -0
- package/dist/reliability/schemas/mysql.d.ts +7 -0
- package/dist/reliability/schemas/mysql.d.ts.map +1 -0
- package/dist/reliability/schemas/mysql.js +35 -0
- package/dist/reliability/schemas/mysql.js.map +1 -0
- package/dist/reliability/schemas/notion.d.ts +6 -0
- package/dist/reliability/schemas/notion.d.ts.map +1 -0
- package/dist/reliability/schemas/notion.js +63 -0
- package/dist/reliability/schemas/notion.js.map +1 -0
- package/dist/reliability/schemas/outlook.d.ts +7 -0
- package/dist/reliability/schemas/outlook.d.ts.map +1 -0
- package/dist/reliability/schemas/outlook.js +50 -0
- package/dist/reliability/schemas/outlook.js.map +1 -0
- package/dist/reliability/schemas/pagerduty.d.ts +6 -0
- package/dist/reliability/schemas/pagerduty.d.ts.map +1 -0
- package/dist/reliability/schemas/pagerduty.js +52 -0
- package/dist/reliability/schemas/pagerduty.js.map +1 -0
- package/dist/reliability/schemas/postgres.d.ts +7 -0
- package/dist/reliability/schemas/postgres.d.ts.map +1 -0
- package/dist/reliability/schemas/postgres.js +35 -0
- package/dist/reliability/schemas/postgres.js.map +1 -0
- package/dist/reliability/schemas/salesforce.d.ts +6 -0
- package/dist/reliability/schemas/salesforce.d.ts.map +1 -0
- package/dist/reliability/schemas/salesforce.js +35 -0
- package/dist/reliability/schemas/salesforce.js.map +1 -0
- package/dist/reliability/schemas/sendgrid.d.ts +7 -0
- package/dist/reliability/schemas/sendgrid.d.ts.map +1 -0
- package/dist/reliability/schemas/sendgrid.js +34 -0
- package/dist/reliability/schemas/sendgrid.js.map +1 -0
- package/dist/reliability/schemas/sentry.d.ts +6 -0
- package/dist/reliability/schemas/sentry.d.ts.map +1 -0
- package/dist/reliability/schemas/sentry.js +40 -0
- package/dist/reliability/schemas/sentry.js.map +1 -0
- package/dist/reliability/schemas/shopify.d.ts +7 -0
- package/dist/reliability/schemas/shopify.d.ts.map +1 -0
- package/dist/reliability/schemas/shopify.js +55 -0
- package/dist/reliability/schemas/shopify.js.map +1 -0
- package/dist/reliability/schemas/slack.d.ts +7 -0
- package/dist/reliability/schemas/slack.d.ts.map +1 -0
- package/dist/reliability/schemas/slack.js +66 -0
- package/dist/reliability/schemas/slack.js.map +1 -0
- package/dist/reliability/schemas/stripe.d.ts +7 -0
- package/dist/reliability/schemas/stripe.d.ts.map +1 -0
- package/dist/reliability/schemas/stripe.js +58 -0
- package/dist/reliability/schemas/stripe.js.map +1 -0
- package/dist/reliability/schemas/supabase.d.ts +7 -0
- package/dist/reliability/schemas/supabase.d.ts.map +1 -0
- package/dist/reliability/schemas/supabase.js +50 -0
- package/dist/reliability/schemas/supabase.js.map +1 -0
- package/dist/reliability/schemas/teams.d.ts +7 -0
- package/dist/reliability/schemas/teams.d.ts.map +1 -0
- package/dist/reliability/schemas/teams.js +44 -0
- package/dist/reliability/schemas/teams.js.map +1 -0
- package/dist/reliability/schemas/telegram.d.ts +7 -0
- package/dist/reliability/schemas/telegram.d.ts.map +1 -0
- package/dist/reliability/schemas/telegram.js +53 -0
- package/dist/reliability/schemas/telegram.js.map +1 -0
- package/dist/reliability/schemas/trello.d.ts +7 -0
- package/dist/reliability/schemas/trello.d.ts.map +1 -0
- package/dist/reliability/schemas/trello.js +51 -0
- package/dist/reliability/schemas/trello.js.map +1 -0
- package/dist/reliability/schemas/twilio.d.ts +7 -0
- package/dist/reliability/schemas/twilio.d.ts.map +1 -0
- package/dist/reliability/schemas/twilio.js +42 -0
- package/dist/reliability/schemas/twilio.js.map +1 -0
- package/dist/reliability/schemas/whatsapp.d.ts +7 -0
- package/dist/reliability/schemas/whatsapp.d.ts.map +1 -0
- package/dist/reliability/schemas/whatsapp.js +50 -0
- package/dist/reliability/schemas/whatsapp.js.map +1 -0
- package/dist/reliability/schemas/zendesk.d.ts +7 -0
- package/dist/reliability/schemas/zendesk.d.ts.map +1 -0
- package/dist/reliability/schemas/zendesk.js +53 -0
- package/dist/reliability/schemas/zendesk.js.map +1 -0
- package/dist/reliability/wrapper.d.ts +46 -0
- package/dist/reliability/wrapper.d.ts.map +1 -0
- package/dist/reliability/wrapper.js +174 -0
- package/dist/reliability/wrapper.js.map +1 -0
- package/dist/services/ai-browser.d.ts +112 -0
- package/dist/services/ai-browser.d.ts.map +1 -0
- package/dist/services/ai-browser.js +363 -0
- package/dist/services/ai-browser.js.map +1 -0
- package/dist/services/airtable.d.ts +3 -4
- package/dist/services/airtable.d.ts.map +1 -1
- package/dist/services/airtable.js +16 -24
- package/dist/services/airtable.js.map +1 -1
- package/dist/services/asana.d.ts +159 -0
- package/dist/services/asana.d.ts.map +1 -0
- package/dist/services/asana.js +202 -0
- package/dist/services/asana.js.map +1 -0
- package/dist/services/aws-s3.d.ts +89 -0
- package/dist/services/aws-s3.d.ts.map +1 -0
- package/dist/services/aws-s3.js +160 -0
- package/dist/services/aws-s3.js.map +1 -0
- package/dist/services/base-client.d.ts +102 -0
- package/dist/services/base-client.d.ts.map +1 -0
- package/dist/services/base-client.js +219 -0
- package/dist/services/base-client.js.map +1 -0
- package/dist/services/calendly.d.ts +158 -0
- package/dist/services/calendly.d.ts.map +1 -0
- package/dist/services/calendly.js +118 -0
- package/dist/services/calendly.js.map +1 -0
- package/dist/services/confluence.d.ts +4 -7
- package/dist/services/confluence.d.ts.map +1 -1
- package/dist/services/confluence.js +19 -28
- package/dist/services/confluence.js.map +1 -1
- package/dist/services/discord.d.ts +2 -4
- package/dist/services/discord.d.ts.map +1 -1
- package/dist/services/discord.js +17 -25
- package/dist/services/discord.js.map +1 -1
- package/dist/services/dropbox.d.ts +134 -0
- package/dist/services/dropbox.d.ts.map +1 -0
- package/dist/services/dropbox.js +196 -0
- package/dist/services/dropbox.js.map +1 -0
- package/dist/services/github.d.ts.map +1 -1
- package/dist/services/github.js +11 -5
- package/dist/services/github.js.map +1 -1
- package/dist/services/gitlab.d.ts +169 -0
- package/dist/services/gitlab.d.ts.map +1 -0
- package/dist/services/gitlab.js +164 -0
- package/dist/services/gitlab.js.map +1 -0
- package/dist/services/gmail.d.ts.map +1 -1
- package/dist/services/gmail.js +71 -4
- package/dist/services/gmail.js.map +1 -1
- package/dist/services/google-calendar.d.ts.map +1 -1
- package/dist/services/google-calendar.js +48 -4
- package/dist/services/google-calendar.js.map +1 -1
- package/dist/services/google-docs.d.ts.map +1 -1
- package/dist/services/google-docs.js +48 -4
- package/dist/services/google-docs.js.map +1 -1
- package/dist/services/google-drive.d.ts.map +1 -1
- package/dist/services/google-drive.js +48 -4
- package/dist/services/google-drive.js.map +1 -1
- package/dist/services/google-sheets.d.ts.map +1 -1
- package/dist/services/google-sheets.js +48 -4
- package/dist/services/google-sheets.js.map +1 -1
- package/dist/services/http.d.ts.map +1 -1
- package/dist/services/http.js +57 -1
- package/dist/services/http.js.map +1 -1
- package/dist/services/hubspot.d.ts +181 -0
- package/dist/services/hubspot.d.ts.map +1 -0
- package/dist/services/hubspot.js +171 -0
- package/dist/services/hubspot.js.map +1 -0
- package/dist/services/intercom.d.ts +186 -0
- package/dist/services/intercom.d.ts.map +1 -0
- package/dist/services/intercom.js +160 -0
- package/dist/services/intercom.js.map +1 -0
- package/dist/services/jira.d.ts.map +1 -1
- package/dist/services/jira.js +24 -2
- package/dist/services/jira.js.map +1 -1
- package/dist/services/linear.d.ts.map +1 -1
- package/dist/services/linear.js +10 -2
- package/dist/services/linear.js.map +1 -1
- package/dist/services/mailchimp.d.ts +169 -0
- package/dist/services/mailchimp.d.ts.map +1 -0
- package/dist/services/mailchimp.js +186 -0
- package/dist/services/mailchimp.js.map +1 -0
- package/dist/services/monday.d.ts +156 -0
- package/dist/services/monday.d.ts.map +1 -0
- package/dist/services/monday.js +256 -0
- package/dist/services/monday.js.map +1 -0
- package/dist/services/mysql.d.ts.map +1 -1
- package/dist/services/mysql.js +8 -2
- package/dist/services/mysql.js.map +1 -1
- package/dist/services/notion.d.ts +2 -3
- package/dist/services/notion.d.ts.map +1 -1
- package/dist/services/notion.js +17 -17
- package/dist/services/notion.js.map +1 -1
- package/dist/services/outlook.d.ts.map +1 -1
- package/dist/services/outlook.js +100 -6
- package/dist/services/outlook.js.map +1 -1
- package/dist/services/pagerduty.d.ts +128 -0
- package/dist/services/pagerduty.d.ts.map +1 -0
- package/dist/services/pagerduty.js +150 -0
- package/dist/services/pagerduty.js.map +1 -0
- package/dist/services/playwright.d.ts +678 -0
- package/dist/services/playwright.d.ts.map +1 -0
- package/dist/services/playwright.js +1141 -0
- package/dist/services/playwright.js.map +1 -0
- package/dist/services/postgres.d.ts.map +1 -1
- package/dist/services/postgres.js +8 -2
- package/dist/services/postgres.js.map +1 -1
- package/dist/services/salesforce.d.ts +78 -0
- package/dist/services/salesforce.d.ts.map +1 -0
- package/dist/services/salesforce.js +86 -0
- package/dist/services/salesforce.js.map +1 -0
- package/dist/services/sendgrid.d.ts +43 -0
- package/dist/services/sendgrid.d.ts.map +1 -0
- package/dist/services/sendgrid.js +93 -0
- package/dist/services/sendgrid.js.map +1 -0
- package/dist/services/sentry.d.ts +129 -0
- package/dist/services/sentry.d.ts.map +1 -0
- package/dist/services/sentry.js +111 -0
- package/dist/services/sentry.js.map +1 -0
- package/dist/services/shopify.d.ts +160 -0
- package/dist/services/shopify.d.ts.map +1 -0
- package/dist/services/shopify.js +172 -0
- package/dist/services/shopify.js.map +1 -0
- package/dist/services/slack-socket.d.ts.map +1 -1
- package/dist/services/slack-socket.js +2 -0
- package/dist/services/slack-socket.js.map +1 -1
- package/dist/services/slack.d.ts.map +1 -1
- package/dist/services/slack.js +9 -1
- package/dist/services/slack.js.map +1 -1
- package/dist/services/stripe.d.ts +275 -0
- package/dist/services/stripe.d.ts.map +1 -0
- package/dist/services/stripe.js +235 -0
- package/dist/services/stripe.js.map +1 -0
- package/dist/services/supabase.d.ts +11 -4
- package/dist/services/supabase.d.ts.map +1 -1
- package/dist/services/supabase.js +33 -22
- package/dist/services/supabase.js.map +1 -1
- package/dist/services/teams.d.ts +224 -0
- package/dist/services/teams.d.ts.map +1 -0
- package/dist/services/teams.js +265 -0
- package/dist/services/teams.js.map +1 -0
- package/dist/services/telegram.d.ts +6 -3
- package/dist/services/telegram.d.ts.map +1 -1
- package/dist/services/telegram.js +39 -34
- package/dist/services/telegram.js.map +1 -1
- package/dist/services/trello.d.ts +160 -0
- package/dist/services/trello.d.ts.map +1 -0
- package/dist/services/trello.js +200 -0
- package/dist/services/trello.js.map +1 -0
- package/dist/services/twilio.d.ts +126 -0
- package/dist/services/twilio.d.ts.map +1 -0
- package/dist/services/twilio.js +159 -0
- package/dist/services/twilio.js.map +1 -0
- package/dist/services/whatsapp.d.ts.map +1 -1
- package/dist/services/whatsapp.js +8 -2
- package/dist/services/whatsapp.js.map +1 -1
- package/dist/services/zendesk.d.ts +134 -0
- package/dist/services/zendesk.d.ts.map +1 -0
- package/dist/services/zendesk.js +154 -0
- package/dist/services/zendesk.js.map +1 -0
- package/dist/tools/script.d.ts +18 -0
- package/dist/tools/script.d.ts.map +1 -1
- package/dist/tools/script.js +116 -1
- package/dist/tools/script.js.map +1 -1
- package/package.json +35 -8
- package/dist/claude-code.d.ts +0 -16
- package/dist/claude-code.d.ts.map +0 -1
- package/dist/claude-code.js +0 -56
- package/dist/claude-code.js.map +0 -1
- package/dist/github.d.ts +0 -3
- package/dist/github.d.ts.map +0 -1
- package/dist/github.js +0 -13
- package/dist/github.js.map +0 -1
- package/dist/jira.d.ts +0 -3
- package/dist/jira.d.ts.map +0 -1
- package/dist/jira.js +0 -21
- package/dist/jira.js.map +0 -1
- package/dist/ollama.d.ts +0 -3
- package/dist/ollama.d.ts.map +0 -1
- package/dist/ollama.js +0 -9
- package/dist/ollama.js.map +0 -1
- package/dist/opencode.d.ts +0 -19
- package/dist/opencode.d.ts.map +0 -1
- package/dist/opencode.js +0 -104
- package/dist/opencode.js.map +0 -1
- package/dist/script.d.ts +0 -3
- package/dist/script.d.ts.map +0 -1
- package/dist/script.js +0 -21
- package/dist/script.js.map +0 -1
- package/dist/services/github.d.ts +0 -3
- package/dist/services/gmail-trigger.d.ts +0 -92
- package/dist/services/gmail.d.ts +0 -116
- package/dist/services/google-calendar.d.ts +0 -220
- package/dist/services/google-docs.d.ts +0 -197
- package/dist/services/google-drive.d.ts +0 -149
- package/dist/services/google-sheets.d.ts +0 -165
- package/dist/services/http.d.ts +0 -120
- package/dist/services/jira.d.ts +0 -3
- package/dist/services/linear.d.ts +0 -163
- package/dist/services/mysql.d.ts +0 -91
- package/dist/services/outlook-trigger.d.ts +0 -121
- package/dist/services/outlook.d.ts +0 -237
- package/dist/services/postgres.d.ts +0 -83
- package/dist/services/slack-socket.d.ts +0 -18
- package/dist/services/slack.d.ts +0 -3
- package/dist/services/whatsapp.d.ts +0 -311
- package/dist/slack.d.ts +0 -3
- package/dist/slack.d.ts.map +0 -1
- package/dist/slack.js +0 -11
- package/dist/slack.js.map +0 -1
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Linear Integration
|
|
3
|
-
*
|
|
4
|
-
* Modern issue tracking for development teams.
|
|
5
|
-
* API Docs: https://developers.linear.app/docs/graphql/working-with-the-graphql-api
|
|
6
|
-
*/
|
|
7
|
-
import { SDKInitializer } from '@marktoflow/core';
|
|
8
|
-
export interface LinearIssue {
|
|
9
|
-
id: string;
|
|
10
|
-
identifier: string;
|
|
11
|
-
title: string;
|
|
12
|
-
description?: string;
|
|
13
|
-
priority: number;
|
|
14
|
-
priorityLabel: string;
|
|
15
|
-
state: {
|
|
16
|
-
id: string;
|
|
17
|
-
name: string;
|
|
18
|
-
type: string;
|
|
19
|
-
};
|
|
20
|
-
assignee?: {
|
|
21
|
-
id: string;
|
|
22
|
-
name: string;
|
|
23
|
-
email: string;
|
|
24
|
-
};
|
|
25
|
-
team: {
|
|
26
|
-
id: string;
|
|
27
|
-
name: string;
|
|
28
|
-
key: string;
|
|
29
|
-
};
|
|
30
|
-
project?: {
|
|
31
|
-
id: string;
|
|
32
|
-
name: string;
|
|
33
|
-
};
|
|
34
|
-
labels: {
|
|
35
|
-
id: string;
|
|
36
|
-
name: string;
|
|
37
|
-
color: string;
|
|
38
|
-
}[];
|
|
39
|
-
createdAt: string;
|
|
40
|
-
updatedAt: string;
|
|
41
|
-
url: string;
|
|
42
|
-
}
|
|
43
|
-
export interface LinearProject {
|
|
44
|
-
id: string;
|
|
45
|
-
name: string;
|
|
46
|
-
description?: string;
|
|
47
|
-
state: string;
|
|
48
|
-
progress: number;
|
|
49
|
-
targetDate?: string;
|
|
50
|
-
teams: {
|
|
51
|
-
id: string;
|
|
52
|
-
name: string;
|
|
53
|
-
}[];
|
|
54
|
-
}
|
|
55
|
-
export interface LinearTeam {
|
|
56
|
-
id: string;
|
|
57
|
-
name: string;
|
|
58
|
-
key: string;
|
|
59
|
-
description?: string;
|
|
60
|
-
issueCount: number;
|
|
61
|
-
}
|
|
62
|
-
export interface CreateIssueOptions {
|
|
63
|
-
teamId: string;
|
|
64
|
-
title: string;
|
|
65
|
-
description?: string;
|
|
66
|
-
priority?: number;
|
|
67
|
-
assigneeId?: string;
|
|
68
|
-
labelIds?: string[];
|
|
69
|
-
projectId?: string;
|
|
70
|
-
stateId?: string;
|
|
71
|
-
estimate?: number;
|
|
72
|
-
dueDate?: string;
|
|
73
|
-
parentId?: string;
|
|
74
|
-
}
|
|
75
|
-
export interface UpdateIssueOptions {
|
|
76
|
-
title?: string;
|
|
77
|
-
description?: string;
|
|
78
|
-
priority?: number;
|
|
79
|
-
assigneeId?: string;
|
|
80
|
-
labelIds?: string[];
|
|
81
|
-
projectId?: string;
|
|
82
|
-
stateId?: string;
|
|
83
|
-
estimate?: number;
|
|
84
|
-
dueDate?: string;
|
|
85
|
-
}
|
|
86
|
-
export interface SearchIssuesOptions {
|
|
87
|
-
query?: string;
|
|
88
|
-
teamId?: string;
|
|
89
|
-
assigneeId?: string;
|
|
90
|
-
stateId?: string;
|
|
91
|
-
labelIds?: string[];
|
|
92
|
-
projectId?: string;
|
|
93
|
-
priority?: number;
|
|
94
|
-
first?: number;
|
|
95
|
-
after?: string;
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* Linear GraphQL client for workflow integration
|
|
99
|
-
*/
|
|
100
|
-
export declare class LinearClient {
|
|
101
|
-
private apiKey;
|
|
102
|
-
constructor(apiKey: string);
|
|
103
|
-
private query;
|
|
104
|
-
/**
|
|
105
|
-
* Get the current user
|
|
106
|
-
*/
|
|
107
|
-
getViewer(): Promise<{
|
|
108
|
-
id: string;
|
|
109
|
-
name: string;
|
|
110
|
-
email: string;
|
|
111
|
-
}>;
|
|
112
|
-
/**
|
|
113
|
-
* List teams
|
|
114
|
-
*/
|
|
115
|
-
listTeams(): Promise<LinearTeam[]>;
|
|
116
|
-
/**
|
|
117
|
-
* Get an issue by ID or identifier
|
|
118
|
-
*/
|
|
119
|
-
getIssue(idOrIdentifier: string): Promise<LinearIssue>;
|
|
120
|
-
/**
|
|
121
|
-
* Create an issue
|
|
122
|
-
*/
|
|
123
|
-
createIssue(options: CreateIssueOptions): Promise<LinearIssue>;
|
|
124
|
-
/**
|
|
125
|
-
* Update an issue
|
|
126
|
-
*/
|
|
127
|
-
updateIssue(issueId: string, options: UpdateIssueOptions): Promise<LinearIssue>;
|
|
128
|
-
/**
|
|
129
|
-
* Search issues
|
|
130
|
-
*/
|
|
131
|
-
searchIssues(options?: SearchIssuesOptions): Promise<{
|
|
132
|
-
issues: LinearIssue[];
|
|
133
|
-
hasMore: boolean;
|
|
134
|
-
endCursor?: string;
|
|
135
|
-
}>;
|
|
136
|
-
/**
|
|
137
|
-
* List projects
|
|
138
|
-
*/
|
|
139
|
-
listProjects(teamId?: string): Promise<LinearProject[]>;
|
|
140
|
-
/**
|
|
141
|
-
* Get workflow states for a team
|
|
142
|
-
*/
|
|
143
|
-
getWorkflowStates(teamId: string): Promise<{
|
|
144
|
-
id: string;
|
|
145
|
-
name: string;
|
|
146
|
-
type: string;
|
|
147
|
-
position: number;
|
|
148
|
-
}[]>;
|
|
149
|
-
/**
|
|
150
|
-
* Add a comment to an issue
|
|
151
|
-
*/
|
|
152
|
-
addComment(issueId: string, body: string): Promise<{
|
|
153
|
-
id: string;
|
|
154
|
-
body: string;
|
|
155
|
-
createdAt: string;
|
|
156
|
-
}>;
|
|
157
|
-
/**
|
|
158
|
-
* Archive an issue
|
|
159
|
-
*/
|
|
160
|
-
archiveIssue(issueId: string): Promise<void>;
|
|
161
|
-
}
|
|
162
|
-
export declare const LinearInitializer: SDKInitializer;
|
|
163
|
-
//# sourceMappingURL=linear.d.ts.map
|
package/dist/services/mysql.d.ts
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* MySQL Integration
|
|
3
|
-
*
|
|
4
|
-
* Popular open-source relational database.
|
|
5
|
-
* API: Using mysql2 driver
|
|
6
|
-
*/
|
|
7
|
-
import { SDKInitializer } from '@marktoflow/core';
|
|
8
|
-
export interface MySQLConfig {
|
|
9
|
-
host: string;
|
|
10
|
-
port?: number;
|
|
11
|
-
database: string;
|
|
12
|
-
user: string;
|
|
13
|
-
password: string;
|
|
14
|
-
ssl?: boolean | {
|
|
15
|
-
rejectUnauthorized?: boolean;
|
|
16
|
-
};
|
|
17
|
-
connectTimeout?: number;
|
|
18
|
-
connectionLimit?: number;
|
|
19
|
-
waitForConnections?: boolean;
|
|
20
|
-
queueLimit?: number;
|
|
21
|
-
}
|
|
22
|
-
export interface QueryResult<T = unknown> {
|
|
23
|
-
rows: T[];
|
|
24
|
-
fields: {
|
|
25
|
-
name: string;
|
|
26
|
-
type: string;
|
|
27
|
-
}[];
|
|
28
|
-
affectedRows?: number;
|
|
29
|
-
insertId?: number;
|
|
30
|
-
}
|
|
31
|
-
export interface MySQLTransaction {
|
|
32
|
-
query<T = unknown>(sql: string, params?: unknown[]): Promise<QueryResult<T>>;
|
|
33
|
-
commit(): Promise<void>;
|
|
34
|
-
rollback(): Promise<void>;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* MySQL client wrapper for workflow integration
|
|
38
|
-
* Note: This is a lightweight wrapper. The actual mysql2 module will be dynamically imported.
|
|
39
|
-
*/
|
|
40
|
-
export declare class MySQLClient {
|
|
41
|
-
private pool;
|
|
42
|
-
private config;
|
|
43
|
-
constructor(config: MySQLConfig);
|
|
44
|
-
/**
|
|
45
|
-
* Initialize the connection pool
|
|
46
|
-
*/
|
|
47
|
-
connect(): Promise<void>;
|
|
48
|
-
/**
|
|
49
|
-
* Execute a SQL query
|
|
50
|
-
*/
|
|
51
|
-
query<T = unknown>(sql: string, params?: unknown[]): Promise<QueryResult<T>>;
|
|
52
|
-
/**
|
|
53
|
-
* Select data from a table
|
|
54
|
-
*/
|
|
55
|
-
select<T = Record<string, unknown>>(table: string, options?: {
|
|
56
|
-
columns?: string[];
|
|
57
|
-
where?: Record<string, unknown>;
|
|
58
|
-
orderBy?: string;
|
|
59
|
-
limit?: number;
|
|
60
|
-
offset?: number;
|
|
61
|
-
}): Promise<T[]>;
|
|
62
|
-
/**
|
|
63
|
-
* Insert data into a table
|
|
64
|
-
*/
|
|
65
|
-
insert<T = Record<string, unknown>>(table: string, data: Record<string, unknown> | Record<string, unknown>[]): Promise<{
|
|
66
|
-
insertId: number;
|
|
67
|
-
affectedRows: number;
|
|
68
|
-
}>;
|
|
69
|
-
/**
|
|
70
|
-
* Update data in a table
|
|
71
|
-
*/
|
|
72
|
-
update<T = Record<string, unknown>>(table: string, data: Record<string, unknown>, where: Record<string, unknown>): Promise<{
|
|
73
|
-
affectedRows: number;
|
|
74
|
-
}>;
|
|
75
|
-
/**
|
|
76
|
-
* Delete data from a table
|
|
77
|
-
*/
|
|
78
|
-
delete<T = Record<string, unknown>>(table: string, where: Record<string, unknown>): Promise<{
|
|
79
|
-
affectedRows: number;
|
|
80
|
-
}>;
|
|
81
|
-
/**
|
|
82
|
-
* Begin a transaction
|
|
83
|
-
*/
|
|
84
|
-
transaction<T>(callback: (trx: MySQLTransaction) => Promise<T>): Promise<T>;
|
|
85
|
-
/**
|
|
86
|
-
* Close the connection pool
|
|
87
|
-
*/
|
|
88
|
-
close(): Promise<void>;
|
|
89
|
-
}
|
|
90
|
-
export declare const MySQLInitializer: SDKInitializer;
|
|
91
|
-
//# sourceMappingURL=mysql.d.ts.map
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import { TriggerType } from '@marktoflow/core';
|
|
2
|
-
export interface OutlookTriggerConfig {
|
|
3
|
-
token: string;
|
|
4
|
-
notificationUrl: string;
|
|
5
|
-
changeTypes?: ('created' | 'updated' | 'deleted')[];
|
|
6
|
-
resource?: string;
|
|
7
|
-
expirationMinutes?: number;
|
|
8
|
-
clientState?: string;
|
|
9
|
-
triggers: Array<{
|
|
10
|
-
id: string;
|
|
11
|
-
event: 'email_received' | 'email_updated' | 'email_deleted';
|
|
12
|
-
handler: (payload: OutlookTriggerPayload) => Promise<void>;
|
|
13
|
-
}>;
|
|
14
|
-
}
|
|
15
|
-
export interface OutlookTriggerPayload {
|
|
16
|
-
type: TriggerType;
|
|
17
|
-
event: 'email_received' | 'email_updated' | 'email_deleted';
|
|
18
|
-
subscriptionId: string;
|
|
19
|
-
changeType: string;
|
|
20
|
-
resource: string;
|
|
21
|
-
resourceData?: {
|
|
22
|
-
id: string;
|
|
23
|
-
[key: string]: unknown;
|
|
24
|
-
};
|
|
25
|
-
clientState?: string;
|
|
26
|
-
tenantId?: string;
|
|
27
|
-
}
|
|
28
|
-
export interface GraphSubscription {
|
|
29
|
-
id: string;
|
|
30
|
-
resource: string;
|
|
31
|
-
changeType: string;
|
|
32
|
-
notificationUrl: string;
|
|
33
|
-
expirationDateTime: string;
|
|
34
|
-
clientState?: string;
|
|
35
|
-
}
|
|
36
|
-
export interface GraphNotification {
|
|
37
|
-
value: Array<{
|
|
38
|
-
subscriptionId: string;
|
|
39
|
-
subscriptionExpirationDateTime: string;
|
|
40
|
-
changeType: string;
|
|
41
|
-
resource: string;
|
|
42
|
-
resourceData?: {
|
|
43
|
-
'@odata.type': string;
|
|
44
|
-
'@odata.id': string;
|
|
45
|
-
'@odata.etag': string;
|
|
46
|
-
id: string;
|
|
47
|
-
[key: string]: unknown;
|
|
48
|
-
};
|
|
49
|
-
clientState?: string;
|
|
50
|
-
tenantId?: string;
|
|
51
|
-
}>;
|
|
52
|
-
}
|
|
53
|
-
export interface GraphValidationRequest extends Record<string, unknown> {
|
|
54
|
-
validationToken: string;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Outlook trigger handler for Microsoft Graph webhook subscriptions.
|
|
58
|
-
*
|
|
59
|
-
* Setup requirements:
|
|
60
|
-
* 1. Register an Azure AD application with Mail.Read permissions
|
|
61
|
-
* 2. Set up a publicly accessible webhook endpoint
|
|
62
|
-
* 3. Call subscribe() to start receiving notifications
|
|
63
|
-
* 4. Handle subscription renewal before expiration (max ~3 days)
|
|
64
|
-
*/
|
|
65
|
-
export declare class OutlookTrigger {
|
|
66
|
-
private config;
|
|
67
|
-
private client;
|
|
68
|
-
private subscription?;
|
|
69
|
-
constructor(config: OutlookTriggerConfig);
|
|
70
|
-
/**
|
|
71
|
-
* Create a subscription to receive mail notifications.
|
|
72
|
-
*/
|
|
73
|
-
subscribe(): Promise<GraphSubscription>;
|
|
74
|
-
/**
|
|
75
|
-
* Renew an existing subscription.
|
|
76
|
-
*/
|
|
77
|
-
renew(expirationMinutes?: number): Promise<GraphSubscription>;
|
|
78
|
-
/**
|
|
79
|
-
* Delete the subscription (stop receiving notifications).
|
|
80
|
-
*/
|
|
81
|
-
unsubscribe(): Promise<void>;
|
|
82
|
-
/**
|
|
83
|
-
* Get the current subscription status.
|
|
84
|
-
*/
|
|
85
|
-
getSubscription(): GraphSubscription | undefined;
|
|
86
|
-
/**
|
|
87
|
-
* Check if subscription is still active (not expired).
|
|
88
|
-
*/
|
|
89
|
-
isSubscriptionActive(): boolean;
|
|
90
|
-
/**
|
|
91
|
-
* Handle an incoming Graph notification.
|
|
92
|
-
* Call this from your webhook endpoint after validation.
|
|
93
|
-
*/
|
|
94
|
-
handleNotification(notification: GraphNotification): Promise<void>;
|
|
95
|
-
/**
|
|
96
|
-
* Check if a request is a validation request from Graph.
|
|
97
|
-
*/
|
|
98
|
-
static isValidationRequest(query: Record<string, unknown>): query is GraphValidationRequest;
|
|
99
|
-
/**
|
|
100
|
-
* Validate the notification body structure.
|
|
101
|
-
*/
|
|
102
|
-
static validateNotification(body: unknown): body is GraphNotification;
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Express/Fastify-compatible middleware for handling Outlook Graph webhooks.
|
|
106
|
-
*
|
|
107
|
-
* Handles both:
|
|
108
|
-
* - Subscription validation (GET with validationToken)
|
|
109
|
-
* - Notification processing (POST with notification payload)
|
|
110
|
-
*/
|
|
111
|
-
export declare function createOutlookWebhookHandler(trigger: OutlookTrigger): (req: {
|
|
112
|
-
method: string;
|
|
113
|
-
query: Record<string, unknown>;
|
|
114
|
-
body: unknown;
|
|
115
|
-
}, res: {
|
|
116
|
-
status: (code: number) => {
|
|
117
|
-
send: (body?: string) => void;
|
|
118
|
-
};
|
|
119
|
-
contentType: (type: string) => void;
|
|
120
|
-
}) => Promise<void>;
|
|
121
|
-
//# sourceMappingURL=outlook-trigger.d.ts.map
|
|
@@ -1,237 +0,0 @@
|
|
|
1
|
-
import { Client } from '@microsoft/microsoft-graph-client';
|
|
2
|
-
import { SDKInitializer } from '@marktoflow/core';
|
|
3
|
-
export interface OutlookEmail {
|
|
4
|
-
id: string;
|
|
5
|
-
conversationId: string;
|
|
6
|
-
subject: string;
|
|
7
|
-
from: string;
|
|
8
|
-
fromAddress: string;
|
|
9
|
-
to: {
|
|
10
|
-
name: string;
|
|
11
|
-
address: string;
|
|
12
|
-
}[];
|
|
13
|
-
cc?: {
|
|
14
|
-
name: string;
|
|
15
|
-
address: string;
|
|
16
|
-
}[];
|
|
17
|
-
bcc?: {
|
|
18
|
-
name: string;
|
|
19
|
-
address: string;
|
|
20
|
-
}[];
|
|
21
|
-
receivedDateTime: string;
|
|
22
|
-
sentDateTime?: string;
|
|
23
|
-
bodyPreview: string;
|
|
24
|
-
body?: string;
|
|
25
|
-
bodyHtml?: string;
|
|
26
|
-
isRead: boolean;
|
|
27
|
-
hasAttachments: boolean;
|
|
28
|
-
importance: 'low' | 'normal' | 'high';
|
|
29
|
-
categories: string[];
|
|
30
|
-
webLink?: string;
|
|
31
|
-
}
|
|
32
|
-
export interface GetEmailsOptions {
|
|
33
|
-
folder?: string;
|
|
34
|
-
filter?: string;
|
|
35
|
-
select?: string[];
|
|
36
|
-
top?: number;
|
|
37
|
-
skip?: number;
|
|
38
|
-
orderBy?: string;
|
|
39
|
-
search?: string;
|
|
40
|
-
}
|
|
41
|
-
export interface SendEmailOptions {
|
|
42
|
-
to: string | string[] | {
|
|
43
|
-
name?: string;
|
|
44
|
-
address: string;
|
|
45
|
-
}[];
|
|
46
|
-
subject: string;
|
|
47
|
-
body: string;
|
|
48
|
-
bodyType?: 'text' | 'html';
|
|
49
|
-
cc?: string | string[] | {
|
|
50
|
-
name?: string;
|
|
51
|
-
address: string;
|
|
52
|
-
}[];
|
|
53
|
-
bcc?: string | string[] | {
|
|
54
|
-
name?: string;
|
|
55
|
-
address: string;
|
|
56
|
-
}[];
|
|
57
|
-
importance?: 'low' | 'normal' | 'high';
|
|
58
|
-
saveToSentItems?: boolean;
|
|
59
|
-
replyTo?: string | {
|
|
60
|
-
name?: string;
|
|
61
|
-
address: string;
|
|
62
|
-
}[];
|
|
63
|
-
}
|
|
64
|
-
export interface CreateDraftOptions {
|
|
65
|
-
to?: string | string[] | {
|
|
66
|
-
name?: string;
|
|
67
|
-
address: string;
|
|
68
|
-
}[];
|
|
69
|
-
subject?: string;
|
|
70
|
-
body?: string;
|
|
71
|
-
bodyType?: 'text' | 'html';
|
|
72
|
-
cc?: string | string[] | {
|
|
73
|
-
name?: string;
|
|
74
|
-
address: string;
|
|
75
|
-
}[];
|
|
76
|
-
bcc?: string | string[] | {
|
|
77
|
-
name?: string;
|
|
78
|
-
address: string;
|
|
79
|
-
}[];
|
|
80
|
-
importance?: 'low' | 'normal' | 'high';
|
|
81
|
-
}
|
|
82
|
-
export interface CalendarEvent {
|
|
83
|
-
id: string;
|
|
84
|
-
subject: string;
|
|
85
|
-
body?: string;
|
|
86
|
-
bodyHtml?: string;
|
|
87
|
-
start: {
|
|
88
|
-
dateTime: string;
|
|
89
|
-
timeZone: string;
|
|
90
|
-
};
|
|
91
|
-
end: {
|
|
92
|
-
dateTime: string;
|
|
93
|
-
timeZone: string;
|
|
94
|
-
};
|
|
95
|
-
location?: string;
|
|
96
|
-
attendees: {
|
|
97
|
-
name: string;
|
|
98
|
-
address: string;
|
|
99
|
-
type: string;
|
|
100
|
-
}[];
|
|
101
|
-
organizer?: {
|
|
102
|
-
name: string;
|
|
103
|
-
address: string;
|
|
104
|
-
};
|
|
105
|
-
isOnlineMeeting: boolean;
|
|
106
|
-
onlineMeetingUrl?: string;
|
|
107
|
-
webLink?: string;
|
|
108
|
-
}
|
|
109
|
-
export interface GetEventsOptions {
|
|
110
|
-
startDateTime?: string;
|
|
111
|
-
endDateTime?: string;
|
|
112
|
-
top?: number;
|
|
113
|
-
skip?: number;
|
|
114
|
-
filter?: string;
|
|
115
|
-
orderBy?: string;
|
|
116
|
-
}
|
|
117
|
-
export interface CreateEventOptions {
|
|
118
|
-
subject: string;
|
|
119
|
-
body?: string;
|
|
120
|
-
bodyType?: 'text' | 'html';
|
|
121
|
-
start: {
|
|
122
|
-
dateTime: string;
|
|
123
|
-
timeZone?: string;
|
|
124
|
-
};
|
|
125
|
-
end: {
|
|
126
|
-
dateTime: string;
|
|
127
|
-
timeZone?: string;
|
|
128
|
-
};
|
|
129
|
-
location?: string;
|
|
130
|
-
attendees?: (string | {
|
|
131
|
-
name?: string;
|
|
132
|
-
address: string;
|
|
133
|
-
})[];
|
|
134
|
-
isOnlineMeeting?: boolean;
|
|
135
|
-
reminderMinutesBeforeStart?: number;
|
|
136
|
-
}
|
|
137
|
-
export interface OutlookDraft {
|
|
138
|
-
id: string;
|
|
139
|
-
conversationId?: string;
|
|
140
|
-
webLink?: string;
|
|
141
|
-
}
|
|
142
|
-
export interface GetEmailsResult {
|
|
143
|
-
emails: OutlookEmail[];
|
|
144
|
-
nextLink?: string;
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* Outlook actions for workflow integration (Email + Calendar)
|
|
148
|
-
*/
|
|
149
|
-
export declare class OutlookActions {
|
|
150
|
-
private client;
|
|
151
|
-
constructor(client: Client);
|
|
152
|
-
/**
|
|
153
|
-
* Get emails from Outlook mailbox
|
|
154
|
-
*/
|
|
155
|
-
getEmails(options?: GetEmailsOptions): Promise<GetEmailsResult>;
|
|
156
|
-
/**
|
|
157
|
-
* Get a specific email by ID
|
|
158
|
-
*/
|
|
159
|
-
getEmail(id: string): Promise<OutlookEmail>;
|
|
160
|
-
/**
|
|
161
|
-
* Send an email via Outlook
|
|
162
|
-
*/
|
|
163
|
-
sendEmail(options: SendEmailOptions): Promise<void>;
|
|
164
|
-
/**
|
|
165
|
-
* Create a draft email in Outlook
|
|
166
|
-
*/
|
|
167
|
-
createDraft(options: CreateDraftOptions): Promise<OutlookDraft>;
|
|
168
|
-
/**
|
|
169
|
-
* Reply to an email
|
|
170
|
-
*/
|
|
171
|
-
reply(messageId: string, body: string, bodyType?: 'text' | 'html', replyAll?: boolean): Promise<void>;
|
|
172
|
-
/**
|
|
173
|
-
* Forward an email
|
|
174
|
-
*/
|
|
175
|
-
forward(messageId: string, to: string | string[] | {
|
|
176
|
-
name?: string;
|
|
177
|
-
address: string;
|
|
178
|
-
}[], comment?: string): Promise<void>;
|
|
179
|
-
/**
|
|
180
|
-
* Mark an email as read
|
|
181
|
-
*/
|
|
182
|
-
markAsRead(id: string): Promise<void>;
|
|
183
|
-
/**
|
|
184
|
-
* Mark an email as unread
|
|
185
|
-
*/
|
|
186
|
-
markAsUnread(id: string): Promise<void>;
|
|
187
|
-
/**
|
|
188
|
-
* Move an email to a folder
|
|
189
|
-
*/
|
|
190
|
-
moveToFolder(messageId: string, destinationFolderId: string): Promise<void>;
|
|
191
|
-
/**
|
|
192
|
-
* Delete an email (move to deleted items)
|
|
193
|
-
*/
|
|
194
|
-
delete(id: string): Promise<void>;
|
|
195
|
-
/**
|
|
196
|
-
* List mail folders
|
|
197
|
-
*/
|
|
198
|
-
listFolders(): Promise<{
|
|
199
|
-
id: string;
|
|
200
|
-
displayName: string;
|
|
201
|
-
totalItemCount: number;
|
|
202
|
-
}[]>;
|
|
203
|
-
/**
|
|
204
|
-
* Get calendar events
|
|
205
|
-
*/
|
|
206
|
-
getEvents(options?: GetEventsOptions): Promise<CalendarEvent[]>;
|
|
207
|
-
/**
|
|
208
|
-
* Get a specific calendar event by ID
|
|
209
|
-
*/
|
|
210
|
-
getEvent(id: string): Promise<CalendarEvent>;
|
|
211
|
-
/**
|
|
212
|
-
* Create a calendar event
|
|
213
|
-
*/
|
|
214
|
-
createEvent(options: CreateEventOptions): Promise<CalendarEvent>;
|
|
215
|
-
/**
|
|
216
|
-
* Update a calendar event
|
|
217
|
-
*/
|
|
218
|
-
updateEvent(id: string, updates: Partial<CreateEventOptions>): Promise<CalendarEvent>;
|
|
219
|
-
/**
|
|
220
|
-
* Delete a calendar event
|
|
221
|
-
*/
|
|
222
|
-
deleteEvent(id: string): Promise<void>;
|
|
223
|
-
/**
|
|
224
|
-
* Accept a meeting invitation
|
|
225
|
-
*/
|
|
226
|
-
acceptEvent(id: string, comment?: string, sendResponse?: boolean): Promise<void>;
|
|
227
|
-
/**
|
|
228
|
-
* Decline a meeting invitation
|
|
229
|
-
*/
|
|
230
|
-
declineEvent(id: string, comment?: string, sendResponse?: boolean): Promise<void>;
|
|
231
|
-
/**
|
|
232
|
-
* Tentatively accept a meeting invitation
|
|
233
|
-
*/
|
|
234
|
-
tentativelyAcceptEvent(id: string, comment?: string, sendResponse?: boolean): Promise<void>;
|
|
235
|
-
}
|
|
236
|
-
export declare const OutlookInitializer: SDKInitializer;
|
|
237
|
-
//# sourceMappingURL=outlook.d.ts.map
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PostgreSQL Integration
|
|
3
|
-
*
|
|
4
|
-
* Popular open-source relational database.
|
|
5
|
-
* API: Using node-postgres (pg) driver
|
|
6
|
-
*/
|
|
7
|
-
import { SDKInitializer } from '@marktoflow/core';
|
|
8
|
-
export interface PostgresConfig {
|
|
9
|
-
host: string;
|
|
10
|
-
port?: number;
|
|
11
|
-
database: string;
|
|
12
|
-
user: string;
|
|
13
|
-
password: string;
|
|
14
|
-
ssl?: boolean | {
|
|
15
|
-
rejectUnauthorized?: boolean;
|
|
16
|
-
};
|
|
17
|
-
connectionTimeoutMillis?: number;
|
|
18
|
-
idleTimeoutMillis?: number;
|
|
19
|
-
max?: number;
|
|
20
|
-
}
|
|
21
|
-
export interface QueryResult<T = unknown> {
|
|
22
|
-
rows: T[];
|
|
23
|
-
rowCount: number;
|
|
24
|
-
command: string;
|
|
25
|
-
fields: {
|
|
26
|
-
name: string;
|
|
27
|
-
dataTypeID: number;
|
|
28
|
-
}[];
|
|
29
|
-
}
|
|
30
|
-
export interface PostgresTransaction {
|
|
31
|
-
query<T = unknown>(sql: string, params?: unknown[]): Promise<QueryResult<T>>;
|
|
32
|
-
commit(): Promise<void>;
|
|
33
|
-
rollback(): Promise<void>;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* PostgreSQL client wrapper for workflow integration
|
|
37
|
-
* Note: This is a lightweight wrapper. The actual pg module will be dynamically imported.
|
|
38
|
-
*/
|
|
39
|
-
export declare class PostgresClient {
|
|
40
|
-
private pool;
|
|
41
|
-
private config;
|
|
42
|
-
constructor(config: PostgresConfig);
|
|
43
|
-
/**
|
|
44
|
-
* Initialize the connection pool
|
|
45
|
-
*/
|
|
46
|
-
connect(): Promise<void>;
|
|
47
|
-
/**
|
|
48
|
-
* Execute a SQL query
|
|
49
|
-
*/
|
|
50
|
-
query<T = unknown>(sql: string, params?: unknown[]): Promise<QueryResult<T>>;
|
|
51
|
-
/**
|
|
52
|
-
* Select data from a table
|
|
53
|
-
*/
|
|
54
|
-
select<T = Record<string, unknown>>(table: string, options?: {
|
|
55
|
-
columns?: string[];
|
|
56
|
-
where?: Record<string, unknown>;
|
|
57
|
-
orderBy?: string;
|
|
58
|
-
limit?: number;
|
|
59
|
-
offset?: number;
|
|
60
|
-
}): Promise<T[]>;
|
|
61
|
-
/**
|
|
62
|
-
* Insert data into a table
|
|
63
|
-
*/
|
|
64
|
-
insert<T = Record<string, unknown>>(table: string, data: Record<string, unknown> | Record<string, unknown>[], returning?: string[]): Promise<T[]>;
|
|
65
|
-
/**
|
|
66
|
-
* Update data in a table
|
|
67
|
-
*/
|
|
68
|
-
update<T = Record<string, unknown>>(table: string, data: Record<string, unknown>, where: Record<string, unknown>, returning?: string[]): Promise<T[]>;
|
|
69
|
-
/**
|
|
70
|
-
* Delete data from a table
|
|
71
|
-
*/
|
|
72
|
-
delete<T = Record<string, unknown>>(table: string, where: Record<string, unknown>, returning?: string[]): Promise<T[]>;
|
|
73
|
-
/**
|
|
74
|
-
* Begin a transaction
|
|
75
|
-
*/
|
|
76
|
-
transaction<T>(callback: (trx: PostgresTransaction) => Promise<T>): Promise<T>;
|
|
77
|
-
/**
|
|
78
|
-
* Close the connection pool
|
|
79
|
-
*/
|
|
80
|
-
close(): Promise<void>;
|
|
81
|
-
}
|
|
82
|
-
export declare const PostgresInitializer: SDKInitializer;
|
|
83
|
-
//# sourceMappingURL=postgres.d.ts.map
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface SlackSocketTriggerConfig {
|
|
2
|
-
appToken: string;
|
|
3
|
-
botToken: string;
|
|
4
|
-
triggers: Array<{
|
|
5
|
-
id: string;
|
|
6
|
-
event: 'message' | 'app_mention';
|
|
7
|
-
handler: (payload: Record<string, unknown>) => Promise<void>;
|
|
8
|
-
}>;
|
|
9
|
-
}
|
|
10
|
-
export declare class SlackSocketTrigger {
|
|
11
|
-
private config;
|
|
12
|
-
private app?;
|
|
13
|
-
private handlersRegistered;
|
|
14
|
-
constructor(config: SlackSocketTriggerConfig);
|
|
15
|
-
start(): Promise<void>;
|
|
16
|
-
stop(): Promise<void>;
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=slack-socket.d.ts.map
|