@medipha/chat 1.0.51 → 1.0.52

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.
@@ -233,8 +233,14 @@ export interface Conversation {
233
233
  /** GROUP only; null for DIRECT. The server always fills the defaults in, so an absent
234
234
  * value here means the conversation payload predates group settings, not "unset". */
235
235
  settings?: GroupSettings | null;
236
+ tag?: ConversationTag | null;
236
237
  [key: string]: unknown;
237
238
  }
239
+ export interface ConversationTag {
240
+ id: string;
241
+ name: string;
242
+ color: string;
243
+ }
238
244
  export type GroupMessagePermission = 'ALL_MEMBERS' | 'OWNER_ONLY';
239
245
  export interface GroupSettings {
240
246
  messagePermission: GroupMessagePermission;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medipha/chat",
3
- "version": "1.0.51",
3
+ "version": "1.0.52",
4
4
  "description": "Embeddable Medic-ERP chat module for React applications.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -59,7 +59,7 @@
59
59
  "uuid": "^11.0.5",
60
60
  "yet-another-react-lightbox": "^3.32.2",
61
61
  "zustand": "^5.0.8",
62
- "@medipha/chat-core": "1.0.22"
62
+ "@medipha/chat-core": "1.0.23"
63
63
  },
64
64
  "devDependencies": {
65
65
  "@eslint/js": "^10.0.1",