ch-api-client-typescript2 3.1.3 → 3.2.0

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/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
  /**
@@ -8964,6 +9007,25 @@ export interface SpecialtiesModel {
8964
9007
  */
8965
9008
  'metaData'?: PagedListMetaData;
8966
9009
  }
9010
+ /**
9011
+ *
9012
+ * @export
9013
+ * @interface SpecialtiesSimpleModel
9014
+ */
9015
+ export interface SpecialtiesSimpleModel {
9016
+ /**
9017
+ *
9018
+ * @type {Array<SpecialtyItemSimpleModel>}
9019
+ * @memberof SpecialtiesSimpleModel
9020
+ */
9021
+ 'items'?: Array<SpecialtyItemSimpleModel> | null;
9022
+ /**
9023
+ *
9024
+ * @type {PagedListMetaData}
9025
+ * @memberof SpecialtiesSimpleModel
9026
+ */
9027
+ 'metaData'?: PagedListMetaData;
9028
+ }
8967
9029
  /**
8968
9030
  *
8969
9031
  * @export
@@ -9055,6 +9117,43 @@ export interface SpecialtyItemModel {
9055
9117
  */
9056
9118
  'medias'?: Array<MediaModel> | null;
9057
9119
  }
9120
+ /**
9121
+ *
9122
+ * @export
9123
+ * @interface SpecialtyItemSimpleModel
9124
+ */
9125
+ export interface SpecialtyItemSimpleModel {
9126
+ /**
9127
+ *
9128
+ * @type {string}
9129
+ * @memberof SpecialtyItemSimpleModel
9130
+ */
9131
+ 'id'?: string;
9132
+ /**
9133
+ *
9134
+ * @type {string}
9135
+ * @memberof SpecialtyItemSimpleModel
9136
+ */
9137
+ 'name'?: string | null;
9138
+ /**
9139
+ *
9140
+ * @type {string}
9141
+ * @memberof SpecialtyItemSimpleModel
9142
+ */
9143
+ 'slug'?: string | null;
9144
+ /**
9145
+ *
9146
+ * @type {string}
9147
+ * @memberof SpecialtyItemSimpleModel
9148
+ */
9149
+ 'specialtyTypeId'?: string;
9150
+ /**
9151
+ *
9152
+ * @type {boolean}
9153
+ * @memberof SpecialtyItemSimpleModel
9154
+ */
9155
+ 'confirmed'?: boolean;
9156
+ }
9058
9157
  /**
9059
9158
  *
9060
9159
  * @export
@@ -9863,6 +9962,18 @@ export interface UpdateServiceReviewCommand {
9863
9962
  * @memberof UpdateServiceReviewCommand
9864
9963
  */
9865
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;
9866
9977
  }
