@zinn-digital/sdk 0.1.1919 → 0.1.1921
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 +26 -3
- package/package.json +1 -1
|
@@ -48490,7 +48490,7 @@ export interface paths {
|
|
|
48490
48490
|
put?: never;
|
|
48491
48491
|
/**
|
|
48492
48492
|
* Connect or re-key your own payment gateway.
|
|
48493
|
-
* @description The credentials are checked against the provider with a real authenticated call before anything is stored, then written to Vault — never to a database row, a log line, an audit entry or an error message. With `validate_only` the check runs and nothing is stored, returning 200 **even when the credentials are rejected**, because that is the answer being asked for. Requires `reseller.manage`.
|
|
48493
|
+
* @description The credentials are checked against the provider with a real authenticated call before anything is stored, then written to Vault — never to a database row, a log line, an audit entry or an error message. With `validate_only` the check runs and nothing is stored, returning 200 **even when the credentials are rejected**, because that is the answer being asked for. During an unpaid reseller trial this is refused with a 422 (`refusal.reseller.paidPlanRequired`): taking your clients' money through your own gateway needs a paid reseller plan. Requires `reseller.manage`.
|
|
48494
48494
|
*/
|
|
48495
48495
|
post: operations["connectResellerGateway"];
|
|
48496
48496
|
/**
|
|
@@ -48714,7 +48714,7 @@ export interface paths {
|
|
|
48714
48714
|
put?: never;
|
|
48715
48715
|
/**
|
|
48716
48716
|
* Apply to resell Zinn® hosting to your own clients.
|
|
48717
|
-
* @description
|
|
48717
|
+
* @description Open sign-up: creates the programme and, in one transaction, activates it and starts the 14-day reseller trial (no card). An organization already paying for a reseller plan is activated with no trial. When the free-trial abuse check refuses the trial, nothing is activated: the programme stays `pending` for a person at Zinn® to review, and the answer is a 422 with `refusal.trial.alreadyUsedByYouOrCompany`. During an unpaid trial, wholesale pricing, your own payment gateway and client billing need a paid reseller plan. Idempotent — applying twice returns the existing programme with 200 rather than a second row. Requires `reseller.manage`.
|
|
48718
48718
|
*/
|
|
48719
48719
|
post: operations["applyForResellerProgram"];
|
|
48720
48720
|
delete?: never;
|
|
@@ -86283,6 +86283,11 @@ export interface components {
|
|
|
86283
86283
|
origin_served?: boolean | null;
|
|
86284
86284
|
/** @enum {string} */
|
|
86285
86285
|
ownership_mode: "registered" | "connected" | "transferring_in";
|
|
86286
|
+
/**
|
|
86287
|
+
* Format: uuid
|
|
86288
|
+
* @description The automatic renewal's still-unpaid order for the current period, or null. Set only when `renewal_blocker` is `no_payment_method`. "Renew now" pays this order, so a customer acting by hand never buys a second renewal of the same period.
|
|
86289
|
+
*/
|
|
86290
|
+
pending_renewal_order_id?: string | null;
|
|
86286
86291
|
privacy_enabled?: boolean;
|
|
86287
86292
|
/**
|
|
86288
86293
|
* @description The product line this domain was created on. **Not decoration** — it is what decides whether the shared fleet A/AAAA records are hidden from the customer (register #93), so the dashboard gates its record editor on it and **fails closed when it is absent**. Omitted for weeks, which meant a connected domain with no linked site could never resolve a line and the editor refused to offer A/AAAA at all — on exactly the customers who came to point a domain at their server.
|
|
@@ -86293,6 +86298,7 @@ export interface components {
|
|
|
86293
86298
|
registered_at?: string | null;
|
|
86294
86299
|
registrar_lock?: boolean;
|
|
86295
86300
|
renew_years: number;
|
|
86301
|
+
renewal_blocker?: components["schemas"]["DomainRenewalBlocker"];
|
|
86296
86302
|
/** @description The site this domain points at, if any. */
|
|
86297
86303
|
site_id?: components["schemas"]["Uuid"] | null;
|
|
86298
86304
|
/** @description True when the linked site really answers on this name (its primary domain or an alias). False for an unlinked domain, and for one whose move onto the site has not completed. */
|
|
@@ -86634,6 +86640,11 @@ export interface components {
|
|
|
86634
86640
|
data: components["schemas"]["Domain"][];
|
|
86635
86641
|
page: components["schemas"]["PageMeta"];
|
|
86636
86642
|
};
|
|
86643
|
+
/**
|
|
86644
|
+
* @description Why this domain will NOT renew at expiry with nobody acting, or `null` when it will. `auto_renew_off`: auto-renew is switched off. `not_in_good_standing`: auto-renew is on but the account is not in good standing, so the platform will not spend on it. `no_payment_method`: auto-renew is on and the account is in good standing, but there is no chargeable stored payment method (for example a customer who pays once at checkout) and wallet credit does not cover the renewal's taxed total (when it does, the domain renews from credit and reads `null`). A platform claim or a staff organisation renews at the platform's expense and reads `null`.
|
|
86645
|
+
* @enum {string|null}
|
|
86646
|
+
*/
|
|
86647
|
+
DomainRenewalBlocker: "auto_renew_off" | "not_in_good_standing" | "no_payment_method" | null;
|
|
86637
86648
|
DomainSearchRequest: {
|
|
86638
86649
|
/**
|
|
86639
86650
|
* @description A bare name (`acme`) checked across `tlds`, or a full FQDN (`acme.com`).
|
|
@@ -88632,7 +88643,7 @@ export interface components {
|
|
|
88632
88643
|
};
|
|
88633
88644
|
/** @description One domain whose term is running out, with everything the keep-or-drop decision needs. Every authority metric is nullable and `null` means **unmeasured**, which is not the same as zero. */
|
|
88634
88645
|
ExpiringDomain: {
|
|
88635
|
-
/** @description Whether doing nothing loses the domain. Derived from days remaining
|
|
88646
|
+
/** @description Whether doing nothing loses the domain. Derived from days remaining and `renewal_blocker` — never from days remaining alone. */
|
|
88636
88647
|
at_risk: boolean;
|
|
88637
88648
|
auto_renew: boolean;
|
|
88638
88649
|
citation_flow: number | null;
|
|
@@ -88662,6 +88673,7 @@ export interface components {
|
|
|
88662
88673
|
* @description One more year at today's catalogue price, in minor units. `null` where the catalogue cannot price the extension — never `0`, which would advertise a free renewal.
|
|
88663
88674
|
*/
|
|
88664
88675
|
renewal_amount_minor: number | null;
|
|
88676
|
+
renewal_blocker: components["schemas"]["DomainRenewalBlocker"];
|
|
88665
88677
|
renewal_currency: string | null;
|
|
88666
88678
|
route: components["schemas"]["RegistrationRouteKey"];
|
|
88667
88679
|
status: string;
|
|
@@ -105289,11 +105301,21 @@ export interface components {
|
|
|
105289
105301
|
id: components["schemas"]["Uuid"];
|
|
105290
105302
|
/** @description Your own issuing entity for invoices to your clients. */
|
|
105291
105303
|
legal_entity_id?: components["schemas"]["Uuid"] | null;
|
|
105304
|
+
/**
|
|
105305
|
+
* @description Why a `pending` applicant was not made a reseller at once, so the screen can name the step to take (for example, confirm your e-mail address). `null` unless the status is `pending`.
|
|
105306
|
+
* @enum {string|null}
|
|
105307
|
+
*/
|
|
105308
|
+
pending_reason?: "not_top_level" | "org_inactive" | "email_unverified" | null;
|
|
105292
105309
|
/**
|
|
105293
105310
|
* @description Set by Zinn®, never by the reseller. `pending` can price but not sell.
|
|
105294
105311
|
* @enum {string}
|
|
105295
105312
|
*/
|
|
105296
105313
|
status: "pending" | "active" | "suspended";
|
|
105314
|
+
/**
|
|
105315
|
+
* Format: date-time
|
|
105316
|
+
* @description When this reseller's card-free 14-day trial ends (open sign-up, owner 2026-11-18). `null` when the org never had a reseller trial.
|
|
105317
|
+
*/
|
|
105318
|
+
trial_ends_at?: string | null;
|
|
105297
105319
|
};
|
|
105298
105320
|
ResellerProgramUpdate: {
|
|
105299
105321
|
billing_day?: number;
|
|
@@ -203649,6 +203671,7 @@ export interface operations {
|
|
|
203649
203671
|
};
|
|
203650
203672
|
401: components["responses"]["Unauthorized"];
|
|
203651
203673
|
403: components["responses"]["Forbidden"];
|
|
203674
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
203652
203675
|
429: components["responses"]["TooManyRequests"];
|
|
203653
203676
|
};
|
|
203654
203677
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1921",
|
|
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>",
|