ch-api-client-typescript2 3.3.5 → 3.3.6

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
@@ -3824,6 +3824,12 @@ export interface DealsSimpleModel {
3824
3824
  * @interface DoctorAffiliationItemModel
3825
3825
  */
3826
3826
  export interface DoctorAffiliationItemModel {
3827
+ /**
3828
+ *
3829
+ * @type {string}
3830
+ * @memberof DoctorAffiliationItemModel
3831
+ */
3832
+ 'languageCode'?: string | null;
3827
3833
  /**
3828
3834
  *
3829
3835
  * @type {string}
@@ -3842,6 +3848,12 @@ export interface DoctorAffiliationItemModel {
3842
3848
  * @memberof DoctorAffiliationItemModel
3843
3849
  */
3844
3850
  'hospitalSlug'?: string | null;
3851
+ /**
3852
+ *
3853
+ * @type {number}
3854
+ * @memberof DoctorAffiliationItemModel
3855
+ */
3856
+ 'order'?: number;
3845
3857
  }
3846
3858
  /**
3847
3859
  *
@@ -3849,6 +3861,12 @@ export interface DoctorAffiliationItemModel {
3849
3861
  * @interface DoctorAffiliationModel
3850
3862
  */
3851
3863
  export interface DoctorAffiliationModel {
3864
+ /**
3865
+ *
3866
+ * @type {string}
3867
+ * @memberof DoctorAffiliationModel
3868
+ */
3869
+ 'languageCode'?: string | null;
3852
3870
  /**
3853
3871
  *
3854
3872
  * @type {string}
@@ -3867,6 +3885,12 @@ export interface DoctorAffiliationModel {
3867
3885
  * @memberof DoctorAffiliationModel
3868
3886
  */
3869
3887
  'hospitalSlug'?: string | null;
3888
+ /**
3889
+ *
3890
+ * @type {number}
3891
+ * @memberof DoctorAffiliationModel
3892
+ */
3893
+ 'order'?: number;
3870
3894
  }
3871
3895
  /**
3872
3896
  *
@@ -4455,6 +4479,30 @@ export interface DoctorModel {
4455
4479
  * @memberof DoctorModel
4456
4480
  */
4457
4481
  'startPracticeDate'?: Date | null;
4482
+ /**
4483
+ *
4484
+ * @type {boolean}
4485
+ * @memberof DoctorModel
4486
+ */
4487
+ 'consultationEnabled'?: boolean | null;
4488
+ /**
4489
+ *
4490
+ * @type {number}
4491
+ * @memberof DoctorModel
4492
+ */
4493
+ 'consultationFee'?: number | null;
4494
+ /**
4495
+ *
4496
+ * @type {Array<DoctorSpecialtyItemModel>}
4497
+ * @memberof DoctorModel
4498
+ */
4499
+ 'doctorSpecialties'?: Array<DoctorSpecialtyItemModel> | null;
4500
+ /**
4501
+ *
4502
+ * @type {Array<DoctorAffiliationItemModel>}
4503
+ * @memberof DoctorModel
4504
+ */
4505
+ 'doctorAffiliations'?: Array<DoctorAffiliationItemModel> | null;
4458
4506
  /**
4459
4507
  *
4460
4508
  * @type {Array<LocalizedUrlModel>}
@@ -4620,13 +4668,13 @@ export interface DoctorSimpleItemModel {
4620
4668
  * @type {string}
4621
4669
  * @memberof DoctorSimpleItemModel
4622
4670
  */
4623
- 'slug'?: string | null;
4671
+ 'fullName'?: string | null;
4624
4672
  /**
4625
4673
  *
4626
4674
  * @type {string}
4627
4675
  * @memberof DoctorSimpleItemModel
4628
4676
  */
4629
- 'hospitalId'?: string | null;
4677
+ 'slug'?: string | null;
4630
4678
  }
4631
4679
  /**
4632
4680
  *
@@ -5613,13 +5661,13 @@ export interface HospitalItemModel {
5613
5661
  * @type {string}
5614
5662
  * @memberof HospitalItemModel
5615
5663
  */
5616
- 'specialtiesSummerized'?: string | null;
5664
+ 'countryId'?: string;
5617
5665
  /**
5618
5666
  *
5619
5667
  * @type {string}
5620
5668
  * @memberof HospitalItemModel
5621
5669
  */
