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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/api.d.ts CHANGED
@@ -4212,6 +4212,74 @@ export interface CreateMediaCommand {
4212
4212
  */
4213
4213
  'order'?: number;
4214
4214
  }
4215
+ /**
4216
+ *
4217
+ * @export
4218
+ * @interface CreatePlanCommand
4219
+ */
4220
+ export interface CreatePlanCommand {
4221
+ /**
4222
+ *
4223
+ * @type {string}
4224
+ * @memberof CreatePlanCommand
4225
+ */
4226
+ 'name'?: string | null;
4227
+ /**
4228
+ *
4229
+ * @type {number}
4230
+ * @memberof CreatePlanCommand
4231
+ */
4232
+ 'memberLimit'?: number;
4233
+ /**
4234
+ *
4235
+ * @type {number}
4236
+ * @memberof CreatePlanCommand
4237
+ */
4238
+ 'unitPrice'?: number;
4239
+ /**
4240
+ *
4241
+ * @type {string}
4242
+ * @memberof CreatePlanCommand
4243
+ */
4244
+ 'stripePriceId'?: string | null;
4245
+ /**
4246
+ *
4247
+ * @type {RecurringInterval}
4248
+ * @memberof CreatePlanCommand
4249
+ */
4250
+ 'interval'?: RecurringInterval;
4251
+ /**
4252
+ *
4253
+ * @type {boolean}
4254
+ * @memberof CreatePlanCommand
4255
+ */
4256
+ 'isActive'?: boolean;
4257
+ /**
4258
+ *
4259
+ * @type {number}
4260
+ * @memberof CreatePlanCommand
4261
+ */
4262
+ 'order'?: number;
4263
+ }
4264
+ /**
4265
+ *
4266
+ * @export
4267
+ * @interface CreatePlanHospitalCommand
4268
+ */
4269
+ export interface CreatePlanHospitalCommand {
4270
+ /**
4271
+ *
4272
+ * @type {string}
4273
+ * @memberof CreatePlanHospitalCommand
4274
+ */
4275
+ 'hospitalId'?: string;
4276
+ /**
4277
+ *
4278
+ * @type {number}
4279
+ * @memberof CreatePlanHospitalCommand
4280
+ */
4281
+ 'order'?: number;
4282
+ }
4215
4283
  /**
4216
4284
  *
4217
4285
  * @export
@@ -9868,6 +9936,228 @@ export interface Plan {
9868
9936
  */
9869
9937
  'order'?: number;
9870
9938
  }
