@zinn-digital/sdk 0.1.1795 → 0.1.1797
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 +14 -3
- package/package.json +1 -1
|
@@ -10500,7 +10500,7 @@ export interface paths {
|
|
|
10500
10500
|
put?: never;
|
|
10501
10501
|
/**
|
|
10502
10502
|
* Re-drive one held order line now (staff).
|
|
10503
|
-
* @description Owner ruling 2026-11-10 (MASTER 1110#6): a line that could not be delivered is HELD, never auto-refunded; dev is alerted and the line retries itself on a backoff. Once the cause is fixed, staff press Retry: a ladder waiting on its next timer is stopped and the line's fulfilment runs at once; delivery settles the order and tells the customer. 404 when the line is not on this order, 409 when it is not held, 503 when the workflow could not be started. Audit-logged (`commerce.held_line.retried`). Requires staff + `billing.refund`.
|
|
10503
|
+
* @description Owner ruling 2026-11-10 (MASTER 1110#6): a line that could not be delivered is HELD, never auto-refunded; dev is alerted and the line retries itself on a backoff. Once the cause is fixed, staff press Retry: a ladder waiting on its next timer is stopped and the line's fulfilment runs at once; delivery settles the order and tells the customer. 404 when the line is not on this order, 409 when it is not held, 503 when the workflow could not be started. Audit-logged (`commerce.held_line.retried`). Requires staff + `billing.refund`. FULFILHOLD1114: on a held `domain_transfer` line the body may carry `nameservers` (2 to 13 hostnames, read from the registry WHOIS, never guessed). They are written to the transferring domain first (audited `commerce.held_line.nameservers_set`), so the retried transfer sends them instead of reading the current delegation, which fails for a TLD with no RDAP whose zone does not answer NS. 422 for a bad list or for `nameservers` on any other line kind; 409 when no single domain record matches the line.
|
|
10504
10504
|
*/
|
|
10505
10505
|
post: operations["retryAdminHeldOrderLine"];
|
|
10506
10506
|
delete?: never;
|
|
@@ -37700,6 +37700,8 @@ export interface paths {
|
|
|
37700
37700
|
* @description Re-enters the provisioning workflow for a service in `failed`. Setting email up is a multi-step operation against two backends — the mail account and the domain's DNS zone — and a failure part-way leaves a service that is real, may already hold a paid mailbox package, and is not usable. The automatic sweep cannot recover it: that re-drives services still `pending`, never one that failed after that point, so before this endpoint the only options were to look at the failure or delete the service.
|
|
37701
37701
|
*
|
|
37702
37702
|
* Safe to call twice. The provisioning workflow id is derived from the service id so a duplicate start converges on the run already going, the mail-account step is an ensure, and the DNS step is a convergent write. Calling it on a service that is already `pending` or `provisioning` is answered with its current state rather than an error — the caller asked for the state it is already in. Any other status is `409`. Requires `mail.manage`.
|
|
37703
|
+
*
|
|
37704
|
+
* A `zinn` service under a white-label entitlement with no reseller mail hostnames is `422` with the same sentence the records list gives: setting it up again would hand out our hostnames, so the refusal is identically true on every call and the caller shows the reason rather than offering another retry.
|
|
37703
37705
|
*/
|
|
37704
37706
|
post: operations["retryMailService"];
|
|
37705
37707
|
delete?: never;
|
|
@@ -98138,7 +98140,7 @@ export interface components {
|
|
|
98138
98140
|
return_url: string;
|
|
98139
98141
|
};
|
|
98140
98142
|
PartnerEvent: {
|
|
98141
|
-
/** @description For `order.*`: `order_id`, `human_ref`, `status`, `previous_status`, `currency`, `total_minor`. For `domain.*`: `domain_id`, `fqdn`, `status`, and where known `previous_status`, `expires_at`, `nameservers` — except `domain.registrant_email_flagged` and `domain.registrant_email_confirmed`, which carry `registrant_email`, `deadline_at`, `suspended`, `domain_count` and `domains` (see `reportPartnerRegistrantEmailReminder`). */
|
|
98143
|
+
/** @description For `order.*`: `order_id`, `human_ref`, `status`, `previous_status`, `currency`, `total_minor`, `reason` and `reason_code`. On `order.partially_fulfilled`, `reason` is a sentence safe to show the customer and `reason_code` its type (`delegation_unknown`, `registrant_local_presence`, `transfer_rejected`, `transfer_auth_code`, or `delivery_failed`); both are "" when there is none. For `domain.*`: `domain_id`, `fqdn`, `status`, and where known `previous_status`, `expires_at`, `nameservers` — except `domain.registrant_email_flagged` and `domain.registrant_email_confirmed`, which carry `registrant_email`, `deadline_at`, `suspended`, `domain_count` and `domains` (see `reportPartnerRegistrantEmailReminder`). */
|
|
98142
98144
|
data: {
|
|
98143
98145
|
[key: string]: unknown;
|
|
98144
98146
|
};
|
|
@@ -137915,7 +137917,14 @@ export interface operations {
|
|
|
137915
137917
|
};
|
|
137916
137918
|
cookie?: never;
|
|
137917
137919
|
};
|
|
137918
|
-
requestBody?:
|
|
137920
|
+
requestBody?: {
|
|
137921
|
+
content: {
|
|
137922
|
+
"application/json": {
|
|
137923
|
+
/** @description Only on a held domain transfer line: the nameservers the transfer must send. */
|
|
137924
|
+
nameservers?: string[];
|
|
137925
|
+
};
|
|
137926
|
+
};
|
|
137927
|
+
};
|
|
137919
137928
|
responses: {
|
|
137920
137929
|
/** @description The re-drive started. */
|
|
137921
137930
|
202: {
|
|
@@ -137934,6 +137943,7 @@ export interface operations {
|
|
|
137934
137943
|
403: components["responses"]["Forbidden"];
|
|
137935
137944
|
404: components["responses"]["NotFound"];
|
|
137936
137945
|
409: components["responses"]["Conflict"];
|
|
137946
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
137937
137947
|
429: components["responses"]["TooManyRequests"];
|
|
137938
137948
|
503: components["responses"]["ServiceUnavailable"];
|
|
137939
137949
|
};
|
|
@@ -184412,6 +184422,7 @@ export interface operations {
|
|
|
184412
184422
|
};
|
|
184413
184423
|
content?: never;
|
|
184414
184424
|
};
|
|
184425
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
184415
184426
|
};
|
|
184416
184427
|
};
|
|
184417
184428
|
getPublicMarketplaceListing: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1797",
|
|
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>",
|