5622
- 'countryId'?: string;
5670
+ 'specialtiesSummerized'?: string | null;
5623
5671
  /**
5624
5672
  *
5625
5673
  * @type {Array<HospitalAccreditationItemModel>}
@@ -5722,13 +5770,13 @@ export interface HospitalModel {
5722
5770
  * @type {string}
5723
5771
  * @memberof HospitalModel
5724
5772
  */
5725
- 'specialtiesSummerized'?: string | null;
5773
+ 'countryId'?: string;
5726
5774
  /**
5727
5775
  *
5728
5776
  * @type {string}
5729
5777
  * @memberof HospitalModel
5730
5778
  */
5731
- 'countryId'?: string;
5779
+ 'specialtiesSummerized'?: string | null;
5732
5780
  /**
5733
5781
  *
5734
5782
  * @type {Array<HospitalAccreditationItemModel>}
@@ -6339,16 +6387,10 @@ export interface HospitalSpecialtyItemModel {
6339
6387
  'slug'?: string | null;
6340
6388
  /**
6341
6389
  *
6342
- * @type {string}
6343
- * @memberof HospitalSpecialtyItemModel
6344
- */
6345
- 'description'?: string | null;
6346
- /**
6347
- *
6348
- * @type {boolean}
6390
+ * @type {number}
6349
6391
  * @memberof HospitalSpecialtyItemModel
6350
6392
  */
6351
- 'confirmed'?: boolean;
6393
+ 'order'?: number;
6352
6394
  /**
6353
6395
  *
6354
6396
  * @type {string}
@@ -6373,12 +6415,6 @@ export interface HospitalSpecialtyItemModel {
6373
6415
  * @memberof HospitalSpecialtyItemModel
6374
6416
  */
6375
6417
  'backgroundThumbnail'?: string | null;
6376
- /**
6377
- *
6378
- * @type {number}
6379
- * @memberof HospitalSpecialtyItemModel
6380
- */
6381
- 'order'?: number;
6382
6418
  /**
6383
6419
  *
6384
6420
  * @type {number}
@@ -6424,16 +6460,10 @@ export interface HospitalSpecialtyModel {
6424
6460
  'slug'?: string | null;
6425
6461
  /**
6426
6462
  *
6427
- * @type {string}
6428
- * @memberof HospitalSpecialtyModel
6429
- */
6430
- 'description'?: string | null;
6431
- /**
6432
- *
6433
- * @type {boolean}
6463
+ * @type {number}
6434
6464
  * @memberof HospitalSpecialtyModel
6435
6465
  */
6436
- 'confirmed'?: boolean;
6466
+ 'order'?: number;
6437
6467
  /**
6438
6468
  *
6439
6469
  * @type {string}
@@ -6463,25 +6493,31 @@ export interface HospitalSpecialtyModel {
6463
6493
  * @type {number}
6464
6494
  * @memberof HospitalSpecialtyModel
6465
6495
  */
6466
- 'order'?: number;
6496
+ 'servicesCount'?: number;
6467
6497
  /**
6468
6498
  *
6469
- * @type {number}
6499
+ * @type {string}
6470
6500
  * @memberof HospitalSpecialtyModel
6471
6501
  */
6472
- 'servicesCount'?: number;
6502
+ 'specialtyId'?: string;
6473
6503
  /**
6474
6504
  *
6475
6505
  * @type {string}
6476
6506
  * @memberof HospitalSpecialtyModel
6477
6507
  */
6478
- 'specialtyId'?: string;
6508
+ 'description'?: string | null;
6479
6509
  /**
6480
6510
  *
6481
6511
  * @type {string}
6482
6512
  * @memberof HospitalSpecialtyModel
6483
6513
  */
6484
- 'hospitalId'?: string;
6514
+ 'content'?: string | null;
6515
+ /**
6516
+ *
6517
+ * @type {boolean}
6518
+ * @memberof HospitalSpecialtyModel
6519
+ */
6520
+ 'confirmed'?: boolean;
6485
6521
  /**
6486
6522
  *
6487
6523
  * @type {string}
@@ -6493,7 +6529,7 @@ export interface HospitalSpecialtyModel {
6493
6529
  * @type {string}
6494
6530
  * @memberof HospitalSpecialtyModel
6495
6531
  */
6496
- 'content'?: string | null;
6532
+ 'hospitalId'?: string;
6497
6533
  /**
6498
6534
  *
6499
6535
  * @type {string}
@@ -6573,36 +6609,12 @@ export interface HospitalSpecialtySimpleItemModel {
6573
6609
  * @memberof HospitalSpecialtySimpleItemModel
6574
6610
  */
