@zinn-digital/sdk 0.1.1362 → 0.1.1365
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/generated/schema.d.ts +14 -4
- package/package.json +1 -1
|
@@ -66487,8 +66487,7 @@ export interface components {
|
|
|
66487
66487
|
registration_number?: string;
|
|
66488
66488
|
};
|
|
66489
66489
|
Agent: {
|
|
66490
|
-
|
|
66491
|
-
app: "openclaw" | "hermes" | "paperclip" | "activepieces";
|
|
66490
|
+
app: components["schemas"]["AgentAppCode"];
|
|
66492
66491
|
/** Format: date-time */
|
|
66493
66492
|
created_at: string | null;
|
|
66494
66493
|
/** Format: uuid */
|
|
@@ -66507,8 +66506,7 @@ export interface components {
|
|
|
66507
66506
|
provisioned_at: string | null;
|
|
66508
66507
|
resources: components["schemas"]["AgentResources"];
|
|
66509
66508
|
spent_period_micros: number;
|
|
66510
|
-
|
|
66511
|
-
status: "provisioning" | "running" | "suspended" | "failed" | "deleting" | "deleted";
|
|
66509
|
+
status: components["schemas"]["AgentRunState"];
|
|
66512
66510
|
status_detail: string;
|
|
66513
66511
|
/** @enum {string} */
|
|
66514
66512
|
suspend_reason: "" | "standing" | "customer" | "ended" | "staff";
|
|
@@ -66554,6 +66552,11 @@ export interface components {
|
|
|
66554
66552
|
upstream: string;
|
|
66555
66553
|
version: string;
|
|
66556
66554
|
};
|
|
66555
|
+
/**
|
|
66556
|
+
* @description The app an agent runs. One named component so a generator never derives the name `AgentApp` from `Agent.app`, which collides with the `AgentApp` catalogue object below.
|
|
66557
|
+
* @enum {string}
|
|
66558
|
+
*/
|
|
66559
|
+
AgentAppCode: "openclaw" | "hermes" | "paperclip" | "activepieces";
|
|
66557
66560
|
/** @description One action's earned authority (docs/133 D3). ⛔ Authority is per ACTION, never for the agent as a whole — "the agent is trusted" is not a state that exists. */
|
|
66558
66561
|
AgentCapability: {
|
|
66559
66562
|
action: string;
|
|
@@ -66761,6 +66764,11 @@ export interface components {
|
|
|
66761
66764
|
/** @enum {integer} */
|
|
66762
66765
|
rung: 1 | 2 | 3;
|
|
66763
66766
|
};
|
|
66767
|
+
/**
|
|
66768
|
+
* @description Where a hosted agent is in its life. A named component because a generator would otherwise derive `AgentStatus` from `Agent.status`, which collides with the `AgentStatus` capability object.
|
|
66769
|
+
* @enum {string}
|
|
66770
|
+
*/
|
|
66771
|
+
AgentRunState: "provisioning" | "running" | "suspended" | "failed" | "deleting" | "deleted";
|
|
66764
66772
|
AgentSlot: {
|
|
66765
66773
|
ai_credit_monthly_micros: number;
|
|
66766
66774
|
/** Format: date-time */
|
|
@@ -103788,6 +103796,8 @@ export interface components {
|
|
|
103788
103796
|
/** @description The caller's own handle, echoed back. ⛔ Must be **unique** within the request — the response is matched by `ref` rather than by position, so duplicates would collapse and render one price for two products. A repeat is a 422 rather than a silent de-duplication. */
|
|
103789
103797
|
ref: string;
|
|
103790
103798
|
}[];
|
|
103799
|
+
/** @description Absent means false. Which question is asked. `false` prices a BASKET exactly as its invoice will be rounded (VAT once per rate group, leftover cents by largest remainder), so the totals are what checkout charges: use it for a cart or checkout. `true` prices a LIST of independent items, each rated as its own one-item invoice, so an item shows the same cents whatever else is in the request: use it for a price list or plan table. The totals of a `per_item` quote are a sum of standalone prices, not a basket. Only a literal `true` enables it. */
|
|
103800
|
+
per_item?: boolean;
|
|
103791
103801
|
};
|
|
103792
103802
|
/** @description One dated VAT rate for one country and category (docs/34 §2.4). */
|
|
103793
103803
|
TaxRate: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1365",
|
|
4
4
|
"description": "Typed TypeScript client for the Zinn Digital Platform API, generated from its OpenAPI spec.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Neil Lock \u2014 CEO, Zinn Digital\u00ae Ltd <office@zinndigital.com>",
|