@crossworks/client-types 0.232.259 → 0.232.260

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossworks/client-types",
3
- "version": "0.232.259",
3
+ "version": "0.232.260",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
package/src/dto/member.ts CHANGED
@@ -75,5 +75,8 @@ export type MemberChatMessage = {
75
75
  /** GET /api/member/chat. `agent` null = chat not open yet (no team-level agent). */
76
76
  export type MemberChatThread = {
77
77
  agent: { slug: string; name: string } | null;
78
+ /** false = this login is not linked to a team contact, so it cannot send
79
+ * (POST answers 409). Absent from brains before 0.232.260. */
80
+ linked?: boolean;
78
81
  messages: MemberChatMessage[];
79
82
  };