@mestra-dev/contract 0.0.78 → 0.0.79

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
@@ -420,7 +420,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
420
420
  };
421
421
  readonly bonusWorkspace: {
422
422
  readonly type: "boolean";
423
- readonly description: "True only when this is the one complimentary Professional workspace linked to an active paid Professional workspace.";
423
+ readonly description: "True when create immediately activates the complimentary Professional because a paid Professional is already active. False when this Professional is pending; a pending sibling is converted to the bonus only after the paid invoice succeeds.";
424
424
  };
425
425
  };
426
426
  };
@@ -5303,7 +5303,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
5303
5303
  "Workspace"
5304
5304
  ];
5305
5305
  readonly summary: "Create a new workspace";
5306
- 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 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. Professional may create one complimentary workspace for an owner with an active paid Professional workspace.";
5306
+ 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 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. A second Professional created before the first Professional is paid stays pending. After that payment succeeds, one pending Professional becomes the complimentary workspace (its checkout is canceled). If no pending Professional exists, the next Professional create after a paid Professional is active is complimentary.";
5307
5307
  readonly security: readonly [
5308
5308
  never
5309
5309
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mestra-dev/contract",
3
- "version": "0.0.78",
3
+ "version": "0.0.79",
4
4
  "description": "Types-only Hono AppType contract for the Mestra auth API",
5
5
  "type": "module",
6
6
  "sideEffects": false,