@mestra-dev/contract 0.0.83 → 0.0.84
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 +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -6013,7 +6013,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6013
6013
|
"Workspace"
|
|
6014
6014
|
];
|
|
6015
6015
|
readonly summary: "Update workspace policies for a collaborator";
|
|
6016
|
-
readonly description: "Updates the resource permissions for a collaborator
|
|
6016
|
+
readonly description: "Updates the resource permissions for a collaborator or pending invitation. Send `collaboratorId` from GET /workspace/policies/{workspace}: that field is `invitations.id` for an unregistered email, or `collaborators.id` for a registered user. Email-only invites store grants on the invitation until signup; pending collaborators get policy rows updated as well. Requires write access to crm::general.";
|
|
6017
6017
|
readonly security: readonly [
|
|
6018
6018
|
never
|
|
6019
6019
|
];
|
|
@@ -6032,7 +6032,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6032
6032
|
readonly collaboratorId: {
|
|
6033
6033
|
readonly type: "string";
|
|
6034
6034
|
readonly format: "uuid";
|
|
6035
|
-
readonly description: "
|
|
6035
|
+
readonly description: "ID from GET /workspace/policies/{workspace}: `invitations.id` for an unregistered email, or `collaborators.id` for a registered user.";
|
|
6036
6036
|
};
|
|
6037
6037
|
readonly resources: {
|
|
6038
6038
|
readonly type: "array";
|
|
@@ -6064,7 +6064,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6064
6064
|
};
|
|
6065
6065
|
};
|
|
6066
6066
|
readonly 400: {
|
|
6067
|
-
readonly description: "Invalid request payload,
|
|
6067
|
+
readonly description: "Invalid request payload, id is not a collaborator or pending invitation, or policies cannot be changed for the workspace owner.";
|
|
6068
6068
|
readonly content: {
|
|
6069
6069
|
readonly "application/json": {
|
|
6070
6070
|
readonly schema: {
|