ch-admin-api-client-typescript 2.9.6 → 2.9.9

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
@@ -1261,6 +1261,12 @@ export interface BookingItemModel {
1261
1261
  * @memberof BookingItemModel
1262
1262
  */
1263
1263
  'completionRate'?: number;
1264
+ /**
1265
+ *
1266
+ * @type {boolean}
1267
+ * @memberof BookingItemModel
1268
+ */
1269
+ 'isExternal'?: boolean;
1264
1270
  }
1265
1271
  /**
1266
1272
  *
@@ -1478,6 +1484,12 @@ export interface BookingModel {
1478
1484
  * @memberof BookingModel
1479
1485
  */
1480
1486
  'completionRate'?: number;
1487
+ /**
1488
+ *
1489
+ * @type {boolean}
1490
+ * @memberof BookingModel
1491
+ */
1492
+ 'isExternal'?: boolean;
1481
1493
  /**
1482
1494
  *
1483
1495
  * @type {Array<BookingChangeLogModel>}
@@ -2421,6 +2433,12 @@ export interface ConsultationItemModel {
2421
2433
  * @memberof ConsultationItemModel
2422
2434
  */
2423
2435
  'completionRate'?: number;
2436
+ /**
2437
+ *
2438
+ * @type {boolean}
2439
+ * @memberof ConsultationItemModel
2440
+ */
2441
+ 'isExternal'?: boolean;
2424
2442
  }
2425
2443
  /**
2426
2444
  *
@@ -2698,6 +2716,12 @@ export interface ConsultationModel {
2698
2716
  * @memberof ConsultationModel
2699
2717
  */
2700
2718
  'completionRate'?: number;
2719
+ /**
2720
+ *
2721
+ * @type {boolean}
2722
+ * @memberof ConsultationModel
2723
+ */
2724
+ 'isExternal'?: boolean;
2701
2725
  /**
2702
2726
  *
2703
2727
  * @type {Array<ConsultationChangeLogModel>}
@@ -4213,16 +4237,16 @@ export interface CreateHospitalCommand {
4213
4237
  'websiteUrl'?: string | null;
4214
4238
  /**
4215
4239
  *
4216
- * @type {Array<AwardModel>}
4240
+ * @type {string}
4217
4241
  * @memberof CreateHospitalCommand
4218
4242
  */
4219
- 'awards'?: Array<AwardModel> | null;
4243
+ 'contactTel'?: string | null;
4220
4244
  /**
4221
4245
  *
4222
- * @type {Array<MediaModel>}
4246
+ * @type {string}
4223
4247
  * @memberof CreateHospitalCommand
4224
4248
  */
4225
- 'medias'?: Array<MediaModel> | null;
4249
+ 'contactEmail'?: string | null;
4226
4250
  /**
4227
4251
  *
4228
4252
  * @type {LocationModel}
@@ -4365,6 +4389,25 @@ export interface CreateHospitalServiceCommand {
4365
4389
  */
4366
4390
  'medias'?: Array<MediaModel> | null;
4367
4391
  }
4392
+ /**
4393
+ *
4394
+ * @export
4395
+ * @interface CreateHospitalSnsHandleCommand
4396
+ */
4397
+ export interface CreateHospitalSnsHandleCommand {
4398
+ /**
4399
+ *
4400
+ * @type {SnsType}
4401
+ * @memberof CreateHospitalSnsHandleCommand
4402
+ */
4403
+ 'snsType'?: SnsType;
4404
+ /**
4405
+ *
4406
+ * @type {string}
4407
+ * @memberof CreateHospitalSnsHandleCommand
4408
+ */
4409
+ 'handle'?: string | null;
4410
+ }
4368
4411
  /**
4369
4412
  *
4370
4413
  * @export
@@ -4438,6 +4481,37 @@ export interface CreateHospitalSpecialtyCommand {
4438
4481
  */
4439
4482
  'medias'?: Array<MediaModel> | null;
4440
4483
  }
4484
+ /**
4485
+ *
4486
+ * @export
4487
+ * @interface CreateHospitalWorkingDayCommand
4488
+ */
4489
+ export interface CreateHospitalWorkingDayCommand {
4490
+ /**
4491
+ *
4492
+ * @type {string}
4493
+ * @memberof CreateHospitalWorkingDayCommand
4494
+ */
4495
+ 'dayOfWeek'?: string | null;
4496
+ /**
4497
+ *
4498
+ * @type {Date}
4499
+ * @memberof CreateHospitalWorkingDayCommand
4500
+ */
4501
+ 'timeFrom'?: Date;
4502
+ /**
4503
+ *
4504
+ * @type {Date}
4505
+ * @memberof CreateHospitalWorkingDayCommand
4506
+ */
4507
+ 'timeTo'?: Date;
4508
+ /**
4509
+ *
4510
+ * @type {boolean}
4511
+ * @memberof CreateHospitalWorkingDayCommand
4512
+ */
4513
+ 'checkHoliday'?: boolean;
4514
+ }
4441
4515
  /**
4442
4516
  *
4443
4517
  * @export
@@ -7419,6 +7493,12 @@ export interface HospitalItemModel {
7419
7493
  * @memberof HospitalItemModel
7420
7494
  */
7421
7495
  'specialtiesSummerized'?: string | null;
7496
+ /**
7497
+ *
7498
+ * @type {boolean}
7499
+ * @memberof HospitalItemModel
7500
+ */
7501
+ 'paymentEnabled'?: boolean;
7422
7502
  /**
7423
7503
  *
7424
7504
  * @type {Array<AwardModel>}
@@ -7654,6 +7734,12 @@ export interface HospitalModel {
7654
7734
  * @memberof HospitalModel
7655
7735
  */
7656
7736
  'specialtiesSummerized'?: string | null;
7737
+ /**
7738
+ *
7739
+ * @type {boolean}
7740
+ * @memberof HospitalModel
7741
+ */
7742
+ 'paymentEnabled'?: boolean;
7657
7743
  /**
7658
7744
  *
7659
7745
  * @type {Array<AwardModel>}
@@ -7708,6 +7794,30 @@ export interface HospitalModel {
7708
7794
  * @memberof HospitalModel
7709
7795
  */
7710
7796
  'languageCode'?: string | null;
7797
+ /**
7798
+ *
7799
+ * @type {string}
7800
+ * @memberof HospitalModel
7801
+ */
7802
+ 'contactTel'?: string | null;
7803
+ /**
7804
+ *
7805
+ * @type {string}
7806
+ * @memberof HospitalModel
7807
+ */
7808
+ 'contactEmail'?: string | null;
7809
+ /**
7810
+ *
7811
+ * @type {Array<WorkingDay>}
7812
+ * @memberof HospitalModel
7813
+ */
7814
+ 'workingDays'?: Array<WorkingDay> | null;
7815
+ /**
7816
+ *
7817
+ * @type {Array<SnsHandle>}
7818
+ * @memberof HospitalModel
7819
+ */
7820
+ 'snsHandles'?: Array<SnsHandle> | null;
7711
7821
  }
7712
7822
  /**
7713
7823
  *
@@ -7865,6 +7975,12 @@ export interface HospitalServiceItemModel {
7865
7975
  * @memberof HospitalServiceItemModel
7866
7976
  */
7867
7977
  'photoThumbnail'?: string | null;
7978
+ /**
7979
+ *
7980
+ * @type {Array<LocalizedUrlModel>}
7981
+ * @memberof HospitalServiceItemModel
7982
+ */
7983
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
7868
7984
  /**
7869
7985
  *
7870
7986
  * @type {Array<MediaModel>}
@@ -8034,6 +8150,12 @@ export interface HospitalServiceModel {
8034
8150
  * @memberof HospitalServiceModel
8035
8151
  */
8036
8152
  'photoThumbnail'?: string | null;
8153
+ /**
8154
+ *
8155
+ * @type {Array<LocalizedUrlModel>}
8156
+ * @memberof HospitalServiceModel
8157
+ */
8158
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
8037
8159
  /**
8038
8160
  *
8039
8161
  * @type {Array<MediaModel>}
@@ -8097,6 +8219,25 @@ export interface HospitalSimpleItemModel {
8097
8219
  */
8098
8220
  'confirmed'?: boolean;
8099
8221
  }
8222
+ /**
8223
+ *
8224
+ * @export
8225
+ * @interface HospitalSnsHandlesModel
8226
+ */
8227
+ export interface HospitalSnsHandlesModel {
8228
+ /**
8229
+ *
8230
+ * @type {Array<SnsHandleModel>}
8231
+ * @memberof HospitalSnsHandlesModel
8232
+ */
8233
+ 'items'?: Array<SnsHandleModel> | null;
8234
+ /**
8235
+ *
8236
+ * @type {PagedListMetaData}
8237
+ * @memberof HospitalSnsHandlesModel
8238
+ */
8239
+ 'metaData'?: PagedListMetaData;
8240
+ }
8100
8241
  /**
8101
8242
  *
8102
8243
  * @export
@@ -8279,6 +8420,12 @@ export interface HospitalSpecialtyItemModel {
8279
8420
  * @memberof HospitalSpecialtyItemModel
8280
8421
  */
8281
8422
  'backgroundThumbnail'?: string | null;
8423
+ /**
8424
+ *
8425
+ * @type {Array<LocalizedUrlModel>}
8426
+ * @memberof HospitalSpecialtyItemModel
8427
+ */
8428
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
8282
8429
  /**
8283
8430
  *
8284
8431
  * @type {Array<MediaModel>}
@@ -8436,6 +8583,12 @@ export interface HospitalSpecialtyModel {
8436
8583
  * @memberof HospitalSpecialtyModel
8437
8584
  */
8438
8585
  'backgroundThumbnail'?: string | null;
8586
+ /**
8587
+ *
8588
+ * @type {Array<LocalizedUrlModel>}
8589
+ * @memberof HospitalSpecialtyModel
8590
+ */
8591
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
8439
8592
  /**
8440
8593
  *
8441
8594
  * @type {Array<MediaModel>}
@@ -8497,6 +8650,12 @@ export interface HospitalSpecialtySimpleItemModel {
8497
8650
  * @memberof HospitalSpecialtySimpleItemModel
8498
8651
  */
8499
8652
  'order'?: number;
8653
+ /**
8654
+ *
8655
+ * @type {Array<LocalizedUrlModel>}
8656
+ * @memberof HospitalSpecialtySimpleItemModel
8657
+ */
8658
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
8500
8659
  /**
8501
8660
  *
8502
8661
  * @type {boolean}
@@ -10460,6 +10619,31 @@ export interface ServiceReviewsModel {
10460
10619
  */
10461
10620
  'metaData'?: PagedListMetaData;
10462
10621
  }
10622
+ /**
10623
+ *
10624
+ * @export
10625
+ * @interface SnsHandle
10626
+ */
10627
+ export interface SnsHandle {
10628
+ /**
10629
+ *
10630
+ * @type {string}
10631
+ * @memberof SnsHandle
10632
+ */
10633
+ 'id'?: string;
10634
+ /**
10635
+ *
10636
+ * @type {SnsType}
10637
+ * @memberof SnsHandle
10638
+ */
10639
+ 'snsType'?: SnsType;
10640
+ /**
10641
+ *
10642
+ * @type {string}
10643
+ * @memberof SnsHandle
10644
+ */
10645
+ 'handle'?: string | null;
10646
+ }
10463
10647
  /**
10464
10648
  *
10465
10649
  * @export
@@ -10494,7 +10678,9 @@ export interface SnsHandleModel {
10494
10678
  export enum SnsType {
10495
10679
  Twitter = 'Twitter',
10496
10680
  Facebook = 'Facebook',
10497
- Instagram = 'Instagram'
10681
+ Instagram = 'Instagram',
10682
+ LinkedIn = 'LinkedIn',
10683
+ Youtube = 'Youtube'
10498
10684
  }
10499
10685
 
10500
10686
  /**
@@ -10618,6 +10804,12 @@ export interface SpecialtyItemModel {
10618
10804
  * @memberof SpecialtyItemModel
10619
10805
  */
10620
10806
  'specialtyTypeName'?: string | null;
10807
+ /**
10808
+ *
10809
+ * @type {Array<LocalizedUrlModel>}
10810
+ * @memberof SpecialtyItemModel
10811
+ */
10812
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
10621
10813
  /**
10622
10814
  *
10623
10815
  * @type {boolean}
@@ -10697,6 +10889,12 @@ export interface SpecialtyModel {
10697
10889
  * @memberof SpecialtyModel
10698
10890
  */
10699
10891
  'specialtyTypeName'?: string | null;
10892
+ /**
10893
+ *
10894
+ * @type {Array<LocalizedUrlModel>}
10895
+ * @memberof SpecialtyModel
10896
+ */
10897
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
10700
10898
  /**
10701
10899
  *
10702
10900
  * @type {boolean}
@@ -11277,10 +11475,10 @@ export interface UpdateAboutUsPageCommand {
11277
11475
  'confirmed'?: boolean;
11278
11476
  /**
11279
11477
  *
11280
- * @type {Array<Media>}
11478
+ * @type {Array<MediaModel>}
11281
11479
  * @memberof UpdateAboutUsPageCommand
11282
11480
  */
11283
- 'medias'?: Array<Media> | null;
11481
+ 'medias'?: Array<MediaModel> | null;
11284
11482
  /**
11285
11483
  *
11286
11484
  * @type {AuditableEntity}
@@ -12324,6 +12522,24 @@ export interface UpdateHospitalCommand {
12324
12522
  * @memberof UpdateHospitalCommand
12325
12523
  */
12326
12524
  'websiteUrl'?: string | null;
12525
+ /**
12526
+ *
12527
+ * @type {string}
12528
+ * @memberof UpdateHospitalCommand
12529
+ */
12530
+ 'contactTel'?: string | null;
12531
+ /**
12532
+ *
12533
+ * @type {string}
12534
+ * @memberof UpdateHospitalCommand
12535
+ */
12536
+ 'contactEmail'?: string | null;
12537
+ /**
12538
+ *
12539
+ * @type {boolean}
12540
+ * @memberof UpdateHospitalCommand
12541
+ */
12542
+ 'paymentEnabled'?: boolean;
12327
12543
  /**
12328
12544
  *
12329
12545
  * @type {boolean}
@@ -12477,6 +12693,25 @@ export interface UpdateHospitalServiceCommand {
12477
12693
  */
12478
12694
  'medias'?: Array<MediaModel> | null;
12479
12695
  }
12696
+ /**
12697
+ *
12698
+ * @export
12699
+ * @interface UpdateHospitalSnsHandleCommand
12700
+ */
12701
+ export interface UpdateHospitalSnsHandleCommand {
12702
+ /**
12703
+ *
12704
+ * @type {SnsType}
12705
+ * @memberof UpdateHospitalSnsHandleCommand
12706
+ */
12707
+ 'snsType'?: SnsType;
12708
+ /**
12709
+ *
12710
+ * @type {string}
12711
+ * @memberof UpdateHospitalSnsHandleCommand
12712
+ */
12713
+ 'handle'?: string | null;
12714
+ }
12480
12715
  /**
12481
12716
  *
12482
12717
  * @export
@@ -12562,6 +12797,37 @@ export interface UpdateHospitalSpecialtyCommand {
12562
12797
  */
12563
12798
  'medias'?: Array<MediaModel> | null;
12564
12799
  }
12800
+ /**
12801
+ *
12802
+ * @export
12803
+ * @interface UpdateHospitalWorkingDayCommand
12804
+ */
12805
+ export interface UpdateHospitalWorkingDayCommand {
12806
+ /**
12807
+ *
12808
+ * @type {string}
12809
+ * @memberof UpdateHospitalWorkingDayCommand
12810
+ */
12811
+ 'dayOfWeek'?: string | null;
12812
+ /**
12813
+ *
12814
+ * @type {Date}
12815
+ * @memberof UpdateHospitalWorkingDayCommand
12816
+ */
12817
+ 'timeFrom'?: Date;
12818
+ /**
12819
+ *
12820
+ * @type {Date}
12821
+ * @memberof UpdateHospitalWorkingDayCommand
12822
+ */
12823
+ 'timeTo'?: Date;
12824
+ /**
12825
+ *
12826
+ * @type {boolean}
12827
+ * @memberof UpdateHospitalWorkingDayCommand
12828
+ */
12829
+ 'checkHoliday'?: boolean;
12830
+ }
12565
12831
  /**
12566
12832
  *
12567
12833
  * @export
@@ -13384,6 +13650,136 @@ export interface WeatherForecast {
13384
13650
  */
13385
13651
  'summary'?: string | null;
13386
13652
  }
