@zinn-digital/sdk 0.1.1360 → 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 +39 -5
- 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 */
|
|
@@ -97567,6 +97575,30 @@ export interface components {
|
|
|
97567
97575
|
/** @enum {string} */
|
|
97568
97576
|
xmlrpc?: "limited" | "blocked";
|
|
97569
97577
|
};
|
|
97578
|
+
/** @description `SiteFormSubmission` as `multipart/form-data`. Each part is ONE string; a question with several answers (e.g. checkboxes) is that part repeated under the same name, which the engine reads as a list exactly as it does a repeated urlencoded key. ⛔ Kept a plain string on purpose: openapi-python-client 0.29.1 emits unparseable Python for a multipart body whose `additionalProperties` is a `oneOf` or an `array` (the zinn-sdk release failed on it, D60130); `scripts/sdk-release.py --check-spec` refuses that shape. */
|
|
97579
|
+
SiteFormParts: {
|
|
97580
|
+
/** @description Same-site path after a refusal. */
|
|
97581
|
+
_back?: string;
|
|
97582
|
+
/**
|
|
97583
|
+
* Format: email
|
|
97584
|
+
* @description The visitor's address — the Reply-To.
|
|
97585
|
+
*/
|
|
97586
|
+
_email: string;
|
|
97587
|
+
/** @description Shown in the e-mail subject. */
|
|
97588
|
+
_form?: string;
|
|
97589
|
+
/** @description Language of the two e-mails. */
|
|
97590
|
+
_locale?: string;
|
|
97591
|
+
_name?: string;
|
|
97592
|
+
/** @description Same-site path after success. */
|
|
97593
|
+
_next?: string;
|
|
97594
|
+
/** @description Local part of the site's mailbox, e.g. `coach`. */
|
|
97595
|
+
_to: string;
|
|
97596
|
+
/** @description Honeypot — leave empty. */
|
|
97597
|
+
_website?: string;
|
|
97598
|
+
"cf-turnstile-response"?: string;
|
|
97599
|
+
} & {
|
|
97600
|
+
[key: string]: string;
|
|
97601
|
+
};
|
|
97570
97602
|
SiteFormResult: {
|
|
97571
97603
|
/** @enum {string} */
|
|
97572
97604
|
reason?: "origin" | "recipient" | "invalid" | "email" | "not_enabled" | "verification" | "rate" | "unavailable";
|
|
@@ -103764,6 +103796,8 @@ export interface components {
|
|
|
103764
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. */
|
|
103765
103797
|
ref: string;
|
|
103766
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;
|
|
103767
103801
|
};
|
|
103768
103802
|
/** @description One dated VAT rate for one country and category (docs/34 §2.4). */
|
|
103769
103803
|
TaxRate: {
|
|
@@ -176949,7 +176983,7 @@ export interface operations {
|
|
|
176949
176983
|
content: {
|
|
176950
176984
|
"application/json": components["schemas"]["SiteFormSubmission"];
|
|
176951
176985
|
"application/x-www-form-urlencoded": components["schemas"]["SiteFormSubmission"];
|
|
176952
|
-
"multipart/form-data": components["schemas"]["
|
|
176986
|
+
"multipart/form-data": components["schemas"]["SiteFormParts"];
|
|
176953
176987
|
};
|
|
176954
176988
|
};
|
|
176955
176989
|
responses: {
|
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>",
|