9867
9978
  /**
9868
9979
  *
@@ -19809,6 +19920,113 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
19809
19920
 
19810
19921
 
19811
19922
 
19923
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
19924
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19925
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
19926
+
19927
+ return {
19928
+ url: toPathString(localVarUrlObj),
19929
+ options: localVarRequestOptions,
19930
+ };
19931
+ },
19932
+ /**
19933
+ *
19934
+ * @summary Get all HospitalServiceMedias.
19935
+ * @param {string} hospitalId
19936
+ * @param {string} hospitalSpecialtyId
19937
+ * @param {string} [id]
19938
+ * @param {MediaType} [mediaType]
19939
+ * @param {number} [page]
19940
+ * @param {number} [limit]
19941
+ * @param {Date} [lastRetrieved]
19942
+ * @param {*} [options] Override http request option.
19943
+ * @throws {RequiredError}
19944
+ */
19945
+ apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet: async (hospitalId: string, hospitalSpecialtyId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
19946
+ // verify required parameter 'hospitalId' is not null or undefined
19947
+ assertParamExists('apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet', 'hospitalId', hospitalId)
19948
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
19949
+ assertParamExists('apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet', 'hospitalSpecialtyId', hospitalSpecialtyId)
19950
+ const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/medias`
19951
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
19952
+ .replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)));
19953
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19954
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19955
+ let baseOptions;
19956
+ if (configuration) {
19957
+ baseOptions = configuration.baseOptions;
19958
+ }
19959
+
19960
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
19961
+ const localVarHeaderParameter = {} as any;
19962
+ const localVarQueryParameter = {} as any;
19963
+
19964
+ if (id !== undefined) {
19965
+ localVarQueryParameter['Id'] = id;
19966
+ }
19967
+
19968
+ if (mediaType !== undefined) {
19969
+ localVarQueryParameter['MediaType'] = mediaType;
19970
+ }
19971
+
19972
+ if (page !== undefined) {
19973
+ localVarQueryParameter['page'] = page;
19974
+ }
19975
+
19976
+ if (limit !== undefined) {
19977
+ localVarQueryParameter['limit'] = limit;
19978
+ }
19979
+
19980
+ if (lastRetrieved !== undefined) {
19981
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
19982
+ (lastRetrieved as any).toISOString() :
19983
+ lastRetrieved;
19984
+ }
19985
+
19986
+
19987
+
19988
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
19989
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19990
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
19991
+
19992
+ return {
19993
+ url: toPathString(localVarUrlObj),
19994
+ options: localVarRequestOptions,
19995
+ };
19996
+ },
19997
+ /**
19998
+ *
19999
+ * @summary Get HospitalServiceMedia.
20000
+ * @param {string} hospitalId
20001
+ * @param {string} hospitalSpecialtyId
20002
+ * @param {string} mediaId
20003
+ * @param {*} [options] Override http request option.
20004
+ * @throws {RequiredError}
20005
+ */
20006
+ apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet: async (hospitalId: string, hospitalSpecialtyId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
20007
+ // verify required parameter 'hospitalId' is not null or undefined
20008
+ assertParamExists('apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet', 'hospitalId', hospitalId)
20009
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
20010
+ assertParamExists('apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet', 'hospitalSpecialtyId', hospitalSpecialtyId)
20011
+ // verify required parameter 'mediaId' is not null or undefined
20012
+ assertParamExists('apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet', 'mediaId', mediaId)
20013
+ const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/medias/{mediaId}`
20014
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
20015
+ .replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)))
20016
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
20017
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20018
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20019
+ let baseOptions;
20020
+ if (configuration) {
20021
+ baseOptions = configuration.baseOptions;
20022
+ }
20023
+
20024
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
20025
+ const localVarHeaderParameter = {} as any;
20026
+ const localVarQueryParameter = {} as any;
20027
+
20028
+
20029
+
19812
20030
  setSearchParams(localVarUrlObj, localVarQueryParameter);
19813
20031
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19814
20032
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -20802,6 +21020,36 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
20802
21020
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options);
20803
21021
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
20804
21022
  },
