ch-admin-api-client-typescript 2.4.8 → 2.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/api.ts CHANGED
@@ -3547,6 +3547,68 @@ export interface CreateDoctorSpecialtyCommand {
3547
3547
  */
3548
3548
  'order'?: number;
3549
3549
  }
3550
+ /**
3551
+ *
3552
+ * @export
3553
+ * @interface CreateFaqCategoryCommand
3554
+ */
3555
+ export interface CreateFaqCategoryCommand {
3556
+ /**
3557
+ *
3558
+ * @type {string}
3559
+ * @memberof CreateFaqCategoryCommand
3560
+ */
3561
+ 'parentId'?: string | null;
3562
+ /**
3563
+ *
3564
+ * @type {string}
3565
+ * @memberof CreateFaqCategoryCommand
3566
+ */
3567
+ 'name'?: string | null;
3568
+ /**
3569
+ *
3570
+ * @type {string}
3571
+ * @memberof CreateFaqCategoryCommand
3572
+ */
3573
+ 'description'?: string | null;
3574
+ /**
3575
+ *
3576
+ * @type {number}
3577
+ * @memberof CreateFaqCategoryCommand
3578
+ */
3579
+ 'order'?: number;
3580
+ }
3581
+ /**
3582
+ *
3583
+ * @export
3584
+ * @interface CreateFaqCommand
3585
+ */
3586
+ export interface CreateFaqCommand {
3587
+ /**
3588
+ *
3589
+ * @type {string}
3590
+ * @memberof CreateFaqCommand
3591
+ */
3592
+ 'title'?: string | null;
3593
+ /**
3594
+ *
3595
+ * @type {string}
3596
+ * @memberof CreateFaqCommand
3597
+ */
3598
+ 'content'?: string | null;
3599
+ /**
3600
+ *
3601
+ * @type {number}
3602
+ * @memberof CreateFaqCommand
3603
+ */
3604
+ 'order'?: number;
3605
+ /**
3606
+ *
3607
+ * @type {string}
3608
+ * @memberof CreateFaqCommand
3609
+ */
3610
+ 'faqCategoryId'?: string | null;
3611
+ }
3550
3612
  /**
3551
3613
  *
3552
3614
  * @export
@@ -4733,13 +4795,13 @@ export interface DoctorCertificateItemModel {
4733
4795
  * @type {string}
4734
4796
  * @memberof DoctorCertificateItemModel
4735
4797
  */
4736
- 'doctorId'?: string;
4798
+ 'id'?: string;
4737
4799
  /**
4738
4800
  *
4739
4801
  * @type {string}
4740
4802
  * @memberof DoctorCertificateItemModel
4741
4803
  */
4742
- 'id'?: string;
4804
+ 'doctorId'?: string;
4743
4805
  /**
4744
4806
  *
4745
4807
  * @type {string}
@@ -4776,13 +4838,13 @@ export interface DoctorCertificateModel {
4776
4838
  * @type {string}
4777
4839
  * @memberof DoctorCertificateModel
4778
4840
  */
4779
- 'doctorId'?: string;
4841
+ 'id'?: string;
4780
4842
  /**
4781
4843
  *
4782
4844
  * @type {string}
4783
4845
  * @memberof DoctorCertificateModel
4784
4846
  */
4785
- 'id'?: string;
4847
+ 'doctorId'?: string;
4786
4848
  /**
4787
4849
  *
4788
4850
  * @type {string}
@@ -5269,6 +5331,12 @@ export interface DoctorModel {
5269
5331
  * @memberof DoctorModel
5270
5332
  */
5271
5333
  'confirmed'?: boolean;
5334
+ /**
5335
+ *
5336
+ * @type {string}
5337
+ * @memberof DoctorModel
5338
+ */
5339
+ 'languageCode'?: string | null;
5272
5340
  }
5273
5341
  /**
5274
5342
  *
@@ -5483,505 +5551,836 @@ export interface DoctorsModel {
5483
5551
  /**
5484
5552
  *
5485
5553
  * @export
5486
- * @enum {string}
5554
+ * @interface FaqCategoriesModel
5487
5555
  */
