ch-admin-api-client-typescript 4.3.7 → 4.3.8
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/lib/api.d.ts +24 -4
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +21 -7
- package/package.json +1 -1
- package/src/api.ts +35 -7
package/lib/api.js
CHANGED
|
@@ -32958,6 +32958,8 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
32958
32958
|
* @param {string} [id]
|
|
32959
32959
|
* @param {string} [serviceId]
|
|
32960
32960
|
* @param {string} [serviceName]
|
|
32961
|
+
* @param {string} [hospitalId]
|
|
32962
|
+
* @param {string} [hospitalName]
|
|
32961
32963
|
* @param {string} [patientId]
|
|
32962
32964
|
* @param {string} [patientName]
|
|
32963
32965
|
* @param {Gender} [gender]
|
|
@@ -32972,7 +32974,7 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
32972
32974
|
* @param {*} [options] Override http request option.
|
|
32973
32975
|
* @throws {RequiredError}
|
|
32974
32976
|
*/
|
|
32975
|
-
apiV1ServicereviewsGet: function (id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
32977
|
+
apiV1ServicereviewsGet: function (id, serviceId, serviceName, hospitalId, hospitalName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
32976
32978
|
if (options === void 0) { options = {}; }
|
|
32977
32979
|
return __awaiter(_this, void 0, void 0, function () {
|
|
32978
32980
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -33003,6 +33005,12 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
33003
33005
|
if (serviceName !== undefined) {
|
|
33004
33006
|
localVarQueryParameter['ServiceName'] = serviceName;
|
|
33005
33007
|
}
|
|
33008
|
+
if (hospitalId !== undefined) {
|
|
33009
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
33010
|
+
}
|
|
33011
|
+
if (hospitalName !== undefined) {
|
|
33012
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
33013
|
+
}
|
|
33006
33014
|
if (patientId !== undefined) {
|
|
33007
33015
|
localVarQueryParameter['PatientId'] = patientId;
|
|
33008
33016
|
}
|
|
@@ -33496,6 +33504,8 @@ exports.ServiceReviewsApiFp = function (configuration) {
|
|
|
33496
33504
|
* @param {string} [id]
|
|
33497
33505
|
* @param {string} [serviceId]
|
|
33498
33506
|
* @param {string} [serviceName]
|
|
33507
|
+
* @param {string} [hospitalId]
|
|
33508
|
+
* @param {string} [hospitalName]
|
|
33499
33509
|
* @param {string} [patientId]
|
|
33500
33510
|
* @param {string} [patientName]
|
|
33501
33511
|
* @param {Gender} [gender]
|
|
@@ -33510,12 +33520,12 @@ exports.ServiceReviewsApiFp = function (configuration) {
|
|
|
33510
33520
|
* @param {*} [options] Override http request option.
|
|
33511
33521
|
* @throws {RequiredError}
|
|
33512
33522
|
*/
|
|
33513
|
-
apiV1ServicereviewsGet: function (id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
33523
|
+
apiV1ServicereviewsGet: function (id, serviceId, serviceName, hospitalId, hospitalName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
33514
33524
|
return __awaiter(this, void 0, void 0, function () {
|
|
33515
33525
|
var localVarAxiosArgs;
|
|
33516
33526
|
return __generator(this, function (_a) {
|
|
33517
33527
|
switch (_a.label) {
|
|
33518
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
33528
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsGet(id, serviceId, serviceName, hospitalId, hospitalName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
33519
33529
|
case 1:
|
|
33520
33530
|
localVarAxiosArgs = _a.sent();
|
|
33521
33531
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -33729,6 +33739,8 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
33729
33739
|
* @param {string} [id]
|
|
33730
33740
|
* @param {string} [serviceId]
|
|
33731
33741
|
* @param {string} [serviceName]
|
|
33742
|
+
* @param {string} [hospitalId]
|
|
33743
|
+
* @param {string} [hospitalName]
|
|
33732
33744
|
* @param {string} [patientId]
|
|
33733
33745
|
* @param {string} [patientName]
|
|
33734
33746
|
* @param {Gender} [gender]
|
|
@@ -33743,8 +33755,8 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
33743
33755
|
* @param {*} [options] Override http request option.
|
|
33744
33756
|
* @throws {RequiredError}
|
|
33745
33757
|
*/
|
|
33746
|
-
apiV1ServicereviewsGet: function (id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
33747
|
-
return localVarFp.apiV1ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
33758
|
+
apiV1ServicereviewsGet: function (id, serviceId, serviceName, hospitalId, hospitalName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
33759
|
+
return localVarFp.apiV1ServicereviewsGet(id, serviceId, serviceName, hospitalId, hospitalName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
33748
33760
|
},
|
|
33749
33761
|
/**
|
|
33750
33762
|
*
|
|
@@ -33866,6 +33878,8 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
33866
33878
|
* @param {string} [id]
|
|
33867
33879
|
* @param {string} [serviceId]
|
|
33868
33880
|
* @param {string} [serviceName]
|
|
33881
|
+
* @param {string} [hospitalId]
|
|
33882
|
+
* @param {string} [hospitalName]
|
|
33869
33883
|
* @param {string} [patientId]
|
|
33870
33884
|
* @param {string} [patientName]
|
|
33871
33885
|
* @param {Gender} [gender]
|
|
@@ -33881,9 +33895,9 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
33881
33895
|
* @throws {RequiredError}
|
|
33882
33896
|
* @memberof ServiceReviewsApi
|
|
33883
33897
|
*/
|
|
33884
|
-
ServiceReviewsApi.prototype.apiV1ServicereviewsGet = function (id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
33898
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsGet = function (id, serviceId, serviceName, hospitalId, hospitalName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
33885
33899
|
var _this = this;
|
|
33886
|
-
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
33900
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(id, serviceId, serviceName, hospitalId, hospitalName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
33887
33901
|
};
|
|
33888
33902
|
/**
|
|
33889
33903
|
*
|
package/package.json
CHANGED
package/src/api.ts
CHANGED
|
@@ -11278,6 +11278,12 @@ export interface ServiceReviewItemModel {
|
|
|
11278
11278
|
* @memberof ServiceReviewItemModel
|
|
11279
11279
|
*/
|
|
11280
11280
|
'hospitalId'?: string;
|
|
11281
|
+
/**
|
|
11282
|
+
*
|
|
11283
|
+
* @type {string}
|
|
11284
|
+
* @memberof ServiceReviewItemModel
|
|
11285
|
+
*/
|
|
11286
|
+
'hospitalName'?: string | null;
|
|
11281
11287
|
/**
|
|
11282
11288
|
*
|
|
11283
11289
|
* @type {string}
|
|
@@ -11381,6 +11387,12 @@ export interface ServiceReviewModel {
|
|
|
11381
11387
|
* @memberof ServiceReviewModel
|
|
11382
11388
|
*/
|
|
11383
11389
|
'hospitalId'?: string;
|
|
11390
|
+
/**
|
|
11391
|
+
*
|
|
11392
|
+
* @type {string}
|
|
11393
|
+
* @memberof ServiceReviewModel
|
|
11394
|
+
*/
|
|
11395
|
+
'hospitalName'?: string | null;
|
|
11384
11396
|
/**
|
|
11385
11397
|
*
|
|
11386
11398
|
* @type {string}
|
|
@@ -43812,6 +43824,8 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
43812
43824
|
* @param {string} [id]
|
|
43813
43825
|
* @param {string} [serviceId]
|
|
43814
43826
|
* @param {string} [serviceName]
|
|
43827
|
+
* @param {string} [hospitalId]
|
|
43828
|
+
* @param {string} [hospitalName]
|
|
43815
43829
|
* @param {string} [patientId]
|
|
43816
43830
|
* @param {string} [patientName]
|
|
43817
43831
|
* @param {Gender} [gender]
|
|
@@ -43826,7 +43840,7 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
43826
43840
|
* @param {*} [options] Override http request option.
|
|
43827
43841
|
* @throws {RequiredError}
|
|
43828
43842
|
*/
|
|
43829
|
-
apiV1ServicereviewsGet: async (id?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43843
|
+
apiV1ServicereviewsGet: async (id?: string, serviceId?: string, serviceName?: string, hospitalId?: string, hospitalName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43830
43844
|
const localVarPath = `/api/v1/servicereviews`;
|
|
43831
43845
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43832
43846
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -43855,6 +43869,14 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
43855
43869
|
localVarQueryParameter['ServiceName'] = serviceName;
|
|
43856
43870
|
}
|
|
43857
43871
|
|
|
43872
|
+
if (hospitalId !== undefined) {
|
|
43873
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
43874
|
+
}
|
|
43875
|
+
|
|
43876
|
+
if (hospitalName !== undefined) {
|
|
43877
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
43878
|
+
}
|
|
43879
|
+
|
|
43858
43880
|
if (patientId !== undefined) {
|
|
43859
43881
|
localVarQueryParameter['PatientId'] = patientId;
|
|
43860
43882
|
}
|
|
@@ -44325,6 +44347,8 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
44325
44347
|
* @param {string} [id]
|
|
44326
44348
|
* @param {string} [serviceId]
|
|
44327
44349
|
* @param {string} [serviceName]
|
|
44350
|
+
* @param {string} [hospitalId]
|
|
44351
|
+
* @param {string} [hospitalName]
|
|
44328
44352
|
* @param {string} [patientId]
|
|
44329
44353
|
* @param {string} [patientName]
|
|
44330
44354
|
* @param {Gender} [gender]
|
|
@@ -44339,8 +44363,8 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
44339
44363
|
* @param {*} [options] Override http request option.
|
|
44340
44364
|
* @throws {RequiredError}
|
|
44341
44365
|
*/
|
|
44342
|
-
async apiV1ServicereviewsGet(id?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
|
|
44343
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
44366
|
+
async apiV1ServicereviewsGet(id?: string, serviceId?: string, serviceName?: string, hospitalId?: string, hospitalName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
|
|
44367
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsGet(id, serviceId, serviceName, hospitalId, hospitalName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
44344
44368
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
44345
44369
|
},
|
|
44346
44370
|
/**
|
|
@@ -44469,6 +44493,8 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
|
|
|
44469
44493
|
* @param {string} [id]
|
|
44470
44494
|
* @param {string} [serviceId]
|
|
44471
44495
|
* @param {string} [serviceName]
|
|
44496
|
+
* @param {string} [hospitalId]
|
|
44497
|
+
* @param {string} [hospitalName]
|
|
44472
44498
|
* @param {string} [patientId]
|
|
44473
44499
|
* @param {string} [patientName]
|
|
44474
44500
|
* @param {Gender} [gender]
|
|
@@ -44483,8 +44509,8 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
|
|
|
44483
44509
|
* @param {*} [options] Override http request option.
|
|
44484
44510
|
* @throws {RequiredError}
|
|
44485
44511
|
*/
|
|
44486
|
-
apiV1ServicereviewsGet(id?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
|
|
44487
|
-
return localVarFp.apiV1ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
44512
|
+
apiV1ServicereviewsGet(id?: string, serviceId?: string, serviceName?: string, hospitalId?: string, hospitalName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
|
|
44513
|
+
return localVarFp.apiV1ServicereviewsGet(id, serviceId, serviceName, hospitalId, hospitalName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
44488
44514
|
},
|
|
44489
44515
|
/**
|
|
44490
44516
|
*
|
|
@@ -44603,6 +44629,8 @@ export class ServiceReviewsApi extends BaseAPI {
|
|
|
44603
44629
|
* @param {string} [id]
|
|
44604
44630
|
* @param {string} [serviceId]
|
|
44605
44631
|
* @param {string} [serviceName]
|
|
44632
|
+
* @param {string} [hospitalId]
|
|
44633
|
+
* @param {string} [hospitalName]
|
|
44606
44634
|
* @param {string} [patientId]
|
|
44607
44635
|
* @param {string} [patientName]
|
|
44608
44636
|
* @param {Gender} [gender]
|
|
@@ -44618,8 +44646,8 @@ export class ServiceReviewsApi extends BaseAPI {
|
|
|
44618
44646
|
* @throws {RequiredError}
|
|
44619
44647
|
* @memberof ServiceReviewsApi
|
|
44620
44648
|
*/
|
|
44621
|
-
public apiV1ServicereviewsGet(id?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
44622
|
-
return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
44649
|
+
public apiV1ServicereviewsGet(id?: string, serviceId?: string, serviceName?: string, hospitalId?: string, hospitalName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
44650
|
+
return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(id, serviceId, serviceName, hospitalId, hospitalName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
44623
44651
|
}
|
|
44624
44652
|
|
|
44625
44653
|
/**
|