ch-admin-api-client-typescript 3.1.0 → 3.1.3

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
@@ -1213,6 +1213,12 @@ export interface BookingItemModel {
1213
1213
  * @memberof BookingItemModel
1214
1214
  */
1215
1215
  'applicationFee'?: number;
1216
+ /**
1217
+ *
1218
+ * @type {boolean}
1219
+ * @memberof BookingItemModel
1220
+ */
1221
+ 'paymentEnabled'?: boolean;
1216
1222
  /**
1217
1223
  *
1218
1224
  * @type {string}
@@ -1436,6 +1442,12 @@ export interface BookingModel {
1436
1442
  * @memberof BookingModel
1437
1443
  */
1438
1444
  'applicationFee'?: number;
1445
+ /**
1446
+ *
1447
+ * @type {boolean}
1448
+ * @memberof BookingModel
1449
+ */
1450
+ 'paymentEnabled'?: boolean;
1439
1451
  /**
1440
1452
  *
1441
1453
  * @type {string}
@@ -2427,6 +2439,12 @@ export interface ConsultationItemModel {
2427
2439
  * @memberof ConsultationItemModel
2428
2440
  */
2429
2441
  'paymentId'?: string | null;
2442
+ /**
2443
+ *
2444
+ * @type {boolean}
2445
+ * @memberof ConsultationItemModel
2446
+ */
2447
+ 'paymentEnabled'?: boolean;
2430
2448
  /**
2431
2449
  *
2432
2450
  * @type {number}
@@ -2710,6 +2728,12 @@ export interface ConsultationModel {
2710
2728
  * @memberof ConsultationModel
2711
2729
  */
2712
2730
  'paymentId'?: string | null;
2731
+ /**
2732
+ *
2733
+ * @type {boolean}
2734
+ * @memberof ConsultationModel
2735
+ */
2736
+ 'paymentEnabled'?: boolean;
2713
2737
  /**
2714
2738
  *
2715
2739
  * @type {number}
@@ -3755,6 +3779,12 @@ export interface CreateDealCommand {
3755
3779
  * @memberof CreateDealCommand
3756
3780
  */
3757
3781
  'photoThumbnail'?: string | null;
3782
+ /**
3783
+ *
3784
+ * @type {number}
3785
+ * @memberof CreateDealCommand
3786
+ */
3787
+ 'serviceDuration'?: number;
3758
3788
  }
3759
3789
  /**
3760
3790
  *
@@ -3984,6 +4014,19 @@ export interface CreateDoctorEducationCommand {
3984
4014
  */
3985
4015
  'graduationDate'?: Date | null;
3986
4016
  }
4017
+ /**
4018
+ *
4019
+ * @export
4020
+ * @interface CreateDoctorLanguageCommand
4021
+ */
4022
+ export interface CreateDoctorLanguageCommand {
4023
+ /**
4024
+ *
4025
+ * @type {string}
4026
+ * @memberof CreateDoctorLanguageCommand
4027
+ */
4028
+ 'language'?: string | null;
4029
+ }
3987
4030
  /**
3988
4031
  *
3989
4032
  * @export
@@ -4076,6 +4119,12 @@ export interface CreateFaqCategoryCommand {
4076
4119
  * @memberof CreateFaqCategoryCommand
4077
4120
  */
4078
4121
  'order'?: number;
4122
+ /**
4123
+ *
4124
+ * @type {string}
4125
+ * @memberof CreateFaqCategoryCommand
4126
+ */
4127
+ 'hospitalId'?: string;
4079
4128
  }
4080
4129
  /**
4081
4130
  *
@@ -4107,12 +4156,6 @@ export interface CreateFaqCommand {
4107
4156
  * @memberof CreateFaqCommand
4108
4157
  */
4109
4158
  'faqCategoryId'?: string | null;
4110
- /**
4111
- *
4112
- * @type {string}
4113
- * @memberof CreateFaqCommand
4114
- */
4115
- 'hospitalId'?: string;
4116
4159
  }
4117
4160
  /**
4118
4161
  *
@@ -6229,6 +6272,75 @@ export interface DoctorItemSimpleModel {
6229
6272
  */
6230
6273
  'confirmed'?: boolean;
6231
6274
  }
6275
+ /**
6276
+ *
6277
+ * @export
6278
+ * @interface DoctorLanguageItemModel
6279
+ */
6280
+ export interface DoctorLanguageItemModel {
6281
+ /**
6282
+ *
6283
+ * @type {string}
6284
+ * @memberof DoctorLanguageItemModel
6285
+ */
6286
+ 'id'?: string;
6287
+ /**
6288
+ *
6289
+ * @type {string}
6290
+ * @memberof DoctorLanguageItemModel
6291
+ */
6292
+ 'language'?: string | null;
6293
+ /**
6294
+ *
6295
+ * @type {string}
6296
+ * @memberof DoctorLanguageItemModel
6297
+ */
6298
+ 'userId'?: string;
6299
+ }
6300
+ /**
6301
+ *
6302
+ * @export
6303
+ * @interface DoctorLanguageModel
6304
+ */
6305
+ export interface DoctorLanguageModel {
6306
+ /**
6307
+ *
6308
+ * @type {string}
6309
+ * @memberof DoctorLanguageModel
6310
+ */
6311
+ 'id'?: string;
6312
+ /**
6313
+ *
6314
+ * @type {string}
6315
+ * @memberof DoctorLanguageModel
6316
+ */
6317
+ 'language'?: string | null;
6318
+ /**
6319
+ *
6320
+ * @type {string}
6321
+ * @memberof DoctorLanguageModel
6322
+ */
6323
+ 'userId'?: string;
6324
+ }
6325
+ /**
6326
+ *
6327
+ * @export
6328
+ * @interface DoctorLanguagesModel
6329
+ */
6330
+ export interface DoctorLanguagesModel {
6331
+ /**
6332
+ *
6333
+ * @type {Array<DoctorLanguageItemModel>}
6334
+ * @memberof DoctorLanguagesModel
6335
+ */
6336
+ 'items'?: Array<DoctorLanguageItemModel> | null;
6337
+ /**
6338
+ *
6339
+ * @type {PagedListMetaData}
6340
+ * @memberof DoctorLanguagesModel
6341
+ */
6342
+ 'metaData'?: PagedListMetaData;
6343
+ }
6232
6344
  /**
6233
6345
  *
6234
6346
  * @export
@@ -6741,10 +6853,16 @@ export interface FaqCategoryItemModel {
6741
6853
  'order'?: number;
6742
6854
  /**
6743
6855
  *
6744
- * @type {Array<FaqItemModel>}
6856
+ * @type {string}
6745
6857
  * @memberof FaqCategoryItemModel
6746
6858
  */
6747
- 'faqs'?: Array<FaqItemModel> | null;
6859
+ 'hospitalId'?: string;
6860
+ /**
6861
+ *
6862
+ * @type {string}
6863
+ * @memberof FaqCategoryItemModel
6864
+ */
6865
+ 'hospitalName'?: string | null;
6748
6866
  /**
6749
6867
  *
6750
6868
  * @type {Array<LocalizedUrlModel>}
@@ -6802,10 +6920,16 @@ export interface FaqCategoryModel {
6802
6920
  'order'?: number;
6803
6921
  /**
6804
6922
  *
6805
- * @type {Array<FaqItemModel>}
6923
+ * @type {string}
6806
6924
  * @memberof FaqCategoryModel
6807
6925
  */
6808
- 'faqs'?: Array<FaqItemModel> | null;
6926
+ 'hospitalId'?: string;
6927
+ /**
6928
+ *
6929
+ * @type {string}
6930
+ * @memberof FaqCategoryModel
6931
+ */
6932
+ 'hospitalName'?: string | null;
6809
6933
  /**
6810
6934
  *
6811
6935
  * @type {Array<LocalizedUrlModel>}
@@ -7811,13 +7935,13 @@ export interface HospitalModel {
7811
7935
  * @type {Array<WorkingDay>}
7812
7936
  * @memberof HospitalModel
7813
7937
  */
7814
- 'workingDays'?: Array<WorkingDay> | null;
7938
+ 'hospitalWorkingDays'?: Array<WorkingDay> | null;
7815
7939
  /**
7816
7940
  *
7817
7941
  * @type {Array<SnsHandle>}
7818
7942
  * @memberof HospitalModel
7819
7943
  */
7820
- 'snsHandles'?: Array<SnsHandle> | null;
7944
+ 'hospitalSnsHandles'?: Array<SnsHandle> | null;
7821
7945
  }
7822
7946
  /**
7823
7947
  *
@@ -11988,6 +12112,12 @@ export interface UpdateDealCommand {
11988
12112
  * @memberof UpdateDealCommand
11989
12113
  */
11990
12114
  'photoThumbnail'?: string | null;
12115
+ /**
12116
+ *
12117
+ * @type {number}
12118
+ * @memberof UpdateDealCommand
12119
+ */
12120
+ 'serviceDuration'?: number;
11991
12121
  /**
11992
12122
  *
11993
12123
  * @type {string}
@@ -12235,6 +12365,19 @@ export interface UpdateDoctorEducationCommand {
12235
12365
  */
12236
12366
  'graduationDate'?: Date | null;
12237
12367
  }
12368
+ /**
12369
+ *
12370
+ * @export
12371
+ * @interface UpdateDoctorLanguageCommand
12372
+ */
12373
+ export interface UpdateDoctorLanguageCommand {
12374
+ /**
12375
+ *
12376
+ * @type {string}
12377
+ * @memberof UpdateDoctorLanguageCommand
12378
+ */
12379
+ 'language'?: string | null;
12380
+ }
12238
12381
  /**
12239
12382
  *
12240
12383
  * @export
@@ -17392,13 +17535,14 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
17392
17535
  * @param {SortingOrder} [sortRequestDate]
17393
17536
  * @param {SortingOrder} [sortConfirmedDateStart]
17394
17537
  * @param {boolean} [isExternal]
17538
+ * @param {boolean} [paymentEnabled]
17395
17539
  * @param {number} [page]
17396
17540
  * @param {number} [limit]
17397
17541
  * @param {Date} [lastRetrieved]
17398
17542
  * @param {*} [options] Override http request option.
17399
17543
  * @throws {RequiredError}
17400
17544
  */
17401
- apiV1BookingsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
17545
+ apiV1BookingsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
17402
17546
  const localVarPath = `/api/v1/bookings`;
