@mestra-dev/contract 0.0.163 → 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.
- package/dist/index.d.ts +4 -4
- 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
|
|
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
|
|
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: {
|
|
@@ -7549,7 +7549,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
7549
7549
|
"Workspace"
|
|
7550
7550
|
];
|
|
7551
7551
|
readonly summary: "Cancel a pending workspace invitation";
|
|
7552
|
-
readonly description: "Cancels a pending invite. Send `collaboratorId` from GET /workspace/policies/{workspace}: that field is `invitations.id` for an unregistered email, or `collaborators.id` for a registered user who has not accepted yet. Email-only invites are marked canceled (seat is freed; the token can no longer be used after signup). Pending collaborators are removed the same way as /workspace/settings/remove-collaborator. Already-accepted members cannot be canceled here. Requires write access to crm::general.";
|
|
7552
|
+
readonly description: "Cancels a pending invite. Send `collaboratorId` from GET /workspace/policies/{workspace}: that field is `invitations.id` for an unregistered email, or `collaborators.id` for a registered user who has not accepted yet. Email-only invites are marked canceled (seat is freed; the token can no longer be used after signup). Pending collaborators are removed the same way as /workspace/settings/remove-collaborator. Already-accepted members cannot be canceled here. Requires write access to crm::general. This cleanup action remains available in frozen Free-trial workspaces.";
|
|
7553
7553
|
readonly security: readonly [
|
|
7554
7554
|
never
|
|
7555
7555
|
];
|
|
@@ -7945,7 +7945,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
7945
7945
|
"Workspace"
|
|
7946
7946
|
];
|
|
7947
7947
|
readonly summary: "Remove a collaborator from workspace";
|
|
7948
|
-
readonly description: "Removes a collaborator from the workspace. Requires write access to crm::general resource.";
|
|
7948
|
+
readonly description: "Removes a non-owner collaborator from the workspace. Requires write access to crm::general resource. This cleanup action remains available in frozen Free-trial workspaces.";
|
|
7949
7949
|
readonly security: readonly [
|
|
7950
7950
|
never
|
|
7951
7951
|
];
|