@zinn-digital/sdk 0.1.1486 → 0.1.1490
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 +115 -2
- package/package.json +1 -1
|
@@ -13352,6 +13352,28 @@ export interface paths {
|
|
|
13352
13352
|
patch?: never;
|
|
13353
13353
|
trace?: never;
|
|
13354
13354
|
};
|
|
13355
|
+
"/v1/admin/selfheal/htaccess-cases/{caseId}/close": {
|
|
13356
|
+
parameters: {
|
|
13357
|
+
query?: never;
|
|
13358
|
+
header?: never;
|
|
13359
|
+
path: {
|
|
13360
|
+
caseId: components["schemas"]["Uuid"];
|
|
13361
|
+
};
|
|
13362
|
+
cookie?: never;
|
|
13363
|
+
};
|
|
13364
|
+
get?: never;
|
|
13365
|
+
put?: never;
|
|
13366
|
+
/**
|
|
13367
|
+
* Lift or dismiss an oversized-.htaccess case by hand.
|
|
13368
|
+
* @description **Staff only** (`fleet.manage`). `lift: true` = the customer fixed it, put the site back now; `lift: false` = dismiss a false positive. Both put back a site this case holds (never one dunning, the malware ladder or an abuse report holds) and exempt the site from a new case for 7 days. Audited. A closed case answers unchanged.
|
|
13369
|
+
*/
|
|
13370
|
+
post: operations["closeHtaccessCase"];
|
|
13371
|
+
delete?: never;
|
|
13372
|
+
options?: never;
|
|
13373
|
+
head?: never;
|
|
13374
|
+
patch?: never;
|
|
13375
|
+
trace?: never;
|
|
13376
|
+
};
|
|
13355
13377
|
"/v1/admin/selfheal/incidents/{incidentId}": {
|
|
13356
13378
|
parameters: {
|
|
13357
13379
|
query?: never;
|
|
@@ -64564,7 +64586,7 @@ export interface components {
|
|
|
64564
64586
|
launched_at?: string | null;
|
|
64565
64587
|
/** @enum {string} */
|
|
64566
64588
|
network: "google" | "microsoft" | "x";
|
|
64567
|
-
/** @description `campaigns` (name, countries, language, daily_budget_micros, keywords, keyword_count, ad_groups, and `headlines`/`descriptions` or, on X, `tweets`), `daily_budget_micros`, `campaign_count`, `requests
|
|
64589
|
+
/** @description `campaigns` (name, countries, language, daily_budget_micros, keywords, keyword_count, ad_groups, and `headlines`/`descriptions` or, on X, `tweets`), `daily_budget_micros`, `campaign_count`, `requests`, and `skipped` (ADBRAND: each campaign the plan cannot launch: `name`, `skipped` = noBudget | adIncomplete | adBelowGood, `guards` [{code, part}] and `reasons` [{code, have, want}], so an empty plan says why). */
|
|
64568
64590
|
preview: {
|
|
64569
64591
|
[key: string]: unknown;
|
|
64570
64592
|
};
|
|
@@ -83547,6 +83569,38 @@ export interface components {
|
|
|
83547
83569
|
* @example acme.example.com
|
|
83548
83570
|
*/
|
|
83549
83571
|
Hostname: string;
|
|
83572
|
+
/** @description One oversized site-root `.htaccess` (docs/1252 §2). `notified` (customer e-mailed, `deadlineAt` set) → `suspended` (still over after the deadline; `holdsSuspension` says this case is what holds the site) → `lifted` / `fixed`; `dismissed` by staff. */
|
|
83573
|
+
HtaccessCase: {
|
|
83574
|
+
/** Format: date-time */
|
|
83575
|
+
closedAt?: string | null;
|
|
83576
|
+
/** Format: date-time */
|
|
83577
|
+
deadlineAt?: string | null;
|
|
83578
|
+
domain?: string;
|
|
83579
|
+
dryRun?: boolean;
|
|
83580
|
+
events?: {
|
|
83581
|
+
/** Format: date-time */
|
|
83582
|
+
at?: string;
|
|
83583
|
+
detail?: string;
|
|
83584
|
+
what?: string;
|
|
83585
|
+
}[];
|
|
83586
|
+
/** Format: date-time */
|
|
83587
|
+
exemptUntil?: string | null;
|
|
83588
|
+
holdsSuspension?: boolean;
|
|
83589
|
+
id: components["schemas"]["Uuid"];
|
|
83590
|
+
/** Format: date-time */
|
|
83591
|
+
measuredAt?: string | null;
|
|
83592
|
+
/** Format: date-time */
|
|
83593
|
+
openedAt?: string | null;
|
|
83594
|
+
orgId?: components["schemas"]["Uuid"];
|
|
83595
|
+
peakBytes?: number;
|
|
83596
|
+
rewriteRules?: number;
|
|
83597
|
+
siteId: components["schemas"]["Uuid"];
|
|
83598
|
+
sizeBytes?: number;
|
|
83599
|
+
/** @enum {string} */
|
|
83600
|
+
state: "notified" | "suspended" | "fixed" | "lifted" | "dismissed";
|
|
83601
|
+
/** Format: date-time */
|
|
83602
|
+
suspendedAt?: string | null;
|
|
83603
|
+
};
|
|
83550
83604
|
/** @description One string waiting for a person, with the best machine draft for them to edit. `draft_text` is NOT served — see `listHumanTranslationQueue`. Read `review_reason` before `last_error`: the queue has several populations with different remedies, and only the machine-refusal ones carry an error. */
|
|
83551
83605
|
HumanQueueEntry: {
|
|
83552
83606
|
/** @description Where `draft_text` came from: the model that produced it (e.g. `grok-4.6`), `passthrough` (the source itself), or `rejected_candidate` (the answer a quality check refused three times; approve or edit it). Empty when there is no draft. */
|
|
@@ -98173,6 +98227,8 @@ export interface components {
|
|
|
98173
98227
|
SelfHealOverview: {
|
|
98174
98228
|
boxes: components["schemas"]["BoxWatch"][];
|
|
98175
98229
|
episodes: components["schemas"]["SiteHealEpisode"][];
|
|
98230
|
+
/** @description Open `.htaccess` cases plus every case opened in the last 7 days. */
|
|
98231
|
+
htaccessCases?: components["schemas"]["HtaccessCase"][];
|
|
98176
98232
|
incidents: components["schemas"]["BoxIncident"][];
|
|
98177
98233
|
openIncidents: number;
|
|
98178
98234
|
policy: components["schemas"]["SelfHealPolicy"];
|
|
@@ -98181,8 +98237,11 @@ export interface components {
|
|
|
98181
98237
|
/** Format: date-time */
|
|
98182
98238
|
lastPassAt?: string | null;
|
|
98183
98239
|
};
|
|
98240
|
+
/** @description WordPress sites whose core has been below the release their update setting should have reached for 3+ days (WordPress's own automatic update keeps failing; docs/1252 §4), oldest first, at most 100. `wpCoreStuckCount` is the full count. */
|
|
98241
|
+
wpCoreStuck?: components["schemas"]["WpCoreStuckSite"][];
|
|
98242
|
+
wpCoreStuckCount?: number;
|
|
98184
98243
|
};
|
|
98185
|
-
/** @description The self-healers' switchboard (docs/958) — one row, read at every step. `box*` govern dead-box recovery (detection needs `boxDownObservations` all-silent readings spanning `boxDownMinSeconds`; at most `boxMaxPowerActionsPerDay` power actions per box per 24 h; a provider ticket after `boxPowerWaitSeconds`; a rebuild from backups after `boxRebuildAfterSeconds` — automatic only with `boxAutoRebuild`, otherwise staff are paged to approve). `site*` govern site self-repair (at most `siteMaxEpisodesPerDay` repair episodes per site per 24 h; customers e-mailed when `siteNotifyCustomers`). */
|
|
98244
|
+
/** @description The self-healers' switchboard (docs/958) — one row, read at every step. `box*` govern dead-box recovery (detection needs `boxDownObservations` all-silent readings spanning `boxDownMinSeconds`; at most `boxMaxPowerActionsPerDay` power actions per box per 24 h; a provider ticket after `boxPowerWaitSeconds`; a rebuild from backups after `boxRebuildAfterSeconds` — automatic only with `boxAutoRebuild`, otherwise staff are paged to approve). `site*` govern site self-repair (at most `siteMaxEpisodesPerDay` repair episodes per site per 24 h; customers e-mailed when `siteNotifyCustomers`). `htaccess*` govern the `.htaccess` size guard (docs/1252 §2): a site-root `.htaccess` at or over `htaccessLimitBytes` opens a case and e-mails the customer; still over after `htaccessGraceHours` the site is suspended, biggest first, at most `htaccessMaxSuspensionsPerPass` per hourly pass; it is put back when the file shrinks. */
|
|
98186
98245
|
SelfHealPolicy: {
|
|
98187
98246
|
boxActionsEnabled?: boolean;
|
|
98188
98247
|
boxAutoRebuild?: boolean;
|
|
@@ -98196,6 +98255,11 @@ export interface components {
|
|
|
98196
98255
|
/** Format: email */
|
|
98197
98256
|
boxTicketEmail?: string;
|
|
98198
98257
|
boxUpObservations?: number;
|
|
98258
|
+
htaccessDryRun?: boolean;
|
|
98259
|
+
htaccessEnabled?: boolean;
|
|
98260
|
+
htaccessGraceHours?: number;
|
|
98261
|
+
htaccessLimitBytes?: number;
|
|
98262
|
+
htaccessMaxSuspensionsPerPass?: number;
|
|
98199
98263
|
siteActionsEnabled?: boolean;
|
|
98200
98264
|
siteDryRun?: boolean;
|
|
98201
98265
|
siteMaxEpisodesPerDay?: number;
|
|
@@ -98219,6 +98283,11 @@ export interface components {
|
|
|
98219
98283
|
/** Format: email */
|
|
98220
98284
|
boxTicketEmail?: string;
|
|
98221
98285
|
boxUpObservations?: number;
|
|
98286
|
+
htaccessDryRun?: boolean;
|
|
98287
|
+
htaccessEnabled?: boolean;
|
|
98288
|
+
htaccessGraceHours?: number;
|
|
98289
|
+
htaccessLimitBytes?: number;
|
|
98290
|
+
htaccessMaxSuspensionsPerPass?: number;
|
|
98222
98291
|
siteActionsEnabled?: boolean;
|
|
98223
98292
|
siteDryRun?: boolean;
|
|
98224
98293
|
siteMaxEpisodesPerDay?: number;
|
|
@@ -112618,6 +112687,19 @@ export interface components {
|
|
|
112618
112687
|
*/
|
|
112619
112688
|
used_fraction: number;
|
|
112620
112689
|
};
|
|
112690
|
+
WpCoreStuckSite: {
|
|
112691
|
+
/** Format: date-time */
|
|
112692
|
+
behindSince?: string | null;
|
|
112693
|
+
/** Format: date-time */
|
|
112694
|
+
checkedAt?: string | null;
|
|
112695
|
+
domain: string;
|
|
112696
|
+
/** @description The `error_code` WordPress stored in `auto_core_update_failed` (`failed` when it stored none); empty when WordPress recorded no failure (e.g. it could not take its update lock). */
|
|
112697
|
+
failure?: string;
|
|
112698
|
+
orgId?: components["schemas"]["Uuid"];
|
|
112699
|
+
siteId: components["schemas"]["Uuid"];
|
|
112700
|
+
/** @description The release the site should have reached. */
|
|
112701
|
+
target: string;
|
|
112702
|
+
};
|
|
112621
112703
|
/**
|
|
112622
112704
|
* @description The WordPress administrator login for a site. Every site used to share the username `zinn_admin` and the password was shown nowhere at all, so a customer could not sign in to the WordPress they had just bought.
|
|
112623
112705
|
*
|
|
@@ -134796,6 +134878,37 @@ export interface operations {
|
|
|
134796
134878
|
429: components["responses"]["TooManyRequests"];
|
|
134797
134879
|
};
|
|
134798
134880
|
};
|
|
134881
|
+
closeHtaccessCase: {
|
|
134882
|
+
parameters: {
|
|
134883
|
+
query?: never;
|
|
134884
|
+
header?: never;
|
|
134885
|
+
path: {
|
|
134886
|
+
caseId: components["schemas"]["Uuid"];
|
|
134887
|
+
};
|
|
134888
|
+
cookie?: never;
|
|
134889
|
+
};
|
|
134890
|
+
requestBody: {
|
|
134891
|
+
content: {
|
|
134892
|
+
"application/json": {
|
|
134893
|
+
lift: boolean;
|
|
134894
|
+
};
|
|
134895
|
+
};
|
|
134896
|
+
};
|
|
134897
|
+
responses: {
|
|
134898
|
+
/** @description The case. */
|
|
134899
|
+
200: {
|
|
134900
|
+
headers: {
|
|
134901
|
+
[name: string]: unknown;
|
|
134902
|
+
};
|
|
134903
|
+
content: {
|
|
134904
|
+
"application/json": components["schemas"]["HtaccessCase"];
|
|
134905
|
+
};
|
|
134906
|
+
};
|
|
134907
|
+
401: components["responses"]["Unauthorized"];
|
|
134908
|
+
404: components["responses"]["NotFound"];
|
|
134909
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
134910
|
+
};
|
|
134911
|
+
};
|
|
134799
134912
|
getBoxIncident: {
|
|
134800
134913
|
parameters: {
|
|
134801
134914
|
query?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1490",
|
|
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>",
|