ch-api-client-typescript2 3.5.1 → 3.5.2
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 +56 -82
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +33 -26
- package/package.json +1 -1
- package/src/api.ts +70 -92
package/lib/api.js
CHANGED
|
@@ -15438,7 +15438,7 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
15438
15438
|
/**
|
|
15439
15439
|
*
|
|
15440
15440
|
* @summary Get all ServiceReviews.
|
|
15441
|
-
* @param {string} [
|
|
15441
|
+
* @param {string} [id]
|
|
15442
15442
|
* @param {string} [serviceId]
|
|
15443
15443
|
* @param {string} [serviceName]
|
|
15444
15444
|
* @param {string} [patientId]
|
|
@@ -15448,14 +15448,14 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
15448
15448
|
* @param {number} [rate]
|
|
15449
15449
|
* @param {ReviewType} [reviewType]
|
|
15450
15450
|
* @param {string} [languageCode]
|
|
15451
|
-
* @param {boolean} [
|
|
15451
|
+
* @param {boolean} [showHidden]
|
|
15452
15452
|
* @param {number} [page]
|
|
15453
15453
|
* @param {number} [limit]
|
|
15454
15454
|
* @param {Date} [lastRetrieved]
|
|
15455
15455
|
* @param {*} [options] Override http request option.
|
|
15456
15456
|
* @throws {RequiredError}
|
|
15457
15457
|
*/
|
|
15458
|
-
apiV2ServicereviewsGet: function (
|
|
15458
|
+
apiV2ServicereviewsGet: function (id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
15459
15459
|
if (options === void 0) { options = {}; }
|
|
15460
15460
|
return __awaiter(_this, void 0, void 0, function () {
|
|
15461
15461
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -15468,8 +15468,8 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
15468
15468
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
15469
15469
|
localVarHeaderParameter = {};
|
|
15470
15470
|
localVarQueryParameter = {};
|
|
15471
|
-
if (
|
|
15472
|
-
localVarQueryParameter['
|
|
15471
|
+
if (id !== undefined) {
|
|
15472
|
+
localVarQueryParameter['Id'] = id;
|
|
15473
15473
|
}
|
|
15474
15474
|
if (serviceId !== undefined) {
|
|
15475
15475
|
localVarQueryParameter['ServiceId'] = serviceId;
|
|
@@ -15498,8 +15498,8 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
15498
15498
|
if (languageCode !== undefined) {
|
|
15499
15499
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
15500
15500
|
}
|
|
15501
|
-
if (
|
|
15502
|
-
localVarQueryParameter['
|
|
15501
|
+
if (showHidden !== undefined) {
|
|
15502
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
15503
15503
|
}
|
|
15504
15504
|
if (page !== undefined) {
|
|
15505
15505
|
localVarQueryParameter['page'] = page;
|
|
@@ -15610,10 +15610,11 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
15610
15610
|
/**
|
|
15611
15611
|
*
|
|
15612
15612
|
* @param {string} serviceReviewId
|
|
15613
|
+
* @param {string} [languageCode]
|
|
15613
15614
|
* @param {*} [options] Override http request option.
|
|
15614
15615
|
* @throws {RequiredError}
|
|
15615
15616
|
*/
|
|
15616
|
-
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
15617
|
+
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, options) {
|
|
15617
15618
|
if (options === void 0) { options = {}; }
|
|
15618
15619
|
return __awaiter(_this, void 0, void 0, function () {
|
|
15619
15620
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -15629,6 +15630,9 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
15629
15630
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
15630
15631
|
localVarHeaderParameter = {};
|
|
15631
15632
|
localVarQueryParameter = {};
|
|
15633
|
+
if (languageCode !== undefined) {
|
|
15634
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
15635
|
+
}
|
|
15632
15636
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15633
15637
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15634
15638
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -15933,7 +15937,7 @@ var ServiceReviewsApiFp = function (configuration) {
|
|
|
15933
15937
|
/**
|
|
15934
15938
|
*
|
|
15935
15939
|
* @summary Get all ServiceReviews.
|
|
15936
|
-
* @param {string} [
|
|
15940
|
+
* @param {string} [id]
|
|
15937
15941
|
* @param {string} [serviceId]
|
|
15938
15942
|
* @param {string} [serviceName]
|
|
15939
15943
|
* @param {string} [patientId]
|
|
@@ -15943,19 +15947,19 @@ var ServiceReviewsApiFp = function (configuration) {
|
|
|
15943
15947
|
* @param {number} [rate]
|
|
15944
15948
|
* @param {ReviewType} [reviewType]
|
|
15945
15949
|
* @param {string} [languageCode]
|
|
15946
|
-
* @param {boolean} [
|
|
15950
|
+
* @param {boolean} [showHidden]
|
|
15947
15951
|
* @param {number} [page]
|
|
15948
15952
|
* @param {number} [limit]
|
|
15949
15953
|
* @param {Date} [lastRetrieved]
|
|
15950
15954
|
* @param {*} [options] Override http request option.
|
|
15951
15955
|
* @throws {RequiredError}
|
|
15952
15956
|
*/
|
|
15953
|
-
apiV2ServicereviewsGet: function (
|
|
15957
|
+
apiV2ServicereviewsGet: function (id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
15954
15958
|
return __awaiter(this, void 0, void 0, function () {
|
|
15955
15959
|
var localVarAxiosArgs;
|
|
15956
15960
|
return __generator(this, function (_a) {
|
|
15957
15961
|
switch (_a.label) {
|
|
15958
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsGet(
|
|
15962
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
15959
15963
|
case 1:
|
|
15960
15964
|
localVarAxiosArgs = _a.sent();
|
|
15961
15965
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -16006,15 +16010,16 @@ var ServiceReviewsApiFp = function (configuration) {
|
|
|
16006
16010
|
/**
|
|
16007
16011
|
*
|
|
16008
16012
|
* @param {string} serviceReviewId
|
|
16013
|
+
* @param {string} [languageCode]
|
|
16009
16014
|
* @param {*} [options] Override http request option.
|
|
16010
16015
|
* @throws {RequiredError}
|
|
16011
16016
|
*/
|
|
16012
|
-
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
16017
|
+
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, options) {
|
|
16013
16018
|
return __awaiter(this, void 0, void 0, function () {
|
|
16014
16019
|
var localVarAxiosArgs;
|
|
16015
16020
|
return __generator(this, function (_a) {
|
|
16016
16021
|
switch (_a.label) {
|
|
16017
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options)];
|
|
16022
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options)];
|
|
16018
16023
|
case 1:
|
|
16019
16024
|
localVarAxiosArgs = _a.sent();
|
|
16020
16025
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -16166,7 +16171,7 @@ var ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
16166
16171
|
/**
|
|
16167
16172
|
*
|
|
16168
16173
|
* @summary Get all ServiceReviews.
|
|
16169
|
-
* @param {string} [
|
|
16174
|
+
* @param {string} [id]
|
|
16170
16175
|
* @param {string} [serviceId]
|
|
16171
16176
|
* @param {string} [serviceName]
|
|
16172
16177
|
* @param {string} [patientId]
|
|
@@ -16176,15 +16181,15 @@ var ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
16176
16181
|
* @param {number} [rate]
|
|
16177
16182
|
* @param {ReviewType} [reviewType]
|
|
16178
16183
|
* @param {string} [languageCode]
|
|
16179
|
-
* @param {boolean} [
|
|
16184
|
+
* @param {boolean} [showHidden]
|
|
16180
16185
|
* @param {number} [page]
|
|
16181
16186
|
* @param {number} [limit]
|
|
16182
16187
|
* @param {Date} [lastRetrieved]
|
|
16183
16188
|
* @param {*} [options] Override http request option.
|
|
16184
16189
|
* @throws {RequiredError}
|
|
16185
16190
|
*/
|
|
16186
|
-
apiV2ServicereviewsGet: function (
|
|
16187
|
-
return localVarFp.apiV2ServicereviewsGet(
|
|
16191
|
+
apiV2ServicereviewsGet: function (id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
16192
|
+
return localVarFp.apiV2ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
16188
16193
|
},
|
|
16189
16194
|
/**
|
|
16190
16195
|
*
|
|
@@ -16209,11 +16214,12 @@ var ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
16209
16214
|
/**
|
|
16210
16215
|
*
|
|
16211
16216
|
* @param {string} serviceReviewId
|
|
16217
|
+
* @param {string} [languageCode]
|
|
16212
16218
|
* @param {*} [options] Override http request option.
|
|
16213
16219
|
* @throws {RequiredError}
|
|
16214
16220
|
*/
|
|
16215
|
-
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
16216
|
-
return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(axios, basePath); });
|
|
16221
|
+
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, options) {
|
|
16222
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
16217
16223
|
},
|
|
16218
16224
|
/**
|
|
16219
16225
|
*
|
|
@@ -16303,7 +16309,7 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
16303
16309
|
/**
|
|
16304
16310
|
*
|
|
16305
16311
|
* @summary Get all ServiceReviews.
|
|
16306
|
-
* @param {string} [
|
|
16312
|
+
* @param {string} [id]
|
|
16307
16313
|
* @param {string} [serviceId]
|
|
16308
16314
|
* @param {string} [serviceName]
|
|
16309
16315
|
* @param {string} [patientId]
|
|
@@ -16313,7 +16319,7 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
16313
16319
|
* @param {number} [rate]
|
|
16314
16320
|
* @param {ReviewType} [reviewType]
|
|
16315
16321
|
* @param {string} [languageCode]
|
|
16316
|
-
* @param {boolean} [
|
|
16322
|
+
* @param {boolean} [showHidden]
|
|
16317
16323
|
* @param {number} [page]
|
|
16318
16324
|
* @param {number} [limit]
|
|
16319
16325
|
* @param {Date} [lastRetrieved]
|
|
@@ -16321,9 +16327,9 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
16321
16327
|
* @throws {RequiredError}
|
|
16322
16328
|
* @memberof ServiceReviewsApi
|
|
16323
16329
|
*/
|
|
16324
|
-
ServiceReviewsApi.prototype.apiV2ServicereviewsGet = function (
|
|
16330
|
+
ServiceReviewsApi.prototype.apiV2ServicereviewsGet = function (id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
16325
16331
|
var _this = this;
|
|
16326
|
-
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsGet(
|
|
16332
|
+
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16327
16333
|
};
|
|
16328
16334
|
/**
|
|
16329
16335
|
*
|
|
@@ -16352,13 +16358,14 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
16352
16358
|
/**
|
|
16353
16359
|
*
|
|
16354
16360
|
* @param {string} serviceReviewId
|
|
16361
|
+
* @param {string} [languageCode]
|
|
16355
16362
|
* @param {*} [options] Override http request option.
|
|
16356
16363
|
* @throws {RequiredError}
|
|
16357
16364
|
* @memberof ServiceReviewsApi
|
|
16358
16365
|
*/
|
|
16359
|
-
ServiceReviewsApi.prototype.apiV2ServicereviewsServiceReviewIdGet = function (serviceReviewId, options) {
|
|
16366
|
+
ServiceReviewsApi.prototype.apiV2ServicereviewsServiceReviewIdGet = function (serviceReviewId, languageCode, options) {
|
|
16360
16367
|
var _this = this;
|
|
16361
|
-
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16368
|
+
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16362
16369
|
};
|
|
16363
16370
|
/**
|
|
16364
16371
|
*
|
package/package.json
CHANGED
package/src/api.ts
CHANGED
|
@@ -3001,7 +3001,19 @@ export interface CreateServiceReviewCommand {
|
|
|
3001
3001
|
* @type {string}
|
|
3002
3002
|
* @memberof CreateServiceReviewCommand
|
|
3003
3003
|
*/
|
|
3004
|
-
'
|
|
3004
|
+
'name'?: string | null;
|
|
3005
|
+
/**
|
|
3006
|
+
*
|
|
3007
|
+
* @type {string}
|
|
3008
|
+
* @memberof CreateServiceReviewCommand
|
|
3009
|
+
*/
|
|
3010
|
+
'description'?: string | null;
|
|
3011
|
+
/**
|
|
3012
|
+
*
|
|
3013
|
+
* @type {string}
|
|
3014
|
+
* @memberof CreateServiceReviewCommand
|
|
3015
|
+
*/
|
|
3016
|
+
'content'?: string | null;
|
|
3005
3017
|
/**
|
|
3006
3018
|
*
|
|
3007
3019
|
* @type {boolean}
|
|
@@ -7987,36 +7999,6 @@ export interface ServiceReviewItemModel {
|
|
|
7987
7999
|
* @memberof ServiceReviewItemModel
|
|
7988
8000
|
*/
|
|
7989
8001
|
'patientName'?: string | null;
|
|
7990
|
-
/**
|
|
7991
|
-
*
|
|
7992
|
-
* @type {Gender}
|
|
7993
|
-
* @memberof ServiceReviewItemModel
|
|
7994
|
-
*/
|
|
7995
|
-
'patientGender'?: Gender;
|
|
7996
|
-
/**
|
|
7997
|
-
*
|
|
7998
|
-
* @type {string}
|
|
7999
|
-
* @memberof ServiceReviewItemModel
|
|
8000
|
-
*/
|
|
8001
|
-
'patientPhoto'?: string | null;
|
|
8002
|
-
/**
|
|
8003
|
-
*
|
|
8004
|
-
* @type {string}
|
|
8005
|
-
* @memberof ServiceReviewItemModel
|
|
8006
|
-
*/
|
|
8007
|
-
'patientPhotoThumbnail'?: string | null;
|
|
8008
|
-
/**
|
|
8009
|
-
*
|
|
8010
|
-
* @type {Date}
|
|
8011
|
-
* @memberof ServiceReviewItemModel
|
|
8012
|
-
*/
|
|
8013
|
-
'patientCreatedDate'?: Date | null;
|
|
8014
|
-
/**
|
|
8015
|
-
*
|
|
8016
|
-
* @type {string}
|
|
8017
|
-
* @memberof ServiceReviewItemModel
|
|
8018
|
-
*/
|
|
8019
|
-
'body'?: string | null;
|
|
8020
8002
|
/**
|
|
8021
8003
|
*
|
|
8022
8004
|
* @type {boolean}
|
|
@@ -8114,36 +8096,6 @@ export interface ServiceReviewModel {
|
|
|
8114
8096
|
* @memberof ServiceReviewModel
|
|
8115
8097
|
*/
|
|
8116
8098
|
'patientName'?: string | null;
|
|
8117
|
-
/**
|
|
8118
|
-
*
|
|
8119
|
-
* @type {Gender}
|
|
8120
|
-
* @memberof ServiceReviewModel
|
|
8121
|
-
*/
|
|
8122
|
-
'patientGender'?: Gender;
|
|
8123
|
-
/**
|
|
8124
|
-
*
|
|
8125
|
-
* @type {string}
|
|
8126
|
-
* @memberof ServiceReviewModel
|
|
8127
|
-
*/
|
|
8128
|
-
'patientPhoto'?: string | null;
|
|
8129
|
-
/**
|
|
8130
|
-
*
|
|
8131
|
-
* @type {string}
|
|
8132
|
-
* @memberof ServiceReviewModel
|
|
8133
|
-
*/
|
|
8134
|
-
'patientPhotoThumbnail'?: string | null;
|
|
8135
|
-
/**
|
|
8136
|
-
*
|
|
8137
|
-
* @type {Date}
|
|
8138
|
-
* @memberof ServiceReviewModel
|
|
8139
|
-
*/
|
|
8140
|
-
'patientCreatedDate'?: Date | null;
|
|
8141
|
-
/**
|
|
8142
|
-
*
|
|
8143
|
-
* @type {string}
|
|
8144
|
-
* @memberof ServiceReviewModel
|
|
8145
|
-
*/
|
|
8146
|
-
'body'?: string | null;
|
|
8147
8099
|
/**
|
|
8148
8100
|
*
|
|
8149
8101
|
* @type {boolean}
|
|
@@ -9250,25 +9202,43 @@ export interface UpdateServiceReviewCommand {
|
|
|
9250
9202
|
* @type {string}
|
|
9251
9203
|
* @memberof UpdateServiceReviewCommand
|
|
9252
9204
|
*/
|
|
9253
|
-
'
|
|
9205
|
+
'name'?: string | null;
|
|
9254
9206
|
/**
|
|
9255
9207
|
*
|
|
9256
|
-
* @type {
|
|
9208
|
+
* @type {string}
|
|
9257
9209
|
* @memberof UpdateServiceReviewCommand
|
|
9258
9210
|
*/
|
|
9259
|
-
'
|
|
9211
|
+
'slug'?: string | null;
|
|
9260
9212
|
/**
|
|
9261
9213
|
*
|
|
9262
|
-
* @type {
|
|
9214
|
+
* @type {string}
|
|
9263
9215
|
* @memberof UpdateServiceReviewCommand
|
|
9264
9216
|
*/
|
|
9265
|
-
'
|
|
9217
|
+
'description'?: string | null;
|
|
9218
|
+
/**
|
|
9219
|
+
*
|
|
9220
|
+
* @type {string}
|
|
9221
|
+
* @memberof UpdateServiceReviewCommand
|
|
9222
|
+
*/
|
|
9223
|
+
'content'?: string | null;
|
|
9266
9224
|
/**
|
|
9267
9225
|
*
|
|
9268
9226
|
* @type {string}
|
|
9269
9227
|
* @memberof UpdateServiceReviewCommand
|
|
9270
9228
|
*/
|
|
9271
9229
|
'languageCode'?: string | null;
|
|
9230
|
+
/**
|
|
9231
|
+
*
|
|
9232
|
+
* @type {boolean}
|
|
9233
|
+
* @memberof UpdateServiceReviewCommand
|
|
9234
|
+
*/
|
|
9235
|
+
'recommended'?: boolean | null;
|
|
9236
|
+
/**
|
|
9237
|
+
*
|
|
9238
|
+
* @type {number}
|
|
9239
|
+
* @memberof UpdateServiceReviewCommand
|
|
9240
|
+
*/
|
|
9241
|
+
'rate'?: number | null;
|
|
9272
9242
|
/**
|
|
9273
9243
|
*
|
|
9274
9244
|
* @type {boolean}
|
|
@@ -23800,7 +23770,7 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
23800
23770
|
/**
|
|
23801
23771
|
*
|
|
23802
23772
|
* @summary Get all ServiceReviews.
|
|
23803
|
-
* @param {string} [
|
|
23773
|
+
* @param {string} [id]
|
|
23804
23774
|
* @param {string} [serviceId]
|
|
23805
23775
|
* @param {string} [serviceName]
|
|
23806
23776
|
* @param {string} [patientId]
|
|
@@ -23810,14 +23780,14 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
23810
23780
|
* @param {number} [rate]
|
|
23811
23781
|
* @param {ReviewType} [reviewType]
|
|
23812
23782
|
* @param {string} [languageCode]
|
|
23813
|
-
* @param {boolean} [
|
|
23783
|
+
* @param {boolean} [showHidden]
|
|
23814
23784
|
* @param {number} [page]
|
|
23815
23785
|
* @param {number} [limit]
|
|
23816
23786
|
* @param {Date} [lastRetrieved]
|
|
23817
23787
|
* @param {*} [options] Override http request option.
|
|
23818
23788
|
* @throws {RequiredError}
|
|
23819
23789
|
*/
|
|
23820
|
-
apiV2ServicereviewsGet: async (
|
|
23790
|
+
apiV2ServicereviewsGet: 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> => {
|
|
23821
23791
|
const localVarPath = `/api/v2/servicereviews`;
|
|
23822
23792
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23823
23793
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -23830,8 +23800,8 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
23830
23800
|
const localVarHeaderParameter = {} as any;
|
|
23831
23801
|
const localVarQueryParameter = {} as any;
|
|
23832
23802
|
|
|
23833
|
-
if (
|
|
23834
|
-
localVarQueryParameter['
|
|
23803
|
+
if (id !== undefined) {
|
|
23804
|
+
localVarQueryParameter['Id'] = id;
|
|
23835
23805
|
}
|
|
23836
23806
|
|
|
23837
23807
|
if (serviceId !== undefined) {
|
|
@@ -23870,8 +23840,8 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
23870
23840
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
23871
23841
|
}
|
|
23872
23842
|
|
|
23873
|
-
if (
|
|
23874
|
-
localVarQueryParameter['
|
|
23843
|
+
if (showHidden !== undefined) {
|
|
23844
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
23875
23845
|
}
|
|
23876
23846
|
|
|
23877
23847
|
if (page !== undefined) {
|
|
@@ -23978,10 +23948,11 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
23978
23948
|
/**
|
|
23979
23949
|
*
|
|
23980
23950
|
* @param {string} serviceReviewId
|
|
23951
|
+
* @param {string} [languageCode]
|
|
23981
23952
|
* @param {*} [options] Override http request option.
|
|
23982
23953
|
* @throws {RequiredError}
|
|
23983
23954
|
*/
|
|
23984
|
-
apiV2ServicereviewsServiceReviewIdGet: async (serviceReviewId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23955
|
+
apiV2ServicereviewsServiceReviewIdGet: async (serviceReviewId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23985
23956
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
23986
23957
|
assertParamExists('apiV2ServicereviewsServiceReviewIdGet', 'serviceReviewId', serviceReviewId)
|
|
23987
23958
|
const localVarPath = `/api/v2/servicereviews/{serviceReviewId}`
|
|
@@ -23997,6 +23968,10 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
23997
23968
|
const localVarHeaderParameter = {} as any;
|
|
23998
23969
|
const localVarQueryParameter = {} as any;
|
|
23999
23970
|
|
|
23971
|
+
if (languageCode !== undefined) {
|
|
23972
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
23973
|
+
}
|
|
23974
|
+
|
|
24000
23975
|
|
|
24001
23976
|
|
|
24002
23977
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -24292,7 +24267,7 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
24292
24267
|
/**
|
|
24293
24268
|
*
|
|
24294
24269
|
* @summary Get all ServiceReviews.
|
|
24295
|
-
* @param {string} [
|
|
24270
|
+
* @param {string} [id]
|
|
24296
24271
|
* @param {string} [serviceId]
|
|
24297
24272
|
* @param {string} [serviceName]
|
|
24298
24273
|
* @param {string} [patientId]
|
|
@@ -24302,15 +24277,15 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
24302
24277
|
* @param {number} [rate]
|
|
24303
24278
|
* @param {ReviewType} [reviewType]
|
|
24304
24279
|
* @param {string} [languageCode]
|
|
24305
|
-
* @param {boolean} [
|
|
24280
|
+
* @param {boolean} [showHidden]
|
|
24306
24281
|
* @param {number} [page]
|
|
24307
24282
|
* @param {number} [limit]
|
|
24308
24283
|
* @param {Date} [lastRetrieved]
|
|
24309
24284
|
* @param {*} [options] Override http request option.
|
|
24310
24285
|
* @throws {RequiredError}
|
|
24311
24286
|
*/
|
|
24312
|
-
async apiV2ServicereviewsGet(
|
|
24313
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsGet(
|
|
24287
|
+
async apiV2ServicereviewsGet(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>> {
|
|
24288
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
24314
24289
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24315
24290
|
},
|
|
24316
24291
|
/**
|
|
@@ -24338,11 +24313,12 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
24338
24313
|
/**
|
|
24339
24314
|
*
|
|
24340
24315
|
* @param {string} serviceReviewId
|
|
24316
|
+
* @param {string} [languageCode]
|
|
24341
24317
|
* @param {*} [options] Override http request option.
|
|
24342
24318
|
* @throws {RequiredError}
|
|
24343
24319
|
*/
|
|
24344
|
-
async apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
|
|
24345
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options);
|
|
24320
|
+
async apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
|
|
24321
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options);
|
|
24346
24322
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24347
24323
|
},
|
|
24348
24324
|
/**
|
|
@@ -24435,7 +24411,7 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
|
|
|
24435
24411
|
/**
|
|
24436
24412
|
*
|
|
24437
24413
|
* @summary Get all ServiceReviews.
|
|
24438
|
-
* @param {string} [
|
|
24414
|
+
* @param {string} [id]
|
|
24439
24415
|
* @param {string} [serviceId]
|
|
24440
24416
|
* @param {string} [serviceName]
|
|
24441
24417
|
* @param {string} [patientId]
|
|
@@ -24445,15 +24421,15 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
|
|
|
24445
24421
|
* @param {number} [rate]
|
|
24446
24422
|
* @param {ReviewType} [reviewType]
|
|
24447
24423
|
* @param {string} [languageCode]
|
|
24448
|
-
* @param {boolean} [
|
|
24424
|
+
* @param {boolean} [showHidden]
|
|
24449
24425
|
* @param {number} [page]
|
|
24450
24426
|
* @param {number} [limit]
|
|
24451
24427
|
* @param {Date} [lastRetrieved]
|
|
24452
24428
|
* @param {*} [options] Override http request option.
|
|
24453
24429
|
* @throws {RequiredError}
|
|
24454
24430
|
*/
|
|
24455
|
-
apiV2ServicereviewsGet(
|
|
24456
|
-
return localVarFp.apiV2ServicereviewsGet(
|
|
24431
|
+
apiV2ServicereviewsGet(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> {
|
|
24432
|
+
return localVarFp.apiV2ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
24457
24433
|
},
|
|
24458
24434
|
/**
|
|
24459
24435
|
*
|
|
@@ -24478,11 +24454,12 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
|
|
|
24478
24454
|
/**
|
|
24479
24455
|
*
|
|
24480
24456
|
* @param {string} serviceReviewId
|
|
24457
|
+
* @param {string} [languageCode]
|
|
24481
24458
|
* @param {*} [options] Override http request option.
|
|
24482
24459
|
* @throws {RequiredError}
|
|
24483
24460
|
*/
|
|
24484
|
-
apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: any): AxiosPromise<ServiceReviewModel> {
|
|
24485
|
-
return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then((request) => request(axios, basePath));
|
|
24461
|
+
apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, options?: any): AxiosPromise<ServiceReviewModel> {
|
|
24462
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options).then((request) => request(axios, basePath));
|
|
24486
24463
|
},
|
|
24487
24464
|
/**
|
|
24488
24465
|
*
|
|
@@ -24568,7 +24545,7 @@ export class ServiceReviewsApi extends BaseAPI {
|
|
|
24568
24545
|
/**
|
|
24569
24546
|
*
|
|
24570
24547
|
* @summary Get all ServiceReviews.
|
|
24571
|
-
* @param {string} [
|
|
24548
|
+
* @param {string} [id]
|
|
24572
24549
|
* @param {string} [serviceId]
|
|
24573
24550
|
* @param {string} [serviceName]
|
|
24574
24551
|
* @param {string} [patientId]
|
|
@@ -24578,7 +24555,7 @@ export class ServiceReviewsApi extends BaseAPI {
|
|
|
24578
24555
|
* @param {number} [rate]
|
|
24579
24556
|
* @param {ReviewType} [reviewType]
|
|
24580
24557
|
* @param {string} [languageCode]
|
|
24581
|
-
* @param {boolean} [
|
|
24558
|
+
* @param {boolean} [showHidden]
|
|
24582
24559
|
* @param {number} [page]
|
|
24583
24560
|
* @param {number} [limit]
|
|
24584
24561
|
* @param {Date} [lastRetrieved]
|
|
@@ -24586,8 +24563,8 @@ export class ServiceReviewsApi extends BaseAPI {
|
|
|
24586
24563
|
* @throws {RequiredError}
|
|
24587
24564
|
* @memberof ServiceReviewsApi
|
|
24588
24565
|
*/
|
|
24589
|
-
public apiV2ServicereviewsGet(
|
|
24590
|
-
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsGet(
|
|
24566
|
+
public apiV2ServicereviewsGet(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) {
|
|
24567
|
+
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
24591
24568
|
}
|
|
24592
24569
|
|
|
24593
24570
|
/**
|
|
@@ -24617,12 +24594,13 @@ export class ServiceReviewsApi extends BaseAPI {
|
|
|
24617
24594
|
/**
|
|
24618
24595
|
*
|
|
24619
24596
|
* @param {string} serviceReviewId
|
|
24597
|
+
* @param {string} [languageCode]
|
|
24620
24598
|
* @param {*} [options] Override http request option.
|
|
24621
24599
|
* @throws {RequiredError}
|
|
24622
24600
|
* @memberof ServiceReviewsApi
|
|
24623
24601
|
*/
|
|
24624
|
-
public apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig) {
|
|
24625
|
-
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then((request) => request(this.axios, this.basePath));
|
|
24602
|
+
public apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
24603
|
+
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
24626
24604
|
}
|
|
24627
24605
|
|
|
24628
24606
|
/**
|