@zinn-digital/sdk 0.1.1963 → 0.1.1965

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.
@@ -80642,9 +80642,16 @@ export interface components {
80642
80642
  mrr_minor: number;
80643
80643
  /** Format: int64 */
80644
80644
  revenue_minor: number;
80645
+ /** @description Decimal STRING: converted / (converted + ended unpaid) over the window's trial cohort; running trials are in neither side. Zero when there is nothing to divide. */
80645
80646
  trial_conversion_rate: string;
80647
+ /** @description Trials running now (`billing.Trial` ACTIVE). */
80646
80648
  trialing: number;
80649
+ /** @description Of the window's trial cohort, trials that turned paid (converted at expiry, bought during the trial, or bought after it ended). */
80647
80650
  trials_converted: number;
80651
+ /** @description Of the window's trial cohort, trials that expired or were cancelled unpaid. */
80652
+ trials_ended_unpaid: number;
80653
+ /** @description Trials STARTED in the window (the window's trial cohort, DAY-0724). */
80654
+ trials_started: number;
80648
80655
  upgrades: number;
80649
80656
  };
80650
80657
  /** @description Customers who cannot be auto-renewed, split by CAUSE so each half has a remedy. Three genuinely different situations that a single count would blur. */
@@ -82812,6 +82819,8 @@ export interface components {
82812
82819
  action_url?: string;
82813
82820
  amount_minor: number;
82814
82821
  captured_at?: string | null;
82822
+ /** @description 3DSFIX-B (DAY-0755). Zinn® card top-ups only, and only on the response that started a Stripe charge the bank wants to check (`requires_action`). The dashboard hands it, with `publishable_key`, to Stripe.js so the 3-D Secure check opens IN THE PAGE, never a popup. Never stored and never in a list. Absent on a reseller client's top-up (that Stripe account's key is not served, D52152). */
82823
+ client_secret?: string;
82815
82824
  /** Format: date-time */
82816
82825
  created_at: string;
82817
82826
  /** @description What went into the balance — `settled_minor - fee_minor`. */
@@ -82828,6 +82837,8 @@ export interface components {
82828
82837
  id: components["schemas"]["Uuid"];
82829
82838
  /** @description Whether a standing instruction created this, rather than a person. */
82830
82839
  is_auto?: boolean;
82840
+ /** @description The Zinn® Stripe publishable key (`pk_…`, public by design) that loads Stripe.js for `client_secret`. Present exactly when `client_secret` is. */
82841
+ publishable_key?: string;
82831
82842
  /** @enum {string} */
82832
82843
  purpose?: "general" | "ai";
82833
82844
  /** @description What the customer asked to add, and what the screen promised them. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1963",
3
+ "version": "0.1.1965",
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>",