ch-admin-api-client-typescript 2.4.9 → 2.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/api.ts CHANGED
@@ -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
@@ -4169,6 +4231,31 @@ export interface CreateTagCommand {
4169
4231
  */
4170
4232
  'tagId'?: string | null;
4171
4233
  }
4234
+ /**
4235
+ *
4236
+ * @export
4237
+ * @interface CreateTemplateVersionCommand
4238
+ */
4239
+ export interface CreateTemplateVersionCommand {
4240
+ /**
4241
+ *
4242
+ * @type {string}
4243
+ * @memberof CreateTemplateVersionCommand
4244
+ */
4245
+ 'name'?: string | null;
4246
+ /**
4247
+ *
4248
+ * @type {string}
4249
+ * @memberof CreateTemplateVersionCommand
4250
+ */
4251
+ 'subject'?: string | null;
4252
+ /**
4253
+ *
4254
+ * @type {string}
4255
+ * @memberof CreateTemplateVersionCommand
4256
+ */
4257
+ 'htmlContent'?: string | null;
4258
+ }
4172
4259
  /**
4173
4260
  *
4174
4261
  * @export
@@ -4733,13 +4820,13 @@ export interface DoctorCertificateItemModel {
4733
4820
  * @type {string}
4734
4821
  * @memberof DoctorCertificateItemModel
4735
4822
  */
4736
- 'doctorId'?: string;
4823
+ 'id'?: string;
4737
4824
  /**
4738
4825
  *
4739
4826
  * @type {string}
4740
4827
  * @memberof DoctorCertificateItemModel
4741
4828
  */
4742
- 'id'?: string;
4829
+ 'doctorId'?: string;
4743
4830
  /**
4744
4831
  *
4745
4832
  * @type {string}
@@ -4776,13 +4863,13 @@ export interface DoctorCertificateModel {
4776
4863
  * @type {string}
4777
4864
  * @memberof DoctorCertificateModel
4778
4865
  */
4779
- 'doctorId'?: string;
4866
+ 'id'?: string;
4780
4867
  /**
4781
4868
  *
4782
4869
  * @type {string}
4783
4870
  * @memberof DoctorCertificateModel
4784
4871
  */
4785
- 'id'?: string;
4872
+ 'doctorId'?: string;
4786
4873
  /**
4787
4874
  *
4788
4875
  * @type {string}
@@ -5269,6 +5356,12 @@ export interface DoctorModel {
5269
5356
  * @memberof DoctorModel
5270
5357
  */
5271
5358
  'confirmed'?: boolean;
5359
+ /**
5360
+ *
5361
+ * @type {string}
5362
+ * @memberof DoctorModel
5363
+ */
5364
+ 'languageCode'?: string | null;
5272
5365
  }
5273
5366
  /**
5274
5367
  *
@@ -5483,485 +5576,816 @@ export interface DoctorsModel {
5483
5576
  /**
5484
5577
  *
5485
5578
  * @export
5486
- * @enum {string}
5579
+ * @interface FaqCategoriesModel
5487
5580
  */
