@mestra-dev/contract 0.0.165 → 0.0.167
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 +20 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7220,7 +7220,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
7220
7220
|
"Workspace"
|
|
7221
7221
|
];
|
|
7222
7222
|
readonly summary: "Update workspace policies for a collaborator";
|
|
7223
|
-
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.";
|
|
7223
|
+
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. When a registered collaborator with an existing Matrix tenant loses all `crm::chats` grants, their Matrix account is deactivated with Synapse (`erase: false`). Requires write access to crm::general.";
|
|
7224
7224
|
readonly security: readonly [
|
|
7225
7225
|
never
|
|
7226
7226
|
];
|
|
@@ -7311,7 +7311,17 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
7311
7311
|
};
|
|
7312
7312
|
};
|
|
7313
7313
|
readonly 500: {
|
|
7314
|
-
readonly description: "Failed to update policies.";
|
|
7314
|
+
readonly description: "Failed to update policies, or policies were updated but Synapse deactivation could not run because SYNAPSE_ADMIN_TOKEN is not configured.";
|
|
7315
|
+
readonly content: {
|
|
7316
|
+
readonly "application/json": {
|
|
7317
|
+
readonly schema: {
|
|
7318
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
7319
|
+
};
|
|
7320
|
+
};
|
|
7321
|
+
};
|
|
7322
|
+
};
|
|
7323
|
+
readonly 502: {
|
|
7324
|
+
readonly description: "Policies were updated, but Synapse failed to deactivate the Matrix user after crm::chats access was revoked.";
|
|
7315
7325
|
readonly content: {
|
|
7316
7326
|
readonly "application/json": {
|
|
7317
7327
|
readonly schema: {
|
|
@@ -17719,6 +17729,14 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
17719
17729
|
};
|
|
17720
17730
|
outputFormat: "json";
|
|
17721
17731
|
status: 500;
|
|
17732
|
+
} | {
|
|
17733
|
+
input: {};
|
|
17734
|
+
output: {
|
|
17735
|
+
success: false;
|
|
17736
|
+
error: string;
|
|
17737
|
+
};
|
|
17738
|
+
outputFormat: "json";
|
|
17739
|
+
status: 502;
|
|
17722
17740
|
} | {
|
|
17723
17741
|
input: {};
|
|
17724
17742
|
output: {
|