@hasna/connectors 0.2.6 → 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.
Files changed (73) hide show
  1. package/bin/index.js +3 -3
  2. package/bin/mcp.js +1 -1
  3. package/connectors/connect-anthropic/AGENTS.md +22 -0
  4. package/connectors/connect-anthropic/CLAUDE.md +29 -0
  5. package/connectors/connect-anthropic/README.md +22 -3
  6. package/connectors/connect-anthropic/src/types/index.ts +46 -2
  7. package/connectors/connect-aws/CLAUDE.md +16 -0
  8. package/connectors/connect-brandsight/CLAUDE.md +5 -0
  9. package/connectors/connect-cloudflare/CLAUDE.md +21 -0
  10. package/connectors/connect-discord/CLAUDE.md +19 -0
  11. package/connectors/connect-docker/CLAUDE.md +8 -0
  12. package/connectors/connect-e2b/CLAUDE.md +21 -0
  13. package/connectors/connect-elevenlabs/CLAUDE.md +24 -0
  14. package/connectors/connect-exa/CLAUDE.md +35 -0
  15. package/connectors/connect-figma/CLAUDE.md +34 -0
  16. package/connectors/connect-firecrawl/CLAUDE.md +27 -0
  17. package/connectors/connect-github/CLAUDE.md +32 -2
  18. package/connectors/connect-gmail/CLAUDE.md +22 -0
  19. package/connectors/connect-google/CLAUDE.md +11 -0
  20. package/connectors/connect-googlecalendar/CLAUDE.md +9 -0
  21. package/connectors/connect-googlecloud/CLAUDE.md +12 -0
  22. package/connectors/connect-googlecontacts/CLAUDE.md +7 -0
  23. package/connectors/connect-googledocs/CLAUDE.md +7 -0
  24. package/connectors/connect-googledrive/CLAUDE.md +5 -0
  25. package/connectors/connect-googlegemini/CLAUDE.md +18 -0
  26. package/connectors/connect-googlegemini/src/types/index.ts +10 -3
  27. package/connectors/connect-googlemaps/CLAUDE.md +15 -0
  28. package/connectors/connect-googlesheets/CLAUDE.md +10 -0
  29. package/connectors/connect-googletasks/CLAUDE.md +6 -0
  30. package/connectors/connect-hedra/CLAUDE.md +15 -0
  31. package/connectors/connect-heygen/CLAUDE.md +14 -0
  32. package/connectors/connect-huggingface/CLAUDE.md +20 -0
  33. package/connectors/connect-icons8/CLAUDE.md +6 -0
  34. package/connectors/connect-maropost/CLAUDE.md +6 -0
  35. package/connectors/connect-mercury/CLAUDE.md +14 -0
  36. package/connectors/connect-meta/CLAUDE.md +16 -0
  37. package/connectors/connect-midjourney/CLAUDE.md +7 -0
  38. package/connectors/connect-mistral/CLAUDE.md +20 -0
  39. package/connectors/connect-mistral/src/types/index.ts +42 -7
  40. package/connectors/connect-mixpanel/CLAUDE.md +11 -0
  41. package/connectors/connect-notion/CLAUDE.md +30 -0
  42. package/connectors/connect-openai/AGENTS.md +15 -0
  43. package/connectors/connect-openai/CLAUDE.md +23 -0
  44. package/connectors/connect-openai/src/types/index.ts +36 -14
  45. package/connectors/connect-openweathermap/CLAUDE.md +8 -0
  46. package/connectors/connect-pandadoc/CLAUDE.md +18 -0
  47. package/connectors/connect-quo/CLAUDE.md +5 -0
  48. package/connectors/connect-reddit/CLAUDE.md +20 -0
  49. package/connectors/connect-reducto/CLAUDE.md +16 -0
  50. package/connectors/connect-resend/CLAUDE.md +21 -0
  51. package/connectors/connect-revolut/CLAUDE.md +17 -0
  52. package/connectors/connect-sedo/CLAUDE.md +6 -0
  53. package/connectors/connect-sentry/CLAUDE.md +11 -0
  54. package/connectors/connect-shadcn/CLAUDE.md +42 -0
  55. package/connectors/connect-shopify/CLAUDE.md +18 -0
  56. package/connectors/connect-snap/CLAUDE.md +6 -0
  57. package/connectors/connect-stabilityai/CLAUDE.md +13 -0
  58. package/connectors/connect-stripe/CLAUDE.md +19 -0
  59. package/connectors/connect-stripeatlas/CLAUDE.md +7 -0
  60. package/connectors/connect-substack/CLAUDE.md +6 -0
  61. package/connectors/connect-tiktok/CLAUDE.md +25 -0
  62. package/connectors/connect-tinker/CLAUDE.md +6 -0
  63. package/connectors/connect-twilio/CLAUDE.md +9 -0
  64. package/connectors/connect-uspto/CLAUDE.md +8 -0
  65. package/connectors/connect-webflow/CLAUDE.md +19 -0
  66. package/connectors/connect-wix/CLAUDE.md +20 -0
  67. package/connectors/connect-x/CLAUDE.md +15 -0
  68. package/connectors/connect-xads/CLAUDE.md +10 -0
  69. package/connectors/connect-xai/CLAUDE.md +15 -0
  70. package/connectors/connect-xai/src/types/index.ts +20 -4
  71. package/connectors/connect-youtube/CLAUDE.md +28 -0
  72. package/connectors/connect-zoom/CLAUDE.md +15 -0
  73. package/package.json +1 -1