21023
+ /**
21024
+ *
21025
+ * @summary Get all HospitalServiceMedias.
21026
+ * @param {string} hospitalId
21027
+ * @param {string} hospitalSpecialtyId
21028
+ * @param {string} [id]
21029
+ * @param {MediaType} [mediaType]
21030
+ * @param {number} [page]
21031
+ * @param {number} [limit]
21032
+ * @param {Date} [lastRetrieved]
21033
+ * @param {*} [options] Override http request option.
21034
+ * @throws {RequiredError}
21035
+ */
21036
+ async apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId: string, hospitalSpecialtyId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
21037
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options);
21038
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
21039
+ },
21040
+ /**
21041
+ *
21042
+ * @summary Get HospitalServiceMedia.
21043
+ * @param {string} hospitalId
21044
+ * @param {string} hospitalSpecialtyId
21045
+ * @param {string} mediaId
21046
+ * @param {*} [options] Override http request option.
21047
+ * @throws {RequiredError}
21048
+ */
21049
+ async apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId: string, hospitalSpecialtyId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
21050
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId, hospitalSpecialtyId, mediaId, options);
21051
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
21052
+ },
20805
21053
  /**
20806
21054
  *
20807
21055
  * @summary Get all HospitalSpecialties.
@@ -21224,6 +21472,34 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
21224
21472
  apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, hospitalSpecialtySlug?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
21225
21473
  return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
21226
21474
  },
21475
+ /**
21476
+ *
21477
+ * @summary Get all HospitalServiceMedias.
21478
+ * @param {string} hospitalId
21479
+ * @param {string} hospitalSpecialtyId
21480
+ * @param {string} [id]
21481
+ * @param {MediaType} [mediaType]
21482
+ * @param {number} [page]
21483
+ * @param {number} [limit]
21484
+ * @param {Date} [lastRetrieved]
21485
+ * @param {*} [options] Override http request option.
21486
+ * @throws {RequiredError}
21487
+ */
21488
+ apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId: string, hospitalSpecialtyId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
21489
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
21490
+ },
21491
+ /**
21492
+ *
21493
+ * @summary Get HospitalServiceMedia.
21494
+ * @param {string} hospitalId
21495
+ * @param {string} hospitalSpecialtyId
21496
+ * @param {string} mediaId
21497
+ * @param {*} [options] Override http request option.
21498
+ * @throws {RequiredError}
21499
+ */
21500
+ apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId: string, hospitalSpecialtyId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
21501
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId, hospitalSpecialtyId, mediaId, options).then((request) => request(axios, basePath));
21502
+ },
21227
21503
  /**
21228
21504
  *
21229
21505
  * @summary Get all HospitalSpecialties.
@@ -21666,6 +21942,38 @@ export class HospitalsApi extends BaseAPI {
21666
21942
  return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
21667
21943
  }
21668
21944
 
21945
+ /**
21946
+ *
21947
+ * @summary Get all HospitalServiceMedias.
21948
+ * @param {string} hospitalId
21949
+ * @param {string} hospitalSpecialtyId
21950
+ * @param {string} [id]
21951
+ * @param {MediaType} [mediaType]
21952
+ * @param {number} [page]
21953
+ * @param {number} [limit]
21954
+ * @param {Date} [lastRetrieved]
21955
+ * @param {*} [options] Override http request option.
21956
+ * @throws {RequiredError}
21957
+ * @memberof HospitalsApi
21958
+ */
21959
+ public apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId: string, hospitalSpecialtyId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
21960
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
21961
+ }
21962
+
21963
+ /**
21964
+ *
21965
+ * @summary Get HospitalServiceMedia.
21966
+ * @param {string} hospitalId
21967
+ * @param {string} hospitalSpecialtyId
21968
+ * @param {string} mediaId
21969
+ * @param {*} [options] Override http request option.
21970
+ * @throws {RequiredError}
21971
+ * @memberof HospitalsApi
21972
+ */
21973
+ public apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId: string, hospitalSpecialtyId: string, mediaId: string, options?: AxiosRequestConfig) {
21974
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId, hospitalSpecialtyId, mediaId, options).then((request) => request(this.axios, this.basePath));
21975
+ }
21976
+
21669
21977
  /**
21670
21978
  *
21671
21979
  * @summary Get all HospitalSpecialties.
@@ -24861,13 +25169,15 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
24861
25169
  * @param {boolean} [recommended]
24862
25170
  * @param {number} [rate]
24863
25171
  * @param {ReviewType} [reviewType]
25172
+ * @param {string} [languageCode]
25173
+ * @param {boolean} [returnDefaultValue]
24864
25174
  * @param {number} [page]
24865
25175
  * @param {number} [limit]
24866
25176
  * @param {Date} [lastRetrieved]
24867
25177
  * @param {*} [options] Override http request option.
24868
25178
  * @throws {RequiredError}
24869
25179
  */
