ch-admin-api-client-typescript 2.8.5 → 2.8.8
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 +635 -5
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +545 -8
- package/package.json +1 -1
- package/src/api.ts +898 -7
package/src/api.ts
CHANGED
|
@@ -3994,6 +3994,18 @@ export interface CreateHospitalServiceCommand {
|
|
|
3994
3994
|
* @memberof CreateHospitalServiceCommand
|
|
3995
3995
|
*/
|
|
3996
3996
|
'order'?: number;
|
|
3997
|
+
/**
|
|
3998
|
+
*
|
|
3999
|
+
* @type {string}
|
|
4000
|
+
* @memberof CreateHospitalServiceCommand
|
|
4001
|
+
*/
|
|
4002
|
+
'photo'?: string | null;
|
|
4003
|
+
/**
|
|
4004
|
+
*
|
|
4005
|
+
* @type {string}
|
|
4006
|
+
* @memberof CreateHospitalServiceCommand
|
|
4007
|
+
*/
|
|
4008
|
+
'photoThumbnail'?: string | null;
|
|
3997
4009
|
}
|
|
3998
4010
|
/**
|
|
3999
4011
|
*
|
|
@@ -4031,6 +4043,30 @@ export interface CreateHospitalSpecialtyCommand {
|
|
|
4031
4043
|
* @memberof CreateHospitalSpecialtyCommand
|
|
4032
4044
|
*/
|
|
4033
4045
|
'order'?: number;
|
|
4046
|
+
/**
|
|
4047
|
+
*
|
|
4048
|
+
* @type {string}
|
|
4049
|
+
* @memberof CreateHospitalSpecialtyCommand
|
|
4050
|
+
*/
|
|
4051
|
+
'photo'?: string | null;
|
|
4052
|
+
/**
|
|
4053
|
+
*
|
|
4054
|
+
* @type {string}
|
|
4055
|
+
* @memberof CreateHospitalSpecialtyCommand
|
|
4056
|
+
*/
|
|
4057
|
+
'photoThumbnail'?: string | null;
|
|
4058
|
+
/**
|
|
4059
|
+
*
|
|
4060
|
+
* @type {string}
|
|
4061
|
+
* @memberof CreateHospitalSpecialtyCommand
|
|
4062
|
+
*/
|
|
4063
|
+
'background'?: string | null;
|
|
4064
|
+
/**
|
|
4065
|
+
*
|
|
4066
|
+
* @type {string}
|
|
4067
|
+
* @memberof CreateHospitalSpecialtyCommand
|
|
4068
|
+
*/
|
|
4069
|
+
'backgroundThumbnail'?: string | null;
|
|
4034
4070
|
/**
|
|
4035
4071
|
*
|
|
4036
4072
|
* @type {Array<MediaModel>}
|
|
@@ -4501,6 +4537,85 @@ export interface CreateTemplateVersionCommand {
|
|
|
4501
4537
|
*/
|
|
4502
4538
|
'htmlContent'?: string | null;
|
|
4503
4539
|
}
|
|
4540
|
+
/**
|
|
4541
|
+
*
|
|
4542
|
+
* @export
|
|
4543
|
+
* @interface DashBoardModel
|
|
4544
|
+
*/
|
|
4545
|
+
export interface DashBoardModel {
|
|
4546
|
+
/**
|
|
4547
|
+
*
|
|
4548
|
+
* @type {number}
|
|
4549
|
+
* @memberof DashBoardModel
|
|
4550
|
+
*/
|
|
4551
|
+
'pendingApprovalConsultationsCount'?: number;
|
|
4552
|
+
/**
|
|
4553
|
+
*
|
|
4554
|
+
* @type {number}
|
|
4555
|
+
* @memberof DashBoardModel
|
|
4556
|
+
*/
|
|
4557
|
+
'finishedConsultationsCount'?: number;
|
|
4558
|
+
/**
|
|
4559
|
+
*
|
|
4560
|
+
* @type {number}
|
|
4561
|
+
* @memberof DashBoardModel
|
|
4562
|
+
*/
|
|
4563
|
+
'consultationsRevenue'?: number;
|
|
4564
|
+
/**
|
|
4565
|
+
*
|
|
4566
|
+
* @type {Array<any>}
|
|
4567
|
+
* @memberof DashBoardModel
|
|
4568
|
+
*/
|
|
4569
|
+
'monthlyConsultationList'?: Array<any> | null;
|
|
4570
|
+
/**
|
|
4571
|
+
*
|
|
4572
|
+
* @type {number}
|
|
4573
|
+
* @memberof DashBoardModel
|
|
4574
|
+
*/
|
|
4575
|
+
'pendingApprovalDealsCount'?: number;
|
|
4576
|
+
/**
|
|
4577
|
+
*
|
|
4578
|
+
* @type {number}
|
|
4579
|
+
* @memberof DashBoardModel
|
|
4580
|
+
*/
|
|
4581
|
+
'finishedDealsCount'?: number;
|
|
4582
|
+
/**
|
|
4583
|
+
*
|
|
4584
|
+
* @type {number}
|
|
4585
|
+
* @memberof DashBoardModel
|
|
4586
|
+
*/
|
|
4587
|
+
'dealsRevenue'?: number;
|
|
4588
|
+
/**
|
|
4589
|
+
*
|
|
4590
|
+
* @type {Array<any>}
|
|
4591
|
+
* @memberof DashBoardModel
|
|
4592
|
+
*/
|
|
4593
|
+
'monthlyBookingList'?: Array<any> | null;
|
|
4594
|
+
/**
|
|
4595
|
+
*
|
|
4596
|
+
* @type {number}
|
|
4597
|
+
* @memberof DashBoardModel
|
|
4598
|
+
*/
|
|
4599
|
+
'articleReleased'?: number;
|
|
4600
|
+
/**
|
|
4601
|
+
*
|
|
4602
|
+
* @type {number}
|
|
4603
|
+
* @memberof DashBoardModel
|
|
4604
|
+
*/
|
|
4605
|
+
'specialtiesUsed'?: number;
|
|
4606
|
+
/**
|
|
4607
|
+
*
|
|
4608
|
+
* @type {number}
|
|
4609
|
+
* @memberof DashBoardModel
|
|
4610
|
+
*/
|
|
4611
|
+
'doctorsReleased'?: number;
|
|
4612
|
+
/**
|
|
4613
|
+
*
|
|
4614
|
+
* @type {number}
|
|
4615
|
+
* @memberof DashBoardModel
|
|
4616
|
+
*/
|
|
4617
|
+
'totalHospitalsReleased'?: number;
|
|
4618
|
+
}
|
|
4504
4619
|
/**
|
|
4505
4620
|
*
|
|
4506
4621
|
* @export
|
|
@@ -4628,6 +4743,67 @@ export interface DealItemModel {
|
|
|
4628
4743
|
*/
|
|
4629
4744
|
'auditableEntity'?: AuditableEntity;
|
|
4630
4745
|
}
|
|
4746
|
+
/**
|
|
4747
|
+
*
|
|
4748
|
+
* @export
|
|
4749
|
+
* @interface DealItemSimpleModel
|
|
4750
|
+
*/
|
|
4751
|
+
export interface DealItemSimpleModel {
|
|
4752
|
+
/**
|
|
4753
|
+
*
|
|
4754
|
+
* @type {string}
|
|
4755
|
+
* @memberof DealItemSimpleModel
|
|
4756
|
+
*/
|
|
4757
|
+
'id'?: string;
|
|
4758
|
+
/**
|
|
4759
|
+
*
|
|
4760
|
+
* @type {string}
|
|
4761
|
+
* @memberof DealItemSimpleModel
|
|
4762
|
+
*/
|
|
4763
|
+
'name'?: string | null;
|
|
4764
|
+
/**
|
|
4765
|
+
*
|
|
4766
|
+
* @type {string}
|
|
4767
|
+
* @memberof DealItemSimpleModel
|
|
4768
|
+
*/
|
|
4769
|
+
'normalizedName'?: string | null;
|
|
4770
|
+
/**
|
|
4771
|
+
*
|
|
4772
|
+
* @type {string}
|
|
4773
|
+
* @memberof DealItemSimpleModel
|
|
4774
|
+
*/
|
|
4775
|
+
'slug'?: string | null;
|
|
4776
|
+
/**
|
|
4777
|
+
*
|
|
4778
|
+
* @type {string}
|
|
4779
|
+
* @memberof DealItemSimpleModel
|
|
4780
|
+
*/
|
|
4781
|
+
'hospitalId'?: string;
|
|
4782
|
+
/**
|
|
4783
|
+
*
|
|
4784
|
+
* @type {string}
|
|
4785
|
+
* @memberof DealItemSimpleModel
|
|
4786
|
+
*/
|
|
4787
|
+
'hospitalName'?: string | null;
|
|
4788
|
+
/**
|
|
4789
|
+
*
|
|
4790
|
+
* @type {Array<LocalizedUrlModel>}
|
|
4791
|
+
* @memberof DealItemSimpleModel
|
|
4792
|
+
*/
|
|
4793
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
4794
|
+
/**
|
|
4795
|
+
*
|
|
4796
|
+
* @type {boolean}
|
|
4797
|
+
* @memberof DealItemSimpleModel
|
|
4798
|
+
*/
|
|
4799
|
+
'confirmed'?: boolean;
|
|
4800
|
+
/**
|
|
4801
|
+
*
|
|
4802
|
+
* @type {AuditableEntity}
|
|
4803
|
+
* @memberof DealItemSimpleModel
|
|
4804
|
+
*/
|
|
4805
|
+
'auditableEntity'?: AuditableEntity;
|
|
4806
|
+
}
|
|
4631
4807
|
/**
|
|
4632
4808
|
*
|
|
4633
4809
|
* @export
|
|
@@ -5050,6 +5226,25 @@ export interface DealsModel {
|
|
|
5050
5226
|
*/
|
|
5051
5227
|
'metaData'?: PagedListMetaData;
|
|
5052
5228
|
}
|
|
5229
|
+
/**
|
|
5230
|
+
*
|
|
5231
|
+
* @export
|
|
5232
|
+
* @interface DealsSimpleModel
|
|
5233
|
+
*/
|
|
5234
|
+
export interface DealsSimpleModel {
|
|
5235
|
+
/**
|
|
5236
|
+
*
|
|
5237
|
+
* @type {Array<DealItemSimpleModel>}
|
|
5238
|
+
* @memberof DealsSimpleModel
|
|
5239
|
+
*/
|
|
5240
|
+
'items'?: Array<DealItemSimpleModel> | null;
|
|
5241
|
+
/**
|
|
5242
|
+
*
|
|
5243
|
+
* @type {PagedListMetaData}
|
|
5244
|
+
* @memberof DealsSimpleModel
|
|
5245
|
+
*/
|
|
5246
|
+
'metaData'?: PagedListMetaData;
|
|
5247
|
+
}
|
|
5053
5248
|
/**
|
|
5054
5249
|
*
|
|
5055
5250
|
* @export
|
|
@@ -5988,6 +6183,20 @@ export interface DoctorsSimpleModel {
|
|
|
5988
6183
|
*/
|
|
5989
6184
|
'metaData'?: PagedListMetaData;
|
|
5990
6185
|
}
|
|
6186
|
+
/**
|
|
6187
|
+
*
|
|
6188
|
+
* @export
|
|
6189
|
+
* @enum {string}
|
|
6190
|
+
*/
|
|
6191
|
+
|
|
6192
|
+
export enum Duration {
|
|
6193
|
+
CurrentMonth = 'Current_Month',
|
|
6194
|
+
Last3Month = 'Last_3_Month',
|
|
6195
|
+
Last6Month = 'Last_6_Month',
|
|
6196
|
+
Last9Month = 'Last_9_Month',
|
|
6197
|
+
Last12Month = 'Last_12_Month'
|
|
6198
|
+
}
|
|
6199
|
+
|
|
5991
6200
|
/**
|
|
5992
6201
|
*
|
|
5993
6202
|
* @export
|
|
@@ -7226,6 +7435,18 @@ export interface HospitalServiceItemModel {
|
|
|
7226
7435
|
* @memberof HospitalServiceItemModel
|
|
7227
7436
|
*/
|
|
7228
7437
|
'confirmed'?: boolean;
|
|
7438
|
+
/**
|
|
7439
|
+
*
|
|
7440
|
+
* @type {string}
|
|
7441
|
+
* @memberof HospitalServiceItemModel
|
|
7442
|
+
*/
|
|
7443
|
+
'photo'?: string | null;
|
|
7444
|
+
/**
|
|
7445
|
+
*
|
|
7446
|
+
* @type {string}
|
|
7447
|
+
* @memberof HospitalServiceItemModel
|
|
7448
|
+
*/
|
|
7449
|
+
'photoThumbnail'?: string | null;
|
|
7229
7450
|
/**
|
|
7230
7451
|
*
|
|
7231
7452
|
* @type {AuditableEntity}
|
|
@@ -7365,6 +7586,18 @@ export interface HospitalServiceModel {
|
|
|
7365
7586
|
* @memberof HospitalServiceModel
|
|
7366
7587
|
*/
|
|
7367
7588
|
'confirmed'?: boolean;
|
|
7589
|
+
/**
|
|
7590
|
+
*
|
|
7591
|
+
* @type {string}
|
|
7592
|
+
* @memberof HospitalServiceModel
|
|
7593
|
+
*/
|
|
7594
|
+
'photo'?: string | null;
|
|
7595
|
+
/**
|
|
7596
|
+
*
|
|
7597
|
+
* @type {string}
|
|
7598
|
+
* @memberof HospitalServiceModel
|
|
7599
|
+
*/
|
|
7600
|
+
'photoThumbnail'?: string | null;
|
|
7368
7601
|
/**
|
|
7369
7602
|
*
|
|
7370
7603
|
* @type {AuditableEntity}
|
|
@@ -7441,6 +7674,25 @@ export interface HospitalSpecialtiesModel {
|
|
|
7441
7674
|
*/
|
|
7442
7675
|
'metaData'?: PagedListMetaData;
|
|
7443
7676
|
}
|
|
7677
|
+
/**
|
|
7678
|
+
*
|
|
7679
|
+
* @export
|
|
7680
|
+
* @interface HospitalSpecialtiesSimpleModel
|
|
7681
|
+
*/
|
|
7682
|
+
export interface HospitalSpecialtiesSimpleModel {
|
|
7683
|
+
/**
|
|
7684
|
+
*
|
|
7685
|
+
* @type {Array<HospitalSpecialtySimpleItemModel>}
|
|
7686
|
+
* @memberof HospitalSpecialtiesSimpleModel
|
|
7687
|
+
*/
|
|
7688
|
+
'items'?: Array<HospitalSpecialtySimpleItemModel> | null;
|
|
7689
|
+
/**
|
|
7690
|
+
*
|
|
7691
|
+
* @type {PagedListMetaData}
|
|
7692
|
+
* @memberof HospitalSpecialtiesSimpleModel
|
|
7693
|
+
*/
|
|
7694
|
+
'metaData'?: PagedListMetaData;
|
|
7695
|
+
}
|
|
7444
7696
|
/**
|
|
7445
7697
|
*
|
|
7446
7698
|
* @export
|
|
@@ -7555,6 +7807,30 @@ export interface HospitalSpecialtyItemModel {
|
|
|
7555
7807
|
* @memberof HospitalSpecialtyItemModel
|
|
7556
7808
|
*/
|
|
7557
7809
|
'confirmed'?: boolean;
|
|
7810
|
+
/**
|
|
7811
|
+
*
|
|
7812
|
+
* @type {string}
|
|
7813
|
+
* @memberof HospitalSpecialtyItemModel
|
|
7814
|
+
*/
|
|
7815
|
+
'photo'?: string | null;
|
|
7816
|
+
/**
|
|
7817
|
+
*
|
|
7818
|
+
* @type {string}
|
|
7819
|
+
* @memberof HospitalSpecialtyItemModel
|
|
7820
|
+
*/
|
|
7821
|
+
'photoThumbnail'?: string | null;
|
|
7822
|
+
/**
|
|
7823
|
+
*
|
|
7824
|
+
* @type {string}
|
|
7825
|
+
* @memberof HospitalSpecialtyItemModel
|
|
7826
|
+
*/
|
|
7827
|
+
'background'?: string | null;
|
|
7828
|
+
/**
|
|
7829
|
+
*
|
|
7830
|
+
* @type {string}
|
|
7831
|
+
* @memberof HospitalSpecialtyItemModel
|
|
7832
|
+
*/
|
|
7833
|
+
'backgroundThumbnail'?: string | null;
|
|
7558
7834
|
/**
|
|
7559
7835
|
*
|
|
7560
7836
|
* @type {Array<MediaModel>}
|
|
@@ -7682,6 +7958,30 @@ export interface HospitalSpecialtyModel {
|
|
|
7682
7958
|
* @memberof HospitalSpecialtyModel
|
|
7683
7959
|
*/
|
|
7684
7960
|
'confirmed'?: boolean;
|
|
7961
|
+
/**
|
|
7962
|
+
*
|
|
7963
|
+
* @type {string}
|
|
7964
|
+
* @memberof HospitalSpecialtyModel
|
|
7965
|
+
*/
|
|
7966
|
+
'photo'?: string | null;
|
|
7967
|
+
/**
|
|
7968
|
+
*
|
|
7969
|
+
* @type {string}
|
|
7970
|
+
* @memberof HospitalSpecialtyModel
|
|
7971
|
+
*/
|
|
7972
|
+
'photoThumbnail'?: string | null;
|
|
7973
|
+
/**
|
|
7974
|
+
*
|
|
7975
|
+
* @type {string}
|
|
7976
|
+
* @memberof HospitalSpecialtyModel
|
|
7977
|
+
*/
|
|
7978
|
+
'background'?: string | null;
|
|
7979
|
+
/**
|
|
7980
|
+
*
|
|
7981
|
+
* @type {string}
|
|
7982
|
+
* @memberof HospitalSpecialtyModel
|
|
7983
|
+
*/
|
|
7984
|
+
'backgroundThumbnail'?: string | null;
|
|
7685
7985
|
/**
|
|
7686
7986
|
*
|
|
7687
7987
|
* @type {Array<MediaModel>}
|
|
@@ -7701,6 +8001,49 @@ export interface HospitalSpecialtyModel {
|
|
|
7701
8001
|
*/
|
|
7702
8002
|
'languageCode'?: string | null;
|
|
7703
8003
|
}
|
|
8004
|
+
/**
|
|
8005
|
+
*
|
|
8006
|
+
* @export
|
|
8007
|
+
* @interface HospitalSpecialtySimpleItemModel
|
|
8008
|
+
*/
|
|
8009
|
+
export interface HospitalSpecialtySimpleItemModel {
|
|
8010
|
+
/**
|
|
8011
|
+
*
|
|
8012
|
+
* @type {string}
|
|
8013
|
+
* @memberof HospitalSpecialtySimpleItemModel
|
|
8014
|
+
*/
|
|
8015
|
+
'id'?: string;
|
|
8016
|
+
/**
|
|
8017
|
+
*
|
|
8018
|
+
* @type {string}
|
|
8019
|
+
* @memberof HospitalSpecialtySimpleItemModel
|
|
8020
|
+
*/
|
|
8021
|
+
'specialtyName'?: string | null;
|
|
8022
|
+
/**
|
|
8023
|
+
*
|
|
8024
|
+
* @type {string}
|
|
8025
|
+
* @memberof HospitalSpecialtySimpleItemModel
|
|
8026
|
+
*/
|
|
8027
|
+
'hospitalSpecialtySlug'?: string | null;
|
|
8028
|
+
/**
|
|
8029
|
+
*
|
|
8030
|
+
* @type {string}
|
|
8031
|
+
* @memberof HospitalSpecialtySimpleItemModel
|
|
8032
|
+
*/
|
|
8033
|
+
'description'?: string | null;
|
|
8034
|
+
/**
|
|
8035
|
+
*
|
|
8036
|
+
* @type {number}
|
|
8037
|
+
* @memberof HospitalSpecialtySimpleItemModel
|
|
8038
|
+
*/
|
|
8039
|
+
'order'?: number;
|
|
8040
|
+
/**
|
|
8041
|
+
*
|
|
8042
|
+
* @type {boolean}
|
|
8043
|
+
* @memberof HospitalSpecialtySimpleItemModel
|
|
8044
|
+
*/
|
|
8045
|
+
'confirmed'?: boolean;
|
|
8046
|
+
}
|
|
7704
8047
|
/**
|
|
7705
8048
|
*
|
|
7706
8049
|
* @export
|
|
@@ -11468,6 +11811,18 @@ export interface UpdateHospitalServiceCommand {
|
|
|
11468
11811
|
* @memberof UpdateHospitalServiceCommand
|
|
11469
11812
|
*/
|
|
11470
11813
|
'confirmed'?: boolean;
|
|
11814
|
+
/**
|
|
11815
|
+
*
|
|
11816
|
+
* @type {string}
|
|
11817
|
+
* @memberof UpdateHospitalServiceCommand
|
|
11818
|
+
*/
|
|
11819
|
+
'photo'?: string | null;
|
|
11820
|
+
/**
|
|
11821
|
+
*
|
|
11822
|
+
* @type {string}
|
|
11823
|
+
* @memberof UpdateHospitalServiceCommand
|
|
11824
|
+
*/
|
|
11825
|
+
'photoThumbnail'?: string | null;
|
|
11471
11826
|
}
|
|
11472
11827
|
/**
|
|
11473
11828
|
*
|
|
@@ -11517,6 +11872,30 @@ export interface UpdateHospitalSpecialtyCommand {
|
|
|
11517
11872
|
* @memberof UpdateHospitalSpecialtyCommand
|
|
11518
11873
|
*/
|
|
11519
11874
|
'confirmed'?: boolean;
|
|
11875
|
+
/**
|
|
11876
|
+
*
|
|
11877
|
+
* @type {string}
|
|
11878
|
+
* @memberof UpdateHospitalSpecialtyCommand
|
|
11879
|
+
*/
|
|
11880
|
+
'photo'?: string | null;
|
|
11881
|
+
/**
|
|
11882
|
+
*
|
|
11883
|
+
* @type {string}
|
|
11884
|
+
* @memberof UpdateHospitalSpecialtyCommand
|
|
11885
|
+
*/
|
|
11886
|
+
'photoThumbnail'?: string | null;
|
|
11887
|
+
/**
|
|
11888
|
+
*
|
|
11889
|
+
* @type {string}
|
|
11890
|
+
* @memberof UpdateHospitalSpecialtyCommand
|
|
11891
|
+
*/
|
|
11892
|
+
'background'?: string | null;
|
|
11893
|
+
/**
|
|
11894
|
+
*
|
|
11895
|
+
* @type {string}
|
|
11896
|
+
* @memberof UpdateHospitalSpecialtyCommand
|
|
11897
|
+
*/
|
|
11898
|
+
'backgroundThumbnail'?: string | null;
|
|
11520
11899
|
/**
|
|
11521
11900
|
*
|
|
11522
11901
|
* @type {Array<MediaModel>}
|
|
@@ -19960,6 +20339,115 @@ export class CountriesApi extends BaseAPI {
|
|
|
19960
20339
|
}
|
|
19961
20340
|
|
|
19962
20341
|
|
|
20342
|
+
/**
|
|
20343
|
+
* DashBoardApi - axios parameter creator
|
|
20344
|
+
* @export
|
|
20345
|
+
*/
|
|
20346
|
+
export const DashBoardApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
20347
|
+
return {
|
|
20348
|
+
/**
|
|
20349
|
+
*
|
|
20350
|
+
* @summary Create a DashBoard.
|
|
20351
|
+
* @param {Duration} duration
|
|
20352
|
+
* @param {*} [options] Override http request option.
|
|
20353
|
+
* @throws {RequiredError}
|
|
20354
|
+
*/
|
|
20355
|
+
apiV1DashboardDurationGet: async (duration: Duration, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20356
|
+
// verify required parameter 'duration' is not null or undefined
|
|
20357
|
+
assertParamExists('apiV1DashboardDurationGet', 'duration', duration)
|
|
20358
|
+
const localVarPath = `/api/v1/dashboard/{duration}`
|
|
20359
|
+
.replace(`{${"duration"}}`, encodeURIComponent(String(duration)));
|
|
20360
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20361
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20362
|
+
let baseOptions;
|
|
20363
|
+
if (configuration) {
|
|
20364
|
+
baseOptions = configuration.baseOptions;
|
|
20365
|
+
}
|
|
20366
|
+
|
|
20367
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
20368
|
+
const localVarHeaderParameter = {} as any;
|
|
20369
|
+
const localVarQueryParameter = {} as any;
|
|
20370
|
+
|
|
20371
|
+
// authentication oauth2 required
|
|
20372
|
+
// oauth required
|
|
20373
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
20374
|
+
|
|
20375
|
+
|
|
20376
|
+
|
|
20377
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20378
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20379
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20380
|
+
|
|
20381
|
+
return {
|
|
20382
|
+
url: toPathString(localVarUrlObj),
|
|
20383
|
+
options: localVarRequestOptions,
|
|
20384
|
+
};
|
|
20385
|
+
},
|
|
20386
|
+
}
|
|
20387
|
+
};
|
|
20388
|
+
|
|
20389
|
+
/**
|
|
20390
|
+
* DashBoardApi - functional programming interface
|
|
20391
|
+
* @export
|
|
20392
|
+
*/
|
|
20393
|
+
export const DashBoardApiFp = function(configuration?: Configuration) {
|
|
20394
|
+
const localVarAxiosParamCreator = DashBoardApiAxiosParamCreator(configuration)
|
|
20395
|
+
return {
|
|
20396
|
+
/**
|
|
20397
|
+
*
|
|
20398
|
+
* @summary Create a DashBoard.
|
|
20399
|
+
* @param {Duration} duration
|
|
20400
|
+
* @param {*} [options] Override http request option.
|
|
20401
|
+
* @throws {RequiredError}
|
|
20402
|
+
*/
|
|
20403
|
+
async apiV1DashboardDurationGet(duration: Duration, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DashBoardModel>> {
|
|
20404
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DashboardDurationGet(duration, options);
|
|
20405
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
20406
|
+
},
|
|
20407
|
+
}
|
|
20408
|
+
};
|
|
20409
|
+
|
|
20410
|
+
/**
|
|
20411
|
+
* DashBoardApi - factory interface
|
|
20412
|
+
* @export
|
|
20413
|
+
*/
|
|
20414
|
+
export const DashBoardApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
20415
|
+
const localVarFp = DashBoardApiFp(configuration)
|
|
20416
|
+
return {
|
|
20417
|
+
/**
|
|
20418
|
+
*
|
|
20419
|
+
* @summary Create a DashBoard.
|
|
20420
|
+
* @param {Duration} duration
|
|
20421
|
+
* @param {*} [options] Override http request option.
|
|
20422
|
+
* @throws {RequiredError}
|
|
20423
|
+
*/
|
|
20424
|
+
apiV1DashboardDurationGet(duration: Duration, options?: any): AxiosPromise<DashBoardModel> {
|
|
20425
|
+
return localVarFp.apiV1DashboardDurationGet(duration, options).then((request) => request(axios, basePath));
|
|
20426
|
+
},
|
|
20427
|
+
};
|
|
20428
|
+
};
|
|
20429
|
+
|
|
20430
|
+
/**
|
|
20431
|
+
* DashBoardApi - object-oriented interface
|
|
20432
|
+
* @export
|
|
20433
|
+
* @class DashBoardApi
|
|
20434
|
+
* @extends {BaseAPI}
|
|
20435
|
+
*/
|
|
20436
|
+
export class DashBoardApi extends BaseAPI {
|
|
20437
|
+
/**
|
|
20438
|
+
*
|
|
20439
|
+
* @summary Create a DashBoard.
|
|
20440
|
+
* @param {Duration} duration
|
|
20441
|
+
* @param {*} [options] Override http request option.
|
|
20442
|
+
* @throws {RequiredError}
|
|
20443
|
+
* @memberof DashBoardApi
|
|
20444
|
+
*/
|
|
20445
|
+
public apiV1DashboardDurationGet(duration: Duration, options?: AxiosRequestConfig) {
|
|
20446
|
+
return DashBoardApiFp(this.configuration).apiV1DashboardDurationGet(duration, options).then((request) => request(this.axios, this.basePath));
|
|
20447
|
+
}
|
|
20448
|
+
}
|
|
20449
|
+
|
|
20450
|
+
|
|
19963
20451
|
/**
|
|
19964
20452
|
* DealsApi - axios parameter creator
|
|
19965
20453
|
* @export
|
|
@@ -20742,6 +21230,132 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
20742
21230
|
options: localVarRequestOptions,
|
|
20743
21231
|
};
|
|
20744
21232
|
},
|
|
21233
|
+
/**
|
|
21234
|
+
*
|
|
21235
|
+
* @summary Get all deals.
|
|
21236
|
+
* @param {string} [id]
|
|
21237
|
+
* @param {string} [name]
|
|
21238
|
+
* @param {MarketingType} [marketingType]
|
|
21239
|
+
* @param {string} [countryId]
|
|
21240
|
+
* @param {string} [hospitalId]
|
|
21241
|
+
* @param {string} [hospitalName]
|
|
21242
|
+
* @param {string} [specialtyId]
|
|
21243
|
+
* @param {string} [specialtyTypeId]
|
|
21244
|
+
* @param {string} [serviceId]
|
|
21245
|
+
* @param {string} [exceptHospitalId]
|
|
21246
|
+
* @param {string} [exceptDealId]
|
|
21247
|
+
* @param {Array<string>} [ids]
|
|
21248
|
+
* @param {string} [languageCode]
|
|
21249
|
+
* @param {boolean} [showHidden]
|
|
21250
|
+
* @param {boolean} [returnDefaultValue]
|
|
21251
|
+
* @param {number} [page]
|
|
21252
|
+
* @param {number} [limit]
|
|
21253
|
+
* @param {Date} [lastRetrieved]
|
|
21254
|
+
* @param {*} [options] Override http request option.
|
|
21255
|
+
* @throws {RequiredError}
|
|
21256
|
+
*/
|
|
21257
|
+
apiV1DealsSimpleGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21258
|
+
const localVarPath = `/api/v1/deals/simple`;
|
|
21259
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21260
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21261
|
+
let baseOptions;
|
|
21262
|
+
if (configuration) {
|
|
21263
|
+
baseOptions = configuration.baseOptions;
|
|
21264
|
+
}
|
|
21265
|
+
|
|
21266
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
21267
|
+
const localVarHeaderParameter = {} as any;
|
|
21268
|
+
const localVarQueryParameter = {} as any;
|
|
21269
|
+
|
|
21270
|
+
// authentication oauth2 required
|
|
21271
|
+
// oauth required
|
|
21272
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
21273
|
+
|
|
21274
|
+
if (id !== undefined) {
|
|
21275
|
+
localVarQueryParameter['Id'] = id;
|
|
21276
|
+
}
|
|
21277
|
+
|
|
21278
|
+
if (name !== undefined) {
|
|
21279
|
+
localVarQueryParameter['Name'] = name;
|
|
21280
|
+
}
|
|
21281
|
+
|
|
21282
|
+
if (marketingType !== undefined) {
|
|
21283
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
21284
|
+
}
|
|
21285
|
+
|
|
21286
|
+
if (countryId !== undefined) {
|
|
21287
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
21288
|
+
}
|
|
21289
|
+
|
|
21290
|
+
if (hospitalId !== undefined) {
|
|
21291
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
21292
|
+
}
|
|
21293
|
+
|
|
21294
|
+
if (hospitalName !== undefined) {
|
|
21295
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
21296
|
+
}
|
|
21297
|
+
|
|
21298
|
+
if (specialtyId !== undefined) {
|
|
21299
|
+
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
21300
|
+
}
|
|
21301
|
+
|
|
21302
|
+
if (specialtyTypeId !== undefined) {
|
|
21303
|
+
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
21304
|
+
}
|
|
21305
|
+
|
|
21306
|
+
if (serviceId !== undefined) {
|
|
21307
|
+
localVarQueryParameter['ServiceId'] = serviceId;
|
|
21308
|
+
}
|
|
21309
|
+
|
|
21310
|
+
if (exceptHospitalId !== undefined) {
|
|
21311
|
+
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
21312
|
+
}
|
|
21313
|
+
|
|
21314
|
+
if (exceptDealId !== undefined) {
|
|
21315
|
+
localVarQueryParameter['ExceptDealId'] = exceptDealId;
|
|
21316
|
+
}
|
|
21317
|
+
|
|
21318
|
+
if (ids) {
|
|
21319
|
+
localVarQueryParameter['Ids'] = ids;
|
|
21320
|
+
}
|
|
21321
|
+
|
|
21322
|
+
if (languageCode !== undefined) {
|
|
21323
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
21324
|
+
}
|
|
21325
|
+
|
|
21326
|
+
if (showHidden !== undefined) {
|
|
21327
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
21328
|
+
}
|
|
21329
|
+
|
|
21330
|
+
if (returnDefaultValue !== undefined) {
|
|
21331
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
21332
|
+
}
|
|
21333
|
+
|
|
21334
|
+
if (page !== undefined) {
|
|
21335
|
+
localVarQueryParameter['page'] = page;
|
|
21336
|
+
}
|
|
21337
|
+
|
|
21338
|
+
if (limit !== undefined) {
|
|
21339
|
+
localVarQueryParameter['limit'] = limit;
|
|
21340
|
+
}
|
|
21341
|
+
|
|
21342
|
+
if (lastRetrieved !== undefined) {
|
|
21343
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
21344
|
+
(lastRetrieved as any).toISOString() :
|
|
21345
|
+
lastRetrieved;
|
|
21346
|
+
}
|
|
21347
|
+
|
|
21348
|
+
|
|
21349
|
+
|
|
21350
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21351
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21352
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21353
|
+
|
|
21354
|
+
return {
|
|
21355
|
+
url: toPathString(localVarUrlObj),
|
|
21356
|
+
options: localVarRequestOptions,
|
|
21357
|
+
};
|
|
21358
|
+
},
|
|
20745
21359
|
/**
|
|
20746
21360
|
*
|
|
20747
21361
|
* @summary Get deal by slug.
|
|
@@ -21007,6 +21621,34 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
21007
21621
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsPost(createDealCommand, options);
|
|
21008
21622
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21009
21623
|
},
|
|
21624
|
+
/**
|
|
21625
|
+
*
|
|
21626
|
+
* @summary Get all deals.
|
|
21627
|
+
* @param {string} [id]
|
|
21628
|
+
* @param {string} [name]
|
|
21629
|
+
* @param {MarketingType} [marketingType]
|
|
21630
|
+
* @param {string} [countryId]
|
|
21631
|
+
* @param {string} [hospitalId]
|
|
21632
|
+
* @param {string} [hospitalName]
|
|
21633
|
+
* @param {string} [specialtyId]
|
|
21634
|
+
* @param {string} [specialtyTypeId]
|
|
21635
|
+
* @param {string} [serviceId]
|
|
21636
|
+
* @param {string} [exceptHospitalId]
|
|
21637
|
+
* @param {string} [exceptDealId]
|
|
21638
|
+
* @param {Array<string>} [ids]
|
|
21639
|
+
* @param {string} [languageCode]
|
|
21640
|
+
* @param {boolean} [showHidden]
|
|
21641
|
+
* @param {boolean} [returnDefaultValue]
|
|
21642
|
+
* @param {number} [page]
|
|
21643
|
+
* @param {number} [limit]
|
|
21644
|
+
* @param {Date} [lastRetrieved]
|
|
21645
|
+
* @param {*} [options] Override http request option.
|
|
21646
|
+
* @throws {RequiredError}
|
|
21647
|
+
*/
|
|
21648
|
+
async apiV1DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsSimpleModel>> {
|
|
21649
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
21650
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21651
|
+
},
|
|
21010
21652
|
/**
|
|
21011
21653
|
*
|
|
21012
21654
|
* @summary Get deal by slug.
|
|
@@ -21222,6 +21864,33 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
21222
21864
|
apiV1DealsPost(createDealCommand?: CreateDealCommand, options?: any): AxiosPromise<DealModel> {
|
|
21223
21865
|
return localVarFp.apiV1DealsPost(createDealCommand, options).then((request) => request(axios, basePath));
|
|
21224
21866
|
},
|
|
21867
|
+
/**
|
|
21868
|
+
*
|
|
21869
|
+
* @summary Get all deals.
|
|
21870
|
+
* @param {string} [id]
|
|
21871
|
+
* @param {string} [name]
|
|
21872
|
+
* @param {MarketingType} [marketingType]
|
|
21873
|
+
* @param {string} [countryId]
|
|
21874
|
+
* @param {string} [hospitalId]
|
|
21875
|
+
* @param {string} [hospitalName]
|
|
21876
|
+
* @param {string} [specialtyId]
|
|
21877
|
+
* @param {string} [specialtyTypeId]
|
|
21878
|
+
* @param {string} [serviceId]
|
|
21879
|
+
* @param {string} [exceptHospitalId]
|
|
21880
|
+
* @param {string} [exceptDealId]
|
|
21881
|
+
* @param {Array<string>} [ids]
|
|
21882
|
+
* @param {string} [languageCode]
|
|
21883
|
+
* @param {boolean} [showHidden]
|
|
21884
|
+
* @param {boolean} [returnDefaultValue]
|
|
21885
|
+
* @param {number} [page]
|
|
21886
|
+
* @param {number} [limit]
|
|
21887
|
+
* @param {Date} [lastRetrieved]
|
|
21888
|
+
* @param {*} [options] Override http request option.
|
|
21889
|
+
* @throws {RequiredError}
|
|
21890
|
+
*/
|
|
21891
|
+
apiV1DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsSimpleModel> {
|
|
21892
|
+
return localVarFp.apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
21893
|
+
},
|
|
21225
21894
|
/**
|
|
21226
21895
|
*
|
|
21227
21896
|
* @summary Get deal by slug.
|
|
@@ -21466,6 +22135,35 @@ export class DealsApi extends BaseAPI {
|
|
|
21466
22135
|
return DealsApiFp(this.configuration).apiV1DealsPost(createDealCommand, options).then((request) => request(this.axios, this.basePath));
|
|
21467
22136
|
}
|
|
21468
22137
|
|
|
22138
|
+
/**
|
|
22139
|
+
*
|
|
22140
|
+
* @summary Get all deals.
|
|
22141
|
+
* @param {string} [id]
|
|
22142
|
+
* @param {string} [name]
|
|
22143
|
+
* @param {MarketingType} [marketingType]
|
|
22144
|
+
* @param {string} [countryId]
|
|
22145
|
+
* @param {string} [hospitalId]
|
|
22146
|
+
* @param {string} [hospitalName]
|
|
22147
|
+
* @param {string} [specialtyId]
|
|
22148
|
+
* @param {string} [specialtyTypeId]
|
|
22149
|
+
* @param {string} [serviceId]
|
|
22150
|
+
* @param {string} [exceptHospitalId]
|
|
22151
|
+
* @param {string} [exceptDealId]
|
|
22152
|
+
* @param {Array<string>} [ids]
|
|
22153
|
+
* @param {string} [languageCode]
|
|
22154
|
+
* @param {boolean} [showHidden]
|
|
22155
|
+
* @param {boolean} [returnDefaultValue]
|
|
22156
|
+
* @param {number} [page]
|
|
22157
|
+
* @param {number} [limit]
|
|
22158
|
+
* @param {Date} [lastRetrieved]
|
|
22159
|
+
* @param {*} [options] Override http request option.
|
|
22160
|
+
* @throws {RequiredError}
|
|
22161
|
+
* @memberof DealsApi
|
|
22162
|
+
*/
|
|
22163
|
+
public apiV1DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
22164
|
+
return DealsApiFp(this.configuration).apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
22165
|
+
}
|
|
22166
|
+
|
|
21469
22167
|
/**
|
|
21470
22168
|
*
|
|
21471
22169
|
* @summary Get deal by slug.
|
|
@@ -28595,6 +29293,116 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
28595
29293
|
options: localVarRequestOptions,
|
|
28596
29294
|
};
|
|
28597
29295
|
},
|
|
29296
|
+
/**
|
|
29297
|
+
*
|
|
29298
|
+
* @summary Get all HospitalSpecialties.
|
|
29299
|
+
* @param {string} hospitalId
|
|
29300
|
+
* @param {string} [hospitalName]
|
|
29301
|
+
* @param {string} [hospitalSlug]
|
|
29302
|
+
* @param {string} [specialtyId]
|
|
29303
|
+
* @param {string} [specialtyName]
|
|
29304
|
+
* @param {string} [specialtyTypeId]
|
|
29305
|
+
* @param {string} [title]
|
|
29306
|
+
* @param {MarketingType} [marketingType]
|
|
29307
|
+
* @param {string} [languageCode]
|
|
29308
|
+
* @param {boolean} [showHidden]
|
|
29309
|
+
* @param {boolean} [returnDefaultValue]
|
|
29310
|
+
* @param {boolean} [includeServices]
|
|
29311
|
+
* @param {number} [page]
|
|
29312
|
+
* @param {number} [limit]
|
|
29313
|
+
* @param {Date} [lastRetrieved]
|
|
29314
|
+
* @param {*} [options] Override http request option.
|
|
29315
|
+
* @throws {RequiredError}
|
|
29316
|
+
*/
|
|
29317
|
+
apiV1HospitalsHospitalIdSpecialtiesSimpleGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29318
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
29319
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSimpleGet', 'hospitalId', hospitalId)
|
|
29320
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/simple`
|
|
29321
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
29322
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29323
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29324
|
+
let baseOptions;
|
|
29325
|
+
if (configuration) {
|
|
29326
|
+
baseOptions = configuration.baseOptions;
|
|
29327
|
+
}
|
|
29328
|
+
|
|
29329
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29330
|
+
const localVarHeaderParameter = {} as any;
|
|
29331
|
+
const localVarQueryParameter = {} as any;
|
|
29332
|
+
|
|
29333
|
+
// authentication oauth2 required
|
|
29334
|
+
// oauth required
|
|
29335
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
29336
|
+
|
|
29337
|
+
if (hospitalName !== undefined) {
|
|
29338
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
29339
|
+
}
|
|
29340
|
+
|
|
29341
|
+
if (hospitalSlug !== undefined) {
|
|
29342
|
+
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
29343
|
+
}
|
|
29344
|
+
|
|
29345
|
+
if (specialtyId !== undefined) {
|
|
29346
|
+
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
29347
|
+
}
|
|
29348
|
+
|
|
29349
|
+
if (specialtyName !== undefined) {
|
|
29350
|
+
localVarQueryParameter['SpecialtyName'] = specialtyName;
|
|
29351
|
+
}
|
|
29352
|
+
|
|
29353
|
+
if (specialtyTypeId !== undefined) {
|
|
29354
|
+
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
29355
|
+
}
|
|
29356
|
+
|
|
29357
|
+
if (title !== undefined) {
|
|
29358
|
+
localVarQueryParameter['Title'] = title;
|
|
29359
|
+
}
|
|
29360
|
+
|
|
29361
|
+
if (marketingType !== undefined) {
|
|
29362
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
29363
|
+
}
|
|
29364
|
+
|
|
29365
|
+
if (languageCode !== undefined) {
|
|
29366
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
29367
|
+
}
|
|
29368
|
+
|
|
29369
|
+
if (showHidden !== undefined) {
|
|
29370
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
29371
|
+
}
|
|
29372
|
+
|
|
29373
|
+
if (returnDefaultValue !== undefined) {
|
|
29374
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
29375
|
+
}
|
|
29376
|
+
|
|
29377
|
+
if (includeServices !== undefined) {
|
|
29378
|
+
localVarQueryParameter['IncludeServices'] = includeServices;
|
|
29379
|
+
}
|
|
29380
|
+
|
|
29381
|
+
if (page !== undefined) {
|
|
29382
|
+
localVarQueryParameter['page'] = page;
|
|
29383
|
+
}
|
|
29384
|
+
|
|
29385
|
+
if (limit !== undefined) {
|
|
29386
|
+
localVarQueryParameter['limit'] = limit;
|
|
29387
|
+
}
|
|
29388
|
+
|
|
29389
|
+
if (lastRetrieved !== undefined) {
|
|
29390
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
29391
|
+
(lastRetrieved as any).toISOString() :
|
|
29392
|
+
lastRetrieved;
|
|
29393
|
+
}
|
|
29394
|
+
|
|
29395
|
+
|
|
29396
|
+
|
|
29397
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29398
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29399
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29400
|
+
|
|
29401
|
+
return {
|
|
29402
|
+
url: toPathString(localVarUrlObj),
|
|
29403
|
+
options: localVarRequestOptions,
|
|
29404
|
+
};
|
|
29405
|
+
},
|
|
28598
29406
|
/**
|
|
28599
29407
|
*
|
|
28600
29408
|
* @summary Delete HospitalSpecialty.
|
|
@@ -29979,6 +30787,31 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
29979
30787
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId, createHospitalSpecialtyCommand, options);
|
|
29980
30788
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29981
30789
|
},
|
|
30790
|
+
/**
|
|
30791
|
+
*
|
|
30792
|
+
* @summary Get all HospitalSpecialties.
|
|
30793
|
+
* @param {string} hospitalId
|
|
30794
|
+
* @param {string} [hospitalName]
|
|
30795
|
+
* @param {string} [hospitalSlug]
|
|
30796
|
+
* @param {string} [specialtyId]
|
|
30797
|
+
* @param {string} [specialtyName]
|
|
30798
|
+
* @param {string} [specialtyTypeId]
|
|
30799
|
+
* @param {string} [title]
|
|
30800
|
+
* @param {MarketingType} [marketingType]
|
|
30801
|
+
* @param {string} [languageCode]
|
|
30802
|
+
* @param {boolean} [showHidden]
|
|
30803
|
+
* @param {boolean} [returnDefaultValue]
|
|
30804
|
+
* @param {boolean} [includeServices]
|
|
30805
|
+
* @param {number} [page]
|
|
30806
|
+
* @param {number} [limit]
|
|
30807
|
+
* @param {Date} [lastRetrieved]
|
|
30808
|
+
* @param {*} [options] Override http request option.
|
|
30809
|
+
* @throws {RequiredError}
|
|
30810
|
+
*/
|
|
30811
|
+
async apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesSimpleModel>> {
|
|
30812
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options);
|
|
30813
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30814
|
+
},
|
|
29982
30815
|
/**
|
|
29983
30816
|
*
|
|
29984
30817
|
* @summary Delete HospitalSpecialty.
|
|
@@ -30627,6 +31460,30 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
30627
31460
|
apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId: string, createHospitalSpecialtyCommand?: CreateHospitalSpecialtyCommand, options?: any): AxiosPromise<HospitalSpecialtyModel> {
|
|
30628
31461
|
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId, createHospitalSpecialtyCommand, options).then((request) => request(axios, basePath));
|
|
30629
31462
|
},
|
|
31463
|
+
/**
|
|
31464
|
+
*
|
|
31465
|
+
* @summary Get all HospitalSpecialties.
|
|
31466
|
+
* @param {string} hospitalId
|
|
31467
|
+
* @param {string} [hospitalName]
|
|
31468
|
+
* @param {string} [hospitalSlug]
|
|
31469
|
+
* @param {string} [specialtyId]
|
|
31470
|
+
* @param {string} [specialtyName]
|
|
31471
|
+
* @param {string} [specialtyTypeId]
|
|
31472
|
+
* @param {string} [title]
|
|
31473
|
+
* @param {MarketingType} [marketingType]
|
|
31474
|
+
* @param {string} [languageCode]
|
|
31475
|
+
* @param {boolean} [showHidden]
|
|
31476
|
+
* @param {boolean} [returnDefaultValue]
|
|
31477
|
+
* @param {boolean} [includeServices]
|
|
31478
|
+
* @param {number} [page]
|
|
31479
|
+
* @param {number} [limit]
|
|
31480
|
+
* @param {Date} [lastRetrieved]
|
|
31481
|
+
* @param {*} [options] Override http request option.
|
|
31482
|
+
* @throws {RequiredError}
|
|
31483
|
+
*/
|
|
31484
|
+
apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesSimpleModel> {
|
|
31485
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
31486
|
+
},
|
|
30630
31487
|
/**
|
|
30631
31488
|
*
|
|
30632
31489
|
* @summary Delete HospitalSpecialty.
|
|
@@ -31319,6 +32176,32 @@ export class HospitalsApi extends BaseAPI {
|
|
|
31319
32176
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId, createHospitalSpecialtyCommand, options).then((request) => request(this.axios, this.basePath));
|
|
31320
32177
|
}
|
|
31321
32178
|
|
|
32179
|
+
/**
|
|
32180
|
+
*
|
|
32181
|
+
* @summary Get all HospitalSpecialties.
|
|
32182
|
+
* @param {string} hospitalId
|
|
32183
|
+
* @param {string} [hospitalName]
|
|
32184
|
+
* @param {string} [hospitalSlug]
|
|
32185
|
+
* @param {string} [specialtyId]
|
|
32186
|
+
* @param {string} [specialtyName]
|
|
32187
|
+
* @param {string} [specialtyTypeId]
|
|
32188
|
+
* @param {string} [title]
|
|
32189
|
+
* @param {MarketingType} [marketingType]
|
|
32190
|
+
* @param {string} [languageCode]
|
|
32191
|
+
* @param {boolean} [showHidden]
|
|
32192
|
+
* @param {boolean} [returnDefaultValue]
|
|
32193
|
+
* @param {boolean} [includeServices]
|
|
32194
|
+
* @param {number} [page]
|
|
32195
|
+
* @param {number} [limit]
|
|
32196
|
+
* @param {Date} [lastRetrieved]
|
|
32197
|
+
* @param {*} [options] Override http request option.
|
|
32198
|
+
* @throws {RequiredError}
|
|
32199
|
+
* @memberof HospitalsApi
|
|
32200
|
+
*/
|
|
32201
|
+
public apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
32202
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
32203
|
+
}
|
|
32204
|
+
|
|
31322
32205
|
/**
|
|
31323
32206
|
*
|
|
31324
32207
|
* @summary Delete HospitalSpecialty.
|
|
@@ -31732,13 +32615,14 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
31732
32615
|
* @param {string} [name]
|
|
31733
32616
|
* @param {string} [code]
|
|
31734
32617
|
* @param {string} [description]
|
|
32618
|
+
* @param {boolean} [showPublished]
|
|
31735
32619
|
* @param {number} [page]
|
|
31736
32620
|
* @param {number} [limit]
|
|
31737
32621
|
* @param {Date} [lastRetrieved]
|
|
31738
32622
|
* @param {*} [options] Override http request option.
|
|
31739
32623
|
* @throws {RequiredError}
|
|
31740
32624
|
*/
|
|
31741
|
-
apiV1LanguagesGet: async (id?: string, name?: string, code?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32625
|
+
apiV1LanguagesGet: async (id?: string, name?: string, code?: string, description?: string, showPublished?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31742
32626
|
const localVarPath = `/api/v1/languages`;
|
|
31743
32627
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31744
32628
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -31771,6 +32655,10 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
31771
32655
|
localVarQueryParameter['Description'] = description;
|
|
31772
32656
|
}
|
|
31773
32657
|
|
|
32658
|
+
if (showPublished !== undefined) {
|
|
32659
|
+
localVarQueryParameter['ShowPublished'] = showPublished;
|
|
32660
|
+
}
|
|
32661
|
+
|
|
31774
32662
|
if (page !== undefined) {
|
|
31775
32663
|
localVarQueryParameter['page'] = page;
|
|
31776
32664
|
}
|
|
@@ -31977,14 +32865,15 @@ export const LanguagesApiFp = function(configuration?: Configuration) {
|
|
|
31977
32865
|
* @param {string} [name]
|
|
31978
32866
|
* @param {string} [code]
|
|
31979
32867
|
* @param {string} [description]
|
|
32868
|
+
* @param {boolean} [showPublished]
|
|
31980
32869
|
* @param {number} [page]
|
|
31981
32870
|
* @param {number} [limit]
|
|
31982
32871
|
* @param {Date} [lastRetrieved]
|
|
31983
32872
|
* @param {*} [options] Override http request option.
|
|
31984
32873
|
* @throws {RequiredError}
|
|
31985
32874
|
*/
|
|
31986
|
-
async apiV1LanguagesGet(id?: string, name?: string, code?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguagesModel>> {
|
|
31987
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options);
|
|
32875
|
+
async apiV1LanguagesGet(id?: string, name?: string, code?: string, description?: string, showPublished?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguagesModel>> {
|
|
32876
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesGet(id, name, code, description, showPublished, page, limit, lastRetrieved, options);
|
|
31988
32877
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31989
32878
|
},
|
|
31990
32879
|
/**
|
|
@@ -32056,14 +32945,15 @@ export const LanguagesApiFactory = function (configuration?: Configuration, base
|
|
|
32056
32945
|
* @param {string} [name]
|
|
32057
32946
|
* @param {string} [code]
|
|
32058
32947
|
* @param {string} [description]
|
|
32948
|
+
* @param {boolean} [showPublished]
|
|
32059
32949
|
* @param {number} [page]
|
|
32060
32950
|
* @param {number} [limit]
|
|
32061
32951
|
* @param {Date} [lastRetrieved]
|
|
32062
32952
|
* @param {*} [options] Override http request option.
|
|
32063
32953
|
* @throws {RequiredError}
|
|
32064
32954
|
*/
|
|
32065
|
-
apiV1LanguagesGet(id?: string, name?: string, code?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<LanguagesModel> {
|
|
32066
|
-
return localVarFp.apiV1LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
32955
|
+
apiV1LanguagesGet(id?: string, name?: string, code?: string, description?: string, showPublished?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<LanguagesModel> {
|
|
32956
|
+
return localVarFp.apiV1LanguagesGet(id, name, code, description, showPublished, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
32067
32957
|
},
|
|
32068
32958
|
/**
|
|
32069
32959
|
*
|
|
@@ -32132,6 +33022,7 @@ export class LanguagesApi extends BaseAPI {
|
|
|
32132
33022
|
* @param {string} [name]
|
|
32133
33023
|
* @param {string} [code]
|
|
32134
33024
|
* @param {string} [description]
|
|
33025
|
+
* @param {boolean} [showPublished]
|
|
32135
33026
|
* @param {number} [page]
|
|
32136
33027
|
* @param {number} [limit]
|
|
32137
33028
|
* @param {Date} [lastRetrieved]
|
|
@@ -32139,8 +33030,8 @@ export class LanguagesApi extends BaseAPI {
|
|
|
32139
33030
|
* @throws {RequiredError}
|
|
32140
33031
|
* @memberof LanguagesApi
|
|
32141
33032
|
*/
|
|
32142
|
-
public apiV1LanguagesGet(id?: string, name?: string, code?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
32143
|
-
return LanguagesApiFp(this.configuration).apiV1LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
33033
|
+
public apiV1LanguagesGet(id?: string, name?: string, code?: string, description?: string, showPublished?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
33034
|
+
return LanguagesApiFp(this.configuration).apiV1LanguagesGet(id, name, code, description, showPublished, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
32144
33035
|
}
|
|
32145
33036
|
|
|
32146
33037
|
/**
|