@agentpulselabs/crm-client
v0.1.0
Published
Typed AppBridge client for the crm app.
Readme
@agentpulselabs/crm-client
Typed AppBridge client for the crm app. Bridge-injected — no runtime dependency on crm or @agentpulse/platform.
Install
npm i @agentpulselabs/crm-clientUsage
import { createClient } from '@agentpulselabs/crm-client';
const crm = createClient(Platform.Bridge);
const result = await crm.widgetMy_day(payload);Operations (Crm)
| Method | Op | Summary |
| --- | --- | --- |
| widgetMy_day | widget:my_day | The signed-in person's lead and deal next steps that are overdue or due today (home widget). |
| widgetPipeline | widget:pipeline | Open pipeline per currency, weighted by probability, and deals per stage (home widget). |
| widgetSla_risks | widget:sla_risks | Open leads and cases with the soonest or missed SLA (home widget). |