17403
17547
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17404
17548
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -17447,6 +17591,10 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
17447
17591
  localVarQueryParameter['IsExternal'] = isExternal;
17448
17592
  }
17449
17593
 
17594
+ if (paymentEnabled !== undefined) {
17595
+ localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
17596
+ }
17597
+
17450
17598
  if (page !== undefined) {
17451
17599
  localVarQueryParameter['page'] = page;
17452
17600
  }
@@ -17561,14 +17709,15 @@ export const BookingsApiFp = function(configuration?: Configuration) {
17561
17709
  * @param {SortingOrder} [sortRequestDate]
17562
17710
  * @param {SortingOrder} [sortConfirmedDateStart]
17563
17711
  * @param {boolean} [isExternal]
17712
+ * @param {boolean} [paymentEnabled]
17564
17713
  * @param {number} [page]
17565
17714
  * @param {number} [limit]
17566
17715
  * @param {Date} [lastRetrieved]
17567
17716
  * @param {*} [options] Override http request option.
17568
17717
  * @throws {RequiredError}
17569
17718
  */
17570
- async apiV1BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingsModel>> {
17571
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options);
17719
+ async apiV1BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingsModel>> {
17720
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, page, limit, lastRetrieved, options);
17572
17721
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
17573
17722
  },
17574
17723
  }
@@ -17654,14 +17803,15 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
17654
17803
  * @param {SortingOrder} [sortRequestDate]
17655
17804
  * @param {SortingOrder} [sortConfirmedDateStart]
17656
17805
  * @param {boolean} [isExternal]
17806
+ * @param {boolean} [paymentEnabled]
17657
17807
  * @param {number} [page]
17658
17808
  * @param {number} [limit]
17659
17809
  * @param {Date} [lastRetrieved]
17660
17810
  * @param {*} [options] Override http request option.
17661
17811
  * @throws {RequiredError}
17662
17812
  */
17663
- apiV1BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<BookingsModel> {
17664
- return localVarFp.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
17813
+ apiV1BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<BookingsModel> {
17814
+ return localVarFp.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
17665
17815
  },
17666
17816
  };
17667
17817
  };
@@ -17758,6 +17908,7 @@ export class BookingsApi extends BaseAPI {
17758
17908
  * @param {SortingOrder} [sortRequestDate]
17759
17909
  * @param {SortingOrder} [sortConfirmedDateStart]
17760
17910
  * @param {boolean} [isExternal]
17911
+ * @param {boolean} [paymentEnabled]
17761
17912
  * @param {number} [page]
17762
17913
  * @param {number} [limit]
17763
17914
  * @param {Date} [lastRetrieved]
@@ -17765,8 +17916,8 @@ export class BookingsApi extends BaseAPI {
17765
17916
  * @throws {RequiredError}
17766
17917
  * @memberof BookingsApi
17767
17918
  */
17768
- public apiV1BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
17769
- return BookingsApiFp(this.configuration).apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
17919
+ public apiV1BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
17920
+ return BookingsApiFp(this.configuration).apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
17770
17921
  }
17771
17922
  }
17772
17923
 
@@ -19705,13 +19856,14 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
19705
19856
  * @param {SortingOrder} [sortRequestDate]
19706
19857
  * @param {SortingOrder} [sortConfirmedDateStart]
19707
19858
  * @param {boolean} [isExternal]
19859
+ * @param {boolean} [paymentEnabled]
19708
19860
  * @param {number} [page]
19709
19861
  * @param {number} [limit]
19710
19862
  * @param {Date} [lastRetrieved]
19711
19863
  * @param {*} [options] Override http request option.
19712
19864
  * @throws {RequiredError}
19713
19865
  */
19714
- apiV1ConsultationsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
19866
+ apiV1ConsultationsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
19715
19867
  const localVarPath = `/api/v1/consultations`;
19716
19868
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
19717
19869
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -19760,6 +19912,10 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
19760
19912
  localVarQueryParameter['IsExternal'] = isExternal;
19761
19913
  }
19762
19914
 
19915
+ if (paymentEnabled !== undefined) {
19916
+ localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
19917
+ }
19918
+
19763
19919
  if (page !== undefined) {
19764
19920
  localVarQueryParameter['page'] = page;
19765
19921
  }
@@ -19874,14 +20030,15 @@ export const ConsultationsApiFp = function(configuration?: Configuration) {
19874
20030
  * @param {SortingOrder} [sortRequestDate]
19875
20031
  * @param {SortingOrder} [sortConfirmedDateStart]
19876
20032
  * @param {boolean} [isExternal]
20033
+ * @param {boolean} [paymentEnabled]
19877
20034
  * @param {number} [page]
19878
20035
  * @param {number} [limit]
19879
20036
  * @param {Date} [lastRetrieved]
19880
20037
  * @param {*} [options] Override http request option.
19881
20038
  * @throws {RequiredError}
19882
20039
  */
19883
- async apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationsModel>> {
19884
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options);
20040
+ async apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationsModel>> {
20041
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, page, limit, lastRetrieved, options);
19885
20042
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
19886
20043
  },
19887
20044
  }
@@ -19967,14 +20124,15 @@ export const ConsultationsApiFactory = function (configuration?: Configuration,
19967
20124
  * @param {SortingOrder} [sortRequestDate]
19968
20125
  * @param {SortingOrder} [sortConfirmedDateStart]
19969
20126
  * @param {boolean} [isExternal]
20127
+ * @param {boolean} [paymentEnabled]
19970
20128
  * @param {number} [page]
19971
20129
  * @param {number} [limit]
19972
20130
  * @param {Date} [lastRetrieved]
19973
20131
  * @param {*} [options] Override http request option.
19974
20132
  * @throws {RequiredError}
19975
20133
  */
19976
- apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ConsultationsModel> {
19977
- return localVarFp.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
20134
+ apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ConsultationsModel> {
20135
+ return localVarFp.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
19978
20136
  },
19979
20137
  };
19980
20138
  };
@@ -20071,6 +20229,7 @@ export class ConsultationsApi extends BaseAPI {
20071
20229
  * @param {SortingOrder} [sortRequestDate]
20072
20230
  * @param {SortingOrder} [sortConfirmedDateStart]
20073
20231
  * @param {boolean} [isExternal]
20232
+ * @param {boolean} [paymentEnabled]
20074
20233
  * @param {number} [page]
20075
20234
  * @param {number} [limit]
20076
20235
  * @param {Date} [lastRetrieved]
@@ -20078,8 +20237,8 @@ export class ConsultationsApi extends BaseAPI {
20078
20237
  * @throws {RequiredError}
20079
20238
  * @memberof ConsultationsApi
20080
20239
  */
20081
- public apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
20082
- return ConsultationsApiFp(this.configuration).apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
20240
+ public apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
20241
+ return ConsultationsApiFp(this.configuration).apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
20083
20242
  }
20084
20243
  }
20085
20244
 
@@ -22955,6 +23114,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
22955
23114
  * @param {string} [exceptHospitalId]
22956
23115
  * @param {string} [exceptDealId]
22957
23116
  * @param {Array<string>} [ids]
23117
+ * @param {number} [serviceDuration]
22958
23118
  * @param {string} [languageCode]
22959
23119
  * @param {boolean} [showHidden]
22960
23120
  * @param {boolean} [returnDefaultValue]
@@ -22964,7 +23124,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
22964
23124
  * @param {*} [options] Override http request option.
22965
23125
  * @throws {RequiredError}
22966
23126
  */
22967
- apiV1DealsGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23127
+ apiV1DealsGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
22968
23128
  const localVarPath = `/api/v1/deals`;
22969
23129
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
22970
23130
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -23029,6 +23189,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
23029
23189
  localVarQueryParameter['Ids'] = ids;
23030
23190
  }
23031
23191
 
23192
+ if (serviceDuration !== undefined) {
23193
+ localVarQueryParameter['ServiceDuration'] = serviceDuration;
23194
+ }
23195
+
23032
23196
  if (languageCode !== undefined) {
23033
23197
  localVarQueryParameter['LanguageCode'] = languageCode;
23034
23198
  }
@@ -23119,6 +23283,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
23119
23283
  * @param {string} [exceptHospitalId]
23120
23284
  * @param {string} [exceptDealId]
23121
23285
  * @param {Array<string>} [ids]
23286
+ * @param {number} [serviceDuration]
23122
23287
  * @param {string} [languageCode]
23123
23288
  * @param {boolean} [showHidden]
23124
23289
  * @param {boolean} [returnDefaultValue]
@@ -23128,7 +23293,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
23128
23293
  * @param {*} [options] Override http request option.
23129
23294
  * @throws {RequiredError}
23130
23295
  */
23131
- apiV1DealsSimpleGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23296
+ apiV1DealsSimpleGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23132
23297
  const localVarPath = `/api/v1/deals/simple`;
23133
23298
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23134
23299
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -23193,6 +23358,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
23193
23358
  localVarQueryParameter['Ids'] = ids;
23194
23359
  }
23195
23360
 
23361
+ if (serviceDuration !== undefined) {
23362
+ localVarQueryParameter['ServiceDuration'] = serviceDuration;
23363
+ }
23364
+
23196
23365
  if (languageCode !== undefined) {
23197
23366
  localVarQueryParameter['LanguageCode'] = languageCode;
23198
23367
  }
@@ -23471,6 +23640,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
23471
23640
  * @param {string} [exceptHospitalId]
23472
23641
  * @param {string} [exceptDealId]
23473
23642
  * @param {Array<string>} [ids]
23643
+ * @param {number} [serviceDuration]
23474
23644
  * @param {string} [languageCode]
23475
23645
  * @param {boolean} [showHidden]
23476
23646
  * @param {boolean} [returnDefaultValue]
