ch-admin-api-client-typescript 2.2.12 → 2.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/api.ts CHANGED
@@ -890,6 +890,50 @@ export interface ArticleTagItemModel {
890
890
  */
891
891
  'order'?: number;
892
892
  }
893
+ /**
894
+ *
895
+ * @export
896
+ * @interface ArticleTagModel
897
+ */
898
+ export interface ArticleTagModel {
899
+ /**
900
+ *
901
+ * @type {string}
902
+ * @memberof ArticleTagModel
903
+ */
904
+ 'articleId'?: string;
905
+ /**
906
+ *
907
+ * @type {string}
908
+ * @memberof ArticleTagModel
909
+ */
910
+ 'tagId'?: string | null;
911
+ /**
912
+ *
913
+ * @type {number}
914
+ * @memberof ArticleTagModel
915
+ */
916
+ 'order'?: number;
917
+ }
918
+ /**
919
+ *
920
+ * @export
921
+ * @interface ArticleTagsModel
922
+ */
923
+ export interface ArticleTagsModel {
924
+ /**
925
+ *
926
+ * @type {Array<ArticleTagItemModel>}
927
+ * @memberof ArticleTagsModel
928
+ */
929
+ 'items'?: Array<ArticleTagItemModel> | null;
930
+ /**
931
+ *
932
+ * @type {PagedListMetaData}
933
+ * @memberof ArticleTagsModel
934
+ */
935
+ 'metaData'?: PagedListMetaData;
936
+ }
893
937
  /**
894
938
  *
895
939
  * @export
@@ -3348,6 +3392,25 @@ export interface CreateArticleSourceCommand {
3348
3392
  */
3349
3393
  'order'?: number;
3350
3394
  }
3395
+ /**
3396
+ *
3397
+ * @export
3398
+ * @interface CreateArticleTagCommand
3399
+ */
3400
+ export interface CreateArticleTagCommand {
3401
+ /**
3402
+ *
3403
+ * @type {string}
3404
+ * @memberof CreateArticleTagCommand
3405
+ */
3406
+ 'articleId'?: string;
3407
+ /**
3408
+ *
3409
+ * @type {string}
3410
+ * @memberof CreateArticleTagCommand
3411
+ */
3412
+ 'tagId'?: string | null;
3413
+ }
3351
3414
  /**
3352
3415
  *
3353
3416
  * @export
@@ -3639,6 +3702,18 @@ export interface CreateDoctorCertificateCommand {
3639
3702
  * @interface CreateDoctorCommand
3640
3703
  */
3641
3704
  export interface CreateDoctorCommand {
3705
+ /**
3706
+ *
3707
+ * @type {string}
3708
+ * @memberof CreateDoctorCommand
3709
+ */
3710
+ 'userName'?: string | null;
3711
+ /**
3712
+ *
3713
+ * @type {string}
3714
+ * @memberof CreateDoctorCommand
3715
+ */
3716
+ 'email'?: string | null;
3642
3717
  /**
3643
3718
  *
3644
3719
  * @type {string}
@@ -3681,36 +3756,6 @@ export interface CreateDoctorCommand {
3681
3756
  * @memberof CreateDoctorCommand
3682
3757
  */
3683
3758
  'dateOfBirth'?: Date | null;
3684
- /**
3685
- *
3686
- * @type {Array<MediaModel>}
3687
- * @memberof CreateDoctorCommand
3688
- */
3689
- 'medias'?: Array<MediaModel> | null;
3690
- /**
3691
- *
3692
- * @type {Array<UserLanguageModel>}
3693
- * @memberof CreateDoctorCommand
3694
- */
3695
- 'languages'?: Array<UserLanguageModel> | null;
3696
- /**
3697
- *
3698
- * @type {Array<UserLocationModel>}
3699
- * @memberof CreateDoctorCommand
3700
- */
3701
- 'locations'?: Array<UserLocationModel> | null;
3702
- /**
3703
- *
3704
- * @type {string}
3705
- * @memberof CreateDoctorCommand
3706
- */
3707
- 'userName'?: string | null;
3708
- /**
3709
- *
3710
- * @type {string}
3711
- * @memberof CreateDoctorCommand
3712
- */
3713
- 'email'?: string | null;
3714
3759
  /**
3715
3760
  *
3716
3761
  * @type {string}
@@ -3729,36 +3774,6 @@ export interface CreateDoctorCommand {
3729
3774
  * @memberof CreateDoctorCommand
3730
3775
  */
3731
3776
  'consultationFee'?: number | null;
3732
- /**
3733
- *
3734
- * @type {Array<DoctorEducationModel>}
3735
- * @memberof CreateDoctorCommand
3736
- */
3737
- 'educations'?: Array<DoctorEducationModel> | null;
3738
- /**
3739
- *
3740
- * @type {Array<DoctorPortfolioModel>}
3741
- * @memberof CreateDoctorCommand
3742
- */
3743
- 'portfolios'?: Array<DoctorPortfolioModel> | null;
3744
- /**
3745
- *
3746
- * @type {Array<DoctorSpecialtyModel>}
3747
- * @memberof CreateDoctorCommand
3748
- */
3749
- 'specialties'?: Array<DoctorSpecialtyModel> | null;
3750
- /**
3751
- *
3752
- * @type {Array<DoctorCertificateModel>}
3753
- * @memberof CreateDoctorCommand
3754
- */
3755
- 'certificates'?: Array<DoctorCertificateModel> | null;
3756
- /**
3757
- *
3758
- * @type {Array<AwardModel>}
3759
- * @memberof CreateDoctorCommand
3760
- */
3761
- 'awards'?: Array<AwardModel> | null;
3762
3777
  }
3763
3778
  /**
3764
3779
  *
@@ -3913,13 +3928,13 @@ export interface CreateHospitalCommand {
3913
3928
  * @type {number}
3914
3929
  * @memberof CreateHospitalCommand
3915
3930
  */
3916
- 'departmentsCount'?: number | null;
3931
+ 'medicalStaffCount'?: number | null;
3917
3932
  /**
3918
3933
  *
3919
3934
  * @type {number}
3920
3935
  * @memberof CreateHospitalCommand
3921
3936
  */
3922
- 'medicalStaffCount'?: number | null;
3937
+ 'doctorCount'?: number | null;
3923
3938
  /**
3924
3939
  *
3925
3940
  * @type {string}
@@ -4321,10 +4336,10 @@ export interface CreateServiceCategoryCommand {
4321
4336
  'description'?: string | null;
4322
4337
  /**
4323
4338
  *
4324
- * @type {Array<string>}
4339
+ * @type {number}
4325
4340
  * @memberof CreateServiceCategoryCommand
4326
4341
  */
4327
- 'services'?: Array<string> | null;
4342
+ 'order'?: number;
4328
4343
  }
4329
4344
  /**
4330
4345
  *
@@ -5116,6 +5131,19 @@ export interface DealsModel {
5116
5131
  */
5117
5132
  'metaData'?: PagedListMetaData;
5118
5133
  }
5134
+ /**
5135
+ *
5136
+ * @export
5137
+ * @interface DeleteArticleTagCommand
5138
+ */
5139
+ export interface DeleteArticleTagCommand {
5140
+ /**
5141
+ *
5142
+ * @type {string}
5143
+ * @memberof DeleteArticleTagCommand
5144
+ */
5145
+ 'tagId'?: string | null;
5146
+ }
5119
5147
  /**
5120
5148
  *
5121
5149
  * @export
@@ -9266,6 +9294,74 @@ export interface MediasModel {
9266
9294
  */
9267
9295
  'metaData'?: PagedListMetaData;
9268
9296
  }
9297
+ /**
9298
+ *
9299
+ * @export
9300
+ * @interface MemberModel
9301
+ */
9302
+ export interface MemberModel {
9303
+ /**
9304
+ *
9305
+ * @type {string}
9306
+ * @memberof MemberModel
9307
+ */
9308
+ 'id'?: string;
9309
+ /**
9310
+ *
9311
+ * @type {string}
9312
+ * @memberof MemberModel
9313
+ */
9314
+ 'email'?: string | null;
9315
+ /**
9316
+ *
9317
+ * @type {string}
9318
+ * @memberof MemberModel
9319
+ */
9320
+ 'firstName'?: string | null;
9321
+ /**
9322
+ *
9323
+ * @type {string}
9324
+ * @memberof MemberModel
9325
+ */
9326
+ 'lastName'?: string | null;
9327
+ /**
9328
+ *
9329
+ * @type {string}
9330
+ * @memberof MemberModel
9331
+ */
9332
+ 'fullName'?: string | null;
9333
+ /**
9334
+ *
9335
+ * @type {Gender}
9336
+ * @memberof MemberModel
9337
+ */
9338
+ 'gender'?: Gender;
9339
+ /**
9340
+ *
9341
+ * @type {Date}
9342
+ * @memberof MemberModel
9343
+ */
9344
+ 'dateOfBirth'?: Date | null;
9345
+ }
9346
+ /**
9347
+ *
9348
+ * @export
9349
+ * @interface MembersModel
9350
+ */
9351
+ export interface MembersModel {
9352
+ /**
9353
+ *
9354
+ * @type {Array<MemberModel>}
9355
+ * @memberof MembersModel
9356
+ */
9357
+ 'items'?: Array<MemberModel> | null;
9358
+ /**
9359
+ *
9360
+ * @type {PagedListMetaData}
9361
+ * @memberof MembersModel
9362
+ */
9363
+ 'metaData'?: PagedListMetaData;
9364
+ }
9269
9365
  /**
9270
9366
  *
9271
9367
  * @export
@@ -9373,110 +9469,239 @@ export interface MembershipInvitation {
9373
9469
  /**
9374
9470
  *
9375
9471
  * @export
9376
- * @enum {string}
9377
- */
9378
-
9379
- export enum NotificationCode {
9380
- WelcomeEmail = 'WelcomeEmail',
9381
- DirectMessageSent = 'DirectMessageSent',
9382
- BookingNew = 'BookingNew',
9383
- BookingUpdated = 'BookingUpdated',
9384
- BookingRejected = 'BookingRejected',
9385
- BookingApproved = 'BookingApproved',
9386
- BookingPaid = 'BookingPaid',
9387
- BookingCanceled = 'BookingCanceled',
9388
- BookingRefundRequested = 'BookingRefundRequested',
9389
- BookingRefunded = 'BookingRefunded',
9390
- ConsultationNew = 'ConsultationNew',
9391
- ConsultationUpdated = 'ConsultationUpdated',
9392
- ConsultationRejected = 'ConsultationRejected',
9393
- ConsultationApproved = 'ConsultationApproved',
9394
- ConsultationPaid = 'ConsultationPaid',
9395
- ConsultationCanceled = 'ConsultationCanceled',
9396
- ConsultationRefundRequested = 'ConsultationRefundRequested',
9397
- ConsultationRefunded = 'ConsultationRefunded',
9398
- ConsultationReady = 'ConsultationReady'
9399
- }
9400
-
9401
- /**
9402
- *
9403
- * @export
9404
- * @interface NotificationModel
9472
+ * @interface MembershipItemModel
9405
9473
  */
