@zinn-digital/sdk 0.1.1898 → 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.
@@ -47376,6 +47376,26 @@ export interface paths {
47376
47376
  patch?: never;
47377
47377
  trace?: never;
47378
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
+ };
47379
47399
  "/v1/public/signup/resend": {
47380
47400
  parameters: {
47381
47401
  query?: never;
@@ -107673,6 +107693,16 @@ export interface components {
107673
107693
  state: "valid" | "expired" | "used" | "invalid" | "exists";
107674
107694
  trial: string;
107675
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
+ };
107676
107706
  SignupStartRequest: {
107677
107707
  /** Format: email */
107678
107708
  email: string;
@@ -201182,6 +201212,29 @@ export interface operations {
201182
201212
  503: components["responses"]["ServiceUnavailable"];
201183
201213
  };
201184
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
+ };
201185
201238
  resendSignup: {
201186
201239
  parameters: {
201187
201240
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1898",
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>",