@mestra-dev/contract 0.0.84 → 0.0.86
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
|
@@ -6519,7 +6519,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6519
6519
|
"Workspace"
|
|
6520
6520
|
];
|
|
6521
6521
|
readonly summary: "Update collaborator role";
|
|
6522
|
-
readonly description: "Updates the role of a collaborator
|
|
6522
|
+
readonly description: "Updates the role of 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 the role on the invitation until signup; pending collaborators are updated as well. Requires write access to crm::general.";
|
|
6523
6523
|
readonly security: readonly [
|
|
6524
6524
|
never
|
|
6525
6525
|
];
|
|
@@ -6543,7 +6543,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6543
6543
|
readonly collaboratorId: {
|
|
6544
6544
|
readonly type: "string";
|
|
6545
6545
|
readonly format: "uuid";
|
|
6546
|
-
readonly description: "
|
|
6546
|
+
readonly description: "ID from GET /workspace/policies/{workspace}: `invitations.id` for an unregistered email, or `collaborators.id` for a registered user.";
|
|
6547
6547
|
};
|
|
6548
6548
|
readonly role: {
|
|
6549
6549
|
readonly type: "string";
|
|
@@ -6566,7 +6566,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6566
6566
|
};
|
|
6567
6567
|
};
|
|
6568
6568
|
readonly 400: {
|
|
6569
|
-
readonly description: "Invalid request payload or
|
|
6569
|
+
readonly description: "Invalid request payload, or the id is not a collaborator or pending invitation.";
|
|
6570
6570
|
readonly content: {
|
|
6571
6571
|
readonly "application/json": {
|
|
6572
6572
|
readonly schema: {
|