@mestra-dev/contract 0.0.40 → 0.0.41

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +3 -4
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -3180,8 +3180,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
3180
3180
  readonly BillingCycles: {
3181
3181
  readonly type: "integer";
3182
3182
  readonly minimum: 1;
3183
- readonly maximum: 11;
3184
- readonly description: "Number of prepaid billing units. Monthly supports 1\u201311 months; yearly supports 1\u20132 years.";
3183
+ readonly description: "Number of prepaid billing units (integer \u2265 1). Interval-specific caps are enforced by billing: monthly 1\u201311 months, yearly 1\u20132 years.";
3185
3184
  };
3186
3185
  readonly WorkspacePlan: {
3187
3186
  readonly type: "object";
@@ -3448,7 +3447,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
3448
3447
  };
3449
3448
  readonly billingCycles: {
3450
3449
  readonly $ref: "#/components/schemas/BillingCycles";
3451
- readonly description: "Prepaid months (1\u201311) or years (1\u20132). Defaults to 1.";
3450
+ readonly description: "Prepaid billing units (integer \u2265 1). Defaults to 1. Interval-specific caps apply after validation.";
3452
3451
  };
3453
3452
  };
3454
3453
  };
@@ -5024,7 +5023,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
5024
5023
  };
5025
5024
  readonly billingCycles: {
5026
5025
  readonly $ref: "#/components/schemas/BillingCycles";
5027
- readonly description: "Prepaid months (1\u201311) or years (1\u20132). Defaults to 1.";
5026
+ readonly description: "Prepaid billing units (integer \u2265 1). Defaults to 1. Interval-specific caps apply after validation.";
5028
5027
  };
5029
5028
  };
5030
5029
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mestra-dev/contract",
3
- "version": "0.0.40",
3
+ "version": "0.0.41",
4
4
  "description": "Types-only Hono AppType contract for the Mestra auth API",
5
5
  "type": "module",
6
6
  "sideEffects": false,