ch-admin-api-client-typescript 2.2.14 → 2.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/api.ts CHANGED
@@ -3702,6 +3702,18 @@ export interface CreateDoctorCertificateCommand {
3702
3702
  * @interface CreateDoctorCommand
3703
3703
  */
3704
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;
3705
3717
  /**
3706
3718
  *
3707
3719
  * @type {string}
@@ -3744,36 +3756,6 @@ export interface CreateDoctorCommand {
3744
3756
  * @memberof CreateDoctorCommand
3745
3757
  */
3746
3758
  'dateOfBirth'?: Date | null;
3747
- /**
3748
- *
3749
- * @type {Array<MediaModel>}
3750
- * @memberof CreateDoctorCommand
3751
- */
3752
- 'medias'?: Array<MediaModel> | null;
3753
- /**
3754
- *
3755
- * @type {Array<UserLanguageModel>}
3756
- * @memberof CreateDoctorCommand
3757
- */
3758
- 'languages'?: Array<UserLanguageModel> | null;
3759
- /**
3760
- *
3761
- * @type {Array<UserLocationModel>}
3762
- * @memberof CreateDoctorCommand
3763
- */
3764
- 'locations'?: Array<UserLocationModel> | null;
3765
- /**
3766
- *
3767
- * @type {string}
3768
- * @memberof CreateDoctorCommand
3769
- */
3770
- 'userName'?: string | null;
3771
- /**
3772
- *
3773
- * @type {string}
3774
- * @memberof CreateDoctorCommand
3775
- */
3776
- 'email'?: string | null;
3777
3759
  /**
3778
3760
  *
3779
3761
  * @type {string}
@@ -3792,36 +3774,6 @@ export interface CreateDoctorCommand {
3792
3774
  * @memberof CreateDoctorCommand
3793
3775
  */
3794
3776
  'consultationFee'?: number | null;
3795
- /**
3796
- *
3797
- * @type {Array<DoctorEducationModel>}
3798
- * @memberof CreateDoctorCommand
3799
- */
3800
- 'educations'?: Array<DoctorEducationModel> | null;
3801
- /**
3802
- *
3803
- * @type {Array<DoctorPortfolioModel>}
3804
- * @memberof CreateDoctorCommand
3805
- */
3806
- 'portfolios'?: Array<DoctorPortfolioModel> | null;
3807
- /**
3808
- *
3809
- * @type {Array<DoctorSpecialtyModel>}
3810
- * @memberof CreateDoctorCommand
3811
- */
3812
- 'specialties'?: Array<DoctorSpecialtyModel> | null;
3813
- /**
3814
- *
3815
- * @type {Array<DoctorCertificateModel>}
3816
- * @memberof CreateDoctorCommand
3817
- */
3818
- 'certificates'?: Array<DoctorCertificateModel> | null;
3819
- /**
3820
- *
3821
- * @type {Array<AwardModel>}
3822
- * @memberof CreateDoctorCommand
3823
- */
3824
- 'awards'?: Array<AwardModel> | null;
3825
3777
  }
3826
3778
  /**
3827
3779
  *
@@ -3976,13 +3928,13 @@ export interface CreateHospitalCommand {
3976
3928
  * @type {number}
3977
3929
  * @memberof CreateHospitalCommand
3978
3930
  */
3979
- 'departmentsCount'?: number | null;
3931
+ 'medicalStaffCount'?: number | null;
3980
3932
  /**
3981
3933
  *
3982
3934
  * @type {number}
3983
3935
  * @memberof CreateHospitalCommand
3984
3936
  */
3985
- 'medicalStaffCount'?: number | null;
3937
+ 'doctorCount'?: number | null;
3986
3938
  /**
3987
3939
  *
3988
3940
  * @type {string}
@@ -4384,10 +4336,10 @@ export interface CreateServiceCategoryCommand {
4384
4336
  'description'?: string | null;
4385
4337
  /**
4386
4338
  *
4387
- * @type {Array<string>}
4339
+ * @type {number}
4388
4340
  * @memberof CreateServiceCategoryCommand
4389
4341
  */
4390
- 'services'?: Array<string> | null;
4342
+ 'order'?: number;
4391
4343
  }
