@zinn-digital/sdk 0.1.1869 → 0.1.1873
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.
- package/dist/generated/schema.d.ts +28 -5
- package/package.json +1 -1
|
@@ -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
|
|
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
|
|
10294
|
-
*
|
|
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;
|
|
@@ -33355,7 +33360,7 @@ export interface paths {
|
|
|
33355
33360
|
};
|
|
33356
33361
|
/**
|
|
33357
33362
|
* Get a domain.
|
|
33358
|
-
* @description Returns one domain the caller can view. RBAC + RLS scoped.
|
|
33363
|
+
* @description Returns one domain the caller can view. RBAC + RLS scoped. Opening a domain whose status is `transferring_in` also asks the registrar for the transfer's status now (at most once a minute per domain, audited as `domain.transfer_poll_requested`; best effort, sent after this response is produced, so it never changes or delays it).
|
|
33359
33364
|
*/
|
|
33360
33365
|
get: operations["getDomain"];
|
|
33361
33366
|
put?: never;
|
|
@@ -138480,7 +138485,12 @@ export interface operations {
|
|
|
138480
138485
|
content: {
|
|
138481
138486
|
"application/json": {
|
|
138482
138487
|
/** @enum {string} */
|
|
138483
|
-
action: "claim" | "fixed" | "needs_owner";
|
|
138488
|
+
action: "claim" | "fixed" | "needs_owner" | "duplicate";
|
|
138489
|
+
/**
|
|
138490
|
+
* Format: uuid
|
|
138491
|
+
* @description Required when `action` is `duplicate`; the open item that stays.
|
|
138492
|
+
*/
|
|
138493
|
+
duplicate_of?: string | null;
|
|
138484
138494
|
note?: string;
|
|
138485
138495
|
};
|
|
138486
138496
|
};
|
|
@@ -138498,6 +138508,19 @@ export interface operations {
|
|
|
138498
138508
|
401: components["responses"]["Unauthorized"];
|
|
138499
138509
|
403: components["responses"]["Forbidden"];
|
|
138500
138510
|
404: components["responses"]["NotFound"];
|
|
138511
|
+
/**
|
|
138512
|
+
* @description The row's current state refuses the move (`refusal.fixQueue.wrongState`: it
|
|
138513
|
+
* already moved; `refusal.fixQueue.duplicateOfClosed`: the named survivor closed),
|
|
138514
|
+
* e.g. lost to a concurrent move. Re-read the queue and retry. Rows are unchanged.
|
|
138515
|
+
*/
|
|
138516
|
+
409: {
|
|
138517
|
+
headers: {
|
|
138518
|
+
[name: string]: unknown;
|
|
138519
|
+
};
|
|
138520
|
+
content: {
|
|
138521
|
+
"application/json": components["schemas"]["Error"];
|
|
138522
|
+
};
|
|
138523
|
+
};
|
|
138501
138524
|
422: components["responses"]["UnprocessableEntity"];
|
|
138502
138525
|
};
|
|
138503
138526
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1873",
|
|
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>",
|