@agentforge-io/sdk-server 4.21.0 → 4.23.0

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 (2) hide show
  1. package/dist/types.d.ts +18 -1
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -1576,10 +1576,27 @@ export interface CaseView {
1576
1576
  note: string | null;
1577
1577
  /** The conversation's user (app user id, phone…), when known. */
1578
1578
  customerRef: string | null;
1579
- /** States the business can move it to now. */
1579
+ /** States the business can move it to now, each with what the customer is
1580
+ * told when it moves there (AGF-CASES C3; absent when nothing is said). */
1580
1581
  nextStates: Array<{
1581
1582
  key: string;
1582
1583
  label: string;
1584
+ notifyCustomer?: string;
1585
+ }>;
1586
+ /** The collected data as the business reads it, labeled, in the type's order. */
1587
+ fields: Array<{
1588
+ key: string;
1589
+ label: string;
1590
+ value: string;
1591
+ }>;
1592
+ /** The inbox thread that carries the conversation (open the chat with it), when there is one. */
1593
+ threadId: string | null;
1594
+ /** The customer's name on that thread, when known. */
1595
+ customerName: string | null;
1596
+ /** The road the business walks it: sent, accepted, the type's own phases, completed. */
1597
+ path: Array<{
1598
+ key: string;
1599
+ label: string;
1583
1600
  }>;
1584
1601
  openedAt: string;
1585
1602
  reviewedAt: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentforge-io/sdk-server",
3
- "version": "4.21.0",
3
+ "version": "4.23.0",
4
4
  "description": "Server-side SDK for backend apps integrating with AgentForge platform. Auth via ChatToken, ak_live_ API key or App secret (sk_live_), with App installations across tenants.",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",