@zinn-digital/sdk 0.1.1897 → 0.1.1899

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.
@@ -26937,6 +26937,8 @@ export interface paths {
26937
26937
  * Read the organization's audit log.
26938
26938
  * @description Returns the append-only record of privileged actions taken in the tenant — including staff access — **newest first**, ordered by the sortable id, with older entries reachable by paging the cursor. (It described itself as `oldest → newest` until #462 made every collection newest-first: for an audit feed the answer to "what just happened here?" was on the last page.) The actor's IP is not exposed here (it is admin-console only). Requires `audit.read`.
26939
26939
  *
26940
+ * **Some rows are staff-only and a customer reader never receives them**: the platform's own failed-power-off alerts (`compute.usage.power_off_stuck`, `compute.usage.power_off_recovered`) are omitted from a customer's feed (even when filtered by that `action`); a staff reader receives them whole.
26941
+ *
26940
26942
  * **An undeclared query parameter is refused with `422`, never ignored.** A filter this endpoint does not read used to answer `200` with the whole log, which is indistinguishable from a real answer and reads as "there is a lot of history here" rather than "the filter was dropped" (D26500). Every parameter below is read.
26941
26943
  */
26942
26944
  get: operations["listAuditLog"];
@@ -47374,6 +47376,26 @@ export interface paths {
47374
47376
  patch?: never;
47375
47377
  trace?: never;
47376
47378
  };
47379
+ "/v1/public/signup/products/{product}": {
47380
+ parameters: {
47381
+ query?: never;
47382
+ header?: never;
47383
+ path?: never;
47384
+ cookie?: never;
47385
+ };
47386
+ /**
47387
+ * The product a product-site sign-up is for, and its free tier.
47388
+ * @description P5-147. The product sites link `/signup?product=<slug>`; the sign-up card names the product and, where it has a counted free tier, says how much is free. `free_quota` is read from the constant the entitlement code enforces (Zinn® Uptime: the free monitors), never typed into the dashboard. Every slug answers `200`; an unknown or quota-less product has `free_quota: null`. No database read; cacheable for five minutes.
47389
+ */
47390
+ get: operations["getSignupProduct"];
47391
+ put?: never;
47392
+ post?: never;
47393
+ delete?: never;
47394
+ options?: never;
47395
+ head?: never;
47396
+ patch?: never;
47397
+ trace?: never;
47398
+ };
47377
47399
  "/v1/public/signup/resend": {
47378
47400
  parameters: {
47379
47401
  query?: never;
@@ -107671,6 +107693,16 @@ export interface components {
107671
107693
  state: "valid" | "expired" | "used" | "invalid" | "exists";
107672
107694
  trial: string;
107673
107695
  };
107696
+ SignupProduct: {
107697
+ /** @description The enforced free tier, or null when the product has no counted one. */
107698
+ free_quota: null | {
107699
+ count: number;
107700
+ /** @enum {string} */
107701
+ unit: "monitors";
107702
+ };
107703
+ /** @description The slug as asked. */
107704
+ product: string;
107705
+ };
107674
107706
  SignupStartRequest: {
107675
107707
  /** Format: email */
107676
107708
  email: string;
@@ -201180,6 +201212,29 @@ export interface operations {
201180
201212
  503: components["responses"]["ServiceUnavailable"];
201181
201213
  };
201182
201214
  };
201215
+ getSignupProduct: {
201216
+ parameters: {
201217
+ query?: never;
201218
+ header?: never;
201219
+ path: {
201220
+ product: string;
201221
+ };
201222
+ cookie?: never;
201223
+ };
201224
+ requestBody?: never;
201225
+ responses: {
201226
+ /** @description The product and its free tier, if it has one. */
201227
+ 200: {
201228
+ headers: {
201229
+ [name: string]: unknown;
201230
+ };
201231
+ content: {
201232
+ "application/json": components["schemas"]["SignupProduct"];
201233
+ };
201234
+ };
201235
+ 429: components["responses"]["TooManyRequests"];
201236
+ };
201237
+ };
201183
201238
  resendSignup: {
201184
201239
  parameters: {
201185
201240
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1897",
3
+ "version": "0.1.1899",
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>",