9939
+ /**
9940
+ *
9941
+ * @export
9942
+ * @interface PlanHospitalItemModel
9943
+ */
9944
+ export interface PlanHospitalItemModel {
9945
+ /**
9946
+ *
9947
+ * @type {string}
9948
+ * @memberof PlanHospitalItemModel
9949
+ */
9950
+ 'planId'?: string;
9951
+ /**
9952
+ *
9953
+ * @type {string}
9954
+ * @memberof PlanHospitalItemModel
9955
+ */
9956
+ 'planName'?: string | null;
9957
+ /**
9958
+ *
9959
+ * @type {string}
9960
+ * @memberof PlanHospitalItemModel
9961
+ */
9962
+ 'hospitalId'?: string;
9963
+ /**
9964
+ *
9965
+ * @type {string}
9966
+ * @memberof PlanHospitalItemModel
9967
+ */
9968
+ 'hospitalName'?: string | null;
9969
+ /**
9970
+ *
9971
+ * @type {number}
9972
+ * @memberof PlanHospitalItemModel
9973
+ */
9974
+ 'order'?: number;
9975
+ }
9976
+ /**
9977
+ *
9978
+ * @export
9979
+ * @interface PlanHospitalModel
9980
+ */
9981
+ export interface PlanHospitalModel {
9982
+ /**
9983
+ *
9984
+ * @type {string}
9985
+ * @memberof PlanHospitalModel
9986
+ */
9987
+ 'planId'?: string;
9988
+ /**
9989
+ *
9990
+ * @type {string}
9991
+ * @memberof PlanHospitalModel
9992
+ */
9993
+ 'planName'?: string | null;
9994
+ /**
9995
+ *
9996
+ * @type {string}
9997
+ * @memberof PlanHospitalModel
9998
+ */
9999
+ 'hospitalId'?: string;
10000
+ /**
10001
+ *
10002
+ * @type {string}
10003
+ * @memberof PlanHospitalModel
10004
+ */
10005
+ 'hospitalName'?: string | null;
10006
+ /**
10007
+ *
10008
+ * @type {number}
10009
+ * @memberof PlanHospitalModel
10010
+ */
10011
+ 'order'?: number;
10012
+ }
10013
+ /**
10014
+ *
10015
+ * @export
10016
+ * @interface PlanHospitalsModel
10017
+ */
10018
+ export interface PlanHospitalsModel {
10019
+ /**
10020
+ *
10021
+ * @type {Array<PlanHospitalItemModel>}
10022
+ * @memberof PlanHospitalsModel
10023
+ */
10024
+ 'items'?: Array<PlanHospitalItemModel> | null;
10025
+ /**
10026
+ *
10027
+ * @type {PagedListMetaData}
10028
+ * @memberof PlanHospitalsModel
10029
+ */
10030
+ 'metaData'?: PagedListMetaData;
10031
+ }
10032
+ /**
10033
+ *
10034
+ * @export
10035
+ * @interface PlanItemModel
10036
+ */
10037
+ export interface PlanItemModel {
10038
+ /**
10039
+ *
10040
+ * @type {string}
10041
+ * @memberof PlanItemModel
10042
+ */
10043
+ 'id'?: string;
10044
+ /**
10045
+ *
10046
+ * @type {string}
10047
+ * @memberof PlanItemModel
10048
+ */
10049
+ 'name'?: string | null;
10050
+ /**
10051
+ *
10052
+ * @type {number}
10053
+ * @memberof PlanItemModel
10054
+ */
10055
+ 'memberLimit'?: number;
10056
+ /**
10057
+ *
10058
+ * @type {number}
10059
+ * @memberof PlanItemModel
10060
+ */
10061
+ 'unitPrice'?: number;
10062
+ /**
10063
+ *
10064
+ * @type {string}
10065
+ * @memberof PlanItemModel
10066
+ */
10067
+ 'stripePriceId'?: string | null;
10068
+ /**
10069
+ *
10070
+ * @type {RecurringInterval}
10071
+ * @memberof PlanItemModel
10072
+ */
10073
+ 'interval'?: RecurringInterval;
10074
+ /**
10075
+ *
10076
+ * @type {boolean}
10077
+ * @memberof PlanItemModel
10078
+ */
10079
+ 'isActive'?: boolean;
10080
+ /**
10081
+ *
10082
+ * @type {number}
10083
+ * @memberof PlanItemModel
10084
+ */
10085
+ 'order'?: number;
10086
+ }
10087
+ /**
10088
+ *
10089
+ * @export
10090
+ * @interface PlanModel
10091
+ */
10092
+ export interface PlanModel {
10093
+ /**
10094
+ *
10095
+ * @type {string}
10096
+ * @memberof PlanModel
10097
+ */
10098
+ 'id'?: string;
10099
+ /**
10100
+ *
10101
+ * @type {string}
10102
+ * @memberof PlanModel
10103
+ */
10104
+ 'name'?: string | null;
10105
+ /**
10106
+ *
10107
+ * @type {number}
10108
+ * @memberof PlanModel
10109
+ */
10110
+ 'memberLimit'?: number;
10111
+ /**
10112
+ *
10113
+ * @type {number}
10114
+ * @memberof PlanModel
10115
+ */
10116
+ 'unitPrice'?: number;
10117
+ /**
10118
+ *
10119
+ * @type {string}
10120
+ * @memberof PlanModel
10121
+ */
10122
+ 'stripePriceId'?: string | null;
10123
+ /**
10124
+ *
10125
+ * @type {RecurringInterval}
10126
+ * @memberof PlanModel
10127
+ */
10128
+ 'interval'?: RecurringInterval;
10129
+ /**
10130
+ *
10131
+ * @type {boolean}
10132
+ * @memberof PlanModel
10133
+ */
10134
+ 'isActive'?: boolean;
10135
+ /**
10136
+ *
10137
+ * @type {number}
10138
+ * @memberof PlanModel
10139
+ */
10140
+ 'order'?: number;
10141
+ }
10142
+ /**
10143
+ *
10144
+ * @export
10145
+ * @interface PlansModel
10146
+ */
10147
+ export interface PlansModel {
10148
+ /**
10149
+ *
10150
+ * @type {Array<PlanItemModel>}
10151
+ * @memberof PlansModel
10152
+ */
10153
+ 'items'?: Array<PlanItemModel> | null;
10154
+ /**
10155
+ *
10156
+ * @type {PagedListMetaData}
10157
+ * @memberof PlansModel
10158
+ */
10159
+ 'metaData'?: PagedListMetaData;
10160
+ }
9871
10161
  /**
9872
10162
  *
9873
10163
  * @export
@@ -12264,45 +12554,107 @@ export interface UpdateMediaCommand {
12264
12554
  /**
12265
12555
  *
12266
12556
  * @export
12267
- * @interface UpdateServiceCategoryCommand
12557
+ * @interface UpdatePlanCommand
12268
12558
  */
