@libgot/whatsapp-bridge-sdk 1.0.39 → 1.0.40-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/README.md +2 -2
- package/apis/chats-api.ts +19 -7
- package/dist/apis/chats-api.d.ts +8 -4
- package/dist/apis/chats-api.js +18 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @1.0.
|
|
1
|
+
## @1.0.40-rc.1
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @libgot/whatsapp-bridge-sdk@1.0.
|
|
39
|
+
npm install @libgot/whatsapp-bridge-sdk@1.0.40-rc.1 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/apis/chats-api.ts
CHANGED
|
@@ -166,6 +166,7 @@ export const ChatsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
166
166
|
/**
|
|
167
167
|
*
|
|
168
168
|
* @param {number} branchId
|
|
169
|
+
* @param {string} apikey
|
|
169
170
|
* @param {string} [q]
|
|
170
171
|
* @param {boolean} [unassigned]
|
|
171
172
|
* @param {boolean} [unread]
|
|
@@ -178,11 +179,15 @@ export const ChatsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
178
179
|
* @param {*} [options] Override http request option.
|
|
179
180
|
* @throws {RequiredError}
|
|
180
181
|
*/
|
|
181
|
-
getChats: async (branchId: number, q?: string, unassigned?: boolean, unread?: boolean, rowsPerPage?: number, currentPage?: number, userId?: number, externallyInitiated?: boolean, id?: number, assignmentTypeCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
182
|
+
getChats: async (branchId: number, apikey: string, q?: string, unassigned?: boolean, unread?: boolean, rowsPerPage?: number, currentPage?: number, userId?: number, externallyInitiated?: boolean, id?: number, assignmentTypeCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
182
183
|
// verify required parameter 'branchId' is not null or undefined
|
|
183
184
|
if (branchId === null || branchId === undefined) {
|
|
184
185
|
throw new RequiredError('branchId','Required parameter branchId was null or undefined when calling getChats.');
|
|
185
186
|
}
|
|
187
|
+
// verify required parameter 'apikey' is not null or undefined
|
|
188
|
+
if (apikey === null || apikey === undefined) {
|
|
189
|
+
throw new RequiredError('apikey','Required parameter apikey was null or undefined when calling getChats.');
|
|
190
|
+
}
|
|
186
191
|
const localVarPath = `/api/chats`;
|
|
187
192
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
188
193
|
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
@@ -234,6 +239,10 @@ export const ChatsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
234
239
|
localVarQueryParameter['assignmentTypeCode'] = assignmentTypeCode;
|
|
235
240
|
}
|
|
236
241
|
|
|
242
|
+
if (apikey !== undefined && apikey !== null) {
|
|
243
|
+
localVarHeaderParameter['apikey'] = String(apikey);
|
|
244
|
+
}
|
|
245
|
+
|
|
237
246
|
const query = new URLSearchParams(localVarUrlObj.search);
|
|
238
247
|
for (const key in localVarQueryParameter) {
|
|
239
248
|
query.set(key, localVarQueryParameter[key]);
|
|
@@ -351,6 +360,7 @@ export const ChatsApiFp = function(configuration?: Configuration) {
|
|
|
351
360
|
/**
|
|
352
361
|
*
|
|
353
362
|
* @param {number} branchId
|
|
363
|
+
* @param {string} apikey
|
|
354
364
|
* @param {string} [q]
|
|
355
365
|
* @param {boolean} [unassigned]
|
|
356
366
|
* @param {boolean} [unread]
|
|
@@ -363,8 +373,8 @@ export const ChatsApiFp = function(configuration?: Configuration) {
|
|
|
363
373
|
* @param {*} [options] Override http request option.
|
|
364
374
|
* @throws {RequiredError}
|
|
365
375
|
*/
|
|
366
|
-
async getChats(branchId: number, q?: string, unassigned?: boolean, unread?: boolean, rowsPerPage?: number, currentPage?: number, userId?: number, externallyInitiated?: boolean, id?: number, assignmentTypeCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<PaginationChatResponseDto>>> {
|
|
367
|
-
const localVarAxiosArgs = await ChatsApiAxiosParamCreator(configuration).getChats(branchId, q, unassigned, unread, rowsPerPage, currentPage, userId, externallyInitiated, id, assignmentTypeCode, options);
|
|
376
|
+
async getChats(branchId: number, apikey: string, q?: string, unassigned?: boolean, unread?: boolean, rowsPerPage?: number, currentPage?: number, userId?: number, externallyInitiated?: boolean, id?: number, assignmentTypeCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<PaginationChatResponseDto>>> {
|
|
377
|
+
const localVarAxiosArgs = await ChatsApiAxiosParamCreator(configuration).getChats(branchId, apikey, q, unassigned, unread, rowsPerPage, currentPage, userId, externallyInitiated, id, assignmentTypeCode, options);
|
|
368
378
|
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
369
379
|
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
370
380
|
return axios.request(axiosRequestArgs);
|
|
@@ -425,6 +435,7 @@ export const ChatsApiFactory = function (configuration?: Configuration, basePath
|
|
|
425
435
|
/**
|
|
426
436
|
*
|
|
427
437
|
* @param {number} branchId
|
|
438
|
+
* @param {string} apikey
|
|
428
439
|
* @param {string} [q]
|
|
429
440
|
* @param {boolean} [unassigned]
|
|
430
441
|
* @param {boolean} [unread]
|
|
@@ -437,8 +448,8 @@ export const ChatsApiFactory = function (configuration?: Configuration, basePath
|
|
|
437
448
|
* @param {*} [options] Override http request option.
|
|
438
449
|
* @throws {RequiredError}
|
|
439
450
|
*/
|
|
440
|
-
async getChats(branchId: number, q?: string, unassigned?: boolean, unread?: boolean, rowsPerPage?: number, currentPage?: number, userId?: number, externallyInitiated?: boolean, id?: number, assignmentTypeCode?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<PaginationChatResponseDto>> {
|
|
441
|
-
return ChatsApiFp(configuration).getChats(branchId, q, unassigned, unread, rowsPerPage, currentPage, userId, externallyInitiated, id, assignmentTypeCode, options).then((request) => request(axios, basePath));
|
|
451
|
+
async getChats(branchId: number, apikey: string, q?: string, unassigned?: boolean, unread?: boolean, rowsPerPage?: number, currentPage?: number, userId?: number, externallyInitiated?: boolean, id?: number, assignmentTypeCode?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<PaginationChatResponseDto>> {
|
|
452
|
+
return ChatsApiFp(configuration).getChats(branchId, apikey, q, unassigned, unread, rowsPerPage, currentPage, userId, externallyInitiated, id, assignmentTypeCode, options).then((request) => request(axios, basePath));
|
|
442
453
|
},
|
|
443
454
|
/**
|
|
444
455
|
*
|
|
@@ -495,6 +506,7 @@ export class ChatsApi extends BaseAPI {
|
|
|
495
506
|
/**
|
|
496
507
|
*
|
|
497
508
|
* @param {number} branchId
|
|
509
|
+
* @param {string} apikey
|
|
498
510
|
* @param {string} [q]
|
|
499
511
|
* @param {boolean} [unassigned]
|
|
500
512
|
* @param {boolean} [unread]
|
|
@@ -508,8 +520,8 @@ export class ChatsApi extends BaseAPI {
|
|
|
508
520
|
* @throws {RequiredError}
|
|
509
521
|
* @memberof ChatsApi
|
|
510
522
|
*/
|
|
511
|
-
public async getChats(branchId: number, q?: string, unassigned?: boolean, unread?: boolean, rowsPerPage?: number, currentPage?: number, userId?: number, externallyInitiated?: boolean, id?: number, assignmentTypeCode?: string, options?: AxiosRequestConfig) : Promise<AxiosResponse<PaginationChatResponseDto>> {
|
|
512
|
-
return ChatsApiFp(this.configuration).getChats(branchId, q, unassigned, unread, rowsPerPage, currentPage, userId, externallyInitiated, id, assignmentTypeCode, options).then((request) => request(this.axios, this.basePath));
|
|
523
|
+
public async getChats(branchId: number, apikey: string, q?: string, unassigned?: boolean, unread?: boolean, rowsPerPage?: number, currentPage?: number, userId?: number, externallyInitiated?: boolean, id?: number, assignmentTypeCode?: string, options?: AxiosRequestConfig) : Promise<AxiosResponse<PaginationChatResponseDto>> {
|
|
524
|
+
return ChatsApiFp(this.configuration).getChats(branchId, apikey, q, unassigned, unread, rowsPerPage, currentPage, userId, externallyInitiated, id, assignmentTypeCode, options).then((request) => request(this.axios, this.basePath));
|
|
513
525
|
}
|
|
514
526
|
/**
|
|
515
527
|
*
|
package/dist/apis/chats-api.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ export declare const ChatsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @param {number} branchId
|
|
51
|
+
* @param {string} apikey
|
|
51
52
|
* @param {string} [q]
|
|
52
53
|
* @param {boolean} [unassigned]
|
|
53
54
|
* @param {boolean} [unread]
|
|
@@ -60,7 +61,7 @@ export declare const ChatsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
60
61
|
* @param {*} [options] Override http request option.
|
|
61
62
|
* @throws {RequiredError}
|
|
62
63
|
*/
|
|
63
|
-
getChats: (branchId: number, q?: string, unassigned?: boolean, unread?: boolean, rowsPerPage?: number, currentPage?: number, userId?: number, externallyInitiated?: boolean, id?: number, assignmentTypeCode?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
|
+
getChats: (branchId: number, apikey: string, q?: string, unassigned?: boolean, unread?: boolean, rowsPerPage?: number, currentPage?: number, userId?: number, externallyInitiated?: boolean, id?: number, assignmentTypeCode?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
65
|
/**
|
|
65
66
|
*
|
|
66
67
|
* @param {MarkChatUnreadDto} body
|
|
@@ -101,6 +102,7 @@ export declare const ChatsApiFp: (configuration?: Configuration) => {
|
|
|
101
102
|
/**
|
|
102
103
|
*
|
|
103
104
|
* @param {number} branchId
|
|
105
|
+
* @param {string} apikey
|
|
104
106
|
* @param {string} [q]
|
|
105
107
|
* @param {boolean} [unassigned]
|
|
106
108
|
* @param {boolean} [unread]
|
|
@@ -113,7 +115,7 @@ export declare const ChatsApiFp: (configuration?: Configuration) => {
|
|
|
113
115
|
* @param {*} [options] Override http request option.
|
|
114
116
|
* @throws {RequiredError}
|
|
115
117
|
*/
|
|
116
|
-
getChats(branchId: number, q?: string, unassigned?: boolean, unread?: boolean, rowsPerPage?: number, currentPage?: number, userId?: number, externallyInitiated?: boolean, id?: number, assignmentTypeCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<PaginationChatResponseDto>>>;
|
|
118
|
+
getChats(branchId: number, apikey: string, q?: string, unassigned?: boolean, unread?: boolean, rowsPerPage?: number, currentPage?: number, userId?: number, externallyInitiated?: boolean, id?: number, assignmentTypeCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<PaginationChatResponseDto>>>;
|
|
117
119
|
/**
|
|
118
120
|
*
|
|
119
121
|
* @param {MarkChatUnreadDto} body
|
|
@@ -154,6 +156,7 @@ export declare const ChatsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
154
156
|
/**
|
|
155
157
|
*
|
|
156
158
|
* @param {number} branchId
|
|
159
|
+
* @param {string} apikey
|
|
157
160
|
* @param {string} [q]
|
|
158
161
|
* @param {boolean} [unassigned]
|
|
159
162
|
* @param {boolean} [unread]
|
|
@@ -166,7 +169,7 @@ export declare const ChatsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
166
169
|
* @param {*} [options] Override http request option.
|
|
167
170
|
* @throws {RequiredError}
|
|
168
171
|
*/
|
|
169
|
-
getChats(branchId: number, q?: string, unassigned?: boolean, unread?: boolean, rowsPerPage?: number, currentPage?: number, userId?: number, externallyInitiated?: boolean, id?: number, assignmentTypeCode?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<PaginationChatResponseDto>>;
|
|
172
|
+
getChats(branchId: number, apikey: string, q?: string, unassigned?: boolean, unread?: boolean, rowsPerPage?: number, currentPage?: number, userId?: number, externallyInitiated?: boolean, id?: number, assignmentTypeCode?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<PaginationChatResponseDto>>;
|
|
170
173
|
/**
|
|
171
174
|
*
|
|
172
175
|
* @param {MarkChatUnreadDto} body
|
|
@@ -212,6 +215,7 @@ export declare class ChatsApi extends BaseAPI {
|
|
|
212
215
|
/**
|
|
213
216
|
*
|
|
214
217
|
* @param {number} branchId
|
|
218
|
+
* @param {string} apikey
|
|
215
219
|
* @param {string} [q]
|
|
216
220
|
* @param {boolean} [unassigned]
|
|
217
221
|
* @param {boolean} [unread]
|
|
@@ -225,7 +229,7 @@ export declare class ChatsApi extends BaseAPI {
|
|
|
225
229
|
* @throws {RequiredError}
|
|
226
230
|
* @memberof ChatsApi
|
|
227
231
|
*/
|
|
228
|
-
getChats(branchId: number, q?: string, unassigned?: boolean, unread?: boolean, rowsPerPage?: number, currentPage?: number, userId?: number, externallyInitiated?: boolean, id?: number, assignmentTypeCode?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<PaginationChatResponseDto>>;
|
|
232
|
+
getChats(branchId: number, apikey: string, q?: string, unassigned?: boolean, unread?: boolean, rowsPerPage?: number, currentPage?: number, userId?: number, externallyInitiated?: boolean, id?: number, assignmentTypeCode?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<PaginationChatResponseDto>>;
|
|
229
233
|
/**
|
|
230
234
|
*
|
|
231
235
|
* @param {MarkChatUnreadDto} body
|
package/dist/apis/chats-api.js
CHANGED
|
@@ -163,6 +163,7 @@ const ChatsApiAxiosParamCreator = function (configuration) {
|
|
|
163
163
|
/**
|
|
164
164
|
*
|
|
165
165
|
* @param {number} branchId
|
|
166
|
+
* @param {string} apikey
|
|
166
167
|
* @param {string} [q]
|
|
167
168
|
* @param {boolean} [unassigned]
|
|
168
169
|
* @param {boolean} [unread]
|
|
@@ -175,11 +176,15 @@ const ChatsApiAxiosParamCreator = function (configuration) {
|
|
|
175
176
|
* @param {*} [options] Override http request option.
|
|
176
177
|
* @throws {RequiredError}
|
|
177
178
|
*/
|
|
178
|
-
getChats: (branchId_1, q_1, unassigned_1, unread_1, rowsPerPage_1, currentPage_1, userId_1, externallyInitiated_1, id_1, assignmentTypeCode_1, ...args_1) => __awaiter(this, [branchId_1, q_1, unassigned_1, unread_1, rowsPerPage_1, currentPage_1, userId_1, externallyInitiated_1, id_1, assignmentTypeCode_1, ...args_1], void 0, function* (branchId, q, unassigned, unread, rowsPerPage, currentPage, userId, externallyInitiated, id, assignmentTypeCode, options = {}) {
|
|
179
|
+
getChats: (branchId_1, apikey_1, q_1, unassigned_1, unread_1, rowsPerPage_1, currentPage_1, userId_1, externallyInitiated_1, id_1, assignmentTypeCode_1, ...args_1) => __awaiter(this, [branchId_1, apikey_1, q_1, unassigned_1, unread_1, rowsPerPage_1, currentPage_1, userId_1, externallyInitiated_1, id_1, assignmentTypeCode_1, ...args_1], void 0, function* (branchId, apikey, q, unassigned, unread, rowsPerPage, currentPage, userId, externallyInitiated, id, assignmentTypeCode, options = {}) {
|
|
179
180
|
// verify required parameter 'branchId' is not null or undefined
|
|
180
181
|
if (branchId === null || branchId === undefined) {
|
|
181
182
|
throw new base_1.RequiredError('branchId', 'Required parameter branchId was null or undefined when calling getChats.');
|
|
182
183
|
}
|
|
184
|
+
// verify required parameter 'apikey' is not null or undefined
|
|
185
|
+
if (apikey === null || apikey === undefined) {
|
|
186
|
+
throw new base_1.RequiredError('apikey', 'Required parameter apikey was null or undefined when calling getChats.');
|
|
187
|
+
}
|
|
183
188
|
const localVarPath = `/api/chats`;
|
|
184
189
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
185
190
|
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
@@ -220,6 +225,9 @@ const ChatsApiAxiosParamCreator = function (configuration) {
|
|
|
220
225
|
if (assignmentTypeCode !== undefined) {
|
|
221
226
|
localVarQueryParameter['assignmentTypeCode'] = assignmentTypeCode;
|
|
222
227
|
}
|
|
228
|
+
if (apikey !== undefined && apikey !== null) {
|
|
229
|
+
localVarHeaderParameter['apikey'] = String(apikey);
|
|
230
|
+
}
|
|
223
231
|
const query = new URLSearchParams(localVarUrlObj.search);
|
|
224
232
|
for (const key in localVarQueryParameter) {
|
|
225
233
|
query.set(key, localVarQueryParameter[key]);
|
|
@@ -339,6 +347,7 @@ const ChatsApiFp = function (configuration) {
|
|
|
339
347
|
/**
|
|
340
348
|
*
|
|
341
349
|
* @param {number} branchId
|
|
350
|
+
* @param {string} apikey
|
|
342
351
|
* @param {string} [q]
|
|
343
352
|
* @param {boolean} [unassigned]
|
|
344
353
|
* @param {boolean} [unread]
|
|
@@ -351,9 +360,9 @@ const ChatsApiFp = function (configuration) {
|
|
|
351
360
|
* @param {*} [options] Override http request option.
|
|
352
361
|
* @throws {RequiredError}
|
|
353
362
|
*/
|
|
354
|
-
getChats(branchId, q, unassigned, unread, rowsPerPage, currentPage, userId, externallyInitiated, id, assignmentTypeCode, options) {
|
|
363
|
+
getChats(branchId, apikey, q, unassigned, unread, rowsPerPage, currentPage, userId, externallyInitiated, id, assignmentTypeCode, options) {
|
|
355
364
|
return __awaiter(this, void 0, void 0, function* () {
|
|
356
|
-
const localVarAxiosArgs = yield (0, exports.ChatsApiAxiosParamCreator)(configuration).getChats(branchId, q, unassigned, unread, rowsPerPage, currentPage, userId, externallyInitiated, id, assignmentTypeCode, options);
|
|
365
|
+
const localVarAxiosArgs = yield (0, exports.ChatsApiAxiosParamCreator)(configuration).getChats(branchId, apikey, q, unassigned, unread, rowsPerPage, currentPage, userId, externallyInitiated, id, assignmentTypeCode, options);
|
|
357
366
|
return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
|
|
358
367
|
const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
359
368
|
return axios.request(axiosRequestArgs);
|
|
@@ -423,6 +432,7 @@ const ChatsApiFactory = function (configuration, basePath, axios) {
|
|
|
423
432
|
/**
|
|
424
433
|
*
|
|
425
434
|
* @param {number} branchId
|
|
435
|
+
* @param {string} apikey
|
|
426
436
|
* @param {string} [q]
|
|
427
437
|
* @param {boolean} [unassigned]
|
|
428
438
|
* @param {boolean} [unread]
|
|
@@ -435,9 +445,9 @@ const ChatsApiFactory = function (configuration, basePath, axios) {
|
|
|
435
445
|
* @param {*} [options] Override http request option.
|
|
436
446
|
* @throws {RequiredError}
|
|
437
447
|
*/
|
|
438
|
-
getChats(branchId, q, unassigned, unread, rowsPerPage, currentPage, userId, externallyInitiated, id, assignmentTypeCode, options) {
|
|
448
|
+
getChats(branchId, apikey, q, unassigned, unread, rowsPerPage, currentPage, userId, externallyInitiated, id, assignmentTypeCode, options) {
|
|
439
449
|
return __awaiter(this, void 0, void 0, function* () {
|
|
440
|
-
return (0, exports.ChatsApiFp)(configuration).getChats(branchId, q, unassigned, unread, rowsPerPage, currentPage, userId, externallyInitiated, id, assignmentTypeCode, options).then((request) => request(axios, basePath));
|
|
450
|
+
return (0, exports.ChatsApiFp)(configuration).getChats(branchId, apikey, q, unassigned, unread, rowsPerPage, currentPage, userId, externallyInitiated, id, assignmentTypeCode, options).then((request) => request(axios, basePath));
|
|
441
451
|
});
|
|
442
452
|
},
|
|
443
453
|
/**
|
|
@@ -503,6 +513,7 @@ class ChatsApi extends base_1.BaseAPI {
|
|
|
503
513
|
/**
|
|
504
514
|
*
|
|
505
515
|
* @param {number} branchId
|
|
516
|
+
* @param {string} apikey
|
|
506
517
|
* @param {string} [q]
|
|
507
518
|
* @param {boolean} [unassigned]
|
|
508
519
|
* @param {boolean} [unread]
|
|
@@ -516,9 +527,9 @@ class ChatsApi extends base_1.BaseAPI {
|
|
|
516
527
|
* @throws {RequiredError}
|
|
517
528
|
* @memberof ChatsApi
|
|
518
529
|
*/
|
|
519
|
-
getChats(branchId, q, unassigned, unread, rowsPerPage, currentPage, userId, externallyInitiated, id, assignmentTypeCode, options) {
|
|
530
|
+
getChats(branchId, apikey, q, unassigned, unread, rowsPerPage, currentPage, userId, externallyInitiated, id, assignmentTypeCode, options) {
|
|
520
531
|
return __awaiter(this, void 0, void 0, function* () {
|
|
521
|
-
return (0, exports.ChatsApiFp)(this.configuration).getChats(branchId, q, unassigned, unread, rowsPerPage, currentPage, userId, externallyInitiated, id, assignmentTypeCode, options).then((request) => request(this.axios, this.basePath));
|
|
532
|
+
return (0, exports.ChatsApiFp)(this.configuration).getChats(branchId, apikey, q, unassigned, unread, rowsPerPage, currentPage, userId, externallyInitiated, id, assignmentTypeCode, options).then((request) => request(this.axios, this.basePath));
|
|
522
533
|
});
|
|
523
534
|
}
|
|
524
535
|
/**
|