@agentforge-io/sdk-server 4.21.0 → 4.22.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.
- package/dist/types.d.ts +13 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -1576,11 +1576,23 @@ 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;
|
|
1583
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;
|
|
1584
1596
|
openedAt: string;
|
|
1585
1597
|
reviewedAt: string | null;
|
|
1586
1598
|
submittedAt: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentforge-io/sdk-server",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.22.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",
|