4392
4344
  /**
4393
4345
  *
@@ -9342,6 +9294,74 @@ export interface MediasModel {
9342
9294
  */
9343
9295
  'metaData'?: PagedListMetaData;
9344
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
+ }
9345
9365
  /**
9346
9366
  *
9347
9367
  * @export
@@ -9446,6 +9466,135 @@ export interface MembershipInvitation {
9446
9466
  */
9447
9467
  'email'?: string | null;
9448
9468
  }
9469
+ /**
9470
+ *
9471
+ * @export
9472
+ * @interface MembershipItemModel
9473
+ */
9474
+ export interface MembershipItemModel {
9475
+ /**
9476
+ *
9477
+ * @type {string}
9478
+ * @memberof MembershipItemModel
9479
+ */
9480
+ 'id'?: string;
9481
+ /**
9482
+ *
9483
+ * @type {string}
9484
+ * @memberof MembershipItemModel
9485
+ */
9486
+ 'planId'?: string;
9487
+ /**
9488
+ *
9489
+ * @type {string}
9490
+ * @memberof MembershipItemModel
9491
+ */
9492
+ 'planName'?: string | null;
9493
+ /**
9494
+ *
9495
+ * @type {string}
9496
+ * @memberof MembershipItemModel
9497
+ */
9498
+ 'patientId'?: string;
9499
+ /**
9500
+ *
9501
+ * @type {string}
9502
+ * @memberof MembershipItemModel
9503
+ */
9504
+ 'patientName'?: string | null;
9505
+ /**
9506
+ *
9507
+ * @type {number}
9508
+ * @memberof MembershipItemModel
9509
+ */
9510
+ 'memberCount'?: number;
9511
+ /**
9512
+ *
9513
+ * @type {boolean}
9514
+ * @memberof MembershipItemModel
9515
+ */
9516
+ 'isActive'?: boolean;
9517
+ /**
9518
+ *
9519
+ * @type {SubscriptionModel}
9520
+ * @memberof MembershipItemModel
9521
+ */
9522
+ 'subscription'?: SubscriptionModel;
9523
+ }
9524
+ /**
9525
+ *
9526
+ * @export
9527
+ * @interface MembershipModel
9528
+ */
9529
+ export interface MembershipModel {
9530
+ /**
9531
+ *
9532
+ * @type {string}
9533
+ * @memberof MembershipModel
9534
+ */
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
+ }
9449
9598
  /**
9450
9599
  *
9451
9600
  * @export
@@ -11496,6 +11645,31 @@ export interface SpecialtyTypesModel {
11496
11645
  */
11497
11646
  'metaData'?: PagedListMetaData;
11498
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
+ }
11499
11673
  /**
11500
11674
  *
11501
11675
  * @export
@@ -11953,6 +12127,12 @@ export interface UpdateDealCommand {
11953
12127
  * @memberof UpdateDealCommand
11954
12128
  */
11955
12129
  'name'?: string | null;
12130
+ /**
12131
+ *
12132
+ * @type {string}
12133
+ * @memberof UpdateDealCommand
12134
+ */
12135
+ 'slug'?: string | null;
11956
12136
  /**
11957
12137
  *
11958
12138
  * @type {string}
@@ -12267,12 +12447,6 @@ export interface UpdateDoctorSpecialtyCommand {
12267
12447
  * @interface UpdateHospitalCommand
12268
12448
  */
