@libgot/whatsapp-bridge-sdk 1.0.32 → 1.0.34-rc.1
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/.idea/modules.xml +8 -0
- package/.idea/php.xml +19 -0
- package/.idea/vcs.xml +6 -0
- package/.idea/whatsapp-bridge-sdk.iml +11 -0
- package/.swagger-codegen/VERSION +1 -0
- package/.swagger-codegen-ignore +23 -0
- package/README.md +2 -2
- package/apis/chats-api.ts +35 -35
- package/dist/apis/auth-api.js +147 -301
- package/dist/apis/chats-api.d.ts +20 -20
- package/dist/apis/chats-api.js +230 -386
- package/dist/apis/contacts-api.js +104 -216
- package/dist/apis/default-api.js +46 -136
- package/dist/apis/healthchecks-api.js +85 -197
- package/dist/apis/messages-api.js +198 -354
- package/dist/apis/users-api.js +227 -415
- package/dist/base.js +10 -31
- package/dist/configuration.js +3 -5
- package/dist/models/read-message-dto.d.ts +7 -2
- package/models/read-message-dto.ts +8 -2
- package/package.json +1 -1
- package/tsconfig.json +1 -5
package/dist/apis/chats-api.d.ts
CHANGED
|
@@ -39,15 +39,15 @@ export declare const ChatsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
41
41
|
* @param {number} branchId
|
|
42
|
-
* @param {number} [userId]
|
|
43
|
-
* @param {number} [currentPage]
|
|
44
|
-
* @param {number} [rowsPerPage]
|
|
45
|
-
* @param {boolean} [unread]
|
|
46
42
|
* @param {string} [q]
|
|
43
|
+
* @param {boolean} [unread]
|
|
44
|
+
* @param {number} [rowsPerPage]
|
|
45
|
+
* @param {number} [currentPage]
|
|
46
|
+
* @param {number} [userId]
|
|
47
47
|
* @param {*} [options] Override http request option.
|
|
48
48
|
* @throws {RequiredError}
|
|
49
49
|
*/
|
|
50
|
-
getChats: (branchId: number,
|
|
50
|
+
getChats: (branchId: number, q?: string, unread?: boolean, rowsPerPage?: number, currentPage?: number, userId?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
51
|
/**
|
|
52
52
|
*
|
|
53
53
|
* @param {MarkChatUnreadDto} body
|
|
@@ -80,15 +80,15 @@ export declare const ChatsApiFp: (configuration?: Configuration) => {
|
|
|
80
80
|
/**
|
|
81
81
|
*
|
|
82
82
|
* @param {number} branchId
|
|
83
|
-
* @param {number} [userId]
|
|
84
|
-
* @param {number} [currentPage]
|
|
85
|
-
* @param {number} [rowsPerPage]
|
|
86
|
-
* @param {boolean} [unread]
|
|
87
83
|
* @param {string} [q]
|
|
84
|
+
* @param {boolean} [unread]
|
|
85
|
+
* @param {number} [rowsPerPage]
|
|
86
|
+
* @param {number} [currentPage]
|
|
87
|
+
* @param {number} [userId]
|
|
88
88
|
* @param {*} [options] Override http request option.
|
|
89
89
|
* @throws {RequiredError}
|
|
90
90
|
*/
|
|
91
|
-
getChats(branchId: number,
|
|
91
|
+
getChats(branchId: number, q?: string, unread?: boolean, rowsPerPage?: number, currentPage?: number, userId?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<PaginationChatResponseDto>>>;
|
|
92
92
|
/**
|
|
93
93
|
*
|
|
94
94
|
* @param {MarkChatUnreadDto} body
|
|
@@ -121,15 +121,15 @@ export declare const ChatsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
121
121
|
/**
|
|
122
122
|
*
|
|
123
123
|
* @param {number} branchId
|
|
124
|
-
* @param {number} [userId]
|
|
125
|
-
* @param {number} [currentPage]
|
|
126
|
-
* @param {number} [rowsPerPage]
|
|
127
|
-
* @param {boolean} [unread]
|
|
128
124
|
* @param {string} [q]
|
|
125
|
+
* @param {boolean} [unread]
|
|
126
|
+
* @param {number} [rowsPerPage]
|
|
127
|
+
* @param {number} [currentPage]
|
|
128
|
+
* @param {number} [userId]
|
|
129
129
|
* @param {*} [options] Override http request option.
|
|
130
130
|
* @throws {RequiredError}
|
|
131
131
|
*/
|
|
132
|
-
getChats(branchId: number,
|
|
132
|
+
getChats(branchId: number, q?: string, unread?: boolean, rowsPerPage?: number, currentPage?: number, userId?: number, options?: AxiosRequestConfig): Promise<AxiosResponse<PaginationChatResponseDto>>;
|
|
133
133
|
/**
|
|
134
134
|
*
|
|
135
135
|
* @param {MarkChatUnreadDto} body
|
|
@@ -166,16 +166,16 @@ export declare class ChatsApi extends BaseAPI {
|
|
|
166
166
|
/**
|
|
167
167
|
*
|
|
168
168
|
* @param {number} branchId
|
|
169
|
-
* @param {number} [userId]
|
|
170
|
-
* @param {number} [currentPage]
|
|
171
|
-
* @param {number} [rowsPerPage]
|
|
172
|
-
* @param {boolean} [unread]
|
|
173
169
|
* @param {string} [q]
|
|
170
|
+
* @param {boolean} [unread]
|
|
171
|
+
* @param {number} [rowsPerPage]
|
|
172
|
+
* @param {number} [currentPage]
|
|
173
|
+
* @param {number} [userId]
|
|
174
174
|
* @param {*} [options] Override http request option.
|
|
175
175
|
* @throws {RequiredError}
|
|
176
176
|
* @memberof ChatsApi
|
|
177
177
|
*/
|
|
178
|
-
getChats(branchId: number,
|
|
178
|
+
getChats(branchId: number, q?: string, unread?: boolean, rowsPerPage?: number, currentPage?: number, userId?: number, options?: AxiosRequestConfig): Promise<AxiosResponse<PaginationChatResponseDto>>;
|
|
179
179
|
/**
|
|
180
180
|
*
|
|
181
181
|
* @param {MarkChatUnreadDto} body
|