@zinn-digital/sdk 0.1.1443 → 0.1.1445
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 +24 -0
- package/package.json +1 -1
|
@@ -58614,6 +58614,7 @@ export interface components {
|
|
|
58614
58614
|
AdminCustomer360: {
|
|
58615
58615
|
abuse_flags: components["schemas"]["AdminAbuseFlag"][];
|
|
58616
58616
|
ai_usage: components["schemas"]["AdminUsageCounter"][];
|
|
58617
|
+
attribution: components["schemas"]["AdminCustomerAttribution"];
|
|
58617
58618
|
/**
|
|
58618
58619
|
* Format: int64
|
|
58619
58620
|
* @description Granted account-credit balance in `credit_currency` minor units. The staff panel showed a hardcoded 0 before this existed, so `grantSubscription` with `kind: credit` wrote a real ledger row that no screen could read.
|
|
@@ -58654,6 +58655,19 @@ export interface components {
|
|
|
58654
58655
|
subscriptions?: components["schemas"]["Subscription"][];
|
|
58655
58656
|
tickets: components["schemas"]["AdminTicket"][];
|
|
58656
58657
|
};
|
|
58658
|
+
/** @description Where the customer came from (BHWTRACK, 2026-11-03): the FIRST touch, written once and never overwritten (what brought them to us), and the LAST touch, replaced on every recorded campaign visit (what brought them back to buy). Each touch is the allow-listed set the attribution capture keeps - `utm_source`, `utm_medium`, `utm_campaign`, `utm_term`, `utm_content`, the click ids (`gclid`, `gbraid`, `wbraid`, `fbclid`, `ttclid`, `msclkid`), `ref`, `landing_page` (host + path), `referrer_host`, `zd_vid`, `entry`. An empty object with a null time means no touch was recorded (an account created by staff, a partner or an import), which is not the same as a direct visit. */
|
|
58659
|
+
AdminCustomerAttribution: {
|
|
58660
|
+
first: {
|
|
58661
|
+
[key: string]: string;
|
|
58662
|
+
};
|
|
58663
|
+
/** Format: date-time */
|
|
58664
|
+
first_at: string | null;
|
|
58665
|
+
last: {
|
|
58666
|
+
[key: string]: string;
|
|
58667
|
+
};
|
|
58668
|
+
/** Format: date-time */
|
|
58669
|
+
last_at: string | null;
|
|
58670
|
+
};
|
|
58657
58671
|
/** @description docs/1000 §3 — one campaign e-mail sent to the customer (V1's campaign history). */
|
|
58658
58672
|
AdminCustomerCampaignDelivery: {
|
|
58659
58673
|
campaign: string;
|
|
@@ -69728,6 +69742,11 @@ export interface components {
|
|
|
69728
69742
|
code: string;
|
|
69729
69743
|
/** @description Whether `revealAgentLogin` has a token or password to show for this app. */
|
|
69730
69744
|
has_login_secret: boolean;
|
|
69745
|
+
/**
|
|
69746
|
+
* @description `agent` runs on a Zinn® Agents plan; `environment` is a one-click AI environment (JupyterLab with Python and PyTorch on CPU) that runs only on a Zinn® AI Hosting plan granting `ai_environments`. A slot runs only apps whose `kind` equals its `app_kind`.
|
|
69747
|
+
* @enum {string}
|
|
69748
|
+
*/
|
|
69749
|
+
kind?: "agent" | "environment";
|
|
69731
69750
|
licence: string;
|
|
69732
69751
|
min_memory_mb: number;
|
|
69733
69752
|
name: string;
|
|
@@ -69954,6 +69973,11 @@ export interface components {
|
|
|
69954
69973
|
AgentRunState: "provisioning" | "running" | "suspended" | "failed" | "deleting" | "deleted";
|
|
69955
69974
|
AgentSlot: {
|
|
69956
69975
|
ai_credit_monthly_micros: number;
|
|
69976
|
+
/**
|
|
69977
|
+
* @description Which apps this slot may run. An AI Hosting subscription is an `environment` slot, sized by its `ai_env_*` grants; its model calls spend the plan's included AI credit.
|
|
69978
|
+
* @enum {string}
|
|
69979
|
+
*/
|
|
69980
|
+
app_kind?: "agent" | "environment";
|
|
69957
69981
|
/** Format: date-time */
|
|
69958
69982
|
ends_at: string | null;
|
|
69959
69983
|
/** Format: uuid */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1445",
|
|
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>",
|