@@ -47,6 +47,26 @@ src/
47
47
  └── index.ts # Library exports
48
48
  ```
49
49
 
50
+ ## API & Pricing (2026)
51
+
52
+ ### Rate Limits
53
+ - **Authenticated (OAuth)**: 60 requests/minute (10-minute rolling window, per OAuth client)
54
+ - **Unauthenticated**: 10 requests/minute (IP-based)
55
+ - Response headers: `X-Ratelimit-Used`, `X-Ratelimit-Remaining`, `X-Ratelimit-Reset`
56
+
57
+ ### Pricing Tiers (2023+, still in effect 2026)
58
+ | Tier | Rate | Cost |
59
+ |------|------|------|
60
+ | Free | 100 req/min | Free (non-commercial only) |
61
+ | Premium | 100-1000 req/min | From $12,000/year |
62
+ | Enterprise | Custom | Custom (>1000 req/min) |
63
+
64
+ Note: Free tier is 60 req/min for OAuth apps, ~100 req/min for elevated access.
65
+
66
+ ### Auth
67
+ OAuth 2.0 (client_credentials for scripts, authorization_code for user apps).
68
+ Required User-Agent format: `platform:app_name:version (by /u/username)`
69
+
50
70
  ## Authentication
51
71
 
52
72
  OAuth authentication. Credentials can be set via:
@@ -47,6 +47,22 @@ src/
47
47
  └── index.ts # Library exports
48
48
  ```
49
49
 
50
+ ## API Updates (2025-2026)
51
+
52
+ ### New Endpoints
53
+ - **`POST /edit`** — Write-back document editing. Fill PDF forms and modify DOCX files using natural language instructions. Supports vision-based field detection for PDFs without native form fields.
54
+ - **Pipeline IDs** — Run Studio pipelines from code using stable pipeline identifiers. Tracks latest deployed config.
55
+
56
+ ### Edit Endpoint (2026)
57
+ Input: `document_url`, `edit_instructions`, `edit_options` (provider preference: OpenAI/Anthropic/Google, highlight color, overflow behavior), optional `form_schema`.
58
+ Output: `document_url` + metadata of changes applied.
59
+
60
+ ### Enterprise Features
61
+ - HIPAA/SOC 2 compliance
62
+ - On-prem/air-gapped deployment
63
+ - Zero data retention option
64
+ - BAA support for healthcare
65
+
50
66
  ## Authentication
51
67
 
52
68
  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 (2025-2026)
51
+
52
+ ### New Endpoints
53
+ - **`GET /emails`** (Oct 2025) — List sent emails with cursor-based pagination (`before`, `after`, `limit` params; max 100 per page)
54
+ - **Email suppression status** (Jan 2026) — New `suppressed` delivery status in email responses when Resend prevents delivery due to bounce/complaint history
55
+
56
+ ### Email Suppression (Jan 2026)
57
+ New `last_event: "suppressed"` status in email objects. New `email.suppressed` webhook event. Webhooks include suppression type (`OnAccountSuppressionList`) and message.
58
+
59
+ ### Endpoints Overview
60
+ | Method | Path | Description |
61
+ |--------|------|-------------|
62
+ | POST | `/emails` | Send email |
63
+ | GET | `/emails/{id}` | Get email |
64
+ | GET | `/emails` | **New** List sent emails |
65
+ | GET/POST/DELETE | `/domains` | Domain management |
66
+ | GET/POST/DELETE | `/api-keys` | API key management |
67
+ | GET/POST/DELETE | `/audiences` | Contact lists |
68
+ | GET/POST/DELETE | `/contacts` | Contacts in audience |
69
+ | GET/POST/DELETE | `/broadcasts` | Email broadcasts |
70
+
50
71
  ## Authentication