24870
- 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> => {
25180
+ 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> => {
24871
25181
  const localVarPath = `/api/v2/servicereviews`;
24872
25182
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
24873
25183
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -24916,6 +25226,14 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
24916
25226
  localVarQueryParameter['ReviewType'] = reviewType;
24917
25227
  }
24918
25228
 
25229
+ if (languageCode !== undefined) {
25230
+ localVarQueryParameter['LanguageCode'] = languageCode;
25231
+ }
25232
+
25233
+ if (returnDefaultValue !== undefined) {
25234
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
25235
+ }
25236
+
24919
25237
  if (page !== undefined) {
24920
25238
  localVarQueryParameter['page'] = page;
24921
25239
  }
@@ -25020,10 +25338,12 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
25020
25338
  /**
25021
25339
  *
25022
25340
  * @param {string} serviceReviewId
25341
+ * @param {string} [languageCode]
25342
+ * @param {boolean} [returnDefaultValue]
25023
25343
  * @param {*} [options] Override http request option.
25024
25344
  * @throws {RequiredError}
25025
25345
  */
25026
- apiV2ServicereviewsServiceReviewIdGet: async (serviceReviewId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25346
+ apiV2ServicereviewsServiceReviewIdGet: async (serviceReviewId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25027
25347
  // verify required parameter 'serviceReviewId' is not null or undefined
25028
25348
  assertParamExists('apiV2ServicereviewsServiceReviewIdGet', 'serviceReviewId', serviceReviewId)
25029
25349
  const localVarPath = `/api/v2/servicereviews/{serviceReviewId}`
@@ -25039,6 +25359,14 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
25039
25359
  const localVarHeaderParameter = {} as any;
25040
25360
  const localVarQueryParameter = {} as any;
25041
25361
 
25362
+ if (languageCode !== undefined) {
25363
+ localVarQueryParameter['languageCode'] = languageCode;
25364
+ }
25365
+
25366
+ if (returnDefaultValue !== undefined) {
25367
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
25368
+ }
25369
+
25042
25370
 
25043
25371
 
25044
25372
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -25343,14 +25671,16 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
25343
25671
  * @param {boolean} [recommended]
25344
25672
  * @param {number} [rate]
25345
25673
  * @param {ReviewType} [reviewType]
25674
+ * @param {string} [languageCode]
25675
+ * @param {boolean} [returnDefaultValue]
25346
25676
  * @param {number} [page]
25347
25677
  * @param {number} [limit]
25348
25678
  * @param {Date} [lastRetrieved]
25349
25679
  * @param {*} [options] Override http request option.
25350
25680
  * @throws {RequiredError}
25351
25681
  */
25352
- 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>> {
25353
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options);
25682
+ 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>> {
25683
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options);
25354
25684
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25355
25685
  },
25356
25686
  /**
@@ -25378,11 +25708,13 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
25378
25708
  /**
25379
25709
  *
25380
25710
  * @param {string} serviceReviewId
25711
+ * @param {string} [languageCode]
25712
+ * @param {boolean} [returnDefaultValue]
25381
25713
  * @param {*} [options] Override http request option.
25382
25714
  * @throws {RequiredError}
25383
25715
  */
25384
- async apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
25385
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options);
25716
+ async apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
25717
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, returnDefaultValue, options);
25386
25718
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25387
25719
  },
25388
25720
  /**
@@ -25484,14 +25816,16 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
25484
25816
  * @param {boolean} [recommended]
25485
25817
  * @param {number} [rate]
25486
25818
  * @param {ReviewType} [reviewType]
25819
+ * @param {string} [languageCode]
25820
+ * @param {boolean} [returnDefaultValue]
25487
25821
  * @param {number} [page]
25488
25822
  * @param {number} [limit]
25489
25823
  * @param {Date} [lastRetrieved]
25490
25824
  * @param {*} [options] Override http request option.
25491
25825
  * @throws {RequiredError}
25492
25826
  */
25493
- 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> {
25494
- return localVarFp.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
25827
+ 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> {
25828
+ return localVarFp.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
25495
25829
  },
25496
25830
  /**
25497
25831
  *
@@ -25516,11 +25850,13 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
25516
25850
  /**
25517
25851
  *
25518
25852
  * @param {string} serviceReviewId
25853
+ * @param {string} [languageCode]
25854
+ * @param {boolean} [returnDefaultValue]
25519
25855
  * @param {*} [options] Override http request option.
25520
25856
  * @throws {RequiredError}
25521
25857
  */
25522
- apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: any): AxiosPromise<ServiceReviewModel> {
25523
- return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then((request) => request(axios, basePath));
25858
+ apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<ServiceReviewModel> {
25859
+ return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
25524
25860
  },
25525
25861
  /**
25526
25862
  *
@@ -25615,6 +25951,8 @@ export class ServiceReviewsApi extends BaseAPI {
25615
25951
  * @param {boolean} [recommended]
25616
25952
  * @param {number} [rate]
25617
25953
  * @param {ReviewType} [reviewType]
25954
+ * @param {string} [languageCode]
25955
+ * @param {boolean} [returnDefaultValue]
25618
25956
  * @param {number} [page]
25619
25957
  * @param {number} [limit]
25620
25958
  * @param {Date} [lastRetrieved]
@@ -25622,8 +25960,8 @@ export class ServiceReviewsApi extends BaseAPI {
25622
25960
  * @throws {RequiredError}
25623
25961
  * @memberof ServiceReviewsApi
25624
25962
  */
25625
- 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) {
25626
- 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));
25963
+ 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) {
25964
+ 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));
25627
25965
  }
