@zinn-digital/sdk 0.1.1736 → 0.1.1739

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.
@@ -7121,6 +7121,8 @@ export interface paths {
7121
7121
  * `source_hash` is stamped from the string's **current** hash, so a later edit to the English source marks this stale exactly as it would a machine translation. A hand translation of superseded copy going stale is correct: the alternative is a legal clause frozen in 57 languages against wording nobody has read.
7122
7122
  *
7123
7123
  * Requires staff + `translations.human_translate` — its own permission, not `translations.retranslate`. That one spends LLM budget; this one decides what 57 locales render, with no model and no review between the operator and the page.
7124
+ *
7125
+ * On our own surfaces a Simplified Chinese row (`zh`, `zh_CN`, `zh-SG`, `zh-Hans`) is stored with 帐户/帐号 written 账户/账号, the same rule as the translation store and the repository hand-back (docs/28, ZHDASH). Seller and customer copy (`listing_copy`, `site_content`) and Traditional locales keep the text as typed.
7124
7126
  */
7125
7127
  post: operations["submitHumanTranslation"];
7126
7128
  delete?: never;
@@ -18293,7 +18295,7 @@ export interface paths {
18293
18295
  put?: never;
18294
18296
  /**
18295
18297
  * Run the connection's audit now (a Temporal workflow).
18296
- * @description Gated on `ads.manage`; audit action `ads.audit_run`. Starts the same per-connection workflow the daily fan-out runs; twice in one minute is one run. Every change it finds is sent through the approve-first queue (nothing is applied unless that class is `auto`). `503` when the workflow could not be started. A connection on a network the audit does not cover (Google, Microsoft and X are covered) is a `422` `refusal.adsconnect.auditNotOnNetwork` (FIX13).
18298
+ * @description Gated on `ads.manage`; audit action `ads.audit_run`. Starts the same per-connection workflow the daily fan-out runs; twice in one minute is one run. Every change it finds is sent through the approve-first queue (nothing is applied unless that class is `auto`). `503` when the workflow could not be started. The networks covered are exactly the daily audit's (`ads_networks.audited()`: Google, Microsoft, X, Amazon and ChatGPT, AMZAUDITNOW); a connection on a network the audit does not cover is a `422` `refusal.adsconnect.auditNotOnNetwork` (FIX13).
18297
18299
  */
18298
18300
  post: operations["runAdsConnectionAudit"];
18299
18301
  delete?: never;
@@ -65403,6 +65405,8 @@ export interface components {
65403
65405
  * @example ar
65404
65406
  */
65405
65407
  reply_locale: string;
65408
+ /** @description The Server Care badge (SERVERCARE-r6). The ticket's site leads to its server through the site's host (its own `compute_server_id`, else the compute machine behind its Plesk panel connection). `null` when that server is self-managed or the site is not on a compute machine. */
65409
+ server_care: components["schemas"]["TicketServerCare"] | null;
65406
65410
  /** @description Language of each message's `staff_translation` (docs/1067 §5a). */
65407
65411
  staff_locale?: string;
65408
65412
  /**
@@ -114956,6 +114960,17 @@ export interface components {
114956
114960
  TicketReplyCreate: {
114957
114961
  body: string;
114958
114962
  };
114963
+ /** @description The managed-care state of the server behind a ticket's site (SERVERCARE-r6). */
114964
+ TicketServerCare: {
114965
+ /**
114966
+ * @description `zinn_managed`: we owe this customer server work. `zinn_managed_paused`: care is live but the account is not in good standing, so it resumes by itself when they pay.
114967
+ * @enum {string}
114968
+ */
114969
+ mode: "zinn_managed" | "zinn_managed_paused";
114970
+ /** Format: uuid */
114971
+ server_id: string;
114972
+ server_label: string;
114973
+ };
114959
114974
  /**
114960
114975
  * @description Where a ticket sits in its lifecycle. `open` = waiting on us; `pending` = waiting on the customer; `solved` = we believe it is resolved and a customer reply reopens it; `closed` = terminal until staff reopen it.
114961
114976
  * @enum {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1736",
3
+ "version": "0.1.1739",
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>",