@mestra-dev/contract 0.0.47 → 0.0.48
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
|
@@ -6250,7 +6250,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6250
6250
|
"Workspace"
|
|
6251
6251
|
];
|
|
6252
6252
|
readonly summary: "Delete a workspace";
|
|
6253
|
-
readonly description: "
|
|
6253
|
+
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). Soft-deleted Free trials still count toward the free-trial workspace limit. 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, or open-checkout workspaces cannot be deleted.";
|
|
6254
6254
|
readonly security: readonly [
|
|
6255
6255
|
never
|
|
6256
6256
|
];
|
|
@@ -6281,7 +6281,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6281
6281
|
};
|
|
6282
6282
|
readonly responses: {
|
|
6283
6283
|
readonly 200: {
|
|
6284
|
-
readonly description: "Workspace deleted successfully.";
|
|
6284
|
+
readonly description: "Workspace soft-deleted successfully.";
|
|
6285
6285
|
readonly content: {
|
|
6286
6286
|
readonly "application/json": {
|
|
6287
6287
|
readonly schema: {
|