ch-admin-api-client-typescript 3.5.0 → 3.5.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/lib/api.d.ts +103 -11
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +28 -14
- package/package.json +1 -1
- package/src/api.ts +117 -17
package/lib/api.js
CHANGED
|
@@ -31408,6 +31408,7 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
31408
31408
|
/**
|
|
31409
31409
|
*
|
|
31410
31410
|
* @summary Get all ServiceReviews.
|
|
31411
|
+
* @param {string} [id]
|
|
31411
31412
|
* @param {string} [serviceId]
|
|
31412
31413
|
* @param {string} [serviceName]
|
|
31413
31414
|
* @param {string} [patientId]
|
|
@@ -31424,7 +31425,7 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
31424
31425
|
* @param {*} [options] Override http request option.
|
|
31425
31426
|
* @throws {RequiredError}
|
|
31426
31427
|
*/
|
|
31427
|
-
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
31428
|
+
apiV1ServicereviewsGet: function (id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
31428
31429
|
if (options === void 0) { options = {}; }
|
|
31429
31430
|
return __awaiter(_this, void 0, void 0, function () {
|
|
31430
31431
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -31446,6 +31447,9 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
31446
31447
|
// authentication oauth2 required
|
|
31447
31448
|
// oauth required
|
|
31448
31449
|
_a.sent();
|
|
31450
|
+
if (id !== undefined) {
|
|
31451
|
+
localVarQueryParameter['Id'] = id;
|
|
31452
|
+
}
|
|
31449
31453
|
if (serviceId !== undefined) {
|
|
31450
31454
|
localVarQueryParameter['ServiceId'] = serviceId;
|
|
31451
31455
|
}
|
|
@@ -31586,10 +31590,11 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
31586
31590
|
/**
|
|
31587
31591
|
*
|
|
31588
31592
|
* @param {string} serviceReviewId
|
|
31593
|
+
* @param {string} [languageCode]
|
|
31589
31594
|
* @param {*} [options] Override http request option.
|
|
31590
31595
|
* @throws {RequiredError}
|
|
31591
31596
|
*/
|
|
31592
|
-
apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
31597
|
+
apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, options) {
|
|
31593
31598
|
if (options === void 0) { options = {}; }
|
|
31594
31599
|
return __awaiter(_this, void 0, void 0, function () {
|
|
31595
31600
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -31614,6 +31619,9 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
31614
31619
|
// authentication oauth2 required
|
|
31615
31620
|
// oauth required
|
|
31616
31621
|
_a.sent();
|
|
31622
|
+
if (languageCode !== undefined) {
|
|
31623
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
31624
|
+
}
|
|
31617
31625
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31618
31626
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31619
31627
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -31938,6 +31946,7 @@ exports.ServiceReviewsApiFp = function (configuration) {
|
|
|
31938
31946
|
/**
|
|
31939
31947
|
*
|
|
31940
31948
|
* @summary Get all ServiceReviews.
|
|
31949
|
+
* @param {string} [id]
|
|
31941
31950
|
* @param {string} [serviceId]
|
|
31942
31951
|
* @param {string} [serviceName]
|
|
31943
31952
|
* @param {string} [patientId]
|
|
@@ -31954,12 +31963,12 @@ exports.ServiceReviewsApiFp = function (configuration) {
|
|
|
31954
31963
|
* @param {*} [options] Override http request option.
|
|
31955
31964
|
* @throws {RequiredError}
|
|
31956
31965
|
*/
|
|
31957
|
-
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
31966
|
+
apiV1ServicereviewsGet: function (id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
31958
31967
|
return __awaiter(this, void 0, void 0, function () {
|
|
31959
31968
|
var localVarAxiosArgs;
|
|
31960
31969
|
return __generator(this, function (_a) {
|
|
31961
31970
|
switch (_a.label) {
|
|
31962
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
31971
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
31963
31972
|
case 1:
|
|
31964
31973
|
localVarAxiosArgs = _a.sent();
|
|
31965
31974
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -32010,15 +32019,16 @@ exports.ServiceReviewsApiFp = function (configuration) {
|
|
|
32010
32019
|
/**
|
|
32011
32020
|
*
|
|
32012
32021
|
* @param {string} serviceReviewId
|
|
32022
|
+
* @param {string} [languageCode]
|
|
32013
32023
|
* @param {*} [options] Override http request option.
|
|
32014
32024
|
* @throws {RequiredError}
|
|
32015
32025
|
*/
|
|
32016
|
-
apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
32026
|
+
apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, options) {
|
|
32017
32027
|
return __awaiter(this, void 0, void 0, function () {
|
|
32018
32028
|
var localVarAxiosArgs;
|
|
32019
32029
|
return __generator(this, function (_a) {
|
|
32020
32030
|
switch (_a.label) {
|
|
32021
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options)];
|
|
32031
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options)];
|
|
32022
32032
|
case 1:
|
|
32023
32033
|
localVarAxiosArgs = _a.sent();
|
|
32024
32034
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -32169,6 +32179,7 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
32169
32179
|
/**
|
|
32170
32180
|
*
|
|
32171
32181
|
* @summary Get all ServiceReviews.
|
|
32182
|
+
* @param {string} [id]
|
|
32172
32183
|
* @param {string} [serviceId]
|
|
32173
32184
|
* @param {string} [serviceName]
|
|
32174
32185
|
* @param {string} [patientId]
|
|
@@ -32185,8 +32196,8 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
32185
32196
|
* @param {*} [options] Override http request option.
|
|
32186
32197
|
* @throws {RequiredError}
|
|
32187
32198
|
*/
|
|
32188
|
-
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
32189
|
-
return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
32199
|
+
apiV1ServicereviewsGet: function (id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
32200
|
+
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); });
|
|
32190
32201
|
},
|
|
32191
32202
|
/**
|
|
32192
32203
|
*
|
|
@@ -32211,11 +32222,12 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
32211
32222
|
/**
|
|
32212
32223
|
*
|
|
32213
32224
|
* @param {string} serviceReviewId
|
|
32225
|
+
* @param {string} [languageCode]
|
|
32214
32226
|
* @param {*} [options] Override http request option.
|
|
32215
32227
|
* @throws {RequiredError}
|
|
32216
32228
|
*/
|
|
32217
|
-
apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
32218
|
-
return localVarFp.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(axios, basePath); });
|
|
32229
|
+
apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, options) {
|
|
32230
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
32219
32231
|
},
|
|
32220
32232
|
/**
|
|
32221
32233
|
*
|
|
@@ -32304,6 +32316,7 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
32304
32316
|
/**
|
|
32305
32317
|
*
|
|
32306
32318
|
* @summary Get all ServiceReviews.
|
|
32319
|
+
* @param {string} [id]
|
|
32307
32320
|
* @param {string} [serviceId]
|
|
32308
32321
|
* @param {string} [serviceName]
|
|
32309
32322
|
* @param {string} [patientId]
|
|
@@ -32321,9 +32334,9 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
32321
32334
|
* @throws {RequiredError}
|
|
32322
32335
|
* @memberof ServiceReviewsApi
|
|
32323
32336
|
*/
|
|
32324
|
-
ServiceReviewsApi.prototype.apiV1ServicereviewsGet = function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
32337
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsGet = function (id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
32325
32338
|
var _this = this;
|
|
32326
|
-
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
32339
|
+
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); });
|
|
32327
32340
|
};
|
|
32328
32341
|
/**
|
|
32329
32342
|
*
|
|
@@ -32352,13 +32365,14 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
32352
32365
|
/**
|
|
32353
32366
|
*
|
|
32354
32367
|
* @param {string} serviceReviewId
|
|
32368
|
+
* @param {string} [languageCode]
|
|
32355
32369
|
* @param {*} [options] Override http request option.
|
|
32356
32370
|
* @throws {RequiredError}
|
|
32357
32371
|
* @memberof ServiceReviewsApi
|
|
32358
32372
|
*/
|
|
32359
|
-
ServiceReviewsApi.prototype.apiV1ServicereviewsServiceReviewIdGet = function (serviceReviewId, options) {
|
|
32373
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsServiceReviewIdGet = function (serviceReviewId, languageCode, options) {
|
|
32360
32374
|
var _this = this;
|
|
32361
|
-
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
32375
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
32362
32376
|
};
|
|
32363
32377
|
/**
|
|
32364
32378
|
*
|
package/package.json
CHANGED
package/src/api.ts
CHANGED
|
@@ -4802,7 +4802,19 @@ export interface CreateServiceReviewCommand {
|
|
|
4802
4802
|
* @type {string}
|
|
4803
4803
|
* @memberof CreateServiceReviewCommand
|
|
4804
4804
|
*/
|
|
4805
|
-
'
|
|
4805
|
+
'name'?: string | null;
|
|
4806
|
+
/**
|
|
4807
|
+
*
|
|
4808
|
+
* @type {string}
|
|
4809
|
+
* @memberof CreateServiceReviewCommand
|
|
4810
|
+
*/
|
|
4811
|
+
'description'?: string | null;
|
|
4812
|
+
/**
|
|
4813
|
+
*
|
|
4814
|
+
* @type {string}
|
|
4815
|
+
* @memberof CreateServiceReviewCommand
|
|
4816
|
+
*/
|
|
4817
|
+
'content'?: string | null;
|
|
4806
4818
|
/**
|
|
4807
4819
|
*
|
|
4808
4820
|
* @type {boolean}
|
|
@@ -10242,6 +10254,24 @@ export interface ServiceReviewItemModel {
|
|
|
10242
10254
|
* @memberof ServiceReviewItemModel
|
|
10243
10255
|
*/
|
|
10244
10256
|
'languageCode'?: string | null;
|
|
10257
|
+
/**
|
|
10258
|
+
*
|
|
10259
|
+
* @type {string}
|
|
10260
|
+
* @memberof ServiceReviewItemModel
|
|
10261
|
+
*/
|
|
10262
|
+
'name'?: string | null;
|
|
10263
|
+
/**
|
|
10264
|
+
*
|
|
10265
|
+
* @type {string}
|
|
10266
|
+
* @memberof ServiceReviewItemModel
|
|
10267
|
+
*/
|
|
10268
|
+
'slug'?: string | null;
|
|
10269
|
+
/**
|
|
10270
|
+
*
|
|
10271
|
+
* @type {boolean}
|
|
10272
|
+
* @memberof ServiceReviewItemModel
|
|
10273
|
+
*/
|
|
10274
|
+
'confirmed'?: boolean;
|
|
10245
10275
|
/**
|
|
10246
10276
|
*
|
|
10247
10277
|
* @type {string}
|
|
@@ -10321,6 +10351,24 @@ export interface ServiceReviewModel {
|
|
|
10321
10351
|
* @memberof ServiceReviewModel
|
|
10322
10352
|
*/
|
|
10323
10353
|
'languageCode'?: string | null;
|
|
10354
|
+
/**
|
|
10355
|
+
*
|
|
10356
|
+
* @type {string}
|
|
10357
|
+
* @memberof ServiceReviewModel
|
|
10358
|
+
*/
|
|
10359
|
+
'name'?: string | null;
|
|
10360
|
+
/**
|
|
10361
|
+
*
|
|
10362
|
+
* @type {string}
|
|
10363
|
+
* @memberof ServiceReviewModel
|
|
10364
|
+
*/
|
|
10365
|
+
'slug'?: string | null;
|
|
10366
|
+
/**
|
|
10367
|
+
*
|
|
10368
|
+
* @type {boolean}
|
|
10369
|
+
* @memberof ServiceReviewModel
|
|
10370
|
+
*/
|
|
10371
|
+
'confirmed'?: boolean;
|
|
10324
10372
|
/**
|
|
10325
10373
|
*
|
|
10326
10374
|
* @type {string}
|
|
@@ -10386,7 +10434,19 @@ export interface ServiceReviewModel {
|
|
|
10386
10434
|
* @type {string}
|
|
10387
10435
|
* @memberof ServiceReviewModel
|
|
10388
10436
|
*/
|
|
10389
|
-
'
|
|
10437
|
+
'description'?: string | null;
|
|
10438
|
+
/**
|
|
10439
|
+
*
|
|
10440
|
+
* @type {string}
|
|
10441
|
+
* @memberof ServiceReviewModel
|
|
10442
|
+
*/
|
|
10443
|
+
'overview'?: string | null;
|
|
10444
|
+
/**
|
|
10445
|
+
*
|
|
10446
|
+
* @type {string}
|
|
10447
|
+
* @memberof ServiceReviewModel
|
|
10448
|
+
*/
|
|
10449
|
+
'content'?: string | null;
|
|
10390
10450
|
}
|
|
10391
10451
|
/**
|
|
10392
10452
|
*
|
|
@@ -13175,7 +13235,31 @@ export interface UpdateServiceReviewCommand {
|
|
|
13175
13235
|
* @type {string}
|
|
13176
13236
|
* @memberof UpdateServiceReviewCommand
|
|
13177
13237
|
*/
|
|
13178
|
-
'
|
|
13238
|
+
'name'?: string | null;
|
|
13239
|
+
/**
|
|
13240
|
+
*
|
|
13241
|
+
* @type {string}
|
|
13242
|
+
* @memberof UpdateServiceReviewCommand
|
|
13243
|
+
*/
|
|
13244
|
+
'slug'?: string | null;
|
|
13245
|
+
/**
|
|
13246
|
+
*
|
|
13247
|
+
* @type {string}
|
|
13248
|
+
* @memberof UpdateServiceReviewCommand
|
|
13249
|
+
*/
|
|
13250
|
+
'description'?: string | null;
|
|
13251
|
+
/**
|
|
13252
|
+
*
|
|
13253
|
+
* @type {string}
|
|
13254
|
+
* @memberof UpdateServiceReviewCommand
|
|
13255
|
+
*/
|
|
13256
|
+
'content'?: string | null;
|
|
13257
|
+
/**
|
|
13258
|
+
*
|
|
13259
|
+
* @type {string}
|
|
13260
|
+
* @memberof UpdateServiceReviewCommand
|
|
13261
|
+
*/
|
|
13262
|
+
'languageCode'?: string | null;
|
|
13179
13263
|
/**
|
|
13180
13264
|
*
|
|
13181
13265
|
* @type {boolean}
|
|
@@ -41255,6 +41339,7 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
41255
41339
|
/**
|
|
41256
41340
|
*
|
|
41257
41341
|
* @summary Get all ServiceReviews.
|
|
41342
|
+
* @param {string} [id]
|
|
41258
41343
|
* @param {string} [serviceId]
|
|
41259
41344
|
* @param {string} [serviceName]
|
|
41260
41345
|
* @param {string} [patientId]
|
|
@@ -41271,7 +41356,7 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
41271
41356
|
* @param {*} [options] Override http request option.
|
|
41272
41357
|
* @throws {RequiredError}
|
|
41273
41358
|
*/
|
|
41274
|
-
apiV1ServicereviewsGet: async (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> => {
|
|
41359
|
+
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> => {
|
|
41275
41360
|
const localVarPath = `/api/v1/servicereviews`;
|
|
41276
41361
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41277
41362
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -41288,6 +41373,10 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
41288
41373
|
// oauth required
|
|
41289
41374
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
41290
41375
|
|
|
41376
|
+
if (id !== undefined) {
|
|
41377
|
+
localVarQueryParameter['Id'] = id;
|
|
41378
|
+
}
|
|
41379
|
+
|
|
41291
41380
|
if (serviceId !== undefined) {
|
|
41292
41381
|
localVarQueryParameter['ServiceId'] = serviceId;
|
|
41293
41382
|
}
|
|
@@ -41432,10 +41521,11 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
41432
41521
|
/**
|
|
41433
41522
|
*
|
|
41434
41523
|
* @param {string} serviceReviewId
|
|
41524
|
+
* @param {string} [languageCode]
|
|
41435
41525
|
* @param {*} [options] Override http request option.
|
|
41436
41526
|
* @throws {RequiredError}
|
|
41437
41527
|
*/
|
|
41438
|
-
apiV1ServicereviewsServiceReviewIdGet: async (serviceReviewId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41528
|
+
apiV1ServicereviewsServiceReviewIdGet: async (serviceReviewId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41439
41529
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
41440
41530
|
assertParamExists('apiV1ServicereviewsServiceReviewIdGet', 'serviceReviewId', serviceReviewId)
|
|
41441
41531
|
const localVarPath = `/api/v1/servicereviews/{serviceReviewId}`
|
|
@@ -41455,6 +41545,10 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
41455
41545
|
// oauth required
|
|
41456
41546
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
41457
41547
|
|
|
41548
|
+
if (languageCode !== undefined) {
|
|
41549
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
41550
|
+
}
|
|
41551
|
+
|
|
41458
41552
|
|
|
41459
41553
|
|
|
41460
41554
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -41758,6 +41852,7 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
41758
41852
|
/**
|
|
41759
41853
|
*
|
|
41760
41854
|
* @summary Get all ServiceReviews.
|
|
41855
|
+
* @param {string} [id]
|
|
41761
41856
|
* @param {string} [serviceId]
|
|
41762
41857
|
* @param {string} [serviceName]
|
|
41763
41858
|
* @param {string} [patientId]
|
|
@@ -41774,8 +41869,8 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
41774
41869
|
* @param {*} [options] Override http request option.
|
|
41775
41870
|
* @throws {RequiredError}
|
|
41776
41871
|
*/
|
|
41777
|
-
async apiV1ServicereviewsGet(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>> {
|
|
41778
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
41872
|
+
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>> {
|
|
41873
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
41779
41874
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41780
41875
|
},
|
|
41781
41876
|
/**
|
|
@@ -41803,11 +41898,12 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
41803
41898
|
/**
|
|
41804
41899
|
*
|
|
41805
41900
|
* @param {string} serviceReviewId
|
|
41901
|
+
* @param {string} [languageCode]
|
|
41806
41902
|
* @param {*} [options] Override http request option.
|
|
41807
41903
|
* @throws {RequiredError}
|
|
41808
41904
|
*/
|
|
41809
|
-
async apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
|
|
41810
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options);
|
|
41905
|
+
async apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
|
|
41906
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options);
|
|
41811
41907
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41812
41908
|
},
|
|
41813
41909
|
/**
|
|
@@ -41900,6 +41996,7 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
|
|
|
41900
41996
|
/**
|
|
41901
41997
|
*
|
|
41902
41998
|
* @summary Get all ServiceReviews.
|
|
41999
|
+
* @param {string} [id]
|
|
41903
42000
|
* @param {string} [serviceId]
|
|
41904
42001
|
* @param {string} [serviceName]
|
|
41905
42002
|
* @param {string} [patientId]
|
|
@@ -41916,8 +42013,8 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
|
|
|
41916
42013
|
* @param {*} [options] Override http request option.
|
|
41917
42014
|
* @throws {RequiredError}
|
|
41918
42015
|
*/
|
|
41919
|
-
apiV1ServicereviewsGet(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> {
|
|
41920
|
-
return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
42016
|
+
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> {
|
|
42017
|
+
return localVarFp.apiV1ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
41921
42018
|
},
|
|
41922
42019
|
/**
|
|
41923
42020
|
*
|
|
@@ -41942,11 +42039,12 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
|
|
|
41942
42039
|
/**
|
|
41943
42040
|
*
|
|
41944
42041
|
* @param {string} serviceReviewId
|
|
42042
|
+
* @param {string} [languageCode]
|
|
41945
42043
|
* @param {*} [options] Override http request option.
|
|
41946
42044
|
* @throws {RequiredError}
|
|
41947
42045
|
*/
|
|
41948
|
-
apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: any): AxiosPromise<ServiceReviewModel> {
|
|
41949
|
-
return localVarFp.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options).then((request) => request(axios, basePath));
|
|
42046
|
+
apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, options?: any): AxiosPromise<ServiceReviewModel> {
|
|
42047
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options).then((request) => request(axios, basePath));
|
|
41950
42048
|
},
|
|
41951
42049
|
/**
|
|
41952
42050
|
*
|
|
@@ -42032,6 +42130,7 @@ export class ServiceReviewsApi extends BaseAPI {
|
|
|
42032
42130
|
/**
|
|
42033
42131
|
*
|
|
42034
42132
|
* @summary Get all ServiceReviews.
|
|
42133
|
+
* @param {string} [id]
|
|
42035
42134
|
* @param {string} [serviceId]
|
|
42036
42135
|
* @param {string} [serviceName]
|
|
42037
42136
|
* @param {string} [patientId]
|
|
@@ -42049,8 +42148,8 @@ export class ServiceReviewsApi extends BaseAPI {
|
|
|
42049
42148
|
* @throws {RequiredError}
|
|
42050
42149
|
* @memberof ServiceReviewsApi
|
|
42051
42150
|
*/
|
|
42052
|
-
public apiV1ServicereviewsGet(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) {
|
|
42053
|
-
return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
42151
|
+
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) {
|
|
42152
|
+
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));
|
|
42054
42153
|
}
|
|
42055
42154
|
|
|
42056
42155
|
/**
|
|
@@ -42080,12 +42179,13 @@ export class ServiceReviewsApi extends BaseAPI {
|
|
|
42080
42179
|
/**
|
|
42081
42180
|
*
|
|
42082
42181
|
* @param {string} serviceReviewId
|
|
42182
|
+
* @param {string} [languageCode]
|
|
42083
42183
|
* @param {*} [options] Override http request option.
|
|
42084
42184
|
* @throws {RequiredError}
|
|
42085
42185
|
* @memberof ServiceReviewsApi
|
|
42086
42186
|
*/
|
|
42087
|
-
public apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig) {
|
|
42088
|
-
return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options).then((request) => request(this.axios, this.basePath));
|
|
42187
|
+
public apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
42188
|
+
return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
42089
42189
|
}
|
|
42090
42190
|
|
|
42091
42191
|
/**
|