51
72
 
52
73
  API Key authentication. Credentials can be set via:
@@ -47,6 +47,23 @@ src/
47
47
  └── index.ts # Library exports
48
48
  ```
49
49
 
50
+ ## API Updates (2025-2026)
51
+
52
+ ### Open Banking API Breaking Changes (Mar 23, 2026)
53
+ 1. **OpenID issuer URL** changes from `https://oba.revolut.com` to `https://oba-auth.revolut.com`. Both will be accepted temporarily — update promptly.
54
+ 2. **AccountSubType for Credit Cards**: Changes from `Loan` → `CreditCard`
55
+ 3. **DCR scope parameter**: Unified to space-separated string (e.g., `"openid accounts payments"`) across all DCR endpoints. Was inconsistently array vs string.
56
+
57
+ ### New Endpoints (2025)
58
+ - Merchant API: **Disputes endpoints** (Jun 2025) — retrieve, list, and now act on disputes directly
59
+ - Merchant API: **Apple Pay unregistration endpoint** (Jun 2025)
60
+ - **Pay by Bank** (May 2025) — new payment method for direct bank account payments
61
+
62
+ ### Auth Changes (Mar-Apr 2025)
63
+ - FAPI 1.0 Advanced: API endpoint subdomain changed from `oba.revolut.com` to `oba-auth.revolut.com`
64
+ - OAuth refresh token expiry updated (Apr 7, 2025)
65
+ - Public API specs now available on GitHub (Jul 2025)
66
+
50
67
  ## Authentication
51
68
 
52
69
  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
+ Sedo Domain Marketplace API: `https://api.sedo.com/api/v2/`
53
+ Key endpoints: domain search, listings, pricing, transfers, parking statistics.
54
+ Auth: API key + partner ID.
55
+
50
56
  ## Authentication
51
57
 
52
58
  API Key authentication. Credentials can be set via:
@@ -47,6 +47,17 @@ src/
47
47
  └── index.ts # Library exports
48
48
  ```
49
49
 
50
+ ## API Design (2025+)
51
+
52
+ Sentry overhauled API guidelines (Apr 2025). Key design principles now enforced:
53
+ - All endpoints designed as public API
54
+ - `PATCH` not used — `PUT` for updates
55
+ - Noun-based nesting in responses (`{project: {...}}` not flat)
56
+ - Identifiers accept both human-readable and numeric forms
57
+ - Common names used (`organization` not `organization_id`)
58
+
59
+ New endpoint (Jul 2025): `POST /api/0/repositories/{repo}/token/regen/` — Regenerate repository upload token.
60
+
50
61
  ## Authentication
51
62
 
52
63
  Bearer Token authentication. Credentials can be set via:
@@ -47,6 +47,48 @@ src/
47
47
  └── index.ts # Library exports
48
48
  ```
49
49
 
50
+ ## CLI v4 (Mar 2026) — Major Update
51
+
52
+ shadcn CLI v4 released March 2026. Key new features:
53
+
54
+ ### New Inspection Flags
55
+ ```bash
56
+ npx shadcn@latest add button --dry-run # preview without writing
57
+ npx shadcn@latest add button --diff # show diff vs local changes
58
+ npx shadcn@latest add button --view # inspect registry payload
59
+ ```
60
+
61
+ ### Presets — Design System Codes
62
+ Pack entire design system (colors, theme, icons, fonts, radius) into a short code:
63
+ ```bash
64
+ npx shadcn@latest init --preset a1Dg5eFl # scaffold with preset
65
+ ```
66
+
67
+ ### shadcn/skills — Agent Context
68
+ Gives AI coding agents context for working with components:
69
+ ```bash
70
+ npx skills add shadcn/ui
71
+ ```
72
+
73
+ ### New shadcn info command
74
+ ```bash
75
+ npx shadcn@latest info # framework, version, installed components, docs links
76
+ ```
77
+
78
+ ### shadcn docs command
79
+ ```bash
80
+ npx shadcn@latest docs combobox # get docs, code, examples for any component
81
+ ```
82
+
83
+ ### shadcn init Templates (--template, --monorepo, --base)
84
+ ```bash
85
+ npx shadcn@latest init -t next --monorepo # next.js monorepo
86
+ npx shadcn@latest init --base radix # choose Radix or Base UI primitives
87
+ ```
88
+
89
+ ### registry:base and registry:font
90
+ Registries can now distribute entire design systems and fonts as first-class types.
91
+
50
92
  ## Authentication