25628
25966
 
25629
25967
  /**
@@ -25653,12 +25991,14 @@ export class ServiceReviewsApi extends BaseAPI {
25653
25991
  /**
25654
25992
  *
25655
25993
  * @param {string} serviceReviewId
25994
+ * @param {string} [languageCode]
25995
+ * @param {boolean} [returnDefaultValue]
25656
25996
  * @param {*} [options] Override http request option.
25657
25997
  * @throws {RequiredError}
25658
25998
  * @memberof ServiceReviewsApi
25659
25999
  */
25660
- public apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig) {
25661
- return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then((request) => request(this.axios, this.basePath));
26000
+ public apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
26001
+ return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
25662
26002
  }
25663
26003
 
25664
26004
  /**
@@ -26456,6 +26796,100 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
26456
26796
 
26457
26797
 
26458
26798
 
26799
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26800
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26801
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26802
+
26803
+ return {
26804
+ url: toPathString(localVarUrlObj),
26805
+ options: localVarRequestOptions,
26806
+ };
26807
+ },
26808
+ /**
26809
+ *
26810
+ * @summary Get all Specialties Simple.
26811
+ * @param {string} [id]
26812
+ * @param {string} [name]
26813
+ * @param {string} [description]
26814
+ * @param {string} [specialtyTypeId]
26815
+ * @param {string} [hospitalId]
26816
+ * @param {Date} [created]
26817
+ * @param {string} [languageCode]
26818
+ * @param {Array<string>} [ids]
26819
+ * @param {boolean} [returnDefaultValue]
26820
+ * @param {number} [page]
26821
+ * @param {number} [limit]
26822
+ * @param {Date} [lastRetrieved]
26823
+ * @param {*} [options] Override http request option.
26824
+ * @throws {RequiredError}
26825
+ */
26826
+ apiV2SpecialtiesSimpleGet: async (id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26827
+ const localVarPath = `/api/v2/specialties/simple`;
26828
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26829
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26830
+ let baseOptions;
26831
+ if (configuration) {
26832
+ baseOptions = configuration.baseOptions;
26833
+ }
26834
+
26835
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
26836
+ const localVarHeaderParameter = {} as any;
26837
+ const localVarQueryParameter = {} as any;
26838
+
26839
+ if (id !== undefined) {
26840
+ localVarQueryParameter['Id'] = id;
26841
+ }
26842
+
26843
+ if (name !== undefined) {
26844
+ localVarQueryParameter['Name'] = name;
26845
+ }
26846
+
26847
+ if (description !== undefined) {
26848
+ localVarQueryParameter['Description'] = description;
26849
+ }
26850
+
26851
+ if (specialtyTypeId !== undefined) {
26852
+ localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
26853
+ }
26854
+
26855
+ if (hospitalId !== undefined) {
26856
+ localVarQueryParameter['HospitalId'] = hospitalId;
26857
+ }
26858
+
26859
+ if (created !== undefined) {
26860
+ localVarQueryParameter['Created'] = (created as any instanceof Date) ?
26861
+ (created as any).toISOString() :
26862
+ created;
26863
+ }
26864
+
26865
+ if (languageCode !== undefined) {
26866
+ localVarQueryParameter['LanguageCode'] = languageCode;
26867
+ }
26868
+
26869
+ if (ids) {
26870
+ localVarQueryParameter['Ids'] = ids;
26871
+ }
26872
+
26873
+ if (returnDefaultValue !== undefined) {
26874
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
26875
+ }
26876
+
26877
+ if (page !== undefined) {
26878
+ localVarQueryParameter['page'] = page;
26879
+ }
26880
+
26881
+ if (limit !== undefined) {
26882
+ localVarQueryParameter['limit'] = limit;
26883
+ }
26884
+
26885
+ if (lastRetrieved !== undefined) {
26886
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
26887
+ (lastRetrieved as any).toISOString() :
26888
+ lastRetrieved;
26889
+ }
26890
+
26891
+
26892
+
26459
26893
  setSearchParams(localVarUrlObj, localVarQueryParameter);
26460
26894
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26461
26895
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -26682,6 +27116,28 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
26682
27116
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
26683
27117
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
26684
27118
  },
