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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/api.ts CHANGED
@@ -3547,6 +3547,68 @@ export interface CreateDoctorSpecialtyCommand {
3547
3547
  */
3548
3548
  'order'?: number;
3549
3549
  }
3550
+ /**
3551
+ *
3552
+ * @export
3553
+ * @interface CreateFaqCategoryCommand
3554
+ */
3555
+ export interface CreateFaqCategoryCommand {
3556
+ /**
3557
+ *
3558
+ * @type {string}
3559
+ * @memberof CreateFaqCategoryCommand
3560
+ */
3561
+ 'parentId'?: string | null;
3562
+ /**
3563
+ *
3564
+ * @type {string}
3565
+ * @memberof CreateFaqCategoryCommand
3566
+ */
3567
+ 'name'?: string | null;
3568
+ /**
3569
+ *
3570
+ * @type {string}
3571
+ * @memberof CreateFaqCategoryCommand
3572
+ */
3573
+ 'description'?: string | null;
3574
+ /**
3575
+ *
3576
+ * @type {number}
3577
+ * @memberof CreateFaqCategoryCommand
3578
+ */
3579
+ 'order'?: number;
3580
+ }
3581
+ /**
3582
+ *
3583
+ * @export
3584
+ * @interface CreateFaqCommand
3585
+ */
3586
+ export interface CreateFaqCommand {
3587
+ /**
3588
+ *
3589
+ * @type {string}
3590
+ * @memberof CreateFaqCommand
3591
+ */
3592
+ 'title'?: string | null;
3593
+ /**
3594
+ *
3595
+ * @type {string}
3596
+ * @memberof CreateFaqCommand
3597
+ */
3598
+ 'content'?: string | null;
3599
+ /**
3600
+ *
3601
+ * @type {number}
3602
+ * @memberof CreateFaqCommand
3603
+ */
3604
+ 'order'?: number;
3605
+ /**
3606
+ *
3607
+ * @type {string}
3608
+ * @memberof CreateFaqCommand
3609
+ */
3610
+ 'faqCategoryId'?: string | null;
3611
+ }
3550
3612
  /**
3551
3613
  *
3552
3614
  * @export
@@ -4733,13 +4795,13 @@ export interface DoctorCertificateItemModel {
4733
4795
  * @type {string}
4734
4796
  * @memberof DoctorCertificateItemModel
4735
4797
  */
4736
- 'doctorId'?: string;
4798
+ 'id'?: string;
4737
4799
  /**
4738
4800
  *
4739
4801
  * @type {string}
4740
4802
  * @memberof DoctorCertificateItemModel
4741
4803
  */
4742
- 'id'?: string;
4804
+ 'doctorId'?: string;
4743
4805
  /**
4744
4806
  *
4745
4807
  * @type {string}
@@ -4776,13 +4838,13 @@ export interface DoctorCertificateModel {
4776
4838
  * @type {string}
4777
4839
  * @memberof DoctorCertificateModel
4778
4840
  */
4779
- 'doctorId'?: string;
4841
+ 'id'?: string;
4780
4842
  /**
4781
4843
  *
4782
4844
  * @type {string}
4783
4845
  * @memberof DoctorCertificateModel
4784
4846
  */
4785
- 'id'?: string;
4847
+ 'doctorId'?: string;
4786
4848
  /**
4787
4849
  *
4788
4850
  * @type {string}
@@ -5046,6 +5108,24 @@ export interface DoctorItemModel {
5046
5108
  * @memberof DoctorItemModel
5047
5109
  */
5048
5110
  'auditableEntity'?: AuditableEntity;
5111
+ /**
5112
+ *
5113
+ * @type {string}
5114
+ * @memberof DoctorItemModel
5115
+ */
5116
+ 'userType'?: string | null;
5117
+ /**
5118
+ *
5119
+ * @type {Array<UserLanguageModel>}
5120
+ * @memberof DoctorItemModel
5121
+ */
5122
+ 'languages'?: Array<UserLanguageModel> | null;
5123
+ /**
5124
+ *
5125
+ * @type {Array<UserLocationModel>}
5126
+ * @memberof DoctorItemModel
5127
+ */
5128
+ 'locations'?: Array<UserLocationModel> | null;
5049
5129
  /**
5050
5130
  *
5051
5131
  * @type {string}
@@ -5064,12 +5144,30 @@ export interface DoctorItemModel {
5064
5144
  * @memberof DoctorItemModel
5065
5145
  */
5066
5146
  'hospitalName'?: string | null;
5147
+ /**
5148
+ *
5149
+ * @type {Date}
5150
+ * @memberof DoctorItemModel
5151
+ */
5152
+ 'startPracticeDate'?: Date | null;
5067
5153
  /**
5068
5154
  *
5069
5155
  * @type {string}
5070
5156
  * @memberof DoctorItemModel
5071
5157
  */
5072
5158
  'overview'?: string | null;
5159
+ /**
5160
+ *
5161
+ * @type {boolean}
5162
+ * @memberof DoctorItemModel
5163
+ */
5164
+ 'consultationEnabled'?: boolean | null;
5165
+ /**
5166
+ *
5167
+ * @type {number}
5168
+ * @memberof DoctorItemModel
5169
+ */
5170
+ 'consultationFee'?: number | null;
5073
5171
  /**
5074
5172
  *
5075
5173
  * @type {boolean}
@@ -5193,16 +5291,40 @@ export interface DoctorModel {
5193
5291
  'slug'?: string | null;
5194
5292
  /**
5195
5293
  *
5196
- * @type {number}
5294
+ * @type {string}
5197
5295
  * @memberof DoctorModel
5198
5296
  */
5199
- 'affiliationsCount'?: number;
5297
+ 'hospitalId'?: string | null;
5298
+ /**
5299
+ *
5300
+ * @type {string}
5301
+ * @memberof DoctorModel
5302
+ */
5303
+ 'hospitalName'?: string | null;
5304
+ /**
5305
+ *
5306
+ * @type {Date}
5307
+ * @memberof DoctorModel
5308
+ */
5309
+ 'startPracticeDate'?: Date | null;
5200
5310
  /**
5201
5311
  *
5202
5312
  * @type {string}
5203
5313
  * @memberof DoctorModel
5204
5314
  */
5205
5315
  'overview'?: string | null;
5316
+ /**
5317
+ *
5318
+ * @type {boolean}
5319
+ * @memberof DoctorModel
5320
+ */
5321
+ 'consultationEnabled'?: boolean | null;
5322
+ /**
5323
+ *
5324
+ * @type {number}
5325
+ * @memberof DoctorModel
5326
+ */
5327
+ 'consultationFee'?: number | null;
5206
5328
  /**
5207
5329
  *
5208
5330
  * @type {boolean}
@@ -5423,450 +5545,781 @@ export interface DoctorsModel {
5423
5545
  /**
5424
5546
  *
5425
5547
  * @export
5426
- * @enum {string}
5548
+ * @interface FaqCategoriesModel
5427
5549
  */
