ch-api-client-typescript2 3.1.5 → 3.2.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 +146 -9
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +213 -14
- package/package.json +1 -1
- package/src/api.ts +244 -15
package/src/api.ts
CHANGED
|
@@ -3300,6 +3300,12 @@ export interface DealItemModel {
|
|
|
3300
3300
|
* @memberof DealItemModel
|
|
3301
3301
|
*/
|
|
3302
3302
|
'serviceDuration'?: number;
|
|
3303
|
+
/**
|
|
3304
|
+
*
|
|
3305
|
+
* @type {number}
|
|
3306
|
+
* @memberof DealItemModel
|
|
3307
|
+
*/
|
|
3308
|
+
'order'?: number;
|
|
3303
3309
|
/**
|
|
3304
3310
|
*
|
|
3305
3311
|
* @type {MarketingType}
|
|
@@ -3391,6 +3397,12 @@ export interface DealItemSimpleModel {
|
|
|
3391
3397
|
* @memberof DealItemSimpleModel
|
|
3392
3398
|
*/
|
|
3393
3399
|
'hospitalName'?: string | null;
|
|
3400
|
+
/**
|
|
3401
|
+
*
|
|
3402
|
+
* @type {number}
|
|
3403
|
+
* @memberof DealItemSimpleModel
|
|
3404
|
+
*/
|
|
3405
|
+
'order'?: number;
|
|
3394
3406
|
/**
|
|
3395
3407
|
*
|
|
3396
3408
|
* @type {Array<LocalizedUrlModel>}
|
|
@@ -3488,6 +3500,12 @@ export interface DealModel {
|
|
|
3488
3500
|
* @memberof DealModel
|
|
3489
3501
|
*/
|
|
3490
3502
|
'serviceDuration'?: number;
|
|
3503
|
+
/**
|
|
3504
|
+
*
|
|
3505
|
+
* @type {number}
|
|
3506
|
+
* @memberof DealModel
|
|
3507
|
+
*/
|
|
3508
|
+
'order'?: number;
|
|
3491
3509
|
/**
|
|
3492
3510
|
*
|
|
3493
3511
|
* @type {MarketingType}
|
|
@@ -8733,12 +8751,24 @@ export interface ServiceReviewItemModel {
|
|
|
8733
8751
|
* @memberof ServiceReviewItemModel
|
|
8734
8752
|
*/
|
|
8735
8753
|
'reviewType'?: ReviewType;
|
|
8754
|
+
/**
|
|
8755
|
+
*
|
|
8756
|
+
* @type {boolean}
|
|
8757
|
+
* @memberof ServiceReviewItemModel
|
|
8758
|
+
*/
|
|
8759
|
+
'confirmed'?: boolean;
|
|
8736
8760
|
/**
|
|
8737
8761
|
*
|
|
8738
8762
|
* @type {Array<MediaModel>}
|
|
8739
8763
|
* @memberof ServiceReviewItemModel
|
|
8740
8764
|
*/
|
|
8741
8765
|
'medias'?: Array<MediaModel> | null;
|
|
8766
|
+
/**
|
|
8767
|
+
*
|
|
8768
|
+
* @type {AuditableEntity}
|
|
8769
|
+
* @memberof ServiceReviewItemModel
|
|
8770
|
+
*/
|
|
8771
|
+
'auditableEntity'?: AuditableEntity;
|
|
8742
8772
|
}
|
|
8743
8773
|
/**
|
|
8744
8774
|
*
|
|
@@ -8824,12 +8854,24 @@ export interface ServiceReviewModel {
|
|
|
8824
8854
|
* @memberof ServiceReviewModel
|
|
8825
8855
|
*/
|
|
8826
8856
|
'reviewType'?: ReviewType;
|
|
8857
|
+
/**
|
|
8858
|
+
*
|
|
8859
|
+
* @type {boolean}
|
|
8860
|
+
* @memberof ServiceReviewModel
|
|
8861
|
+
*/
|
|
8862
|
+
'confirmed'?: boolean;
|
|
8827
8863
|
/**
|
|
8828
8864
|
*
|
|
8829
8865
|
* @type {Array<MediaModel>}
|
|
8830
8866
|
* @memberof ServiceReviewModel
|
|
8831
8867
|
*/
|
|
8832
8868
|
'medias'?: Array<MediaModel> | null;
|
|
8869
|
+
/**
|
|
8870
|
+
*
|
|
8871
|
+
* @type {AuditableEntity}
|
|
8872
|
+
* @memberof ServiceReviewModel
|
|
8873
|
+
*/
|
|
8874
|
+
'auditableEntity'?: AuditableEntity;
|
|
8833
8875
|
}
|
|
8834
8876
|
/**
|
|
8835
8877
|
*
|
|
@@ -8911,7 +8953,8 @@ export enum SnsType {
|
|
|
8911
8953
|
Facebook = 'Facebook',
|
|
8912
8954
|
Instagram = 'Instagram',
|
|
8913
8955
|
LinkedIn = 'LinkedIn',
|
|
8914
|
-
Youtube = 'Youtube'
|
|
8956
|
+
Youtube = 'Youtube',
|
|
8957
|
+
KakaoTalk = 'KakaoTalk'
|
|
8915
8958
|
}
|
|
8916
8959
|
|
|
8917
8960
|
/**
|
|
@@ -9919,6 +9962,18 @@ export interface UpdateServiceReviewCommand {
|
|
|
9919
9962
|
* @memberof UpdateServiceReviewCommand
|
|
9920
9963
|
*/
|
|
9921
9964
|
'rate'?: number | null;
|
|
9965
|
+
/**
|
|
9966
|
+
*
|
|
9967
|
+
* @type {string}
|
|
9968
|
+
* @memberof UpdateServiceReviewCommand
|
|
9969
|
+
*/
|
|
9970
|
+
'languageCode'?: string | null;
|
|
9971
|
+
/**
|
|
9972
|
+
*
|
|
9973
|
+
* @type {boolean}
|
|
9974
|
+
* @memberof UpdateServiceReviewCommand
|
|
9975
|
+
*/
|
|
9976
|
+
'confirmed'?: boolean;
|
|
9922
9977
|
}
|
|
9923
9978
|
/**
|
|
9924
9979
|
*
|
|
@@ -12061,6 +12116,44 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12061
12116
|
|
|
12062
12117
|
|
|
12063
12118
|
|
|
12119
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12120
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12121
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12122
|
+
|
|
12123
|
+
return {
|
|
12124
|
+
url: toPathString(localVarUrlObj),
|
|
12125
|
+
options: localVarRequestOptions,
|
|
12126
|
+
};
|
|
12127
|
+
},
|
|
12128
|
+
/**
|
|
12129
|
+
*
|
|
12130
|
+
* @summary Mark as Paid booking.
|
|
12131
|
+
* @param {string} bookingId
|
|
12132
|
+
* @param {*} [options] Override http request option.
|
|
12133
|
+
* @throws {RequiredError}
|
|
12134
|
+
*/
|
|
12135
|
+
apiV2BookingsBookingIdPaidPost: async (bookingId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12136
|
+
// verify required parameter 'bookingId' is not null or undefined
|
|
12137
|
+
assertParamExists('apiV2BookingsBookingIdPaidPost', 'bookingId', bookingId)
|
|
12138
|
+
const localVarPath = `/api/v2/bookings/{bookingId}/paid`
|
|
12139
|
+
.replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
|
|
12140
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12141
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12142
|
+
let baseOptions;
|
|
12143
|
+
if (configuration) {
|
|
12144
|
+
baseOptions = configuration.baseOptions;
|
|
12145
|
+
}
|
|
12146
|
+
|
|
12147
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12148
|
+
const localVarHeaderParameter = {} as any;
|
|
12149
|
+
const localVarQueryParameter = {} as any;
|
|
12150
|
+
|
|
12151
|
+
// authentication oauth2 required
|
|
12152
|
+
// oauth required
|
|
12153
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
12154
|
+
|
|
12155
|
+
|
|
12156
|
+
|
|
12064
12157
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12065
12158
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12066
12159
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -12294,6 +12387,17 @@ export const BookingsApiFp = function(configuration?: Configuration) {
|
|
|
12294
12387
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2BookingsBookingIdGet(bookingId, options);
|
|
12295
12388
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12296
12389
|
},
|
|
12390
|
+
/**
|
|
12391
|
+
*
|
|
12392
|
+
* @summary Mark as Paid booking.
|
|
12393
|
+
* @param {string} bookingId
|
|
12394
|
+
* @param {*} [options] Override http request option.
|
|
12395
|
+
* @throws {RequiredError}
|
|
12396
|
+
*/
|
|
12397
|
+
async apiV2BookingsBookingIdPaidPost(bookingId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
12398
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2BookingsBookingIdPaidPost(bookingId, options);
|
|
12399
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12400
|
+
},
|
|
12297
12401
|
/**
|
|
12298
12402
|
*
|
|
12299
12403
|
* @summary Pay booking.
|
|
@@ -12368,6 +12472,16 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
|
|
|
12368
12472
|
apiV2BookingsBookingIdGet(bookingId: string, options?: any): AxiosPromise<BookingModel> {
|
|
12369
12473
|
return localVarFp.apiV2BookingsBookingIdGet(bookingId, options).then((request) => request(axios, basePath));
|
|
12370
12474
|
},
|
|
12475
|
+
/**
|
|
12476
|
+
*
|
|
12477
|
+
* @summary Mark as Paid booking.
|
|
12478
|
+
* @param {string} bookingId
|
|
12479
|
+
* @param {*} [options] Override http request option.
|
|
12480
|
+
* @throws {RequiredError}
|
|
12481
|
+
*/
|
|
12482
|
+
apiV2BookingsBookingIdPaidPost(bookingId: string, options?: any): AxiosPromise<string> {
|
|
12483
|
+
return localVarFp.apiV2BookingsBookingIdPaidPost(bookingId, options).then((request) => request(axios, basePath));
|
|
12484
|
+
},
|
|
12371
12485
|
/**
|
|
12372
12486
|
*
|
|
12373
12487
|
* @summary Pay booking.
|
|
@@ -12440,6 +12554,18 @@ export class BookingsApi extends BaseAPI {
|
|
|
12440
12554
|
return BookingsApiFp(this.configuration).apiV2BookingsBookingIdGet(bookingId, options).then((request) => request(this.axios, this.basePath));
|
|
12441
12555
|
}
|
|
12442
12556
|
|
|
12557
|
+
/**
|
|
12558
|
+
*
|
|
12559
|
+
* @summary Mark as Paid booking.
|
|
12560
|
+
* @param {string} bookingId
|
|
12561
|
+
* @param {*} [options] Override http request option.
|
|
12562
|
+
* @throws {RequiredError}
|
|
12563
|
+
* @memberof BookingsApi
|
|
12564
|
+
*/
|
|
12565
|
+
public apiV2BookingsBookingIdPaidPost(bookingId: string, options?: AxiosRequestConfig) {
|
|
12566
|
+
return BookingsApiFp(this.configuration).apiV2BookingsBookingIdPaidPost(bookingId, options).then((request) => request(this.axios, this.basePath));
|
|
12567
|
+
}
|
|
12568
|
+
|
|
12443
12569
|
/**
|
|
12444
12570
|
*
|
|
12445
12571
|
* @summary Pay booking.
|
|
@@ -13258,6 +13384,44 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
13258
13384
|
|
|
13259
13385
|
|
|
13260
13386
|
|
|
13387
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13388
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13389
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13390
|
+
|
|
13391
|
+
return {
|
|
13392
|
+
url: toPathString(localVarUrlObj),
|
|
13393
|
+
options: localVarRequestOptions,
|
|
13394
|
+
};
|
|
13395
|
+
},
|
|
13396
|
+
/**
|
|
13397
|
+
*
|
|
13398
|
+
* @summary Mark as Paid booking.
|
|
13399
|
+
* @param {string} consultationId
|
|
13400
|
+
* @param {*} [options] Override http request option.
|
|
13401
|
+
* @throws {RequiredError}
|
|
13402
|
+
*/
|
|
13403
|
+
apiV2ConsultationsConsultationIdPaidPost: async (consultationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13404
|
+
// verify required parameter 'consultationId' is not null or undefined
|
|
13405
|
+
assertParamExists('apiV2ConsultationsConsultationIdPaidPost', 'consultationId', consultationId)
|
|
13406
|
+
const localVarPath = `/api/v2/consultations/{consultationId}/paid`
|
|
13407
|
+
.replace(`{${"consultationId"}}`, encodeURIComponent(String(consultationId)));
|
|
13408
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13409
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13410
|
+
let baseOptions;
|
|
13411
|
+
if (configuration) {
|
|
13412
|
+
baseOptions = configuration.baseOptions;
|
|
13413
|
+
}
|
|
13414
|
+
|
|
13415
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
13416
|
+
const localVarHeaderParameter = {} as any;
|
|
13417
|
+
const localVarQueryParameter = {} as any;
|
|
13418
|
+
|
|
13419
|
+
// authentication oauth2 required
|
|
13420
|
+
// oauth required
|
|
13421
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
13422
|
+
|
|
13423
|
+
|
|
13424
|
+
|
|
13261
13425
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13262
13426
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13263
13427
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -13491,6 +13655,17 @@ export const ConsultationsApiFp = function(configuration?: Configuration) {
|
|
|
13491
13655
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ConsultationsConsultationIdGet(consultationId, options);
|
|
13492
13656
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13493
13657
|
},
|
|
13658
|
+
/**
|
|
13659
|
+
*
|
|
13660
|
+
* @summary Mark as Paid booking.
|
|
13661
|
+
* @param {string} consultationId
|
|
13662
|
+
* @param {*} [options] Override http request option.
|
|
13663
|
+
* @throws {RequiredError}
|
|
13664
|
+
*/
|
|
13665
|
+
async apiV2ConsultationsConsultationIdPaidPost(consultationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
13666
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ConsultationsConsultationIdPaidPost(consultationId, options);
|
|
13667
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13668
|
+
},
|
|
13494
13669
|
/**
|
|
13495
13670
|
*
|
|
13496
13671
|
* @summary Pay consultation.
|
|
@@ -13565,6 +13740,16 @@ export const ConsultationsApiFactory = function (configuration?: Configuration,
|
|
|
13565
13740
|
apiV2ConsultationsConsultationIdGet(consultationId: string, options?: any): AxiosPromise<ConsultationModel> {
|
|
13566
13741
|
return localVarFp.apiV2ConsultationsConsultationIdGet(consultationId, options).then((request) => request(axios, basePath));
|
|
13567
13742
|
},
|
|
13743
|
+
/**
|
|
13744
|
+
*
|
|
13745
|
+
* @summary Mark as Paid booking.
|
|
13746
|
+
* @param {string} consultationId
|
|
13747
|
+
* @param {*} [options] Override http request option.
|
|
13748
|
+
* @throws {RequiredError}
|
|
13749
|
+
*/
|
|
13750
|
+
apiV2ConsultationsConsultationIdPaidPost(consultationId: string, options?: any): AxiosPromise<string> {
|
|
13751
|
+
return localVarFp.apiV2ConsultationsConsultationIdPaidPost(consultationId, options).then((request) => request(axios, basePath));
|
|
13752
|
+
},
|
|
13568
13753
|
/**
|
|
13569
13754
|
*
|
|
13570
13755
|
* @summary Pay consultation.
|
|
@@ -13637,6 +13822,18 @@ export class ConsultationsApi extends BaseAPI {
|
|
|
13637
13822
|
return ConsultationsApiFp(this.configuration).apiV2ConsultationsConsultationIdGet(consultationId, options).then((request) => request(this.axios, this.basePath));
|
|
13638
13823
|
}
|
|
13639
13824
|
|
|
13825
|
+
/**
|
|
13826
|
+
*
|
|
13827
|
+
* @summary Mark as Paid booking.
|
|
13828
|
+
* @param {string} consultationId
|
|
13829
|
+
* @param {*} [options] Override http request option.
|
|
13830
|
+
* @throws {RequiredError}
|
|
13831
|
+
* @memberof ConsultationsApi
|
|
13832
|
+
*/
|
|
13833
|
+
public apiV2ConsultationsConsultationIdPaidPost(consultationId: string, options?: AxiosRequestConfig) {
|
|
13834
|
+
return ConsultationsApiFp(this.configuration).apiV2ConsultationsConsultationIdPaidPost(consultationId, options).then((request) => request(this.axios, this.basePath));
|
|
13835
|
+
}
|
|
13836
|
+
|
|
13640
13837
|
/**
|
|
13641
13838
|
*
|
|
13642
13839
|
* @summary Pay consultation.
|
|
@@ -25114,13 +25311,15 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
25114
25311
|
* @param {boolean} [recommended]
|
|
25115
25312
|
* @param {number} [rate]
|
|
25116
25313
|
* @param {ReviewType} [reviewType]
|
|
25314
|
+
* @param {string} [languageCode]
|
|
25315
|
+
* @param {boolean} [returnDefaultValue]
|
|
25117
25316
|
* @param {number} [page]
|
|
25118
25317
|
* @param {number} [limit]
|
|
25119
25318
|
* @param {Date} [lastRetrieved]
|
|
25120
25319
|
* @param {*} [options] Override http request option.
|
|
25121
25320
|
* @throws {RequiredError}
|
|
25122
25321
|
*/
|
|
25123
|
-
apiV2ServicereviewsGet: async (hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25322
|
+
apiV2ServicereviewsGet: async (hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25124
25323
|
const localVarPath = `/api/v2/servicereviews`;
|
|
25125
25324
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25126
25325
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -25169,6 +25368,14 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
25169
25368
|
localVarQueryParameter['ReviewType'] = reviewType;
|
|
25170
25369
|
}
|
|
25171
25370
|
|
|
25371
|
+
if (languageCode !== undefined) {
|
|
25372
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
25373
|
+
}
|
|
25374
|
+
|
|
25375
|
+
if (returnDefaultValue !== undefined) {
|
|
25376
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
25377
|
+
}
|
|
25378
|
+
|
|
25172
25379
|
if (page !== undefined) {
|
|
25173
25380
|
localVarQueryParameter['page'] = page;
|
|
25174
25381
|
}
|
|
@@ -25273,10 +25480,12 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
25273
25480
|
/**
|
|
25274
25481
|
*
|
|
25275
25482
|
* @param {string} serviceReviewId
|
|
25483
|
+
* @param {string} [languageCode]
|
|
25484
|
+
* @param {boolean} [returnDefaultValue]
|
|
25276
25485
|
* @param {*} [options] Override http request option.
|
|
25277
25486
|
* @throws {RequiredError}
|
|
25278
25487
|
*/
|
|
25279
|
-
apiV2ServicereviewsServiceReviewIdGet: async (serviceReviewId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25488
|
+
apiV2ServicereviewsServiceReviewIdGet: async (serviceReviewId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25280
25489
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
25281
25490
|
assertParamExists('apiV2ServicereviewsServiceReviewIdGet', 'serviceReviewId', serviceReviewId)
|
|
25282
25491
|
const localVarPath = `/api/v2/servicereviews/{serviceReviewId}`
|
|
@@ -25292,6 +25501,14 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
25292
25501
|
const localVarHeaderParameter = {} as any;
|
|
25293
25502
|
const localVarQueryParameter = {} as any;
|
|
25294
25503
|
|
|
25504
|
+
if (languageCode !== undefined) {
|
|
25505
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
25506
|
+
}
|
|
25507
|
+
|
|
25508
|
+
if (returnDefaultValue !== undefined) {
|
|
25509
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
25510
|
+
}
|
|
25511
|
+
|
|
25295
25512
|
|
|
25296
25513
|
|
|
25297
25514
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -25596,14 +25813,16 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
25596
25813
|
* @param {boolean} [recommended]
|
|
25597
25814
|
* @param {number} [rate]
|
|
25598
25815
|
* @param {ReviewType} [reviewType]
|
|
25816
|
+
* @param {string} [languageCode]
|
|
25817
|
+
* @param {boolean} [returnDefaultValue]
|
|
25599
25818
|
* @param {number} [page]
|
|
25600
25819
|
* @param {number} [limit]
|
|
25601
25820
|
* @param {Date} [lastRetrieved]
|
|
25602
25821
|
* @param {*} [options] Override http request option.
|
|
25603
25822
|
* @throws {RequiredError}
|
|
25604
25823
|
*/
|
|
25605
|
-
async apiV2ServicereviewsGet(hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
|
|
25606
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options);
|
|
25824
|
+
async apiV2ServicereviewsGet(hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
|
|
25825
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
25607
25826
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25608
25827
|
},
|
|
25609
25828
|
/**
|
|
@@ -25631,11 +25850,13 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
25631
25850
|
/**
|
|
25632
25851
|
*
|
|
25633
25852
|
* @param {string} serviceReviewId
|
|
25853
|
+
* @param {string} [languageCode]
|
|
25854
|
+
* @param {boolean} [returnDefaultValue]
|
|
25634
25855
|
* @param {*} [options] Override http request option.
|
|
25635
25856
|
* @throws {RequiredError}
|
|
25636
25857
|
*/
|
|
25637
|
-
async apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
|
|
25638
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options);
|
|
25858
|
+
async apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
|
|
25859
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, returnDefaultValue, options);
|
|
25639
25860
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25640
25861
|
},
|
|
25641
25862
|
/**
|
|
@@ -25737,14 +25958,16 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
|
|
|
25737
25958
|
* @param {boolean} [recommended]
|
|
25738
25959
|
* @param {number} [rate]
|
|
25739
25960
|
* @param {ReviewType} [reviewType]
|
|
25961
|
+
* @param {string} [languageCode]
|
|
25962
|
+
* @param {boolean} [returnDefaultValue]
|
|
25740
25963
|
* @param {number} [page]
|
|
25741
25964
|
* @param {number} [limit]
|
|
25742
25965
|
* @param {Date} [lastRetrieved]
|
|
25743
25966
|
* @param {*} [options] Override http request option.
|
|
25744
25967
|
* @throws {RequiredError}
|
|
25745
25968
|
*/
|
|
25746
|
-
apiV2ServicereviewsGet(hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
|
|
25747
|
-
return localVarFp.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
25969
|
+
apiV2ServicereviewsGet(hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
|
|
25970
|
+
return localVarFp.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
25748
25971
|
},
|
|
25749
25972
|
/**
|
|
25750
25973
|
*
|
|
@@ -25769,11 +25992,13 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
|
|
|
25769
25992
|
/**
|
|
25770
25993
|
*
|
|
25771
25994
|
* @param {string} serviceReviewId
|
|
25995
|
+
* @param {string} [languageCode]
|
|
25996
|
+
* @param {boolean} [returnDefaultValue]
|
|
25772
25997
|
* @param {*} [options] Override http request option.
|
|
25773
25998
|
* @throws {RequiredError}
|
|
25774
25999
|
*/
|
|
25775
|
-
apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: any): AxiosPromise<ServiceReviewModel> {
|
|
25776
|
-
return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then((request) => request(axios, basePath));
|
|
26000
|
+
apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<ServiceReviewModel> {
|
|
26001
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
25777
26002
|
},
|
|
25778
26003
|
/**
|
|
25779
26004
|
*
|
|
@@ -25868,6 +26093,8 @@ export class ServiceReviewsApi extends BaseAPI {
|
|
|
25868
26093
|
* @param {boolean} [recommended]
|
|
25869
26094
|
* @param {number} [rate]
|
|
25870
26095
|
* @param {ReviewType} [reviewType]
|
|
26096
|
+
* @param {string} [languageCode]
|
|
26097
|
+
* @param {boolean} [returnDefaultValue]
|
|
25871
26098
|
* @param {number} [page]
|
|
25872
26099
|
* @param {number} [limit]
|
|
25873
26100
|
* @param {Date} [lastRetrieved]
|
|
@@ -25875,8 +26102,8 @@ export class ServiceReviewsApi extends BaseAPI {
|
|
|
25875
26102
|
* @throws {RequiredError}
|
|
25876
26103
|
* @memberof ServiceReviewsApi
|
|
25877
26104
|
*/
|
|
25878
|
-
public apiV2ServicereviewsGet(hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
25879
|
-
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
26105
|
+
public apiV2ServicereviewsGet(hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
26106
|
+
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
25880
26107
|
}
|
|
25881
26108
|
|
|
25882
26109
|
/**
|
|
@@ -25906,12 +26133,14 @@ export class ServiceReviewsApi extends BaseAPI {
|
|
|
25906
26133
|
/**
|
|
25907
26134
|
*
|
|
25908
26135
|
* @param {string} serviceReviewId
|
|
26136
|
+
* @param {string} [languageCode]
|
|
26137
|
+
* @param {boolean} [returnDefaultValue]
|
|
25909
26138
|
* @param {*} [options] Override http request option.
|
|
25910
26139
|
* @throws {RequiredError}
|
|
25911
26140
|
* @memberof ServiceReviewsApi
|
|
25912
26141
|
*/
|
|
25913
|
-
public apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig) {
|
|
25914
|
-
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then((request) => request(this.axios, this.basePath));
|
|
26142
|
+
public apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
26143
|
+
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
25915
26144
|
}
|
|
25916
26145
|
|
|
25917
26146
|
/**
|