wuzapi 1.8.1 → 1.8.3

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.
@@ -79,7 +79,7 @@ export interface MarkReadRequest {
79
79
  export interface ReactRequest {
80
80
  Phone: string;
81
81
  Body: string;
82
- id: string;
82
+ Id: string;
83
83
  }
84
84
  export interface DownloadMediaRequest {
85
85
  Url: string;
@@ -152,15 +152,15 @@ export interface GetChatHistoryRequest {
152
152
  Limit?: number;
153
153
  }
154
154
  export interface HistoryMessage {
155
- ID: string;
156
- UserID: string;
157
- ChatJID: string;
158
- SenderJID: string;
159
- MessageID: string;
160
- Timestamp: string;
161
- MessageType: string;
162
- TextContent: string;
163
- MediaLink?: string;
155
+ chat_jid: string;
156
+ id: number;
157
+ media_link: string;
158
+ message_id: string;
159
+ message_type: string;
160
+ sender_jid: string;
161
+ text_content: string;
162
+ timestamp: string;
163
+ user_id: string;
164
164
  }
165
165
  export interface GetChatHistoryResponse {
166
166
  data: HistoryMessage[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wuzapi",
3
- "version": "1.8.1",
3
+ "version": "1.8.3",
4
4
  "description": "TypeScript client library for WuzAPI WhatsApp API",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",