@zinn-digital/sdk 0.1.1875 → 0.1.1878
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.
|
@@ -10293,7 +10293,8 @@ export interface paths {
|
|
|
10293
10293
|
* `needs_owner` needs the question in `note`; `duplicate` needs `duplicate_of`, the id of
|
|
10294
10294
|
* the item that stays: a different item that is still open and has the same source and the
|
|
10295
10295
|
* same ticket. The moved item closes as `duplicate`; the named item is not changed. A
|
|
10296
|
-
* missing, unknown
|
|
10296
|
+
* missing, unknown or foreign `duplicate_of` is a 422 that changes nothing; a closed
|
|
10297
|
+
* `duplicate_of`, or an item that already moved, is a 409 (re-read and retry). Nothing
|
|
10297
10298
|
* is sent to a customer. Audited (`ops.fix_queue.moved`, naming both ids). Staff only
|
|
10298
10299
|
* (`fleet.manage`, the fixer's write key: a move changes the queue, so the read key
|
|
10299
10300
|
* `ops.deploys.read` that lists it is refused with 403).
|
|
@@ -10352,7 +10353,7 @@ export interface paths {
|
|
|
10352
10353
|
* review digest (`#/digests`, kind `log_review`). A `fixed` signature that appears again
|
|
10353
10354
|
* after this moment is reported as RECURRED — an alarm at the top of the next review; a
|
|
10354
10355
|
* `noise` signature is skipped with no model call. Audited (`ops.known_fix.recorded`).
|
|
10355
|
-
*
|
|
10356
|
+
* A write: staff with `fleet.manage` only (a reader with `ops.deploys.read` alone gets 403).
|
|
10356
10357
|
*/
|
|
10357
10358
|
post: operations["recordKnownFix"];
|
|
10358
10359
|
delete?: never;
|
|
@@ -10379,8 +10380,8 @@ export interface paths {
|
|
|
10379
10380
|
* @description docs/961 §2. An error signature in the morning log review whose every line falls inside
|
|
10380
10381
|
* a recorded window (plus 15 minutes' grace) is listed under DURING PLANNED WORK with no
|
|
10381
10382
|
* model call, instead of NEEDS DEVELOPER. A window is at most 12 hours: it records an
|
|
10382
|
-
* event, never a standing exemption. Audited (`ops.planned_work.recorded`).
|
|
10383
|
-
* (`ops.deploys.read
|
|
10383
|
+
* event, never a standing exemption. Audited (`ops.planned_work.recorded`). A write:
|
|
10384
|
+
* staff with `fleet.manage` only (listing stays `ops.deploys.read`; a reader gets 403 here).
|
|
10384
10385
|
*/
|
|
10385
10386
|
post: operations["recordPlannedWork"];
|
|
10386
10387
|
delete?: never;
|
|
@@ -28361,7 +28362,7 @@ export interface paths {
|
|
|
28361
28362
|
put?: never;
|
|
28362
28363
|
/**
|
|
28363
28364
|
* Add a line to a cart.
|
|
28364
|
-
* @description Adds a priced line. A `hosting_plan` line needs a `plan_version_id`; a `domain_register`/`domain_transfer`/`domain_renew` line needs a `domain_name`, `tld` and `period_years`. The line shape and price are validated + stamped by the server; a bad shape (or a plan version with no price) is a `422`. A hosting-plan line whose site allowance does not all fit on the servers today is still added and carries `capacity_notice` (P6b-002); only when the platform refuses plans larger than everything it can hold is it a `422` with error code `CAPACITY_UNAVAILABLE` (`details[0].sites_wanted`, `details[0].sites_possible`).
|
|
28365
|
+
* @description Adds a priced line. A `hosting_plan` line needs a `plan_version_id`; a `domain_register`/`domain_transfer`/`domain_renew` line needs a `domain_name`, `tld` and `period_years`. The line shape and price are validated + stamped by the server; a bad shape (or a plan version with no price) is a `422`. A hosting-plan line whose site allowance does not all fit on the servers today is still added and carries `capacity_notice` (P6b-002); only when the platform refuses plans larger than everything it can hold is it a `422` with error code `CAPACITY_UNAVAILABLE` (`details[0].sites_wanted`, `details[0].sites_possible`). A `domain_transfer` line that would be free under the transfer offer is also a `422` when a guard on the offer refuses it; `error.code` is one of `EMAIL_NOT_VERIFIED`, `NOT_IN_GOOD_STANDING`, `PREMIUM_NAME`, `CHECK_FAILED` or `FREE_TRANSFER_LIMIT`, and `error.refusal.key` (`refusal.freeTransfer.*`) is the sentence to show in the reader's language. Nothing is added to the cart by a refused call.
|
|
28365
28366
|
*/
|
|
28366
28367
|
post: operations["addCartLine"];
|
|
28367
28368
|
delete?: never;
|
|
@@ -42877,7 +42878,7 @@ export interface paths {
|
|
|
42877
42878
|
put?: never;
|
|
42878
42879
|
/**
|
|
42879
42880
|
* Place a domain order for one of your customers, unpaid.
|
|
42880
|
-
* @description Prices every line from our catalogue, re-verifies every availability token and places the order `pending_payment`. A line may be a registration or, with `kind: domain_transfer` and the `auth_code`, a transfer-in of a name held at another registrar — checked and priced exactly as `POST /v1/domains/transfer/preflight` quotes it, and refused with that check's reason when it is not eligible. ⛔ Nothing is charged here and no payment method is touched: the customer pays on the hosted page named by `pay_url`, and their browser is sent back to `return_url` (or `cancel_url`) with only `?order=<human_ref>&status=paid` (or `cancelled`) appended. Both URLs must be `https` on a host allowlisted for your programme, matched exactly — anything else is a `422` and no order is placed. `pay_url` carries a secret that is stored nowhere and shown only in this response; it lives 24 hours. `Idempotency-Key` is **required** — a retry returns the same order with a fresh `pay_url` rather than buying the name twice. Requires `partner.domains`.
|
|
42881
|
+
* @description Prices every line from our catalogue, re-verifies every availability token and places the order `pending_payment`. A line may be a registration or, with `kind: domain_transfer` and the `auth_code`, a transfer-in of a name held at another registrar — checked and priced exactly as `POST /v1/domains/transfer/preflight` quotes it, and refused with that check's reason when it is not eligible. A free transfer-in that a guard on the offer refuses is a `422` whose message is `"<fqdn>: <reason>"` and whose `details` carry `{field: "fqdn", code, message}` with code `PREMIUM_NAME` (a premium-priced name is never transferred free), `CHECK_FAILED` (try again shortly) or `FREE_TRANSFER_LIMIT` (the daily bound on free transfers, per order, per customer and across your programme); `NOT_IN_GOOD_STANDING` is returned only when that check is switched on for partner orders (off by default). No order is placed. ⛔ Nothing is charged here and no payment method is touched: the customer pays on the hosted page named by `pay_url`, and their browser is sent back to `return_url` (or `cancel_url`) with only `?order=<human_ref>&status=paid` (or `cancelled`) appended. Both URLs must be `https` on a host allowlisted for your programme, matched exactly — anything else is a `422` and no order is placed. `pay_url` carries a secret that is stored nowhere and shown only in this response; it lives 24 hours. `Idempotency-Key` is **required** — a retry returns the same order with a fresh `pay_url` rather than buying the name twice. Requires `partner.domains`.
|
|
42881
42882
|
*/
|
|
42882
42883
|
post: operations["createPartnerDomainOrder"];
|
|
42883
42884
|
delete?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1878",
|
|
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>",
|