@zinn-digital/sdk 0.1.1583 → 0.1.1584
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.
|
@@ -77512,6 +77512,12 @@ export interface components {
|
|
|
77512
77512
|
* @example paypal
|
|
77513
77513
|
*/
|
|
77514
77514
|
gateway?: string | null;
|
|
77515
|
+
/**
|
|
77516
|
+
* Format: uuid
|
|
77517
|
+
* @description Which of the organisation's **own saved cards** pays (row 1107#10, owner 2026-11-07: *"they can save more than one card right so if so can they select it"*). An `id` from `listPaymentMethods` that is active, confirmed, unexpired and on the chosen `gateway`. The charge is pinned to that card for this order only; the account's primary and backup roles are not changed. Omit it (or send `null`) and the primary is tried first, then the backup, as before. Any other id (another organisation's, a revoked or expired card, a card on another rail) is refused `422` with `details[0].field = payment_method_id` before any order is placed.
|
|
77518
|
+
* @example 0190f1a2-7c3e-7b1a-9a55-2f7c4e1d0b3a
|
|
77519
|
+
*/
|
|
77520
|
+
payment_method_id?: string | null;
|
|
77515
77521
|
/** @description The owner of any domain this basket registers or transfers. Optional when the organization already has a complete default registrant (`getDefaultRegistrant`); when sent, it **becomes** that default, in the same transaction as the placement. Without either, a basket holding a `domain_register` or `domain_transfer` line is refused `422 REGISTRANT_REQUIRED` before anything is placed or charged. Ignored on an idempotent replay. */
|
|
77516
77522
|
registrant?: components["schemas"]["Registrant"] | null;
|
|
77517
77523
|
/** @description Q10 — `domain_name` → the fields that domain's registry demands beyond the registrant (`getTldRequirements` lists them per extension: ID / tax / company numbers, `.us` nexus, `.ca` legal type, registry acceptances …). Every `domain_register` / `domain_transfer` line is checked against its extension BEFORE anything is placed; a missing or invalid value is `422 REGISTRY_DATA_REQUIRED` with one `details[]` entry per problem (`domain`, `field`, `code`). Keys an extension does not declare are dropped. Write-only: never echoed on an order. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1584",
|
|
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>",
|