6575
6611
  'slug'?: string | null;
6576
- /**
6577
- *
6578
- * @type {string}
6579
- * @memberof HospitalSpecialtySimpleItemModel
6580
- */
6581
- 'description'?: string | null;
6582
- /**
6583
- *
6584
- * @type {boolean}
6585
- * @memberof HospitalSpecialtySimpleItemModel
6586
- */
6587
- 'confirmed'?: boolean;
6588
6612
  /**
6589
6613
  *
6590
6614
  * @type {number}
6591
6615
  * @memberof HospitalSpecialtySimpleItemModel
6592
6616
  */
6593
6617
  'order'?: number;
6594
- /**
6595
- *
6596
- * @type {number}
6597
- * @memberof HospitalSpecialtySimpleItemModel
6598
- */
6599
- 'servicesCount'?: number;
6600
- /**
6601
- *
6602
- * @type {string}
6603
- * @memberof HospitalSpecialtySimpleItemModel
6604
- */
6605
- 'specialtyId'?: string;
6606
6618
  }
6607
6619
  /**
6608
6620
  *
@@ -8500,37 +8512,37 @@ export interface SpecialtyItemModel {
8500
8512
  * @type {string}
8501
8513
  * @memberof SpecialtyItemModel
8502
8514
  */
8503
- 'name'?: string | null;
8515
+ 'languageCode'?: string | null;
8504
8516
  /**
8505
8517
  *
8506
8518
  * @type {string}
8507
8519
  * @memberof SpecialtyItemModel
8508
8520
  */
8509
- 'slug'?: string | null;
8521
+ 'name'?: string | null;
8510
8522
  /**
8511
8523
  *
8512
8524
  * @type {string}
8513
8525
  * @memberof SpecialtyItemModel
8514
8526
  */
8515
- 'description'?: string | null;
8527
+ 'slug'?: string | null;
8516
8528
  /**
8517
8529
  *
8518
- * @type {number}
8530
+ * @type {boolean}
8519
8531
  * @memberof SpecialtyItemModel
8520
8532
  */
8521
- 'hospitalSpecialtyCount'?: number;
8533
+ 'confirmed'?: boolean;
8522
8534
  /**
8523
8535
  *
8524
- * @type {number}
8536
+ * @type {string}
8525
8537
  * @memberof SpecialtyItemModel
8526
8538
  */
8527
- 'serviceCount'?: number;
8539
+ 'specialtyTypeId'?: string;
8528
8540
  /**
8529
8541
  *
8530
8542
  * @type {string}
8531
8543
  * @memberof SpecialtyItemModel
8532
8544
  */
8533
- 'specialtyTypeId'?: string;
8545
+ 'description'?: string | null;
8534
8546
  /**
8535
8547
  *
8536
8548
  * @type {string}
@@ -8539,28 +8551,16 @@ export interface SpecialtyItemModel {
8539
8551
  'specialtyTypeName'?: string | null;
8540
8552
  /**
8541
8553
  *
8542
- * @type {boolean}
8554
+ * @type {Array<MediaModel>}
8543
8555
  * @memberof SpecialtyItemModel
8544
8556
  */
8545
- 'confirmed'?: boolean;
8557
+ 'medias'?: Array<MediaModel> | null;
8546
8558
  /**
8547
8559
  *
8548
8560
  * @type {AuditableEntity}
8549
8561
  * @memberof SpecialtyItemModel
8550
8562
  */
8551
8563
  'auditableEntity'?: AuditableEntity;
8552
- /**
8553
- *
8554
- * @type {boolean}
8555
- * @memberof SpecialtyItemModel
8556
- */
8557
- 'returnDefaultValue'?: boolean | null;
8558
- /**
8559
- *
8560
- * @type {Array<MediaModel>}
8561
- * @memberof SpecialtyItemModel
8562
- */
8563
- 'medias'?: Array<MediaModel> | null;
8564
8564
  }
8565
8565
  /**
8566
8566
  *
@@ -8579,25 +8579,31 @@ export interface SpecialtyItemSimpleModel {
8579
8579
  * @type {string}
8580
8580
  * @memberof SpecialtyItemSimpleModel
8581
8581
  */