5488
-
5489
- export enum Gender {
5490
- NotSpecified = 'NotSpecified',
5491
- Male = 'Male',
5492
- Female = 'Female',
5493
- NonBinary = 'NonBinary',
5494
- PreferNotToSay = 'PreferNotToSay'
5556
+ export interface FaqCategoriesModel {
5557
+ /**
5558
+ *
5559
+ * @type {Array<FaqCategoryItemModel>}
5560
+ * @memberof FaqCategoriesModel
5561
+ */
5562
+ 'items'?: Array<FaqCategoryItemModel> | null;
5563
+ /**
5564
+ *
5565
+ * @type {PagedListMetaData}
5566
+ * @memberof FaqCategoriesModel
5567
+ */
5568
+ 'metaData'?: PagedListMetaData;
5495
5569
  }
5496
-
5497
5570
  /**
5498
5571
  *
5499
5572
  * @export
5500
- * @interface HospitalAccreditationItemModel
5573
+ * @interface FaqCategoryBreadCrumbModel
5501
5574
  */
5502
- export interface HospitalAccreditationItemModel {
5575
+ export interface FaqCategoryBreadCrumbModel {
5503
5576
  /**
5504
5577
  *
5505
5578
  * @type {string}
5506
- * @memberof HospitalAccreditationItemModel
5579
+ * @memberof FaqCategoryBreadCrumbModel
5507
5580
  */
5508
- 'hospitalId'?: string;
5581
+ 'id'?: string;
5509
5582
  /**
5510
5583
  *
5511
5584
  * @type {string}
5512
- * @memberof HospitalAccreditationItemModel
5585
+ * @memberof FaqCategoryBreadCrumbModel
5513
5586
  */
5514
- 'accreditationId'?: string;
5587
+ 'name'?: string | null;
5515
5588
  /**
5516
5589
  *
5517
5590
  * @type {string}
5518
- * @memberof HospitalAccreditationItemModel
5591
+ * @memberof FaqCategoryBreadCrumbModel
5519
5592
  */
5520
- 'accreditationName'?: string | null;
5593
+ 'slug'?: string | null;
5521
5594
  /**
5522
5595
  *
5523
5596
  * @type {string}
5524
- * @memberof HospitalAccreditationItemModel
5597
+ * @memberof FaqCategoryBreadCrumbModel
5525
5598
  */
5526
- 'accreditationLogo'?: string | null;
5599
+ 'parentId'?: string | null;
5600
+ /**
5601
+ *
5602
+ * @type {boolean}
5603
+ * @memberof FaqCategoryBreadCrumbModel
5604
+ */
5605
+ 'confirmed'?: boolean;
5527
5606
  }
5528
5607
  /**
5529
5608
  *
5530
5609
  * @export
5531
- * @interface HospitalAccreditationModel
5610
+ * @interface FaqCategoryItemModel
5532
5611
  */
5533
- export interface HospitalAccreditationModel {
5612
+ export interface FaqCategoryItemModel {
5534
5613
  /**
5535
5614
  *
5536
5615
  * @type {string}
5537
- * @memberof HospitalAccreditationModel
5616
+ * @memberof FaqCategoryItemModel
5538
5617
  */
5539
- 'hospitalId'?: string;
5618
+ 'id'?: string;
5540
5619
  /**
5541
5620
  *
5542
5621
  * @type {string}
5543
- * @memberof HospitalAccreditationModel
5622
+ * @memberof FaqCategoryItemModel
5544
5623
  */
5545
- 'accreditationId'?: string;
5624
+ 'parentId'?: string | null;
5546
5625
  /**
5547
5626
  *
5548
5627
  * @type {string}
5549
- * @memberof HospitalAccreditationModel
5628
+ * @memberof FaqCategoryItemModel
5550
5629
  */
5551
- 'accreditationName'?: string | null;
5630
+ 'name'?: string | null;
5552
5631
  /**
5553
5632
  *
5554
5633
  * @type {string}
5555
- * @memberof HospitalAccreditationModel
5634
+ * @memberof FaqCategoryItemModel
5556
5635
  */
5557
- 'accreditationLogo'?: string | null;
5558
- }
5559
- /**
5560
- *
5561
- * @export
5562
- * @interface HospitalAccreditationsModel
5563
- */
5564
- export interface HospitalAccreditationsModel {
5636
+ 'slug'?: string | null;
5565
5637
  /**
5566
5638
  *
5567
- * @type {Array<HospitalAccreditationItemModel>}
5568
- * @memberof HospitalAccreditationsModel
5639
+ * @type {string}
5640
+ * @memberof FaqCategoryItemModel
5569
5641
  */
5570
- 'items'?: Array<HospitalAccreditationItemModel> | null;
5642
+ 'description'?: string | null;
5571
5643
  /**
5572
5644
  *
5573
- * @type {PagedListMetaData}
5574
- * @memberof HospitalAccreditationsModel
5645
+ * @type {number}
5646
+ * @memberof FaqCategoryItemModel
5575
5647
  */
5576
- 'metaData'?: PagedListMetaData;
5648
+ 'order'?: number;
5649
+ /**
5650
+ *
5651
+ * @type {Array<FaqItemModel>}
5652
+ * @memberof FaqCategoryItemModel
5653
+ */
5654
+ 'faqs'?: Array<FaqItemModel> | null;
5655
+ /**
5656
+ *
5657
+ * @type {Array<LocalizedUrlModel>}
5658
+ * @memberof FaqCategoryItemModel
5659
+ */
5660
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
5661
+ /**
5662
+ *
5663
+ * @type {boolean}
5664
+ * @memberof FaqCategoryItemModel
5665
+ */
5666
+ 'confirmed'?: boolean;
5577
5667
  }
5578
5668
  /**
5579
5669
  *
5580
5670
  * @export
5581
- * @interface HospitalEquipmentItemModel
5671
+ * @interface FaqCategoryModel
5582
5672
  */
5583
- export interface HospitalEquipmentItemModel {
5673
+ export interface FaqCategoryModel {
5584
5674
  /**
5585
5675
  *
5586
5676
  * @type {string}
5587
- * @memberof HospitalEquipmentItemModel
5677
+ * @memberof FaqCategoryModel
5588
5678
  */
5589
5679
  'id'?: string;
5590
5680
  /**
5591
5681
  *
5592
5682
  * @type {string}
5593
- * @memberof HospitalEquipmentItemModel
5683
+ * @memberof FaqCategoryModel
5594
5684
  */
5595
- 'name'?: string | null;
5685
+ 'parentId'?: string | null;
5596
5686
  /**
5597
5687
  *
5598
5688
  * @type {string}
5599
- * @memberof HospitalEquipmentItemModel
5689
+ * @memberof FaqCategoryModel
5600
5690
  */
5601
- 'description'?: string | null;
5691
+ 'name'?: string | null;
5602
5692
  /**
5603
5693
  *
5604
5694
  * @type {string}
5605
- * @memberof HospitalEquipmentItemModel
5695
+ * @memberof FaqCategoryModel
5606
5696
  */
5607
- 'hospitalId'?: string;
5697
+ 'slug'?: string | null;
5608
5698
  /**
5609
5699
  *
5610
5700
  * @type {string}
5611
- * @memberof HospitalEquipmentItemModel
5701
+ * @memberof FaqCategoryModel
5612
5702
  */
5613
- 'hospitalName'?: string | null;
5703
+ 'description'?: string | null;
5614
5704
  /**
5615
5705
  *
5616
- * @type {Array<MediaModel>}
5617
- * @memberof HospitalEquipmentItemModel
5706
+ * @type {number}
5707
+ * @memberof FaqCategoryModel
5618
5708
  */
5619
- 'medias'?: Array<MediaModel> | null;
5709
+ 'order'?: number;
5620
5710
  /**
5621
5711
  *
5622
- * @type {AuditableEntity}
5623
- * @memberof HospitalEquipmentItemModel
5712
+ * @type {Array<FaqItemModel>}
5713
+ * @memberof FaqCategoryModel
5624
5714
  */
5625
- 'auditableEntity'?: AuditableEntity;
5715
+ 'faqs'?: Array<FaqItemModel> | null;
5716
+ /**
5717
+ *
5718
+ * @type {Array<LocalizedUrlModel>}
5719
+ * @memberof FaqCategoryModel
5720
+ */
5721
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
5722
+ /**
5723
+ *
5724
+ * @type {boolean}
5725
+ * @memberof FaqCategoryModel
5726
+ */
5727
+ 'confirmed'?: boolean;
5728
+ /**
5729
+ *
5730
+ * @type {string}
5731
+ * @memberof FaqCategoryModel
5732
+ */
5733
+ 'languageCode'?: string | null;
5626
5734
  }
5627
5735
  /**
5628
5736
  *
5629
5737
  * @export
5630
- * @interface HospitalEquipmentModel
5738
+ * @interface FaqItemModel
5631
5739
  */
5632
- export interface HospitalEquipmentModel {
5740
+ export interface FaqItemModel {
5633
5741
  /**
5634
5742
  *
5635
5743
  * @type {string}
5636
- * @memberof HospitalEquipmentModel
5744
+ * @memberof FaqItemModel
5637
5745
  */
5638
5746
  'id'?: string;
5639
5747
  /**
5640
5748
  *
5641
5749
  * @type {string}
5642
- * @memberof HospitalEquipmentModel
5750
+ * @memberof FaqItemModel
5643
5751
  */
5644
- 'name'?: string | null;
5752
+ 'title'?: string | null;
5645
5753
  /**
5646
5754
  *
5647
5755
  * @type {string}
5648
- * @memberof HospitalEquipmentModel
5756
+ * @memberof FaqItemModel
5649
5757
  */
5650
- 'description'?: string | null;
5758
+ 'slug'?: string | null;
5651
5759
  /**
5652
5760
  *
5653
5761
  * @type {string}
5654
- * @memberof HospitalEquipmentModel
5762
+ * @memberof FaqItemModel
5655
5763
  */
5656
- 'hospitalId'?: string;
5764
+ 'content'?: string | null;
5657
5765
  /**
5658
5766
  *
5659
- * @type {string}
5660
- * @memberof HospitalEquipmentModel
5767
+ * @type {number}
5768
+ * @memberof FaqItemModel
5661
5769
  */
5662
- 'hospitalName'?: string | null;
5770
+ 'order'?: number;
5663
5771
  /**
5664
5772
  *
5665
5773
  * @type {Array<MediaModel>}
5666
- * @memberof HospitalEquipmentModel
5774
+ * @memberof FaqItemModel
5667
5775
  */
5668
5776
  'medias'?: Array<MediaModel> | null;
5669
5777
  /**
5670
5778
  *
5671
5779
  * @type {AuditableEntity}
5672
- * @memberof HospitalEquipmentModel
5780
+ * @memberof FaqItemModel
5673
5781
  */
5674
5782
  'auditableEntity'?: AuditableEntity;
5675
- }
5676
- /**
5677
- *
5678
- * @export
5679
- * @interface HospitalEquipmentsModel
5680
- */
5681
- export interface HospitalEquipmentsModel {
5682
5783
  /**
5683
5784
  *
5684
- * @type {Array<HospitalEquipmentItemModel>}
5685
- * @memberof HospitalEquipmentsModel
5785
+ * @type {Array<LocalizedUrlModel>}
5786
+ * @memberof FaqItemModel
5686
5787
  */
5687
- 'items'?: Array<HospitalEquipmentItemModel> | null;
5788
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
5688
5789
  /**
5689
5790
  *
5690
- * @type {PagedListMetaData}
5691
- * @memberof HospitalEquipmentsModel
5791
+ * @type {boolean}
5792
+ * @memberof FaqItemModel
5692
5793
  */
5693
- 'metaData'?: PagedListMetaData;
5794
+ 'confirmed'?: boolean;
5694
5795
  }
5695
5796
  /**
5696
5797
  *
5697
5798
  * @export
5698
- * @interface HospitalEvaluationItemModel
5799
+ * @interface FaqModel
5699
5800
  */
5700
- export interface HospitalEvaluationItemModel {
5801
+ export interface FaqModel {
5701
5802
  /**
5702
5803
  *
5703
5804
  * @type {string}
5704
- * @memberof HospitalEvaluationItemModel
5805
+ * @memberof FaqModel
5705
5806
  */
5706
5807
  'id'?: string;
5707
5808
  /**
5708
5809
  *
5709
5810
  * @type {string}
5710
- * @memberof HospitalEvaluationItemModel
5811
+ * @memberof FaqModel
5711
5812
  */
5712
- 'hospitalId'?: string;
5813
+ 'title'?: string | null;
5713
5814
  /**
5714
5815
  *
5715
5816
  * @type {string}
5716
- * @memberof HospitalEvaluationItemModel
5817
+ * @memberof FaqModel
5717
5818
  */
5718
- 'hospitalName'?: string | null;
5819
+ 'slug'?: string | null;
5719
5820
  /**
5720
5821
  *
5721
5822
  * @type {string}
5722
- * @memberof HospitalEvaluationItemModel
5823
+ * @memberof FaqModel
5723
5824
  */
5724
- 'name'?: string | null;
5825
+ 'content'?: string | null;
5725
5826
  /**
5726
5827
  *
5727
5828
  * @type {number}
5728
- * @memberof HospitalEvaluationItemModel
5829
+ * @memberof FaqModel
5729
5830
  */
5730
- 'stars'?: number;
5831
+ 'order'?: number;
5731
5832
  /**
5732
5833
  *
5733
- * @type {string}
5734
- * @memberof HospitalEvaluationItemModel
5834
+ * @type {Array<MediaModel>}
5835
+ * @memberof FaqModel
5735
5836
  */
5736
- 'description'?: string | null;
5837
+ 'medias'?: Array<MediaModel> | null;
5737
5838
  /**
5738
5839
  *
5739
- * @type {string}
5740
- * @memberof HospitalEvaluationItemModel
5840
+ * @type {AuditableEntity}
5841
+ * @memberof FaqModel
5741
5842
  */
5742
- 'referenceUrl'?: string | null;
5843
+ 'auditableEntity'?: AuditableEntity;
5844
+ /**
5845
+ *
5846
+ * @type {Array<LocalizedUrlModel>}
5847
+ * @memberof FaqModel
5848
+ */
5849
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
5850
+ /**
5851
+ *
5852
+ * @type {boolean}
5853
+ * @memberof FaqModel
5854
+ */
5855
+ 'confirmed'?: boolean;
5856
+ /**
5857
+ *
5858
+ * @type {Array<FaqCategoryBreadCrumbModel>}
5859
+ * @memberof FaqModel
5860
+ */
5861
+ 'categories'?: Array<FaqCategoryBreadCrumbModel> | null;
5743
5862
  }
5744
5863
  /**
5745
5864
  *
5746
5865
  * @export
5747
- * @interface HospitalEvaluationModel
5866
+ * @interface FaqsModel
5748
5867
  */
5749
- export interface HospitalEvaluationModel {
5868
+ export interface FaqsModel {
5750
5869
  /**
5751
5870
  *
5752
- * @type {string}
5753
- * @memberof HospitalEvaluationModel
5871
+ * @type {Array<FaqItemModel>}
5872
+ * @memberof FaqsModel
5754
5873
  */
5755
- 'id'?: string;
5874
+ 'items'?: Array<FaqItemModel> | null;
5875
+ /**
5876
+ *
5877
+ * @type {PagedListMetaData}
5878
+ * @memberof FaqsModel
5879
+ */
5880
+ 'metaData'?: PagedListMetaData;
5881
+ }
5882
+ /**
5883
+ *
5884
+ * @export
5885
+ * @enum {string}
5886
+ */
5887
+
5888
+ export enum Gender {
5889
+ NotSpecified = 'NotSpecified',
5890
+ Male = 'Male',
5891
+ Female = 'Female',
5892
+ NonBinary = 'NonBinary',
5893
+ PreferNotToSay = 'PreferNotToSay'
5894
+ }
5895
+
5896
+ /**
5897
+ *
5898
+ * @export
5899
+ * @interface HospitalAccreditationItemModel
5900
+ */
5901
+ export interface HospitalAccreditationItemModel {
5756
5902
  /**
5757
5903
  *
5758
5904
  * @type {string}
5759
- * @memberof HospitalEvaluationModel
5905
+ * @memberof HospitalAccreditationItemModel
5760
5906
  */
5761
5907
  'hospitalId'?: string;
5762
5908
  /**
5763
5909
  *
5764
5910
  * @type {string}
5765
- * @memberof HospitalEvaluationModel
5911
+ * @memberof HospitalAccreditationItemModel
5766
5912
  */
5767
- 'hospitalName'?: string | null;
5913
+ 'accreditationId'?: string;
5768
5914
  /**
5769
5915
  *
5770
5916
  * @type {string}
5771
- * @memberof HospitalEvaluationModel
5917
+ * @memberof HospitalAccreditationItemModel
5772
5918
  */
5773
- 'name'?: string | null;
5919
+ 'accreditationName'?: string | null;
5774
5920
  /**
5775
5921
  *
5776
- * @type {number}
5777
- * @memberof HospitalEvaluationModel
5922
+ * @type {string}
5923
+ * @memberof HospitalAccreditationItemModel
5778
5924
  */
5779
- 'stars'?: number;
5925
+ 'accreditationLogo'?: string | null;
5926
+ }
5927
+ /**
5928
+ *
5929
+ * @export
5930
+ * @interface HospitalAccreditationModel
5931
+ */
5932
+ export interface HospitalAccreditationModel {
5780
5933
  /**
5781
5934
  *
5782
5935
  * @type {string}
5783
- * @memberof HospitalEvaluationModel
5936
+ * @memberof HospitalAccreditationModel
5784
5937
  */
5785
- 'description'?: string | null;
5938
+ 'hospitalId'?: string;
5786
5939
  /**
5787
5940
  *
5788
5941
  * @type {string}
5789
- * @memberof HospitalEvaluationModel
5942
+ * @memberof HospitalAccreditationModel
5790
5943
  */
5791
- 'referenceUrl'?: string | null;
5944
+ 'accreditationId'?: string;
5945
+ /**
5946
+ *
5947
+ * @type {string}
5948
+ * @memberof HospitalAccreditationModel
5949
+ */
5950
+ 'accreditationName'?: string | null;
5951
+ /**
5952
+ *
5953
+ * @type {string}
5954
+ * @memberof HospitalAccreditationModel
5955
+ */
5956
+ 'accreditationLogo'?: string | null;
5792
5957
  }
5793
5958
  /**
5794
5959
  *
5795
5960
  * @export
5796
- * @interface HospitalEvaluationsModel
5961
+ * @interface HospitalAccreditationsModel
5797
5962
  */
5798
- export interface HospitalEvaluationsModel {
5963
+ export interface HospitalAccreditationsModel {
5799
5964
  /**
5800
5965
  *
5801
- * @type {Array<HospitalEvaluationItemModel>}
5802
- * @memberof HospitalEvaluationsModel
5966
+ * @type {Array<HospitalAccreditationItemModel>}
5967
+ * @memberof HospitalAccreditationsModel
5803
5968
  */
5804
- 'items'?: Array<HospitalEvaluationItemModel> | null;
5969
+ 'items'?: Array<HospitalAccreditationItemModel> | null;
5805
5970
  /**
5806
5971
  *
5807
5972
  * @type {PagedListMetaData}
5808
- * @memberof HospitalEvaluationsModel
5973
+ * @memberof HospitalAccreditationsModel
5809
5974
  */
5810
5975
  'metaData'?: PagedListMetaData;
5811
5976
  }
5812
5977
  /**
5813
5978
  *
5814
5979
  * @export
5815
- * @interface HospitalItemModel
5980
+ * @interface HospitalEquipmentItemModel
5816
5981
  */
5817
- export interface HospitalItemModel {
5982
+ export interface HospitalEquipmentItemModel {
5818
5983
  /**
5819
5984
  *
5820
5985
  * @type {string}
5821
- * @memberof HospitalItemModel
5986
+ * @memberof HospitalEquipmentItemModel
5822
5987
  */
5823
5988
  'id'?: string;
5824
5989
  /**
5825
5990
  *
5826
5991
  * @type {string}
5827
- * @memberof HospitalItemModel
5992
+ * @memberof HospitalEquipmentItemModel
5828
5993
  */
5829
5994
  'name'?: string | null;
5830
5995
  /**
5831
5996
  *
5832
5997
  * @type {string}
5833
- * @memberof HospitalItemModel
5998
+ * @memberof HospitalEquipmentItemModel
5834
5999
  */
5835
- 'slug'?: string | null;
6000
+ 'description'?: string | null;
5836
6001
  /**
5837
6002
  *
5838
6003
  * @type {string}
5839
- * @memberof HospitalItemModel
6004
+ * @memberof HospitalEquipmentItemModel
5840
6005
  */
5841
- 'description'?: string | null;
6006
+ 'hospitalId'?: string;
5842
6007
  /**
5843
6008
  *
5844
6009
  * @type {string}
5845
- * @memberof HospitalItemModel
6010
+ * @memberof HospitalEquipmentItemModel
5846
6011
  */
5847
- 'logo'?: string | null;
6012
+ 'hospitalName'?: string | null;
5848
6013
  /**
5849
6014
  *
5850
- * @type {string}
5851
- * @memberof HospitalItemModel
6015
+ * @type {Array<MediaModel>}
6016
+ * @memberof HospitalEquipmentItemModel
5852
6017
  */
5853
- 'overview'?: string | null;
6018
+ 'medias'?: Array<MediaModel> | null;
5854
6019
  /**
5855
6020
  *
5856
- * @type {number}
5857
- * @memberof HospitalItemModel
6021
+ * @type {AuditableEntity}
6022
+ * @memberof HospitalEquipmentItemModel
5858
6023
  */
5859
- 'bedsCount'?: number | null;
6024
+ 'auditableEntity'?: AuditableEntity;
6025
+ }
6026
+ /**
6027
+ *
6028
+ * @export
6029
+ * @interface HospitalEquipmentModel
6030
+ */
6031
+ export interface HospitalEquipmentModel {
5860
6032
  /**
5861
6033
  *
5862
- * @type {number}
5863
- * @memberof HospitalItemModel
6034
+ * @type {string}
6035
+ * @memberof HospitalEquipmentModel
5864
6036
  */
5865
- 'operationsPerYear'?: number | null;
6037
+ 'id'?: string;
5866
6038
  /**
5867
6039
  *
5868
- * @type {number}
5869
- * @memberof HospitalItemModel
6040
+ * @type {string}
6041
+ * @memberof HospitalEquipmentModel
5870
6042
  */
5871
- 'foundationYear'?: number | null;
6043
+ 'name'?: string | null;
5872
6044
  /**
5873
6045
  *
5874
- * @type {number}
5875
- * @memberof HospitalItemModel
6046
+ * @type {string}
6047
+ * @memberof HospitalEquipmentModel
5876
6048
  */
5877
- 'medicalStaffCount'?: number | null;
6049
+ 'description'?: string | null;
5878
6050
  /**
5879
6051
  *
5880
- * @type {number}
5881
- * @memberof HospitalItemModel
6052
+ * @type {string}
6053
+ * @memberof HospitalEquipmentModel
5882
6054
  */
5883
- 'doctorCount'?: number | null;
6055
+ 'hospitalId'?: string;
5884
6056
  /**
5885
6057
  *
5886
6058
  * @type {string}
5887
- * @memberof HospitalItemModel
6059
+ * @memberof HospitalEquipmentModel
5888
6060
  */
5889
- 'countryId'?: string;
6061
+ 'hospitalName'?: string | null;
5890
6062
  /**
5891
6063
  *
5892
- * @type {string}
5893
- * @memberof HospitalItemModel
6064
+ * @type {Array<MediaModel>}
6065
+ * @memberof HospitalEquipmentModel
5894
6066
  */
5895
- 'countryName'?: string | null;
6067
+ 'medias'?: Array<MediaModel> | null;
5896
6068
  /**
5897
6069
  *
5898
- * @type {MarketingType}
5899
- * @memberof HospitalItemModel
6070
+ * @type {AuditableEntity}
6071
+ * @memberof HospitalEquipmentModel
5900
6072
  */
5901
- 'marketingType'?: MarketingType;
6073
+ 'auditableEntity'?: AuditableEntity;
6074
+ }
6075
+ /**
6076
+ *
6077
+ * @export
6078
+ * @interface HospitalEquipmentsModel
6079
+ */
6080
+ export interface HospitalEquipmentsModel {
5902
6081
  /**
5903
6082
  *
5904
- * @type {boolean}
5905
- * @memberof HospitalItemModel
6083
+ * @type {Array<HospitalEquipmentItemModel>}
6084
+ * @memberof HospitalEquipmentsModel
5906
6085
  */
5907
- 'consultationEnabled'?: boolean | null;
6086
+ 'items'?: Array<HospitalEquipmentItemModel> | null;
5908
6087
  /**
5909
6088
  *
5910
- * @type {number}
5911
- * @memberof HospitalItemModel
6089
+ * @type {PagedListMetaData}
6090
+ * @memberof HospitalEquipmentsModel
5912
6091
  */
5913
- 'consultationFee'?: number | null;
6092
+ 'metaData'?: PagedListMetaData;
6093
+ }
6094
+ /**
6095
+ *
6096
+ * @export
6097
+ * @interface HospitalEvaluationItemModel
6098
+ */
6099
+ export interface HospitalEvaluationItemModel {
5914
6100
  /**
5915
6101
  *
5916
6102
  * @type {string}
5917
- * @memberof HospitalItemModel
6103
+ * @memberof HospitalEvaluationItemModel
5918
6104
  */
5919
- 'timeZone'?: string | null;
6105
+ 'id'?: string;
5920
6106
  /**
5921
6107
  *
5922
- * @type {number}
5923
- * @memberof HospitalItemModel
6108
+ * @type {string}
6109
+ * @memberof HospitalEvaluationItemModel
5924
6110
  */
5925
- 'articlesCount'?: number;
6111
+ 'hospitalId'?: string;
5926
6112
  /**
5927
6113
  *
5928
- * @type {number}
5929
- * @memberof HospitalItemModel
6114
+ * @type {string}
6115
+ * @memberof HospitalEvaluationItemModel
5930
6116
  */
5931
- 'packagesCount'?: number;
6117
+ 'hospitalName'?: string | null;
5932
6118
  /**
5933
6119
  *
5934
- * @type {number}
5935
- * @memberof HospitalItemModel
6120
+ * @type {string}
6121
+ * @memberof HospitalEvaluationItemModel
5936
6122
  */
5937
- 'equipmentsCount'?: number;
6123
+ 'name'?: string | null;
5938
6124
  /**
5939
6125
  *
5940
6126
  * @type {number}
5941
- * @memberof HospitalItemModel
6127
+ * @memberof HospitalEvaluationItemModel
5942
6128
  */
5943
- 'reviewsCount'?: number;
6129
+ 'stars'?: number;
5944
6130
  /**
5945
6131
  *
5946
- * @type {number}
5947
- * @memberof HospitalItemModel
6132
+ * @type {string}
6133
+ * @memberof HospitalEvaluationItemModel
5948
6134
  */
5949
- 'departmentsCount'?: number;
6135
+ 'description'?: string | null;
5950
6136
  /**
5951
6137
  *
5952
- * @type {number}
5953
- * @memberof HospitalItemModel
6138
+ * @type {string}
6139
+ * @memberof HospitalEvaluationItemModel
5954
6140
  */
5955
- 'specialtiesCount'?: number;
6141
+ 'referenceUrl'?: string | null;
6142
+ }
6143
+ /**
6144
+ *
6145
+ * @export
6146
+ * @interface HospitalEvaluationModel
6147
+ */
6148
+ export interface HospitalEvaluationModel {
5956
6149
  /**
5957
6150
  *
5958
- * @type {number}
5959
- * @memberof HospitalItemModel
6151
+ * @type {string}
6152
+ * @memberof HospitalEvaluationModel
5960
6153
  */
5961
- 'accreditationsCount'?: number;
6154
+ 'id'?: string;
5962
6155
  /**
5963
6156
  *
5964
- * @type {number}
5965
- * @memberof HospitalItemModel
6157
+ * @type {string}
6158
+ * @memberof HospitalEvaluationModel
5966
6159
  */
5967
- 'doctorAffiliationsCount'?: number;
6160
+ 'hospitalId'?: string;
5968
6161
  /**
5969
6162
  *
5970
- * @type {number}
5971
- * @memberof HospitalItemModel
6163
+ * @type {string}
6164
+ * @memberof HospitalEvaluationModel
5972
6165
  */
5973
- 'managerAffiliationsCount'?: number;
6166
+ 'hospitalName'?: string | null;
5974
6167
  /**
5975
6168
  *
5976
6169
  * @type {string}
5977
- * @memberof HospitalItemModel
6170
+ * @memberof HospitalEvaluationModel
5978
6171
  */
5979
- 'specialtiesSummerized'?: string | null;
6172
+ 'name'?: string | null;
5980
6173
  /**
5981
6174
  *
5982
- * @type {Array<AwardModel>}
5983
- * @memberof HospitalItemModel
5984
- */
6175
+ * @type {number}
6176
+ * @memberof HospitalEvaluationModel
6177
+ */
6178
+ 'stars'?: number;
6179
+ /**
6180
+ *
6181
+ * @type {string}
6182
+ * @memberof HospitalEvaluationModel
6183
+ */
6184
+ 'description'?: string | null;
6185
+ /**
6186
+ *
6187
+ * @type {string}
6188
+ * @memberof HospitalEvaluationModel
6189
+ */
6190
+ 'referenceUrl'?: string | null;
6191
+ }
6192
+ /**
6193
+ *
6194
+ * @export
6195
+ * @interface HospitalEvaluationsModel
6196
+ */
6197
+ export interface HospitalEvaluationsModel {
6198
+ /**
6199
+ *
6200
+ * @type {Array<HospitalEvaluationItemModel>}
6201
+ * @memberof HospitalEvaluationsModel
6202
+ */
6203
+ 'items'?: Array<HospitalEvaluationItemModel> | null;
6204
+ /**
6205
+ *
6206
+ * @type {PagedListMetaData}
6207
+ * @memberof HospitalEvaluationsModel
6208
+ */
6209
+ 'metaData'?: PagedListMetaData;
6210
+ }
6211
+ /**
6212
+ *
6213
+ * @export
6214
+ * @interface HospitalItemModel
6215
+ */
6216
+ export interface HospitalItemModel {
6217
+ /**
6218
+ *
6219
+ * @type {string}
6220
+ * @memberof HospitalItemModel
6221
+ */
6222
+ 'id'?: string;
6223
+ /**
6224
+ *
6225
+ * @type {string}
6226
+ * @memberof HospitalItemModel
6227
+ */
6228
+ 'name'?: string | null;
6229
+ /**
6230
+ *
6231
+ * @type {string}
6232
+ * @memberof HospitalItemModel
6233
+ */
6234
+ 'slug'?: string | null;
6235
+ /**
6236
+ *
6237
+ * @type {string}
6238
+ * @memberof HospitalItemModel
6239
+ */
6240
+ 'description'?: string | null;
6241
+ /**
6242
+ *
6243
+ * @type {string}
6244
+ * @memberof HospitalItemModel
6245
+ */
6246
+ 'logo'?: string | null;
6247
+ /**
6248
+ *
6249
+ * @type {string}
6250
+ * @memberof HospitalItemModel
6251
+ */
6252
+ 'overview'?: string | null;
6253
+ /**
6254
+ *
6255
+ * @type {number}
6256
+ * @memberof HospitalItemModel
6257
+ */
6258
+ 'bedsCount'?: number | null;
6259
+ /**
6260
+ *
6261
+ * @type {number}
6262
+ * @memberof HospitalItemModel
6263
+ */
6264
+ 'operationsPerYear'?: number | null;
6265
+ /**
6266
+ *
6267
+ * @type {number}
6268
+ * @memberof HospitalItemModel
6269
+ */
6270
+ 'foundationYear'?: number | null;
6271
+ /**
6272
+ *
6273
+ * @type {number}
6274
+ * @memberof HospitalItemModel
6275
+ */
6276
+ 'medicalStaffCount'?: number | null;
6277
+ /**
6278
+ *
6279
+ * @type {number}
6280
+ * @memberof HospitalItemModel
6281
+ */
6282
+ 'doctorCount'?: number | null;
6283
+ /**
6284
+ *
6285
+ * @type {string}
6286
+ * @memberof HospitalItemModel
6287
+ */
6288
+ 'countryId'?: string;
6289
+ /**
6290
+ *
6291
+ * @type {string}
6292
+ * @memberof HospitalItemModel
6293
+ */
6294
+ 'countryName'?: string | null;
6295
+ /**
6296
+ *
6297
+ * @type {MarketingType}
6298
+ * @memberof HospitalItemModel
6299
+ */
6300
+ 'marketingType'?: MarketingType;
6301
+ /**
6302
+ *
6303
+ * @type {boolean}
6304
+ * @memberof HospitalItemModel
6305
+ */
6306
+ 'consultationEnabled'?: boolean | null;
6307
+ /**
6308
+ *
6309
+ * @type {number}
6310
+ * @memberof HospitalItemModel
6311
+ */
6312
+ 'consultationFee'?: number | null;
6313
+ /**
6314
+ *
6315
+ * @type {string}
6316
+ * @memberof HospitalItemModel
6317
+ */
6318
+ 'timeZone'?: string | null;
6319
+ /**
6320
+ *
6321
+ * @type {number}
6322
+ * @memberof HospitalItemModel
6323
+ */
6324
+ 'articlesCount'?: number;
6325
+ /**
6326
+ *
6327
+ * @type {number}
6328
+ * @memberof HospitalItemModel
6329
+ */
6330
+ 'packagesCount'?: number;
6331
+ /**
6332
+ *
6333
+ * @type {number}
6334
+ * @memberof HospitalItemModel
6335
+ */
6336
+ 'equipmentsCount'?: number;
6337
+ /**
6338
+ *
6339
+ * @type {number}
6340
+ * @memberof HospitalItemModel
6341
+ */
6342
+ 'reviewsCount'?: number;
6343
+ /**
6344
+ *
6345
+ * @type {number}
6346
+ * @memberof HospitalItemModel
6347
+ */
6348
+ 'departmentsCount'?: number;
6349
+ /**
6350
+ *
6351
+ * @type {number}
6352
+ * @memberof HospitalItemModel
6353
+ */
6354
+ 'specialtiesCount'?: number;
6355
+ /**
6356
+ *
6357
+ * @type {number}
6358
+ * @memberof HospitalItemModel
6359
+ */
6360
+ 'accreditationsCount'?: number;
6361
+ /**
6362
+ *
6363
+ * @type {number}
6364
+ * @memberof HospitalItemModel
6365
+ */
6366
+ 'doctorAffiliationsCount'?: number;
6367
+ /**
6368
+ *
6369
+ * @type {number}
6370
+ * @memberof HospitalItemModel
6371
+ */
6372
+ 'managerAffiliationsCount'?: number;
6373
+ /**
6374
+ *
6375
+ * @type {string}
6376
+ * @memberof HospitalItemModel
6377
+ */
6378
+ 'specialtiesSummerized'?: string | null;
6379
+ /**
6380
+ *
6381
+ * @type {Array<AwardModel>}
6382
+ * @memberof HospitalItemModel
6383
+ */
5985
6384
  'awards'?: Array<AwardModel> | null;
5986
6385
  /**
5987
6386
  *
@@ -9372,6 +9771,18 @@ export interface UpdateCountryCommand {
9372
9771
  * @memberof UpdateCountryCommand
9373
9772
  */
9374
9773
  'content'?: string | null;
9774
+ /**
9775
+ *
9776
+ * @type {string}
9777
+ * @memberof UpdateCountryCommand
9778
+ */
9779
+ 'languageCode'?: string | null;
9780
+ /**
9781
+ *
9782
+ * @type {boolean}
9783
+ * @memberof UpdateCountryCommand
9784
+ */
9785
+ 'confirmed'?: boolean;
9375
9786
  /**
9376
9787
  *
9377
9788
  * @type {Array<MediaModel>}
@@ -9611,6 +10022,18 @@ export interface UpdateDoctorCommand {
9611
10022
  * @memberof UpdateDoctorCommand
9612
10023
  */
9613
10024
  'hospitalId'?: string | null;
10025
+ /**
10026
+ *
10027
+ * @type {string}
10028
+ * @memberof UpdateDoctorCommand
10029
+ */
10030
+ 'languageCode'?: string | null;
10031
+ /**
10032
+ *
10033
+ * @type {boolean}
10034
+ * @memberof UpdateDoctorCommand
10035
+ */
10036
+ 'confirmed'?: boolean;
9614
10037
  }
9615
10038
  /**
9616
10039
  *
@@ -9696,54 +10119,152 @@ export interface UpdateDoctorSpecialtyCommand {
9696
10119
  /**
9697
10120
  *
9698
10121
  * @export
9699
- * @interface UpdateHospitalCommand
10122
+ * @interface UpdateFaqCategoryCommand
9700
10123
  */
9701
- export interface UpdateHospitalCommand {
10124
+ export interface UpdateFaqCategoryCommand {
9702
10125
  /**
9703
10126
  *
9704
10127
  * @type {string}
9705
- * @memberof UpdateHospitalCommand
10128
+ * @memberof UpdateFaqCategoryCommand
9706
10129
  */
9707
- 'languageCode'?: string | null;
10130
+ 'id'?: string | null;
9708
10131
  /**
9709
10132
  *
9710
10133
  * @type {string}
9711
- * @memberof UpdateHospitalCommand
10134
+ * @memberof UpdateFaqCategoryCommand
9712
10135
  */
9713
10136
  'name'?: string | null;
9714
10137
  /**
9715
10138
  *
9716
10139
  * @type {string}
9717
- * @memberof UpdateHospitalCommand
10140
+ * @memberof UpdateFaqCategoryCommand
9718
10141
  */
9719
10142
  'slug'?: string | null;
9720
10143
  /**
9721
10144
  *
9722
10145
  * @type {string}
9723
- * @memberof UpdateHospitalCommand
10146
+ * @memberof UpdateFaqCategoryCommand
9724
10147
  */
9725
10148
  'description'?: string | null;
9726
10149
  /**
9727
10150
  *
9728
- * @type {string}
9729
- * @memberof UpdateHospitalCommand
10151
+ * @type {number}
10152
+ * @memberof UpdateFaqCategoryCommand
9730
10153
  */
9731
- 'logo'?: string | null;
10154
+ 'order'?: number;
9732
10155
  /**
9733
10156
  *
9734
10157
  * @type {string}
9735
- * @memberof UpdateHospitalCommand
10158
+ * @memberof UpdateFaqCategoryCommand
9736
10159
  */
9737
- 'overview'?: string | null;
10160
+ 'languageCode'?: string | null;
9738
10161
  /**
9739
10162
  *
9740
- * @type {number}
9741
- * @memberof UpdateHospitalCommand
10163
+ * @type {boolean}
10164
+ * @memberof UpdateFaqCategoryCommand
9742
10165
  */
9743
- 'bedsCount'?: number | null;
9744
- /**
9745
- *
9746
- * @type {number}
10166
+ 'confirmed'?: boolean;
10167
+ }
10168
+ /**
10169
+ *
10170
+ * @export
10171
+ * @interface UpdateFaqCommand
10172
+ */
10173
+ export interface UpdateFaqCommand {
10174
+ /**
10175
+ *
10176
+ * @type {string}
10177
+ * @memberof UpdateFaqCommand
10178
+ */
10179
+ 'id'?: string;
10180
+ /**
10181
+ *
10182
+ * @type {string}
10183
+ * @memberof UpdateFaqCommand
10184
+ */
10185
+ 'title'?: string | null;
10186
+ /**
10187
+ *
10188
+ * @type {string}
10189
+ * @memberof UpdateFaqCommand
10190
+ */
10191
+ 'slug'?: string | null;
10192
+ /**
10193
+ *
10194
+ * @type {string}
10195
+ * @memberof UpdateFaqCommand
10196
+ */
10197
+ 'content'?: string | null;
10198
+ /**
10199
+ *
10200
+ * @type {number}
10201
+ * @memberof UpdateFaqCommand
10202
+ */
10203
+ 'order'?: number;
10204
+ /**
10205
+ *
10206
+ * @type {string}
10207
+ * @memberof UpdateFaqCommand
10208
+ */
10209
+ 'languageCode'?: string | null;
10210
+ /**
10211
+ *
10212
+ * @type {boolean}
10213
+ * @memberof UpdateFaqCommand
10214
+ */
10215
+ 'confirmed'?: boolean;
10216
+ }
10217
+ /**
10218
+ *
10219
+ * @export
10220
+ * @interface UpdateHospitalCommand
10221
+ */
10222
+ export interface UpdateHospitalCommand {
10223
+ /**
10224
+ *
10225
+ * @type {string}
10226
+ * @memberof UpdateHospitalCommand
10227
+ */
10228
+ 'languageCode'?: string | null;
10229
+ /**
10230
+ *
10231
+ * @type {string}
10232
+ * @memberof UpdateHospitalCommand
10233
+ */
10234
+ 'name'?: string | null;
10235
+ /**
10236
+ *
10237
+ * @type {string}
10238
+ * @memberof UpdateHospitalCommand
10239
+ */
10240
+ 'slug'?: string | null;
10241
+ /**
10242
+ *
10243
+ * @type {string}
10244
+ * @memberof UpdateHospitalCommand
10245
+ */
10246
+ 'description'?: string | null;
10247
+ /**
10248
+ *
10249
+ * @type {string}
10250
+ * @memberof UpdateHospitalCommand
10251
+ */
10252
+ 'logo'?: string | null;
10253
+ /**
10254
+ *
10255
+ * @type {string}
10256
+ * @memberof UpdateHospitalCommand
10257
+ */
10258
+ 'overview'?: string | null;
10259
+ /**
10260
+ *
10261
+ * @type {number}
10262
+ * @memberof UpdateHospitalCommand
10263
+ */
10264
+ 'bedsCount'?: number | null;
10265
+ /**
10266
+ *
10267
+ * @type {number}
9747
10268
  * @memberof UpdateHospitalCommand
9748
10269
  */
9749
10270
  'operationsPerYear'?: number | null;
@@ -9911,6 +10432,18 @@ export interface UpdateHospitalServiceCommand {
9911
10432
  * @memberof UpdateHospitalServiceCommand
9912
10433
  */
9913
10434
  'order'?: number;
10435
+ /**
10436
+ *
10437
+ * @type {string}
10438
+ * @memberof UpdateHospitalServiceCommand
10439
+ */
10440
+ 'languageCode'?: string | null;
10441
+ /**
10442
+ *
10443
+ * @type {boolean}
10444
+ * @memberof UpdateHospitalServiceCommand
10445
+ */
10446
+ 'confirmed'?: boolean;
9914
10447
  }
9915
10448
  /**
9916
10449
  *
@@ -10280,42 +10813,24 @@ export interface UpdateSpecialtyCommand {
10280
10813
  * @memberof UpdateSpecialtyCommand
10281
10814
  */
10282
10815
  'content'?: string | null;
10283
- /**
10284
- *
10285
- * @type {number}
10286
- * @memberof UpdateSpecialtyCommand
10287
- */
10288
- 'hospitalSpecialtyCount'?: number;
10289
- /**
10290
- *
10291
- * @type {number}
10292
- * @memberof UpdateSpecialtyCommand
10293
- */
10294
- 'serviceCount'?: number;
10295
10816
  /**
10296
10817
  *
10297
10818
  * @type {string}
10298
10819
  * @memberof UpdateSpecialtyCommand
10299
10820
  */
10300
- 'specialtyTypeId'?: string;
10821
+ 'languageCode'?: string | null;
10301
10822
  /**
10302
10823
  *
10303
10824
  * @type {string}
10304
10825
  * @memberof UpdateSpecialtyCommand
10305
10826
  */
10306
- 'specialtyTypeName'?: string | null;
10827
+ 'specialtyTypeId'?: string;
10307
10828
  /**
10308
10829
  *
10309
10830
  * @type {boolean}
10310
10831
  * @memberof UpdateSpecialtyCommand
10311
10832
  */
10312
10833
  'confirmed'?: boolean;
10313
- /**
10314
- *
10315
- * @type {AuditableEntity}
10316
- * @memberof UpdateSpecialtyCommand
10317
- */
10318
- 'auditableEntity'?: AuditableEntity;
10319
10834
  }
10320
10835
  /**
10321
10836
  *
@@ -10383,6 +10898,12 @@ export interface UpdateSpecialtyTypeCommand {
10383
10898
  * @memberof UpdateSpecialtyTypeCommand
10384
10899
  */
10385
10900
  'confirmed'?: boolean;
10901
+ /**
10902
+ *
10903
+ * @type {string}
10904
+ * @memberof UpdateSpecialtyTypeCommand
10905
+ */
10906
+ 'languageCode'?: string | null;
10386
10907
  }
10387
10908
  /**
10388
10909
  *
@@ -17432,7 +17953,7 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
17432
17953
  },
17433
17954
  /**
17434
17955
  *
17435
- * @summary Revoke country.
17956
+ * @summary Reactivate country.
17436
17957
  * @param {string} countryId
17437
17958
  * @param {*} [options] Override http request option.
17438
17959
  * @throws {RequiredError}
@@ -17744,7 +18265,7 @@ export const CountriesApiFp = function(configuration?: Configuration) {
17744
18265
  },
17745
18266
  /**
17746
18267
  *
17747
- * @summary Revoke country.
18268
+ * @summary Reactivate country.
17748
18269
  * @param {string} countryId
17749
18270
  * @param {*} [options] Override http request option.
17750
18271
  * @throws {RequiredError}
@@ -17899,7 +18420,7 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
17899
18420
  },
17900
18421
  /**
17901
18422
  *
17902
- * @summary Revoke country.
18423
+ * @summary Reactivate country.
17903
18424
  * @param {string} countryId
17904
18425
  * @param {*} [options] Override http request option.
17905
18426
  * @throws {RequiredError}
@@ -18066,7 +18587,7 @@ export class CountriesApi extends BaseAPI {
18066
18587
 
18067
18588
  /**
18068
18589
  *
18069
- * @summary Revoke country.
18590
+ * @summary Reactivate country.
18070
18591
  * @param {string} countryId
18071
18592
  * @param {*} [options] Override http request option.
18072
18593
  * @throws {RequiredError}
@@ -20324,10 +20845,11 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
20324
20845
  *
20325
20846
  * @summary Get Doctor.
20326
20847
  * @param {string} doctorId
20848
+ * @param {string} [languageCode]
20327
20849
  * @param {*} [options] Override http request option.
20328
20850
  * @throws {RequiredError}
20329
20851
  */
20330
- apiV1DoctorsDoctorIdGet: async (doctorId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
20852
+ apiV1DoctorsDoctorIdGet: async (doctorId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
20331
20853
  // verify required parameter 'doctorId' is not null or undefined
20332
20854
  assertParamExists('apiV1DoctorsDoctorIdGet', 'doctorId', doctorId)
20333
20855
  const localVarPath = `/api/v1/doctors/{doctorId}`
@@ -20347,6 +20869,10 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
20347
20869
  // oauth required
20348
20870
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
20349
20871
 
20872
+ if (languageCode !== undefined) {
20873
+ localVarQueryParameter['languageCode'] = languageCode;
20874
+ }
20875
+
20350
20876
 
20351
20877
 
20352
20878
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -21513,11 +22039,12 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
21513
22039
  *
21514
22040
  * @summary Get Doctor.
21515
22041
  * @param {string} doctorId
22042
+ * @param {string} [languageCode]
21516
22043
  * @param {*} [options] Override http request option.
21517
22044
  * @throws {RequiredError}
21518
22045
  */
21519
- async apiV1DoctorsDoctorIdGet(doctorId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
21520
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, options);
22046
+ async apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
22047
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, languageCode, options);
21521
22048
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
21522
22049
  },
21523
22050
  /**
@@ -21970,11 +22497,12 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
21970
22497
  *
21971
22498
  * @summary Get Doctor.
21972
22499
  * @param {string} doctorId
22500
+ * @param {string} [languageCode]
21973
22501
  * @param {*} [options] Override http request option.
21974
22502
  * @throws {RequiredError}
21975
22503
  */
21976
- apiV1DoctorsDoctorIdGet(doctorId: string, options?: any): AxiosPromise<DoctorModel> {
21977
- return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, options).then((request) => request(axios, basePath));
22504
+ apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, options?: any): AxiosPromise<DoctorModel> {
22505
+ return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, languageCode, options).then((request) => request(axios, basePath));
21978
22506
  },
21979
22507
  /**
21980
22508
  *
@@ -22437,12 +22965,13 @@ export class DoctorsApi extends BaseAPI {
22437
22965
  *
22438
22966
  * @summary Get Doctor.
22439
22967
  * @param {string} doctorId
22968
+ * @param {string} [languageCode]
22440
22969
  * @param {*} [options] Override http request option.
22441
22970
  * @throws {RequiredError}
22442
22971
  * @memberof DoctorsApi
22443
22972
  */
22444
- public apiV1DoctorsDoctorIdGet(doctorId: string, options?: AxiosRequestConfig) {
22445
- return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, options).then((request) => request(this.axios, this.basePath));
22973
+ public apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, options?: AxiosRequestConfig) {
22974
+ return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, languageCode, options).then((request) => request(this.axios, this.basePath));
22446
22975
  }
22447
22976
 
22448
22977
  /**
@@ -22720,6 +23249,1617 @@ export class DoctorsApi extends BaseAPI {
22720
23249
  }
22721
23250
 
22722
23251
 
23252
+ /**
23253
+ * FaqCategoriesApi - axios parameter creator
23254
+ * @export
23255
+ */
23256
+ export const FaqCategoriesApiAxiosParamCreator = function (configuration?: Configuration) {
23257
+ return {
23258
+ /**
23259
+ *
23260
+ * @summary Get BreadCrumbs.
23261
+ * @param {string} faqId
23262
+ * @param {string} [languageCode]
23263
+ * @param {*} [options] Override http request option.
23264
+ * @throws {RequiredError}
23265
+ */
23266
+ apiV1FaqcategoriesBreadcrumbsFaqIdGet: async (faqId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23267
+ // verify required parameter 'faqId' is not null or undefined
23268
+ assertParamExists('apiV1FaqcategoriesBreadcrumbsFaqIdGet', 'faqId', faqId)
23269
+ const localVarPath = `/api/v1/faqcategories/breadcrumbs/{faqId}`
23270
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)));
23271
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23272
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23273
+ let baseOptions;
23274
+ if (configuration) {
23275
+ baseOptions = configuration.baseOptions;
23276
+ }
23277
+
23278
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23279
+ const localVarHeaderParameter = {} as any;
23280
+ const localVarQueryParameter = {} as any;
23281
+
23282
+ // authentication oauth2 required
23283
+ // oauth required
23284
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23285
+
23286
+ if (languageCode !== undefined) {
23287
+ localVarQueryParameter['languageCode'] = languageCode;
23288
+ }
23289
+
23290
+
23291
+
23292
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23293
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23294
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23295
+
23296
+ return {
23297
+ url: toPathString(localVarUrlObj),
23298
+ options: localVarRequestOptions,
23299
+ };
23300
+ },
23301
+ /**
23302
+ *
23303
+ * @summary Delete FaqCategory.
23304
+ * @param {string} faqCategoryId
23305
+ * @param {boolean} [forceDelete]
23306
+ * @param {*} [options] Override http request option.
23307
+ * @throws {RequiredError}
23308
+ */
23309
+ apiV1FaqcategoriesFaqCategoryIdDelete: async (faqCategoryId: string, forceDelete?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23310
+ // verify required parameter 'faqCategoryId' is not null or undefined
23311
+ assertParamExists('apiV1FaqcategoriesFaqCategoryIdDelete', 'faqCategoryId', faqCategoryId)
23312
+ const localVarPath = `/api/v1/faqcategories/{faqCategoryId}`
23313
+ .replace(`{${"faqCategoryId"}}`, encodeURIComponent(String(faqCategoryId)));
23314
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23315
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23316
+ let baseOptions;
23317
+ if (configuration) {
23318
+ baseOptions = configuration.baseOptions;
23319
+ }
23320
+
23321
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
23322
+ const localVarHeaderParameter = {} as any;
23323
+ const localVarQueryParameter = {} as any;
23324
+
23325
+ // authentication oauth2 required
23326
+ // oauth required
23327
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23328
+
23329
+ if (forceDelete !== undefined) {
23330
+ localVarQueryParameter['forceDelete'] = forceDelete;
23331
+ }
23332
+
23333
+
23334
+
23335
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23336
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23337
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23338
+
23339
+ return {
23340
+ url: toPathString(localVarUrlObj),
23341
+ options: localVarRequestOptions,
23342
+ };
23343
+ },
23344
+ /**
23345
+ *
23346
+ * @summary Get FaqCategory.
23347
+ * @param {string} faqCategoryId
23348
+ * @param {string} [languageCode]
23349
+ * @param {*} [options] Override http request option.
23350
+ * @throws {RequiredError}
23351
+ */
23352
+ apiV1FaqcategoriesFaqCategoryIdGet: async (faqCategoryId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23353
+ // verify required parameter 'faqCategoryId' is not null or undefined
23354
+ assertParamExists('apiV1FaqcategoriesFaqCategoryIdGet', 'faqCategoryId', faqCategoryId)
23355
+ const localVarPath = `/api/v1/faqcategories/{faqCategoryId}`
23356
+ .replace(`{${"faqCategoryId"}}`, encodeURIComponent(String(faqCategoryId)));
23357
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23358
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23359
+ let baseOptions;
23360
+ if (configuration) {
23361
+ baseOptions = configuration.baseOptions;
23362
+ }
23363
+
23364
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23365
+ const localVarHeaderParameter = {} as any;
23366
+ const localVarQueryParameter = {} as any;
23367
+
23368
+ // authentication oauth2 required
23369
+ // oauth required
23370
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23371
+
23372
+ if (languageCode !== undefined) {
23373
+ localVarQueryParameter['languageCode'] = languageCode;
23374
+ }
23375
+
23376
+
23377
+
23378
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23379
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23380
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23381
+
23382
+ return {
23383
+ url: toPathString(localVarUrlObj),
23384
+ options: localVarRequestOptions,
23385
+ };
23386
+ },
23387
+ /**
23388
+ *
23389
+ * @summary Update FaqCategory.
23390
+ * @param {string} faqCategoryId
23391
+ * @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
23392
+ * @param {*} [options] Override http request option.
23393
+ * @throws {RequiredError}
23394
+ */
23395
+ apiV1FaqcategoriesFaqCategoryIdPut: async (faqCategoryId: string, updateFaqCategoryCommand?: UpdateFaqCategoryCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23396
+ // verify required parameter 'faqCategoryId' is not null or undefined
23397
+ assertParamExists('apiV1FaqcategoriesFaqCategoryIdPut', 'faqCategoryId', faqCategoryId)
23398
+ const localVarPath = `/api/v1/faqcategories/{faqCategoryId}`
23399
+ .replace(`{${"faqCategoryId"}}`, encodeURIComponent(String(faqCategoryId)));
23400
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23401
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23402
+ let baseOptions;
23403
+ if (configuration) {
23404
+ baseOptions = configuration.baseOptions;
23405
+ }
23406
+
23407
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
23408
+ const localVarHeaderParameter = {} as any;
23409
+ const localVarQueryParameter = {} as any;
23410
+
23411
+ // authentication oauth2 required
23412
+ // oauth required
23413
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23414
+
23415
+
23416
+
23417
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23418
+
23419
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23420
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23421
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23422
+ localVarRequestOptions.data = serializeDataIfNeeded(updateFaqCategoryCommand, localVarRequestOptions, configuration)
23423
+
23424
+ return {
23425
+ url: toPathString(localVarUrlObj),
23426
+ options: localVarRequestOptions,
23427
+ };
23428
+ },
23429
+ /**
23430
+ *
23431
+ * @summary Get all FaqCategories.
23432
+ * @param {string} [id]
23433
+ * @param {string} [parentId]
23434
+ * @param {string} [name]
23435
+ * @param {string} [description]
23436
+ * @param {string} [languageCode]
23437
+ * @param {number} [page]
23438
+ * @param {number} [limit]
23439
+ * @param {Date} [lastRetrieved]
23440
+ * @param {*} [options] Override http request option.
23441
+ * @throws {RequiredError}
23442
+ */
23443
+ apiV1FaqcategoriesGet: async (id?: string, parentId?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23444
+ const localVarPath = `/api/v1/faqcategories`;
23445
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23446
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23447
+ let baseOptions;
23448
+ if (configuration) {
23449
+ baseOptions = configuration.baseOptions;
23450
+ }
23451
+
23452
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23453
+ const localVarHeaderParameter = {} as any;
23454
+ const localVarQueryParameter = {} as any;
23455
+
23456
+ // authentication oauth2 required
23457
+ // oauth required
23458
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23459
+
23460
+ if (id !== undefined) {
23461
+ localVarQueryParameter['Id'] = id;
23462
+ }
23463
+
23464
+ if (parentId !== undefined) {
23465
+ localVarQueryParameter['ParentId'] = parentId;
23466
+ }
23467
+
23468
+ if (name !== undefined) {
23469
+ localVarQueryParameter['Name'] = name;
23470
+ }
23471
+
23472
+ if (description !== undefined) {
23473
+ localVarQueryParameter['Description'] = description;
23474
+ }
23475
+
23476
+ if (languageCode !== undefined) {
23477
+ localVarQueryParameter['LanguageCode'] = languageCode;
23478
+ }
23479
+
23480
+ if (page !== undefined) {
23481
+ localVarQueryParameter['page'] = page;
23482
+ }
23483
+
23484
+ if (limit !== undefined) {
23485
+ localVarQueryParameter['limit'] = limit;
23486
+ }
23487
+
23488
+ if (lastRetrieved !== undefined) {
23489
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
23490
+ (lastRetrieved as any).toISOString() :
23491
+ lastRetrieved;
23492
+ }
23493
+
23494
+
23495
+
23496
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23497
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23498
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23499
+
23500
+ return {
23501
+ url: toPathString(localVarUrlObj),
23502
+ options: localVarRequestOptions,
23503
+ };
23504
+ },
23505
+ /**
23506
+ *
23507
+ * @summary Create a FaqCategory.
23508
+ * @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
23509
+ * @param {*} [options] Override http request option.
23510
+ * @throws {RequiredError}
23511
+ */
23512
+ apiV1FaqcategoriesPost: async (createFaqCategoryCommand?: CreateFaqCategoryCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23513
+ const localVarPath = `/api/v1/faqcategories`;
23514
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23515
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23516
+ let baseOptions;
23517
+ if (configuration) {
23518
+ baseOptions = configuration.baseOptions;
23519
+ }
23520
+
23521
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
23522
+ const localVarHeaderParameter = {} as any;
23523
+ const localVarQueryParameter = {} as any;
23524
+
23525
+ // authentication oauth2 required
23526
+ // oauth required
23527
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23528
+
23529
+
23530
+
23531
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23532
+
23533
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23534
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23535
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23536
+ localVarRequestOptions.data = serializeDataIfNeeded(createFaqCategoryCommand, localVarRequestOptions, configuration)
23537
+
23538
+ return {
23539
+ url: toPathString(localVarUrlObj),
23540
+ options: localVarRequestOptions,
23541
+ };
23542
+ },
23543
+ /**
23544
+ *
23545
+ * @summary Get FaqCategory by slug.
23546
+ * @param {string} slug
23547
+ * @param {string} [languageCode]
23548
+ * @param {*} [options] Override http request option.
23549
+ * @throws {RequiredError}
23550
+ */
23551
+ apiV1FaqcategoriesSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23552
+ // verify required parameter 'slug' is not null or undefined
23553
+ assertParamExists('apiV1FaqcategoriesSlugGet', 'slug', slug)
23554
+ const localVarPath = `/api/v1/faqcategories/{slug}`
23555
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
23556
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23557
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23558
+ let baseOptions;
23559
+ if (configuration) {
23560
+ baseOptions = configuration.baseOptions;
23561
+ }
23562
+
23563
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23564
+ const localVarHeaderParameter = {} as any;
23565
+ const localVarQueryParameter = {} as any;
23566
+
23567
+ // authentication oauth2 required
23568
+ // oauth required
23569
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23570
+
23571
+ if (languageCode !== undefined) {
23572
+ localVarQueryParameter['languageCode'] = languageCode;
23573
+ }
23574
+
23575
+
23576
+
23577
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23578
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23579
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23580
+
23581
+ return {
23582
+ url: toPathString(localVarUrlObj),
23583
+ options: localVarRequestOptions,
23584
+ };
23585
+ },
23586
+ }
23587
+ };
23588
+
23589
+ /**
23590
+ * FaqCategoriesApi - functional programming interface
23591
+ * @export
23592
+ */
23593
+ export const FaqCategoriesApiFp = function(configuration?: Configuration) {
23594
+ const localVarAxiosParamCreator = FaqCategoriesApiAxiosParamCreator(configuration)
23595
+ return {
23596
+ /**
23597
+ *
23598
+ * @summary Get BreadCrumbs.
23599
+ * @param {string} faqId
23600
+ * @param {string} [languageCode]
23601
+ * @param {*} [options] Override http request option.
23602
+ * @throws {RequiredError}
23603
+ */
23604
+ async apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FaqCategoryBreadCrumbModel>>> {
23605
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId, languageCode, options);
23606
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23607
+ },
23608
+ /**
23609
+ *
23610
+ * @summary Delete FaqCategory.
23611
+ * @param {string} faqCategoryId
23612
+ * @param {boolean} [forceDelete]
23613
+ * @param {*} [options] Override http request option.
23614
+ * @throws {RequiredError}
23615
+ */
23616
+ async apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId: string, forceDelete?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
23617
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId, forceDelete, options);
23618
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23619
+ },
23620
+ /**
23621
+ *
23622
+ * @summary Get FaqCategory.
23623
+ * @param {string} faqCategoryId
23624
+ * @param {string} [languageCode]
23625
+ * @param {*} [options] Override http request option.
23626
+ * @throws {RequiredError}
23627
+ */
23628
+ async apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqCategoryModel>> {
23629
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, options);
23630
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23631
+ },
23632
+ /**
23633
+ *
23634
+ * @summary Update FaqCategory.
23635
+ * @param {string} faqCategoryId
23636
+ * @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
23637
+ * @param {*} [options] Override http request option.
23638
+ * @throws {RequiredError}
23639
+ */
23640
+ async apiV1FaqcategoriesFaqCategoryIdPut(faqCategoryId: string, updateFaqCategoryCommand?: UpdateFaqCategoryCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqCategoryModel>> {
23641
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesFaqCategoryIdPut(faqCategoryId, updateFaqCategoryCommand, options);
23642
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23643
+ },
23644
+ /**
23645
+ *
23646
+ * @summary Get all FaqCategories.
23647
+ * @param {string} [id]
23648
+ * @param {string} [parentId]
23649
+ * @param {string} [name]
23650
+ * @param {string} [description]
23651
+ * @param {string} [languageCode]
23652
+ * @param {number} [page]
23653
+ * @param {number} [limit]
23654
+ * @param {Date} [lastRetrieved]
23655
+ * @param {*} [options] Override http request option.
23656
+ * @throws {RequiredError}
23657
+ */
23658
+ async apiV1FaqcategoriesGet(id?: string, parentId?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqCategoriesModel>> {
23659
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesGet(id, parentId, name, description, languageCode, page, limit, lastRetrieved, options);
23660
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23661
+ },
23662
+ /**
23663
+ *
23664
+ * @summary Create a FaqCategory.
23665
+ * @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
23666
+ * @param {*} [options] Override http request option.
23667
+ * @throws {RequiredError}
23668
+ */
23669
+ async apiV1FaqcategoriesPost(createFaqCategoryCommand?: CreateFaqCategoryCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqCategoryModel>> {
23670
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesPost(createFaqCategoryCommand, options);
23671
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23672
+ },
23673
+ /**
23674
+ *
23675
+ * @summary Get FaqCategory by slug.
23676
+ * @param {string} slug
23677
+ * @param {string} [languageCode]
23678
+ * @param {*} [options] Override http request option.
23679
+ * @throws {RequiredError}
23680
+ */
23681
+ async apiV1FaqcategoriesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqCategoryModel>> {
23682
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesSlugGet(slug, languageCode, options);
23683
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23684
+ },
23685
+ }
23686
+ };
23687
+
23688
+ /**
23689
+ * FaqCategoriesApi - factory interface
23690
+ * @export
23691
+ */
23692
+ export const FaqCategoriesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
23693
+ const localVarFp = FaqCategoriesApiFp(configuration)
23694
+ return {
23695
+ /**
23696
+ *
23697
+ * @summary Get BreadCrumbs.
23698
+ * @param {string} faqId
23699
+ * @param {string} [languageCode]
23700
+ * @param {*} [options] Override http request option.
23701
+ * @throws {RequiredError}
23702
+ */
23703
+ apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId: string, languageCode?: string, options?: any): AxiosPromise<Array<FaqCategoryBreadCrumbModel>> {
23704
+ return localVarFp.apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId, languageCode, options).then((request) => request(axios, basePath));
23705
+ },
23706
+ /**
23707
+ *
23708
+ * @summary Delete FaqCategory.
23709
+ * @param {string} faqCategoryId
23710
+ * @param {boolean} [forceDelete]
23711
+ * @param {*} [options] Override http request option.
23712
+ * @throws {RequiredError}
23713
+ */
23714
+ apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId: string, forceDelete?: boolean, options?: any): AxiosPromise<boolean> {
23715
+ return localVarFp.apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId, forceDelete, options).then((request) => request(axios, basePath));
23716
+ },
23717
+ /**
23718
+ *
23719
+ * @summary Get FaqCategory.
23720
+ * @param {string} faqCategoryId
23721
+ * @param {string} [languageCode]
23722
+ * @param {*} [options] Override http request option.
23723
+ * @throws {RequiredError}
23724
+ */
23725
+ apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string, options?: any): AxiosPromise<FaqCategoryModel> {
23726
+ return localVarFp.apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, options).then((request) => request(axios, basePath));
23727
+ },
23728
+ /**
23729
+ *
23730
+ * @summary Update FaqCategory.
23731
+ * @param {string} faqCategoryId
23732
+ * @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
23733
+ * @param {*} [options] Override http request option.
23734
+ * @throws {RequiredError}
23735
+ */
23736
+ apiV1FaqcategoriesFaqCategoryIdPut(faqCategoryId: string, updateFaqCategoryCommand?: UpdateFaqCategoryCommand, options?: any): AxiosPromise<FaqCategoryModel> {
23737
+ return localVarFp.apiV1FaqcategoriesFaqCategoryIdPut(faqCategoryId, updateFaqCategoryCommand, options).then((request) => request(axios, basePath));
23738
+ },
23739
+ /**
23740
+ *
23741
+ * @summary Get all FaqCategories.
23742
+ * @param {string} [id]
23743
+ * @param {string} [parentId]
23744
+ * @param {string} [name]
23745
+ * @param {string} [description]
23746
+ * @param {string} [languageCode]
23747
+ * @param {number} [page]
23748
+ * @param {number} [limit]
23749
+ * @param {Date} [lastRetrieved]
23750
+ * @param {*} [options] Override http request option.
23751
+ * @throws {RequiredError}
23752
+ */
23753
+ apiV1FaqcategoriesGet(id?: string, parentId?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<FaqCategoriesModel> {
23754
+ return localVarFp.apiV1FaqcategoriesGet(id, parentId, name, description, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
23755
+ },
23756
+ /**
23757
+ *
23758
+ * @summary Create a FaqCategory.
23759
+ * @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
23760
+ * @param {*} [options] Override http request option.
23761
+ * @throws {RequiredError}
23762
+ */
23763
+ apiV1FaqcategoriesPost(createFaqCategoryCommand?: CreateFaqCategoryCommand, options?: any): AxiosPromise<FaqCategoryModel> {
23764
+ return localVarFp.apiV1FaqcategoriesPost(createFaqCategoryCommand, options).then((request) => request(axios, basePath));
23765
+ },
23766
+ /**
23767
+ *
23768
+ * @summary Get FaqCategory by slug.
23769
+ * @param {string} slug
23770
+ * @param {string} [languageCode]
23771
+ * @param {*} [options] Override http request option.
23772
+ * @throws {RequiredError}
23773
+ */
23774
+ apiV1FaqcategoriesSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<FaqCategoryModel> {
23775
+ return localVarFp.apiV1FaqcategoriesSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
23776
+ },
23777
+ };
23778
+ };
23779
+
23780
+ /**
23781
+ * FaqCategoriesApi - object-oriented interface
23782
+ * @export
23783
+ * @class FaqCategoriesApi
23784
+ * @extends {BaseAPI}
23785
+ */
23786
+ export class FaqCategoriesApi extends BaseAPI {
23787
+ /**
23788
+ *
23789
+ * @summary Get BreadCrumbs.
23790
+ * @param {string} faqId
23791
+ * @param {string} [languageCode]
23792
+ * @param {*} [options] Override http request option.
23793
+ * @throws {RequiredError}
23794
+ * @memberof FaqCategoriesApi
23795
+ */
23796
+ public apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId: string, languageCode?: string, options?: AxiosRequestConfig) {
23797
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId, languageCode, options).then((request) => request(this.axios, this.basePath));
23798
+ }
23799
+
23800
+ /**
23801
+ *
23802
+ * @summary Delete FaqCategory.
23803
+ * @param {string} faqCategoryId
23804
+ * @param {boolean} [forceDelete]
23805
+ * @param {*} [options] Override http request option.
23806
+ * @throws {RequiredError}
23807
+ * @memberof FaqCategoriesApi
23808
+ */
23809
+ public apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId: string, forceDelete?: boolean, options?: AxiosRequestConfig) {
23810
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId, forceDelete, options).then((request) => request(this.axios, this.basePath));
23811
+ }
23812
+
23813
+ /**
23814
+ *
23815
+ * @summary Get FaqCategory.
23816
+ * @param {string} faqCategoryId
23817
+ * @param {string} [languageCode]
23818
+ * @param {*} [options] Override http request option.
23819
+ * @throws {RequiredError}
23820
+ * @memberof FaqCategoriesApi
23821
+ */
23822
+ public apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string, options?: AxiosRequestConfig) {
23823
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, options).then((request) => request(this.axios, this.basePath));
23824
+ }
23825
+
23826
+ /**
23827
+ *
23828
+ * @summary Update FaqCategory.
23829
+ * @param {string} faqCategoryId
23830
+ * @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
23831
+ * @param {*} [options] Override http request option.
23832
+ * @throws {RequiredError}
23833
+ * @memberof FaqCategoriesApi
23834
+ */
23835
+ public apiV1FaqcategoriesFaqCategoryIdPut(faqCategoryId: string, updateFaqCategoryCommand?: UpdateFaqCategoryCommand, options?: AxiosRequestConfig) {
23836
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesFaqCategoryIdPut(faqCategoryId, updateFaqCategoryCommand, options).then((request) => request(this.axios, this.basePath));
23837
+ }
23838
+
23839
+ /**
23840
+ *
23841
+ * @summary Get all FaqCategories.
23842
+ * @param {string} [id]
23843
+ * @param {string} [parentId]
23844
+ * @param {string} [name]
23845
+ * @param {string} [description]
23846
+ * @param {string} [languageCode]
23847
+ * @param {number} [page]
23848
+ * @param {number} [limit]
23849
+ * @param {Date} [lastRetrieved]
23850
+ * @param {*} [options] Override http request option.
23851
+ * @throws {RequiredError}
23852
+ * @memberof FaqCategoriesApi
23853
+ */
23854
+ public apiV1FaqcategoriesGet(id?: string, parentId?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
23855
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesGet(id, parentId, name, description, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
23856
+ }
23857
+
23858
+ /**
23859
+ *
23860
+ * @summary Create a FaqCategory.
23861
+ * @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
23862
+ * @param {*} [options] Override http request option.
23863
+ * @throws {RequiredError}
23864
+ * @memberof FaqCategoriesApi
23865
+ */
23866
+ public apiV1FaqcategoriesPost(createFaqCategoryCommand?: CreateFaqCategoryCommand, options?: AxiosRequestConfig) {
23867
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesPost(createFaqCategoryCommand, options).then((request) => request(this.axios, this.basePath));
23868
+ }
23869
+
23870
+ /**
23871
+ *
23872
+ * @summary Get FaqCategory by slug.
23873
+ * @param {string} slug
23874
+ * @param {string} [languageCode]
23875
+ * @param {*} [options] Override http request option.
23876
+ * @throws {RequiredError}
23877
+ * @memberof FaqCategoriesApi
23878
+ */
23879
+ public apiV1FaqcategoriesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
23880
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
23881
+ }
23882
+ }
23883
+
23884
+
23885
+ /**
23886
+ * FaqsApi - axios parameter creator
23887
+ * @export
23888
+ */
23889
+ export const FaqsApiAxiosParamCreator = function (configuration?: Configuration) {
23890
+ return {
23891
+ /**
23892
+ *
23893
+ * @summary Delete faq.
23894
+ * @param {string} faqId
23895
+ * @param {*} [options] Override http request option.
23896
+ * @throws {RequiredError}
23897
+ */
23898
+ apiV1FaqsFaqIdDelete: async (faqId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23899
+ // verify required parameter 'faqId' is not null or undefined
23900
+ assertParamExists('apiV1FaqsFaqIdDelete', 'faqId', faqId)
23901
+ const localVarPath = `/api/v1/faqs/{faqId}`
23902
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)));
23903
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23904
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23905
+ let baseOptions;
23906
+ if (configuration) {
23907
+ baseOptions = configuration.baseOptions;
23908
+ }
23909
+
23910
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
23911
+ const localVarHeaderParameter = {} as any;
23912
+ const localVarQueryParameter = {} as any;
23913
+
23914
+ // authentication oauth2 required
23915
+ // oauth required
23916
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23917
+
23918
+
23919
+
23920
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23921
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23922
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23923
+
23924
+ return {
23925
+ url: toPathString(localVarUrlObj),
23926
+ options: localVarRequestOptions,
23927
+ };
23928
+ },
23929
+ /**
23930
+ *
23931
+ * @summary Get faq.
23932
+ * @param {string} faqId
23933
+ * @param {string} [languageCode]
23934
+ * @param {*} [options] Override http request option.
23935
+ * @throws {RequiredError}
23936
+ */
23937
+ apiV1FaqsFaqIdGet: async (faqId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23938
+ // verify required parameter 'faqId' is not null or undefined
23939
+ assertParamExists('apiV1FaqsFaqIdGet', 'faqId', faqId)
23940
+ const localVarPath = `/api/v1/faqs/{faqId}`
23941
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)));
23942
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23943
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23944
+ let baseOptions;
23945
+ if (configuration) {
23946
+ baseOptions = configuration.baseOptions;
23947
+ }
23948
+
23949
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23950
+ const localVarHeaderParameter = {} as any;
23951
+ const localVarQueryParameter = {} as any;
23952
+
23953
+ // authentication oauth2 required
23954
+ // oauth required
23955
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23956
+
23957
+ if (languageCode !== undefined) {
23958
+ localVarQueryParameter['languageCode'] = languageCode;
23959
+ }
23960
+
23961
+
23962
+
23963
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23964
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23965
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23966
+
23967
+ return {
23968
+ url: toPathString(localVarUrlObj),
23969
+ options: localVarRequestOptions,
23970
+ };
23971
+ },
23972
+ /**
23973
+ *
23974
+ * @summary Get all FaqMedias.
23975
+ * @param {string} faqId
23976
+ * @param {string} [id]
23977
+ * @param {MediaType} [mediaType]
23978
+ * @param {number} [page]
23979
+ * @param {number} [limit]
23980
+ * @param {Date} [lastRetrieved]
23981
+ * @param {*} [options] Override http request option.
23982
+ * @throws {RequiredError}
23983
+ */
23984
+ apiV1FaqsFaqIdMediasGet: async (faqId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23985
+ // verify required parameter 'faqId' is not null or undefined
23986
+ assertParamExists('apiV1FaqsFaqIdMediasGet', 'faqId', faqId)
23987
+ const localVarPath = `/api/v1/faqs/{faqId}/medias`
23988
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)));
23989
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23990
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23991
+ let baseOptions;
23992
+ if (configuration) {
23993
+ baseOptions = configuration.baseOptions;
23994
+ }
23995
+
23996
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23997
+ const localVarHeaderParameter = {} as any;
23998
+ const localVarQueryParameter = {} as any;
23999
+
24000
+ // authentication oauth2 required
24001
+ // oauth required
24002
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24003
+
24004
+ if (id !== undefined) {
24005
+ localVarQueryParameter['Id'] = id;
24006
+ }
24007
+
24008
+ if (mediaType !== undefined) {
24009
+ localVarQueryParameter['MediaType'] = mediaType;
24010
+ }
24011
+
24012
+ if (page !== undefined) {
24013
+ localVarQueryParameter['page'] = page;
24014
+ }
24015
+
24016
+ if (limit !== undefined) {
24017
+ localVarQueryParameter['limit'] = limit;
24018
+ }
24019
+
24020
+ if (lastRetrieved !== undefined) {
24021
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
24022
+ (lastRetrieved as any).toISOString() :
24023
+ lastRetrieved;
24024
+ }
24025
+
24026
+
24027
+
24028
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24029
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24030
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24031
+
24032
+ return {
24033
+ url: toPathString(localVarUrlObj),
24034
+ options: localVarRequestOptions,
24035
+ };
24036
+ },
24037
+ /**
24038
+ *
24039
+ * @summary Delete FaqMedia
24040
+ * @param {string} faqId
24041
+ * @param {string} mediaId
24042
+ * @param {*} [options] Override http request option.
24043
+ * @throws {RequiredError}
24044
+ */
24045
+ apiV1FaqsFaqIdMediasMediaIdDelete: async (faqId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24046
+ // verify required parameter 'faqId' is not null or undefined
24047
+ assertParamExists('apiV1FaqsFaqIdMediasMediaIdDelete', 'faqId', faqId)
24048
+ // verify required parameter 'mediaId' is not null or undefined
24049
+ assertParamExists('apiV1FaqsFaqIdMediasMediaIdDelete', 'mediaId', mediaId)
24050
+ const localVarPath = `/api/v1/faqs/{faqId}/medias/{mediaId}`
24051
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)))
24052
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
24053
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24054
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24055
+ let baseOptions;
24056
+ if (configuration) {
24057
+ baseOptions = configuration.baseOptions;
24058
+ }
24059
+
24060
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
24061
+ const localVarHeaderParameter = {} as any;
24062
+ const localVarQueryParameter = {} as any;
24063
+
24064
+ // authentication oauth2 required
24065
+ // oauth required
24066
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24067
+
24068
+
24069
+
24070
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24071
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24072
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24073
+
24074
+ return {
24075
+ url: toPathString(localVarUrlObj),
24076
+ options: localVarRequestOptions,
24077
+ };
24078
+ },
24079
+ /**
24080
+ *
24081
+ * @summary Get FaqMedia.
24082
+ * @param {string} faqId
24083
+ * @param {string} mediaId
24084
+ * @param {*} [options] Override http request option.
24085
+ * @throws {RequiredError}
24086
+ */
24087
+ apiV1FaqsFaqIdMediasMediaIdGet: async (faqId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24088
+ // verify required parameter 'faqId' is not null or undefined
24089
+ assertParamExists('apiV1FaqsFaqIdMediasMediaIdGet', 'faqId', faqId)
24090
+ // verify required parameter 'mediaId' is not null or undefined
24091
+ assertParamExists('apiV1FaqsFaqIdMediasMediaIdGet', 'mediaId', mediaId)
24092
+ const localVarPath = `/api/v1/faqs/{faqId}/medias/{mediaId}`
24093
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)))
24094
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
24095
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24096
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24097
+ let baseOptions;
24098
+ if (configuration) {
24099
+ baseOptions = configuration.baseOptions;
24100
+ }
24101
+
24102
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
24103
+ const localVarHeaderParameter = {} as any;
24104
+ const localVarQueryParameter = {} as any;
24105
+
24106
+ // authentication oauth2 required
24107
+ // oauth required
24108
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24109
+
24110
+
24111
+
24112
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24113
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24114
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24115
+
24116
+ return {
24117
+ url: toPathString(localVarUrlObj),
24118
+ options: localVarRequestOptions,
24119
+ };
24120
+ },
24121
+ /**
24122
+ *
24123
+ * @summary Update FaqMedia.
24124
+ * @param {string} faqId
24125
+ * @param {string} mediaId
24126
+ * @param {UpdateMediaCommand} [updateMediaCommand]
24127
+ * @param {*} [options] Override http request option.
24128
+ * @throws {RequiredError}
24129
+ */
24130
+ apiV1FaqsFaqIdMediasMediaIdPut: async (faqId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24131
+ // verify required parameter 'faqId' is not null or undefined
24132
+ assertParamExists('apiV1FaqsFaqIdMediasMediaIdPut', 'faqId', faqId)
24133
+ // verify required parameter 'mediaId' is not null or undefined
24134
+ assertParamExists('apiV1FaqsFaqIdMediasMediaIdPut', 'mediaId', mediaId)
24135
+ const localVarPath = `/api/v1/faqs/{faqId}/medias/{mediaId}`
24136
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)))
24137
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
24138
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24139
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24140
+ let baseOptions;
24141
+ if (configuration) {
24142
+ baseOptions = configuration.baseOptions;
24143
+ }
24144
+
24145
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
24146
+ const localVarHeaderParameter = {} as any;
24147
+ const localVarQueryParameter = {} as any;
24148
+
24149
+ // authentication oauth2 required
24150
+ // oauth required
24151
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24152
+
24153
+
24154
+
24155
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24156
+
24157
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24158
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24159
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24160
+ localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
24161
+
24162
+ return {
24163
+ url: toPathString(localVarUrlObj),
24164
+ options: localVarRequestOptions,
24165
+ };
24166
+ },
24167
+ /**
24168
+ *
24169
+ * @summary Create FaqMedia.
24170
+ * @param {string} faqId
24171
+ * @param {CreateMediaCommand} [createMediaCommand]
24172
+ * @param {*} [options] Override http request option.
24173
+ * @throws {RequiredError}
24174
+ */
24175
+ apiV1FaqsFaqIdMediasPost: async (faqId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24176
+ // verify required parameter 'faqId' is not null or undefined
24177
+ assertParamExists('apiV1FaqsFaqIdMediasPost', 'faqId', faqId)
24178
+ const localVarPath = `/api/v1/faqs/{faqId}/medias`
24179
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)));
24180
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24181
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24182
+ let baseOptions;
24183
+ if (configuration) {
24184
+ baseOptions = configuration.baseOptions;
24185
+ }
24186
+
24187
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
24188
+ const localVarHeaderParameter = {} as any;
24189
+ const localVarQueryParameter = {} as any;
24190
+
24191
+ // authentication oauth2 required
24192
+ // oauth required
24193
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24194
+
24195
+
24196
+
24197
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24198
+
24199
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24200
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24201
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24202
+ localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
24203
+
24204
+ return {
24205
+ url: toPathString(localVarUrlObj),
24206
+ options: localVarRequestOptions,
24207
+ };
24208
+ },
24209
+ /**
24210
+ *
24211
+ * @summary Update faq.
24212
+ * @param {string} faqId
24213
+ * @param {UpdateFaqCommand} [updateFaqCommand]
24214
+ * @param {*} [options] Override http request option.
24215
+ * @throws {RequiredError}
24216
+ */
24217
+ apiV1FaqsFaqIdPut: async (faqId: string, updateFaqCommand?: UpdateFaqCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24218
+ // verify required parameter 'faqId' is not null or undefined
24219
+ assertParamExists('apiV1FaqsFaqIdPut', 'faqId', faqId)
24220
+ const localVarPath = `/api/v1/faqs/{faqId}`
24221
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)));
24222
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24223
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24224
+ let baseOptions;
24225
+ if (configuration) {
24226
+ baseOptions = configuration.baseOptions;
24227
+ }
24228
+
24229
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
24230
+ const localVarHeaderParameter = {} as any;
24231
+ const localVarQueryParameter = {} as any;
24232
+
24233
+ // authentication oauth2 required
24234
+ // oauth required
24235
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24236
+
24237
+
24238
+
24239
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24240
+
24241
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24242
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24243
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24244
+ localVarRequestOptions.data = serializeDataIfNeeded(updateFaqCommand, localVarRequestOptions, configuration)
24245
+
24246
+ return {
24247
+ url: toPathString(localVarUrlObj),
24248
+ options: localVarRequestOptions,
24249
+ };
24250
+ },
24251
+ /**
24252
+ *
24253
+ * @summary Get all Faqs.
24254
+ * @param {string} [id]
24255
+ * @param {string} [title]
24256
+ * @param {string} [content]
24257
+ * @param {string} [categoryId]
24258
+ * @param {string} [languageCode]
24259
+ * @param {number} [page]
24260
+ * @param {number} [limit]
24261
+ * @param {Date} [lastRetrieved]
24262
+ * @param {*} [options] Override http request option.
24263
+ * @throws {RequiredError}
24264
+ */
24265
+ apiV1FaqsGet: async (id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24266
+ const localVarPath = `/api/v1/faqs`;
24267
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24268
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24269
+ let baseOptions;
24270
+ if (configuration) {
24271
+ baseOptions = configuration.baseOptions;
24272
+ }
24273
+
24274
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
24275
+ const localVarHeaderParameter = {} as any;
24276
+ const localVarQueryParameter = {} as any;
24277
+
24278
+ // authentication oauth2 required
24279
+ // oauth required
24280
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24281
+
24282
+ if (id !== undefined) {
24283
+ localVarQueryParameter['Id'] = id;
24284
+ }
24285
+
24286
+ if (title !== undefined) {
24287
+ localVarQueryParameter['Title'] = title;
24288
+ }
24289
+
24290
+ if (content !== undefined) {
24291
+ localVarQueryParameter['Content'] = content;
24292
+ }
24293
+
24294
+ if (categoryId !== undefined) {
24295
+ localVarQueryParameter['CategoryId'] = categoryId;
24296
+ }
24297
+
24298
+ if (languageCode !== undefined) {
24299
+ localVarQueryParameter['LanguageCode'] = languageCode;
24300
+ }
24301
+
24302
+ if (page !== undefined) {
24303
+ localVarQueryParameter['page'] = page;
24304
+ }
24305
+
24306
+ if (limit !== undefined) {
24307
+ localVarQueryParameter['limit'] = limit;
24308
+ }
24309
+
24310
+ if (lastRetrieved !== undefined) {
24311
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
24312
+ (lastRetrieved as any).toISOString() :
24313
+ lastRetrieved;
24314
+ }
24315
+
24316
+
24317
+
24318
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24319
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24320
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24321
+
24322
+ return {
24323
+ url: toPathString(localVarUrlObj),
24324
+ options: localVarRequestOptions,
24325
+ };
24326
+ },
24327
+ /**
24328
+ *
24329
+ * @summary Create a faq.
24330
+ * @param {CreateFaqCommand} [createFaqCommand]
24331
+ * @param {*} [options] Override http request option.
24332
+ * @throws {RequiredError}
24333
+ */
24334
+ apiV1FaqsPost: async (createFaqCommand?: CreateFaqCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24335
+ const localVarPath = `/api/v1/faqs`;
24336
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24337
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24338
+ let baseOptions;
24339
+ if (configuration) {
24340
+ baseOptions = configuration.baseOptions;
24341
+ }
24342
+
24343
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
24344
+ const localVarHeaderParameter = {} as any;
24345
+ const localVarQueryParameter = {} as any;
24346
+
24347
+ // authentication oauth2 required
24348
+ // oauth required
24349
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24350
+
24351
+
24352
+
24353
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24354
+
24355
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24356
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24357
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24358
+ localVarRequestOptions.data = serializeDataIfNeeded(createFaqCommand, localVarRequestOptions, configuration)
24359
+
24360
+ return {
24361
+ url: toPathString(localVarUrlObj),
24362
+ options: localVarRequestOptions,
24363
+ };
24364
+ },
24365
+ /**
24366
+ *
24367
+ * @summary Get faq by slug.
24368
+ * @param {string} slug
24369
+ * @param {string} [languageCode]
24370
+ * @param {*} [options] Override http request option.
24371
+ * @throws {RequiredError}
24372
+ */
24373
+ apiV1FaqsSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24374
+ // verify required parameter 'slug' is not null or undefined
24375
+ assertParamExists('apiV1FaqsSlugGet', 'slug', slug)
24376
+ const localVarPath = `/api/v1/faqs/{slug}`
24377
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
24378
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24379
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24380
+ let baseOptions;
24381
+ if (configuration) {
24382
+ baseOptions = configuration.baseOptions;
24383
+ }
24384
+
24385
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
24386
+ const localVarHeaderParameter = {} as any;
24387
+ const localVarQueryParameter = {} as any;
24388
+
24389
+ // authentication oauth2 required
24390
+ // oauth required
24391
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24392
+
24393
+ if (languageCode !== undefined) {
24394
+ localVarQueryParameter['languageCode'] = languageCode;
24395
+ }
24396
+
24397
+
24398
+
24399
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24400
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24401
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24402
+
24403
+ return {
24404
+ url: toPathString(localVarUrlObj),
24405
+ options: localVarRequestOptions,
24406
+ };
24407
+ },
24408
+ }
24409
+ };
24410
+
24411
+ /**
24412
+ * FaqsApi - functional programming interface
24413
+ * @export
24414
+ */
24415
+ export const FaqsApiFp = function(configuration?: Configuration) {
24416
+ const localVarAxiosParamCreator = FaqsApiAxiosParamCreator(configuration)
24417
+ return {
24418
+ /**
24419
+ *
24420
+ * @summary Delete faq.
24421
+ * @param {string} faqId
24422
+ * @param {*} [options] Override http request option.
24423
+ * @throws {RequiredError}
24424
+ */
24425
+ async apiV1FaqsFaqIdDelete(faqId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
24426
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdDelete(faqId, options);
24427
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24428
+ },
24429
+ /**
24430
+ *
24431
+ * @summary Get faq.
24432
+ * @param {string} faqId
24433
+ * @param {string} [languageCode]
24434
+ * @param {*} [options] Override http request option.
24435
+ * @throws {RequiredError}
24436
+ */
24437
+ async apiV1FaqsFaqIdGet(faqId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqModel>> {
24438
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdGet(faqId, languageCode, options);
24439
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24440
+ },
24441
+ /**
24442
+ *
24443
+ * @summary Get all FaqMedias.
24444
+ * @param {string} faqId
24445
+ * @param {string} [id]
24446
+ * @param {MediaType} [mediaType]
24447
+ * @param {number} [page]
24448
+ * @param {number} [limit]
24449
+ * @param {Date} [lastRetrieved]
24450
+ * @param {*} [options] Override http request option.
24451
+ * @throws {RequiredError}
24452
+ */
24453
+ async apiV1FaqsFaqIdMediasGet(faqId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
24454
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdMediasGet(faqId, id, mediaType, page, limit, lastRetrieved, options);
24455
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24456
+ },
24457
+ /**
24458
+ *
24459
+ * @summary Delete FaqMedia
24460
+ * @param {string} faqId
24461
+ * @param {string} mediaId
24462
+ * @param {*} [options] Override http request option.
24463
+ * @throws {RequiredError}
24464
+ */
24465
+ async apiV1FaqsFaqIdMediasMediaIdDelete(faqId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
24466
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdMediasMediaIdDelete(faqId, mediaId, options);
24467
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24468
+ },
24469
+ /**
24470
+ *
24471
+ * @summary Get FaqMedia.
24472
+ * @param {string} faqId
24473
+ * @param {string} mediaId
24474
+ * @param {*} [options] Override http request option.
24475
+ * @throws {RequiredError}
24476
+ */
24477
+ async apiV1FaqsFaqIdMediasMediaIdGet(faqId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
24478
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdMediasMediaIdGet(faqId, mediaId, options);
24479
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24480
+ },
24481
+ /**
24482
+ *
24483
+ * @summary Update FaqMedia.
24484
+ * @param {string} faqId
24485
+ * @param {string} mediaId
24486
+ * @param {UpdateMediaCommand} [updateMediaCommand]
24487
+ * @param {*} [options] Override http request option.
24488
+ * @throws {RequiredError}
24489
+ */
24490
+ async apiV1FaqsFaqIdMediasMediaIdPut(faqId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
24491
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdMediasMediaIdPut(faqId, mediaId, updateMediaCommand, options);
24492
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24493
+ },
24494
+ /**
24495
+ *
24496
+ * @summary Create FaqMedia.
24497
+ * @param {string} faqId
24498
+ * @param {CreateMediaCommand} [createMediaCommand]
24499
+ * @param {*} [options] Override http request option.
24500
+ * @throws {RequiredError}
24501
+ */
24502
+ async apiV1FaqsFaqIdMediasPost(faqId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
24503
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdMediasPost(faqId, createMediaCommand, options);
24504
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24505
+ },
24506
+ /**
24507
+ *
24508
+ * @summary Update faq.
24509
+ * @param {string} faqId
24510
+ * @param {UpdateFaqCommand} [updateFaqCommand]
24511
+ * @param {*} [options] Override http request option.
24512
+ * @throws {RequiredError}
24513
+ */
24514
+ async apiV1FaqsFaqIdPut(faqId: string, updateFaqCommand?: UpdateFaqCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqModel>> {
24515
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdPut(faqId, updateFaqCommand, options);
24516
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24517
+ },
24518
+ /**
24519
+ *
24520
+ * @summary Get all Faqs.
24521
+ * @param {string} [id]
24522
+ * @param {string} [title]
24523
+ * @param {string} [content]
24524
+ * @param {string} [categoryId]
24525
+ * @param {string} [languageCode]
24526
+ * @param {number} [page]
24527
+ * @param {number} [limit]
24528
+ * @param {Date} [lastRetrieved]
24529
+ * @param {*} [options] Override http request option.
24530
+ * @throws {RequiredError}
24531
+ */
24532
+ async apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqsModel>> {
24533
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsGet(id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options);
24534
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24535
+ },
24536
+ /**
24537
+ *
24538
+ * @summary Create a faq.
24539
+ * @param {CreateFaqCommand} [createFaqCommand]
24540
+ * @param {*} [options] Override http request option.
24541
+ * @throws {RequiredError}
24542
+ */
24543
+ async apiV1FaqsPost(createFaqCommand?: CreateFaqCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqModel>> {
24544
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsPost(createFaqCommand, options);
24545
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24546
+ },
24547
+ /**
24548
+ *
24549
+ * @summary Get faq by slug.
24550
+ * @param {string} slug
24551
+ * @param {string} [languageCode]
24552
+ * @param {*} [options] Override http request option.
24553
+ * @throws {RequiredError}
24554
+ */
24555
+ async apiV1FaqsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqModel>> {
24556
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsSlugGet(slug, languageCode, options);
24557
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24558
+ },
24559
+ }
24560
+ };
24561
+
24562
+ /**
24563
+ * FaqsApi - factory interface
24564
+ * @export
24565
+ */
24566
+ export const FaqsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
24567
+ const localVarFp = FaqsApiFp(configuration)
24568
+ return {
24569
+ /**
24570
+ *
24571
+ * @summary Delete faq.
24572
+ * @param {string} faqId
24573
+ * @param {*} [options] Override http request option.
24574
+ * @throws {RequiredError}
24575
+ */
24576
+ apiV1FaqsFaqIdDelete(faqId: string, options?: any): AxiosPromise<boolean> {
24577
+ return localVarFp.apiV1FaqsFaqIdDelete(faqId, options).then((request) => request(axios, basePath));
24578
+ },
24579
+ /**
24580
+ *
24581
+ * @summary Get faq.
24582
+ * @param {string} faqId
24583
+ * @param {string} [languageCode]
24584
+ * @param {*} [options] Override http request option.
24585
+ * @throws {RequiredError}
24586
+ */
24587
+ apiV1FaqsFaqIdGet(faqId: string, languageCode?: string, options?: any): AxiosPromise<FaqModel> {
24588
+ return localVarFp.apiV1FaqsFaqIdGet(faqId, languageCode, options).then((request) => request(axios, basePath));
24589
+ },
24590
+ /**
24591
+ *
24592
+ * @summary Get all FaqMedias.
24593
+ * @param {string} faqId
24594
+ * @param {string} [id]
24595
+ * @param {MediaType} [mediaType]
24596
+ * @param {number} [page]
24597
+ * @param {number} [limit]
24598
+ * @param {Date} [lastRetrieved]
24599
+ * @param {*} [options] Override http request option.
24600
+ * @throws {RequiredError}
24601
+ */
24602
+ apiV1FaqsFaqIdMediasGet(faqId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
24603
+ return localVarFp.apiV1FaqsFaqIdMediasGet(faqId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
24604
+ },
24605
+ /**
24606
+ *
24607
+ * @summary Delete FaqMedia
24608
+ * @param {string} faqId
24609
+ * @param {string} mediaId
24610
+ * @param {*} [options] Override http request option.
24611
+ * @throws {RequiredError}
24612
+ */
24613
+ apiV1FaqsFaqIdMediasMediaIdDelete(faqId: string, mediaId: string, options?: any): AxiosPromise<boolean> {
24614
+ return localVarFp.apiV1FaqsFaqIdMediasMediaIdDelete(faqId, mediaId, options).then((request) => request(axios, basePath));
24615
+ },
24616
+ /**
24617
+ *
24618
+ * @summary Get FaqMedia.
24619
+ * @param {string} faqId
24620
+ * @param {string} mediaId
24621
+ * @param {*} [options] Override http request option.
24622
+ * @throws {RequiredError}
24623
+ */
24624
+ apiV1FaqsFaqIdMediasMediaIdGet(faqId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
24625
+ return localVarFp.apiV1FaqsFaqIdMediasMediaIdGet(faqId, mediaId, options).then((request) => request(axios, basePath));
24626
+ },
24627
+ /**
24628
+ *
24629
+ * @summary Update FaqMedia.
24630
+ * @param {string} faqId
24631
+ * @param {string} mediaId
24632
+ * @param {UpdateMediaCommand} [updateMediaCommand]
24633
+ * @param {*} [options] Override http request option.
24634
+ * @throws {RequiredError}
24635
+ */
24636
+ apiV1FaqsFaqIdMediasMediaIdPut(faqId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: any): AxiosPromise<MediaModel> {
24637
+ return localVarFp.apiV1FaqsFaqIdMediasMediaIdPut(faqId, mediaId, updateMediaCommand, options).then((request) => request(axios, basePath));
24638
+ },
24639
+ /**
24640
+ *
24641
+ * @summary Create FaqMedia.
24642
+ * @param {string} faqId
24643
+ * @param {CreateMediaCommand} [createMediaCommand]
24644
+ * @param {*} [options] Override http request option.
24645
+ * @throws {RequiredError}
24646
+ */
24647
+ apiV1FaqsFaqIdMediasPost(faqId: string, createMediaCommand?: CreateMediaCommand, options?: any): AxiosPromise<MediaModel> {
24648
+ return localVarFp.apiV1FaqsFaqIdMediasPost(faqId, createMediaCommand, options).then((request) => request(axios, basePath));
24649
+ },
24650
+ /**
24651
+ *
24652
+ * @summary Update faq.
24653
+ * @param {string} faqId
24654
+ * @param {UpdateFaqCommand} [updateFaqCommand]
24655
+ * @param {*} [options] Override http request option.
24656
+ * @throws {RequiredError}
24657
+ */
24658
+ apiV1FaqsFaqIdPut(faqId: string, updateFaqCommand?: UpdateFaqCommand, options?: any): AxiosPromise<FaqModel> {
24659
+ return localVarFp.apiV1FaqsFaqIdPut(faqId, updateFaqCommand, options).then((request) => request(axios, basePath));
24660
+ },
24661
+ /**
24662
+ *
24663
+ * @summary Get all Faqs.
24664
+ * @param {string} [id]
24665
+ * @param {string} [title]
24666
+ * @param {string} [content]
24667
+ * @param {string} [categoryId]
24668
+ * @param {string} [languageCode]
24669
+ * @param {number} [page]
24670
+ * @param {number} [limit]
24671
+ * @param {Date} [lastRetrieved]
24672
+ * @param {*} [options] Override http request option.
24673
+ * @throws {RequiredError}
24674
+ */
24675
+ apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<FaqsModel> {
24676
+ return localVarFp.apiV1FaqsGet(id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
24677
+ },
24678
+ /**
24679
+ *
24680
+ * @summary Create a faq.
24681
+ * @param {CreateFaqCommand} [createFaqCommand]
24682
+ * @param {*} [options] Override http request option.
24683
+ * @throws {RequiredError}
24684
+ */
24685
+ apiV1FaqsPost(createFaqCommand?: CreateFaqCommand, options?: any): AxiosPromise<FaqModel> {
24686
+ return localVarFp.apiV1FaqsPost(createFaqCommand, options).then((request) => request(axios, basePath));
24687
+ },
24688
+ /**
24689
+ *
24690
+ * @summary Get faq by slug.
24691
+ * @param {string} slug
24692
+ * @param {string} [languageCode]
24693
+ * @param {*} [options] Override http request option.
24694
+ * @throws {RequiredError}
24695
+ */
24696
+ apiV1FaqsSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<FaqModel> {
24697
+ return localVarFp.apiV1FaqsSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
24698
+ },
24699
+ };
24700
+ };
24701
+
24702
+ /**
24703
+ * FaqsApi - object-oriented interface
24704
+ * @export
24705
+ * @class FaqsApi
24706
+ * @extends {BaseAPI}
24707
+ */
24708
+ export class FaqsApi extends BaseAPI {
24709
+ /**
24710
+ *
24711
+ * @summary Delete faq.
24712
+ * @param {string} faqId
24713
+ * @param {*} [options] Override http request option.
24714
+ * @throws {RequiredError}
24715
+ * @memberof FaqsApi
24716
+ */
24717
+ public apiV1FaqsFaqIdDelete(faqId: string, options?: AxiosRequestConfig) {
24718
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdDelete(faqId, options).then((request) => request(this.axios, this.basePath));
24719
+ }
24720
+
24721
+ /**
24722
+ *
24723
+ * @summary Get faq.
24724
+ * @param {string} faqId
24725
+ * @param {string} [languageCode]
24726
+ * @param {*} [options] Override http request option.
24727
+ * @throws {RequiredError}
24728
+ * @memberof FaqsApi
24729
+ */
24730
+ public apiV1FaqsFaqIdGet(faqId: string, languageCode?: string, options?: AxiosRequestConfig) {
24731
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdGet(faqId, languageCode, options).then((request) => request(this.axios, this.basePath));
24732
+ }
24733
+
24734
+ /**
24735
+ *
24736
+ * @summary Get all FaqMedias.
24737
+ * @param {string} faqId
24738
+ * @param {string} [id]
24739
+ * @param {MediaType} [mediaType]
24740
+ * @param {number} [page]
24741
+ * @param {number} [limit]
24742
+ * @param {Date} [lastRetrieved]
24743
+ * @param {*} [options] Override http request option.
24744
+ * @throws {RequiredError}
24745
+ * @memberof FaqsApi
24746
+ */
24747
+ public apiV1FaqsFaqIdMediasGet(faqId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
24748
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdMediasGet(faqId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
24749
+ }
24750
+
24751
+ /**
24752
+ *
24753
+ * @summary Delete FaqMedia
24754
+ * @param {string} faqId
24755
+ * @param {string} mediaId
24756
+ * @param {*} [options] Override http request option.
24757
+ * @throws {RequiredError}
24758
+ * @memberof FaqsApi
24759
+ */
24760
+ public apiV1FaqsFaqIdMediasMediaIdDelete(faqId: string, mediaId: string, options?: AxiosRequestConfig) {
24761
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdMediasMediaIdDelete(faqId, mediaId, options).then((request) => request(this.axios, this.basePath));
24762
+ }
24763
+
24764
+ /**
24765
+ *
24766
+ * @summary Get FaqMedia.
24767
+ * @param {string} faqId
24768
+ * @param {string} mediaId
24769
+ * @param {*} [options] Override http request option.
24770
+ * @throws {RequiredError}
24771
+ * @memberof FaqsApi
24772
+ */
24773
+ public apiV1FaqsFaqIdMediasMediaIdGet(faqId: string, mediaId: string, options?: AxiosRequestConfig) {
24774
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdMediasMediaIdGet(faqId, mediaId, options).then((request) => request(this.axios, this.basePath));
24775
+ }
24776
+
24777
+ /**
24778
+ *
24779
+ * @summary Update FaqMedia.
24780
+ * @param {string} faqId
24781
+ * @param {string} mediaId
24782
+ * @param {UpdateMediaCommand} [updateMediaCommand]
24783
+ * @param {*} [options] Override http request option.
24784
+ * @throws {RequiredError}
24785
+ * @memberof FaqsApi
24786
+ */
24787
+ public apiV1FaqsFaqIdMediasMediaIdPut(faqId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig) {
24788
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdMediasMediaIdPut(faqId, mediaId, updateMediaCommand, options).then((request) => request(this.axios, this.basePath));
24789
+ }
24790
+
24791
+ /**
24792
+ *
24793
+ * @summary Create FaqMedia.
24794
+ * @param {string} faqId
24795
+ * @param {CreateMediaCommand} [createMediaCommand]
24796
+ * @param {*} [options] Override http request option.
24797
+ * @throws {RequiredError}
24798
+ * @memberof FaqsApi
24799
+ */
24800
+ public apiV1FaqsFaqIdMediasPost(faqId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig) {
24801
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdMediasPost(faqId, createMediaCommand, options).then((request) => request(this.axios, this.basePath));
24802
+ }
24803
+
24804
+ /**
24805
+ *
24806
+ * @summary Update faq.
24807
+ * @param {string} faqId
24808
+ * @param {UpdateFaqCommand} [updateFaqCommand]
24809
+ * @param {*} [options] Override http request option.
24810
+ * @throws {RequiredError}
24811
+ * @memberof FaqsApi
24812
+ */
24813
+ public apiV1FaqsFaqIdPut(faqId: string, updateFaqCommand?: UpdateFaqCommand, options?: AxiosRequestConfig) {
24814
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdPut(faqId, updateFaqCommand, options).then((request) => request(this.axios, this.basePath));
24815
+ }
24816
+
24817
+ /**
24818
+ *
24819
+ * @summary Get all Faqs.
24820
+ * @param {string} [id]
24821
+ * @param {string} [title]
24822
+ * @param {string} [content]
24823
+ * @param {string} [categoryId]
24824
+ * @param {string} [languageCode]
24825
+ * @param {number} [page]
24826
+ * @param {number} [limit]
24827
+ * @param {Date} [lastRetrieved]
24828
+ * @param {*} [options] Override http request option.
24829
+ * @throws {RequiredError}
24830
+ * @memberof FaqsApi
24831
+ */
24832
+ public apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
24833
+ return FaqsApiFp(this.configuration).apiV1FaqsGet(id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
24834
+ }
24835
+
24836
+ /**
24837
+ *
24838
+ * @summary Create a faq.
24839
+ * @param {CreateFaqCommand} [createFaqCommand]
24840
+ * @param {*} [options] Override http request option.
24841
+ * @throws {RequiredError}
24842
+ * @memberof FaqsApi
24843
+ */
24844
+ public apiV1FaqsPost(createFaqCommand?: CreateFaqCommand, options?: AxiosRequestConfig) {
24845
+ return FaqsApiFp(this.configuration).apiV1FaqsPost(createFaqCommand, options).then((request) => request(this.axios, this.basePath));
24846
+ }
24847
+
24848
+ /**
24849
+ *
24850
+ * @summary Get faq by slug.
24851
+ * @param {string} slug
24852
+ * @param {string} [languageCode]
24853
+ * @param {*} [options] Override http request option.
24854
+ * @throws {RequiredError}
24855
+ * @memberof FaqsApi
24856
+ */
24857
+ public apiV1FaqsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
24858
+ return FaqsApiFp(this.configuration).apiV1FaqsSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
24859
+ }
24860
+ }
24861
+
24862
+
22723
24863
  /**
22724
24864
  * HospitalsApi - axios parameter creator
22725
24865
  * @export