5488
-
5489
- export enum Gender {
5490
- NotSpecified = 'NotSpecified',
5491
- Male = 'Male',
5492
- Female = 'Female',
5493
- NonBinary = 'NonBinary',
5494
- PreferNotToSay = 'PreferNotToSay'
5581
+ export interface FaqCategoriesModel {
5582
+ /**
5583
+ *
5584
+ * @type {Array<FaqCategoryItemModel>}
5585
+ * @memberof FaqCategoriesModel
5586
+ */
5587
+ 'items'?: Array<FaqCategoryItemModel> | null;
5588
+ /**
5589
+ *
5590
+ * @type {PagedListMetaData}
5591
+ * @memberof FaqCategoriesModel
5592
+ */
5593
+ 'metaData'?: PagedListMetaData;
5495
5594
  }
5496
-
5497
5595
  /**
5498
5596
  *
5499
5597
  * @export
5500
- * @interface HospitalAccreditationItemModel
5598
+ * @interface FaqCategoryBreadCrumbModel
5501
5599
  */
5502
- export interface HospitalAccreditationItemModel {
5600
+ export interface FaqCategoryBreadCrumbModel {
5503
5601
  /**
5504
5602
  *
5505
5603
  * @type {string}
5506
- * @memberof HospitalAccreditationItemModel
5604
+ * @memberof FaqCategoryBreadCrumbModel
5507
5605
  */
5508
- 'hospitalId'?: string;
5606
+ 'id'?: string;
5509
5607
  /**
5510
5608
  *
5511
5609
  * @type {string}
5512
- * @memberof HospitalAccreditationItemModel
5610
+ * @memberof FaqCategoryBreadCrumbModel
5513
5611
  */
5514
- 'accreditationId'?: string;
5612
+ 'name'?: string | null;
5515
5613
  /**
5516
5614
  *
5517
5615
  * @type {string}
5518
- * @memberof HospitalAccreditationItemModel
5616
+ * @memberof FaqCategoryBreadCrumbModel
5519
5617
  */
5520
- 'accreditationName'?: string | null;
5618
+ 'slug'?: string | null;
5521
5619
  /**
5522
5620
  *
5523
5621
  * @type {string}
5524
- * @memberof HospitalAccreditationItemModel
5622
+ * @memberof FaqCategoryBreadCrumbModel
5525
5623
  */
5526
- 'accreditationLogo'?: string | null;
5624
+ 'parentId'?: string | null;
5625
+ /**
5626
+ *
5627
+ * @type {boolean}
5628
+ * @memberof FaqCategoryBreadCrumbModel
5629
+ */
5630
+ 'confirmed'?: boolean;
5527
5631
  }
5528
5632
  /**
5529
5633
  *
5530
5634
  * @export
5531
- * @interface HospitalAccreditationModel
5635
+ * @interface FaqCategoryItemModel
5532
5636
  */
5533
- export interface HospitalAccreditationModel {
5637
+ export interface FaqCategoryItemModel {
5534
5638
  /**
5535
5639
  *
5536
5640
  * @type {string}
5537
- * @memberof HospitalAccreditationModel
5641
+ * @memberof FaqCategoryItemModel
5538
5642
  */
5539
- 'hospitalId'?: string;
5643
+ 'id'?: string;
5540
5644
  /**
5541
5645
  *
5542
5646
  * @type {string}
5543
- * @memberof HospitalAccreditationModel
5647
+ * @memberof FaqCategoryItemModel
5544
5648
  */
5545
- 'accreditationId'?: string;
5649
+ 'parentId'?: string | null;
5546
5650
  /**
5547
5651
  *
5548
5652
  * @type {string}
5549
- * @memberof HospitalAccreditationModel
5653
+ * @memberof FaqCategoryItemModel
5550
5654
  */
5551
- 'accreditationName'?: string | null;
5655
+ 'name'?: string | null;
5552
5656
  /**
5553
5657
  *
5554
5658
  * @type {string}
5555
- * @memberof HospitalAccreditationModel
5659
+ * @memberof FaqCategoryItemModel
5556
5660
  */
5557
- 'accreditationLogo'?: string | null;
5558
- }
5559
- /**
5560
- *
5561
- * @export
5562
- * @interface HospitalAccreditationsModel
5563
- */
5564
- export interface HospitalAccreditationsModel {
5661
+ 'slug'?: string | null;
5565
5662
  /**
5566
5663
  *
5567
- * @type {Array<HospitalAccreditationItemModel>}
5568
- * @memberof HospitalAccreditationsModel
5664
+ * @type {string}
5665
+ * @memberof FaqCategoryItemModel
5569
5666
  */
5570
- 'items'?: Array<HospitalAccreditationItemModel> | null;
5667
+ 'description'?: string | null;
5571
5668
  /**
5572
5669
  *
5573
- * @type {PagedListMetaData}
5574
- * @memberof HospitalAccreditationsModel
5670
+ * @type {number}
5671
+ * @memberof FaqCategoryItemModel
5575
5672
  */
5576
- 'metaData'?: PagedListMetaData;
5673
+ 'order'?: number;
5674
+ /**
5675
+ *
5676
+ * @type {Array<FaqItemModel>}
5677
+ * @memberof FaqCategoryItemModel
5678
+ */
5679
+ 'faqs'?: Array<FaqItemModel> | null;
5680
+ /**
5681
+ *
5682
+ * @type {Array<LocalizedUrlModel>}
5683
+ * @memberof FaqCategoryItemModel
5684
+ */
5685
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
5686
+ /**
5687
+ *
5688
+ * @type {boolean}
5689
+ * @memberof FaqCategoryItemModel
5690
+ */
5691
+ 'confirmed'?: boolean;
5577
5692
  }
5578
5693
  /**
5579
5694
  *
5580
5695
  * @export
5581
- * @interface HospitalEquipmentItemModel
5696
+ * @interface FaqCategoryModel
5582
5697
  */
5583
- export interface HospitalEquipmentItemModel {
5698
+ export interface FaqCategoryModel {
5584
5699
  /**
5585
5700
  *
5586
5701
  * @type {string}
5587
- * @memberof HospitalEquipmentItemModel
5702
+ * @memberof FaqCategoryModel
5588
5703
  */
5589
5704
  'id'?: string;
5590
5705
  /**
5591
5706
  *
5592
5707
  * @type {string}
5593
- * @memberof HospitalEquipmentItemModel
5708
+ * @memberof FaqCategoryModel
5594
5709
  */
5595
- 'name'?: string | null;
5710
+ 'parentId'?: string | null;
5596
5711
  /**
5597
5712
  *
5598
5713
  * @type {string}
5599
- * @memberof HospitalEquipmentItemModel
5714
+ * @memberof FaqCategoryModel
5600
5715
  */
5601
- 'description'?: string | null;
5716
+ 'name'?: string | null;
5602
5717
  /**
5603
5718
  *
5604
5719
  * @type {string}
5605
- * @memberof HospitalEquipmentItemModel
5720
+ * @memberof FaqCategoryModel
5606
5721
  */
5607
- 'hospitalId'?: string;
5722
+ 'slug'?: string | null;
5608
5723
  /**
5609
5724
  *
5610
5725
  * @type {string}
5611
- * @memberof HospitalEquipmentItemModel
5726
+ * @memberof FaqCategoryModel
5612
5727
  */
5613
- 'hospitalName'?: string | null;
5728
+ 'description'?: string | null;
5614
5729
  /**
5615
5730
  *
5616
- * @type {Array<MediaModel>}
5617
- * @memberof HospitalEquipmentItemModel
5731
+ * @type {number}
5732
+ * @memberof FaqCategoryModel
5618
5733
  */
5619
- 'medias'?: Array<MediaModel> | null;
5734
+ 'order'?: number;
5620
5735
  /**
5621
5736
  *
5622
- * @type {AuditableEntity}
5623
- * @memberof HospitalEquipmentItemModel
5737
+ * @type {Array<FaqItemModel>}
5738
+ * @memberof FaqCategoryModel
5624
5739
  */
5625
- 'auditableEntity'?: AuditableEntity;
5740
+ 'faqs'?: Array<FaqItemModel> | null;
5741
+ /**
5742
+ *
5743
+ * @type {Array<LocalizedUrlModel>}
5744
+ * @memberof FaqCategoryModel
5745
+ */
5746
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
5747
+ /**
5748
+ *
5749
+ * @type {boolean}
5750
+ * @memberof FaqCategoryModel
5751
+ */
5752
+ 'confirmed'?: boolean;
5753
+ /**
5754
+ *
5755
+ * @type {string}
5756
+ * @memberof FaqCategoryModel
5757
+ */
5758
+ 'languageCode'?: string | null;
5626
5759
  }
5627
5760
  /**
5628
5761
  *
5629
5762
  * @export
5630
- * @interface HospitalEquipmentModel
5763
+ * @interface FaqItemModel
5631
5764
  */
5632
- export interface HospitalEquipmentModel {
5765
+ export interface FaqItemModel {
5633
5766
  /**
5634
5767
  *
5635
5768
  * @type {string}
5636
- * @memberof HospitalEquipmentModel
5769
+ * @memberof FaqItemModel
5637
5770
  */
5638
5771
  'id'?: string;
5639
5772
  /**
5640
5773
  *
5641
5774
  * @type {string}
5642
- * @memberof HospitalEquipmentModel
5775
+ * @memberof FaqItemModel
5643
5776
  */
5644
- 'name'?: string | null;
5777
+ 'title'?: string | null;
5645
5778
  /**
5646
5779
  *
5647
5780
  * @type {string}
5648
- * @memberof HospitalEquipmentModel
5781
+ * @memberof FaqItemModel
5649
5782
  */
5650
- 'description'?: string | null;
5783
+ 'slug'?: string | null;
5651
5784
  /**
5652
5785
  *
5653
5786
  * @type {string}
5654
- * @memberof HospitalEquipmentModel
5787
+ * @memberof FaqItemModel
5655
5788
  */
5656
- 'hospitalId'?: string;
5789
+ 'content'?: string | null;
5657
5790
  /**
5658
5791
  *
5659
- * @type {string}
5660
- * @memberof HospitalEquipmentModel
5792
+ * @type {number}
5793
+ * @memberof FaqItemModel
5661
5794
  */
5662
- 'hospitalName'?: string | null;
5795
+ 'order'?: number;
5663
5796
  /**
5664
5797
  *
5665
5798
  * @type {Array<MediaModel>}
5666
- * @memberof HospitalEquipmentModel
5799
+ * @memberof FaqItemModel
5667
5800
  */
5668
5801
  'medias'?: Array<MediaModel> | null;
5669
5802
  /**
5670
5803
  *
5671
5804
  * @type {AuditableEntity}
5672
- * @memberof HospitalEquipmentModel
5805
+ * @memberof FaqItemModel
5673
5806
  */
5674
5807
  'auditableEntity'?: AuditableEntity;
5675
- }
5676
- /**
5677
- *
5678
- * @export
5679
- * @interface HospitalEquipmentsModel
5680
- */
5681
- export interface HospitalEquipmentsModel {
5682
5808
  /**
5683
5809
  *
5684
- * @type {Array<HospitalEquipmentItemModel>}
5685
- * @memberof HospitalEquipmentsModel
5810
+ * @type {Array<LocalizedUrlModel>}
5811
+ * @memberof FaqItemModel
5686
5812
  */
5687
- 'items'?: Array<HospitalEquipmentItemModel> | null;
5813
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
5688
5814
  /**
5689
5815
  *
5690
- * @type {PagedListMetaData}
5691
- * @memberof HospitalEquipmentsModel
5816
+ * @type {boolean}
5817
+ * @memberof FaqItemModel
5692
5818
  */
5693
- 'metaData'?: PagedListMetaData;
5819
+ 'confirmed'?: boolean;
5694
5820
  }
5695
5821
  /**
5696
5822
  *
5697
5823
  * @export
5698
- * @interface HospitalEvaluationItemModel
5824
+ * @interface FaqModel
5699
5825
  */
5700
- export interface HospitalEvaluationItemModel {
5826
+ export interface FaqModel {
5701
5827
  /**
5702
5828
  *
5703
5829
  * @type {string}
5704
- * @memberof HospitalEvaluationItemModel
5830
+ * @memberof FaqModel
5705
5831
  */
5706
5832
  'id'?: string;
5707
5833
  /**
5708
5834
  *
5709
5835
  * @type {string}
5710
- * @memberof HospitalEvaluationItemModel
5836
+ * @memberof FaqModel
5711
5837
  */
5712
- 'hospitalId'?: string;
5838
+ 'title'?: string | null;
5713
5839
  /**
5714
5840
  *
5715
5841
  * @type {string}
5716
- * @memberof HospitalEvaluationItemModel
5842
+ * @memberof FaqModel
5717
5843
  */
5718
- 'hospitalName'?: string | null;
5844
+ 'slug'?: string | null;
5719
5845
  /**
5720
5846
  *
5721
5847
  * @type {string}
5722
- * @memberof HospitalEvaluationItemModel
5848
+ * @memberof FaqModel
5723
5849
  */
5724
- 'name'?: string | null;
5850
+ 'content'?: string | null;
5725
5851
  /**
5726
5852
  *
5727
5853
  * @type {number}
5728
- * @memberof HospitalEvaluationItemModel
5854
+ * @memberof FaqModel
5729
5855
  */
5730
- 'stars'?: number;
5856
+ 'order'?: number;
5731
5857
  /**
5732
5858
  *
5733
- * @type {string}
5734
- * @memberof HospitalEvaluationItemModel
5859
+ * @type {Array<MediaModel>}
5860
+ * @memberof FaqModel
5735
5861
  */
5736
- 'description'?: string | null;
5862
+ 'medias'?: Array<MediaModel> | null;
5737
5863
  /**
5738
5864
  *
5739
- * @type {string}
5740
- * @memberof HospitalEvaluationItemModel
5865
+ * @type {AuditableEntity}
5866
+ * @memberof FaqModel
5741
5867
  */
5742
- 'referenceUrl'?: string | null;
5743
- }
5868
+ 'auditableEntity'?: AuditableEntity;
5869
+ /**
5870
+ *
5871
+ * @type {Array<LocalizedUrlModel>}
5872
+ * @memberof FaqModel
5873
+ */
5874
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
5875
+ /**
5876
+ *
5877
+ * @type {boolean}
5878
+ * @memberof FaqModel
5879
+ */
5880
+ 'confirmed'?: boolean;
5881
+ /**
5882
+ *
5883
+ * @type {Array<FaqCategoryBreadCrumbModel>}
5884
+ * @memberof FaqModel
5885
+ */
5886
+ 'categories'?: Array<FaqCategoryBreadCrumbModel> | null;
5887
+ }
5744
5888
  /**
5745
5889
  *
5746
5890
  * @export
5747
- * @interface HospitalEvaluationModel
5891
+ * @interface FaqsModel
5748
5892
  */
5749
- export interface HospitalEvaluationModel {
5893
+ export interface FaqsModel {
5750
5894
  /**
5751
5895
  *
5752
- * @type {string}
5753
- * @memberof HospitalEvaluationModel
5896
+ * @type {Array<FaqItemModel>}
5897
+ * @memberof FaqsModel
5754
5898
  */
5755
- 'id'?: string;
5899
+ 'items'?: Array<FaqItemModel> | null;
5900
+ /**
5901
+ *
5902
+ * @type {PagedListMetaData}
5903
+ * @memberof FaqsModel
5904
+ */
5905
+ 'metaData'?: PagedListMetaData;
5906
+ }
5907
+ /**
5908
+ *
5909
+ * @export
5910
+ * @enum {string}
5911
+ */
5912
+
5913
+ export enum Gender {
5914
+ NotSpecified = 'NotSpecified',
5915
+ Male = 'Male',
5916
+ Female = 'Female',
5917
+ NonBinary = 'NonBinary',
5918
+ PreferNotToSay = 'PreferNotToSay'
5919
+ }
5920
+
5921
+ /**
5922
+ *
5923
+ * @export
5924
+ * @interface HospitalAccreditationItemModel
5925
+ */
5926
+ export interface HospitalAccreditationItemModel {
5756
5927
  /**
5757
5928
  *
5758
5929
  * @type {string}
5759
- * @memberof HospitalEvaluationModel
5930
+ * @memberof HospitalAccreditationItemModel
5760
5931
  */
5761
5932
  'hospitalId'?: string;
5762
5933
  /**
5763
5934
  *
5764
5935
  * @type {string}
5765
- * @memberof HospitalEvaluationModel
5936
+ * @memberof HospitalAccreditationItemModel
5766
5937
  */
5767
- 'hospitalName'?: string | null;
5938
+ 'accreditationId'?: string;
5768
5939
  /**
5769
5940
  *
5770
5941
  * @type {string}
5771
- * @memberof HospitalEvaluationModel
5942
+ * @memberof HospitalAccreditationItemModel
5772
5943
  */
5773
- 'name'?: string | null;
5944
+ 'accreditationName'?: string | null;
5774
5945
  /**
5775
5946
  *
5776
- * @type {number}
5777
- * @memberof HospitalEvaluationModel
5947
+ * @type {string}
5948
+ * @memberof HospitalAccreditationItemModel
5778
5949
  */
5779
- 'stars'?: number;
5950
+ 'accreditationLogo'?: string | null;
5951
+ }
5952
+ /**
5953
+ *
5954
+ * @export
5955
+ * @interface HospitalAccreditationModel
5956
+ */
5957
+ export interface HospitalAccreditationModel {
5780
5958
  /**
5781
5959
  *
5782
5960
  * @type {string}
5783
- * @memberof HospitalEvaluationModel
5961
+ * @memberof HospitalAccreditationModel
5784
5962
  */
5785
- 'description'?: string | null;
5963
+ 'hospitalId'?: string;
5786
5964
  /**
5787
5965
  *
5788
5966
  * @type {string}
5789
- * @memberof HospitalEvaluationModel
5967
+ * @memberof HospitalAccreditationModel
5790
5968
  */
5791
- 'referenceUrl'?: string | null;
5969
+ 'accreditationId'?: string;
5970
+ /**
5971
+ *
5972
+ * @type {string}
5973
+ * @memberof HospitalAccreditationModel
5974
+ */
5975
+ 'accreditationName'?: string | null;
5976
+ /**
5977
+ *
5978
+ * @type {string}
5979
+ * @memberof HospitalAccreditationModel
5980
+ */
5981
+ 'accreditationLogo'?: string | null;
5792
5982
  }
5793
5983
  /**
5794
5984
  *
5795
5985
  * @export
5796
- * @interface HospitalEvaluationsModel
5986
+ * @interface HospitalAccreditationsModel
5797
5987
  */
5798
- export interface HospitalEvaluationsModel {
5988
+ export interface HospitalAccreditationsModel {
5799
5989
  /**
5800
5990
  *
5801
- * @type {Array<HospitalEvaluationItemModel>}
5802
- * @memberof HospitalEvaluationsModel
5991
+ * @type {Array<HospitalAccreditationItemModel>}
5992
+ * @memberof HospitalAccreditationsModel
5803
5993
  */
5804
- 'items'?: Array<HospitalEvaluationItemModel> | null;
5994
+ 'items'?: Array<HospitalAccreditationItemModel> | null;
5805
5995
  /**
5806
5996
  *
5807
5997
  * @type {PagedListMetaData}
5808
- * @memberof HospitalEvaluationsModel
5998
+ * @memberof HospitalAccreditationsModel
5809
5999
  */
5810
6000
  'metaData'?: PagedListMetaData;
5811
6001
  }
5812
6002
  /**
5813
6003
  *
5814
6004
  * @export
5815
- * @interface HospitalItemModel
6005
+ * @interface HospitalEquipmentItemModel
5816
6006
  */
5817
- export interface HospitalItemModel {
6007
+ export interface HospitalEquipmentItemModel {
5818
6008
  /**
5819
6009
  *
5820
6010
  * @type {string}
5821
- * @memberof HospitalItemModel
6011
+ * @memberof HospitalEquipmentItemModel
5822
6012
  */
5823
6013
  'id'?: string;
5824
6014
  /**
5825
6015
  *
5826
6016
  * @type {string}
5827
- * @memberof HospitalItemModel
6017
+ * @memberof HospitalEquipmentItemModel
5828
6018
  */
5829
6019
  'name'?: string | null;
5830
6020
  /**
5831
6021
  *
5832
6022
  * @type {string}
5833
- * @memberof HospitalItemModel
5834
- */
5835
- 'slug'?: string | null;
5836
- /**
5837
- *
5838
- * @type {string}
5839
- * @memberof HospitalItemModel
6023
+ * @memberof HospitalEquipmentItemModel
5840
6024
  */
5841
6025
  'description'?: string | null;
5842
6026
  /**
5843
6027
  *
5844
6028
  * @type {string}
5845
- * @memberof HospitalItemModel
6029
+ * @memberof HospitalEquipmentItemModel
5846
6030
  */
5847
- 'logo'?: string | null;
6031
+ 'hospitalId'?: string;
5848
6032
  /**
5849
6033
  *
5850
6034
  * @type {string}
5851
- * @memberof HospitalItemModel
6035
+ * @memberof HospitalEquipmentItemModel
5852
6036
  */
5853
- 'overview'?: string | null;
6037
+ 'hospitalName'?: string | null;
5854
6038
  /**
5855
6039
  *
5856
- * @type {number}
5857
- * @memberof HospitalItemModel
6040
+ * @type {Array<MediaModel>}
6041
+ * @memberof HospitalEquipmentItemModel
5858
6042
  */
5859
- 'bedsCount'?: number | null;
6043
+ 'medias'?: Array<MediaModel> | null;
5860
6044
  /**
5861
6045
  *
5862
- * @type {number}
5863
- * @memberof HospitalItemModel
6046
+ * @type {AuditableEntity}
6047
+ * @memberof HospitalEquipmentItemModel
5864
6048
  */
5865
- 'operationsPerYear'?: number | null;
6049
+ 'auditableEntity'?: AuditableEntity;
6050
+ }
6051
+ /**
6052
+ *
6053
+ * @export
6054
+ * @interface HospitalEquipmentModel
6055
+ */
6056
+ export interface HospitalEquipmentModel {
5866
6057
  /**
5867
6058
  *
5868
- * @type {number}
5869
- * @memberof HospitalItemModel
6059
+ * @type {string}
6060
+ * @memberof HospitalEquipmentModel
5870
6061
  */
5871
- 'foundationYear'?: number | null;
6062
+ 'id'?: string;
5872
6063
  /**
5873
6064
  *
5874
- * @type {number}
5875
- * @memberof HospitalItemModel
6065
+ * @type {string}
6066
+ * @memberof HospitalEquipmentModel
5876
6067
  */
5877
- 'medicalStaffCount'?: number | null;
6068
+ 'name'?: string | null;
5878
6069
  /**
5879
6070
  *
5880
- * @type {number}
5881
- * @memberof HospitalItemModel
6071
+ * @type {string}
6072
+ * @memberof HospitalEquipmentModel
5882
6073
  */
5883
- 'doctorCount'?: number | null;
6074
+ 'description'?: string | null;
5884
6075
  /**
5885
6076
  *
5886
6077
  * @type {string}
5887
- * @memberof HospitalItemModel
6078
+ * @memberof HospitalEquipmentModel
5888
6079
  */
5889
- 'countryId'?: string;
6080
+ 'hospitalId'?: string;
5890
6081
  /**
5891
6082
  *
5892
6083
  * @type {string}
5893
- * @memberof HospitalItemModel
6084
+ * @memberof HospitalEquipmentModel
5894
6085
  */
5895
- 'countryName'?: string | null;
6086
+ 'hospitalName'?: string | null;
5896
6087
  /**
5897
6088
  *
5898
- * @type {MarketingType}
5899
- * @memberof HospitalItemModel
6089
+ * @type {Array<MediaModel>}
6090
+ * @memberof HospitalEquipmentModel
5900
6091
  */
5901
- 'marketingType'?: MarketingType;
6092
+ 'medias'?: Array<MediaModel> | null;
5902
6093
  /**
5903
6094
  *
5904
- * @type {boolean}
5905
- * @memberof HospitalItemModel
6095
+ * @type {AuditableEntity}
6096
+ * @memberof HospitalEquipmentModel
5906
6097
  */
5907
- 'consultationEnabled'?: boolean | null;
6098
+ 'auditableEntity'?: AuditableEntity;
6099
+ }
6100
+ /**
6101
+ *
6102
+ * @export
6103
+ * @interface HospitalEquipmentsModel
6104
+ */
6105
+ export interface HospitalEquipmentsModel {
5908
6106
  /**
5909
6107
  *
5910
- * @type {number}
5911
- * @memberof HospitalItemModel
6108
+ * @type {Array<HospitalEquipmentItemModel>}
6109
+ * @memberof HospitalEquipmentsModel
5912
6110
  */
5913
- 'consultationFee'?: number | null;
6111
+ 'items'?: Array<HospitalEquipmentItemModel> | null;
5914
6112
  /**
5915
6113
  *
5916
- * @type {string}
5917
- * @memberof HospitalItemModel
6114
+ * @type {PagedListMetaData}
6115
+ * @memberof HospitalEquipmentsModel
5918
6116
  */
5919
- 'timeZone'?: string | null;
6117
+ 'metaData'?: PagedListMetaData;
6118
+ }
6119
+ /**
6120
+ *
6121
+ * @export
6122
+ * @interface HospitalEvaluationItemModel
6123
+ */
6124
+ export interface HospitalEvaluationItemModel {
5920
6125
  /**
5921
6126
  *
5922
- * @type {number}
5923
- * @memberof HospitalItemModel
6127
+ * @type {string}
6128
+ * @memberof HospitalEvaluationItemModel
5924
6129
  */
5925
- 'articlesCount'?: number;
6130
+ 'id'?: string;
5926
6131
  /**
5927
6132
  *
5928
- * @type {number}
5929
- * @memberof HospitalItemModel
6133
+ * @type {string}
6134
+ * @memberof HospitalEvaluationItemModel
5930
6135
  */
5931
- 'packagesCount'?: number;
6136
+ 'hospitalId'?: string;
5932
6137
  /**
5933
6138
  *
5934
- * @type {number}
5935
- * @memberof HospitalItemModel
6139
+ * @type {string}
6140
+ * @memberof HospitalEvaluationItemModel
5936
6141
  */
5937
- 'equipmentsCount'?: number;
6142
+ 'hospitalName'?: string | null;
5938
6143
  /**
5939
6144
  *
5940
- * @type {number}
5941
- * @memberof HospitalItemModel
6145
+ * @type {string}
6146
+ * @memberof HospitalEvaluationItemModel
5942
6147
  */
5943
- 'reviewsCount'?: number;
6148
+ 'name'?: string | null;
5944
6149
  /**
5945
6150
  *
5946
6151
  * @type {number}
5947
- * @memberof HospitalItemModel
6152
+ * @memberof HospitalEvaluationItemModel
5948
6153
  */
5949
- 'departmentsCount'?: number;
6154
+ 'stars'?: number;
5950
6155
  /**
5951
6156
  *
5952
- * @type {number}
5953
- * @memberof HospitalItemModel
6157
+ * @type {string}
6158
+ * @memberof HospitalEvaluationItemModel
5954
6159
  */
5955
- 'specialtiesCount'?: number;
6160
+ 'description'?: string | null;
5956
6161
  /**
5957
6162
  *
5958
- * @type {number}
5959
- * @memberof HospitalItemModel
6163
+ * @type {string}
6164
+ * @memberof HospitalEvaluationItemModel
5960
6165
  */
5961
- 'accreditationsCount'?: number;
6166
+ 'referenceUrl'?: string | null;
6167
+ }
6168
+ /**
6169
+ *
6170
+ * @export
6171
+ * @interface HospitalEvaluationModel
6172
+ */
6173
+ export interface HospitalEvaluationModel {
5962
6174
  /**
5963
6175
  *
5964
- * @type {number}
6176
+ * @type {string}
6177
+ * @memberof HospitalEvaluationModel
6178
+ */
6179
+ 'id'?: string;
6180
+ /**
6181
+ *
6182
+ * @type {string}
6183
+ * @memberof HospitalEvaluationModel
6184
+ */
6185
+ 'hospitalId'?: string;
6186
+ /**
6187
+ *
6188
+ * @type {string}
6189
+ * @memberof HospitalEvaluationModel
6190
+ */
6191
+ 'hospitalName'?: string | null;
6192
+ /**
6193
+ *
6194
+ * @type {string}
6195
+ * @memberof HospitalEvaluationModel
6196
+ */
6197
+ 'name'?: string | null;
6198
+ /**
6199
+ *
6200
+ * @type {number}
6201
+ * @memberof HospitalEvaluationModel
6202
+ */
6203
+ 'stars'?: number;
6204
+ /**
6205
+ *
6206
+ * @type {string}
6207
+ * @memberof HospitalEvaluationModel
6208
+ */
6209
+ 'description'?: string | null;
6210
+ /**
6211
+ *
6212
+ * @type {string}
6213
+ * @memberof HospitalEvaluationModel
6214
+ */
6215
+ 'referenceUrl'?: string | null;
6216
+ }
6217
+ /**
6218
+ *
6219
+ * @export
6220
+ * @interface HospitalEvaluationsModel
6221
+ */
6222
+ export interface HospitalEvaluationsModel {
6223
+ /**
6224
+ *
6225
+ * @type {Array<HospitalEvaluationItemModel>}
6226
+ * @memberof HospitalEvaluationsModel
6227
+ */
6228
+ 'items'?: Array<HospitalEvaluationItemModel> | null;
6229
+ /**
6230
+ *
6231
+ * @type {PagedListMetaData}
6232
+ * @memberof HospitalEvaluationsModel
6233
+ */
6234
+ 'metaData'?: PagedListMetaData;
6235
+ }
6236
+ /**
6237
+ *
6238
+ * @export
6239
+ * @interface HospitalItemModel
6240
+ */
6241
+ export interface HospitalItemModel {
6242
+ /**
6243
+ *
6244
+ * @type {string}
6245
+ * @memberof HospitalItemModel
6246
+ */
6247
+ 'id'?: string;
6248
+ /**
6249
+ *
6250
+ * @type {string}
6251
+ * @memberof HospitalItemModel
6252
+ */
6253
+ 'name'?: string | null;
6254
+ /**
6255
+ *
6256
+ * @type {string}
6257
+ * @memberof HospitalItemModel
6258
+ */
6259
+ 'slug'?: string | null;
6260
+ /**
6261
+ *
6262
+ * @type {string}
6263
+ * @memberof HospitalItemModel
6264
+ */
6265
+ 'description'?: string | null;
6266
+ /**
6267
+ *
6268
+ * @type {string}
6269
+ * @memberof HospitalItemModel
6270
+ */
6271
+ 'logo'?: string | null;
6272
+ /**
6273
+ *
6274
+ * @type {string}
6275
+ * @memberof HospitalItemModel
6276
+ */
6277
+ 'overview'?: string | null;
6278
+ /**
6279
+ *
6280
+ * @type {number}
6281
+ * @memberof HospitalItemModel
6282
+ */
6283
+ 'bedsCount'?: number | null;
6284
+ /**
6285
+ *
6286
+ * @type {number}
6287
+ * @memberof HospitalItemModel
6288
+ */
6289
+ 'operationsPerYear'?: number | null;
6290
+ /**
6291
+ *
6292
+ * @type {number}
6293
+ * @memberof HospitalItemModel
6294
+ */
6295
+ 'foundationYear'?: number | null;
6296
+ /**
6297
+ *
6298
+ * @type {number}
6299
+ * @memberof HospitalItemModel
6300
+ */
6301
+ 'medicalStaffCount'?: number | null;
6302
+ /**
6303
+ *
6304
+ * @type {number}
6305
+ * @memberof HospitalItemModel
6306
+ */
6307
+ 'doctorCount'?: number | null;
6308
+ /**
6309
+ *
6310
+ * @type {string}
6311
+ * @memberof HospitalItemModel
6312
+ */
6313
+ 'countryId'?: string;
6314
+ /**
6315
+ *
6316
+ * @type {string}
6317
+ * @memberof HospitalItemModel
6318
+ */
6319
+ 'countryName'?: string | null;
6320
+ /**
6321
+ *
6322
+ * @type {MarketingType}
6323
+ * @memberof HospitalItemModel
6324
+ */
6325
+ 'marketingType'?: MarketingType;
6326
+ /**
6327
+ *
6328
+ * @type {boolean}
6329
+ * @memberof HospitalItemModel
6330
+ */
6331
+ 'consultationEnabled'?: boolean | null;
6332
+ /**
6333
+ *
6334
+ * @type {number}
6335
+ * @memberof HospitalItemModel
6336
+ */
6337
+ 'consultationFee'?: number | null;
6338
+ /**
6339
+ *
6340
+ * @type {string}
6341
+ * @memberof HospitalItemModel
6342
+ */
6343
+ 'timeZone'?: string | null;
6344
+ /**
6345
+ *
6346
+ * @type {number}
6347
+ * @memberof HospitalItemModel
6348
+ */
6349
+ 'articlesCount'?: number;
6350
+ /**
6351
+ *
6352
+ * @type {number}
6353
+ * @memberof HospitalItemModel
6354
+ */
6355
+ 'packagesCount'?: number;
6356
+ /**
6357
+ *
6358
+ * @type {number}
6359
+ * @memberof HospitalItemModel
6360
+ */
6361
+ 'equipmentsCount'?: number;
6362
+ /**
6363
+ *
6364
+ * @type {number}
6365
+ * @memberof HospitalItemModel
6366
+ */
6367
+ 'reviewsCount'?: number;
6368
+ /**
6369
+ *
6370
+ * @type {number}
6371
+ * @memberof HospitalItemModel
6372
+ */
6373
+ 'departmentsCount'?: number;
6374
+ /**
6375
+ *
6376
+ * @type {number}
6377
+ * @memberof HospitalItemModel
6378
+ */
6379
+ 'specialtiesCount'?: number;
6380
+ /**
6381
+ *
6382
+ * @type {number}
6383
+ * @memberof HospitalItemModel
6384
+ */
6385
+ 'accreditationsCount'?: number;
6386
+ /**
6387
+ *
6388
+ * @type {number}
5965
6389
  * @memberof HospitalItemModel
5966
6390
  */
5967
6391
  'doctorAffiliationsCount'?: number;
@@ -6552,6 +6976,12 @@ export interface HospitalSimpleItemModel {
6552
6976
  * @memberof HospitalSimpleItemModel
6553
6977
  */
6554
6978
  'name'?: string | null;
6979
+ /**
6980
+ *
6981
+ * @type {boolean}
6982
+ * @memberof HospitalSimpleItemModel
6983
+ */
6984
+ 'confirmed'?: boolean;
6555
6985
  }
6556
6986
  /**
6557
6987
  *
@@ -8303,6 +8733,19 @@ export enum RejectReason {
8303
8733
  OtherReason = 'OtherReason'
8304
8734
  }
8305
8735
 
8736
+ /**
8737
+ *
8738
+ * @export
8739
+ * @interface SendTemplateVersionCommand
8740
+ */
8741
+ export interface SendTemplateVersionCommand {
8742
+ /**
8743
+ *
8744
+ * @type {string}
8745
+ * @memberof SendTemplateVersionCommand
8746
+ */
8747
+ 'testEmail'?: string | null;
8748
+ }
8306
8749
  /**
8307
8750
  *
8308
8751
  * @export
@@ -8927,58 +9370,187 @@ export interface TagsModel {
8927
9370
  /**
8928
9371
  *
8929
9372
  * @export
8930
- * @interface TranslateCommand
9373
+ * @interface TemplateVersionItemModel
8931
9374
  */
8932
- export interface TranslateCommand {
8933
- /**
8934
- *
8935
- * @type {string}
8936
- * @memberof TranslateCommand
8937
- */
8938
- 'languageCodeFrom'?: string | null;
9375
+ export interface TemplateVersionItemModel {
8939
9376
  /**
8940
9377
  *
8941
9378
  * @type {string}
8942
- * @memberof TranslateCommand
9379
+ * @memberof TemplateVersionItemModel
8943
9380
  */
8944
- 'languageCodeTo'?: string | null;
9381
+ 'id'?: string | null;
8945
9382
  /**
8946
9383
  *
8947
9384
  * @type {string}
8948
- * @memberof TranslateCommand
9385
+ * @memberof TemplateVersionItemModel
8949
9386
  */
8950
- 'content'?: string | null;
9387
+ 'templateId'?: string | null;
8951
9388
  /**
8952
9389
  *
8953
9390
  * @type {boolean}
8954
- * @memberof TranslateCommand
9391
+ * @memberof TemplateVersionItemModel
8955
9392
  */
8956
- 'isHtml'?: boolean;
8957
- }
8958
- /**
8959
- *
8960
- * @export
8961
- * @interface UpdateAccreditationCommand
8962
- */
8963
- export interface UpdateAccreditationCommand {
9393
+ 'isActive'?: boolean;
8964
9394
  /**
8965
9395
  *
8966
9396
  * @type {string}
8967
- * @memberof UpdateAccreditationCommand
9397
+ * @memberof TemplateVersionItemModel
8968
9398
  */
8969
9399
  'name'?: string | null;
8970
9400
  /**
8971
9401
  *
8972
9402
  * @type {string}
8973
- * @memberof UpdateAccreditationCommand
9403
+ * @memberof TemplateVersionItemModel
8974
9404
  */
8975
- 'logo'?: string | null;
9405
+ 'htmlContent'?: string | null;
8976
9406
  /**
8977
9407
  *
8978
9408
  * @type {string}
8979
- * @memberof UpdateAccreditationCommand
9409
+ * @memberof TemplateVersionItemModel
8980
9410
  */
8981
- 'country'?: string | null;
9411
+ 'textContent'?: string | null;
9412
+ /**
9413
+ *
9414
+ * @type {string}
9415
+ * @memberof TemplateVersionItemModel
9416
+ */
9417
+ 'subject'?: string | null;
9418
+ /**
9419
+ *
9420
+ * @type {Date}
9421
+ * @memberof TemplateVersionItemModel
9422
+ */
9423
+ 'updatedOn'?: Date;
9424
+ }
9425
+ /**
9426
+ *
9427
+ * @export
9428
+ * @interface TemplateVersionModel
9429
+ */
9430
+ export interface TemplateVersionModel {
9431
+ /**
9432
+ *
9433
+ * @type {string}
9434
+ * @memberof TemplateVersionModel
9435
+ */
9436
+ 'id'?: string | null;
9437
+ /**
9438
+ *
9439
+ * @type {string}
9440
+ * @memberof TemplateVersionModel
9441
+ */
9442
+ 'templateId'?: string | null;
9443
+ /**
9444
+ *
9445
+ * @type {boolean}
9446
+ * @memberof TemplateVersionModel
9447
+ */
9448
+ 'isActive'?: boolean;
9449
+ /**
9450
+ *
9451
+ * @type {string}
9452
+ * @memberof TemplateVersionModel
9453
+ */
9454
+ 'name'?: string | null;
9455
+ /**
9456
+ *
9457
+ * @type {string}
9458
+ * @memberof TemplateVersionModel
9459
+ */
9460
+ 'htmlContent'?: string | null;
9461
+ /**
9462
+ *
9463
+ * @type {string}
9464
+ * @memberof TemplateVersionModel
9465
+ */
9466
+ 'textContent'?: string | null;
9467
+ /**
9468
+ *
9469
+ * @type {string}
9470
+ * @memberof TemplateVersionModel
9471
+ */
9472
+ 'subject'?: string | null;
9473
+ /**
9474
+ *
9475
+ * @type {Date}
9476
+ * @memberof TemplateVersionModel
9477
+ */
9478
+ 'updatedOn'?: Date;
9479
+ }
9480
+ /**
9481
+ *
9482
+ * @export
9483
+ * @interface TemplateVersionsModel
9484
+ */
9485
+ export interface TemplateVersionsModel {
9486
+ /**
9487
+ *
9488
+ * @type {Array<TemplateVersionItemModel>}
9489
+ * @memberof TemplateVersionsModel
9490
+ */
9491
+ 'items'?: Array<TemplateVersionItemModel> | null;
9492
+ /**
9493
+ *
9494
+ * @type {PagedListMetaData}
9495
+ * @memberof TemplateVersionsModel
9496
+ */
9497
+ 'metaData'?: PagedListMetaData;
9498
+ }
9499
+ /**
9500
+ *
9501
+ * @export
9502
+ * @interface TranslateCommand
9503
+ */
9504
+ export interface TranslateCommand {
9505
+ /**
9506
+ *
9507
+ * @type {string}
9508
+ * @memberof TranslateCommand
9509
+ */
9510
+ 'languageCodeFrom'?: string | null;
9511
+ /**
9512
+ *
9513
+ * @type {string}
9514
+ * @memberof TranslateCommand
9515
+ */
9516
+ 'languageCodeTo'?: string | null;
9517
+ /**
9518
+ *
9519
+ * @type {string}
9520
+ * @memberof TranslateCommand
9521
+ */
9522
+ 'content'?: string | null;
9523
+ /**
9524
+ *
9525
+ * @type {boolean}
9526
+ * @memberof TranslateCommand
9527
+ */
9528
+ 'isHtml'?: boolean;
9529
+ }
9530
+ /**
9531
+ *
9532
+ * @export
9533
+ * @interface UpdateAccreditationCommand
9534
+ */
9535
+ export interface UpdateAccreditationCommand {
9536
+ /**
9537
+ *
9538
+ * @type {string}
9539
+ * @memberof UpdateAccreditationCommand
9540
+ */
9541
+ 'name'?: string | null;
9542
+ /**
9543
+ *
9544
+ * @type {string}
9545
+ * @memberof UpdateAccreditationCommand
9546
+ */
9547
+ 'logo'?: string | null;
9548
+ /**
9549
+ *
9550
+ * @type {string}
9551
+ * @memberof UpdateAccreditationCommand
9552
+ */
9553
+ 'country'?: string | null;
8982
9554
  }
8983
9555
  /**
8984
9556
  *
@@ -9372,6 +9944,18 @@ export interface UpdateCountryCommand {
9372
9944
  * @memberof UpdateCountryCommand
9373
9945
  */
9374
9946
  'content'?: string | null;
9947
+ /**
9948
+ *
9949
+ * @type {string}
9950
+ * @memberof UpdateCountryCommand
9951
+ */
9952
+ 'languageCode'?: string | null;
9953
+ /**
9954
+ *
9955
+ * @type {boolean}
9956
+ * @memberof UpdateCountryCommand
9957
+ */
9958
+ 'confirmed'?: boolean;
9375
9959
  /**
9376
9960
  *
9377
9961
  * @type {Array<MediaModel>}
@@ -9611,6 +10195,18 @@ export interface UpdateDoctorCommand {
9611
10195
  * @memberof UpdateDoctorCommand
9612
10196
  */
9613
10197
  'hospitalId'?: string | null;
10198
+ /**
10199
+ *
10200
+ * @type {string}
10201
+ * @memberof UpdateDoctorCommand
10202
+ */
10203
+ 'languageCode'?: string | null;
10204
+ /**
10205
+ *
10206
+ * @type {boolean}
10207
+ * @memberof UpdateDoctorCommand
10208
+ */
10209
+ 'confirmed'?: boolean;
9614
10210
  }
9615
10211
  /**
9616
10212
  *
@@ -9693,6 +10289,104 @@ export interface UpdateDoctorSpecialtyCommand {
9693
10289
  */
9694
10290
  'order'?: number;
9695
10291
  }
10292
+ /**
10293
+ *
10294
+ * @export
10295
+ * @interface UpdateFaqCategoryCommand
10296
+ */
10297
+ export interface UpdateFaqCategoryCommand {
10298
+ /**
10299
+ *
10300
+ * @type {string}
10301
+ * @memberof UpdateFaqCategoryCommand
10302
+ */
10303
+ 'id'?: string | null;
10304
+ /**
10305
+ *
10306
+ * @type {string}
10307
+ * @memberof UpdateFaqCategoryCommand
10308
+ */
10309
+ 'name'?: string | null;
10310
+ /**
10311
+ *
10312
+ * @type {string}
10313
+ * @memberof UpdateFaqCategoryCommand
10314
+ */
10315
+ 'slug'?: string | null;
10316
+ /**
10317
+ *
10318
+ * @type {string}
10319
+ * @memberof UpdateFaqCategoryCommand
10320
+ */
10321
+ 'description'?: string | null;
10322
+ /**
10323
+ *
10324
+ * @type {number}
10325
+ * @memberof UpdateFaqCategoryCommand
10326
+ */
10327
+ 'order'?: number;
10328
+ /**
10329
+ *
10330
+ * @type {string}
10331
+ * @memberof UpdateFaqCategoryCommand
10332
+ */
10333
+ 'languageCode'?: string | null;
10334
+ /**
10335
+ *
10336
+ * @type {boolean}
10337
+ * @memberof UpdateFaqCategoryCommand
10338
+ */
10339
+ 'confirmed'?: boolean;
10340
+ }
10341
+ /**
10342
+ *
10343
+ * @export
10344
+ * @interface UpdateFaqCommand
10345
+ */
10346
+ export interface UpdateFaqCommand {
10347
+ /**
10348
+ *
10349
+ * @type {string}
10350
+ * @memberof UpdateFaqCommand
10351
+ */
10352
+ 'id'?: string;
10353
+ /**
10354
+ *
10355
+ * @type {string}
10356
+ * @memberof UpdateFaqCommand
10357
+ */
10358
+ 'title'?: string | null;
10359
+ /**
10360
+ *
10361
+ * @type {string}
10362
+ * @memberof UpdateFaqCommand
10363
+ */
10364
+ 'slug'?: string | null;
10365
+ /**
10366
+ *
10367
+ * @type {string}
10368
+ * @memberof UpdateFaqCommand
10369
+ */
10370
+ 'content'?: string | null;
10371
+ /**
10372
+ *
10373
+ * @type {number}
10374
+ * @memberof UpdateFaqCommand
10375
+ */
10376
+ 'order'?: number;
10377
+ /**
10378
+ *
10379
+ * @type {string}
10380
+ * @memberof UpdateFaqCommand
10381
+ */
10382
+ 'languageCode'?: string | null;
10383
+ /**
10384
+ *
10385
+ * @type {boolean}
10386
+ * @memberof UpdateFaqCommand
10387
+ */
10388
+ 'confirmed'?: boolean;
10389
+ }
9696
10390
  /**
9697
10391
  *
9698
10392
  * @export
@@ -9911,6 +10605,18 @@ export interface UpdateHospitalServiceCommand {
9911
10605
  * @memberof UpdateHospitalServiceCommand
9912
10606
  */
9913
10607
  'order'?: number;
10608
+ /**
10609
+ *
10610
+ * @type {string}
10611
+ * @memberof UpdateHospitalServiceCommand
10612
+ */
10613
+ 'languageCode'?: string | null;
10614
+ /**
10615
+ *
10616
+ * @type {boolean}
10617
+ * @memberof UpdateHospitalServiceCommand
10618
+ */
10619
+ 'confirmed'?: boolean;
9914
10620
  }
9915
10621
  /**
9916
10622
  *
@@ -10280,42 +10986,24 @@ export interface UpdateSpecialtyCommand {
10280
10986
  * @memberof UpdateSpecialtyCommand
10281
10987
  */
10282
10988
  'content'?: string | null;
10283
- /**
10284
- *
10285
- * @type {number}
10286
- * @memberof UpdateSpecialtyCommand
10287
- */
10288
- 'hospitalSpecialtyCount'?: number;
10289
- /**
10290
- *
10291
- * @type {number}
10292
- * @memberof UpdateSpecialtyCommand
10293
- */
10294
- 'serviceCount'?: number;
10295
10989
  /**
10296
10990
  *
10297
10991
  * @type {string}
10298
10992
  * @memberof UpdateSpecialtyCommand
10299
10993
  */
10300
- 'specialtyTypeId'?: string;
10994
+ 'languageCode'?: string | null;
10301
10995
  /**
10302
10996
  *
10303
10997
  * @type {string}
10304
10998
  * @memberof UpdateSpecialtyCommand
10305
10999
  */
10306
- 'specialtyTypeName'?: string | null;
11000
+ 'specialtyTypeId'?: string;
10307
11001
  /**
10308
11002
  *
10309
11003
  * @type {boolean}
10310
11004
  * @memberof UpdateSpecialtyCommand
10311
11005
  */
10312
11006
  'confirmed'?: boolean;
10313
- /**
10314
- *
10315
- * @type {AuditableEntity}
10316
- * @memberof UpdateSpecialtyCommand
10317
- */
10318
- 'auditableEntity'?: AuditableEntity;
10319
11007
  }
10320
11008
  /**
10321
11009
  *
@@ -10383,7 +11071,38 @@ export interface UpdateSpecialtyTypeCommand {
10383
11071
  * @memberof UpdateSpecialtyTypeCommand
10384
11072
  */
10385
11073
  'confirmed'?: boolean;
10386
- }
11074
+ /**
11075
+ *
11076
+ * @type {string}
11077
+ * @memberof UpdateSpecialtyTypeCommand
11078
+ */
11079
+ 'languageCode'?: string | null;
11080
+ }
11081
+ /**
11082
+ *
11083
+ * @export
11084
+ * @interface UpdateTemplateVersionCommand
11085
+ */
11086
+ export interface UpdateTemplateVersionCommand {
11087
+ /**
11088
+ *
11089
+ * @type {string}
11090
+ * @memberof UpdateTemplateVersionCommand
11091
+ */
11092
+ 'name'?: string | null;
11093
+ /**
11094
+ *
11095
+ * @type {string}
11096
+ * @memberof UpdateTemplateVersionCommand
11097
+ */
11098
+ 'subject'?: string | null;
11099
+ /**
11100
+ *
11101
+ * @type {string}
11102
+ * @memberof UpdateTemplateVersionCommand
11103
+ */
11104
+ 'htmlContent'?: string | null;
11105
+ }
10387
11106
  /**
10388
11107
  *
10389
11108
  * @export
@@ -14852,6 +15571,39 @@ export class CHManagersApi extends BaseAPI {
14852
15571
  */
14853
15572
  export const ChatUsersApiAxiosParamCreator = function (configuration?: Configuration) {
14854
15573
  return {
15574
+ /**
15575
+ *
15576
+ * @param {*} [options] Override http request option.
15577
+ * @throws {RequiredError}
15578
+ */
15579
+ apiV1ChatusersCurrentGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15580
+ const localVarPath = `/api/v1/chatusers/current`;
15581
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15582
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15583
+ let baseOptions;
15584
+ if (configuration) {
15585
+ baseOptions = configuration.baseOptions;
15586
+ }
15587
+
15588
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
15589
+ const localVarHeaderParameter = {} as any;
15590
+ const localVarQueryParameter = {} as any;
15591
+
15592
+ // authentication oauth2 required
15593
+ // oauth required
15594
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
15595
+
15596
+
15597
+
15598
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15599
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15600
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15601
+
15602
+ return {
15603
+ url: toPathString(localVarUrlObj),
15604
+ options: localVarRequestOptions,
15605
+ };
15606
+ },
14855
15607
  /**
14856
15608
  *
14857
15609
  * @summary Get all chatUsers.
@@ -15077,6 +15829,15 @@ export const ChatUsersApiAxiosParamCreator = function (configuration?: Configura
15077
15829
  export const ChatUsersApiFp = function(configuration?: Configuration) {
15078
15830
  const localVarAxiosParamCreator = ChatUsersApiAxiosParamCreator(configuration)
15079
15831
  return {
15832
+ /**
15833
+ *
15834
+ * @param {*} [options] Override http request option.
15835
+ * @throws {RequiredError}
15836
+ */
15837
+ async apiV1ChatusersCurrentGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatUserModel>> {
15838
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ChatusersCurrentGet(options);
15839
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15840
+ },
15080
15841
  /**
15081
15842
  *
15082
15843
  * @summary Get all chatUsers.
@@ -15147,6 +15908,14 @@ export const ChatUsersApiFp = function(configuration?: Configuration) {
15147
15908
  export const ChatUsersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
15148
15909
  const localVarFp = ChatUsersApiFp(configuration)
15149
15910
  return {
15911
+ /**
15912
+ *
15913
+ * @param {*} [options] Override http request option.
15914
+ * @throws {RequiredError}
15915
+ */
15916
+ apiV1ChatusersCurrentGet(options?: any): AxiosPromise<ChatUserModel> {
15917
+ return localVarFp.apiV1ChatusersCurrentGet(options).then((request) => request(axios, basePath));
15918
+ },
15150
15919
  /**
15151
15920
  *
15152
15921
  * @summary Get all chatUsers.
@@ -15212,6 +15981,16 @@ export const ChatUsersApiFactory = function (configuration?: Configuration, base
15212
15981
  * @extends {BaseAPI}
15213
15982
  */
15214
15983
  export class ChatUsersApi extends BaseAPI {
15984
+ /**
15985
+ *
15986
+ * @param {*} [options] Override http request option.
15987
+ * @throws {RequiredError}
15988
+ * @memberof ChatUsersApi
15989
+ */
15990
+ public apiV1ChatusersCurrentGet(options?: AxiosRequestConfig) {
15991
+ return ChatUsersApiFp(this.configuration).apiV1ChatusersCurrentGet(options).then((request) => request(this.axios, this.basePath));
15992
+ }
15993
+
15215
15994
  /**
15216
15995
  *
15217
15996
  * @summary Get all chatUsers.
@@ -20324,10 +21103,11 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
20324
21103
  *
20325
21104
  * @summary Get Doctor.
20326
21105
  * @param {string} doctorId
21106
+ * @param {string} [languageCode]
20327
21107
  * @param {*} [options] Override http request option.
20328
21108
  * @throws {RequiredError}
20329
21109
  */
20330
- apiV1DoctorsDoctorIdGet: async (doctorId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
21110
+ apiV1DoctorsDoctorIdGet: async (doctorId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
20331
21111
  // verify required parameter 'doctorId' is not null or undefined
20332
21112
  assertParamExists('apiV1DoctorsDoctorIdGet', 'doctorId', doctorId)
20333
21113
  const localVarPath = `/api/v1/doctors/{doctorId}`
@@ -20347,6 +21127,10 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
20347
21127
  // oauth required
20348
21128
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
20349
21129
 
21130
+ if (languageCode !== undefined) {
21131
+ localVarQueryParameter['languageCode'] = languageCode;
21132
+ }
21133
+
20350
21134
 
20351
21135
 
20352
21136
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -21513,11 +22297,12 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
21513
22297
  *
21514
22298
  * @summary Get Doctor.
21515
22299
  * @param {string} doctorId
22300
+ * @param {string} [languageCode]
21516
22301
  * @param {*} [options] Override http request option.
21517
22302
  * @throws {RequiredError}
21518
22303
  */
21519
- async apiV1DoctorsDoctorIdGet(doctorId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
21520
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, options);
22304
+ async apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
22305
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, languageCode, options);
21521
22306
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
21522
22307
  },
21523
22308
  /**
@@ -21970,11 +22755,12 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
21970
22755
  *
21971
22756
  * @summary Get Doctor.
21972
22757
  * @param {string} doctorId
22758
+ * @param {string} [languageCode]
21973
22759
  * @param {*} [options] Override http request option.
21974
22760
  * @throws {RequiredError}
21975
22761
  */
21976
- apiV1DoctorsDoctorIdGet(doctorId: string, options?: any): AxiosPromise<DoctorModel> {
21977
- return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, options).then((request) => request(axios, basePath));
22762
+ apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, options?: any): AxiosPromise<DoctorModel> {
22763
+ return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, languageCode, options).then((request) => request(axios, basePath));
21978
22764
  },
21979
22765
  /**
21980
22766
  *
@@ -22437,12 +23223,13 @@ export class DoctorsApi extends BaseAPI {
22437
23223
  *
22438
23224
  * @summary Get Doctor.
22439
23225
  * @param {string} doctorId
23226
+ * @param {string} [languageCode]
22440
23227
  * @param {*} [options] Override http request option.
22441
23228
  * @throws {RequiredError}
22442
23229
  * @memberof DoctorsApi
22443
23230
  */
22444
- public apiV1DoctorsDoctorIdGet(doctorId: string, options?: AxiosRequestConfig) {
22445
- return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, options).then((request) => request(this.axios, this.basePath));
23231
+ public apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, options?: AxiosRequestConfig) {
23232
+ return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, languageCode, options).then((request) => request(this.axios, this.basePath));
22446
23233
  }
22447
23234
 
22448
23235
  /**
@@ -22720,6 +23507,2114 @@ export class DoctorsApi extends BaseAPI {
22720
23507
  }
22721
23508
 
22722
23509
 
23510
+ /**
23511
+ * EmailMarketingsApi - axios parameter creator
23512
+ * @export
23513
+ */
23514
+ export const EmailMarketingsApiAxiosParamCreator = function (configuration?: Configuration) {
23515
+ return {
23516
+ /**
23517
+ *
23518
+ * @summary Get all templateVersions.
23519
+ * @param {number} [page]
23520
+ * @param {number} [limit]
23521
+ * @param {Date} [lastRetrieved]
23522
+ * @param {*} [options] Override http request option.
23523
+ * @throws {RequiredError}
23524
+ */
23525
+ apiV1EmailmarketingsVersionsGet: async (page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23526
+ const localVarPath = `/api/v1/emailmarketings/versions`;
23527
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23528
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23529
+ let baseOptions;
23530
+ if (configuration) {
23531
+ baseOptions = configuration.baseOptions;
23532
+ }
23533
+
23534
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23535
+ const localVarHeaderParameter = {} as any;
23536
+ const localVarQueryParameter = {} as any;
23537
+
23538
+ // authentication oauth2 required
23539
+ // oauth required
23540
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23541
+
23542
+ if (page !== undefined) {
23543
+ localVarQueryParameter['page'] = page;
23544
+ }
23545
+
23546
+ if (limit !== undefined) {
23547
+ localVarQueryParameter['limit'] = limit;
23548
+ }
23549
+
23550
+ if (lastRetrieved !== undefined) {
23551
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
23552
+ (lastRetrieved as any).toISOString() :
23553
+ lastRetrieved;
23554
+ }
23555
+
23556
+
23557
+
23558
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23559
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23560
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23561
+
23562
+ return {
23563
+ url: toPathString(localVarUrlObj),
23564
+ options: localVarRequestOptions,
23565
+ };
23566
+ },
23567
+ /**
23568
+ *
23569
+ * @summary Create a templateVersion.
23570
+ * @param {CreateTemplateVersionCommand} [createTemplateVersionCommand]
23571
+ * @param {*} [options] Override http request option.
23572
+ * @throws {RequiredError}
23573
+ */
23574
+ apiV1EmailmarketingsVersionsPost: async (createTemplateVersionCommand?: CreateTemplateVersionCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23575
+ const localVarPath = `/api/v1/emailmarketings/versions`;
23576
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23577
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23578
+ let baseOptions;
23579
+ if (configuration) {
23580
+ baseOptions = configuration.baseOptions;
23581
+ }
23582
+
23583
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
23584
+ const localVarHeaderParameter = {} as any;
23585
+ const localVarQueryParameter = {} as any;
23586
+
23587
+ // authentication oauth2 required
23588
+ // oauth required
23589
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23590
+
23591
+
23592
+
23593
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23594
+
23595
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23596
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23597
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23598
+ localVarRequestOptions.data = serializeDataIfNeeded(createTemplateVersionCommand, localVarRequestOptions, configuration)
23599
+
23600
+ return {
23601
+ url: toPathString(localVarUrlObj),
23602
+ options: localVarRequestOptions,
23603
+ };
23604
+ },
23605
+ /**
23606
+ *
23607
+ * @summary Delete templateVersion.
23608
+ * @param {string} versionId
23609
+ * @param {*} [options] Override http request option.
23610
+ * @throws {RequiredError}
23611
+ */
23612
+ apiV1EmailmarketingsVersionsVersionIdDelete: async (versionId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23613
+ // verify required parameter 'versionId' is not null or undefined
23614
+ assertParamExists('apiV1EmailmarketingsVersionsVersionIdDelete', 'versionId', versionId)
23615
+ const localVarPath = `/api/v1/emailmarketings/versions/{versionId}`
23616
+ .replace(`{${"versionId"}}`, encodeURIComponent(String(versionId)));
23617
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23618
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23619
+ let baseOptions;
23620
+ if (configuration) {
23621
+ baseOptions = configuration.baseOptions;
23622
+ }
23623
+
23624
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
23625
+ const localVarHeaderParameter = {} as any;
23626
+ const localVarQueryParameter = {} as any;
23627
+
23628
+ // authentication oauth2 required
23629
+ // oauth required
23630
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23631
+
23632
+
23633
+
23634
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23635
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23636
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23637
+
23638
+ return {
23639
+ url: toPathString(localVarUrlObj),
23640
+ options: localVarRequestOptions,
23641
+ };
23642
+ },
23643
+ /**
23644
+ *
23645
+ * @summary Get templateVersion.
23646
+ * @param {string} versionId
23647
+ * @param {*} [options] Override http request option.
23648
+ * @throws {RequiredError}
23649
+ */
23650
+ apiV1EmailmarketingsVersionsVersionIdGet: async (versionId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23651
+ // verify required parameter 'versionId' is not null or undefined
23652
+ assertParamExists('apiV1EmailmarketingsVersionsVersionIdGet', 'versionId', versionId)
23653
+ const localVarPath = `/api/v1/emailmarketings/versions/{versionId}`
23654
+ .replace(`{${"versionId"}}`, encodeURIComponent(String(versionId)));
23655
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23656
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23657
+ let baseOptions;
23658
+ if (configuration) {
23659
+ baseOptions = configuration.baseOptions;
23660
+ }
23661
+
23662
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23663
+ const localVarHeaderParameter = {} as any;
23664
+ const localVarQueryParameter = {} as any;
23665
+
23666
+ // authentication oauth2 required
23667
+ // oauth required
23668
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23669
+
23670
+
23671
+
23672
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23673
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23674
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23675
+
23676
+ return {
23677
+ url: toPathString(localVarUrlObj),
23678
+ options: localVarRequestOptions,
23679
+ };
23680
+ },
23681
+ /**
23682
+ *
23683
+ * @summary Update templateVersion.
23684
+ * @param {string} versionId
23685
+ * @param {UpdateTemplateVersionCommand} [updateTemplateVersionCommand]
23686
+ * @param {*} [options] Override http request option.
23687
+ * @throws {RequiredError}
23688
+ */
23689
+ apiV1EmailmarketingsVersionsVersionIdPut: async (versionId: string, updateTemplateVersionCommand?: UpdateTemplateVersionCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23690
+ // verify required parameter 'versionId' is not null or undefined
23691
+ assertParamExists('apiV1EmailmarketingsVersionsVersionIdPut', 'versionId', versionId)
23692
+ const localVarPath = `/api/v1/emailmarketings/versions/{versionId}`
23693
+ .replace(`{${"versionId"}}`, encodeURIComponent(String(versionId)));
23694
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23695
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23696
+ let baseOptions;
23697
+ if (configuration) {
23698
+ baseOptions = configuration.baseOptions;
23699
+ }
23700
+
23701
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
23702
+ const localVarHeaderParameter = {} as any;
23703
+ const localVarQueryParameter = {} as any;
23704
+
23705
+ // authentication oauth2 required
23706
+ // oauth required
23707
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23708
+
23709
+
23710
+
23711
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23712
+
23713
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23714
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23715
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23716
+ localVarRequestOptions.data = serializeDataIfNeeded(updateTemplateVersionCommand, localVarRequestOptions, configuration)
23717
+
23718
+ return {
23719
+ url: toPathString(localVarUrlObj),
23720
+ options: localVarRequestOptions,
23721
+ };
23722
+ },
23723
+ /**
23724
+ *
23725
+ * @summary Send templateVersion email.
23726
+ * @param {string} versionId
23727
+ * @param {SendTemplateVersionCommand} [sendTemplateVersionCommand]
23728
+ * @param {*} [options] Override http request option.
23729
+ * @throws {RequiredError}
23730
+ */
23731
+ apiV1EmailmarketingsVersionsVersionIdSendPost: async (versionId: string, sendTemplateVersionCommand?: SendTemplateVersionCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23732
+ // verify required parameter 'versionId' is not null or undefined
23733
+ assertParamExists('apiV1EmailmarketingsVersionsVersionIdSendPost', 'versionId', versionId)
23734
+ const localVarPath = `/api/v1/emailmarketings/versions/{versionId}/send`
23735
+ .replace(`{${"versionId"}}`, encodeURIComponent(String(versionId)));
23736
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23737
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23738
+ let baseOptions;
23739
+ if (configuration) {
23740
+ baseOptions = configuration.baseOptions;
23741
+ }
23742
+
23743
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
23744
+ const localVarHeaderParameter = {} as any;
23745
+ const localVarQueryParameter = {} as any;
23746
+
23747
+ // authentication oauth2 required
23748
+ // oauth required
23749
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23750
+
23751
+
23752
+
23753
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23754
+
23755
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23756
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23757
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23758
+ localVarRequestOptions.data = serializeDataIfNeeded(sendTemplateVersionCommand, localVarRequestOptions, configuration)
23759
+
23760
+ return {
23761
+ url: toPathString(localVarUrlObj),
23762
+ options: localVarRequestOptions,
23763
+ };
23764
+ },
23765
+ }
23766
+ };
23767
+
23768
+ /**
23769
+ * EmailMarketingsApi - functional programming interface
23770
+ * @export
23771
+ */
23772
+ export const EmailMarketingsApiFp = function(configuration?: Configuration) {
23773
+ const localVarAxiosParamCreator = EmailMarketingsApiAxiosParamCreator(configuration)
23774
+ return {
23775
+ /**
23776
+ *
23777
+ * @summary Get all templateVersions.
23778
+ * @param {number} [page]
23779
+ * @param {number} [limit]
23780
+ * @param {Date} [lastRetrieved]
23781
+ * @param {*} [options] Override http request option.
23782
+ * @throws {RequiredError}
23783
+ */
23784
+ async apiV1EmailmarketingsVersionsGet(page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TemplateVersionsModel>> {
23785
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1EmailmarketingsVersionsGet(page, limit, lastRetrieved, options);
23786
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23787
+ },
23788
+ /**
23789
+ *
23790
+ * @summary Create a templateVersion.
23791
+ * @param {CreateTemplateVersionCommand} [createTemplateVersionCommand]
23792
+ * @param {*} [options] Override http request option.
23793
+ * @throws {RequiredError}
23794
+ */
23795
+ async apiV1EmailmarketingsVersionsPost(createTemplateVersionCommand?: CreateTemplateVersionCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TemplateVersionModel>> {
23796
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1EmailmarketingsVersionsPost(createTemplateVersionCommand, options);
23797
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23798
+ },
23799
+ /**
23800
+ *
23801
+ * @summary Delete templateVersion.
23802
+ * @param {string} versionId
23803
+ * @param {*} [options] Override http request option.
23804
+ * @throws {RequiredError}
23805
+ */
23806
+ async apiV1EmailmarketingsVersionsVersionIdDelete(versionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
23807
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1EmailmarketingsVersionsVersionIdDelete(versionId, options);
23808
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23809
+ },
23810
+ /**
23811
+ *
23812
+ * @summary Get templateVersion.
23813
+ * @param {string} versionId
23814
+ * @param {*} [options] Override http request option.
23815
+ * @throws {RequiredError}
23816
+ */
23817
+ async apiV1EmailmarketingsVersionsVersionIdGet(versionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TemplateVersionModel>> {
23818
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1EmailmarketingsVersionsVersionIdGet(versionId, options);
23819
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23820
+ },
23821
+ /**
23822
+ *
23823
+ * @summary Update templateVersion.
23824
+ * @param {string} versionId
23825
+ * @param {UpdateTemplateVersionCommand} [updateTemplateVersionCommand]
23826
+ * @param {*} [options] Override http request option.
23827
+ * @throws {RequiredError}
23828
+ */
23829
+ async apiV1EmailmarketingsVersionsVersionIdPut(versionId: string, updateTemplateVersionCommand?: UpdateTemplateVersionCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TemplateVersionModel>> {
23830
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1EmailmarketingsVersionsVersionIdPut(versionId, updateTemplateVersionCommand, options);
23831
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23832
+ },
23833
+ /**
23834
+ *
23835
+ * @summary Send templateVersion email.
23836
+ * @param {string} versionId
23837
+ * @param {SendTemplateVersionCommand} [sendTemplateVersionCommand]
23838
+ * @param {*} [options] Override http request option.
23839
+ * @throws {RequiredError}
23840
+ */
23841
+ async apiV1EmailmarketingsVersionsVersionIdSendPost(versionId: string, sendTemplateVersionCommand?: SendTemplateVersionCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
23842
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1EmailmarketingsVersionsVersionIdSendPost(versionId, sendTemplateVersionCommand, options);
23843
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23844
+ },
23845
+ }
23846
+ };
23847
+
23848
+ /**
23849
+ * EmailMarketingsApi - factory interface
23850
+ * @export
23851
+ */
23852
+ export const EmailMarketingsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
23853
+ const localVarFp = EmailMarketingsApiFp(configuration)
23854
+ return {
23855
+ /**
23856
+ *
23857
+ * @summary Get all templateVersions.
23858
+ * @param {number} [page]
23859
+ * @param {number} [limit]
23860
+ * @param {Date} [lastRetrieved]
23861
+ * @param {*} [options] Override http request option.
23862
+ * @throws {RequiredError}
23863
+ */
23864
+ apiV1EmailmarketingsVersionsGet(page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<TemplateVersionsModel> {
23865
+ return localVarFp.apiV1EmailmarketingsVersionsGet(page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
23866
+ },
23867
+ /**
23868
+ *
23869
+ * @summary Create a templateVersion.
23870
+ * @param {CreateTemplateVersionCommand} [createTemplateVersionCommand]
23871
+ * @param {*} [options] Override http request option.
23872
+ * @throws {RequiredError}
23873
+ */
23874
+ apiV1EmailmarketingsVersionsPost(createTemplateVersionCommand?: CreateTemplateVersionCommand, options?: any): AxiosPromise<TemplateVersionModel> {
23875
+ return localVarFp.apiV1EmailmarketingsVersionsPost(createTemplateVersionCommand, options).then((request) => request(axios, basePath));
23876
+ },
23877
+ /**
23878
+ *
23879
+ * @summary Delete templateVersion.
23880
+ * @param {string} versionId
23881
+ * @param {*} [options] Override http request option.
23882
+ * @throws {RequiredError}
23883
+ */
23884
+ apiV1EmailmarketingsVersionsVersionIdDelete(versionId: string, options?: any): AxiosPromise<boolean> {
23885
+ return localVarFp.apiV1EmailmarketingsVersionsVersionIdDelete(versionId, options).then((request) => request(axios, basePath));
23886
+ },
23887
+ /**
23888
+ *
23889
+ * @summary Get templateVersion.
23890
+ * @param {string} versionId
23891
+ * @param {*} [options] Override http request option.
23892
+ * @throws {RequiredError}
23893
+ */
23894
+ apiV1EmailmarketingsVersionsVersionIdGet(versionId: string, options?: any): AxiosPromise<TemplateVersionModel> {
23895
+ return localVarFp.apiV1EmailmarketingsVersionsVersionIdGet(versionId, options).then((request) => request(axios, basePath));
23896
+ },
23897
+ /**
23898
+ *
23899
+ * @summary Update templateVersion.
23900
+ * @param {string} versionId
23901
+ * @param {UpdateTemplateVersionCommand} [updateTemplateVersionCommand]
23902
+ * @param {*} [options] Override http request option.
23903
+ * @throws {RequiredError}
23904
+ */
23905
+ apiV1EmailmarketingsVersionsVersionIdPut(versionId: string, updateTemplateVersionCommand?: UpdateTemplateVersionCommand, options?: any): AxiosPromise<TemplateVersionModel> {
23906
+ return localVarFp.apiV1EmailmarketingsVersionsVersionIdPut(versionId, updateTemplateVersionCommand, options).then((request) => request(axios, basePath));
23907
+ },
23908
+ /**
23909
+ *
23910
+ * @summary Send templateVersion email.
23911
+ * @param {string} versionId
23912
+ * @param {SendTemplateVersionCommand} [sendTemplateVersionCommand]
23913
+ * @param {*} [options] Override http request option.
23914
+ * @throws {RequiredError}
23915
+ */
23916
+ apiV1EmailmarketingsVersionsVersionIdSendPost(versionId: string, sendTemplateVersionCommand?: SendTemplateVersionCommand, options?: any): AxiosPromise<boolean> {
23917
+ return localVarFp.apiV1EmailmarketingsVersionsVersionIdSendPost(versionId, sendTemplateVersionCommand, options).then((request) => request(axios, basePath));
23918
+ },
23919
+ };
23920
+ };
23921
+
23922
+ /**
23923
+ * EmailMarketingsApi - object-oriented interface
23924
+ * @export
23925
+ * @class EmailMarketingsApi
23926
+ * @extends {BaseAPI}
23927
+ */
23928
+ export class EmailMarketingsApi extends BaseAPI {
23929
+ /**
23930
+ *
23931
+ * @summary Get all templateVersions.
23932
+ * @param {number} [page]
23933
+ * @param {number} [limit]
23934
+ * @param {Date} [lastRetrieved]
23935
+ * @param {*} [options] Override http request option.
23936
+ * @throws {RequiredError}
23937
+ * @memberof EmailMarketingsApi
23938
+ */
23939
+ public apiV1EmailmarketingsVersionsGet(page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
23940
+ return EmailMarketingsApiFp(this.configuration).apiV1EmailmarketingsVersionsGet(page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
23941
+ }
23942
+
23943
+ /**
23944
+ *
23945
+ * @summary Create a templateVersion.
23946
+ * @param {CreateTemplateVersionCommand} [createTemplateVersionCommand]
23947
+ * @param {*} [options] Override http request option.
23948
+ * @throws {RequiredError}
23949
+ * @memberof EmailMarketingsApi
23950
+ */
23951
+ public apiV1EmailmarketingsVersionsPost(createTemplateVersionCommand?: CreateTemplateVersionCommand, options?: AxiosRequestConfig) {
23952
+ return EmailMarketingsApiFp(this.configuration).apiV1EmailmarketingsVersionsPost(createTemplateVersionCommand, options).then((request) => request(this.axios, this.basePath));
23953
+ }
23954
+
23955
+ /**
23956
+ *
23957
+ * @summary Delete templateVersion.
23958
+ * @param {string} versionId
23959
+ * @param {*} [options] Override http request option.
23960
+ * @throws {RequiredError}
23961
+ * @memberof EmailMarketingsApi
23962
+ */
23963
+ public apiV1EmailmarketingsVersionsVersionIdDelete(versionId: string, options?: AxiosRequestConfig) {
23964
+ return EmailMarketingsApiFp(this.configuration).apiV1EmailmarketingsVersionsVersionIdDelete(versionId, options).then((request) => request(this.axios, this.basePath));
23965
+ }
23966
+
23967
+ /**
23968
+ *
23969
+ * @summary Get templateVersion.
23970
+ * @param {string} versionId
23971
+ * @param {*} [options] Override http request option.
23972
+ * @throws {RequiredError}
23973
+ * @memberof EmailMarketingsApi
23974
+ */
23975
+ public apiV1EmailmarketingsVersionsVersionIdGet(versionId: string, options?: AxiosRequestConfig) {
23976
+ return EmailMarketingsApiFp(this.configuration).apiV1EmailmarketingsVersionsVersionIdGet(versionId, options).then((request) => request(this.axios, this.basePath));
23977
+ }
23978
+
23979
+ /**
23980
+ *
23981
+ * @summary Update templateVersion.
23982
+ * @param {string} versionId
23983
+ * @param {UpdateTemplateVersionCommand} [updateTemplateVersionCommand]
23984
+ * @param {*} [options] Override http request option.
23985
+ * @throws {RequiredError}
23986
+ * @memberof EmailMarketingsApi
23987
+ */
23988
+ public apiV1EmailmarketingsVersionsVersionIdPut(versionId: string, updateTemplateVersionCommand?: UpdateTemplateVersionCommand, options?: AxiosRequestConfig) {
23989
+ return EmailMarketingsApiFp(this.configuration).apiV1EmailmarketingsVersionsVersionIdPut(versionId, updateTemplateVersionCommand, options).then((request) => request(this.axios, this.basePath));
23990
+ }
23991
+
23992
+ /**
23993
+ *
23994
+ * @summary Send templateVersion email.
23995
+ * @param {string} versionId
23996
+ * @param {SendTemplateVersionCommand} [sendTemplateVersionCommand]
23997
+ * @param {*} [options] Override http request option.
23998
+ * @throws {RequiredError}
23999
+ * @memberof EmailMarketingsApi
24000
+ */
24001
+ public apiV1EmailmarketingsVersionsVersionIdSendPost(versionId: string, sendTemplateVersionCommand?: SendTemplateVersionCommand, options?: AxiosRequestConfig) {
24002
+ return EmailMarketingsApiFp(this.configuration).apiV1EmailmarketingsVersionsVersionIdSendPost(versionId, sendTemplateVersionCommand, options).then((request) => request(this.axios, this.basePath));
24003
+ }
24004
+ }
24005
+
24006
+
24007
+ /**
24008
+ * FaqCategoriesApi - axios parameter creator
24009
+ * @export
24010
+ */
24011
+ export const FaqCategoriesApiAxiosParamCreator = function (configuration?: Configuration) {
24012
+ return {
24013
+ /**
24014
+ *
24015
+ * @summary Get BreadCrumbs.
24016
+ * @param {string} faqId
24017
+ * @param {string} [languageCode]
24018
+ * @param {*} [options] Override http request option.
24019
+ * @throws {RequiredError}
24020
+ */
24021
+ apiV1FaqcategoriesBreadcrumbsFaqIdGet: async (faqId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24022
+ // verify required parameter 'faqId' is not null or undefined
24023
+ assertParamExists('apiV1FaqcategoriesBreadcrumbsFaqIdGet', 'faqId', faqId)
24024
+ const localVarPath = `/api/v1/faqcategories/breadcrumbs/{faqId}`
24025
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)));
24026
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24027
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24028
+ let baseOptions;
24029
+ if (configuration) {
24030
+ baseOptions = configuration.baseOptions;
24031
+ }
24032
+
24033
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
24034
+ const localVarHeaderParameter = {} as any;
24035
+ const localVarQueryParameter = {} as any;
24036
+
24037
+ // authentication oauth2 required
24038
+ // oauth required
24039
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24040
+
24041
+ if (languageCode !== undefined) {
24042
+ localVarQueryParameter['languageCode'] = languageCode;
24043
+ }
24044
+
24045
+
24046
+
24047
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24048
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24049
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24050
+
24051
+ return {
24052
+ url: toPathString(localVarUrlObj),
24053
+ options: localVarRequestOptions,
24054
+ };
24055
+ },
24056
+ /**
24057
+ *
24058
+ * @summary Delete FaqCategory.
24059
+ * @param {string} faqCategoryId
24060
+ * @param {boolean} [forceDelete]
24061
+ * @param {*} [options] Override http request option.
24062
+ * @throws {RequiredError}
24063
+ */
24064
+ apiV1FaqcategoriesFaqCategoryIdDelete: async (faqCategoryId: string, forceDelete?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24065
+ // verify required parameter 'faqCategoryId' is not null or undefined
24066
+ assertParamExists('apiV1FaqcategoriesFaqCategoryIdDelete', 'faqCategoryId', faqCategoryId)
24067
+ const localVarPath = `/api/v1/faqcategories/{faqCategoryId}`
24068
+ .replace(`{${"faqCategoryId"}}`, encodeURIComponent(String(faqCategoryId)));
24069
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24070
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24071
+ let baseOptions;
24072
+ if (configuration) {
24073
+ baseOptions = configuration.baseOptions;
24074
+ }
24075
+
24076
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
24077
+ const localVarHeaderParameter = {} as any;
24078
+ const localVarQueryParameter = {} as any;
24079
+
24080
+ // authentication oauth2 required
24081
+ // oauth required
24082
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24083
+
24084
+ if (forceDelete !== undefined) {
24085
+ localVarQueryParameter['forceDelete'] = forceDelete;
24086
+ }
24087
+
24088
+
24089
+
24090
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24091
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24092
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24093
+
24094
+ return {
24095
+ url: toPathString(localVarUrlObj),
24096
+ options: localVarRequestOptions,
24097
+ };
24098
+ },
24099
+ /**
24100
+ *
24101
+ * @summary Get FaqCategory.
24102
+ * @param {string} faqCategoryId
24103
+ * @param {string} [languageCode]
24104
+ * @param {*} [options] Override http request option.
24105
+ * @throws {RequiredError}
24106
+ */
24107
+ apiV1FaqcategoriesFaqCategoryIdGet: async (faqCategoryId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24108
+ // verify required parameter 'faqCategoryId' is not null or undefined
24109
+ assertParamExists('apiV1FaqcategoriesFaqCategoryIdGet', 'faqCategoryId', faqCategoryId)
24110
+ const localVarPath = `/api/v1/faqcategories/{faqCategoryId}`
24111
+ .replace(`{${"faqCategoryId"}}`, encodeURIComponent(String(faqCategoryId)));
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: 'GET', ...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
+ if (languageCode !== undefined) {
24128
+ localVarQueryParameter['languageCode'] = languageCode;
24129
+ }
24130
+
24131
+
24132
+
24133
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24134
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24135
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24136
+
24137
+ return {
24138
+ url: toPathString(localVarUrlObj),
24139
+ options: localVarRequestOptions,
24140
+ };
24141
+ },
24142
+ /**
24143
+ *
24144
+ * @summary Update FaqCategory.
24145
+ * @param {string} faqCategoryId
24146
+ * @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
24147
+ * @param {*} [options] Override http request option.
24148
+ * @throws {RequiredError}
24149
+ */
24150
+ apiV1FaqcategoriesFaqCategoryIdPut: async (faqCategoryId: string, updateFaqCategoryCommand?: UpdateFaqCategoryCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24151
+ // verify required parameter 'faqCategoryId' is not null or undefined
24152
+ assertParamExists('apiV1FaqcategoriesFaqCategoryIdPut', 'faqCategoryId', faqCategoryId)
24153
+ const localVarPath = `/api/v1/faqcategories/{faqCategoryId}`
24154
+ .replace(`{${"faqCategoryId"}}`, encodeURIComponent(String(faqCategoryId)));
24155
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24156
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24157
+ let baseOptions;
24158
+ if (configuration) {
24159
+ baseOptions = configuration.baseOptions;
24160
+ }
24161
+
24162
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
24163
+ const localVarHeaderParameter = {} as any;
24164
+ const localVarQueryParameter = {} as any;
24165
+
24166
+ // authentication oauth2 required
24167
+ // oauth required
24168
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24169
+
24170
+
24171
+
24172
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24173
+
24174
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24175
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24176
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24177
+ localVarRequestOptions.data = serializeDataIfNeeded(updateFaqCategoryCommand, localVarRequestOptions, configuration)
24178
+
24179
+ return {
24180
+ url: toPathString(localVarUrlObj),
24181
+ options: localVarRequestOptions,
24182
+ };
24183
+ },
24184
+ /**
24185
+ *
24186
+ * @summary Get all FaqCategories.
24187
+ * @param {string} [id]
24188
+ * @param {string} [parentId]
24189
+ * @param {string} [name]
24190
+ * @param {string} [description]
24191
+ * @param {string} [languageCode]
24192
+ * @param {number} [page]
24193
+ * @param {number} [limit]
24194
+ * @param {Date} [lastRetrieved]
24195
+ * @param {*} [options] Override http request option.
24196
+ * @throws {RequiredError}
24197
+ */
24198
+ apiV1FaqcategoriesGet: async (id?: string, parentId?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24199
+ const localVarPath = `/api/v1/faqcategories`;
24200
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24201
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24202
+ let baseOptions;
24203
+ if (configuration) {
24204
+ baseOptions = configuration.baseOptions;
24205
+ }
24206
+
24207
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
24208
+ const localVarHeaderParameter = {} as any;
24209
+ const localVarQueryParameter = {} as any;
24210
+
24211
+ // authentication oauth2 required
24212
+ // oauth required
24213
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24214
+
24215
+ if (id !== undefined) {
24216
+ localVarQueryParameter['Id'] = id;
24217
+ }
24218
+
24219
+ if (parentId !== undefined) {
24220
+ localVarQueryParameter['ParentId'] = parentId;
24221
+ }
24222
+
24223
+ if (name !== undefined) {
24224
+ localVarQueryParameter['Name'] = name;
24225
+ }
24226
+
24227
+ if (description !== undefined) {
24228
+ localVarQueryParameter['Description'] = description;
24229
+ }
24230
+
24231
+ if (languageCode !== undefined) {
24232
+ localVarQueryParameter['LanguageCode'] = languageCode;
24233
+ }
24234
+
24235
+ if (page !== undefined) {
24236
+ localVarQueryParameter['page'] = page;
24237
+ }
24238
+
24239
+ if (limit !== undefined) {
24240
+ localVarQueryParameter['limit'] = limit;
24241
+ }
24242
+
24243
+ if (lastRetrieved !== undefined) {
24244
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
24245
+ (lastRetrieved as any).toISOString() :
24246
+ lastRetrieved;
24247
+ }
24248
+
24249
+
24250
+
24251
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24252
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24253
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24254
+
24255
+ return {
24256
+ url: toPathString(localVarUrlObj),
24257
+ options: localVarRequestOptions,
24258
+ };
24259
+ },
24260
+ /**
24261
+ *
24262
+ * @summary Create a FaqCategory.
24263
+ * @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
24264
+ * @param {*} [options] Override http request option.
24265
+ * @throws {RequiredError}
24266
+ */
24267
+ apiV1FaqcategoriesPost: async (createFaqCategoryCommand?: CreateFaqCategoryCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24268
+ const localVarPath = `/api/v1/faqcategories`;
24269
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24270
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24271
+ let baseOptions;
24272
+ if (configuration) {
24273
+ baseOptions = configuration.baseOptions;
24274
+ }
24275
+
24276
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
24277
+ const localVarHeaderParameter = {} as any;
24278
+ const localVarQueryParameter = {} as any;
24279
+
24280
+ // authentication oauth2 required
24281
+ // oauth required
24282
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24283
+
24284
+
24285
+
24286
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24287
+
24288
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24289
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24290
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24291
+ localVarRequestOptions.data = serializeDataIfNeeded(createFaqCategoryCommand, localVarRequestOptions, configuration)
24292
+
24293
+ return {
24294
+ url: toPathString(localVarUrlObj),
24295
+ options: localVarRequestOptions,
24296
+ };
24297
+ },
24298
+ /**
24299
+ *
24300
+ * @summary Get FaqCategory by slug.
24301
+ * @param {string} slug
24302
+ * @param {string} [languageCode]
24303
+ * @param {*} [options] Override http request option.
24304
+ * @throws {RequiredError}
24305
+ */
24306
+ apiV1FaqcategoriesSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24307
+ // verify required parameter 'slug' is not null or undefined
24308
+ assertParamExists('apiV1FaqcategoriesSlugGet', 'slug', slug)
24309
+ const localVarPath = `/api/v1/faqcategories/{slug}`
24310
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
24311
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24312
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24313
+ let baseOptions;
24314
+ if (configuration) {
24315
+ baseOptions = configuration.baseOptions;
24316
+ }
24317
+
24318
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
24319
+ const localVarHeaderParameter = {} as any;
24320
+ const localVarQueryParameter = {} as any;
24321
+
24322
+ // authentication oauth2 required
24323
+ // oauth required
24324
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24325
+
24326
+ if (languageCode !== undefined) {
24327
+ localVarQueryParameter['languageCode'] = languageCode;
24328
+ }
24329
+
24330
+
24331
+
24332
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24333
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24334
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24335
+
24336
+ return {
24337
+ url: toPathString(localVarUrlObj),
24338
+ options: localVarRequestOptions,
24339
+ };
24340
+ },
24341
+ }
24342
+ };
24343
+
24344
+ /**
24345
+ * FaqCategoriesApi - functional programming interface
24346
+ * @export
24347
+ */
24348
+ export const FaqCategoriesApiFp = function(configuration?: Configuration) {
24349
+ const localVarAxiosParamCreator = FaqCategoriesApiAxiosParamCreator(configuration)
24350
+ return {
24351
+ /**
24352
+ *
24353
+ * @summary Get BreadCrumbs.
24354
+ * @param {string} faqId
24355
+ * @param {string} [languageCode]
24356
+ * @param {*} [options] Override http request option.
24357
+ * @throws {RequiredError}
24358
+ */
24359
+ async apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FaqCategoryBreadCrumbModel>>> {
24360
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId, languageCode, options);
24361
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24362
+ },
24363
+ /**
24364
+ *
24365
+ * @summary Delete FaqCategory.
24366
+ * @param {string} faqCategoryId
24367
+ * @param {boolean} [forceDelete]
24368
+ * @param {*} [options] Override http request option.
24369
+ * @throws {RequiredError}
24370
+ */
24371
+ async apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId: string, forceDelete?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
24372
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId, forceDelete, options);
24373
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24374
+ },
24375
+ /**
24376
+ *
24377
+ * @summary Get FaqCategory.
24378
+ * @param {string} faqCategoryId
24379
+ * @param {string} [languageCode]
24380
+ * @param {*} [options] Override http request option.
24381
+ * @throws {RequiredError}
24382
+ */
24383
+ async apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqCategoryModel>> {
24384
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, options);
24385
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24386
+ },
24387
+ /**
24388
+ *
24389
+ * @summary Update FaqCategory.
24390
+ * @param {string} faqCategoryId
24391
+ * @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
24392
+ * @param {*} [options] Override http request option.
24393
+ * @throws {RequiredError}
24394
+ */
24395
+ async apiV1FaqcategoriesFaqCategoryIdPut(faqCategoryId: string, updateFaqCategoryCommand?: UpdateFaqCategoryCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqCategoryModel>> {
24396
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesFaqCategoryIdPut(faqCategoryId, updateFaqCategoryCommand, options);
24397
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24398
+ },
24399
+ /**
24400
+ *
24401
+ * @summary Get all FaqCategories.
24402
+ * @param {string} [id]
24403
+ * @param {string} [parentId]
24404
+ * @param {string} [name]
24405
+ * @param {string} [description]
24406
+ * @param {string} [languageCode]
24407
+ * @param {number} [page]
24408
+ * @param {number} [limit]
24409
+ * @param {Date} [lastRetrieved]
24410
+ * @param {*} [options] Override http request option.
24411
+ * @throws {RequiredError}
24412
+ */
24413
+ 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>> {
24414
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesGet(id, parentId, name, description, languageCode, page, limit, lastRetrieved, options);
24415
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24416
+ },
24417
+ /**
24418
+ *
24419
+ * @summary Create a FaqCategory.
24420
+ * @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
24421
+ * @param {*} [options] Override http request option.
24422
+ * @throws {RequiredError}
24423
+ */
24424
+ async apiV1FaqcategoriesPost(createFaqCategoryCommand?: CreateFaqCategoryCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqCategoryModel>> {
24425
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesPost(createFaqCategoryCommand, options);
24426
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24427
+ },
24428
+ /**
24429
+ *
24430
+ * @summary Get FaqCategory by slug.
24431
+ * @param {string} slug
24432
+ * @param {string} [languageCode]
24433
+ * @param {*} [options] Override http request option.
24434
+ * @throws {RequiredError}
24435
+ */
24436
+ async apiV1FaqcategoriesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqCategoryModel>> {
24437
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesSlugGet(slug, languageCode, options);
24438
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24439
+ },
24440
+ }
24441
+ };
24442
+
24443
+ /**
24444
+ * FaqCategoriesApi - factory interface
24445
+ * @export
24446
+ */
24447
+ export const FaqCategoriesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
24448
+ const localVarFp = FaqCategoriesApiFp(configuration)
24449
+ return {
24450
+ /**
24451
+ *
24452
+ * @summary Get BreadCrumbs.
24453
+ * @param {string} faqId
24454
+ * @param {string} [languageCode]
24455
+ * @param {*} [options] Override http request option.
24456
+ * @throws {RequiredError}
24457
+ */
24458
+ apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId: string, languageCode?: string, options?: any): AxiosPromise<Array<FaqCategoryBreadCrumbModel>> {
24459
+ return localVarFp.apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId, languageCode, options).then((request) => request(axios, basePath));
24460
+ },
24461
+ /**
24462
+ *
24463
+ * @summary Delete FaqCategory.
24464
+ * @param {string} faqCategoryId
24465
+ * @param {boolean} [forceDelete]
24466
+ * @param {*} [options] Override http request option.
24467
+ * @throws {RequiredError}
24468
+ */
24469
+ apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId: string, forceDelete?: boolean, options?: any): AxiosPromise<boolean> {
24470
+ return localVarFp.apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId, forceDelete, options).then((request) => request(axios, basePath));
24471
+ },
24472
+ /**
24473
+ *
24474
+ * @summary Get FaqCategory.
24475
+ * @param {string} faqCategoryId
24476
+ * @param {string} [languageCode]
24477
+ * @param {*} [options] Override http request option.
24478
+ * @throws {RequiredError}
24479
+ */
24480
+ apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string, options?: any): AxiosPromise<FaqCategoryModel> {
24481
+ return localVarFp.apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, options).then((request) => request(axios, basePath));
24482
+ },
24483
+ /**
24484
+ *
24485
+ * @summary Update FaqCategory.
24486
+ * @param {string} faqCategoryId
24487
+ * @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
24488
+ * @param {*} [options] Override http request option.
24489
+ * @throws {RequiredError}
24490
+ */
24491
+ apiV1FaqcategoriesFaqCategoryIdPut(faqCategoryId: string, updateFaqCategoryCommand?: UpdateFaqCategoryCommand, options?: any): AxiosPromise<FaqCategoryModel> {
24492
+ return localVarFp.apiV1FaqcategoriesFaqCategoryIdPut(faqCategoryId, updateFaqCategoryCommand, options).then((request) => request(axios, basePath));
24493
+ },
24494
+ /**
24495
+ *
24496
+ * @summary Get all FaqCategories.
24497
+ * @param {string} [id]
24498
+ * @param {string} [parentId]
24499
+ * @param {string} [name]
24500
+ * @param {string} [description]
24501
+ * @param {string} [languageCode]
24502
+ * @param {number} [page]
24503
+ * @param {number} [limit]
24504
+ * @param {Date} [lastRetrieved]
24505
+ * @param {*} [options] Override http request option.
24506
+ * @throws {RequiredError}
24507
+ */
24508
+ apiV1FaqcategoriesGet(id?: string, parentId?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<FaqCategoriesModel> {
24509
+ return localVarFp.apiV1FaqcategoriesGet(id, parentId, name, description, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
24510
+ },
24511
+ /**
24512
+ *
24513
+ * @summary Create a FaqCategory.
24514
+ * @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
24515
+ * @param {*} [options] Override http request option.
24516
+ * @throws {RequiredError}
24517
+ */
24518
+ apiV1FaqcategoriesPost(createFaqCategoryCommand?: CreateFaqCategoryCommand, options?: any): AxiosPromise<FaqCategoryModel> {
24519
+ return localVarFp.apiV1FaqcategoriesPost(createFaqCategoryCommand, options).then((request) => request(axios, basePath));
24520
+ },
24521
+ /**
24522
+ *
24523
+ * @summary Get FaqCategory by slug.
24524
+ * @param {string} slug
24525
+ * @param {string} [languageCode]
24526
+ * @param {*} [options] Override http request option.
24527
+ * @throws {RequiredError}
24528
+ */
24529
+ apiV1FaqcategoriesSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<FaqCategoryModel> {
24530
+ return localVarFp.apiV1FaqcategoriesSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
24531
+ },
24532
+ };
24533
+ };
24534
+
24535
+ /**
24536
+ * FaqCategoriesApi - object-oriented interface
24537
+ * @export
24538
+ * @class FaqCategoriesApi
24539
+ * @extends {BaseAPI}
24540
+ */
24541
+ export class FaqCategoriesApi extends BaseAPI {
24542
+ /**
24543
+ *
24544
+ * @summary Get BreadCrumbs.
24545
+ * @param {string} faqId
24546
+ * @param {string} [languageCode]
24547
+ * @param {*} [options] Override http request option.
24548
+ * @throws {RequiredError}
24549
+ * @memberof FaqCategoriesApi
24550
+ */
24551
+ public apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId: string, languageCode?: string, options?: AxiosRequestConfig) {
24552
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId, languageCode, options).then((request) => request(this.axios, this.basePath));
24553
+ }
24554
+
24555
+ /**
24556
+ *
24557
+ * @summary Delete FaqCategory.
24558
+ * @param {string} faqCategoryId
24559
+ * @param {boolean} [forceDelete]
24560
+ * @param {*} [options] Override http request option.
24561
+ * @throws {RequiredError}
24562
+ * @memberof FaqCategoriesApi
24563
+ */
24564
+ public apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId: string, forceDelete?: boolean, options?: AxiosRequestConfig) {
24565
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId, forceDelete, options).then((request) => request(this.axios, this.basePath));
24566
+ }
24567
+
24568
+ /**
24569
+ *
24570
+ * @summary Get FaqCategory.
24571
+ * @param {string} faqCategoryId
24572
+ * @param {string} [languageCode]
24573
+ * @param {*} [options] Override http request option.
24574
+ * @throws {RequiredError}
24575
+ * @memberof FaqCategoriesApi
24576
+ */
24577
+ public apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string, options?: AxiosRequestConfig) {
24578
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, options).then((request) => request(this.axios, this.basePath));
24579
+ }
24580
+
24581
+ /**
24582
+ *
24583
+ * @summary Update FaqCategory.
24584
+ * @param {string} faqCategoryId
24585
+ * @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
24586
+ * @param {*} [options] Override http request option.
24587
+ * @throws {RequiredError}
24588
+ * @memberof FaqCategoriesApi
24589
+ */
24590
+ public apiV1FaqcategoriesFaqCategoryIdPut(faqCategoryId: string, updateFaqCategoryCommand?: UpdateFaqCategoryCommand, options?: AxiosRequestConfig) {
24591
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesFaqCategoryIdPut(faqCategoryId, updateFaqCategoryCommand, options).then((request) => request(this.axios, this.basePath));
24592
+ }
24593
+
24594
+ /**
24595
+ *
24596
+ * @summary Get all FaqCategories.
24597
+ * @param {string} [id]
24598
+ * @param {string} [parentId]
24599
+ * @param {string} [name]
24600
+ * @param {string} [description]
24601
+ * @param {string} [languageCode]
24602
+ * @param {number} [page]
24603
+ * @param {number} [limit]
24604
+ * @param {Date} [lastRetrieved]
24605
+ * @param {*} [options] Override http request option.
24606
+ * @throws {RequiredError}
24607
+ * @memberof FaqCategoriesApi
24608
+ */
24609
+ public apiV1FaqcategoriesGet(id?: string, parentId?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
24610
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesGet(id, parentId, name, description, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
24611
+ }
24612
+
24613
+ /**
24614
+ *
24615
+ * @summary Create a FaqCategory.
24616
+ * @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
24617
+ * @param {*} [options] Override http request option.
24618
+ * @throws {RequiredError}
24619
+ * @memberof FaqCategoriesApi
24620
+ */
24621
+ public apiV1FaqcategoriesPost(createFaqCategoryCommand?: CreateFaqCategoryCommand, options?: AxiosRequestConfig) {
24622
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesPost(createFaqCategoryCommand, options).then((request) => request(this.axios, this.basePath));
24623
+ }
24624
+
24625
+ /**
24626
+ *
24627
+ * @summary Get FaqCategory by slug.
24628
+ * @param {string} slug
24629
+ * @param {string} [languageCode]
24630
+ * @param {*} [options] Override http request option.
24631
+ * @throws {RequiredError}
24632
+ * @memberof FaqCategoriesApi
24633
+ */
24634
+ public apiV1FaqcategoriesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
24635
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
24636
+ }
24637
+ }
24638
+
24639
+
24640
+ /**
24641
+ * FaqsApi - axios parameter creator
24642
+ * @export
24643
+ */
24644
+ export const FaqsApiAxiosParamCreator = function (configuration?: Configuration) {
24645
+ return {
24646
+ /**
24647
+ *
24648
+ * @summary Delete faq.
24649
+ * @param {string} faqId
24650
+ * @param {*} [options] Override http request option.
24651
+ * @throws {RequiredError}
24652
+ */
24653
+ apiV1FaqsFaqIdDelete: async (faqId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24654
+ // verify required parameter 'faqId' is not null or undefined
24655
+ assertParamExists('apiV1FaqsFaqIdDelete', 'faqId', faqId)
24656
+ const localVarPath = `/api/v1/faqs/{faqId}`
24657
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)));
24658
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24659
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24660
+ let baseOptions;
24661
+ if (configuration) {
24662
+ baseOptions = configuration.baseOptions;
24663
+ }
24664
+
24665
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
24666
+ const localVarHeaderParameter = {} as any;
24667
+ const localVarQueryParameter = {} as any;
24668
+
24669
+ // authentication oauth2 required
24670
+ // oauth required
24671
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24672
+
24673
+
24674
+
24675
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24676
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24677
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24678
+
24679
+ return {
24680
+ url: toPathString(localVarUrlObj),
24681
+ options: localVarRequestOptions,
24682
+ };
24683
+ },
24684
+ /**
24685
+ *
24686
+ * @summary Get faq.
24687
+ * @param {string} faqId
24688
+ * @param {string} [languageCode]
24689
+ * @param {*} [options] Override http request option.
24690
+ * @throws {RequiredError}
24691
+ */
24692
+ apiV1FaqsFaqIdGet: async (faqId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24693
+ // verify required parameter 'faqId' is not null or undefined
24694
+ assertParamExists('apiV1FaqsFaqIdGet', 'faqId', faqId)
24695
+ const localVarPath = `/api/v1/faqs/{faqId}`
24696
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)));
24697
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24698
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24699
+ let baseOptions;
24700
+ if (configuration) {
24701
+ baseOptions = configuration.baseOptions;
24702
+ }
24703
+
24704
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
24705
+ const localVarHeaderParameter = {} as any;
24706
+ const localVarQueryParameter = {} as any;
24707
+
24708
+ // authentication oauth2 required
24709
+ // oauth required
24710
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24711
+
24712
+ if (languageCode !== undefined) {
24713
+ localVarQueryParameter['languageCode'] = languageCode;
24714
+ }
24715
+
24716
+
24717
+
24718
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24719
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24720
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24721
+
24722
+ return {
24723
+ url: toPathString(localVarUrlObj),
24724
+ options: localVarRequestOptions,
24725
+ };
24726
+ },
24727
+ /**
24728
+ *
24729
+ * @summary Get all FaqMedias.
24730
+ * @param {string} faqId
24731
+ * @param {string} [id]
24732
+ * @param {MediaType} [mediaType]
24733
+ * @param {number} [page]
24734
+ * @param {number} [limit]
24735
+ * @param {Date} [lastRetrieved]
24736
+ * @param {*} [options] Override http request option.
24737
+ * @throws {RequiredError}
24738
+ */
24739
+ apiV1FaqsFaqIdMediasGet: async (faqId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24740
+ // verify required parameter 'faqId' is not null or undefined
24741
+ assertParamExists('apiV1FaqsFaqIdMediasGet', 'faqId', faqId)
24742
+ const localVarPath = `/api/v1/faqs/{faqId}/medias`
24743
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)));
24744
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24745
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24746
+ let baseOptions;
24747
+ if (configuration) {
24748
+ baseOptions = configuration.baseOptions;
24749
+ }
24750
+
24751
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
24752
+ const localVarHeaderParameter = {} as any;
24753
+ const localVarQueryParameter = {} as any;
24754
+
24755
+ // authentication oauth2 required
24756
+ // oauth required
24757
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24758
+
24759
+ if (id !== undefined) {
24760
+ localVarQueryParameter['Id'] = id;
24761
+ }
24762
+
24763
+ if (mediaType !== undefined) {
24764
+ localVarQueryParameter['MediaType'] = mediaType;
24765
+ }
24766
+
24767
+ if (page !== undefined) {
24768
+ localVarQueryParameter['page'] = page;
24769
+ }
24770
+
24771
+ if (limit !== undefined) {
24772
+ localVarQueryParameter['limit'] = limit;
24773
+ }
24774
+
24775
+ if (lastRetrieved !== undefined) {
24776
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
24777
+ (lastRetrieved as any).toISOString() :
24778
+ lastRetrieved;
24779
+ }
24780
+
24781
+
24782
+
24783
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24784
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24785
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24786
+
24787
+ return {
24788
+ url: toPathString(localVarUrlObj),
24789
+ options: localVarRequestOptions,
24790
+ };
24791
+ },
24792
+ /**
24793
+ *
24794
+ * @summary Delete FaqMedia
24795
+ * @param {string} faqId
24796
+ * @param {string} mediaId
24797
+ * @param {*} [options] Override http request option.
24798
+ * @throws {RequiredError}
24799
+ */
24800
+ apiV1FaqsFaqIdMediasMediaIdDelete: async (faqId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24801
+ // verify required parameter 'faqId' is not null or undefined
24802
+ assertParamExists('apiV1FaqsFaqIdMediasMediaIdDelete', 'faqId', faqId)
24803
+ // verify required parameter 'mediaId' is not null or undefined
24804
+ assertParamExists('apiV1FaqsFaqIdMediasMediaIdDelete', 'mediaId', mediaId)
24805
+ const localVarPath = `/api/v1/faqs/{faqId}/medias/{mediaId}`
24806
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)))
24807
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
24808
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24809
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24810
+ let baseOptions;
24811
+ if (configuration) {
24812
+ baseOptions = configuration.baseOptions;
24813
+ }
24814
+
24815
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
24816
+ const localVarHeaderParameter = {} as any;
24817
+ const localVarQueryParameter = {} as any;
24818
+
24819
+ // authentication oauth2 required
24820
+ // oauth required
24821
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24822
+
24823
+
24824
+
24825
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24826
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24827
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24828
+
24829
+ return {
24830
+ url: toPathString(localVarUrlObj),
24831
+ options: localVarRequestOptions,
24832
+ };
24833
+ },
24834
+ /**
24835
+ *
24836
+ * @summary Get FaqMedia.
24837
+ * @param {string} faqId
24838
+ * @param {string} mediaId
24839
+ * @param {*} [options] Override http request option.
24840
+ * @throws {RequiredError}
24841
+ */
24842
+ apiV1FaqsFaqIdMediasMediaIdGet: async (faqId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24843
+ // verify required parameter 'faqId' is not null or undefined
24844
+ assertParamExists('apiV1FaqsFaqIdMediasMediaIdGet', 'faqId', faqId)
24845
+ // verify required parameter 'mediaId' is not null or undefined
24846
+ assertParamExists('apiV1FaqsFaqIdMediasMediaIdGet', 'mediaId', mediaId)
24847
+ const localVarPath = `/api/v1/faqs/{faqId}/medias/{mediaId}`
24848
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)))
24849
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
24850
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24851
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24852
+ let baseOptions;
24853
+ if (configuration) {
24854
+ baseOptions = configuration.baseOptions;
24855
+ }
24856
+
24857
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
24858
+ const localVarHeaderParameter = {} as any;
24859
+ const localVarQueryParameter = {} as any;
24860
+
24861
+ // authentication oauth2 required
24862
+ // oauth required
24863
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24864
+
24865
+
24866
+
24867
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24868
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24869
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24870
+
24871
+ return {
24872
+ url: toPathString(localVarUrlObj),
24873
+ options: localVarRequestOptions,
24874
+ };
24875
+ },
24876
+ /**
24877
+ *
24878
+ * @summary Update FaqMedia.
24879
+ * @param {string} faqId
24880
+ * @param {string} mediaId
24881
+ * @param {UpdateMediaCommand} [updateMediaCommand]
24882
+ * @param {*} [options] Override http request option.
24883
+ * @throws {RequiredError}
24884
+ */
24885
+ apiV1FaqsFaqIdMediasMediaIdPut: async (faqId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24886
+ // verify required parameter 'faqId' is not null or undefined
24887
+ assertParamExists('apiV1FaqsFaqIdMediasMediaIdPut', 'faqId', faqId)
24888
+ // verify required parameter 'mediaId' is not null or undefined
24889
+ assertParamExists('apiV1FaqsFaqIdMediasMediaIdPut', 'mediaId', mediaId)
24890
+ const localVarPath = `/api/v1/faqs/{faqId}/medias/{mediaId}`
24891
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)))
24892
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
24893
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24894
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24895
+ let baseOptions;
24896
+ if (configuration) {
24897
+ baseOptions = configuration.baseOptions;
24898
+ }
24899
+
24900
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
24901
+ const localVarHeaderParameter = {} as any;
24902
+ const localVarQueryParameter = {} as any;
24903
+
24904
+ // authentication oauth2 required
24905
+ // oauth required
24906
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24907
+
24908
+
24909
+
24910
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24911
+
24912
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24913
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24914
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24915
+ localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
24916
+
24917
+ return {
24918
+ url: toPathString(localVarUrlObj),
24919
+ options: localVarRequestOptions,
24920
+ };
24921
+ },
24922
+ /**
24923
+ *
24924
+ * @summary Create FaqMedia.
24925
+ * @param {string} faqId
24926
+ * @param {CreateMediaCommand} [createMediaCommand]
24927
+ * @param {*} [options] Override http request option.
24928
+ * @throws {RequiredError}
24929
+ */
24930
+ apiV1FaqsFaqIdMediasPost: async (faqId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24931
+ // verify required parameter 'faqId' is not null or undefined
24932
+ assertParamExists('apiV1FaqsFaqIdMediasPost', 'faqId', faqId)
24933
+ const localVarPath = `/api/v1/faqs/{faqId}/medias`
24934
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)));
24935
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24936
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24937
+ let baseOptions;
24938
+ if (configuration) {
24939
+ baseOptions = configuration.baseOptions;
24940
+ }
24941
+
24942
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
24943
+ const localVarHeaderParameter = {} as any;
24944
+ const localVarQueryParameter = {} as any;
24945
+
24946
+ // authentication oauth2 required
24947
+ // oauth required
24948
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24949
+
24950
+
24951
+
24952
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24953
+
24954
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24955
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24956
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24957
+ localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
24958
+
24959
+ return {
24960
+ url: toPathString(localVarUrlObj),
24961
+ options: localVarRequestOptions,
24962
+ };
24963
+ },
24964
+ /**
24965
+ *
24966
+ * @summary Update faq.
24967
+ * @param {string} faqId
24968
+ * @param {UpdateFaqCommand} [updateFaqCommand]
24969
+ * @param {*} [options] Override http request option.
24970
+ * @throws {RequiredError}
24971
+ */
24972
+ apiV1FaqsFaqIdPut: async (faqId: string, updateFaqCommand?: UpdateFaqCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24973
+ // verify required parameter 'faqId' is not null or undefined
24974
+ assertParamExists('apiV1FaqsFaqIdPut', 'faqId', faqId)
24975
+ const localVarPath = `/api/v1/faqs/{faqId}`
24976
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)));
24977
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24978
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24979
+ let baseOptions;
24980
+ if (configuration) {
24981
+ baseOptions = configuration.baseOptions;
24982
+ }
24983
+
24984
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
24985
+ const localVarHeaderParameter = {} as any;
24986
+ const localVarQueryParameter = {} as any;
24987
+
24988
+ // authentication oauth2 required
24989
+ // oauth required
24990
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24991
+
24992
+
24993
+
24994
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24995
+
24996
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24997
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24998
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24999
+ localVarRequestOptions.data = serializeDataIfNeeded(updateFaqCommand, localVarRequestOptions, configuration)
25000
+
25001
+ return {
25002
+ url: toPathString(localVarUrlObj),
25003
+ options: localVarRequestOptions,
25004
+ };
25005
+ },
25006
+ /**
25007
+ *
25008
+ * @summary Get all Faqs.
25009
+ * @param {string} [id]
25010
+ * @param {string} [title]
25011
+ * @param {string} [content]
25012
+ * @param {string} [categoryId]
25013
+ * @param {string} [languageCode]
25014
+ * @param {number} [page]
25015
+ * @param {number} [limit]
25016
+ * @param {Date} [lastRetrieved]
25017
+ * @param {*} [options] Override http request option.
25018
+ * @throws {RequiredError}
25019
+ */
25020
+ apiV1FaqsGet: async (id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25021
+ const localVarPath = `/api/v1/faqs`;
25022
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
25023
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25024
+ let baseOptions;
25025
+ if (configuration) {
25026
+ baseOptions = configuration.baseOptions;
25027
+ }
25028
+
25029
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
25030
+ const localVarHeaderParameter = {} as any;
25031
+ const localVarQueryParameter = {} as any;
25032
+
25033
+ // authentication oauth2 required
25034
+ // oauth required
25035
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
25036
+
25037
+ if (id !== undefined) {
25038
+ localVarQueryParameter['Id'] = id;
25039
+ }
25040
+
25041
+ if (title !== undefined) {
25042
+ localVarQueryParameter['Title'] = title;
25043
+ }
25044
+
25045
+ if (content !== undefined) {
25046
+ localVarQueryParameter['Content'] = content;
25047
+ }
25048
+
25049
+ if (categoryId !== undefined) {
25050
+ localVarQueryParameter['CategoryId'] = categoryId;
25051
+ }
25052
+
25053
+ if (languageCode !== undefined) {
25054
+ localVarQueryParameter['LanguageCode'] = languageCode;
25055
+ }
25056
+
25057
+ if (page !== undefined) {
25058
+ localVarQueryParameter['page'] = page;
25059
+ }
25060
+
25061
+ if (limit !== undefined) {
25062
+ localVarQueryParameter['limit'] = limit;
25063
+ }
25064
+
25065
+ if (lastRetrieved !== undefined) {
25066
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
25067
+ (lastRetrieved as any).toISOString() :
25068
+ lastRetrieved;
25069
+ }
25070
+
25071
+
25072
+
25073
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
25074
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25075
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
25076
+
25077
+ return {
25078
+ url: toPathString(localVarUrlObj),
25079
+ options: localVarRequestOptions,
25080
+ };
25081
+ },
25082
+ /**
25083
+ *
25084
+ * @summary Create a faq.
25085
+ * @param {CreateFaqCommand} [createFaqCommand]
25086
+ * @param {*} [options] Override http request option.
25087
+ * @throws {RequiredError}
25088
+ */
25089
+ apiV1FaqsPost: async (createFaqCommand?: CreateFaqCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25090
+ const localVarPath = `/api/v1/faqs`;
25091
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
25092
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25093
+ let baseOptions;
25094
+ if (configuration) {
25095
+ baseOptions = configuration.baseOptions;
25096
+ }
25097
+
25098
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
25099
+ const localVarHeaderParameter = {} as any;
25100
+ const localVarQueryParameter = {} as any;
25101
+
25102
+ // authentication oauth2 required
25103
+ // oauth required
25104
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
25105
+
25106
+
25107
+
25108
+ localVarHeaderParameter['Content-Type'] = 'application/json';
25109
+
25110
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
25111
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25112
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
25113
+ localVarRequestOptions.data = serializeDataIfNeeded(createFaqCommand, localVarRequestOptions, configuration)
25114
+
25115
+ return {
25116
+ url: toPathString(localVarUrlObj),
25117
+ options: localVarRequestOptions,
25118
+ };
25119
+ },
25120
+ /**
25121
+ *
25122
+ * @summary Get faq by slug.
25123
+ * @param {string} slug
25124
+ * @param {string} [languageCode]
25125
+ * @param {*} [options] Override http request option.
25126
+ * @throws {RequiredError}
25127
+ */
25128
+ apiV1FaqsSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25129
+ // verify required parameter 'slug' is not null or undefined
25130
+ assertParamExists('apiV1FaqsSlugGet', 'slug', slug)
25131
+ const localVarPath = `/api/v1/faqs/{slug}`
25132
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
25133
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
25134
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25135
+ let baseOptions;
25136
+ if (configuration) {
25137
+ baseOptions = configuration.baseOptions;
25138
+ }
25139
+
25140
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
25141
+ const localVarHeaderParameter = {} as any;
25142
+ const localVarQueryParameter = {} as any;
25143
+
25144
+ // authentication oauth2 required
25145
+ // oauth required
25146
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
25147
+
25148
+ if (languageCode !== undefined) {
25149
+ localVarQueryParameter['languageCode'] = languageCode;
25150
+ }
25151
+
25152
+
25153
+
25154
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
25155
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25156
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
25157
+
25158
+ return {
25159
+ url: toPathString(localVarUrlObj),
25160
+ options: localVarRequestOptions,
25161
+ };
25162
+ },
25163
+ }
25164
+ };
25165
+
25166
+ /**
25167
+ * FaqsApi - functional programming interface
25168
+ * @export
25169
+ */
25170
+ export const FaqsApiFp = function(configuration?: Configuration) {
25171
+ const localVarAxiosParamCreator = FaqsApiAxiosParamCreator(configuration)
25172
+ return {
25173
+ /**
25174
+ *
25175
+ * @summary Delete faq.
25176
+ * @param {string} faqId
25177
+ * @param {*} [options] Override http request option.
25178
+ * @throws {RequiredError}
25179
+ */
25180
+ async apiV1FaqsFaqIdDelete(faqId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
25181
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdDelete(faqId, options);
25182
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25183
+ },
25184
+ /**
25185
+ *
25186
+ * @summary Get faq.
25187
+ * @param {string} faqId
25188
+ * @param {string} [languageCode]
25189
+ * @param {*} [options] Override http request option.
25190
+ * @throws {RequiredError}
25191
+ */
25192
+ async apiV1FaqsFaqIdGet(faqId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqModel>> {
25193
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdGet(faqId, languageCode, options);
25194
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25195
+ },
25196
+ /**
25197
+ *
25198
+ * @summary Get all FaqMedias.
25199
+ * @param {string} faqId
25200
+ * @param {string} [id]
25201
+ * @param {MediaType} [mediaType]
25202
+ * @param {number} [page]
25203
+ * @param {number} [limit]
25204
+ * @param {Date} [lastRetrieved]
25205
+ * @param {*} [options] Override http request option.
25206
+ * @throws {RequiredError}
25207
+ */
25208
+ async apiV1FaqsFaqIdMediasGet(faqId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
25209
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdMediasGet(faqId, id, mediaType, page, limit, lastRetrieved, options);
25210
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25211
+ },
25212
+ /**
25213
+ *
25214
+ * @summary Delete FaqMedia
25215
+ * @param {string} faqId
25216
+ * @param {string} mediaId
25217
+ * @param {*} [options] Override http request option.
25218
+ * @throws {RequiredError}
25219
+ */
25220
+ async apiV1FaqsFaqIdMediasMediaIdDelete(faqId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
25221
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdMediasMediaIdDelete(faqId, mediaId, options);
25222
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25223
+ },
25224
+ /**
25225
+ *
25226
+ * @summary Get FaqMedia.
25227
+ * @param {string} faqId
25228
+ * @param {string} mediaId
25229
+ * @param {*} [options] Override http request option.
25230
+ * @throws {RequiredError}
25231
+ */
25232
+ async apiV1FaqsFaqIdMediasMediaIdGet(faqId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
25233
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdMediasMediaIdGet(faqId, mediaId, options);
25234
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25235
+ },
25236
+ /**
25237
+ *
25238
+ * @summary Update FaqMedia.
25239
+ * @param {string} faqId
25240
+ * @param {string} mediaId
25241
+ * @param {UpdateMediaCommand} [updateMediaCommand]
25242
+ * @param {*} [options] Override http request option.
25243
+ * @throws {RequiredError}
25244
+ */
25245
+ async apiV1FaqsFaqIdMediasMediaIdPut(faqId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
25246
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdMediasMediaIdPut(faqId, mediaId, updateMediaCommand, options);
25247
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25248
+ },
25249
+ /**
25250
+ *
25251
+ * @summary Create FaqMedia.
25252
+ * @param {string} faqId
25253
+ * @param {CreateMediaCommand} [createMediaCommand]
25254
+ * @param {*} [options] Override http request option.
25255
+ * @throws {RequiredError}
25256
+ */
25257
+ async apiV1FaqsFaqIdMediasPost(faqId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
25258
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdMediasPost(faqId, createMediaCommand, options);
25259
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25260
+ },
25261
+ /**
25262
+ *
25263
+ * @summary Update faq.
25264
+ * @param {string} faqId
25265
+ * @param {UpdateFaqCommand} [updateFaqCommand]
25266
+ * @param {*} [options] Override http request option.
25267
+ * @throws {RequiredError}
25268
+ */
25269
+ async apiV1FaqsFaqIdPut(faqId: string, updateFaqCommand?: UpdateFaqCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqModel>> {
25270
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdPut(faqId, updateFaqCommand, options);
25271
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25272
+ },
25273
+ /**
25274
+ *
25275
+ * @summary Get all Faqs.
25276
+ * @param {string} [id]
25277
+ * @param {string} [title]
25278
+ * @param {string} [content]
25279
+ * @param {string} [categoryId]
25280
+ * @param {string} [languageCode]
25281
+ * @param {number} [page]
25282
+ * @param {number} [limit]
25283
+ * @param {Date} [lastRetrieved]
25284
+ * @param {*} [options] Override http request option.
25285
+ * @throws {RequiredError}
25286
+ */
25287
+ 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>> {
25288
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsGet(id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options);
25289
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25290
+ },
25291
+ /**
25292
+ *
25293
+ * @summary Create a faq.
25294
+ * @param {CreateFaqCommand} [createFaqCommand]
25295
+ * @param {*} [options] Override http request option.
25296
+ * @throws {RequiredError}
25297
+ */
25298
+ async apiV1FaqsPost(createFaqCommand?: CreateFaqCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqModel>> {
25299
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsPost(createFaqCommand, options);
25300
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25301
+ },
25302
+ /**
25303
+ *
25304
+ * @summary Get faq by slug.
25305
+ * @param {string} slug
25306
+ * @param {string} [languageCode]
25307
+ * @param {*} [options] Override http request option.
25308
+ * @throws {RequiredError}
25309
+ */
25310
+ async apiV1FaqsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqModel>> {
25311
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsSlugGet(slug, languageCode, options);
25312
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25313
+ },
25314
+ }
25315
+ };
25316
+
25317
+ /**
25318
+ * FaqsApi - factory interface
25319
+ * @export
25320
+ */
25321
+ export const FaqsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
25322
+ const localVarFp = FaqsApiFp(configuration)
25323
+ return {
25324
+ /**
25325
+ *
25326
+ * @summary Delete faq.
25327
+ * @param {string} faqId
25328
+ * @param {*} [options] Override http request option.
25329
+ * @throws {RequiredError}
25330
+ */
25331
+ apiV1FaqsFaqIdDelete(faqId: string, options?: any): AxiosPromise<boolean> {
25332
+ return localVarFp.apiV1FaqsFaqIdDelete(faqId, options).then((request) => request(axios, basePath));
25333
+ },
25334
+ /**
25335
+ *
25336
+ * @summary Get faq.
25337
+ * @param {string} faqId
25338
+ * @param {string} [languageCode]
25339
+ * @param {*} [options] Override http request option.
25340
+ * @throws {RequiredError}
25341
+ */
25342
+ apiV1FaqsFaqIdGet(faqId: string, languageCode?: string, options?: any): AxiosPromise<FaqModel> {
25343
+ return localVarFp.apiV1FaqsFaqIdGet(faqId, languageCode, options).then((request) => request(axios, basePath));
25344
+ },
25345
+ /**
25346
+ *
25347
+ * @summary Get all FaqMedias.
25348
+ * @param {string} faqId
25349
+ * @param {string} [id]
25350
+ * @param {MediaType} [mediaType]
25351
+ * @param {number} [page]
25352
+ * @param {number} [limit]
25353
+ * @param {Date} [lastRetrieved]
25354
+ * @param {*} [options] Override http request option.
25355
+ * @throws {RequiredError}
25356
+ */
25357
+ apiV1FaqsFaqIdMediasGet(faqId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
25358
+ return localVarFp.apiV1FaqsFaqIdMediasGet(faqId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
25359
+ },
25360
+ /**
25361
+ *
25362
+ * @summary Delete FaqMedia
25363
+ * @param {string} faqId
25364
+ * @param {string} mediaId
25365
+ * @param {*} [options] Override http request option.
25366
+ * @throws {RequiredError}
25367
+ */
25368
+ apiV1FaqsFaqIdMediasMediaIdDelete(faqId: string, mediaId: string, options?: any): AxiosPromise<boolean> {
25369
+ return localVarFp.apiV1FaqsFaqIdMediasMediaIdDelete(faqId, mediaId, options).then((request) => request(axios, basePath));
25370
+ },
25371
+ /**
25372
+ *
25373
+ * @summary Get FaqMedia.
25374
+ * @param {string} faqId
25375
+ * @param {string} mediaId
25376
+ * @param {*} [options] Override http request option.
25377
+ * @throws {RequiredError}
25378
+ */
25379
+ apiV1FaqsFaqIdMediasMediaIdGet(faqId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
25380
+ return localVarFp.apiV1FaqsFaqIdMediasMediaIdGet(faqId, mediaId, options).then((request) => request(axios, basePath));
25381
+ },
25382
+ /**
25383
+ *
25384
+ * @summary Update FaqMedia.
25385
+ * @param {string} faqId
25386
+ * @param {string} mediaId
25387
+ * @param {UpdateMediaCommand} [updateMediaCommand]
25388
+ * @param {*} [options] Override http request option.
25389
+ * @throws {RequiredError}
25390
+ */
25391
+ apiV1FaqsFaqIdMediasMediaIdPut(faqId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: any): AxiosPromise<MediaModel> {
25392
+ return localVarFp.apiV1FaqsFaqIdMediasMediaIdPut(faqId, mediaId, updateMediaCommand, options).then((request) => request(axios, basePath));
25393
+ },
25394
+ /**
25395
+ *
25396
+ * @summary Create FaqMedia.
25397
+ * @param {string} faqId
25398
+ * @param {CreateMediaCommand} [createMediaCommand]
25399
+ * @param {*} [options] Override http request option.
25400
+ * @throws {RequiredError}
25401
+ */
25402
+ apiV1FaqsFaqIdMediasPost(faqId: string, createMediaCommand?: CreateMediaCommand, options?: any): AxiosPromise<MediaModel> {
25403
+ return localVarFp.apiV1FaqsFaqIdMediasPost(faqId, createMediaCommand, options).then((request) => request(axios, basePath));
25404
+ },
25405
+ /**
25406
+ *
25407
+ * @summary Update faq.
25408
+ * @param {string} faqId
25409
+ * @param {UpdateFaqCommand} [updateFaqCommand]
25410
+ * @param {*} [options] Override http request option.
25411
+ * @throws {RequiredError}
25412
+ */
25413
+ apiV1FaqsFaqIdPut(faqId: string, updateFaqCommand?: UpdateFaqCommand, options?: any): AxiosPromise<FaqModel> {
25414
+ return localVarFp.apiV1FaqsFaqIdPut(faqId, updateFaqCommand, options).then((request) => request(axios, basePath));
25415
+ },
25416
+ /**
25417
+ *
25418
+ * @summary Get all Faqs.
25419
+ * @param {string} [id]
25420
+ * @param {string} [title]
25421
+ * @param {string} [content]
25422
+ * @param {string} [categoryId]
25423
+ * @param {string} [languageCode]
25424
+ * @param {number} [page]
25425
+ * @param {number} [limit]
25426
+ * @param {Date} [lastRetrieved]
25427
+ * @param {*} [options] Override http request option.
25428
+ * @throws {RequiredError}
25429
+ */
25430
+ apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<FaqsModel> {
25431
+ return localVarFp.apiV1FaqsGet(id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
25432
+ },
25433
+ /**
25434
+ *
25435
+ * @summary Create a faq.
25436
+ * @param {CreateFaqCommand} [createFaqCommand]
25437
+ * @param {*} [options] Override http request option.
25438
+ * @throws {RequiredError}
25439
+ */
25440
+ apiV1FaqsPost(createFaqCommand?: CreateFaqCommand, options?: any): AxiosPromise<FaqModel> {
25441
+ return localVarFp.apiV1FaqsPost(createFaqCommand, options).then((request) => request(axios, basePath));
25442
+ },
25443
+ /**
25444
+ *
25445
+ * @summary Get faq by slug.
25446
+ * @param {string} slug
25447
+ * @param {string} [languageCode]
25448
+ * @param {*} [options] Override http request option.
25449
+ * @throws {RequiredError}
25450
+ */
25451
+ apiV1FaqsSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<FaqModel> {
25452
+ return localVarFp.apiV1FaqsSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
25453
+ },
25454
+ };
25455
+ };
25456
+
25457
+ /**
25458
+ * FaqsApi - object-oriented interface
25459
+ * @export
25460
+ * @class FaqsApi
25461
+ * @extends {BaseAPI}
25462
+ */
25463
+ export class FaqsApi extends BaseAPI {
25464
+ /**
25465
+ *
25466
+ * @summary Delete faq.
25467
+ * @param {string} faqId
25468
+ * @param {*} [options] Override http request option.
25469
+ * @throws {RequiredError}
25470
+ * @memberof FaqsApi
25471
+ */
25472
+ public apiV1FaqsFaqIdDelete(faqId: string, options?: AxiosRequestConfig) {
25473
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdDelete(faqId, options).then((request) => request(this.axios, this.basePath));
25474
+ }
25475
+
25476
+ /**
25477
+ *
25478
+ * @summary Get faq.
25479
+ * @param {string} faqId
25480
+ * @param {string} [languageCode]
25481
+ * @param {*} [options] Override http request option.
25482
+ * @throws {RequiredError}
25483
+ * @memberof FaqsApi
25484
+ */
25485
+ public apiV1FaqsFaqIdGet(faqId: string, languageCode?: string, options?: AxiosRequestConfig) {
25486
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdGet(faqId, languageCode, options).then((request) => request(this.axios, this.basePath));
25487
+ }
25488
+
25489
+ /**
25490
+ *
25491
+ * @summary Get all FaqMedias.
25492
+ * @param {string} faqId
25493
+ * @param {string} [id]
25494
+ * @param {MediaType} [mediaType]
25495
+ * @param {number} [page]
25496
+ * @param {number} [limit]
25497
+ * @param {Date} [lastRetrieved]
25498
+ * @param {*} [options] Override http request option.
25499
+ * @throws {RequiredError}
25500
+ * @memberof FaqsApi
25501
+ */
25502
+ public apiV1FaqsFaqIdMediasGet(faqId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
25503
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdMediasGet(faqId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
25504
+ }
25505
+
25506
+ /**
25507
+ *
25508
+ * @summary Delete FaqMedia
25509
+ * @param {string} faqId
25510
+ * @param {string} mediaId
25511
+ * @param {*} [options] Override http request option.
25512
+ * @throws {RequiredError}
25513
+ * @memberof FaqsApi
25514
+ */
25515
+ public apiV1FaqsFaqIdMediasMediaIdDelete(faqId: string, mediaId: string, options?: AxiosRequestConfig) {
25516
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdMediasMediaIdDelete(faqId, mediaId, options).then((request) => request(this.axios, this.basePath));
25517
+ }
25518
+
25519
+ /**
25520
+ *
25521
+ * @summary Get FaqMedia.
25522
+ * @param {string} faqId
25523
+ * @param {string} mediaId
25524
+ * @param {*} [options] Override http request option.
25525
+ * @throws {RequiredError}
25526
+ * @memberof FaqsApi
25527
+ */
25528
+ public apiV1FaqsFaqIdMediasMediaIdGet(faqId: string, mediaId: string, options?: AxiosRequestConfig) {
25529
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdMediasMediaIdGet(faqId, mediaId, options).then((request) => request(this.axios, this.basePath));
25530
+ }
25531
+
25532
+ /**
25533
+ *
25534
+ * @summary Update FaqMedia.
25535
+ * @param {string} faqId
25536
+ * @param {string} mediaId
25537
+ * @param {UpdateMediaCommand} [updateMediaCommand]
25538
+ * @param {*} [options] Override http request option.
25539
+ * @throws {RequiredError}
25540
+ * @memberof FaqsApi
25541
+ */
25542
+ public apiV1FaqsFaqIdMediasMediaIdPut(faqId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig) {
25543
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdMediasMediaIdPut(faqId, mediaId, updateMediaCommand, options).then((request) => request(this.axios, this.basePath));
25544
+ }
25545
+
25546
+ /**
25547
+ *
25548
+ * @summary Create FaqMedia.
25549
+ * @param {string} faqId
25550
+ * @param {CreateMediaCommand} [createMediaCommand]
25551
+ * @param {*} [options] Override http request option.
25552
+ * @throws {RequiredError}
25553
+ * @memberof FaqsApi
25554
+ */
25555
+ public apiV1FaqsFaqIdMediasPost(faqId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig) {
25556
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdMediasPost(faqId, createMediaCommand, options).then((request) => request(this.axios, this.basePath));
25557
+ }
25558
+
25559
+ /**
25560
+ *
25561
+ * @summary Update faq.
25562
+ * @param {string} faqId
25563
+ * @param {UpdateFaqCommand} [updateFaqCommand]
25564
+ * @param {*} [options] Override http request option.
25565
+ * @throws {RequiredError}
25566
+ * @memberof FaqsApi
25567
+ */
25568
+ public apiV1FaqsFaqIdPut(faqId: string, updateFaqCommand?: UpdateFaqCommand, options?: AxiosRequestConfig) {
25569
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdPut(faqId, updateFaqCommand, options).then((request) => request(this.axios, this.basePath));
25570
+ }
25571
+
25572
+ /**
25573
+ *
25574
+ * @summary Get all Faqs.
25575
+ * @param {string} [id]
25576
+ * @param {string} [title]
25577
+ * @param {string} [content]
25578
+ * @param {string} [categoryId]
25579
+ * @param {string} [languageCode]
25580
+ * @param {number} [page]
25581
+ * @param {number} [limit]
25582
+ * @param {Date} [lastRetrieved]
25583
+ * @param {*} [options] Override http request option.
25584
+ * @throws {RequiredError}
25585
+ * @memberof FaqsApi
25586
+ */
25587
+ public apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
25588
+ return FaqsApiFp(this.configuration).apiV1FaqsGet(id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
25589
+ }
25590
+
25591
+ /**
25592
+ *
25593
+ * @summary Create a faq.
25594
+ * @param {CreateFaqCommand} [createFaqCommand]
25595
+ * @param {*} [options] Override http request option.
25596
+ * @throws {RequiredError}
25597
+ * @memberof FaqsApi
25598
+ */
25599
+ public apiV1FaqsPost(createFaqCommand?: CreateFaqCommand, options?: AxiosRequestConfig) {
25600
+ return FaqsApiFp(this.configuration).apiV1FaqsPost(createFaqCommand, options).then((request) => request(this.axios, this.basePath));
25601
+ }
25602
+
25603
+ /**
25604
+ *
25605
+ * @summary Get faq by slug.
25606
+ * @param {string} slug
25607
+ * @param {string} [languageCode]
25608
+ * @param {*} [options] Override http request option.
25609
+ * @throws {RequiredError}
25610
+ * @memberof FaqsApi
25611
+ */
25612
+ public apiV1FaqsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
25613
+ return FaqsApiFp(this.configuration).apiV1FaqsSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
25614
+ }
25615
+ }
25616
+
25617
+
22723
25618
  /**
22724
25619
  * HospitalsApi - axios parameter creator
22725
25620
  * @export