@zinn-digital/sdk 0.1.1900 → 0.1.1904
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.
|
@@ -43520,7 +43520,7 @@ export interface paths {
|
|
|
43520
43520
|
};
|
|
43521
43521
|
/**
|
|
43522
43522
|
* Poll what happened to your customers' orders and domains.
|
|
43523
|
-
* @description Oldest first by the time each event was written, strictly after `after` (the `next_cursor` of your previous page; omit it to start from the beginning). Event ids are NOT time-ordered, so never compare them yourself: the cursor is the only position. An `after` that is not an event this feed served you is a `422`. Only customers whose link is `active` are included; order events cover only orders you placed; domain events cover every domain in a linked organization. Events are released 30 seconds after they are written so a slow transaction cannot land behind your cursor — delivery is at least once, so de-duplicate on `id`. A page can be shorter than `limit` and still have `has_more: true`. Webhooks ARE offered — see `/v1/partner/webhooks` — and this feed remains the authoritative catch-up behind them. Requires `partner.domains`.
|
|
43523
|
+
* @description Oldest first by the time each event was written, strictly after `after` (the `next_cursor` of your previous page; omit it to start from the beginning). Event ids are NOT time-ordered, so never compare them yourself: the cursor is the only position. An `after` that is not an event this feed served you is a `422`. Only customers whose link is `active` are included; order events cover only orders you placed; domain events cover every domain in a linked organization. Events are released 30 seconds after they are written so a slow transaction cannot land behind your cursor — delivery is at least once, so de-duplicate on `id`. A type added to this feed is served only from the moment it joined: older events of that type are never returned (`domain.transferred_in`, `domain.transfer_failed`, `partner.domain_transfer_failed` from 2026-11-18T16:00Z). A page can be shorter than `limit` and still have `has_more: true`. Webhooks ARE offered — see `/v1/partner/webhooks` — and this feed remains the authoritative catch-up behind them. Requires `partner.domains`.
|
|
43524
43524
|
*/
|
|
43525
43525
|
get: operations["listPartnerEvents"];
|
|
43526
43526
|
put?: never;
|
|
@@ -99052,7 +99052,7 @@ export interface components {
|
|
|
99052
99052
|
return_url: string;
|
|
99053
99053
|
};
|
|
99054
99054
|
PartnerEvent: {
|
|
99055
|
-
/** @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`, `transfer_pending`, 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`). */
|
|
99055
|
+
/** @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`, `transfer_pending`, or `delivery_failed`); both are "" when there is none. For `partner.domain_*` (`partner.domain_registered`, `partner.domain_registration_failed`, `partner.domain_transferred_in`, `partner.domain_transfer_failed`): also `external_id` and `order_id` — the id of the order YOU placed for that domain, or `null` when the domain has none (or it was not placed through your API). 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`). */
|
|
99056
99056
|
data: {
|
|
99057
99057
|
[key: string]: unknown;
|
|
99058
99058
|
};
|
|
@@ -99065,7 +99065,7 @@ export interface components {
|
|
|
99065
99065
|
id: string;
|
|
99066
99066
|
/** Format: date-time */
|
|
99067
99067
|
occurred_at: string;
|
|
99068
|
-
/** @description An `order.*` (`placed`, `paid`, `payment_failed`, `fulfilled`, `partially_fulfilled`, `canceled`, `refunded`) or `domain.*` (`registered`, `registration_failed`, `nameservers_changed`, `expiring`, `expired`, `renewed`, `entered_redemption`, `restored`, `suspended`, `transferred_out`, `deleted`) event. */
|
|
99068
|
+
/** @description An `order.*` (`placed`, `paid`, `payment_failed`, `fulfilled`, `partially_fulfilled`, `canceled`, `refunded`) or `domain.*` (`registered`, `registration_failed`, `nameservers_changed`, `expiring`, `expired`, `renewed`, `entered_redemption`, `restored`, `suspended`, `transferred_out`, `deleted`, `transferred_in`, `transfer_failed`) event. */
|
|
99069
99069
|
type: string;
|
|
99070
99070
|
};
|
|
99071
99071
|
PartnerEventPage: {
|
|
@@ -118590,7 +118590,7 @@ export interface components {
|
|
|
118590
118590
|
fqdn: string;
|
|
118591
118591
|
/** @description Whether the registry adds a year to the term when the transfer completes. ⛔ `null` means **unknown, not "no"** — true for every gTLD under ICANN's transfer policy, but country registries differ and we hold no source for most of them. Show the "+1 year" line only on `true`. */
|
|
118592
118592
|
grants_year: boolean | null;
|
|
118593
|
-
/** @description Why this name cannot be transferred. `TLD_NOT_OFFERED` — we do not sell that extension, or the name is not registrable (a sub-domain). `NOT_REGISTERED` — the name is available, so it is a registration, not a transfer. `CHECK_FAILED` — the registrar could not be asked, so the answer is "try again", **not** "you can buy it instead"; those are different facts and the customer's next action differs. `ALREADY_ON_PLATFORM` — this organisation already holds it. `NOT_PRICED` — we sell the TLD but hold no transfer price in this currency. Read from the registry's own record (RDAP), before payment (P6d-017): `LOCKED` — a client or server transfer lock is on; unlock it at the current registrar and check again. `TOO_NEW` — registered under 60 days ago, and `RECENTLY_TRANSFERRED` — transferred under 60 days ago; both carry `eligible_from`. `REDEMPTION` — in redemption or pending delete; the current registrar must restore it first. */
|
|
118593
|
+
/** @description Why this name cannot be transferred. `TLD_NOT_OFFERED` — we do not sell that extension, or the name is not registrable (a sub-domain). `NOT_REGISTERED` — the name is available, so it is a registration, not a transfer. `CHECK_FAILED` — the registrar could not be asked, so the answer is "try again", **not** "you can buy it instead"; those are different facts and the customer's next action differs. `ALREADY_ON_PLATFORM` — this organisation already holds it. `NOT_PRICED` — we sell the TLD but hold no transfer price in this currency. Read from the registry's own record (RDAP), before payment (P6d-017): `LOCKED` — a client or server transfer lock is on; unlock it at the current registrar and check again. `TOO_NEW` — registered under 60 days ago, and `RECENTLY_TRANSFERRED` — transferred under 60 days ago; both carry `eligible_from`. `REDEMPTION` — in redemption or pending delete; the current registrar must restore it first. `PREMIUM_NAME` — the registrar prices this name at a registry premium (P6d-003); the cart refuses it on add with the same code, so it is refused here before anybody pays. */
|
|
118594
118594
|
reason: string | null;
|
|
118595
118595
|
/** @description Whether the registry's own record (RDAP) was read for this name. `false` on an eligible row means nothing we could see blocks it but the lock state could not be read (some country registries publish no RDAP): show "could not check the lock", never a plain "ready". `null` where the check was not reached (the row was refused earlier). */
|
|
118596
118596
|
registry_checked?: boolean | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1904",
|
|
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>",
|