@zinn-digital/sdk 0.1.1955 → 0.1.1958
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.
|
@@ -92407,7 +92407,7 @@ export interface components {
|
|
|
92407
92407
|
plan_code: string;
|
|
92408
92408
|
product_line: string;
|
|
92409
92409
|
/**
|
|
92410
|
-
* @description
|
|
92410
|
+
* @description True when this trial starts only with a verified card on file (the card is NOT charged; the dashboard then shows its card step, `POST /v1/payment-methods`, first). ⚖️ 2026-11-20 (NOCARD, DAY-0508): NO hosting trial sets it any more. Developer Hosting (`dev_14day`) and the Zeabur app trial (`zeabur_apps_30day`) are `false` since migration `billing/0131`: the trial starts with no card, the customer pays before it ends by any method, and a card is optional (automatic renewal only). The abuse limits of those trials are unchanged. The field stays for a future template.
|
|
92411
92411
|
* @default false
|
|
92412
92412
|
*/
|
|
92413
92413
|
requires_card: boolean;
|
|
@@ -98336,7 +98336,7 @@ export interface components {
|
|
|
98336
98336
|
/** @description The free trial this plan offers, or `null` for none. A trial takes no card and starts immediately, so the button beneath the configuration has to say "start trial" rather than "pay". */
|
|
98337
98337
|
trial_days: number | null;
|
|
98338
98338
|
/**
|
|
98339
|
-
* @description
|
|
98339
|
+
* @description True when this plan's trial starts only with a verified card on file (NOT charged); a guest basket refuses such a trial (422). ⚖️ 2026-11-20 (NOCARD, DAY-0508): no hosting plan sets it any more. Developer Hosting's trial starts with no card (migration `billing/0131`); its page still sends the visitor to the app's trial start to pick a stack (sign up, start), with no card step.
|
|
98340
98340
|
* @default false
|
|
98341
98341
|
*/
|
|
98342
98342
|
trial_requires_card: boolean;
|
|
@@ -193871,6 +193871,11 @@ export interface operations {
|
|
|
193871
193871
|
requestBody?: {
|
|
193872
193872
|
content: {
|
|
193873
193873
|
"application/json": {
|
|
193874
|
+
/**
|
|
193875
|
+
* @description The customer was told account credit covers this order and pressed Pay without choosing a card (CARDPAGE, DAY-0529). When `true` no card or other gateway is ever charged for this press: if credit no longer covers the whole order the answer is `422` with `details[0].code = CREDIT_NO_LONGER_COVERS`, nothing drawn and nothing charged, so the caller re-reads the order and lets the customer choose how to pay the rest. A balance that falls after that check declines the remainder (`payment_failed`, credit returned) instead of reaching the primary saved card. Omit, or send `false`, for the ordinary press. Anything that is not a JSON boolean is `422`.
|
|
193876
|
+
* @example true
|
|
193877
|
+
*/
|
|
193878
|
+
credit_only?: boolean;
|
|
193874
193879
|
/**
|
|
193875
193880
|
* @description Crypto is priced and invoiced in USD only (owner 2026-11-18, docs/311). When `gateway` is `nowpayments` and the unpaid order is in another currency, the exact USD total (minor units) the customer confirmed from `getOrderPaymentOptions.crypto_usd.total_minor`. The order is converted to USD in place only when this equals the engine's current quote; otherwise `422` with `details[0].code = USD_CONFIRMATION_REQUIRED` and `details[0].message` = the current exact USD total, nothing charged and nothing converted. Ignored for any other rail or a USD order.
|
|
193876
193881
|
* @example 6000
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1958",
|
|
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>",
|