9406
- export interface NotificationModel {
9474
+ export interface MembershipItemModel {
9407
9475
  /**
9408
9476
  *
9409
9477
  * @type {string}
9410
- * @memberof NotificationModel
9478
+ * @memberof MembershipItemModel
9411
9479
  */
9412
9480
  'id'?: string;
9413
- /**
9414
- *
9415
- * @type {NotificationCode}
9416
- * @memberof NotificationModel
9417
- */
9418
- 'notificationCode'?: NotificationCode;
9419
- /**
9420
- *
9421
- * @type {string}
9422
- * @memberof NotificationModel
9423
- */
9424
- 'notificationTargetId'?: string;
9425
9481
  /**
9426
9482
  *
9427
9483
  * @type {string}
9428
- * @memberof NotificationModel
9484
+ * @memberof MembershipItemModel
9429
9485
  */
9430
- 'senderId'?: string | null;
9486
+ 'planId'?: string;
9431
9487
  /**
9432
9488
  *
9433
9489
  * @type {string}
9434
- * @memberof NotificationModel
9490
+ * @memberof MembershipItemModel
9435
9491
  */
9436
- 'senderName'?: string | null;
9492
+ 'planName'?: string | null;
9437
9493
  /**
9438
9494
  *
9439
9495
  * @type {string}
9440
- * @memberof NotificationModel
9496
+ * @memberof MembershipItemModel
9441
9497
  */
9442
- 'receiverId'?: string | null;
9498
+ 'patientId'?: string;
9443
9499
  /**
9444
9500
  *
9445
9501
  * @type {string}
9446
- * @memberof NotificationModel
9502
+ * @memberof MembershipItemModel
9447
9503
  */
9448
- 'receiverName'?: string | null;
9504
+ 'patientName'?: string | null;
9449
9505
  /**
9450
9506
  *
9451
- * @type {string}
9452
- * @memberof NotificationModel
9507
+ * @type {number}
9508
+ * @memberof MembershipItemModel
9453
9509
  */
9454
- 'message'?: string | null;
9510
+ 'memberCount'?: number;
9455
9511
  /**
9456
9512
  *
9457
- * @type {Date}
9458
- * @memberof NotificationModel
9513
+ * @type {boolean}
9514
+ * @memberof MembershipItemModel
9459
9515
  */
9460
- 'createdAt'?: Date;
9516
+ 'isActive'?: boolean;
9461
9517
  /**
9462
9518
  *
9463
- * @type {boolean}
9464
- * @memberof NotificationModel
9519
+ * @type {SubscriptionModel}
9520
+ * @memberof MembershipItemModel
9465
9521
  */
9466
- 'isChecked'?: boolean;
9522
+ 'subscription'?: SubscriptionModel;
9467
9523
  }
9468
9524
  /**
9469
9525
  *
9470
9526
  * @export
9471
- * @interface NotificationsModel
9527
+ * @interface MembershipModel
9472
9528
  */
9473
- export interface NotificationsModel {
9529
+ export interface MembershipModel {
9474
9530
  /**
9475
9531
  *
9476
- * @type {Array<NotificationModel>}
9477
- * @memberof NotificationsModel
9532
+ * @type {string}
9533
+ * @memberof MembershipModel
9478
9534
  */
9479
- 'items'?: Array<NotificationModel> | null;
9535
+ 'id'?: string;
9536
+ /**
9537
+ *
9538
+ * @type {string}
9539
+ * @memberof MembershipModel
9540
+ */
9541
+ 'planId'?: string;
9542
+ /**
9543
+ *
9544
+ * @type {string}
9545
+ * @memberof MembershipModel
9546
+ */
9547
+ 'planName'?: string | null;
9548
+ /**
9549
+ *
9550
+ * @type {string}
9551
+ * @memberof MembershipModel
9552
+ */
9553
+ 'patientId'?: string;
9554
+ /**
9555
+ *
9556
+ * @type {string}
9557
+ * @memberof MembershipModel
9558
+ */
9559
+ 'patientName'?: string | null;
9560
+ /**
9561
+ *
9562
+ * @type {number}
9563
+ * @memberof MembershipModel
9564
+ */
9565
+ 'memberCount'?: number;
9566
+ /**
9567
+ *
9568
+ * @type {boolean}
9569
+ * @memberof MembershipModel
9570
+ */
9571
+ 'isActive'?: boolean;
9572
+ /**
9573
+ *
9574
+ * @type {SubscriptionModel}
9575
+ * @memberof MembershipModel
9576
+ */
9577
+ 'subscription'?: SubscriptionModel;
9578
+ }
9579
+ /**
9580
+ *
9581
+ * @export
9582
+ * @interface MembershipsModel
9583
+ */
9584
+ export interface MembershipsModel {
9585
+ /**
9586
+ *
9587
+ * @type {Array<MembershipItemModel>}
9588
+ * @memberof MembershipsModel
9589
+ */
9590
+ 'items'?: Array<MembershipItemModel> | null;
9591
+ /**
9592
+ *
9593
+ * @type {PagedListMetaData}
9594
+ * @memberof MembershipsModel
9595
+ */
9596
+ 'metaData'?: PagedListMetaData;
9597
+ }
9598
+ /**
9599
+ *
9600
+ * @export
9601
+ * @enum {string}
9602
+ */
9603
+
9604
+ export enum NotificationCode {
9605
+ WelcomeEmail = 'WelcomeEmail',
9606
+ DirectMessageSent = 'DirectMessageSent',
9607
+ BookingNew = 'BookingNew',
9608
+ BookingUpdated = 'BookingUpdated',
9609
+ BookingRejected = 'BookingRejected',
9610
+ BookingApproved = 'BookingApproved',
9611
+ BookingPaid = 'BookingPaid',
9612
+ BookingCanceled = 'BookingCanceled',
9613
+ BookingRefundRequested = 'BookingRefundRequested',
9614
+ BookingRefunded = 'BookingRefunded',
9615
+ ConsultationNew = 'ConsultationNew',
9616
+ ConsultationUpdated = 'ConsultationUpdated',
9617
+ ConsultationRejected = 'ConsultationRejected',
9618
+ ConsultationApproved = 'ConsultationApproved',
9619
+ ConsultationPaid = 'ConsultationPaid',
9620
+ ConsultationCanceled = 'ConsultationCanceled',
9621
+ ConsultationRefundRequested = 'ConsultationRefundRequested',
9622
+ ConsultationRefunded = 'ConsultationRefunded',
9623
+ ConsultationReady = 'ConsultationReady'
9624
+ }
9625
+
9626
+ /**
9627
+ *
9628
+ * @export
9629
+ * @interface NotificationModel
9630
+ */
9631
+ export interface NotificationModel {
9632
+ /**
9633
+ *
9634
+ * @type {string}
9635
+ * @memberof NotificationModel
9636
+ */
9637
+ 'id'?: string;
9638
+ /**
9639
+ *
9640
+ * @type {NotificationCode}
9641
+ * @memberof NotificationModel
9642
+ */
9643
+ 'notificationCode'?: NotificationCode;
9644
+ /**
9645
+ *
9646
+ * @type {string}
9647
+ * @memberof NotificationModel
9648
+ */
9649
+ 'notificationTargetId'?: string;
9650
+ /**
9651
+ *
9652
+ * @type {string}
9653
+ * @memberof NotificationModel
9654
+ */
9655
+ 'senderId'?: string | null;
9656
+ /**
9657
+ *
9658
+ * @type {string}
9659
+ * @memberof NotificationModel
9660
+ */
9661
+ 'senderName'?: string | null;
9662
+ /**
9663
+ *
9664
+ * @type {string}
9665
+ * @memberof NotificationModel
9666
+ */
9667
+ 'receiverId'?: string | null;
9668
+ /**
9669
+ *
9670
+ * @type {string}
9671
+ * @memberof NotificationModel
9672
+ */
9673
+ 'receiverName'?: string | null;
9674
+ /**
9675
+ *
9676
+ * @type {string}
9677
+ * @memberof NotificationModel
9678
+ */
9679
+ 'message'?: string | null;
9680
+ /**
9681
+ *
9682
+ * @type {Date}
9683
+ * @memberof NotificationModel
9684
+ */
9685
+ 'createdAt'?: Date;
9686
+ /**
9687
+ *
9688
+ * @type {boolean}
9689
+ * @memberof NotificationModel
9690
+ */
9691
+ 'isChecked'?: boolean;
9692
+ }
9693
+ /**
9694
+ *
9695
+ * @export
9696
+ * @interface NotificationsModel
9697
+ */
9698
+ export interface NotificationsModel {
9699
+ /**
9700
+ *
9701
+ * @type {Array<NotificationModel>}
9702
+ * @memberof NotificationsModel
9703
+ */
9704
+ 'items'?: Array<NotificationModel> | null;
9480
9705
  /**
9481
9706
  *
9482
9707
  * @type {PagedListMetaData}
@@ -11420,6 +11645,31 @@ export interface SpecialtyTypesModel {
11420
11645
  */
11421
11646
  'metaData'?: PagedListMetaData;
11422
11647
  }
11648
+ /**
11649
+ *
11650
+ * @export
11651
+ * @interface SubscriptionModel
11652
+ */
11653
+ export interface SubscriptionModel {
11654
+ /**
11655
+ *
11656
+ * @type {Date}
11657
+ * @memberof SubscriptionModel
11658
+ */
11659
+ 'startDate'?: Date | null;
11660
+ /**
11661
+ *
11662
+ * @type {Date}
11663
+ * @memberof SubscriptionModel
11664
+ */
11665
+ 'endDate'?: Date | null;
11666
+ /**
11667
+ *
11668
+ * @type {string}
11669
+ * @memberof SubscriptionModel
11670
+ */
11671
+ 'status'?: string | null;
11672
+ }
11423
11673
  /**
11424
11674
  *
11425
11675
  * @export
@@ -11877,6 +12127,12 @@ export interface UpdateDealCommand {
11877
12127
  * @memberof UpdateDealCommand
11878
12128
  */
11879
12129
  'name'?: string | null;
12130
+ /**
12131
+ *
12132
+ * @type {string}
12133
+ * @memberof UpdateDealCommand
12134
+ */
12135
+ 'slug'?: string | null;
11880
12136
  /**
11881
12137
  *
11882
12138
  * @type {string}
@@ -12191,12 +12447,6 @@ export interface UpdateDoctorSpecialtyCommand {
12191
12447
  * @interface UpdateHospitalCommand
12192
12448
  */
12193
12449
  export interface UpdateHospitalCommand {
12194
- /**
12195
- *
12196
- * @type {string}
12197
- * @memberof UpdateHospitalCommand
12198
- */
12199
- 'id'?: string;
12200
12450
  /**
12201
12451
  *
12202
12452
  * @type {string}
@@ -12262,7 +12512,7 @@ export interface UpdateHospitalCommand {
12262
12512
  * @type {string}
12263
12513
  * @memberof UpdateHospitalCommand
12264
12514
  */
12265
- 'countryName'?: string | null;
12515
+ 'countryId'?: string;
12266
12516
  /**
12267
12517
  *
12268
12518
  * @type {MarketingType}
@@ -12289,174 +12539,78 @@ export interface UpdateHospitalCommand {
12289
12539
  'timeZone'?: string | null;
12290
12540
  /**
12291
12541
  *
12292
- * @type {number}
12542
+ * @type {LocationModel}
12293
12543
  * @memberof UpdateHospitalCommand
12294
12544
  */
12295
- 'articlesCount'?: number;
12545
+ 'location'?: LocationModel;
12546
+ }
12547
+ /**
12548
+ *
12549
+ * @export
12550
+ * @interface UpdateHospitalEquipmentCommand
12551
+ */
12552
+ export interface UpdateHospitalEquipmentCommand {
12296
12553
  /**
12297
12554
  *
12298
- * @type {number}
12299
- * @memberof UpdateHospitalCommand
12555
+ * @type {string}
12556
+ * @memberof UpdateHospitalEquipmentCommand
12300
12557
  */
12301
- 'packagesCount'?: number;
12558
+ 'name'?: string | null;
12302
12559
  /**
12303
12560
  *
12304
- * @type {number}
12305
- * @memberof UpdateHospitalCommand
12561
+ * @type {string}
12562
+ * @memberof UpdateHospitalEquipmentCommand
12306
12563
  */
12307
- 'equipmentsCount'?: number;
12564
+ 'description'?: string | null;
12308
12565
  /**
12309
12566
  *
12310
- * @type {number}
12311
- * @memberof UpdateHospitalCommand
12567
+ * @type {string}
12568
+ * @memberof UpdateHospitalEquipmentCommand
12312
12569
  */
12313
- 'reviewsCount'?: number;
12570
+ 'hospitalName'?: string | null;
12314
12571
  /**
12315
12572
  *
12316
- * @type {number}
12317
- * @memberof UpdateHospitalCommand
12573
+ * @type {Array<MediaModel>}
12574
+ * @memberof UpdateHospitalEquipmentCommand
12318
12575
  */
12319
- 'departmentsCount'?: number;
12576
+ 'medias'?: Array<MediaModel> | null;
12320
12577
  /**
12321
12578
  *
12322
- * @type {number}
12323
- * @memberof UpdateHospitalCommand
12579
+ * @type {AuditableEntity}
12580
+ * @memberof UpdateHospitalEquipmentCommand
12324
12581
  */
12325
- 'specialtiesCount'?: number;
12582
+ 'auditableEntity'?: AuditableEntity;
12583
+ }
12584
+ /**
12585
+ *
12586
+ * @export
12587
+ * @interface UpdateHospitalServiceCommand
12588
+ */
12589
+ export interface UpdateHospitalServiceCommand {
12326
12590
  /**
12327
12591
  *
12328
- * @type {number}
12329
- * @memberof UpdateHospitalCommand
12592
+ * @type {string}
12593
+ * @memberof UpdateHospitalServiceCommand
12330
12594
  */
12331
- 'accreditationsCount'?: number;
12595
+ 'name'?: string | null;
12332
12596
  /**
12333
12597
  *
12334
- * @type {number}
12335
- * @memberof UpdateHospitalCommand
12598
+ * @type {string}
12599
+ * @memberof UpdateHospitalServiceCommand
12336
12600
  */
12337
- 'doctorAffiliationsCount'?: number;
12601
+ 'slug'?: string | null;
12338
12602
  /**
12339
12603
  *
12340
- * @type {number}
12341
- * @memberof UpdateHospitalCommand
12604
+ * @type {string}
12605
+ * @memberof UpdateHospitalServiceCommand
12342
12606
  */
12343
- 'managerAffiliationsCount'?: number;
12607
+ 'description'?: string | null;
12344
12608
  /**
12345
12609
  *
12346
12610
  * @type {string}
12347
- * @memberof UpdateHospitalCommand
12611
+ * @memberof UpdateHospitalServiceCommand
12348
12612
  */
12349
- 'specialtiesSummerized'?: string | null;
12350
- /**
12351
- *
12352
- * @type {Array<AwardModel>}
12353
- * @memberof UpdateHospitalCommand
12354
- */
12355
- 'awards'?: Array<AwardModel> | null;
12356
- /**
12357
- *
12358
- * @type {Array<MediaModel>}
12359
- * @memberof UpdateHospitalCommand
12360
- */
12361
- 'medias'?: Array<MediaModel> | null;
12362
- /**
12363
- *
12364
- * @type {Array<AccreditationModel>}
12365
- * @memberof UpdateHospitalCommand
12366
- */
12367
- 'accreditations'?: Array<AccreditationModel> | null;
12368
- /**
12369
- *
12370
- * @type {Array<HospitalEvaluationModel>}
12371
- * @memberof UpdateHospitalCommand
12372
- */
12373
- 'evaluations'?: Array<HospitalEvaluationModel> | null;
12374
- /**
12375
- *
12376
- * @type {LocationModel}
12377
- * @memberof UpdateHospitalCommand
12378
- */
12379
- 'location'?: LocationModel;
12380
- /**
12381
- *
12382
- * @type {AuditableEntity}
12383
- * @memberof UpdateHospitalCommand
12384
- */
12385
- 'auditableEntity'?: AuditableEntity;
12386
- /**
12387
- *
12388
- * @type {boolean}
12389
- * @memberof UpdateHospitalCommand
12390
- */
12391
- 'confirmed'?: boolean;
12392
- }
12393
- /**
12394
- *
12395
- * @export
12396
- * @interface UpdateHospitalEquipmentCommand
12397
- */
12398
- export interface UpdateHospitalEquipmentCommand {
12399
- /**
12400
- *
12401
- * @type {string}
12402
- * @memberof UpdateHospitalEquipmentCommand
12403
- */
12404
- 'name'?: string | null;
12405
- /**
12406
- *
12407
- * @type {string}
12408
- * @memberof UpdateHospitalEquipmentCommand
12409
- */
12410
- 'description'?: string | null;
12411
- /**
12412
- *
12413
- * @type {string}
12414
- * @memberof UpdateHospitalEquipmentCommand
12415
- */
12416
- 'hospitalName'?: string | null;
12417
- /**
12418
- *
12419
- * @type {Array<MediaModel>}
12420
- * @memberof UpdateHospitalEquipmentCommand
12421
- */
12422
- 'medias'?: Array<MediaModel> | null;
12423
- /**
12424
- *
12425
- * @type {AuditableEntity}
12426
- * @memberof UpdateHospitalEquipmentCommand
12427
- */
12428
- 'auditableEntity'?: AuditableEntity;
12429
- }
12430
- /**
12431
- *
12432
- * @export
12433
- * @interface UpdateHospitalServiceCommand
12434
- */
12435
- export interface UpdateHospitalServiceCommand {
12436
- /**
12437
- *
12438
- * @type {string}
12439
- * @memberof UpdateHospitalServiceCommand
12440
- */
12441
- 'name'?: string | null;
12442
- /**
12443
- *
12444
- * @type {string}
12445
- * @memberof UpdateHospitalServiceCommand
12446
- */
12447
- 'slug'?: string | null;
12448
- /**
12449
- *
12450
- * @type {string}
12451
- * @memberof UpdateHospitalServiceCommand
12452
- */
12453
- 'description'?: string | null;
12454
- /**
12455
- *
12456
- * @type {string}
12457
- * @memberof UpdateHospitalServiceCommand
12458
- */
12459
- 'content'?: string | null;
12613
+ 'content'?: string | null;
12460
12614
  /**
12461
12615
  *
12462
12616
  * @type {number}
@@ -12673,24 +12827,12 @@ export interface UpdatePlanHospitalCommand {
12673
12827
  * @interface UpdateServiceCategoryCommand
12674
12828
  */
12675
12829
  export interface UpdateServiceCategoryCommand {
12676
- /**
12677
- *
12678
- * @type {string}
12679
- * @memberof UpdateServiceCategoryCommand
12680
- */
12681
- 'id'?: string;
12682
12830
  /**
12683
12831
  *
12684
12832
  * @type {string}
12685
12833
  * @memberof UpdateServiceCategoryCommand
12686
12834
  */
12687
12835
  'name'?: string | null;
12688
- /**
12689
- *
12690
- * @type {string}
12691
- * @memberof UpdateServiceCategoryCommand
12692
- */
12693
- 'normalizedName'?: string | null;
12694
12836
  /**
12695
12837
  *
12696
12838
  * @type {string}
@@ -12702,25 +12844,7 @@ export interface UpdateServiceCategoryCommand {
12702
12844
  * @type {number}
12703
12845
  * @memberof UpdateServiceCategoryCommand
12704
12846
  */
12705
- 'order'?: number | null;
12706
- /**
12707
- *
12708
- * @type {number}
12709
- * @memberof UpdateServiceCategoryCommand
12710
- */
12711
- 'serviceCount'?: number;
12712
- /**
12713
- *
12714
- * @type {Array<HospitalServiceItemModel>}
12715
- * @memberof UpdateServiceCategoryCommand
12716
- */
12717
- 'services'?: Array<HospitalServiceItemModel> | null;
12718
- /**
12719
- *
12720
- * @type {Array<string>}
12721
- * @memberof UpdateServiceCategoryCommand
12722
- */
12723
- 'selectedServices'?: Array<string> | null;
12847
+ 'order'?: number;
12724
12848
  }
12725
12849
  /**
12726
12850
  *
@@ -14789,22 +14913,16 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
14789
14913
  },
14790
14914
  /**
14791
14915
  *
14792
- * @summary GetAll ArticleContributors.
14916
+ * @summary GetAll ArticleTags.
14793
14917
  * @param {string} articleId
14794
- * @param {string} [articleName]
14795
- * @param {string} [contributorId]
14796
- * @param {string} [contributorName]
14797
- * @param {string} [email]
14798
- * @param {string} [description]
14799
- * @param {string} [website]
14800
- * @param {ContributionType} [contributionType]
14918
+ * @param {string} [tagId]
14801
14919
  * @param {number} [page]
14802
14920
  * @param {number} [limit]
14803
14921
  * @param {Date} [lastRetrieved]
14804
14922
  * @param {*} [options] Override http request option.
14805
14923
  * @throws {RequiredError}
14806
14924
  */
14807
- apiV1ArticlesArticleIdTagsGet: async (articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, description?: string, website?: string, contributionType?: ContributionType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
14925
+ apiV1ArticlesArticleIdTagsGet: async (articleId: string, tagId?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
14808
14926
  // verify required parameter 'articleId' is not null or undefined
14809
14927
  assertParamExists('apiV1ArticlesArticleIdTagsGet', 'articleId', articleId)
14810
14928
  const localVarPath = `/api/v1/articles/{articleId}/tags`
@@ -14824,32 +14942,8 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
14824
14942
  // oauth required
14825
14943
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
14826
14944
 
14827
- if (articleName !== undefined) {
14828
- localVarQueryParameter['ArticleName'] = articleName;
14829
- }
14830
-
14831
- if (contributorId !== undefined) {
14832
- localVarQueryParameter['ContributorId'] = contributorId;
14833
- }
14834
-
14835
- if (contributorName !== undefined) {
14836
- localVarQueryParameter['ContributorName'] = contributorName;
14837
- }
14838
-
14839
- if (email !== undefined) {
14840
- localVarQueryParameter['Email'] = email;
14841
- }
14842
-
14843
- if (description !== undefined) {
14844
- localVarQueryParameter['Description'] = description;
14845
- }
14846
-
14847
- if (website !== undefined) {
14848
- localVarQueryParameter['Website'] = website;
14849
- }
14850
-
14851
- if (contributionType !== undefined) {
14852
- localVarQueryParameter['ContributionType'] = contributionType;
14945
+ if (tagId !== undefined) {
14946
+ localVarQueryParameter['TagId'] = tagId;
14853
14947
  }
14854
14948
 
14855
14949
  if (page !== undefined) {
@@ -14879,12 +14973,13 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
14879
14973
  },
14880
14974
  /**
14881
14975
  *
14976
+ * @summary Create ArticleTag.
14882
14977
  * @param {string} articleId
14883
- * @param {CreateArticleContributorCommand} [createArticleContributorCommand]
14978
+ * @param {CreateArticleTagCommand} [createArticleTagCommand]
14884
14979
  * @param {*} [options] Override http request option.
14885
14980
  * @throws {RequiredError}
14886
14981
  */
14887
- apiV1ArticlesArticleIdTagsPost: async (articleId: string, createArticleContributorCommand?: CreateArticleContributorCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
14982
+ apiV1ArticlesArticleIdTagsPost: async (articleId: string, createArticleTagCommand?: CreateArticleTagCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
14888
14983
  // verify required parameter 'articleId' is not null or undefined
14889
14984
  assertParamExists('apiV1ArticlesArticleIdTagsPost', 'articleId', articleId)
14890
14985
  const localVarPath = `/api/v1/articles/{articleId}/tags`
@@ -14911,7 +15006,7 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
14911
15006
  setSearchParams(localVarUrlObj, localVarQueryParameter);
14912
15007
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14913
15008
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14914
- localVarRequestOptions.data = serializeDataIfNeeded(createArticleContributorCommand, localVarRequestOptions, configuration)
15009
+ localVarRequestOptions.data = serializeDataIfNeeded(createArticleTagCommand, localVarRequestOptions, configuration)
14915
15010
 
14916
15011
  return {
14917
15012
  url: toPathString(localVarUrlObj),
@@ -14920,23 +15015,20 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
14920
15015
  },
14921
15016
  /**
14922
15017
  *
14923
- * @summary Delete ArticleContributor.
15018
+ * @summary Delete ArticleTag.
14924
15019
  * @param {string} articleId
14925
- * @param {string} contributorId
14926
15020
  * @param {string} tagId
15021
+ * @param {DeleteArticleTagCommand} [deleteArticleTagCommand]
14927
15022
  * @param {*} [options] Override http request option.
14928
15023
  * @throws {RequiredError}
14929
15024
  */
14930
- apiV1ArticlesArticleIdTagsTagIdDelete: async (articleId: string, contributorId: string, tagId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15025
+ apiV1ArticlesArticleIdTagsTagIdDelete: async (articleId: string, tagId: string, deleteArticleTagCommand?: DeleteArticleTagCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
14931
15026
  // verify required parameter 'articleId' is not null or undefined
14932
15027
  assertParamExists('apiV1ArticlesArticleIdTagsTagIdDelete', 'articleId', articleId)
14933
- // verify required parameter 'contributorId' is not null or undefined
14934
- assertParamExists('apiV1ArticlesArticleIdTagsTagIdDelete', 'contributorId', contributorId)
14935
15028
  // verify required parameter 'tagId' is not null or undefined
14936
15029
  assertParamExists('apiV1ArticlesArticleIdTagsTagIdDelete', 'tagId', tagId)
14937
15030
  const localVarPath = `/api/v1/articles/{articleId}/tags/{tagId}`
14938
15031
  .replace(`{${"articleId"}}`, encodeURIComponent(String(articleId)))
14939
- .replace(`{${"contributorId"}}`, encodeURIComponent(String(contributorId)))
14940
15032
  .replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
14941
15033
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
14942
15034
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -14955,9 +15047,12 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
14955
15047
 
14956
15048
 
14957
15049
 
15050
+ localVarHeaderParameter['Content-Type'] = 'application/json';
15051
+
14958
15052
  setSearchParams(localVarUrlObj, localVarQueryParameter);
14959
15053
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14960
15054
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15055
+ localVarRequestOptions.data = serializeDataIfNeeded(deleteArticleTagCommand, localVarRequestOptions, configuration)
14961
15056
 
14962
15057
  return {
14963
15058
  url: toPathString(localVarUrlObj),
@@ -14966,23 +15061,19 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
14966
15061
  },
14967
15062
  /**
14968
15063
  *
14969
- * @summary Get ArticleContributor.
15064
+ * @summary Get ArticleTag.
14970
15065
  * @param {string} articleId
14971
- * @param {string} contributorId
14972
15066
  * @param {string} tagId
14973
15067
  * @param {*} [options] Override http request option.
14974
15068
  * @throws {RequiredError}
14975
15069
  */
14976
- apiV1ArticlesArticleIdTagsTagIdGet: async (articleId: string, contributorId: string, tagId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15070
+ apiV1ArticlesArticleIdTagsTagIdGet: async (articleId: string, tagId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
14977
15071
  // verify required parameter 'articleId' is not null or undefined
14978
15072
  assertParamExists('apiV1ArticlesArticleIdTagsTagIdGet', 'articleId', articleId)
14979
- // verify required parameter 'contributorId' is not null or undefined
14980
- assertParamExists('apiV1ArticlesArticleIdTagsTagIdGet', 'contributorId', contributorId)
14981
15073
  // verify required parameter 'tagId' is not null or undefined
14982
15074
  assertParamExists('apiV1ArticlesArticleIdTagsTagIdGet', 'tagId', tagId)
14983
15075
  const localVarPath = `/api/v1/articles/{articleId}/tags/{tagId}`
14984
15076
  .replace(`{${"articleId"}}`, encodeURIComponent(String(articleId)))
14985
- .replace(`{${"contributorId"}}`, encodeURIComponent(String(contributorId)))
14986
15077
  .replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
14987
15078
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
14988
15079
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -15462,60 +15553,54 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
15462
15553
  },
15463
15554
  /**
15464
15555
  *
15465
- * @summary GetAll ArticleContributors.
15556
+ * @summary GetAll ArticleTags.
15466
15557
  * @param {string} articleId
15467
- * @param {string} [articleName]
15468
- * @param {string} [contributorId]
15469
- * @param {string} [contributorName]
15470
- * @param {string} [email]
15471
- * @param {string} [description]
15472
- * @param {string} [website]
15473
- * @param {ContributionType} [contributionType]
15558
+ * @param {string} [tagId]
15474
15559
  * @param {number} [page]
15475
15560
  * @param {number} [limit]
15476
15561
  * @param {Date} [lastRetrieved]
15477
15562
  * @param {*} [options] Override http request option.
15478
15563
  * @throws {RequiredError}
15479
15564
  */
15480
- async apiV1ArticlesArticleIdTagsGet(articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, description?: string, website?: string, contributionType?: ContributionType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleContributorsModel>> {
15481
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsGet(articleId, articleName, contributorId, contributorName, email, description, website, contributionType, page, limit, lastRetrieved, options);
15565
+ async apiV1ArticlesArticleIdTagsGet(articleId: string, tagId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleTagsModel>> {
15566
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsGet(articleId, tagId, page, limit, lastRetrieved, options);
15482
15567
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15483
15568
  },
15484
15569
  /**
15485
15570
  *
15571
+ * @summary Create ArticleTag.
15486
15572
  * @param {string} articleId
15487
- * @param {CreateArticleContributorCommand} [createArticleContributorCommand]
15573
+ * @param {CreateArticleTagCommand} [createArticleTagCommand]
15488
15574
  * @param {*} [options] Override http request option.
15489
15575
  * @throws {RequiredError}
15490
15576
  */
15491
- async apiV1ArticlesArticleIdTagsPost(articleId: string, createArticleContributorCommand?: CreateArticleContributorCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleContributorModel>> {
15492
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsPost(articleId, createArticleContributorCommand, options);
15577
+ async apiV1ArticlesArticleIdTagsPost(articleId: string, createArticleTagCommand?: CreateArticleTagCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleTagModel>> {
15578
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsPost(articleId, createArticleTagCommand, options);
15493
15579
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15494
15580
  },
15495
15581
  /**
15496
15582
  *
15497
- * @summary Delete ArticleContributor.
15583
+ * @summary Delete ArticleTag.
15498
15584
  * @param {string} articleId
15499
- * @param {string} contributorId
15500
15585
  * @param {string} tagId
15586
+ * @param {DeleteArticleTagCommand} [deleteArticleTagCommand]
15501
15587
  * @param {*} [options] Override http request option.
15502
15588
  * @throws {RequiredError}
15503
15589
  */
15504
- async apiV1ArticlesArticleIdTagsTagIdDelete(articleId: string, contributorId: string, tagId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
15505
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsTagIdDelete(articleId, contributorId, tagId, options);
15590
+ async apiV1ArticlesArticleIdTagsTagIdDelete(articleId: string, tagId: string, deleteArticleTagCommand?: DeleteArticleTagCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
15591
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsTagIdDelete(articleId, tagId, deleteArticleTagCommand, options);
15506
15592
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15507
15593
  },
15508
15594
  /**
15509
15595
  *
15510
- * @summary Get ArticleContributor.
15596
+ * @summary Get ArticleTag.
15511
15597
  * @param {string} articleId
15512
- * @param {string} contributorId
15513
15598
  * @param {string} tagId
15514
15599
  * @param {*} [options] Override http request option.
15515
15600
  * @throws {RequiredError}
15516
15601
  */
15517
- async apiV1ArticlesArticleIdTagsTagIdGet(articleId: string, contributorId: string, tagId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleContributorModel>> {
15518
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsTagIdGet(articleId, contributorId, tagId, options);
15602
+ async apiV1ArticlesArticleIdTagsTagIdGet(articleId: string, tagId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleTagModel>> {
15603
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsTagIdGet(articleId, tagId, options);
15519
15604
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15520
15605
  },
15521
15606
  /**
@@ -15796,57 +15881,51 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
15796
15881
  },
15797
15882
  /**
15798
15883
  *
15799
- * @summary GetAll ArticleContributors.
15884
+ * @summary GetAll ArticleTags.
15800
15885
  * @param {string} articleId
15801
- * @param {string} [articleName]
15802
- * @param {string} [contributorId]
15803
- * @param {string} [contributorName]
15804
- * @param {string} [email]
15805
- * @param {string} [description]
15806
- * @param {string} [website]
15807
- * @param {ContributionType} [contributionType]
15886
+ * @param {string} [tagId]
15808
15887
  * @param {number} [page]
15809
15888
  * @param {number} [limit]
15810
15889
  * @param {Date} [lastRetrieved]
15811
15890
  * @param {*} [options] Override http request option.
15812
15891
  * @throws {RequiredError}
15813
15892
  */
15814
- apiV1ArticlesArticleIdTagsGet(articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, description?: string, website?: string, contributionType?: ContributionType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticleContributorsModel> {
15815
- return localVarFp.apiV1ArticlesArticleIdTagsGet(articleId, articleName, contributorId, contributorName, email, description, website, contributionType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
15893
+ apiV1ArticlesArticleIdTagsGet(articleId: string, tagId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticleTagsModel> {
15894
+ return localVarFp.apiV1ArticlesArticleIdTagsGet(articleId, tagId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
15816
15895
  },
15817
15896
  /**
15818
15897
  *
15898
+ * @summary Create ArticleTag.
15819
15899
  * @param {string} articleId
15820
- * @param {CreateArticleContributorCommand} [createArticleContributorCommand]
15900
+ * @param {CreateArticleTagCommand} [createArticleTagCommand]
15821
15901
  * @param {*} [options] Override http request option.
15822
15902
  * @throws {RequiredError}
15823
15903
  */
15824
- apiV1ArticlesArticleIdTagsPost(articleId: string, createArticleContributorCommand?: CreateArticleContributorCommand, options?: any): AxiosPromise<ArticleContributorModel> {
15825
- return localVarFp.apiV1ArticlesArticleIdTagsPost(articleId, createArticleContributorCommand, options).then((request) => request(axios, basePath));
15904
+ apiV1ArticlesArticleIdTagsPost(articleId: string, createArticleTagCommand?: CreateArticleTagCommand, options?: any): AxiosPromise<ArticleTagModel> {
15905
+ return localVarFp.apiV1ArticlesArticleIdTagsPost(articleId, createArticleTagCommand, options).then((request) => request(axios, basePath));
15826
15906
  },
15827
15907
  /**
15828
15908
  *
15829
- * @summary Delete ArticleContributor.
15909
+ * @summary Delete ArticleTag.
15830
15910
  * @param {string} articleId
15831
- * @param {string} contributorId
15832
15911
  * @param {string} tagId
15912
+ * @param {DeleteArticleTagCommand} [deleteArticleTagCommand]
15833
15913
  * @param {*} [options] Override http request option.
15834
15914
  * @throws {RequiredError}
15835
15915
  */
15836
- apiV1ArticlesArticleIdTagsTagIdDelete(articleId: string, contributorId: string, tagId: string, options?: any): AxiosPromise<boolean> {
15837
- return localVarFp.apiV1ArticlesArticleIdTagsTagIdDelete(articleId, contributorId, tagId, options).then((request) => request(axios, basePath));
15916
+ apiV1ArticlesArticleIdTagsTagIdDelete(articleId: string, tagId: string, deleteArticleTagCommand?: DeleteArticleTagCommand, options?: any): AxiosPromise<boolean> {
15917
+ return localVarFp.apiV1ArticlesArticleIdTagsTagIdDelete(articleId, tagId, deleteArticleTagCommand, options).then((request) => request(axios, basePath));
15838
15918
  },
15839
15919
  /**
15840
15920
  *
15841
- * @summary Get ArticleContributor.
15921
+ * @summary Get ArticleTag.
15842
15922
  * @param {string} articleId
15843
- * @param {string} contributorId
15844
15923
  * @param {string} tagId
15845
15924
  * @param {*} [options] Override http request option.
15846
15925
  * @throws {RequiredError}
15847
15926
  */
15848
- apiV1ArticlesArticleIdTagsTagIdGet(articleId: string, contributorId: string, tagId: string, options?: any): AxiosPromise<ArticleContributorModel> {
15849
- return localVarFp.apiV1ArticlesArticleIdTagsTagIdGet(articleId, contributorId, tagId, options).then((request) => request(axios, basePath));
15927
+ apiV1ArticlesArticleIdTagsTagIdGet(articleId: string, tagId: string, options?: any): AxiosPromise<ArticleTagModel> {
15928
+ return localVarFp.apiV1ArticlesArticleIdTagsTagIdGet(articleId, tagId, options).then((request) => request(axios, basePath));
15850
15929
  },
15851
15930
  /**
15852
15931
  *
@@ -16159,15 +16238,9 @@ export class ArticlesApi extends BaseAPI {
16159
16238
 
16160
16239
  /**
16161
16240
  *
16162
- * @summary GetAll ArticleContributors.
16241
+ * @summary GetAll ArticleTags.
16163
16242
  * @param {string} articleId
16164
- * @param {string} [articleName]
16165
- * @param {string} [contributorId]
16166
- * @param {string} [contributorName]
16167
- * @param {string} [email]
16168
- * @param {string} [description]
16169
- * @param {string} [website]
16170
- * @param {ContributionType} [contributionType]
16243
+ * @param {string} [tagId]
16171
16244
  * @param {number} [page]
16172
16245
  * @param {number} [limit]
16173
16246
  * @param {Date} [lastRetrieved]
@@ -16175,48 +16248,48 @@ export class ArticlesApi extends BaseAPI {
16175
16248
  * @throws {RequiredError}
16176
16249
  * @memberof ArticlesApi
16177
16250
  */
16178
- public apiV1ArticlesArticleIdTagsGet(articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, description?: string, website?: string, contributionType?: ContributionType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
16179
- return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsGet(articleId, articleName, contributorId, contributorName, email, description, website, contributionType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
16251
+ public apiV1ArticlesArticleIdTagsGet(articleId: string, tagId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
16252
+ return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsGet(articleId, tagId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
16180
16253
  }
16181
16254
 
16182
16255
  /**
16183
16256
  *
16257
+ * @summary Create ArticleTag.
16184
16258
  * @param {string} articleId
16185
- * @param {CreateArticleContributorCommand} [createArticleContributorCommand]
16259
+ * @param {CreateArticleTagCommand} [createArticleTagCommand]
16186
16260
  * @param {*} [options] Override http request option.
16187
16261
  * @throws {RequiredError}
16188
16262
  * @memberof ArticlesApi
16189
16263
  */
16190
- public apiV1ArticlesArticleIdTagsPost(articleId: string, createArticleContributorCommand?: CreateArticleContributorCommand, options?: AxiosRequestConfig) {
16191
- return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsPost(articleId, createArticleContributorCommand, options).then((request) => request(this.axios, this.basePath));
16264
+ public apiV1ArticlesArticleIdTagsPost(articleId: string, createArticleTagCommand?: CreateArticleTagCommand, options?: AxiosRequestConfig) {
16265
+ return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsPost(articleId, createArticleTagCommand, options).then((request) => request(this.axios, this.basePath));
16192
16266
  }
16193
16267
 
16194
16268
  /**
16195
16269
  *
16196
- * @summary Delete ArticleContributor.
16270
+ * @summary Delete ArticleTag.
16197
16271
  * @param {string} articleId
16198
- * @param {string} contributorId
16199
16272
  * @param {string} tagId
16273
+ * @param {DeleteArticleTagCommand} [deleteArticleTagCommand]
16200
16274
  * @param {*} [options] Override http request option.
16201
16275
  * @throws {RequiredError}
16202
16276
  * @memberof ArticlesApi
16203
16277
  */
16204
- public apiV1ArticlesArticleIdTagsTagIdDelete(articleId: string, contributorId: string, tagId: string, options?: AxiosRequestConfig) {
16205
- return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsTagIdDelete(articleId, contributorId, tagId, options).then((request) => request(this.axios, this.basePath));
16278
+ public apiV1ArticlesArticleIdTagsTagIdDelete(articleId: string, tagId: string, deleteArticleTagCommand?: DeleteArticleTagCommand, options?: AxiosRequestConfig) {
16279
+ return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsTagIdDelete(articleId, tagId, deleteArticleTagCommand, options).then((request) => request(this.axios, this.basePath));
16206
16280
  }
16207
16281
 
16208
16282
  /**
16209
16283
  *
16210
- * @summary Get ArticleContributor.
16284
+ * @summary Get ArticleTag.
16211
16285
  * @param {string} articleId
16212
- * @param {string} contributorId
16213
16286
  * @param {string} tagId
16214
16287
  * @param {*} [options] Override http request option.
16215
16288
  * @throws {RequiredError}
16216
16289
  * @memberof ArticlesApi
16217
16290
  */
16218
- public apiV1ArticlesArticleIdTagsTagIdGet(articleId: string, contributorId: string, tagId: string, options?: AxiosRequestConfig) {
16219
- return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsTagIdGet(articleId, contributorId, tagId, options).then((request) => request(this.axios, this.basePath));
16291
+ public apiV1ArticlesArticleIdTagsTagIdGet(articleId: string, tagId: string, options?: AxiosRequestConfig) {
16292
+ return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsTagIdGet(articleId, tagId, options).then((request) => request(this.axios, this.basePath));
16220
16293
  }
16221
16294
 
16222
16295
  /**
@@ -20885,7 +20958,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
20885
20958
  * @param {*} [options] Override http request option.
20886
20959
  * @throws {RequiredError}
20887
20960
  */
20888
- async apiV1DealsDealIdPackagesPackageIdPut(dealId: string, packageId: string, updateDealPackageCommand?: UpdateDealPackageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
20961
+ async apiV1DealsDealIdPackagesPackageIdPut(dealId: string, packageId: string, updateDealPackageCommand?: UpdateDealPackageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealPackageModel>> {
20889
20962
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdPackagesPackageIdPut(dealId, packageId, updateDealPackageCommand, options);
20890
20963
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
20891
20964
  },
@@ -20909,7 +20982,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
20909
20982
  * @param {*} [options] Override http request option.
20910
20983
  * @throws {RequiredError}
20911
20984
  */
20912
- async apiV1DealsDealIdPut(dealId: string, updateDealCommand?: UpdateDealCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
20985
+ async apiV1DealsDealIdPut(dealId: string, updateDealCommand?: UpdateDealCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealModel>> {
20913
20986
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdPut(dealId, updateDealCommand, options);
20914
20987
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
20915
20988
  },
@@ -20972,7 +21045,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
20972
21045
  * @param {*} [options] Override http request option.
20973
21046
  * @throws {RequiredError}
20974
21047
  */
20975
- async apiV1DealsDealIdServicesServiceIdPut(dealId: string, serviceId: string, updateDealServiceCommand?: UpdateDealServiceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
21048
+ async apiV1DealsDealIdServicesServiceIdPut(dealId: string, serviceId: string, updateDealServiceCommand?: UpdateDealServiceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealServiceModel>> {
20976
21049
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdServicesServiceIdPut(dealId, serviceId, updateDealServiceCommand, options);
20977
21050
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
20978
21051
  },
@@ -21102,7 +21175,7 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
21102
21175
  * @param {*} [options] Override http request option.
21103
21176
  * @throws {RequiredError}
21104
21177
  */
21105
- apiV1DealsDealIdPackagesPackageIdPut(dealId: string, packageId: string, updateDealPackageCommand?: UpdateDealPackageCommand, options?: any): AxiosPromise<boolean> {
21178
+ apiV1DealsDealIdPackagesPackageIdPut(dealId: string, packageId: string, updateDealPackageCommand?: UpdateDealPackageCommand, options?: any): AxiosPromise<DealPackageModel> {
21106
21179
  return localVarFp.apiV1DealsDealIdPackagesPackageIdPut(dealId, packageId, updateDealPackageCommand, options).then((request) => request(axios, basePath));
21107
21180
  },
21108
21181
  /**
@@ -21124,7 +21197,7 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
21124
21197
  * @param {*} [options] Override http request option.
21125
21198
  * @throws {RequiredError}
21126
21199
  */
21127
- apiV1DealsDealIdPut(dealId: string, updateDealCommand?: UpdateDealCommand, options?: any): AxiosPromise<boolean> {
21200
+ apiV1DealsDealIdPut(dealId: string, updateDealCommand?: UpdateDealCommand, options?: any): AxiosPromise<DealModel> {
21128
21201
  return localVarFp.apiV1DealsDealIdPut(dealId, updateDealCommand, options).then((request) => request(axios, basePath));
21129
21202
  },
21130
21203
  /**
@@ -21182,7 +21255,7 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
21182
21255
  * @param {*} [options] Override http request option.
21183
21256
  * @throws {RequiredError}
21184
21257
  */
21185
- apiV1DealsDealIdServicesServiceIdPut(dealId: string, serviceId: string, updateDealServiceCommand?: UpdateDealServiceCommand, options?: any): AxiosPromise<boolean> {
21258
+ apiV1DealsDealIdServicesServiceIdPut(dealId: string, serviceId: string, updateDealServiceCommand?: UpdateDealServiceCommand, options?: any): AxiosPromise<DealServiceModel> {
21186
21259
  return localVarFp.apiV1DealsDealIdServicesServiceIdPut(dealId, serviceId, updateDealServiceCommand, options).then((request) => request(axios, basePath));
21187
21260
  },
21188
21261
  /**
@@ -23460,7 +23533,7 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
23460
23533
  * @param {*} [options] Override http request option.
23461
23534
  * @throws {RequiredError}
23462
23535
  */
23463
- async apiV1DoctorsDoctorIdPut(doctorId: string, updateDoctorCommand?: UpdateDoctorCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
23536
+ async apiV1DoctorsDoctorIdPut(doctorId: string, updateDoctorCommand?: UpdateDoctorCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
23464
23537
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdPut(doctorId, updateDoctorCommand, options);
23465
23538
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23466
23539
  },
@@ -23890,7 +23963,7 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
23890
23963
  * @param {*} [options] Override http request option.
23891
23964
  * @throws {RequiredError}
23892
23965
  */
23893
- apiV1DoctorsDoctorIdPut(doctorId: string, updateDoctorCommand?: UpdateDoctorCommand, options?: any): AxiosPromise<boolean> {
23966
+ apiV1DoctorsDoctorIdPut(doctorId: string, updateDoctorCommand?: UpdateDoctorCommand, options?: any): AxiosPromise<DoctorModel> {
23894
23967
  return localVarFp.apiV1DoctorsDoctorIdPut(doctorId, updateDoctorCommand, options).then((request) => request(axios, basePath));
23895
23968
  },
23896
23969
  /**
@@ -29599,6 +29672,350 @@ export class ManagersApi extends BaseAPI {
29599
29672
  }
29600
29673
 
29601
29674
 
29675
+ /**
29676
+ * MembershipsApi - axios parameter creator
29677
+ * @export
29678
+ */
29679
+ export const MembershipsApiAxiosParamCreator = function (configuration?: Configuration) {
29680
+ return {
29681
+ /**
29682
+ *
29683
+ * @summary Get all memberships.
29684
+ * @param {string} [id]
29685
+ * @param {string} [planId]
29686
+ * @param {string} [planName]
29687
+ * @param {string} [ownerId]
29688
+ * @param {string} [ownerName]
29689
+ * @param {boolean} [isActive]
29690
+ * @param {number} [page]
29691
+ * @param {number} [limit]
29692
+ * @param {Date} [lastRetrieved]
29693
+ * @param {*} [options] Override http request option.
29694
+ * @throws {RequiredError}
29695
+ */
29696
+ apiV1MembershipsGet: async (id?: string, planId?: string, planName?: string, ownerId?: string, ownerName?: string, isActive?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29697
+ const localVarPath = `/api/v1/memberships`;
29698
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29699
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29700
+ let baseOptions;
29701
+ if (configuration) {
29702
+ baseOptions = configuration.baseOptions;
29703
+ }
29704
+
29705
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
29706
+ const localVarHeaderParameter = {} as any;
29707
+ const localVarQueryParameter = {} as any;
29708
+
29709
+ // authentication oauth2 required
29710
+ // oauth required
29711
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
29712
+
29713
+ if (id !== undefined) {
29714
+ localVarQueryParameter['Id'] = id;
29715
+ }
29716
+
29717
+ if (planId !== undefined) {
29718
+ localVarQueryParameter['PlanId'] = planId;
29719
+ }
29720
+
29721
+ if (planName !== undefined) {
29722
+ localVarQueryParameter['PlanName'] = planName;
29723
+ }
29724
+
29725
+ if (ownerId !== undefined) {
29726
+ localVarQueryParameter['OwnerId'] = ownerId;
29727
+ }
29728
+
29729
+ if (ownerName !== undefined) {
29730
+ localVarQueryParameter['OwnerName'] = ownerName;
29731
+ }
29732
+
29733
+ if (isActive !== undefined) {
29734
+ localVarQueryParameter['IsActive'] = isActive;
29735
+ }
29736
+
29737
+ if (page !== undefined) {
29738
+ localVarQueryParameter['page'] = page;
29739
+ }
29740
+
29741
+ if (limit !== undefined) {
29742
+ localVarQueryParameter['limit'] = limit;
29743
+ }
29744
+
29745
+ if (lastRetrieved !== undefined) {
29746
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
29747
+ (lastRetrieved as any).toISOString() :
29748
+ lastRetrieved;
29749
+ }
29750
+
29751
+
29752
+
29753
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29754
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29755
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
29756
+
29757
+ return {
29758
+ url: toPathString(localVarUrlObj),
29759
+ options: localVarRequestOptions,
29760
+ };
29761
+ },
29762
+ /**
29763
+ *
29764
+ * @summary Get membership.
29765
+ * @param {string} membershipId
29766
+ * @param {*} [options] Override http request option.
29767
+ * @throws {RequiredError}
29768
+ */
29769
+ apiV1MembershipsMembershipIdGet: async (membershipId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29770
+ // verify required parameter 'membershipId' is not null or undefined
29771
+ assertParamExists('apiV1MembershipsMembershipIdGet', 'membershipId', membershipId)
29772
+ const localVarPath = `/api/v1/memberships/{membershipId}`
29773
+ .replace(`{${"membershipId"}}`, encodeURIComponent(String(membershipId)));
29774
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29775
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29776
+ let baseOptions;
29777
+ if (configuration) {
29778
+ baseOptions = configuration.baseOptions;
29779
+ }
29780
+
29781
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
29782
+ const localVarHeaderParameter = {} as any;
29783
+ const localVarQueryParameter = {} as any;
29784
+
29785
+ // authentication oauth2 required
29786
+ // oauth required
29787
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
29788
+
29789
+
29790
+
29791
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29792
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29793
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
29794
+
29795
+ return {
29796
+ url: toPathString(localVarUrlObj),
29797
+ options: localVarRequestOptions,
29798
+ };
29799
+ },
29800
+ /**
29801
+ *
29802
+ * @summary Get all members.
29803
+ * @param {string} membershipId
29804
+ * @param {number} [page]
29805
+ * @param {number} [limit]
29806
+ * @param {Date} [lastRetrieved]
29807
+ * @param {*} [options] Override http request option.
29808
+ * @throws {RequiredError}
29809
+ */
29810
+ apiV1MembershipsMembershipIdMembersGet: async (membershipId: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29811
+ // verify required parameter 'membershipId' is not null or undefined
29812
+ assertParamExists('apiV1MembershipsMembershipIdMembersGet', 'membershipId', membershipId)
29813
+ const localVarPath = `/api/v1/memberships/{membershipId}/members`
29814
+ .replace(`{${"membershipId"}}`, encodeURIComponent(String(membershipId)));
29815
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29816
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29817
+ let baseOptions;
29818
+ if (configuration) {
29819
+ baseOptions = configuration.baseOptions;
29820
+ }
29821
+
29822
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
29823
+ const localVarHeaderParameter = {} as any;
29824
+ const localVarQueryParameter = {} as any;
29825
+
29826
+ // authentication oauth2 required
29827
+ // oauth required
29828
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
29829
+
29830
+ if (page !== undefined) {
29831
+ localVarQueryParameter['page'] = page;
29832
+ }
29833
+
29834
+ if (limit !== undefined) {
29835
+ localVarQueryParameter['limit'] = limit;
29836
+ }
29837
+
29838
+ if (lastRetrieved !== undefined) {
29839
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
29840
+ (lastRetrieved as any).toISOString() :
29841
+ lastRetrieved;
29842
+ }
29843
+
29844
+
29845
+
29846
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29847
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29848
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
29849
+
29850
+ return {
29851
+ url: toPathString(localVarUrlObj),
29852
+ options: localVarRequestOptions,
29853
+ };
29854
+ },
29855
+ }
29856
+ };
29857
+
29858
+ /**
29859
+ * MembershipsApi - functional programming interface
29860
+ * @export
29861
+ */
29862
+ export const MembershipsApiFp = function(configuration?: Configuration) {
29863
+ const localVarAxiosParamCreator = MembershipsApiAxiosParamCreator(configuration)
29864
+ return {
29865
+ /**
29866
+ *
29867
+ * @summary Get all memberships.
29868
+ * @param {string} [id]
29869
+ * @param {string} [planId]
29870
+ * @param {string} [planName]
29871
+ * @param {string} [ownerId]
29872
+ * @param {string} [ownerName]
29873
+ * @param {boolean} [isActive]
29874
+ * @param {number} [page]
29875
+ * @param {number} [limit]
29876
+ * @param {Date} [lastRetrieved]
29877
+ * @param {*} [options] Override http request option.
29878
+ * @throws {RequiredError}
29879
+ */
29880
+ async apiV1MembershipsGet(id?: string, planId?: string, planName?: string, ownerId?: string, ownerName?: string, isActive?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MembershipsModel>> {
29881
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1MembershipsGet(id, planId, planName, ownerId, ownerName, isActive, page, limit, lastRetrieved, options);
29882
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29883
+ },
29884
+ /**
29885
+ *
29886
+ * @summary Get membership.
29887
+ * @param {string} membershipId
29888
+ * @param {*} [options] Override http request option.
29889
+ * @throws {RequiredError}
29890
+ */
29891
+ async apiV1MembershipsMembershipIdGet(membershipId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MembershipModel>> {
29892
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1MembershipsMembershipIdGet(membershipId, options);
29893
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29894
+ },
29895
+ /**
29896
+ *
29897
+ * @summary Get all members.
29898
+ * @param {string} membershipId
29899
+ * @param {number} [page]
29900
+ * @param {number} [limit]
29901
+ * @param {Date} [lastRetrieved]
29902
+ * @param {*} [options] Override http request option.
29903
+ * @throws {RequiredError}
29904
+ */
29905
+ async apiV1MembershipsMembershipIdMembersGet(membershipId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MembersModel>> {
29906
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1MembershipsMembershipIdMembersGet(membershipId, page, limit, lastRetrieved, options);
29907
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29908
+ },
29909
+ }
29910
+ };
29911
+
29912
+ /**
29913
+ * MembershipsApi - factory interface
29914
+ * @export
29915
+ */
29916
+ export const MembershipsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
29917
+ const localVarFp = MembershipsApiFp(configuration)
29918
+ return {
29919
+ /**
29920
+ *
29921
+ * @summary Get all memberships.
29922
+ * @param {string} [id]
29923
+ * @param {string} [planId]
29924
+ * @param {string} [planName]
29925
+ * @param {string} [ownerId]
29926
+ * @param {string} [ownerName]
29927
+ * @param {boolean} [isActive]
29928
+ * @param {number} [page]
29929
+ * @param {number} [limit]
29930
+ * @param {Date} [lastRetrieved]
29931
+ * @param {*} [options] Override http request option.
29932
+ * @throws {RequiredError}
29933
+ */
29934
+ apiV1MembershipsGet(id?: string, planId?: string, planName?: string, ownerId?: string, ownerName?: string, isActive?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MembershipsModel> {
29935
+ return localVarFp.apiV1MembershipsGet(id, planId, planName, ownerId, ownerName, isActive, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
29936
+ },
29937
+ /**
29938
+ *
29939
+ * @summary Get membership.
29940
+ * @param {string} membershipId
29941
+ * @param {*} [options] Override http request option.
29942
+ * @throws {RequiredError}
29943
+ */
29944
+ apiV1MembershipsMembershipIdGet(membershipId: string, options?: any): AxiosPromise<MembershipModel> {
29945
+ return localVarFp.apiV1MembershipsMembershipIdGet(membershipId, options).then((request) => request(axios, basePath));
29946
+ },
29947
+ /**
29948
+ *
29949
+ * @summary Get all members.
29950
+ * @param {string} membershipId
29951
+ * @param {number} [page]
29952
+ * @param {number} [limit]
29953
+ * @param {Date} [lastRetrieved]
29954
+ * @param {*} [options] Override http request option.
29955
+ * @throws {RequiredError}
29956
+ */
29957
+ apiV1MembershipsMembershipIdMembersGet(membershipId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MembersModel> {
29958
+ return localVarFp.apiV1MembershipsMembershipIdMembersGet(membershipId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
29959
+ },
29960
+ };
29961
+ };
29962
+
29963
+ /**
29964
+ * MembershipsApi - object-oriented interface
29965
+ * @export
29966
+ * @class MembershipsApi
29967
+ * @extends {BaseAPI}
29968
+ */
29969
+ export class MembershipsApi extends BaseAPI {
29970
+ /**
29971
+ *
29972
+ * @summary Get all memberships.
29973
+ * @param {string} [id]
29974
+ * @param {string} [planId]
29975
+ * @param {string} [planName]
29976
+ * @param {string} [ownerId]
29977
+ * @param {string} [ownerName]
29978
+ * @param {boolean} [isActive]
29979
+ * @param {number} [page]
29980
+ * @param {number} [limit]
29981
+ * @param {Date} [lastRetrieved]
29982
+ * @param {*} [options] Override http request option.
29983
+ * @throws {RequiredError}
29984
+ * @memberof MembershipsApi
29985
+ */
29986
+ public apiV1MembershipsGet(id?: string, planId?: string, planName?: string, ownerId?: string, ownerName?: string, isActive?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
29987
+ return MembershipsApiFp(this.configuration).apiV1MembershipsGet(id, planId, planName, ownerId, ownerName, isActive, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
29988
+ }
29989
+
29990
+ /**
29991
+ *
29992
+ * @summary Get membership.
29993
+ * @param {string} membershipId
29994
+ * @param {*} [options] Override http request option.
29995
+ * @throws {RequiredError}
29996
+ * @memberof MembershipsApi
29997
+ */
29998
+ public apiV1MembershipsMembershipIdGet(membershipId: string, options?: AxiosRequestConfig) {
29999
+ return MembershipsApiFp(this.configuration).apiV1MembershipsMembershipIdGet(membershipId, options).then((request) => request(this.axios, this.basePath));
30000
+ }
30001
+
30002
+ /**
30003
+ *
30004
+ * @summary Get all members.
30005
+ * @param {string} membershipId
30006
+ * @param {number} [page]
30007
+ * @param {number} [limit]
30008
+ * @param {Date} [lastRetrieved]
30009
+ * @param {*} [options] Override http request option.
30010
+ * @throws {RequiredError}
30011
+ * @memberof MembershipsApi
30012
+ */
30013
+ public apiV1MembershipsMembershipIdMembersGet(membershipId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
30014
+ return MembershipsApiFp(this.configuration).apiV1MembershipsMembershipIdMembersGet(membershipId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
30015
+ }
30016
+ }
30017
+
30018
+
29602
30019
  /**
29603
30020
  * NotificationsApi - axios parameter creator
29604
30021
  * @export
@@ -30358,7 +30775,7 @@ export const PlansApiFp = function(configuration?: Configuration) {
30358
30775
  * @param {*} [options] Override http request option.
30359
30776
  * @throws {RequiredError}
30360
30777
  */
30361
- async apiV1PlansPlanIdHospitalsHospitalIdPut(planId: string, hospitalId: string, updatePlanHospitalCommand?: UpdatePlanHospitalCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
30778
+ async apiV1PlansPlanIdHospitalsHospitalIdPut(planId: string, hospitalId: string, updatePlanHospitalCommand?: UpdatePlanHospitalCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanHospitalModel>> {
30362
30779
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PlansPlanIdHospitalsHospitalIdPut(planId, hospitalId, updatePlanHospitalCommand, options);
30363
30780
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
30364
30781
  },
@@ -30382,7 +30799,7 @@ export const PlansApiFp = function(configuration?: Configuration) {
30382
30799
  * @param {*} [options] Override http request option.
30383
30800
  * @throws {RequiredError}
30384
30801
  */
30385
- async apiV1PlansPlanIdPut(planId: string, updatePlanCommand?: UpdatePlanCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
30802
+ async apiV1PlansPlanIdPut(planId: string, updatePlanCommand?: UpdatePlanCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanModel>> {
30386
30803
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PlansPlanIdPut(planId, updatePlanCommand, options);
30387
30804
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
30388
30805
  },
@@ -30485,7 +30902,7 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
30485
30902
  * @param {*} [options] Override http request option.
30486
30903
  * @throws {RequiredError}
30487
30904
  */
30488
- apiV1PlansPlanIdHospitalsHospitalIdPut(planId: string, hospitalId: string, updatePlanHospitalCommand?: UpdatePlanHospitalCommand, options?: any): AxiosPromise<boolean> {
30905
+ apiV1PlansPlanIdHospitalsHospitalIdPut(planId: string, hospitalId: string, updatePlanHospitalCommand?: UpdatePlanHospitalCommand, options?: any): AxiosPromise<PlanHospitalModel> {
30489
30906
  return localVarFp.apiV1PlansPlanIdHospitalsHospitalIdPut(planId, hospitalId, updatePlanHospitalCommand, options).then((request) => request(axios, basePath));
30490
30907
  },
30491
30908
  /**
@@ -30507,7 +30924,7 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
30507
30924
  * @param {*} [options] Override http request option.
30508
30925
  * @throws {RequiredError}
30509
30926
  */
30510
- apiV1PlansPlanIdPut(planId: string, updatePlanCommand?: UpdatePlanCommand, options?: any): AxiosPromise<boolean> {
30927
+ apiV1PlansPlanIdPut(planId: string, updatePlanCommand?: UpdatePlanCommand, options?: any): AxiosPromise<PlanModel> {
30511
30928
  return localVarFp.apiV1PlansPlanIdPut(planId, updatePlanCommand, options).then((request) => request(axios, basePath));
30512
30929
  },
30513
30930
  /**
@@ -31324,7 +31741,7 @@ export class ServicesApi extends BaseAPI {
31324
31741
  export const ServicesCategoriesApiAxiosParamCreator = function (configuration?: Configuration) {
31325
31742
  return {
31326
31743
  /**
31327
- * Sample request: GET /api/v1/ServiceCategories
31744
+ *
31328
31745
  * @summary Get all ServiceCategories.
31329
31746
  * @param {string} [id]
31330
31747
  * @param {string} [name]
@@ -31432,7 +31849,7 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
31432
31849
  };
31433
31850
  },
31434
31851
  /**
31435
- * Sample request: DELETE /api/v1/ServiceCategories/1
31852
+ *
31436
31853
  * @summary Delete ServiceCategory.
31437
31854
  * @param {string} serviceCategoryId
31438
31855
  * @param {*} [options] Override http request option.
@@ -31470,7 +31887,7 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
31470
31887
  };
31471
31888
  },
31472
31889
  /**
31473
- * Sample request: GET /api/v1/ServiceCategories/1
31890
+ *
31474
31891
  * @summary Get ServiceCategory.
31475
31892
  * @param {string} serviceCategoryId
31476
31893
  * @param {string} [languageCode]
@@ -31513,7 +31930,7 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
31513
31930
  };
31514
31931
  },
31515
31932
  /**
31516
- * Sample request: PUT /api/v1/ServiceCategories/1 { \"name\": \"Adults\", \"description\": \"There are so many “-ologists“ that they can be hard to keep straight. However, this list could be a handy reference. This is not meant to be an exhaustive and all-inclusive list of what a specialist does, but it should provide you with a basic overview.\" }
31933
+ *
31517
31934
  * @summary Update ServiceCategory
31518
31935
  * @param {string} serviceCategoryId
31519
31936
  * @param {UpdateServiceCategoryCommand} [updateServiceCategoryCommand]
@@ -31565,7 +31982,7 @@ export const ServicesCategoriesApiFp = function(configuration?: Configuration) {
31565
31982
  const localVarAxiosParamCreator = ServicesCategoriesApiAxiosParamCreator(configuration)
31566
31983
  return {
31567
31984
  /**
31568
- * Sample request: GET /api/v1/ServiceCategories
31985
+ *
31569
31986
  * @summary Get all ServiceCategories.
31570
31987
  * @param {string} [id]
31571
31988
  * @param {string} [name]
@@ -31592,7 +32009,7 @@ export const ServicesCategoriesApiFp = function(configuration?: Configuration) {
31592
32009
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
31593
32010
  },
31594
32011
  /**
31595
- * Sample request: DELETE /api/v1/ServiceCategories/1
32012
+ *
31596
32013
  * @summary Delete ServiceCategory.
31597
32014
  * @param {string} serviceCategoryId
31598
32015
  * @param {*} [options] Override http request option.
@@ -31603,7 +32020,7 @@ export const ServicesCategoriesApiFp = function(configuration?: Configuration) {
31603
32020
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
31604
32021
  },
31605
32022
  /**
31606
- * Sample request: GET /api/v1/ServiceCategories/1
32023
+ *
31607
32024
  * @summary Get ServiceCategory.
31608
32025
  * @param {string} serviceCategoryId
31609
32026
  * @param {string} [languageCode]
@@ -31615,14 +32032,14 @@ export const ServicesCategoriesApiFp = function(configuration?: Configuration) {
31615
32032
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
31616
32033
  },
31617
32034
  /**
31618
- * Sample request: PUT /api/v1/ServiceCategories/1 { \"name\": \"Adults\", \"description\": \"There are so many “-ologists“ that they can be hard to keep straight. However, this list could be a handy reference. This is not meant to be an exhaustive and all-inclusive list of what a specialist does, but it should provide you with a basic overview.\" }
32035
+ *
31619
32036
  * @summary Update ServiceCategory
31620
32037
  * @param {string} serviceCategoryId
31621
32038
  * @param {UpdateServiceCategoryCommand} [updateServiceCategoryCommand]
31622
32039
  * @param {*} [options] Override http request option.
31623
32040
  * @throws {RequiredError}
31624
32041
  */
31625
- async apiV1ServicescategoriesServiceCategoryIdPut(serviceCategoryId: string, updateServiceCategoryCommand?: UpdateServiceCategoryCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
32042
+ async apiV1ServicescategoriesServiceCategoryIdPut(serviceCategoryId: string, updateServiceCategoryCommand?: UpdateServiceCategoryCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceCategoryModel>> {
31626
32043
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicescategoriesServiceCategoryIdPut(serviceCategoryId, updateServiceCategoryCommand, options);
31627
32044
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
31628
32045
  },
@@ -31637,7 +32054,7 @@ export const ServicesCategoriesApiFactory = function (configuration?: Configurat
31637
32054
  const localVarFp = ServicesCategoriesApiFp(configuration)
31638
32055
  return {
31639
32056
  /**
31640
- * Sample request: GET /api/v1/ServiceCategories
32057
+ *
31641
32058
  * @summary Get all ServiceCategories.
31642
32059
  * @param {string} [id]
31643
32060
  * @param {string} [name]
@@ -31662,7 +32079,7 @@ export const ServicesCategoriesApiFactory = function (configuration?: Configurat
31662
32079
  return localVarFp.apiV1ServicescategoriesPost(createServiceCategoryCommand, options).then((request) => request(axios, basePath));
31663
32080
  },
31664
32081
  /**
31665
- * Sample request: DELETE /api/v1/ServiceCategories/1
32082
+ *
31666
32083
  * @summary Delete ServiceCategory.
31667
32084
  * @param {string} serviceCategoryId
31668
32085
  * @param {*} [options] Override http request option.
@@ -31672,7 +32089,7 @@ export const ServicesCategoriesApiFactory = function (configuration?: Configurat
31672
32089
  return localVarFp.apiV1ServicescategoriesServiceCategoryIdDelete(serviceCategoryId, options).then((request) => request(axios, basePath));
31673
32090
  },
31674
32091
  /**
31675
- * Sample request: GET /api/v1/ServiceCategories/1
32092
+ *
31676
32093
  * @summary Get ServiceCategory.
31677
32094
  * @param {string} serviceCategoryId
31678
32095
  * @param {string} [languageCode]
@@ -31683,14 +32100,14 @@ export const ServicesCategoriesApiFactory = function (configuration?: Configurat
31683
32100
  return localVarFp.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId, languageCode, options).then((request) => request(axios, basePath));
31684
32101
  },
31685
32102
  /**
31686
- * Sample request: PUT /api/v1/ServiceCategories/1 { \"name\": \"Adults\", \"description\": \"There are so many “-ologists“ that they can be hard to keep straight. However, this list could be a handy reference. This is not meant to be an exhaustive and all-inclusive list of what a specialist does, but it should provide you with a basic overview.\" }
32103
+ *
31687
32104
  * @summary Update ServiceCategory
31688
32105
  * @param {string} serviceCategoryId
31689
32106
  * @param {UpdateServiceCategoryCommand} [updateServiceCategoryCommand]
31690
32107
  * @param {*} [options] Override http request option.
31691
32108
  * @throws {RequiredError}
31692
32109
  */
31693
- apiV1ServicescategoriesServiceCategoryIdPut(serviceCategoryId: string, updateServiceCategoryCommand?: UpdateServiceCategoryCommand, options?: any): AxiosPromise<void> {
32110
+ apiV1ServicescategoriesServiceCategoryIdPut(serviceCategoryId: string, updateServiceCategoryCommand?: UpdateServiceCategoryCommand, options?: any): AxiosPromise<ServiceCategoryModel> {
31694
32111
  return localVarFp.apiV1ServicescategoriesServiceCategoryIdPut(serviceCategoryId, updateServiceCategoryCommand, options).then((request) => request(axios, basePath));
31695
32112
  },
31696
32113
  };
@@ -31704,7 +32121,7 @@ export const ServicesCategoriesApiFactory = function (configuration?: Configurat
31704
32121
  */
31705
32122
  export class ServicesCategoriesApi extends BaseAPI {
31706
32123
  /**
31707
- * Sample request: GET /api/v1/ServiceCategories
32124
+ *
31708
32125
  * @summary Get all ServiceCategories.
31709
32126
  * @param {string} [id]
31710
32127
  * @param {string} [name]
@@ -31733,7 +32150,7 @@ export class ServicesCategoriesApi extends BaseAPI {
31733
32150
  }
31734
32151
 
31735
32152
  /**
31736
- * Sample request: DELETE /api/v1/ServiceCategories/1
32153
+ *
31737
32154
  * @summary Delete ServiceCategory.
31738
32155
  * @param {string} serviceCategoryId
31739
32156
  * @param {*} [options] Override http request option.
@@ -31745,7 +32162,7 @@ export class ServicesCategoriesApi extends BaseAPI {
31745
32162
  }
31746
32163
 
31747
32164
  /**
31748
- * Sample request: GET /api/v1/ServiceCategories/1
32165
+ *
31749
32166
  * @summary Get ServiceCategory.
31750
32167
  * @param {string} serviceCategoryId
31751
32168
  * @param {string} [languageCode]
@@ -31758,7 +32175,7 @@ export class ServicesCategoriesApi extends BaseAPI {
31758
32175
  }
31759
32176
 
31760
32177
  /**
31761
- * Sample request: PUT /api/v1/ServiceCategories/1 { \"name\": \"Adults\", \"description\": \"There are so many “-ologists“ that they can be hard to keep straight. However, this list could be a handy reference. This is not meant to be an exhaustive and all-inclusive list of what a specialist does, but it should provide you with a basic overview.\" }
32178
+ *
31762
32179
  * @summary Update ServiceCategory
31763
32180
  * @param {string} serviceCategoryId
31764
32181
  * @param {UpdateServiceCategoryCommand} [updateServiceCategoryCommand]