ch-admin-api-client-typescript 2.5.0 → 2.5.1

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
@@ -5483,503 +5545,834 @@ export interface DoctorsModel {
5483
5545
  /**
5484
5546
  *
5485
5547
  * @export
5486
- * @enum {string}
5548
+ * @interface FaqCategoriesModel
5487
5549
  */
5488
-
5489
- export enum Gender {
5490
- NotSpecified = 'NotSpecified',
5491
- Male = 'Male',
5492
- Female = 'Female',
5493
- NonBinary = 'NonBinary',
5494
- PreferNotToSay = 'PreferNotToSay'
5550
+ export interface FaqCategoriesModel {
5551
+ /**
5552
+ *
5553
+ * @type {Array<FaqCategoryItemModel>}
5554
+ * @memberof FaqCategoriesModel
5555
+ */
5556
+ 'items'?: Array<FaqCategoryItemModel> | null;
5557
+ /**
5558
+ *
5559
+ * @type {PagedListMetaData}
5560
+ * @memberof FaqCategoriesModel
5561
+ */
5562
+ 'metaData'?: PagedListMetaData;
5495
5563
  }
5496
-
5497
5564
  /**
5498
5565
  *
5499
5566
  * @export
5500
- * @interface HospitalAccreditationItemModel
5567
+ * @interface FaqCategoryBreadCrumbModel
5501
5568
  */
5502
- export interface HospitalAccreditationItemModel {
5569
+ export interface FaqCategoryBreadCrumbModel {
5503
5570
  /**
5504
5571
  *
5505
5572
  * @type {string}
5506
- * @memberof HospitalAccreditationItemModel
5573
+ * @memberof FaqCategoryBreadCrumbModel
5507
5574
  */
5508
- 'hospitalId'?: string;
5575
+ 'id'?: string;
5509
5576
  /**
5510
5577
  *
5511
5578
  * @type {string}
5512
- * @memberof HospitalAccreditationItemModel
5579
+ * @memberof FaqCategoryBreadCrumbModel
5513
5580
  */
5514
- 'accreditationId'?: string;
5581
+ 'name'?: string | null;
5515
5582
  /**
5516
5583
  *
5517
5584
  * @type {string}
5518
- * @memberof HospitalAccreditationItemModel
5585
+ * @memberof FaqCategoryBreadCrumbModel
5519
5586
  */
5520
- 'accreditationName'?: string | null;
5587
+ 'slug'?: string | null;
5521
5588
  /**
5522
5589
  *
5523
5590
  * @type {string}
5524
- * @memberof HospitalAccreditationItemModel
5591
+ * @memberof FaqCategoryBreadCrumbModel
5525
5592
  */
5526
- 'accreditationLogo'?: string | null;
5593
+ 'parentId'?: string | null;
5594
+ /**
5595
+ *
5596
+ * @type {boolean}
5597
+ * @memberof FaqCategoryBreadCrumbModel
5598
+ */
5599
+ 'confirmed'?: boolean;
5527
5600
  }
5528
5601
  /**
5529
5602
  *
5530
5603
  * @export
5531
- * @interface HospitalAccreditationModel
5604
+ * @interface FaqCategoryItemModel
5532
5605
  */
5533
- export interface HospitalAccreditationModel {
5606
+ export interface FaqCategoryItemModel {
5534
5607
  /**
5535
5608
  *
5536
5609
  * @type {string}
5537
- * @memberof HospitalAccreditationModel
5610
+ * @memberof FaqCategoryItemModel
5538
5611
  */
5539
- 'hospitalId'?: string;
5612
+ 'id'?: string;
5540
5613
  /**
5541
5614
  *
5542
5615
  * @type {string}
5543
- * @memberof HospitalAccreditationModel
5616
+ * @memberof FaqCategoryItemModel
5544
5617
  */
5545
- 'accreditationId'?: string;
5618
+ 'parentId'?: string | null;
5546
5619
  /**
5547
5620
  *
5548
5621
  * @type {string}
5549
- * @memberof HospitalAccreditationModel
5622
+ * @memberof FaqCategoryItemModel
5550
5623
  */
5551
- 'accreditationName'?: string | null;
5624
+ 'name'?: string | null;
5552
5625
  /**
5553
5626
  *
5554
5627
  * @type {string}
5555
- * @memberof HospitalAccreditationModel
5628
+ * @memberof FaqCategoryItemModel
5556
5629
  */
5557
- 'accreditationLogo'?: string | null;
5558
- }
5559
- /**
5560
- *
5561
- * @export
5562
- * @interface HospitalAccreditationsModel
5563
- */
5564
- export interface HospitalAccreditationsModel {
5630
+ 'slug'?: string | null;
5565
5631
  /**
5566
5632
  *
5567
- * @type {Array<HospitalAccreditationItemModel>}
5568
- * @memberof HospitalAccreditationsModel
5633
+ * @type {string}
5634
+ * @memberof FaqCategoryItemModel
5569
5635
  */
5570
- 'items'?: Array<HospitalAccreditationItemModel> | null;
5636
+ 'description'?: string | null;
5571
5637
  /**
5572
5638
  *
5573
- * @type {PagedListMetaData}
5574
- * @memberof HospitalAccreditationsModel
5639
+ * @type {number}
5640
+ * @memberof FaqCategoryItemModel
5575
5641
  */
5576
- 'metaData'?: PagedListMetaData;
5642
+ 'order'?: number;
5643
+ /**
5644
+ *
5645
+ * @type {Array<FaqItemModel>}
5646
+ * @memberof FaqCategoryItemModel
5647
+ */
5648
+ 'faqs'?: Array<FaqItemModel> | null;
5649
+ /**
5650
+ *
5651
+ * @type {Array<LocalizedUrlModel>}
5652
+ * @memberof FaqCategoryItemModel
5653
+ */
5654
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
5655
+ /**
5656
+ *
5657
+ * @type {boolean}
5658
+ * @memberof FaqCategoryItemModel
5659
+ */
5660
+ 'confirmed'?: boolean;
5577
5661
  }
5578
5662
  /**
5579
5663
  *
5580
5664
  * @export
5581
- * @interface HospitalEquipmentItemModel
5665
+ * @interface FaqCategoryModel
5582
5666
  */
5583
- export interface HospitalEquipmentItemModel {
5667
+ export interface FaqCategoryModel {
5584
5668
  /**
5585
5669
  *
5586
5670
  * @type {string}
5587
- * @memberof HospitalEquipmentItemModel
5671
+ * @memberof FaqCategoryModel
5588
5672
  */
5589
5673
  'id'?: string;
5590
5674
  /**
5591
5675
  *
5592
5676
  * @type {string}
5593
- * @memberof HospitalEquipmentItemModel
5677
+ * @memberof FaqCategoryModel
5594
5678
  */
5595
- 'name'?: string | null;
5679
+ 'parentId'?: string | null;
5596
5680
  /**
5597
5681
  *
5598
5682
  * @type {string}
5599
- * @memberof HospitalEquipmentItemModel
5683
+ * @memberof FaqCategoryModel
5600
5684
  */
5601
- 'description'?: string | null;
5685
+ 'name'?: string | null;
5602
5686
  /**
5603
5687
  *
5604
5688
  * @type {string}
5605
- * @memberof HospitalEquipmentItemModel
5689
+ * @memberof FaqCategoryModel
5606
5690
  */
5607
- 'hospitalId'?: string;
5691
+ 'slug'?: string | null;
5608
5692
  /**
5609
5693
  *
5610
5694
  * @type {string}
5611
- * @memberof HospitalEquipmentItemModel
5695
+ * @memberof FaqCategoryModel
5612
5696
  */
5613
- 'hospitalName'?: string | null;
5697
+ 'description'?: string | null;
5614
5698
  /**
5615
5699
  *
5616
- * @type {Array<MediaModel>}
5617
- * @memberof HospitalEquipmentItemModel
5700
+ * @type {number}
5701
+ * @memberof FaqCategoryModel
5618
5702
  */
5619
- 'medias'?: Array<MediaModel> | null;
5703
+ 'order'?: number;
5620
5704
  /**
5621
5705
  *
5622
- * @type {AuditableEntity}
5623
- * @memberof HospitalEquipmentItemModel
5706
+ * @type {Array<FaqItemModel>}
5707
+ * @memberof FaqCategoryModel
5624
5708
  */
5625
- 'auditableEntity'?: AuditableEntity;
5709
+ 'faqs'?: Array<FaqItemModel> | null;
5710
+ /**
5711
+ *
5712
+ * @type {Array<LocalizedUrlModel>}
5713
+ * @memberof FaqCategoryModel
5714
+ */
5715
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
5716
+ /**
5717
+ *
5718
+ * @type {boolean}
5719
+ * @memberof FaqCategoryModel
5720
+ */
5721
+ 'confirmed'?: boolean;
5722
+ /**
5723
+ *
5724
+ * @type {string}
5725
+ * @memberof FaqCategoryModel
5726
+ */
5727
+ 'languageCode'?: string | null;
5626
5728
  }
5627
5729
  /**
5628
5730
  *
5629
5731
  * @export
5630
- * @interface HospitalEquipmentModel
5732
+ * @interface FaqItemModel
5631
5733
  */
5632
- export interface HospitalEquipmentModel {
5734
+ export interface FaqItemModel {
5633
5735
  /**
5634
5736
  *
5635
5737
  * @type {string}
5636
- * @memberof HospitalEquipmentModel
5738
+ * @memberof FaqItemModel
5637
5739
  */
5638
5740
  'id'?: string;
5639
5741
  /**
5640
5742
  *
5641
5743
  * @type {string}
5642
- * @memberof HospitalEquipmentModel
5744
+ * @memberof FaqItemModel
5643
5745
  */
5644
- 'name'?: string | null;
5746
+ 'title'?: string | null;
5645
5747
  /**
5646
5748
  *
5647
5749
  * @type {string}
5648
- * @memberof HospitalEquipmentModel
5750
+ * @memberof FaqItemModel
5649
5751
  */
5650
- 'description'?: string | null;
5752
+ 'slug'?: string | null;
5651
5753
  /**
5652
5754
  *
5653
5755
  * @type {string}
5654
- * @memberof HospitalEquipmentModel
5756
+ * @memberof FaqItemModel
5655
5757
  */
5656
- 'hospitalId'?: string;
5758
+ 'content'?: string | null;
5657
5759
  /**
5658
5760
  *
5659
- * @type {string}
5660
- * @memberof HospitalEquipmentModel
5761
+ * @type {number}
5762
+ * @memberof FaqItemModel
5661
5763
  */
5662
- 'hospitalName'?: string | null;
5764
+ 'order'?: number;
5663
5765
  /**
5664
5766
  *
5665
5767
  * @type {Array<MediaModel>}
5666
- * @memberof HospitalEquipmentModel
5768
+ * @memberof FaqItemModel
5667
5769
  */
5668
5770
  'medias'?: Array<MediaModel> | null;
5669
5771
  /**
5670
5772
  *
5671
5773
  * @type {AuditableEntity}
5672
- * @memberof HospitalEquipmentModel
5774
+ * @memberof FaqItemModel
5673
5775
  */
5674
5776
  'auditableEntity'?: AuditableEntity;
5675
- }
5676
- /**
5677
- *
5678
- * @export
5679
- * @interface HospitalEquipmentsModel
5680
- */
5681
- export interface HospitalEquipmentsModel {
5682
5777
  /**
5683
5778
  *
5684
- * @type {Array<HospitalEquipmentItemModel>}
5685
- * @memberof HospitalEquipmentsModel
5779
+ * @type {Array<LocalizedUrlModel>}
5780
+ * @memberof FaqItemModel
5686
5781
  */
5687
- 'items'?: Array<HospitalEquipmentItemModel> | null;
5782
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
5688
5783
  /**
5689
5784
  *
5690
- * @type {PagedListMetaData}
5691
- * @memberof HospitalEquipmentsModel
5785
+ * @type {boolean}
5786
+ * @memberof FaqItemModel
5692
5787
  */
5693
- 'metaData'?: PagedListMetaData;
5788
+ 'confirmed'?: boolean;
5694
5789
  }
5695
5790
  /**
5696
5791
  *
5697
5792
  * @export
5698
- * @interface HospitalEvaluationItemModel
5793
+ * @interface FaqModel
5699
5794
  */
5700
- export interface HospitalEvaluationItemModel {
5795
+ export interface FaqModel {
5701
5796
  /**
5702
5797
  *
5703
5798
  * @type {string}
5704
- * @memberof HospitalEvaluationItemModel
5799
+ * @memberof FaqModel
5705
5800
  */
5706
5801
  'id'?: string;
5707
5802
  /**
5708
5803
  *
5709
5804
  * @type {string}
5710
- * @memberof HospitalEvaluationItemModel
5805
+ * @memberof FaqModel
5711
5806
  */
5712
- 'hospitalId'?: string;
5807
+ 'title'?: string | null;
5713
5808
  /**
5714
5809
  *
5715
5810
  * @type {string}
5716
- * @memberof HospitalEvaluationItemModel
5811
+ * @memberof FaqModel
5717
5812
  */
5718
- 'hospitalName'?: string | null;
5813
+ 'slug'?: string | null;
5719
5814
  /**
5720
5815
  *
5721
5816
  * @type {string}
5722
- * @memberof HospitalEvaluationItemModel
5817
+ * @memberof FaqModel
5723
5818
  */
5724
- 'name'?: string | null;
5819
+ 'content'?: string | null;
5725
5820
  /**
5726
5821
  *
5727
5822
  * @type {number}
5728
- * @memberof HospitalEvaluationItemModel
5823
+ * @memberof FaqModel
5729
5824
  */
5730
- 'stars'?: number;
5825
+ 'order'?: number;
5731
5826
  /**
5732
5827
  *
5733
- * @type {string}
5734
- * @memberof HospitalEvaluationItemModel
5828
+ * @type {Array<MediaModel>}
5829
+ * @memberof FaqModel
5735
5830
  */
5736
- 'description'?: string | null;
5831
+ 'medias'?: Array<MediaModel> | null;
5737
5832
  /**
5738
5833
  *
5739
- * @type {string}
5740
- * @memberof HospitalEvaluationItemModel
5834
+ * @type {AuditableEntity}
5835
+ * @memberof FaqModel
5741
5836
  */
5742
- 'referenceUrl'?: string | null;
5743
- }
5744
- /**
5745
- *
5746
- * @export
5747
- * @interface HospitalEvaluationModel
5748
- */
5749
- export interface HospitalEvaluationModel {
5837
+ 'auditableEntity'?: AuditableEntity;
5750
5838
  /**
5751
5839
  *
5752
- * @type {string}
5753
- * @memberof HospitalEvaluationModel
5840
+ * @type {Array<LocalizedUrlModel>}
5841
+ * @memberof FaqModel
5754
5842
  */
5755
- 'id'?: string;
5843
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
5756
5844
  /**
5757
5845
  *
5758
- * @type {string}
5759
- * @memberof HospitalEvaluationModel
5846
+ * @type {boolean}
5847
+ * @memberof FaqModel
5760
5848
  */
5761
- 'hospitalId'?: string;
5849
+ 'confirmed'?: boolean;
5762
5850
  /**
5763
5851
  *
5764
- * @type {string}
5765
- * @memberof HospitalEvaluationModel
5852
+ * @type {Array<FaqCategoryBreadCrumbModel>}
5853
+ * @memberof FaqModel
5766
5854
  */
5767
- 'hospitalName'?: string | null;
5855
+ 'categories'?: Array<FaqCategoryBreadCrumbModel> | null;
5856
+ }
5857
+ /**
5858
+ *
5859
+ * @export
5860
+ * @interface FaqsModel
5861
+ */
5862
+ export interface FaqsModel {
5768
5863
  /**
5769
5864
  *
5770
- * @type {string}
5771
- * @memberof HospitalEvaluationModel
5865
+ * @type {Array<FaqItemModel>}
5866
+ * @memberof FaqsModel
5772
5867
  */
5773
- 'name'?: string | null;
5868
+ 'items'?: Array<FaqItemModel> | null;
5774
5869
  /**
5775
5870
  *
5776
- * @type {number}
5777
- * @memberof HospitalEvaluationModel
5871
+ * @type {PagedListMetaData}
5872
+ * @memberof FaqsModel
5778
5873
  */
5779
- 'stars'?: number;
5874
+ 'metaData'?: PagedListMetaData;
5875
+ }
5876
+ /**
5877
+ *
5878
+ * @export
5879
+ * @enum {string}
5880
+ */
5881
+
5882
+ export enum Gender {
5883
+ NotSpecified = 'NotSpecified',
5884
+ Male = 'Male',
5885
+ Female = 'Female',
5886
+ NonBinary = 'NonBinary',
5887
+ PreferNotToSay = 'PreferNotToSay'
5888
+ }
5889
+
5890
+ /**
5891
+ *
5892
+ * @export
5893
+ * @interface HospitalAccreditationItemModel
5894
+ */
5895
+ export interface HospitalAccreditationItemModel {
5780
5896
  /**
5781
5897
  *
5782
5898
  * @type {string}
5783
- * @memberof HospitalEvaluationModel
5899
+ * @memberof HospitalAccreditationItemModel
5784
5900
  */
5785
- 'description'?: string | null;
5901
+ 'hospitalId'?: string;
5786
5902
  /**
5787
5903
  *
5788
5904
  * @type {string}
5789
- * @memberof HospitalEvaluationModel
5905
+ * @memberof HospitalAccreditationItemModel
5790
5906
  */
5791
- 'referenceUrl'?: string | null;
5907
+ 'accreditationId'?: string;
5908
+ /**
5909
+ *
5910
+ * @type {string}
5911
+ * @memberof HospitalAccreditationItemModel
5912
+ */
5913
+ 'accreditationName'?: string | null;
5914
+ /**
5915
+ *
5916
+ * @type {string}
5917
+ * @memberof HospitalAccreditationItemModel
5918
+ */
5919
+ 'accreditationLogo'?: string | null;
5792
5920
  }
5793
5921
  /**
5794
5922
  *
5795
5923
  * @export
5796
- * @interface HospitalEvaluationsModel
5924
+ * @interface HospitalAccreditationModel
5797
5925
  */
5798
- export interface HospitalEvaluationsModel {
5926
+ export interface HospitalAccreditationModel {
5799
5927
  /**
5800
5928
  *
5801
- * @type {Array<HospitalEvaluationItemModel>}
5802
- * @memberof HospitalEvaluationsModel
5929
+ * @type {string}
5930
+ * @memberof HospitalAccreditationModel
5803
5931
  */
5804
- 'items'?: Array<HospitalEvaluationItemModel> | null;
5932
+ 'hospitalId'?: string;
5933
+ /**
5934
+ *
5935
+ * @type {string}
5936
+ * @memberof HospitalAccreditationModel
5937
+ */
5938
+ 'accreditationId'?: string;
5939
+ /**
5940
+ *
5941
+ * @type {string}
5942
+ * @memberof HospitalAccreditationModel
5943
+ */
5944
+ 'accreditationName'?: string | null;
5945
+ /**
5946
+ *
5947
+ * @type {string}
5948
+ * @memberof HospitalAccreditationModel
5949
+ */
5950
+ 'accreditationLogo'?: string | null;
5951
+ }
5952
+ /**
5953
+ *
5954
+ * @export
5955
+ * @interface HospitalAccreditationsModel
5956
+ */
5957
+ export interface HospitalAccreditationsModel {
5958
+ /**
5959
+ *
5960
+ * @type {Array<HospitalAccreditationItemModel>}
5961
+ * @memberof HospitalAccreditationsModel
5962
+ */
5963
+ 'items'?: Array<HospitalAccreditationItemModel> | null;
5805
5964
  /**
5806
5965
  *
5807
5966
  * @type {PagedListMetaData}
5808
- * @memberof HospitalEvaluationsModel
5967
+ * @memberof HospitalAccreditationsModel
5809
5968
  */
5810
5969
  'metaData'?: PagedListMetaData;
5811
5970
  }
5812
5971
  /**
5813
5972
  *
5814
5973
  * @export
5815
- * @interface HospitalItemModel
5974
+ * @interface HospitalEquipmentItemModel
5816
5975
  */
5817
- export interface HospitalItemModel {
5976
+ export interface HospitalEquipmentItemModel {
5818
5977
  /**
5819
5978
  *
5820
5979
  * @type {string}
5821
- * @memberof HospitalItemModel
5980
+ * @memberof HospitalEquipmentItemModel
5822
5981
  */
5823
5982
  'id'?: string;
5824
5983
  /**
5825
5984
  *
5826
5985
  * @type {string}
5827
- * @memberof HospitalItemModel
5986
+ * @memberof HospitalEquipmentItemModel
5828
5987
  */
5829
5988
  'name'?: string | null;
5830
5989
  /**
5831
5990
  *
5832
5991
  * @type {string}
5833
- * @memberof HospitalItemModel
5834
- */
5835
- 'slug'?: string | null;
5836
- /**
5837
- *
5838
- * @type {string}
5839
- * @memberof HospitalItemModel
5992
+ * @memberof HospitalEquipmentItemModel
5840
5993
  */
5841
5994
  'description'?: string | null;
5842
5995
  /**
5843
5996
  *
5844
5997
  * @type {string}
5845
- * @memberof HospitalItemModel
5998
+ * @memberof HospitalEquipmentItemModel
5846
5999
  */
5847
- 'logo'?: string | null;
6000
+ 'hospitalId'?: string;
5848
6001
  /**
5849
6002
  *
5850
6003
  * @type {string}
5851
- * @memberof HospitalItemModel
6004
+ * @memberof HospitalEquipmentItemModel
5852
6005
  */
5853
- 'overview'?: string | null;
6006
+ 'hospitalName'?: string | null;
5854
6007
  /**
5855
6008
  *
5856
- * @type {number}
5857
- * @memberof HospitalItemModel
6009
+ * @type {Array<MediaModel>}
6010
+ * @memberof HospitalEquipmentItemModel
5858
6011
  */
5859
- 'bedsCount'?: number | null;
6012
+ 'medias'?: Array<MediaModel> | null;
5860
6013
  /**
5861
6014
  *
5862
- * @type {number}
5863
- * @memberof HospitalItemModel
6015
+ * @type {AuditableEntity}
6016
+ * @memberof HospitalEquipmentItemModel
5864
6017
  */
5865
- 'operationsPerYear'?: number | null;
6018
+ 'auditableEntity'?: AuditableEntity;
6019
+ }
6020
+ /**
6021
+ *
6022
+ * @export
6023
+ * @interface HospitalEquipmentModel
6024
+ */
6025
+ export interface HospitalEquipmentModel {
5866
6026
  /**
5867
6027
  *
5868
- * @type {number}
5869
- * @memberof HospitalItemModel
6028
+ * @type {string}
6029
+ * @memberof HospitalEquipmentModel
5870
6030
  */
5871
- 'foundationYear'?: number | null;
6031
+ 'id'?: string;
5872
6032
  /**
5873
6033
  *
5874
- * @type {number}
5875
- * @memberof HospitalItemModel
6034
+ * @type {string}
6035
+ * @memberof HospitalEquipmentModel
5876
6036
  */
5877
- 'medicalStaffCount'?: number | null;
6037
+ 'name'?: string | null;
5878
6038
  /**
5879
6039
  *
5880
- * @type {number}
5881
- * @memberof HospitalItemModel
6040
+ * @type {string}
6041
+ * @memberof HospitalEquipmentModel
5882
6042
  */
5883
- 'doctorCount'?: number | null;
6043
+ 'description'?: string | null;
5884
6044
  /**
5885
6045
  *
5886
6046
  * @type {string}
5887
- * @memberof HospitalItemModel
6047
+ * @memberof HospitalEquipmentModel
5888
6048
  */
5889
- 'countryId'?: string;
6049
+ 'hospitalId'?: string;
5890
6050
  /**
5891
6051
  *
5892
6052
  * @type {string}
5893
- * @memberof HospitalItemModel
6053
+ * @memberof HospitalEquipmentModel
5894
6054
  */
5895
- 'countryName'?: string | null;
6055
+ 'hospitalName'?: string | null;
5896
6056
  /**
5897
6057
  *
5898
- * @type {MarketingType}
5899
- * @memberof HospitalItemModel
6058
+ * @type {Array<MediaModel>}
6059
+ * @memberof HospitalEquipmentModel
5900
6060
  */
5901
- 'marketingType'?: MarketingType;
6061
+ 'medias'?: Array<MediaModel> | null;
5902
6062
  /**
5903
6063
  *
5904
- * @type {boolean}
5905
- * @memberof HospitalItemModel
6064
+ * @type {AuditableEntity}
6065
+ * @memberof HospitalEquipmentModel
5906
6066
  */
5907
- 'consultationEnabled'?: boolean | null;
6067
+ 'auditableEntity'?: AuditableEntity;
6068
+ }
6069
+ /**
6070
+ *
6071
+ * @export
6072
+ * @interface HospitalEquipmentsModel
6073
+ */
6074
+ export interface HospitalEquipmentsModel {
5908
6075
  /**
5909
6076
  *
5910
- * @type {number}
5911
- * @memberof HospitalItemModel
6077
+ * @type {Array<HospitalEquipmentItemModel>}
6078
+ * @memberof HospitalEquipmentsModel
5912
6079
  */
5913
- 'consultationFee'?: number | null;
6080
+ 'items'?: Array<HospitalEquipmentItemModel> | null;
5914
6081
  /**
5915
6082
  *
5916
- * @type {string}
5917
- * @memberof HospitalItemModel
6083
+ * @type {PagedListMetaData}
6084
+ * @memberof HospitalEquipmentsModel
5918
6085
  */
5919
- 'timeZone'?: string | null;
6086
+ 'metaData'?: PagedListMetaData;
6087
+ }
6088
+ /**
6089
+ *
6090
+ * @export
6091
+ * @interface HospitalEvaluationItemModel
6092
+ */
6093
+ export interface HospitalEvaluationItemModel {
5920
6094
  /**
5921
6095
  *
5922
- * @type {number}
5923
- * @memberof HospitalItemModel
6096
+ * @type {string}
6097
+ * @memberof HospitalEvaluationItemModel
5924
6098
  */
5925
- 'articlesCount'?: number;
6099
+ 'id'?: string;
5926
6100
  /**
5927
6101
  *
5928
- * @type {number}
5929
- * @memberof HospitalItemModel
6102
+ * @type {string}
6103
+ * @memberof HospitalEvaluationItemModel
5930
6104
  */
5931
- 'packagesCount'?: number;
6105
+ 'hospitalId'?: string;
5932
6106
  /**
5933
6107
  *
5934
- * @type {number}
5935
- * @memberof HospitalItemModel
6108
+ * @type {string}
6109
+ * @memberof HospitalEvaluationItemModel
5936
6110
  */
5937
- 'equipmentsCount'?: number;
6111
+ 'hospitalName'?: string | null;
5938
6112
  /**
5939
6113
  *
5940
- * @type {number}
5941
- * @memberof HospitalItemModel
6114
+ * @type {string}
6115
+ * @memberof HospitalEvaluationItemModel
5942
6116
  */
5943
- 'reviewsCount'?: number;
6117
+ 'name'?: string | null;
5944
6118
  /**
5945
6119
  *
5946
6120
  * @type {number}
5947
- * @memberof HospitalItemModel
6121
+ * @memberof HospitalEvaluationItemModel
5948
6122
  */
5949
- 'departmentsCount'?: number;
6123
+ 'stars'?: number;
5950
6124
  /**
5951
6125
  *
5952
- * @type {number}
5953
- * @memberof HospitalItemModel
6126
+ * @type {string}
6127
+ * @memberof HospitalEvaluationItemModel
5954
6128
  */
5955
- 'specialtiesCount'?: number;
6129
+ 'description'?: string | null;
5956
6130
  /**
5957
6131
  *
5958
- * @type {number}
5959
- * @memberof HospitalItemModel
6132
+ * @type {string}
6133
+ * @memberof HospitalEvaluationItemModel
5960
6134
  */
5961
- 'accreditationsCount'?: number;
6135
+ 'referenceUrl'?: string | null;
6136
+ }
6137
+ /**
6138
+ *
6139
+ * @export
6140
+ * @interface HospitalEvaluationModel
6141
+ */
6142
+ export interface HospitalEvaluationModel {
5962
6143
  /**
5963
6144
  *
5964
- * @type {number}
5965
- * @memberof HospitalItemModel
6145
+ * @type {string}
6146
+ * @memberof HospitalEvaluationModel
5966
6147
  */
5967
- 'doctorAffiliationsCount'?: number;
6148
+ 'id'?: string;
5968
6149
  /**
5969
6150
  *
5970
- * @type {number}
5971
- * @memberof HospitalItemModel
6151
+ * @type {string}
6152
+ * @memberof HospitalEvaluationModel
5972
6153
  */
5973
- 'managerAffiliationsCount'?: number;
6154
+ 'hospitalId'?: string;
5974
6155
  /**
5975
6156
  *
5976
6157
  * @type {string}
5977
- * @memberof HospitalItemModel
6158
+ * @memberof HospitalEvaluationModel
5978
6159
  */
5979
- 'specialtiesSummerized'?: string | null;
6160
+ 'hospitalName'?: string | null;
5980
6161
  /**
5981
6162
  *
5982
- * @type {Array<AwardModel>}
6163
+ * @type {string}
6164
+ * @memberof HospitalEvaluationModel
6165
+ */
6166
+ 'name'?: string | null;
6167
+ /**
6168
+ *
6169
+ * @type {number}
6170
+ * @memberof HospitalEvaluationModel
6171
+ */
6172
+ 'stars'?: number;
6173
+ /**
6174
+ *
6175
+ * @type {string}
6176
+ * @memberof HospitalEvaluationModel
6177
+ */
6178
+ 'description'?: string | null;
6179
+ /**
6180
+ *
6181
+ * @type {string}
6182
+ * @memberof HospitalEvaluationModel
6183
+ */
6184
+ 'referenceUrl'?: string | null;
6185
+ }
6186
+ /**
6187
+ *
6188
+ * @export
6189
+ * @interface HospitalEvaluationsModel
6190
+ */
6191
+ export interface HospitalEvaluationsModel {
6192
+ /**
6193
+ *
6194
+ * @type {Array<HospitalEvaluationItemModel>}
6195
+ * @memberof HospitalEvaluationsModel
6196
+ */
6197
+ 'items'?: Array<HospitalEvaluationItemModel> | null;
6198
+ /**
6199
+ *
6200
+ * @type {PagedListMetaData}
6201
+ * @memberof HospitalEvaluationsModel
6202
+ */
6203
+ 'metaData'?: PagedListMetaData;
6204
+ }
6205
+ /**
6206
+ *
6207
+ * @export
6208
+ * @interface HospitalItemModel
6209
+ */
6210
+ export interface HospitalItemModel {
6211
+ /**
6212
+ *
6213
+ * @type {string}
6214
+ * @memberof HospitalItemModel
6215
+ */
6216
+ 'id'?: string;
6217
+ /**
6218
+ *
6219
+ * @type {string}
6220
+ * @memberof HospitalItemModel
6221
+ */
6222
+ 'name'?: string | null;
6223
+ /**
6224
+ *
6225
+ * @type {string}
6226
+ * @memberof HospitalItemModel
6227
+ */
6228
+ 'slug'?: string | null;
6229
+ /**
6230
+ *
6231
+ * @type {string}
6232
+ * @memberof HospitalItemModel
6233
+ */
6234
+ 'description'?: string | null;
6235
+ /**
6236
+ *
6237
+ * @type {string}
6238
+ * @memberof HospitalItemModel
6239
+ */
6240
+ 'logo'?: string | null;
6241
+ /**
6242
+ *
6243
+ * @type {string}
6244
+ * @memberof HospitalItemModel
6245
+ */
6246
+ 'overview'?: string | null;
6247
+ /**
6248
+ *
6249
+ * @type {number}
6250
+ * @memberof HospitalItemModel
6251
+ */
6252
+ 'bedsCount'?: number | null;
6253
+ /**
6254
+ *
6255
+ * @type {number}
6256
+ * @memberof HospitalItemModel
6257
+ */
6258
+ 'operationsPerYear'?: number | null;
6259
+ /**
6260
+ *
6261
+ * @type {number}
6262
+ * @memberof HospitalItemModel
6263
+ */
6264
+ 'foundationYear'?: number | null;
6265
+ /**
6266
+ *
6267
+ * @type {number}
6268
+ * @memberof HospitalItemModel
6269
+ */
6270
+ 'medicalStaffCount'?: number | null;
6271
+ /**
6272
+ *
6273
+ * @type {number}
6274
+ * @memberof HospitalItemModel
6275
+ */
6276
+ 'doctorCount'?: number | null;
6277
+ /**
6278
+ *
6279
+ * @type {string}
6280
+ * @memberof HospitalItemModel
6281
+ */
6282
+ 'countryId'?: string;
6283
+ /**
6284
+ *
6285
+ * @type {string}
6286
+ * @memberof HospitalItemModel
6287
+ */
6288
+ 'countryName'?: string | null;
6289
+ /**
6290
+ *
6291
+ * @type {MarketingType}
6292
+ * @memberof HospitalItemModel
6293
+ */
6294
+ 'marketingType'?: MarketingType;
6295
+ /**
6296
+ *
6297
+ * @type {boolean}
6298
+ * @memberof HospitalItemModel
6299
+ */
6300
+ 'consultationEnabled'?: boolean | null;
6301
+ /**
6302
+ *
6303
+ * @type {number}
6304
+ * @memberof HospitalItemModel
6305
+ */
6306
+ 'consultationFee'?: number | null;
6307
+ /**
6308
+ *
6309
+ * @type {string}
6310
+ * @memberof HospitalItemModel
6311
+ */
6312
+ 'timeZone'?: string | null;
6313
+ /**
6314
+ *
6315
+ * @type {number}
6316
+ * @memberof HospitalItemModel
6317
+ */
6318
+ 'articlesCount'?: number;
6319
+ /**
6320
+ *
6321
+ * @type {number}
6322
+ * @memberof HospitalItemModel
6323
+ */
6324
+ 'packagesCount'?: number;
6325
+ /**
6326
+ *
6327
+ * @type {number}
6328
+ * @memberof HospitalItemModel
6329
+ */
6330
+ 'equipmentsCount'?: number;
6331
+ /**
6332
+ *
6333
+ * @type {number}
6334
+ * @memberof HospitalItemModel
6335
+ */
6336
+ 'reviewsCount'?: number;
6337
+ /**
6338
+ *
6339
+ * @type {number}
6340
+ * @memberof HospitalItemModel
6341
+ */
6342
+ 'departmentsCount'?: number;
6343
+ /**
6344
+ *
6345
+ * @type {number}
6346
+ * @memberof HospitalItemModel
6347
+ */
6348
+ 'specialtiesCount'?: number;
6349
+ /**
6350
+ *
6351
+ * @type {number}
6352
+ * @memberof HospitalItemModel
6353
+ */
6354
+ 'accreditationsCount'?: number;
6355
+ /**
6356
+ *
6357
+ * @type {number}
6358
+ * @memberof HospitalItemModel
6359
+ */
6360
+ 'doctorAffiliationsCount'?: number;
6361
+ /**
6362
+ *
6363
+ * @type {number}
6364
+ * @memberof HospitalItemModel
6365
+ */
6366
+ 'managerAffiliationsCount'?: number;
6367
+ /**
6368
+ *
6369
+ * @type {string}
6370
+ * @memberof HospitalItemModel
6371
+ */
6372
+ 'specialtiesSummerized'?: string | null;
6373
+ /**
6374
+ *
6375
+ * @type {Array<AwardModel>}
5983
6376
  * @memberof HospitalItemModel
5984
6377
  */
5985
6378
  'awards'?: Array<AwardModel> | null;
@@ -9696,73 +10089,171 @@ export interface UpdateDoctorSpecialtyCommand {
9696
10089
  /**
9697
10090
  *
9698
10091
  * @export
9699
- * @interface UpdateHospitalCommand
10092
+ * @interface UpdateFaqCategoryCommand
9700
10093
  */
9701
- export interface UpdateHospitalCommand {
10094
+ export interface UpdateFaqCategoryCommand {
9702
10095
  /**
9703
10096
  *
9704
10097
  * @type {string}
9705
- * @memberof UpdateHospitalCommand
10098
+ * @memberof UpdateFaqCategoryCommand
9706
10099
  */
9707
- 'languageCode'?: string | null;
10100
+ 'id'?: string | null;
9708
10101
  /**
9709
10102
  *
9710
10103
  * @type {string}
9711
- * @memberof UpdateHospitalCommand
10104
+ * @memberof UpdateFaqCategoryCommand
9712
10105
  */
9713
10106
  'name'?: string | null;
9714
10107
  /**
9715
10108
  *
9716
10109
  * @type {string}
9717
- * @memberof UpdateHospitalCommand
10110
+ * @memberof UpdateFaqCategoryCommand
9718
10111
  */
9719
10112
  'slug'?: string | null;
9720
10113
  /**
9721
10114
  *
9722
10115
  * @type {string}
9723
- * @memberof UpdateHospitalCommand
10116
+ * @memberof UpdateFaqCategoryCommand
9724
10117
  */
9725
10118
  'description'?: string | null;
9726
10119
  /**
9727
10120
  *
9728
- * @type {string}
9729
- * @memberof UpdateHospitalCommand
10121
+ * @type {number}
10122
+ * @memberof UpdateFaqCategoryCommand
9730
10123
  */
9731
- 'logo'?: string | null;
10124
+ 'order'?: number;
9732
10125
  /**
9733
10126
  *
9734
10127
  * @type {string}
9735
- * @memberof UpdateHospitalCommand
10128
+ * @memberof UpdateFaqCategoryCommand
9736
10129
  */
9737
- 'overview'?: string | null;
10130
+ 'languageCode'?: string | null;
9738
10131
  /**
9739
10132
  *
9740
- * @type {number}
9741
- * @memberof UpdateHospitalCommand
10133
+ * @type {boolean}
10134
+ * @memberof UpdateFaqCategoryCommand
9742
10135
  */
9743
- 'bedsCount'?: number | null;
10136
+ 'confirmed'?: boolean;
10137
+ }
10138
+ /**
10139
+ *
10140
+ * @export
10141
+ * @interface UpdateFaqCommand
10142
+ */
10143
+ export interface UpdateFaqCommand {
9744
10144
  /**
9745
10145
  *
9746
- * @type {number}
9747
- * @memberof UpdateHospitalCommand
10146
+ * @type {string}
10147
+ * @memberof UpdateFaqCommand
9748
10148
  */
9749
- 'operationsPerYear'?: number | null;
10149
+ 'id'?: string;
9750
10150
  /**
9751
10151
  *
9752
- * @type {number}
9753
- * @memberof UpdateHospitalCommand
10152
+ * @type {string}
10153
+ * @memberof UpdateFaqCommand
9754
10154
  */
9755
- 'foundationYear'?: number | null;
10155
+ 'title'?: string | null;
9756
10156
  /**
9757
10157
  *
9758
- * @type {number}
9759
- * @memberof UpdateHospitalCommand
10158
+ * @type {string}
10159
+ * @memberof UpdateFaqCommand
9760
10160
  */
9761
- 'medicalStaffCount'?: number | null;
10161
+ 'slug'?: string | null;
9762
10162
  /**
9763
10163
  *
9764
- * @type {number}
9765
- * @memberof UpdateHospitalCommand
10164
+ * @type {string}
10165
+ * @memberof UpdateFaqCommand
10166
+ */
10167
+ 'content'?: string | null;
10168
+ /**
10169
+ *
10170
+ * @type {number}
10171
+ * @memberof UpdateFaqCommand
10172
+ */
10173
+ 'order'?: number;
10174
+ /**
10175
+ *
10176
+ * @type {string}
10177
+ * @memberof UpdateFaqCommand
10178
+ */
10179
+ 'languageCode'?: string | null;
10180
+ /**
10181
+ *
10182
+ * @type {boolean}
10183
+ * @memberof UpdateFaqCommand
10184
+ */
10185
+ 'confirmed'?: boolean;
10186
+ }
10187
+ /**
10188
+ *
10189
+ * @export
10190
+ * @interface UpdateHospitalCommand
10191
+ */
10192
+ export interface UpdateHospitalCommand {
10193
+ /**
10194
+ *
10195
+ * @type {string}
10196
+ * @memberof UpdateHospitalCommand
10197
+ */
10198
+ 'languageCode'?: string | null;
10199
+ /**
10200
+ *
10201
+ * @type {string}
10202
+ * @memberof UpdateHospitalCommand
10203
+ */
10204
+ 'name'?: string | null;
10205
+ /**
10206
+ *
10207
+ * @type {string}
10208
+ * @memberof UpdateHospitalCommand
10209
+ */
10210
+ 'slug'?: string | null;
10211
+ /**
10212
+ *
10213
+ * @type {string}
10214
+ * @memberof UpdateHospitalCommand
10215
+ */
10216
+ 'description'?: string | null;
10217
+ /**
10218
+ *
10219
+ * @type {string}
10220
+ * @memberof UpdateHospitalCommand
10221
+ */
10222
+ 'logo'?: string | null;
10223
+ /**
10224
+ *
10225
+ * @type {string}
10226
+ * @memberof UpdateHospitalCommand
10227
+ */
10228
+ 'overview'?: string | null;
10229
+ /**
10230
+ *
10231
+ * @type {number}
10232
+ * @memberof UpdateHospitalCommand
10233
+ */
10234
+ 'bedsCount'?: number | null;
10235
+ /**
10236
+ *
10237
+ * @type {number}
10238
+ * @memberof UpdateHospitalCommand
10239
+ */
10240
+ 'operationsPerYear'?: number | null;
10241
+ /**
10242
+ *
10243
+ * @type {number}
10244
+ * @memberof UpdateHospitalCommand
10245
+ */
10246
+ 'foundationYear'?: number | null;
10247
+ /**
10248
+ *
10249
+ * @type {number}
10250
+ * @memberof UpdateHospitalCommand
10251
+ */
10252
+ 'medicalStaffCount'?: number | null;
10253
+ /**
10254
+ *
10255
+ * @type {number}
10256
+ * @memberof UpdateHospitalCommand
9766
10257
  */
9767
10258
  'doctorCount'?: number | null;
9768
10259
  /**
@@ -22690,6 +23181,1617 @@ export class DoctorsApi extends BaseAPI {
22690
23181
  }
22691
23182
 
22692
23183
 
23184
+ /**
23185
+ * FaqCategoriesApi - axios parameter creator
23186
+ * @export
23187
+ */
23188
+ export const FaqCategoriesApiAxiosParamCreator = function (configuration?: Configuration) {
23189
+ return {
23190
+ /**
23191
+ *
23192
+ * @summary Get BreadCrumbs.
23193
+ * @param {string} faqId
23194
+ * @param {string} [languageCode]
23195
+ * @param {*} [options] Override http request option.
23196
+ * @throws {RequiredError}
23197
+ */
23198
+ apiV1FaqcategoriesBreadcrumbsFaqIdGet: async (faqId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23199
+ // verify required parameter 'faqId' is not null or undefined
23200
+ assertParamExists('apiV1FaqcategoriesBreadcrumbsFaqIdGet', 'faqId', faqId)
23201
+ const localVarPath = `/api/v1/faqcategories/breadcrumbs/{faqId}`
23202
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)));
23203
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23204
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23205
+ let baseOptions;
23206
+ if (configuration) {
23207
+ baseOptions = configuration.baseOptions;
23208
+ }
23209
+
23210
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23211
+ const localVarHeaderParameter = {} as any;
23212
+ const localVarQueryParameter = {} as any;
23213
+
23214
+ // authentication oauth2 required
23215
+ // oauth required
23216
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23217
+
23218
+ if (languageCode !== undefined) {
23219
+ localVarQueryParameter['languageCode'] = languageCode;
23220
+ }
23221
+
23222
+
23223
+
23224
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23225
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23226
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23227
+
23228
+ return {
23229
+ url: toPathString(localVarUrlObj),
23230
+ options: localVarRequestOptions,
23231
+ };
23232
+ },
23233
+ /**
23234
+ *
23235
+ * @summary Delete faqCategory.
23236
+ * @param {string} faqCategoryId
23237
+ * @param {boolean} [forceDelete]
23238
+ * @param {*} [options] Override http request option.
23239
+ * @throws {RequiredError}
23240
+ */
23241
+ apiV1FaqcategoriesFaqCategoryIdDelete: async (faqCategoryId: string, forceDelete?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23242
+ // verify required parameter 'faqCategoryId' is not null or undefined
23243
+ assertParamExists('apiV1FaqcategoriesFaqCategoryIdDelete', 'faqCategoryId', faqCategoryId)
23244
+ const localVarPath = `/api/v1/faqcategories/{faqCategoryId}`
23245
+ .replace(`{${"faqCategoryId"}}`, encodeURIComponent(String(faqCategoryId)));
23246
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23247
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23248
+ let baseOptions;
23249
+ if (configuration) {
23250
+ baseOptions = configuration.baseOptions;
23251
+ }
23252
+
23253
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
23254
+ const localVarHeaderParameter = {} as any;
23255
+ const localVarQueryParameter = {} as any;
23256
+
23257
+ // authentication oauth2 required
23258
+ // oauth required
23259
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23260
+
23261
+ if (forceDelete !== undefined) {
23262
+ localVarQueryParameter['forceDelete'] = forceDelete;
23263
+ }
23264
+
23265
+
23266
+
23267
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23268
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23269
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23270
+
23271
+ return {
23272
+ url: toPathString(localVarUrlObj),
23273
+ options: localVarRequestOptions,
23274
+ };
23275
+ },
23276
+ /**
23277
+ *
23278
+ * @summary Get faqCategory.
23279
+ * @param {string} faqCategoryId
23280
+ * @param {string} [languageCode]
23281
+ * @param {*} [options] Override http request option.
23282
+ * @throws {RequiredError}
23283
+ */
23284
+ apiV1FaqcategoriesFaqCategoryIdGet: async (faqCategoryId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23285
+ // verify required parameter 'faqCategoryId' is not null or undefined
23286
+ assertParamExists('apiV1FaqcategoriesFaqCategoryIdGet', 'faqCategoryId', faqCategoryId)
23287
+ const localVarPath = `/api/v1/faqcategories/{faqCategoryId}`
23288
+ .replace(`{${"faqCategoryId"}}`, encodeURIComponent(String(faqCategoryId)));
23289
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23290
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23291
+ let baseOptions;
23292
+ if (configuration) {
23293
+ baseOptions = configuration.baseOptions;
23294
+ }
23295
+
23296
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23297
+ const localVarHeaderParameter = {} as any;
23298
+ const localVarQueryParameter = {} as any;
23299
+
23300
+ // authentication oauth2 required
23301
+ // oauth required
23302
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23303
+
23304
+ if (languageCode !== undefined) {
23305
+ localVarQueryParameter['languageCode'] = languageCode;
23306
+ }
23307
+
23308
+
23309
+
23310
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23311
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23312
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23313
+
23314
+ return {
23315
+ url: toPathString(localVarUrlObj),
23316
+ options: localVarRequestOptions,
23317
+ };
23318
+ },
23319
+ /**
23320
+ *
23321
+ * @summary Update faqCategory.
23322
+ * @param {string} faqCategoryId
23323
+ * @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
23324
+ * @param {*} [options] Override http request option.
23325
+ * @throws {RequiredError}
23326
+ */
23327
+ apiV1FaqcategoriesFaqCategoryIdPut: async (faqCategoryId: string, updateFaqCategoryCommand?: UpdateFaqCategoryCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23328
+ // verify required parameter 'faqCategoryId' is not null or undefined
23329
+ assertParamExists('apiV1FaqcategoriesFaqCategoryIdPut', 'faqCategoryId', faqCategoryId)
23330
+ const localVarPath = `/api/v1/faqcategories/{faqCategoryId}`
23331
+ .replace(`{${"faqCategoryId"}}`, encodeURIComponent(String(faqCategoryId)));
23332
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23333
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23334
+ let baseOptions;
23335
+ if (configuration) {
23336
+ baseOptions = configuration.baseOptions;
23337
+ }
23338
+
23339
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
23340
+ const localVarHeaderParameter = {} as any;
23341
+ const localVarQueryParameter = {} as any;
23342
+
23343
+ // authentication oauth2 required
23344
+ // oauth required
23345
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23346
+
23347
+
23348
+
23349
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23350
+
23351
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23352
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23353
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23354
+ localVarRequestOptions.data = serializeDataIfNeeded(updateFaqCategoryCommand, localVarRequestOptions, configuration)
23355
+
23356
+ return {
23357
+ url: toPathString(localVarUrlObj),
23358
+ options: localVarRequestOptions,
23359
+ };
23360
+ },
23361
+ /**
23362
+ *
23363
+ * @summary Get all FaqCategories.
23364
+ * @param {string} [id]
23365
+ * @param {string} [parentId]
23366
+ * @param {string} [name]
23367
+ * @param {string} [description]
23368
+ * @param {string} [languageCode]
23369
+ * @param {number} [page]
23370
+ * @param {number} [limit]
23371
+ * @param {Date} [lastRetrieved]
23372
+ * @param {*} [options] Override http request option.
23373
+ * @throws {RequiredError}
23374
+ */
23375
+ apiV1FaqcategoriesGet: async (id?: string, parentId?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23376
+ const localVarPath = `/api/v1/faqcategories`;
23377
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23378
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23379
+ let baseOptions;
23380
+ if (configuration) {
23381
+ baseOptions = configuration.baseOptions;
23382
+ }
23383
+
23384
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23385
+ const localVarHeaderParameter = {} as any;
23386
+ const localVarQueryParameter = {} as any;
23387
+
23388
+ // authentication oauth2 required
23389
+ // oauth required
23390
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23391
+
23392
+ if (id !== undefined) {
23393
+ localVarQueryParameter['Id'] = id;
23394
+ }
23395
+
23396
+ if (parentId !== undefined) {
23397
+ localVarQueryParameter['ParentId'] = parentId;
23398
+ }
23399
+
23400
+ if (name !== undefined) {
23401
+ localVarQueryParameter['Name'] = name;
23402
+ }
23403
+
23404
+ if (description !== undefined) {
23405
+ localVarQueryParameter['Description'] = description;
23406
+ }
23407
+
23408
+ if (languageCode !== undefined) {
23409
+ localVarQueryParameter['LanguageCode'] = languageCode;
23410
+ }
23411
+
23412
+ if (page !== undefined) {
23413
+ localVarQueryParameter['page'] = page;
23414
+ }
23415
+
23416
+ if (limit !== undefined) {
23417
+ localVarQueryParameter['limit'] = limit;
23418
+ }
23419
+
23420
+ if (lastRetrieved !== undefined) {
23421
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
23422
+ (lastRetrieved as any).toISOString() :
23423
+ lastRetrieved;
23424
+ }
23425
+
23426
+
23427
+
23428
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23429
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23430
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23431
+
23432
+ return {
23433
+ url: toPathString(localVarUrlObj),
23434
+ options: localVarRequestOptions,
23435
+ };
23436
+ },
23437
+ /**
23438
+ *
23439
+ * @summary Create a faqCategory.
23440
+ * @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
23441
+ * @param {*} [options] Override http request option.
23442
+ * @throws {RequiredError}
23443
+ */
23444
+ apiV1FaqcategoriesPost: async (createFaqCategoryCommand?: CreateFaqCategoryCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23445
+ const localVarPath = `/api/v1/faqcategories`;
23446
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23447
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23448
+ let baseOptions;
23449
+ if (configuration) {
23450
+ baseOptions = configuration.baseOptions;
23451
+ }
23452
+
23453
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
23454
+ const localVarHeaderParameter = {} as any;
23455
+ const localVarQueryParameter = {} as any;
23456
+
23457
+ // authentication oauth2 required
23458
+ // oauth required
23459
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23460
+
23461
+
23462
+
23463
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23464
+
23465
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23466
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23467
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23468
+ localVarRequestOptions.data = serializeDataIfNeeded(createFaqCategoryCommand, localVarRequestOptions, configuration)
23469
+
23470
+ return {
23471
+ url: toPathString(localVarUrlObj),
23472
+ options: localVarRequestOptions,
23473
+ };
23474
+ },
23475
+ /**
23476
+ *
23477
+ * @summary Get faqCategory by slug.
23478
+ * @param {string} slug
23479
+ * @param {string} [languageCode]
23480
+ * @param {*} [options] Override http request option.
23481
+ * @throws {RequiredError}
23482
+ */
23483
+ apiV1FaqcategoriesSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23484
+ // verify required parameter 'slug' is not null or undefined
23485
+ assertParamExists('apiV1FaqcategoriesSlugGet', 'slug', slug)
23486
+ const localVarPath = `/api/v1/faqcategories/{slug}`
23487
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
23488
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23489
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23490
+ let baseOptions;
23491
+ if (configuration) {
23492
+ baseOptions = configuration.baseOptions;
23493
+ }
23494
+
23495
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23496
+ const localVarHeaderParameter = {} as any;
23497
+ const localVarQueryParameter = {} as any;
23498
+
23499
+ // authentication oauth2 required
23500
+ // oauth required
23501
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23502
+
23503
+ if (languageCode !== undefined) {
23504
+ localVarQueryParameter['languageCode'] = languageCode;
23505
+ }
23506
+
23507
+
23508
+
23509
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23510
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23511
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23512
+
23513
+ return {
23514
+ url: toPathString(localVarUrlObj),
23515
+ options: localVarRequestOptions,
23516
+ };
23517
+ },
23518
+ }
23519
+ };
23520
+
23521
+ /**
23522
+ * FaqCategoriesApi - functional programming interface
23523
+ * @export
23524
+ */
23525
+ export const FaqCategoriesApiFp = function(configuration?: Configuration) {
23526
+ const localVarAxiosParamCreator = FaqCategoriesApiAxiosParamCreator(configuration)
23527
+ return {
23528
+ /**
23529
+ *
23530
+ * @summary Get BreadCrumbs.
23531
+ * @param {string} faqId
23532
+ * @param {string} [languageCode]
23533
+ * @param {*} [options] Override http request option.
23534
+ * @throws {RequiredError}
23535
+ */
23536
+ async apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FaqCategoryBreadCrumbModel>>> {
23537
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId, languageCode, options);
23538
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23539
+ },
23540
+ /**
23541
+ *
23542
+ * @summary Delete faqCategory.
23543
+ * @param {string} faqCategoryId
23544
+ * @param {boolean} [forceDelete]
23545
+ * @param {*} [options] Override http request option.
23546
+ * @throws {RequiredError}
23547
+ */
23548
+ async apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId: string, forceDelete?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
23549
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId, forceDelete, options);
23550
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23551
+ },
23552
+ /**
23553
+ *
23554
+ * @summary Get faqCategory.
23555
+ * @param {string} faqCategoryId
23556
+ * @param {string} [languageCode]
23557
+ * @param {*} [options] Override http request option.
23558
+ * @throws {RequiredError}
23559
+ */
23560
+ async apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqCategoryModel>> {
23561
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, options);
23562
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23563
+ },
23564
+ /**
23565
+ *
23566
+ * @summary Update faqCategory.
23567
+ * @param {string} faqCategoryId
23568
+ * @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
23569
+ * @param {*} [options] Override http request option.
23570
+ * @throws {RequiredError}
23571
+ */
23572
+ async apiV1FaqcategoriesFaqCategoryIdPut(faqCategoryId: string, updateFaqCategoryCommand?: UpdateFaqCategoryCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqCategoryModel>> {
23573
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesFaqCategoryIdPut(faqCategoryId, updateFaqCategoryCommand, options);
23574
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23575
+ },
23576
+ /**
23577
+ *
23578
+ * @summary Get all FaqCategories.
23579
+ * @param {string} [id]
23580
+ * @param {string} [parentId]
23581
+ * @param {string} [name]
23582
+ * @param {string} [description]
23583
+ * @param {string} [languageCode]
23584
+ * @param {number} [page]
23585
+ * @param {number} [limit]
23586
+ * @param {Date} [lastRetrieved]
23587
+ * @param {*} [options] Override http request option.
23588
+ * @throws {RequiredError}
23589
+ */
23590
+ 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>> {
23591
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesGet(id, parentId, name, description, languageCode, page, limit, lastRetrieved, options);
23592
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23593
+ },
23594
+ /**
23595
+ *
23596
+ * @summary Create a faqCategory.
23597
+ * @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
23598
+ * @param {*} [options] Override http request option.
23599
+ * @throws {RequiredError}
23600
+ */
23601
+ async apiV1FaqcategoriesPost(createFaqCategoryCommand?: CreateFaqCategoryCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqCategoryModel>> {
23602
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesPost(createFaqCategoryCommand, options);
23603
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23604
+ },
23605
+ /**
23606
+ *
23607
+ * @summary Get faqCategory by slug.
23608
+ * @param {string} slug
23609
+ * @param {string} [languageCode]
23610
+ * @param {*} [options] Override http request option.
23611
+ * @throws {RequiredError}
23612
+ */
23613
+ async apiV1FaqcategoriesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqCategoryModel>> {
23614
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesSlugGet(slug, languageCode, options);
23615
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23616
+ },
23617
+ }
23618
+ };
23619
+
23620
+ /**
23621
+ * FaqCategoriesApi - factory interface
23622
+ * @export
23623
+ */
23624
+ export const FaqCategoriesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
23625
+ const localVarFp = FaqCategoriesApiFp(configuration)
23626
+ return {
23627
+ /**
23628
+ *
23629
+ * @summary Get BreadCrumbs.
23630
+ * @param {string} faqId
23631
+ * @param {string} [languageCode]
23632
+ * @param {*} [options] Override http request option.
23633
+ * @throws {RequiredError}
23634
+ */
23635
+ apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId: string, languageCode?: string, options?: any): AxiosPromise<Array<FaqCategoryBreadCrumbModel>> {
23636
+ return localVarFp.apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId, languageCode, options).then((request) => request(axios, basePath));
23637
+ },
23638
+ /**
23639
+ *
23640
+ * @summary Delete faqCategory.
23641
+ * @param {string} faqCategoryId
23642
+ * @param {boolean} [forceDelete]
23643
+ * @param {*} [options] Override http request option.
23644
+ * @throws {RequiredError}
23645
+ */
23646
+ apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId: string, forceDelete?: boolean, options?: any): AxiosPromise<boolean> {
23647
+ return localVarFp.apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId, forceDelete, options).then((request) => request(axios, basePath));
23648
+ },
23649
+ /**
23650
+ *
23651
+ * @summary Get faqCategory.
23652
+ * @param {string} faqCategoryId
23653
+ * @param {string} [languageCode]
23654
+ * @param {*} [options] Override http request option.
23655
+ * @throws {RequiredError}
23656
+ */
23657
+ apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string, options?: any): AxiosPromise<FaqCategoryModel> {
23658
+ return localVarFp.apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, options).then((request) => request(axios, basePath));
23659
+ },
23660
+ /**
23661
+ *
23662
+ * @summary Update faqCategory.
23663
+ * @param {string} faqCategoryId
23664
+ * @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
23665
+ * @param {*} [options] Override http request option.
23666
+ * @throws {RequiredError}
23667
+ */
23668
+ apiV1FaqcategoriesFaqCategoryIdPut(faqCategoryId: string, updateFaqCategoryCommand?: UpdateFaqCategoryCommand, options?: any): AxiosPromise<FaqCategoryModel> {
23669
+ return localVarFp.apiV1FaqcategoriesFaqCategoryIdPut(faqCategoryId, updateFaqCategoryCommand, options).then((request) => request(axios, basePath));
23670
+ },
23671
+ /**
23672
+ *
23673
+ * @summary Get all FaqCategories.
23674
+ * @param {string} [id]
23675
+ * @param {string} [parentId]
23676
+ * @param {string} [name]
23677
+ * @param {string} [description]
23678
+ * @param {string} [languageCode]
23679
+ * @param {number} [page]
23680
+ * @param {number} [limit]
23681
+ * @param {Date} [lastRetrieved]
23682
+ * @param {*} [options] Override http request option.
23683
+ * @throws {RequiredError}
23684
+ */
23685
+ apiV1FaqcategoriesGet(id?: string, parentId?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<FaqCategoriesModel> {
23686
+ return localVarFp.apiV1FaqcategoriesGet(id, parentId, name, description, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
23687
+ },
23688
+ /**
23689
+ *
23690
+ * @summary Create a faqCategory.
23691
+ * @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
23692
+ * @param {*} [options] Override http request option.
23693
+ * @throws {RequiredError}
23694
+ */
23695
+ apiV1FaqcategoriesPost(createFaqCategoryCommand?: CreateFaqCategoryCommand, options?: any): AxiosPromise<FaqCategoryModel> {
23696
+ return localVarFp.apiV1FaqcategoriesPost(createFaqCategoryCommand, options).then((request) => request(axios, basePath));
23697
+ },
23698
+ /**
23699
+ *
23700
+ * @summary Get faqCategory by slug.
23701
+ * @param {string} slug
23702
+ * @param {string} [languageCode]
23703
+ * @param {*} [options] Override http request option.
23704
+ * @throws {RequiredError}
23705
+ */
23706
+ apiV1FaqcategoriesSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<FaqCategoryModel> {
23707
+ return localVarFp.apiV1FaqcategoriesSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
23708
+ },
23709
+ };
23710
+ };
23711
+
23712
+ /**
23713
+ * FaqCategoriesApi - object-oriented interface
23714
+ * @export
23715
+ * @class FaqCategoriesApi
23716
+ * @extends {BaseAPI}
23717
+ */
23718
+ export class FaqCategoriesApi extends BaseAPI {
23719
+ /**
23720
+ *
23721
+ * @summary Get BreadCrumbs.
23722
+ * @param {string} faqId
23723
+ * @param {string} [languageCode]
23724
+ * @param {*} [options] Override http request option.
23725
+ * @throws {RequiredError}
23726
+ * @memberof FaqCategoriesApi
23727
+ */
23728
+ public apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId: string, languageCode?: string, options?: AxiosRequestConfig) {
23729
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId, languageCode, options).then((request) => request(this.axios, this.basePath));
23730
+ }
23731
+
23732
+ /**
23733
+ *
23734
+ * @summary Delete faqCategory.
23735
+ * @param {string} faqCategoryId
23736
+ * @param {boolean} [forceDelete]
23737
+ * @param {*} [options] Override http request option.
23738
+ * @throws {RequiredError}
23739
+ * @memberof FaqCategoriesApi
23740
+ */
23741
+ public apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId: string, forceDelete?: boolean, options?: AxiosRequestConfig) {
23742
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId, forceDelete, options).then((request) => request(this.axios, this.basePath));
23743
+ }
23744
+
23745
+ /**
23746
+ *
23747
+ * @summary Get faqCategory.
23748
+ * @param {string} faqCategoryId
23749
+ * @param {string} [languageCode]
23750
+ * @param {*} [options] Override http request option.
23751
+ * @throws {RequiredError}
23752
+ * @memberof FaqCategoriesApi
23753
+ */
23754
+ public apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string, options?: AxiosRequestConfig) {
23755
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, options).then((request) => request(this.axios, this.basePath));
23756
+ }
23757
+
23758
+ /**
23759
+ *
23760
+ * @summary Update faqCategory.
23761
+ * @param {string} faqCategoryId
23762
+ * @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
23763
+ * @param {*} [options] Override http request option.
23764
+ * @throws {RequiredError}
23765
+ * @memberof FaqCategoriesApi
23766
+ */
23767
+ public apiV1FaqcategoriesFaqCategoryIdPut(faqCategoryId: string, updateFaqCategoryCommand?: UpdateFaqCategoryCommand, options?: AxiosRequestConfig) {
23768
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesFaqCategoryIdPut(faqCategoryId, updateFaqCategoryCommand, options).then((request) => request(this.axios, this.basePath));
23769
+ }
23770
+
23771
+ /**
23772
+ *
23773
+ * @summary Get all FaqCategories.
23774
+ * @param {string} [id]
23775
+ * @param {string} [parentId]
23776
+ * @param {string} [name]
23777
+ * @param {string} [description]
23778
+ * @param {string} [languageCode]
23779
+ * @param {number} [page]
23780
+ * @param {number} [limit]
23781
+ * @param {Date} [lastRetrieved]
23782
+ * @param {*} [options] Override http request option.
23783
+ * @throws {RequiredError}
23784
+ * @memberof FaqCategoriesApi
23785
+ */
23786
+ public apiV1FaqcategoriesGet(id?: string, parentId?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
23787
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesGet(id, parentId, name, description, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
23788
+ }
23789
+
23790
+ /**
23791
+ *
23792
+ * @summary Create a faqCategory.
23793
+ * @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
23794
+ * @param {*} [options] Override http request option.
23795
+ * @throws {RequiredError}
23796
+ * @memberof FaqCategoriesApi
23797
+ */
23798
+ public apiV1FaqcategoriesPost(createFaqCategoryCommand?: CreateFaqCategoryCommand, options?: AxiosRequestConfig) {
23799
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesPost(createFaqCategoryCommand, options).then((request) => request(this.axios, this.basePath));
23800
+ }
23801
+
23802
+ /**
23803
+ *
23804
+ * @summary Get faqCategory by slug.
23805
+ * @param {string} slug
23806
+ * @param {string} [languageCode]
23807
+ * @param {*} [options] Override http request option.
23808
+ * @throws {RequiredError}
23809
+ * @memberof FaqCategoriesApi
23810
+ */
23811
+ public apiV1FaqcategoriesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
23812
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
23813
+ }
23814
+ }
23815
+
23816
+
23817
+ /**
23818
+ * FaqsApi - axios parameter creator
23819
+ * @export
23820
+ */
23821
+ export const FaqsApiAxiosParamCreator = function (configuration?: Configuration) {
23822
+ return {
23823
+ /**
23824
+ *
23825
+ * @summary Delete faq.
23826
+ * @param {string} faqId
23827
+ * @param {*} [options] Override http request option.
23828
+ * @throws {RequiredError}
23829
+ */
23830
+ apiV1FaqsFaqIdDelete: async (faqId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23831
+ // verify required parameter 'faqId' is not null or undefined
23832
+ assertParamExists('apiV1FaqsFaqIdDelete', 'faqId', faqId)
23833
+ const localVarPath = `/api/v1/faqs/{faqId}`
23834
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)));
23835
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23836
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23837
+ let baseOptions;
23838
+ if (configuration) {
23839
+ baseOptions = configuration.baseOptions;
23840
+ }
23841
+
23842
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
23843
+ const localVarHeaderParameter = {} as any;
23844
+ const localVarQueryParameter = {} as any;
23845
+
23846
+ // authentication oauth2 required
23847
+ // oauth required
23848
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23849
+
23850
+
23851
+
23852
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23853
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23854
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23855
+
23856
+ return {
23857
+ url: toPathString(localVarUrlObj),
23858
+ options: localVarRequestOptions,
23859
+ };
23860
+ },
23861
+ /**
23862
+ *
23863
+ * @summary Get faq.
23864
+ * @param {string} faqId
23865
+ * @param {string} [languageCode]
23866
+ * @param {*} [options] Override http request option.
23867
+ * @throws {RequiredError}
23868
+ */
23869
+ apiV1FaqsFaqIdGet: async (faqId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23870
+ // verify required parameter 'faqId' is not null or undefined
23871
+ assertParamExists('apiV1FaqsFaqIdGet', 'faqId', faqId)
23872
+ const localVarPath = `/api/v1/faqs/{faqId}`
23873
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)));
23874
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23875
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23876
+ let baseOptions;
23877
+ if (configuration) {
23878
+ baseOptions = configuration.baseOptions;
23879
+ }
23880
+
23881
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23882
+ const localVarHeaderParameter = {} as any;
23883
+ const localVarQueryParameter = {} as any;
23884
+
23885
+ // authentication oauth2 required
23886
+ // oauth required
23887
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23888
+
23889
+ if (languageCode !== undefined) {
23890
+ localVarQueryParameter['languageCode'] = languageCode;
23891
+ }
23892
+
23893
+
23894
+
23895
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23896
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23897
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23898
+
23899
+ return {
23900
+ url: toPathString(localVarUrlObj),
23901
+ options: localVarRequestOptions,
23902
+ };
23903
+ },
23904
+ /**
23905
+ *
23906
+ * @summary Get all FaqMedias.
23907
+ * @param {string} faqId
23908
+ * @param {string} [id]
23909
+ * @param {MediaType} [mediaType]
23910
+ * @param {number} [page]
23911
+ * @param {number} [limit]
23912
+ * @param {Date} [lastRetrieved]
23913
+ * @param {*} [options] Override http request option.
23914
+ * @throws {RequiredError}
23915
+ */
23916
+ apiV1FaqsFaqIdMediasGet: async (faqId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23917
+ // verify required parameter 'faqId' is not null or undefined
23918
+ assertParamExists('apiV1FaqsFaqIdMediasGet', 'faqId', faqId)
23919
+ const localVarPath = `/api/v1/faqs/{faqId}/medias`
23920
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)));
23921
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23922
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23923
+ let baseOptions;
23924
+ if (configuration) {
23925
+ baseOptions = configuration.baseOptions;
23926
+ }
23927
+
23928
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23929
+ const localVarHeaderParameter = {} as any;
23930
+ const localVarQueryParameter = {} as any;
23931
+
23932
+ // authentication oauth2 required
23933
+ // oauth required
23934
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23935
+
23936
+ if (id !== undefined) {
23937
+ localVarQueryParameter['Id'] = id;
23938
+ }
23939
+
23940
+ if (mediaType !== undefined) {
23941
+ localVarQueryParameter['MediaType'] = mediaType;
23942
+ }
23943
+
23944
+ if (page !== undefined) {
23945
+ localVarQueryParameter['page'] = page;
23946
+ }
23947
+
23948
+ if (limit !== undefined) {
23949
+ localVarQueryParameter['limit'] = limit;
23950
+ }
23951
+
23952
+ if (lastRetrieved !== undefined) {
23953
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
23954
+ (lastRetrieved as any).toISOString() :
23955
+ lastRetrieved;
23956
+ }
23957
+
23958
+
23959
+
23960
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23961
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23962
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23963
+
23964
+ return {
23965
+ url: toPathString(localVarUrlObj),
23966
+ options: localVarRequestOptions,
23967
+ };
23968
+ },
23969
+ /**
23970
+ *
23971
+ * @summary Delete FaqMedia
23972
+ * @param {string} faqId
23973
+ * @param {string} mediaId
23974
+ * @param {*} [options] Override http request option.
23975
+ * @throws {RequiredError}
23976
+ */
23977
+ apiV1FaqsFaqIdMediasMediaIdDelete: async (faqId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23978
+ // verify required parameter 'faqId' is not null or undefined
23979
+ assertParamExists('apiV1FaqsFaqIdMediasMediaIdDelete', 'faqId', faqId)
23980
+ // verify required parameter 'mediaId' is not null or undefined
23981
+ assertParamExists('apiV1FaqsFaqIdMediasMediaIdDelete', 'mediaId', mediaId)
23982
+ const localVarPath = `/api/v1/faqs/{faqId}/medias/{mediaId}`
23983
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)))
23984
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
23985
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23986
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23987
+ let baseOptions;
23988
+ if (configuration) {
23989
+ baseOptions = configuration.baseOptions;
23990
+ }
23991
+
23992
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
23993
+ const localVarHeaderParameter = {} as any;
23994
+ const localVarQueryParameter = {} as any;
23995
+
23996
+ // authentication oauth2 required
23997
+ // oauth required
23998
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23999
+
24000
+
24001
+
24002
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24003
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24004
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24005
+
24006
+ return {
24007
+ url: toPathString(localVarUrlObj),
24008
+ options: localVarRequestOptions,
24009
+ };
24010
+ },
24011
+ /**
24012
+ *
24013
+ * @summary Get FaqMedia.
24014
+ * @param {string} faqId
24015
+ * @param {string} mediaId
24016
+ * @param {*} [options] Override http request option.
24017
+ * @throws {RequiredError}
24018
+ */
24019
+ apiV1FaqsFaqIdMediasMediaIdGet: async (faqId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24020
+ // verify required parameter 'faqId' is not null or undefined
24021
+ assertParamExists('apiV1FaqsFaqIdMediasMediaIdGet', 'faqId', faqId)
24022
+ // verify required parameter 'mediaId' is not null or undefined
24023
+ assertParamExists('apiV1FaqsFaqIdMediasMediaIdGet', 'mediaId', mediaId)
24024
+ const localVarPath = `/api/v1/faqs/{faqId}/medias/{mediaId}`
24025
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)))
24026
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
24027
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24028
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24029
+ let baseOptions;
24030
+ if (configuration) {
24031
+ baseOptions = configuration.baseOptions;
24032
+ }
24033
+
24034
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
24035
+ const localVarHeaderParameter = {} as any;
24036
+ const localVarQueryParameter = {} as any;
24037
+
24038
+ // authentication oauth2 required
24039
+ // oauth required
24040
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24041
+
24042
+
24043
+
24044
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24045
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24046
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24047
+
24048
+ return {
24049
+ url: toPathString(localVarUrlObj),
24050
+ options: localVarRequestOptions,
24051
+ };
24052
+ },
24053
+ /**
24054
+ *
24055
+ * @summary Update FaqMedia.
24056
+ * @param {string} faqId
24057
+ * @param {string} mediaId
24058
+ * @param {UpdateMediaCommand} [updateMediaCommand]
24059
+ * @param {*} [options] Override http request option.
24060
+ * @throws {RequiredError}
24061
+ */
24062
+ apiV1FaqsFaqIdMediasMediaIdPut: async (faqId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24063
+ // verify required parameter 'faqId' is not null or undefined
24064
+ assertParamExists('apiV1FaqsFaqIdMediasMediaIdPut', 'faqId', faqId)
24065
+ // verify required parameter 'mediaId' is not null or undefined
24066
+ assertParamExists('apiV1FaqsFaqIdMediasMediaIdPut', 'mediaId', mediaId)
24067
+ const localVarPath = `/api/v1/faqs/{faqId}/medias/{mediaId}`
24068
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)))
24069
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
24070
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24071
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24072
+ let baseOptions;
24073
+ if (configuration) {
24074
+ baseOptions = configuration.baseOptions;
24075
+ }
24076
+
24077
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
24078
+ const localVarHeaderParameter = {} as any;
24079
+ const localVarQueryParameter = {} as any;
24080
+
24081
+ // authentication oauth2 required
24082
+ // oauth required
24083
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24084
+
24085
+
24086
+
24087
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24088
+
24089
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24090
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24091
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24092
+ localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
24093
+
24094
+ return {
24095
+ url: toPathString(localVarUrlObj),
24096
+ options: localVarRequestOptions,
24097
+ };
24098
+ },
24099
+ /**
24100
+ *
24101
+ * @summary Create FaqMedia.
24102
+ * @param {string} faqId
24103
+ * @param {CreateMediaCommand} [createMediaCommand]
24104
+ * @param {*} [options] Override http request option.
24105
+ * @throws {RequiredError}
24106
+ */
24107
+ apiV1FaqsFaqIdMediasPost: async (faqId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24108
+ // verify required parameter 'faqId' is not null or undefined
24109
+ assertParamExists('apiV1FaqsFaqIdMediasPost', 'faqId', faqId)
24110
+ const localVarPath = `/api/v1/faqs/{faqId}/medias`
24111
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)));
24112
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24113
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24114
+ let baseOptions;
24115
+ if (configuration) {
24116
+ baseOptions = configuration.baseOptions;
24117
+ }
24118
+
24119
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
24120
+ const localVarHeaderParameter = {} as any;
24121
+ const localVarQueryParameter = {} as any;
24122
+
24123
+ // authentication oauth2 required
24124
+ // oauth required
24125
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24126
+
24127
+
24128
+
24129
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24130
+
24131
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24132
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24133
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24134
+ localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
24135
+
24136
+ return {
24137
+ url: toPathString(localVarUrlObj),
24138
+ options: localVarRequestOptions,
24139
+ };
24140
+ },
24141
+ /**
24142
+ *
24143
+ * @summary Update faq.
24144
+ * @param {string} faqId
24145
+ * @param {UpdateFaqCommand} [updateFaqCommand]
24146
+ * @param {*} [options] Override http request option.
24147
+ * @throws {RequiredError}
24148
+ */
24149
+ apiV1FaqsFaqIdPut: async (faqId: string, updateFaqCommand?: UpdateFaqCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24150
+ // verify required parameter 'faqId' is not null or undefined
24151
+ assertParamExists('apiV1FaqsFaqIdPut', 'faqId', faqId)
24152
+ const localVarPath = `/api/v1/faqs/{faqId}`
24153
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)));
24154
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24155
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24156
+ let baseOptions;
24157
+ if (configuration) {
24158
+ baseOptions = configuration.baseOptions;
24159
+ }
24160
+
24161
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
24162
+ const localVarHeaderParameter = {} as any;
24163
+ const localVarQueryParameter = {} as any;
24164
+
24165
+ // authentication oauth2 required
24166
+ // oauth required
24167
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24168
+
24169
+
24170
+
24171
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24172
+
24173
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24174
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24175
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24176
+ localVarRequestOptions.data = serializeDataIfNeeded(updateFaqCommand, localVarRequestOptions, configuration)
24177
+
24178
+ return {
24179
+ url: toPathString(localVarUrlObj),
24180
+ options: localVarRequestOptions,
24181
+ };
24182
+ },
24183
+ /**
24184
+ *
24185
+ * @summary Get all Faqs.
24186
+ * @param {string} [id]
24187
+ * @param {string} [title]
24188
+ * @param {string} [content]
24189
+ * @param {string} [categoryId]
24190
+ * @param {string} [languageCode]
24191
+ * @param {number} [page]
24192
+ * @param {number} [limit]
24193
+ * @param {Date} [lastRetrieved]
24194
+ * @param {*} [options] Override http request option.
24195
+ * @throws {RequiredError}
24196
+ */
24197
+ apiV1FaqsGet: async (id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24198
+ const localVarPath = `/api/v1/faqs`;
24199
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24200
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24201
+ let baseOptions;
24202
+ if (configuration) {
24203
+ baseOptions = configuration.baseOptions;
24204
+ }
24205
+
24206
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
24207
+ const localVarHeaderParameter = {} as any;
24208
+ const localVarQueryParameter = {} as any;
24209
+
24210
+ // authentication oauth2 required
24211
+ // oauth required
24212
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24213
+
24214
+ if (id !== undefined) {
24215
+ localVarQueryParameter['Id'] = id;
24216
+ }
24217
+
24218
+ if (title !== undefined) {
24219
+ localVarQueryParameter['Title'] = title;
24220
+ }
24221
+
24222
+ if (content !== undefined) {
24223
+ localVarQueryParameter['Content'] = content;
24224
+ }
24225
+
24226
+ if (categoryId !== undefined) {
24227
+ localVarQueryParameter['CategoryId'] = categoryId;
24228
+ }
24229
+
24230
+ if (languageCode !== undefined) {
24231
+ localVarQueryParameter['LanguageCode'] = languageCode;
24232
+ }
24233
+
24234
+ if (page !== undefined) {
24235
+ localVarQueryParameter['page'] = page;
24236
+ }
24237
+
24238
+ if (limit !== undefined) {
24239
+ localVarQueryParameter['limit'] = limit;
24240
+ }
24241
+
24242
+ if (lastRetrieved !== undefined) {
24243
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
24244
+ (lastRetrieved as any).toISOString() :
24245
+ lastRetrieved;
24246
+ }
24247
+
24248
+
24249
+
24250
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24251
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24252
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24253
+
24254
+ return {
24255
+ url: toPathString(localVarUrlObj),
24256
+ options: localVarRequestOptions,
24257
+ };
24258
+ },
24259
+ /**
24260
+ *
24261
+ * @summary Create a faq.
24262
+ * @param {CreateFaqCommand} [createFaqCommand]
24263
+ * @param {*} [options] Override http request option.
24264
+ * @throws {RequiredError}
24265
+ */
24266
+ apiV1FaqsPost: async (createFaqCommand?: CreateFaqCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24267
+ const localVarPath = `/api/v1/faqs`;
24268
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24269
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24270
+ let baseOptions;
24271
+ if (configuration) {
24272
+ baseOptions = configuration.baseOptions;
24273
+ }
24274
+
24275
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
24276
+ const localVarHeaderParameter = {} as any;
24277
+ const localVarQueryParameter = {} as any;
24278
+
24279
+ // authentication oauth2 required
24280
+ // oauth required
24281
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24282
+
24283
+
24284
+
24285
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24286
+
24287
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24288
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24289
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24290
+ localVarRequestOptions.data = serializeDataIfNeeded(createFaqCommand, localVarRequestOptions, configuration)
24291
+
24292
+ return {
24293
+ url: toPathString(localVarUrlObj),
24294
+ options: localVarRequestOptions,
24295
+ };
24296
+ },
24297
+ /**
24298
+ *
24299
+ * @summary Get faq by slug.
24300
+ * @param {string} slug
24301
+ * @param {string} [languageCode]
24302
+ * @param {*} [options] Override http request option.
24303
+ * @throws {RequiredError}
24304
+ */
24305
+ apiV1FaqsSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24306
+ // verify required parameter 'slug' is not null or undefined
24307
+ assertParamExists('apiV1FaqsSlugGet', 'slug', slug)
24308
+ const localVarPath = `/api/v1/faqs/{slug}`
24309
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
24310
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24311
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24312
+ let baseOptions;
24313
+ if (configuration) {
24314
+ baseOptions = configuration.baseOptions;
24315
+ }
24316
+
24317
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
24318
+ const localVarHeaderParameter = {} as any;
24319
+ const localVarQueryParameter = {} as any;
24320
+
24321
+ // authentication oauth2 required
24322
+ // oauth required
24323
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24324
+
24325
+ if (languageCode !== undefined) {
24326
+ localVarQueryParameter['languageCode'] = languageCode;
24327
+ }
24328
+
24329
+
24330
+
24331
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24332
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24333
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24334
+
24335
+ return {
24336
+ url: toPathString(localVarUrlObj),
24337
+ options: localVarRequestOptions,
24338
+ };
24339
+ },
24340
+ }
24341
+ };
24342
+
24343
+ /**
24344
+ * FaqsApi - functional programming interface
24345
+ * @export
24346
+ */
24347
+ export const FaqsApiFp = function(configuration?: Configuration) {
24348
+ const localVarAxiosParamCreator = FaqsApiAxiosParamCreator(configuration)
24349
+ return {
24350
+ /**
24351
+ *
24352
+ * @summary Delete faq.
24353
+ * @param {string} faqId
24354
+ * @param {*} [options] Override http request option.
24355
+ * @throws {RequiredError}
24356
+ */
24357
+ async apiV1FaqsFaqIdDelete(faqId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
24358
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdDelete(faqId, options);
24359
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24360
+ },
24361
+ /**
24362
+ *
24363
+ * @summary Get faq.
24364
+ * @param {string} faqId
24365
+ * @param {string} [languageCode]
24366
+ * @param {*} [options] Override http request option.
24367
+ * @throws {RequiredError}
24368
+ */
24369
+ async apiV1FaqsFaqIdGet(faqId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqModel>> {
24370
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdGet(faqId, languageCode, options);
24371
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24372
+ },
24373
+ /**
24374
+ *
24375
+ * @summary Get all FaqMedias.
24376
+ * @param {string} faqId
24377
+ * @param {string} [id]
24378
+ * @param {MediaType} [mediaType]
24379
+ * @param {number} [page]
24380
+ * @param {number} [limit]
24381
+ * @param {Date} [lastRetrieved]
24382
+ * @param {*} [options] Override http request option.
24383
+ * @throws {RequiredError}
24384
+ */
24385
+ async apiV1FaqsFaqIdMediasGet(faqId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
24386
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdMediasGet(faqId, id, mediaType, page, limit, lastRetrieved, options);
24387
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24388
+ },
24389
+ /**
24390
+ *
24391
+ * @summary Delete FaqMedia
24392
+ * @param {string} faqId
24393
+ * @param {string} mediaId
24394
+ * @param {*} [options] Override http request option.
24395
+ * @throws {RequiredError}
24396
+ */
24397
+ async apiV1FaqsFaqIdMediasMediaIdDelete(faqId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
24398
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdMediasMediaIdDelete(faqId, mediaId, options);
24399
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24400
+ },
24401
+ /**
24402
+ *
24403
+ * @summary Get FaqMedia.
24404
+ * @param {string} faqId
24405
+ * @param {string} mediaId
24406
+ * @param {*} [options] Override http request option.
24407
+ * @throws {RequiredError}
24408
+ */
24409
+ async apiV1FaqsFaqIdMediasMediaIdGet(faqId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
24410
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdMediasMediaIdGet(faqId, mediaId, options);
24411
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24412
+ },
24413
+ /**
24414
+ *
24415
+ * @summary Update FaqMedia.
24416
+ * @param {string} faqId
24417
+ * @param {string} mediaId
24418
+ * @param {UpdateMediaCommand} [updateMediaCommand]
24419
+ * @param {*} [options] Override http request option.
24420
+ * @throws {RequiredError}
24421
+ */
24422
+ async apiV1FaqsFaqIdMediasMediaIdPut(faqId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
24423
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdMediasMediaIdPut(faqId, mediaId, updateMediaCommand, options);
24424
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24425
+ },
24426
+ /**
24427
+ *
24428
+ * @summary Create FaqMedia.
24429
+ * @param {string} faqId
24430
+ * @param {CreateMediaCommand} [createMediaCommand]
24431
+ * @param {*} [options] Override http request option.
24432
+ * @throws {RequiredError}
24433
+ */
24434
+ async apiV1FaqsFaqIdMediasPost(faqId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
24435
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdMediasPost(faqId, createMediaCommand, options);
24436
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24437
+ },
24438
+ /**
24439
+ *
24440
+ * @summary Update faq.
24441
+ * @param {string} faqId
24442
+ * @param {UpdateFaqCommand} [updateFaqCommand]
24443
+ * @param {*} [options] Override http request option.
24444
+ * @throws {RequiredError}
24445
+ */
24446
+ async apiV1FaqsFaqIdPut(faqId: string, updateFaqCommand?: UpdateFaqCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqModel>> {
24447
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdPut(faqId, updateFaqCommand, options);
24448
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24449
+ },
24450
+ /**
24451
+ *
24452
+ * @summary Get all Faqs.
24453
+ * @param {string} [id]
24454
+ * @param {string} [title]
24455
+ * @param {string} [content]
24456
+ * @param {string} [categoryId]
24457
+ * @param {string} [languageCode]
24458
+ * @param {number} [page]
24459
+ * @param {number} [limit]
24460
+ * @param {Date} [lastRetrieved]
24461
+ * @param {*} [options] Override http request option.
24462
+ * @throws {RequiredError}
24463
+ */
24464
+ 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>> {
24465
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsGet(id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options);
24466
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24467
+ },
24468
+ /**
24469
+ *
24470
+ * @summary Create a faq.
24471
+ * @param {CreateFaqCommand} [createFaqCommand]
24472
+ * @param {*} [options] Override http request option.
24473
+ * @throws {RequiredError}
24474
+ */
24475
+ async apiV1FaqsPost(createFaqCommand?: CreateFaqCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqModel>> {
24476
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsPost(createFaqCommand, options);
24477
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24478
+ },
24479
+ /**
24480
+ *
24481
+ * @summary Get faq by slug.
24482
+ * @param {string} slug
24483
+ * @param {string} [languageCode]
24484
+ * @param {*} [options] Override http request option.
24485
+ * @throws {RequiredError}
24486
+ */
24487
+ async apiV1FaqsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqModel>> {
24488
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsSlugGet(slug, languageCode, options);
24489
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24490
+ },
24491
+ }
24492
+ };
24493
+
24494
+ /**
24495
+ * FaqsApi - factory interface
24496
+ * @export
24497
+ */
24498
+ export const FaqsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
24499
+ const localVarFp = FaqsApiFp(configuration)
24500
+ return {
24501
+ /**
24502
+ *
24503
+ * @summary Delete faq.
24504
+ * @param {string} faqId
24505
+ * @param {*} [options] Override http request option.
24506
+ * @throws {RequiredError}
24507
+ */
24508
+ apiV1FaqsFaqIdDelete(faqId: string, options?: any): AxiosPromise<boolean> {
24509
+ return localVarFp.apiV1FaqsFaqIdDelete(faqId, options).then((request) => request(axios, basePath));
24510
+ },
24511
+ /**
24512
+ *
24513
+ * @summary Get faq.
24514
+ * @param {string} faqId
24515
+ * @param {string} [languageCode]
24516
+ * @param {*} [options] Override http request option.
24517
+ * @throws {RequiredError}
24518
+ */
24519
+ apiV1FaqsFaqIdGet(faqId: string, languageCode?: string, options?: any): AxiosPromise<FaqModel> {
24520
+ return localVarFp.apiV1FaqsFaqIdGet(faqId, languageCode, options).then((request) => request(axios, basePath));
24521
+ },
24522
+ /**
24523
+ *
24524
+ * @summary Get all FaqMedias.
24525
+ * @param {string} faqId
24526
+ * @param {string} [id]
24527
+ * @param {MediaType} [mediaType]
24528
+ * @param {number} [page]
24529
+ * @param {number} [limit]
24530
+ * @param {Date} [lastRetrieved]
24531
+ * @param {*} [options] Override http request option.
24532
+ * @throws {RequiredError}
24533
+ */
24534
+ apiV1FaqsFaqIdMediasGet(faqId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
24535
+ return localVarFp.apiV1FaqsFaqIdMediasGet(faqId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
24536
+ },
24537
+ /**
24538
+ *
24539
+ * @summary Delete FaqMedia
24540
+ * @param {string} faqId
24541
+ * @param {string} mediaId
24542
+ * @param {*} [options] Override http request option.
24543
+ * @throws {RequiredError}
24544
+ */
24545
+ apiV1FaqsFaqIdMediasMediaIdDelete(faqId: string, mediaId: string, options?: any): AxiosPromise<boolean> {
24546
+ return localVarFp.apiV1FaqsFaqIdMediasMediaIdDelete(faqId, mediaId, options).then((request) => request(axios, basePath));
24547
+ },
24548
+ /**
24549
+ *
24550
+ * @summary Get FaqMedia.
24551
+ * @param {string} faqId
24552
+ * @param {string} mediaId
24553
+ * @param {*} [options] Override http request option.
24554
+ * @throws {RequiredError}
24555
+ */
24556
+ apiV1FaqsFaqIdMediasMediaIdGet(faqId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
24557
+ return localVarFp.apiV1FaqsFaqIdMediasMediaIdGet(faqId, mediaId, options).then((request) => request(axios, basePath));
24558
+ },
24559
+ /**
24560
+ *
24561
+ * @summary Update FaqMedia.
24562
+ * @param {string} faqId
24563
+ * @param {string} mediaId
24564
+ * @param {UpdateMediaCommand} [updateMediaCommand]
24565
+ * @param {*} [options] Override http request option.
24566
+ * @throws {RequiredError}
24567
+ */
24568
+ apiV1FaqsFaqIdMediasMediaIdPut(faqId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: any): AxiosPromise<MediaModel> {
24569
+ return localVarFp.apiV1FaqsFaqIdMediasMediaIdPut(faqId, mediaId, updateMediaCommand, options).then((request) => request(axios, basePath));
24570
+ },
24571
+ /**
24572
+ *
24573
+ * @summary Create FaqMedia.
24574
+ * @param {string} faqId
24575
+ * @param {CreateMediaCommand} [createMediaCommand]
24576
+ * @param {*} [options] Override http request option.
24577
+ * @throws {RequiredError}
24578
+ */
24579
+ apiV1FaqsFaqIdMediasPost(faqId: string, createMediaCommand?: CreateMediaCommand, options?: any): AxiosPromise<MediaModel> {
24580
+ return localVarFp.apiV1FaqsFaqIdMediasPost(faqId, createMediaCommand, options).then((request) => request(axios, basePath));
24581
+ },
24582
+ /**
24583
+ *
24584
+ * @summary Update faq.
24585
+ * @param {string} faqId
24586
+ * @param {UpdateFaqCommand} [updateFaqCommand]
24587
+ * @param {*} [options] Override http request option.
24588
+ * @throws {RequiredError}
24589
+ */
24590
+ apiV1FaqsFaqIdPut(faqId: string, updateFaqCommand?: UpdateFaqCommand, options?: any): AxiosPromise<FaqModel> {
24591
+ return localVarFp.apiV1FaqsFaqIdPut(faqId, updateFaqCommand, options).then((request) => request(axios, basePath));
24592
+ },
24593
+ /**
24594
+ *
24595
+ * @summary Get all Faqs.
24596
+ * @param {string} [id]
24597
+ * @param {string} [title]
24598
+ * @param {string} [content]
24599
+ * @param {string} [categoryId]
24600
+ * @param {string} [languageCode]
24601
+ * @param {number} [page]
24602
+ * @param {number} [limit]
24603
+ * @param {Date} [lastRetrieved]
24604
+ * @param {*} [options] Override http request option.
24605
+ * @throws {RequiredError}
24606
+ */
24607
+ apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<FaqsModel> {
24608
+ return localVarFp.apiV1FaqsGet(id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
24609
+ },
24610
+ /**
24611
+ *
24612
+ * @summary Create a faq.
24613
+ * @param {CreateFaqCommand} [createFaqCommand]
24614
+ * @param {*} [options] Override http request option.
24615
+ * @throws {RequiredError}
24616
+ */
24617
+ apiV1FaqsPost(createFaqCommand?: CreateFaqCommand, options?: any): AxiosPromise<FaqModel> {
24618
+ return localVarFp.apiV1FaqsPost(createFaqCommand, options).then((request) => request(axios, basePath));
24619
+ },
24620
+ /**
24621
+ *
24622
+ * @summary Get faq by slug.
24623
+ * @param {string} slug
24624
+ * @param {string} [languageCode]
24625
+ * @param {*} [options] Override http request option.
24626
+ * @throws {RequiredError}
24627
+ */
24628
+ apiV1FaqsSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<FaqModel> {
24629
+ return localVarFp.apiV1FaqsSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
24630
+ },
24631
+ };
24632
+ };
24633
+
24634
+ /**
24635
+ * FaqsApi - object-oriented interface
24636
+ * @export
24637
+ * @class FaqsApi
24638
+ * @extends {BaseAPI}
24639
+ */
24640
+ export class FaqsApi extends BaseAPI {
24641
+ /**
24642
+ *
24643
+ * @summary Delete faq.
24644
+ * @param {string} faqId
24645
+ * @param {*} [options] Override http request option.
24646
+ * @throws {RequiredError}
24647
+ * @memberof FaqsApi
24648
+ */
24649
+ public apiV1FaqsFaqIdDelete(faqId: string, options?: AxiosRequestConfig) {
24650
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdDelete(faqId, options).then((request) => request(this.axios, this.basePath));
24651
+ }
24652
+
24653
+ /**
24654
+ *
24655
+ * @summary Get faq.
24656
+ * @param {string} faqId
24657
+ * @param {string} [languageCode]
24658
+ * @param {*} [options] Override http request option.
24659
+ * @throws {RequiredError}
24660
+ * @memberof FaqsApi
24661
+ */
24662
+ public apiV1FaqsFaqIdGet(faqId: string, languageCode?: string, options?: AxiosRequestConfig) {
24663
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdGet(faqId, languageCode, options).then((request) => request(this.axios, this.basePath));
24664
+ }
24665
+
24666
+ /**
24667
+ *
24668
+ * @summary Get all FaqMedias.
24669
+ * @param {string} faqId
24670
+ * @param {string} [id]
24671
+ * @param {MediaType} [mediaType]
24672
+ * @param {number} [page]
24673
+ * @param {number} [limit]
24674
+ * @param {Date} [lastRetrieved]
24675
+ * @param {*} [options] Override http request option.
24676
+ * @throws {RequiredError}
24677
+ * @memberof FaqsApi
24678
+ */
24679
+ public apiV1FaqsFaqIdMediasGet(faqId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
24680
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdMediasGet(faqId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
24681
+ }
24682
+
24683
+ /**
24684
+ *
24685
+ * @summary Delete FaqMedia
24686
+ * @param {string} faqId
24687
+ * @param {string} mediaId
24688
+ * @param {*} [options] Override http request option.
24689
+ * @throws {RequiredError}
24690
+ * @memberof FaqsApi
24691
+ */
24692
+ public apiV1FaqsFaqIdMediasMediaIdDelete(faqId: string, mediaId: string, options?: AxiosRequestConfig) {
24693
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdMediasMediaIdDelete(faqId, mediaId, options).then((request) => request(this.axios, this.basePath));
24694
+ }
24695
+
24696
+ /**
24697
+ *
24698
+ * @summary Get FaqMedia.
24699
+ * @param {string} faqId
24700
+ * @param {string} mediaId
24701
+ * @param {*} [options] Override http request option.
24702
+ * @throws {RequiredError}
24703
+ * @memberof FaqsApi
24704
+ */
24705
+ public apiV1FaqsFaqIdMediasMediaIdGet(faqId: string, mediaId: string, options?: AxiosRequestConfig) {
24706
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdMediasMediaIdGet(faqId, mediaId, options).then((request) => request(this.axios, this.basePath));
24707
+ }
24708
+
24709
+ /**
24710
+ *
24711
+ * @summary Update FaqMedia.
24712
+ * @param {string} faqId
24713
+ * @param {string} mediaId
24714
+ * @param {UpdateMediaCommand} [updateMediaCommand]
24715
+ * @param {*} [options] Override http request option.
24716
+ * @throws {RequiredError}
24717
+ * @memberof FaqsApi
24718
+ */
24719
+ public apiV1FaqsFaqIdMediasMediaIdPut(faqId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig) {
24720
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdMediasMediaIdPut(faqId, mediaId, updateMediaCommand, options).then((request) => request(this.axios, this.basePath));
24721
+ }
24722
+
24723
+ /**
24724
+ *
24725
+ * @summary Create FaqMedia.
24726
+ * @param {string} faqId
24727
+ * @param {CreateMediaCommand} [createMediaCommand]
24728
+ * @param {*} [options] Override http request option.
24729
+ * @throws {RequiredError}
24730
+ * @memberof FaqsApi
24731
+ */
24732
+ public apiV1FaqsFaqIdMediasPost(faqId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig) {
24733
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdMediasPost(faqId, createMediaCommand, options).then((request) => request(this.axios, this.basePath));
24734
+ }
24735
+
24736
+ /**
24737
+ *
24738
+ * @summary Update faq.
24739
+ * @param {string} faqId
24740
+ * @param {UpdateFaqCommand} [updateFaqCommand]
24741
+ * @param {*} [options] Override http request option.
24742
+ * @throws {RequiredError}
24743
+ * @memberof FaqsApi
24744
+ */
24745
+ public apiV1FaqsFaqIdPut(faqId: string, updateFaqCommand?: UpdateFaqCommand, options?: AxiosRequestConfig) {
24746
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdPut(faqId, updateFaqCommand, options).then((request) => request(this.axios, this.basePath));
24747
+ }
24748
+
24749
+ /**
24750
+ *
24751
+ * @summary Get all Faqs.
24752
+ * @param {string} [id]
24753
+ * @param {string} [title]
24754
+ * @param {string} [content]
24755
+ * @param {string} [categoryId]
24756
+ * @param {string} [languageCode]
24757
+ * @param {number} [page]
24758
+ * @param {number} [limit]
24759
+ * @param {Date} [lastRetrieved]
24760
+ * @param {*} [options] Override http request option.
24761
+ * @throws {RequiredError}
24762
+ * @memberof FaqsApi
24763
+ */
24764
+ public apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
24765
+ return FaqsApiFp(this.configuration).apiV1FaqsGet(id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
24766
+ }
24767
+
24768
+ /**
24769
+ *
24770
+ * @summary Create a faq.
24771
+ * @param {CreateFaqCommand} [createFaqCommand]
24772
+ * @param {*} [options] Override http request option.
24773
+ * @throws {RequiredError}
24774
+ * @memberof FaqsApi
24775
+ */
24776
+ public apiV1FaqsPost(createFaqCommand?: CreateFaqCommand, options?: AxiosRequestConfig) {
24777
+ return FaqsApiFp(this.configuration).apiV1FaqsPost(createFaqCommand, options).then((request) => request(this.axios, this.basePath));
24778
+ }
24779
+
24780
+ /**
24781
+ *
24782
+ * @summary Get faq by slug.
24783
+ * @param {string} slug
24784
+ * @param {string} [languageCode]
24785
+ * @param {*} [options] Override http request option.
24786
+ * @throws {RequiredError}
24787
+ * @memberof FaqsApi
24788
+ */
24789
+ public apiV1FaqsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
24790
+ return FaqsApiFp(this.configuration).apiV1FaqsSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
24791
+ }
24792
+ }
24793
+
24794
+
22693
24795
  /**
22694
24796
  * HospitalsApi - axios parameter creator
22695
24797
  * @export