@zinn-digital/sdk 0.1.2118 → 0.1.2121
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 +12 -2
- package/package.json +1 -1
|
@@ -85123,6 +85123,8 @@ export interface components {
|
|
|
85123
85123
|
* @description The saved card to charge: the `id` `POST /v1/payment-methods/stripe/confirm` returned for the card the customer just added (TOPUPCAP r10). That card is charged and nothing else. A 422 `refusal.commerce.paymentMethodCannotUsed` before anything is written or charged when it is not one of your chargeable Stripe cards, when `gateway` is not the card rail, or on a reseller's client wallet (the provider's gateway cannot charge a card saved with Zinn®). Omit it to charge your primary card.
|
|
85124
85124
|
*/
|
|
85125
85125
|
payment_method_id?: string | null;
|
|
85126
|
+
/** @description You chose **Pay by card with PayPal** on the `paypal` rail: the PayPal page at `action_url` opens on its guest card form instead of the PayPal login. It changes which PayPal page opens, never what is charged. Ignored on any other rail and on a reseller's client wallet. Absent means `false`. */
|
|
85127
|
+
paypal_card?: boolean;
|
|
85126
85128
|
};
|
|
85127
85129
|
ClientWalletTopUpList: components["schemas"]["ClientWalletTopUp"][];
|
|
85128
85130
|
/** @description What closing an organization would do, computed **before** anything is done and by the same function the closure runs. */
|
|
@@ -113458,7 +113460,7 @@ export interface components {
|
|
|
113458
113460
|
*/
|
|
113459
113461
|
cdn_tier?: string;
|
|
113460
113462
|
/**
|
|
113461
|
-
* @description Which CDN vendor this site's edge runs on.
|
|
113463
|
+
* @description Which CDN vendor this site's edge runs on. **Footprint-Free only**: on that line omit it (or send `""`) to let the footprint balancer choose, or name a vendor returned by `GET /v1/sites/provider-options`. On every other line the platform chooses (the Zinn edge network, Premium CDN or the customer's own CDN), so naming a vendor there is a `422` with `details[0].field` = `cdn_vendor`.
|
|
113462
113464
|
* @example bunnycdn
|
|
113463
113465
|
*/
|
|
113464
113466
|
cdn_vendor?: string;
|
|
@@ -113474,7 +113476,7 @@ export interface components {
|
|
|
113474
113476
|
*/
|
|
113475
113477
|
deploy_target?: string;
|
|
113476
113478
|
/**
|
|
113477
|
-
* @description Which DNS vendor this site's zone is created on.
|
|
113479
|
+
* @description Which DNS vendor this site's zone is created on. **Footprint-Free only**: omit it to let the footprint balancer choose; on every other line (our nameservers or the customer's own DNS) naming a vendor is a `422` with `details[0].field` = `dns_vendor`. Only consulted when the zone has no placement yet: a name inside a zone this organization already holds adopts that zone's provider, because one zone cannot be served by two providers at once.
|
|
113478
113480
|
* @example bunny_dns
|
|
113479
113481
|
*/
|
|
113480
113482
|
dns_vendor?: string;
|
|
@@ -116642,6 +116644,14 @@ export interface components {
|
|
|
116642
116644
|
*/
|
|
116643
116645
|
deploy_targets: components["schemas"]["SiteDeployTargetOffer"][];
|
|
116644
116646
|
dns: components["schemas"]["SiteDnsChoice"];
|
|
116647
|
+
/** @description Which CDN and DNS choices this product line has at all (owner rule 2026-11-25). `cdn` is `full` (the free Zinn edge network on by default once the site has its own domain, Premium CDN, or the customer's own CDN), `byo_only` (the customer's own CDN only; files hosting) or `none`. `dns` is `ours_or_own` (our nameservers or the customer's own DNS), `optional` (our nameservers only if asked; cloud and private cloud) or `none`. `vendor_picker` is true only on Footprint-Free, the one line whose customer names the CDN and DNS vendor; elsewhere `cdn.vendors` and `dns.vendors` are empty and `POST /v1/sites` refuses `cdn_vendor` and `dns_vendor`. */
|
|
116648
|
+
edge: {
|
|
116649
|
+
/** @enum {string} */
|
|
116650
|
+
cdn: "full" | "byo_only" | "none";
|
|
116651
|
+
/** @enum {string} */
|
|
116652
|
+
dns: "ours_or_own" | "optional" | "none";
|
|
116653
|
+
vendor_picker: boolean;
|
|
116654
|
+
};
|
|
116645
116655
|
/**
|
|
116646
116656
|
* @description The product line the answer was computed for (echoed from the query).
|
|
116647
116657
|
* @example mainstream
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2121",
|
|
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>",
|