@zinn-digital/sdk 0.1.1870 → 0.1.1874

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.
@@ -10287,11 +10287,16 @@ export interface paths {
10287
10287
  get?: never;
10288
10288
  put?: never;
10289
10289
  /**
10290
- * Claim a fix-queue item, mark it fixed (known fix first), or ask the owner.
10290
+ * Claim a fix-queue item, mark it fixed, ask the owner, or close it as a duplicate.
10291
10291
  * @description docs/1001 §6a. `claim` takes an open item; `fixed` needs the known fix recorded for a
10292
10292
  * log-review item (`recordKnownFix`), or a note naming the fix for a ticket item;
10293
- * `needs_owner` needs the question in `note`. Audited (`ops.fix_queue.moved`). Staff only
10294
- * (`ops.deploys.read`).
10293
+ * `needs_owner` needs the question in `note`; `duplicate` needs `duplicate_of`, the id of
10294
+ * the item that stays: a different item that is still open and has the same source and the
10295
+ * same ticket. The moved item closes as `duplicate`; the named item is not changed. A
10296
+ * missing, unknown, closed or foreign `duplicate_of` is a 422 that changes nothing. Nothing
10297
+ * is sent to a customer. Audited (`ops.fix_queue.moved`, naming both ids). Staff only
10298
+ * (`fleet.manage`, the fixer's write key: a move changes the queue, so the read key
10299
+ * `ops.deploys.read` that lists it is refused with 403).
10295
10300
  */
10296
10301
  post: operations["moveFixQueueItem"];
10297
10302
  delete?: never;
@@ -103001,6 +103006,8 @@ export interface components {
103001
103006
  PublicChatMessageCreate: {
103002
103007
  /** @description First message only: the `zinn_attr` cookie (`k=v&k=v`) or the page's query string. Only allow-listed campaign keys are kept (the utm_ keys, gclid, ...); shown to staff only. */
103003
103008
  attr?: string;
103009
+ /** @description Optional ISO-4217 code of the currency the page shows the visitor (its currency switcher, else the measured country). Our own sites' chat quotes prices in it; omitted or malformed, the locale's default currency is used. Every message may carry it, so a switch mid-chat is followed. A display hint, never a charge. */
103010
+ currency?: string;
103004
103011
  email?: string;
103005
103012
  locale?: string;
103006
103013
  message: string;
@@ -138480,7 +138487,12 @@ export interface operations {
138480
138487
  content: {
138481
138488
  "application/json": {
138482
138489
  /** @enum {string} */
138483
- action: "claim" | "fixed" | "needs_owner";
138490
+ action: "claim" | "fixed" | "needs_owner" | "duplicate";
138491
+ /**
138492
+ * Format: uuid
138493
+ * @description Required when `action` is `duplicate`; the open item that stays.
138494
+ */
138495
+ duplicate_of?: string | null;
138484
138496
  note?: string;
138485
138497
  };
138486
138498
  };
@@ -138498,6 +138510,19 @@ export interface operations {
138498
138510
  401: components["responses"]["Unauthorized"];
138499
138511
  403: components["responses"]["Forbidden"];
138500
138512
  404: components["responses"]["NotFound"];
138513
+ /**
138514
+ * @description The row's current state refuses the move (`refusal.fixQueue.wrongState`: it
138515
+ * already moved; `refusal.fixQueue.duplicateOfClosed`: the named survivor closed),
138516
+ * e.g. lost to a concurrent move. Re-read the queue and retry. Rows are unchanged.
138517
+ */
138518
+ 409: {
138519
+ headers: {
138520
+ [name: string]: unknown;
138521
+ };
138522
+ content: {
138523
+ "application/json": components["schemas"]["Error"];
138524
+ };
138525
+ };
138501
138526
  422: components["responses"]["UnprocessableEntity"];
138502
138527
  };
138503
138528
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1870",
3
+ "version": "0.1.1874",
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>",