@zinn-digital/sdk 0.1.1502 → 0.1.1504
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 +29 -0
- package/package.json +1 -1
|
@@ -98487,6 +98487,8 @@ export interface components {
|
|
|
98487
98487
|
incidents: components["schemas"]["BoxIncident"][];
|
|
98488
98488
|
openIncidents: number;
|
|
98489
98489
|
policy: components["schemas"]["SelfHealPolicy"];
|
|
98490
|
+
/** @description Sites Turnstile autoprotect switched on in the last 7 days (docs/1252 §6), newest first, at most 100. `reason` is `abuse` (5+ spam holds through its forms in 24 h) or `new_site` (a new WordPress site with a form plugin). A site whose owner has since flipped the switch drops off the list. */
|
|
98491
|
+
turnstileAutoprotected?: components["schemas"]["TurnstileAutoprotectedSite"][];
|
|
98490
98492
|
watch: {
|
|
98491
98493
|
canaryDown?: boolean;
|
|
98492
98494
|
/** Format: date-time */
|
|
@@ -98520,6 +98522,12 @@ export interface components {
|
|
|
98520
98522
|
siteMaxEpisodesPerDay?: number;
|
|
98521
98523
|
siteNotifyCustomers?: boolean;
|
|
98522
98524
|
sitePluginRollback?: boolean;
|
|
98525
|
+
turnstileAutoprotectDryRun?: boolean;
|
|
98526
|
+
turnstileAutoprotectEnabled?: boolean;
|
|
98527
|
+
turnstileHeldThreshold?: number;
|
|
98528
|
+
turnstileNewSiteDays?: number;
|
|
98529
|
+
turnstileNewSitesEnabled?: boolean;
|
|
98530
|
+
turnstilePoolReserve?: number;
|
|
98523
98531
|
/** Format: date-time */
|
|
98524
98532
|
updatedAt?: string | null;
|
|
98525
98533
|
updatedBy?: string;
|
|
@@ -98548,6 +98556,12 @@ export interface components {
|
|
|
98548
98556
|
siteMaxEpisodesPerDay?: number;
|
|
98549
98557
|
siteNotifyCustomers?: boolean;
|
|
98550
98558
|
sitePluginRollback?: boolean;
|
|
98559
|
+
turnstileAutoprotectDryRun?: boolean;
|
|
98560
|
+
turnstileAutoprotectEnabled?: boolean;
|
|
98561
|
+
turnstileHeldThreshold?: number;
|
|
98562
|
+
turnstileNewSiteDays?: number;
|
|
98563
|
+
turnstileNewSitesEnabled?: boolean;
|
|
98564
|
+
turnstilePoolReserve?: number;
|
|
98551
98565
|
};
|
|
98552
98566
|
/**
|
|
98553
98567
|
* @description The line kinds a cart will accept **today** — the write-side subset of `LineKind`.
|
|
@@ -104983,6 +104997,8 @@ export interface components {
|
|
|
104983
104997
|
/** @description The effective ceiling — `base + granted`. `null` when `base` is null. */
|
|
104984
104998
|
total: number | null;
|
|
104985
104999
|
unit: components["schemas"]["SiteQuotaUnit"];
|
|
105000
|
+
/** @description `true` when this allowance has no ceiling. `base` and `total` are then the raw sentinel `-1` (never a quantity, never unit-converted), `percent` is `null` and no price is offered: there is nothing to add, and an upgrade is refused with `already_unlimited` before anything is charged. */
|
|
105001
|
+
unlimited: boolean;
|
|
104986
105002
|
/** @description Measured usage. `null` means **unknown** — the box was unreachable, or nothing has sampled it yet — and never `0`. A client must render those differently. */
|
|
104987
105003
|
used: number | null;
|
|
104988
105004
|
/** @description The thresholds at which the platform notifies the customer, ascending. */
|
|
@@ -110829,6 +110845,19 @@ export interface components {
|
|
|
110829
110845
|
*/
|
|
110830
110846
|
org_id?: string;
|
|
110831
110847
|
};
|
|
110848
|
+
TurnstileAutoprotectedSite: {
|
|
110849
|
+
/** Format: date-time */
|
|
110850
|
+
at: string | null;
|
|
110851
|
+
domain: string;
|
|
110852
|
+
/** Format: uuid */
|
|
110853
|
+
orgId: string;
|
|
110854
|
+
/** @enum {string} */
|
|
110855
|
+
reason: "abuse" | "new_site";
|
|
110856
|
+
/** Format: uuid */
|
|
110857
|
+
siteId: string;
|
|
110858
|
+
/** @enum {string} */
|
|
110859
|
+
status: "pending" | "active" | "failed" | "off";
|
|
110860
|
+
};
|
|
110832
110861
|
UkVatFiledCreate: {
|
|
110833
110862
|
notes?: string;
|
|
110834
110863
|
/** Format: date */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1504",
|
|
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>",
|