@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,13 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## API Notes (2026)
|
|
51
|
+
|
|
52
|
+
Stripe Atlas uses the standard Stripe API (same auth, same versioning as connect-stripe).
|
|
53
|
+
Current API version: `2026-02-25.clover`
|
|
54
|
+
Atlas-specific resources: company formation, bank account setup via Stripe API.
|
|
55
|
+
See connect-stripe for full Stripe API update notes.
|
|
56
|
+
|
|
50
57
|
## Authentication
|
|
51
58
|
|
|
52
59
|
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
|
+
Substack does not have a fully public REST API. Available endpoints are unofficial/undocumented.
|
|
53
|
+
Common patterns: `https://{publication}.substack.com/api/v1/` for posts, subscribers, etc.
|
|
54
|
+
Auth: Cookie-based session or `substack-api-key` header for some endpoints.
|
|
55
|
+
|
|
50
56
|
## Authentication
|
|
51
57
|
|
|
52
58
|
API Key authentication. Credentials can be set via:
|
|
@@ -47,6 +47,31 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## API Products (2026)
|
|
51
|
+
|
|
52
|
+
| API | Function | Auth |
|
|
53
|
+
|-----|----------|------|
|
|
54
|
+
| Login Kit | User sign-in with TikTok | OAuth 2.0 |
|
|
55
|
+
| Display API | Read-only public content/profile | OAuth 2.0 |
|
|
56
|
+
| Content Publishing API | Upload/publish videos | OAuth 2.0 (video.upload, video.publish scopes) |
|
|
57
|
+
| Research API | Anonymized academic data | Separate research access approval |
|
|
58
|
+
|
|
59
|
+
### Content Publishing API (2026)
|
|
60
|
+
- Direct Post: video goes live immediately
|
|
61
|
+
- Upload to Inbox: queued as draft for creator review
|
|
62
|
+
- Max video size: 10GB
|
|
63
|
+
- Avg upload time: ~60s for 1080p
|
|
64
|
+
- OAuth access token TTL: 24 hours; refresh token TTL: 365 days
|
|
65
|
+
- Required scopes: `video.upload`, `video.publish`, `user.info.basic`
|
|
66
|
+
|
|
67
|
+
### OAuth 2.0 PKCE Flow
|
|
68
|
+
```
|
|
69
|
+
Authorization URL → exchange code → access_token + refresh_token
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Rate Limits
|
|
73
|
+
TikTok enforces per-app rate limits. Monitor `X-Ratelimit-*` response headers.
|
|
74
|
+
|
|
50
75
|
## Authentication
|
|
51
76
|
|
|
52
77
|
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
|
+
Tinker LLM fine-tuning and training API. Check https://tinker.ai/docs for latest API reference.
|
|
53
|
+
Key operations: upload training data, create fine-tuning jobs, deploy models.
|
|
54
|
+
Auth: Bearer token.
|
|
55
|
+
|
|
50
56
|
## Authentication
|
|
51
57
|
|
|
52
58
|
Bearer Token authentication. Credentials can be set via:
|
|
@@ -47,6 +47,15 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## API Notes (2026)
|
|
51
|
+
|
|
52
|
+
Base URL: `https://api.twilio.com/2010-04-01/`
|
|
53
|
+
Auth: HTTP Basic Auth with Account SID + Auth Token (or API Key SID + Secret)
|
|
54
|
+
|
|
55
|
+
Key services: SMS, Voice, Messaging (WhatsApp, RCS), Verify (OTP), Video, Email (via SendGrid)
|
|
56
|
+
|
|
57
|
+
Current stable API version: `2010-04-01` (unchanged — Twilio uses stable versioned URLs)
|
|
58
|
+
|
|
50
59
|
## Authentication
|
|
51
60
|
|
|
52
61
|
API Key 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
|
+
USPTO (US Patent and Trademark Office) open data APIs — mostly free/no auth required.
|
|
53
|
+
- Patent Center API: `https://patentcenter.uspto.gov/retrieval/public/v1/`
|
|
54
|
+
- Patent Search API (PatentsView): `https://search.patentsview.org/api/v1/`
|
|
55
|
+
- Trademark API: `https://tsdrapi.uspto.gov/ts/cd/casestatus/`
|
|
56
|
+
Auth: Optional API key for higher rate limits.
|
|
57
|
+
|
|
50
58
|
## Authentication
|
|
51
59
|
|
|
52
60
|
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
|
+
### CMS Improvements
|
|
53
|
+
- **Live CMS item management**: Endpoints for managing items live on site vs staged
|
|
54
|
+
- **CMS item filtering and sorting**: Server-side filtering/sorting
|
|
55
|
+
- **Bulk CMS authoring**: Bulk create/update/delete CMS items via Data API v2
|
|
56
|
+
- **Localization support**: Multi-locale content management
|
|
57
|
+
|
|
58
|
+
### Breaking Changes (Dec 2024 / Jul 2025)
|
|
59
|
+
- **Dec 2024**: Breaking changes in JavaScript SDK — check changelog
|
|
60
|
+
- **Jul 2025**: CMS item publishing updated — how items publish, draft, and remove from live sites
|
|
61
|
+
- **Internal API deprecation (late 2026)**: Internal DOM sync endpoints (`/sites/{name}/dom`, `/pages/{id}/dom`) require version numbers in write requests since Sep 15, 2025. Will be removed late 2026.
|
|
62
|
+
|
|
63
|
+
### New Features
|
|
64
|
+
- **301 Redirects API**: Manage redirects programmatically
|
|
65
|
+
- **Comments API**: Manage design comments via API
|
|
66
|
+
- **Workspace Audit Logs**: Audit log endpoints
|
|
67
|
+
- **Official MCP Server**: Webflow MCP server now supports the Designer (for AI agents)
|
|
68
|
+
|
|
50
69
|
## Authentication
|
|
51
70
|
|
|
52
71
|
OAuth 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
|
+
### New APIs (Feb-Mar 2026)
|
|
53
|
+
- **Disputes APIs** (Mar 2026) — manage payment disputes: Dispute History Records, Dispute Evidence Documents, Disputes API
|
|
54
|
+
- **Site Authentication API** (Mar 2026) — manage site member authentication
|
|
55
|
+
- **Wix AI APIs** (Feb 2026) — interact with multiple AI providers via Wix (handles auth + billing). REST + SDK.
|
|
56
|
+
- **Intake Form Submissions API** (Feb 2026)
|
|
57
|
+
- **Dashboard SDK update** (Mar 2026) — action required: update `@wix/dashboard-react >= 1.0.27` and `@wix/dashboard >= 1.3.43`
|
|
58
|
+
|
|
59
|
+
### Headless CMS Updates (Feb 2026)
|
|
60
|
+
- New article: Upload images to CMS collections requiring elevation
|
|
61
|
+
- Multilingual support guide for headless projects
|
|
62
|
+
- Wix-Managed Headless: `403` error handling guide
|
|
63
|
+
|
|
64
|
+
### CLI Updates (Mar 2026)
|
|
65
|
+
- New commands: `wix translation push` and `wix translation pull`
|
|
66
|
+
|
|
67
|
+
### Deprecated (Aug 2026)
|
|
68
|
+
Bookings Pricing API: `pricePerParticipant`, `numberOfParticipants`, `choices` fields deprecated — use `serviceChoices` object instead.
|
|
69
|
+
|
|
50
70
|
## Authentication
|
|
51
71
|
|
|
52
72
|
API Key authentication. Credentials can be set via:
|
|
@@ -47,6 +47,21 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## Pricing & Access (2026)
|
|
51
|
+
|
|
52
|
+
### Pay-as-you-go Model (Feb 2026)
|
|
53
|
+
X moved to **credit-based pay-as-you-go pricing** (Feb 6, 2026), replacing fixed $200/month Basic and $5,000/month Pro plans.
|
|
54
|
+
|
|
55
|
+
- Purchase credits in advance; balance decreases per API call
|
|
56
|
+
- Unit price varies by endpoint (check Developer Console for current prices)
|
|
57
|
+
- Duplicate protection: same post/user fetched multiple times on same day is not double-charged (with exceptions)
|
|
58
|
+
- Auto-recharge and spending limits available
|
|
59
|
+
- **Public Utility apps** continue to receive free scaled access
|
|
60
|
+
- Legacy free tier users receive a $10 one-time voucher when migrating
|
|
61
|
+
- Existing Basic/Pro subscribers can opt-in to pay-as-you-go or keep their plan
|
|
62
|
+
|
|
63
|
+
Pricing reference: https://docs.x.com/x-api/getting-started/pricing
|
|
64
|
+
|
|
50
65
|
## Authentication
|
|
51
66
|
|
|
52
67
|
OAuth authentication. Credentials can be set via:
|
|
@@ -47,6 +47,16 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## API Notes (2026)
|
|
51
|
+
|
|
52
|
+
X Ads API (Twitter Ads API) — separate from X API v2.
|
|
53
|
+
Base URL: `https://ads-api.x.com/12/` (version 12 as of 2026)
|
|
54
|
+
Auth: OAuth 1.0a (consumer key/secret + user token/secret)
|
|
55
|
+
|
|
56
|
+
Key resources: campaigns, line_items, creatives, targeting_criteria, stats/analytics.
|
|
57
|
+
|
|
58
|
+
Note: X Ads API pricing/access is separate from X API v2 pay-as-you-go model. Contact X for Ads API access.
|
|
59
|
+
|
|
50
60
|
## Authentication
|
|
51
61
|
|
|
52
62
|
OAuth authentication. Credentials can be set via:
|
|
@@ -47,6 +47,21 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## Models (2026)
|
|
51
|
+
|
|
52
|
+
| Model | Description |
|
|
53
|
+
|-------|-------------|
|
|
54
|
+
| `grok-4-0709` | Current flagship, 131K context — **recommended default** |
|
|
55
|
+
| `grok-4` / `grok-4-fast` | Grok 4 variants |
|
|
56
|
+
| `grok-4-1-fast-reasoning` | Grok 4.1 with reasoning |
|
|
57
|
+
| `grok-4-1-fast-non-reasoning` | Grok 4.1 fast, no reasoning |
|
|
58
|
+
| `grok-3` / `grok-3-mini` | Grok 3 series |
|
|
59
|
+
| `grok-2-vision` | Vision tasks |
|
|
60
|
+
| `grok-2-image` | Image generation |
|
|
61
|
+
|
|
62
|
+
Base URL: `https://api.x.ai/v1` (OpenAI-compatible)
|
|
63
|
+
Default: `grok-4-0709`
|
|
64
|
+
|
|
50
65
|
## Authentication
|
|
51
66
|
|
|
52
67
|
Bearer Token authentication. Credentials can be set via:
|
|
@@ -14,19 +14,35 @@ export interface XAIConfig {
|
|
|
14
14
|
// ============================================
|
|
15
15
|
|
|
16
16
|
export type XAIModel =
|
|
17
|
+
// Grok 4 series (2025-2026, latest)
|
|
18
|
+
| 'grok-4-0709' // current flagship
|
|
19
|
+
| 'grok-4'
|
|
20
|
+
| 'grok-4-fast'
|
|
21
|
+
// Grok 4.1 (reasoning variants)
|
|
22
|
+
| 'grok-4-1-fast-reasoning'
|
|
23
|
+
| 'grok-4-1-fast-non-reasoning'
|
|
24
|
+
// Grok 3 series
|
|
17
25
|
| 'grok-3'
|
|
18
26
|
| 'grok-3-fast'
|
|
19
|
-
| 'grok-
|
|
20
|
-
|
|
27
|
+
| 'grok-3-mini'
|
|
28
|
+
// Grok 2 (legacy)
|
|
29
|
+
| 'grok-2-vision'
|
|
30
|
+
| 'grok-2-image';
|
|
21
31
|
|
|
22
32
|
export const XAI_MODELS: XAIModel[] = [
|
|
33
|
+
'grok-4-0709',
|
|
34
|
+
'grok-4',
|
|
35
|
+
'grok-4-fast',
|
|
36
|
+
'grok-4-1-fast-reasoning',
|
|
37
|
+
'grok-4-1-fast-non-reasoning',
|
|
23
38
|
'grok-3',
|
|
24
39
|
'grok-3-fast',
|
|
25
|
-
'grok-
|
|
40
|
+
'grok-3-mini',
|
|
26
41
|
'grok-2-vision',
|
|
42
|
+
'grok-2-image',
|
|
27
43
|
];
|
|
28
44
|
|
|
29
|
-
export const DEFAULT_CHAT_MODEL: XAIModel = 'grok-
|
|
45
|
+
export const DEFAULT_CHAT_MODEL: XAIModel = 'grok-4-0709';
|
|
30
46
|
|
|
31
47
|
// ============================================
|
|
32
48
|
// Chat Completions
|
|
@@ -47,6 +47,34 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## API Updates (2024-2025)
|
|
51
|
+
|
|
52
|
+
### Quota Changes (Dec 2025)
|
|
53
|
+
Video upload quota cost reduced: **~~1,600 units~~ → ~100 units**. This massively reduces the cost of uploading videos against the 10,000 unit/day default quota.
|
|
54
|
+
|
|
55
|
+
### mostPopular Chart Change (Jul 2025)
|
|
56
|
+
`video.list` `mostPopular` chart now features videos from Trending Music, Movies, and Gaming charts (was Trending page, which is deprecated).
|
|
57
|
+
|
|
58
|
+
### Shorts View Count (Mar 2025)
|
|
59
|
+
Views now count when a Short starts playing or replaying — no minimum watch time required.
|
|
60
|
+
|
|
61
|
+
### New `status.containsSyntheticMedia` (Oct 2024)
|
|
62
|
+
Set this property on `videos.insert`/`videos.update` to flag AI-generated or altered content (required per YouTube policy).
|
|
63
|
+
|
|
64
|
+
### Quota Overview
|
|
65
|
+
| Operation | Cost (units) |
|
|
66
|
+
|-----------|-------------|
|
|
67
|
+
| Default daily quota | 10,000 |
|
|
68
|
+
| Video upload | ~100 (was ~1,600) |
|
|
69
|
+
| Search list | 100 |
|
|
70
|
+
| Videos list | 1 |
|
|
71
|
+
| Channels list | 1 |
|
|
72
|
+
|
|
73
|
+
### Three API Components
|
|
74
|
+
- **Data API v3** — metadata, playlists, channels, upload, search
|
|
75
|
+
- **Analytics API** — engagement metrics, demographics
|
|
76
|
+
- **Reporting API** — bulk historical data downloads
|
|
77
|
+
|
|
50
78
|
## Authentication
|
|
51
79
|
|
|
52
80
|
API Key authentication. Credentials can be set via:
|
|
@@ -47,6 +47,21 @@ src/
|
|
|
47
47
|
└── index.ts # Library exports
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## Auth & API Updates (2025-2026)
|
|
51
|
+
|
|
52
|
+
### Server-to-Server OAuth (recommended)
|
|
53
|
+
Use Server-to-Server OAuth for headless/automated integrations. Replaces deprecated JWT auth.
|
|
54
|
+
- Create app in Zoom Marketplace → Server-to-Server OAuth
|
|
55
|
+
- Exchange credentials for access token: `POST https://zoom.us/oauth/token?grant_type=account_credentials&account_id={id}`
|
|
56
|
+
- Token expires in 1 hour — refresh as needed
|
|
57
|
+
|
|
58
|
+
### Recent API Updates (Jan 2026)
|
|
59
|
+
- **Summaries endpoints**: New fields added to meeting/webinar summary endpoints
|
|
60
|
+
- **Meetings and Webinars webhooks**: New webhook payload fields
|
|
61
|
+
|
|
62
|
+
### Meeting SDK Auth Update
|
|
63
|
+
Meeting SDK authorization has been updated. See Zoom Developer docs for latest OBF (Obfuscated Function) migration requirements.
|
|
64
|
+
|
|
50
65
|
## Authentication
|
|
51
66
|
|
|
52
67
|
OAuth authentication. Credentials can be set via:
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Test endpoint definitions for verifying API credentials.
|
|
3
|
+
* Each entry maps a connector name to its health-check endpoint.
|
|
4
|
+
*/
|
|
5
|
+
export interface TestEndpoint {
|
|
6
|
+
url: string;
|
|
7
|
+
method?: string;
|
|
8
|
+
headers: (key: string) => Record<string, string>;
|
|
9
|
+
/** Expected successful status codes */
|
|
10
|
+
successCodes?: number[];
|
|
11
|
+
}
|
|
12
|
+
export declare const TEST_ENDPOINTS: Record<string, TestEndpoint>;
|