8582
- 'name'?: string | null;
8582
+ 'languageCode'?: string | null;
8583
8583
  /**
8584
8584
  *
8585
8585
  * @type {string}
8586
8586
  * @memberof SpecialtyItemSimpleModel
8587
8587
  */
8588
- 'slug'?: string | null;
8588
+ 'name'?: string | null;
8589
8589
  /**
8590
8590
  *
8591
8591
  * @type {string}
8592
8592
  * @memberof SpecialtyItemSimpleModel
8593
8593
  */
8594
- 'specialtyTypeId'?: string;
8594
+ 'slug'?: string | null;
8595
8595
  /**
8596
8596
  *
8597
8597
  * @type {boolean}
8598
8598
  * @memberof SpecialtyItemSimpleModel
8599
8599
  */
8600
8600
  'confirmed'?: boolean;
8601
+ /**
8602
+ *
8603
+ * @type {string}
8604
+ * @memberof SpecialtyItemSimpleModel
8605
+ */
8606
+ 'specialtyTypeId'?: string;
8601
8607
  }
8602
8608
  /**
8603
8609
  *
@@ -8616,31 +8622,25 @@ export interface SpecialtyModel {
8616
8622
  * @type {string}
8617
8623
  * @memberof SpecialtyModel
8618
8624
  */
8619
- 'name'?: string | null;
8625
+ 'languageCode'?: string | null;
8620
8626
  /**
8621
8627
  *
8622
8628
  * @type {string}
8623
8629
  * @memberof SpecialtyModel
8624
8630
  */
8625
- 'slug'?: string | null;
8631
+ 'name'?: string | null;
8626
8632
  /**
8627
8633
  *
8628
8634
  * @type {string}
8629
8635
  * @memberof SpecialtyModel
8630
8636
  */
8631
- 'description'?: string | null;
8632
- /**
8633
- *
8634
- * @type {number}
8635
- * @memberof SpecialtyModel
8636
- */
8637
- 'hospitalSpecialtyCount'?: number;
8637
+ 'slug'?: string | null;
8638
8638
  /**
8639
8639
  *
8640
- * @type {number}
8640
+ * @type {boolean}
8641
8641
  * @memberof SpecialtyModel
8642
8642
  */
8643
- 'serviceCount'?: number;
8643
+ 'confirmed'?: boolean;
8644
8644
  /**
8645
8645
  *
8646
8646
  * @type {string}
@@ -8652,25 +8652,13 @@ export interface SpecialtyModel {
8652
8652
  * @type {string}
8653
8653
  * @memberof SpecialtyModel
8654
8654
  */
8655
- 'specialtyTypeName'?: string | null;
8656
- /**
8657
- *
8658
- * @type {boolean}
8659
- * @memberof SpecialtyModel
8660
- */
8661
- 'confirmed'?: boolean;
8662
- /**
8663
- *
8664
- * @type {AuditableEntity}
8665
- * @memberof SpecialtyModel
8666
- */
8667
- 'auditableEntity'?: AuditableEntity;
8655
+ 'description'?: string | null;
8668
8656
  /**
8669
8657
  *
8670
- * @type {boolean}
8658
+ * @type {string}
8671
8659
  * @memberof SpecialtyModel
8672
8660
  */
8673
- 'returnDefaultValue'?: boolean | null;
8661
+ 'specialtyTypeName'?: string | null;
8674
8662
  /**
8675
8663
  *
8676
8664
  * @type {Array<MediaModel>}
@@ -8679,10 +8667,10 @@ export interface SpecialtyModel {
8679
8667
  'medias'?: Array<MediaModel> | null;
8680
8668
  /**
8681
8669
  *
8682
- * @type {string}
8670
+ * @type {AuditableEntity}
8683
8671
  * @memberof SpecialtyModel
8684
8672
  */
8685
- 'languageCode'?: string | null;
8673
+ 'auditableEntity'?: AuditableEntity;
8686
8674
  /**
8687
8675
  *
8688
8676
  * @type {string}
@@ -8713,55 +8701,43 @@ export interface SpecialtyTypeItemModel {
8713
8701
  * @type {string}
8714
8702
  * @memberof SpecialtyTypeItemModel
8715
8703
  */
8716
- 'name'?: string | null;
8704
+ 'languageCode'?: string | null;
8717
8705
  /**
8718
8706
  *
8719
8707
  * @type {string}
8720
8708
  * @memberof SpecialtyTypeItemModel
8721
8709
  */
