@zinn-digital/sdk 0.1.1454 → 0.1.1458

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.
@@ -53635,7 +53635,7 @@ export interface paths {
53635
53635
  put?: never;
53636
53636
  /**
53637
53637
  * Finish a resumable upload; the platform assembles and installs it.
53638
- * @description Every part must have arrived (`422` names the missing ones). `sha256` is the whole-file checksum in composite form: the SHA-256 of the parts' raw SHA-256 digests concatenated in part order. A client can compute that one part at a time, without hashing the whole file at once. Answers `202` with the upload in `assembling`. The platform then streams the parts together and verifies the length and checksum. It installs with the same checks as `installSiteWordPressPlugin` / `installSiteWordPressTheme`, and the upload becomes `installed` or `failed`. Poll `getSiteWordPressUpload`. `503` if the installer is unreachable; the upload stays resumable and can be completed again.
53638
+ * @description Every part must have arrived (`422` names the missing ones). `sha256` is the whole-file checksum, in either of two forms: the plain SHA-256 of the file (what `sha256sum` prints), or the composite form, the SHA-256 of the parts' raw SHA-256 digests concatenated in part order. A client can compute the composite one part at a time, without hashing the whole file at once. Answers `202` with the upload in `assembling`. The platform then streams the parts together and verifies the length and checksum. It installs with the same checks as `installSiteWordPressPlugin` / `installSiteWordPressTheme`, and the upload becomes `installed` or `failed`. Poll `getSiteWordPressUpload`. `503` if the installer is unreachable; the upload stays resumable and can be completed again.
53639
53639
  */
53640
53640
  post: operations["completeSiteWordPressUpload"];
53641
53641
  delete?: never;
@@ -59561,6 +59561,10 @@ export interface components {
59561
59561
  waste_min_cost_micros?: number;
59562
59562
  };
59563
59563
  AdminGoogleAdsUpdate: {
59564
+ /** @description za-300 — secondary UPLOAD_CLICKS action "Zinn® Ads trial converted" — the org's Zinn® Ads trial became a paid plan, once per org, valued at its first paid invoice net of tax (integer minor units + currency); withdrawn by a RETRACTION when that invoice is refunded. Blank = not sent yet. */
59565
+ ads_paid_conversion_action?: string;
59566
+ /** @description za-300 — PRIMARY UPLOAD_CLICKS action "Zinn® Ads trial started" (owner ruling 2026-11-03) — the org started the Zinn® Ads 14-day free trial, once per org, from our own data. A one-click proposal swaps it with the converted action at ~15 paid a month; never automatic. Blank = not sent yet. */
59567
+ ads_trial_conversion_action?: string;
59564
59568
  /** @description docs/1124 — secondary UPLOAD_CLICKS action "Zinn® Cloud first server built" (the Cloud trial funnel), once per org, from our own data. Blank = not sent yet. */
59565
59569
  cloud_deploy_conversion_action?: string;
59566
59570
  /** @description docs/1124 — secondary UPLOAD_CLICKS action "Zinn® Cloud first payment" (the Cloud trial funnel), once per org, from our own data. Blank = not sent yet. */
@@ -66297,13 +66301,25 @@ export interface components {
66297
66301
  };
66298
66302
  plan_code: string | null;
66299
66303
  plan_name: string | null;
66300
- /** @enum {string} */
66301
- source: "plan" | "staff" | "none";
66304
+ /**
66305
+ * @description `trial` = the tier comes from a live 14-day Zinn® Ads trial (za-295; `trial` says until when). A trial that ended unpaid reads `plan` on the Free plan with `trial_ended: true`.
66306
+ * @enum {string}
66307
+ */
66308
+ source: "plan" | "trial" | "staff" | "none";
66302
66309
  /**
66303
66310
  * Format: uuid
66304
66311
  * @description The subscription that names the tier, when this org holds it itself. Moving to another Zinn® Ads plan CHANGES this subscription pro rata (`changeSubscriptionPlan`); it is never bought again beside it. Null for a staff plan, a plan held by a parent organisation, or no plan.
66305
66312
  */
66306
66313
  subscription_id?: string | null;
66314
+ /** @description The live Zinn® Ads trial folded into this plan, or null. */
66315
+ trial?: {
66316
+ /** Format: date-time */
66317
+ ends_at: string;
66318
+ /** Format: uuid */
66319
+ id: string;
66320
+ } | null;
66321
+ /** @description The org's Zinn® Ads trial ended unpaid, so it runs on the Free plan's limits (nothing deleted; automatic changes wait for approval). Buying any plan restores everything. */
66322
+ trial_ended?: boolean;
66307
66323
  };
66308
66324
  /**
66309
66325
  * @description An advertising platform (docs/1006 §4.1).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1454",
3
+ "version": "0.1.1458",
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>",