12269
12449
  export interface UpdateHospitalCommand {
12270
- /**
12271
- *
12272
- * @type {string}
12273
- * @memberof UpdateHospitalCommand
12274
- */
12275
- 'id'?: string;
12276
12450
  /**
12277
12451
  *
12278
12452
  * @type {string}
@@ -12338,7 +12512,7 @@ export interface UpdateHospitalCommand {
12338
12512
  * @type {string}
12339
12513
  * @memberof UpdateHospitalCommand
12340
12514
  */
12341
- 'countryName'?: string | null;
12515
+ 'countryId'?: string;
12342
12516
  /**
12343
12517
  *
12344
12518
  * @type {MarketingType}
@@ -12365,106 +12539,10 @@ export interface UpdateHospitalCommand {
12365
12539
  'timeZone'?: string | null;
12366
12540
  /**
12367
12541
  *
12368
- * @type {number}
12369
- * @memberof UpdateHospitalCommand
12370
- */
12371
- 'articlesCount'?: number;
12372
- /**
12373
- *
12374
- * @type {number}
12375
- * @memberof UpdateHospitalCommand
12376
- */
12377
- 'packagesCount'?: number;
12378
- /**
12379
- *
12380
- * @type {number}
12381
- * @memberof UpdateHospitalCommand
12382
- */
12383
- 'equipmentsCount'?: number;
12384
- /**
12385
- *
12386
- * @type {number}
12387
- * @memberof UpdateHospitalCommand
12388
- */
12389
- 'reviewsCount'?: number;
12390
- /**
12391
- *
12392
- * @type {number}
12393
- * @memberof UpdateHospitalCommand
12394
- */
12395
- 'departmentsCount'?: number;
12396
- /**
12397
- *
12398
- * @type {number}
12399
- * @memberof UpdateHospitalCommand
12400
- */
12401
- 'specialtiesCount'?: number;
12402
- /**
12403
- *
12404
- * @type {number}
12405
- * @memberof UpdateHospitalCommand
12406
- */
12407
- 'accreditationsCount'?: number;
12408
- /**
12409
- *
12410
- * @type {number}
12411
- * @memberof UpdateHospitalCommand
12412
- */
12413
- 'doctorAffiliationsCount'?: number;
12414
- /**
12415
- *
12416
- * @type {number}
12417
- * @memberof UpdateHospitalCommand
12418
- */
12419
- 'managerAffiliationsCount'?: number;
12420
- /**
12421
- *
12422
- * @type {string}
12423
- * @memberof UpdateHospitalCommand
12424
- */
12425
- 'specialtiesSummerized'?: string | null;
12426
- /**
12427
- *
12428
- * @type {Array<AwardModel>}
12429
- * @memberof UpdateHospitalCommand
12430
- */
12431
- 'awards'?: Array<AwardModel> | null;
12432
- /**
12433
- *
12434
- * @type {Array<MediaModel>}
12435
- * @memberof UpdateHospitalCommand
12436
- */
12437
- 'medias'?: Array<MediaModel> | null;
12438
- /**
12439
- *
12440
- * @type {Array<AccreditationModel>}
12441
- * @memberof UpdateHospitalCommand
12442
- */
12443
- 'accreditations'?: Array<AccreditationModel> | null;
12444
- /**
12445
- *
12446
- * @type {Array<HospitalEvaluationModel>}
12447
- * @memberof UpdateHospitalCommand
12448
- */
12449
- 'evaluations'?: Array<HospitalEvaluationModel> | null;
12450
- /**
12451
- *
12452
- * @type {LocationModel}
12542
+ * @type {LocationModel}
12453
12543
  * @memberof UpdateHospitalCommand
12454
12544
  */
12455
12545
  'location'?: LocationModel;
12456
- /**
12457
- *
12458
- * @type {AuditableEntity}
12459
- * @memberof UpdateHospitalCommand
12460
- */
12461
- 'auditableEntity'?: AuditableEntity;
12462
- /**
12463
- *
12464
- * @type {boolean}
12465
- * @memberof UpdateHospitalCommand
12466
- */
12467
- 'confirmed'?: boolean;
12468
12546
  }
12469
12547
  /**
12470
12548
  *
@@ -12749,24 +12827,12 @@ export interface UpdatePlanHospitalCommand {
12749
12827
  * @interface UpdateServiceCategoryCommand
12750
12828
  */
