@mestra-dev/contract 0.0.188 → 0.0.190

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +17 -3
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -8416,7 +8416,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
8416
8416
  "Workspace"
8417
8417
  ];
8418
8418
  readonly summary: "Accept workspace invitation";
8419
- readonly description: "Accepts a workspace invitation using the provided token. Requires authentication and both email and phone verified.";
8419
+ readonly description: "Accepts a workspace invitation using the provided token. When a rejoining collaborator receives `crm::chats`, their existing Matrix account is reactivated if it exists. Requires authentication and both email and phone verified.";
8420
8420
  readonly security: readonly [
8421
8421
  never
8422
8422
  ];
@@ -11053,7 +11053,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
11053
11053
  "Comments"
11054
11054
  ];
11055
11055
  readonly summary: "Edit a comment";
11056
- readonly description: "Updates a comment body and records its prior body, replacement body, editor, and time. Collaborators with write access to crm::tasks can edit any comment. A read-only collaborator can edit only their own comment when assigned to that task.";
11056
+ readonly description: "Updates a comment body and records its prior body, replacement body, editor, and time. Collaborators with write access to crm::tasks can edit any comment. A read-only collaborator assigned to that task can edit any comment on it.";
11057
11057
  readonly security: readonly [
11058
11058
  never
11059
11059
  ];
@@ -11126,7 +11126,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
11126
11126
  };
11127
11127
  };
11128
11128
  readonly 403: {
11129
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access or read access to crm::tasks resource, or the collaborator is not assigned to the task or is editing another user's comment.";
11129
+ readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access or read access to crm::tasks resource, or the collaborator is not assigned to the task.";
11130
11130
  readonly content: {
11131
11131
  readonly "application/json": {
11132
11132
  readonly schema: {
@@ -19642,6 +19642,20 @@ declare const routes: import("hono/hono-base").HonoBase<{
19642
19642
  };
19643
19643
  outputFormat: "json";
19644
19644
  status: 403;
19645
+ } | {
19646
+ input: {
19647
+ param: {
19648
+ workspace: string;
19649
+ } & {
19650
+ token: string;
19651
+ };
19652
+ };
19653
+ output: {
19654
+ success: false;
19655
+ error: string;
19656
+ };
19657
+ outputFormat: "json";
19658
+ status: 502;
19645
19659
  } | {
19646
19660
  input: {
19647
19661
  param: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mestra-dev/contract",
3
- "version": "0.0.188",
3
+ "version": "0.0.190",
4
4
  "description": "Types-only Hono AppType contract for the Mestra auth API",
5
5
  "type": "module",
6
6
  "sideEffects": false,