51
93
 
52
94
  API Key authentication. Credentials can be set via:
@@ -47,6 +47,24 @@ src/
47
47
  └── index.ts # Library exports
48
48
  ```
49
49
 
50
+ ## API Migration (2025-2026) — IMPORTANT
51
+
52
+ ### REST API is Legacy
53
+ Shopify marked REST Admin API as **legacy as of October 1, 2024**.
54
+
55
+ - **New public apps**: Must use GraphQL Admin API exclusively (since April 1, 2025)
56
+ - **Custom apps**: Can still use REST but won't receive new features; can't increase product variants past 100
57
+ - REST API for products/variants: Must migrate to GraphQL if supporting >100 variants
58
+ - Current API version: **`2026-01`**
59
+
60
+ ### GraphQL Admin API
61
+ All new development should use GraphQL:
62
+ - Endpoint: `POST https://{shop}.myshopify.com/admin/api/2026-01/graphql.json`
63
+ - Auth header: `X-Shopify-Access-Token: {access_token}`
64
+
65
+ ### Check Deprecated Calls
66
+ Use `GET /admin/api/2026-01/deprecated_api_calls.json` to audit deprecated API usage in your custom app (last 30 days).
67
+
50
68
  ## Authentication
51
69
 
52
70
  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
+ Snapchat Marketing API (Ads API): `https://adsapi.snapchat.com/v1/`
53
+ Auth: OAuth 2.0 (client credentials flow for server-to-server)
54
+ Key resources: campaigns, ad_squads, ads, creatives, audiences, pixel, stats.
55
+
50
56
  ## Authentication
51
57
 
52
58
  API Key authentication. Credentials can be set via:
@@ -47,6 +47,19 @@ src/
47
47
  └── index.ts # Library exports
48
48
  ```
49
49
 
50
+ ## Models (2025-2026)
51
+
52
+ | Model | Endpoint | Description |
53
+ |-------|----------|-------------|
54
+ | `sd3.5-large` | `/v2beta/stable-image/generate/sd3` | Highest quality |
55
+ | `sd3.5-large-turbo` | `/v2beta/stable-image/generate/sd3` | Fast SD 3.5 |
56
+ | `sd3.5-medium` | `/v2beta/stable-image/generate/sd3` | Balanced, MMDiT-X arch |
57
+ | `stable-image-ultra` | `/v2beta/stable-image/generate/ultra` | Ultra quality |
58
+ | `stable-image-core` | `/v2beta/stable-image/generate/core` | Fast and affordable |
59
+
60
+ SD 3.5 Medium: Keep prompts under 256 T5 tokens. Use Skip Layer Guidance for better anatomy.
61
+ License: Community License free for <$1M annual revenue; Enterprise required above.
62
+
50
63
  ## Authentication
51
64
 
52
65
  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 Version (2026)
51
+
52
+ Current version: **`2026-02-25.clover`**
53
+
54
+ Stripe uses versioned releases. The current major release is **Clover** (2026). Set `Stripe-Version` header to pin a version:
55
+ ```typescript
56
+ 'Stripe-Version': '2026-02-25.clover'
57
+ ```
58
+
59
+ Notable Clover changes:
60
+ - `adjustable_quantity` returned in LineItem objects (Checkout Sessions, Payment Links, Quotes)
61
+ - Amount-off coupons with `duration=forever` re-enabled (was deprecated in Basil 2025-03-31)
62
+
63
+ ### Stripe Agent Toolkit (2025+)
64
+ Stripe now has an official Agent Toolkit and MCP Server for AI integrations. See [docs.stripe.com/agent-toolkit](https://docs.stripe.com/agent-toolkit).
65
+
66
+ ### Workbench
67
+ Use [Stripe Workbench](https://dashboard.stripe.com/workbench) to manage your API version and test API changes in-browser. Replaces the old API Explorer.
68
+
50
69
  ## Authentication
51
70
 
52
71
  Bearer Token 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
+ 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-2'
20
- | 'grok-2-vision';
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-2',
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-2';
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:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/connectors",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "Open source connector library - Install API connectors with a single command",
5
5
  "type": "module",
6
6
  "bin": {