@zinn-digital/sdk 0.1.1642 → 0.1.1644
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 +10 -1
- package/package.json +1 -1
|
@@ -57491,7 +57491,7 @@ export interface paths {
|
|
|
57491
57491
|
options?: never;
|
|
57492
57492
|
head?: never;
|
|
57493
57493
|
/**
|
|
57494
|
-
* Pause, resume or
|
|
57494
|
+
* Pause, resume, rename or set where a monitored address is checked from.
|
|
57495
57495
|
* @description Gated on `uptime.manage`. ⛔ The **URL cannot be changed**: a monitor's Core Web Vitals readings are joined back to it by that canonical string, so a mutable URL would silently re-point a monitor at another address's history. Change an address by deleting the monitor and adding another. Pausing closes any open incident, so a paused monitor cannot accrue an outage out of us not looking.
|
|
57496
57496
|
*/
|
|
57497
57497
|
patch: operations["updateUptimeMonitor"];
|
|
@@ -114172,6 +114172,8 @@ export interface components {
|
|
|
114172
114172
|
uptime_percent?: number | null;
|
|
114173
114173
|
};
|
|
114174
114174
|
UptimeMonitor: {
|
|
114175
|
+
/** @description Upper-case ISO alpha-2 country the second-opinion check runs from; null = any of our locations. */
|
|
114176
|
+
check_from?: string | null;
|
|
114175
114177
|
/** Format: date-time */
|
|
114176
114178
|
created_at: string;
|
|
114177
114179
|
/**
|
|
@@ -114204,6 +114206,8 @@ export interface components {
|
|
|
114204
114206
|
url: string;
|
|
114205
114207
|
};
|
|
114206
114208
|
UptimeMonitorCreate: {
|
|
114209
|
+
/** @description ISO 3166-1 alpha-2 country the second-opinion check runs from, for a site that answers only visitors in one country. Empty or null checks from any of our locations. ⛔ A country we cannot check from is refused with 422 naming the countries we can (`check_from_countries` on the list) — never a silent fallback to another country, which would read a geofenced site as down. */
|
|
114210
|
+
check_from?: string | null;
|
|
114207
114211
|
/** @description Text that must appear in the response for the check to pass. ⭐ This is what catches the failure a status code cannot — a site whose database has gone but whose index still answers `200` with an empty page. */
|
|
114208
114212
|
expect_text?: string;
|
|
114209
114213
|
/** @description What to call it on screen. Blank falls back to the host. ⛔ `name`, not `label`: `label` is an attribute of DRF's `Field` and cannot be a serializer field name, and a read key that differs from its write key is worse than renaming both. */
|
|
@@ -114222,10 +114226,14 @@ export interface components {
|
|
|
114222
114226
|
};
|
|
114223
114227
|
UptimeMonitorList: {
|
|
114224
114228
|
allowance: components["schemas"]["UptimeAllowance"];
|
|
114229
|
+
/** @description The countries a monitor's `check_from` may name right now, sorted. Derived from our live check locations, so a country disappears from here the moment we can no longer check from it. */
|
|
114230
|
+
check_from_countries?: string[];
|
|
114225
114231
|
data: components["schemas"]["UptimeMonitor"][];
|
|
114226
114232
|
};
|
|
114227
114233
|
/** @description ⛔ The URL is deliberately absent — see `updateUptimeMonitor`. */
|
|
114228
114234
|
UptimeMonitorUpdate: {
|
|
114235
|
+
/** @description ISO 3166-1 alpha-2 country the second-opinion check runs from, for a site that answers only visitors in one country. Empty or null checks from any of our locations. ⛔ A country we cannot check from is refused with 422 naming the countries we can (`check_from_countries` on the list) — never a silent fallback to another country, which would read a geofenced site as down. */
|
|
114236
|
+
check_from?: string | null;
|
|
114229
114237
|
/** @description Pause or resume. Pausing closes any open incident. */
|
|
114230
114238
|
enabled?: boolean;
|
|
114231
114239
|
name?: string;
|
|
@@ -211227,6 +211235,7 @@ export interface operations {
|
|
|
211227
211235
|
401: components["responses"]["Unauthorized"];
|
|
211228
211236
|
403: components["responses"]["Forbidden"];
|
|
211229
211237
|
404: components["responses"]["NotFound"];
|
|
211238
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
211230
211239
|
};
|
|
211231
211240
|
};
|
|
211232
211241
|
listStatusPages: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1644",
|
|
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>",
|