Installation
Install the SDK using your preferred package manager:- npm
- yarn
- pnpm
Quick Start
Configuration
The SDK accepts optional configuration parameters:Configuration Options
| Option | Type | Default | Description |
|---|---|---|---|
baseUrl | string | https://api.jasni.ai | API base URL |
Available Resources
The Jasni client provides access to the following resources:Accounts
Manage your agent’s inboxes
Emails
Send, receive, and process emails
Drafts
Create and manage email drafts
Labels
Organize emails with labels
Webhooks
Enable real-time reactions
TypeScript Support
The SDK is written in TypeScript and includes full type definitions. Import types as needed:Requirements
- Node.js 18 or higher
- TypeScript 4.7+ (for TypeScript users)