@mestra-dev/contract 0.0.158 → 0.0.159

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 -3
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -7892,7 +7892,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
7892
7892
  "Workspace"
7893
7893
  ];
7894
7894
  readonly summary: "Delete a workspace";
7895
- readonly description: "Soft-deletes a workspace: sets deleted_at, revokes collaborator access, and purges CRM content (policies, assignees, chat tenants, comments, tasks, customers, services, tags, templates). Billing subscriptions and invoices are retained for audit/history (pending invoices are canceled; the subscription is marked canceled). Free trial workspaces cannot be deleted. Only the owner can delete. Requires write access to crm::general. Deletion is blocked while YooKassa reports a live checkout; wait for it to expire or complete. Past-due paid workspaces and Free trials cannot.";
7895
+ readonly description: "Soft-deletes a workspace: sets deleted_at, revokes collaborator access, and purges CRM content (policies, assignees, chat tenants, comments, tasks, customers, services, tags, templates). Billing subscriptions and invoices are retained for audit/history (pending invoices are canceled; the subscription is marked canceled). A workspace can be deleted after a YooKassa payment link has been issued; its pending invoice is canceled, so that link cannot activate the deleted workspace. Free trial workspaces cannot be deleted. Only the owner can delete. Requires write access to crm::general. Past-due paid workspaces and Free trials cannot.";
7896
7896
  readonly security: readonly [
7897
7897
  never
7898
7898
  ];
@@ -7963,7 +7963,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
7963
7963
  };
7964
7964
  };
7965
7965
  readonly 409: {
7966
- readonly description: "The invoice was paid or a YooKassa checkout is still live (`CHECKOUT_PENDING`). The workspace is left intact.";
7966
+ readonly description: "The YooKassa payment has completed or is being processed. The workspace is left intact.";
7967
7967
  readonly content: {
7968
7968
  readonly "application/json": {
7969
7969
  readonly schema: {
@@ -7973,7 +7973,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
7973
7973
  };
7974
7974
  };
7975
7975
  readonly 503: {
7976
- readonly description: "YooKassa configuration is missing, so the checkout cannot be verified.";
7976
+ readonly description: "YooKassa configuration is missing, so the payment cannot be verified.";
7977
7977
  readonly content: {
7978
7978
  readonly "application/json": {
7979
7979
  readonly schema: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mestra-dev/contract",
3
- "version": "0.0.158",
3
+ "version": "0.0.159",
4
4
  "description": "Types-only Hono AppType contract for the Mestra auth API",
5
5
  "type": "module",
6
6
  "sideEffects": false,