@hasna/connectors 0.2.5 → 0.2.7
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 +6 -0
- package/bin/index.js +353 -3
- package/bin/mcp.js +1 -1
- package/connectors/connect-anthropic/AGENTS.md +22 -0
- package/connectors/connect-anthropic/CLAUDE.md +29 -0
- package/connectors/connect-anthropic/README.md +22 -3
- package/connectors/connect-anthropic/src/types/index.ts +46 -2
- package/connectors/connect-aws/CLAUDE.md +16 -0
- package/connectors/connect-brandsight/CLAUDE.md +5 -0
- package/connectors/connect-cloudflare/CLAUDE.md +21 -0
- package/connectors/connect-discord/CLAUDE.md +19 -0
- package/connectors/connect-docker/CLAUDE.md +8 -0
- package/connectors/connect-e2b/CLAUDE.md +21 -0
- package/connectors/connect-elevenlabs/CLAUDE.md +24 -0
- package/connectors/connect-exa/CLAUDE.md +35 -0
- package/connectors/connect-figma/CLAUDE.md +34 -0
- package/connectors/connect-firecrawl/CLAUDE.md +27 -0
- package/connectors/connect-github/CLAUDE.md +32 -2
- package/connectors/connect-gmail/CLAUDE.md +22 -0
- package/connectors/connect-google/CLAUDE.md +11 -0
- package/connectors/connect-googlecalendar/CLAUDE.md +9 -0
- package/connectors/connect-googlecloud/CLAUDE.md +12 -0
- package/connectors/connect-googlecontacts/CLAUDE.md +7 -0
- package/connectors/connect-googledocs/CLAUDE.md +7 -0
- package/connectors/connect-googledrive/CLAUDE.md +5 -0
- package/connectors/connect-googlegemini/CLAUDE.md +18 -0
- package/connectors/connect-googlegemini/src/types/index.ts +10 -3
- package/connectors/connect-googlemaps/CLAUDE.md +15 -0
- package/connectors/connect-googlesheets/CLAUDE.md +10 -0
- package/connectors/connect-googletasks/CLAUDE.md +6 -0
- package/connectors/connect-hedra/CLAUDE.md +15 -0
- package/connectors/connect-heygen/CLAUDE.md +14 -0
- package/connectors/connect-huggingface/CLAUDE.md +20 -0
- package/connectors/connect-icons8/CLAUDE.md +6 -0
- package/connectors/connect-maropost/CLAUDE.md +6 -0
- package/connectors/connect-mercury/CLAUDE.md +14 -0
- package/connectors/connect-meta/CLAUDE.md +16 -0
- package/connectors/connect-midjourney/CLAUDE.md +7 -0
- package/connectors/connect-mistral/CLAUDE.md +20 -0
- package/connectors/connect-mistral/src/types/index.ts +42 -7
- package/connectors/connect-mixpanel/CLAUDE.md +11 -0
- package/connectors/connect-notion/CLAUDE.md +30 -0
- package/connectors/connect-openai/AGENTS.md +15 -0
- package/connectors/connect-openai/CLAUDE.md +23 -0
- package/connectors/connect-openai/src/types/index.ts +36 -14
- package/connectors/connect-openweathermap/CLAUDE.md +8 -0
- package/connectors/connect-pandadoc/CLAUDE.md +18 -0
- package/connectors/connect-quo/CLAUDE.md +5 -0
- package/connectors/connect-reddit/CLAUDE.md +20 -0
- package/connectors/connect-reducto/CLAUDE.md +16 -0
- package/connectors/connect-resend/CLAUDE.md +21 -0
- package/connectors/connect-revolut/CLAUDE.md +17 -0
- package/connectors/connect-sedo/CLAUDE.md +6 -0
- package/connectors/connect-sentry/CLAUDE.md +11 -0
- package/connectors/connect-shadcn/CLAUDE.md +42 -0
- package/connectors/connect-shopify/CLAUDE.md +18 -0
- package/connectors/connect-snap/CLAUDE.md +6 -0
- package/connectors/connect-stabilityai/CLAUDE.md +13 -0
- package/connectors/connect-stripe/CLAUDE.md +19 -0
- package/connectors/connect-stripeatlas/CLAUDE.md +7 -0
- package/connectors/connect-substack/CLAUDE.md +6 -0
- package/connectors/connect-tiktok/CLAUDE.md +25 -0
- package/connectors/connect-tinker/CLAUDE.md +6 -0
- package/connectors/connect-twilio/CLAUDE.md +9 -0
- package/connectors/connect-uspto/CLAUDE.md +8 -0
- package/connectors/connect-webflow/CLAUDE.md +19 -0
- package/connectors/connect-wix/CLAUDE.md +20 -0
- package/connectors/connect-x/CLAUDE.md +15 -0
- package/connectors/connect-xads/CLAUDE.md +10 -0
- package/connectors/connect-xai/CLAUDE.md +15 -0
- package/connectors/connect-xai/src/types/index.ts +20 -4
- package/connectors/connect-youtube/CLAUDE.md +28 -0
- package/connectors/connect-zoom/CLAUDE.md +15 -0
- package/dist/lib/test-endpoints.d.ts +12 -0
- package/package.json +1 -1
|
@@ -47,6 +47,27 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## API Updates (2025-2026)
|
|
51
|
+
|
|
52
|
+
### New Workers REST API (Beta, Sep 2025)
|
|
53
|
+
New resource-oriented REST API with cleaner separation:
|
|
54
|
+
- `POST /workers/beta/workers` — create Worker (no code needed)
|
|
55
|
+
- `POST /workers/beta/workers/{id}/versions` — upload code as version
|
|
56
|
+
- `POST /scripts/{name}/deployments` — deploy a version
|
|
57
|
+
|
|
58
|
+
Workers and Versions use new `/workers/` beta endpoints; Deployments remain on `/scripts/` endpoint.
|
|
59
|
+
|
|
60
|
+
### Workers AI — New Capabilities (2026)
|
|
61
|
+
- **Markdown Conversion** (`env.AI.toMarkdown()`): PDF, HTML, images with `conversionOptions` (CSS selectors, language)
|
|
62
|
+
- **Real-time Transcription**: 10 languages via Deepgram Nova-3 on Workers AI in RealtimeKit
|
|
63
|
+
- REST: `POST /accounts/{id}/ai/tomarkdown`
|
|
64
|
+
|
|
65
|
+
### Browser Rendering — Rate Limit Increase (Mar 2026)
|
|
66
|
+
Workers Paid plans: 3 req/s → **10 req/s** (600/min). Endpoints: `/links`, `/json`, `/scrape`, `/snapshot`, `/markdown`, `/pdf`, `/screenshot`, `/content`
|
|
67
|
+
|
|
68
|
+
### Sandboxes — Real-time File Watching (Mar 2026)
|
|
69
|
+
`sandbox.watch(path, options)` — SSE stream backed by inotify. Events: `create`, `modify`, `delete`, `move`.
|
|
70
|
+
|
|
50
71
|
## Authentication
|
|
51
72
|
|
|
52
73
|
API Key authentication. Credentials can be set via:
|
|
@@ -47,6 +47,25 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## API Updates (2025-2026)
|
|
51
|
+
|
|
52
|
+
### Current API Version: v10 (unchanged)
|
|
53
|
+
|
|
54
|
+
### New in Oct 2025 (Developer Newsletter)
|
|
55
|
+
- **Bot profiles per server**: Bots can now set unique profiles per server
|
|
56
|
+
- **New UI components**: Label and TextDisplay components in modals; all select menus now work in modals
|
|
57
|
+
- **New Social SDK webhooks**: `LOBBY_MESSAGE_*` and `GAME_DIRECT_MESSAGE_*` events for moderation
|
|
58
|
+
- **Server-side Provisional Account API**: New endpoint for creating provisional accounts in games
|
|
59
|
+
- **Rate limit**: New rate limit when requesting all guild members via gateway
|
|
60
|
+
|
|
61
|
+
### Deprecations (Oct 2025)
|
|
62
|
+
- Non-E2EE voice calls being phased out
|
|
63
|
+
- Deprecated voice and video transport modes — update implementations
|
|
64
|
+
|
|
65
|
+
### Bug Fixes (Mar 2026)
|
|
66
|
+
- Escaped mentions `\@everyone` no longer trigger mentions — backend now properly respects escape characters
|
|
67
|
+
- Desktop app p50 TTI reduced by 11.8% via API payload ordering optimization
|
|
68
|
+
|
|
50
69
|
## Authentication
|
|
51
70
|
|
|
52
71
|
Bearer Token authentication. Credentials can be set via:
|
|
@@ -47,6 +47,14 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## API Notes (2026)
|
|
51
|
+
|
|
52
|
+
Docker Hub REST API: `https://hub.docker.com/v2/`
|
|
53
|
+
Docker Engine API: `https://unix:///var/run/docker.sock/v1.xx/` (local socket)
|
|
54
|
+
Current Engine API version: v1.47+ (Docker Engine 27+)
|
|
55
|
+
|
|
56
|
+
Auth: Docker Hub uses JWT tokens (POST /users/login). Docker Engine uses unix socket or TCP.
|
|
57
|
+
|
|
50
58
|
## Authentication
|
|
51
59
|
|
|
52
60
|
API Key authentication. Credentials can be set via:
|
|
@@ -47,6 +47,27 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## API Updates (2024-2025)
|
|
51
|
+
|
|
52
|
+
### SDKs
|
|
53
|
+
- Python: `e2b` or `e2b-code-interpreter`
|
|
54
|
+
- JavaScript/TypeScript: `@e2b/code-interpreter`
|
|
55
|
+
|
|
56
|
+
### Sandbox Lifecycle
|
|
57
|
+
- Start: ~150ms spin-up time
|
|
58
|
+
- Pause/resume: data persistence across sessions
|
|
59
|
+
- `download_url`/`downloadUrl` method on sandbox
|
|
60
|
+
- Env vars configurable on `sandbox.create()`
|
|
61
|
+
|
|
62
|
+
### Desktop Sandbox (Dec 2024)
|
|
63
|
+
Virtual desktop for LLM computer use. Isolated VMs with full desktop environment.
|
|
64
|
+
|
|
65
|
+
### Interactive Charts (Oct 2024)
|
|
66
|
+
Automatic chart detection from Matplotlib code via `runCode()`/`run_code()`. Returns chart data to client for custom rendering.
|
|
67
|
+
|
|
68
|
+
### Multi-language Support
|
|
69
|
+
Python, JavaScript/TypeScript, and other languages via code interpreter.
|
|
70
|
+
|
|
50
71
|
## Authentication
|
|
51
72
|
|
|
52
73
|
API Key authentication. Credentials can be set via:
|
|
@@ -47,6 +47,30 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## Models (2026)
|
|
51
|
+
|
|
52
|
+
| Model | Description |
|
|
53
|
+
|-------|-------------|
|
|
54
|
+
| `eleven_v3` | **Eleven v3** — GA since Feb 2026. Most expressive TTS. Audio tags, multi-speaker dialogue, 70+ languages. 68% error reduction on numbers/symbols. |
|
|
55
|
+
| `eleven_multilingual_v2` | Multilingual v2 — stable, recommended for real-time/conversational use |
|
|
56
|
+
| `eleven_turbo_v2_5` | Turbo v2.5 — lowest latency, real-time |
|
|
57
|
+
| `eleven_flash_v2_5` | Flash v2.5 — fastest, lowest cost |
|
|
58
|
+
|
|
59
|
+
### Eleven v3 Features (GA Feb 2026)
|
|
60
|
+
- **Audio tags**: `[excited]`, `[whispers]`, `[sighs]`, `[laughs]` inline in text
|
|
61
|
+
- **Multi-speaker dialogue**: New `POST /v1/text-to-dialogue` endpoint
|
|
62
|
+
- **70+ languages** with improved accuracy (99% error reduction for phone numbers, chemical formulas)
|
|
63
|
+
- Requires more prompt engineering than v2 — not recommended for real-time/low-latency use cases
|
|
64
|
+
|
|
65
|
+
### Text to Dialogue API (new endpoint)
|
|
66
|
+
```json
|
|
67
|
+
POST /v1/text-to-dialogue
|
|
68
|
+
[
|
|
69
|
+
{"speaker_id": "voice-id-1", "text": "[cheerfully] Hello there!"},
|
|
70
|
+
{"speaker_id": "voice-id-2", "text": "Hey, how are you?"}
|
|
71
|
+
]
|
|
72
|
+
```
|
|
73
|
+
|
|
50
74
|
## Authentication
|
|
51
75
|
|
|
52
76
|
API Key (Header) authentication. Credentials can be set via:
|
|
@@ -47,6 +47,41 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## API Updates (2025-2026)
|
|
51
|
+
|
|
52
|
+
### Company Search (Jan 2026)
|
|
53
|
+
New fine-tuned retrieval model with entity matching for company queries. Use `type="auto"` + `category="company"`.
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
curl -X POST https://api.exa.ai/search \
|
|
57
|
+
-H "x-api-key: $EXA_API_KEY" \
|
|
58
|
+
-d '{"query": "fintech companies in Switzerland", "type": "auto", "category": "company", "numResults": 10}'
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Results now include **structured entity data** (`entities[]`) with:
|
|
62
|
+
- `name`, `foundedYear`, `description`, `workforce.total`
|
|
63
|
+
- `headquarters` (address, city, country)
|
|
64
|
+
- `financials` (fundingTotal, fundingLatestRound)
|
|
65
|
+
- `webTraffic.total`
|
|
66
|
+
|
|
67
|
+
Supports: semantic queries, composite queries, funding queries, attribute filtering, named lookups.
|
|
68
|
+
|
|
69
|
+
### Endpoints Overview (2026)
|
|
70
|
+
| Endpoint | Description |
|
|
71
|
+
|----------|-------------|
|
|
72
|
+
| `POST /search` | Neural/keyword search (`type`: auto, neural, keyword) |
|
|
73
|
+
| `POST /search` with `type=deep` | Multi-query deep search with structured answers |
|
|
74
|
+
| `POST /findSimilar` | Find pages similar to a given URL |
|
|
75
|
+
| `POST /contents` | Extract text, summaries, highlights from URLs |
|
|
76
|
+
| `POST /answer` | Direct answers with citations |
|
|
77
|
+
| `POST /research` | Async agent-style deep research |
|
|
78
|
+
|
|
79
|
+
### Search Types
|
|
80
|
+
- `neural` — semantic/embedding-based
|
|
81
|
+
- `keyword` — fast keyword matching
|
|
82
|
+
- `auto` — automatically selects best type
|
|
83
|
+
- `deep` — multi-query with structured answers (slower, better for complex queries)
|
|
84
|
+
|
|
50
85
|
## Authentication
|
|
51
86
|
|
|
52
87
|
API Key authentication. Credentials can be set via:
|
|
@@ -47,6 +47,40 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## API Updates (2025-2026)
|
|
51
|
+
|
|
52
|
+
### Variables API — Extended Collections (Nov 2025)
|
|
53
|
+
Extended collections allow variants of existing variable collections with overrides while maintaining a single source of truth.
|
|
54
|
+
|
|
55
|
+
New fields on `VariableCollection`:
|
|
56
|
+
- `isExtension: boolean`
|
|
57
|
+
- `parentVariableCollectionId: string` — only when isExtension is true
|
|
58
|
+
- `rootVariableCollectionId: string`
|
|
59
|
+
- `inheritedVariableIds: string[]`
|
|
60
|
+
- `localVariableIds: string[]`
|
|
61
|
+
- `variableOverrides: Record<variableId, Record<modeId, value>>`
|
|
62
|
+
|
|
63
|
+
New `POST /v1/files/:key/variables` param: `initialModeIdToParentModeIdMapping`
|
|
64
|
+
|
|
65
|
+
### Node Properties (Jan 2026)
|
|
66
|
+
New node properties:
|
|
67
|
+
- `transformModifiers` on TRANSFORM_GROUP nodes
|
|
68
|
+
- `textPathStartData` on TEXT_PATH nodes
|
|
69
|
+
- `variableWidthPoints` — variable width stroke profiles
|
|
70
|
+
- `complexStrokeProperties` — brush and dynamic strokes
|
|
71
|
+
|
|
72
|
+
### Rate Limits (Nov 2025)
|
|
73
|
+
Published rate limits now enforced. Check [rate limits docs](https://developers.figma.com/docs/rest-api/rate-limits) for current values.
|
|
74
|
+
|
|
75
|
+
### Figma MCP Server (beta, Sep 2025)
|
|
76
|
+
Figma now has an official MCP Server in beta for AI agent access to design files.
|
|
77
|
+
|
|
78
|
+
### OAuth App Publishing (Nov 2025)
|
|
79
|
+
All OAuth apps must complete the new publishing flow via the Apps page. PAT generation via docs is temporarily removed — use the Postman workspace for testing.
|
|
80
|
+
|
|
81
|
+
### Discovery API (Jan 2026)
|
|
82
|
+
For Enterprise plans with Governance+: can now retrieve text of user-submitted AI prompts from Figma AI tools.
|
|
83
|
+
|
|
50
84
|
## Authentication
|
|
51
85
|
|
|
52
86
|
API Key authentication. Credentials can be set via:
|
|
@@ -47,6 +47,33 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## API Updates (2025-2026)
|
|
51
|
+
|
|
52
|
+
### Endpoints (v1)
|
|
53
|
+
| Endpoint | Description |
|
|
54
|
+
|----------|-------------|
|
|
55
|
+
| `POST /v1/scrape` | Scrape a single URL |
|
|
56
|
+
| `POST /v1/crawl` | Crawl a website |
|
|
57
|
+
| `POST /v1/map` | Map a website's URLs |
|
|
58
|
+
| `POST /v1/search` | Search the web and scrape results (Jun 2025) |
|
|
59
|
+
| `POST /v1/extract` | Extract structured data (v2: pagination, search, FIRE-1) |
|
|
60
|
+
| `POST /v1/agent` | Agentic data gathering (Dec 2025) |
|
|
61
|
+
| `POST /v1/batch/scrape` | Parallel agent batch processing |
|
|
62
|
+
|
|
63
|
+
### New in 2026
|
|
64
|
+
- **Browser Sandbox** (Feb 2026) — Fully managed isolated browser for agents. Zero config, pre-loaded tools.
|
|
65
|
+
- **PDF Parser v2** (Feb 2026) — 3x faster Rust-based parser. Three auto-adapting modes (clean text, scanned, complex).
|
|
66
|
+
- **Parallel Agents** (Jan 2026) — Batch `/agent` queries in spreadsheet/JSON format with streaming.
|
|
67
|
+
- **Branding Format v2** (Feb 2026) — Improved logo extraction for AI agents.
|
|
68
|
+
- **Spark 1 Pro/Mini models** (Jan 2026) — Flexible model selection for `/agent`. Mini is 60% cheaper.
|
|
69
|
+
- **Claude Code plugin** (Feb 2026) — Official Firecrawl skill for Claude Code.
|
|
70
|
+
|
|
71
|
+
### /extract v2 (Apr 2025)
|
|
72
|
+
Added: pagination, FIRE-1 intelligent interaction, built-in search integration.
|
|
73
|
+
|
|
74
|
+
### FIRE-1 Agent (Apr 2025)
|
|
75
|
+
New AI agent that intelligently navigates and interacts with web pages for complex scraping.
|
|
76
|
+
|
|
50
77
|
## Authentication
|
|
51
78
|
|
|
52
79
|
Bearer Token authentication. Credentials can be set via:
|
|
@@ -47,12 +47,42 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
-
## Authentication
|
|
50
|
+
## Authentication (2025+)
|
|
51
51
|
|
|
52
|
-
Bearer Token authentication.
|
|
52
|
+
Bearer Token authentication. Use **fine-grained PATs** (GA since March 2025) for all new projects — they are now the recommended token type.
|
|
53
|
+
|
|
54
|
+
Credentials can be set via:
|
|
53
55
|
- Environment variable (see below)
|
|
54
56
|
- Profile configuration: `connect-github config set-key <key>`
|
|
55
57
|
|
|
58
|
+
### Token Types
|
|
59
|
+
|
|
60
|
+
| Type | Recommendation |
|
|
61
|
+
|------|---------------|
|
|
62
|
+
| Fine-grained PAT | **Preferred** — GA since March 2025, granular permissions, audit-log `token_id` tracking |
|
|
63
|
+
| Classic PAT | Legacy — still works, but over-permissioned |
|
|
64
|
+
|
|
65
|
+
Fine-grained PAT gaps (not yet supported): Packages API, Checks API, internal repos outside target org, multi-org access.
|
|
66
|
+
|
|
67
|
+
### Required Scopes (fine-grained PAT)
|
|
68
|
+
|
|
69
|
+
- `contents:read/write` — repos, files
|
|
70
|
+
- `issues:read/write` — issues, comments
|
|
71
|
+
- `pull_requests:read/write` — PRs, reviews
|
|
72
|
+
- `metadata:read` — required for all repo access
|
|
73
|
+
- `models:read` — if using GitHub Models API (required since March 29 2025)
|
|
74
|
+
|
|
75
|
+
### API Version
|
|
76
|
+
|
|
77
|
+
Current: `X-GitHub-Api-Version: 2022-11-28` (unchanged)
|
|
78
|
+
|
|
79
|
+
### GitHub MCP Server
|
|
80
|
+
|
|
81
|
+
The Remote GitHub MCP Server is GA since September 2025. Add to your MCP config:
|
|
82
|
+
```json
|
|
83
|
+
{ "mcpServers": { "github": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-github"] } } }
|
|
84
|
+
```
|
|
85
|
+
|
|
56
86
|
|
|
57
87
|
## Key Patterns
|
|
58
88
|
|
|
@@ -47,6 +47,28 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## API Updates (2025-2026)
|
|
51
|
+
|
|
52
|
+
### OAuth Enforcement (May 2025)
|
|
53
|
+
Google fully enforced OAuth 2.0 for all Gmail access as of May 2025. Less Secure Apps / password-based auth is permanently disabled. All clients MUST use OAuth 2.0 token-based authentication.
|
|
54
|
+
|
|
55
|
+
### Scope Classification (2026)
|
|
56
|
+
| Scope | Classification | Notes |
|
|
57
|
+
|-------|---------------|-------|
|
|
58
|
+
| `https://mail.google.com/` | Restricted | Full access |
|
|
59
|
+
| `https://www.googleapis.com/auth/gmail.modify` | Restricted | Read + modify |
|
|
60
|
+
| `https://www.googleapis.com/auth/gmail.readonly` | Restricted | Read only |
|
|
61
|
+
| `https://www.googleapis.com/auth/gmail.send` | Sensitive | Send only |
|
|
62
|
+
| `https://www.googleapis.com/auth/gmail.metadata` | Non-sensitive | Headers only |
|
|
63
|
+
|
|
64
|
+
Restricted scopes require Google's restricted scope verification process including a third-party security assessment. For send-only use cases, prefer `gmail.send` to avoid stricter compliance requirements.
|
|
65
|
+
|
|
66
|
+
### Gmail Postmaster Tools API v2 (GA Feb 2026)
|
|
67
|
+
New: `POST /v2/domains/{domain}:queryDomainStats` — flexible querying of domain stats including compliance status. Supports batch operations. The v2beta endpoint was available Dec 2025.
|
|
68
|
+
|
|
69
|
+
### Deal Cards in Promotions Tab (Sep 2025)
|
|
70
|
+
New annotation support for creating Deal Cards. See Gmail annotations documentation.
|
|
71
|
+
|
|
50
72
|
## Authentication
|
|
51
73
|
|
|
52
74
|
OAuth authentication. Credentials can be set via:
|
|
@@ -47,6 +47,17 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## Auth Notes (2026)
|
|
51
|
+
|
|
52
|
+
Google OAuth 2.0 — use Application Default Credentials or service account JSON.
|
|
53
|
+
|
|
54
|
+
### Maps Platform Client IDs Deprecated (May 2025+)
|
|
55
|
+
Maps platform client IDs deprecated May 26, 2025, cannot be used after May 31, 2026.
|
|
56
|
+
- In Apps Script: `setAuthentication(clientId, signingKey)` → deprecated Jun 2026
|
|
57
|
+
- Use `setAuthenticationByKey(apiKey)` or `setAuthenticationByKey(apiKey, signingKey)` instead
|
|
58
|
+
|
|
59
|
+
OAuth scopes are unchanged. userinfo endpoint: `https://www.googleapis.com/oauth2/v3/userinfo`
|
|
60
|
+
|
|
50
61
|
## Authentication
|
|
51
62
|
|
|
52
63
|
API Key authentication. Credentials can be set via:
|
|
@@ -47,6 +47,15 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## API Updates (2026)
|
|
51
|
+
|
|
52
|
+
### Google Meet Conference Guidance (Feb 2026)
|
|
53
|
+
Do NOT reuse Google Meet codes across different calendar events — causes access issues and exposes meeting details to unintended users.
|
|
54
|
+
Always generate a new conference using the `createRequest` field for every new event:
|
|
55
|
+
```json
|
|
56
|
+
"conferenceData": { "createRequest": { "requestId": "unique-id", "conferenceSolutionKey": { "type": "hangoutsMeet" } } }
|
|
57
|
+
```
|
|
58
|
+
|
|
50
59
|
## Authentication
|
|
51
60
|
|
|
52
61
|
OAuth authentication. Credentials can be set via:
|
|
@@ -47,6 +47,18 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## Auth Notes (2026)
|
|
51
|
+
|
|
52
|
+
### Recommended Auth Methods
|
|
53
|
+
1. **Application Default Credentials (ADC)** — `GOOGLE_APPLICATION_CREDENTIALS` env var pointing to service account JSON
|
|
54
|
+
2. **Service Account Key** — JSON key file with email + private key
|
|
55
|
+
3. **Workload Identity Federation** — keyless auth from AWS/Azure/on-prem (recommended for production)
|
|
56
|
+
4. **OAuth 2.0 User Credentials** — for user-delegated access
|
|
57
|
+
|
|
58
|
+
### Google AI / Gemini (separate from GCP)
|
|
59
|
+
- Gemini API: `GEMINI_API_KEY` — simpler for Gemini models
|
|
60
|
+
- Vertex AI: uses ADC or service account — more enterprise controls
|
|
61
|
+
|
|
50
62
|
## Authentication
|
|
51
63
|
|
|
52
64
|
OAuth authentication. Credentials can be set via:
|
|
@@ -47,6 +47,13 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## API Notes (2026)
|
|
51
|
+
|
|
52
|
+
Use **Google People API** (not deprecated Contacts API v3).
|
|
53
|
+
Base URL: `https://people.googleapis.com/v1/`
|
|
54
|
+
Key endpoints: `/people/me`, `/people:listDirectoryPeople`, `/people:batchGet`
|
|
55
|
+
Scopes: `contacts`, `contacts.readonly`, `directory.readonly`, `user.addresses.read`, `user.emails.read`
|
|
56
|
+
|
|
50
57
|
## Authentication
|
|
51
58
|
|
|
52
59
|
OAuth authentication. Credentials can be set via:
|
|
@@ -47,6 +47,13 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## API Updates (2026)
|
|
51
|
+
|
|
52
|
+
### Gemini Features (Feb 2026)
|
|
53
|
+
Audio summaries now available in Google Docs — Gemini-powered feature that generates audio overviews of documents.
|
|
54
|
+
|
|
55
|
+
No breaking API changes to the Docs API v1 (stable).
|
|
56
|
+
|
|
50
57
|
## Authentication
|
|
51
58
|
|
|
52
59
|
OAuth authentication. Credentials can be set via:
|
|
@@ -47,6 +47,11 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## API Updates (2026)
|
|
51
|
+
|
|
52
|
+
### Deprecation (Feb 2026)
|
|
53
|
+
`enforceExpansiveAccess` query parameter is now deprecated for all methods in the permissions resource (v2 and v3). To restrict item access, use **folders with limited access** setting instead.
|
|
54
|
+
|
|
50
55
|
## Authentication
|
|
51
56
|
|
|
52
57
|
OAuth authentication (Google OAuth2). Credentials can be set via:
|
|
@@ -47,6 +47,24 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## Models (2026)
|
|
51
|
+
|
|
52
|
+
| Model | Description |
|
|
53
|
+
|-------|-------------|
|
|
54
|
+
| `gemini-3.1-pro-preview` | Latest (Feb 2026), #1 on 13/16 benchmarks, 1M ctx — **use for complex tasks** |
|
|
55
|
+
| `gemini-3.1-pro-preview-customtools` | Agent workflows with custom tools (bash, code, multi-step) |
|
|
56
|
+
| `gemini-3.1-flash-lite` | Fast, budget-friendly (preview) |
|
|
57
|
+
| `gemini-3-pro-preview` | Gemini 3 Pro |
|
|
58
|
+
| `gemini-3-flash-preview` | Frontier performance at fraction of cost |
|
|
59
|
+
| `gemini-2.5-pro` | GA, advanced reasoning (discontinues Jun 17 2026) |
|
|
60
|
+
| `gemini-2.5-flash` | Best price-performance, GA |
|
|
61
|
+
| `gemini-2.5-flash-lite` | Fastest, most budget-friendly |
|
|
62
|
+
| `gemini-2.5-flash-live-preview` | Real-time audio/video Live API |
|
|
63
|
+
|
|
64
|
+
For image gen (Nano Banana): `gemini-2.5-flash-preview-image-generation`
|
|
65
|
+
For video gen (Veo): `veo-3.1-generate-preview`
|
|
66
|
+
For TTS: `gemini-2.5-flash-preview-tts`, `gemini-2.5-pro-preview-tts`
|
|
67
|
+
|
|
50
68
|
## Authentication
|
|
51
69
|
|
|
52
70
|
API Key authentication. Credentials can be set via:
|
|
@@ -2,19 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
// ============ Models ============
|
|
4
4
|
export type GeminiModel =
|
|
5
|
-
//
|
|
5
|
+
// Gemini 3.1 (Feb 2026, latest)
|
|
6
|
+
| 'gemini-3.1-pro-preview' // Most advanced, tops 13/16 benchmarks
|
|
7
|
+
| 'gemini-3.1-pro-preview-customtools' // Agent/tool-use optimized variant
|
|
8
|
+
| 'gemini-3.1-flash-lite' // Fast, cost-efficient (preview)
|
|
9
|
+
// Gemini 3 (2025-2026)
|
|
6
10
|
| 'gemini-3-pro-preview'
|
|
7
11
|
| 'gemini-3-flash-preview'
|
|
12
|
+
// Gemini 2.5 (GA)
|
|
8
13
|
| 'gemini-2.5-pro'
|
|
9
14
|
| 'gemini-2.5-flash'
|
|
10
15
|
| 'gemini-2.5-flash-lite'
|
|
11
|
-
// Image Generation
|
|
16
|
+
// Image Generation (Nano Banana)
|
|
12
17
|
| 'gemini-2.5-flash-preview-image-generation'
|
|
13
18
|
| 'gemini-3-pro-image-preview'
|
|
14
19
|
// TTS Models
|
|
15
20
|
| 'gemini-2.5-flash-preview-tts'
|
|
16
21
|
| 'gemini-2.5-pro-preview-tts'
|
|
17
|
-
//
|
|
22
|
+
// Live API (real-time audio/video)
|
|
23
|
+
| 'gemini-2.5-flash-live-preview'
|
|
24
|
+
// Embedding
|
|
18
25
|
| 'gemini-embedding-001'
|
|
19
26
|
// Legacy
|
|
20
27
|
| 'gemini-2.0-flash'
|
|
@@ -47,6 +47,21 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## API Updates (2025-2026)
|
|
51
|
+
|
|
52
|
+
### Places API v2 (New)
|
|
53
|
+
New Places API (v2) is preferred over legacy Places API (v1). Use `https://places.googleapis.com/v1/places` endpoints.
|
|
54
|
+
|
|
55
|
+
### Client IDs Deprecated (May 2025 → May 2026)
|
|
56
|
+
Maps Platform client IDs deprecated May 26, 2025. Cannot be used after May 31, 2026.
|
|
57
|
+
Use API key authentication exclusively.
|
|
58
|
+
|
|
59
|
+
### Current APIs
|
|
60
|
+
- Places API (New): `https://places.googleapis.com/v1/`
|
|
61
|
+
- Routes API: `https://routes.googleapis.com/`
|
|
62
|
+
- Geocoding API: `https://maps.googleapis.com/maps/api/geocode/json`
|
|
63
|
+
- Maps JavaScript API, Street View, Distance Matrix, etc.
|
|
64
|
+
|
|
50
65
|
## Authentication
|
|
51
66
|
|
|
52
67
|
API Key authentication. Credentials can be set via:
|
|
@@ -47,6 +47,16 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## API Updates (2025)
|
|
51
|
+
|
|
52
|
+
### Tables API (Apr 2025)
|
|
53
|
+
Create, modify, and take basic actions on Tables in Google Sheets:
|
|
54
|
+
- `addTable` request in `batchUpdate`
|
|
55
|
+
- `Table` object in Sheets API
|
|
56
|
+
|
|
57
|
+
### Smart Chips (Jun 2025)
|
|
58
|
+
Create, update, and read Google Drive and People chips via the Sheets API.
|
|
59
|
+
|
|
50
60
|
## Authentication
|
|
51
61
|
|
|
52
62
|
OAuth authentication. Credentials can be set via:
|
|
@@ -47,6 +47,12 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## API Notes (2026)
|
|
51
|
+
|
|
52
|
+
Google Tasks API v1 is stable. Base URL: `https://tasks.googleapis.com/tasks/v1/`
|
|
53
|
+
Key endpoints: `/lists`, `/lists/{list}/tasks`, `/users/@me/lists`
|
|
54
|
+
Required scope: `https://www.googleapis.com/auth/tasks`
|
|
55
|
+
|
|
50
56
|
## Authentication
|
|
51
57
|
|
|
52
58
|
OAuth authentication. Credentials can be set via:
|
|
@@ -47,6 +47,21 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## API (Full Platform, Feb 2026)
|
|
51
|
+
|
|
52
|
+
Full Hedra API launched Feb 2026. All models available programmatically.
|
|
53
|
+
|
|
54
|
+
New API endpoints (unified):
|
|
55
|
+
- `GET /models` — list models
|
|
56
|
+
- `POST /assets/generate` — generate image/video/avatar
|
|
57
|
+
- `GET /assets/{id}` — check status
|
|
58
|
+
- `GET /credits` — credit balance
|
|
59
|
+
|
|
60
|
+
Legacy Character-2 API: `POST /v1/characters` (still works)
|
|
61
|
+
Auth: `X-API-Key` header
|
|
62
|
+
|
|
63
|
+
Capabilities: image generation, video generation, avatar generation, Live Avatar (real-time).
|
|
64
|
+
|
|
50
65
|
## Authentication
|
|
51
66
|
|
|
52
67
|
Bearer Token authentication. Credentials can be set via:
|
|
@@ -47,6 +47,20 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## API Updates (2025-2026)
|
|
51
|
+
|
|
52
|
+
### Avatar IV Endpoint (Jan 2026)
|
|
53
|
+
```
|
|
54
|
+
POST /v2/video/av4/generate
|
|
55
|
+
```
|
|
56
|
+
Photorealistic full-body avatar videos. Speed/quality mode selection.
|
|
57
|
+
|
|
58
|
+
### Template API Variables (Aug 2025)
|
|
59
|
+
AI Studio templates now support API creation with variable customization: avatars, text, elements, scene scripts.
|
|
60
|
+
|
|
61
|
+
### Digital Twin — Avatar IV (Aug 2025)
|
|
62
|
+
Full-body digital twins with gestures and emotion.
|
|
63
|
+
|
|
50
64
|
## Authentication
|
|
51
65
|
|
|
52
66
|
API Key authentication. Credentials can be set via:
|
|
@@ -47,6 +47,26 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## API Updates (2025-2026)
|
|
51
|
+
|
|
52
|
+
### Serverless Inference API — Overhauled (2026)
|
|
53
|
+
The Serverless Inference API is being completely overhauled. Key changes:
|
|
54
|
+
|
|
55
|
+
New router endpoint pattern:
|
|
56
|
+
```
|
|
57
|
+
https://router.huggingface.co/hf-inference/models/{model}/v1/chat/completions
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
For chat completions (OpenAI-compatible):
|
|
61
|
+
```bash
|
|
62
|
+
curl -X POST https://router.huggingface.co/hf-inference/models/meta-llama/Llama-3.1-8B-Instruct/v1/chat/completions \
|
|
63
|
+
-H "Authorization: Bearer $HF_TOKEN" \
|
|
64
|
+
-H "Content-Type: application/json" \
|
|
65
|
+
-d '{"model": "meta-llama/Llama-3.1-8B-Instruct", "messages": [{"role": "user", "content": "Hello"}]}'
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Note: Error responses may return HTML 503 during migration period — handle non-JSON responses gracefully.
|
|
69
|
+
|
|
50
70
|
## Authentication
|
|
51
71
|
|
|
52
72
|
Bearer Token authentication. Credentials can be set via:
|
|
@@ -47,6 +47,12 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## API Notes (2026)
|
|
51
|
+
|
|
52
|
+
Icons8 API: `https://api.icons8.com/api/iconsets/v5/`
|
|
53
|
+
Key endpoints: `/search`, `/icon`, `/categories`, `/styles`
|
|
54
|
+
Auth: `token` query parameter
|
|
55
|
+
|
|
50
56
|
## Authentication
|
|
51
57
|
|
|
52
58
|
API Key authentication. Credentials can be set via:
|
|
@@ -47,6 +47,12 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## API Notes (2026)
|
|
51
|
+
|
|
52
|
+
Maropost Marketing Cloud API: `https://api.maropost.com/accounts/{account_id}/`
|
|
53
|
+
Auth: `auth_token` query parameter or Bearer token header.
|
|
54
|
+
Key resources: contacts, campaigns, tags, lists, journeys, reports.
|
|
55
|
+
|
|
50
56
|
## Authentication
|
|
51
57
|
|
|
52
58
|
Bearer Token authentication. Credentials can be set via:
|
|
@@ -47,6 +47,20 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## New Endpoints (2025-2026)
|
|
51
|
+
|
|
52
|
+
Mercury has been rapidly expanding their API. Recent additions:
|
|
53
|
+
- **Webhooks** — real-time HTTP notifications for account events (transactions, etc.)
|
|
54
|
+
- **Internal Transfers** — `POST /transfer` — move money between accounts (requires `SendMoney` write scope)
|
|
55
|
+
- **Users API** — `GET /api/v1/users` — retrieve organization users
|
|
56
|
+
- **Account Balance Events** — webhooks/events for balance change notifications
|
|
57
|
+
- **SAFE API** — 3 new endpoints for reading SAFE (Simple Agreement for Future Equity) data
|
|
58
|
+
- **Treasury API statements** — programmatic statement retrieval
|
|
59
|
+
- **Attachment uploads** — upload attachments to transactions and recipients
|
|
60
|
+
|
|
61
|
+
Auth: Basic auth (API token as username, empty password) or Bearer token.
|
|
62
|
+
Token tiers: Read-only, Read-write (requires IP whitelist), Custom (scoped).
|
|
63
|
+
|
|
50
64
|
## Authentication
|
|
51
65
|
|
|
52
66
|
API Key authentication. Credentials can be set via:
|