@mestra-dev/contract 0.0.58 → 0.0.59
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.
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -6251,7 +6251,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6251
6251
|
"Workspace"
|
|
6252
6252
|
];
|
|
6253
6253
|
readonly summary: "Delete a workspace";
|
|
6254
|
-
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).
|
|
6254
|
+
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. Also allowed when the workspace was never paid, still has its first unpaid initial invoice, and YooKassa checkout has not been started; frozen, past-due, open-checkout, or Free trial workspaces cannot be deleted.";
|
|
6255
6255
|
readonly security: readonly [
|
|
6256
6256
|
never
|
|
6257
6257
|
];
|
|
@@ -6312,7 +6312,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6312
6312
|
};
|
|
6313
6313
|
};
|
|
6314
6314
|
readonly 403: {
|
|
6315
|
-
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access or crm::general write, or the workspace is frozen/past-due/has an open YooKassa checkout (delete is only exempt for an unpaid initial invoice with no checkout).";
|
|
6315
|
+
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access or crm::general write, the workspace is a Free trial (`Free trial workspaces cannot be deleted`), or the workspace is frozen/past-due/has an open YooKassa checkout (delete is only exempt for an unpaid initial invoice with no checkout).";
|
|
6316
6316
|
readonly content: {
|
|
6317
6317
|
readonly "application/json": {
|
|
6318
6318
|
readonly schema: {
|