@mestra-dev/contract 0.0.164 → 0.0.165

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 +2 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -6683,7 +6683,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
6683
6683
  "Workspace"
6684
6684
  ];
6685
6685
  readonly summary: "Create a new workspace";
6686
- readonly description: "Creates a workspace and its billing subscription atomically. Requires the caller to have both email and phone verified. Free starts a 15-day trial (default `TRIAL_WORKSPACE_LIMIT` is 1 Free trial per owner). Economy, Standard, and Professional each create a pending invoice; use the returned invoiceId to start YooKassa checkout. An owner may have at most 5 pending unpaid invoices for those paid plans before creating another.";
6686
+ readonly description: "Creates a workspace and its billing subscription atomically. Requires the caller to have both email and phone verified. Free starts a 15-day trial; each owner can start only one free trial for the lifetime of their account. Economy, Standard, and Professional each create a pending invoice; use the returned invoiceId to start YooKassa checkout. An owner may have at most 5 pending unpaid invoices for those paid plans before creating another.";
6687
6687
  readonly security: readonly [
6688
6688
  never
6689
6689
  ];
@@ -6748,7 +6748,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
6748
6748
  };
6749
6749
  };
6750
6750
  readonly 400: {
6751
- readonly description: "Invalid payload, unavailable plan, Free-trial limit exceeded (`Each user can create only {TRIAL_WORKSPACE_LIMIT} free trial workspaces`; default 1), or too many pending unpaid invoices for Economy/Standard/Professional (`Pay or cancel unpaid invoices before creating more workspaces (limit 5)`).";
6751
+ readonly description: "Invalid payload, unavailable plan, Free-trial limit exceeded (`Each user can create only one free trial workspace`), or too many pending unpaid invoices for Economy/Standard/Professional (`Pay or cancel unpaid invoices before creating more workspaces (limit 5)`).";
6752
6752
  readonly content: {
6753
6753
  readonly "application/json": {
6754
6754
  readonly schema: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mestra-dev/contract",
3
- "version": "0.0.164",
3
+ "version": "0.0.165",
4
4
  "description": "Types-only Hono AppType contract for the Mestra auth API",
5
5
  "type": "module",
6
6
  "sideEffects": false,