gst-common 1.7.43 → 1.7.45

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.cts CHANGED
@@ -1987,7 +1987,9 @@ type TUploadCreateUploadUrl = {
1987
1987
  type TChatNewConversation = {
1988
1988
  to: string;
1989
1989
  };
1990
- type TChatConversations = {} & BasePaginationParams;
1990
+ type TChatConversations = {
1991
+ fullname?: string;
1992
+ } & BasePaginationParams;
1991
1993
  type TChatSendMessage = {
1992
1994
  conversationId: string;
1993
1995
  messageId: string;
@@ -3088,7 +3090,10 @@ type TChatListConversationRes = {
3088
3090
  };
3089
3091
  type TChatSendMessageRes = TMessageEntity;
3090
3092
  type TChatConversationsRes = {
3091
- conversations: TConversationEntity[];
3093
+ conversations: (TConversationEntity & {
3094
+ lastMessage: TMessageEntity;
3095
+ unseenCount: number;
3096
+ })[];
3092
3097
  total: number;
3093
3098
  };
3094
3099
  type TChatMessagesRes = {
package/dist/index.d.ts CHANGED
@@ -1987,7 +1987,9 @@ type TUploadCreateUploadUrl = {
1987
1987
  type TChatNewConversation = {
1988
1988
  to: string;
1989
1989
  };
1990
- type TChatConversations = {} & BasePaginationParams;
1990
+ type TChatConversations = {
1991
+ fullname?: string;
1992
+ } & BasePaginationParams;
1991
1993
  type TChatSendMessage = {
1992
1994
  conversationId: string;
1993
1995
  messageId: string;
@@ -3088,7 +3090,10 @@ type TChatListConversationRes = {
3088
3090
  };
3089
3091
  type TChatSendMessageRes = TMessageEntity;
3090
3092
  type TChatConversationsRes = {
3091
- conversations: TConversationEntity[];
3093
+ conversations: (TConversationEntity & {
3094
+ lastMessage: TMessageEntity;
3095
+ unseenCount: number;
3096
+ })[];
3092
3097
  total: number;
3093
3098
  };
3094
3099
  type TChatMessagesRes = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gst-common",
3
- "version": "1.7.43",
3
+ "version": "1.7.45",
4
4
  "description": "store all common variables that we need",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",