@agentforge-io/sdk-server 4.80.0 → 4.81.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 +4 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -2633,6 +2633,10 @@ export interface CaseReceiptLine {
2633
2633
  unit?: string;
2634
2634
  /** AGF-UNITS U2 — sold by measure: `qty` is in `unit` (0.75 lb), not a count of items. */
2635
2635
  measured?: boolean;
2636
+ /** PDK-SERVICE-CART — the line is a service. Absent: a product, a receipt issued before, or an older platform. */
2637
+ kind?: 'service';
2638
+ /** PDK-SERVICE-CART — a service charged by a unit: `unitCents` is its rate, never an amount; the business confirms the price (the total is null). */
2639
+ rate?: true;
2636
2640
  /** AGF-UNITS U3 — sold by value: the line costs this (cents); `qty` is the measure it buys (an estimate). */
2637
2641
  amountCents?: number;
2638
2642
  /** A value line the business can weigh: pass it to `cases.weighLine`. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentforge-io/sdk-server",
3
- "version": "4.80.0",
3
+ "version": "4.81.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",