ch-chat-api-typescript-axios 5.88.0 → 5.88.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.
- package/dist/index.cjs +6 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +23 -15
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +6 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -263,7 +263,7 @@ const DashboardApiAxiosParamCreator = function(configuration) {
|
|
|
263
263
|
options: localVarRequestOptions
|
|
264
264
|
};
|
|
265
265
|
},
|
|
266
|
-
apiV1ChatDashboardSessionsRecentGet: async (tenantId, assigneeId, platformType, page, limit, lastRetrieved, options = {}) => {
|
|
266
|
+
apiV1ChatDashboardSessionsRecentGet: async (tenantId, assigneeId, status, platformType, page, limit, lastRetrieved, options = {}) => {
|
|
267
267
|
const localVarPath = `/api/v1/chat/dashboard/sessions/recent`;
|
|
268
268
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
269
269
|
let baseOptions;
|
|
@@ -278,6 +278,7 @@ const DashboardApiAxiosParamCreator = function(configuration) {
|
|
|
278
278
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_chat_api"], configuration);
|
|
279
279
|
if (tenantId !== void 0) localVarQueryParameter["TenantId"] = tenantId;
|
|
280
280
|
if (assigneeId !== void 0) localVarQueryParameter["AssigneeId"] = assigneeId;
|
|
281
|
+
if (status !== void 0) localVarQueryParameter["Status"] = status;
|
|
281
282
|
if (platformType !== void 0) localVarQueryParameter["PlatformType"] = platformType;
|
|
282
283
|
if (page !== void 0) localVarQueryParameter["page"] = page;
|
|
283
284
|
if (limit !== void 0) localVarQueryParameter["limit"] = limit;
|
|
@@ -331,9 +332,9 @@ const DashboardApiFp = function(configuration) {
|
|
|
331
332
|
const localVarOperationServerBasePath = (_operationServerMap$D4 = operationServerMap["DashboardApi.apiV1ChatDashboardSessionsHospitalsAggregateGet"]) === null || _operationServerMap$D4 === void 0 || (_operationServerMap$D4 = _operationServerMap$D4[localVarOperationServerIndex]) === null || _operationServerMap$D4 === void 0 ? void 0 : _operationServerMap$D4.url;
|
|
332
333
|
return (axios$1, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$1, localVarOperationServerBasePath || basePath);
|
|
333
334
|
},
|
|
334
|
-
async apiV1ChatDashboardSessionsRecentGet(tenantId, assigneeId, platformType, page, limit, lastRetrieved, options) {
|
|
335
|
+
async apiV1ChatDashboardSessionsRecentGet(tenantId, assigneeId, status, platformType, page, limit, lastRetrieved, options) {
|
|
335
336
|
var _configuration$server5, _operationServerMap$D5;
|
|
336
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ChatDashboardSessionsRecentGet(tenantId, assigneeId, platformType, page, limit, lastRetrieved, options);
|
|
337
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ChatDashboardSessionsRecentGet(tenantId, assigneeId, status, platformType, page, limit, lastRetrieved, options);
|
|
337
338
|
const localVarOperationServerIndex = (_configuration$server5 = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _configuration$server5 !== void 0 ? _configuration$server5 : 0;
|
|
338
339
|
const localVarOperationServerBasePath = (_operationServerMap$D5 = operationServerMap["DashboardApi.apiV1ChatDashboardSessionsRecentGet"]) === null || _operationServerMap$D5 === void 0 || (_operationServerMap$D5 = _operationServerMap$D5[localVarOperationServerIndex]) === null || _operationServerMap$D5 === void 0 ? void 0 : _operationServerMap$D5.url;
|
|
339
340
|
return (axios$1, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$1, localVarOperationServerBasePath || basePath);
|
|
@@ -360,7 +361,7 @@ const DashboardApiFactory = function(configuration, basePath, axios$1) {
|
|
|
360
361
|
return localVarFp.apiV1ChatDashboardSessionsHospitalsAggregateGet(requestParameters.tenantId, requestParameters.hospitalName, requestParameters.sortBy, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(axios$1, basePath));
|
|
361
362
|
},
|
|
362
363
|
apiV1ChatDashboardSessionsRecentGet(requestParameters = {}, options) {
|
|
363
|
-
return localVarFp.apiV1ChatDashboardSessionsRecentGet(requestParameters.tenantId, requestParameters.assigneeId, requestParameters.platformType, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(axios$1, basePath));
|
|
364
|
+
return localVarFp.apiV1ChatDashboardSessionsRecentGet(requestParameters.tenantId, requestParameters.assigneeId, requestParameters.status, requestParameters.platformType, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(axios$1, basePath));
|
|
364
365
|
}
|
|
365
366
|
};
|
|
366
367
|
};
|
|
@@ -424,7 +425,7 @@ var DashboardApi = class extends BaseAPI {
|
|
|
424
425
|
* @memberof DashboardApi
|
|
425
426
|
*/
|
|
426
427
|
apiV1ChatDashboardSessionsRecentGet(requestParameters = {}, options) {
|
|
427
|
-
return DashboardApiFp(this.configuration).apiV1ChatDashboardSessionsRecentGet(requestParameters.tenantId, requestParameters.assigneeId, requestParameters.platformType, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
428
|
+
return DashboardApiFp(this.configuration).apiV1ChatDashboardSessionsRecentGet(requestParameters.tenantId, requestParameters.assigneeId, requestParameters.status, requestParameters.platformType, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
428
429
|
}
|
|
429
430
|
};
|
|
430
431
|
|