8722
- 'slug'?: string | null;
8710
+ 'name'?: string | null;
8723
8711
  /**
8724
8712
  *
8725
8713
  * @type {string}
8726
8714
  * @memberof SpecialtyTypeItemModel
8727
8715
  */
8728
- 'description'?: string | null;
8716
+ 'slug'?: string | null;
8729
8717
  /**
8730
8718
  *
8731
- * @type {MarketingType}
8719
+ * @type {boolean}
8732
8720
  * @memberof SpecialtyTypeItemModel
8733
8721
  */
8734
- 'marketingType'?: MarketingType;
8722
+ 'confirmed'?: boolean;
8735
8723
  /**
8736
8724
  *
8737
- * @type {number}
8725
+ * @type {string}
8738
8726
  * @memberof SpecialtyTypeItemModel
8739
8727
  */
8740
- 'specialtyCount'?: number;
8728
+ 'description'?: string | null;
8741
8729
  /**
8742
8730
  *
8743
- * @type {number}
8731
+ * @type {MarketingType}
8744
8732
  * @memberof SpecialtyTypeItemModel
8745
8733
  */
8746
- 'hospitalSpecialtyCount'?: number;
8734
+ 'marketingType'?: MarketingType;
8747
8735
  /**
8748
8736
  *
8749
8737
  * @type {number}
8750
8738
  * @memberof SpecialtyTypeItemModel
8751
8739
  */
8752
- 'serviceCount'?: number;
8753
- /**
8754
- *
8755
- * @type {Date}
8756
- * @memberof SpecialtyTypeItemModel
8757
- */
8758
- 'created'?: Date;
8759
- /**
8760
- *
8761
- * @type {boolean}
8762
- * @memberof SpecialtyTypeItemModel
8763
- */
8764
- 'confirmed'?: boolean;
8740
+ 'specialtiesCount'?: number;
8765
8741
  /**
8766
8742
  *
8767
8743
  * @type {Array<MediaModel>}
@@ -8792,55 +8768,43 @@ export interface SpecialtyTypeModel {
8792
8768
  * @type {string}
8793
8769
  * @memberof SpecialtyTypeModel
8794
8770
  */
8795
- 'name'?: string | null;
8771
+ 'languageCode'?: string | null;
8796
8772
  /**
8797
8773
  *
8798
8774
  * @type {string}
8799
8775
  * @memberof SpecialtyTypeModel
8800
8776
  */
8801
- 'slug'?: string | null;
8777
+ 'name'?: string | null;
8802
8778
  /**
8803
8779
  *
8804
8780
  * @type {string}
8805
8781
  * @memberof SpecialtyTypeModel
8806
8782
  */
8807
- 'description'?: string | null;
8783
+ 'slug'?: string | null;
8808
8784
  /**
8809
8785
  *
8810
- * @type {MarketingType}
8786
+ * @type {boolean}
8811
8787
  * @memberof SpecialtyTypeModel
8812
8788
  */
8813
- 'marketingType'?: MarketingType;
8789
+ 'confirmed'?: boolean;
8814
8790
  /**
8815
8791
  *
8816
- * @type {number}
8792
+ * @type {string}
8817
8793
  * @memberof SpecialtyTypeModel
8818
8794
  */
8819
- 'specialtyCount'?: number;
8795
+ 'description'?: string | null;
8820
8796
  /**
8821
8797
  *
8822
- * @type {number}
8798
+ * @type {MarketingType}
8823
8799
  * @memberof SpecialtyTypeModel
8824
8800
  */
8825
- 'hospitalSpecialtyCount'?: number;
8801
+ 'marketingType'?: MarketingType;
8826
8802
  /**
8827
8803
  *
8828
8804
  * @type {number}
8829
8805
  * @memberof SpecialtyTypeModel
8830
8806
  */
8831
- 'serviceCount'?: number;
8832
- /**
8833
- *
8834
- * @type {Date}
8835
- * @memberof SpecialtyTypeModel
8836
- */
8837
- 'created'?: Date;
8838
- /**
8839
- *
8840
- * @type {boolean}
8841
- * @memberof SpecialtyTypeModel
8842
- */
8843
- 'confirmed'?: boolean;
8807
+ 'specialtiesCount'?: number;
8844
8808
  /**
8845
8809
  *
8846
8810
  * @type {Array<MediaModel>}
@@ -8853,12 +8817,6 @@ export interface SpecialtyTypeModel {
8853
8817
  * @memberof SpecialtyTypeModel
8854
8818
  */
