@zinn-digital/sdk 0.1.1705 → 0.1.1708

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.
@@ -143125,7 +143125,7 @@ export interface operations {
143125
143125
  priority?: components["schemas"]["TicketPriority"];
143126
143126
  /** @description Only plugin-support tickets for this product (ADR 0035). */
143127
143127
  product?: components["schemas"]["PluginSupportProduct"];
143128
- /** @description Free-text over the ticket **subject** only. Deliberately not over message bodies — a staff search must not become a way to grep every tenant's thread contents. */
143128
+ /** @description Free-text over the ticket **subject** only: the staff subject and, on a thread we opened in the customer's language, the customer's translation of it (`subject_customer`), so a customer quoting their own subject is found. Deliberately not over message bodies — a staff search must not become a way to grep every tenant's thread contents. */
143129
143129
  q?: string;
143130
143130
  /** @description Only tickets in this lifecycle state. `active` means everything still waiting on someone (`open` + `pending`) and is the staff queue's default, so a pending chat-made or plugin-support ticket is never hidden (s1014 L39). */
143131
143131
  status?: "open" | "pending" | "solved" | "closed" | "active";
@@ -165619,7 +165619,7 @@ export interface operations {
165619
165619
  401: components["responses"]["Unauthorized"];
165620
165620
  403: components["responses"]["Forbidden"];
165621
165621
  404: components["responses"]["NotFound"];
165622
- /** @description A domain's availability token was stale, taken or expired — or an aged domain could not be HELD (s1014): no fresh live supplier check (ask `checkAgedDomain`, then retry), another customer's open order holds it, it has just sold, or the shop is paused. Or (`error.code` `DOMAIN_ALREADY_ORDERED`, s1014 DOMAINWALK) a `domain_register` line names a domain this organisation already holds or is already buying — a second press of Register is refused here, serialised per name, so one name is never ordered and paid for twice. Nothing was placed and nothing was charged; the message is a keyed refusal (`refusal.agedDomains.*`). */
165622
+ /** @description A domain's availability token was stale, taken or expired — or an aged domain could not be HELD (s1014): no fresh live supplier check (ask `checkAgedDomain`, then retry), another customer's open order holds it, it has just sold, or the shop is paused. Or (`error.code` `DOMAIN_ALREADY_ORDERED`, s1014 DOMAINWALK) a `domain_register` line names a domain this organisation already holds or is already buying — a second press of Register is refused here, serialised per name, so one name is never ordered and paid for twice. Or (`error.details[0].code` `COUPON_WITHDRAWN`, docs/1311) a replayed checkout resumed an unpaid order whose coupon claim had lapsed and could not be re-taken: the code was removed and the order repriced to the full total, which the keyed message (`refusal.commerce.couponWithdrawn`) states. Nothing was placed and nothing was charged; the message is a keyed refusal (`refusal.agedDomains.*`). */
165623
165623
  409: {
165624
165624
  headers: {
165625
165625
  [name: string]: unknown;
@@ -186696,6 +186696,15 @@ export interface operations {
186696
186696
  401: components["responses"]["Unauthorized"];
186697
186697
  403: components["responses"]["Forbidden"];
186698
186698
  404: components["responses"]["NotFound"];
186699
+ /** @description `error.details[0].code` `COUPON_WITHDRAWN` (docs/1311): the order's coupon claim had lapsed while it sat unpaid and the code can no longer be used (its cap was reached, or this customer has used it since), so the code was removed and the order repriced to the full total, tax re-rated. Nothing was charged; the keyed message (`refusal.commerce.couponWithdrawn`) states the new total, and paying again pays it. */
186700
+ 409: {
186701
+ headers: {
186702
+ [name: string]: unknown;
186703
+ };
186704
+ content: {
186705
+ "application/json": components["schemas"]["Error"];
186706
+ };
186707
+ };
186699
186708
  /** @description The order is in a state that cannot be paid (canceled, refunding, draft), or `gateway` names a rail this order may not be settled on, or the card's share is under the gateway's smallest charge and account credit cannot cover the whole order (docs/31 §4.4), or the gateway answered and refused the charge. Nothing was charged and any account credit drawn was given back. */
186700
186709
  422: {
186701
186710
  headers: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1705",
3
+ "version": "0.1.1708",
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>",