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