27119
+ /**
27120
+ *
27121
+ * @summary Get all Specialties Simple.
27122
+ * @param {string} [id]
27123
+ * @param {string} [name]
27124
+ * @param {string} [description]
27125
+ * @param {string} [specialtyTypeId]
27126
+ * @param {string} [hospitalId]
27127
+ * @param {Date} [created]
27128
+ * @param {string} [languageCode]
27129
+ * @param {Array<string>} [ids]
27130
+ * @param {boolean} [returnDefaultValue]
27131
+ * @param {number} [page]
27132
+ * @param {number} [limit]
27133
+ * @param {Date} [lastRetrieved]
27134
+ * @param {*} [options] Override http request option.
27135
+ * @throws {RequiredError}
27136
+ */
27137
+ async apiV2SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesSimpleModel>> {
27138
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
27139
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
27140
+ },
26685
27141
  /**
26686
27142
  *
26687
27143
  * @param {string} slug
@@ -26765,6 +27221,27 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
26765
27221
  apiV2SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesModel> {
26766
27222
  return localVarFp.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
26767
27223
  },
27224
+ /**
27225
+ *
27226
+ * @summary Get all Specialties Simple.
27227
+ * @param {string} [id]
27228
+ * @param {string} [name]
27229
+ * @param {string} [description]
27230
+ * @param {string} [specialtyTypeId]
27231
+ * @param {string} [hospitalId]
27232
+ * @param {Date} [created]
27233
+ * @param {string} [languageCode]
27234
+ * @param {Array<string>} [ids]
27235
+ * @param {boolean} [returnDefaultValue]
27236
+ * @param {number} [page]
27237
+ * @param {number} [limit]
27238
+ * @param {Date} [lastRetrieved]
27239
+ * @param {*} [options] Override http request option.
27240
+ * @throws {RequiredError}
27241
+ */
27242
+ apiV2SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesSimpleModel> {
27243
+ return localVarFp.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
27244
+ },
26768
27245
  /**
26769
27246
  *
26770
27247
  * @param {string} slug
@@ -26846,6 +27323,29 @@ export class SpecialtiesApi extends BaseAPI {
26846
27323
  return SpecialtiesApiFp(this.configuration).apiV2SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
26847
27324
  }
26848
27325
 
27326
+ /**
27327
+ *
27328
+ * @summary Get all Specialties Simple.
27329
+ * @param {string} [id]
27330
+ * @param {string} [name]
27331
+ * @param {string} [description]
27332
+ * @param {string} [specialtyTypeId]
27333
+ * @param {string} [hospitalId]
27334
+ * @param {Date} [created]
27335
+ * @param {string} [languageCode]
27336
+ * @param {Array<string>} [ids]
27337
+ * @param {boolean} [returnDefaultValue]
27338
+ * @param {number} [page]
27339
+ * @param {number} [limit]
27340
+ * @param {Date} [lastRetrieved]
27341
+ * @param {*} [options] Override http request option.
27342
+ * @throws {RequiredError}
27343
+ * @memberof SpecialtiesApi
27344
+ */
27345
+ public apiV2SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
27346
+ return SpecialtiesApiFp(this.configuration).apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
27347
+ }
27348
+
26849
27349
  /**
26850
27350
  *
26851
27351
  * @param {string} slug