13653
+ /**
13654
+ *
13655
+ * @export
13656
+ * @interface WorkingDay
13657
+ */
13658
+ export interface WorkingDay {
13659
+ /**
13660
+ *
13661
+ * @type {string}
13662
+ * @memberof WorkingDay
13663
+ */
13664
+ 'id'?: string;
13665
+ /**
13666
+ *
13667
+ * @type {string}
13668
+ * @memberof WorkingDay
13669
+ */
13670
+ 'dayOfWeek'?: string | null;
13671
+ /**
13672
+ *
13673
+ * @type {Date}
13674
+ * @memberof WorkingDay
13675
+ */
13676
+ 'timeFrom'?: Date;
13677
+ /**
13678
+ *
13679
+ * @type {Date}
13680
+ * @memberof WorkingDay
13681
+ */
13682
+ 'timeTo'?: Date;
13683
+ /**
13684
+ *
13685
+ * @type {boolean}
13686
+ * @memberof WorkingDay
13687
+ */
13688
+ 'checkHoliday'?: boolean;
13689
+ }
13690
+ /**
13691
+ *
13692
+ * @export
13693
+ * @interface WorkingDayItemModel
13694
+ */
13695
+ export interface WorkingDayItemModel {
13696
+ /**
13697
+ *
13698
+ * @type {string}
13699
+ * @memberof WorkingDayItemModel
13700
+ */
13701
+ 'id'?: string;
13702
+ /**
13703
+ *
13704
+ * @type {string}
13705
+ * @memberof WorkingDayItemModel
13706
+ */
13707
+ 'dayOfWeek'?: string | null;
13708
+ /**
13709
+ *
13710
+ * @type {Date}
13711
+ * @memberof WorkingDayItemModel
13712
+ */
13713
+ 'timeFrom'?: Date;
13714
+ /**
13715
+ *
13716
+ * @type {Date}
13717
+ * @memberof WorkingDayItemModel
13718
+ */
13719
+ 'timeTo'?: Date;
13720
+ /**
13721
+ *
13722
+ * @type {boolean}
13723
+ * @memberof WorkingDayItemModel
13724
+ */
13725
+ 'checkHoliday'?: boolean;
13726
+ }
13727
+ /**
13728
+ *
13729
+ * @export
13730
+ * @interface WorkingDayModel
13731
+ */
13732
+ export interface WorkingDayModel {
13733
+ /**
13734
+ *
13735
+ * @type {string}
13736
+ * @memberof WorkingDayModel
13737
+ */
13738
+ 'id'?: string;
13739
+ /**
13740
+ *
13741
+ * @type {string}
13742
+ * @memberof WorkingDayModel
13743
+ */
13744
+ 'dayOfWeek'?: string | null;
13745
+ /**
13746
+ *
13747
+ * @type {Date}
13748
+ * @memberof WorkingDayModel
13749
+ */
13750
+ 'timeFrom'?: Date;
13751
+ /**
13752
+ *
13753
+ * @type {Date}
13754
+ * @memberof WorkingDayModel
13755
+ */
13756
+ 'timeTo'?: Date;
13757
+ /**
13758
+ *
13759
+ * @type {boolean}
13760
+ * @memberof WorkingDayModel
13761
+ */
13762
+ 'checkHoliday'?: boolean;
13763
+ }
13764
+ /**
13765
+ *
13766
+ * @export
13767
+ * @interface WorkingDaysModel
13768
+ */
13769
+ export interface WorkingDaysModel {
13770
+ /**
13771
+ *
13772
+ * @type {Array<WorkingDayItemModel>}
13773
+ * @memberof WorkingDaysModel
13774
+ */
13775
+ 'items'?: Array<WorkingDayItemModel> | null;
13776
+ /**
13777
+ *
13778
+ * @type {PagedListMetaData}
13779
+ * @memberof WorkingDaysModel
13780
+ */
13781
+ 'metaData'?: PagedListMetaData;
13782
+ }
13387
13783
 
13388
13784
  /**
13389
13785
  * AboutUsApi - axios parameter creator
@@ -13393,16 +13789,28 @@ export const AboutUsApiAxiosParamCreator = function (configuration?: Configurati
13393
13789
  return {
13394
13790
  /**
13395
13791
  *
13396
- * @summary Delete AboutUs.
13397
- * @param {string} aboutUsId
13792
+ * @summary Get all AboutUsList.
13793
+ * @param {string} [hospitalId]
13794
+ * @param {string} [hospitalName]
13795
+ * @param {string} [hospitalSlug]
13796
+ * @param {string} [overviewTitle]
13797
+ * @param {string} [normalizedOverviewTitle]
13798
+ * @param {string} [overview]
13799
+ * @param {string} [content]
13800
+ * @param {string} [customStyle]
13801
+ * @param {string} [background]
13802
+ * @param {string} [backgroundThumbnail]
13803
+ * @param {string} [languageCode]
13804
+ * @param {boolean} [returnDefaultValue]
13805
+ * @param {boolean} [confirmed]
13806
+ * @param {number} [page]
13807
+ * @param {number} [limit]
13808
+ * @param {Date} [lastRetrieved]
13398
13809
  * @param {*} [options] Override http request option.
13399
13810
  * @throws {RequiredError}
13400
13811
  */