12269
- export interface UpdateServiceCategoryCommand {
12559
+ export interface UpdatePlanCommand {
12270
12560
  /**
12271
12561
  *
12272
12562
  * @type {string}
12273
- * @memberof UpdateServiceCategoryCommand
12563
+ * @memberof UpdatePlanCommand
12274
12564
  */
12275
- 'id'?: string;
12565
+ 'name'?: string | null;
12276
12566
  /**
12277
12567
  *
12278
- * @type {string}
12279
- * @memberof UpdateServiceCategoryCommand
12568
+ * @type {number}
12569
+ * @memberof UpdatePlanCommand
12280
12570
  */
12281
- 'name'?: string | null;
12571
+ 'memberLimit'?: number;
12282
12572
  /**
12283
12573
  *
12284
- * @type {string}
12285
- * @memberof UpdateServiceCategoryCommand
12574
+ * @type {number}
12575
+ * @memberof UpdatePlanCommand
12286
12576
  */
12287
- 'normalizedName'?: string | null;
12577
+ 'unitPrice'?: number;
12288
12578
  /**
12289
12579
  *
12290
12580
  * @type {string}
12291
- * @memberof UpdateServiceCategoryCommand
12581
+ * @memberof UpdatePlanCommand
12292
12582
  */
12293
- 'description'?: string | null;
12583
+ 'stripePriceId'?: string | null;
12294
12584
  /**
12295
12585
  *
12296
- * @type {number}
12297
- * @memberof UpdateServiceCategoryCommand
12586
+ * @type {RecurringInterval}
12587
+ * @memberof UpdatePlanCommand
12298
12588
  */
12299
- 'order'?: number | null;
12589
+ 'interval'?: RecurringInterval;
12300
12590
  /**
12301
12591
  *
12302
- * @type {number}
12303
- * @memberof UpdateServiceCategoryCommand
12592
+ * @type {boolean}
12593
+ * @memberof UpdatePlanCommand
12304
12594
  */
12305
- 'serviceCount'?: number;
12595
+ 'isActive'?: boolean;
12596
+ /**
12597
+ *
12598
+ * @type {number}
12599
+ * @memberof UpdatePlanCommand
12600
+ */
12601
+ 'order'?: number;
12602
+ }
12603
+ /**
12604
+ *
12605
+ * @export
12606
+ * @interface UpdatePlanHospitalCommand
12607
+ */
12608
+ export interface UpdatePlanHospitalCommand {
12609
+ /**
12610
+ *
12611
+ * @type {number}
12612
+ * @memberof UpdatePlanHospitalCommand
12613
+ */
12614
+ 'order'?: number;
12615
+ }
12616
+ /**
12617
+ *
12618
+ * @export
12619
+ * @interface UpdateServiceCategoryCommand
12620
+ */
12621
+ export interface UpdateServiceCategoryCommand {
12622
+ /**
12623
+ *
12624
+ * @type {string}
12625
+ * @memberof UpdateServiceCategoryCommand
12626
+ */
12627
+ 'id'?: string;
12628
+ /**
12629
+ *
12630
+ * @type {string}
12631
+ * @memberof UpdateServiceCategoryCommand
12632
+ */
12633
+ 'name'?: string | null;
12634
+ /**
12635
+ *
12636
+ * @type {string}
12637
+ * @memberof UpdateServiceCategoryCommand
12638
+ */
12639
+ 'normalizedName'?: string | null;
12640
+ /**
12641
+ *
12642
+ * @type {string}
12643
+ * @memberof UpdateServiceCategoryCommand
12644
+ */
12645
+ 'description'?: string | null;
12646
+ /**
12647
+ *
12648
+ * @type {number}
12649
+ * @memberof UpdateServiceCategoryCommand
12650
+ */
12651
+ 'order'?: number | null;
12652
+ /**
12653
+ *
12654
+ * @type {number}
12655
+ * @memberof UpdateServiceCategoryCommand
12656
+ */
12657
+ 'serviceCount'?: number;
12306
12658
  /**
12307
12659
  *
12308
12660
  * @type {Array<HospitalServiceItemModel>}
@@ -17603,7 +17955,7 @@ export declare const DoctorsApiFp: (configuration?: Configuration | undefined) =
17603
17955
  * @param {*} [options] Override http request option.
17604
17956
  * @throws {RequiredError}
17605
17957
  */
17606
- apiV1DoctorsPost(createDoctorCommand?: CreateDoctorCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<string>>;
17958
+ apiV1DoctorsPost(createDoctorCommand?: CreateDoctorCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<DoctorModel>>;
17607
17959
  /**
17608
17960
  *
17609
17961
  * @summary Get Doctor by slug.
@@ -17954,7 +18306,7 @@ export declare const DoctorsApiFactory: (configuration?: Configuration | undefin
17954
18306
  * @param {*} [options] Override http request option.
17955
18307
  * @throws {RequiredError}
17956
18308
  */
17957
- apiV1DoctorsPost(createDoctorCommand?: CreateDoctorCommand | undefined, options?: any): AxiosPromise<string>;
18309
+ apiV1DoctorsPost(createDoctorCommand?: CreateDoctorCommand | undefined, options?: any): AxiosPromise<DoctorModel>;
17958
18310
  /**
17959
18311
  *
17960
18312
  * @summary Get Doctor by slug.
@@ -18339,7 +18691,7 @@ export declare class DoctorsApi extends BaseAPI {
18339
18691
  * @throws {RequiredError}
18340
18692
  * @memberof DoctorsApi
18341
18693
  */
18342
- apiV1DoctorsPost(createDoctorCommand?: CreateDoctorCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string>>;
18694
+ apiV1DoctorsPost(createDoctorCommand?: CreateDoctorCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DoctorModel>>;
18343
18695
  /**
18344
18696
  *
18345
18697
  * @summary Get Doctor by slug.
@@ -20916,6 +21268,414 @@ export declare class NotificationsApi extends BaseAPI {
20916
21268
  */
20917
21269
  apiV1NotificationsGet(notificationCode?: NotificationCode, unreadCountOnly?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NotificationsModel>>;
20918
21270
  }
21271
+ /**
21272
+ * PlansApi - axios parameter creator
21273
+ * @export
21274
+ */
21275
+ export declare const PlansApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
21276
+ /**
21277
+ *
21278
+ * @summary Get all plans.
21279
+ * @param {string} [id]
21280
+ * @param {string} [name]
21281
+ * @param {number} [page]
21282
+ * @param {number} [limit]
21283
+ * @param {Date} [lastRetrieved]
21284
+ * @param {*} [options] Override http request option.
21285
+ * @throws {RequiredError}
21286
+ */
21287
+ apiV1PlansGet: (id?: string | undefined, name?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
21288
+ /**
21289
+ *
21290
+ * @summary Delete plan.
21291
+ * @param {string} planId
21292
+ * @param {*} [options] Override http request option.
21293
+ * @throws {RequiredError}
21294
+ */
21295
+ apiV1PlansPlanIdDelete: (planId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
21296
+ /**
21297
+ *
21298
+ * @summary Get plan.
21299
+ * @param {string} planId
21300
+ * @param {*} [options] Override http request option.
21301
+ * @throws {RequiredError}
21302
+ */
21303
+ apiV1PlansPlanIdGet: (planId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
21304
+ /**
21305
+ *
21306
+ * @summary Get all plan hospital.
21307
+ * @param {string} planId
21308
+ * @param {number} [page]
21309
+ * @param {number} [limit]
21310
+ * @param {Date} [lastRetrieved]
21311
+ * @param {*} [options] Override http request option.
21312
+ * @throws {RequiredError}
21313
+ */
21314
+ apiV1PlansPlanIdHospitalsGet: (planId: string, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
21315
+ /**
21316
+ *
21317
+ * @summary Delete plan hospital.
21318
+ * @param {string} planId
21319
+ * @param {string} hospitalId
21320
+ * @param {*} [options] Override http request option.
21321
+ * @throws {RequiredError}
21322
+ */
21323
+ apiV1PlansPlanIdHospitalsHospitalIdDelete: (planId: string, hospitalId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
21324
+ /**
21325
+ *
21326
+ * @summary Get plan hospital.
21327
+ * @param {string} planId
21328
+ * @param {string} hospitalId
21329
+ * @param {*} [options] Override http request option.
21330
+ * @throws {RequiredError}
21331
+ */
21332
+ apiV1PlansPlanIdHospitalsHospitalIdGet: (planId: string, hospitalId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
21333
+ /**
21334
+ *
21335
+ * @summary Update plan hospital.
21336
+ * @param {string} planId
21337
+ * @param {string} hospitalId
21338
+ * @param {UpdatePlanHospitalCommand} [updatePlanHospitalCommand]
21339
+ * @param {*} [options] Override http request option.
21340
+ * @throws {RequiredError}
21341
+ */
21342
+ apiV1PlansPlanIdHospitalsHospitalIdPut: (planId: string, hospitalId: string, updatePlanHospitalCommand?: UpdatePlanHospitalCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
21343
+ /**
21344
+ *
21345
+ * @summary Create plan hospital.
21346
+ * @param {string} planId
21347
+ * @param {CreatePlanHospitalCommand} [createPlanHospitalCommand]
21348
+ * @param {*} [options] Override http request option.
21349
+ * @throws {RequiredError}
21350
+ */
21351
+ apiV1PlansPlanIdHospitalsPost: (planId: string, createPlanHospitalCommand?: CreatePlanHospitalCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
21352
+ /**
21353
+ *
21354
+ * @summary Update plan.
21355
+ * @param {string} planId
21356
+ * @param {UpdatePlanCommand} [updatePlanCommand]
21357
+ * @param {*} [options] Override http request option.
21358
+ * @throws {RequiredError}
21359
+ */
21360
+ apiV1PlansPlanIdPut: (planId: string, updatePlanCommand?: UpdatePlanCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
21361
+ /**
21362
+ *
21363
+ * @summary Create a plan.
21364
+ * @param {CreatePlanCommand} [createPlanCommand]
21365
+ * @param {*} [options] Override http request option.
21366
+ * @throws {RequiredError}
21367
+ */
21368
+ apiV1PlansPost: (createPlanCommand?: CreatePlanCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
21369
+ };
21370
+ /**
21371
+ * PlansApi - functional programming interface
21372
+ * @export
21373
+ */
21374
+ export declare const PlansApiFp: (configuration?: Configuration | undefined) => {
21375
+ /**
21376
+ *
21377
+ * @summary Get all plans.
21378
+ * @param {string} [id]
21379
+ * @param {string} [name]
21380
+ * @param {number} [page]
21381
+ * @param {number} [limit]
21382
+ * @param {Date} [lastRetrieved]
21383
+ * @param {*} [options] Override http request option.
21384
+ * @throws {RequiredError}
21385
+ */
21386
+ apiV1PlansGet(id?: string | undefined, name?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<PlansModel>>;
21387
+ /**
21388
+ *
21389
+ * @summary Delete plan.
21390
+ * @param {string} planId
21391
+ * @param {*} [options] Override http request option.
21392
+ * @throws {RequiredError}
21393
+ */
21394
+ apiV1PlansPlanIdDelete(planId: string, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
21395
+ /**
21396
+ *
21397
+ * @summary Get plan.
21398
+ * @param {string} planId
21399
+ * @param {*} [options] Override http request option.
21400
+ * @throws {RequiredError}
21401
+ */
21402
+ apiV1PlansPlanIdGet(planId: string, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<PlanModel>>;
21403
+ /**
21404
+ *
21405
+ * @summary Get all plan hospital.
21406
+ * @param {string} planId
21407
+ * @param {number} [page]
21408
+ * @param {number} [limit]
21409
+ * @param {Date} [lastRetrieved]
21410
+ * @param {*} [options] Override http request option.
21411
+ * @throws {RequiredError}
21412
+ */
21413
+ apiV1PlansPlanIdHospitalsGet(planId: string, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<PlanHospitalsModel>>;
21414
+ /**
21415
+ *
21416
+ * @summary Delete plan hospital.
21417
+ * @param {string} planId
21418
+ * @param {string} hospitalId
21419
+ * @param {*} [options] Override http request option.
21420
+ * @throws {RequiredError}
21421
+ */
21422
+ apiV1PlansPlanIdHospitalsHospitalIdDelete(planId: string, hospitalId: string, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
21423
+ /**
21424
+ *
21425
+ * @summary Get plan hospital.
21426
+ * @param {string} planId
21427
+ * @param {string} hospitalId
21428
+ * @param {*} [options] Override http request option.
21429
+ * @throws {RequiredError}
21430
+ */
21431
+ apiV1PlansPlanIdHospitalsHospitalIdGet(planId: string, hospitalId: string, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<PlanHospitalModel>>;
21432
+ /**
21433
+ *
21434
+ * @summary Update plan hospital.
21435
+ * @param {string} planId
21436
+ * @param {string} hospitalId
21437
+ * @param {UpdatePlanHospitalCommand} [updatePlanHospitalCommand]
21438
+ * @param {*} [options] Override http request option.
21439
+ * @throws {RequiredError}
21440
+ */
21441
+ apiV1PlansPlanIdHospitalsHospitalIdPut(planId: string, hospitalId: string, updatePlanHospitalCommand?: UpdatePlanHospitalCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
21442
+ /**
21443
+ *
21444
+ * @summary Create plan hospital.
21445
+ * @param {string} planId
21446
+ * @param {CreatePlanHospitalCommand} [createPlanHospitalCommand]
21447
+ * @param {*} [options] Override http request option.
21448
+ * @throws {RequiredError}
21449
+ */
21450
+ apiV1PlansPlanIdHospitalsPost(planId: string, createPlanHospitalCommand?: CreatePlanHospitalCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<PlanHospitalModel>>;
21451
+ /**
21452
+ *
21453
+ * @summary Update plan.
21454
+ * @param {string} planId
21455
+ * @param {UpdatePlanCommand} [updatePlanCommand]
21456
+ * @param {*} [options] Override http request option.
21457
+ * @throws {RequiredError}
21458
+ */
21459
+ apiV1PlansPlanIdPut(planId: string, updatePlanCommand?: UpdatePlanCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
21460
+ /**
21461
+ *
21462
+ * @summary Create a plan.
21463
+ * @param {CreatePlanCommand} [createPlanCommand]
21464
+ * @param {*} [options] Override http request option.
21465
+ * @throws {RequiredError}
21466
+ */
21467
+ apiV1PlansPost(createPlanCommand?: CreatePlanCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<PlanModel>>;
21468
+ };
21469
+ /**
21470
+ * PlansApi - factory interface
21471
+ * @export
21472
+ */
21473
+ export declare const PlansApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
21474
+ /**
21475
+ *
21476
+ * @summary Get all plans.
21477
+ * @param {string} [id]
21478
+ * @param {string} [name]
21479
+ * @param {number} [page]
21480
+ * @param {number} [limit]
21481
+ * @param {Date} [lastRetrieved]
21482
+ * @param {*} [options] Override http request option.
21483
+ * @throws {RequiredError}
21484
+ */
21485
+ apiV1PlansGet(id?: string | undefined, name?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<PlansModel>;
21486
+ /**
21487
+ *
21488
+ * @summary Delete plan.
21489
+ * @param {string} planId
21490
+ * @param {*} [options] Override http request option.
21491
+ * @throws {RequiredError}
21492
+ */
21493
+ apiV1PlansPlanIdDelete(planId: string, options?: any): AxiosPromise<boolean>;
21494
+ /**
21495
+ *
21496
+ * @summary Get plan.
21497
+ * @param {string} planId
21498
+ * @param {*} [options] Override http request option.
21499
+ * @throws {RequiredError}
21500
+ */
21501
+ apiV1PlansPlanIdGet(planId: string, options?: any): AxiosPromise<PlanModel>;
21502
+ /**
21503
+ *
21504
+ * @summary Get all plan hospital.
21505
+ * @param {string} planId
21506
+ * @param {number} [page]
21507
+ * @param {number} [limit]
21508
+ * @param {Date} [lastRetrieved]
21509
+ * @param {*} [options] Override http request option.
21510
+ * @throws {RequiredError}
21511
+ */
21512
+ apiV1PlansPlanIdHospitalsGet(planId: string, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<PlanHospitalsModel>;
21513
+ /**
21514
+ *
21515
+ * @summary Delete plan hospital.
21516
+ * @param {string} planId
21517
+ * @param {string} hospitalId
21518
+ * @param {*} [options] Override http request option.
21519
+ * @throws {RequiredError}
21520
+ */
21521
+ apiV1PlansPlanIdHospitalsHospitalIdDelete(planId: string, hospitalId: string, options?: any): AxiosPromise<boolean>;
21522
+ /**
21523
+ *
21524
+ * @summary Get plan hospital.
21525
+ * @param {string} planId
21526
+ * @param {string} hospitalId
21527
+ * @param {*} [options] Override http request option.
21528
+ * @throws {RequiredError}
21529
+ */
21530
+ apiV1PlansPlanIdHospitalsHospitalIdGet(planId: string, hospitalId: string, options?: any): AxiosPromise<PlanHospitalModel>;
21531
+ /**
21532
+ *
21533
+ * @summary Update plan hospital.
21534
+ * @param {string} planId
21535
+ * @param {string} hospitalId
21536
+ * @param {UpdatePlanHospitalCommand} [updatePlanHospitalCommand]
21537
+ * @param {*} [options] Override http request option.
21538
+ * @throws {RequiredError}
21539
+ */
21540
+ apiV1PlansPlanIdHospitalsHospitalIdPut(planId: string, hospitalId: string, updatePlanHospitalCommand?: UpdatePlanHospitalCommand | undefined, options?: any): AxiosPromise<boolean>;
21541
+ /**
21542
+ *
21543
+ * @summary Create plan hospital.
21544
+ * @param {string} planId
21545
+ * @param {CreatePlanHospitalCommand} [createPlanHospitalCommand]
21546
+ * @param {*} [options] Override http request option.
21547
+ * @throws {RequiredError}
21548
+ */
21549
+ apiV1PlansPlanIdHospitalsPost(planId: string, createPlanHospitalCommand?: CreatePlanHospitalCommand | undefined, options?: any): AxiosPromise<PlanHospitalModel>;
21550
+ /**
21551
+ *
21552
+ * @summary Update plan.
21553
+ * @param {string} planId
21554
+ * @param {UpdatePlanCommand} [updatePlanCommand]
21555
+ * @param {*} [options] Override http request option.
21556
+ * @throws {RequiredError}
21557
+ */
21558
+ apiV1PlansPlanIdPut(planId: string, updatePlanCommand?: UpdatePlanCommand | undefined, options?: any): AxiosPromise<boolean>;
21559
+ /**
21560
+ *
21561
+ * @summary Create a plan.
21562
+ * @param {CreatePlanCommand} [createPlanCommand]
21563
+ * @param {*} [options] Override http request option.
21564
+ * @throws {RequiredError}
21565
+ */
21566
+ apiV1PlansPost(createPlanCommand?: CreatePlanCommand | undefined, options?: any): AxiosPromise<PlanModel>;
21567
+ };
21568
+ /**
21569
+ * PlansApi - object-oriented interface
21570
+ * @export
21571
+ * @class PlansApi
21572
+ * @extends {BaseAPI}
21573
+ */
21574
+ export declare class PlansApi extends BaseAPI {
21575
+ /**
21576
+ *
21577
+ * @summary Get all plans.
21578
+ * @param {string} [id]
21579
+ * @param {string} [name]
21580
+ * @param {number} [page]
21581
+ * @param {number} [limit]
21582
+ * @param {Date} [lastRetrieved]
21583
+ * @param {*} [options] Override http request option.
21584
+ * @throws {RequiredError}
21585
+ * @memberof PlansApi
21586
+ */
21587
+ apiV1PlansGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlansModel>>;
21588
+ /**
21589
+ *
21590
+ * @summary Delete plan.
21591
+ * @param {string} planId
21592
+ * @param {*} [options] Override http request option.
21593
+ * @throws {RequiredError}
21594
+ * @memberof PlansApi
21595
+ */
21596
+ apiV1PlansPlanIdDelete(planId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean>>;
21597
+ /**
21598
+ *
21599
+ * @summary Get plan.
21600
+ * @param {string} planId
21601
+ * @param {*} [options] Override http request option.
21602
+ * @throws {RequiredError}
21603
+ * @memberof PlansApi
21604
+ */
21605
+ apiV1PlansPlanIdGet(planId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlanModel>>;
21606
+ /**
21607
+ *
21608
+ * @summary Get all plan hospital.
21609
+ * @param {string} planId
21610
+ * @param {number} [page]
21611
+ * @param {number} [limit]
21612
+ * @param {Date} [lastRetrieved]
21613
+ * @param {*} [options] Override http request option.
21614
+ * @throws {RequiredError}
21615
+ * @memberof PlansApi
21616
+ */
21617
+ apiV1PlansPlanIdHospitalsGet(planId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlanHospitalsModel>>;
21618
+ /**
21619
+ *
21620
+ * @summary Delete plan hospital.
21621
+ * @param {string} planId
21622
+ * @param {string} hospitalId
21623
+ * @param {*} [options] Override http request option.
21624
+ * @throws {RequiredError}
21625
+ * @memberof PlansApi
21626
+ */
21627
+ apiV1PlansPlanIdHospitalsHospitalIdDelete(planId: string, hospitalId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean>>;
21628
+ /**
21629
+ *
21630
+ * @summary Get plan hospital.
21631
+ * @param {string} planId
21632
+ * @param {string} hospitalId
21633
+ * @param {*} [options] Override http request option.
21634
+ * @throws {RequiredError}
21635
+ * @memberof PlansApi
21636
+ */
21637
+ apiV1PlansPlanIdHospitalsHospitalIdGet(planId: string, hospitalId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlanHospitalModel>>;
21638
+ /**
21639
+ *
21640
+ * @summary Update plan hospital.
21641
+ * @param {string} planId
21642
+ * @param {string} hospitalId
21643
+ * @param {UpdatePlanHospitalCommand} [updatePlanHospitalCommand]
21644
+ * @param {*} [options] Override http request option.
21645
+ * @throws {RequiredError}
21646
+ * @memberof PlansApi
21647
+ */
21648
+ apiV1PlansPlanIdHospitalsHospitalIdPut(planId: string, hospitalId: string, updatePlanHospitalCommand?: UpdatePlanHospitalCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean>>;
21649
+ /**
21650
+ *
21651
+ * @summary Create plan hospital.
21652
+ * @param {string} planId
21653
+ * @param {CreatePlanHospitalCommand} [createPlanHospitalCommand]
21654
+ * @param {*} [options] Override http request option.
21655
+ * @throws {RequiredError}
21656
+ * @memberof PlansApi
21657
+ */
21658
+ apiV1PlansPlanIdHospitalsPost(planId: string, createPlanHospitalCommand?: CreatePlanHospitalCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlanHospitalModel>>;
21659
+ /**
21660
+ *
21661
+ * @summary Update plan.
21662
+ * @param {string} planId
21663
+ * @param {UpdatePlanCommand} [updatePlanCommand]
21664
+ * @param {*} [options] Override http request option.
21665
+ * @throws {RequiredError}
21666
+ * @memberof PlansApi
21667
+ */
21668
+ apiV1PlansPlanIdPut(planId: string, updatePlanCommand?: UpdatePlanCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean>>;
21669
+ /**
21670
+ *
21671
+ * @summary Create a plan.
21672
+ * @param {CreatePlanCommand} [createPlanCommand]
21673
+ * @param {*} [options] Override http request option.
21674
+ * @throws {RequiredError}
21675
+ * @memberof PlansApi
21676
+ */
21677
+ apiV1PlansPost(createPlanCommand?: CreatePlanCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlanModel>>;
21678
+ }
20919
21679
  /**
20920
21680
  * ProfilesApi - axios parameter creator
20921
21681
  * @export