12751
12829
  export interface UpdateServiceCategoryCommand {
12752
- /**
12753
- *
12754
- * @type {string}
12755
- * @memberof UpdateServiceCategoryCommand
12756
- */
12757
- 'id'?: string;
12758
12830
  /**
12759
12831
  *
12760
12832
  * @type {string}
12761
12833
  * @memberof UpdateServiceCategoryCommand
12762
12834
  */
12763
12835
  'name'?: string | null;
12764
- /**
12765
- *
12766
- * @type {string}
12767
- * @memberof UpdateServiceCategoryCommand
12768
- */
12769
- 'normalizedName'?: string | null;
12770
12836
  /**
12771
12837
  *
12772
12838
  * @type {string}
@@ -12778,25 +12844,7 @@ export interface UpdateServiceCategoryCommand {
12778
12844
  * @type {number}
12779
12845
  * @memberof UpdateServiceCategoryCommand
12780
12846
  */
12781
- 'order'?: number | null;
12782
- /**
12783
- *
12784
- * @type {number}
12785
- * @memberof UpdateServiceCategoryCommand
12786
- */
12787
- 'serviceCount'?: number;
12788
- /**
12789
- *
12790
- * @type {Array<HospitalServiceItemModel>}
12791
- * @memberof UpdateServiceCategoryCommand
12792
- */
12793
- 'services'?: Array<HospitalServiceItemModel> | null;
12794
- /**
12795
- *
12796
- * @type {Array<string>}
12797
- * @memberof UpdateServiceCategoryCommand
12798
- */
12799
- 'selectedServices'?: Array<string> | null;
12847
+ 'order'?: number;
12800
12848
  }
12801
12849
  /**
12802
12850
  *
@@ -20910,7 +20958,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
20910
20958
  * @param {*} [options] Override http request option.
20911
20959
  * @throws {RequiredError}
20912
20960
  */
20913
- 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>> {
20914
20962
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdPackagesPackageIdPut(dealId, packageId, updateDealPackageCommand, options);
20915
20963
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
20916
20964
  },
@@ -20934,7 +20982,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
20934
20982
  * @param {*} [options] Override http request option.
20935
20983
  * @throws {RequiredError}
20936
20984
  */
20937
- 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>> {
20938
20986
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdPut(dealId, updateDealCommand, options);
20939
20987
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
20940
20988
  },
@@ -20997,7 +21045,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
20997
21045
  * @param {*} [options] Override http request option.
20998
21046
  * @throws {RequiredError}
20999
21047
  */
21000
- 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>> {
21001
21049
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdServicesServiceIdPut(dealId, serviceId, updateDealServiceCommand, options);
21002
21050
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
21003
21051
  },
@@ -21127,7 +21175,7 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
21127
21175
  * @param {*} [options] Override http request option.
21128
21176
  * @throws {RequiredError}
21129
21177
  */