13401
- apiV1AboutusAboutUsIdDelete: async (aboutUsId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13402
- // verify required parameter 'aboutUsId' is not null or undefined
13403
- assertParamExists('apiV1AboutusAboutUsIdDelete', 'aboutUsId', aboutUsId)
13404
- const localVarPath = `/api/v1/aboutus/{aboutUsId}`
13405
- .replace(`{${"aboutUsId"}}`, encodeURIComponent(String(aboutUsId)));
13812
+ apiV1AboutusGet: async (hospitalId?: string, hospitalName?: string, hospitalSlug?: string, overviewTitle?: string, normalizedOverviewTitle?: string, overview?: string, content?: string, customStyle?: string, background?: string, backgroundThumbnail?: string, languageCode?: string, returnDefaultValue?: boolean, confirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13813
+ const localVarPath = `/api/v1/aboutus`;
13406
13814
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
13407
13815
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13408
13816
  let baseOptions;
@@ -13410,7 +13818,7 @@ export const AboutUsApiAxiosParamCreator = function (configuration?: Configurati
13410
13818
  baseOptions = configuration.baseOptions;
13411
13819
  }
13412
13820
 
13413
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
13821
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
13414
13822
  const localVarHeaderParameter = {} as any;
13415
13823
  const localVarQueryParameter = {} as any;
13416
13824
 
@@ -13418,6 +13826,72 @@ export const AboutUsApiAxiosParamCreator = function (configuration?: Configurati
13418
13826
  // oauth required
13419
13827
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
13420
13828
 
13829
+ if (hospitalId !== undefined) {
13830
+ localVarQueryParameter['HospitalId'] = hospitalId;
13831
+ }
13832
+
13833
+ if (hospitalName !== undefined) {
13834
+ localVarQueryParameter['HospitalName'] = hospitalName;
13835
+ }
13836
+
13837
+ if (hospitalSlug !== undefined) {
13838
+ localVarQueryParameter['HospitalSlug'] = hospitalSlug;
13839
+ }
13840
+
13841
+ if (overviewTitle !== undefined) {
13842
+ localVarQueryParameter['OverviewTitle'] = overviewTitle;
13843
+ }
13844
+
13845
+ if (normalizedOverviewTitle !== undefined) {
13846
+ localVarQueryParameter['NormalizedOverviewTitle'] = normalizedOverviewTitle;
13847
+ }
13848
+
13849
+ if (overview !== undefined) {
13850
+ localVarQueryParameter['Overview'] = overview;
13851
+ }
13852
+
13853
+ if (content !== undefined) {
13854
+ localVarQueryParameter['Content'] = content;
13855
+ }
13856
+
13857
+ if (customStyle !== undefined) {
13858
+ localVarQueryParameter['CustomStyle'] = customStyle;
13859
+ }
13860
+
13861
+ if (background !== undefined) {
13862
+ localVarQueryParameter['Background'] = background;
13863
+ }
13864
+
13865
+ if (backgroundThumbnail !== undefined) {
13866
+ localVarQueryParameter['BackgroundThumbnail'] = backgroundThumbnail;
13867
+ }
13868
+
13869
+ if (languageCode !== undefined) {
13870
+ localVarQueryParameter['LanguageCode'] = languageCode;
13871
+ }
13872
+
13873
+ if (returnDefaultValue !== undefined) {
13874
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
13875
+ }
13876
+
13877
+ if (confirmed !== undefined) {
13878
+ localVarQueryParameter['Confirmed'] = confirmed;
13879
+ }
13880
+
13881
+ if (page !== undefined) {
13882
+ localVarQueryParameter['page'] = page;
13883
+ }
13884
+
13885
+ if (limit !== undefined) {
13886
+ localVarQueryParameter['limit'] = limit;
13887
+ }
13888
+
13889
+ if (lastRetrieved !== undefined) {
13890
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
13891
+ (lastRetrieved as any).toISOString() :
13892
+ lastRetrieved;
13893
+ }
13894
+
13421
13895
 
13422
13896
 
13423
13897
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -13431,18 +13905,16 @@ export const AboutUsApiAxiosParamCreator = function (configuration?: Configurati
13431
13905
  },
13432
13906
  /**
13433
13907
  *
13434
- * @summary Get AboutUs.
13435
- * @param {string} aboutUsId
13436
- * @param {string} [languageCode]
13437
- * @param {boolean} [returnDefaultValue]
13908
+ * @summary Delete AboutUs.
13909
+ * @param {string} hospitalId
13438
13910
  * @param {*} [options] Override http request option.
13439
13911
  * @throws {RequiredError}
13440
13912
  */
13441
- apiV1AboutusAboutUsIdGet: async (aboutUsId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13442
- // verify required parameter 'aboutUsId' is not null or undefined
13443
- assertParamExists('apiV1AboutusAboutUsIdGet', 'aboutUsId', aboutUsId)
13444
- const localVarPath = `/api/v1/aboutus/{aboutUsId}`
13445
- .replace(`{${"aboutUsId"}}`, encodeURIComponent(String(aboutUsId)));
13913
+ apiV1AboutusHospitalIdDelete: async (hospitalId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13914
+ // verify required parameter 'hospitalId' is not null or undefined
13915
+ assertParamExists('apiV1AboutusHospitalIdDelete', 'hospitalId', hospitalId)
13916
+ const localVarPath = `/api/v1/aboutus/{hospitalId}`
13917
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
13446
13918
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
13447
13919
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13448
13920
  let baseOptions;
@@ -13450,7 +13922,7 @@ export const AboutUsApiAxiosParamCreator = function (configuration?: Configurati
13450
13922
  baseOptions = configuration.baseOptions;
13451
13923
  }
13452
13924
 
13453
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
13925
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
13454
13926
  const localVarHeaderParameter = {} as any;
13455
13927
  const localVarQueryParameter = {} as any;
13456
13928
 
@@ -13458,14 +13930,6 @@ export const AboutUsApiAxiosParamCreator = function (configuration?: Configurati
13458
13930
  // oauth required
13459
13931
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
13460
13932
 
13461
- if (languageCode !== undefined) {
13462
- localVarQueryParameter['languageCode'] = languageCode;
13463
- }
13464
-
13465
- if (returnDefaultValue !== undefined) {
13466
- localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
13467
- }
13468
-
13469
13933
 
13470
13934
 
13471
13935
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -13479,17 +13943,18 @@ export const AboutUsApiAxiosParamCreator = function (configuration?: Configurati
13479
13943
  },
13480
13944
  /**
13481
13945
  *
13482
- * @summary Update AboutUs.
13483
- * @param {string} aboutUsId
13484
- * @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
13946
+ * @summary Get AboutUs.
13947
+ * @param {string} hospitalId
13948
+ * @param {string} [languageCode]
13949
+ * @param {boolean} [returnDefaultValue]
13485
13950
  * @param {*} [options] Override http request option.
13486
13951
  * @throws {RequiredError}
13487
13952
  */
13488
- apiV1AboutusAboutUsIdPut: async (aboutUsId: string, updateAboutUsPageCommand?: UpdateAboutUsPageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13489
- // verify required parameter 'aboutUsId' is not null or undefined
13490
- assertParamExists('apiV1AboutusAboutUsIdPut', 'aboutUsId', aboutUsId)
13491
- const localVarPath = `/api/v1/aboutus/{aboutUsId}`
13492
- .replace(`{${"aboutUsId"}}`, encodeURIComponent(String(aboutUsId)));
13953
+ apiV1AboutusHospitalIdGet: async (hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13954
+ // verify required parameter 'hospitalId' is not null or undefined
13955
+ assertParamExists('apiV1AboutusHospitalIdGet', 'hospitalId', hospitalId)
13956
+ const localVarPath = `/api/v1/aboutus/{hospitalId}`
13957
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
13493
13958
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
13494
13959
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13495
13960
  let baseOptions;
@@ -13497,7 +13962,7 @@ export const AboutUsApiAxiosParamCreator = function (configuration?: Configurati
13497
13962
  baseOptions = configuration.baseOptions;
13498
13963
  }
13499
13964
 
13500
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
13965
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
13501
13966
  const localVarHeaderParameter = {} as any;
13502
13967
  const localVarQueryParameter = {} as any;
13503
13968
 
@@ -13505,14 +13970,19 @@ export const AboutUsApiAxiosParamCreator = function (configuration?: Configurati
13505
13970
  // oauth required
13506
13971
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
13507
13972
 
13973
+ if (languageCode !== undefined) {
13974
+ localVarQueryParameter['languageCode'] = languageCode;
13975
+ }
13976
+
13977
+ if (returnDefaultValue !== undefined) {
13978
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
13979
+ }
13508
13980
 
13509
-
13510
- localVarHeaderParameter['Content-Type'] = 'application/json';
13511
13981
 
13982
+
13512
13983
  setSearchParams(localVarUrlObj, localVarQueryParameter);
13513
13984
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13514
13985
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13515
- localVarRequestOptions.data = serializeDataIfNeeded(updateAboutUsPageCommand, localVarRequestOptions, configuration)
13516
13986
 
13517
13987
  return {
13518
13988
  url: toPathString(localVarUrlObj),
@@ -13521,28 +13991,17 @@ export const AboutUsApiAxiosParamCreator = function (configuration?: Configurati
13521
13991
  },
13522
13992
  /**
13523
13993
  *
13524
- * @summary Get all AboutUsList.
13525
- * @param {string} [hospitalId]
13526
- * @param {string} [hospitalName]
13527
- * @param {string} [hospitalSlug]
13528
- * @param {string} [overviewTitle]
13529
- * @param {string} [normalizedOverviewTitle]
13530
- * @param {string} [overview]
13531
- * @param {string} [content]
13532
- * @param {string} [customStyle]
13533
- * @param {string} [background]
13534
- * @param {string} [backgroundThumbnail]
13535
- * @param {string} [languageCode]
13536
- * @param {boolean} [returnDefaultValue]
13537
- * @param {boolean} [confirmed]
13538
- * @param {number} [page]
13539
- * @param {number} [limit]
13540
- * @param {Date} [lastRetrieved]
13994
+ * @summary Update AboutUs.
13995
+ * @param {string} hospitalId
13996
+ * @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
13541
13997
  * @param {*} [options] Override http request option.
13542
13998
  * @throws {RequiredError}
13543
13999
  */
13544
- apiV1AboutusGet: async (hospitalId?: string, hospitalName?: string, hospitalSlug?: string, overviewTitle?: string, normalizedOverviewTitle?: string, overview?: string, content?: string, customStyle?: string, background?: string, backgroundThumbnail?: string, languageCode?: string, returnDefaultValue?: boolean, confirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13545
- const localVarPath = `/api/v1/aboutus`;
14000
+ apiV1AboutusHospitalIdPut: async (hospitalId: string, updateAboutUsPageCommand?: UpdateAboutUsPageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
14001
+ // verify required parameter 'hospitalId' is not null or undefined
14002
+ assertParamExists('apiV1AboutusHospitalIdPut', 'hospitalId', hospitalId)
14003
+ const localVarPath = `/api/v1/aboutus/{hospitalId}`
14004
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
13546
14005
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
13547
14006
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13548
14007
  let baseOptions;
@@ -13550,7 +14009,7 @@ export const AboutUsApiAxiosParamCreator = function (configuration?: Configurati
13550
14009
  baseOptions = configuration.baseOptions;
13551
14010
  }
13552
14011
 
13553
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
14012
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
13554
14013
  const localVarHeaderParameter = {} as any;
13555
14014
  const localVarQueryParameter = {} as any;
13556
14015
 
@@ -13558,77 +14017,14 @@ export const AboutUsApiAxiosParamCreator = function (configuration?: Configurati
13558
14017
  // oauth required
13559
14018
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
13560
14019
 
13561
- if (hospitalId !== undefined) {
13562
- localVarQueryParameter['HospitalId'] = hospitalId;
13563
- }
13564
-
13565
- if (hospitalName !== undefined) {
13566
- localVarQueryParameter['HospitalName'] = hospitalName;
13567
- }
13568
-
13569
- if (hospitalSlug !== undefined) {
13570
- localVarQueryParameter['HospitalSlug'] = hospitalSlug;
13571
- }
13572
-
13573
- if (overviewTitle !== undefined) {
13574
- localVarQueryParameter['OverviewTitle'] = overviewTitle;
13575
- }
13576
-
13577
- if (normalizedOverviewTitle !== undefined) {
13578
- localVarQueryParameter['NormalizedOverviewTitle'] = normalizedOverviewTitle;
13579
- }
13580
-
13581
- if (overview !== undefined) {
13582
- localVarQueryParameter['Overview'] = overview;
13583
- }
13584
-
13585
- if (content !== undefined) {
13586
- localVarQueryParameter['Content'] = content;
13587
- }
13588
-
13589
- if (customStyle !== undefined) {
13590
- localVarQueryParameter['CustomStyle'] = customStyle;
13591
- }
13592
-
13593
- if (background !== undefined) {
13594
- localVarQueryParameter['Background'] = background;
13595
- }
13596
-
13597
- if (backgroundThumbnail !== undefined) {
13598
- localVarQueryParameter['BackgroundThumbnail'] = backgroundThumbnail;
13599
- }
13600
-
13601
- if (languageCode !== undefined) {
13602
- localVarQueryParameter['LanguageCode'] = languageCode;
13603
- }
13604
-
13605
- if (returnDefaultValue !== undefined) {
13606
- localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
13607
- }
13608
-
13609
- if (confirmed !== undefined) {
13610
- localVarQueryParameter['Confirmed'] = confirmed;
13611
- }
13612
-
13613
- if (page !== undefined) {
13614
- localVarQueryParameter['page'] = page;
13615
- }
13616
-
13617
- if (limit !== undefined) {
13618
- localVarQueryParameter['limit'] = limit;
13619
- }
13620
-
13621
- if (lastRetrieved !== undefined) {
13622
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
13623
- (lastRetrieved as any).toISOString() :
13624
- lastRetrieved;
13625
- }
13626
-
13627
14020
 
13628
14021
 
14022
+ localVarHeaderParameter['Content-Type'] = 'application/json';
14023
+
13629
14024
  setSearchParams(localVarUrlObj, localVarQueryParameter);
13630
14025
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13631
14026
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14027
+ localVarRequestOptions.data = serializeDataIfNeeded(updateAboutUsPageCommand, localVarRequestOptions, configuration)
13632
14028
 
13633
14029
  return {
13634
14030
  url: toPathString(localVarUrlObj),
@@ -13732,64 +14128,64 @@ export const AboutUsApiFp = function(configuration?: Configuration) {
13732
14128
  return {
13733
14129
  /**
13734
14130
  *
13735
- * @summary Delete AboutUs.
13736
- * @param {string} aboutUsId
14131
+ * @summary Get all AboutUsList.
14132
+ * @param {string} [hospitalId]
14133
+ * @param {string} [hospitalName]
14134
+ * @param {string} [hospitalSlug]
14135
+ * @param {string} [overviewTitle]
14136
+ * @param {string} [normalizedOverviewTitle]
14137
+ * @param {string} [overview]
14138
+ * @param {string} [content]
14139
+ * @param {string} [customStyle]
14140
+ * @param {string} [background]
14141
+ * @param {string} [backgroundThumbnail]
14142
+ * @param {string} [languageCode]
14143
+ * @param {boolean} [returnDefaultValue]
14144
+ * @param {boolean} [confirmed]
14145
+ * @param {number} [page]
14146
+ * @param {number} [limit]
14147
+ * @param {Date} [lastRetrieved]
13737
14148
  * @param {*} [options] Override http request option.
13738
14149
  * @throws {RequiredError}
13739
14150
  */
13740
- async apiV1AboutusAboutUsIdDelete(aboutUsId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
13741
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusAboutUsIdDelete(aboutUsId, options);
14151
+ async apiV1AboutusGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, overviewTitle?: string, normalizedOverviewTitle?: string, overview?: string, content?: string, customStyle?: string, background?: string, backgroundThumbnail?: string, languageCode?: string, returnDefaultValue?: boolean, confirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPagesModel>> {
14152
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options);
13742
14153
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
13743
14154
  },
13744
14155
  /**
13745
14156
  *
13746
- * @summary Get AboutUs.
13747
- * @param {string} aboutUsId
13748
- * @param {string} [languageCode]
13749
- * @param {boolean} [returnDefaultValue]
14157
+ * @summary Delete AboutUs.
14158
+ * @param {string} hospitalId
13750
14159
  * @param {*} [options] Override http request option.
13751
14160
  * @throws {RequiredError}
13752
14161
  */
13753
- async apiV1AboutusAboutUsIdGet(aboutUsId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPageModel>> {
13754
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusAboutUsIdGet(aboutUsId, languageCode, returnDefaultValue, options);
14162
+ async apiV1AboutusHospitalIdDelete(hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
14163
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusHospitalIdDelete(hospitalId, options);
13755
14164
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
13756
14165
  },
13757
14166
  /**
13758
14167
  *
13759
- * @summary Update AboutUs.
13760
- * @param {string} aboutUsId
13761
- * @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
14168
+ * @summary Get AboutUs.
14169
+ * @param {string} hospitalId
14170
+ * @param {string} [languageCode]
14171
+ * @param {boolean} [returnDefaultValue]
13762
14172
  * @param {*} [options] Override http request option.
13763
14173
  * @throws {RequiredError}
13764
14174
  */
13765
- async apiV1AboutusAboutUsIdPut(aboutUsId: string, updateAboutUsPageCommand?: UpdateAboutUsPageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPageModel>> {
13766
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusAboutUsIdPut(aboutUsId, updateAboutUsPageCommand, options);
14175
+ async apiV1AboutusHospitalIdGet(hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPageModel>> {
14176
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options);
13767
14177
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
13768
14178
  },
13769
14179
  /**
13770
14180
  *
13771
- * @summary Get all AboutUsList.
13772
- * @param {string} [hospitalId]
13773
- * @param {string} [hospitalName]
13774
- * @param {string} [hospitalSlug]
13775
- * @param {string} [overviewTitle]
13776
- * @param {string} [normalizedOverviewTitle]
13777
- * @param {string} [overview]
13778
- * @param {string} [content]
13779
- * @param {string} [customStyle]
13780
- * @param {string} [background]
13781
- * @param {string} [backgroundThumbnail]
13782
- * @param {string} [languageCode]
13783
- * @param {boolean} [returnDefaultValue]
13784
- * @param {boolean} [confirmed]
13785
- * @param {number} [page]
13786
- * @param {number} [limit]
13787
- * @param {Date} [lastRetrieved]
14181
+ * @summary Update AboutUs.
14182
+ * @param {string} hospitalId
14183
+ * @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
13788
14184
  * @param {*} [options] Override http request option.
13789
14185
  * @throws {RequiredError}
13790
14186
  */
13791
- async apiV1AboutusGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, overviewTitle?: string, normalizedOverviewTitle?: string, overview?: string, content?: string, customStyle?: string, background?: string, backgroundThumbnail?: string, languageCode?: string, returnDefaultValue?: boolean, confirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPagesModel>> {
13792
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options);
14187
+ async apiV1AboutusHospitalIdPut(hospitalId: string, updateAboutUsPageCommand?: UpdateAboutUsPageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPageModel>> {
14188
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusHospitalIdPut(hospitalId, updateAboutUsPageCommand, options);
13793
14189
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
13794
14190
  },
13795
14191
  /**
@@ -13825,39 +14221,6 @@ export const AboutUsApiFp = function(configuration?: Configuration) {
13825
14221
  export const AboutUsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
13826
14222
  const localVarFp = AboutUsApiFp(configuration)
13827
14223
  return {
13828
- /**
13829
- *
13830
- * @summary Delete AboutUs.
13831
- * @param {string} aboutUsId
13832
- * @param {*} [options] Override http request option.
13833
- * @throws {RequiredError}
13834
- */
13835
- apiV1AboutusAboutUsIdDelete(aboutUsId: string, options?: any): AxiosPromise<boolean> {
13836
- return localVarFp.apiV1AboutusAboutUsIdDelete(aboutUsId, options).then((request) => request(axios, basePath));
13837
- },
13838
- /**
13839
- *
13840
- * @summary Get AboutUs.
13841
- * @param {string} aboutUsId
13842
- * @param {string} [languageCode]
13843
- * @param {boolean} [returnDefaultValue]
13844
- * @param {*} [options] Override http request option.
13845
- * @throws {RequiredError}
13846
- */
13847
- apiV1AboutusAboutUsIdGet(aboutUsId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<AboutUsPageModel> {
13848
- return localVarFp.apiV1AboutusAboutUsIdGet(aboutUsId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
13849
- },
13850
- /**
13851
- *
13852
- * @summary Update AboutUs.
13853
- * @param {string} aboutUsId
13854
- * @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
13855
- * @param {*} [options] Override http request option.
13856
- * @throws {RequiredError}
13857
- */
13858
- apiV1AboutusAboutUsIdPut(aboutUsId: string, updateAboutUsPageCommand?: UpdateAboutUsPageCommand, options?: any): AxiosPromise<AboutUsPageModel> {
13859
- return localVarFp.apiV1AboutusAboutUsIdPut(aboutUsId, updateAboutUsPageCommand, options).then((request) => request(axios, basePath));
13860
- },
13861
14224
  /**
13862
14225
  *
13863
14226
  * @summary Get all AboutUsList.
@@ -13883,6 +14246,39 @@ export const AboutUsApiFactory = function (configuration?: Configuration, basePa
13883
14246
  apiV1AboutusGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, overviewTitle?: string, normalizedOverviewTitle?: string, overview?: string, content?: string, customStyle?: string, background?: string, backgroundThumbnail?: string, languageCode?: string, returnDefaultValue?: boolean, confirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AboutUsPagesModel> {
13884
14247
  return localVarFp.apiV1AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
13885
14248
  },
14249
+ /**
14250
+ *
14251
+ * @summary Delete AboutUs.
14252
+ * @param {string} hospitalId
14253
+ * @param {*} [options] Override http request option.
14254
+ * @throws {RequiredError}
14255
+ */
14256
+ apiV1AboutusHospitalIdDelete(hospitalId: string, options?: any): AxiosPromise<boolean> {
14257
+ return localVarFp.apiV1AboutusHospitalIdDelete(hospitalId, options).then((request) => request(axios, basePath));
14258
+ },
14259
+ /**
14260
+ *
14261
+ * @summary Get AboutUs.
14262
+ * @param {string} hospitalId
14263
+ * @param {string} [languageCode]
14264
+ * @param {boolean} [returnDefaultValue]
14265
+ * @param {*} [options] Override http request option.
14266
+ * @throws {RequiredError}
14267
+ */
14268
+ apiV1AboutusHospitalIdGet(hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<AboutUsPageModel> {
14269
+ return localVarFp.apiV1AboutusHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
14270
+ },
14271
+ /**
14272
+ *
14273
+ * @summary Update AboutUs.
14274
+ * @param {string} hospitalId
14275
+ * @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
14276
+ * @param {*} [options] Override http request option.
14277
+ * @throws {RequiredError}
14278
+ */
14279
+ apiV1AboutusHospitalIdPut(hospitalId: string, updateAboutUsPageCommand?: UpdateAboutUsPageCommand, options?: any): AxiosPromise<AboutUsPageModel> {
14280
+ return localVarFp.apiV1AboutusHospitalIdPut(hospitalId, updateAboutUsPageCommand, options).then((request) => request(axios, basePath));
14281
+ },
13886
14282
  /**
13887
14283
  *
13888
14284
  * @summary Create AboutUs.
@@ -13916,68 +14312,68 @@ export const AboutUsApiFactory = function (configuration?: Configuration, basePa
13916
14312
  export class AboutUsApi extends BaseAPI {
13917
14313
  /**
13918
14314
  *
13919
- * @summary Delete AboutUs.
13920
- * @param {string} aboutUsId
14315
+ * @summary Get all AboutUsList.
14316
+ * @param {string} [hospitalId]
14317
+ * @param {string} [hospitalName]
14318
+ * @param {string} [hospitalSlug]
14319
+ * @param {string} [overviewTitle]
14320
+ * @param {string} [normalizedOverviewTitle]
14321
+ * @param {string} [overview]
14322
+ * @param {string} [content]
14323
+ * @param {string} [customStyle]
14324
+ * @param {string} [background]
14325
+ * @param {string} [backgroundThumbnail]
14326
+ * @param {string} [languageCode]
14327
+ * @param {boolean} [returnDefaultValue]
14328
+ * @param {boolean} [confirmed]
14329
+ * @param {number} [page]
14330
+ * @param {number} [limit]
14331
+ * @param {Date} [lastRetrieved]
13921
14332
  * @param {*} [options] Override http request option.
13922
14333
  * @throws {RequiredError}
13923
14334
  * @memberof AboutUsApi
13924
14335
  */
13925
- public apiV1AboutusAboutUsIdDelete(aboutUsId: string, options?: AxiosRequestConfig) {
13926
- return AboutUsApiFp(this.configuration).apiV1AboutusAboutUsIdDelete(aboutUsId, options).then((request) => request(this.axios, this.basePath));
14336
+ public apiV1AboutusGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, overviewTitle?: string, normalizedOverviewTitle?: string, overview?: string, content?: string, customStyle?: string, background?: string, backgroundThumbnail?: string, languageCode?: string, returnDefaultValue?: boolean, confirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
14337
+ return AboutUsApiFp(this.configuration).apiV1AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
13927
14338
  }
13928
14339
 
13929
14340
  /**
13930
14341
  *
13931
- * @summary Get AboutUs.
13932
- * @param {string} aboutUsId
13933
- * @param {string} [languageCode]
13934
- * @param {boolean} [returnDefaultValue]
14342
+ * @summary Delete AboutUs.
14343
+ * @param {string} hospitalId
13935
14344
  * @param {*} [options] Override http request option.
13936
14345
  * @throws {RequiredError}
13937
14346
  * @memberof AboutUsApi
13938
14347
  */
13939
- public apiV1AboutusAboutUsIdGet(aboutUsId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
13940
- return AboutUsApiFp(this.configuration).apiV1AboutusAboutUsIdGet(aboutUsId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
14348
+ public apiV1AboutusHospitalIdDelete(hospitalId: string, options?: AxiosRequestConfig) {
14349
+ return AboutUsApiFp(this.configuration).apiV1AboutusHospitalIdDelete(hospitalId, options).then((request) => request(this.axios, this.basePath));
13941
14350
  }
13942
14351
 
13943
14352
  /**
13944
14353
  *
13945
- * @summary Update AboutUs.
13946
- * @param {string} aboutUsId
13947
- * @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
14354
+ * @summary Get AboutUs.
14355
+ * @param {string} hospitalId
14356
+ * @param {string} [languageCode]
14357
+ * @param {boolean} [returnDefaultValue]
13948
14358
  * @param {*} [options] Override http request option.
13949
14359
  * @throws {RequiredError}
13950
14360
  * @memberof AboutUsApi
13951
14361
  */
13952
- public apiV1AboutusAboutUsIdPut(aboutUsId: string, updateAboutUsPageCommand?: UpdateAboutUsPageCommand, options?: AxiosRequestConfig) {
13953
- return AboutUsApiFp(this.configuration).apiV1AboutusAboutUsIdPut(aboutUsId, updateAboutUsPageCommand, options).then((request) => request(this.axios, this.basePath));
14362
+ public apiV1AboutusHospitalIdGet(hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
14363
+ return AboutUsApiFp(this.configuration).apiV1AboutusHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
13954
14364
  }
13955
14365
 
13956
14366
  /**
13957
14367
  *
13958
- * @summary Get all AboutUsList.
13959
- * @param {string} [hospitalId]
13960
- * @param {string} [hospitalName]
13961
- * @param {string} [hospitalSlug]
13962
- * @param {string} [overviewTitle]
13963
- * @param {string} [normalizedOverviewTitle]
13964
- * @param {string} [overview]
13965
- * @param {string} [content]
13966
- * @param {string} [customStyle]
13967
- * @param {string} [background]
13968
- * @param {string} [backgroundThumbnail]
13969
- * @param {string} [languageCode]
13970
- * @param {boolean} [returnDefaultValue]
13971
- * @param {boolean} [confirmed]
13972
- * @param {number} [page]
13973
- * @param {number} [limit]
13974
- * @param {Date} [lastRetrieved]
14368
+ * @summary Update AboutUs.
14369
+ * @param {string} hospitalId
14370
+ * @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
13975
14371
  * @param {*} [options] Override http request option.
13976
14372
  * @throws {RequiredError}
13977
14373
  * @memberof AboutUsApi
13978
14374
  */
13979
- public apiV1AboutusGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, overviewTitle?: string, normalizedOverviewTitle?: string, overview?: string, content?: string, customStyle?: string, background?: string, backgroundThumbnail?: string, languageCode?: string, returnDefaultValue?: boolean, confirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
13980
- return AboutUsApiFp(this.configuration).apiV1AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
14375
+ public apiV1AboutusHospitalIdPut(hospitalId: string, updateAboutUsPageCommand?: UpdateAboutUsPageCommand, options?: AxiosRequestConfig) {
14376
+ return AboutUsApiFp(this.configuration).apiV1AboutusHospitalIdPut(hospitalId, updateAboutUsPageCommand, options).then((request) => request(this.axios, this.basePath));
13981
14377
  }
13982
14378
 
13983
14379
  /**
@@ -16927,6 +17323,44 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
16927
17323
 
16928
17324
 
16929
17325
 
17326
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17327
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17328
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17329
+
17330
+ return {
17331
+ url: toPathString(localVarUrlObj),
17332
+ options: localVarRequestOptions,
17333
+ };
17334
+ },
17335
+ /**
17336
+ *
17337
+ * @summary Mark as Paid booking.
17338
+ * @param {string} bookingId
17339
+ * @param {*} [options] Override http request option.
17340
+ * @throws {RequiredError}
17341
+ */
17342
+ apiV1BookingsBookingIdPaidPost: async (bookingId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
17343
+ // verify required parameter 'bookingId' is not null or undefined
17344
+ assertParamExists('apiV1BookingsBookingIdPaidPost', 'bookingId', bookingId)
17345
+ const localVarPath = `/api/v1/bookings/{bookingId}/paid`
17346
+ .replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
17347
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17348
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17349
+ let baseOptions;
17350
+ if (configuration) {
17351
+ baseOptions = configuration.baseOptions;
17352
+ }
17353
+
17354
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
17355
+ const localVarHeaderParameter = {} as any;
17356
+ const localVarQueryParameter = {} as any;
17357
+
17358
+ // authentication oauth2 required
17359
+ // oauth required
17360
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
17361
+
17362
+
17363
+
16930
17364
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16931
17365
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16932
17366
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -16988,13 +17422,14 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
16988
17422
  * @param {string} [dealPackageId]
16989
17423
  * @param {SortingOrder} [sortRequestDate]
16990
17424
  * @param {SortingOrder} [sortConfirmedDateStart]
17425
+ * @param {boolean} [isExternal]
16991
17426
  * @param {number} [page]
16992
17427
  * @param {number} [limit]
16993
17428
  * @param {Date} [lastRetrieved]
16994
17429
  * @param {*} [options] Override http request option.
16995
17430
  * @throws {RequiredError}
16996
17431
  */
16997
- apiV1BookingsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
17432
+ 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> => {
16998
17433
  const localVarPath = `/api/v1/bookings`;
16999
17434
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17000
17435
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -17039,6 +17474,10 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
17039
17474
  localVarQueryParameter['SortConfirmedDateStart'] = sortConfirmedDateStart;
17040
17475
  }
17041
17476
 
17477
+ if (isExternal !== undefined) {
17478
+ localVarQueryParameter['IsExternal'] = isExternal;
17479
+ }
17480
+
17042
17481
  if (page !== undefined) {
17043
17482
  localVarQueryParameter['page'] = page;
17044
17483
  }
@@ -17119,6 +17558,17 @@ export const BookingsApiFp = function(configuration?: Configuration) {
17119
17558
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1BookingsBookingIdGet(bookingId, options);
17120
17559
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
17121
17560
  },
17561
+ /**
17562
+ *
17563
+ * @summary Mark as Paid booking.
17564
+ * @param {string} bookingId
17565
+ * @param {*} [options] Override http request option.
17566
+ * @throws {RequiredError}
17567
+ */
17568
+ async apiV1BookingsBookingIdPaidPost(bookingId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
17569
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1BookingsBookingIdPaidPost(bookingId, options);
17570
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
17571
+ },
17122
17572
  /**
17123
17573
  *
17124
17574
  * @summary Reject booking.
@@ -17141,14 +17591,15 @@ export const BookingsApiFp = function(configuration?: Configuration) {
17141
17591
  * @param {string} [dealPackageId]
17142
17592
  * @param {SortingOrder} [sortRequestDate]
17143
17593
  * @param {SortingOrder} [sortConfirmedDateStart]
17594
+ * @param {boolean} [isExternal]
17144
17595
  * @param {number} [page]
17145
17596
  * @param {number} [limit]
17146
17597
  * @param {Date} [lastRetrieved]
17147
17598
  * @param {*} [options] Override http request option.
17148
17599
  * @throws {RequiredError}
17149
17600
  */
17150
- async apiV1BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingsModel>> {
17151
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options);
17601
+ 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>> {
17602
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options);
17152
17603
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
17153
17604
  },
17154
17605
  }
@@ -17202,6 +17653,16 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
17202
17653
  apiV1BookingsBookingIdGet(bookingId: string, options?: any): AxiosPromise<BookingModel> {
17203
17654
  return localVarFp.apiV1BookingsBookingIdGet(bookingId, options).then((request) => request(axios, basePath));
17204
17655
  },
17656
+ /**
17657
+ *
17658
+ * @summary Mark as Paid booking.
17659
+ * @param {string} bookingId
17660
+ * @param {*} [options] Override http request option.
17661
+ * @throws {RequiredError}
17662
+ */
17663
+ apiV1BookingsBookingIdPaidPost(bookingId: string, options?: any): AxiosPromise<string> {
17664
+ return localVarFp.apiV1BookingsBookingIdPaidPost(bookingId, options).then((request) => request(axios, basePath));
17665
+ },
17205
17666
  /**
17206
17667
  *
17207
17668
  * @summary Reject booking.
@@ -17223,14 +17684,15 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
17223
17684
  * @param {string} [dealPackageId]
17224
17685
  * @param {SortingOrder} [sortRequestDate]
17225
17686
  * @param {SortingOrder} [sortConfirmedDateStart]
17687
+ * @param {boolean} [isExternal]
17226
17688
  * @param {number} [page]
17227
17689
  * @param {number} [limit]
17228
17690
  * @param {Date} [lastRetrieved]
17229
17691
  * @param {*} [options] Override http request option.
17230
17692
  * @throws {RequiredError}
17231
17693
  */
17232
- apiV1BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<BookingsModel> {
17233
- return localVarFp.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
17694
+ 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> {
17695
+ return localVarFp.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
17234
17696
  },
17235
17697
  };
17236
17698
  };
@@ -17291,6 +17753,18 @@ export class BookingsApi extends BaseAPI {
17291
17753
  return BookingsApiFp(this.configuration).apiV1BookingsBookingIdGet(bookingId, options).then((request) => request(this.axios, this.basePath));
17292
17754
  }
17293
17755
 
17756
+ /**
17757
+ *
17758
+ * @summary Mark as Paid booking.
17759
+ * @param {string} bookingId
17760
+ * @param {*} [options] Override http request option.
17761
+ * @throws {RequiredError}
17762
+ * @memberof BookingsApi
17763
+ */
17764
+ public apiV1BookingsBookingIdPaidPost(bookingId: string, options?: AxiosRequestConfig) {
17765
+ return BookingsApiFp(this.configuration).apiV1BookingsBookingIdPaidPost(bookingId, options).then((request) => request(this.axios, this.basePath));
17766
+ }
17767
+
17294
17768
  /**
17295
17769
  *
17296
17770
  * @summary Reject booking.
@@ -17314,6 +17788,7 @@ export class BookingsApi extends BaseAPI {
17314
17788
  * @param {string} [dealPackageId]
17315
17789
  * @param {SortingOrder} [sortRequestDate]
17316
17790
  * @param {SortingOrder} [sortConfirmedDateStart]
17791
+ * @param {boolean} [isExternal]
17317
17792
  * @param {number} [page]
17318
17793
  * @param {number} [limit]
17319
17794
  * @param {Date} [lastRetrieved]
@@ -17321,8 +17796,8 @@ export class BookingsApi extends BaseAPI {
17321
17796
  * @throws {RequiredError}
17322
17797
  * @memberof BookingsApi
17323
17798
  */
17324
- public apiV1BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
17325
- return BookingsApiFp(this.configuration).apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
17799
+ 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) {
17800
+ return BookingsApiFp(this.configuration).apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
17326
17801
  }
17327
17802
  }
17328
17803
 
@@ -19161,6 +19636,44 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
19161
19636
 
19162
19637
 
19163
19638
 
19639
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
19640
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19641
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
19642
+
19643
+ return {
19644
+ url: toPathString(localVarUrlObj),
19645
+ options: localVarRequestOptions,
19646
+ };
19647
+ },
19648
+ /**
19649
+ *
19650
+ * @summary Mark as Paid booking.
19651
+ * @param {string} consultationId
19652
+ * @param {*} [options] Override http request option.
19653
+ * @throws {RequiredError}
19654
+ */
19655
+ apiV1ConsultationsConsultationIdPaidPost: async (consultationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
19656
+ // verify required parameter 'consultationId' is not null or undefined
19657
+ assertParamExists('apiV1ConsultationsConsultationIdPaidPost', 'consultationId', consultationId)
19658
+ const localVarPath = `/api/v1/consultations/{consultationId}/paid`
19659
+ .replace(`{${"consultationId"}}`, encodeURIComponent(String(consultationId)));
19660
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19661
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19662
+ let baseOptions;
19663
+ if (configuration) {
19664
+ baseOptions = configuration.baseOptions;
19665
+ }
19666
+
19667
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
19668
+ const localVarHeaderParameter = {} as any;
19669
+ const localVarQueryParameter = {} as any;
19670
+
19671
+ // authentication oauth2 required
19672
+ // oauth required
19673
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
19674
+
19675
+
19676
+
19164
19677
  setSearchParams(localVarUrlObj, localVarQueryParameter);
19165
19678
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19166
19679
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -19222,13 +19735,14 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
19222
19735
  * @param {ConsultationType} [consultationType]
19223
19736
  * @param {SortingOrder} [sortRequestDate]
19224
19737
  * @param {SortingOrder} [sortConfirmedDateStart]
19738
+ * @param {boolean} [isExternal]
19225
19739
  * @param {number} [page]
19226
19740
  * @param {number} [limit]
19227
19741
  * @param {Date} [lastRetrieved]
19228
19742
  * @param {*} [options] Override http request option.
19229
19743
  * @throws {RequiredError}
19230
19744
  */
19231
- apiV1ConsultationsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
19745
+ 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> => {
19232
19746
  const localVarPath = `/api/v1/consultations`;
19233
19747
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
19234
19748
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -19273,6 +19787,10 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
19273
19787
  localVarQueryParameter['SortConfirmedDateStart'] = sortConfirmedDateStart;
19274
19788
  }
19275
19789
 
19790
+ if (isExternal !== undefined) {
19791
+ localVarQueryParameter['IsExternal'] = isExternal;
19792
+ }
19793
+
19276
19794
  if (page !== undefined) {
19277
19795
  localVarQueryParameter['page'] = page;
19278
19796
  }
@@ -19353,6 +19871,17 @@ export const ConsultationsApiFp = function(configuration?: Configuration) {
19353
19871
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ConsultationsConsultationIdGet(consultationId, options);
19354
19872
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
19355
19873
  },
19874
+ /**
19875
+ *
19876
+ * @summary Mark as Paid booking.
19877
+ * @param {string} consultationId
19878
+ * @param {*} [options] Override http request option.
19879
+ * @throws {RequiredError}
19880
+ */
19881
+ async apiV1ConsultationsConsultationIdPaidPost(consultationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
19882
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ConsultationsConsultationIdPaidPost(consultationId, options);
19883
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
19884
+ },
19356
19885
  /**
19357
19886
  *
19358
19887
  * @summary Reject consultation.
@@ -19375,14 +19904,15 @@ export const ConsultationsApiFp = function(configuration?: Configuration) {
19375
19904
  * @param {ConsultationType} [consultationType]
19376
19905
  * @param {SortingOrder} [sortRequestDate]
19377
19906
  * @param {SortingOrder} [sortConfirmedDateStart]
19907
+ * @param {boolean} [isExternal]
19378
19908
  * @param {number} [page]
19379
19909
  * @param {number} [limit]
19380
19910
  * @param {Date} [lastRetrieved]
19381
19911
  * @param {*} [options] Override http request option.
19382
19912
  * @throws {RequiredError}
19383
19913
  */
19384
- async apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationsModel>> {
19385
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options);
19914
+ 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>> {
19915
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options);
19386
19916
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
19387
19917
  },
19388
19918
  }
@@ -19436,6 +19966,16 @@ export const ConsultationsApiFactory = function (configuration?: Configuration,
19436
19966
  apiV1ConsultationsConsultationIdGet(consultationId: string, options?: any): AxiosPromise<ConsultationModel> {
19437
19967
  return localVarFp.apiV1ConsultationsConsultationIdGet(consultationId, options).then((request) => request(axios, basePath));
19438
19968
  },
19969
+ /**
19970
+ *
19971
+ * @summary Mark as Paid booking.
19972
+ * @param {string} consultationId
19973
+ * @param {*} [options] Override http request option.
19974
+ * @throws {RequiredError}
19975
+ */
19976
+ apiV1ConsultationsConsultationIdPaidPost(consultationId: string, options?: any): AxiosPromise<string> {
19977
+ return localVarFp.apiV1ConsultationsConsultationIdPaidPost(consultationId, options).then((request) => request(axios, basePath));
19978
+ },
19439
19979
  /**
19440
19980
  *
19441
19981
  * @summary Reject consultation.
@@ -19457,14 +19997,15 @@ export const ConsultationsApiFactory = function (configuration?: Configuration,
19457
19997
  * @param {ConsultationType} [consultationType]
19458
19998
  * @param {SortingOrder} [sortRequestDate]
19459
19999
  * @param {SortingOrder} [sortConfirmedDateStart]
20000
+ * @param {boolean} [isExternal]
19460
20001
  * @param {number} [page]
19461
20002
  * @param {number} [limit]
19462
20003
  * @param {Date} [lastRetrieved]
19463
20004
  * @param {*} [options] Override http request option.
19464
20005
  * @throws {RequiredError}
19465
20006
  */
19466
- apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ConsultationsModel> {
19467
- return localVarFp.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
20007
+ 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> {
20008
+ return localVarFp.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
19468
20009
  },
19469
20010
  };
19470
20011
  };
@@ -19525,6 +20066,18 @@ export class ConsultationsApi extends BaseAPI {
19525
20066
  return ConsultationsApiFp(this.configuration).apiV1ConsultationsConsultationIdGet(consultationId, options).then((request) => request(this.axios, this.basePath));
19526
20067
  }
19527
20068
 
20069
+ /**
20070
+ *
20071
+ * @summary Mark as Paid booking.
20072
+ * @param {string} consultationId
20073
+ * @param {*} [options] Override http request option.
20074
+ * @throws {RequiredError}
20075
+ * @memberof ConsultationsApi
20076
+ */
20077
+ public apiV1ConsultationsConsultationIdPaidPost(consultationId: string, options?: AxiosRequestConfig) {
20078
+ return ConsultationsApiFp(this.configuration).apiV1ConsultationsConsultationIdPaidPost(consultationId, options).then((request) => request(this.axios, this.basePath));
20079
+ }
20080
+
19528
20081
  /**
19529
20082
  *
19530
20083
  * @summary Reject consultation.
@@ -19548,6 +20101,7 @@ export class ConsultationsApi extends BaseAPI {
19548
20101
  * @param {ConsultationType} [consultationType]
19549
20102
  * @param {SortingOrder} [sortRequestDate]
19550
20103
  * @param {SortingOrder} [sortConfirmedDateStart]
20104
+ * @param {boolean} [isExternal]
19551
20105
  * @param {number} [page]
19552
20106
  * @param {number} [limit]
19553
20107
  * @param {Date} [lastRetrieved]
@@ -19555,8 +20109,8 @@ export class ConsultationsApi extends BaseAPI {
19555
20109
  * @throws {RequiredError}
19556
20110
  * @memberof ConsultationsApi
19557
20111
  */
19558
- public apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
19559
- return ConsultationsApiFp(this.configuration).apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
20112
+ 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) {
20113
+ return ConsultationsApiFp(this.configuration).apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
19560
20114
  }
19561
20115
  }
19562
20116
 
@@ -29070,13 +29624,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
29070
29624
  * @param {string} [languageCode]
29071
29625
  * @param {Array<string>} [ids]
29072
29626
  * @param {boolean} [returnDefaultValue]
29627
+ * @param {boolean} [paymentEnabled]
29073
29628
  * @param {number} [page]
29074
29629
  * @param {number} [limit]
29075
29630
  * @param {Date} [lastRetrieved]
29076
29631
  * @param {*} [options] Override http request option.
29077
29632
  * @throws {RequiredError}
29078
29633
  */
29079
- apiV1HospitalsGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29634
+ apiV1HospitalsGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29080
29635
  const localVarPath = `/api/v1/hospitals`;
29081
29636
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
29082
29637
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -29147,6 +29702,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
29147
29702
  localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
29148
29703
  }
29149
29704
 
29705
+ if (paymentEnabled !== undefined) {
29706
+ localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
29707
+ }
29708
+
29150
29709
  if (page !== undefined) {
29151
29710
  localVarQueryParameter['page'] = page;
29152
29711
  }
@@ -30055,22 +30614,340 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
30055
30614
  },
30056
30615
  /**
30057
30616
  *
30058
- * @summary Get all HospitalEvaluations.
30617
+ * @summary Get all HospitalEvaluations.
30618
+ * @param {string} hospitalId
30619
+ * @param {string} [id]
30620
+ * @param {string} [name]
30621
+ * @param {number} [stars]
30622
+ * @param {number} [page]
30623
+ * @param {number} [limit]
30624
+ * @param {Date} [lastRetrieved]
30625
+ * @param {*} [options] Override http request option.
30626
+ * @throws {RequiredError}
30627
+ */
30628
+ apiV1HospitalsHospitalIdEvaluationsGet: async (hospitalId: string, id?: string, name?: string, stars?: number, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
30629
+ // verify required parameter 'hospitalId' is not null or undefined
30630
+ assertParamExists('apiV1HospitalsHospitalIdEvaluationsGet', 'hospitalId', hospitalId)
30631
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/evaluations`
30632
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
30633
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30634
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30635
+ let baseOptions;
30636
+ if (configuration) {
30637
+ baseOptions = configuration.baseOptions;
30638
+ }
30639
+
30640
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
30641
+ const localVarHeaderParameter = {} as any;
30642
+ const localVarQueryParameter = {} as any;
30643
+
30644
+ // authentication oauth2 required
30645
+ // oauth required
30646
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
30647
+
30648
+ if (id !== undefined) {
30649
+ localVarQueryParameter['Id'] = id;
30650
+ }
30651
+
30652
+ if (name !== undefined) {
30653
+ localVarQueryParameter['Name'] = name;
30654
+ }
30655
+
30656
+ if (stars !== undefined) {
30657
+ localVarQueryParameter['Stars'] = stars;
30658
+ }
30659
+
30660
+ if (page !== undefined) {
30661
+ localVarQueryParameter['page'] = page;
30662
+ }
30663
+
30664
+ if (limit !== undefined) {
30665
+ localVarQueryParameter['limit'] = limit;
30666
+ }
30667
+
30668
+ if (lastRetrieved !== undefined) {
30669
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
30670
+ (lastRetrieved as any).toISOString() :
30671
+ lastRetrieved;
30672
+ }
30673
+
30674
+
30675
+
30676
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
30677
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30678
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
30679
+
30680
+ return {
30681
+ url: toPathString(localVarUrlObj),
30682
+ options: localVarRequestOptions,
30683
+ };
30684
+ },
30685
+ /**
30686
+ *
30687
+ * @summary Create HospitalEvaluation.
30688
+ * @param {string} hospitalId
30689
+ * @param {CreateHospitalEvaluationCommand} [createHospitalEvaluationCommand]
30690
+ * @param {*} [options] Override http request option.
30691
+ * @throws {RequiredError}
30692
+ */
30693
+ apiV1HospitalsHospitalIdEvaluationsPost: async (hospitalId: string, createHospitalEvaluationCommand?: CreateHospitalEvaluationCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
30694
+ // verify required parameter 'hospitalId' is not null or undefined
30695
+ assertParamExists('apiV1HospitalsHospitalIdEvaluationsPost', 'hospitalId', hospitalId)
30696
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/evaluations`
30697
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
30698
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30699
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30700
+ let baseOptions;
30701
+ if (configuration) {
30702
+ baseOptions = configuration.baseOptions;
30703
+ }
30704
+
30705
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
30706
+ const localVarHeaderParameter = {} as any;
30707
+ const localVarQueryParameter = {} as any;
30708
+
30709
+ // authentication oauth2 required
30710
+ // oauth required
30711
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
30712
+
30713
+
30714
+
30715
+ localVarHeaderParameter['Content-Type'] = 'application/json';
30716
+
30717
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
30718
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30719
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
30720
+ localVarRequestOptions.data = serializeDataIfNeeded(createHospitalEvaluationCommand, localVarRequestOptions, configuration)
30721
+
30722
+ return {
30723
+ url: toPathString(localVarUrlObj),
30724
+ options: localVarRequestOptions,
30725
+ };
30726
+ },
30727
+ /**
30728
+ *
30729
+ * @summary Get Hospital.
30730
+ * @param {string} hospitalId
30731
+ * @param {string} [languageCode]
30732
+ * @param {boolean} [returnDefaultValue]
30733
+ * @param {*} [options] Override http request option.
30734
+ * @throws {RequiredError}
30735
+ */
30736
+ apiV1HospitalsHospitalIdGet: async (hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
30737
+ // verify required parameter 'hospitalId' is not null or undefined
30738
+ assertParamExists('apiV1HospitalsHospitalIdGet', 'hospitalId', hospitalId)
30739
+ const localVarPath = `/api/v1/hospitals/{hospitalId}`
30740
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
30741
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30742
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30743
+ let baseOptions;
30744
+ if (configuration) {
30745
+ baseOptions = configuration.baseOptions;
30746
+ }
30747
+
30748
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
30749
+ const localVarHeaderParameter = {} as any;
30750
+ const localVarQueryParameter = {} as any;
30751
+
30752
+ // authentication oauth2 required
30753
+ // oauth required
30754
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
30755
+
30756
+ if (languageCode !== undefined) {
30757
+ localVarQueryParameter['languageCode'] = languageCode;
30758
+ }
30759
+
30760
+ if (returnDefaultValue !== undefined) {
30761
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
30762
+ }
30763
+
30764
+
30765
+
30766
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
30767
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30768
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
30769
+
30770
+ return {
30771
+ url: toPathString(localVarUrlObj),
30772
+ options: localVarRequestOptions,
30773
+ };
30774
+ },
30775
+ /**
30776
+ *
30777
+ * @summary Get all HospitalHandles.
30778
+ * @param {string} hospitalId
30779
+ * @param {string} [hospitalId2]
30780
+ * @param {string} [id]
30781
+ * @param {SnsType} [snsType]
30782
+ * @param {string} [handle]
30783
+ * @param {number} [page]
30784
+ * @param {number} [limit]
30785
+ * @param {Date} [lastRetrieved]
30786
+ * @param {*} [options] Override http request option.
30787
+ * @throws {RequiredError}
30788
+ */
30789
+ apiV1HospitalsHospitalIdHandlesGet: async (hospitalId: string, hospitalId2?: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
30790
+ // verify required parameter 'hospitalId' is not null or undefined
30791
+ assertParamExists('apiV1HospitalsHospitalIdHandlesGet', 'hospitalId', hospitalId)
30792
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/handles`
30793
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
30794
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30795
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30796
+ let baseOptions;
30797
+ if (configuration) {
30798
+ baseOptions = configuration.baseOptions;
30799
+ }
30800
+
30801
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
30802
+ const localVarHeaderParameter = {} as any;
30803
+ const localVarQueryParameter = {} as any;
30804
+
30805
+ // authentication oauth2 required
30806
+ // oauth required
30807
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
30808
+
30809
+ if (hospitalId2 !== undefined) {
30810
+ localVarQueryParameter['HospitalId'] = hospitalId2;
30811
+ }
30812
+
30813
+ if (id !== undefined) {
30814
+ localVarQueryParameter['Id'] = id;
30815
+ }
30816
+
30817
+ if (snsType !== undefined) {
30818
+ localVarQueryParameter['SnsType'] = snsType;
30819
+ }
30820
+
30821
+ if (handle !== undefined) {
30822
+ localVarQueryParameter['Handle'] = handle;
30823
+ }
30824
+
30825
+ if (page !== undefined) {
30826
+ localVarQueryParameter['page'] = page;
30827
+ }
30828
+
30829
+ if (limit !== undefined) {
30830
+ localVarQueryParameter['limit'] = limit;
30831
+ }
30832
+
30833
+ if (lastRetrieved !== undefined) {
30834
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
30835
+ (lastRetrieved as any).toISOString() :
30836
+ lastRetrieved;
30837
+ }
30838
+
30839
+
30840
+
30841
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
30842
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30843
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
30844
+
30845
+ return {
30846
+ url: toPathString(localVarUrlObj),
30847
+ options: localVarRequestOptions,
30848
+ };
30849
+ },
30850
+ /**
30851
+ *
30852
+ * @summary Delete HospitalHandle.
30853
+ * @param {string} hospitalId
30854
+ * @param {string} handleId
30855
+ * @param {*} [options] Override http request option.
30856
+ * @throws {RequiredError}
30857
+ */
30858
+ apiV1HospitalsHospitalIdHandlesHandleIdDelete: async (hospitalId: string, handleId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
30859
+ // verify required parameter 'hospitalId' is not null or undefined
30860
+ assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdDelete', 'hospitalId', hospitalId)
30861
+ // verify required parameter 'handleId' is not null or undefined
30862
+ assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdDelete', 'handleId', handleId)
30863
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/handles/{handleId}`
30864
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
30865
+ .replace(`{${"handleId"}}`, encodeURIComponent(String(handleId)));
30866
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30867
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30868
+ let baseOptions;
30869
+ if (configuration) {
30870
+ baseOptions = configuration.baseOptions;
30871
+ }
30872
+
30873
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
30874
+ const localVarHeaderParameter = {} as any;
30875
+ const localVarQueryParameter = {} as any;
30876
+
30877
+ // authentication oauth2 required
30878
+ // oauth required
30879
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
30880
+
30881
+
30882
+
30883
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
30884
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30885
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
30886
+
30887
+ return {
30888
+ url: toPathString(localVarUrlObj),
30889
+ options: localVarRequestOptions,
30890
+ };
30891
+ },
30892
+ /**
30893
+ *
30894
+ * @summary Get HospitalHandle.
30895
+ * @param {string} hospitalId
30896
+ * @param {string} handleId
30897
+ * @param {*} [options] Override http request option.
30898
+ * @throws {RequiredError}
30899
+ */
30900
+ apiV1HospitalsHospitalIdHandlesHandleIdGet: async (hospitalId: string, handleId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
30901
+ // verify required parameter 'hospitalId' is not null or undefined
30902
+ assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdGet', 'hospitalId', hospitalId)
30903
+ // verify required parameter 'handleId' is not null or undefined
30904
+ assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdGet', 'handleId', handleId)
30905
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/handles/{handleId}`
30906
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
30907
+ .replace(`{${"handleId"}}`, encodeURIComponent(String(handleId)));
30908
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30909
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30910
+ let baseOptions;
30911
+ if (configuration) {
30912
+ baseOptions = configuration.baseOptions;
30913
+ }
30914
+
30915
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
30916
+ const localVarHeaderParameter = {} as any;
30917
+ const localVarQueryParameter = {} as any;
30918
+
30919
+ // authentication oauth2 required
30920
+ // oauth required
30921
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
30922
+
30923
+
30924
+
30925
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
30926
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30927
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
30928
+
30929
+ return {
30930
+ url: toPathString(localVarUrlObj),
30931
+ options: localVarRequestOptions,
30932
+ };
30933
+ },
30934
+ /**
30935
+ *
30936
+ * @summary Update HospitalHandle.
30059
30937
  * @param {string} hospitalId
30060
- * @param {string} [id]
30061
- * @param {string} [name]
30062
- * @param {number} [stars]
30063
- * @param {number} [page]
30064
- * @param {number} [limit]
30065
- * @param {Date} [lastRetrieved]
30938
+ * @param {string} handleId
30939
+ * @param {UpdateHospitalSnsHandleCommand} [updateHospitalSnsHandleCommand]
30066
30940
  * @param {*} [options] Override http request option.
30067
30941
  * @throws {RequiredError}
30068
30942
  */
30069
- apiV1HospitalsHospitalIdEvaluationsGet: async (hospitalId: string, id?: string, name?: string, stars?: number, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
30943
+ apiV1HospitalsHospitalIdHandlesHandleIdPut: async (hospitalId: string, handleId: string, updateHospitalSnsHandleCommand?: UpdateHospitalSnsHandleCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
30070
30944
  // verify required parameter 'hospitalId' is not null or undefined
30071
- assertParamExists('apiV1HospitalsHospitalIdEvaluationsGet', 'hospitalId', hospitalId)
30072
- const localVarPath = `/api/v1/hospitals/{hospitalId}/evaluations`
30073
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
30945
+ assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdPut', 'hospitalId', hospitalId)
30946
+ // verify required parameter 'handleId' is not null or undefined
30947
+ assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdPut', 'handleId', handleId)
30948
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/handles/{handleId}`
30949
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
30950
+ .replace(`{${"handleId"}}`, encodeURIComponent(String(handleId)));
30074
30951
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
30075
30952
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30076
30953
  let baseOptions;
@@ -30078,7 +30955,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
30078
30955
  baseOptions = configuration.baseOptions;
30079
30956
  }
30080
30957
 
30081
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
30958
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
30082
30959
  const localVarHeaderParameter = {} as any;
30083
30960
  const localVarQueryParameter = {} as any;
30084
30961
 
@@ -30086,37 +30963,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
30086
30963
  // oauth required
30087
30964
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
30088
30965
 
30089
- if (id !== undefined) {
30090
- localVarQueryParameter['Id'] = id;
30091
- }
30092
-
30093
- if (name !== undefined) {
30094
- localVarQueryParameter['Name'] = name;
30095
- }
30096
-
30097
- if (stars !== undefined) {
30098
- localVarQueryParameter['Stars'] = stars;
30099
- }
30100
-
30101
- if (page !== undefined) {
30102
- localVarQueryParameter['page'] = page;
30103
- }
30104
-
30105
- if (limit !== undefined) {
30106
- localVarQueryParameter['limit'] = limit;
30107
- }
30108
-
30109
- if (lastRetrieved !== undefined) {
30110
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
30111
- (lastRetrieved as any).toISOString() :
30112
- lastRetrieved;
30113
- }
30114
-
30115
30966
 
30116
30967
 
30968
+ localVarHeaderParameter['Content-Type'] = 'application/json';
30969
+
30117
30970
  setSearchParams(localVarUrlObj, localVarQueryParameter);
30118
30971
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30119
30972
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
30973
+ localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalSnsHandleCommand, localVarRequestOptions, configuration)
30120
30974
 
30121
30975
  return {
30122
30976
  url: toPathString(localVarUrlObj),
@@ -30125,16 +30979,16 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
30125
30979
  },
30126
30980
  /**
30127
30981
  *
30128
- * @summary Create HospitalEvaluation.
30982
+ * @summary Get HospitalHandle.
30129
30983
  * @param {string} hospitalId
30130
- * @param {CreateHospitalEvaluationCommand} [createHospitalEvaluationCommand]
30984
+ * @param {CreateHospitalSnsHandleCommand} [createHospitalSnsHandleCommand]
30131
30985
  * @param {*} [options] Override http request option.
30132
30986
  * @throws {RequiredError}
30133
30987
  */
30134
- apiV1HospitalsHospitalIdEvaluationsPost: async (hospitalId: string, createHospitalEvaluationCommand?: CreateHospitalEvaluationCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
30988
+ apiV1HospitalsHospitalIdHandlesPost: async (hospitalId: string, createHospitalSnsHandleCommand?: CreateHospitalSnsHandleCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
30135
30989
  // verify required parameter 'hospitalId' is not null or undefined
30136
- assertParamExists('apiV1HospitalsHospitalIdEvaluationsPost', 'hospitalId', hospitalId)
30137
- const localVarPath = `/api/v1/hospitals/{hospitalId}/evaluations`
30990
+ assertParamExists('apiV1HospitalsHospitalIdHandlesPost', 'hospitalId', hospitalId)
30991
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/handles`
30138
30992
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
30139
30993
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
30140
30994
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -30158,55 +31012,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
30158
31012
  setSearchParams(localVarUrlObj, localVarQueryParameter);
30159
31013
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30160
31014
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
30161
- localVarRequestOptions.data = serializeDataIfNeeded(createHospitalEvaluationCommand, localVarRequestOptions, configuration)
30162
-
30163
- return {
30164
- url: toPathString(localVarUrlObj),
30165
- options: localVarRequestOptions,
30166
- };
30167
- },
30168
- /**
30169
- *
30170
- * @summary Get Hospital.
30171
- * @param {string} hospitalId
30172
- * @param {string} [languageCode]
30173
- * @param {boolean} [returnDefaultValue]
30174
- * @param {*} [options] Override http request option.
30175
- * @throws {RequiredError}
30176
- */
30177
- apiV1HospitalsHospitalIdGet: async (hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
30178
- // verify required parameter 'hospitalId' is not null or undefined
30179
- assertParamExists('apiV1HospitalsHospitalIdGet', 'hospitalId', hospitalId)
30180
- const localVarPath = `/api/v1/hospitals/{hospitalId}`
30181
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
30182
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
30183
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30184
- let baseOptions;
30185
- if (configuration) {
30186
- baseOptions = configuration.baseOptions;
30187
- }
30188
-
30189
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
30190
- const localVarHeaderParameter = {} as any;
30191
- const localVarQueryParameter = {} as any;
30192
-
30193
- // authentication oauth2 required
30194
- // oauth required
30195
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
30196
-
30197
- if (languageCode !== undefined) {
30198
- localVarQueryParameter['languageCode'] = languageCode;
30199
- }
30200
-
30201
- if (returnDefaultValue !== undefined) {
30202
- localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
30203
- }
30204
-
30205
-
30206
-
30207
- setSearchParams(localVarUrlObj, localVarQueryParameter);
30208
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30209
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
31015
+ localVarRequestOptions.data = serializeDataIfNeeded(createHospitalSnsHandleCommand, localVarRequestOptions, configuration)
30210
31016
 
30211
31017
  return {
30212
31018
  url: toPathString(localVarUrlObj),
@@ -31042,21 +31848,247 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31042
31848
  },
31043
31849
  /**
31044
31850
  *
31045
- * @summary Create HospitalService.
31851
+ * @summary Create HospitalService.
31852
+ * @param {string} hospitalId
31853
+ * @param {string} specialtyId
31854
+ * @param {CreateHospitalServiceCommand} [createHospitalServiceCommand]
31855
+ * @param {*} [options] Override http request option.
31856
+ * @throws {RequiredError}
31857
+ */
31858
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost: async (hospitalId: string, specialtyId: string, createHospitalServiceCommand?: CreateHospitalServiceCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31859
+ // verify required parameter 'hospitalId' is not null or undefined
31860
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost', 'hospitalId', hospitalId)
31861
+ // verify required parameter 'specialtyId' is not null or undefined
31862
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost', 'specialtyId', specialtyId)
31863
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services`
31864
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
31865
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
31866
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
31867
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31868
+ let baseOptions;
31869
+ if (configuration) {
31870
+ baseOptions = configuration.baseOptions;
31871
+ }
31872
+
31873
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
31874
+ const localVarHeaderParameter = {} as any;
31875
+ const localVarQueryParameter = {} as any;
31876
+
31877
+ // authentication oauth2 required
31878
+ // oauth required
31879
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
31880
+
31881
+
31882
+
31883
+ localVarHeaderParameter['Content-Type'] = 'application/json';
31884
+
31885
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
31886
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31887
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
31888
+ localVarRequestOptions.data = serializeDataIfNeeded(createHospitalServiceCommand, localVarRequestOptions, configuration)
31889
+
31890
+ return {
31891
+ url: toPathString(localVarUrlObj),
31892
+ options: localVarRequestOptions,
31893
+ };
31894
+ },
31895
+ /**
31896
+ *
31897
+ * @param {string} hospitalId
31898
+ * @param {string} specialtyId
31899
+ * @param {string} serviceId
31900
+ * @param {*} [options] Override http request option.
31901
+ * @throws {RequiredError}
31902
+ */
31903
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete: async (hospitalId: string, specialtyId: string, serviceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31904
+ // verify required parameter 'hospitalId' is not null or undefined
31905
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete', 'hospitalId', hospitalId)
31906
+ // verify required parameter 'specialtyId' is not null or undefined
31907
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete', 'specialtyId', specialtyId)
31908
+ // verify required parameter 'serviceId' is not null or undefined
31909
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete', 'serviceId', serviceId)
31910
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}`
31911
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
31912
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
31913
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
31914
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
31915
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31916
+ let baseOptions;
31917
+ if (configuration) {
31918
+ baseOptions = configuration.baseOptions;
31919
+ }
31920
+
31921
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
31922
+ const localVarHeaderParameter = {} as any;
31923
+ const localVarQueryParameter = {} as any;
31924
+
31925
+ // authentication oauth2 required
31926
+ // oauth required
31927
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
31928
+
31929
+
31930
+
31931
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
31932
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31933
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
31934
+
31935
+ return {
31936
+ url: toPathString(localVarUrlObj),
31937
+ options: localVarRequestOptions,
31938
+ };
31939
+ },
31940
+ /**
31941
+ *
31942
+ * @param {string} hospitalId
31943
+ * @param {string} specialtyId
31944
+ * @param {string} serviceId
31945
+ * @param {string} [languageCode]
31946
+ * @param {boolean} [returnDefaultValue]
31947
+ * @param {*} [options] Override http request option.
31948
+ * @throws {RequiredError}
31949
+ */
31950
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: async (hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31951
+ // verify required parameter 'hospitalId' is not null or undefined
31952
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet', 'hospitalId', hospitalId)
31953
+ // verify required parameter 'specialtyId' is not null or undefined
31954
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet', 'specialtyId', specialtyId)
31955
+ // verify required parameter 'serviceId' is not null or undefined
31956
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet', 'serviceId', serviceId)
31957
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}`
31958
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
31959
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
31960
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
31961
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
31962
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31963
+ let baseOptions;
31964
+ if (configuration) {
31965
+ baseOptions = configuration.baseOptions;
31966
+ }
31967
+
31968
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
31969
+ const localVarHeaderParameter = {} as any;
31970
+ const localVarQueryParameter = {} as any;
31971
+
31972
+ // authentication oauth2 required
31973
+ // oauth required
31974
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
31975
+
31976
+ if (languageCode !== undefined) {
31977
+ localVarQueryParameter['languageCode'] = languageCode;
31978
+ }
31979
+
31980
+ if (returnDefaultValue !== undefined) {
31981
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
31982
+ }
31983
+
31984
+
31985
+
31986
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
31987
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31988
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
31989
+
31990
+ return {
31991
+ url: toPathString(localVarUrlObj),
31992
+ options: localVarRequestOptions,
31993
+ };
31994
+ },
31995
+ /**
31996
+ *
31997
+ * @summary Get all HospitalServiceMedias.
31998
+ * @param {string} hospitalId
31999
+ * @param {string} specialtyId
32000
+ * @param {string} serviceId
32001
+ * @param {string} [id]
32002
+ * @param {MediaType} [mediaType]
32003
+ * @param {number} [page]
32004
+ * @param {number} [limit]
32005
+ * @param {Date} [lastRetrieved]
32006
+ * @param {*} [options] Override http request option.
32007
+ * @throws {RequiredError}
32008
+ */
32009
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet: async (hospitalId: string, specialtyId: string, serviceId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32010
+ // verify required parameter 'hospitalId' is not null or undefined
32011
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet', 'hospitalId', hospitalId)
32012
+ // verify required parameter 'specialtyId' is not null or undefined
32013
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet', 'specialtyId', specialtyId)
32014
+ // verify required parameter 'serviceId' is not null or undefined
32015
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet', 'serviceId', serviceId)
32016
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias`
32017
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
32018
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
32019
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
32020
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32021
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32022
+ let baseOptions;
32023
+ if (configuration) {
32024
+ baseOptions = configuration.baseOptions;
32025
+ }
32026
+
32027
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
32028
+ const localVarHeaderParameter = {} as any;
32029
+ const localVarQueryParameter = {} as any;
32030
+
32031
+ // authentication oauth2 required
32032
+ // oauth required
32033
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
32034
+
32035
+ if (id !== undefined) {
32036
+ localVarQueryParameter['Id'] = id;
32037
+ }
32038
+
32039
+ if (mediaType !== undefined) {
32040
+ localVarQueryParameter['MediaType'] = mediaType;
32041
+ }
32042
+
32043
+ if (page !== undefined) {
32044
+ localVarQueryParameter['page'] = page;
32045
+ }
32046
+
32047
+ if (limit !== undefined) {
32048
+ localVarQueryParameter['limit'] = limit;
32049
+ }
32050
+
32051
+ if (lastRetrieved !== undefined) {
32052
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
32053
+ (lastRetrieved as any).toISOString() :
32054
+ lastRetrieved;
32055
+ }
32056
+
32057
+
32058
+
32059
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32060
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32061
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32062
+
32063
+ return {
32064
+ url: toPathString(localVarUrlObj),
32065
+ options: localVarRequestOptions,
32066
+ };
32067
+ },
32068
+ /**
32069
+ *
32070
+ * @summary Delete HospitalServiceMedia
31046
32071
  * @param {string} hospitalId
31047
32072
  * @param {string} specialtyId
31048
- * @param {CreateHospitalServiceCommand} [createHospitalServiceCommand]
32073
+ * @param {string} serviceId
32074
+ * @param {string} mediaId
31049
32075
  * @param {*} [options] Override http request option.
31050
32076
  * @throws {RequiredError}
31051
32077
  */
31052
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost: async (hospitalId: string, specialtyId: string, createHospitalServiceCommand?: CreateHospitalServiceCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32078
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete: async (hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31053
32079
  // verify required parameter 'hospitalId' is not null or undefined
31054
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost', 'hospitalId', hospitalId)
32080
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete', 'hospitalId', hospitalId)
31055
32081
  // verify required parameter 'specialtyId' is not null or undefined
31056
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost', 'specialtyId', specialtyId)
31057
- const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services`
32082
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete', 'specialtyId', specialtyId)
32083
+ // verify required parameter 'serviceId' is not null or undefined
32084
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete', 'serviceId', serviceId)
32085
+ // verify required parameter 'mediaId' is not null or undefined
32086
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete', 'mediaId', mediaId)
32087
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias/{mediaId}`
31058
32088
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
31059
- .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
32089
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
32090
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
32091
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
31060
32092
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31061
32093
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31062
32094
  let baseOptions;
@@ -31064,7 +32096,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31064
32096
  baseOptions = configuration.baseOptions;
31065
32097
  }
31066
32098
 
31067
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
32099
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
31068
32100
  const localVarHeaderParameter = {} as any;
31069
32101
  const localVarQueryParameter = {} as any;
31070
32102
 
@@ -31074,12 +32106,9 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31074
32106
 
31075
32107
 
31076
32108
 
31077
- localVarHeaderParameter['Content-Type'] = 'application/json';
31078
-
31079
32109
  setSearchParams(localVarUrlObj, localVarQueryParameter);
31080
32110
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31081
32111
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
31082
- localVarRequestOptions.data = serializeDataIfNeeded(createHospitalServiceCommand, localVarRequestOptions, configuration)
31083
32112
 
31084
32113
  return {
31085
32114
  url: toPathString(localVarUrlObj),
@@ -31088,23 +32117,28 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31088
32117
  },
31089
32118
  /**
31090
32119
  *
32120
+ * @summary Get HospitalServiceMedia.
31091
32121
  * @param {string} hospitalId
31092
32122
  * @param {string} specialtyId
31093
32123
  * @param {string} serviceId
32124
+ * @param {string} mediaId
31094
32125
  * @param {*} [options] Override http request option.
31095
32126
  * @throws {RequiredError}
31096
32127
  */
31097
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete: async (hospitalId: string, specialtyId: string, serviceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32128
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet: async (hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31098
32129
  // verify required parameter 'hospitalId' is not null or undefined
31099
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete', 'hospitalId', hospitalId)
32130
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet', 'hospitalId', hospitalId)
31100
32131
  // verify required parameter 'specialtyId' is not null or undefined
31101
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete', 'specialtyId', specialtyId)
32132
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet', 'specialtyId', specialtyId)
31102
32133
  // verify required parameter 'serviceId' is not null or undefined
31103
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete', 'serviceId', serviceId)
31104
- const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}`
32134
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet', 'serviceId', serviceId)
32135
+ // verify required parameter 'mediaId' is not null or undefined
32136
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet', 'mediaId', mediaId)
32137
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias/{mediaId}`
31105
32138
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
31106
32139
  .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
31107
- .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
32140
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
32141
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
31108
32142
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31109
32143
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31110
32144
  let baseOptions;
@@ -31112,7 +32146,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31112
32146
  baseOptions = configuration.baseOptions;
31113
32147
  }
31114
32148
 
31115
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
32149
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
31116
32150
  const localVarHeaderParameter = {} as any;
31117
32151
  const localVarQueryParameter = {} as any;
31118
32152
 
@@ -31133,25 +32167,29 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31133
32167
  },
31134
32168
  /**
31135
32169
  *
32170
+ * @summary Update HospitalServiceMedia.
31136
32171
  * @param {string} hospitalId
31137
32172
  * @param {string} specialtyId
31138
32173
  * @param {string} serviceId
31139
- * @param {string} [languageCode]
31140
- * @param {boolean} [returnDefaultValue]
32174
+ * @param {string} mediaId
32175
+ * @param {UpdateMediaCommand} [updateMediaCommand]
31141
32176
  * @param {*} [options] Override http request option.
31142
32177
  * @throws {RequiredError}
31143
32178
  */
31144
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: async (hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32179
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut: async (hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31145
32180
  // verify required parameter 'hospitalId' is not null or undefined
31146
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet', 'hospitalId', hospitalId)
32181
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'hospitalId', hospitalId)
31147
32182
  // verify required parameter 'specialtyId' is not null or undefined
31148
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet', 'specialtyId', specialtyId)
32183
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'specialtyId', specialtyId)
31149
32184
  // verify required parameter 'serviceId' is not null or undefined
31150
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet', 'serviceId', serviceId)
31151
- const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}`
32185
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'serviceId', serviceId)
32186
+ // verify required parameter 'mediaId' is not null or undefined
32187
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'mediaId', mediaId)
32188
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias/{mediaId}`
31152
32189
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
31153
32190
  .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
31154
- .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
32191
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
32192
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
31155
32193
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31156
32194
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31157
32195
  let baseOptions;
@@ -31159,7 +32197,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31159
32197
  baseOptions = configuration.baseOptions;
31160
32198
  }
31161
32199
 
31162
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
32200
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
31163
32201
  const localVarHeaderParameter = {} as any;
31164
32202
  const localVarQueryParameter = {} as any;
31165
32203
 
@@ -31167,19 +32205,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31167
32205
  // oauth required
31168
32206
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
31169
32207
 
31170
- if (languageCode !== undefined) {
31171
- localVarQueryParameter['languageCode'] = languageCode;
31172
- }
31173
-
31174
- if (returnDefaultValue !== undefined) {
31175
- localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
31176
- }
31177
-
31178
32208
 
31179
32209
 
32210
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32211
+
31180
32212
  setSearchParams(localVarUrlObj, localVarQueryParameter);
31181
32213
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31182
32214
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32215
+ localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
31183
32216
 
31184
32217
  return {
31185
32218
  url: toPathString(localVarUrlObj),
@@ -31188,25 +32221,21 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31188
32221
  },
31189
32222
  /**
31190
32223
  *
31191
- * @summary Get all HospitalServiceMedias.
32224
+ * @summary Create HospitalServiceMedia.
31192
32225
  * @param {string} hospitalId
31193
32226
  * @param {string} specialtyId
31194
32227
  * @param {string} serviceId
31195
- * @param {string} [id]
31196
- * @param {MediaType} [mediaType]
31197
- * @param {number} [page]
31198
- * @param {number} [limit]
31199
- * @param {Date} [lastRetrieved]
32228
+ * @param {CreateMediaCommand} [createMediaCommand]
31200
32229
  * @param {*} [options] Override http request option.
31201
32230
  * @throws {RequiredError}
31202
32231
  */
31203
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet: async (hospitalId: string, specialtyId: string, serviceId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32232
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost: async (hospitalId: string, specialtyId: string, serviceId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31204
32233
  // verify required parameter 'hospitalId' is not null or undefined
31205
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet', 'hospitalId', hospitalId)
32234
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'hospitalId', hospitalId)
31206
32235
  // verify required parameter 'specialtyId' is not null or undefined
31207
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet', 'specialtyId', specialtyId)
32236
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'specialtyId', specialtyId)
31208
32237
  // verify required parameter 'serviceId' is not null or undefined
31209
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet', 'serviceId', serviceId)
32238
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'serviceId', serviceId)
31210
32239
  const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias`
31211
32240
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
31212
32241
  .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
@@ -31218,7 +32247,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31218
32247
  baseOptions = configuration.baseOptions;
31219
32248
  }
31220
32249
 
31221
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
32250
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
31222
32251
  const localVarHeaderParameter = {} as any;
31223
32252
  const localVarQueryParameter = {} as any;
31224
32253
 
@@ -31226,33 +32255,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31226
32255
  // oauth required
31227
32256
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
31228
32257
 
31229
- if (id !== undefined) {
31230
- localVarQueryParameter['Id'] = id;
31231
- }
31232
-
31233
- if (mediaType !== undefined) {
31234
- localVarQueryParameter['MediaType'] = mediaType;
31235
- }
31236
-
31237
- if (page !== undefined) {
31238
- localVarQueryParameter['page'] = page;
31239
- }
31240
-
31241
- if (limit !== undefined) {
31242
- localVarQueryParameter['limit'] = limit;
31243
- }
31244
-
31245
- if (lastRetrieved !== undefined) {
31246
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
31247
- (lastRetrieved as any).toISOString() :
31248
- lastRetrieved;
31249
- }
31250
-
31251
32258
 
31252
32259
 
32260
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32261
+
31253
32262
  setSearchParams(localVarUrlObj, localVarQueryParameter);
31254
32263
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31255
32264
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32265
+ localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
31256
32266
 
31257
32267
  return {
31258
32268
  url: toPathString(localVarUrlObj),
@@ -31261,28 +32271,25 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31261
32271
  },
31262
32272
  /**
31263
32273
  *
31264
- * @summary Delete HospitalServiceMedia
32274
+ * @summary Update HospitalService.
31265
32275
  * @param {string} hospitalId
31266
32276
  * @param {string} specialtyId
31267
32277
  * @param {string} serviceId
31268
- * @param {string} mediaId
32278
+ * @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
31269
32279
  * @param {*} [options] Override http request option.
31270
32280
  * @throws {RequiredError}
31271
32281
  */
31272
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete: async (hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32282
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut: async (hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31273
32283
  // verify required parameter 'hospitalId' is not null or undefined
31274
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete', 'hospitalId', hospitalId)
32284
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'hospitalId', hospitalId)
31275
32285
  // verify required parameter 'specialtyId' is not null or undefined
31276
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete', 'specialtyId', specialtyId)
32286
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'specialtyId', specialtyId)
31277
32287
  // verify required parameter 'serviceId' is not null or undefined
31278
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete', 'serviceId', serviceId)
31279
- // verify required parameter 'mediaId' is not null or undefined
31280
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete', 'mediaId', mediaId)
31281
- const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias/{mediaId}`
32288
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'serviceId', serviceId)
32289
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}`
31282
32290
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
31283
32291
  .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
31284
- .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
31285
- .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
32292
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
31286
32293
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31287
32294
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31288
32295
  let baseOptions;
@@ -31290,7 +32297,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31290
32297
  baseOptions = configuration.baseOptions;
31291
32298
  }
31292
32299
 
31293
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
32300
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
31294
32301
  const localVarHeaderParameter = {} as any;
31295
32302
  const localVarQueryParameter = {} as any;
31296
32303
 
@@ -31300,9 +32307,12 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31300
32307
 
31301
32308
 
31302
32309
 
32310
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32311
+
31303
32312
  setSearchParams(localVarUrlObj, localVarQueryParameter);
31304
32313
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31305
32314
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32315
+ localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalServiceCommand, localVarRequestOptions, configuration)
31306
32316
 
31307
32317
  return {
31308
32318
  url: toPathString(localVarUrlObj),
@@ -31311,28 +32321,25 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31311
32321
  },
31312
32322
  /**
31313
32323
  *
31314
- * @summary Get HospitalServiceMedia.
32324
+ * @summary Get all HospitalWorkingDays.
31315
32325
  * @param {string} hospitalId
31316
- * @param {string} specialtyId
31317
- * @param {string} serviceId
31318
- * @param {string} mediaId
32326
+ * @param {string} [hospitalId2]
32327
+ * @param {string} [id]
32328
+ * @param {string} [dayOfWeek]
32329
+ * @param {Date} [timeFrom]
32330
+ * @param {Date} [timeTo]
32331
+ * @param {boolean} [checkHoliday]
32332
+ * @param {number} [page]
32333
+ * @param {number} [limit]
32334
+ * @param {Date} [lastRetrieved]
31319
32335
  * @param {*} [options] Override http request option.
31320
32336
  * @throws {RequiredError}
31321
32337
  */
31322
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet: async (hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32338
+ 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> => {
31323
32339
  // verify required parameter 'hospitalId' is not null or undefined
31324
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet', 'hospitalId', hospitalId)
31325
- // verify required parameter 'specialtyId' is not null or undefined
31326
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet', 'specialtyId', specialtyId)
31327
- // verify required parameter 'serviceId' is not null or undefined
31328
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet', 'serviceId', serviceId)
31329
- // verify required parameter 'mediaId' is not null or undefined
31330
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet', 'mediaId', mediaId)
31331
- const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias/{mediaId}`
31332
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
31333
- .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
31334
- .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
31335
- .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
32340
+ assertParamExists('apiV1HospitalsHospitalIdWorkingdaysGet', 'hospitalId', hospitalId)
32341
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/workingdays`
32342
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
31336
32343
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31337
32344
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31338
32345
  let baseOptions;
@@ -31348,6 +32355,48 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31348
32355
  // oauth required
31349
32356
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
31350
32357
 
32358
+ if (hospitalId2 !== undefined) {
32359
+ localVarQueryParameter['HospitalId'] = hospitalId2;
32360
+ }
32361
+
32362
+ if (id !== undefined) {
32363
+ localVarQueryParameter['Id'] = id;
32364
+ }
32365
+
32366
+ if (dayOfWeek !== undefined) {
32367
+ localVarQueryParameter['DayOfWeek'] = dayOfWeek;
32368
+ }
32369
+
32370
+ if (timeFrom !== undefined) {
32371
+ localVarQueryParameter['TimeFrom'] = (timeFrom as any instanceof Date) ?
32372
+ (timeFrom as any).toISOString() :
32373
+ timeFrom;
32374
+ }
32375
+
32376
+ if (timeTo !== undefined) {
32377
+ localVarQueryParameter['TimeTo'] = (timeTo as any instanceof Date) ?
32378
+ (timeTo as any).toISOString() :
32379
+ timeTo;
32380
+ }
32381
+
32382
+ if (checkHoliday !== undefined) {
32383
+ localVarQueryParameter['CheckHoliday'] = checkHoliday;
32384
+ }
32385
+
32386
+ if (page !== undefined) {
32387
+ localVarQueryParameter['page'] = page;
32388
+ }
32389
+
32390
+ if (limit !== undefined) {
32391
+ localVarQueryParameter['limit'] = limit;
32392
+ }
32393
+
32394
+ if (lastRetrieved !== undefined) {
32395
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
32396
+ (lastRetrieved as any).toISOString() :
32397
+ lastRetrieved;
32398
+ }
32399
+
31351
32400
 
31352
32401
 
31353
32402
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -31361,29 +32410,17 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31361
32410
  },
31362
32411
  /**
31363
32412
  *
31364
- * @summary Update HospitalServiceMedia.
32413
+ * @summary Create HospitalWorkingDay.
31365
32414
  * @param {string} hospitalId
31366
- * @param {string} specialtyId
31367
- * @param {string} serviceId
31368
- * @param {string} mediaId
31369
- * @param {UpdateMediaCommand} [updateMediaCommand]
32415
+ * @param {CreateHospitalWorkingDayCommand} [createHospitalWorkingDayCommand]
31370
32416
  * @param {*} [options] Override http request option.
31371
32417
  * @throws {RequiredError}
31372
32418
  */
31373
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut: async (hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32419
+ apiV1HospitalsHospitalIdWorkingdaysPost: async (hospitalId: string, createHospitalWorkingDayCommand?: CreateHospitalWorkingDayCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31374
32420
  // verify required parameter 'hospitalId' is not null or undefined
31375
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'hospitalId', hospitalId)
31376
- // verify required parameter 'specialtyId' is not null or undefined
31377
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'specialtyId', specialtyId)
31378
- // verify required parameter 'serviceId' is not null or undefined
31379
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'serviceId', serviceId)
31380
- // verify required parameter 'mediaId' is not null or undefined
31381
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'mediaId', mediaId)
31382
- const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias/{mediaId}`
31383
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
31384
- .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
31385
- .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
31386
- .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
32421
+ assertParamExists('apiV1HospitalsHospitalIdWorkingdaysPost', 'hospitalId', hospitalId)
32422
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/workingdays`
32423
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
31387
32424
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31388
32425
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31389
32426
  let baseOptions;
@@ -31391,7 +32428,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31391
32428
  baseOptions = configuration.baseOptions;
31392
32429
  }
31393
32430
 
31394
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
32431
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
31395
32432
  const localVarHeaderParameter = {} as any;
31396
32433
  const localVarQueryParameter = {} as any;
31397
32434
 
@@ -31406,7 +32443,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31406
32443
  setSearchParams(localVarUrlObj, localVarQueryParameter);
31407
32444
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31408
32445
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
31409
- localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
32446
+ localVarRequestOptions.data = serializeDataIfNeeded(createHospitalWorkingDayCommand, localVarRequestOptions, configuration)
31410
32447
 
31411
32448
  return {
31412
32449
  url: toPathString(localVarUrlObj),
@@ -31415,25 +32452,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31415
32452
  },
31416
32453
  /**
31417
32454
  *
31418
- * @summary Create HospitalServiceMedia.
32455
+ * @summary Delete HospitalWorkingDay.
31419
32456
  * @param {string} hospitalId
31420
- * @param {string} specialtyId
31421
- * @param {string} serviceId
31422
- * @param {CreateMediaCommand} [createMediaCommand]
32457
+ * @param {string} workingDayId
31423
32458
  * @param {*} [options] Override http request option.
31424
32459
  * @throws {RequiredError}
31425
32460
  */
31426
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost: async (hospitalId: string, specialtyId: string, serviceId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32461
+ apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete: async (hospitalId: string, workingDayId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31427
32462
  // verify required parameter 'hospitalId' is not null or undefined
31428
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'hospitalId', hospitalId)
31429
- // verify required parameter 'specialtyId' is not null or undefined
31430
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'specialtyId', specialtyId)
31431
- // verify required parameter 'serviceId' is not null or undefined
31432
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'serviceId', serviceId)
31433
- const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias`
32463
+ assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete', 'hospitalId', hospitalId)
32464
+ // verify required parameter 'workingDayId' is not null or undefined
32465
+ assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete', 'workingDayId', workingDayId)
32466
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/workingdays/{workingDayId}`
31434
32467
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
31435
- .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
31436
- .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
32468
+ .replace(`{${"workingDayId"}}`, encodeURIComponent(String(workingDayId)));
31437
32469
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31438
32470
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31439
32471
  let baseOptions;
@@ -31441,7 +32473,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31441
32473
  baseOptions = configuration.baseOptions;
31442
32474
  }
31443
32475
 
31444
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
32476
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
31445
32477
  const localVarHeaderParameter = {} as any;
31446
32478
  const localVarQueryParameter = {} as any;
31447
32479
 
@@ -31451,12 +32483,51 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31451
32483
 
31452
32484
 
31453
32485
 
31454
- localVarHeaderParameter['Content-Type'] = 'application/json';
32486
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32487
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32488
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
31455
32489
 
32490
+ return {
32491
+ url: toPathString(localVarUrlObj),
32492
+ options: localVarRequestOptions,
32493
+ };
32494
+ },
32495
+ /**
32496
+ *
32497
+ * @summary Get HospitalWorkingDay.
32498
+ * @param {string} hospitalId
32499
+ * @param {string} workingDayId
32500
+ * @param {*} [options] Override http request option.
32501
+ * @throws {RequiredError}
32502
+ */
32503
+ apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet: async (hospitalId: string, workingDayId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32504
+ // verify required parameter 'hospitalId' is not null or undefined
32505
+ assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet', 'hospitalId', hospitalId)
32506
+ // verify required parameter 'workingDayId' is not null or undefined
32507
+ assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet', 'workingDayId', workingDayId)
32508
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/workingdays/{workingDayId}`
32509
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
32510
+ .replace(`{${"workingDayId"}}`, encodeURIComponent(String(workingDayId)));
32511
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32512
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32513
+ let baseOptions;
32514
+ if (configuration) {
32515
+ baseOptions = configuration.baseOptions;
32516
+ }
32517
+
32518
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
32519
+ const localVarHeaderParameter = {} as any;
32520
+ const localVarQueryParameter = {} as any;
32521
+
32522
+ // authentication oauth2 required
32523
+ // oauth required
32524
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
32525
+
32526
+
32527
+
31456
32528
  setSearchParams(localVarUrlObj, localVarQueryParameter);
31457
32529
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31458
32530
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
31459
- localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
31460
32531
 
31461
32532
  return {
31462
32533
  url: toPathString(localVarUrlObj),
@@ -31465,25 +32536,21 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31465
32536
  },
31466
32537
  /**
31467
32538
  *
31468
- * @summary Update HospitalService.
32539
+ * @summary Update HospitalWorkingDay.
31469
32540
  * @param {string} hospitalId
31470
- * @param {string} specialtyId
31471
- * @param {string} serviceId
31472
- * @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
32541
+ * @param {string} workingDayId
32542
+ * @param {UpdateHospitalWorkingDayCommand} [updateHospitalWorkingDayCommand]
31473
32543
  * @param {*} [options] Override http request option.
31474
32544
  * @throws {RequiredError}
31475
32545
  */
31476
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut: async (hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32546
+ apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut: async (hospitalId: string, workingDayId: string, updateHospitalWorkingDayCommand?: UpdateHospitalWorkingDayCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31477
32547
  // verify required parameter 'hospitalId' is not null or undefined
31478
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'hospitalId', hospitalId)
31479
- // verify required parameter 'specialtyId' is not null or undefined
31480
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'specialtyId', specialtyId)
31481
- // verify required parameter 'serviceId' is not null or undefined
31482
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'serviceId', serviceId)
31483
- const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}`
32548
+ assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut', 'hospitalId', hospitalId)
32549
+ // verify required parameter 'workingDayId' is not null or undefined
32550
+ assertParamExists('apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut', 'workingDayId', workingDayId)
32551
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/workingdays/{workingDayId}`
31484
32552
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
31485
- .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
31486
- .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
32553
+ .replace(`{${"workingDayId"}}`, encodeURIComponent(String(workingDayId)));
31487
32554
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31488
32555
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31489
32556
  let baseOptions;
@@ -31506,7 +32573,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31506
32573
  setSearchParams(localVarUrlObj, localVarQueryParameter);
31507
32574
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31508
32575
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
31509
- localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalServiceCommand, localVarRequestOptions, configuration)
32576
+ localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalWorkingDayCommand, localVarRequestOptions, configuration)
31510
32577
 
31511
32578
  return {
31512
32579
  url: toPathString(localVarUrlObj),
@@ -31567,13 +32634,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31567
32634
  * @param {string} [languageCode]
31568
32635
  * @param {Array<string>} [ids]
31569
32636
  * @param {boolean} [returnDefaultValue]
32637
+ * @param {boolean} [paymentEnabled]
31570
32638
  * @param {number} [page]
31571
32639
  * @param {number} [limit]
31572
32640
  * @param {Date} [lastRetrieved]
31573
32641
  * @param {*} [options] Override http request option.
31574
32642
  * @throws {RequiredError}
31575
32643
  */
31576
- apiV1HospitalsSimpleGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32644
+ apiV1HospitalsSimpleGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31577
32645
  const localVarPath = `/api/v1/hospitals/simple`;
31578
32646
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31579
32647
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -31644,6 +32712,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31644
32712
  localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
31645
32713
  }
31646
32714
 
32715
+ if (paymentEnabled !== undefined) {
32716
+ localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
32717
+ }
32718
+
31647
32719
  if (page !== undefined) {
31648
32720
  localVarQueryParameter['page'] = page;
31649
32721
  }
@@ -31742,14 +32814,15 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
31742
32814
  * @param {string} [languageCode]
31743
32815
  * @param {Array<string>} [ids]
31744
32816
  * @param {boolean} [returnDefaultValue]
32817
+ * @param {boolean} [paymentEnabled]
31745
32818
  * @param {number} [page]
31746
32819
  * @param {number} [limit]
31747
32820
  * @param {Date} [lastRetrieved]
31748
32821
  * @param {*} [options] Override http request option.
31749
32822
  * @throws {RequiredError}
31750
32823
  */
31751
- async apiV1HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
31752
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
32824
+ async apiV1HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
32825
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options);
31753
32826
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
31754
32827
  },
31755
32828
  /**
@@ -32034,6 +33107,73 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
32034
33107
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options);
32035
33108
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
32036
33109
  },
33110
+ /**
33111
+ *
33112
+ * @summary Get all HospitalHandles.
33113
+ * @param {string} hospitalId
33114
+ * @param {string} [hospitalId2]
33115
+ * @param {string} [id]
33116
+ * @param {SnsType} [snsType]
33117
+ * @param {string} [handle]
33118
+ * @param {number} [page]
33119
+ * @param {number} [limit]
33120
+ * @param {Date} [lastRetrieved]
33121
+ * @param {*} [options] Override http request option.
33122
+ * @throws {RequiredError}
33123
+ */
33124
+ 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>> {
33125
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options);
33126
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33127
+ },
33128
+ /**
33129
+ *
33130
+ * @summary Delete HospitalHandle.
33131
+ * @param {string} hospitalId
33132
+ * @param {string} handleId
33133
+ * @param {*} [options] Override http request option.
33134
+ * @throws {RequiredError}
33135
+ */
33136
+ async apiV1HospitalsHospitalIdHandlesHandleIdDelete(hospitalId: string, handleId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
33137
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesHandleIdDelete(hospitalId, handleId, options);
33138
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33139
+ },
33140
+ /**
33141
+ *
33142
+ * @summary Get HospitalHandle.
33143
+ * @param {string} hospitalId
33144
+ * @param {string} handleId
33145
+ * @param {*} [options] Override http request option.
33146
+ * @throws {RequiredError}
33147
+ */
33148
+ async apiV1HospitalsHospitalIdHandlesHandleIdGet(hospitalId: string, handleId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SnsHandleModel>> {
33149
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options);
33150
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33151
+ },
33152
+ /**
33153
+ *
33154
+ * @summary Update HospitalHandle.
33155
+ * @param {string} hospitalId
33156
+ * @param {string} handleId
33157
+ * @param {UpdateHospitalSnsHandleCommand} [updateHospitalSnsHandleCommand]
33158
+ * @param {*} [options] Override http request option.
33159
+ * @throws {RequiredError}
33160
+ */
33161
+ async apiV1HospitalsHospitalIdHandlesHandleIdPut(hospitalId: string, handleId: string, updateHospitalSnsHandleCommand?: UpdateHospitalSnsHandleCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SnsHandleModel>> {
33162
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesHandleIdPut(hospitalId, handleId, updateHospitalSnsHandleCommand, options);
33163
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33164
+ },
33165
+ /**
33166
+ *
33167
+ * @summary Get HospitalHandle.
33168
+ * @param {string} hospitalId
33169
+ * @param {CreateHospitalSnsHandleCommand} [createHospitalSnsHandleCommand]
33170
+ * @param {*} [options] Override http request option.
33171
+ * @throws {RequiredError}
33172
+ */
33173
+ async apiV1HospitalsHospitalIdHandlesPost(hospitalId: string, createHospitalSnsHandleCommand?: CreateHospitalSnsHandleCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SnsHandleModel>> {
33174
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options);
33175
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33176
+ },
32037
33177
  /**
32038
33178
  *
32039
33179
  * @summary Get all HospitalMedias.
@@ -32372,6 +33512,75 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
32372
33512
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options);
32373
33513
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
32374
33514
  },
33515
+ /**
33516
+ *
33517
+ * @summary Get all HospitalWorkingDays.
33518
+ * @param {string} hospitalId
33519
+ * @param {string} [hospitalId2]
33520
+ * @param {string} [id]
33521
+ * @param {string} [dayOfWeek]
33522
+ * @param {Date} [timeFrom]
33523
+ * @param {Date} [timeTo]
33524
+ * @param {boolean} [checkHoliday]
33525
+ * @param {number} [page]
33526
+ * @param {number} [limit]
33527
+ * @param {Date} [lastRetrieved]
33528
+ * @param {*} [options] Override http request option.
33529
+ * @throws {RequiredError}
33530
+ */
33531
+ 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>> {
33532
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options);
33533
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33534
+ },
33535
+ /**
33536
+ *
33537
+ * @summary Create HospitalWorkingDay.
33538
+ * @param {string} hospitalId
33539
+ * @param {CreateHospitalWorkingDayCommand} [createHospitalWorkingDayCommand]
33540
+ * @param {*} [options] Override http request option.
33541
+ * @throws {RequiredError}
33542
+ */
33543
+ async apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId: string, createHospitalWorkingDayCommand?: CreateHospitalWorkingDayCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SnsHandleModel>> {
33544
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId, createHospitalWorkingDayCommand, options);
33545
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33546
+ },
33547
+ /**
33548
+ *
33549
+ * @summary Delete HospitalWorkingDay.
33550
+ * @param {string} hospitalId
33551
+ * @param {string} workingDayId
33552
+ * @param {*} [options] Override http request option.
33553
+ * @throws {RequiredError}
33554
+ */
33555
+ async apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete(hospitalId: string, workingDayId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
33556
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete(hospitalId, workingDayId, options);
33557
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33558
+ },
33559
+ /**
33560
+ *
33561
+ * @summary Get HospitalWorkingDay.
33562
+ * @param {string} hospitalId
33563
+ * @param {string} workingDayId
33564
+ * @param {*} [options] Override http request option.
33565
+ * @throws {RequiredError}
33566
+ */
33567
+ async apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId: string, workingDayId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkingDayModel>> {
33568
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId, workingDayId, options);
33569
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33570
+ },
33571
+ /**
33572
+ *
33573
+ * @summary Update HospitalWorkingDay.
33574
+ * @param {string} hospitalId
33575
+ * @param {string} workingDayId
33576
+ * @param {UpdateHospitalWorkingDayCommand} [updateHospitalWorkingDayCommand]
33577
+ * @param {*} [options] Override http request option.
33578
+ * @throws {RequiredError}
33579
+ */
33580
+ async apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId: string, workingDayId: string, updateHospitalWorkingDayCommand?: UpdateHospitalWorkingDayCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkingDayModel>> {
33581
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId, workingDayId, updateHospitalWorkingDayCommand, options);
33582
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33583
+ },
32375
33584
  /**
32376
33585
  *
32377
33586
  * @summary Create Hospital.
@@ -32399,14 +33608,15 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
32399
33608
  * @param {string} [languageCode]
32400
33609
  * @param {Array<string>} [ids]
32401
33610
  * @param {boolean} [returnDefaultValue]
33611
+ * @param {boolean} [paymentEnabled]
32402
33612
  * @param {number} [page]
32403
33613
  * @param {number} [limit]
32404
33614
  * @param {Date} [lastRetrieved]
32405
33615
  * @param {*} [options] Override http request option.
32406
33616
  * @throws {RequiredError}
32407
33617
  */
32408
- async apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsSimpleModel>> {
32409
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
33618
+ async apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsSimpleModel>> {
33619
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options);
32410
33620
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
32411
33621
  },
32412
33622
  /**
@@ -32447,14 +33657,15 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
32447
33657
  * @param {string} [languageCode]
32448
33658
  * @param {Array<string>} [ids]
32449
33659
  * @param {boolean} [returnDefaultValue]
33660
+ * @param {boolean} [paymentEnabled]
32450
33661
  * @param {number} [page]
32451
33662
  * @param {number} [limit]
32452
33663
  * @param {Date} [lastRetrieved]
32453
33664
  * @param {*} [options] Override http request option.
32454
33665
  * @throws {RequiredError}
32455
33666
  */
32456
- apiV1HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
32457
- return localVarFp.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
33667
+ apiV1HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
33668
+ return localVarFp.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
32458
33669
  },
32459
33670
  /**
32460
33671
  *
@@ -32717,6 +33928,68 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
32717
33928
  apiV1HospitalsHospitalIdGet(hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalModel> {
32718
33929
  return localVarFp.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
32719
33930
  },
33931
+ /**
33932
+ *
33933
+ * @summary Get all HospitalHandles.
33934
+ * @param {string} hospitalId
33935
+ * @param {string} [hospitalId2]
33936
+ * @param {string} [id]
33937
+ * @param {SnsType} [snsType]
33938
+ * @param {string} [handle]
33939
+ * @param {number} [page]
33940
+ * @param {number} [limit]
33941
+ * @param {Date} [lastRetrieved]
33942
+ * @param {*} [options] Override http request option.
33943
+ * @throws {RequiredError}
33944
+ */
33945
+ apiV1HospitalsHospitalIdHandlesGet(hospitalId: string, hospitalId2?: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSnsHandlesModel> {
33946
+ return localVarFp.apiV1HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
33947
+ },
33948
+ /**
33949
+ *
33950
+ * @summary Delete HospitalHandle.
33951
+ * @param {string} hospitalId
33952
+ * @param {string} handleId
33953
+ * @param {*} [options] Override http request option.
33954
+ * @throws {RequiredError}
33955
+ */
33956
+ apiV1HospitalsHospitalIdHandlesHandleIdDelete(hospitalId: string, handleId: string, options?: any): AxiosPromise<boolean> {
33957
+ return localVarFp.apiV1HospitalsHospitalIdHandlesHandleIdDelete(hospitalId, handleId, options).then((request) => request(axios, basePath));
33958
+ },
33959
+ /**
33960
+ *
33961
+ * @summary Get HospitalHandle.
33962
+ * @param {string} hospitalId
33963
+ * @param {string} handleId
33964
+ * @param {*} [options] Override http request option.
33965
+ * @throws {RequiredError}
33966
+ */
33967
+ apiV1HospitalsHospitalIdHandlesHandleIdGet(hospitalId: string, handleId: string, options?: any): AxiosPromise<SnsHandleModel> {
33968
+ return localVarFp.apiV1HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options).then((request) => request(axios, basePath));
33969
+ },
33970
+ /**
33971
+ *
33972
+ * @summary Update HospitalHandle.
33973
+ * @param {string} hospitalId
33974
+ * @param {string} handleId
33975
+ * @param {UpdateHospitalSnsHandleCommand} [updateHospitalSnsHandleCommand]
33976
+ * @param {*} [options] Override http request option.
33977
+ * @throws {RequiredError}
33978
+ */
33979
+ apiV1HospitalsHospitalIdHandlesHandleIdPut(hospitalId: string, handleId: string, updateHospitalSnsHandleCommand?: UpdateHospitalSnsHandleCommand, options?: any): AxiosPromise<SnsHandleModel> {
33980
+ return localVarFp.apiV1HospitalsHospitalIdHandlesHandleIdPut(hospitalId, handleId, updateHospitalSnsHandleCommand, options).then((request) => request(axios, basePath));
33981
+ },
33982
+ /**
33983
+ *
33984
+ * @summary Get HospitalHandle.
33985
+ * @param {string} hospitalId
33986
+ * @param {CreateHospitalSnsHandleCommand} [createHospitalSnsHandleCommand]
33987
+ * @param {*} [options] Override http request option.
33988
+ * @throws {RequiredError}
33989
+ */
33990
+ apiV1HospitalsHospitalIdHandlesPost(hospitalId: string, createHospitalSnsHandleCommand?: CreateHospitalSnsHandleCommand, options?: any): AxiosPromise<SnsHandleModel> {
33991
+ return localVarFp.apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options).then((request) => request(axios, basePath));
33992
+ },
32720
33993
  /**
32721
33994
  *
32722
33995
  * @summary Get all HospitalMedias.
@@ -33033,6 +34306,70 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
33033
34306
  apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options?: any): AxiosPromise<HospitalServiceModel> {
33034
34307
  return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options).then((request) => request(axios, basePath));
33035
34308
  },
34309
+ /**
34310
+ *
34311
+ * @summary Get all HospitalWorkingDays.
34312
+ * @param {string} hospitalId
34313
+ * @param {string} [hospitalId2]
34314
+ * @param {string} [id]
34315
+ * @param {string} [dayOfWeek]
34316
+ * @param {Date} [timeFrom]
34317
+ * @param {Date} [timeTo]
34318
+ * @param {boolean} [checkHoliday]
34319
+ * @param {number} [page]
34320
+ * @param {number} [limit]
34321
+ * @param {Date} [lastRetrieved]
34322
+ * @param {*} [options] Override http request option.
34323
+ * @throws {RequiredError}
34324
+ */
34325
+ 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> {
34326
+ return localVarFp.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
34327
+ },
34328
+ /**
34329
+ *
34330
+ * @summary Create HospitalWorkingDay.
34331
+ * @param {string} hospitalId
34332
+ * @param {CreateHospitalWorkingDayCommand} [createHospitalWorkingDayCommand]
34333
+ * @param {*} [options] Override http request option.
34334
+ * @throws {RequiredError}
34335
+ */
34336
+ apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId: string, createHospitalWorkingDayCommand?: CreateHospitalWorkingDayCommand, options?: any): AxiosPromise<SnsHandleModel> {
34337
+ return localVarFp.apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId, createHospitalWorkingDayCommand, options).then((request) => request(axios, basePath));
34338
+ },
34339
+ /**
34340
+ *
34341
+ * @summary Delete HospitalWorkingDay.
34342
+ * @param {string} hospitalId
34343
+ * @param {string} workingDayId
34344
+ * @param {*} [options] Override http request option.
34345
+ * @throws {RequiredError}
34346
+ */
34347
+ apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete(hospitalId: string, workingDayId: string, options?: any): AxiosPromise<boolean> {
34348
+ return localVarFp.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete(hospitalId, workingDayId, options).then((request) => request(axios, basePath));
34349
+ },
34350
+ /**
34351
+ *
34352
+ * @summary Get HospitalWorkingDay.
34353
+ * @param {string} hospitalId
34354
+ * @param {string} workingDayId
34355
+ * @param {*} [options] Override http request option.
34356
+ * @throws {RequiredError}
34357
+ */
34358
+ apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId: string, workingDayId: string, options?: any): AxiosPromise<WorkingDayModel> {
34359
+ return localVarFp.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId, workingDayId, options).then((request) => request(axios, basePath));
34360
+ },
34361
+ /**
34362
+ *
34363
+ * @summary Update HospitalWorkingDay.
34364
+ * @param {string} hospitalId
34365
+ * @param {string} workingDayId
34366
+ * @param {UpdateHospitalWorkingDayCommand} [updateHospitalWorkingDayCommand]
34367
+ * @param {*} [options] Override http request option.
34368
+ * @throws {RequiredError}
34369
+ */
34370
+ apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId: string, workingDayId: string, updateHospitalWorkingDayCommand?: UpdateHospitalWorkingDayCommand, options?: any): AxiosPromise<WorkingDayModel> {
34371
+ return localVarFp.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId, workingDayId, updateHospitalWorkingDayCommand, options).then((request) => request(axios, basePath));
34372
+ },
33036
34373
  /**
33037
34374
  *
33038
34375
  * @summary Create Hospital.
@@ -33059,14 +34396,15 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
33059
34396
  * @param {string} [languageCode]
33060
34397
  * @param {Array<string>} [ids]
33061
34398
  * @param {boolean} [returnDefaultValue]
34399
+ * @param {boolean} [paymentEnabled]
33062
34400
  * @param {number} [page]
33063
34401
  * @param {number} [limit]
33064
34402
  * @param {Date} [lastRetrieved]
33065
34403
  * @param {*} [options] Override http request option.
33066
34404
  * @throws {RequiredError}
33067
34405
  */
33068
- apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsSimpleModel> {
33069
- return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
34406
+ apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsSimpleModel> {
34407
+ return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
33070
34408
  },
33071
34409
  /**
33072
34410
  *
@@ -33105,6 +34443,7 @@ export class HospitalsApi extends BaseAPI {
33105
34443
  * @param {string} [languageCode]
33106
34444
  * @param {Array<string>} [ids]
33107
34445
  * @param {boolean} [returnDefaultValue]
34446
+ * @param {boolean} [paymentEnabled]
33108
34447
  * @param {number} [page]
33109
34448
  * @param {number} [limit]
33110
34449
  * @param {Date} [lastRetrieved]
@@ -33112,8 +34451,8 @@ export class HospitalsApi extends BaseAPI {
33112
34451
  * @throws {RequiredError}
33113
34452
  * @memberof HospitalsApi
33114
34453
  */
33115
- public apiV1HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
33116
- return HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
34454
+ public apiV1HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
34455
+ return HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
33117
34456
  }
33118
34457
 
33119
34458
  /**
@@ -33419,6 +34758,78 @@ export class HospitalsApi extends BaseAPI {
33419
34758
  return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
33420
34759
  }
33421
34760
 
34761
+ /**
34762
+ *
34763
+ * @summary Get all HospitalHandles.
34764
+ * @param {string} hospitalId
34765
+ * @param {string} [hospitalId2]
34766
+ * @param {string} [id]
34767
+ * @param {SnsType} [snsType]
34768
+ * @param {string} [handle]
34769
+ * @param {number} [page]
34770
+ * @param {number} [limit]
34771
+ * @param {Date} [lastRetrieved]
34772
+ * @param {*} [options] Override http request option.
34773
+ * @throws {RequiredError}
34774
+ * @memberof HospitalsApi
34775
+ */
34776
+ public apiV1HospitalsHospitalIdHandlesGet(hospitalId: string, hospitalId2?: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
34777
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
34778
+ }
34779
+
34780
+ /**
34781
+ *
34782
+ * @summary Delete HospitalHandle.
34783
+ * @param {string} hospitalId
34784
+ * @param {string} handleId
34785
+ * @param {*} [options] Override http request option.
34786
+ * @throws {RequiredError}
34787
+ * @memberof HospitalsApi
34788
+ */
34789
+ public apiV1HospitalsHospitalIdHandlesHandleIdDelete(hospitalId: string, handleId: string, options?: AxiosRequestConfig) {
34790
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesHandleIdDelete(hospitalId, handleId, options).then((request) => request(this.axios, this.basePath));
34791
+ }
34792
+
34793
+ /**
34794
+ *
34795
+ * @summary Get HospitalHandle.
34796
+ * @param {string} hospitalId
34797
+ * @param {string} handleId
34798
+ * @param {*} [options] Override http request option.
34799
+ * @throws {RequiredError}
34800
+ * @memberof HospitalsApi
34801
+ */
34802
+ public apiV1HospitalsHospitalIdHandlesHandleIdGet(hospitalId: string, handleId: string, options?: AxiosRequestConfig) {
34803
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options).then((request) => request(this.axios, this.basePath));
34804
+ }
34805
+
34806
+ /**
34807
+ *
34808
+ * @summary Update HospitalHandle.
34809
+ * @param {string} hospitalId
34810
+ * @param {string} handleId
34811
+ * @param {UpdateHospitalSnsHandleCommand} [updateHospitalSnsHandleCommand]
34812
+ * @param {*} [options] Override http request option.
34813
+ * @throws {RequiredError}
34814
+ * @memberof HospitalsApi
34815
+ */
34816
+ public apiV1HospitalsHospitalIdHandlesHandleIdPut(hospitalId: string, handleId: string, updateHospitalSnsHandleCommand?: UpdateHospitalSnsHandleCommand, options?: AxiosRequestConfig) {
34817
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesHandleIdPut(hospitalId, handleId, updateHospitalSnsHandleCommand, options).then((request) => request(this.axios, this.basePath));
34818
+ }
34819
+
34820
+ /**
34821
+ *
34822
+ * @summary Get HospitalHandle.
34823
+ * @param {string} hospitalId
34824
+ * @param {CreateHospitalSnsHandleCommand} [createHospitalSnsHandleCommand]
34825
+ * @param {*} [options] Override http request option.
34826
+ * @throws {RequiredError}
34827
+ * @memberof HospitalsApi
34828
+ */
34829
+ public apiV1HospitalsHospitalIdHandlesPost(hospitalId: string, createHospitalSnsHandleCommand?: CreateHospitalSnsHandleCommand, options?: AxiosRequestConfig) {
34830
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options).then((request) => request(this.axios, this.basePath));
34831
+ }
34832
+
33422
34833
  /**
33423
34834
  *
33424
34835
  * @summary Get all HospitalMedias.
@@ -33779,6 +35190,80 @@ export class HospitalsApi extends BaseAPI {
33779
35190
  return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options).then((request) => request(this.axios, this.basePath));
33780
35191
  }
33781
35192
 
35193
+ /**
35194
+ *
35195
+ * @summary Get all HospitalWorkingDays.
35196
+ * @param {string} hospitalId
35197
+ * @param {string} [hospitalId2]
35198
+ * @param {string} [id]
35199
+ * @param {string} [dayOfWeek]
35200
+ * @param {Date} [timeFrom]
35201
+ * @param {Date} [timeTo]
35202
+ * @param {boolean} [checkHoliday]
35203
+ * @param {number} [page]
35204
+ * @param {number} [limit]
35205
+ * @param {Date} [lastRetrieved]
35206
+ * @param {*} [options] Override http request option.
35207
+ * @throws {RequiredError}
35208
+ * @memberof HospitalsApi
35209
+ */
35210
+ public apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId: string, hospitalId2?: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
35211
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
35212
+ }
35213
+
35214
+ /**
35215
+ *
35216
+ * @summary Create HospitalWorkingDay.
35217
+ * @param {string} hospitalId
35218
+ * @param {CreateHospitalWorkingDayCommand} [createHospitalWorkingDayCommand]
35219
+ * @param {*} [options] Override http request option.
35220
+ * @throws {RequiredError}
35221
+ * @memberof HospitalsApi
35222
+ */
35223
+ public apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId: string, createHospitalWorkingDayCommand?: CreateHospitalWorkingDayCommand, options?: AxiosRequestConfig) {
35224
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId, createHospitalWorkingDayCommand, options).then((request) => request(this.axios, this.basePath));
35225
+ }
35226
+
35227
+ /**
35228
+ *
35229
+ * @summary Delete HospitalWorkingDay.
35230
+ * @param {string} hospitalId
35231
+ * @param {string} workingDayId
35232
+ * @param {*} [options] Override http request option.
35233
+ * @throws {RequiredError}
35234
+ * @memberof HospitalsApi
35235
+ */
35236
+ public apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete(hospitalId: string, workingDayId: string, options?: AxiosRequestConfig) {
35237
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdDelete(hospitalId, workingDayId, options).then((request) => request(this.axios, this.basePath));
35238
+ }
35239
+
35240
+ /**
35241
+ *
35242
+ * @summary Get HospitalWorkingDay.
35243
+ * @param {string} hospitalId
35244
+ * @param {string} workingDayId
35245
+ * @param {*} [options] Override http request option.
35246
+ * @throws {RequiredError}
35247
+ * @memberof HospitalsApi
35248
+ */
35249
+ public apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId: string, workingDayId: string, options?: AxiosRequestConfig) {
35250
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId, workingDayId, options).then((request) => request(this.axios, this.basePath));
35251
+ }
35252
+
35253
+ /**
35254
+ *
35255
+ * @summary Update HospitalWorkingDay.
35256
+ * @param {string} hospitalId
35257
+ * @param {string} workingDayId
35258
+ * @param {UpdateHospitalWorkingDayCommand} [updateHospitalWorkingDayCommand]
35259
+ * @param {*} [options] Override http request option.
35260
+ * @throws {RequiredError}
35261
+ * @memberof HospitalsApi
35262
+ */
35263
+ public apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId: string, workingDayId: string, updateHospitalWorkingDayCommand?: UpdateHospitalWorkingDayCommand, options?: AxiosRequestConfig) {
35264
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId, workingDayId, updateHospitalWorkingDayCommand, options).then((request) => request(this.axios, this.basePath));
35265
+ }
35266
+
33782
35267
  /**
33783
35268
  *
33784
35269
  * @summary Create Hospital.
@@ -33807,6 +35292,7 @@ export class HospitalsApi extends BaseAPI {
33807
35292
  * @param {string} [languageCode]
33808
35293
  * @param {Array<string>} [ids]
33809
35294
  * @param {boolean} [returnDefaultValue]
35295
+ * @param {boolean} [paymentEnabled]
33810
35296
  * @param {number} [page]
33811
35297
  * @param {number} [limit]
33812
35298
  * @param {Date} [lastRetrieved]
@@ -33814,8 +35300,8 @@ export class HospitalsApi extends BaseAPI {
33814
35300
  * @throws {RequiredError}
33815
35301
  * @memberof HospitalsApi
33816
35302
  */
33817
- public apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
33818
- return HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
35303
+ public apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
35304
+ return HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
33819
35305
  }
33820
35306
 
33821
35307
  /**