8855
8819
  'auditableEntity'?: AuditableEntity;
8856
- /**
8857
- *
8858
- * @type {string}
8859
- * @memberof SpecialtyTypeModel
8860
- */
8861
- 'languageCode'?: string | null;
8862
8820
  /**
8863
8821
  *
8864
8822
  * @type {string}
@@ -8884,6 +8842,12 @@ export interface SpecialtyTypeSimpleItemModel {
8884
8842
  * @memberof SpecialtyTypeSimpleItemModel
8885
8843
  */
8886
8844
  'id'?: string;
8845
+ /**
8846
+ *
8847
+ * @type {string}
8848
+ * @memberof SpecialtyTypeSimpleItemModel
8849
+ */
8850
+ 'languageCode'?: string | null;
8887
8851
  /**
8888
8852
  *
8889
8853
  * @type {string}
@@ -15368,13 +15332,14 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
15368
15332
  * @summary Get all doctor affiliations.
15369
15333
  * @param {string} doctorId
15370
15334
  * @param {string} [hospitalName]
15335
+ * @param {string} [languageCode]
15371
15336
  * @param {number} [page]
15372
15337
  * @param {number} [limit]
15373
15338
  * @param {Date} [lastRetrieved]
15374
15339
  * @param {*} [options] Override http request option.
15375
15340
  * @throws {RequiredError}
15376
15341
  */