@@ -23480,8 +23650,8 @@ export const DealsApiFp = function(configuration?: Configuration) {
23480
23650
  * @param {*} [options] Override http request option.
23481
23651
  * @throws {RequiredError}
23482
23652
  */
23483
- async apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsModel>> {
23484
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
23653
+ async apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsModel>> {
23654
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
23485
23655
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23486
23656
  },
23487
23657
  /**
@@ -23510,6 +23680,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
23510
23680
  * @param {string} [exceptHospitalId]
23511
23681
  * @param {string} [exceptDealId]
23512
23682
  * @param {Array<string>} [ids]
23683
+ * @param {number} [serviceDuration]
23513
23684
  * @param {string} [languageCode]
23514
23685
  * @param {boolean} [showHidden]
23515
23686
  * @param {boolean} [returnDefaultValue]
@@ -23519,8 +23690,8 @@ export const DealsApiFp = function(configuration?: Configuration) {
23519
23690
  * @param {*} [options] Override http request option.
23520
23691
  * @throws {RequiredError}
23521
23692
  */
23522
- async apiV1DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsSimpleModel>> {
23523
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
23693
+ async apiV1DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsSimpleModel>> {
23694
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
23524
23695
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23525
23696
  },
23526
23697
  /**
@@ -23716,6 +23887,7 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
23716
23887
  * @param {string} [exceptHospitalId]
23717
23888
  * @param {string} [exceptDealId]
23718
23889
  * @param {Array<string>} [ids]
23890
+ * @param {number} [serviceDuration]
23719
23891
  * @param {string} [languageCode]
23720
23892
  * @param {boolean} [showHidden]
23721
23893
  * @param {boolean} [returnDefaultValue]
@@ -23725,8 +23897,8 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
23725
23897
  * @param {*} [options] Override http request option.
23726
23898
  * @throws {RequiredError}
23727
23899
  */
23728
- apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
23729
- return localVarFp.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
23900
+ apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
23901
+ return localVarFp.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
23730
23902
  },
23731
23903
  /**
23732
23904
  *
@@ -23753,6 +23925,7 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
23753
23925
  * @param {string} [exceptHospitalId]
23754
23926
  * @param {string} [exceptDealId]
23755
23927
  * @param {Array<string>} [ids]
23928
+ * @param {number} [serviceDuration]
23756
23929
  * @param {string} [languageCode]
23757
23930
  * @param {boolean} [showHidden]
23758
23931
  * @param {boolean} [returnDefaultValue]
@@ -23762,8 +23935,8 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
23762
23935
  * @param {*} [options] Override http request option.
23763
23936
  * @throws {RequiredError}
23764
23937
  */
23765
- apiV1DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsSimpleModel> {
23766
- return localVarFp.apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
23938
+ apiV1DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsSimpleModel> {
23939
+ return localVarFp.apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
23767
23940
  },
23768
23941
  /**
23769
23942
  *
@@ -23983,6 +24156,7 @@ export class DealsApi extends BaseAPI {
23983
24156
  * @param {string} [exceptHospitalId]
23984
24157
  * @param {string} [exceptDealId]
23985
24158
  * @param {Array<string>} [ids]
24159
+ * @param {number} [serviceDuration]
23986
24160
  * @param {string} [languageCode]
23987
24161
  * @param {boolean} [showHidden]
23988
24162
  * @param {boolean} [returnDefaultValue]
@@ -23993,8 +24167,8 @@ export class DealsApi extends BaseAPI {
23993
24167
  * @throws {RequiredError}
23994
24168
  * @memberof DealsApi
23995
24169
  */
23996
- public apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
23997
- return DealsApiFp(this.configuration).apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
24170
+ public apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
24171
+ return DealsApiFp(this.configuration).apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
23998
24172
  }
23999
24173
 
24000
24174
  /**
@@ -24024,6 +24198,7 @@ export class DealsApi extends BaseAPI {
24024
24198
  * @param {string} [exceptHospitalId]
24025
24199
  * @param {string} [exceptDealId]
24026
24200
  * @param {Array<string>} [ids]
24201
+ * @param {number} [serviceDuration]
24027
24202
  * @param {string} [languageCode]
24028
24203
  * @param {boolean} [showHidden]
24029
24204
  * @param {boolean} [returnDefaultValue]
@@ -24034,8 +24209,8 @@ export class DealsApi extends BaseAPI {
24034
24209
  * @throws {RequiredError}
24035
24210
  * @memberof DealsApi
24036
24211
  */
24037
- public apiV1DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
24038
- return DealsApiFp(this.configuration).apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
24212
+ public apiV1DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
24213
+ return DealsApiFp(this.configuration).apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
24039
24214
  }
24040
24215
 
24041
24216
  /**
@@ -24842,20 +25017,19 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
24842
25017
  },
24843
25018
  /**
24844
25019
  *
24845
- * @summary Get all DoctorMedias.
25020
+ * @summary Get all DoctorLanguages.
24846
25021
  * @param {string} doctorId
24847
- * @param {string} [id]
24848
- * @param {MediaType} [mediaType]
25022
+ * @param {string} [language]
24849
25023
  * @param {number} [page]
24850
25024
  * @param {number} [limit]
24851
25025
  * @param {Date} [lastRetrieved]
24852
25026
  * @param {*} [options] Override http request option.
24853
25027
  * @throws {RequiredError}
24854
25028
  */
24855
- apiV1DoctorsDoctorIdMediasGet: async (doctorId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25029
+ apiV1DoctorsDoctorIdLanguagesGet: async (doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24856
25030
  // verify required parameter 'doctorId' is not null or undefined
24857
- assertParamExists('apiV1DoctorsDoctorIdMediasGet', 'doctorId', doctorId)
24858
- const localVarPath = `/api/v1/doctors/{doctorId}/medias`
25031
+ assertParamExists('apiV1DoctorsDoctorIdLanguagesGet', 'doctorId', doctorId)
25032
+ const localVarPath = `/api/v1/doctors/{doctorId}/languages`
24859
25033
  .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
24860
25034
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
24861
25035
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -24872,12 +25046,8 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
24872
25046
  // oauth required
24873
25047
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24874
25048
 
24875
- if (id !== undefined) {
24876
- localVarQueryParameter['Id'] = id;
24877
- }
24878
-
24879
- if (mediaType !== undefined) {
24880
- localVarQueryParameter['MediaType'] = mediaType;
25049
+ if (language !== undefined) {
25050
+ localVarQueryParameter['Language'] = language;
24881
25051
  }
24882
25052
 
24883
25053
  if (page !== undefined) {
@@ -24907,20 +25077,20 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
24907
25077
  },
24908
25078
  /**
24909
25079
  *
24910
- * @summary Delete DoctorMedia
25080
+ * @summary Delete DoctorLanguage
24911
25081
  * @param {string} doctorId
24912
- * @param {string} mediaId
25082
+ * @param {string} languageId
24913
25083
  * @param {*} [options] Override http request option.
24914
25084
  * @throws {RequiredError}
24915
25085
  */
24916
- apiV1DoctorsDoctorIdMediasMediaIdDelete: async (doctorId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25086
+ apiV1DoctorsDoctorIdLanguagesLanguageIdDelete: async (doctorId: string, languageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24917
25087
  // verify required parameter 'doctorId' is not null or undefined
24918
- assertParamExists('apiV1DoctorsDoctorIdMediasMediaIdDelete', 'doctorId', doctorId)
24919
- // verify required parameter 'mediaId' is not null or undefined
24920
- assertParamExists('apiV1DoctorsDoctorIdMediasMediaIdDelete', 'mediaId', mediaId)
24921
- const localVarPath = `/api/v1/doctors/{doctorId}/medias/{mediaId}`
25088
+ assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdDelete', 'doctorId', doctorId)
25089
+ // verify required parameter 'languageId' is not null or undefined
25090
+ assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdDelete', 'languageId', languageId)
25091
+ const localVarPath = `/api/v1/doctors/{doctorId}/languages/{languageId}`
24922
25092
  .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
24923
- .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
25093
+ .replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
24924
25094
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
24925
25095
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24926
25096
  let baseOptions;
@@ -24949,20 +25119,20 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
24949
25119
  },
24950
25120
  /**
24951
25121
  *
24952
- * @summary Get DoctorMedia.
25122
+ * @summary Get DoctorLanguage.
24953
25123
  * @param {string} doctorId
24954
- * @param {string} mediaId
25124
+ * @param {string} languageId
24955
25125
  * @param {*} [options] Override http request option.
24956
25126
  * @throws {RequiredError}
24957
25127
  */
24958
- apiV1DoctorsDoctorIdMediasMediaIdGet: async (doctorId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25128
+ apiV1DoctorsDoctorIdLanguagesLanguageIdGet: async (doctorId: string, languageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24959
25129
  // verify required parameter 'doctorId' is not null or undefined
24960
- assertParamExists('apiV1DoctorsDoctorIdMediasMediaIdGet', 'doctorId', doctorId)
24961
- // verify required parameter 'mediaId' is not null or undefined
24962
- assertParamExists('apiV1DoctorsDoctorIdMediasMediaIdGet', 'mediaId', mediaId)
24963
- const localVarPath = `/api/v1/doctors/{doctorId}/medias/{mediaId}`
25130
+ assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdGet', 'doctorId', doctorId)
25131
+ // verify required parameter 'languageId' is not null or undefined
25132
+ assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdGet', 'languageId', languageId)
25133
+ const localVarPath = `/api/v1/doctors/{doctorId}/languages/{languageId}`
24964
25134
  .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
24965
- .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
25135
+ .replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
24966
25136
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
24967
25137
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24968
25138
  let baseOptions;
@@ -24991,21 +25161,21 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
24991
25161
  },
24992
25162
  /**
24993
25163
  *
24994
- * @summary Update DoctorMedia.
25164
+ * @summary Update DoctorLanguage.
24995
25165
  * @param {string} doctorId
24996
- * @param {string} mediaId
24997
- * @param {UpdateMediaCommand} [updateMediaCommand]
25166
+ * @param {string} languageId
25167
+ * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
24998
25168
  * @param {*} [options] Override http request option.
24999
25169
  * @throws {RequiredError}
25000
25170
  */
25001
- apiV1DoctorsDoctorIdMediasMediaIdPut: async (doctorId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25171
+ apiV1DoctorsDoctorIdLanguagesLanguageIdPut: async (doctorId: string, languageId: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25002
25172
  // verify required parameter 'doctorId' is not null or undefined
25003
- assertParamExists('apiV1DoctorsDoctorIdMediasMediaIdPut', 'doctorId', doctorId)
25004
- // verify required parameter 'mediaId' is not null or undefined
25005
- assertParamExists('apiV1DoctorsDoctorIdMediasMediaIdPut', 'mediaId', mediaId)
25006
- const localVarPath = `/api/v1/doctors/{doctorId}/medias/{mediaId}`
25173
+ assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdPut', 'doctorId', doctorId)
25174
+ // verify required parameter 'languageId' is not null or undefined
25175
+ assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdPut', 'languageId', languageId)
25176
+ const localVarPath = `/api/v1/doctors/{doctorId}/languages/{languageId}`
25007
25177
  .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
25008
- .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
25178
+ .replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
25009
25179
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25010
25180
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25011
25181
  let baseOptions;
@@ -25028,7 +25198,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
25028
25198
  setSearchParams(localVarUrlObj, localVarQueryParameter);
25029
25199
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25030
25200
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
25031
- localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
25201
+ localVarRequestOptions.data = serializeDataIfNeeded(updateDoctorLanguageCommand, localVarRequestOptions, configuration)
25032
25202
 
25033
25203
  return {
25034
25204
  url: toPathString(localVarUrlObj),
@@ -25037,16 +25207,16 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
25037
25207
  },
25038
25208
  /**
25039
25209
  *
25040
- * @summary Create DoctorMedia.
25210
+ * @summary Create DoctorLanguage.
25041
25211
  * @param {string} doctorId
25042
- * @param {CreateMediaCommand} [createMediaCommand]
25212
+ * @param {CreateDoctorLanguageCommand} [createDoctorLanguageCommand]
25043
25213
  * @param {*} [options] Override http request option.
25044
25214
  * @throws {RequiredError}
25045
25215
  */
25046
- apiV1DoctorsDoctorIdMediasPost: async (doctorId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25216
+ apiV1DoctorsDoctorIdLanguagesPost: async (doctorId: string, createDoctorLanguageCommand?: CreateDoctorLanguageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25047
25217
  // verify required parameter 'doctorId' is not null or undefined
25048
- assertParamExists('apiV1DoctorsDoctorIdMediasPost', 'doctorId', doctorId)
25049
- const localVarPath = `/api/v1/doctors/{doctorId}/medias`
25218
+ assertParamExists('apiV1DoctorsDoctorIdLanguagesPost', 'doctorId', doctorId)
25219
+ const localVarPath = `/api/v1/doctors/{doctorId}/languages`
25050
25220
  .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
25051
25221
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25052
25222
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -25070,7 +25240,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
25070
25240
  setSearchParams(localVarUrlObj, localVarQueryParameter);
25071
25241
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25072
25242
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
25073
- localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
25243
+ localVarRequestOptions.data = serializeDataIfNeeded(createDoctorLanguageCommand, localVarRequestOptions, configuration)
25074
25244
 
25075
25245
  return {
25076
25246
  url: toPathString(localVarUrlObj),
@@ -25079,21 +25249,20 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
25079
25249
  },
25080
25250
  /**
25081
25251
  *
25082
- * @summary Get All DoctorPortfolios
25252
+ * @summary Get all DoctorMedias.
25083
25253
  * @param {string} doctorId
25084
- * @param {string} [doctorName]
25085
- * @param {string} [portfolioId]
25086
- * @param {string} [name]
25254
+ * @param {string} [id]
25255
+ * @param {MediaType} [mediaType]
25087
25256
  * @param {number} [page]
25088
25257
  * @param {number} [limit]
25089
25258
  * @param {Date} [lastRetrieved]
25090
25259
  * @param {*} [options] Override http request option.
25091
25260
  * @throws {RequiredError}
25092
25261
  */
25093
- apiV1DoctorsDoctorIdPortfoliosGet: async (doctorId: string, doctorName?: string, portfolioId?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25262
+ apiV1DoctorsDoctorIdMediasGet: async (doctorId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25094
25263
  // verify required parameter 'doctorId' is not null or undefined
25095
- assertParamExists('apiV1DoctorsDoctorIdPortfoliosGet', 'doctorId', doctorId)
25096
- const localVarPath = `/api/v1/doctors/{doctorId}/portfolios`
25264
+ assertParamExists('apiV1DoctorsDoctorIdMediasGet', 'doctorId', doctorId)
25265
+ const localVarPath = `/api/v1/doctors/{doctorId}/medias`
25097
25266
  .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
25098
25267
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25099
25268
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -25110,16 +25279,12 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
25110
25279
  // oauth required
25111
25280
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
25112
25281
 
25113
- if (doctorName !== undefined) {
25114
- localVarQueryParameter['DoctorName'] = doctorName;
25115
- }
25116
-
25117
- if (portfolioId !== undefined) {
25118
- localVarQueryParameter['PortfolioId'] = portfolioId;
25282
+ if (id !== undefined) {
25283
+ localVarQueryParameter['Id'] = id;
25119
25284
  }
25120
25285
 
25121
- if (name !== undefined) {
25122
- localVarQueryParameter['Name'] = name;
25286
+ if (mediaType !== undefined) {
25287
+ localVarQueryParameter['MediaType'] = mediaType;
25123
25288
  }
25124
25289
 
25125
25290
  if (page !== undefined) {
@@ -25149,20 +25314,20 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
25149
25314
  },
25150
25315
  /**
25151
25316
  *
25152
- * @summary Delete DoctorPortfolio.
25317
+ * @summary Delete DoctorMedia
25153
25318
  * @param {string} doctorId
25154
- * @param {string} portfolioId
25319
+ * @param {string} mediaId
25155
25320
  * @param {*} [options] Override http request option.
25156
25321
  * @throws {RequiredError}
25157
25322
  */
25158
- apiV1DoctorsDoctorIdPortfoliosPortfolioIdDelete: async (doctorId: string, portfolioId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25323
+ apiV1DoctorsDoctorIdMediasMediaIdDelete: async (doctorId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25159
25324
  // verify required parameter 'doctorId' is not null or undefined
25160
- assertParamExists('apiV1DoctorsDoctorIdPortfoliosPortfolioIdDelete', 'doctorId', doctorId)
25161
- // verify required parameter 'portfolioId' is not null or undefined
25162
- assertParamExists('apiV1DoctorsDoctorIdPortfoliosPortfolioIdDelete', 'portfolioId', portfolioId)
25163
- const localVarPath = `/api/v1/doctors/{doctorId}/portfolios/{portfolioId}`
25325
+ assertParamExists('apiV1DoctorsDoctorIdMediasMediaIdDelete', 'doctorId', doctorId)
25326
+ // verify required parameter 'mediaId' is not null or undefined
25327
+ assertParamExists('apiV1DoctorsDoctorIdMediasMediaIdDelete', 'mediaId', mediaId)
25328
+ const localVarPath = `/api/v1/doctors/{doctorId}/medias/{mediaId}`
25164
25329
  .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
25165
- .replace(`{${"portfolioId"}}`, encodeURIComponent(String(portfolioId)));
25330
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
25166
25331
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25167
25332
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25168
25333
  let baseOptions;
@@ -25191,20 +25356,262 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
25191
25356
  },
25192
25357
  /**
25193
25358
  *
25194
- * @summary Get DoctorPortfolio.
25359
+ * @summary Get DoctorMedia.
25195
25360
  * @param {string} doctorId
25196
- * @param {string} portfolioId
25361
+ * @param {string} mediaId
25197
25362
  * @param {*} [options] Override http request option.
25198
25363
  * @throws {RequiredError}
25199
25364
  */
25200
- apiV1DoctorsDoctorIdPortfoliosPortfolioIdGet: async (doctorId: string, portfolioId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25365
+ apiV1DoctorsDoctorIdMediasMediaIdGet: async (doctorId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25201
25366
  // verify required parameter 'doctorId' is not null or undefined
25202
- assertParamExists('apiV1DoctorsDoctorIdPortfoliosPortfolioIdGet', 'doctorId', doctorId)
25203
- // verify required parameter 'portfolioId' is not null or undefined
25204
- assertParamExists('apiV1DoctorsDoctorIdPortfoliosPortfolioIdGet', 'portfolioId', portfolioId)
25205
- const localVarPath = `/api/v1/doctors/{doctorId}/portfolios/{portfolioId}`
25367
+ assertParamExists('apiV1DoctorsDoctorIdMediasMediaIdGet', 'doctorId', doctorId)
25368
+ // verify required parameter 'mediaId' is not null or undefined
25369
+ assertParamExists('apiV1DoctorsDoctorIdMediasMediaIdGet', 'mediaId', mediaId)
25370
+ const localVarPath = `/api/v1/doctors/{doctorId}/medias/{mediaId}`
25206
25371
  .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
25207
- .replace(`{${"portfolioId"}}`, encodeURIComponent(String(portfolioId)));
25372
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
25373
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
25374
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25375
+ let baseOptions;
25376
+ if (configuration) {
25377
+ baseOptions = configuration.baseOptions;
25378
+ }
25379
+
25380
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
25381
+ const localVarHeaderParameter = {} as any;
25382
+ const localVarQueryParameter = {} as any;
25383
+
25384
+ // authentication oauth2 required
25385
+ // oauth required
25386
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
25387
+
25388
+
25389
+
25390
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
25391
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25392
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
25393
+
25394
+ return {
25395
+ url: toPathString(localVarUrlObj),
25396
+ options: localVarRequestOptions,
25397
+ };
25398
+ },
25399
+ /**
25400
+ *
25401
+ * @summary Update DoctorMedia.
25402
+ * @param {string} doctorId
25403
+ * @param {string} mediaId
25404
+ * @param {UpdateMediaCommand} [updateMediaCommand]
25405
+ * @param {*} [options] Override http request option.
25406
+ * @throws {RequiredError}
25407
+ */
25408
+ apiV1DoctorsDoctorIdMediasMediaIdPut: async (doctorId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25409
+ // verify required parameter 'doctorId' is not null or undefined
25410
+ assertParamExists('apiV1DoctorsDoctorIdMediasMediaIdPut', 'doctorId', doctorId)
25411
+ // verify required parameter 'mediaId' is not null or undefined
25412
+ assertParamExists('apiV1DoctorsDoctorIdMediasMediaIdPut', 'mediaId', mediaId)
25413
+ const localVarPath = `/api/v1/doctors/{doctorId}/medias/{mediaId}`
25414
+ .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
25415
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
25416
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
25417
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25418
+ let baseOptions;
25419
+ if (configuration) {
25420
+ baseOptions = configuration.baseOptions;
25421
+ }
25422
+
25423
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
25424
+ const localVarHeaderParameter = {} as any;
25425
+ const localVarQueryParameter = {} as any;
25426
+
25427
+ // authentication oauth2 required
25428
+ // oauth required
25429
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
25430
+
25431
+
25432
+
25433
+ localVarHeaderParameter['Content-Type'] = 'application/json';
25434
+
25435
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
25436
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25437
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
25438
+ localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
25439
+
25440
+ return {
25441
+ url: toPathString(localVarUrlObj),
25442
+ options: localVarRequestOptions,
25443
+ };
25444
+ },
25445
+ /**
25446
+ *
25447
+ * @summary Create DoctorMedia.
25448
+ * @param {string} doctorId
25449
+ * @param {CreateMediaCommand} [createMediaCommand]
25450
+ * @param {*} [options] Override http request option.
25451
+ * @throws {RequiredError}
25452
+ */
25453
+ apiV1DoctorsDoctorIdMediasPost: async (doctorId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25454
+ // verify required parameter 'doctorId' is not null or undefined
25455
+ assertParamExists('apiV1DoctorsDoctorIdMediasPost', 'doctorId', doctorId)
25456
+ const localVarPath = `/api/v1/doctors/{doctorId}/medias`
25457
+ .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
25458
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
25459
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25460
+ let baseOptions;
25461
+ if (configuration) {
25462
+ baseOptions = configuration.baseOptions;
25463
+ }
25464
+
25465
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
25466
+ const localVarHeaderParameter = {} as any;
25467
+ const localVarQueryParameter = {} as any;
25468
+
25469
+ // authentication oauth2 required
25470
+ // oauth required
25471
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
25472
+
25473
+
25474
+
25475
+ localVarHeaderParameter['Content-Type'] = 'application/json';
25476
+
25477
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
25478
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25479
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
25480
+ localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
25481
+
25482
+ return {
25483
+ url: toPathString(localVarUrlObj),
25484
+ options: localVarRequestOptions,
25485
+ };
25486
+ },
25487
+ /**
25488
+ *
25489
+ * @summary Get All DoctorPortfolios
25490
+ * @param {string} doctorId
25491
+ * @param {string} [doctorName]
25492
+ * @param {string} [portfolioId]
25493
+ * @param {string} [name]
25494
+ * @param {number} [page]
25495
+ * @param {number} [limit]
25496
+ * @param {Date} [lastRetrieved]
25497
+ * @param {*} [options] Override http request option.
25498
+ * @throws {RequiredError}
25499
+ */
25500
+ apiV1DoctorsDoctorIdPortfoliosGet: async (doctorId: string, doctorName?: string, portfolioId?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25501
+ // verify required parameter 'doctorId' is not null or undefined
25502
+ assertParamExists('apiV1DoctorsDoctorIdPortfoliosGet', 'doctorId', doctorId)
25503
+ const localVarPath = `/api/v1/doctors/{doctorId}/portfolios`
25504
+ .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
25505
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
25506
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25507
+ let baseOptions;
25508
+ if (configuration) {
25509
+ baseOptions = configuration.baseOptions;
25510
+ }
25511
+
25512
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
25513
+ const localVarHeaderParameter = {} as any;
25514
+ const localVarQueryParameter = {} as any;
25515
+
25516
+ // authentication oauth2 required
25517
+ // oauth required
25518
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
25519
+
25520
+ if (doctorName !== undefined) {
25521
+ localVarQueryParameter['DoctorName'] = doctorName;
25522
+ }
25523
+
25524
+ if (portfolioId !== undefined) {
25525
+ localVarQueryParameter['PortfolioId'] = portfolioId;
25526
+ }
25527
+
25528
+ if (name !== undefined) {
25529
+ localVarQueryParameter['Name'] = name;
25530
+ }
25531
+
25532
+ if (page !== undefined) {
25533
+ localVarQueryParameter['page'] = page;
25534
+ }
25535
+
25536
+ if (limit !== undefined) {
25537
+ localVarQueryParameter['limit'] = limit;
25538
+ }
25539
+
25540
+ if (lastRetrieved !== undefined) {
25541
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
25542
+ (lastRetrieved as any).toISOString() :
25543
+ lastRetrieved;
25544
+ }
25545
+
25546
+
25547
+
25548
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
25549
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25550
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
25551
+
25552
+ return {
25553
+ url: toPathString(localVarUrlObj),
25554
+ options: localVarRequestOptions,
25555
+ };
25556
+ },
25557
+ /**
25558
+ *
25559
+ * @summary Delete DoctorPortfolio.
25560
+ * @param {string} doctorId
25561
+ * @param {string} portfolioId
25562
+ * @param {*} [options] Override http request option.
25563
+ * @throws {RequiredError}
25564
+ */
25565
+ apiV1DoctorsDoctorIdPortfoliosPortfolioIdDelete: async (doctorId: string, portfolioId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25566
+ // verify required parameter 'doctorId' is not null or undefined
25567
+ assertParamExists('apiV1DoctorsDoctorIdPortfoliosPortfolioIdDelete', 'doctorId', doctorId)
25568
+ // verify required parameter 'portfolioId' is not null or undefined
25569
+ assertParamExists('apiV1DoctorsDoctorIdPortfoliosPortfolioIdDelete', 'portfolioId', portfolioId)
25570
+ const localVarPath = `/api/v1/doctors/{doctorId}/portfolios/{portfolioId}`
25571
+ .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
25572
+ .replace(`{${"portfolioId"}}`, encodeURIComponent(String(portfolioId)));
25573
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
25574
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25575
+ let baseOptions;
25576
+ if (configuration) {
25577
+ baseOptions = configuration.baseOptions;
25578
+ }
25579
+
25580
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
25581
+ const localVarHeaderParameter = {} as any;
25582
+ const localVarQueryParameter = {} as any;
25583
+
25584
+ // authentication oauth2 required
25585
+ // oauth required
25586
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
25587
+
25588
+
25589
+
25590
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
25591
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25592
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
25593
+
25594
+ return {
25595
+ url: toPathString(localVarUrlObj),
25596
+ options: localVarRequestOptions,
25597
+ };
25598
+ },
25599
+ /**
25600
+ *
25601
+ * @summary Get DoctorPortfolio.
25602
+ * @param {string} doctorId
25603
+ * @param {string} portfolioId
25604
+ * @param {*} [options] Override http request option.
25605
+ * @throws {RequiredError}
25606
+ */
25607
+ apiV1DoctorsDoctorIdPortfoliosPortfolioIdGet: async (doctorId: string, portfolioId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25608
+ // verify required parameter 'doctorId' is not null or undefined
25609
+ assertParamExists('apiV1DoctorsDoctorIdPortfoliosPortfolioIdGet', 'doctorId', doctorId)
25610
+ // verify required parameter 'portfolioId' is not null or undefined
25611
+ assertParamExists('apiV1DoctorsDoctorIdPortfoliosPortfolioIdGet', 'portfolioId', portfolioId)
25612
+ const localVarPath = `/api/v1/doctors/{doctorId}/portfolios/{portfolioId}`
25613
+ .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
25614
+ .replace(`{${"portfolioId"}}`, encodeURIComponent(String(portfolioId)));
25208
25615
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25209
25616
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25210
25617
  let baseOptions;
@@ -26147,6 +26554,70 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
26147
26554
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options);
26148
26555
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
26149
26556
  },
26557
+ /**
26558
+ *
26559
+ * @summary Get all DoctorLanguages.
26560
+ * @param {string} doctorId
26561
+ * @param {string} [language]
26562
+ * @param {number} [page]
26563
+ * @param {number} [limit]
26564
+ * @param {Date} [lastRetrieved]
26565
+ * @param {*} [options] Override http request option.
26566
+ * @throws {RequiredError}
26567
+ */
26568
+ async apiV1DoctorsDoctorIdLanguagesGet(doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorLanguagesModel>> {
26569
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options);
26570
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
26571
+ },
26572
+ /**
26573
+ *
26574
+ * @summary Delete DoctorLanguage
26575
+ * @param {string} doctorId
26576
+ * @param {string} languageId
26577
+ * @param {*} [options] Override http request option.
26578
+ * @throws {RequiredError}
26579
+ */
26580
+ async apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId: string, languageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
26581
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options);
26582
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
26583
+ },
26584
+ /**
26585
+ *
26586
+ * @summary Get DoctorLanguage.
26587
+ * @param {string} doctorId
26588
+ * @param {string} languageId
26589
+ * @param {*} [options] Override http request option.
26590
+ * @throws {RequiredError}
26591
+ */
26592
+ async apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId: string, languageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorLanguageModel>> {
26593
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options);
26594
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
26595
+ },
26596
+ /**
26597
+ *
26598
+ * @summary Update DoctorLanguage.
26599
+ * @param {string} doctorId
26600
+ * @param {string} languageId
26601
+ * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
26602
+ * @param {*} [options] Override http request option.
26603
+ * @throws {RequiredError}
26604
+ */
26605
+ async apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId: string, languageId: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorLanguageModel>> {
26606
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options);
26607
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
26608
+ },
26609
+ /**
26610
+ *
26611
+ * @summary Create DoctorLanguage.
26612
+ * @param {string} doctorId
26613
+ * @param {CreateDoctorLanguageCommand} [createDoctorLanguageCommand]
26614
+ * @param {*} [options] Override http request option.
26615
+ * @throws {RequiredError}
26616
+ */
26617
+ async apiV1DoctorsDoctorIdLanguagesPost(doctorId: string, createDoctorLanguageCommand?: CreateDoctorLanguageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorLanguageModel>> {
26618
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesPost(doctorId, createDoctorLanguageCommand, options);
26619
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
26620
+ },
26150
26621
  /**
26151
26622
  *
26152
26623
  * @summary Get all DoctorMedias.
@@ -26634,6 +27105,65 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
26634
27105
  apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<DoctorModel> {
26635
27106
  return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
26636
27107
  },
27108
+ /**
27109
+ *
27110
+ * @summary Get all DoctorLanguages.
27111
+ * @param {string} doctorId
27112
+ * @param {string} [language]
27113
+ * @param {number} [page]
27114
+ * @param {number} [limit]
27115
+ * @param {Date} [lastRetrieved]
27116
+ * @param {*} [options] Override http request option.
27117
+ * @throws {RequiredError}
27118
+ */
27119
+ apiV1DoctorsDoctorIdLanguagesGet(doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorLanguagesModel> {
27120
+ return localVarFp.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
27121
+ },
27122
+ /**
27123
+ *
27124
+ * @summary Delete DoctorLanguage
27125
+ * @param {string} doctorId
27126
+ * @param {string} languageId
27127
+ * @param {*} [options] Override http request option.
27128
+ * @throws {RequiredError}
27129
+ */
27130
+ apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId: string, languageId: string, options?: any): AxiosPromise<boolean> {
27131
+ return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options).then((request) => request(axios, basePath));
27132
+ },
27133
+ /**
27134
+ *
27135
+ * @summary Get DoctorLanguage.
27136
+ * @param {string} doctorId
27137
+ * @param {string} languageId
27138
+ * @param {*} [options] Override http request option.
27139
+ * @throws {RequiredError}
27140
+ */
27141
+ apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId: string, languageId: string, options?: any): AxiosPromise<DoctorLanguageModel> {
27142
+ return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options).then((request) => request(axios, basePath));
27143
+ },
27144
+ /**
27145
+ *
27146
+ * @summary Update DoctorLanguage.
27147
+ * @param {string} doctorId
27148
+ * @param {string} languageId
27149
+ * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
27150
+ * @param {*} [options] Override http request option.
27151
+ * @throws {RequiredError}
27152
+ */
27153
+ apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId: string, languageId: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options?: any): AxiosPromise<DoctorLanguageModel> {
27154
+ return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options).then((request) => request(axios, basePath));
27155
+ },
27156
+ /**
27157
+ *
27158
+ * @summary Create DoctorLanguage.
27159
+ * @param {string} doctorId
27160
+ * @param {CreateDoctorLanguageCommand} [createDoctorLanguageCommand]
27161
+ * @param {*} [options] Override http request option.
27162
+ * @throws {RequiredError}
27163
+ */
27164
+ apiV1DoctorsDoctorIdLanguagesPost(doctorId: string, createDoctorLanguageCommand?: CreateDoctorLanguageCommand, options?: any): AxiosPromise<DoctorLanguageModel> {
27165
+ return localVarFp.apiV1DoctorsDoctorIdLanguagesPost(doctorId, createDoctorLanguageCommand, options).then((request) => request(axios, basePath));
27166
+ },
26637
27167
  /**
26638
27168
  *
26639
27169
  * @summary Get all DoctorMedias.
@@ -27133,6 +27663,75 @@ export class DoctorsApi extends BaseAPI {
27133
27663
  return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
27134
27664
  }
27135
27665
 
27666
+ /**
27667
+ *
27668
+ * @summary Get all DoctorLanguages.
27669
+ * @param {string} doctorId
27670
+ * @param {string} [language]
27671
+ * @param {number} [page]
27672
+ * @param {number} [limit]
27673
+ * @param {Date} [lastRetrieved]
27674
+ * @param {*} [options] Override http request option.
27675
+ * @throws {RequiredError}
27676
+ * @memberof DoctorsApi
27677
+ */
27678
+ public apiV1DoctorsDoctorIdLanguagesGet(doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
27679
+ return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
27680
+ }
27681
+
27682
+ /**
27683
+ *
27684
+ * @summary Delete DoctorLanguage
27685
+ * @param {string} doctorId
27686
+ * @param {string} languageId
27687
+ * @param {*} [options] Override http request option.
27688
+ * @throws {RequiredError}
27689
+ * @memberof DoctorsApi
27690
+ */
27691
+ public apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId: string, languageId: string, options?: AxiosRequestConfig) {
27692
+ return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options).then((request) => request(this.axios, this.basePath));
27693
+ }
27694
+
27695
+ /**
27696
+ *
27697
+ * @summary Get DoctorLanguage.
27698
+ * @param {string} doctorId
27699
+ * @param {string} languageId
27700
+ * @param {*} [options] Override http request option.
27701
+ * @throws {RequiredError}
27702
+ * @memberof DoctorsApi
27703
+ */
27704
+ public apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId: string, languageId: string, options?: AxiosRequestConfig) {
27705
+ return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options).then((request) => request(this.axios, this.basePath));
27706
+ }
27707
+
27708
+ /**
27709
+ *
27710
+ * @summary Update DoctorLanguage.
27711
+ * @param {string} doctorId
27712
+ * @param {string} languageId
27713
+ * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
27714
+ * @param {*} [options] Override http request option.
27715
+ * @throws {RequiredError}
27716
+ * @memberof DoctorsApi
27717
+ */
27718
+ public apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId: string, languageId: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options?: AxiosRequestConfig) {
27719
+ return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options).then((request) => request(this.axios, this.basePath));
27720
+ }
27721
+
27722
+ /**
27723
+ *
27724
+ * @summary Create DoctorLanguage.
27725
+ * @param {string} doctorId
27726
+ * @param {CreateDoctorLanguageCommand} [createDoctorLanguageCommand]
27727
+ * @param {*} [options] Override http request option.
27728
+ * @throws {RequiredError}
27729
+ * @memberof DoctorsApi
27730
+ */
27731
+ public apiV1DoctorsDoctorIdLanguagesPost(doctorId: string, createDoctorLanguageCommand?: CreateDoctorLanguageCommand, options?: AxiosRequestConfig) {
27732
+ return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesPost(doctorId, createDoctorLanguageCommand, options).then((request) => request(this.axios, this.basePath));
27733
+ }
27734
+
27136
27735
  /**
27137
27736
  *
27138
27737
  * @summary Get all DoctorMedias.
@@ -28033,10 +28632,11 @@ export const FaqCategoriesApiAxiosParamCreator = function (configuration?: Confi
28033
28632
  * @summary Get FaqCategory.
28034
28633
  * @param {string} faqCategoryId
28035
28634
  * @param {string} [languageCode]
28635
+ * @param {boolean} [returnDefaultValue]
28036
28636
  * @param {*} [options] Override http request option.
28037
28637
  * @throws {RequiredError}
28038
28638
  */
28039
- apiV1FaqcategoriesFaqCategoryIdGet: async (faqCategoryId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28639
+ apiV1FaqcategoriesFaqCategoryIdGet: async (faqCategoryId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28040
28640
  // verify required parameter 'faqCategoryId' is not null or undefined
28041
28641
  assertParamExists('apiV1FaqcategoriesFaqCategoryIdGet', 'faqCategoryId', faqCategoryId)
28042
28642
  const localVarPath = `/api/v1/faqcategories/{faqCategoryId}`
@@ -28060,6 +28660,10 @@ export const FaqCategoriesApiAxiosParamCreator = function (configuration?: Confi
28060
28660
  localVarQueryParameter['languageCode'] = languageCode;
28061
28661
  }
28062
28662
 
28663
+ if (returnDefaultValue !== undefined) {
28664
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
28665
+ }
28666
+
28063
28667
 
28064
28668
 
28065
28669
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -28120,14 +28724,18 @@ export const FaqCategoriesApiAxiosParamCreator = function (configuration?: Confi
28120
28724
  * @param {string} [parentId]
28121
28725
  * @param {string} [name]
28122
28726
  * @param {string} [description]
28727
+ * @param {string} [hospitalId]
28728
+ * @param {string} [hospitalName]
28123
28729
  * @param {string} [languageCode]
28730
+ * @param {boolean} [showHidden]
28731
+ * @param {boolean} [returnDefaultValue]
28124
28732
  * @param {number} [page]
28125
28733
  * @param {number} [limit]
28126
28734
  * @param {Date} [lastRetrieved]
28127
28735
  * @param {*} [options] Override http request option.
28128
28736
  * @throws {RequiredError}
28129
28737
  */
28130
- apiV1FaqcategoriesGet: async (id?: string, parentId?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28738
+ apiV1FaqcategoriesGet: async (id?: string, parentId?: string, name?: string, description?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28131
28739
  const localVarPath = `/api/v1/faqcategories`;
28132
28740
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
28133
28741
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -28160,10 +28768,26 @@ export const FaqCategoriesApiAxiosParamCreator = function (configuration?: Confi
28160
28768
  localVarQueryParameter['Description'] = description;
28161
28769
  }
28162
28770
 
28771
+ if (hospitalId !== undefined) {
28772
+ localVarQueryParameter['HospitalId'] = hospitalId;
28773
+ }
28774
+
28775
+ if (hospitalName !== undefined) {
28776
+ localVarQueryParameter['HospitalName'] = hospitalName;
28777
+ }
28778
+
28163
28779
  if (languageCode !== undefined) {
28164
28780
  localVarQueryParameter['LanguageCode'] = languageCode;
28165
28781
  }
28166
28782
 
28783
+ if (showHidden !== undefined) {
28784
+ localVarQueryParameter['ShowHidden'] = showHidden;
28785
+ }
28786
+
28787
+ if (returnDefaultValue !== undefined) {
28788
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
28789
+ }
28790
+
28167
28791
  if (page !== undefined) {
28168
28792
  localVarQueryParameter['page'] = page;
28169
28793
  }
@@ -28309,11 +28933,12 @@ export const FaqCategoriesApiFp = function(configuration?: Configuration) {
28309
28933
  * @summary Get FaqCategory.
28310
28934
  * @param {string} faqCategoryId
28311
28935
  * @param {string} [languageCode]
28936
+ * @param {boolean} [returnDefaultValue]
28312
28937
  * @param {*} [options] Override http request option.
28313
28938
  * @throws {RequiredError}
28314
28939
  */
28315
- async apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqCategoryModel>> {
28316
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, options);
28940
+ async apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqCategoryModel>> {
28941
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, returnDefaultValue, options);
28317
28942
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28318
28943
  },
28319
28944
  /**
@@ -28335,15 +28960,19 @@ export const FaqCategoriesApiFp = function(configuration?: Configuration) {
28335
28960
  * @param {string} [parentId]
28336
28961
  * @param {string} [name]
28337
28962
  * @param {string} [description]
28963
+ * @param {string} [hospitalId]
28964
+ * @param {string} [hospitalName]
28338
28965
  * @param {string} [languageCode]
28966
+ * @param {boolean} [showHidden]
28967
+ * @param {boolean} [returnDefaultValue]
28339
28968
  * @param {number} [page]
28340
28969
  * @param {number} [limit]
28341
28970
  * @param {Date} [lastRetrieved]
28342
28971
  * @param {*} [options] Override http request option.
28343
28972
  * @throws {RequiredError}
28344
28973
  */
28345
- async apiV1FaqcategoriesGet(id?: string, parentId?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqCategoriesModel>> {
28346
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesGet(id, parentId, name, description, languageCode, page, limit, lastRetrieved, options);
28974
+ async apiV1FaqcategoriesGet(id?: string, parentId?: string, name?: string, description?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqCategoriesModel>> {
28975
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesGet(id, parentId, name, description, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
28347
28976
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28348
28977
  },
28349
28978
  /**
@@ -28406,11 +29035,12 @@ export const FaqCategoriesApiFactory = function (configuration?: Configuration,
28406
29035
  * @summary Get FaqCategory.
28407
29036
  * @param {string} faqCategoryId
28408
29037
  * @param {string} [languageCode]
29038
+ * @param {boolean} [returnDefaultValue]
28409
29039
  * @param {*} [options] Override http request option.
28410
29040
  * @throws {RequiredError}
28411
29041
  */
28412
- apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string, options?: any): AxiosPromise<FaqCategoryModel> {
28413
- return localVarFp.apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, options).then((request) => request(axios, basePath));
29042
+ apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<FaqCategoryModel> {
29043
+ return localVarFp.apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
28414
29044
  },
28415
29045
  /**
28416
29046
  *
@@ -28430,15 +29060,19 @@ export const FaqCategoriesApiFactory = function (configuration?: Configuration,
28430
29060
  * @param {string} [parentId]
28431
29061
  * @param {string} [name]
28432
29062
  * @param {string} [description]
29063
+ * @param {string} [hospitalId]
29064
+ * @param {string} [hospitalName]
28433
29065
  * @param {string} [languageCode]
29066
+ * @param {boolean} [showHidden]
29067
+ * @param {boolean} [returnDefaultValue]
28434
29068
  * @param {number} [page]
28435
29069
  * @param {number} [limit]
28436
29070
  * @param {Date} [lastRetrieved]
28437
29071
  * @param {*} [options] Override http request option.
28438
29072
  * @throws {RequiredError}
28439
29073
  */
28440
- apiV1FaqcategoriesGet(id?: string, parentId?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<FaqCategoriesModel> {
28441
- return localVarFp.apiV1FaqcategoriesGet(id, parentId, name, description, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
29074
+ apiV1FaqcategoriesGet(id?: string, parentId?: string, name?: string, description?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<FaqCategoriesModel> {
29075
+ return localVarFp.apiV1FaqcategoriesGet(id, parentId, name, description, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
28442
29076
  },
28443
29077
  /**
28444
29078
  *
@@ -28502,12 +29136,13 @@ export class FaqCategoriesApi extends BaseAPI {
28502
29136
  * @summary Get FaqCategory.
28503
29137
  * @param {string} faqCategoryId
28504
29138
  * @param {string} [languageCode]
29139
+ * @param {boolean} [returnDefaultValue]
28505
29140
  * @param {*} [options] Override http request option.
28506
29141
  * @throws {RequiredError}
28507
29142
  * @memberof FaqCategoriesApi
28508
29143
  */
28509
- public apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string, options?: AxiosRequestConfig) {
28510
- return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, options).then((request) => request(this.axios, this.basePath));
29144
+ public apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
29145
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
28511
29146
  }
28512
29147
 
28513
29148
  /**
@@ -28530,7 +29165,11 @@ export class FaqCategoriesApi extends BaseAPI {
28530
29165
  * @param {string} [parentId]
28531
29166
  * @param {string} [name]
28532
29167
  * @param {string} [description]
29168
+ * @param {string} [hospitalId]
29169
+ * @param {string} [hospitalName]
28533
29170
  * @param {string} [languageCode]
29171
+ * @param {boolean} [showHidden]
29172
+ * @param {boolean} [returnDefaultValue]
28534
29173
  * @param {number} [page]
28535
29174
  * @param {number} [limit]
28536
29175
  * @param {Date} [lastRetrieved]
@@ -28538,8 +29177,8 @@ export class FaqCategoriesApi extends BaseAPI {
28538
29177
  * @throws {RequiredError}
28539
29178
  * @memberof FaqCategoriesApi
28540
29179
  */
28541
- public apiV1FaqcategoriesGet(id?: string, parentId?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
28542
- return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesGet(id, parentId, name, description, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
29180
+ public apiV1FaqcategoriesGet(id?: string, parentId?: string, name?: string, description?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
29181
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesGet(id, parentId, name, description, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
28543
29182
  }
28544
29183
 
28545
29184
  /**
@@ -28618,10 +29257,11 @@ export const FaqsApiAxiosParamCreator = function (configuration?: Configuration)
28618
29257
  * @summary Get faq.
28619
29258
  * @param {string} faqId
28620
29259
  * @param {string} [languageCode]
29260
+ * @param {boolean} [returnDefaultValue]
28621
29261
  * @param {*} [options] Override http request option.
28622
29262
  * @throws {RequiredError}
28623
29263
  */
28624
- apiV1FaqsFaqIdGet: async (faqId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29264
+ apiV1FaqsFaqIdGet: async (faqId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28625
29265
  // verify required parameter 'faqId' is not null or undefined
28626
29266
  assertParamExists('apiV1FaqsFaqIdGet', 'faqId', faqId)
28627
29267
  const localVarPath = `/api/v1/faqs/{faqId}`
@@ -28645,6 +29285,10 @@ export const FaqsApiAxiosParamCreator = function (configuration?: Configuration)
28645
29285
  localVarQueryParameter['languageCode'] = languageCode;
28646
29286
  }
28647
29287
 
29288
+ if (returnDefaultValue !== undefined) {
29289
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
29290
+ }
29291
+
28648
29292
 
28649
29293
 
28650
29294
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -28946,13 +29590,14 @@ export const FaqsApiAxiosParamCreator = function (configuration?: Configuration)
28946
29590
  * @param {string} [hospitalName]
28947
29591
  * @param {string} [languageCode]
28948
29592
  * @param {boolean} [showHidden]
29593
+ * @param {boolean} [returnDefaultValue]
28949
29594
  * @param {number} [page]
28950
29595
  * @param {number} [limit]
28951
29596
  * @param {Date} [lastRetrieved]
28952
29597
  * @param {*} [options] Override http request option.
28953
29598
  * @throws {RequiredError}
28954
29599
  */
28955
- apiV1FaqsGet: async (id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29600
+ apiV1FaqsGet: async (id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28956
29601
  const localVarPath = `/api/v1/faqs`;
28957
29602
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
28958
29603
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -29001,6 +29646,10 @@ export const FaqsApiAxiosParamCreator = function (configuration?: Configuration)
29001
29646
  localVarQueryParameter['ShowHidden'] = showHidden;
29002
29647
  }
29003
29648
 
29649
+ if (returnDefaultValue !== undefined) {
29650
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
29651
+ }
29652
+
29004
29653
  if (page !== undefined) {
29005
29654
  localVarQueryParameter['page'] = page;
29006
29655
  }
@@ -29133,11 +29782,12 @@ export const FaqsApiFp = function(configuration?: Configuration) {
29133
29782
  * @summary Get faq.
29134
29783
  * @param {string} faqId
29135
29784
  * @param {string} [languageCode]
29785
+ * @param {boolean} [returnDefaultValue]
29136
29786
  * @param {*} [options] Override http request option.
29137
29787
  * @throws {RequiredError}
29138
29788
  */
29139
- async apiV1FaqsFaqIdGet(faqId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqModel>> {
29140
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdGet(faqId, languageCode, options);
29789
+ async apiV1FaqsFaqIdGet(faqId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqModel>> {
29790
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdGet(faqId, languageCode, returnDefaultValue, options);
29141
29791
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29142
29792
  },
29143
29793
  /**
@@ -29228,14 +29878,15 @@ export const FaqsApiFp = function(configuration?: Configuration) {
29228
29878
  * @param {string} [hospitalName]
29229
29879
  * @param {string} [languageCode]
29230
29880
  * @param {boolean} [showHidden]
29881
+ * @param {boolean} [returnDefaultValue]
29231
29882
  * @param {number} [page]
29232
29883
  * @param {number} [limit]
29233
29884
  * @param {Date} [lastRetrieved]
29234
29885
  * @param {*} [options] Override http request option.
29235
29886
  * @throws {RequiredError}
29236
29887
  */
29237
- async apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqsModel>> {
29238
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options);
29888
+ async apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqsModel>> {
29889
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
29239
29890
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29240
29891
  },
29241
29892
  /**
@@ -29286,11 +29937,12 @@ export const FaqsApiFactory = function (configuration?: Configuration, basePath?
29286
29937
  * @summary Get faq.
29287
29938
  * @param {string} faqId
29288
29939
  * @param {string} [languageCode]
29940
+ * @param {boolean} [returnDefaultValue]
29289
29941
  * @param {*} [options] Override http request option.
29290
29942
  * @throws {RequiredError}
29291
29943
  */
29292
- apiV1FaqsFaqIdGet(faqId: string, languageCode?: string, options?: any): AxiosPromise<FaqModel> {
29293
- return localVarFp.apiV1FaqsFaqIdGet(faqId, languageCode, options).then((request) => request(axios, basePath));
29944
+ apiV1FaqsFaqIdGet(faqId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<FaqModel> {
29945
+ return localVarFp.apiV1FaqsFaqIdGet(faqId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
29294
29946
  },
29295
29947
  /**
29296
29948
  *
@@ -29374,14 +30026,15 @@ export const FaqsApiFactory = function (configuration?: Configuration, basePath?
29374
30026
  * @param {string} [hospitalName]
29375
30027
  * @param {string} [languageCode]
29376
30028
  * @param {boolean} [showHidden]
30029
+ * @param {boolean} [returnDefaultValue]
29377
30030
  * @param {number} [page]
29378
30031
  * @param {number} [limit]
29379
30032
  * @param {Date} [lastRetrieved]
29380
30033
  * @param {*} [options] Override http request option.
29381
30034
  * @throws {RequiredError}
29382
30035
  */
29383
- apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<FaqsModel> {
29384
- return localVarFp.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
30036
+ apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<FaqsModel> {
30037
+ return localVarFp.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
29385
30038
  },
29386
30039
  /**
29387
30040
  *
@@ -29431,12 +30084,13 @@ export class FaqsApi extends BaseAPI {
29431
30084
  * @summary Get faq.
29432
30085
  * @param {string} faqId
29433
30086
  * @param {string} [languageCode]
30087
+ * @param {boolean} [returnDefaultValue]
29434
30088
  * @param {*} [options] Override http request option.
29435
30089
  * @throws {RequiredError}
29436
30090
  * @memberof FaqsApi
29437
30091
  */
29438
- public apiV1FaqsFaqIdGet(faqId: string, languageCode?: string, options?: AxiosRequestConfig) {
29439
- return FaqsApiFp(this.configuration).apiV1FaqsFaqIdGet(faqId, languageCode, options).then((request) => request(this.axios, this.basePath));
30092
+ public apiV1FaqsFaqIdGet(faqId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
30093
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdGet(faqId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
29440
30094
  }
29441
30095
 
29442
30096
  /**
@@ -29533,6 +30187,7 @@ export class FaqsApi extends BaseAPI {
29533
30187
  * @param {string} [hospitalName]
29534
30188
  * @param {string} [languageCode]
29535
30189
  * @param {boolean} [showHidden]
30190
+ * @param {boolean} [returnDefaultValue]
29536
30191
  * @param {number} [page]
29537
30192
  * @param {number} [limit]
29538
30193
  * @param {Date} [lastRetrieved]
@@ -29540,8 +30195,8 @@ export class FaqsApi extends BaseAPI {
29540
30195
  * @throws {RequiredError}
29541
30196
  * @memberof FaqsApi
29542
30197
  */
29543
- public apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
29544
- return FaqsApiFp(this.configuration).apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
30198
+ public apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
30199
+ return FaqsApiFp(this.configuration).apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
29545
30200
  }
29546
30201
 
29547
30202
  /**
@@ -30745,7 +31400,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
30745
31400
  *
30746
31401
  * @summary Get all HospitalHandles.
30747
31402
  * @param {string} hospitalId
30748
- * @param {string} [hospitalId2]
30749
31403
  * @param {string} [id]
30750
31404
  * @param {SnsType} [snsType]
30751
31405
  * @param {string} [handle]
@@ -30755,7 +31409,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
30755
31409
  * @param {*} [options] Override http request option.
30756
31410
  * @throws {RequiredError}
30757
31411
  */
30758
- apiV1HospitalsHospitalIdHandlesGet: async (hospitalId: string, hospitalId2?: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31412
+ apiV1HospitalsHospitalIdHandlesGet: async (hospitalId: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
30759
31413
  // verify required parameter 'hospitalId' is not null or undefined
30760
31414
  assertParamExists('apiV1HospitalsHospitalIdHandlesGet', 'hospitalId', hospitalId)
30761
31415
  const localVarPath = `/api/v1/hospitals/{hospitalId}/handles`
@@ -30775,10 +31429,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
30775
31429
  // oauth required
30776
31430
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
30777
31431
 
30778
- if (hospitalId2 !== undefined) {
30779
- localVarQueryParameter['HospitalId'] = hospitalId2;
30780
- }
30781
-
30782
31432
  if (id !== undefined) {
30783
31433
  localVarQueryParameter['Id'] = id;
30784
31434
  }
@@ -32292,7 +32942,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
32292
32942
  *
32293
32943
  * @summary Get all HospitalWorkingDays.
32294
32944
  * @param {string} hospitalId
32295
- * @param {string} [hospitalId2]
32296
32945
  * @param {string} [id]
32297
32946
  * @param {string} [dayOfWeek]
32298
32947
  * @param {Date} [timeFrom]
@@ -32304,7 +32953,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
32304
32953
  * @param {*} [options] Override http request option.
32305
32954
  * @throws {RequiredError}
32306
32955
  */
32307
- apiV1HospitalsHospitalIdWorkingdaysGet: async (hospitalId: string, hospitalId2?: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32956
+ apiV1HospitalsHospitalIdWorkingdaysGet: async (hospitalId: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32308
32957
  // verify required parameter 'hospitalId' is not null or undefined
32309
32958
  assertParamExists('apiV1HospitalsHospitalIdWorkingdaysGet', 'hospitalId', hospitalId)
32310
32959
  const localVarPath = `/api/v1/hospitals/{hospitalId}/workingdays`
@@ -32324,10 +32973,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
32324
32973
  // oauth required
32325
32974
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
32326
32975
 
32327
- if (hospitalId2 !== undefined) {
32328
- localVarQueryParameter['HospitalId'] = hospitalId2;
32329
- }
32330
-
32331
32976
  if (id !== undefined) {
32332
32977
  localVarQueryParameter['Id'] = id;
32333
32978
  }
@@ -33080,7 +33725,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
33080
33725
  *
33081
33726
  * @summary Get all HospitalHandles.
33082
33727
  * @param {string} hospitalId
33083
- * @param {string} [hospitalId2]
33084
33728
  * @param {string} [id]
33085
33729
  * @param {SnsType} [snsType]
33086
33730
  * @param {string} [handle]
@@ -33090,8 +33734,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
33090
33734
  * @param {*} [options] Override http request option.
33091
33735
  * @throws {RequiredError}
33092
33736
  */
33093
- async apiV1HospitalsHospitalIdHandlesGet(hospitalId: string, hospitalId2?: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSnsHandlesModel>> {
33094
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options);
33737
+ async apiV1HospitalsHospitalIdHandlesGet(hospitalId: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSnsHandlesModel>> {
33738
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesGet(hospitalId, id, snsType, handle, page, limit, lastRetrieved, options);
33095
33739
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33096
33740
  },
33097
33741
  /**
@@ -33485,7 +34129,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
33485
34129
  *
33486
34130
  * @summary Get all HospitalWorkingDays.
33487
34131
  * @param {string} hospitalId
33488
- * @param {string} [hospitalId2]
33489
34132
  * @param {string} [id]
33490
34133
  * @param {string} [dayOfWeek]
33491
34134
  * @param {Date} [timeFrom]
@@ -33497,8 +34140,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
33497
34140
  * @param {*} [options] Override http request option.
33498
34141
  * @throws {RequiredError}
33499
34142
  */
33500
- async apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId: string, hospitalId2?: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkingDaysModel>> {
33501
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options);
34143
+ async apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkingDaysModel>> {
34144
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options);
33502
34145
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33503
34146
  },
33504
34147
  /**
@@ -33509,7 +34152,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
33509
34152
  * @param {*} [options] Override http request option.
33510
34153
  * @throws {RequiredError}
33511
34154
  */
33512
- async apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId: string, createHospitalWorkingDayCommand?: CreateHospitalWorkingDayCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SnsHandleModel>> {
34155
+ async apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId: string, createHospitalWorkingDayCommand?: CreateHospitalWorkingDayCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkingDayModel>> {
33513
34156
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId, createHospitalWorkingDayCommand, options);
33514
34157
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33515
34158
  },
@@ -33901,7 +34544,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
33901
34544
  *
33902
34545
  * @summary Get all HospitalHandles.
33903
34546
  * @param {string} hospitalId
33904
- * @param {string} [hospitalId2]
33905
34547
  * @param {string} [id]
33906
34548
  * @param {SnsType} [snsType]
33907
34549
  * @param {string} [handle]
@@ -33911,8 +34553,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
33911
34553
  * @param {*} [options] Override http request option.
33912
34554
  * @throws {RequiredError}
33913
34555
  */
33914
- apiV1HospitalsHospitalIdHandlesGet(hospitalId: string, hospitalId2?: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSnsHandlesModel> {
33915
- return localVarFp.apiV1HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
34556
+ apiV1HospitalsHospitalIdHandlesGet(hospitalId: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSnsHandlesModel> {
34557
+ return localVarFp.apiV1HospitalsHospitalIdHandlesGet(hospitalId, id, snsType, handle, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
33916
34558
  },
33917
34559
  /**
33918
34560
  *
@@ -34279,7 +34921,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
34279
34921
  *
34280
34922
  * @summary Get all HospitalWorkingDays.
34281
34923
  * @param {string} hospitalId
34282
- * @param {string} [hospitalId2]
34283
34924
  * @param {string} [id]
34284
34925
  * @param {string} [dayOfWeek]
34285
34926
  * @param {Date} [timeFrom]
@@ -34291,8 +34932,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
34291
34932
  * @param {*} [options] Override http request option.
34292
34933
  * @throws {RequiredError}
34293
34934
  */
34294
- apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId: string, hospitalId2?: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<WorkingDaysModel> {
34295
- return localVarFp.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
34935
+ apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<WorkingDaysModel> {
34936
+ return localVarFp.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
34296
34937
  },
34297
34938
  /**
34298
34939
  *
@@ -34302,7 +34943,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
34302
34943
  * @param {*} [options] Override http request option.
34303
34944
  * @throws {RequiredError}
34304
34945
  */
34305
- apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId: string, createHospitalWorkingDayCommand?: CreateHospitalWorkingDayCommand, options?: any): AxiosPromise<SnsHandleModel> {
34946
+ apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId: string, createHospitalWorkingDayCommand?: CreateHospitalWorkingDayCommand, options?: any): AxiosPromise<WorkingDayModel> {
34306
34947
  return localVarFp.apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId, createHospitalWorkingDayCommand, options).then((request) => request(axios, basePath));
34307
34948
  },
34308
34949
  /**
@@ -34731,7 +35372,6 @@ export class HospitalsApi extends BaseAPI {
34731
35372
  *
34732
35373
  * @summary Get all HospitalHandles.
34733
35374
  * @param {string} hospitalId
34734
- * @param {string} [hospitalId2]
34735
35375
  * @param {string} [id]
34736
35376
  * @param {SnsType} [snsType]
34737
35377
  * @param {string} [handle]
@@ -34742,8 +35382,8 @@ export class HospitalsApi extends BaseAPI {
34742
35382
  * @throws {RequiredError}
34743
35383
  * @memberof HospitalsApi
34744
35384
  */
34745
- public apiV1HospitalsHospitalIdHandlesGet(hospitalId: string, hospitalId2?: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
34746
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
35385
+ public apiV1HospitalsHospitalIdHandlesGet(hospitalId: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
35386
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesGet(hospitalId, id, snsType, handle, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
34747
35387
  }
34748
35388
 
34749
35389
  /**
@@ -35163,7 +35803,6 @@ export class HospitalsApi extends BaseAPI {
35163
35803
  *
35164
35804
  * @summary Get all HospitalWorkingDays.
35165
35805
  * @param {string} hospitalId
35166
- * @param {string} [hospitalId2]
35167
35806
  * @param {string} [id]
35168
35807
  * @param {string} [dayOfWeek]
35169
35808
  * @param {Date} [timeFrom]
@@ -35176,8 +35815,8 @@ export class HospitalsApi extends BaseAPI {
35176
35815
  * @throws {RequiredError}
35177
35816
  * @memberof HospitalsApi
35178
35817
  */
35179
- public apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId: string, hospitalId2?: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
35180
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
35818
+ public apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
35819
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
35181
35820
  }
35182
35821
 
35183
35822
  /**