@zinn-digital/sdk 0.1.1667 → 0.1.1668
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.
|
@@ -50444,7 +50444,7 @@ export interface paths {
|
|
|
50444
50444
|
put?: never;
|
|
50445
50445
|
/**
|
|
50446
50446
|
* Add a one-off CDN top-up to this site for the rest of the month.
|
|
50447
|
-
* @description Paid from the organization's Zinn® credit — never a card charge, and nothing renews. Idempotent on `request_id`: a retry with the same id returns the same top-up and debits nothing more. A paused site whose new allowance covers its spend is switched back on in the same call. Refused (422) for a site with no allowance, an unknown tier, an account not in good standing, or credit that does not cover the price. Requires `hosting.cdn.manage`.
|
|
50447
|
+
* @description Paid from the organization's Zinn® credit — never a card charge, and nothing renews. Idempotent on `request_id`: a retry with the same id returns the same top-up and debits nothing more. A paused site whose new allowance covers its spend is switched back on in the same call. Refused (422) for a site with no allowance, an unknown tier, an account not in good standing, a tier too small to lift the site back under its allowance (`enough: false`), or credit that does not cover the price. Requires `hosting.cdn.manage`.
|
|
50448
50448
|
*/
|
|
50449
50449
|
post: operations["createSiteCdnUsageTopUp"];
|
|
50450
50450
|
delete?: never;
|
|
@@ -104656,6 +104656,8 @@ export interface components {
|
|
|
104656
104656
|
code: string;
|
|
104657
104657
|
/** @example USD */
|
|
104658
104658
|
currency: string;
|
|
104659
|
+
/** @description Whether this top-up lifts the site back under its allowance this month (spend < allowance + extra). A top-up that is not `enough` would leave the CDN paused, so it is refused (V1 parity, docs/1302 §1). */
|
|
104660
|
+
enough: boolean;
|
|
104659
104661
|
/**
|
|
104660
104662
|
* Format: int64
|
|
104661
104663
|
* @description Extra allowance this top-up adds for the rest of the month, in micro-USD.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1668",
|
|
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>",
|