15377
- apiV2DoctorsDoctorIdAffiliationsGet: async (doctorId: string, hospitalName?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15342
+ apiV2DoctorsDoctorIdAffiliationsGet: async (doctorId: string, hospitalName?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15378
15343
  // verify required parameter 'doctorId' is not null or undefined
15379
15344
  assertParamExists('apiV2DoctorsDoctorIdAffiliationsGet', 'doctorId', doctorId)
15380
15345
  const localVarPath = `/api/v2/doctors/{doctorId}/affiliations`
@@ -15394,6 +15359,10 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
15394
15359
  localVarQueryParameter['HospitalName'] = hospitalName;
15395
15360
  }
15396
15361
 
15362
+ if (languageCode !== undefined) {
15363
+ localVarQueryParameter['LanguageCode'] = languageCode;
15364
+ }
15365
+
15397
15366
  if (page !== undefined) {
15398
15367
  localVarQueryParameter['page'] = page;
15399
15368
  }
@@ -16450,14 +16419,15 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
16450
16419
  * @summary Get all doctor affiliations.
16451
16420
  * @param {string} doctorId
16452
16421
  * @param {string} [hospitalName]
16422
+ * @param {string} [languageCode]
16453
16423
  * @param {number} [page]
16454
16424
  * @param {number} [limit]
16455
16425
  * @param {Date} [lastRetrieved]
16456
16426
  * @param {*} [options] Override http request option.
16457
16427
  * @throws {RequiredError}
16458
16428
  */
16459
- async apiV2DoctorsDoctorIdAffiliationsGet(doctorId: string, hospitalName?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationsModel>> {
16460
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, page, limit, lastRetrieved, options);
16429
+ async apiV2DoctorsDoctorIdAffiliationsGet(doctorId: string, hospitalName?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationsModel>> {
16430
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options);
16461
16431
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16462
16432
  },
16463
16433
  /**
@@ -16743,14 +16713,15 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
16743
16713
  * @summary Get all doctor affiliations.
16744
16714
  * @param {string} doctorId
16745
16715
  * @param {string} [hospitalName]
16716
+ * @param {string} [languageCode]
16746
16717
  * @param {number} [page]
16747
16718
  * @param {number} [limit]
16748
16719
  * @param {Date} [lastRetrieved]
16749
16720
  * @param {*} [options] Override http request option.
16750
16721
  * @throws {RequiredError}
16751
16722
  */
16752
- apiV2DoctorsDoctorIdAffiliationsGet(doctorId: string, hospitalName?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorAffiliationsModel> {
16753
- return localVarFp.apiV2DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
16723
+ apiV2DoctorsDoctorIdAffiliationsGet(doctorId: string, hospitalName?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorAffiliationsModel> {
16724
+ return localVarFp.apiV2DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
16754
16725
  },
16755
16726
  /**
16756
16727
  *
@@ -17018,6 +16989,7 @@ export class DoctorsApi extends BaseAPI {
17018
16989
  * @summary Get all doctor affiliations.
17019
16990
  * @param {string} doctorId
17020
16991
  * @param {string} [hospitalName]
16992
+ * @param {string} [languageCode]
17021
16993
  * @param {number} [page]
17022
16994
  * @param {number} [limit]
17023
16995
  * @param {Date} [lastRetrieved]
@@ -17025,8 +16997,8 @@ export class DoctorsApi extends BaseAPI {
17025
16997
  * @throws {RequiredError}
17026
16998
  * @memberof DoctorsApi
17027
16999
  */
17028
- public apiV2DoctorsDoctorIdAffiliationsGet(doctorId: string, hospitalName?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
17029
- return DoctorsApiFp(this.configuration).apiV2DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
17000
+ public apiV2DoctorsDoctorIdAffiliationsGet(doctorId: string, hospitalName?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
17001
+ return DoctorsApiFp(this.configuration).apiV2DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
17030
17002
  }
17031
17003
 
17032
17004
  /**
@@ -19952,12 +19924,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
19952
19924
  * @param {string} hospitalId
19953
19925
  * @param {string} specialtyId
19954
19926
  * @param {string} [languageCode]
19955
- * @param {boolean} [returnDefaultValue]
19956
- * @param {boolean} [includeServices]
19957
19927
  * @param {*} [options] Override http request option.
19958
19928
  * @throws {RequiredError}
19959
19929
  */
19960
- apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: async (hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, includeServices?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
19930
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: async (hospitalId: string, specialtyId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
19961
19931
  // verify required parameter 'hospitalId' is not null or undefined
19962
19932
  assertParamExists('apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet', 'hospitalId', hospitalId)
19963
19933
  // verify required parameter 'specialtyId' is not null or undefined
@@ -19980,14 +19950,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
19980
19950
  localVarQueryParameter['languageCode'] = languageCode;
19981
19951
  }
19982
19952
 
19983
- if (returnDefaultValue !== undefined) {
19984
- localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
19985
- }
19986
-
19987
- if (includeServices !== undefined) {
19988
- localVarQueryParameter['includeServices'] = includeServices;
19989
- }
19990
-
19991
19953
 
19992
19954
 
19993
19955
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -20871,13 +20833,11 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
20871
20833
  * @param {string} hospitalId
20872
20834
  * @param {string} specialtyId
20873
20835
  * @param {string} [languageCode]
20874
- * @param {boolean} [returnDefaultValue]
20875
- * @param {boolean} [includeServices]
20876
20836
  * @param {*} [options] Override http request option.
20877
20837
  * @throws {RequiredError}
20878
20838
  */
20879
- async apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, includeServices?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
20880
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options);
20839
+ async apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
20840
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, options);
20881
20841
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
20882
20842
  },
20883
20843
  /**
@@ -21329,13 +21289,11 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
21329
21289
  * @param {string} hospitalId
21330
21290
  * @param {string} specialtyId
21331
21291
  * @param {string} [languageCode]
21332
- * @param {boolean} [returnDefaultValue]
21333
- * @param {boolean} [includeServices]
21334
21292
  * @param {*} [options] Override http request option.
21335
21293
  * @throws {RequiredError}
21336
21294
  */
21337
- apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, includeServices?: boolean, options?: any): AxiosPromise<HospitalSpecialtyModel> {
21338
- return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options).then((request) => request(axios, basePath));
21295
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, options?: any): AxiosPromise<HospitalSpecialtyModel> {
21296
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, options).then((request) => request(axios, basePath));
21339
21297
  },
21340
21298
  /**
21341
21299
  *
@@ -21816,14 +21774,12 @@ export class HospitalsApi extends BaseAPI {
21816
21774
  * @param {string} hospitalId
21817
21775
  * @param {string} specialtyId
21818
21776
  * @param {string} [languageCode]
21819
- * @param {boolean} [returnDefaultValue]
21820
- * @param {boolean} [includeServices]
21821
21777
  * @param {*} [options] Override http request option.
21822
21778
  * @throws {RequiredError}
21823
21779
  * @memberof HospitalsApi
21824
21780
  */
21825
- public apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, includeServices?: boolean, options?: AxiosRequestConfig) {
21826
- return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options).then((request) => request(this.axios, this.basePath));
21781
+ public apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, options?: AxiosRequestConfig) {
21782
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, options).then((request) => request(this.axios, this.basePath));
21827
21783
  }
21828
21784
 
21829
21785
  /**