21130
- apiV1DealsDealIdPackagesPackageIdPut(dealId: string, packageId: string, updateDealPackageCommand?: UpdateDealPackageCommand, options?: any): AxiosPromise<boolean> {
21178
+ apiV1DealsDealIdPackagesPackageIdPut(dealId: string, packageId: string, updateDealPackageCommand?: UpdateDealPackageCommand, options?: any): AxiosPromise<DealPackageModel> {
21131
21179
  return localVarFp.apiV1DealsDealIdPackagesPackageIdPut(dealId, packageId, updateDealPackageCommand, options).then((request) => request(axios, basePath));
21132
21180
  },
21133
21181
  /**
@@ -21149,7 +21197,7 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
21149
21197
  * @param {*} [options] Override http request option.
21150
21198
  * @throws {RequiredError}
21151
21199
  */
21152
- apiV1DealsDealIdPut(dealId: string, updateDealCommand?: UpdateDealCommand, options?: any): AxiosPromise<boolean> {
21200
+ apiV1DealsDealIdPut(dealId: string, updateDealCommand?: UpdateDealCommand, options?: any): AxiosPromise<DealModel> {
21153
21201
  return localVarFp.apiV1DealsDealIdPut(dealId, updateDealCommand, options).then((request) => request(axios, basePath));
21154
21202
  },
21155
21203
  /**
@@ -21207,7 +21255,7 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
21207
21255
  * @param {*} [options] Override http request option.
21208
21256
  * @throws {RequiredError}
21209
21257
  */
21210
- apiV1DealsDealIdServicesServiceIdPut(dealId: string, serviceId: string, updateDealServiceCommand?: UpdateDealServiceCommand, options?: any): AxiosPromise<boolean> {
21258
+ apiV1DealsDealIdServicesServiceIdPut(dealId: string, serviceId: string, updateDealServiceCommand?: UpdateDealServiceCommand, options?: any): AxiosPromise<DealServiceModel> {
21211
21259
  return localVarFp.apiV1DealsDealIdServicesServiceIdPut(dealId, serviceId, updateDealServiceCommand, options).then((request) => request(axios, basePath));
21212
21260
  },
21213
21261
  /**
@@ -23485,7 +23533,7 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
23485
23533
  * @param {*} [options] Override http request option.
23486
23534
  * @throws {RequiredError}
23487
23535
  */
23488
- 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>> {
23489
23537
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdPut(doctorId, updateDoctorCommand, options);
23490
23538
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23491
23539
  },
@@ -23915,7 +23963,7 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
23915
23963
  * @param {*} [options] Override http request option.
23916
23964
  * @throws {RequiredError}
23917
23965
  */
23918
- apiV1DoctorsDoctorIdPut(doctorId: string, updateDoctorCommand?: UpdateDoctorCommand, options?: any): AxiosPromise<boolean> {
23966
+ apiV1DoctorsDoctorIdPut(doctorId: string, updateDoctorCommand?: UpdateDoctorCommand, options?: any): AxiosPromise<DoctorModel> {
23919
23967
  return localVarFp.apiV1DoctorsDoctorIdPut(doctorId, updateDoctorCommand, options).then((request) => request(axios, basePath));
23920
23968
  },
23921
23969
  /**
@@ -29624,6 +29672,350 @@ export class ManagersApi extends BaseAPI {
29624
29672
  }
29625
29673
 
29626
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
+
29627
30019
  /**
29628
30020
  * NotificationsApi - axios parameter creator
29629
30021
  * @export
@@ -30383,7 +30775,7 @@ export const PlansApiFp = function(configuration?: Configuration) {
30383
30775
  * @param {*} [options] Override http request option.
30384
30776
  * @throws {RequiredError}
30385
30777
  */
30386
- 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>> {
30387
30779
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PlansPlanIdHospitalsHospitalIdPut(planId, hospitalId, updatePlanHospitalCommand, options);
30388
30780
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
30389
30781
  },
@@ -30407,7 +30799,7 @@ export const PlansApiFp = function(configuration?: Configuration) {
30407
30799
  * @param {*} [options] Override http request option.
30408
30800
  * @throws {RequiredError}
30409
30801
  */
30410
- 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>> {
30411
30803
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PlansPlanIdPut(planId, updatePlanCommand, options);
30412
30804
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
30413
30805
  },
@@ -30510,7 +30902,7 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
30510
30902
  * @param {*} [options] Override http request option.
30511
30903
  * @throws {RequiredError}
30512
30904
  */
30513
- apiV1PlansPlanIdHospitalsHospitalIdPut(planId: string, hospitalId: string, updatePlanHospitalCommand?: UpdatePlanHospitalCommand, options?: any): AxiosPromise<boolean> {
30905
+ apiV1PlansPlanIdHospitalsHospitalIdPut(planId: string, hospitalId: string, updatePlanHospitalCommand?: UpdatePlanHospitalCommand, options?: any): AxiosPromise<PlanHospitalModel> {
30514
30906
  return localVarFp.apiV1PlansPlanIdHospitalsHospitalIdPut(planId, hospitalId, updatePlanHospitalCommand, options).then((request) => request(axios, basePath));
30515
30907
  },
30516
30908
  /**
@@ -30532,7 +30924,7 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
30532
30924
  * @param {*} [options] Override http request option.
30533
30925
  * @throws {RequiredError}
30534
30926
  */
30535
- apiV1PlansPlanIdPut(planId: string, updatePlanCommand?: UpdatePlanCommand, options?: any): AxiosPromise<boolean> {
30927
+ apiV1PlansPlanIdPut(planId: string, updatePlanCommand?: UpdatePlanCommand, options?: any): AxiosPromise<PlanModel> {
30536
30928
  return localVarFp.apiV1PlansPlanIdPut(planId, updatePlanCommand, options).then((request) => request(axios, basePath));
30537
30929
  },
30538
30930
  /**
@@ -31349,7 +31741,7 @@ export class ServicesApi extends BaseAPI {
31349
31741
  export const ServicesCategoriesApiAxiosParamCreator = function (configuration?: Configuration) {
31350
31742
  return {
31351
31743
  /**
31352
- * Sample request: GET /api/v1/ServiceCategories
31744
+ *
31353
31745
  * @summary Get all ServiceCategories.
31354
31746
  * @param {string} [id]
31355
31747
  * @param {string} [name]
@@ -31457,7 +31849,7 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
31457
31849
  };
31458
31850
  },
31459
31851
  /**
31460
- * Sample request: DELETE /api/v1/ServiceCategories/1
31852
+ *
31461
31853
  * @summary Delete ServiceCategory.
31462
31854
  * @param {string} serviceCategoryId
31463
31855
  * @param {*} [options] Override http request option.
@@ -31495,7 +31887,7 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
31495
31887
  };
31496
31888
  },
31497
31889
  /**
31498
- * Sample request: GET /api/v1/ServiceCategories/1
31890
+ *
31499
31891
  * @summary Get ServiceCategory.
31500
31892
  * @param {string} serviceCategoryId
31501
31893
  * @param {string} [languageCode]
@@ -31538,7 +31930,7 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
31538
31930
  };
31539
31931
  },
31540
31932
  /**
31541
- * 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
+ *
31542
31934
  * @summary Update ServiceCategory
31543
31935
  * @param {string} serviceCategoryId
31544
31936
  * @param {UpdateServiceCategoryCommand} [updateServiceCategoryCommand]
@@ -31590,7 +31982,7 @@ export const ServicesCategoriesApiFp = function(configuration?: Configuration) {
31590
31982
  const localVarAxiosParamCreator = ServicesCategoriesApiAxiosParamCreator(configuration)
31591
31983
  return {
31592
31984
  /**
31593
- * Sample request: GET /api/v1/ServiceCategories
31985
+ *
31594
31986
  * @summary Get all ServiceCategories.
31595
31987
  * @param {string} [id]
31596
31988
  * @param {string} [name]
@@ -31617,7 +32009,7 @@ export const ServicesCategoriesApiFp = function(configuration?: Configuration) {
31617
32009
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
31618
32010
  },
31619
32011
  /**
31620
- * Sample request: DELETE /api/v1/ServiceCategories/1
32012
+ *
31621
32013
  * @summary Delete ServiceCategory.
31622
32014
  * @param {string} serviceCategoryId
31623
32015
  * @param {*} [options] Override http request option.
@@ -31628,7 +32020,7 @@ export const ServicesCategoriesApiFp = function(configuration?: Configuration) {
31628
32020
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
31629
32021
  },
31630
32022
  /**
31631
- * Sample request: GET /api/v1/ServiceCategories/1
32023
+ *
31632
32024
  * @summary Get ServiceCategory.
31633
32025
  * @param {string} serviceCategoryId
31634
32026
  * @param {string} [languageCode]
@@ -31640,14 +32032,14 @@ export const ServicesCategoriesApiFp = function(configuration?: Configuration) {
31640
32032
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
31641
32033
  },
31642
32034
  /**
31643
- * 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
+ *
31644
32036
  * @summary Update ServiceCategory
31645
32037
  * @param {string} serviceCategoryId
31646
32038
  * @param {UpdateServiceCategoryCommand} [updateServiceCategoryCommand]
31647
32039
  * @param {*} [options] Override http request option.
31648
32040
  * @throws {RequiredError}
31649
32041
  */
31650
- 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>> {
31651
32043
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicescategoriesServiceCategoryIdPut(serviceCategoryId, updateServiceCategoryCommand, options);
31652
32044
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
31653
32045
  },
@@ -31662,7 +32054,7 @@ export const ServicesCategoriesApiFactory = function (configuration?: Configurat
31662
32054
  const localVarFp = ServicesCategoriesApiFp(configuration)
31663
32055
  return {
31664
32056
  /**
31665
- * Sample request: GET /api/v1/ServiceCategories
32057
+ *
31666
32058
  * @summary Get all ServiceCategories.
31667
32059
  * @param {string} [id]
31668
32060
  * @param {string} [name]
@@ -31687,7 +32079,7 @@ export const ServicesCategoriesApiFactory = function (configuration?: Configurat
31687
32079
  return localVarFp.apiV1ServicescategoriesPost(createServiceCategoryCommand, options).then((request) => request(axios, basePath));
31688
32080
  },
31689
32081
  /**
31690
- * Sample request: DELETE /api/v1/ServiceCategories/1
32082
+ *
31691
32083
  * @summary Delete ServiceCategory.
31692
32084
  * @param {string} serviceCategoryId
31693
32085
  * @param {*} [options] Override http request option.
@@ -31697,7 +32089,7 @@ export const ServicesCategoriesApiFactory = function (configuration?: Configurat
31697
32089
  return localVarFp.apiV1ServicescategoriesServiceCategoryIdDelete(serviceCategoryId, options).then((request) => request(axios, basePath));
31698
32090
  },
31699
32091
  /**
31700
- * Sample request: GET /api/v1/ServiceCategories/1
32092
+ *
31701
32093
  * @summary Get ServiceCategory.
31702
32094
  * @param {string} serviceCategoryId
31703
32095
  * @param {string} [languageCode]
@@ -31708,14 +32100,14 @@ export const ServicesCategoriesApiFactory = function (configuration?: Configurat
31708
32100
  return localVarFp.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId, languageCode, options).then((request) => request(axios, basePath));
31709
32101
  },
31710
32102
  /**
31711
- * 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
+ *
31712
32104
  * @summary Update ServiceCategory
31713
32105
  * @param {string} serviceCategoryId
31714
32106
  * @param {UpdateServiceCategoryCommand} [updateServiceCategoryCommand]
31715
32107
  * @param {*} [options] Override http request option.
31716
32108
  * @throws {RequiredError}
31717
32109
  */
31718
- apiV1ServicescategoriesServiceCategoryIdPut(serviceCategoryId: string, updateServiceCategoryCommand?: UpdateServiceCategoryCommand, options?: any): AxiosPromise<void> {
32110
+ apiV1ServicescategoriesServiceCategoryIdPut(serviceCategoryId: string, updateServiceCategoryCommand?: UpdateServiceCategoryCommand, options?: any): AxiosPromise<ServiceCategoryModel> {
31719
32111
  return localVarFp.apiV1ServicescategoriesServiceCategoryIdPut(serviceCategoryId, updateServiceCategoryCommand, options).then((request) => request(axios, basePath));
31720
32112
  },
31721
32113
  };
@@ -31729,7 +32121,7 @@ export const ServicesCategoriesApiFactory = function (configuration?: Configurat
31729
32121
  */
31730
32122
  export class ServicesCategoriesApi extends BaseAPI {
31731
32123
  /**
31732
- * Sample request: GET /api/v1/ServiceCategories
32124
+ *
31733
32125
  * @summary Get all ServiceCategories.
31734
32126
  * @param {string} [id]
31735
32127
  * @param {string} [name]
@@ -31758,7 +32150,7 @@ export class ServicesCategoriesApi extends BaseAPI {
31758
32150
  }
31759
32151
 
31760
32152
  /**
31761
- * Sample request: DELETE /api/v1/ServiceCategories/1
32153
+ *
31762
32154
  * @summary Delete ServiceCategory.
31763
32155
  * @param {string} serviceCategoryId
31764
32156
  * @param {*} [options] Override http request option.
@@ -31770,7 +32162,7 @@ export class ServicesCategoriesApi extends BaseAPI {
31770
32162
  }
31771
32163
 
31772
32164
  /**
31773
- * Sample request: GET /api/v1/ServiceCategories/1
32165
+ *
31774
32166
  * @summary Get ServiceCategory.
31775
32167
  * @param {string} serviceCategoryId
31776
32168
  * @param {string} [languageCode]
@@ -31783,7 +32175,7 @@ export class ServicesCategoriesApi extends BaseAPI {
31783
32175
  }
31784
32176
 
31785
32177
  /**
31786
- * 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
+ *
31787
32179
  * @summary Update ServiceCategory
31788
32180
  * @param {string} serviceCategoryId
31789
32181
  * @param {UpdateServiceCategoryCommand} [updateServiceCategoryCommand]