ch-admin-api-client-typescript 2.5.2 → 2.5.7
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 +733 -108
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +864 -184
- package/package.json +1 -1
- package/src/api.ts +1054 -121
package/src/api.ts
CHANGED
|
@@ -782,6 +782,37 @@ export interface AwardModel {
|
|
|
782
782
|
*/
|
|
783
783
|
'date'?: Date;
|
|
784
784
|
}
|
|
785
|
+
/**
|
|
786
|
+
*
|
|
787
|
+
* @export
|
|
788
|
+
* @interface BookingChangeLogModel
|
|
789
|
+
*/
|
|
790
|
+
export interface BookingChangeLogModel {
|
|
791
|
+
/**
|
|
792
|
+
*
|
|
793
|
+
* @type {BookingStatus}
|
|
794
|
+
* @memberof BookingChangeLogModel
|
|
795
|
+
*/
|
|
796
|
+
'status'?: BookingStatus;
|
|
797
|
+
/**
|
|
798
|
+
*
|
|
799
|
+
* @type {string}
|
|
800
|
+
* @memberof BookingChangeLogModel
|
|
801
|
+
*/
|
|
802
|
+
'actorId'?: string;
|
|
803
|
+
/**
|
|
804
|
+
*
|
|
805
|
+
* @type {Date}
|
|
806
|
+
* @memberof BookingChangeLogModel
|
|
807
|
+
*/
|
|
808
|
+
'createdDate'?: Date;
|
|
809
|
+
/**
|
|
810
|
+
*
|
|
811
|
+
* @type {string}
|
|
812
|
+
* @memberof BookingChangeLogModel
|
|
813
|
+
*/
|
|
814
|
+
'actorName'?: string | null;
|
|
815
|
+
}
|
|
785
816
|
/**
|
|
786
817
|
*
|
|
787
818
|
* @export
|
|
@@ -1179,6 +1210,12 @@ export interface BookingModel {
|
|
|
1179
1210
|
* @memberof BookingModel
|
|
1180
1211
|
*/
|
|
1181
1212
|
'completionRate'?: number;
|
|
1213
|
+
/**
|
|
1214
|
+
*
|
|
1215
|
+
* @type {Array<BookingChangeLogModel>}
|
|
1216
|
+
* @memberof BookingModel
|
|
1217
|
+
*/
|
|
1218
|
+
'statusChangeLogs'?: Array<BookingChangeLogModel> | null;
|
|
1182
1219
|
}
|
|
1183
1220
|
/**
|
|
1184
1221
|
*
|
|
@@ -1809,6 +1846,37 @@ export interface ConfirmEmailCommand {
|
|
|
1809
1846
|
*/
|
|
1810
1847
|
'code'?: string | null;
|
|
1811
1848
|
}
|
|
1849
|
+
/**
|
|
1850
|
+
*
|
|
1851
|
+
* @export
|
|
1852
|
+
* @interface ConsultationChangeLogModel
|
|
1853
|
+
*/
|
|
1854
|
+
export interface ConsultationChangeLogModel {
|
|
1855
|
+
/**
|
|
1856
|
+
*
|
|
1857
|
+
* @type {ConsultationStatus}
|
|
1858
|
+
* @memberof ConsultationChangeLogModel
|
|
1859
|
+
*/
|
|
1860
|
+
'status'?: ConsultationStatus;
|
|
1861
|
+
/**
|
|
1862
|
+
*
|
|
1863
|
+
* @type {string}
|
|
1864
|
+
* @memberof ConsultationChangeLogModel
|
|
1865
|
+
*/
|
|
1866
|
+
'actorId'?: string;
|
|
1867
|
+
/**
|
|
1868
|
+
*
|
|
1869
|
+
* @type {Date}
|
|
1870
|
+
* @memberof ConsultationChangeLogModel
|
|
1871
|
+
*/
|
|
1872
|
+
'createdDate'?: Date;
|
|
1873
|
+
/**
|
|
1874
|
+
*
|
|
1875
|
+
* @type {string}
|
|
1876
|
+
* @memberof ConsultationChangeLogModel
|
|
1877
|
+
*/
|
|
1878
|
+
'actorName'?: string | null;
|
|
1879
|
+
}
|
|
1812
1880
|
/**
|
|
1813
1881
|
*
|
|
1814
1882
|
* @export
|
|
@@ -2326,6 +2394,12 @@ export interface ConsultationModel {
|
|
|
2326
2394
|
* @memberof ConsultationModel
|
|
2327
2395
|
*/
|
|
2328
2396
|
'completionRate'?: number;
|
|
2397
|
+
/**
|
|
2398
|
+
*
|
|
2399
|
+
* @type {Array<ConsultationChangeLogModel>}
|
|
2400
|
+
* @memberof ConsultationModel
|
|
2401
|
+
*/
|
|
2402
|
+
'statusChangeLogs'?: Array<ConsultationChangeLogModel> | null;
|
|
2329
2403
|
}
|
|
2330
2404
|
/**
|
|
2331
2405
|
*
|
|
@@ -2460,10 +2534,16 @@ export interface ContributorItemModel {
|
|
|
2460
2534
|
'order'?: number;
|
|
2461
2535
|
/**
|
|
2462
2536
|
*
|
|
2463
|
-
* @type {Array<
|
|
2537
|
+
* @type {Array<LocalizedUrlModel>}
|
|
2464
2538
|
* @memberof ContributorItemModel
|
|
2465
2539
|
*/
|
|
2466
|
-
'
|
|
2540
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
2541
|
+
/**
|
|
2542
|
+
*
|
|
2543
|
+
* @type {boolean}
|
|
2544
|
+
* @memberof ContributorItemModel
|
|
2545
|
+
*/
|
|
2546
|
+
'confirmed'?: boolean;
|
|
2467
2547
|
}
|
|
2468
2548
|
/**
|
|
2469
2549
|
*
|
|
@@ -2539,10 +2619,22 @@ export interface ContributorModel {
|
|
|
2539
2619
|
'order'?: number;
|
|
2540
2620
|
/**
|
|
2541
2621
|
*
|
|
2542
|
-
* @type {Array<
|
|
2622
|
+
* @type {Array<LocalizedUrlModel>}
|
|
2623
|
+
* @memberof ContributorModel
|
|
2624
|
+
*/
|
|
2625
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
2626
|
+
/**
|
|
2627
|
+
*
|
|
2628
|
+
* @type {boolean}
|
|
2629
|
+
* @memberof ContributorModel
|
|
2630
|
+
*/
|
|
2631
|
+
'confirmed'?: boolean;
|
|
2632
|
+
/**
|
|
2633
|
+
*
|
|
2634
|
+
* @type {string}
|
|
2543
2635
|
* @memberof ContributorModel
|
|
2544
2636
|
*/
|
|
2545
|
-
'
|
|
2637
|
+
'languageCode'?: string | null;
|
|
2546
2638
|
}
|
|
2547
2639
|
/**
|
|
2548
2640
|
*
|
|
@@ -2685,6 +2777,12 @@ export interface CountryItemModel {
|
|
|
2685
2777
|
* @memberof CountryItemModel
|
|
2686
2778
|
*/
|
|
2687
2779
|
'auditableEntity'?: AuditableEntity;
|
|
2780
|
+
/**
|
|
2781
|
+
*
|
|
2782
|
+
* @type {Array<LocalizedUrlModel>}
|
|
2783
|
+
* @memberof CountryItemModel
|
|
2784
|
+
*/
|
|
2785
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
2688
2786
|
/**
|
|
2689
2787
|
*
|
|
2690
2788
|
* @type {boolean}
|
|
@@ -2776,12 +2874,24 @@ export interface CountryModel {
|
|
|
2776
2874
|
* @memberof CountryModel
|
|
2777
2875
|
*/
|
|
2778
2876
|
'auditableEntity'?: AuditableEntity;
|
|
2877
|
+
/**
|
|
2878
|
+
*
|
|
2879
|
+
* @type {Array<LocalizedUrlModel>}
|
|
2880
|
+
* @memberof CountryModel
|
|
2881
|
+
*/
|
|
2882
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
2779
2883
|
/**
|
|
2780
2884
|
*
|
|
2781
2885
|
* @type {boolean}
|
|
2782
2886
|
* @memberof CountryModel
|
|
2783
2887
|
*/
|
|
2784
2888
|
'confirmed'?: boolean;
|
|
2889
|
+
/**
|
|
2890
|
+
*
|
|
2891
|
+
* @type {string}
|
|
2892
|
+
* @memberof CountryModel
|
|
2893
|
+
*/
|
|
2894
|
+
'languageCode'?: string | null;
|
|
2785
2895
|
}
|
|
2786
2896
|
/**
|
|
2787
2897
|
*
|
|
@@ -3608,6 +3718,12 @@ export interface CreateFaqCommand {
|
|
|
3608
3718
|
* @memberof CreateFaqCommand
|
|
3609
3719
|
*/
|
|
3610
3720
|
'faqCategoryId'?: string | null;
|
|
3721
|
+
/**
|
|
3722
|
+
*
|
|
3723
|
+
* @type {string}
|
|
3724
|
+
* @memberof CreateFaqCommand
|
|
3725
|
+
*/
|
|
3726
|
+
'hospitalId'?: string;
|
|
3611
3727
|
}
|
|
3612
3728
|
/**
|
|
3613
3729
|
*
|
|
@@ -4231,6 +4347,31 @@ export interface CreateTagCommand {
|
|
|
4231
4347
|
*/
|
|
4232
4348
|
'tagId'?: string | null;
|
|
4233
4349
|
}
|
|
4350
|
+
/**
|
|
4351
|
+
*
|
|
4352
|
+
* @export
|
|
4353
|
+
* @interface CreateTemplateVersionCommand
|
|
4354
|
+
*/
|
|
4355
|
+
export interface CreateTemplateVersionCommand {
|
|
4356
|
+
/**
|
|
4357
|
+
*
|
|
4358
|
+
* @type {string}
|
|
4359
|
+
* @memberof CreateTemplateVersionCommand
|
|
4360
|
+
*/
|
|
4361
|
+
'name'?: string | null;
|
|
4362
|
+
/**
|
|
4363
|
+
*
|
|
4364
|
+
* @type {string}
|
|
4365
|
+
* @memberof CreateTemplateVersionCommand
|
|
4366
|
+
*/
|
|
4367
|
+
'subject'?: string | null;
|
|
4368
|
+
/**
|
|
4369
|
+
*
|
|
4370
|
+
* @type {string}
|
|
4371
|
+
* @memberof CreateTemplateVersionCommand
|
|
4372
|
+
*/
|
|
4373
|
+
'htmlContent'?: string | null;
|
|
4374
|
+
}
|
|
4234
4375
|
/**
|
|
4235
4376
|
*
|
|
4236
4377
|
* @export
|
|
@@ -5168,6 +5309,12 @@ export interface DoctorItemModel {
|
|
|
5168
5309
|
* @memberof DoctorItemModel
|
|
5169
5310
|
*/
|
|
5170
5311
|
'consultationFee'?: number | null;
|
|
5312
|
+
/**
|
|
5313
|
+
*
|
|
5314
|
+
* @type {Array<LocalizedUrlModel>}
|
|
5315
|
+
* @memberof DoctorItemModel
|
|
5316
|
+
*/
|
|
5317
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
5171
5318
|
/**
|
|
5172
5319
|
*
|
|
5173
5320
|
* @type {boolean}
|
|
@@ -5325,6 +5472,12 @@ export interface DoctorModel {
|
|
|
5325
5472
|
* @memberof DoctorModel
|
|
5326
5473
|
*/
|
|
5327
5474
|
'consultationFee'?: number | null;
|
|
5475
|
+
/**
|
|
5476
|
+
*
|
|
5477
|
+
* @type {Array<LocalizedUrlModel>}
|
|
5478
|
+
* @memberof DoctorModel
|
|
5479
|
+
*/
|
|
5480
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
5328
5481
|
/**
|
|
5329
5482
|
*
|
|
5330
5483
|
* @type {boolean}
|
|
@@ -5853,6 +6006,12 @@ export interface FaqModel {
|
|
|
5853
6006
|
* @memberof FaqModel
|
|
5854
6007
|
*/
|
|
5855
6008
|
'confirmed'?: boolean;
|
|
6009
|
+
/**
|
|
6010
|
+
*
|
|
6011
|
+
* @type {string}
|
|
6012
|
+
* @memberof FaqModel
|
|
6013
|
+
*/
|
|
6014
|
+
'languageCode'?: string | null;
|
|
5856
6015
|
/**
|
|
5857
6016
|
*
|
|
5858
6017
|
* @type {Array<FaqCategoryBreadCrumbModel>}
|
|
@@ -6913,6 +7072,12 @@ export interface HospitalServiceModel {
|
|
|
6913
7072
|
* @memberof HospitalServiceModel
|
|
6914
7073
|
*/
|
|
6915
7074
|
'auditableEntity'?: AuditableEntity;
|
|
7075
|
+
/**
|
|
7076
|
+
*
|
|
7077
|
+
* @type {string}
|
|
7078
|
+
* @memberof HospitalServiceModel
|
|
7079
|
+
*/
|
|
7080
|
+
'languageCode'?: string | null;
|
|
6916
7081
|
}
|
|
6917
7082
|
/**
|
|
6918
7083
|
*
|
|
@@ -6951,6 +7116,12 @@ export interface HospitalSimpleItemModel {
|
|
|
6951
7116
|
* @memberof HospitalSimpleItemModel
|
|
6952
7117
|
*/
|
|
6953
7118
|
'name'?: string | null;
|
|
7119
|
+
/**
|
|
7120
|
+
*
|
|
7121
|
+
* @type {boolean}
|
|
7122
|
+
* @memberof HospitalSimpleItemModel
|
|
7123
|
+
*/
|
|
7124
|
+
'confirmed'?: boolean;
|
|
6954
7125
|
}
|
|
6955
7126
|
/**
|
|
6956
7127
|
*
|
|
@@ -8702,6 +8873,19 @@ export enum RejectReason {
|
|
|
8702
8873
|
OtherReason = 'OtherReason'
|
|
8703
8874
|
}
|
|
8704
8875
|
|
|
8876
|
+
/**
|
|
8877
|
+
*
|
|
8878
|
+
* @export
|
|
8879
|
+
* @interface SendTemplateVersionCommand
|
|
8880
|
+
*/
|
|
8881
|
+
export interface SendTemplateVersionCommand {
|
|
8882
|
+
/**
|
|
8883
|
+
*
|
|
8884
|
+
* @type {string}
|
|
8885
|
+
* @memberof SendTemplateVersionCommand
|
|
8886
|
+
*/
|
|
8887
|
+
'testEmail'?: string | null;
|
|
8888
|
+
}
|
|
8705
8889
|
/**
|
|
8706
8890
|
*
|
|
8707
8891
|
* @export
|
|
@@ -9051,6 +9235,12 @@ export interface SpecialtyModel {
|
|
|
9051
9235
|
* @memberof SpecialtyModel
|
|
9052
9236
|
*/
|
|
9053
9237
|
'auditableEntity'?: AuditableEntity;
|
|
9238
|
+
/**
|
|
9239
|
+
*
|
|
9240
|
+
* @type {string}
|
|
9241
|
+
* @memberof SpecialtyModel
|
|
9242
|
+
*/
|
|
9243
|
+
'languageCode'?: string | null;
|
|
9054
9244
|
}
|
|
9055
9245
|
/**
|
|
9056
9246
|
*
|
|
@@ -9197,6 +9387,12 @@ export interface SpecialtyTypeModel {
|
|
|
9197
9387
|
* @memberof SpecialtyTypeModel
|
|
9198
9388
|
*/
|
|
9199
9389
|
'confirmed'?: boolean;
|
|
9390
|
+
/**
|
|
9391
|
+
*
|
|
9392
|
+
* @type {string}
|
|
9393
|
+
* @memberof SpecialtyTypeModel
|
|
9394
|
+
*/
|
|
9395
|
+
'languageCode'?: string | null;
|
|
9200
9396
|
}
|
|
9201
9397
|
/**
|
|
9202
9398
|
*
|
|
@@ -9326,142 +9522,271 @@ export interface TagsModel {
|
|
|
9326
9522
|
/**
|
|
9327
9523
|
*
|
|
9328
9524
|
* @export
|
|
9329
|
-
* @interface
|
|
9525
|
+
* @interface TemplateVersionItemModel
|
|
9330
9526
|
*/
|
|
9331
|
-
export interface
|
|
9527
|
+
export interface TemplateVersionItemModel {
|
|
9332
9528
|
/**
|
|
9333
9529
|
*
|
|
9334
9530
|
* @type {string}
|
|
9335
|
-
* @memberof
|
|
9531
|
+
* @memberof TemplateVersionItemModel
|
|
9336
9532
|
*/
|
|
9337
|
-
'
|
|
9533
|
+
'id'?: string | null;
|
|
9338
9534
|
/**
|
|
9339
9535
|
*
|
|
9340
9536
|
* @type {string}
|
|
9341
|
-
* @memberof
|
|
9537
|
+
* @memberof TemplateVersionItemModel
|
|
9342
9538
|
*/
|
|
9343
|
-
'
|
|
9539
|
+
'templateId'?: string | null;
|
|
9344
9540
|
/**
|
|
9345
9541
|
*
|
|
9346
|
-
* @type {
|
|
9347
|
-
* @memberof
|
|
9542
|
+
* @type {boolean}
|
|
9543
|
+
* @memberof TemplateVersionItemModel
|
|
9348
9544
|
*/
|
|
9349
|
-
'
|
|
9545
|
+
'isActive'?: boolean;
|
|
9350
9546
|
/**
|
|
9351
9547
|
*
|
|
9352
|
-
* @type {
|
|
9353
|
-
* @memberof
|
|
9548
|
+
* @type {string}
|
|
9549
|
+
* @memberof TemplateVersionItemModel
|
|
9354
9550
|
*/
|
|
9355
|
-
'
|
|
9356
|
-
}
|
|
9357
|
-
/**
|
|
9358
|
-
*
|
|
9359
|
-
* @export
|
|
9360
|
-
* @interface UpdateAccreditationCommand
|
|
9361
|
-
*/
|
|
9362
|
-
export interface UpdateAccreditationCommand {
|
|
9551
|
+
'name'?: string | null;
|
|
9363
9552
|
/**
|
|
9364
9553
|
*
|
|
9365
9554
|
* @type {string}
|
|
9366
|
-
* @memberof
|
|
9555
|
+
* @memberof TemplateVersionItemModel
|
|
9367
9556
|
*/
|
|
9368
|
-
'
|
|
9557
|
+
'htmlContent'?: string | null;
|
|
9369
9558
|
/**
|
|
9370
9559
|
*
|
|
9371
9560
|
* @type {string}
|
|
9372
|
-
* @memberof
|
|
9561
|
+
* @memberof TemplateVersionItemModel
|
|
9373
9562
|
*/
|
|
9374
|
-
'
|
|
9563
|
+
'textContent'?: string | null;
|
|
9375
9564
|
/**
|
|
9376
9565
|
*
|
|
9377
9566
|
* @type {string}
|
|
9378
|
-
* @memberof
|
|
9567
|
+
* @memberof TemplateVersionItemModel
|
|
9379
9568
|
*/
|
|
9380
|
-
'
|
|
9569
|
+
'subject'?: string | null;
|
|
9570
|
+
/**
|
|
9571
|
+
*
|
|
9572
|
+
* @type {Date}
|
|
9573
|
+
* @memberof TemplateVersionItemModel
|
|
9574
|
+
*/
|
|
9575
|
+
'updatedOn'?: Date;
|
|
9381
9576
|
}
|
|
9382
9577
|
/**
|
|
9383
9578
|
*
|
|
9384
9579
|
* @export
|
|
9385
|
-
* @interface
|
|
9580
|
+
* @interface TemplateVersionModel
|
|
9386
9581
|
*/
|
|
9387
|
-
export interface
|
|
9582
|
+
export interface TemplateVersionModel {
|
|
9388
9583
|
/**
|
|
9389
9584
|
*
|
|
9390
9585
|
* @type {string}
|
|
9391
|
-
* @memberof
|
|
9586
|
+
* @memberof TemplateVersionModel
|
|
9392
9587
|
*/
|
|
9393
|
-
'
|
|
9588
|
+
'id'?: string | null;
|
|
9394
9589
|
/**
|
|
9395
9590
|
*
|
|
9396
9591
|
* @type {string}
|
|
9397
|
-
* @memberof
|
|
9592
|
+
* @memberof TemplateVersionModel
|
|
9398
9593
|
*/
|
|
9399
|
-
'
|
|
9594
|
+
'templateId'?: string | null;
|
|
9400
9595
|
/**
|
|
9401
9596
|
*
|
|
9402
|
-
* @type {
|
|
9403
|
-
* @memberof
|
|
9597
|
+
* @type {boolean}
|
|
9598
|
+
* @memberof TemplateVersionModel
|
|
9404
9599
|
*/
|
|
9405
|
-
'
|
|
9600
|
+
'isActive'?: boolean;
|
|
9406
9601
|
/**
|
|
9407
9602
|
*
|
|
9408
9603
|
* @type {string}
|
|
9409
|
-
* @memberof
|
|
9604
|
+
* @memberof TemplateVersionModel
|
|
9410
9605
|
*/
|
|
9411
|
-
'
|
|
9606
|
+
'name'?: string | null;
|
|
9412
9607
|
/**
|
|
9413
9608
|
*
|
|
9414
9609
|
* @type {string}
|
|
9415
|
-
* @memberof
|
|
9416
|
-
*/
|
|
9417
|
-
'body'?: string | null;
|
|
9418
|
-
/**
|
|
9419
|
-
*
|
|
9420
|
-
* @type {ArticleStatus}
|
|
9421
|
-
* @memberof UpdateArticleCommand
|
|
9422
|
-
*/
|
|
9423
|
-
'status'?: ArticleStatus;
|
|
9424
|
-
/**
|
|
9425
|
-
*
|
|
9426
|
-
* @type {MarketingType}
|
|
9427
|
-
* @memberof UpdateArticleCommand
|
|
9610
|
+
* @memberof TemplateVersionModel
|
|
9428
9611
|
*/
|
|
9429
|
-
'
|
|
9612
|
+
'htmlContent'?: string | null;
|
|
9430
9613
|
/**
|
|
9431
9614
|
*
|
|
9432
9615
|
* @type {string}
|
|
9433
|
-
* @memberof
|
|
9616
|
+
* @memberof TemplateVersionModel
|
|
9434
9617
|
*/
|
|
9435
|
-
'
|
|
9618
|
+
'textContent'?: string | null;
|
|
9436
9619
|
/**
|
|
9437
9620
|
*
|
|
9438
9621
|
* @type {string}
|
|
9439
|
-
* @memberof
|
|
9622
|
+
* @memberof TemplateVersionModel
|
|
9440
9623
|
*/
|
|
9441
|
-
'
|
|
9624
|
+
'subject'?: string | null;
|
|
9442
9625
|
/**
|
|
9443
9626
|
*
|
|
9444
|
-
* @type {
|
|
9445
|
-
* @memberof
|
|
9627
|
+
* @type {Date}
|
|
9628
|
+
* @memberof TemplateVersionModel
|
|
9446
9629
|
*/
|
|
9447
|
-
'
|
|
9630
|
+
'updatedOn'?: Date;
|
|
9631
|
+
}
|
|
9632
|
+
/**
|
|
9633
|
+
*
|
|
9634
|
+
* @export
|
|
9635
|
+
* @interface TemplateVersionsModel
|
|
9636
|
+
*/
|
|
9637
|
+
export interface TemplateVersionsModel {
|
|
9448
9638
|
/**
|
|
9449
9639
|
*
|
|
9450
|
-
* @type {
|
|
9451
|
-
* @memberof
|
|
9640
|
+
* @type {Array<TemplateVersionItemModel>}
|
|
9641
|
+
* @memberof TemplateVersionsModel
|
|
9452
9642
|
*/
|
|
9453
|
-
'
|
|
9643
|
+
'items'?: Array<TemplateVersionItemModel> | null;
|
|
9454
9644
|
/**
|
|
9455
9645
|
*
|
|
9456
|
-
* @type {
|
|
9457
|
-
* @memberof
|
|
9646
|
+
* @type {PagedListMetaData}
|
|
9647
|
+
* @memberof TemplateVersionsModel
|
|
9458
9648
|
*/
|
|
9459
|
-
'
|
|
9649
|
+
'metaData'?: PagedListMetaData;
|
|
9460
9650
|
}
|
|
9461
9651
|
/**
|
|
9462
9652
|
*
|
|
9463
9653
|
* @export
|
|
9464
|
-
* @interface
|
|
9654
|
+
* @interface TranslateCommand
|
|
9655
|
+
*/
|
|
9656
|
+
export interface TranslateCommand {
|
|
9657
|
+
/**
|
|
9658
|
+
*
|
|
9659
|
+
* @type {string}
|
|
9660
|
+
* @memberof TranslateCommand
|
|
9661
|
+
*/
|
|
9662
|
+
'languageCodeFrom'?: string | null;
|
|
9663
|
+
/**
|
|
9664
|
+
*
|
|
9665
|
+
* @type {string}
|
|
9666
|
+
* @memberof TranslateCommand
|
|
9667
|
+
*/
|
|
9668
|
+
'languageCodeTo'?: string | null;
|
|
9669
|
+
/**
|
|
9670
|
+
*
|
|
9671
|
+
* @type {string}
|
|
9672
|
+
* @memberof TranslateCommand
|
|
9673
|
+
*/
|
|
9674
|
+
'content'?: string | null;
|
|
9675
|
+
/**
|
|
9676
|
+
*
|
|
9677
|
+
* @type {boolean}
|
|
9678
|
+
* @memberof TranslateCommand
|
|
9679
|
+
*/
|
|
9680
|
+
'isHtml'?: boolean;
|
|
9681
|
+
}
|
|
9682
|
+
/**
|
|
9683
|
+
*
|
|
9684
|
+
* @export
|
|
9685
|
+
* @interface UpdateAccreditationCommand
|
|
9686
|
+
*/
|
|
9687
|
+
export interface UpdateAccreditationCommand {
|
|
9688
|
+
/**
|
|
9689
|
+
*
|
|
9690
|
+
* @type {string}
|
|
9691
|
+
* @memberof UpdateAccreditationCommand
|
|
9692
|
+
*/
|
|
9693
|
+
'name'?: string | null;
|
|
9694
|
+
/**
|
|
9695
|
+
*
|
|
9696
|
+
* @type {string}
|
|
9697
|
+
* @memberof UpdateAccreditationCommand
|
|
9698
|
+
*/
|
|
9699
|
+
'logo'?: string | null;
|
|
9700
|
+
/**
|
|
9701
|
+
*
|
|
9702
|
+
* @type {string}
|
|
9703
|
+
* @memberof UpdateAccreditationCommand
|
|
9704
|
+
*/
|
|
9705
|
+
'country'?: string | null;
|
|
9706
|
+
}
|
|
9707
|
+
/**
|
|
9708
|
+
*
|
|
9709
|
+
* @export
|
|
9710
|
+
* @interface UpdateArticleCommand
|
|
9711
|
+
*/
|
|
9712
|
+
export interface UpdateArticleCommand {
|
|
9713
|
+
/**
|
|
9714
|
+
*
|
|
9715
|
+
* @type {string}
|
|
9716
|
+
* @memberof UpdateArticleCommand
|
|
9717
|
+
*/
|
|
9718
|
+
'title'?: string | null;
|
|
9719
|
+
/**
|
|
9720
|
+
*
|
|
9721
|
+
* @type {string}
|
|
9722
|
+
* @memberof UpdateArticleCommand
|
|
9723
|
+
*/
|
|
9724
|
+
'slug'?: string | null;
|
|
9725
|
+
/**
|
|
9726
|
+
*
|
|
9727
|
+
* @type {string}
|
|
9728
|
+
* @memberof UpdateArticleCommand
|
|
9729
|
+
*/
|
|
9730
|
+
'description'?: string | null;
|
|
9731
|
+
/**
|
|
9732
|
+
*
|
|
9733
|
+
* @type {string}
|
|
9734
|
+
* @memberof UpdateArticleCommand
|
|
9735
|
+
*/
|
|
9736
|
+
'body'?: string | null;
|
|
9737
|
+
/**
|
|
9738
|
+
*
|
|
9739
|
+
* @type {ArticleStatus}
|
|
9740
|
+
* @memberof UpdateArticleCommand
|
|
9741
|
+
*/
|
|
9742
|
+
'status'?: ArticleStatus;
|
|
9743
|
+
/**
|
|
9744
|
+
*
|
|
9745
|
+
* @type {MarketingType}
|
|
9746
|
+
* @memberof UpdateArticleCommand
|
|
9747
|
+
*/
|
|
9748
|
+
'marketingType'?: MarketingType;
|
|
9749
|
+
/**
|
|
9750
|
+
*
|
|
9751
|
+
* @type {string}
|
|
9752
|
+
* @memberof UpdateArticleCommand
|
|
9753
|
+
*/
|
|
9754
|
+
'hospitalSlug'?: string | null;
|
|
9755
|
+
/**
|
|
9756
|
+
*
|
|
9757
|
+
* @type {string}
|
|
9758
|
+
* @memberof UpdateArticleCommand
|
|
9759
|
+
*/
|
|
9760
|
+
'youtubeUrl'?: string | null;
|
|
9761
|
+
/**
|
|
9762
|
+
*
|
|
9763
|
+
* @type {Array<ArticleTagItemModel>}
|
|
9764
|
+
* @memberof UpdateArticleCommand
|
|
9765
|
+
*/
|
|
9766
|
+
'articleTags'?: Array<ArticleTagItemModel> | null;
|
|
9767
|
+
/**
|
|
9768
|
+
*
|
|
9769
|
+
* @type {string}
|
|
9770
|
+
* @memberof UpdateArticleCommand
|
|
9771
|
+
*/
|
|
9772
|
+
'languageCode'?: string | null;
|
|
9773
|
+
/**
|
|
9774
|
+
*
|
|
9775
|
+
* @type {boolean}
|
|
9776
|
+
* @memberof UpdateArticleCommand
|
|
9777
|
+
*/
|
|
9778
|
+
'confirmed'?: boolean;
|
|
9779
|
+
/**
|
|
9780
|
+
*
|
|
9781
|
+
* @type {Array<MediaModel>}
|
|
9782
|
+
* @memberof UpdateArticleCommand
|
|
9783
|
+
*/
|
|
9784
|
+
'medias'?: Array<MediaModel> | null;
|
|
9785
|
+
}
|
|
9786
|
+
/**
|
|
9787
|
+
*
|
|
9788
|
+
* @export
|
|
9789
|
+
* @interface UpdateArticleContributorCommand
|
|
9465
9790
|
*/
|
|
9466
9791
|
export interface UpdateArticleContributorCommand {
|
|
9467
9792
|
/**
|
|
@@ -9727,6 +10052,18 @@ export interface UpdateContributorCommand {
|
|
|
9727
10052
|
* @memberof UpdateContributorCommand
|
|
9728
10053
|
*/
|
|
9729
10054
|
'hospitalId'?: string;
|
|
10055
|
+
/**
|
|
10056
|
+
*
|
|
10057
|
+
* @type {string}
|
|
10058
|
+
* @memberof UpdateContributorCommand
|
|
10059
|
+
*/
|
|
10060
|
+
'languageCode'?: string | null;
|
|
10061
|
+
/**
|
|
10062
|
+
*
|
|
10063
|
+
* @type {boolean}
|
|
10064
|
+
* @memberof UpdateContributorCommand
|
|
10065
|
+
*/
|
|
10066
|
+
'confirmed'?: boolean;
|
|
9730
10067
|
}
|
|
9731
10068
|
/**
|
|
9732
10069
|
*
|
|
@@ -9759,6 +10096,12 @@ export interface UpdateCountryCommand {
|
|
|
9759
10096
|
* @memberof UpdateCountryCommand
|
|
9760
10097
|
*/
|
|
9761
10098
|
'name'?: string | null;
|
|
10099
|
+
/**
|
|
10100
|
+
*
|
|
10101
|
+
* @type {string}
|
|
10102
|
+
* @memberof UpdateCountryCommand
|
|
10103
|
+
*/
|
|
10104
|
+
'slug'?: string | null;
|
|
9762
10105
|
/**
|
|
9763
10106
|
*
|
|
9764
10107
|
* @type {string}
|
|
@@ -9783,12 +10126,6 @@ export interface UpdateCountryCommand {
|
|
|
9783
10126
|
* @memberof UpdateCountryCommand
|
|
9784
10127
|
*/
|
|
9785
10128
|
'confirmed'?: boolean;
|
|
9786
|
-
/**
|
|
9787
|
-
*
|
|
9788
|
-
* @type {Array<MediaModel>}
|
|
9789
|
-
* @memberof UpdateCountryCommand
|
|
9790
|
-
*/
|
|
9791
|
-
'medias'?: Array<MediaModel> | null;
|
|
9792
10129
|
}
|
|
9793
10130
|
/**
|
|
9794
10131
|
*
|
|
@@ -9926,12 +10263,6 @@ export interface UpdateDoctorCertificateCommand {
|
|
|
9926
10263
|
* @interface UpdateDoctorCommand
|
|
9927
10264
|
*/
|
|
9928
10265
|
export interface UpdateDoctorCommand {
|
|
9929
|
-
/**
|
|
9930
|
-
*
|
|
9931
|
-
* @type {string}
|
|
9932
|
-
* @memberof UpdateDoctorCommand
|
|
9933
|
-
*/
|
|
9934
|
-
'userName'?: string | null;
|
|
9935
10266
|
/**
|
|
9936
10267
|
*
|
|
9937
10268
|
* @type {string}
|
|
@@ -10122,12 +10453,6 @@ export interface UpdateDoctorSpecialtyCommand {
|
|
|
10122
10453
|
* @interface UpdateFaqCategoryCommand
|
|
10123
10454
|
*/
|
|
10124
10455
|
export interface UpdateFaqCategoryCommand {
|
|
10125
|
-
/**
|
|
10126
|
-
*
|
|
10127
|
-
* @type {string}
|
|
10128
|
-
* @memberof UpdateFaqCategoryCommand
|
|
10129
|
-
*/
|
|
10130
|
-
'id'?: string | null;
|
|
10131
10456
|
/**
|
|
10132
10457
|
*
|
|
10133
10458
|
* @type {string}
|
|
@@ -10659,12 +10984,6 @@ export interface UpdatePlanCommand {
|
|
|
10659
10984
|
* @memberof UpdatePlanCommand
|
|
10660
10985
|
*/
|
|
10661
10986
|
'unitPrice'?: number;
|
|
10662
|
-
/**
|
|
10663
|
-
*
|
|
10664
|
-
* @type {string}
|
|
10665
|
-
* @memberof UpdatePlanCommand
|
|
10666
|
-
*/
|
|
10667
|
-
'stripePriceId'?: string | null;
|
|
10668
10987
|
/**
|
|
10669
10988
|
*
|
|
10670
10989
|
* @type {RecurringInterval}
|
|
@@ -10905,6 +11224,31 @@ export interface UpdateSpecialtyTypeCommand {
|
|
|
10905
11224
|
*/
|
|
10906
11225
|
'languageCode'?: string | null;
|
|
10907
11226
|
}
|
|
11227
|
+
/**
|
|
11228
|
+
*
|
|
11229
|
+
* @export
|
|
11230
|
+
* @interface UpdateTemplateVersionCommand
|
|
11231
|
+
*/
|
|
11232
|
+
export interface UpdateTemplateVersionCommand {
|
|
11233
|
+
/**
|
|
11234
|
+
*
|
|
11235
|
+
* @type {string}
|
|
11236
|
+
* @memberof UpdateTemplateVersionCommand
|
|
11237
|
+
*/
|
|
11238
|
+
'name'?: string | null;
|
|
11239
|
+
/**
|
|
11240
|
+
*
|
|
11241
|
+
* @type {string}
|
|
11242
|
+
* @memberof UpdateTemplateVersionCommand
|
|
11243
|
+
*/
|
|
11244
|
+
'subject'?: string | null;
|
|
11245
|
+
/**
|
|
11246
|
+
*
|
|
11247
|
+
* @type {string}
|
|
11248
|
+
* @memberof UpdateTemplateVersionCommand
|
|
11249
|
+
*/
|
|
11250
|
+
'htmlContent'?: string | null;
|
|
11251
|
+
}
|
|
10908
11252
|
/**
|
|
10909
11253
|
*
|
|
10910
11254
|
* @export
|
|
@@ -15373,6 +15717,39 @@ export class CHManagersApi extends BaseAPI {
|
|
|
15373
15717
|
*/
|
|
15374
15718
|
export const ChatUsersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
15375
15719
|
return {
|
|
15720
|
+
/**
|
|
15721
|
+
*
|
|
15722
|
+
* @param {*} [options] Override http request option.
|
|
15723
|
+
* @throws {RequiredError}
|
|
15724
|
+
*/
|
|
15725
|
+
apiV1ChatusersCurrentGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15726
|
+
const localVarPath = `/api/v1/chatusers/current`;
|
|
15727
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15728
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15729
|
+
let baseOptions;
|
|
15730
|
+
if (configuration) {
|
|
15731
|
+
baseOptions = configuration.baseOptions;
|
|
15732
|
+
}
|
|
15733
|
+
|
|
15734
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
15735
|
+
const localVarHeaderParameter = {} as any;
|
|
15736
|
+
const localVarQueryParameter = {} as any;
|
|
15737
|
+
|
|
15738
|
+
// authentication oauth2 required
|
|
15739
|
+
// oauth required
|
|
15740
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
15741
|
+
|
|
15742
|
+
|
|
15743
|
+
|
|
15744
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15745
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15746
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15747
|
+
|
|
15748
|
+
return {
|
|
15749
|
+
url: toPathString(localVarUrlObj),
|
|
15750
|
+
options: localVarRequestOptions,
|
|
15751
|
+
};
|
|
15752
|
+
},
|
|
15376
15753
|
/**
|
|
15377
15754
|
*
|
|
15378
15755
|
* @summary Get all chatUsers.
|
|
@@ -15598,6 +15975,15 @@ export const ChatUsersApiAxiosParamCreator = function (configuration?: Configura
|
|
|
15598
15975
|
export const ChatUsersApiFp = function(configuration?: Configuration) {
|
|
15599
15976
|
const localVarAxiosParamCreator = ChatUsersApiAxiosParamCreator(configuration)
|
|
15600
15977
|
return {
|
|
15978
|
+
/**
|
|
15979
|
+
*
|
|
15980
|
+
* @param {*} [options] Override http request option.
|
|
15981
|
+
* @throws {RequiredError}
|
|
15982
|
+
*/
|
|
15983
|
+
async apiV1ChatusersCurrentGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatUserModel>> {
|
|
15984
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ChatusersCurrentGet(options);
|
|
15985
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15986
|
+
},
|
|
15601
15987
|
/**
|
|
15602
15988
|
*
|
|
15603
15989
|
* @summary Get all chatUsers.
|
|
@@ -15668,6 +16054,14 @@ export const ChatUsersApiFp = function(configuration?: Configuration) {
|
|
|
15668
16054
|
export const ChatUsersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
15669
16055
|
const localVarFp = ChatUsersApiFp(configuration)
|
|
15670
16056
|
return {
|
|
16057
|
+
/**
|
|
16058
|
+
*
|
|
16059
|
+
* @param {*} [options] Override http request option.
|
|
16060
|
+
* @throws {RequiredError}
|
|
16061
|
+
*/
|
|
16062
|
+
apiV1ChatusersCurrentGet(options?: any): AxiosPromise<ChatUserModel> {
|
|
16063
|
+
return localVarFp.apiV1ChatusersCurrentGet(options).then((request) => request(axios, basePath));
|
|
16064
|
+
},
|
|
15671
16065
|
/**
|
|
15672
16066
|
*
|
|
15673
16067
|
* @summary Get all chatUsers.
|
|
@@ -15733,6 +16127,16 @@ export const ChatUsersApiFactory = function (configuration?: Configuration, base
|
|
|
15733
16127
|
* @extends {BaseAPI}
|
|
15734
16128
|
*/
|
|
15735
16129
|
export class ChatUsersApi extends BaseAPI {
|
|
16130
|
+
/**
|
|
16131
|
+
*
|
|
16132
|
+
* @param {*} [options] Override http request option.
|
|
16133
|
+
* @throws {RequiredError}
|
|
16134
|
+
* @memberof ChatUsersApi
|
|
16135
|
+
*/
|
|
16136
|
+
public apiV1ChatusersCurrentGet(options?: AxiosRequestConfig) {
|
|
16137
|
+
return ChatUsersApiFp(this.configuration).apiV1ChatusersCurrentGet(options).then((request) => request(this.axios, this.basePath));
|
|
16138
|
+
}
|
|
16139
|
+
|
|
15736
16140
|
/**
|
|
15737
16141
|
*
|
|
15738
16142
|
* @summary Get all chatUsers.
|
|
@@ -16241,13 +16645,14 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
16241
16645
|
* @param {boolean} [isOpen]
|
|
16242
16646
|
* @param {boolean} [isCompleted]
|
|
16243
16647
|
* @param {ConsultationStatus} [status]
|
|
16648
|
+
* @param {ConsultationType} [consultationType]
|
|
16244
16649
|
* @param {number} [page]
|
|
16245
16650
|
* @param {number} [limit]
|
|
16246
16651
|
* @param {Date} [lastRetrieved]
|
|
16247
16652
|
* @param {*} [options] Override http request option.
|
|
16248
16653
|
* @throws {RequiredError}
|
|
16249
16654
|
*/
|
|
16250
|
-
apiV1ConsultationsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16655
|
+
apiV1ConsultationsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16251
16656
|
const localVarPath = `/api/v1/consultations`;
|
|
16252
16657
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16253
16658
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -16280,6 +16685,10 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
16280
16685
|
localVarQueryParameter['Status'] = status;
|
|
16281
16686
|
}
|
|
16282
16687
|
|
|
16688
|
+
if (consultationType !== undefined) {
|
|
16689
|
+
localVarQueryParameter['ConsultationType'] = consultationType;
|
|
16690
|
+
}
|
|
16691
|
+
|
|
16283
16692
|
if (page !== undefined) {
|
|
16284
16693
|
localVarQueryParameter['page'] = page;
|
|
16285
16694
|
}
|
|
@@ -16379,14 +16788,15 @@ export const ConsultationsApiFp = function(configuration?: Configuration) {
|
|
|
16379
16788
|
* @param {boolean} [isOpen]
|
|
16380
16789
|
* @param {boolean} [isCompleted]
|
|
16381
16790
|
* @param {ConsultationStatus} [status]
|
|
16791
|
+
* @param {ConsultationType} [consultationType]
|
|
16382
16792
|
* @param {number} [page]
|
|
16383
16793
|
* @param {number} [limit]
|
|
16384
16794
|
* @param {Date} [lastRetrieved]
|
|
16385
16795
|
* @param {*} [options] Override http request option.
|
|
16386
16796
|
* @throws {RequiredError}
|
|
16387
16797
|
*/
|
|
16388
|
-
async apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationsModel>> {
|
|
16389
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, page, limit, lastRetrieved, options);
|
|
16798
|
+
async apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationsModel>> {
|
|
16799
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options);
|
|
16390
16800
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16391
16801
|
},
|
|
16392
16802
|
}
|
|
@@ -16458,14 +16868,15 @@ export const ConsultationsApiFactory = function (configuration?: Configuration,
|
|
|
16458
16868
|
* @param {boolean} [isOpen]
|
|
16459
16869
|
* @param {boolean} [isCompleted]
|
|
16460
16870
|
* @param {ConsultationStatus} [status]
|
|
16871
|
+
* @param {ConsultationType} [consultationType]
|
|
16461
16872
|
* @param {number} [page]
|
|
16462
16873
|
* @param {number} [limit]
|
|
16463
16874
|
* @param {Date} [lastRetrieved]
|
|
16464
16875
|
* @param {*} [options] Override http request option.
|
|
16465
16876
|
* @throws {RequiredError}
|
|
16466
16877
|
*/
|
|
16467
|
-
apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ConsultationsModel> {
|
|
16468
|
-
return localVarFp.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
16878
|
+
apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ConsultationsModel> {
|
|
16879
|
+
return localVarFp.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
16469
16880
|
},
|
|
16470
16881
|
};
|
|
16471
16882
|
};
|
|
@@ -16546,6 +16957,7 @@ export class ConsultationsApi extends BaseAPI {
|
|
|
16546
16957
|
* @param {boolean} [isOpen]
|
|
16547
16958
|
* @param {boolean} [isCompleted]
|
|
16548
16959
|
* @param {ConsultationStatus} [status]
|
|
16960
|
+
* @param {ConsultationType} [consultationType]
|
|
16549
16961
|
* @param {number} [page]
|
|
16550
16962
|
* @param {number} [limit]
|
|
16551
16963
|
* @param {Date} [lastRetrieved]
|
|
@@ -16553,8 +16965,8 @@ export class ConsultationsApi extends BaseAPI {
|
|
|
16553
16965
|
* @throws {RequiredError}
|
|
16554
16966
|
* @memberof ConsultationsApi
|
|
16555
16967
|
*/
|
|
16556
|
-
public apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
16557
|
-
return ConsultationsApiFp(this.configuration).apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
16968
|
+
public apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
16969
|
+
return ConsultationsApiFp(this.configuration).apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
16558
16970
|
}
|
|
16559
16971
|
}
|
|
16560
16972
|
|
|
@@ -16943,9 +17355,9 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
16943
17355
|
* @param {string} [email]
|
|
16944
17356
|
* @param {string} [description]
|
|
16945
17357
|
* @param {string} [website]
|
|
16946
|
-
* @param {string} [languageCode]
|
|
16947
17358
|
* @param {string} [hospitalId]
|
|
16948
17359
|
* @param {boolean} [interviewerOnly]
|
|
17360
|
+
* @param {string} [languageCode]
|
|
16949
17361
|
* @param {boolean} [showHidden]
|
|
16950
17362
|
* @param {number} [page]
|
|
16951
17363
|
* @param {number} [limit]
|
|
@@ -16953,7 +17365,7 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
16953
17365
|
* @param {*} [options] Override http request option.
|
|
16954
17366
|
* @throws {RequiredError}
|
|
16955
17367
|
*/
|
|
16956
|
-
apiV1ContributorsGet: async (id?: string, name?: string, email?: string, description?: string, website?: string,
|
|
17368
|
+
apiV1ContributorsGet: async (id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16957
17369
|
const localVarPath = `/api/v1/contributors`;
|
|
16958
17370
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16959
17371
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -16990,10 +17402,6 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
16990
17402
|
localVarQueryParameter['Website'] = website;
|
|
16991
17403
|
}
|
|
16992
17404
|
|
|
16993
|
-
if (languageCode !== undefined) {
|
|
16994
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
16995
|
-
}
|
|
16996
|
-
|
|
16997
17405
|
if (hospitalId !== undefined) {
|
|
16998
17406
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
16999
17407
|
}
|
|
@@ -17002,6 +17410,10 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
17002
17410
|
localVarQueryParameter['InterviewerOnly'] = interviewerOnly;
|
|
17003
17411
|
}
|
|
17004
17412
|
|
|
17413
|
+
if (languageCode !== undefined) {
|
|
17414
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
17415
|
+
}
|
|
17416
|
+
|
|
17005
17417
|
if (showHidden !== undefined) {
|
|
17006
17418
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
17007
17419
|
}
|
|
@@ -17232,9 +17644,9 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
|
|
|
17232
17644
|
* @param {string} [email]
|
|
17233
17645
|
* @param {string} [description]
|
|
17234
17646
|
* @param {string} [website]
|
|
17235
|
-
* @param {string} [languageCode]
|
|
17236
17647
|
* @param {string} [hospitalId]
|
|
17237
17648
|
* @param {boolean} [interviewerOnly]
|
|
17649
|
+
* @param {string} [languageCode]
|
|
17238
17650
|
* @param {boolean} [showHidden]
|
|
17239
17651
|
* @param {number} [page]
|
|
17240
17652
|
* @param {number} [limit]
|
|
@@ -17242,8 +17654,8 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
|
|
|
17242
17654
|
* @param {*} [options] Override http request option.
|
|
17243
17655
|
* @throws {RequiredError}
|
|
17244
17656
|
*/
|
|
17245
|
-
async apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string,
|
|
17246
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContributorsGet(id, name, email, description, website,
|
|
17657
|
+
async apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorsModel>> {
|
|
17658
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
17247
17659
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17248
17660
|
},
|
|
17249
17661
|
/**
|
|
@@ -17381,9 +17793,9 @@ export const ContributorsApiFactory = function (configuration?: Configuration, b
|
|
|
17381
17793
|
* @param {string} [email]
|
|
17382
17794
|
* @param {string} [description]
|
|
17383
17795
|
* @param {string} [website]
|
|
17384
|
-
* @param {string} [languageCode]
|
|
17385
17796
|
* @param {string} [hospitalId]
|
|
17386
17797
|
* @param {boolean} [interviewerOnly]
|
|
17798
|
+
* @param {string} [languageCode]
|
|
17387
17799
|
* @param {boolean} [showHidden]
|
|
17388
17800
|
* @param {number} [page]
|
|
17389
17801
|
* @param {number} [limit]
|
|
@@ -17391,8 +17803,8 @@ export const ContributorsApiFactory = function (configuration?: Configuration, b
|
|
|
17391
17803
|
* @param {*} [options] Override http request option.
|
|
17392
17804
|
* @throws {RequiredError}
|
|
17393
17805
|
*/
|
|
17394
|
-
apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string,
|
|
17395
|
-
return localVarFp.apiV1ContributorsGet(id, name, email, description, website,
|
|
17806
|
+
apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ContributorsModel> {
|
|
17807
|
+
return localVarFp.apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
17396
17808
|
},
|
|
17397
17809
|
/**
|
|
17398
17810
|
*
|
|
@@ -17543,9 +17955,9 @@ export class ContributorsApi extends BaseAPI {
|
|
|
17543
17955
|
* @param {string} [email]
|
|
17544
17956
|
* @param {string} [description]
|
|
17545
17957
|
* @param {string} [website]
|
|
17546
|
-
* @param {string} [languageCode]
|
|
17547
17958
|
* @param {string} [hospitalId]
|
|
17548
17959
|
* @param {boolean} [interviewerOnly]
|
|
17960
|
+
* @param {string} [languageCode]
|
|
17549
17961
|
* @param {boolean} [showHidden]
|
|
17550
17962
|
* @param {number} [page]
|
|
17551
17963
|
* @param {number} [limit]
|
|
@@ -17554,8 +17966,8 @@ export class ContributorsApi extends BaseAPI {
|
|
|
17554
17966
|
* @throws {RequiredError}
|
|
17555
17967
|
* @memberof ContributorsApi
|
|
17556
17968
|
*/
|
|
17557
|
-
public apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string,
|
|
17558
|
-
return ContributorsApiFp(this.configuration).apiV1ContributorsGet(id, name, email, description, website,
|
|
17969
|
+
public apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
17970
|
+
return ContributorsApiFp(this.configuration).apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
17559
17971
|
}
|
|
17560
17972
|
|
|
17561
17973
|
/**
|
|
@@ -23249,6 +23661,503 @@ export class DoctorsApi extends BaseAPI {
|
|
|
23249
23661
|
}
|
|
23250
23662
|
|
|
23251
23663
|
|
|
23664
|
+
/**
|
|
23665
|
+
* EmailMarketingsApi - axios parameter creator
|
|
23666
|
+
* @export
|
|
23667
|
+
*/
|
|
23668
|
+
export const EmailMarketingsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
23669
|
+
return {
|
|
23670
|
+
/**
|
|
23671
|
+
*
|
|
23672
|
+
* @summary Get all templateVersions.
|
|
23673
|
+
* @param {number} [page]
|
|
23674
|
+
* @param {number} [limit]
|
|
23675
|
+
* @param {Date} [lastRetrieved]
|
|
23676
|
+
* @param {*} [options] Override http request option.
|
|
23677
|
+
* @throws {RequiredError}
|
|
23678
|
+
*/
|
|
23679
|
+
apiV1EmailmarketingsVersionsGet: async (page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23680
|
+
const localVarPath = `/api/v1/emailmarketings/versions`;
|
|
23681
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23682
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23683
|
+
let baseOptions;
|
|
23684
|
+
if (configuration) {
|
|
23685
|
+
baseOptions = configuration.baseOptions;
|
|
23686
|
+
}
|
|
23687
|
+
|
|
23688
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
23689
|
+
const localVarHeaderParameter = {} as any;
|
|
23690
|
+
const localVarQueryParameter = {} as any;
|
|
23691
|
+
|
|
23692
|
+
// authentication oauth2 required
|
|
23693
|
+
// oauth required
|
|
23694
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
23695
|
+
|
|
23696
|
+
if (page !== undefined) {
|
|
23697
|
+
localVarQueryParameter['page'] = page;
|
|
23698
|
+
}
|
|
23699
|
+
|
|
23700
|
+
if (limit !== undefined) {
|
|
23701
|
+
localVarQueryParameter['limit'] = limit;
|
|
23702
|
+
}
|
|
23703
|
+
|
|
23704
|
+
if (lastRetrieved !== undefined) {
|
|
23705
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
23706
|
+
(lastRetrieved as any).toISOString() :
|
|
23707
|
+
lastRetrieved;
|
|
23708
|
+
}
|
|
23709
|
+
|
|
23710
|
+
|
|
23711
|
+
|
|
23712
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23713
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23714
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23715
|
+
|
|
23716
|
+
return {
|
|
23717
|
+
url: toPathString(localVarUrlObj),
|
|
23718
|
+
options: localVarRequestOptions,
|
|
23719
|
+
};
|
|
23720
|
+
},
|
|
23721
|
+
/**
|
|
23722
|
+
*
|
|
23723
|
+
* @summary Create a templateVersion.
|
|
23724
|
+
* @param {CreateTemplateVersionCommand} [createTemplateVersionCommand]
|
|
23725
|
+
* @param {*} [options] Override http request option.
|
|
23726
|
+
* @throws {RequiredError}
|
|
23727
|
+
*/
|
|
23728
|
+
apiV1EmailmarketingsVersionsPost: async (createTemplateVersionCommand?: CreateTemplateVersionCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23729
|
+
const localVarPath = `/api/v1/emailmarketings/versions`;
|
|
23730
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23731
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23732
|
+
let baseOptions;
|
|
23733
|
+
if (configuration) {
|
|
23734
|
+
baseOptions = configuration.baseOptions;
|
|
23735
|
+
}
|
|
23736
|
+
|
|
23737
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
23738
|
+
const localVarHeaderParameter = {} as any;
|
|
23739
|
+
const localVarQueryParameter = {} as any;
|
|
23740
|
+
|
|
23741
|
+
// authentication oauth2 required
|
|
23742
|
+
// oauth required
|
|
23743
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
23744
|
+
|
|
23745
|
+
|
|
23746
|
+
|
|
23747
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
23748
|
+
|
|
23749
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23750
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23751
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23752
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createTemplateVersionCommand, localVarRequestOptions, configuration)
|
|
23753
|
+
|
|
23754
|
+
return {
|
|
23755
|
+
url: toPathString(localVarUrlObj),
|
|
23756
|
+
options: localVarRequestOptions,
|
|
23757
|
+
};
|
|
23758
|
+
},
|
|
23759
|
+
/**
|
|
23760
|
+
*
|
|
23761
|
+
* @summary Delete templateVersion.
|
|
23762
|
+
* @param {string} versionId
|
|
23763
|
+
* @param {*} [options] Override http request option.
|
|
23764
|
+
* @throws {RequiredError}
|
|
23765
|
+
*/
|
|
23766
|
+
apiV1EmailmarketingsVersionsVersionIdDelete: async (versionId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23767
|
+
// verify required parameter 'versionId' is not null or undefined
|
|
23768
|
+
assertParamExists('apiV1EmailmarketingsVersionsVersionIdDelete', 'versionId', versionId)
|
|
23769
|
+
const localVarPath = `/api/v1/emailmarketings/versions/{versionId}`
|
|
23770
|
+
.replace(`{${"versionId"}}`, encodeURIComponent(String(versionId)));
|
|
23771
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23772
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23773
|
+
let baseOptions;
|
|
23774
|
+
if (configuration) {
|
|
23775
|
+
baseOptions = configuration.baseOptions;
|
|
23776
|
+
}
|
|
23777
|
+
|
|
23778
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
23779
|
+
const localVarHeaderParameter = {} as any;
|
|
23780
|
+
const localVarQueryParameter = {} as any;
|
|
23781
|
+
|
|
23782
|
+
// authentication oauth2 required
|
|
23783
|
+
// oauth required
|
|
23784
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
23785
|
+
|
|
23786
|
+
|
|
23787
|
+
|
|
23788
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23789
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23790
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23791
|
+
|
|
23792
|
+
return {
|
|
23793
|
+
url: toPathString(localVarUrlObj),
|
|
23794
|
+
options: localVarRequestOptions,
|
|
23795
|
+
};
|
|
23796
|
+
},
|
|
23797
|
+
/**
|
|
23798
|
+
*
|
|
23799
|
+
* @summary Get templateVersion.
|
|
23800
|
+
* @param {string} versionId
|
|
23801
|
+
* @param {*} [options] Override http request option.
|
|
23802
|
+
* @throws {RequiredError}
|
|
23803
|
+
*/
|
|
23804
|
+
apiV1EmailmarketingsVersionsVersionIdGet: async (versionId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23805
|
+
// verify required parameter 'versionId' is not null or undefined
|
|
23806
|
+
assertParamExists('apiV1EmailmarketingsVersionsVersionIdGet', 'versionId', versionId)
|
|
23807
|
+
const localVarPath = `/api/v1/emailmarketings/versions/{versionId}`
|
|
23808
|
+
.replace(`{${"versionId"}}`, encodeURIComponent(String(versionId)));
|
|
23809
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23810
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23811
|
+
let baseOptions;
|
|
23812
|
+
if (configuration) {
|
|
23813
|
+
baseOptions = configuration.baseOptions;
|
|
23814
|
+
}
|
|
23815
|
+
|
|
23816
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
23817
|
+
const localVarHeaderParameter = {} as any;
|
|
23818
|
+
const localVarQueryParameter = {} as any;
|
|
23819
|
+
|
|
23820
|
+
// authentication oauth2 required
|
|
23821
|
+
// oauth required
|
|
23822
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
23823
|
+
|
|
23824
|
+
|
|
23825
|
+
|
|
23826
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23827
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23828
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23829
|
+
|
|
23830
|
+
return {
|
|
23831
|
+
url: toPathString(localVarUrlObj),
|
|
23832
|
+
options: localVarRequestOptions,
|
|
23833
|
+
};
|
|
23834
|
+
},
|
|
23835
|
+
/**
|
|
23836
|
+
*
|
|
23837
|
+
* @summary Update templateVersion.
|
|
23838
|
+
* @param {string} versionId
|
|
23839
|
+
* @param {UpdateTemplateVersionCommand} [updateTemplateVersionCommand]
|
|
23840
|
+
* @param {*} [options] Override http request option.
|
|
23841
|
+
* @throws {RequiredError}
|
|
23842
|
+
*/
|
|
23843
|
+
apiV1EmailmarketingsVersionsVersionIdPut: async (versionId: string, updateTemplateVersionCommand?: UpdateTemplateVersionCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23844
|
+
// verify required parameter 'versionId' is not null or undefined
|
|
23845
|
+
assertParamExists('apiV1EmailmarketingsVersionsVersionIdPut', 'versionId', versionId)
|
|
23846
|
+
const localVarPath = `/api/v1/emailmarketings/versions/{versionId}`
|
|
23847
|
+
.replace(`{${"versionId"}}`, encodeURIComponent(String(versionId)));
|
|
23848
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23849
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23850
|
+
let baseOptions;
|
|
23851
|
+
if (configuration) {
|
|
23852
|
+
baseOptions = configuration.baseOptions;
|
|
23853
|
+
}
|
|
23854
|
+
|
|
23855
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
23856
|
+
const localVarHeaderParameter = {} as any;
|
|
23857
|
+
const localVarQueryParameter = {} as any;
|
|
23858
|
+
|
|
23859
|
+
// authentication oauth2 required
|
|
23860
|
+
// oauth required
|
|
23861
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
23862
|
+
|
|
23863
|
+
|
|
23864
|
+
|
|
23865
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
23866
|
+
|
|
23867
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23868
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23869
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23870
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateTemplateVersionCommand, localVarRequestOptions, configuration)
|
|
23871
|
+
|
|
23872
|
+
return {
|
|
23873
|
+
url: toPathString(localVarUrlObj),
|
|
23874
|
+
options: localVarRequestOptions,
|
|
23875
|
+
};
|
|
23876
|
+
},
|
|
23877
|
+
/**
|
|
23878
|
+
*
|
|
23879
|
+
* @summary Send templateVersion email.
|
|
23880
|
+
* @param {string} versionId
|
|
23881
|
+
* @param {SendTemplateVersionCommand} [sendTemplateVersionCommand]
|
|
23882
|
+
* @param {*} [options] Override http request option.
|
|
23883
|
+
* @throws {RequiredError}
|
|
23884
|
+
*/
|
|
23885
|
+
apiV1EmailmarketingsVersionsVersionIdSendPost: async (versionId: string, sendTemplateVersionCommand?: SendTemplateVersionCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23886
|
+
// verify required parameter 'versionId' is not null or undefined
|
|
23887
|
+
assertParamExists('apiV1EmailmarketingsVersionsVersionIdSendPost', 'versionId', versionId)
|
|
23888
|
+
const localVarPath = `/api/v1/emailmarketings/versions/{versionId}/send`
|
|
23889
|
+
.replace(`{${"versionId"}}`, encodeURIComponent(String(versionId)));
|
|
23890
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23891
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23892
|
+
let baseOptions;
|
|
23893
|
+
if (configuration) {
|
|
23894
|
+
baseOptions = configuration.baseOptions;
|
|
23895
|
+
}
|
|
23896
|
+
|
|
23897
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
23898
|
+
const localVarHeaderParameter = {} as any;
|
|
23899
|
+
const localVarQueryParameter = {} as any;
|
|
23900
|
+
|
|
23901
|
+
// authentication oauth2 required
|
|
23902
|
+
// oauth required
|
|
23903
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
23904
|
+
|
|
23905
|
+
|
|
23906
|
+
|
|
23907
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
23908
|
+
|
|
23909
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23910
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23911
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23912
|
+
localVarRequestOptions.data = serializeDataIfNeeded(sendTemplateVersionCommand, localVarRequestOptions, configuration)
|
|
23913
|
+
|
|
23914
|
+
return {
|
|
23915
|
+
url: toPathString(localVarUrlObj),
|
|
23916
|
+
options: localVarRequestOptions,
|
|
23917
|
+
};
|
|
23918
|
+
},
|
|
23919
|
+
}
|
|
23920
|
+
};
|
|
23921
|
+
|
|
23922
|
+
/**
|
|
23923
|
+
* EmailMarketingsApi - functional programming interface
|
|
23924
|
+
* @export
|
|
23925
|
+
*/
|
|
23926
|
+
export const EmailMarketingsApiFp = function(configuration?: Configuration) {
|
|
23927
|
+
const localVarAxiosParamCreator = EmailMarketingsApiAxiosParamCreator(configuration)
|
|
23928
|
+
return {
|
|
23929
|
+
/**
|
|
23930
|
+
*
|
|
23931
|
+
* @summary Get all templateVersions.
|
|
23932
|
+
* @param {number} [page]
|
|
23933
|
+
* @param {number} [limit]
|
|
23934
|
+
* @param {Date} [lastRetrieved]
|
|
23935
|
+
* @param {*} [options] Override http request option.
|
|
23936
|
+
* @throws {RequiredError}
|
|
23937
|
+
*/
|
|
23938
|
+
async apiV1EmailmarketingsVersionsGet(page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TemplateVersionsModel>> {
|
|
23939
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1EmailmarketingsVersionsGet(page, limit, lastRetrieved, options);
|
|
23940
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23941
|
+
},
|
|
23942
|
+
/**
|
|
23943
|
+
*
|
|
23944
|
+
* @summary Create a templateVersion.
|
|
23945
|
+
* @param {CreateTemplateVersionCommand} [createTemplateVersionCommand]
|
|
23946
|
+
* @param {*} [options] Override http request option.
|
|
23947
|
+
* @throws {RequiredError}
|
|
23948
|
+
*/
|
|
23949
|
+
async apiV1EmailmarketingsVersionsPost(createTemplateVersionCommand?: CreateTemplateVersionCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TemplateVersionModel>> {
|
|
23950
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1EmailmarketingsVersionsPost(createTemplateVersionCommand, options);
|
|
23951
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23952
|
+
},
|
|
23953
|
+
/**
|
|
23954
|
+
*
|
|
23955
|
+
* @summary Delete templateVersion.
|
|
23956
|
+
* @param {string} versionId
|
|
23957
|
+
* @param {*} [options] Override http request option.
|
|
23958
|
+
* @throws {RequiredError}
|
|
23959
|
+
*/
|
|
23960
|
+
async apiV1EmailmarketingsVersionsVersionIdDelete(versionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
23961
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1EmailmarketingsVersionsVersionIdDelete(versionId, options);
|
|
23962
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23963
|
+
},
|
|
23964
|
+
/**
|
|
23965
|
+
*
|
|
23966
|
+
* @summary Get templateVersion.
|
|
23967
|
+
* @param {string} versionId
|
|
23968
|
+
* @param {*} [options] Override http request option.
|
|
23969
|
+
* @throws {RequiredError}
|
|
23970
|
+
*/
|
|
23971
|
+
async apiV1EmailmarketingsVersionsVersionIdGet(versionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TemplateVersionModel>> {
|
|
23972
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1EmailmarketingsVersionsVersionIdGet(versionId, options);
|
|
23973
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23974
|
+
},
|
|
23975
|
+
/**
|
|
23976
|
+
*
|
|
23977
|
+
* @summary Update templateVersion.
|
|
23978
|
+
* @param {string} versionId
|
|
23979
|
+
* @param {UpdateTemplateVersionCommand} [updateTemplateVersionCommand]
|
|
23980
|
+
* @param {*} [options] Override http request option.
|
|
23981
|
+
* @throws {RequiredError}
|
|
23982
|
+
*/
|
|
23983
|
+
async apiV1EmailmarketingsVersionsVersionIdPut(versionId: string, updateTemplateVersionCommand?: UpdateTemplateVersionCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TemplateVersionModel>> {
|
|
23984
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1EmailmarketingsVersionsVersionIdPut(versionId, updateTemplateVersionCommand, options);
|
|
23985
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23986
|
+
},
|
|
23987
|
+
/**
|
|
23988
|
+
*
|
|
23989
|
+
* @summary Send templateVersion email.
|
|
23990
|
+
* @param {string} versionId
|
|
23991
|
+
* @param {SendTemplateVersionCommand} [sendTemplateVersionCommand]
|
|
23992
|
+
* @param {*} [options] Override http request option.
|
|
23993
|
+
* @throws {RequiredError}
|
|
23994
|
+
*/
|
|
23995
|
+
async apiV1EmailmarketingsVersionsVersionIdSendPost(versionId: string, sendTemplateVersionCommand?: SendTemplateVersionCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
23996
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1EmailmarketingsVersionsVersionIdSendPost(versionId, sendTemplateVersionCommand, options);
|
|
23997
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23998
|
+
},
|
|
23999
|
+
}
|
|
24000
|
+
};
|
|
24001
|
+
|
|
24002
|
+
/**
|
|
24003
|
+
* EmailMarketingsApi - factory interface
|
|
24004
|
+
* @export
|
|
24005
|
+
*/
|
|
24006
|
+
export const EmailMarketingsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
24007
|
+
const localVarFp = EmailMarketingsApiFp(configuration)
|
|
24008
|
+
return {
|
|
24009
|
+
/**
|
|
24010
|
+
*
|
|
24011
|
+
* @summary Get all templateVersions.
|
|
24012
|
+
* @param {number} [page]
|
|
24013
|
+
* @param {number} [limit]
|
|
24014
|
+
* @param {Date} [lastRetrieved]
|
|
24015
|
+
* @param {*} [options] Override http request option.
|
|
24016
|
+
* @throws {RequiredError}
|
|
24017
|
+
*/
|
|
24018
|
+
apiV1EmailmarketingsVersionsGet(page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<TemplateVersionsModel> {
|
|
24019
|
+
return localVarFp.apiV1EmailmarketingsVersionsGet(page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
24020
|
+
},
|
|
24021
|
+
/**
|
|
24022
|
+
*
|
|
24023
|
+
* @summary Create a templateVersion.
|
|
24024
|
+
* @param {CreateTemplateVersionCommand} [createTemplateVersionCommand]
|
|
24025
|
+
* @param {*} [options] Override http request option.
|
|
24026
|
+
* @throws {RequiredError}
|
|
24027
|
+
*/
|
|
24028
|
+
apiV1EmailmarketingsVersionsPost(createTemplateVersionCommand?: CreateTemplateVersionCommand, options?: any): AxiosPromise<TemplateVersionModel> {
|
|
24029
|
+
return localVarFp.apiV1EmailmarketingsVersionsPost(createTemplateVersionCommand, options).then((request) => request(axios, basePath));
|
|
24030
|
+
},
|
|
24031
|
+
/**
|
|
24032
|
+
*
|
|
24033
|
+
* @summary Delete templateVersion.
|
|
24034
|
+
* @param {string} versionId
|
|
24035
|
+
* @param {*} [options] Override http request option.
|
|
24036
|
+
* @throws {RequiredError}
|
|
24037
|
+
*/
|
|
24038
|
+
apiV1EmailmarketingsVersionsVersionIdDelete(versionId: string, options?: any): AxiosPromise<boolean> {
|
|
24039
|
+
return localVarFp.apiV1EmailmarketingsVersionsVersionIdDelete(versionId, options).then((request) => request(axios, basePath));
|
|
24040
|
+
},
|
|
24041
|
+
/**
|
|
24042
|
+
*
|
|
24043
|
+
* @summary Get templateVersion.
|
|
24044
|
+
* @param {string} versionId
|
|
24045
|
+
* @param {*} [options] Override http request option.
|
|
24046
|
+
* @throws {RequiredError}
|
|
24047
|
+
*/
|
|
24048
|
+
apiV1EmailmarketingsVersionsVersionIdGet(versionId: string, options?: any): AxiosPromise<TemplateVersionModel> {
|
|
24049
|
+
return localVarFp.apiV1EmailmarketingsVersionsVersionIdGet(versionId, options).then((request) => request(axios, basePath));
|
|
24050
|
+
},
|
|
24051
|
+
/**
|
|
24052
|
+
*
|
|
24053
|
+
* @summary Update templateVersion.
|
|
24054
|
+
* @param {string} versionId
|
|
24055
|
+
* @param {UpdateTemplateVersionCommand} [updateTemplateVersionCommand]
|
|
24056
|
+
* @param {*} [options] Override http request option.
|
|
24057
|
+
* @throws {RequiredError}
|
|
24058
|
+
*/
|
|
24059
|
+
apiV1EmailmarketingsVersionsVersionIdPut(versionId: string, updateTemplateVersionCommand?: UpdateTemplateVersionCommand, options?: any): AxiosPromise<TemplateVersionModel> {
|
|
24060
|
+
return localVarFp.apiV1EmailmarketingsVersionsVersionIdPut(versionId, updateTemplateVersionCommand, options).then((request) => request(axios, basePath));
|
|
24061
|
+
},
|
|
24062
|
+
/**
|
|
24063
|
+
*
|
|
24064
|
+
* @summary Send templateVersion email.
|
|
24065
|
+
* @param {string} versionId
|
|
24066
|
+
* @param {SendTemplateVersionCommand} [sendTemplateVersionCommand]
|
|
24067
|
+
* @param {*} [options] Override http request option.
|
|
24068
|
+
* @throws {RequiredError}
|
|
24069
|
+
*/
|
|
24070
|
+
apiV1EmailmarketingsVersionsVersionIdSendPost(versionId: string, sendTemplateVersionCommand?: SendTemplateVersionCommand, options?: any): AxiosPromise<boolean> {
|
|
24071
|
+
return localVarFp.apiV1EmailmarketingsVersionsVersionIdSendPost(versionId, sendTemplateVersionCommand, options).then((request) => request(axios, basePath));
|
|
24072
|
+
},
|
|
24073
|
+
};
|
|
24074
|
+
};
|
|
24075
|
+
|
|
24076
|
+
/**
|
|
24077
|
+
* EmailMarketingsApi - object-oriented interface
|
|
24078
|
+
* @export
|
|
24079
|
+
* @class EmailMarketingsApi
|
|
24080
|
+
* @extends {BaseAPI}
|
|
24081
|
+
*/
|
|
24082
|
+
export class EmailMarketingsApi extends BaseAPI {
|
|
24083
|
+
/**
|
|
24084
|
+
*
|
|
24085
|
+
* @summary Get all templateVersions.
|
|
24086
|
+
* @param {number} [page]
|
|
24087
|
+
* @param {number} [limit]
|
|
24088
|
+
* @param {Date} [lastRetrieved]
|
|
24089
|
+
* @param {*} [options] Override http request option.
|
|
24090
|
+
* @throws {RequiredError}
|
|
24091
|
+
* @memberof EmailMarketingsApi
|
|
24092
|
+
*/
|
|
24093
|
+
public apiV1EmailmarketingsVersionsGet(page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
24094
|
+
return EmailMarketingsApiFp(this.configuration).apiV1EmailmarketingsVersionsGet(page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
24095
|
+
}
|
|
24096
|
+
|
|
24097
|
+
/**
|
|
24098
|
+
*
|
|
24099
|
+
* @summary Create a templateVersion.
|
|
24100
|
+
* @param {CreateTemplateVersionCommand} [createTemplateVersionCommand]
|
|
24101
|
+
* @param {*} [options] Override http request option.
|
|
24102
|
+
* @throws {RequiredError}
|
|
24103
|
+
* @memberof EmailMarketingsApi
|
|
24104
|
+
*/
|
|
24105
|
+
public apiV1EmailmarketingsVersionsPost(createTemplateVersionCommand?: CreateTemplateVersionCommand, options?: AxiosRequestConfig) {
|
|
24106
|
+
return EmailMarketingsApiFp(this.configuration).apiV1EmailmarketingsVersionsPost(createTemplateVersionCommand, options).then((request) => request(this.axios, this.basePath));
|
|
24107
|
+
}
|
|
24108
|
+
|
|
24109
|
+
/**
|
|
24110
|
+
*
|
|
24111
|
+
* @summary Delete templateVersion.
|
|
24112
|
+
* @param {string} versionId
|
|
24113
|
+
* @param {*} [options] Override http request option.
|
|
24114
|
+
* @throws {RequiredError}
|
|
24115
|
+
* @memberof EmailMarketingsApi
|
|
24116
|
+
*/
|
|
24117
|
+
public apiV1EmailmarketingsVersionsVersionIdDelete(versionId: string, options?: AxiosRequestConfig) {
|
|
24118
|
+
return EmailMarketingsApiFp(this.configuration).apiV1EmailmarketingsVersionsVersionIdDelete(versionId, options).then((request) => request(this.axios, this.basePath));
|
|
24119
|
+
}
|
|
24120
|
+
|
|
24121
|
+
/**
|
|
24122
|
+
*
|
|
24123
|
+
* @summary Get templateVersion.
|
|
24124
|
+
* @param {string} versionId
|
|
24125
|
+
* @param {*} [options] Override http request option.
|
|
24126
|
+
* @throws {RequiredError}
|
|
24127
|
+
* @memberof EmailMarketingsApi
|
|
24128
|
+
*/
|
|
24129
|
+
public apiV1EmailmarketingsVersionsVersionIdGet(versionId: string, options?: AxiosRequestConfig) {
|
|
24130
|
+
return EmailMarketingsApiFp(this.configuration).apiV1EmailmarketingsVersionsVersionIdGet(versionId, options).then((request) => request(this.axios, this.basePath));
|
|
24131
|
+
}
|
|
24132
|
+
|
|
24133
|
+
/**
|
|
24134
|
+
*
|
|
24135
|
+
* @summary Update templateVersion.
|
|
24136
|
+
* @param {string} versionId
|
|
24137
|
+
* @param {UpdateTemplateVersionCommand} [updateTemplateVersionCommand]
|
|
24138
|
+
* @param {*} [options] Override http request option.
|
|
24139
|
+
* @throws {RequiredError}
|
|
24140
|
+
* @memberof EmailMarketingsApi
|
|
24141
|
+
*/
|
|
24142
|
+
public apiV1EmailmarketingsVersionsVersionIdPut(versionId: string, updateTemplateVersionCommand?: UpdateTemplateVersionCommand, options?: AxiosRequestConfig) {
|
|
24143
|
+
return EmailMarketingsApiFp(this.configuration).apiV1EmailmarketingsVersionsVersionIdPut(versionId, updateTemplateVersionCommand, options).then((request) => request(this.axios, this.basePath));
|
|
24144
|
+
}
|
|
24145
|
+
|
|
24146
|
+
/**
|
|
24147
|
+
*
|
|
24148
|
+
* @summary Send templateVersion email.
|
|
24149
|
+
* @param {string} versionId
|
|
24150
|
+
* @param {SendTemplateVersionCommand} [sendTemplateVersionCommand]
|
|
24151
|
+
* @param {*} [options] Override http request option.
|
|
24152
|
+
* @throws {RequiredError}
|
|
24153
|
+
* @memberof EmailMarketingsApi
|
|
24154
|
+
*/
|
|
24155
|
+
public apiV1EmailmarketingsVersionsVersionIdSendPost(versionId: string, sendTemplateVersionCommand?: SendTemplateVersionCommand, options?: AxiosRequestConfig) {
|
|
24156
|
+
return EmailMarketingsApiFp(this.configuration).apiV1EmailmarketingsVersionsVersionIdSendPost(versionId, sendTemplateVersionCommand, options).then((request) => request(this.axios, this.basePath));
|
|
24157
|
+
}
|
|
24158
|
+
}
|
|
24159
|
+
|
|
24160
|
+
|
|
23252
24161
|
/**
|
|
23253
24162
|
* FaqCategoriesApi - axios parameter creator
|
|
23254
24163
|
* @export
|
|
@@ -24255,14 +25164,17 @@ export const FaqsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
24255
25164
|
* @param {string} [title]
|
|
24256
25165
|
* @param {string} [content]
|
|
24257
25166
|
* @param {string} [categoryId]
|
|
25167
|
+
* @param {string} [hospitalId]
|
|
25168
|
+
* @param {string} [hospitalName]
|
|
24258
25169
|
* @param {string} [languageCode]
|
|
25170
|
+
* @param {boolean} [showHidden]
|
|
24259
25171
|
* @param {number} [page]
|
|
24260
25172
|
* @param {number} [limit]
|
|
24261
25173
|
* @param {Date} [lastRetrieved]
|
|
24262
25174
|
* @param {*} [options] Override http request option.
|
|
24263
25175
|
* @throws {RequiredError}
|
|
24264
25176
|
*/
|
|
24265
|
-
apiV1FaqsGet: async (id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25177
|
+
apiV1FaqsGet: async (id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24266
25178
|
const localVarPath = `/api/v1/faqs`;
|
|
24267
25179
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24268
25180
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -24295,10 +25207,22 @@ export const FaqsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
24295
25207
|
localVarQueryParameter['CategoryId'] = categoryId;
|
|
24296
25208
|
}
|
|
24297
25209
|
|
|
25210
|
+
if (hospitalId !== undefined) {
|
|
25211
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
25212
|
+
}
|
|
25213
|
+
|
|
25214
|
+
if (hospitalName !== undefined) {
|
|
25215
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
25216
|
+
}
|
|
25217
|
+
|
|
24298
25218
|
if (languageCode !== undefined) {
|
|
24299
25219
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
24300
25220
|
}
|
|
24301
25221
|
|
|
25222
|
+
if (showHidden !== undefined) {
|
|
25223
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
25224
|
+
}
|
|
25225
|
+
|
|
24302
25226
|
if (page !== undefined) {
|
|
24303
25227
|
localVarQueryParameter['page'] = page;
|
|
24304
25228
|
}
|
|
@@ -24522,15 +25446,18 @@ export const FaqsApiFp = function(configuration?: Configuration) {
|
|
|
24522
25446
|
* @param {string} [title]
|
|
24523
25447
|
* @param {string} [content]
|
|
24524
25448
|
* @param {string} [categoryId]
|
|
25449
|
+
* @param {string} [hospitalId]
|
|
25450
|
+
* @param {string} [hospitalName]
|
|
24525
25451
|
* @param {string} [languageCode]
|
|
25452
|
+
* @param {boolean} [showHidden]
|
|
24526
25453
|
* @param {number} [page]
|
|
24527
25454
|
* @param {number} [limit]
|
|
24528
25455
|
* @param {Date} [lastRetrieved]
|
|
24529
25456
|
* @param {*} [options] Override http request option.
|
|
24530
25457
|
* @throws {RequiredError}
|
|
24531
25458
|
*/
|
|
24532
|
-
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>> {
|
|
24533
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsGet(id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options);
|
|
25459
|
+
async apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqsModel>> {
|
|
25460
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
24534
25461
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24535
25462
|
},
|
|
24536
25463
|
/**
|
|
@@ -24665,15 +25592,18 @@ export const FaqsApiFactory = function (configuration?: Configuration, basePath?
|
|
|
24665
25592
|
* @param {string} [title]
|
|
24666
25593
|
* @param {string} [content]
|
|
24667
25594
|
* @param {string} [categoryId]
|
|
25595
|
+
* @param {string} [hospitalId]
|
|
25596
|
+
* @param {string} [hospitalName]
|
|
24668
25597
|
* @param {string} [languageCode]
|
|
25598
|
+
* @param {boolean} [showHidden]
|
|
24669
25599
|
* @param {number} [page]
|
|
24670
25600
|
* @param {number} [limit]
|
|
24671
25601
|
* @param {Date} [lastRetrieved]
|
|
24672
25602
|
* @param {*} [options] Override http request option.
|
|
24673
25603
|
* @throws {RequiredError}
|
|
24674
25604
|
*/
|
|
24675
|
-
apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<FaqsModel> {
|
|
24676
|
-
return localVarFp.apiV1FaqsGet(id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
25605
|
+
apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<FaqsModel> {
|
|
25606
|
+
return localVarFp.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
24677
25607
|
},
|
|
24678
25608
|
/**
|
|
24679
25609
|
*
|
|
@@ -24821,7 +25751,10 @@ export class FaqsApi extends BaseAPI {
|
|
|
24821
25751
|
* @param {string} [title]
|
|
24822
25752
|
* @param {string} [content]
|
|
24823
25753
|
* @param {string} [categoryId]
|
|
25754
|
+
* @param {string} [hospitalId]
|
|
25755
|
+
* @param {string} [hospitalName]
|
|
24824
25756
|
* @param {string} [languageCode]
|
|
25757
|
+
* @param {boolean} [showHidden]
|
|
24825
25758
|
* @param {number} [page]
|
|
24826
25759
|
* @param {number} [limit]
|
|
24827
25760
|
* @param {Date} [lastRetrieved]
|
|
@@ -24829,8 +25762,8 @@ export class FaqsApi extends BaseAPI {
|
|
|
24829
25762
|
* @throws {RequiredError}
|
|
24830
25763
|
* @memberof FaqsApi
|
|
24831
25764
|
*/
|
|
24832
|
-
public apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
24833
|
-
return FaqsApiFp(this.configuration).apiV1FaqsGet(id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
25765
|
+
public apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
25766
|
+
return FaqsApiFp(this.configuration).apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
24834
25767
|
}
|
|
24835
25768
|
|
|
24836
25769
|
/**
|