5428
-
5429
- export enum Gender {
5430
- NotSpecified = 'NotSpecified',
5431
- Male = 'Male',
5432
- Female = 'Female',
5433
- NonBinary = 'NonBinary',
5434
- PreferNotToSay = 'PreferNotToSay'
5550
+ export interface FaqCategoriesModel {
5551
+ /**
5552
+ *
5553
+ * @type {Array<FaqCategoryItemModel>}
5554
+ * @memberof FaqCategoriesModel
5555
+ */
5556
+ 'items'?: Array<FaqCategoryItemModel> | null;
5557
+ /**
5558
+ *
5559
+ * @type {PagedListMetaData}
5560
+ * @memberof FaqCategoriesModel
5561
+ */
5562
+ 'metaData'?: PagedListMetaData;
5435
5563
  }
5436
-
5437
5564
  /**
5438
5565
  *
5439
5566
  * @export
5440
- * @interface HospitalAccreditationItemModel
5567
+ * @interface FaqCategoryBreadCrumbModel
5441
5568
  */
5442
- export interface HospitalAccreditationItemModel {
5569
+ export interface FaqCategoryBreadCrumbModel {
5443
5570
  /**
5444
5571
  *
5445
5572
  * @type {string}
5446
- * @memberof HospitalAccreditationItemModel
5573
+ * @memberof FaqCategoryBreadCrumbModel
5447
5574
  */
5448
- 'hospitalId'?: string;
5575
+ 'id'?: string;
5449
5576
  /**
5450
5577
  *
5451
5578
  * @type {string}
5452
- * @memberof HospitalAccreditationItemModel
5579
+ * @memberof FaqCategoryBreadCrumbModel
5453
5580
  */
5454
- 'accreditationId'?: string;
5581
+ 'name'?: string | null;
5455
5582
  /**
5456
5583
  *
5457
5584
  * @type {string}
5458
- * @memberof HospitalAccreditationItemModel
5585
+ * @memberof FaqCategoryBreadCrumbModel
5459
5586
  */
5460
- 'accreditationName'?: string | null;
5587
+ 'slug'?: string | null;
5461
5588
  /**
5462
5589
  *
5463
5590
  * @type {string}
5464
- * @memberof HospitalAccreditationItemModel
5591
+ * @memberof FaqCategoryBreadCrumbModel
5465
5592
  */
5466
- 'accreditationLogo'?: string | null;
5593
+ 'parentId'?: string | null;
5594
+ /**
5595
+ *
5596
+ * @type {boolean}
5597
+ * @memberof FaqCategoryBreadCrumbModel
5598
+ */
5599
+ 'confirmed'?: boolean;
5467
5600
  }
5468
5601
  /**
5469
5602
  *
5470
5603
  * @export
5471
- * @interface HospitalAccreditationModel
5604
+ * @interface FaqCategoryItemModel
5472
5605
  */
5473
- export interface HospitalAccreditationModel {
5606
+ export interface FaqCategoryItemModel {
5474
5607
  /**
5475
5608
  *
5476
5609
  * @type {string}
5477
- * @memberof HospitalAccreditationModel
5610
+ * @memberof FaqCategoryItemModel
5478
5611
  */
5479
- 'hospitalId'?: string;
5612
+ 'id'?: string;
5480
5613
  /**
5481
5614
  *
5482
5615
  * @type {string}
5483
- * @memberof HospitalAccreditationModel
5616
+ * @memberof FaqCategoryItemModel
5484
5617
  */
5485
- 'accreditationId'?: string;
5618
+ 'parentId'?: string | null;
5486
5619
  /**
5487
5620
  *
5488
5621
  * @type {string}
5489
- * @memberof HospitalAccreditationModel
5622
+ * @memberof FaqCategoryItemModel
5490
5623
  */
5491
- 'accreditationName'?: string | null;
5624
+ 'name'?: string | null;
5492
5625
  /**
5493
5626
  *
5494
5627
  * @type {string}
5495
- * @memberof HospitalAccreditationModel
5628
+ * @memberof FaqCategoryItemModel
5496
5629
  */
5497
- 'accreditationLogo'?: string | null;
5498
- }
5499
- /**
5500
- *
5501
- * @export
5502
- * @interface HospitalAccreditationsModel
5503
- */
5504
- export interface HospitalAccreditationsModel {
5630
+ 'slug'?: string | null;
5505
5631
  /**
5506
5632
  *
5507
- * @type {Array<HospitalAccreditationItemModel>}
5508
- * @memberof HospitalAccreditationsModel
5633
+ * @type {string}
5634
+ * @memberof FaqCategoryItemModel
5509
5635
  */
5510
- 'items'?: Array<HospitalAccreditationItemModel> | null;
5636
+ 'description'?: string | null;
5511
5637
  /**
5512
5638
  *
5513
- * @type {PagedListMetaData}
5514
- * @memberof HospitalAccreditationsModel
5639
+ * @type {number}
5640
+ * @memberof FaqCategoryItemModel
5515
5641
  */
5516
- 'metaData'?: PagedListMetaData;
5642
+ 'order'?: number;
5643
+ /**
5644
+ *
5645
+ * @type {Array<FaqItemModel>}
5646
+ * @memberof FaqCategoryItemModel
5647
+ */
5648
+ 'faqs'?: Array<FaqItemModel> | null;
5649
+ /**
5650
+ *
5651
+ * @type {Array<LocalizedUrlModel>}
5652
+ * @memberof FaqCategoryItemModel
5653
+ */
5654
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
5655
+ /**
5656
+ *
5657
+ * @type {boolean}
5658
+ * @memberof FaqCategoryItemModel
5659
+ */
5660
+ 'confirmed'?: boolean;
5517
5661
  }
5518
5662
  /**
5519
5663
  *
5520
5664
  * @export
5521
- * @interface HospitalEquipmentItemModel
5665
+ * @interface FaqCategoryModel
5522
5666
  */
5523
- export interface HospitalEquipmentItemModel {
5667
+ export interface FaqCategoryModel {
5524
5668
  /**
5525
5669
  *
5526
5670
  * @type {string}
5527
- * @memberof HospitalEquipmentItemModel
5671
+ * @memberof FaqCategoryModel
5528
5672
  */
5529
5673
  'id'?: string;
5530
5674
  /**
5531
5675
  *
5532
5676
  * @type {string}
5533
- * @memberof HospitalEquipmentItemModel
5677
+ * @memberof FaqCategoryModel
5534
5678
  */
5535
- 'name'?: string | null;
5679
+ 'parentId'?: string | null;
5536
5680
  /**
5537
5681
  *
5538
5682
  * @type {string}
5539
- * @memberof HospitalEquipmentItemModel
5683
+ * @memberof FaqCategoryModel
5540
5684
  */
5541
- 'description'?: string | null;
5685
+ 'name'?: string | null;
5542
5686
  /**
5543
5687
  *
5544
5688
  * @type {string}
5545
- * @memberof HospitalEquipmentItemModel
5689
+ * @memberof FaqCategoryModel
5546
5690
  */
5547
- 'hospitalId'?: string;
5691
+ 'slug'?: string | null;
5548
5692
  /**
5549
5693
  *
5550
5694
  * @type {string}
5551
- * @memberof HospitalEquipmentItemModel
5695
+ * @memberof FaqCategoryModel
5552
5696
  */
5553
- 'hospitalName'?: string | null;
5697
+ 'description'?: string | null;
5554
5698
  /**
5555
5699
  *
5556
- * @type {Array<MediaModel>}
5557
- * @memberof HospitalEquipmentItemModel
5700
+ * @type {number}
5701
+ * @memberof FaqCategoryModel
5558
5702
  */
5559
- 'medias'?: Array<MediaModel> | null;
5703
+ 'order'?: number;
5560
5704
  /**
5561
5705
  *
5562
- * @type {AuditableEntity}
5563
- * @memberof HospitalEquipmentItemModel
5706
+ * @type {Array<FaqItemModel>}
5707
+ * @memberof FaqCategoryModel
5564
5708
  */
5565
- 'auditableEntity'?: AuditableEntity;
5709
+ 'faqs'?: Array<FaqItemModel> | null;
5710
+ /**
5711
+ *
5712
+ * @type {Array<LocalizedUrlModel>}
5713
+ * @memberof FaqCategoryModel
5714
+ */
5715
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
5716
+ /**
5717
+ *
5718
+ * @type {boolean}
5719
+ * @memberof FaqCategoryModel
5720
+ */
5721
+ 'confirmed'?: boolean;
5722
+ /**
5723
+ *
5724
+ * @type {string}
5725
+ * @memberof FaqCategoryModel
5726
+ */
5727
+ 'languageCode'?: string | null;
5566
5728
  }
5567
5729
  /**
5568
5730
  *
5569
5731
  * @export
5570
- * @interface HospitalEquipmentModel
5732
+ * @interface FaqItemModel
5571
5733
  */
5572
- export interface HospitalEquipmentModel {
5734
+ export interface FaqItemModel {
5573
5735
  /**
5574
5736
  *
5575
5737
  * @type {string}
5576
- * @memberof HospitalEquipmentModel
5738
+ * @memberof FaqItemModel
5577
5739
  */
5578
5740
  'id'?: string;
5579
5741
  /**
5580
5742
  *
5581
5743
  * @type {string}
5582
- * @memberof HospitalEquipmentModel
5744
+ * @memberof FaqItemModel
5583
5745
  */
5584
- 'name'?: string | null;
5746
+ 'title'?: string | null;
5585
5747
  /**
5586
5748
  *
5587
5749
  * @type {string}
5588
- * @memberof HospitalEquipmentModel
5750
+ * @memberof FaqItemModel
5589
5751
  */
5590
- 'description'?: string | null;
5752
+ 'slug'?: string | null;
5591
5753
  /**
5592
5754
  *
5593
5755
  * @type {string}
5594
- * @memberof HospitalEquipmentModel
5756
+ * @memberof FaqItemModel
5595
5757
  */
5596
- 'hospitalId'?: string;
5758
+ 'content'?: string | null;
5597
5759
  /**
5598
5760
  *
5599
- * @type {string}
5600
- * @memberof HospitalEquipmentModel
5761
+ * @type {number}
5762
+ * @memberof FaqItemModel
5601
5763
  */
5602
- 'hospitalName'?: string | null;
5764
+ 'order'?: number;
5603
5765
  /**
5604
5766
  *
5605
5767
  * @type {Array<MediaModel>}
5606
- * @memberof HospitalEquipmentModel
5768
+ * @memberof FaqItemModel
5607
5769
  */
5608
5770
  'medias'?: Array<MediaModel> | null;
5609
5771
  /**
5610
5772
  *
5611
5773
  * @type {AuditableEntity}
5612
- * @memberof HospitalEquipmentModel
5774
+ * @memberof FaqItemModel
5613
5775
  */
5614
5776
  'auditableEntity'?: AuditableEntity;
5615
- }
5616
- /**
5617
- *
5618
- * @export
5619
- * @interface HospitalEquipmentsModel
5620
- */
5621
- export interface HospitalEquipmentsModel {
5622
5777
  /**
5623
5778
  *
5624
- * @type {Array<HospitalEquipmentItemModel>}
5625
- * @memberof HospitalEquipmentsModel
5779
+ * @type {Array<LocalizedUrlModel>}
5780
+ * @memberof FaqItemModel
5626
5781
  */
5627
- 'items'?: Array<HospitalEquipmentItemModel> | null;
5782
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
5628
5783
  /**
5629
5784
  *
5630
- * @type {PagedListMetaData}
5631
- * @memberof HospitalEquipmentsModel
5785
+ * @type {boolean}
5786
+ * @memberof FaqItemModel
5632
5787
  */
5633
- 'metaData'?: PagedListMetaData;
5788
+ 'confirmed'?: boolean;
5634
5789
  }
5635
5790
  /**
5636
5791
  *
5637
5792
  * @export
5638
- * @interface HospitalEvaluationItemModel
5793
+ * @interface FaqModel
5639
5794
  */
5640
- export interface HospitalEvaluationItemModel {
5795
+ export interface FaqModel {
5641
5796
  /**
5642
5797
  *
5643
5798
  * @type {string}
5644
- * @memberof HospitalEvaluationItemModel
5799
+ * @memberof FaqModel
5645
5800
  */
5646
5801
  'id'?: string;
5647
5802
  /**
5648
5803
  *
5649
5804
  * @type {string}
5650
- * @memberof HospitalEvaluationItemModel
5805
+ * @memberof FaqModel
5651
5806
  */
5652
- 'hospitalId'?: string;
5807
+ 'title'?: string | null;
5653
5808
  /**
5654
5809
  *
5655
5810
  * @type {string}
5656
- * @memberof HospitalEvaluationItemModel
5811
+ * @memberof FaqModel
5657
5812
  */
5658
- 'hospitalName'?: string | null;
5813
+ 'slug'?: string | null;
5659
5814
  /**
5660
5815
  *
5661
5816
  * @type {string}
5662
- * @memberof HospitalEvaluationItemModel
5817
+ * @memberof FaqModel
5663
5818
  */
5664
- 'name'?: string | null;
5819
+ 'content'?: string | null;
5665
5820
  /**
5666
5821
  *
5667
5822
  * @type {number}
5668
- * @memberof HospitalEvaluationItemModel
5823
+ * @memberof FaqModel
5669
5824
  */
5670
- 'stars'?: number;
5825
+ 'order'?: number;
5671
5826
  /**
5672
5827
  *
5673
- * @type {string}
5674
- * @memberof HospitalEvaluationItemModel
5828
+ * @type {Array<MediaModel>}
5829
+ * @memberof FaqModel
5675
5830
  */
5676
- 'description'?: string | null;
5831
+ 'medias'?: Array<MediaModel> | null;
5677
5832
  /**
5678
5833
  *
5679
- * @type {string}
5680
- * @memberof HospitalEvaluationItemModel
5834
+ * @type {AuditableEntity}
5835
+ * @memberof FaqModel
5681
5836
  */
5682
- 'referenceUrl'?: string | null;
5837
+ 'auditableEntity'?: AuditableEntity;
5838
+ /**
5839
+ *
5840
+ * @type {Array<LocalizedUrlModel>}
5841
+ * @memberof FaqModel
5842
+ */
5843
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
5844
+ /**
5845
+ *
5846
+ * @type {boolean}
5847
+ * @memberof FaqModel
5848
+ */
5849
+ 'confirmed'?: boolean;
5850
+ /**
5851
+ *
5852
+ * @type {Array<FaqCategoryBreadCrumbModel>}
5853
+ * @memberof FaqModel
5854
+ */
5855
+ 'categories'?: Array<FaqCategoryBreadCrumbModel> | null;
5683
5856
  }
5684
5857
  /**
5685
5858
  *
5686
5859
  * @export
5687
- * @interface HospitalEvaluationModel
5860
+ * @interface FaqsModel
5688
5861
  */
5689
- export interface HospitalEvaluationModel {
5862
+ export interface FaqsModel {
5690
5863
  /**
5691
5864
  *
5692
- * @type {string}
5693
- * @memberof HospitalEvaluationModel
5865
+ * @type {Array<FaqItemModel>}
5866
+ * @memberof FaqsModel
5694
5867
  */
5695
- 'id'?: string;
5868
+ 'items'?: Array<FaqItemModel> | null;
5869
+ /**
5870
+ *
5871
+ * @type {PagedListMetaData}
5872
+ * @memberof FaqsModel
5873
+ */
5874
+ 'metaData'?: PagedListMetaData;
5875
+ }
5876
+ /**
5877
+ *
5878
+ * @export
5879
+ * @enum {string}
5880
+ */
5881
+
5882
+ export enum Gender {
5883
+ NotSpecified = 'NotSpecified',
5884
+ Male = 'Male',
5885
+ Female = 'Female',
5886
+ NonBinary = 'NonBinary',
5887
+ PreferNotToSay = 'PreferNotToSay'
5888
+ }
5889
+
5890
+ /**
5891
+ *
5892
+ * @export
5893
+ * @interface HospitalAccreditationItemModel
5894
+ */
5895
+ export interface HospitalAccreditationItemModel {
5696
5896
  /**
5697
5897
  *
5698
5898
  * @type {string}
5699
- * @memberof HospitalEvaluationModel
5899
+ * @memberof HospitalAccreditationItemModel
5700
5900
  */
5701
5901
  'hospitalId'?: string;
5702
5902
  /**
5703
5903
  *
5704
5904
  * @type {string}
5705
- * @memberof HospitalEvaluationModel
5905
+ * @memberof HospitalAccreditationItemModel
5706
5906
  */
5707
- 'hospitalName'?: string | null;
5907
+ 'accreditationId'?: string;
5708
5908
  /**
5709
5909
  *
5710
5910
  * @type {string}
5711
- * @memberof HospitalEvaluationModel
5911
+ * @memberof HospitalAccreditationItemModel
5712
5912
  */
5713
- 'name'?: string | null;
5913
+ 'accreditationName'?: string | null;
5714
5914
  /**
5715
5915
  *
5716
- * @type {number}
5717
- * @memberof HospitalEvaluationModel
5916
+ * @type {string}
5917
+ * @memberof HospitalAccreditationItemModel
5718
5918
  */
5719
- 'stars'?: number;
5919
+ 'accreditationLogo'?: string | null;
5920
+ }
5921
+ /**
5922
+ *
5923
+ * @export
5924
+ * @interface HospitalAccreditationModel
5925
+ */
5926
+ export interface HospitalAccreditationModel {
5720
5927
  /**
5721
5928
  *
5722
5929
  * @type {string}
5723
- * @memberof HospitalEvaluationModel
5930
+ * @memberof HospitalAccreditationModel
5724
5931
  */
5725
- 'description'?: string | null;
5932
+ 'hospitalId'?: string;
5726
5933
  /**
5727
5934
  *
5728
5935
  * @type {string}
5729
- * @memberof HospitalEvaluationModel
5936
+ * @memberof HospitalAccreditationModel
5730
5937
  */
5731
- 'referenceUrl'?: string | null;
5938
+ 'accreditationId'?: string;
5939
+ /**
5940
+ *
5941
+ * @type {string}
5942
+ * @memberof HospitalAccreditationModel
5943
+ */
5944
+ 'accreditationName'?: string | null;
5945
+ /**
5946
+ *
5947
+ * @type {string}
5948
+ * @memberof HospitalAccreditationModel
5949
+ */
5950
+ 'accreditationLogo'?: string | null;
5732
5951
  }
5733
5952
  /**
5734
5953
  *
5735
5954
  * @export
5736
- * @interface HospitalEvaluationsModel
5955
+ * @interface HospitalAccreditationsModel
5737
5956
  */
5738
- export interface HospitalEvaluationsModel {
5957
+ export interface HospitalAccreditationsModel {
5739
5958
  /**
5740
5959
  *
5741
- * @type {Array<HospitalEvaluationItemModel>}
5742
- * @memberof HospitalEvaluationsModel
5960
+ * @type {Array<HospitalAccreditationItemModel>}
5961
+ * @memberof HospitalAccreditationsModel
5743
5962
  */
5744
- 'items'?: Array<HospitalEvaluationItemModel> | null;
5963
+ 'items'?: Array<HospitalAccreditationItemModel> | null;
5745
5964
  /**
5746
5965
  *
5747
5966
  * @type {PagedListMetaData}
5748
- * @memberof HospitalEvaluationsModel
5967
+ * @memberof HospitalAccreditationsModel
5749
5968
  */
5750
5969
  'metaData'?: PagedListMetaData;
5751
5970
  }
5752
5971
  /**
5753
5972
  *
5754
5973
  * @export
5755
- * @interface HospitalItemModel
5974
+ * @interface HospitalEquipmentItemModel
5756
5975
  */
5757
- export interface HospitalItemModel {
5976
+ export interface HospitalEquipmentItemModel {
5758
5977
  /**
5759
5978
  *
5760
5979
  * @type {string}
5761
- * @memberof HospitalItemModel
5980
+ * @memberof HospitalEquipmentItemModel
5762
5981
  */
5763
5982
  'id'?: string;
5764
5983
  /**
5765
5984
  *
5766
5985
  * @type {string}
5767
- * @memberof HospitalItemModel
5986
+ * @memberof HospitalEquipmentItemModel
5768
5987
  */
5769
5988
  'name'?: string | null;
5770
5989
  /**
5771
5990
  *
5772
5991
  * @type {string}
5773
- * @memberof HospitalItemModel
5992
+ * @memberof HospitalEquipmentItemModel
5774
5993
  */
5775
- 'slug'?: string | null;
5994
+ 'description'?: string | null;
5776
5995
  /**
5777
5996
  *
5778
5997
  * @type {string}
5779
- * @memberof HospitalItemModel
5998
+ * @memberof HospitalEquipmentItemModel
5780
5999
  */
5781
- 'description'?: string | null;
6000
+ 'hospitalId'?: string;
5782
6001
  /**
5783
6002
  *
5784
6003
  * @type {string}
5785
- * @memberof HospitalItemModel
6004
+ * @memberof HospitalEquipmentItemModel
5786
6005
  */
5787
- 'logo'?: string | null;
6006
+ 'hospitalName'?: string | null;
5788
6007
  /**
5789
6008
  *
5790
- * @type {string}
5791
- * @memberof HospitalItemModel
6009
+ * @type {Array<MediaModel>}
6010
+ * @memberof HospitalEquipmentItemModel
5792
6011
  */
5793
- 'overview'?: string | null;
6012
+ 'medias'?: Array<MediaModel> | null;
5794
6013
  /**
5795
6014
  *
5796
- * @type {number}
5797
- * @memberof HospitalItemModel
6015
+ * @type {AuditableEntity}
6016
+ * @memberof HospitalEquipmentItemModel
5798
6017
  */
5799
- 'bedsCount'?: number | null;
6018
+ 'auditableEntity'?: AuditableEntity;
6019
+ }
6020
+ /**
6021
+ *
6022
+ * @export
6023
+ * @interface HospitalEquipmentModel
6024
+ */
6025
+ export interface HospitalEquipmentModel {
5800
6026
  /**
5801
6027
  *
5802
- * @type {number}
5803
- * @memberof HospitalItemModel
6028
+ * @type {string}
6029
+ * @memberof HospitalEquipmentModel
5804
6030
  */
5805
- 'operationsPerYear'?: number | null;
6031
+ 'id'?: string;
5806
6032
  /**
5807
6033
  *
5808
- * @type {number}
5809
- * @memberof HospitalItemModel
6034
+ * @type {string}
6035
+ * @memberof HospitalEquipmentModel
5810
6036
  */
5811
- 'foundationYear'?: number | null;
6037
+ 'name'?: string | null;
5812
6038
  /**
5813
6039
  *
5814
- * @type {number}
5815
- * @memberof HospitalItemModel
6040
+ * @type {string}
6041
+ * @memberof HospitalEquipmentModel
5816
6042
  */
5817
- 'medicalStaffCount'?: number | null;
6043
+ 'description'?: string | null;
5818
6044
  /**
5819
6045
  *
5820
- * @type {number}
5821
- * @memberof HospitalItemModel
6046
+ * @type {string}
6047
+ * @memberof HospitalEquipmentModel
5822
6048
  */
5823
- 'doctorCount'?: number | null;
6049
+ 'hospitalId'?: string;
5824
6050
  /**
5825
6051
  *
5826
6052
  * @type {string}
5827
- * @memberof HospitalItemModel
6053
+ * @memberof HospitalEquipmentModel
5828
6054
  */
5829
- 'countryId'?: string;
6055
+ 'hospitalName'?: string | null;
5830
6056
  /**
5831
6057
  *
5832
- * @type {string}
5833
- * @memberof HospitalItemModel
6058
+ * @type {Array<MediaModel>}
6059
+ * @memberof HospitalEquipmentModel
5834
6060
  */
5835
- 'countryName'?: string | null;
6061
+ 'medias'?: Array<MediaModel> | null;
5836
6062
  /**
5837
6063
  *
5838
- * @type {MarketingType}
5839
- * @memberof HospitalItemModel
6064
+ * @type {AuditableEntity}
6065
+ * @memberof HospitalEquipmentModel
5840
6066
  */
5841
- 'marketingType'?: MarketingType;
6067
+ 'auditableEntity'?: AuditableEntity;
6068
+ }
6069
+ /**
6070
+ *
6071
+ * @export
6072
+ * @interface HospitalEquipmentsModel
6073
+ */
6074
+ export interface HospitalEquipmentsModel {
5842
6075
  /**
5843
6076
  *
5844
- * @type {boolean}
5845
- * @memberof HospitalItemModel
6077
+ * @type {Array<HospitalEquipmentItemModel>}
6078
+ * @memberof HospitalEquipmentsModel
5846
6079
  */
5847
- 'consultationEnabled'?: boolean | null;
6080
+ 'items'?: Array<HospitalEquipmentItemModel> | null;
5848
6081
  /**
5849
6082
  *
5850
- * @type {number}
5851
- * @memberof HospitalItemModel
6083
+ * @type {PagedListMetaData}
6084
+ * @memberof HospitalEquipmentsModel
5852
6085
  */
5853
- 'consultationFee'?: number | null;
6086
+ 'metaData'?: PagedListMetaData;
6087
+ }
6088
+ /**
6089
+ *
6090
+ * @export
6091
+ * @interface HospitalEvaluationItemModel
6092
+ */
6093
+ export interface HospitalEvaluationItemModel {
5854
6094
  /**
5855
6095
  *
5856
6096
  * @type {string}
5857
- * @memberof HospitalItemModel
6097
+ * @memberof HospitalEvaluationItemModel
5858
6098
  */
5859
- 'timeZone'?: string | null;
6099
+ 'id'?: string;
5860
6100
  /**
5861
6101
  *
5862
- * @type {number}
5863
- * @memberof HospitalItemModel
6102
+ * @type {string}
6103
+ * @memberof HospitalEvaluationItemModel
5864
6104
  */
5865
- 'articlesCount'?: number;
6105
+ 'hospitalId'?: string;
5866
6106
  /**
5867
6107
  *
5868
- * @type {number}
5869
- * @memberof HospitalItemModel
6108
+ * @type {string}
6109
+ * @memberof HospitalEvaluationItemModel
6110
+ */
6111
+ 'hospitalName'?: string | null;
6112
+ /**
6113
+ *
6114
+ * @type {string}
6115
+ * @memberof HospitalEvaluationItemModel
6116
+ */
6117
+ 'name'?: string | null;
6118
+ /**
6119
+ *
6120
+ * @type {number}
6121
+ * @memberof HospitalEvaluationItemModel
6122
+ */
6123
+ 'stars'?: number;
6124
+ /**
6125
+ *
6126
+ * @type {string}
6127
+ * @memberof HospitalEvaluationItemModel
6128
+ */
6129
+ 'description'?: string | null;
6130
+ /**
6131
+ *
6132
+ * @type {string}
6133
+ * @memberof HospitalEvaluationItemModel
6134
+ */
6135
+ 'referenceUrl'?: string | null;
6136
+ }
6137
+ /**
6138
+ *
6139
+ * @export
6140
+ * @interface HospitalEvaluationModel
6141
+ */
6142
+ export interface HospitalEvaluationModel {
6143
+ /**
6144
+ *
6145
+ * @type {string}
6146
+ * @memberof HospitalEvaluationModel
6147
+ */
6148
+ 'id'?: string;
6149
+ /**
6150
+ *
6151
+ * @type {string}
6152
+ * @memberof HospitalEvaluationModel
6153
+ */
6154
+ 'hospitalId'?: string;
6155
+ /**
6156
+ *
6157
+ * @type {string}
6158
+ * @memberof HospitalEvaluationModel
6159
+ */
6160
+ 'hospitalName'?: string | null;
6161
+ /**
6162
+ *
6163
+ * @type {string}
6164
+ * @memberof HospitalEvaluationModel
6165
+ */
6166
+ 'name'?: string | null;
6167
+ /**
6168
+ *
6169
+ * @type {number}
6170
+ * @memberof HospitalEvaluationModel
6171
+ */
6172
+ 'stars'?: number;
6173
+ /**
6174
+ *
6175
+ * @type {string}
6176
+ * @memberof HospitalEvaluationModel
6177
+ */
6178
+ 'description'?: string | null;
6179
+ /**
6180
+ *
6181
+ * @type {string}
6182
+ * @memberof HospitalEvaluationModel
6183
+ */
6184
+ 'referenceUrl'?: string | null;
6185
+ }
6186
+ /**
6187
+ *
6188
+ * @export
6189
+ * @interface HospitalEvaluationsModel
6190
+ */
6191
+ export interface HospitalEvaluationsModel {
6192
+ /**
6193
+ *
6194
+ * @type {Array<HospitalEvaluationItemModel>}
6195
+ * @memberof HospitalEvaluationsModel
6196
+ */
6197
+ 'items'?: Array<HospitalEvaluationItemModel> | null;
6198
+ /**
6199
+ *
6200
+ * @type {PagedListMetaData}
6201
+ * @memberof HospitalEvaluationsModel
6202
+ */
6203
+ 'metaData'?: PagedListMetaData;
6204
+ }
6205
+ /**
6206
+ *
6207
+ * @export
6208
+ * @interface HospitalItemModel
6209
+ */
6210
+ export interface HospitalItemModel {
6211
+ /**
6212
+ *
6213
+ * @type {string}
6214
+ * @memberof HospitalItemModel
6215
+ */
6216
+ 'id'?: string;
6217
+ /**
6218
+ *
6219
+ * @type {string}
6220
+ * @memberof HospitalItemModel
6221
+ */
6222
+ 'name'?: string | null;
6223
+ /**
6224
+ *
6225
+ * @type {string}
6226
+ * @memberof HospitalItemModel
6227
+ */
6228
+ 'slug'?: string | null;
6229
+ /**
6230
+ *
6231
+ * @type {string}
6232
+ * @memberof HospitalItemModel
6233
+ */
6234
+ 'description'?: string | null;
6235
+ /**
6236
+ *
6237
+ * @type {string}
6238
+ * @memberof HospitalItemModel
6239
+ */
6240
+ 'logo'?: string | null;
6241
+ /**
6242
+ *
6243
+ * @type {string}
6244
+ * @memberof HospitalItemModel
6245
+ */
6246
+ 'overview'?: string | null;
6247
+ /**
6248
+ *
6249
+ * @type {number}
6250
+ * @memberof HospitalItemModel
6251
+ */
6252
+ 'bedsCount'?: number | null;
6253
+ /**
6254
+ *
6255
+ * @type {number}
6256
+ * @memberof HospitalItemModel
6257
+ */
6258
+ 'operationsPerYear'?: number | null;
6259
+ /**
6260
+ *
6261
+ * @type {number}
6262
+ * @memberof HospitalItemModel
6263
+ */
6264
+ 'foundationYear'?: number | null;
6265
+ /**
6266
+ *
6267
+ * @type {number}
6268
+ * @memberof HospitalItemModel
6269
+ */
6270
+ 'medicalStaffCount'?: number | null;
6271
+ /**
6272
+ *
6273
+ * @type {number}
6274
+ * @memberof HospitalItemModel
6275
+ */
6276
+ 'doctorCount'?: number | null;
6277
+ /**
6278
+ *
6279
+ * @type {string}
6280
+ * @memberof HospitalItemModel
6281
+ */
6282
+ 'countryId'?: string;
6283
+ /**
6284
+ *
6285
+ * @type {string}
6286
+ * @memberof HospitalItemModel
6287
+ */
6288
+ 'countryName'?: string | null;
6289
+ /**
6290
+ *
6291
+ * @type {MarketingType}
6292
+ * @memberof HospitalItemModel
6293
+ */
6294
+ 'marketingType'?: MarketingType;
6295
+ /**
6296
+ *
6297
+ * @type {boolean}
6298
+ * @memberof HospitalItemModel
6299
+ */
6300
+ 'consultationEnabled'?: boolean | null;
6301
+ /**
6302
+ *
6303
+ * @type {number}
6304
+ * @memberof HospitalItemModel
6305
+ */
6306
+ 'consultationFee'?: number | null;
6307
+ /**
6308
+ *
6309
+ * @type {string}
6310
+ * @memberof HospitalItemModel
6311
+ */
6312
+ 'timeZone'?: string | null;
6313
+ /**
6314
+ *
6315
+ * @type {number}
6316
+ * @memberof HospitalItemModel
6317
+ */
6318
+ 'articlesCount'?: number;
6319
+ /**
6320
+ *
6321
+ * @type {number}
6322
+ * @memberof HospitalItemModel
5870
6323
  */
5871
6324
  'packagesCount'?: number;
5872
6325
  /**
@@ -7010,6 +7463,24 @@ export interface ManagerItemModel {
7010
7463
  * @memberof ManagerItemModel
7011
7464
  */
7012
7465
  'auditableEntity'?: AuditableEntity;
7466
+ /**
7467
+ *
7468
+ * @type {string}
7469
+ * @memberof ManagerItemModel
7470
+ */
7471
+ 'userType'?: string | null;
7472
+ /**
7473
+ *
7474
+ * @type {Array<UserLanguageModel>}
7475
+ * @memberof ManagerItemModel
7476
+ */
7477
+ 'languages'?: Array<UserLanguageModel> | null;
7478
+ /**
7479
+ *
7480
+ * @type {Array<UserLocationModel>}
7481
+ * @memberof ManagerItemModel
7482
+ */
7483
+ 'locations'?: Array<UserLocationModel> | null;
7013
7484
  /**
7014
7485
  *
7015
7486
  * @type {string}
@@ -7022,6 +7493,12 @@ export interface ManagerItemModel {
7022
7493
  * @memberof ManagerItemModel
7023
7494
  */
7024
7495
  'hospitalName'?: string | null;
7496
+ /**
7497
+ *
7498
+ * @type {number}
7499
+ * @memberof ManagerItemModel
7500
+ */
7501
+ 'affiliationsCount'?: number;
7025
7502
  }
7026
7503
  /**
7027
7504
  *
@@ -7131,6 +7608,18 @@ export interface ManagerModel {
7131
7608
  * @memberof ManagerModel
7132
7609
  */
7133
7610
  'locations'?: Array<UserLocationModel> | null;
7611
+ /**
7612
+ *
7613
+ * @type {string}
7614
+ * @memberof ManagerModel
7615
+ */
7616
+ 'hospitalId'?: string | null;
7617
+ /**
7618
+ *
7619
+ * @type {string}
7620
+ * @memberof ManagerModel
7621
+ */
7622
+ 'hospitalName'?: string | null;
7134
7623
  /**
7135
7624
  *
7136
7625
  * @type {number}
@@ -9600,15 +10089,113 @@ export interface UpdateDoctorSpecialtyCommand {
9600
10089
  /**
9601
10090
  *
9602
10091
  * @export
9603
- * @interface UpdateHospitalCommand
10092
+ * @interface UpdateFaqCategoryCommand
9604
10093
  */
9605
- export interface UpdateHospitalCommand {
10094
+ export interface UpdateFaqCategoryCommand {
9606
10095
  /**
9607
10096
  *
9608
10097
  * @type {string}
9609
- * @memberof UpdateHospitalCommand
10098
+ * @memberof UpdateFaqCategoryCommand
9610
10099
  */
9611
- 'languageCode'?: string | null;
10100
+ 'id'?: string | null;
10101
+ /**
10102
+ *
10103
+ * @type {string}
10104
+ * @memberof UpdateFaqCategoryCommand
10105
+ */
10106
+ 'name'?: string | null;
10107
+ /**
10108
+ *
10109
+ * @type {string}
10110
+ * @memberof UpdateFaqCategoryCommand
10111
+ */
10112
+ 'slug'?: string | null;
10113
+ /**
10114
+ *
10115
+ * @type {string}
10116
+ * @memberof UpdateFaqCategoryCommand
10117
+ */
10118
+ 'description'?: string | null;
10119
+ /**
10120
+ *
10121
+ * @type {number}
10122
+ * @memberof UpdateFaqCategoryCommand
10123
+ */
10124
+ 'order'?: number;
10125
+ /**
10126
+ *
10127
+ * @type {string}
10128
+ * @memberof UpdateFaqCategoryCommand
10129
+ */
10130
+ 'languageCode'?: string | null;
10131
+ /**
10132
+ *
10133
+ * @type {boolean}
10134
+ * @memberof UpdateFaqCategoryCommand
10135
+ */
10136
+ 'confirmed'?: boolean;
10137
+ }
10138
+ /**
10139
+ *
10140
+ * @export
10141
+ * @interface UpdateFaqCommand
10142
+ */
10143
+ export interface UpdateFaqCommand {
10144
+ /**
10145
+ *
10146
+ * @type {string}
10147
+ * @memberof UpdateFaqCommand
10148
+ */
10149
+ 'id'?: string;
10150
+ /**
10151
+ *
10152
+ * @type {string}
10153
+ * @memberof UpdateFaqCommand
10154
+ */
10155
+ 'title'?: string | null;
10156
+ /**
10157
+ *
10158
+ * @type {string}
10159
+ * @memberof UpdateFaqCommand
10160
+ */
10161
+ 'slug'?: string | null;
10162
+ /**
10163
+ *
10164
+ * @type {string}
10165
+ * @memberof UpdateFaqCommand
10166
+ */
10167
+ 'content'?: string | null;
10168
+ /**
10169
+ *
10170
+ * @type {number}
10171
+ * @memberof UpdateFaqCommand
10172
+ */
10173
+ 'order'?: number;
10174
+ /**
10175
+ *
10176
+ * @type {string}
10177
+ * @memberof UpdateFaqCommand
10178
+ */
10179
+ 'languageCode'?: string | null;
10180
+ /**
10181
+ *
10182
+ * @type {boolean}
10183
+ * @memberof UpdateFaqCommand
10184
+ */
10185
+ 'confirmed'?: boolean;
10186
+ }
10187
+ /**
10188
+ *
10189
+ * @export
10190
+ * @interface UpdateHospitalCommand
10191
+ */
10192
+ export interface UpdateHospitalCommand {
10193
+ /**
10194
+ *
10195
+ * @type {string}
10196
+ * @memberof UpdateHospitalCommand
10197
+ */
10198
+ 'languageCode'?: string | null;
9612
10199
  /**
9613
10200
  *
9614
10201
  * @type {string}
@@ -10184,42 +10771,12 @@ export interface UpdateSpecialtyCommand {
10184
10771
  * @memberof UpdateSpecialtyCommand
10185
10772
  */
10186
10773
  'content'?: string | null;
10187
- /**
10188
- *
10189
- * @type {number}
10190
- * @memberof UpdateSpecialtyCommand
10191
- */
10192
- 'hospitalSpecialtyCount'?: number;
10193
- /**
10194
- *
10195
- * @type {number}
10196
- * @memberof UpdateSpecialtyCommand
10197
- */
10198
- 'serviceCount'?: number;
10199
10774
  /**
10200
10775
  *
10201
10776
  * @type {string}
10202
10777
  * @memberof UpdateSpecialtyCommand
10203
10778
  */
10204
10779
  'specialtyTypeId'?: string;
10205
- /**
10206
- *
10207
- * @type {string}
10208
- * @memberof UpdateSpecialtyCommand
10209
- */
10210
- 'specialtyTypeName'?: string | null;
10211
- /**
10212
- *
10213
- * @type {boolean}
10214
- * @memberof UpdateSpecialtyCommand
10215
- */
10216
- 'confirmed'?: boolean;
10217
- /**
10218
- *
10219
- * @type {AuditableEntity}
10220
- * @memberof UpdateSpecialtyCommand
10221
- */
10222
- 'auditableEntity'?: AuditableEntity;
10223
10780
  }
10224
10781
  /**
10225
10782
  *
@@ -17336,7 +17893,7 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
17336
17893
  },
17337
17894
  /**
17338
17895
  *
17339
- * @summary Revoke country.
17896
+ * @summary Reactivate country.
17340
17897
  * @param {string} countryId
17341
17898
  * @param {*} [options] Override http request option.
17342
17899
  * @throws {RequiredError}
@@ -17648,7 +18205,7 @@ export const CountriesApiFp = function(configuration?: Configuration) {
17648
18205
  },
17649
18206
  /**
17650
18207
  *
17651
- * @summary Revoke country.
18208
+ * @summary Reactivate country.
17652
18209
  * @param {string} countryId
17653
18210
  * @param {*} [options] Override http request option.
17654
18211
  * @throws {RequiredError}
@@ -17803,7 +18360,7 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
17803
18360
  },
17804
18361
  /**
17805
18362
  *
17806
- * @summary Revoke country.
18363
+ * @summary Reactivate country.
17807
18364
  * @param {string} countryId
17808
18365
  * @param {*} [options] Override http request option.
17809
18366
  * @throws {RequiredError}
@@ -17970,7 +18527,7 @@ export class CountriesApi extends BaseAPI {
17970
18527
 
17971
18528
  /**
17972
18529
  *
17973
- * @summary Revoke country.
18530
+ * @summary Reactivate country.
17974
18531
  * @param {string} countryId
17975
18532
  * @param {*} [options] Override http request option.
17976
18533
  * @throws {RequiredError}
@@ -21158,6 +21715,49 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
21158
21715
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
21159
21716
  localVarRequestOptions.data = serializeDataIfNeeded(createDoctorCommand, localVarRequestOptions, configuration)
21160
21717
 
21718
+ return {
21719
+ url: toPathString(localVarUrlObj),
21720
+ options: localVarRequestOptions,
21721
+ };
21722
+ },
21723
+ /**
21724
+ *
21725
+ * @summary Get Doctor by slug.
21726
+ * @param {string} slug
21727
+ * @param {string} [languageCode]
21728
+ * @param {*} [options] Override http request option.
21729
+ * @throws {RequiredError}
21730
+ */
21731
+ apiV1DoctorsSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
21732
+ // verify required parameter 'slug' is not null or undefined
21733
+ assertParamExists('apiV1DoctorsSlugGet', 'slug', slug)
21734
+ const localVarPath = `/api/v1/doctors/{slug}`
21735
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
21736
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21737
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21738
+ let baseOptions;
21739
+ if (configuration) {
21740
+ baseOptions = configuration.baseOptions;
21741
+ }
21742
+
21743
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
21744
+ const localVarHeaderParameter = {} as any;
21745
+ const localVarQueryParameter = {} as any;
21746
+
21747
+ // authentication oauth2 required
21748
+ // oauth required
21749
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
21750
+
21751
+ if (languageCode !== undefined) {
21752
+ localVarQueryParameter['languageCode'] = languageCode;
21753
+ }
21754
+
21755
+
21756
+
21757
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
21758
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21759
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
21760
+
21161
21761
  return {
21162
21762
  url: toPathString(localVarUrlObj),
21163
21763
  options: localVarRequestOptions,
@@ -21623,6 +22223,18 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
21623
22223
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsPost(createDoctorCommand, options);
21624
22224
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
21625
22225
  },
22226
+ /**
22227
+ *
22228
+ * @summary Get Doctor by slug.
22229
+ * @param {string} slug
22230
+ * @param {string} [languageCode]
22231
+ * @param {*} [options] Override http request option.
22232
+ * @throws {RequiredError}
22233
+ */
22234
+ async apiV1DoctorsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
22235
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsSlugGet(slug, languageCode, options);
22236
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22237
+ },
21626
22238
  }
21627
22239
  };
21628
22240
 
@@ -22049,6 +22661,17 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
22049
22661
  apiV1DoctorsPost(createDoctorCommand?: CreateDoctorCommand, options?: any): AxiosPromise<DoctorModel> {
22050
22662
  return localVarFp.apiV1DoctorsPost(createDoctorCommand, options).then((request) => request(axios, basePath));
22051
22663
  },
22664
+ /**
22665
+ *
22666
+ * @summary Get Doctor by slug.
22667
+ * @param {string} slug
22668
+ * @param {string} [languageCode]
22669
+ * @param {*} [options] Override http request option.
22670
+ * @throws {RequiredError}
22671
+ */
22672
+ apiV1DoctorsSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<DoctorModel> {
22673
+ return localVarFp.apiV1DoctorsSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
22674
+ },
22052
22675
  };
22053
22676
  };
22054
22677
 
@@ -22542,6 +23165,1630 @@ export class DoctorsApi extends BaseAPI {
22542
23165
  public apiV1DoctorsPost(createDoctorCommand?: CreateDoctorCommand, options?: AxiosRequestConfig) {
22543
23166
  return DoctorsApiFp(this.configuration).apiV1DoctorsPost(createDoctorCommand, options).then((request) => request(this.axios, this.basePath));
22544
23167
  }
23168
+
23169
+ /**
23170
+ *
23171
+ * @summary Get Doctor by slug.
23172
+ * @param {string} slug
23173
+ * @param {string} [languageCode]
23174
+ * @param {*} [options] Override http request option.
23175
+ * @throws {RequiredError}
23176
+ * @memberof DoctorsApi
23177
+ */
23178
+ public apiV1DoctorsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
23179
+ return DoctorsApiFp(this.configuration).apiV1DoctorsSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
23180
+ }
23181
+ }
23182
+
23183
+
23184
+ /**
23185
+ * FaqCategoriesApi - axios parameter creator
23186
+ * @export
23187
+ */
23188
+ export const FaqCategoriesApiAxiosParamCreator = function (configuration?: Configuration) {
23189
+ return {
23190
+ /**
23191
+ *
23192
+ * @summary Get BreadCrumbs.
23193
+ * @param {string} faqId
23194
+ * @param {string} [languageCode]
23195
+ * @param {*} [options] Override http request option.
23196
+ * @throws {RequiredError}
23197
+ */
23198
+ apiV1FaqcategoriesBreadcrumbsFaqIdGet: async (faqId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23199
+ // verify required parameter 'faqId' is not null or undefined
23200
+ assertParamExists('apiV1FaqcategoriesBreadcrumbsFaqIdGet', 'faqId', faqId)
23201
+ const localVarPath = `/api/v1/faqcategories/breadcrumbs/{faqId}`
23202
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)));
23203
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23204
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23205
+ let baseOptions;
23206
+ if (configuration) {
23207
+ baseOptions = configuration.baseOptions;
23208
+ }
23209
+
23210
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23211
+ const localVarHeaderParameter = {} as any;
23212
+ const localVarQueryParameter = {} as any;
23213
+
23214
+ // authentication oauth2 required
23215
+ // oauth required
23216
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23217
+
23218
+ if (languageCode !== undefined) {
23219
+ localVarQueryParameter['languageCode'] = languageCode;
23220
+ }
23221
+
23222
+
23223
+
23224
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23225
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23226
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23227
+
23228
+ return {
23229
+ url: toPathString(localVarUrlObj),
23230
+ options: localVarRequestOptions,
23231
+ };
23232
+ },
23233
+ /**
23234
+ *
23235
+ * @summary Delete faqCategory.
23236
+ * @param {string} faqCategoryId
23237
+ * @param {boolean} [forceDelete]
23238
+ * @param {*} [options] Override http request option.
23239
+ * @throws {RequiredError}
23240
+ */
23241
+ apiV1FaqcategoriesFaqCategoryIdDelete: async (faqCategoryId: string, forceDelete?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23242
+ // verify required parameter 'faqCategoryId' is not null or undefined
23243
+ assertParamExists('apiV1FaqcategoriesFaqCategoryIdDelete', 'faqCategoryId', faqCategoryId)
23244
+ const localVarPath = `/api/v1/faqcategories/{faqCategoryId}`
23245
+ .replace(`{${"faqCategoryId"}}`, encodeURIComponent(String(faqCategoryId)));
23246
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23247
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23248
+ let baseOptions;
23249
+ if (configuration) {
23250
+ baseOptions = configuration.baseOptions;
23251
+ }
23252
+
23253
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
23254
+ const localVarHeaderParameter = {} as any;
23255
+ const localVarQueryParameter = {} as any;
23256
+
23257
+ // authentication oauth2 required
23258
+ // oauth required
23259
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23260
+
23261
+ if (forceDelete !== undefined) {
23262
+ localVarQueryParameter['forceDelete'] = forceDelete;
23263
+ }
23264
+
23265
+
23266
+
23267
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23268
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23269
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23270
+
23271
+ return {
23272
+ url: toPathString(localVarUrlObj),
23273
+ options: localVarRequestOptions,
23274
+ };
23275
+ },
23276
+ /**
23277
+ *
23278
+ * @summary Get faqCategory.
23279
+ * @param {string} faqCategoryId
23280
+ * @param {string} [languageCode]
23281
+ * @param {*} [options] Override http request option.
23282
+ * @throws {RequiredError}
23283
+ */
23284
+ apiV1FaqcategoriesFaqCategoryIdGet: async (faqCategoryId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23285
+ // verify required parameter 'faqCategoryId' is not null or undefined
23286
+ assertParamExists('apiV1FaqcategoriesFaqCategoryIdGet', 'faqCategoryId', faqCategoryId)
23287
+ const localVarPath = `/api/v1/faqcategories/{faqCategoryId}`
23288
+ .replace(`{${"faqCategoryId"}}`, encodeURIComponent(String(faqCategoryId)));
23289
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23290
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23291
+ let baseOptions;
23292
+ if (configuration) {
23293
+ baseOptions = configuration.baseOptions;
23294
+ }
23295
+
23296
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23297
+ const localVarHeaderParameter = {} as any;
23298
+ const localVarQueryParameter = {} as any;
23299
+
23300
+ // authentication oauth2 required
23301
+ // oauth required
23302
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23303
+
23304
+ if (languageCode !== undefined) {
23305
+ localVarQueryParameter['languageCode'] = languageCode;
23306
+ }
23307
+
23308
+
23309
+
23310
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23311
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23312
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23313
+
23314
+ return {
23315
+ url: toPathString(localVarUrlObj),
23316
+ options: localVarRequestOptions,
23317
+ };
23318
+ },
23319
+ /**
23320
+ *
23321
+ * @summary Update faqCategory.
23322
+ * @param {string} faqCategoryId
23323
+ * @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
23324
+ * @param {*} [options] Override http request option.
23325
+ * @throws {RequiredError}
23326
+ */
23327
+ apiV1FaqcategoriesFaqCategoryIdPut: async (faqCategoryId: string, updateFaqCategoryCommand?: UpdateFaqCategoryCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23328
+ // verify required parameter 'faqCategoryId' is not null or undefined
23329
+ assertParamExists('apiV1FaqcategoriesFaqCategoryIdPut', 'faqCategoryId', faqCategoryId)
23330
+ const localVarPath = `/api/v1/faqcategories/{faqCategoryId}`
23331
+ .replace(`{${"faqCategoryId"}}`, encodeURIComponent(String(faqCategoryId)));
23332
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23333
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23334
+ let baseOptions;
23335
+ if (configuration) {
23336
+ baseOptions = configuration.baseOptions;
23337
+ }
23338
+
23339
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
23340
+ const localVarHeaderParameter = {} as any;
23341
+ const localVarQueryParameter = {} as any;
23342
+
23343
+ // authentication oauth2 required
23344
+ // oauth required
23345
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23346
+
23347
+
23348
+
23349
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23350
+
23351
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23352
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23353
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23354
+ localVarRequestOptions.data = serializeDataIfNeeded(updateFaqCategoryCommand, localVarRequestOptions, configuration)
23355
+
23356
+ return {
23357
+ url: toPathString(localVarUrlObj),
23358
+ options: localVarRequestOptions,
23359
+ };
23360
+ },
23361
+ /**
23362
+ *
23363
+ * @summary Get all FaqCategories.
23364
+ * @param {string} [id]
23365
+ * @param {string} [parentId]
23366
+ * @param {string} [name]
23367
+ * @param {string} [description]
23368
+ * @param {string} [languageCode]
23369
+ * @param {number} [page]
23370
+ * @param {number} [limit]
23371
+ * @param {Date} [lastRetrieved]
23372
+ * @param {*} [options] Override http request option.
23373
+ * @throws {RequiredError}
23374
+ */
23375
+ apiV1FaqcategoriesGet: async (id?: string, parentId?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23376
+ const localVarPath = `/api/v1/faqcategories`;
23377
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23378
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23379
+ let baseOptions;
23380
+ if (configuration) {
23381
+ baseOptions = configuration.baseOptions;
23382
+ }
23383
+
23384
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23385
+ const localVarHeaderParameter = {} as any;
23386
+ const localVarQueryParameter = {} as any;
23387
+
23388
+ // authentication oauth2 required
23389
+ // oauth required
23390
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23391
+
23392
+ if (id !== undefined) {
23393
+ localVarQueryParameter['Id'] = id;
23394
+ }
23395
+
23396
+ if (parentId !== undefined) {
23397
+ localVarQueryParameter['ParentId'] = parentId;
23398
+ }
23399
+
23400
+ if (name !== undefined) {
23401
+ localVarQueryParameter['Name'] = name;
23402
+ }
23403
+
23404
+ if (description !== undefined) {
23405
+ localVarQueryParameter['Description'] = description;
23406
+ }
23407
+
23408
+ if (languageCode !== undefined) {
23409
+ localVarQueryParameter['LanguageCode'] = languageCode;
23410
+ }
23411
+
23412
+ if (page !== undefined) {
23413
+ localVarQueryParameter['page'] = page;
23414
+ }
23415
+
23416
+ if (limit !== undefined) {
23417
+ localVarQueryParameter['limit'] = limit;
23418
+ }
23419
+
23420
+ if (lastRetrieved !== undefined) {
23421
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
23422
+ (lastRetrieved as any).toISOString() :
23423
+ lastRetrieved;
23424
+ }
23425
+
23426
+
23427
+
23428
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23429
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23430
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23431
+
23432
+ return {
23433
+ url: toPathString(localVarUrlObj),
23434
+ options: localVarRequestOptions,
23435
+ };
23436
+ },
23437
+ /**
23438
+ *
23439
+ * @summary Create a faqCategory.
23440
+ * @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
23441
+ * @param {*} [options] Override http request option.
23442
+ * @throws {RequiredError}
23443
+ */
23444
+ apiV1FaqcategoriesPost: async (createFaqCategoryCommand?: CreateFaqCategoryCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23445
+ const localVarPath = `/api/v1/faqcategories`;
23446
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23447
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23448
+ let baseOptions;
23449
+ if (configuration) {
23450
+ baseOptions = configuration.baseOptions;
23451
+ }
23452
+
23453
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
23454
+ const localVarHeaderParameter = {} as any;
23455
+ const localVarQueryParameter = {} as any;
23456
+
23457
+ // authentication oauth2 required
23458
+ // oauth required
23459
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23460
+
23461
+
23462
+
23463
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23464
+
23465
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23466
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23467
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23468
+ localVarRequestOptions.data = serializeDataIfNeeded(createFaqCategoryCommand, localVarRequestOptions, configuration)
23469
+
23470
+ return {
23471
+ url: toPathString(localVarUrlObj),
23472
+ options: localVarRequestOptions,
23473
+ };
23474
+ },
23475
+ /**
23476
+ *
23477
+ * @summary Get faqCategory by slug.
23478
+ * @param {string} slug
23479
+ * @param {string} [languageCode]
23480
+ * @param {*} [options] Override http request option.
23481
+ * @throws {RequiredError}
23482
+ */
23483
+ apiV1FaqcategoriesSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23484
+ // verify required parameter 'slug' is not null or undefined
23485
+ assertParamExists('apiV1FaqcategoriesSlugGet', 'slug', slug)
23486
+ const localVarPath = `/api/v1/faqcategories/{slug}`
23487
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
23488
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23489
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23490
+ let baseOptions;
23491
+ if (configuration) {
23492
+ baseOptions = configuration.baseOptions;
23493
+ }
23494
+
23495
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23496
+ const localVarHeaderParameter = {} as any;
23497
+ const localVarQueryParameter = {} as any;
23498
+
23499
+ // authentication oauth2 required
23500
+ // oauth required
23501
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23502
+
23503
+ if (languageCode !== undefined) {
23504
+ localVarQueryParameter['languageCode'] = languageCode;
23505
+ }
23506
+
23507
+
23508
+
23509
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23510
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23511
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23512
+
23513
+ return {
23514
+ url: toPathString(localVarUrlObj),
23515
+ options: localVarRequestOptions,
23516
+ };
23517
+ },
23518
+ }
23519
+ };
23520
+
23521
+ /**
23522
+ * FaqCategoriesApi - functional programming interface
23523
+ * @export
23524
+ */
23525
+ export const FaqCategoriesApiFp = function(configuration?: Configuration) {
23526
+ const localVarAxiosParamCreator = FaqCategoriesApiAxiosParamCreator(configuration)
23527
+ return {
23528
+ /**
23529
+ *
23530
+ * @summary Get BreadCrumbs.
23531
+ * @param {string} faqId
23532
+ * @param {string} [languageCode]
23533
+ * @param {*} [options] Override http request option.
23534
+ * @throws {RequiredError}
23535
+ */
23536
+ async apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FaqCategoryBreadCrumbModel>>> {
23537
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId, languageCode, options);
23538
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23539
+ },
23540
+ /**
23541
+ *
23542
+ * @summary Delete faqCategory.
23543
+ * @param {string} faqCategoryId
23544
+ * @param {boolean} [forceDelete]
23545
+ * @param {*} [options] Override http request option.
23546
+ * @throws {RequiredError}
23547
+ */
23548
+ async apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId: string, forceDelete?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
23549
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId, forceDelete, options);
23550
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23551
+ },
23552
+ /**
23553
+ *
23554
+ * @summary Get faqCategory.
23555
+ * @param {string} faqCategoryId
23556
+ * @param {string} [languageCode]
23557
+ * @param {*} [options] Override http request option.
23558
+ * @throws {RequiredError}
23559
+ */
23560
+ async apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqCategoryModel>> {
23561
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, options);
23562
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23563
+ },
23564
+ /**
23565
+ *
23566
+ * @summary Update faqCategory.
23567
+ * @param {string} faqCategoryId
23568
+ * @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
23569
+ * @param {*} [options] Override http request option.
23570
+ * @throws {RequiredError}
23571
+ */
23572
+ async apiV1FaqcategoriesFaqCategoryIdPut(faqCategoryId: string, updateFaqCategoryCommand?: UpdateFaqCategoryCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqCategoryModel>> {
23573
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesFaqCategoryIdPut(faqCategoryId, updateFaqCategoryCommand, options);
23574
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23575
+ },
23576
+ /**
23577
+ *
23578
+ * @summary Get all FaqCategories.
23579
+ * @param {string} [id]
23580
+ * @param {string} [parentId]
23581
+ * @param {string} [name]
23582
+ * @param {string} [description]
23583
+ * @param {string} [languageCode]
23584
+ * @param {number} [page]
23585
+ * @param {number} [limit]
23586
+ * @param {Date} [lastRetrieved]
23587
+ * @param {*} [options] Override http request option.
23588
+ * @throws {RequiredError}
23589
+ */
23590
+ async apiV1FaqcategoriesGet(id?: string, parentId?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqCategoriesModel>> {
23591
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesGet(id, parentId, name, description, languageCode, page, limit, lastRetrieved, options);
23592
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23593
+ },
23594
+ /**
23595
+ *
23596
+ * @summary Create a faqCategory.
23597
+ * @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
23598
+ * @param {*} [options] Override http request option.
23599
+ * @throws {RequiredError}
23600
+ */
23601
+ async apiV1FaqcategoriesPost(createFaqCategoryCommand?: CreateFaqCategoryCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqCategoryModel>> {
23602
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesPost(createFaqCategoryCommand, options);
23603
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23604
+ },
23605
+ /**
23606
+ *
23607
+ * @summary Get faqCategory by slug.
23608
+ * @param {string} slug
23609
+ * @param {string} [languageCode]
23610
+ * @param {*} [options] Override http request option.
23611
+ * @throws {RequiredError}
23612
+ */
23613
+ async apiV1FaqcategoriesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqCategoryModel>> {
23614
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesSlugGet(slug, languageCode, options);
23615
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23616
+ },
23617
+ }
23618
+ };
23619
+
23620
+ /**
23621
+ * FaqCategoriesApi - factory interface
23622
+ * @export
23623
+ */
23624
+ export const FaqCategoriesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
23625
+ const localVarFp = FaqCategoriesApiFp(configuration)
23626
+ return {
23627
+ /**
23628
+ *
23629
+ * @summary Get BreadCrumbs.
23630
+ * @param {string} faqId
23631
+ * @param {string} [languageCode]
23632
+ * @param {*} [options] Override http request option.
23633
+ * @throws {RequiredError}
23634
+ */
23635
+ apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId: string, languageCode?: string, options?: any): AxiosPromise<Array<FaqCategoryBreadCrumbModel>> {
23636
+ return localVarFp.apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId, languageCode, options).then((request) => request(axios, basePath));
23637
+ },
23638
+ /**
23639
+ *
23640
+ * @summary Delete faqCategory.
23641
+ * @param {string} faqCategoryId
23642
+ * @param {boolean} [forceDelete]
23643
+ * @param {*} [options] Override http request option.
23644
+ * @throws {RequiredError}
23645
+ */
23646
+ apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId: string, forceDelete?: boolean, options?: any): AxiosPromise<boolean> {
23647
+ return localVarFp.apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId, forceDelete, options).then((request) => request(axios, basePath));
23648
+ },
23649
+ /**
23650
+ *
23651
+ * @summary Get faqCategory.
23652
+ * @param {string} faqCategoryId
23653
+ * @param {string} [languageCode]
23654
+ * @param {*} [options] Override http request option.
23655
+ * @throws {RequiredError}
23656
+ */
23657
+ apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string, options?: any): AxiosPromise<FaqCategoryModel> {
23658
+ return localVarFp.apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, options).then((request) => request(axios, basePath));
23659
+ },
23660
+ /**
23661
+ *
23662
+ * @summary Update faqCategory.
23663
+ * @param {string} faqCategoryId
23664
+ * @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
23665
+ * @param {*} [options] Override http request option.
23666
+ * @throws {RequiredError}
23667
+ */
23668
+ apiV1FaqcategoriesFaqCategoryIdPut(faqCategoryId: string, updateFaqCategoryCommand?: UpdateFaqCategoryCommand, options?: any): AxiosPromise<FaqCategoryModel> {
23669
+ return localVarFp.apiV1FaqcategoriesFaqCategoryIdPut(faqCategoryId, updateFaqCategoryCommand, options).then((request) => request(axios, basePath));
23670
+ },
23671
+ /**
23672
+ *
23673
+ * @summary Get all FaqCategories.
23674
+ * @param {string} [id]
23675
+ * @param {string} [parentId]
23676
+ * @param {string} [name]
23677
+ * @param {string} [description]
23678
+ * @param {string} [languageCode]
23679
+ * @param {number} [page]
23680
+ * @param {number} [limit]
23681
+ * @param {Date} [lastRetrieved]
23682
+ * @param {*} [options] Override http request option.
23683
+ * @throws {RequiredError}
23684
+ */
23685
+ apiV1FaqcategoriesGet(id?: string, parentId?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<FaqCategoriesModel> {
23686
+ return localVarFp.apiV1FaqcategoriesGet(id, parentId, name, description, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
23687
+ },
23688
+ /**
23689
+ *
23690
+ * @summary Create a faqCategory.
23691
+ * @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
23692
+ * @param {*} [options] Override http request option.
23693
+ * @throws {RequiredError}
23694
+ */
23695
+ apiV1FaqcategoriesPost(createFaqCategoryCommand?: CreateFaqCategoryCommand, options?: any): AxiosPromise<FaqCategoryModel> {
23696
+ return localVarFp.apiV1FaqcategoriesPost(createFaqCategoryCommand, options).then((request) => request(axios, basePath));
23697
+ },
23698
+ /**
23699
+ *
23700
+ * @summary Get faqCategory by slug.
23701
+ * @param {string} slug
23702
+ * @param {string} [languageCode]
23703
+ * @param {*} [options] Override http request option.
23704
+ * @throws {RequiredError}
23705
+ */
23706
+ apiV1FaqcategoriesSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<FaqCategoryModel> {
23707
+ return localVarFp.apiV1FaqcategoriesSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
23708
+ },
23709
+ };
23710
+ };
23711
+
23712
+ /**
23713
+ * FaqCategoriesApi - object-oriented interface
23714
+ * @export
23715
+ * @class FaqCategoriesApi
23716
+ * @extends {BaseAPI}
23717
+ */
23718
+ export class FaqCategoriesApi extends BaseAPI {
23719
+ /**
23720
+ *
23721
+ * @summary Get BreadCrumbs.
23722
+ * @param {string} faqId
23723
+ * @param {string} [languageCode]
23724
+ * @param {*} [options] Override http request option.
23725
+ * @throws {RequiredError}
23726
+ * @memberof FaqCategoriesApi
23727
+ */
23728
+ public apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId: string, languageCode?: string, options?: AxiosRequestConfig) {
23729
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId, languageCode, options).then((request) => request(this.axios, this.basePath));
23730
+ }
23731
+
23732
+ /**
23733
+ *
23734
+ * @summary Delete faqCategory.
23735
+ * @param {string} faqCategoryId
23736
+ * @param {boolean} [forceDelete]
23737
+ * @param {*} [options] Override http request option.
23738
+ * @throws {RequiredError}
23739
+ * @memberof FaqCategoriesApi
23740
+ */
23741
+ public apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId: string, forceDelete?: boolean, options?: AxiosRequestConfig) {
23742
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId, forceDelete, options).then((request) => request(this.axios, this.basePath));
23743
+ }
23744
+
23745
+ /**
23746
+ *
23747
+ * @summary Get faqCategory.
23748
+ * @param {string} faqCategoryId
23749
+ * @param {string} [languageCode]
23750
+ * @param {*} [options] Override http request option.
23751
+ * @throws {RequiredError}
23752
+ * @memberof FaqCategoriesApi
23753
+ */
23754
+ public apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string, options?: AxiosRequestConfig) {
23755
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, options).then((request) => request(this.axios, this.basePath));
23756
+ }
23757
+
23758
+ /**
23759
+ *
23760
+ * @summary Update faqCategory.
23761
+ * @param {string} faqCategoryId
23762
+ * @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
23763
+ * @param {*} [options] Override http request option.
23764
+ * @throws {RequiredError}
23765
+ * @memberof FaqCategoriesApi
23766
+ */
23767
+ public apiV1FaqcategoriesFaqCategoryIdPut(faqCategoryId: string, updateFaqCategoryCommand?: UpdateFaqCategoryCommand, options?: AxiosRequestConfig) {
23768
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesFaqCategoryIdPut(faqCategoryId, updateFaqCategoryCommand, options).then((request) => request(this.axios, this.basePath));
23769
+ }
23770
+
23771
+ /**
23772
+ *
23773
+ * @summary Get all FaqCategories.
23774
+ * @param {string} [id]
23775
+ * @param {string} [parentId]
23776
+ * @param {string} [name]
23777
+ * @param {string} [description]
23778
+ * @param {string} [languageCode]
23779
+ * @param {number} [page]
23780
+ * @param {number} [limit]
23781
+ * @param {Date} [lastRetrieved]
23782
+ * @param {*} [options] Override http request option.
23783
+ * @throws {RequiredError}
23784
+ * @memberof FaqCategoriesApi
23785
+ */
23786
+ public apiV1FaqcategoriesGet(id?: string, parentId?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
23787
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesGet(id, parentId, name, description, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
23788
+ }
23789
+
23790
+ /**
23791
+ *
23792
+ * @summary Create a faqCategory.
23793
+ * @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
23794
+ * @param {*} [options] Override http request option.
23795
+ * @throws {RequiredError}
23796
+ * @memberof FaqCategoriesApi
23797
+ */
23798
+ public apiV1FaqcategoriesPost(createFaqCategoryCommand?: CreateFaqCategoryCommand, options?: AxiosRequestConfig) {
23799
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesPost(createFaqCategoryCommand, options).then((request) => request(this.axios, this.basePath));
23800
+ }
23801
+
23802
+ /**
23803
+ *
23804
+ * @summary Get faqCategory by slug.
23805
+ * @param {string} slug
23806
+ * @param {string} [languageCode]
23807
+ * @param {*} [options] Override http request option.
23808
+ * @throws {RequiredError}
23809
+ * @memberof FaqCategoriesApi
23810
+ */
23811
+ public apiV1FaqcategoriesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
23812
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
23813
+ }
23814
+ }
23815
+
23816
+
23817
+ /**
23818
+ * FaqsApi - axios parameter creator
23819
+ * @export
23820
+ */
23821
+ export const FaqsApiAxiosParamCreator = function (configuration?: Configuration) {
23822
+ return {
23823
+ /**
23824
+ *
23825
+ * @summary Delete faq.
23826
+ * @param {string} faqId
23827
+ * @param {*} [options] Override http request option.
23828
+ * @throws {RequiredError}
23829
+ */
23830
+ apiV1FaqsFaqIdDelete: async (faqId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23831
+ // verify required parameter 'faqId' is not null or undefined
23832
+ assertParamExists('apiV1FaqsFaqIdDelete', 'faqId', faqId)
23833
+ const localVarPath = `/api/v1/faqs/{faqId}`
23834
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)));
23835
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23836
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23837
+ let baseOptions;
23838
+ if (configuration) {
23839
+ baseOptions = configuration.baseOptions;
23840
+ }
23841
+
23842
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
23843
+ const localVarHeaderParameter = {} as any;
23844
+ const localVarQueryParameter = {} as any;
23845
+
23846
+ // authentication oauth2 required
23847
+ // oauth required
23848
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23849
+
23850
+
23851
+
23852
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23853
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23854
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23855
+
23856
+ return {
23857
+ url: toPathString(localVarUrlObj),
23858
+ options: localVarRequestOptions,
23859
+ };
23860
+ },
23861
+ /**
23862
+ *
23863
+ * @summary Get faq.
23864
+ * @param {string} faqId
23865
+ * @param {string} [languageCode]
23866
+ * @param {*} [options] Override http request option.
23867
+ * @throws {RequiredError}
23868
+ */
23869
+ apiV1FaqsFaqIdGet: async (faqId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23870
+ // verify required parameter 'faqId' is not null or undefined
23871
+ assertParamExists('apiV1FaqsFaqIdGet', 'faqId', faqId)
23872
+ const localVarPath = `/api/v1/faqs/{faqId}`
23873
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)));
23874
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23875
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23876
+ let baseOptions;
23877
+ if (configuration) {
23878
+ baseOptions = configuration.baseOptions;
23879
+ }
23880
+
23881
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23882
+ const localVarHeaderParameter = {} as any;
23883
+ const localVarQueryParameter = {} as any;
23884
+
23885
+ // authentication oauth2 required
23886
+ // oauth required
23887
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23888
+
23889
+ if (languageCode !== undefined) {
23890
+ localVarQueryParameter['languageCode'] = languageCode;
23891
+ }
23892
+
23893
+
23894
+
23895
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23896
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23897
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23898
+
23899
+ return {
23900
+ url: toPathString(localVarUrlObj),
23901
+ options: localVarRequestOptions,
23902
+ };
23903
+ },
23904
+ /**
23905
+ *
23906
+ * @summary Get all FaqMedias.
23907
+ * @param {string} faqId
23908
+ * @param {string} [id]
23909
+ * @param {MediaType} [mediaType]
23910
+ * @param {number} [page]
23911
+ * @param {number} [limit]
23912
+ * @param {Date} [lastRetrieved]
23913
+ * @param {*} [options] Override http request option.
23914
+ * @throws {RequiredError}
23915
+ */
23916
+ apiV1FaqsFaqIdMediasGet: async (faqId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23917
+ // verify required parameter 'faqId' is not null or undefined
23918
+ assertParamExists('apiV1FaqsFaqIdMediasGet', 'faqId', faqId)
23919
+ const localVarPath = `/api/v1/faqs/{faqId}/medias`
23920
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)));
23921
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23922
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23923
+ let baseOptions;
23924
+ if (configuration) {
23925
+ baseOptions = configuration.baseOptions;
23926
+ }
23927
+
23928
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23929
+ const localVarHeaderParameter = {} as any;
23930
+ const localVarQueryParameter = {} as any;
23931
+
23932
+ // authentication oauth2 required
23933
+ // oauth required
23934
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23935
+
23936
+ if (id !== undefined) {
23937
+ localVarQueryParameter['Id'] = id;
23938
+ }
23939
+
23940
+ if (mediaType !== undefined) {
23941
+ localVarQueryParameter['MediaType'] = mediaType;
23942
+ }
23943
+
23944
+ if (page !== undefined) {
23945
+ localVarQueryParameter['page'] = page;
23946
+ }
23947
+
23948
+ if (limit !== undefined) {
23949
+ localVarQueryParameter['limit'] = limit;
23950
+ }
23951
+
23952
+ if (lastRetrieved !== undefined) {
23953
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
23954
+ (lastRetrieved as any).toISOString() :
23955
+ lastRetrieved;
23956
+ }
23957
+
23958
+
23959
+
23960
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23961
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23962
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23963
+
23964
+ return {
23965
+ url: toPathString(localVarUrlObj),
23966
+ options: localVarRequestOptions,
23967
+ };
23968
+ },
23969
+ /**
23970
+ *
23971
+ * @summary Delete FaqMedia
23972
+ * @param {string} faqId
23973
+ * @param {string} mediaId
23974
+ * @param {*} [options] Override http request option.
23975
+ * @throws {RequiredError}
23976
+ */
23977
+ apiV1FaqsFaqIdMediasMediaIdDelete: async (faqId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23978
+ // verify required parameter 'faqId' is not null or undefined
23979
+ assertParamExists('apiV1FaqsFaqIdMediasMediaIdDelete', 'faqId', faqId)
23980
+ // verify required parameter 'mediaId' is not null or undefined
23981
+ assertParamExists('apiV1FaqsFaqIdMediasMediaIdDelete', 'mediaId', mediaId)
23982
+ const localVarPath = `/api/v1/faqs/{faqId}/medias/{mediaId}`
23983
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)))
23984
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
23985
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23986
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23987
+ let baseOptions;
23988
+ if (configuration) {
23989
+ baseOptions = configuration.baseOptions;
23990
+ }
23991
+
23992
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
23993
+ const localVarHeaderParameter = {} as any;
23994
+ const localVarQueryParameter = {} as any;
23995
+
23996
+ // authentication oauth2 required
23997
+ // oauth required
23998
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23999
+
24000
+
24001
+
24002
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24003
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24004
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24005
+
24006
+ return {
24007
+ url: toPathString(localVarUrlObj),
24008
+ options: localVarRequestOptions,
24009
+ };
24010
+ },
24011
+ /**
24012
+ *
24013
+ * @summary Get FaqMedia.
24014
+ * @param {string} faqId
24015
+ * @param {string} mediaId
24016
+ * @param {*} [options] Override http request option.
24017
+ * @throws {RequiredError}
24018
+ */
24019
+ apiV1FaqsFaqIdMediasMediaIdGet: async (faqId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24020
+ // verify required parameter 'faqId' is not null or undefined
24021
+ assertParamExists('apiV1FaqsFaqIdMediasMediaIdGet', 'faqId', faqId)
24022
+ // verify required parameter 'mediaId' is not null or undefined
24023
+ assertParamExists('apiV1FaqsFaqIdMediasMediaIdGet', 'mediaId', mediaId)
24024
+ const localVarPath = `/api/v1/faqs/{faqId}/medias/{mediaId}`
24025
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)))
24026
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
24027
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24028
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24029
+ let baseOptions;
24030
+ if (configuration) {
24031
+ baseOptions = configuration.baseOptions;
24032
+ }
24033
+
24034
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
24035
+ const localVarHeaderParameter = {} as any;
24036
+ const localVarQueryParameter = {} as any;
24037
+
24038
+ // authentication oauth2 required
24039
+ // oauth required
24040
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24041
+
24042
+
24043
+
24044
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24045
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24046
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24047
+
24048
+ return {
24049
+ url: toPathString(localVarUrlObj),
24050
+ options: localVarRequestOptions,
24051
+ };
24052
+ },
24053
+ /**
24054
+ *
24055
+ * @summary Update FaqMedia.
24056
+ * @param {string} faqId
24057
+ * @param {string} mediaId
24058
+ * @param {UpdateMediaCommand} [updateMediaCommand]
24059
+ * @param {*} [options] Override http request option.
24060
+ * @throws {RequiredError}
24061
+ */
24062
+ apiV1FaqsFaqIdMediasMediaIdPut: async (faqId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24063
+ // verify required parameter 'faqId' is not null or undefined
24064
+ assertParamExists('apiV1FaqsFaqIdMediasMediaIdPut', 'faqId', faqId)
24065
+ // verify required parameter 'mediaId' is not null or undefined
24066
+ assertParamExists('apiV1FaqsFaqIdMediasMediaIdPut', 'mediaId', mediaId)
24067
+ const localVarPath = `/api/v1/faqs/{faqId}/medias/{mediaId}`
24068
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)))
24069
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
24070
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24071
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24072
+ let baseOptions;
24073
+ if (configuration) {
24074
+ baseOptions = configuration.baseOptions;
24075
+ }
24076
+
24077
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
24078
+ const localVarHeaderParameter = {} as any;
24079
+ const localVarQueryParameter = {} as any;
24080
+
24081
+ // authentication oauth2 required
24082
+ // oauth required
24083
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24084
+
24085
+
24086
+
24087
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24088
+
24089
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24090
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24091
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24092
+ localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
24093
+
24094
+ return {
24095
+ url: toPathString(localVarUrlObj),
24096
+ options: localVarRequestOptions,
24097
+ };
24098
+ },
24099
+ /**
24100
+ *
24101
+ * @summary Create FaqMedia.
24102
+ * @param {string} faqId
24103
+ * @param {CreateMediaCommand} [createMediaCommand]
24104
+ * @param {*} [options] Override http request option.
24105
+ * @throws {RequiredError}
24106
+ */
24107
+ apiV1FaqsFaqIdMediasPost: async (faqId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24108
+ // verify required parameter 'faqId' is not null or undefined
24109
+ assertParamExists('apiV1FaqsFaqIdMediasPost', 'faqId', faqId)
24110
+ const localVarPath = `/api/v1/faqs/{faqId}/medias`
24111
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)));
24112
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24113
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24114
+ let baseOptions;
24115
+ if (configuration) {
24116
+ baseOptions = configuration.baseOptions;
24117
+ }
24118
+
24119
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
24120
+ const localVarHeaderParameter = {} as any;
24121
+ const localVarQueryParameter = {} as any;
24122
+
24123
+ // authentication oauth2 required
24124
+ // oauth required
24125
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24126
+
24127
+
24128
+
24129
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24130
+
24131
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24132
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24133
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24134
+ localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
24135
+
24136
+ return {
24137
+ url: toPathString(localVarUrlObj),
24138
+ options: localVarRequestOptions,
24139
+ };
24140
+ },
24141
+ /**
24142
+ *
24143
+ * @summary Update faq.
24144
+ * @param {string} faqId
24145
+ * @param {UpdateFaqCommand} [updateFaqCommand]
24146
+ * @param {*} [options] Override http request option.
24147
+ * @throws {RequiredError}
24148
+ */
24149
+ apiV1FaqsFaqIdPut: async (faqId: string, updateFaqCommand?: UpdateFaqCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24150
+ // verify required parameter 'faqId' is not null or undefined
24151
+ assertParamExists('apiV1FaqsFaqIdPut', 'faqId', faqId)
24152
+ const localVarPath = `/api/v1/faqs/{faqId}`
24153
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)));
24154
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24155
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24156
+ let baseOptions;
24157
+ if (configuration) {
24158
+ baseOptions = configuration.baseOptions;
24159
+ }
24160
+
24161
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
24162
+ const localVarHeaderParameter = {} as any;
24163
+ const localVarQueryParameter = {} as any;
24164
+
24165
+ // authentication oauth2 required
24166
+ // oauth required
24167
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24168
+
24169
+
24170
+
24171
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24172
+
24173
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24174
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24175
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24176
+ localVarRequestOptions.data = serializeDataIfNeeded(updateFaqCommand, localVarRequestOptions, configuration)
24177
+
24178
+ return {
24179
+ url: toPathString(localVarUrlObj),
24180
+ options: localVarRequestOptions,
24181
+ };
24182
+ },
24183
+ /**
24184
+ *
24185
+ * @summary Get all Faqs.
24186
+ * @param {string} [id]
24187
+ * @param {string} [title]
24188
+ * @param {string} [content]
24189
+ * @param {string} [categoryId]
24190
+ * @param {string} [languageCode]
24191
+ * @param {number} [page]
24192
+ * @param {number} [limit]
24193
+ * @param {Date} [lastRetrieved]
24194
+ * @param {*} [options] Override http request option.
24195
+ * @throws {RequiredError}
24196
+ */
24197
+ apiV1FaqsGet: async (id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24198
+ const localVarPath = `/api/v1/faqs`;
24199
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24200
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24201
+ let baseOptions;
24202
+ if (configuration) {
24203
+ baseOptions = configuration.baseOptions;
24204
+ }
24205
+
24206
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
24207
+ const localVarHeaderParameter = {} as any;
24208
+ const localVarQueryParameter = {} as any;
24209
+
24210
+ // authentication oauth2 required
24211
+ // oauth required
24212
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24213
+
24214
+ if (id !== undefined) {
24215
+ localVarQueryParameter['Id'] = id;
24216
+ }
24217
+
24218
+ if (title !== undefined) {
24219
+ localVarQueryParameter['Title'] = title;
24220
+ }
24221
+
24222
+ if (content !== undefined) {
24223
+ localVarQueryParameter['Content'] = content;
24224
+ }
24225
+
24226
+ if (categoryId !== undefined) {
24227
+ localVarQueryParameter['CategoryId'] = categoryId;
24228
+ }
24229
+
24230
+ if (languageCode !== undefined) {
24231
+ localVarQueryParameter['LanguageCode'] = languageCode;
24232
+ }
24233
+
24234
+ if (page !== undefined) {
24235
+ localVarQueryParameter['page'] = page;
24236
+ }
24237
+
24238
+ if (limit !== undefined) {
24239
+ localVarQueryParameter['limit'] = limit;
24240
+ }
24241
+
24242
+ if (lastRetrieved !== undefined) {
24243
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
24244
+ (lastRetrieved as any).toISOString() :
24245
+ lastRetrieved;
24246
+ }
24247
+
24248
+
24249
+
24250
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24251
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24252
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24253
+
24254
+ return {
24255
+ url: toPathString(localVarUrlObj),
24256
+ options: localVarRequestOptions,
24257
+ };
24258
+ },
24259
+ /**
24260
+ *
24261
+ * @summary Create a faq.
24262
+ * @param {CreateFaqCommand} [createFaqCommand]
24263
+ * @param {*} [options] Override http request option.
24264
+ * @throws {RequiredError}
24265
+ */
24266
+ apiV1FaqsPost: async (createFaqCommand?: CreateFaqCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24267
+ const localVarPath = `/api/v1/faqs`;
24268
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24269
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24270
+ let baseOptions;
24271
+ if (configuration) {
24272
+ baseOptions = configuration.baseOptions;
24273
+ }
24274
+
24275
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
24276
+ const localVarHeaderParameter = {} as any;
24277
+ const localVarQueryParameter = {} as any;
24278
+
24279
+ // authentication oauth2 required
24280
+ // oauth required
24281
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24282
+
24283
+
24284
+
24285
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24286
+
24287
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24288
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24289
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24290
+ localVarRequestOptions.data = serializeDataIfNeeded(createFaqCommand, localVarRequestOptions, configuration)
24291
+
24292
+ return {
24293
+ url: toPathString(localVarUrlObj),
24294
+ options: localVarRequestOptions,
24295
+ };
24296
+ },
24297
+ /**
24298
+ *
24299
+ * @summary Get faq by slug.
24300
+ * @param {string} slug
24301
+ * @param {string} [languageCode]
24302
+ * @param {*} [options] Override http request option.
24303
+ * @throws {RequiredError}
24304
+ */
24305
+ apiV1FaqsSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24306
+ // verify required parameter 'slug' is not null or undefined
24307
+ assertParamExists('apiV1FaqsSlugGet', 'slug', slug)
24308
+ const localVarPath = `/api/v1/faqs/{slug}`
24309
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
24310
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24311
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24312
+ let baseOptions;
24313
+ if (configuration) {
24314
+ baseOptions = configuration.baseOptions;
24315
+ }
24316
+
24317
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
24318
+ const localVarHeaderParameter = {} as any;
24319
+ const localVarQueryParameter = {} as any;
24320
+
24321
+ // authentication oauth2 required
24322
+ // oauth required
24323
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24324
+
24325
+ if (languageCode !== undefined) {
24326
+ localVarQueryParameter['languageCode'] = languageCode;
24327
+ }
24328
+
24329
+
24330
+
24331
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24332
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24333
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24334
+
24335
+ return {
24336
+ url: toPathString(localVarUrlObj),
24337
+ options: localVarRequestOptions,
24338
+ };
24339
+ },
24340
+ }
24341
+ };
24342
+
24343
+ /**
24344
+ * FaqsApi - functional programming interface
24345
+ * @export
24346
+ */
24347
+ export const FaqsApiFp = function(configuration?: Configuration) {
24348
+ const localVarAxiosParamCreator = FaqsApiAxiosParamCreator(configuration)
24349
+ return {
24350
+ /**
24351
+ *
24352
+ * @summary Delete faq.
24353
+ * @param {string} faqId
24354
+ * @param {*} [options] Override http request option.
24355
+ * @throws {RequiredError}
24356
+ */
24357
+ async apiV1FaqsFaqIdDelete(faqId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
24358
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdDelete(faqId, options);
24359
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24360
+ },
24361
+ /**
24362
+ *
24363
+ * @summary Get faq.
24364
+ * @param {string} faqId
24365
+ * @param {string} [languageCode]
24366
+ * @param {*} [options] Override http request option.
24367
+ * @throws {RequiredError}
24368
+ */
24369
+ async apiV1FaqsFaqIdGet(faqId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqModel>> {
24370
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdGet(faqId, languageCode, options);
24371
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24372
+ },
24373
+ /**
24374
+ *
24375
+ * @summary Get all FaqMedias.
24376
+ * @param {string} faqId
24377
+ * @param {string} [id]
24378
+ * @param {MediaType} [mediaType]
24379
+ * @param {number} [page]
24380
+ * @param {number} [limit]
24381
+ * @param {Date} [lastRetrieved]
24382
+ * @param {*} [options] Override http request option.
24383
+ * @throws {RequiredError}
24384
+ */
24385
+ async apiV1FaqsFaqIdMediasGet(faqId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
24386
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdMediasGet(faqId, id, mediaType, page, limit, lastRetrieved, options);
24387
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24388
+ },
24389
+ /**
24390
+ *
24391
+ * @summary Delete FaqMedia
24392
+ * @param {string} faqId
24393
+ * @param {string} mediaId
24394
+ * @param {*} [options] Override http request option.
24395
+ * @throws {RequiredError}
24396
+ */
24397
+ async apiV1FaqsFaqIdMediasMediaIdDelete(faqId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
24398
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdMediasMediaIdDelete(faqId, mediaId, options);
24399
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24400
+ },
24401
+ /**
24402
+ *
24403
+ * @summary Get FaqMedia.
24404
+ * @param {string} faqId
24405
+ * @param {string} mediaId
24406
+ * @param {*} [options] Override http request option.
24407
+ * @throws {RequiredError}
24408
+ */
24409
+ async apiV1FaqsFaqIdMediasMediaIdGet(faqId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
24410
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdMediasMediaIdGet(faqId, mediaId, options);
24411
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24412
+ },
24413
+ /**
24414
+ *
24415
+ * @summary Update FaqMedia.
24416
+ * @param {string} faqId
24417
+ * @param {string} mediaId
24418
+ * @param {UpdateMediaCommand} [updateMediaCommand]
24419
+ * @param {*} [options] Override http request option.
24420
+ * @throws {RequiredError}
24421
+ */
24422
+ async apiV1FaqsFaqIdMediasMediaIdPut(faqId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
24423
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdMediasMediaIdPut(faqId, mediaId, updateMediaCommand, options);
24424
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24425
+ },
24426
+ /**
24427
+ *
24428
+ * @summary Create FaqMedia.
24429
+ * @param {string} faqId
24430
+ * @param {CreateMediaCommand} [createMediaCommand]
24431
+ * @param {*} [options] Override http request option.
24432
+ * @throws {RequiredError}
24433
+ */
24434
+ async apiV1FaqsFaqIdMediasPost(faqId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
24435
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdMediasPost(faqId, createMediaCommand, options);
24436
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24437
+ },
24438
+ /**
24439
+ *
24440
+ * @summary Update faq.
24441
+ * @param {string} faqId
24442
+ * @param {UpdateFaqCommand} [updateFaqCommand]
24443
+ * @param {*} [options] Override http request option.
24444
+ * @throws {RequiredError}
24445
+ */
24446
+ async apiV1FaqsFaqIdPut(faqId: string, updateFaqCommand?: UpdateFaqCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqModel>> {
24447
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdPut(faqId, updateFaqCommand, options);
24448
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24449
+ },
24450
+ /**
24451
+ *
24452
+ * @summary Get all Faqs.
24453
+ * @param {string} [id]
24454
+ * @param {string} [title]
24455
+ * @param {string} [content]
24456
+ * @param {string} [categoryId]
24457
+ * @param {string} [languageCode]
24458
+ * @param {number} [page]
24459
+ * @param {number} [limit]
24460
+ * @param {Date} [lastRetrieved]
24461
+ * @param {*} [options] Override http request option.
24462
+ * @throws {RequiredError}
24463
+ */
24464
+ async apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqsModel>> {
24465
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsGet(id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options);
24466
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24467
+ },
24468
+ /**
24469
+ *
24470
+ * @summary Create a faq.
24471
+ * @param {CreateFaqCommand} [createFaqCommand]
24472
+ * @param {*} [options] Override http request option.
24473
+ * @throws {RequiredError}
24474
+ */
24475
+ async apiV1FaqsPost(createFaqCommand?: CreateFaqCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqModel>> {
24476
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsPost(createFaqCommand, options);
24477
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24478
+ },
24479
+ /**
24480
+ *
24481
+ * @summary Get faq by slug.
24482
+ * @param {string} slug
24483
+ * @param {string} [languageCode]
24484
+ * @param {*} [options] Override http request option.
24485
+ * @throws {RequiredError}
24486
+ */
24487
+ async apiV1FaqsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqModel>> {
24488
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsSlugGet(slug, languageCode, options);
24489
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24490
+ },
24491
+ }
24492
+ };
24493
+
24494
+ /**
24495
+ * FaqsApi - factory interface
24496
+ * @export
24497
+ */
24498
+ export const FaqsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
24499
+ const localVarFp = FaqsApiFp(configuration)
24500
+ return {
24501
+ /**
24502
+ *
24503
+ * @summary Delete faq.
24504
+ * @param {string} faqId
24505
+ * @param {*} [options] Override http request option.
24506
+ * @throws {RequiredError}
24507
+ */
24508
+ apiV1FaqsFaqIdDelete(faqId: string, options?: any): AxiosPromise<boolean> {
24509
+ return localVarFp.apiV1FaqsFaqIdDelete(faqId, options).then((request) => request(axios, basePath));
24510
+ },
24511
+ /**
24512
+ *
24513
+ * @summary Get faq.
24514
+ * @param {string} faqId
24515
+ * @param {string} [languageCode]
24516
+ * @param {*} [options] Override http request option.
24517
+ * @throws {RequiredError}
24518
+ */
24519
+ apiV1FaqsFaqIdGet(faqId: string, languageCode?: string, options?: any): AxiosPromise<FaqModel> {
24520
+ return localVarFp.apiV1FaqsFaqIdGet(faqId, languageCode, options).then((request) => request(axios, basePath));
24521
+ },
24522
+ /**
24523
+ *
24524
+ * @summary Get all FaqMedias.
24525
+ * @param {string} faqId
24526
+ * @param {string} [id]
24527
+ * @param {MediaType} [mediaType]
24528
+ * @param {number} [page]
24529
+ * @param {number} [limit]
24530
+ * @param {Date} [lastRetrieved]
24531
+ * @param {*} [options] Override http request option.
24532
+ * @throws {RequiredError}
24533
+ */
24534
+ apiV1FaqsFaqIdMediasGet(faqId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
24535
+ return localVarFp.apiV1FaqsFaqIdMediasGet(faqId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
24536
+ },
24537
+ /**
24538
+ *
24539
+ * @summary Delete FaqMedia
24540
+ * @param {string} faqId
24541
+ * @param {string} mediaId
24542
+ * @param {*} [options] Override http request option.
24543
+ * @throws {RequiredError}
24544
+ */
24545
+ apiV1FaqsFaqIdMediasMediaIdDelete(faqId: string, mediaId: string, options?: any): AxiosPromise<boolean> {
24546
+ return localVarFp.apiV1FaqsFaqIdMediasMediaIdDelete(faqId, mediaId, options).then((request) => request(axios, basePath));
24547
+ },
24548
+ /**
24549
+ *
24550
+ * @summary Get FaqMedia.
24551
+ * @param {string} faqId
24552
+ * @param {string} mediaId
24553
+ * @param {*} [options] Override http request option.
24554
+ * @throws {RequiredError}
24555
+ */
24556
+ apiV1FaqsFaqIdMediasMediaIdGet(faqId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
24557
+ return localVarFp.apiV1FaqsFaqIdMediasMediaIdGet(faqId, mediaId, options).then((request) => request(axios, basePath));
24558
+ },
24559
+ /**
24560
+ *
24561
+ * @summary Update FaqMedia.
24562
+ * @param {string} faqId
24563
+ * @param {string} mediaId
24564
+ * @param {UpdateMediaCommand} [updateMediaCommand]
24565
+ * @param {*} [options] Override http request option.
24566
+ * @throws {RequiredError}
24567
+ */
24568
+ apiV1FaqsFaqIdMediasMediaIdPut(faqId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: any): AxiosPromise<MediaModel> {
24569
+ return localVarFp.apiV1FaqsFaqIdMediasMediaIdPut(faqId, mediaId, updateMediaCommand, options).then((request) => request(axios, basePath));
24570
+ },
24571
+ /**
24572
+ *
24573
+ * @summary Create FaqMedia.
24574
+ * @param {string} faqId
24575
+ * @param {CreateMediaCommand} [createMediaCommand]
24576
+ * @param {*} [options] Override http request option.
24577
+ * @throws {RequiredError}
24578
+ */
24579
+ apiV1FaqsFaqIdMediasPost(faqId: string, createMediaCommand?: CreateMediaCommand, options?: any): AxiosPromise<MediaModel> {
24580
+ return localVarFp.apiV1FaqsFaqIdMediasPost(faqId, createMediaCommand, options).then((request) => request(axios, basePath));
24581
+ },
24582
+ /**
24583
+ *
24584
+ * @summary Update faq.
24585
+ * @param {string} faqId
24586
+ * @param {UpdateFaqCommand} [updateFaqCommand]
24587
+ * @param {*} [options] Override http request option.
24588
+ * @throws {RequiredError}
24589
+ */
24590
+ apiV1FaqsFaqIdPut(faqId: string, updateFaqCommand?: UpdateFaqCommand, options?: any): AxiosPromise<FaqModel> {
24591
+ return localVarFp.apiV1FaqsFaqIdPut(faqId, updateFaqCommand, options).then((request) => request(axios, basePath));
24592
+ },
24593
+ /**
24594
+ *
24595
+ * @summary Get all Faqs.
24596
+ * @param {string} [id]
24597
+ * @param {string} [title]
24598
+ * @param {string} [content]
24599
+ * @param {string} [categoryId]
24600
+ * @param {string} [languageCode]
24601
+ * @param {number} [page]
24602
+ * @param {number} [limit]
24603
+ * @param {Date} [lastRetrieved]
24604
+ * @param {*} [options] Override http request option.
24605
+ * @throws {RequiredError}
24606
+ */
24607
+ apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<FaqsModel> {
24608
+ return localVarFp.apiV1FaqsGet(id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
24609
+ },
24610
+ /**
24611
+ *
24612
+ * @summary Create a faq.
24613
+ * @param {CreateFaqCommand} [createFaqCommand]
24614
+ * @param {*} [options] Override http request option.
24615
+ * @throws {RequiredError}
24616
+ */
24617
+ apiV1FaqsPost(createFaqCommand?: CreateFaqCommand, options?: any): AxiosPromise<FaqModel> {
24618
+ return localVarFp.apiV1FaqsPost(createFaqCommand, options).then((request) => request(axios, basePath));
24619
+ },
24620
+ /**
24621
+ *
24622
+ * @summary Get faq by slug.
24623
+ * @param {string} slug
24624
+ * @param {string} [languageCode]
24625
+ * @param {*} [options] Override http request option.
24626
+ * @throws {RequiredError}
24627
+ */
24628
+ apiV1FaqsSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<FaqModel> {
24629
+ return localVarFp.apiV1FaqsSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
24630
+ },
24631
+ };
24632
+ };
24633
+
24634
+ /**
24635
+ * FaqsApi - object-oriented interface
24636
+ * @export
24637
+ * @class FaqsApi
24638
+ * @extends {BaseAPI}
24639
+ */
24640
+ export class FaqsApi extends BaseAPI {
24641
+ /**
24642
+ *
24643
+ * @summary Delete faq.
24644
+ * @param {string} faqId
24645
+ * @param {*} [options] Override http request option.
24646
+ * @throws {RequiredError}
24647
+ * @memberof FaqsApi
24648
+ */
24649
+ public apiV1FaqsFaqIdDelete(faqId: string, options?: AxiosRequestConfig) {
24650
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdDelete(faqId, options).then((request) => request(this.axios, this.basePath));
24651
+ }
24652
+
24653
+ /**
24654
+ *
24655
+ * @summary Get faq.
24656
+ * @param {string} faqId
24657
+ * @param {string} [languageCode]
24658
+ * @param {*} [options] Override http request option.
24659
+ * @throws {RequiredError}
24660
+ * @memberof FaqsApi
24661
+ */
24662
+ public apiV1FaqsFaqIdGet(faqId: string, languageCode?: string, options?: AxiosRequestConfig) {
24663
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdGet(faqId, languageCode, options).then((request) => request(this.axios, this.basePath));
24664
+ }
24665
+
24666
+ /**
24667
+ *
24668
+ * @summary Get all FaqMedias.
24669
+ * @param {string} faqId
24670
+ * @param {string} [id]
24671
+ * @param {MediaType} [mediaType]
24672
+ * @param {number} [page]
24673
+ * @param {number} [limit]
24674
+ * @param {Date} [lastRetrieved]
24675
+ * @param {*} [options] Override http request option.
24676
+ * @throws {RequiredError}
24677
+ * @memberof FaqsApi
24678
+ */
24679
+ public apiV1FaqsFaqIdMediasGet(faqId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
24680
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdMediasGet(faqId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
24681
+ }
24682
+
24683
+ /**
24684
+ *
24685
+ * @summary Delete FaqMedia
24686
+ * @param {string} faqId
24687
+ * @param {string} mediaId
24688
+ * @param {*} [options] Override http request option.
24689
+ * @throws {RequiredError}
24690
+ * @memberof FaqsApi
24691
+ */
24692
+ public apiV1FaqsFaqIdMediasMediaIdDelete(faqId: string, mediaId: string, options?: AxiosRequestConfig) {
24693
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdMediasMediaIdDelete(faqId, mediaId, options).then((request) => request(this.axios, this.basePath));
24694
+ }
24695
+
24696
+ /**
24697
+ *
24698
+ * @summary Get FaqMedia.
24699
+ * @param {string} faqId
24700
+ * @param {string} mediaId
24701
+ * @param {*} [options] Override http request option.
24702
+ * @throws {RequiredError}
24703
+ * @memberof FaqsApi
24704
+ */
24705
+ public apiV1FaqsFaqIdMediasMediaIdGet(faqId: string, mediaId: string, options?: AxiosRequestConfig) {
24706
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdMediasMediaIdGet(faqId, mediaId, options).then((request) => request(this.axios, this.basePath));
24707
+ }
24708
+
24709
+ /**
24710
+ *
24711
+ * @summary Update FaqMedia.
24712
+ * @param {string} faqId
24713
+ * @param {string} mediaId
24714
+ * @param {UpdateMediaCommand} [updateMediaCommand]
24715
+ * @param {*} [options] Override http request option.
24716
+ * @throws {RequiredError}
24717
+ * @memberof FaqsApi
24718
+ */
24719
+ public apiV1FaqsFaqIdMediasMediaIdPut(faqId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig) {
24720
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdMediasMediaIdPut(faqId, mediaId, updateMediaCommand, options).then((request) => request(this.axios, this.basePath));
24721
+ }
24722
+
24723
+ /**
24724
+ *
24725
+ * @summary Create FaqMedia.
24726
+ * @param {string} faqId
24727
+ * @param {CreateMediaCommand} [createMediaCommand]
24728
+ * @param {*} [options] Override http request option.
24729
+ * @throws {RequiredError}
24730
+ * @memberof FaqsApi
24731
+ */
24732
+ public apiV1FaqsFaqIdMediasPost(faqId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig) {
24733
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdMediasPost(faqId, createMediaCommand, options).then((request) => request(this.axios, this.basePath));
24734
+ }
24735
+
24736
+ /**
24737
+ *
24738
+ * @summary Update faq.
24739
+ * @param {string} faqId
24740
+ * @param {UpdateFaqCommand} [updateFaqCommand]
24741
+ * @param {*} [options] Override http request option.
24742
+ * @throws {RequiredError}
24743
+ * @memberof FaqsApi
24744
+ */
24745
+ public apiV1FaqsFaqIdPut(faqId: string, updateFaqCommand?: UpdateFaqCommand, options?: AxiosRequestConfig) {
24746
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdPut(faqId, updateFaqCommand, options).then((request) => request(this.axios, this.basePath));
24747
+ }
24748
+
24749
+ /**
24750
+ *
24751
+ * @summary Get all Faqs.
24752
+ * @param {string} [id]
24753
+ * @param {string} [title]
24754
+ * @param {string} [content]
24755
+ * @param {string} [categoryId]
24756
+ * @param {string} [languageCode]
24757
+ * @param {number} [page]
24758
+ * @param {number} [limit]
24759
+ * @param {Date} [lastRetrieved]
24760
+ * @param {*} [options] Override http request option.
24761
+ * @throws {RequiredError}
24762
+ * @memberof FaqsApi
24763
+ */
24764
+ public apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
24765
+ return FaqsApiFp(this.configuration).apiV1FaqsGet(id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
24766
+ }
24767
+
24768
+ /**
24769
+ *
24770
+ * @summary Create a faq.
24771
+ * @param {CreateFaqCommand} [createFaqCommand]
24772
+ * @param {*} [options] Override http request option.
24773
+ * @throws {RequiredError}
24774
+ * @memberof FaqsApi
24775
+ */
24776
+ public apiV1FaqsPost(createFaqCommand?: CreateFaqCommand, options?: AxiosRequestConfig) {
24777
+ return FaqsApiFp(this.configuration).apiV1FaqsPost(createFaqCommand, options).then((request) => request(this.axios, this.basePath));
24778
+ }
24779
+
24780
+ /**
24781
+ *
24782
+ * @summary Get faq by slug.
24783
+ * @param {string} slug
24784
+ * @param {string} [languageCode]
24785
+ * @param {*} [options] Override http request option.
24786
+ * @throws {RequiredError}
24787
+ * @memberof FaqsApi
24788
+ */
24789
+ public apiV1FaqsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
24790
+ return FaqsApiFp(this.configuration).apiV1FaqsSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
24791
+ }
22545
24792
  }
22546
24793
 
22547
24794