@zinn-digital/sdk 0.1.1735 → 0.1.1737
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 +77 -1
- package/package.json +1 -1
|
@@ -18293,7 +18293,7 @@ export interface paths {
|
|
|
18293
18293
|
put?: never;
|
|
18294
18294
|
/**
|
|
18295
18295
|
* Run the connection's audit now (a Temporal workflow).
|
|
18296
|
-
* @description Gated on `ads.manage`; audit action `ads.audit_run`. Starts the same per-connection workflow the daily fan-out runs; twice in one minute is one run. Every change it finds is sent through the approve-first queue (nothing is applied unless that class is `auto`). `503` when the workflow could not be started.
|
|
18296
|
+
* @description Gated on `ads.manage`; audit action `ads.audit_run`. Starts the same per-connection workflow the daily fan-out runs; twice in one minute is one run. Every change it finds is sent through the approve-first queue (nothing is applied unless that class is `auto`). `503` when the workflow could not be started. The networks covered are exactly the daily audit's (`ads_networks.audited()`: Google, Microsoft, X, Amazon and ChatGPT, AMZAUDITNOW); a connection on a network the audit does not cover is a `422` `refusal.adsconnect.auditNotOnNetwork` (FIX13).
|
|
18297
18297
|
*/
|
|
18298
18298
|
post: operations["runAdsConnectionAudit"];
|
|
18299
18299
|
delete?: never;
|
|
@@ -28152,6 +28152,30 @@ export interface paths {
|
|
|
28152
28152
|
patch?: never;
|
|
28153
28153
|
trace?: never;
|
|
28154
28154
|
};
|
|
28155
|
+
"/v1/catalog/compute/add-ons": {
|
|
28156
|
+
parameters: {
|
|
28157
|
+
query?: never;
|
|
28158
|
+
header?: never;
|
|
28159
|
+
path?: never;
|
|
28160
|
+
cookie?: never;
|
|
28161
|
+
};
|
|
28162
|
+
/**
|
|
28163
|
+
* List the add-ons a Zinn® Private Cloud machine can carry, with every stored price.
|
|
28164
|
+
* @description The machine add-on catalogue (control panels, CloudLinux, LiteSpeed, KernelCare and **managed server care**) for the public product pages. **Public**, cacheable exactly like `listCatalogCompute` (strong `ETag` + `max-age=60`).
|
|
28165
|
+
*
|
|
28166
|
+
* ⛔ **Every currency the row is STORED in, never a conversion.** The public site prints a stored EUR or GBP figure where one exists, because that is what checkout charges. A paid add-on with no price row at all is omitted.
|
|
28167
|
+
*
|
|
28168
|
+
* ⛔ **Sell prices only.** No vendor cost, no vendor, no licence stock: those are the admin ledger's and checkout's. `listComputeAddOns` (signed in) remains the picker, which also answers whether a seat is free right now.
|
|
28169
|
+
*/
|
|
28170
|
+
get: operations["listCatalogComputeAddOns"];
|
|
28171
|
+
put?: never;
|
|
28172
|
+
post?: never;
|
|
28173
|
+
delete?: never;
|
|
28174
|
+
options?: never;
|
|
28175
|
+
head?: never;
|
|
28176
|
+
patch?: never;
|
|
28177
|
+
trace?: never;
|
|
28178
|
+
};
|
|
28155
28179
|
"/v1/catalog/compute/own-cloud": {
|
|
28156
28180
|
parameters: {
|
|
28157
28181
|
query?: never;
|
|
@@ -100617,6 +100641,21 @@ export interface components {
|
|
|
100617
100641
|
/** @description What the order owes, tax included, in minor units. ⛔ Display THIS, never the basket total, which is pre-tax (D25043). */
|
|
100618
100642
|
total_minor: number;
|
|
100619
100643
|
};
|
|
100644
|
+
/** @description One machine add-on as the public site shows it (`listCatalogComputeAddOns`). Sell prices only, in every currency the row is stored in. */
|
|
100645
|
+
PublicComputeAddOn: {
|
|
100646
|
+
/** @description When the add-on takes effect (at order or on a running machine). */
|
|
100647
|
+
applies_at: string;
|
|
100648
|
+
/** @description Stable key (`managed` is managed server care, `cloudlinux`, `plesk_web_pro` …). */
|
|
100649
|
+
code: string;
|
|
100650
|
+
is_free: boolean;
|
|
100651
|
+
/** @description The add-on family (`managed`, `software`, …). */
|
|
100652
|
+
kind: string;
|
|
100653
|
+
/** @description The stored monthly price per currency, in minor units (CLAUDE.md §2.8). */
|
|
100654
|
+
prices: {
|
|
100655
|
+
amount_minor: number;
|
|
100656
|
+
currency: string;
|
|
100657
|
+
}[];
|
|
100658
|
+
};
|
|
100620
100659
|
/**
|
|
100621
100660
|
* @description One sellable machine size. **Every** cadence it is priced at travels with it, so a term picker can render both figures honestly without a network round trip on a radio button.
|
|
100622
100661
|
*
|
|
@@ -166585,6 +166624,43 @@ export interface operations {
|
|
|
166585
166624
|
429: components["responses"]["TooManyRequests"];
|
|
166586
166625
|
};
|
|
166587
166626
|
};
|
|
166627
|
+
listCatalogComputeAddOns: {
|
|
166628
|
+
parameters: {
|
|
166629
|
+
query?: never;
|
|
166630
|
+
header?: {
|
|
166631
|
+
/** @description A previously returned `ETag`; a match responds `304`. */
|
|
166632
|
+
"If-None-Match"?: string;
|
|
166633
|
+
};
|
|
166634
|
+
path?: never;
|
|
166635
|
+
cookie?: never;
|
|
166636
|
+
};
|
|
166637
|
+
requestBody?: never;
|
|
166638
|
+
responses: {
|
|
166639
|
+
/** @description The enabled add-ons, each with its stored prices. */
|
|
166640
|
+
200: {
|
|
166641
|
+
headers: {
|
|
166642
|
+
/** @description `public, max-age=60`. */
|
|
166643
|
+
"Cache-Control"?: string;
|
|
166644
|
+
/** @description Strong entity tag over the response body. */
|
|
166645
|
+
ETag?: string;
|
|
166646
|
+
[name: string]: unknown;
|
|
166647
|
+
};
|
|
166648
|
+
content: {
|
|
166649
|
+
"application/json": {
|
|
166650
|
+
data: components["schemas"]["PublicComputeAddOn"][];
|
|
166651
|
+
};
|
|
166652
|
+
};
|
|
166653
|
+
};
|
|
166654
|
+
/** @description Not modified — the caller's `ETag` still matches. */
|
|
166655
|
+
304: {
|
|
166656
|
+
headers: {
|
|
166657
|
+
[name: string]: unknown;
|
|
166658
|
+
};
|
|
166659
|
+
content?: never;
|
|
166660
|
+
};
|
|
166661
|
+
429: components["responses"]["TooManyRequests"];
|
|
166662
|
+
};
|
|
166663
|
+
};
|
|
166588
166664
|
listCatalogOwnCloudCompute: {
|
|
166589
166665
|
parameters: {
|
|
166590
166666
|
query?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1737",
|
|
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>",
|