@zinn-digital/sdk 0.1.2014 → 0.1.2015
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.
|
@@ -85697,6 +85697,11 @@ export interface components {
|
|
|
85697
85697
|
price_amount_minor: number | null;
|
|
85698
85698
|
/** @description The ISO-4217 code `price_amount_minor` is denominated in, or `""` when there is no subscription. Never rendered apart from the amount, and the amount never without it. */
|
|
85699
85699
|
price_currency: string;
|
|
85700
|
+
/**
|
|
85701
|
+
* @description How often `price_amount_minor` is charged - the subscription's own `interval` (`monthly` or `annual`), so a client says "per month" or "per year" from our fact and never assumes a month. `""` when there is no subscription. Distinct from `period`, which is the provider's cadence for its contract with us.
|
|
85702
|
+
* @enum {string}
|
|
85703
|
+
*/
|
|
85704
|
+
price_interval: "monthly" | "annual" | "";
|
|
85700
85705
|
/** @description **The provider's date** - when the machine lapses at them, as they state it, or `""` when they state none. Blank means "not stated" - never "never". It is what the "runs until X, powered off a day later, deleted six days after that" sentences are about, and it is **not** the date the customer is charged - use `charge_at` for that. */
|
|
85701
85706
|
renews_at: string;
|
|
85702
85707
|
/** @description The subscription whose switch `auto_renew` reports, to send the customer to `POST /v1/subscriptions/{subscriptionId}/auto-renew`. `""` when the machine was provisioned outside a paid order (staff, comp, migration): there is then no switch to offer, and a client MUST say so rather than render a dead toggle. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2015",
|
|
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>",
|