@libgot/whatsapp-bridge-sdk 1.0.31 → 1.0.33
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 +8 -40
- package/dist/apis/auth-api.js +147 -301
- package/dist/apis/chats-api.d.ts +5 -21
- package/dist/apis/chats-api.js +202 -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/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/dist/models/read-message-dto.d.ts +7 -2
- package/models/index.ts +1 -1
- 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
|
@@ -13,8 +13,8 @@ import { AxiosResponse, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { AssignToMeDto } from '../models';
|
|
16
|
+
import { ChatsResponseDTO } from '../models';
|
|
16
17
|
import { MarkChatUnreadDto } from '../models';
|
|
17
|
-
import { PaginationChatResponseDto } from '../models';
|
|
18
18
|
import { WhatsappChatResponseDTO } from '../models';
|
|
19
19
|
/**
|
|
20
20
|
* ChatsApi - axios parameter creator
|
|
@@ -40,14 +40,10 @@ export declare const ChatsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
40
40
|
*
|
|
41
41
|
* @param {number} branchId
|
|
42
42
|
* @param {number} [userId]
|
|
43
|
-
* @param {number} [currentPage]
|
|
44
|
-
* @param {number} [rowsPerPage]
|
|
45
|
-
* @param {number} [unread]
|
|
46
|
-
* @param {string} [q]
|
|
47
43
|
* @param {*} [options] Override http request option.
|
|
48
44
|
* @throws {RequiredError}
|
|
49
45
|
*/
|
|
50
|
-
getChats: (branchId: number, userId?: number,
|
|
46
|
+
getChats: (branchId: number, userId?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
47
|
/**
|
|
52
48
|
*
|
|
53
49
|
* @param {MarkChatUnreadDto} body
|
|
@@ -81,14 +77,10 @@ export declare const ChatsApiFp: (configuration?: Configuration) => {
|
|
|
81
77
|
*
|
|
82
78
|
* @param {number} branchId
|
|
83
79
|
* @param {number} [userId]
|
|
84
|
-
* @param {number} [currentPage]
|
|
85
|
-
* @param {number} [rowsPerPage]
|
|
86
|
-
* @param {number} [unread]
|
|
87
|
-
* @param {string} [q]
|
|
88
80
|
* @param {*} [options] Override http request option.
|
|
89
81
|
* @throws {RequiredError}
|
|
90
82
|
*/
|
|
91
|
-
getChats(branchId: number, userId?: number,
|
|
83
|
+
getChats(branchId: number, userId?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<ChatsResponseDTO>>>;
|
|
92
84
|
/**
|
|
93
85
|
*
|
|
94
86
|
* @param {MarkChatUnreadDto} body
|
|
@@ -122,14 +114,10 @@ export declare const ChatsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
122
114
|
*
|
|
123
115
|
* @param {number} branchId
|
|
124
116
|
* @param {number} [userId]
|
|
125
|
-
* @param {number} [currentPage]
|
|
126
|
-
* @param {number} [rowsPerPage]
|
|
127
|
-
* @param {number} [unread]
|
|
128
|
-
* @param {string} [q]
|
|
129
117
|
* @param {*} [options] Override http request option.
|
|
130
118
|
* @throws {RequiredError}
|
|
131
119
|
*/
|
|
132
|
-
getChats(branchId: number, userId?: number,
|
|
120
|
+
getChats(branchId: number, userId?: number, options?: AxiosRequestConfig): Promise<AxiosResponse<ChatsResponseDTO>>;
|
|
133
121
|
/**
|
|
134
122
|
*
|
|
135
123
|
* @param {MarkChatUnreadDto} body
|
|
@@ -167,15 +155,11 @@ export declare class ChatsApi extends BaseAPI {
|
|
|
167
155
|
*
|
|
168
156
|
* @param {number} branchId
|
|
169
157
|
* @param {number} [userId]
|
|
170
|
-
* @param {number} [currentPage]
|
|
171
|
-
* @param {number} [rowsPerPage]
|
|
172
|
-
* @param {number} [unread]
|
|
173
|
-
* @param {string} [q]
|
|
174
158
|
* @param {*} [options] Override http request option.
|
|
175
159
|
* @throws {RequiredError}
|
|
176
160
|
* @memberof ChatsApi
|
|
177
161
|
*/
|
|
178
|
-
getChats(branchId: number, userId?: number,
|
|
162
|
+
getChats(branchId: number, userId?: number, options?: AxiosRequestConfig): Promise<AxiosResponse<ChatsResponseDTO>>;
|
|
179
163
|
/**
|
|
180
164
|
*
|
|
181
165
|
* @param {MarkChatUnreadDto} body
|