ch-admin-api-client-typescript 2.1.6 → 2.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/api.ts CHANGED
@@ -207,12 +207,6 @@ export interface ApproveConsultationCommand {
207
207
  * @memberof ApproveConsultationCommand
208
208
  */
209
209
  'confirmedDateEnd'?: Date | null;
210
- /**
211
- *
212
- * @type {string}
213
- * @memberof ApproveConsultationCommand
214
- */
215
- 'callerId'?: string | null;
216
210
  }
217
211
  /**
218
212
  *
@@ -1720,6 +1714,37 @@ export interface CheckNotificationsCommand {
1720
1714
  */
1721
1715
  'isDelete'?: boolean;
1722
1716
  }
1717
+ /**
1718
+ *
1719
+ * @export
1720
+ * @interface CommunicationUserTokenModel
1721
+ */
1722
+ export interface CommunicationUserTokenModel {
1723
+ /**
1724
+ *
1725
+ * @type {string}
1726
+ * @memberof CommunicationUserTokenModel
1727
+ */
1728
+ 'token'?: string | null;
1729
+ /**
1730
+ *
1731
+ * @type {Date}
1732
+ * @memberof CommunicationUserTokenModel
1733
+ */
1734
+ 'expiresOn'?: Date;
1735
+ /**
1736
+ *
1737
+ * @type {string}
1738
+ * @memberof CommunicationUserTokenModel
1739
+ */
1740
+ 'communicationUserId'?: string | null;
1741
+ /**
1742
+ *
1743
+ * @type {string}
1744
+ * @memberof CommunicationUserTokenModel
1745
+ */
1746
+ 'gateway'?: string | null;
1747
+ }
1723
1748
  /**
1724
1749
  *
1725
1750
  * @export
@@ -7782,6 +7807,18 @@ export interface HospitalServiceItemModel {
7782
7807
  * @memberof HospitalServiceItemModel
7783
7808
  */
7784
7809
  'specialtyName'?: string | null;
7810
+ /**
7811
+ *
7812
+ * @type {string}
7813
+ * @memberof HospitalServiceItemModel
7814
+ */
7815
+ 'serviceCategoryId'?: string;
7816
+ /**
7817
+ *
7818
+ * @type {string}
7819
+ * @memberof HospitalServiceItemModel
7820
+ */
7821
+ 'serviceCategoryName'?: string | null;
7785
7822
  /**
7786
7823
  *
7787
7824
  * @type {MarketingType}
@@ -7903,6 +7940,18 @@ export interface HospitalServiceModel {
7903
7940
  * @memberof HospitalServiceModel
7904
7941
  */
7905
7942
  'specialtyName'?: string | null;
7943
+ /**
7944
+ *
7945
+ * @type {string}
7946
+ * @memberof HospitalServiceModel
7947
+ */
7948
+ 'serviceCategoryId'?: string;
7949
+ /**
7950
+ *
7951
+ * @type {string}
7952
+ * @memberof HospitalServiceModel
7953
+ */
7954
+ 'serviceCategoryName'?: string | null;
7906
7955
  /**
7907
7956
  *
7908
7957
  * @type {MarketingType}
@@ -8081,6 +8130,12 @@ export interface HospitalSpecialtyItemModel {
8081
8130
  * @memberof HospitalSpecialtyItemModel
8082
8131
  */
8083
8132
  'specialtyTypeName'?: string | null;
8133
+ /**
8134
+ *
8135
+ * @type {MarketingType}
8136
+ * @memberof HospitalSpecialtyItemModel
8137
+ */
8138
+ 'marketingType'?: MarketingType;
8084
8139
  /**
8085
8140
  *
8086
8141
  * @type {number}
@@ -8136,6 +8191,12 @@ export interface HospitalSpecialtyModel {
8136
8191
  * @memberof HospitalSpecialtyModel
8137
8192
  */
8138
8193
  'specialtyTypeName'?: string | null;
8194
+ /**
8195
+ *
8196
+ * @type {MarketingType}
8197
+ * @memberof HospitalSpecialtyModel
8198
+ */
8199
+ 'marketingType'?: MarketingType;
8139
8200
  /**
8140
8201
  *
8141
8202
  * @type {number}
@@ -9837,6 +9898,12 @@ export interface Service {
9837
9898
  * @memberof Service
9838
9899
  */
9839
9900
  'serviceCategoryId'?: string | null;
9901
+ /**
9902
+ *
9903
+ * @type {ServiceCategory}
9904
+ * @memberof Service
9905
+ */
9906
+ 'serviceCategory'?: ServiceCategory;
9840
9907
  /**
9841
9908
  *
9842
9909
  * @type {number}
@@ -9893,6 +9960,55 @@ export interface ServiceCategoriesModel {
9893
9960
  */
9894
9961
  'metaData'?: PagedListMetaData;
9895
9962
  }
9963
+ /**
9964
+ *
9965
+ * @export
9966
+ * @interface ServiceCategory
9967
+ */
9968
+ export interface ServiceCategory {
9969
+ /**
9970
+ *
9971
+ * @type {string}
9972
+ * @memberof ServiceCategory
9973
+ */
9974
+ 'id'?: string;
9975
+ /**
9976
+ *
9977
+ * @type {string}
9978
+ * @memberof ServiceCategory
9979
+ */
9980
+ 'name'?: string | null;
9981
+ /**
9982
+ *
9983
+ * @type {string}
9984
+ * @memberof ServiceCategory
9985
+ */
9986
+ 'normalizedName'?: string | null;
9987
+ /**
9988
+ *
9989
+ * @type {string}
9990
+ * @memberof ServiceCategory
9991
+ */
9992
+ 'description'?: string | null;
9993
+ /**
9994
+ *
9995
+ * @type {string}
9996
+ * @memberof ServiceCategory
9997
+ */
9998
+ 'normalizedDescription'?: string | null;
9999
+ /**
10000
+ *
10001
+ * @type {number}
10002
+ * @memberof ServiceCategory
10003
+ */
10004
+ 'order'?: number;
10005
+ /**
10006
+ *
10007
+ * @type {Array<Service>}
10008
+ * @memberof ServiceCategory
10009
+ */
10010
+ 'services'?: Array<Service> | null;
10011
+ }
9896
10012
  /**
9897
10013
  *
9898
10014
  * @export
@@ -9937,10 +10053,10 @@ export interface ServiceCategoryItemModel {
9937
10053
  'serviceCount'?: number;
9938
10054
  /**
9939
10055
  *
9940
- * @type {Array<ServiceItemModel>}
10056
+ * @type {Array<HospitalServiceItemModel>}
9941
10057
  * @memberof ServiceCategoryItemModel
9942
10058
  */
9943
- 'services'?: Array<ServiceItemModel> | null;
10059
+ 'services'?: Array<HospitalServiceItemModel> | null;
9944
10060
  }
9945
10061
  /**
9946
10062
  *
@@ -9986,481 +10102,220 @@ export interface ServiceCategoryModel {
9986
10102
  'serviceCount'?: number;
9987
10103
  /**
9988
10104
  *
9989
- * @type {Array<ServiceItemModel>}
10105
+ * @type {Array<HospitalServiceItemModel>}
9990
10106
  * @memberof ServiceCategoryModel
9991
10107
  */
9992
- 'services'?: Array<ServiceItemModel> | null;
10108
+ 'services'?: Array<HospitalServiceItemModel> | null;
9993
10109
  }
9994
10110
  /**
9995
10111
  *
9996
10112
  * @export
9997
- * @interface ServiceItemModel
10113
+ * @interface SnsHandle
9998
10114
  */
9999
- export interface ServiceItemModel {
10115
+ export interface SnsHandle {
10000
10116
  /**
10001
10117
  *
10002
10118
  * @type {string}
10003
- * @memberof ServiceItemModel
10119
+ * @memberof SnsHandle
10004
10120
  */
10005
10121
  'id'?: string;
10006
10122
  /**
10007
10123
  *
10008
- * @type {string}
10009
- * @memberof ServiceItemModel
10124
+ * @type {SnsType}
10125
+ * @memberof SnsHandle
10010
10126
  */
10011
- 'name'?: string | null;
10127
+ 'snsType'?: SnsType;
10012
10128
  /**
10013
10129
  *
10014
10130
  * @type {string}
10015
- * @memberof ServiceItemModel
10131
+ * @memberof SnsHandle
10016
10132
  */
10017
- 'slug'?: string | null;
10133
+ 'handle'?: string | null;
10134
+ }
10135
+ /**
10136
+ *
10137
+ * @export
10138
+ * @interface SnsHandleModel
10139
+ */
10140
+ export interface SnsHandleModel {
10018
10141
  /**
10019
10142
  *
10020
10143
  * @type {string}
10021
- * @memberof ServiceItemModel
10144
+ * @memberof SnsHandleModel
10022
10145
  */
10023
- 'description'?: string | null;
10146
+ 'id'?: string;
10024
10147
  /**
10025
10148
  *
10026
- * @type {string}
10027
- * @memberof ServiceItemModel
10149
+ * @type {SnsType}
10150
+ * @memberof SnsHandleModel
10028
10151
  */
10029
- 'content'?: string | null;
10152
+ 'snsType'?: SnsType;
10030
10153
  /**
10031
10154
  *
10032
10155
  * @type {string}
10033
- * @memberof ServiceItemModel
10156
+ * @memberof SnsHandleModel
10034
10157
  */
10035
- 'hospitalId'?: string;
10158
+ 'handle'?: string | null;
10159
+ }
10160
+ /**
10161
+ *
10162
+ * @export
10163
+ * @enum {string}
10164
+ */
10165
+
10166
+ export enum SnsType {
10167
+ Twitter = 'Twitter',
10168
+ Facebook = 'Facebook',
10169
+ Instagram = 'Instagram'
10170
+ }
10171
+
10172
+ /**
10173
+ *
10174
+ * @export
10175
+ * @interface Source
10176
+ */
10177
+ export interface Source {
10036
10178
  /**
10037
10179
  *
10038
10180
  * @type {string}
10039
- * @memberof ServiceItemModel
10181
+ * @memberof Source
10040
10182
  */
10041
- 'hospitalName'?: string | null;
10183
+ 'id'?: string;
10042
10184
  /**
10043
10185
  *
10044
10186
  * @type {string}
10045
- * @memberof ServiceItemModel
10187
+ * @memberof Source
10046
10188
  */
10047
- 'specialtyTypeId'?: string | null;
10189
+ 'name'?: string | null;
10048
10190
  /**
10049
10191
  *
10050
10192
  * @type {string}
10051
- * @memberof ServiceItemModel
10193
+ * @memberof Source
10052
10194
  */
10053
- 'specialtyTypeName'?: string | null;
10195
+ 'referenceUrl'?: string | null;
10054
10196
  /**
10055
10197
  *
10056
- * @type {string}
10057
- * @memberof ServiceItemModel
10198
+ * @type {number}
10199
+ * @memberof Source
10058
10200
  */
10059
- 'specialtyId'?: string;
10201
+ 'order'?: number;
10202
+ }
10203
+ /**
10204
+ *
10205
+ * @export
10206
+ * @interface SourceModel
10207
+ */
10208
+ export interface SourceModel {
10060
10209
  /**
10061
10210
  *
10062
10211
  * @type {string}
10063
- * @memberof ServiceItemModel
10064
- */
10065
- 'specialtyName'?: string | null;
10066
- /**
10067
- *
10068
- * @type {MarketingType}
10069
- * @memberof ServiceItemModel
10070
- */
10071
- 'marketingType'?: MarketingType;
10072
- /**
10073
- *
10074
- * @type {Procedure}
10075
- * @memberof ServiceItemModel
10076
- */
10077
- 'procedure'?: Procedure;
10078
- /**
10079
- *
10080
- * @type {number}
10081
- * @memberof ServiceItemModel
10212
+ * @memberof SourceModel
10082
10213
  */
10083
- 'minPrice'?: number | null;
10214
+ 'id'?: string;
10084
10215
  /**
10085
10216
  *
10086
- * @type {number}
10087
- * @memberof ServiceItemModel
10217
+ * @type {string}
10218
+ * @memberof SourceModel
10088
10219
  */
10089
- 'maxPrice'?: number | null;
10220
+ 'name'?: string | null;
10090
10221
  /**
10091
10222
  *
10092
- * @type {boolean}
10093
- * @memberof ServiceItemModel
10223
+ * @type {string}
10224
+ * @memberof SourceModel
10094
10225
  */
10095
- 'priceReuqest'?: boolean;
10226
+ 'referenceUrl'?: string | null;
10096
10227
  /**
10097
10228
  *
10098
10229
  * @type {number}
10099
- * @memberof ServiceItemModel
10230
+ * @memberof SourceModel
10100
10231
  */
10101
10232
  'order'?: number;
10233
+ }
10234
+ /**
10235
+ *
10236
+ * @export
10237
+ * @interface SpecialtiesModel
10238
+ */
10239
+ export interface SpecialtiesModel {
10102
10240
  /**
10103
10241
  *
10104
- * @type {AuditableEntity}
10105
- * @memberof ServiceItemModel
10242
+ * @type {Array<SpecialtyItemModel>}
10243
+ * @memberof SpecialtiesModel
10106
10244
  */
10107
- 'auditableEntity'?: AuditableEntity;
10245
+ 'items'?: Array<SpecialtyItemModel> | null;
10108
10246
  /**
10109
10247
  *
10110
- * @type {boolean}
10111
- * @memberof ServiceItemModel
10248
+ * @type {PagedListMetaData}
10249
+ * @memberof SpecialtiesModel
10112
10250
  */
10113
- 'confirmed'?: boolean;
10251
+ 'metaData'?: PagedListMetaData;
10114
10252
  }
10115
10253
  /**
10116
10254
  *
10117
10255
  * @export
10118
- * @interface ServiceModel
10256
+ * @interface Specialty
10119
10257
  */
10120
- export interface ServiceModel {
10258
+ export interface Specialty {
10121
10259
  /**
10122
10260
  *
10123
10261
  * @type {string}
10124
- * @memberof ServiceModel
10262
+ * @memberof Specialty
10125
10263
  */
10126
10264
  'id'?: string;
10127
10265
  /**
10128
10266
  *
10129
10267
  * @type {string}
10130
- * @memberof ServiceModel
10268
+ * @memberof Specialty
10131
10269
  */
10132
10270
  'name'?: string | null;
10133
10271
  /**
10134
10272
  *
10135
10273
  * @type {string}
10136
- * @memberof ServiceModel
10274
+ * @memberof Specialty
10137
10275
  */
10138
- 'slug'?: string | null;
10276
+ 'normalizedName'?: string | null;
10139
10277
  /**
10140
10278
  *
10141
10279
  * @type {string}
10142
- * @memberof ServiceModel
10280
+ * @memberof Specialty
10143
10281
  */
10144
10282
  'description'?: string | null;
10145
10283
  /**
10146
10284
  *
10147
10285
  * @type {string}
10148
- * @memberof ServiceModel
10286
+ * @memberof Specialty
10149
10287
  */
10150
10288
  'content'?: string | null;
10151
10289
  /**
10152
10290
  *
10153
10291
  * @type {string}
10154
- * @memberof ServiceModel
10292
+ * @memberof Specialty
10155
10293
  */
10156
- 'hospitalId'?: string;
10294
+ 'specialtyTypeId'?: string;
10157
10295
  /**
10158
10296
  *
10159
- * @type {string}
10160
- * @memberof ServiceModel
10297
+ * @type {SpecialtyType}
10298
+ * @memberof Specialty
10161
10299
  */
10162
- 'hospitalName'?: string | null;
10300
+ 'specialtyType'?: SpecialtyType;
10163
10301
  /**
10164
10302
  *
10165
- * @type {string}
10166
- * @memberof ServiceModel
10303
+ * @type {Array<HospitalSpecialty>}
10304
+ * @memberof Specialty
10167
10305
  */
10168
- 'specialtyTypeId'?: string | null;
10306
+ 'hospitalSpecialties'?: Array<HospitalSpecialty> | null;
10169
10307
  /**
10170
10308
  *
10171
- * @type {string}
10172
- * @memberof ServiceModel
10309
+ * @type {Array<DoctorSpecialty>}
10310
+ * @memberof Specialty
10173
10311
  */
10174
- 'specialtyTypeName'?: string | null;
10312
+ 'doctorSpecialties'?: Array<DoctorSpecialty> | null;
10175
10313
  /**
10176
10314
  *
10177
- * @type {string}
10178
- * @memberof ServiceModel
10315
+ * @type {Array<Media>}
10316
+ * @memberof Specialty
10179
10317
  */
10180
- 'specialtyId'?: string;
10181
- /**
10182
- *
10183
- * @type {string}
10184
- * @memberof ServiceModel
10185
- */
10186
- 'specialtyName'?: string | null;
10187
- /**
10188
- *
10189
- * @type {MarketingType}
10190
- * @memberof ServiceModel
10191
- */
10192
- 'marketingType'?: MarketingType;
10193
- /**
10194
- *
10195
- * @type {Procedure}
10196
- * @memberof ServiceModel
10197
- */
10198
- 'procedure'?: Procedure;
10199
- /**
10200
- *
10201
- * @type {number}
10202
- * @memberof ServiceModel
10203
- */
10204
- 'minPrice'?: number | null;
10205
- /**
10206
- *
10207
- * @type {number}
10208
- * @memberof ServiceModel
10209
- */
10210
- 'maxPrice'?: number | null;
10211
- /**
10212
- *
10213
- * @type {boolean}
10214
- * @memberof ServiceModel
10215
- */
10216
- 'priceReuqest'?: boolean;
10217
- /**
10218
- *
10219
- * @type {number}
10220
- * @memberof ServiceModel
10221
- */
10222
- 'order'?: number;
10223
- /**
10224
- *
10225
- * @type {AuditableEntity}
10226
- * @memberof ServiceModel
10227
- */
10228
- 'auditableEntity'?: AuditableEntity;
10229
- /**
10230
- *
10231
- * @type {boolean}
10232
- * @memberof ServiceModel
10233
- */
10234
- 'confirmed'?: boolean;
10235
- }
10236
- /**
10237
- *
10238
- * @export
10239
- * @interface ServicesModel
10240
- */
10241
- export interface ServicesModel {
10242
- /**
10243
- *
10244
- * @type {Array<ServiceItemModel>}
10245
- * @memberof ServicesModel
10246
- */
10247
- 'items'?: Array<ServiceItemModel> | null;
10248
- /**
10249
- *
10250
- * @type {PagedListMetaData}
10251
- * @memberof ServicesModel
10252
- */
10253
- 'metaData'?: PagedListMetaData;
10254
- }
10255
- /**
10256
- *
10257
- * @export
10258
- * @interface SnsHandle
10259
- */
10260
- export interface SnsHandle {
10261
- /**
10262
- *
10263
- * @type {string}
10264
- * @memberof SnsHandle
10265
- */
10266
- 'id'?: string;
10267
- /**
10268
- *
10269
- * @type {SnsType}
10270
- * @memberof SnsHandle
10271
- */
10272
- 'snsType'?: SnsType;
10273
- /**
10274
- *
10275
- * @type {string}
10276
- * @memberof SnsHandle
10277
- */
10278
- 'handle'?: string | null;
10279
- }
10280
- /**
10281
- *
10282
- * @export
10283
- * @interface SnsHandleModel
10284
- */
10285
- export interface SnsHandleModel {
10286
- /**
10287
- *
10288
- * @type {string}
10289
- * @memberof SnsHandleModel
10290
- */
10291
- 'id'?: string;
10292
- /**
10293
- *
10294
- * @type {SnsType}
10295
- * @memberof SnsHandleModel
10296
- */
10297
- 'snsType'?: SnsType;
10298
- /**
10299
- *
10300
- * @type {string}
10301
- * @memberof SnsHandleModel
10302
- */
10303
- 'handle'?: string | null;
10304
- }
10305
- /**
10306
- *
10307
- * @export
10308
- * @enum {string}
10309
- */
10310
-
10311
- export enum SnsType {
10312
- Twitter = 'Twitter',
10313
- Facebook = 'Facebook',
10314
- Instagram = 'Instagram'
10315
- }
10316
-
10317
- /**
10318
- *
10319
- * @export
10320
- * @interface Source
10321
- */
10322
- export interface Source {
10323
- /**
10324
- *
10325
- * @type {string}
10326
- * @memberof Source
10327
- */
10328
- 'id'?: string;
10329
- /**
10330
- *
10331
- * @type {string}
10332
- * @memberof Source
10333
- */
10334
- 'name'?: string | null;
10335
- /**
10336
- *
10337
- * @type {string}
10338
- * @memberof Source
10339
- */
10340
- 'referenceUrl'?: string | null;
10341
- /**
10342
- *
10343
- * @type {number}
10344
- * @memberof Source
10345
- */
10346
- 'order'?: number;
10347
- }
10348
- /**
10349
- *
10350
- * @export
10351
- * @interface SourceModel
10352
- */
10353
- export interface SourceModel {
10354
- /**
10355
- *
10356
- * @type {string}
10357
- * @memberof SourceModel
10358
- */
10359
- 'id'?: string;
10360
- /**
10361
- *
10362
- * @type {string}
10363
- * @memberof SourceModel
10364
- */
10365
- 'name'?: string | null;
10366
- /**
10367
- *
10368
- * @type {string}
10369
- * @memberof SourceModel
10370
- */
10371
- 'referenceUrl'?: string | null;
10372
- /**
10373
- *
10374
- * @type {number}
10375
- * @memberof SourceModel
10376
- */
10377
- 'order'?: number;
10378
- }
10379
- /**
10380
- *
10381
- * @export
10382
- * @interface SpecialtiesModel
10383
- */
10384
- export interface SpecialtiesModel {
10385
- /**
10386
- *
10387
- * @type {Array<SpecialtyItemModel>}
10388
- * @memberof SpecialtiesModel
10389
- */
10390
- 'items'?: Array<SpecialtyItemModel> | null;
10391
- /**
10392
- *
10393
- * @type {PagedListMetaData}
10394
- * @memberof SpecialtiesModel
10395
- */
10396
- 'metaData'?: PagedListMetaData;
10397
- }
10398
- /**
10399
- *
10400
- * @export
10401
- * @interface Specialty
10402
- */
10403
- export interface Specialty {
10404
- /**
10405
- *
10406
- * @type {string}
10407
- * @memberof Specialty
10408
- */
10409
- 'id'?: string;
10410
- /**
10411
- *
10412
- * @type {string}
10413
- * @memberof Specialty
10414
- */
10415
- 'name'?: string | null;
10416
- /**
10417
- *
10418
- * @type {string}
10419
- * @memberof Specialty
10420
- */
10421
- 'normalizedName'?: string | null;
10422
- /**
10423
- *
10424
- * @type {string}
10425
- * @memberof Specialty
10426
- */
10427
- 'description'?: string | null;
10428
- /**
10429
- *
10430
- * @type {string}
10431
- * @memberof Specialty
10432
- */
10433
- 'content'?: string | null;
10434
- /**
10435
- *
10436
- * @type {string}
10437
- * @memberof Specialty
10438
- */
10439
- 'specialtyTypeId'?: string;
10440
- /**
10441
- *
10442
- * @type {SpecialtyType}
10443
- * @memberof Specialty
10444
- */
10445
- 'specialtyType'?: SpecialtyType;
10446
- /**
10447
- *
10448
- * @type {Array<HospitalSpecialty>}
10449
- * @memberof Specialty
10450
- */
10451
- 'hospitalSpecialties'?: Array<HospitalSpecialty> | null;
10452
- /**
10453
- *
10454
- * @type {Array<DoctorSpecialty>}
10455
- * @memberof Specialty
10456
- */
10457
- 'doctorSpecialties'?: Array<DoctorSpecialty> | null;
10458
- /**
10459
- *
10460
- * @type {Array<Media>}
10461
- * @memberof Specialty
10462
- */
10463
- 'medias'?: Array<Media> | null;
10318
+ 'medias'?: Array<Media> | null;
10464
10319
  /**
10465
10320
  *
10466
10321
  * @type {AuditableEntity}
@@ -11983,10 +11838,10 @@ export interface UpdateServiceCategoryCommand {
11983
11838
  'serviceCount'?: number;
11984
11839
  /**
11985
11840
  *
11986
- * @type {Array<ServiceItemModel>}
11841
+ * @type {Array<HospitalServiceItemModel>}
11987
11842
  * @memberof UpdateServiceCategoryCommand
11988
11843
  */
11989
- 'services'?: Array<ServiceItemModel> | null;
11844
+ 'services'?: Array<HospitalServiceItemModel> | null;
11990
11845
  /**
11991
11846
  *
11992
11847
  * @type {Array<string>}
@@ -15840,46 +15695,276 @@ export class BookingsApi extends BaseAPI {
15840
15695
 
15841
15696
  /**
15842
15697
  *
15843
- * @summary Get booking.
15844
- * @param {string} bookingId
15698
+ * @summary Get booking.
15699
+ * @param {string} bookingId
15700
+ * @param {*} [options] Override http request option.
15701
+ * @throws {RequiredError}
15702
+ * @memberof BookingsApi
15703
+ */
15704
+ public apiV1BookingsBookingIdGet(bookingId: string, options?: AxiosRequestConfig) {
15705
+ return BookingsApiFp(this.configuration).apiV1BookingsBookingIdGet(bookingId, options).then((request) => request(this.axios, this.basePath));
15706
+ }
15707
+
15708
+ /**
15709
+ *
15710
+ * @summary Reject booking.
15711
+ * @param {string} bookingId
15712
+ * @param {RejectBookingCommand} [rejectBookingCommand]
15713
+ * @param {*} [options] Override http request option.
15714
+ * @throws {RequiredError}
15715
+ * @memberof BookingsApi
15716
+ */
15717
+ public apiV1BookingsBookingIdRejectPut(bookingId: string, rejectBookingCommand?: RejectBookingCommand, options?: AxiosRequestConfig) {
15718
+ return BookingsApiFp(this.configuration).apiV1BookingsBookingIdRejectPut(bookingId, rejectBookingCommand, options).then((request) => request(this.axios, this.basePath));
15719
+ }
15720
+
15721
+ /**
15722
+ *
15723
+ * @summary Get all bookings.
15724
+ * @param {string} [searchString]
15725
+ * @param {boolean} [isOpen]
15726
+ * @param {boolean} [isCompleted]
15727
+ * @param {BookingStatus} [status]
15728
+ * @param {string} [dealPackageId]
15729
+ * @param {number} [page]
15730
+ * @param {number} [limit]
15731
+ * @param {Date} [lastRetrieved]
15732
+ * @param {*} [options] Override http request option.
15733
+ * @throws {RequiredError}
15734
+ * @memberof BookingsApi
15735
+ */
15736
+ public apiV1BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
15737
+ return BookingsApiFp(this.configuration).apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
15738
+ }
15739
+ }
15740
+
15741
+
15742
+ /**
15743
+ * CommunicationsApi - axios parameter creator
15744
+ * @export
15745
+ */
15746
+ export const CommunicationsApiAxiosParamCreator = function (configuration?: Configuration) {
15747
+ return {
15748
+ /**
15749
+ *
15750
+ * @summary Delete CommunicationUser.
15751
+ * @param {*} [options] Override http request option.
15752
+ * @throws {RequiredError}
15753
+ */
15754
+ apiV1CommunicationsDelete: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15755
+ const localVarPath = `/api/v1/communications`;
15756
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15757
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15758
+ let baseOptions;
15759
+ if (configuration) {
15760
+ baseOptions = configuration.baseOptions;
15761
+ }
15762
+
15763
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
15764
+ const localVarHeaderParameter = {} as any;
15765
+ const localVarQueryParameter = {} as any;
15766
+
15767
+ // authentication oauth2 required
15768
+ // oauth required
15769
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
15770
+
15771
+
15772
+
15773
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15774
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15775
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15776
+
15777
+ return {
15778
+ url: toPathString(localVarUrlObj),
15779
+ options: localVarRequestOptions,
15780
+ };
15781
+ },
15782
+ /**
15783
+ *
15784
+ * @summary Get CommunicationUser.
15785
+ * @param {*} [options] Override http request option.
15786
+ * @throws {RequiredError}
15787
+ */
15788
+ apiV1CommunicationsGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15789
+ const localVarPath = `/api/v1/communications`;
15790
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15791
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15792
+ let baseOptions;
15793
+ if (configuration) {
15794
+ baseOptions = configuration.baseOptions;
15795
+ }
15796
+
15797
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
15798
+ const localVarHeaderParameter = {} as any;
15799
+ const localVarQueryParameter = {} as any;
15800
+
15801
+ // authentication oauth2 required
15802
+ // oauth required
15803
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
15804
+
15805
+
15806
+
15807
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15808
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15809
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15810
+
15811
+ return {
15812
+ url: toPathString(localVarUrlObj),
15813
+ options: localVarRequestOptions,
15814
+ };
15815
+ },
15816
+ /**
15817
+ *
15818
+ * @summary Revoke CommunicationUser.
15819
+ * @param {*} [options] Override http request option.
15820
+ * @throws {RequiredError}
15821
+ */
15822
+ apiV1CommunicationsPut: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15823
+ const localVarPath = `/api/v1/communications`;
15824
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15825
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15826
+ let baseOptions;
15827
+ if (configuration) {
15828
+ baseOptions = configuration.baseOptions;
15829
+ }
15830
+
15831
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
15832
+ const localVarHeaderParameter = {} as any;
15833
+ const localVarQueryParameter = {} as any;
15834
+
15835
+ // authentication oauth2 required
15836
+ // oauth required
15837
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
15838
+
15839
+
15840
+
15841
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15842
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15843
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15844
+
15845
+ return {
15846
+ url: toPathString(localVarUrlObj),
15847
+ options: localVarRequestOptions,
15848
+ };
15849
+ },
15850
+ }
15851
+ };
15852
+
15853
+ /**
15854
+ * CommunicationsApi - functional programming interface
15855
+ * @export
15856
+ */
15857
+ export const CommunicationsApiFp = function(configuration?: Configuration) {
15858
+ const localVarAxiosParamCreator = CommunicationsApiAxiosParamCreator(configuration)
15859
+ return {
15860
+ /**
15861
+ *
15862
+ * @summary Delete CommunicationUser.
15863
+ * @param {*} [options] Override http request option.
15864
+ * @throws {RequiredError}
15865
+ */
15866
+ async apiV1CommunicationsDelete(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<number>> {
15867
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CommunicationsDelete(options);
15868
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15869
+ },
15870
+ /**
15871
+ *
15872
+ * @summary Get CommunicationUser.
15873
+ * @param {*} [options] Override http request option.
15874
+ * @throws {RequiredError}
15875
+ */
15876
+ async apiV1CommunicationsGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommunicationUserTokenModel>> {
15877
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CommunicationsGet(options);
15878
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15879
+ },
15880
+ /**
15881
+ *
15882
+ * @summary Revoke CommunicationUser.
15883
+ * @param {*} [options] Override http request option.
15884
+ * @throws {RequiredError}
15885
+ */
15886
+ async apiV1CommunicationsPut(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommunicationUserTokenModel>> {
15887
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CommunicationsPut(options);
15888
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15889
+ },
15890
+ }
15891
+ };
15892
+
15893
+ /**
15894
+ * CommunicationsApi - factory interface
15895
+ * @export
15896
+ */
15897
+ export const CommunicationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
15898
+ const localVarFp = CommunicationsApiFp(configuration)
15899
+ return {
15900
+ /**
15901
+ *
15902
+ * @summary Delete CommunicationUser.
15903
+ * @param {*} [options] Override http request option.
15904
+ * @throws {RequiredError}
15905
+ */
15906
+ apiV1CommunicationsDelete(options?: any): AxiosPromise<number> {
15907
+ return localVarFp.apiV1CommunicationsDelete(options).then((request) => request(axios, basePath));
15908
+ },
15909
+ /**
15910
+ *
15911
+ * @summary Get CommunicationUser.
15912
+ * @param {*} [options] Override http request option.
15913
+ * @throws {RequiredError}
15914
+ */
15915
+ apiV1CommunicationsGet(options?: any): AxiosPromise<CommunicationUserTokenModel> {
15916
+ return localVarFp.apiV1CommunicationsGet(options).then((request) => request(axios, basePath));
15917
+ },
15918
+ /**
15919
+ *
15920
+ * @summary Revoke CommunicationUser.
15921
+ * @param {*} [options] Override http request option.
15922
+ * @throws {RequiredError}
15923
+ */
15924
+ apiV1CommunicationsPut(options?: any): AxiosPromise<CommunicationUserTokenModel> {
15925
+ return localVarFp.apiV1CommunicationsPut(options).then((request) => request(axios, basePath));
15926
+ },
15927
+ };
15928
+ };
15929
+
15930
+ /**
15931
+ * CommunicationsApi - object-oriented interface
15932
+ * @export
15933
+ * @class CommunicationsApi
15934
+ * @extends {BaseAPI}
15935
+ */
15936
+ export class CommunicationsApi extends BaseAPI {
15937
+ /**
15938
+ *
15939
+ * @summary Delete CommunicationUser.
15845
15940
  * @param {*} [options] Override http request option.
15846
15941
  * @throws {RequiredError}
15847
- * @memberof BookingsApi
15942
+ * @memberof CommunicationsApi
15848
15943
  */
15849
- public apiV1BookingsBookingIdGet(bookingId: string, options?: AxiosRequestConfig) {
15850
- return BookingsApiFp(this.configuration).apiV1BookingsBookingIdGet(bookingId, options).then((request) => request(this.axios, this.basePath));
15944
+ public apiV1CommunicationsDelete(options?: AxiosRequestConfig) {
15945
+ return CommunicationsApiFp(this.configuration).apiV1CommunicationsDelete(options).then((request) => request(this.axios, this.basePath));
15851
15946
  }
15852
15947
 
15853
15948
  /**
15854
15949
  *
15855
- * @summary Reject booking.
15856
- * @param {string} bookingId
15857
- * @param {RejectBookingCommand} [rejectBookingCommand]
15950
+ * @summary Get CommunicationUser.
15858
15951
  * @param {*} [options] Override http request option.
15859
15952
  * @throws {RequiredError}
15860
- * @memberof BookingsApi
15953
+ * @memberof CommunicationsApi
15861
15954
  */
15862
- public apiV1BookingsBookingIdRejectPut(bookingId: string, rejectBookingCommand?: RejectBookingCommand, options?: AxiosRequestConfig) {
15863
- return BookingsApiFp(this.configuration).apiV1BookingsBookingIdRejectPut(bookingId, rejectBookingCommand, options).then((request) => request(this.axios, this.basePath));
15955
+ public apiV1CommunicationsGet(options?: AxiosRequestConfig) {
15956
+ return CommunicationsApiFp(this.configuration).apiV1CommunicationsGet(options).then((request) => request(this.axios, this.basePath));
15864
15957
  }
15865
15958
 
15866
15959
  /**
15867
15960
  *
15868
- * @summary Get all bookings.
15869
- * @param {string} [searchString]
15870
- * @param {boolean} [isOpen]
15871
- * @param {boolean} [isCompleted]
15872
- * @param {BookingStatus} [status]
15873
- * @param {string} [dealPackageId]
15874
- * @param {number} [page]
15875
- * @param {number} [limit]
15876
- * @param {Date} [lastRetrieved]
15961
+ * @summary Revoke CommunicationUser.
15877
15962
  * @param {*} [options] Override http request option.
15878
15963
  * @throws {RequiredError}
15879
- * @memberof BookingsApi
15964
+ * @memberof CommunicationsApi
15880
15965
  */
15881
- public apiV1BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
15882
- return BookingsApiFp(this.configuration).apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
15966
+ public apiV1CommunicationsPut(options?: AxiosRequestConfig) {
15967
+ return CommunicationsApiFp(this.configuration).apiV1CommunicationsPut(options).then((request) => request(this.axios, this.basePath));
15883
15968
  }
15884
15969
  }
15885
15970
 
@@ -23085,20 +23170,254 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23085
23170
  },
23086
23171
  /**
23087
23172
  *
23088
- * @summary Get HospitalAccreditation.
23173
+ * @summary Get HospitalAccreditation.
23174
+ * @param {string} hospitalId
23175
+ * @param {string} accreditationId
23176
+ * @param {*} [options] Override http request option.
23177
+ * @throws {RequiredError}
23178
+ */
23179
+ apiV1HospitalsHospitalIdAccreditationsAccreditationIdGet: async (hospitalId: string, accreditationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23180
+ // verify required parameter 'hospitalId' is not null or undefined
23181
+ assertParamExists('apiV1HospitalsHospitalIdAccreditationsAccreditationIdGet', 'hospitalId', hospitalId)
23182
+ // verify required parameter 'accreditationId' is not null or undefined
23183
+ assertParamExists('apiV1HospitalsHospitalIdAccreditationsAccreditationIdGet', 'accreditationId', accreditationId)
23184
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/accreditations/{accreditationId}`
23185
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
23186
+ .replace(`{${"accreditationId"}}`, encodeURIComponent(String(accreditationId)));
23187
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23188
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23189
+ let baseOptions;
23190
+ if (configuration) {
23191
+ baseOptions = configuration.baseOptions;
23192
+ }
23193
+
23194
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23195
+ const localVarHeaderParameter = {} as any;
23196
+ const localVarQueryParameter = {} as any;
23197
+
23198
+ // authentication oauth2 required
23199
+ // oauth required
23200
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23201
+
23202
+
23203
+
23204
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23205
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23206
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23207
+
23208
+ return {
23209
+ url: toPathString(localVarUrlObj),
23210
+ options: localVarRequestOptions,
23211
+ };
23212
+ },
23213
+ /**
23214
+ *
23215
+ * @summary Get all HospitalAccreditations.
23216
+ * @param {string} hospitalId
23217
+ * @param {string} [hospitalName]
23218
+ * @param {string} [accreditationId]
23219
+ * @param {string} [accreditationName]
23220
+ * @param {number} [page]
23221
+ * @param {number} [limit]
23222
+ * @param {Date} [lastRetrieved]
23223
+ * @param {*} [options] Override http request option.
23224
+ * @throws {RequiredError}
23225
+ */
23226
+ apiV1HospitalsHospitalIdAccreditationsGet: async (hospitalId: string, hospitalName?: string, accreditationId?: string, accreditationName?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23227
+ // verify required parameter 'hospitalId' is not null or undefined
23228
+ assertParamExists('apiV1HospitalsHospitalIdAccreditationsGet', 'hospitalId', hospitalId)
23229
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/accreditations`
23230
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
23231
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23232
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23233
+ let baseOptions;
23234
+ if (configuration) {
23235
+ baseOptions = configuration.baseOptions;
23236
+ }
23237
+
23238
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23239
+ const localVarHeaderParameter = {} as any;
23240
+ const localVarQueryParameter = {} as any;
23241
+
23242
+ // authentication oauth2 required
23243
+ // oauth required
23244
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23245
+
23246
+ if (hospitalName !== undefined) {
23247
+ localVarQueryParameter['HospitalName'] = hospitalName;
23248
+ }
23249
+
23250
+ if (accreditationId !== undefined) {
23251
+ localVarQueryParameter['AccreditationId'] = accreditationId;
23252
+ }
23253
+
23254
+ if (accreditationName !== undefined) {
23255
+ localVarQueryParameter['AccreditationName'] = accreditationName;
23256
+ }
23257
+
23258
+ if (page !== undefined) {
23259
+ localVarQueryParameter['page'] = page;
23260
+ }
23261
+
23262
+ if (limit !== undefined) {
23263
+ localVarQueryParameter['limit'] = limit;
23264
+ }
23265
+
23266
+ if (lastRetrieved !== undefined) {
23267
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
23268
+ (lastRetrieved as any).toISOString() :
23269
+ lastRetrieved;
23270
+ }
23271
+
23272
+
23273
+
23274
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23275
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23276
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23277
+
23278
+ return {
23279
+ url: toPathString(localVarUrlObj),
23280
+ options: localVarRequestOptions,
23281
+ };
23282
+ },
23283
+ /**
23284
+ *
23285
+ * @summary Create HospitalAccreditation.
23286
+ * @param {string} hospitalId
23287
+ * @param {CreateHospitalAccreditationCommand} [createHospitalAccreditationCommand]
23288
+ * @param {*} [options] Override http request option.
23289
+ * @throws {RequiredError}
23290
+ */
23291
+ apiV1HospitalsHospitalIdAccreditationsPost: async (hospitalId: string, createHospitalAccreditationCommand?: CreateHospitalAccreditationCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23292
+ // verify required parameter 'hospitalId' is not null or undefined
23293
+ assertParamExists('apiV1HospitalsHospitalIdAccreditationsPost', 'hospitalId', hospitalId)
23294
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/accreditations`
23295
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
23296
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23297
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23298
+ let baseOptions;
23299
+ if (configuration) {
23300
+ baseOptions = configuration.baseOptions;
23301
+ }
23302
+
23303
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
23304
+ const localVarHeaderParameter = {} as any;
23305
+ const localVarQueryParameter = {} as any;
23306
+
23307
+ // authentication oauth2 required
23308
+ // oauth required
23309
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23310
+
23311
+
23312
+
23313
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23314
+
23315
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23316
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23317
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23318
+ localVarRequestOptions.data = serializeDataIfNeeded(createHospitalAccreditationCommand, localVarRequestOptions, configuration)
23319
+
23320
+ return {
23321
+ url: toPathString(localVarUrlObj),
23322
+ options: localVarRequestOptions,
23323
+ };
23324
+ },
23325
+ /**
23326
+ *
23327
+ * @summary Delete Hospital.
23328
+ * @param {string} hospitalId
23329
+ * @param {*} [options] Override http request option.
23330
+ * @throws {RequiredError}
23331
+ */
23332
+ apiV1HospitalsHospitalIdDelete: async (hospitalId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23333
+ // verify required parameter 'hospitalId' is not null or undefined
23334
+ assertParamExists('apiV1HospitalsHospitalIdDelete', 'hospitalId', hospitalId)
23335
+ const localVarPath = `/api/v1/hospitals/{hospitalId}`
23336
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
23337
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23338
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23339
+ let baseOptions;
23340
+ if (configuration) {
23341
+ baseOptions = configuration.baseOptions;
23342
+ }
23343
+
23344
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
23345
+ const localVarHeaderParameter = {} as any;
23346
+ const localVarQueryParameter = {} as any;
23347
+
23348
+ // authentication oauth2 required
23349
+ // oauth required
23350
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23351
+
23352
+
23353
+
23354
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23355
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23356
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23357
+
23358
+ return {
23359
+ url: toPathString(localVarUrlObj),
23360
+ options: localVarRequestOptions,
23361
+ };
23362
+ },
23363
+ /**
23364
+ *
23365
+ * @summary Delete HospitalEquipment
23366
+ * @param {string} hospitalId
23367
+ * @param {string} equipmentId
23368
+ * @param {*} [options] Override http request option.
23369
+ * @throws {RequiredError}
23370
+ */
23371
+ apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete: async (hospitalId: string, equipmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23372
+ // verify required parameter 'hospitalId' is not null or undefined
23373
+ assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete', 'hospitalId', hospitalId)
23374
+ // verify required parameter 'equipmentId' is not null or undefined
23375
+ assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete', 'equipmentId', equipmentId)
23376
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/equipments/{equipmentId}`
23377
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
23378
+ .replace(`{${"equipmentId"}}`, encodeURIComponent(String(equipmentId)));
23379
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23380
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23381
+ let baseOptions;
23382
+ if (configuration) {
23383
+ baseOptions = configuration.baseOptions;
23384
+ }
23385
+
23386
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
23387
+ const localVarHeaderParameter = {} as any;
23388
+ const localVarQueryParameter = {} as any;
23389
+
23390
+ // authentication oauth2 required
23391
+ // oauth required
23392
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23393
+
23394
+
23395
+
23396
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23397
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23398
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23399
+
23400
+ return {
23401
+ url: toPathString(localVarUrlObj),
23402
+ options: localVarRequestOptions,
23403
+ };
23404
+ },
23405
+ /**
23406
+ *
23407
+ * @summary Get HospitalEquipment.
23089
23408
  * @param {string} hospitalId
23090
- * @param {string} accreditationId
23409
+ * @param {string} equipmentId
23091
23410
  * @param {*} [options] Override http request option.
23092
23411
  * @throws {RequiredError}
23093
23412
  */
23094
- apiV1HospitalsHospitalIdAccreditationsAccreditationIdGet: async (hospitalId: string, accreditationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23413
+ apiV1HospitalsHospitalIdEquipmentsEquipmentIdGet: async (hospitalId: string, equipmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23095
23414
  // verify required parameter 'hospitalId' is not null or undefined
23096
- assertParamExists('apiV1HospitalsHospitalIdAccreditationsAccreditationIdGet', 'hospitalId', hospitalId)
23097
- // verify required parameter 'accreditationId' is not null or undefined
23098
- assertParamExists('apiV1HospitalsHospitalIdAccreditationsAccreditationIdGet', 'accreditationId', accreditationId)
23099
- const localVarPath = `/api/v1/hospitals/{hospitalId}/accreditations/{accreditationId}`
23415
+ assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdGet', 'hospitalId', hospitalId)
23416
+ // verify required parameter 'equipmentId' is not null or undefined
23417
+ assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdGet', 'equipmentId', equipmentId)
23418
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/equipments/{equipmentId}`
23100
23419
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
23101
- .replace(`{${"accreditationId"}}`, encodeURIComponent(String(accreditationId)));
23420
+ .replace(`{${"equipmentId"}}`, encodeURIComponent(String(equipmentId)));
23102
23421
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23103
23422
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23104
23423
  let baseOptions;
@@ -23127,22 +23446,25 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23127
23446
  },
23128
23447
  /**
23129
23448
  *
23130
- * @summary Get all HospitalAccreditations.
23449
+ * @summary Get all EquipmentMedia.
23131
23450
  * @param {string} hospitalId
23132
- * @param {string} [hospitalName]
23133
- * @param {string} [accreditationId]
23134
- * @param {string} [accreditationName]
23451
+ * @param {string} equipmentId
23452
+ * @param {string} [id]
23453
+ * @param {MediaType} [mediaType]
23135
23454
  * @param {number} [page]
23136
23455
  * @param {number} [limit]
23137
23456
  * @param {Date} [lastRetrieved]
23138
23457
  * @param {*} [options] Override http request option.
23139
23458
  * @throws {RequiredError}
23140
23459
  */
23141
- apiV1HospitalsHospitalIdAccreditationsGet: async (hospitalId: string, hospitalName?: string, accreditationId?: string, accreditationName?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23460
+ apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasGet: async (hospitalId: string, equipmentId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23142
23461
  // verify required parameter 'hospitalId' is not null or undefined
23143
- assertParamExists('apiV1HospitalsHospitalIdAccreditationsGet', 'hospitalId', hospitalId)
23144
- const localVarPath = `/api/v1/hospitals/{hospitalId}/accreditations`
23145
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
23462
+ assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasGet', 'hospitalId', hospitalId)
23463
+ // verify required parameter 'equipmentId' is not null or undefined
23464
+ assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasGet', 'equipmentId', equipmentId)
23465
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/equipments/{equipmentId}/medias`
23466
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
23467
+ .replace(`{${"equipmentId"}}`, encodeURIComponent(String(equipmentId)));
23146
23468
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23147
23469
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23148
23470
  let baseOptions;
@@ -23158,16 +23480,12 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23158
23480
  // oauth required
23159
23481
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23160
23482
 
23161
- if (hospitalName !== undefined) {
23162
- localVarQueryParameter['HospitalName'] = hospitalName;
23163
- }
23164
-
23165
- if (accreditationId !== undefined) {
23166
- localVarQueryParameter['AccreditationId'] = accreditationId;
23483
+ if (id !== undefined) {
23484
+ localVarQueryParameter['Id'] = id;
23167
23485
  }
23168
23486
 
23169
- if (accreditationName !== undefined) {
23170
- localVarQueryParameter['AccreditationName'] = accreditationName;
23487
+ if (mediaType !== undefined) {
23488
+ localVarQueryParameter['MediaType'] = mediaType;
23171
23489
  }
23172
23490
 
23173
23491
  if (page !== undefined) {
@@ -23197,17 +23515,24 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23197
23515
  },
23198
23516
  /**
23199
23517
  *
23200
- * @summary Create HospitalAccreditation.
23518
+ * @summary Delete EquipmentMedia
23201
23519
  * @param {string} hospitalId
23202
- * @param {CreateHospitalAccreditationCommand} [createHospitalAccreditationCommand]
23520
+ * @param {string} equipmentId
23521
+ * @param {string} mediaId
23203
23522
  * @param {*} [options] Override http request option.
23204
23523
  * @throws {RequiredError}
23205
23524
  */
23206
- apiV1HospitalsHospitalIdAccreditationsPost: async (hospitalId: string, createHospitalAccreditationCommand?: CreateHospitalAccreditationCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23525
+ apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasMediaIdDelete: async (hospitalId: string, equipmentId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23207
23526
  // verify required parameter 'hospitalId' is not null or undefined
23208
- assertParamExists('apiV1HospitalsHospitalIdAccreditationsPost', 'hospitalId', hospitalId)
23209
- const localVarPath = `/api/v1/hospitals/{hospitalId}/accreditations`
23210
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
23527
+ assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasMediaIdDelete', 'hospitalId', hospitalId)
23528
+ // verify required parameter 'equipmentId' is not null or undefined
23529
+ assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasMediaIdDelete', 'equipmentId', equipmentId)
23530
+ // verify required parameter 'mediaId' is not null or undefined
23531
+ assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasMediaIdDelete', 'mediaId', mediaId)
23532
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/equipments/{equipmentId}/medias/{mediaId}`
23533
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
23534
+ .replace(`{${"equipmentId"}}`, encodeURIComponent(String(equipmentId)))
23535
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
23211
23536
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23212
23537
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23213
23538
  let baseOptions;
@@ -23215,7 +23540,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23215
23540
  baseOptions = configuration.baseOptions;
23216
23541
  }
23217
23542
 
23218
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
23543
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
23219
23544
  const localVarHeaderParameter = {} as any;
23220
23545
  const localVarQueryParameter = {} as any;
23221
23546
 
@@ -23225,12 +23550,55 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23225
23550
 
23226
23551
 
23227
23552
 
23228
- localVarHeaderParameter['Content-Type'] = 'application/json';
23553
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23554
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23555
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23556
+
23557
+ return {
23558
+ url: toPathString(localVarUrlObj),
23559
+ options: localVarRequestOptions,
23560
+ };
23561
+ },
23562
+ /**
23563
+ *
23564
+ * @summary Get EquipmentMedia.
23565
+ * @param {string} hospitalId
23566
+ * @param {string} equipmentId
23567
+ * @param {string} mediaId
23568
+ * @param {*} [options] Override http request option.
23569
+ * @throws {RequiredError}
23570
+ */
23571
+ apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasMediaIdGet: async (hospitalId: string, equipmentId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23572
+ // verify required parameter 'hospitalId' is not null or undefined
23573
+ assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasMediaIdGet', 'hospitalId', hospitalId)
23574
+ // verify required parameter 'equipmentId' is not null or undefined
23575
+ assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasMediaIdGet', 'equipmentId', equipmentId)
23576
+ // verify required parameter 'mediaId' is not null or undefined
23577
+ assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasMediaIdGet', 'mediaId', mediaId)
23578
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/equipments/{equipmentId}/medias/{mediaId}`
23579
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
23580
+ .replace(`{${"equipmentId"}}`, encodeURIComponent(String(equipmentId)))
23581
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
23582
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23583
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23584
+ let baseOptions;
23585
+ if (configuration) {
23586
+ baseOptions = configuration.baseOptions;
23587
+ }
23588
+
23589
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23590
+ const localVarHeaderParameter = {} as any;
23591
+ const localVarQueryParameter = {} as any;
23592
+
23593
+ // authentication oauth2 required
23594
+ // oauth required
23595
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23596
+
23229
23597
 
23598
+
23230
23599
  setSearchParams(localVarUrlObj, localVarQueryParameter);
23231
23600
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23232
23601
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23233
- localVarRequestOptions.data = serializeDataIfNeeded(createHospitalAccreditationCommand, localVarRequestOptions, configuration)
23234
23602
 
23235
23603
  return {
23236
23604
  url: toPathString(localVarUrlObj),
@@ -23239,16 +23607,25 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23239
23607
  },
23240
23608
  /**
23241
23609
  *
23242
- * @summary Delete Hospital.
23610
+ * @summary Update EquipmentMedia.
23243
23611
  * @param {string} hospitalId
23612
+ * @param {string} equipmentId
23613
+ * @param {string} mediaId
23614
+ * @param {UpdateMediaCommand} [updateMediaCommand]
23244
23615
  * @param {*} [options] Override http request option.
23245
23616
  * @throws {RequiredError}
23246
23617
  */
23247
- apiV1HospitalsHospitalIdDelete: async (hospitalId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23618
+ apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasMediaIdPut: async (hospitalId: string, equipmentId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23248
23619
  // verify required parameter 'hospitalId' is not null or undefined
23249
- assertParamExists('apiV1HospitalsHospitalIdDelete', 'hospitalId', hospitalId)
23250
- const localVarPath = `/api/v1/hospitals/{hospitalId}`
23251
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
23620
+ assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasMediaIdPut', 'hospitalId', hospitalId)
23621
+ // verify required parameter 'equipmentId' is not null or undefined
23622
+ assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasMediaIdPut', 'equipmentId', equipmentId)
23623
+ // verify required parameter 'mediaId' is not null or undefined
23624
+ assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasMediaIdPut', 'mediaId', mediaId)
23625
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/equipments/{equipmentId}/medias/{mediaId}`
23626
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
23627
+ .replace(`{${"equipmentId"}}`, encodeURIComponent(String(equipmentId)))
23628
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
23252
23629
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23253
23630
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23254
23631
  let baseOptions;
@@ -23256,7 +23633,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23256
23633
  baseOptions = configuration.baseOptions;
23257
23634
  }
23258
23635
 
23259
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
23636
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
23260
23637
  const localVarHeaderParameter = {} as any;
23261
23638
  const localVarQueryParameter = {} as any;
23262
23639
 
@@ -23266,9 +23643,12 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23266
23643
 
23267
23644
 
23268
23645
 
23646
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23647
+
23269
23648
  setSearchParams(localVarUrlObj, localVarQueryParameter);
23270
23649
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23271
23650
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23651
+ localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
23272
23652
 
23273
23653
  return {
23274
23654
  url: toPathString(localVarUrlObj),
@@ -23277,18 +23657,19 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23277
23657
  },
23278
23658
  /**
23279
23659
  *
23280
- * @summary Delete HospitalEquipment
23660
+ * @summary Create EquipmentMedia.
23281
23661
  * @param {string} hospitalId
23282
23662
  * @param {string} equipmentId
23663
+ * @param {CreateMediaCommand} [createMediaCommand]
23283
23664
  * @param {*} [options] Override http request option.
23284
23665
  * @throws {RequiredError}
23285
23666
  */
23286
- apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete: async (hospitalId: string, equipmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23667
+ apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasPost: async (hospitalId: string, equipmentId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23287
23668
  // verify required parameter 'hospitalId' is not null or undefined
23288
- assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete', 'hospitalId', hospitalId)
23669
+ assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasPost', 'hospitalId', hospitalId)
23289
23670
  // verify required parameter 'equipmentId' is not null or undefined
23290
- assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete', 'equipmentId', equipmentId)
23291
- const localVarPath = `/api/v1/hospitals/{hospitalId}/equipments/{equipmentId}`
23671
+ assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasPost', 'equipmentId', equipmentId)
23672
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/equipments/{equipmentId}/medias`
23292
23673
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
23293
23674
  .replace(`{${"equipmentId"}}`, encodeURIComponent(String(equipmentId)));
23294
23675
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -23298,7 +23679,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23298
23679
  baseOptions = configuration.baseOptions;
23299
23680
  }
23300
23681
 
23301
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
23682
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
23302
23683
  const localVarHeaderParameter = {} as any;
23303
23684
  const localVarQueryParameter = {} as any;
23304
23685
 
@@ -23308,9 +23689,12 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23308
23689
 
23309
23690
 
23310
23691
 
23692
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23693
+
23311
23694
  setSearchParams(localVarUrlObj, localVarQueryParameter);
23312
23695
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23313
23696
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23697
+ localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
23314
23698
 
23315
23699
  return {
23316
23700
  url: toPathString(localVarUrlObj),
@@ -23319,17 +23703,18 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23319
23703
  },
23320
23704
  /**
23321
23705
  *
23322
- * @summary Get HospitalEquipment.
23706
+ * @summary Update HospitalEquipment.
23323
23707
  * @param {string} hospitalId
23324
23708
  * @param {string} equipmentId
23709
+ * @param {UpdateHospitalEquipmentCommand} [updateHospitalEquipmentCommand]
23325
23710
  * @param {*} [options] Override http request option.
23326
23711
  * @throws {RequiredError}
23327
23712
  */
23328
- apiV1HospitalsHospitalIdEquipmentsEquipmentIdGet: async (hospitalId: string, equipmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23713
+ apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut: async (hospitalId: string, equipmentId: string, updateHospitalEquipmentCommand?: UpdateHospitalEquipmentCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23329
23714
  // verify required parameter 'hospitalId' is not null or undefined
23330
- assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdGet', 'hospitalId', hospitalId)
23715
+ assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut', 'hospitalId', hospitalId)
23331
23716
  // verify required parameter 'equipmentId' is not null or undefined
23332
- assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdGet', 'equipmentId', equipmentId)
23717
+ assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut', 'equipmentId', equipmentId)
23333
23718
  const localVarPath = `/api/v1/hospitals/{hospitalId}/equipments/{equipmentId}`
23334
23719
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
23335
23720
  .replace(`{${"equipmentId"}}`, encodeURIComponent(String(equipmentId)));
@@ -23340,7 +23725,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23340
23725
  baseOptions = configuration.baseOptions;
23341
23726
  }
23342
23727
 
23343
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23728
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
23344
23729
  const localVarHeaderParameter = {} as any;
23345
23730
  const localVarQueryParameter = {} as any;
23346
23731
 
@@ -23350,9 +23735,12 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23350
23735
 
23351
23736
 
23352
23737
 
23738
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23739
+
23353
23740
  setSearchParams(localVarUrlObj, localVarQueryParameter);
23354
23741
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23355
23742
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23743
+ localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalEquipmentCommand, localVarRequestOptions, configuration)
23356
23744
 
23357
23745
  return {
23358
23746
  url: toPathString(localVarUrlObj),
@@ -23361,25 +23749,25 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23361
23749
  },
23362
23750
  /**
23363
23751
  *
23364
- * @summary Get all EquipmentMedia.
23752
+ * @summary Get all HospitalEquipments.
23365
23753
  * @param {string} hospitalId
23366
- * @param {string} equipmentId
23367
23754
  * @param {string} [id]
23368
- * @param {MediaType} [mediaType]
23755
+ * @param {string} [name]
23756
+ * @param {string} [hospitalId2]
23757
+ * @param {string} [hospitalName]
23758
+ * @param {string} [description]
23759
+ * @param {Date} [created]
23369
23760
  * @param {number} [page]
23370
23761
  * @param {number} [limit]
23371
23762
  * @param {Date} [lastRetrieved]
23372
23763
  * @param {*} [options] Override http request option.
23373
23764
  * @throws {RequiredError}
23374
23765
  */
23375
- apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasGet: async (hospitalId: string, equipmentId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23766
+ apiV1HospitalsHospitalIdEquipmentsGet: async (hospitalId: string, id?: string, name?: string, hospitalId2?: string, hospitalName?: string, description?: string, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23376
23767
  // verify required parameter 'hospitalId' is not null or undefined
23377
- assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasGet', 'hospitalId', hospitalId)
23378
- // verify required parameter 'equipmentId' is not null or undefined
23379
- assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasGet', 'equipmentId', equipmentId)
23380
- const localVarPath = `/api/v1/hospitals/{hospitalId}/equipments/{equipmentId}/medias`
23381
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
23382
- .replace(`{${"equipmentId"}}`, encodeURIComponent(String(equipmentId)));
23768
+ assertParamExists('apiV1HospitalsHospitalIdEquipmentsGet', 'hospitalId', hospitalId)
23769
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/equipments`
23770
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
23383
23771
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23384
23772
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23385
23773
  let baseOptions;
@@ -23399,8 +23787,26 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23399
23787
  localVarQueryParameter['Id'] = id;
23400
23788
  }
23401
23789
 
23402
- if (mediaType !== undefined) {
23403
- localVarQueryParameter['MediaType'] = mediaType;
23790
+ if (name !== undefined) {
23791
+ localVarQueryParameter['Name'] = name;
23792
+ }
23793
+
23794
+ if (hospitalId2 !== undefined) {
23795
+ localVarQueryParameter['HospitalId'] = hospitalId2;
23796
+ }
23797
+
23798
+ if (hospitalName !== undefined) {
23799
+ localVarQueryParameter['HospitalName'] = hospitalName;
23800
+ }
23801
+
23802
+ if (description !== undefined) {
23803
+ localVarQueryParameter['Description'] = description;
23804
+ }
23805
+
23806
+ if (created !== undefined) {
23807
+ localVarQueryParameter['Created'] = (created as any instanceof Date) ?
23808
+ (created as any).toISOString() :
23809
+ created;
23404
23810
  }
23405
23811
 
23406
23812
  if (page !== undefined) {
@@ -23430,24 +23836,62 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23430
23836
  },
23431
23837
  /**
23432
23838
  *
23433
- * @summary Delete EquipmentMedia
23839
+ * @summary Create HospitalEquipment.
23840
+ * @param {string} hospitalId
23841
+ * @param {CreateHospitalEquipmentCommand} [createHospitalEquipmentCommand]
23842
+ * @param {*} [options] Override http request option.
23843
+ * @throws {RequiredError}
23844
+ */
23845
+ apiV1HospitalsHospitalIdEquipmentsPost: async (hospitalId: string, createHospitalEquipmentCommand?: CreateHospitalEquipmentCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23846
+ // verify required parameter 'hospitalId' is not null or undefined
23847
+ assertParamExists('apiV1HospitalsHospitalIdEquipmentsPost', 'hospitalId', hospitalId)
23848
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/equipments`
23849
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
23850
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23851
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23852
+ let baseOptions;
23853
+ if (configuration) {
23854
+ baseOptions = configuration.baseOptions;
23855
+ }
23856
+
23857
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
23858
+ const localVarHeaderParameter = {} as any;
23859
+ const localVarQueryParameter = {} as any;
23860
+
23861
+ // authentication oauth2 required
23862
+ // oauth required
23863
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23864
+
23865
+
23866
+
23867
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23868
+
23869
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23870
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23871
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23872
+ localVarRequestOptions.data = serializeDataIfNeeded(createHospitalEquipmentCommand, localVarRequestOptions, configuration)
23873
+
23874
+ return {
23875
+ url: toPathString(localVarUrlObj),
23876
+ options: localVarRequestOptions,
23877
+ };
23878
+ },
23879
+ /**
23880
+ *
23881
+ * @summary Delete HospitalEvaluation.
23434
23882
  * @param {string} hospitalId
23435
- * @param {string} equipmentId
23436
- * @param {string} mediaId
23883
+ * @param {string} evaluationId
23437
23884
  * @param {*} [options] Override http request option.
23438
23885
  * @throws {RequiredError}
23439
23886
  */
23440
- apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasMediaIdDelete: async (hospitalId: string, equipmentId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23887
+ apiV1HospitalsHospitalIdEvaluationsEvaluationIdDelete: async (hospitalId: string, evaluationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23441
23888
  // verify required parameter 'hospitalId' is not null or undefined
23442
- assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasMediaIdDelete', 'hospitalId', hospitalId)
23443
- // verify required parameter 'equipmentId' is not null or undefined
23444
- assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasMediaIdDelete', 'equipmentId', equipmentId)
23445
- // verify required parameter 'mediaId' is not null or undefined
23446
- assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasMediaIdDelete', 'mediaId', mediaId)
23447
- const localVarPath = `/api/v1/hospitals/{hospitalId}/equipments/{equipmentId}/medias/{mediaId}`
23889
+ assertParamExists('apiV1HospitalsHospitalIdEvaluationsEvaluationIdDelete', 'hospitalId', hospitalId)
23890
+ // verify required parameter 'evaluationId' is not null or undefined
23891
+ assertParamExists('apiV1HospitalsHospitalIdEvaluationsEvaluationIdDelete', 'evaluationId', evaluationId)
23892
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/evaluations/{evaluationId}`
23448
23893
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
23449
- .replace(`{${"equipmentId"}}`, encodeURIComponent(String(equipmentId)))
23450
- .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
23894
+ .replace(`{${"evaluationId"}}`, encodeURIComponent(String(evaluationId)));
23451
23895
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23452
23896
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23453
23897
  let baseOptions;
@@ -23476,24 +23920,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23476
23920
  },
23477
23921
  /**
23478
23922
  *
23479
- * @summary Get EquipmentMedia.
23923
+ * @summary Get HospitalEvaluation.
23480
23924
  * @param {string} hospitalId
23481
- * @param {string} equipmentId
23482
- * @param {string} mediaId
23925
+ * @param {string} evaluationId
23483
23926
  * @param {*} [options] Override http request option.
23484
23927
  * @throws {RequiredError}
23485
23928
  */
23486
- apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasMediaIdGet: async (hospitalId: string, equipmentId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23929
+ apiV1HospitalsHospitalIdEvaluationsEvaluationIdGet: async (hospitalId: string, evaluationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23487
23930
  // verify required parameter 'hospitalId' is not null or undefined
23488
- assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasMediaIdGet', 'hospitalId', hospitalId)
23489
- // verify required parameter 'equipmentId' is not null or undefined
23490
- assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasMediaIdGet', 'equipmentId', equipmentId)
23491
- // verify required parameter 'mediaId' is not null or undefined
23492
- assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasMediaIdGet', 'mediaId', mediaId)
23493
- const localVarPath = `/api/v1/hospitals/{hospitalId}/equipments/{equipmentId}/medias/{mediaId}`
23931
+ assertParamExists('apiV1HospitalsHospitalIdEvaluationsEvaluationIdGet', 'hospitalId', hospitalId)
23932
+ // verify required parameter 'evaluationId' is not null or undefined
23933
+ assertParamExists('apiV1HospitalsHospitalIdEvaluationsEvaluationIdGet', 'evaluationId', evaluationId)
23934
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/evaluations/{evaluationId}`
23494
23935
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
23495
- .replace(`{${"equipmentId"}}`, encodeURIComponent(String(equipmentId)))
23496
- .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
23936
+ .replace(`{${"evaluationId"}}`, encodeURIComponent(String(evaluationId)));
23497
23937
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23498
23938
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23499
23939
  let baseOptions;
@@ -23522,25 +23962,22 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23522
23962
  },
23523
23963
  /**
23524
23964
  *
23525
- * @summary Update EquipmentMedia.
23965
+ * @summary Get all HospitalEvaluations.
23526
23966
  * @param {string} hospitalId
23527
- * @param {string} equipmentId
23528
- * @param {string} mediaId
23529
- * @param {UpdateMediaCommand} [updateMediaCommand]
23967
+ * @param {string} [id]
23968
+ * @param {string} [name]
23969
+ * @param {number} [stars]
23970
+ * @param {number} [page]
23971
+ * @param {number} [limit]
23972
+ * @param {Date} [lastRetrieved]
23530
23973
  * @param {*} [options] Override http request option.
23531
23974
  * @throws {RequiredError}
23532
23975
  */
23533
- apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasMediaIdPut: async (hospitalId: string, equipmentId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23976
+ apiV1HospitalsHospitalIdEvaluationsGet: async (hospitalId: string, id?: string, name?: string, stars?: number, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23534
23977
  // verify required parameter 'hospitalId' is not null or undefined
23535
- assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasMediaIdPut', 'hospitalId', hospitalId)
23536
- // verify required parameter 'equipmentId' is not null or undefined
23537
- assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasMediaIdPut', 'equipmentId', equipmentId)
23538
- // verify required parameter 'mediaId' is not null or undefined
23539
- assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasMediaIdPut', 'mediaId', mediaId)
23540
- const localVarPath = `/api/v1/hospitals/{hospitalId}/equipments/{equipmentId}/medias/{mediaId}`
23541
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
23542
- .replace(`{${"equipmentId"}}`, encodeURIComponent(String(equipmentId)))
23543
- .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
23978
+ assertParamExists('apiV1HospitalsHospitalIdEvaluationsGet', 'hospitalId', hospitalId)
23979
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/evaluations`
23980
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
23544
23981
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23545
23982
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23546
23983
  let baseOptions;
@@ -23548,7 +23985,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23548
23985
  baseOptions = configuration.baseOptions;
23549
23986
  }
23550
23987
 
23551
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
23988
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23552
23989
  const localVarHeaderParameter = {} as any;
23553
23990
  const localVarQueryParameter = {} as any;
23554
23991
 
@@ -23556,14 +23993,37 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23556
23993
  // oauth required
23557
23994
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23558
23995
 
23996
+ if (id !== undefined) {
23997
+ localVarQueryParameter['Id'] = id;
23998
+ }
23999
+
24000
+ if (name !== undefined) {
24001
+ localVarQueryParameter['Name'] = name;
24002
+ }
24003
+
24004
+ if (stars !== undefined) {
24005
+ localVarQueryParameter['Stars'] = stars;
24006
+ }
24007
+
24008
+ if (page !== undefined) {
24009
+ localVarQueryParameter['page'] = page;
24010
+ }
24011
+
24012
+ if (limit !== undefined) {
24013
+ localVarQueryParameter['limit'] = limit;
24014
+ }
24015
+
24016
+ if (lastRetrieved !== undefined) {
24017
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
24018
+ (lastRetrieved as any).toISOString() :
24019
+ lastRetrieved;
24020
+ }
23559
24021
 
23560
-
23561
- localVarHeaderParameter['Content-Type'] = 'application/json';
23562
24022
 
24023
+
23563
24024
  setSearchParams(localVarUrlObj, localVarQueryParameter);
23564
24025
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23565
24026
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23566
- localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
23567
24027
 
23568
24028
  return {
23569
24029
  url: toPathString(localVarUrlObj),
@@ -23572,21 +24032,17 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23572
24032
  },
23573
24033
  /**
23574
24034
  *
23575
- * @summary Create EquipmentMedia.
24035
+ * @summary Create HospitalEvaluation.
23576
24036
  * @param {string} hospitalId
23577
- * @param {string} equipmentId
23578
- * @param {CreateMediaCommand} [createMediaCommand]
24037
+ * @param {CreateHospitalEvaluationCommand} [createHospitalEvaluationCommand]
23579
24038
  * @param {*} [options] Override http request option.
23580
24039
  * @throws {RequiredError}
23581
24040
  */
23582
- apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasPost: async (hospitalId: string, equipmentId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24041
+ apiV1HospitalsHospitalIdEvaluationsPost: async (hospitalId: string, createHospitalEvaluationCommand?: CreateHospitalEvaluationCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23583
24042
  // verify required parameter 'hospitalId' is not null or undefined
23584
- assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasPost', 'hospitalId', hospitalId)
23585
- // verify required parameter 'equipmentId' is not null or undefined
23586
- assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdMediasPost', 'equipmentId', equipmentId)
23587
- const localVarPath = `/api/v1/hospitals/{hospitalId}/equipments/{equipmentId}/medias`
23588
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
23589
- .replace(`{${"equipmentId"}}`, encodeURIComponent(String(equipmentId)));
24043
+ assertParamExists('apiV1HospitalsHospitalIdEvaluationsPost', 'hospitalId', hospitalId)
24044
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/evaluations`
24045
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
23590
24046
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23591
24047
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23592
24048
  let baseOptions;
@@ -23609,7 +24065,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23609
24065
  setSearchParams(localVarUrlObj, localVarQueryParameter);
23610
24066
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23611
24067
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23612
- localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
24068
+ localVarRequestOptions.data = serializeDataIfNeeded(createHospitalEvaluationCommand, localVarRequestOptions, configuration)
23613
24069
 
23614
24070
  return {
23615
24071
  url: toPathString(localVarUrlObj),
@@ -23618,21 +24074,17 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23618
24074
  },
23619
24075
  /**
23620
24076
  *
23621
- * @summary Update HospitalEquipment.
24077
+ * @summary Get Hospital.
23622
24078
  * @param {string} hospitalId
23623
- * @param {string} equipmentId
23624
- * @param {UpdateHospitalEquipmentCommand} [updateHospitalEquipmentCommand]
24079
+ * @param {string} [languageCode]
23625
24080
  * @param {*} [options] Override http request option.
23626
24081
  * @throws {RequiredError}
23627
24082
  */
23628
- apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut: async (hospitalId: string, equipmentId: string, updateHospitalEquipmentCommand?: UpdateHospitalEquipmentCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24083
+ apiV1HospitalsHospitalIdGet: async (hospitalId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23629
24084
  // verify required parameter 'hospitalId' is not null or undefined
23630
- assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut', 'hospitalId', hospitalId)
23631
- // verify required parameter 'equipmentId' is not null or undefined
23632
- assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut', 'equipmentId', equipmentId)
23633
- const localVarPath = `/api/v1/hospitals/{hospitalId}/equipments/{equipmentId}`
23634
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
23635
- .replace(`{${"equipmentId"}}`, encodeURIComponent(String(equipmentId)));
24085
+ assertParamExists('apiV1HospitalsHospitalIdGet', 'hospitalId', hospitalId)
24086
+ const localVarPath = `/api/v1/hospitals/{hospitalId}`
24087
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
23636
24088
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23637
24089
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23638
24090
  let baseOptions;
@@ -23640,7 +24092,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23640
24092
  baseOptions = configuration.baseOptions;
23641
24093
  }
23642
24094
 
23643
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
24095
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23644
24096
  const localVarHeaderParameter = {} as any;
23645
24097
  const localVarQueryParameter = {} as any;
23646
24098
 
@@ -23648,14 +24100,15 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23648
24100
  // oauth required
23649
24101
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23650
24102
 
24103
+ if (languageCode !== undefined) {
24104
+ localVarQueryParameter['languageCode'] = languageCode;
24105
+ }
24106
+
23651
24107
 
23652
24108
 
23653
- localVarHeaderParameter['Content-Type'] = 'application/json';
23654
-
23655
24109
  setSearchParams(localVarUrlObj, localVarQueryParameter);
23656
24110
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23657
24111
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23658
- localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalEquipmentCommand, localVarRequestOptions, configuration)
23659
24112
 
23660
24113
  return {
23661
24114
  url: toPathString(localVarUrlObj),
@@ -23664,24 +24117,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23664
24117
  },
23665
24118
  /**
23666
24119
  *
23667
- * @summary Get all HospitalEquipments.
24120
+ * @summary Get all HospitalMedias.
23668
24121
  * @param {string} hospitalId
23669
24122
  * @param {string} [id]
23670
- * @param {string} [name]
23671
- * @param {string} [hospitalId2]
23672
- * @param {string} [hospitalName]
23673
- * @param {string} [description]
23674
- * @param {Date} [created]
24123
+ * @param {MediaType} [mediaType]
23675
24124
  * @param {number} [page]
23676
24125
  * @param {number} [limit]
23677
24126
  * @param {Date} [lastRetrieved]
23678
24127
  * @param {*} [options] Override http request option.
23679
24128
  * @throws {RequiredError}
23680
24129
  */
23681
- apiV1HospitalsHospitalIdEquipmentsGet: async (hospitalId: string, id?: string, name?: string, hospitalId2?: string, hospitalName?: string, description?: string, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24130
+ apiV1HospitalsHospitalIdMediasGet: async (hospitalId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23682
24131
  // verify required parameter 'hospitalId' is not null or undefined
23683
- assertParamExists('apiV1HospitalsHospitalIdEquipmentsGet', 'hospitalId', hospitalId)
23684
- const localVarPath = `/api/v1/hospitals/{hospitalId}/equipments`
24132
+ assertParamExists('apiV1HospitalsHospitalIdMediasGet', 'hospitalId', hospitalId)
24133
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/medias`
23685
24134
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
23686
24135
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23687
24136
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -23702,26 +24151,8 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23702
24151
  localVarQueryParameter['Id'] = id;
23703
24152
  }
23704
24153
 
23705
- if (name !== undefined) {
23706
- localVarQueryParameter['Name'] = name;
23707
- }
23708
-
23709
- if (hospitalId2 !== undefined) {
23710
- localVarQueryParameter['HospitalId'] = hospitalId2;
23711
- }
23712
-
23713
- if (hospitalName !== undefined) {
23714
- localVarQueryParameter['HospitalName'] = hospitalName;
23715
- }
23716
-
23717
- if (description !== undefined) {
23718
- localVarQueryParameter['Description'] = description;
23719
- }
23720
-
23721
- if (created !== undefined) {
23722
- localVarQueryParameter['Created'] = (created as any instanceof Date) ?
23723
- (created as any).toISOString() :
23724
- created;
24154
+ if (mediaType !== undefined) {
24155
+ localVarQueryParameter['MediaType'] = mediaType;
23725
24156
  }
23726
24157
 
23727
24158
  if (page !== undefined) {
@@ -23751,62 +24182,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23751
24182
  },
23752
24183
  /**
23753
24184
  *
23754
- * @summary Create HospitalEquipment.
23755
- * @param {string} hospitalId
23756
- * @param {CreateHospitalEquipmentCommand} [createHospitalEquipmentCommand]
23757
- * @param {*} [options] Override http request option.
23758
- * @throws {RequiredError}
23759
- */
23760
- apiV1HospitalsHospitalIdEquipmentsPost: async (hospitalId: string, createHospitalEquipmentCommand?: CreateHospitalEquipmentCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23761
- // verify required parameter 'hospitalId' is not null or undefined
23762
- assertParamExists('apiV1HospitalsHospitalIdEquipmentsPost', 'hospitalId', hospitalId)
23763
- const localVarPath = `/api/v1/hospitals/{hospitalId}/equipments`
23764
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
23765
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
23766
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23767
- let baseOptions;
23768
- if (configuration) {
23769
- baseOptions = configuration.baseOptions;
23770
- }
23771
-
23772
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
23773
- const localVarHeaderParameter = {} as any;
23774
- const localVarQueryParameter = {} as any;
23775
-
23776
- // authentication oauth2 required
23777
- // oauth required
23778
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23779
-
23780
-
23781
-
23782
- localVarHeaderParameter['Content-Type'] = 'application/json';
23783
-
23784
- setSearchParams(localVarUrlObj, localVarQueryParameter);
23785
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23786
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23787
- localVarRequestOptions.data = serializeDataIfNeeded(createHospitalEquipmentCommand, localVarRequestOptions, configuration)
23788
-
23789
- return {
23790
- url: toPathString(localVarUrlObj),
23791
- options: localVarRequestOptions,
23792
- };
23793
- },
23794
- /**
23795
- *
23796
- * @summary Delete HospitalEvaluation.
24185
+ * @summary Delete HospitalMedia
23797
24186
  * @param {string} hospitalId
23798
- * @param {string} evaluationId
24187
+ * @param {string} mediaId
23799
24188
  * @param {*} [options] Override http request option.
23800
24189
  * @throws {RequiredError}
23801
24190
  */
23802
- apiV1HospitalsHospitalIdEvaluationsEvaluationIdDelete: async (hospitalId: string, evaluationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24191
+ apiV1HospitalsHospitalIdMediasMediaIdDelete: async (hospitalId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23803
24192
  // verify required parameter 'hospitalId' is not null or undefined
23804
- assertParamExists('apiV1HospitalsHospitalIdEvaluationsEvaluationIdDelete', 'hospitalId', hospitalId)
23805
- // verify required parameter 'evaluationId' is not null or undefined
23806
- assertParamExists('apiV1HospitalsHospitalIdEvaluationsEvaluationIdDelete', 'evaluationId', evaluationId)
23807
- const localVarPath = `/api/v1/hospitals/{hospitalId}/evaluations/{evaluationId}`
24193
+ assertParamExists('apiV1HospitalsHospitalIdMediasMediaIdDelete', 'hospitalId', hospitalId)
24194
+ // verify required parameter 'mediaId' is not null or undefined
24195
+ assertParamExists('apiV1HospitalsHospitalIdMediasMediaIdDelete', 'mediaId', mediaId)
24196
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/medias/{mediaId}`
23808
24197
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
23809
- .replace(`{${"evaluationId"}}`, encodeURIComponent(String(evaluationId)));
24198
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
23810
24199
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23811
24200
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23812
24201
  let baseOptions;
@@ -23835,20 +24224,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23835
24224
  },
23836
24225
  /**
23837
24226
  *
23838
- * @summary Get HospitalEvaluation.
24227
+ * @summary Get HospitalMedia.
23839
24228
  * @param {string} hospitalId
23840
- * @param {string} evaluationId
24229
+ * @param {string} mediaId
23841
24230
  * @param {*} [options] Override http request option.
23842
24231
  * @throws {RequiredError}
23843
24232
  */
23844
- apiV1HospitalsHospitalIdEvaluationsEvaluationIdGet: async (hospitalId: string, evaluationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24233
+ apiV1HospitalsHospitalIdMediasMediaIdGet: async (hospitalId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23845
24234
  // verify required parameter 'hospitalId' is not null or undefined
23846
- assertParamExists('apiV1HospitalsHospitalIdEvaluationsEvaluationIdGet', 'hospitalId', hospitalId)
23847
- // verify required parameter 'evaluationId' is not null or undefined
23848
- assertParamExists('apiV1HospitalsHospitalIdEvaluationsEvaluationIdGet', 'evaluationId', evaluationId)
23849
- const localVarPath = `/api/v1/hospitals/{hospitalId}/evaluations/{evaluationId}`
24235
+ assertParamExists('apiV1HospitalsHospitalIdMediasMediaIdGet', 'hospitalId', hospitalId)
24236
+ // verify required parameter 'mediaId' is not null or undefined
24237
+ assertParamExists('apiV1HospitalsHospitalIdMediasMediaIdGet', 'mediaId', mediaId)
24238
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/medias/{mediaId}`
23850
24239
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
23851
- .replace(`{${"evaluationId"}}`, encodeURIComponent(String(evaluationId)));
24240
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
23852
24241
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23853
24242
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23854
24243
  let baseOptions;
@@ -23876,23 +24265,22 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23876
24265
  };
23877
24266
  },
23878
24267
  /**
23879
- *
23880
- * @summary Get all HospitalEvaluations.
23881
- * @param {string} hospitalId
23882
- * @param {string} [id]
23883
- * @param {string} [name]
23884
- * @param {number} [stars]
23885
- * @param {number} [page]
23886
- * @param {number} [limit]
23887
- * @param {Date} [lastRetrieved]
24268
+ *
24269
+ * @summary Update HospitalMedia.
24270
+ * @param {string} hospitalId
24271
+ * @param {string} mediaId
24272
+ * @param {UpdateMediaCommand} [updateMediaCommand]
23888
24273
  * @param {*} [options] Override http request option.
23889
24274
  * @throws {RequiredError}
23890
24275
  */
23891
- apiV1HospitalsHospitalIdEvaluationsGet: async (hospitalId: string, id?: string, name?: string, stars?: number, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24276
+ apiV1HospitalsHospitalIdMediasMediaIdPut: async (hospitalId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23892
24277
  // verify required parameter 'hospitalId' is not null or undefined
23893
- assertParamExists('apiV1HospitalsHospitalIdEvaluationsGet', 'hospitalId', hospitalId)
23894
- const localVarPath = `/api/v1/hospitals/{hospitalId}/evaluations`
23895
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
24278
+ assertParamExists('apiV1HospitalsHospitalIdMediasMediaIdPut', 'hospitalId', hospitalId)
24279
+ // verify required parameter 'mediaId' is not null or undefined
24280
+ assertParamExists('apiV1HospitalsHospitalIdMediasMediaIdPut', 'mediaId', mediaId)
24281
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/medias/{mediaId}`
24282
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
24283
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
23896
24284
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23897
24285
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23898
24286
  let baseOptions;
@@ -23900,7 +24288,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23900
24288
  baseOptions = configuration.baseOptions;
23901
24289
  }
23902
24290
 
23903
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
24291
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
23904
24292
  const localVarHeaderParameter = {} as any;
23905
24293
  const localVarQueryParameter = {} as any;
23906
24294
 
@@ -23908,37 +24296,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23908
24296
  // oauth required
23909
24297
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23910
24298
 
23911
- if (id !== undefined) {
23912
- localVarQueryParameter['Id'] = id;
23913
- }
23914
-
23915
- if (name !== undefined) {
23916
- localVarQueryParameter['Name'] = name;
23917
- }
23918
-
23919
- if (stars !== undefined) {
23920
- localVarQueryParameter['Stars'] = stars;
23921
- }
23922
-
23923
- if (page !== undefined) {
23924
- localVarQueryParameter['page'] = page;
23925
- }
23926
-
23927
- if (limit !== undefined) {
23928
- localVarQueryParameter['limit'] = limit;
23929
- }
23930
-
23931
- if (lastRetrieved !== undefined) {
23932
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
23933
- (lastRetrieved as any).toISOString() :
23934
- lastRetrieved;
23935
- }
23936
-
23937
24299
 
23938
24300
 
24301
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24302
+
23939
24303
  setSearchParams(localVarUrlObj, localVarQueryParameter);
23940
24304
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23941
24305
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24306
+ localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
23942
24307
 
23943
24308
  return {
23944
24309
  url: toPathString(localVarUrlObj),
@@ -23947,16 +24312,16 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23947
24312
  },
23948
24313
  /**
23949
24314
  *
23950
- * @summary Create HospitalEvaluation.
24315
+ * @summary Create HospitalMedia.
23951
24316
  * @param {string} hospitalId
23952
- * @param {CreateHospitalEvaluationCommand} [createHospitalEvaluationCommand]
24317
+ * @param {CreateMediaCommand} [createMediaCommand]
23953
24318
  * @param {*} [options] Override http request option.
23954
24319
  * @throws {RequiredError}
23955
24320
  */
23956
- apiV1HospitalsHospitalIdEvaluationsPost: async (hospitalId: string, createHospitalEvaluationCommand?: CreateHospitalEvaluationCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24321
+ apiV1HospitalsHospitalIdMediasPost: async (hospitalId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23957
24322
  // verify required parameter 'hospitalId' is not null or undefined
23958
- assertParamExists('apiV1HospitalsHospitalIdEvaluationsPost', 'hospitalId', hospitalId)
23959
- const localVarPath = `/api/v1/hospitals/{hospitalId}/evaluations`
24323
+ assertParamExists('apiV1HospitalsHospitalIdMediasPost', 'hospitalId', hospitalId)
24324
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/medias`
23960
24325
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
23961
24326
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23962
24327
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -23980,7 +24345,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23980
24345
  setSearchParams(localVarUrlObj, localVarQueryParameter);
23981
24346
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23982
24347
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23983
- localVarRequestOptions.data = serializeDataIfNeeded(createHospitalEvaluationCommand, localVarRequestOptions, configuration)
24348
+ localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
23984
24349
 
23985
24350
  return {
23986
24351
  url: toPathString(localVarUrlObj),
@@ -23989,15 +24354,15 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
23989
24354
  },
23990
24355
  /**
23991
24356
  *
23992
- * @summary Get Hospital.
24357
+ * @summary Update Hospital.
23993
24358
  * @param {string} hospitalId
23994
- * @param {string} [languageCode]
24359
+ * @param {UpdateHospitalCommand} [updateHospitalCommand]
23995
24360
  * @param {*} [options] Override http request option.
23996
24361
  * @throws {RequiredError}
23997
24362
  */
23998
- apiV1HospitalsHospitalIdGet: async (hospitalId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24363
+ apiV1HospitalsHospitalIdPut: async (hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23999
24364
  // verify required parameter 'hospitalId' is not null or undefined
24000
- assertParamExists('apiV1HospitalsHospitalIdGet', 'hospitalId', hospitalId)
24365
+ assertParamExists('apiV1HospitalsHospitalIdPut', 'hospitalId', hospitalId)
24001
24366
  const localVarPath = `/api/v1/hospitals/{hospitalId}`
24002
24367
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
24003
24368
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -24007,7 +24372,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24007
24372
  baseOptions = configuration.baseOptions;
24008
24373
  }
24009
24374
 
24010
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
24375
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
24011
24376
  const localVarHeaderParameter = {} as any;
24012
24377
  const localVarQueryParameter = {} as any;
24013
24378
 
@@ -24015,15 +24380,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24015
24380
  // oauth required
24016
24381
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24017
24382
 
24018
- if (languageCode !== undefined) {
24019
- localVarQueryParameter['languageCode'] = languageCode;
24020
- }
24021
-
24022
24383
 
24023
24384
 
24385
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24386
+
24024
24387
  setSearchParams(localVarUrlObj, localVarQueryParameter);
24025
24388
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24026
24389
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24390
+ localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalCommand, localVarRequestOptions, configuration)
24027
24391
 
24028
24392
  return {
24029
24393
  url: toPathString(localVarUrlObj),
@@ -24032,20 +24396,25 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24032
24396
  },
24033
24397
  /**
24034
24398
  *
24035
- * @summary Get all HospitalMedias.
24399
+ * @summary Get all HospitalSpecialties.
24036
24400
  * @param {string} hospitalId
24037
- * @param {string} [id]
24038
- * @param {MediaType} [mediaType]
24401
+ * @param {string} [hospitalName]
24402
+ * @param {string} [hospitalSlug]
24403
+ * @param {string} [specialtyId]
24404
+ * @param {string} [specialtyName]
24405
+ * @param {string} [specialtyTypeId]
24406
+ * @param {MarketingType} [marketingType]
24407
+ * @param {Date} [created]
24039
24408
  * @param {number} [page]
24040
24409
  * @param {number} [limit]
24041
24410
  * @param {Date} [lastRetrieved]
24042
24411
  * @param {*} [options] Override http request option.
24043
24412
  * @throws {RequiredError}
24044
24413
  */
24045
- apiV1HospitalsHospitalIdMediasGet: async (hospitalId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24414
+ apiV1HospitalsHospitalIdSpecialtiesGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24046
24415
  // verify required parameter 'hospitalId' is not null or undefined
24047
- assertParamExists('apiV1HospitalsHospitalIdMediasGet', 'hospitalId', hospitalId)
24048
- const localVarPath = `/api/v1/hospitals/{hospitalId}/medias`
24416
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesGet', 'hospitalId', hospitalId)
24417
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties`
24049
24418
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
24050
24419
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
24051
24420
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -24062,12 +24431,34 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24062
24431
  // oauth required
24063
24432
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24064
24433
 
24065
- if (id !== undefined) {
24066
- localVarQueryParameter['Id'] = id;
24434
+ if (hospitalName !== undefined) {
24435
+ localVarQueryParameter['HospitalName'] = hospitalName;
24067
24436
  }
24068
24437
 
24069
- if (mediaType !== undefined) {
24070
- localVarQueryParameter['MediaType'] = mediaType;
24438
+ if (hospitalSlug !== undefined) {
24439
+ localVarQueryParameter['HospitalSlug'] = hospitalSlug;
24440
+ }
24441
+
24442
+ if (specialtyId !== undefined) {
24443
+ localVarQueryParameter['SpecialtyId'] = specialtyId;
24444
+ }
24445
+
24446
+ if (specialtyName !== undefined) {
24447
+ localVarQueryParameter['SpecialtyName'] = specialtyName;
24448
+ }
24449
+
24450
+ if (specialtyTypeId !== undefined) {
24451
+ localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
24452
+ }
24453
+
24454
+ if (marketingType !== undefined) {
24455
+ localVarQueryParameter['MarketingType'] = marketingType;
24456
+ }
24457
+
24458
+ if (created !== undefined) {
24459
+ localVarQueryParameter['Created'] = (created as any instanceof Date) ?
24460
+ (created as any).toISOString() :
24461
+ created;
24071
24462
  }
24072
24463
 
24073
24464
  if (page !== undefined) {
@@ -24097,20 +24488,17 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24097
24488
  },
24098
24489
  /**
24099
24490
  *
24100
- * @summary Delete HospitalMedia
24491
+ * @summary Create HospitalSpecialty.
24101
24492
  * @param {string} hospitalId
24102
- * @param {string} mediaId
24493
+ * @param {CreateHospitalSpecialtyCommand} [createHospitalSpecialtyCommand]
24103
24494
  * @param {*} [options] Override http request option.
24104
24495
  * @throws {RequiredError}
24105
24496
  */
24106
- apiV1HospitalsHospitalIdMediasMediaIdDelete: async (hospitalId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24497
+ apiV1HospitalsHospitalIdSpecialtiesPost: async (hospitalId: string, createHospitalSpecialtyCommand?: CreateHospitalSpecialtyCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24107
24498
  // verify required parameter 'hospitalId' is not null or undefined
24108
- assertParamExists('apiV1HospitalsHospitalIdMediasMediaIdDelete', 'hospitalId', hospitalId)
24109
- // verify required parameter 'mediaId' is not null or undefined
24110
- assertParamExists('apiV1HospitalsHospitalIdMediasMediaIdDelete', 'mediaId', mediaId)
24111
- const localVarPath = `/api/v1/hospitals/{hospitalId}/medias/{mediaId}`
24112
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
24113
- .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
24499
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesPost', 'hospitalId', hospitalId)
24500
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties`
24501
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
24114
24502
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
24115
24503
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24116
24504
  let baseOptions;
@@ -24118,7 +24506,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24118
24506
  baseOptions = configuration.baseOptions;
24119
24507
  }
24120
24508
 
24121
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
24509
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
24122
24510
  const localVarHeaderParameter = {} as any;
24123
24511
  const localVarQueryParameter = {} as any;
24124
24512
 
@@ -24128,51 +24516,12 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24128
24516
 
24129
24517
 
24130
24518
 
24131
- setSearchParams(localVarUrlObj, localVarQueryParameter);
24132
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24133
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24134
-
24135
- return {
24136
- url: toPathString(localVarUrlObj),
24137
- options: localVarRequestOptions,
24138
- };
24139
- },
24140
- /**
24141
- *
24142
- * @summary Get HospitalMedia.
24143
- * @param {string} hospitalId
24144
- * @param {string} mediaId
24145
- * @param {*} [options] Override http request option.
24146
- * @throws {RequiredError}
24147
- */
24148
- apiV1HospitalsHospitalIdMediasMediaIdGet: async (hospitalId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24149
- // verify required parameter 'hospitalId' is not null or undefined
24150
- assertParamExists('apiV1HospitalsHospitalIdMediasMediaIdGet', 'hospitalId', hospitalId)
24151
- // verify required parameter 'mediaId' is not null or undefined
24152
- assertParamExists('apiV1HospitalsHospitalIdMediasMediaIdGet', 'mediaId', mediaId)
24153
- const localVarPath = `/api/v1/hospitals/{hospitalId}/medias/{mediaId}`
24154
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
24155
- .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
24156
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
24157
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24158
- let baseOptions;
24159
- if (configuration) {
24160
- baseOptions = configuration.baseOptions;
24161
- }
24162
-
24163
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
24164
- const localVarHeaderParameter = {} as any;
24165
- const localVarQueryParameter = {} as any;
24166
-
24167
- // authentication oauth2 required
24168
- // oauth required
24169
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24170
-
24519
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24171
24520
 
24172
-
24173
24521
  setSearchParams(localVarUrlObj, localVarQueryParameter);
24174
24522
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24175
24523
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24524
+ localVarRequestOptions.data = serializeDataIfNeeded(createHospitalSpecialtyCommand, localVarRequestOptions, configuration)
24176
24525
 
24177
24526
  return {
24178
24527
  url: toPathString(localVarUrlObj),
@@ -24181,21 +24530,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24181
24530
  },
24182
24531
  /**
24183
24532
  *
24184
- * @summary Update HospitalMedia.
24533
+ * @summary Delete HospitalSpecialty.
24185
24534
  * @param {string} hospitalId
24186
- * @param {string} mediaId
24187
- * @param {UpdateMediaCommand} [updateMediaCommand]
24535
+ * @param {string} specialtyId
24188
24536
  * @param {*} [options] Override http request option.
24189
24537
  * @throws {RequiredError}
24190
24538
  */
24191
- apiV1HospitalsHospitalIdMediasMediaIdPut: async (hospitalId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24539
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete: async (hospitalId: string, specialtyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24192
24540
  // verify required parameter 'hospitalId' is not null or undefined
24193
- assertParamExists('apiV1HospitalsHospitalIdMediasMediaIdPut', 'hospitalId', hospitalId)
24194
- // verify required parameter 'mediaId' is not null or undefined
24195
- assertParamExists('apiV1HospitalsHospitalIdMediasMediaIdPut', 'mediaId', mediaId)
24196
- const localVarPath = `/api/v1/hospitals/{hospitalId}/medias/{mediaId}`
24541
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete', 'hospitalId', hospitalId)
24542
+ // verify required parameter 'specialtyId' is not null or undefined
24543
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete', 'specialtyId', specialtyId)
24544
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}`
24197
24545
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
24198
- .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
24546
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
24199
24547
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
24200
24548
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24201
24549
  let baseOptions;
@@ -24203,7 +24551,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24203
24551
  baseOptions = configuration.baseOptions;
24204
24552
  }
24205
24553
 
24206
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
24554
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
24207
24555
  const localVarHeaderParameter = {} as any;
24208
24556
  const localVarQueryParameter = {} as any;
24209
24557
 
@@ -24213,12 +24561,9 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24213
24561
 
24214
24562
 
24215
24563
 
24216
- localVarHeaderParameter['Content-Type'] = 'application/json';
24217
-
24218
24564
  setSearchParams(localVarUrlObj, localVarQueryParameter);
24219
24565
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24220
24566
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24221
- localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
24222
24567
 
24223
24568
  return {
24224
24569
  url: toPathString(localVarUrlObj),
@@ -24227,17 +24572,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24227
24572
  },
24228
24573
  /**
24229
24574
  *
24230
- * @summary Create HospitalMedia.
24575
+ * @summary Get HospitalSpecialty.
24231
24576
  * @param {string} hospitalId
24232
- * @param {CreateMediaCommand} [createMediaCommand]
24577
+ * @param {string} specialtyId
24233
24578
  * @param {*} [options] Override http request option.
24234
24579
  * @throws {RequiredError}
24235
24580
  */
24236
- apiV1HospitalsHospitalIdMediasPost: async (hospitalId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24581
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: async (hospitalId: string, specialtyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24237
24582
  // verify required parameter 'hospitalId' is not null or undefined
24238
- assertParamExists('apiV1HospitalsHospitalIdMediasPost', 'hospitalId', hospitalId)
24239
- const localVarPath = `/api/v1/hospitals/{hospitalId}/medias`
24240
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
24583
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet', 'hospitalId', hospitalId)
24584
+ // verify required parameter 'specialtyId' is not null or undefined
24585
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet', 'specialtyId', specialtyId)
24586
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}`
24587
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
24588
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
24241
24589
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
24242
24590
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24243
24591
  let baseOptions;
@@ -24245,7 +24593,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24245
24593
  baseOptions = configuration.baseOptions;
24246
24594
  }
24247
24595
 
24248
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
24596
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
24249
24597
  const localVarHeaderParameter = {} as any;
24250
24598
  const localVarQueryParameter = {} as any;
24251
24599
 
@@ -24255,12 +24603,9 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24255
24603
 
24256
24604
 
24257
24605
 
24258
- localVarHeaderParameter['Content-Type'] = 'application/json';
24259
-
24260
24606
  setSearchParams(localVarUrlObj, localVarQueryParameter);
24261
24607
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24262
24608
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24263
- localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
24264
24609
 
24265
24610
  return {
24266
24611
  url: toPathString(localVarUrlObj),
@@ -24269,17 +24614,21 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24269
24614
  },
24270
24615
  /**
24271
24616
  *
24272
- * @summary Update Hospital.
24617
+ * @summary Update HospitalSpecialty.
24273
24618
  * @param {string} hospitalId
24274
- * @param {UpdateHospitalCommand} [updateHospitalCommand]
24619
+ * @param {string} specialtyId
24620
+ * @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
24275
24621
  * @param {*} [options] Override http request option.
24276
24622
  * @throws {RequiredError}
24277
24623
  */
24278
- apiV1HospitalsHospitalIdPut: async (hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24624
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut: async (hospitalId: string, specialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24279
24625
  // verify required parameter 'hospitalId' is not null or undefined
24280
- assertParamExists('apiV1HospitalsHospitalIdPut', 'hospitalId', hospitalId)
24281
- const localVarPath = `/api/v1/hospitals/{hospitalId}`
24282
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
24626
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut', 'hospitalId', hospitalId)
24627
+ // verify required parameter 'specialtyId' is not null or undefined
24628
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut', 'specialtyId', specialtyId)
24629
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}`
24630
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
24631
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
24283
24632
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
24284
24633
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24285
24634
  let baseOptions;
@@ -24302,7 +24651,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24302
24651
  setSearchParams(localVarUrlObj, localVarQueryParameter);
24303
24652
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24304
24653
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24305
- localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalCommand, localVarRequestOptions, configuration)
24654
+ localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalSpecialtyCommand, localVarRequestOptions, configuration)
24306
24655
 
24307
24656
  return {
24308
24657
  url: toPathString(localVarUrlObj),
@@ -24313,14 +24662,16 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24313
24662
  *
24314
24663
  * @summary Get all HospitalServices.
24315
24664
  * @param {string} hospitalId
24665
+ * @param {string} specialtyId
24316
24666
  * @param {string} [hospitalName]
24317
24667
  * @param {string} [hospitalSlug]
24318
24668
  * @param {string} [id]
24319
24669
  * @param {string} [name]
24320
24670
  * @param {string} [description]
24321
- * @param {string} [specialtyId]
24671
+ * @param {string} [specialtyName]
24322
24672
  * @param {string} [specialtyTypeId]
24323
24673
  * @param {string} [specialtyTypeName]
24674
+ * @param {string} [serviceCategoryId]
24324
24675
  * @param {MarketingType} [marketingType]
24325
24676
  * @param {Procedure} [procedure]
24326
24677
  * @param {Date} [created]
@@ -24331,11 +24682,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24331
24682
  * @param {*} [options] Override http request option.
24332
24683
  * @throws {RequiredError}
24333
24684
  */
24334
- apiV1HospitalsHospitalIdServicesGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyTypeId?: string, specialtyTypeName?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24685
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: async (hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24335
24686
  // verify required parameter 'hospitalId' is not null or undefined
24336
- assertParamExists('apiV1HospitalsHospitalIdServicesGet', 'hospitalId', hospitalId)
24337
- const localVarPath = `/api/v1/hospitals/{hospitalId}/services`
24338
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
24687
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet', 'hospitalId', hospitalId)
24688
+ // verify required parameter 'specialtyId' is not null or undefined
24689
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet', 'specialtyId', specialtyId)
24690
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services`
24691
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
24692
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
24339
24693
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
24340
24694
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24341
24695
  let baseOptions;
@@ -24371,8 +24725,8 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24371
24725
  localVarQueryParameter['Description'] = description;
24372
24726
  }
24373
24727
 
24374
- if (specialtyId !== undefined) {
24375
- localVarQueryParameter['SpecialtyId'] = specialtyId;
24728
+ if (specialtyName !== undefined) {
24729
+ localVarQueryParameter['SpecialtyName'] = specialtyName;
24376
24730
  }
24377
24731
 
24378
24732
  if (specialtyTypeId !== undefined) {
@@ -24383,6 +24737,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24383
24737
  localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
24384
24738
  }
24385
24739
 
24740
+ if (serviceCategoryId !== undefined) {
24741
+ localVarQueryParameter['ServiceCategoryId'] = serviceCategoryId;
24742
+ }
24743
+
24386
24744
  if (marketingType !== undefined) {
24387
24745
  localVarQueryParameter['MarketingType'] = marketingType;
24388
24746
  }
@@ -24430,15 +24788,19 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24430
24788
  *
24431
24789
  * @summary Create HospitalService.
24432
24790
  * @param {string} hospitalId
24791
+ * @param {string} specialtyId
24433
24792
  * @param {CreateHospitalServiceCommand} [createHospitalServiceCommand]
24434
24793
  * @param {*} [options] Override http request option.
24435
24794
  * @throws {RequiredError}
24436
24795
  */
24437
- apiV1HospitalsHospitalIdServicesPost: async (hospitalId: string, createHospitalServiceCommand?: CreateHospitalServiceCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24796
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost: async (hospitalId: string, specialtyId: string, createHospitalServiceCommand?: CreateHospitalServiceCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24438
24797
  // verify required parameter 'hospitalId' is not null or undefined
24439
- assertParamExists('apiV1HospitalsHospitalIdServicesPost', 'hospitalId', hospitalId)
24440
- const localVarPath = `/api/v1/hospitals/{hospitalId}/services`
24441
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
24798
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost', 'hospitalId', hospitalId)
24799
+ // verify required parameter 'specialtyId' is not null or undefined
24800
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost', 'specialtyId', specialtyId)
24801
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services`
24802
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
24803
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
24442
24804
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
24443
24805
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24444
24806
  let baseOptions;
@@ -24472,17 +24834,21 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24472
24834
  *
24473
24835
  * @summary Delete HospitalService
24474
24836
  * @param {string} hospitalId
24837
+ * @param {string} specialtyId
24475
24838
  * @param {string} serviceId
24476
24839
  * @param {*} [options] Override http request option.
24477
24840
  * @throws {RequiredError}
24478
24841
  */
24479
- apiV1HospitalsHospitalIdServicesServiceIdDelete: async (hospitalId: string, serviceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24842
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete: async (hospitalId: string, specialtyId: string, serviceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24480
24843
  // verify required parameter 'hospitalId' is not null or undefined
24481
- assertParamExists('apiV1HospitalsHospitalIdServicesServiceIdDelete', 'hospitalId', hospitalId)
24844
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete', 'hospitalId', hospitalId)
24845
+ // verify required parameter 'specialtyId' is not null or undefined
24846
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete', 'specialtyId', specialtyId)
24482
24847
  // verify required parameter 'serviceId' is not null or undefined
24483
- assertParamExists('apiV1HospitalsHospitalIdServicesServiceIdDelete', 'serviceId', serviceId)
24484
- const localVarPath = `/api/v1/hospitals/{hospitalId}/services/{serviceId}`
24848
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete', 'serviceId', serviceId)
24849
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}`
24485
24850
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
24851
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
24486
24852
  .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
24487
24853
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
24488
24854
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -24514,18 +24880,22 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24514
24880
  *
24515
24881
  * @summary Get HospitalService.
24516
24882
  * @param {string} hospitalId
24883
+ * @param {string} specialtyId
24517
24884
  * @param {string} serviceId
24518
24885
  * @param {string} [languageCode]
24519
24886
  * @param {*} [options] Override http request option.
24520
24887
  * @throws {RequiredError}
24521
24888
  */
24522
- apiV1HospitalsHospitalIdServicesServiceIdGet: async (hospitalId: string, serviceId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24889
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: async (hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24523
24890
  // verify required parameter 'hospitalId' is not null or undefined
24524
- assertParamExists('apiV1HospitalsHospitalIdServicesServiceIdGet', 'hospitalId', hospitalId)
24891
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet', 'hospitalId', hospitalId)
24892
+ // verify required parameter 'specialtyId' is not null or undefined
24893
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet', 'specialtyId', specialtyId)
24525
24894
  // verify required parameter 'serviceId' is not null or undefined
24526
- assertParamExists('apiV1HospitalsHospitalIdServicesServiceIdGet', 'serviceId', serviceId)
24527
- const localVarPath = `/api/v1/hospitals/{hospitalId}/services/{serviceId}`
24895
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet', 'serviceId', serviceId)
24896
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}`
24528
24897
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
24898
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
24529
24899
  .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
24530
24900
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
24531
24901
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -24559,20 +24929,28 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24559
24929
  },
24560
24930
  /**
24561
24931
  *
24562
- * @summary Update HospitalService.
24932
+ * @summary Get all HospitalServiceMedias.
24563
24933
  * @param {string} hospitalId
24934
+ * @param {string} specialtyId
24564
24935
  * @param {string} serviceId
24565
- * @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
24936
+ * @param {string} [id]
24937
+ * @param {MediaType} [mediaType]
24938
+ * @param {number} [page]
24939
+ * @param {number} [limit]
24940
+ * @param {Date} [lastRetrieved]
24566
24941
  * @param {*} [options] Override http request option.
24567
24942
  * @throws {RequiredError}
24568
24943
  */
24569
- apiV1HospitalsHospitalIdServicesServiceIdPut: async (hospitalId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24944
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet: async (hospitalId: string, specialtyId: string, serviceId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24570
24945
  // verify required parameter 'hospitalId' is not null or undefined
24571
- assertParamExists('apiV1HospitalsHospitalIdServicesServiceIdPut', 'hospitalId', hospitalId)
24946
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet', 'hospitalId', hospitalId)
24947
+ // verify required parameter 'specialtyId' is not null or undefined
24948
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet', 'specialtyId', specialtyId)
24572
24949
  // verify required parameter 'serviceId' is not null or undefined
24573
- assertParamExists('apiV1HospitalsHospitalIdServicesServiceIdPut', 'serviceId', serviceId)
24574
- const localVarPath = `/api/v1/hospitals/{hospitalId}/services/{serviceId}`
24950
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet', 'serviceId', serviceId)
24951
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias`
24575
24952
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
24953
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
24576
24954
  .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
24577
24955
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
24578
24956
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -24581,7 +24959,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24581
24959
  baseOptions = configuration.baseOptions;
24582
24960
  }
24583
24961
 
24584
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
24962
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
24585
24963
  const localVarHeaderParameter = {} as any;
24586
24964
  const localVarQueryParameter = {} as any;
24587
24965
 
@@ -24589,14 +24967,33 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24589
24967
  // oauth required
24590
24968
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24591
24969
 
24970
+ if (id !== undefined) {
24971
+ localVarQueryParameter['Id'] = id;
24972
+ }
24973
+
24974
+ if (mediaType !== undefined) {
24975
+ localVarQueryParameter['MediaType'] = mediaType;
24976
+ }
24977
+
24978
+ if (page !== undefined) {
24979
+ localVarQueryParameter['page'] = page;
24980
+ }
24981
+
24982
+ if (limit !== undefined) {
24983
+ localVarQueryParameter['limit'] = limit;
24984
+ }
24985
+
24986
+ if (lastRetrieved !== undefined) {
24987
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
24988
+ (lastRetrieved as any).toISOString() :
24989
+ lastRetrieved;
24990
+ }
24592
24991
 
24593
-
24594
- localVarHeaderParameter['Content-Type'] = 'application/json';
24595
24992
 
24993
+
24596
24994
  setSearchParams(localVarUrlObj, localVarQueryParameter);
24597
24995
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24598
24996
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24599
- localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalServiceCommand, localVarRequestOptions, configuration)
24600
24997
 
24601
24998
  return {
24602
24999
  url: toPathString(localVarUrlObj),
@@ -24605,26 +25002,28 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24605
25002
  },
24606
25003
  /**
24607
25004
  *
24608
- * @summary Get all HospitalSpecialties.
25005
+ * @summary Delete HospitalServiceMedia
24609
25006
  * @param {string} hospitalId
24610
- * @param {string} [hospitalName]
24611
- * @param {string} [hospitalSlug]
24612
- * @param {string} [specialtyId]
24613
- * @param {string} [specialtyName]
24614
- * @param {string} [specialtyTypeId]
24615
- * @param {MarketingType} [marketingType]
24616
- * @param {Date} [created]
24617
- * @param {number} [page]
24618
- * @param {number} [limit]
24619
- * @param {Date} [lastRetrieved]
25007
+ * @param {string} specialtyId
25008
+ * @param {string} serviceId
25009
+ * @param {string} mediaId
24620
25010
  * @param {*} [options] Override http request option.
24621
25011
  * @throws {RequiredError}
24622
25012
  */
24623
- apiV1HospitalsHospitalIdSpecialtiesGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25013
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete: async (hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24624
25014
  // verify required parameter 'hospitalId' is not null or undefined
24625
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesGet', 'hospitalId', hospitalId)
24626
- const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties`
24627
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
25015
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete', 'hospitalId', hospitalId)
25016
+ // verify required parameter 'specialtyId' is not null or undefined
25017
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete', 'specialtyId', specialtyId)
25018
+ // verify required parameter 'serviceId' is not null or undefined
25019
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete', 'serviceId', serviceId)
25020
+ // verify required parameter 'mediaId' is not null or undefined
25021
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete', 'mediaId', mediaId)
25022
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias/{mediaId}`
25023
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
25024
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
25025
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
25026
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
24628
25027
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
24629
25028
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24630
25029
  let baseOptions;
@@ -24632,7 +25031,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24632
25031
  baseOptions = configuration.baseOptions;
24633
25032
  }
24634
25033
 
24635
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
25034
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
24636
25035
  const localVarHeaderParameter = {} as any;
24637
25036
  const localVarQueryParameter = {} as any;
24638
25037
 
@@ -24640,50 +25039,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24640
25039
  // oauth required
24641
25040
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24642
25041
 
24643
- if (hospitalName !== undefined) {
24644
- localVarQueryParameter['HospitalName'] = hospitalName;
24645
- }
24646
-
24647
- if (hospitalSlug !== undefined) {
24648
- localVarQueryParameter['HospitalSlug'] = hospitalSlug;
24649
- }
24650
-
24651
- if (specialtyId !== undefined) {
24652
- localVarQueryParameter['SpecialtyId'] = specialtyId;
24653
- }
24654
-
24655
- if (specialtyName !== undefined) {
24656
- localVarQueryParameter['SpecialtyName'] = specialtyName;
24657
- }
24658
-
24659
- if (specialtyTypeId !== undefined) {
24660
- localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
24661
- }
24662
-
24663
- if (marketingType !== undefined) {
24664
- localVarQueryParameter['MarketingType'] = marketingType;
24665
- }
24666
-
24667
- if (created !== undefined) {
24668
- localVarQueryParameter['Created'] = (created as any instanceof Date) ?
24669
- (created as any).toISOString() :
24670
- created;
24671
- }
24672
-
24673
- if (page !== undefined) {
24674
- localVarQueryParameter['page'] = page;
24675
- }
24676
-
24677
- if (limit !== undefined) {
24678
- localVarQueryParameter['limit'] = limit;
24679
- }
24680
-
24681
- if (lastRetrieved !== undefined) {
24682
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
24683
- (lastRetrieved as any).toISOString() :
24684
- lastRetrieved;
24685
- }
24686
-
24687
25042
 
24688
25043
 
24689
25044
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -24697,17 +25052,28 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24697
25052
  },
24698
25053
  /**
24699
25054
  *
24700
- * @summary Create HospitalSpecialty.
25055
+ * @summary Get HospitalServiceMedia.
24701
25056
  * @param {string} hospitalId
24702
- * @param {CreateHospitalSpecialtyCommand} [createHospitalSpecialtyCommand]
25057
+ * @param {string} specialtyId
25058
+ * @param {string} serviceId
25059
+ * @param {string} mediaId
24703
25060
  * @param {*} [options] Override http request option.
24704
25061
  * @throws {RequiredError}
24705
25062
  */
24706
- apiV1HospitalsHospitalIdSpecialtiesPost: async (hospitalId: string, createHospitalSpecialtyCommand?: CreateHospitalSpecialtyCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25063
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet: async (hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24707
25064
  // verify required parameter 'hospitalId' is not null or undefined
24708
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesPost', 'hospitalId', hospitalId)
24709
- const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties`
24710
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
25065
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet', 'hospitalId', hospitalId)
25066
+ // verify required parameter 'specialtyId' is not null or undefined
25067
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet', 'specialtyId', specialtyId)
25068
+ // verify required parameter 'serviceId' is not null or undefined
25069
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet', 'serviceId', serviceId)
25070
+ // verify required parameter 'mediaId' is not null or undefined
25071
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet', 'mediaId', mediaId)
25072
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias/{mediaId}`
25073
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
25074
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
25075
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
25076
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
24711
25077
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
24712
25078
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24713
25079
  let baseOptions;
@@ -24715,7 +25081,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24715
25081
  baseOptions = configuration.baseOptions;
24716
25082
  }
24717
25083
 
24718
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
25084
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
24719
25085
  const localVarHeaderParameter = {} as any;
24720
25086
  const localVarQueryParameter = {} as any;
24721
25087
 
@@ -24725,12 +25091,9 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24725
25091
 
24726
25092
 
24727
25093
 
24728
- localVarHeaderParameter['Content-Type'] = 'application/json';
24729
-
24730
25094
  setSearchParams(localVarUrlObj, localVarQueryParameter);
24731
25095
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24732
25096
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24733
- localVarRequestOptions.data = serializeDataIfNeeded(createHospitalSpecialtyCommand, localVarRequestOptions, configuration)
24734
25097
 
24735
25098
  return {
24736
25099
  url: toPathString(localVarUrlObj),
@@ -24739,20 +25102,29 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24739
25102
  },
24740
25103
  /**
24741
25104
  *
24742
- * @summary Delete HospitalSpecialty.
25105
+ * @summary Update HospitalServiceMedia.
24743
25106
  * @param {string} hospitalId
24744
25107
  * @param {string} specialtyId
25108
+ * @param {string} serviceId
25109
+ * @param {string} mediaId
25110
+ * @param {UpdateMediaCommand} [updateMediaCommand]
24745
25111
  * @param {*} [options] Override http request option.
24746
25112
  * @throws {RequiredError}
24747
25113
  */
24748
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete: async (hospitalId: string, specialtyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25114
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut: async (hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24749
25115
  // verify required parameter 'hospitalId' is not null or undefined
24750
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete', 'hospitalId', hospitalId)
25116
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'hospitalId', hospitalId)
24751
25117
  // verify required parameter 'specialtyId' is not null or undefined
24752
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete', 'specialtyId', specialtyId)
24753
- const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}`
25118
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'specialtyId', specialtyId)
25119
+ // verify required parameter 'serviceId' is not null or undefined
25120
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'serviceId', serviceId)
25121
+ // verify required parameter 'mediaId' is not null or undefined
25122
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'mediaId', mediaId)
25123
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias/{mediaId}`
24754
25124
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
24755
- .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
25125
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
25126
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
25127
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
24756
25128
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
24757
25129
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24758
25130
  let baseOptions;
@@ -24760,7 +25132,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24760
25132
  baseOptions = configuration.baseOptions;
24761
25133
  }
24762
25134
 
24763
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
25135
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
24764
25136
  const localVarHeaderParameter = {} as any;
24765
25137
  const localVarQueryParameter = {} as any;
24766
25138
 
@@ -24770,9 +25142,12 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24770
25142
 
24771
25143
 
24772
25144
 
25145
+ localVarHeaderParameter['Content-Type'] = 'application/json';
25146
+
24773
25147
  setSearchParams(localVarUrlObj, localVarQueryParameter);
24774
25148
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24775
25149
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
25150
+ localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
24776
25151
 
24777
25152
  return {
24778
25153
  url: toPathString(localVarUrlObj),
@@ -24781,20 +25156,25 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24781
25156
  },
24782
25157
  /**
24783
25158
  *
24784
- * @summary Get HospitalSpecialty.
25159
+ * @summary Create HospitalServiceMedia.
24785
25160
  * @param {string} hospitalId
24786
25161
  * @param {string} specialtyId
25162
+ * @param {string} serviceId
25163
+ * @param {CreateMediaCommand} [createMediaCommand]
24787
25164
  * @param {*} [options] Override http request option.
24788
25165
  * @throws {RequiredError}
24789
25166
  */
24790
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: async (hospitalId: string, specialtyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25167
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost: async (hospitalId: string, specialtyId: string, serviceId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24791
25168
  // verify required parameter 'hospitalId' is not null or undefined
24792
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet', 'hospitalId', hospitalId)
25169
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'hospitalId', hospitalId)
24793
25170
  // verify required parameter 'specialtyId' is not null or undefined
24794
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet', 'specialtyId', specialtyId)
24795
- const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}`
25171
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'specialtyId', specialtyId)
25172
+ // verify required parameter 'serviceId' is not null or undefined
25173
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'serviceId', serviceId)
25174
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias`
24796
25175
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
24797
- .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
25176
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
25177
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
24798
25178
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
24799
25179
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24800
25180
  let baseOptions;
@@ -24802,7 +25182,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24802
25182
  baseOptions = configuration.baseOptions;
24803
25183
  }
24804
25184
 
24805
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
25185
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
24806
25186
  const localVarHeaderParameter = {} as any;
24807
25187
  const localVarQueryParameter = {} as any;
24808
25188
 
@@ -24812,9 +25192,12 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24812
25192
 
24813
25193
 
24814
25194
 
25195
+ localVarHeaderParameter['Content-Type'] = 'application/json';
25196
+
24815
25197
  setSearchParams(localVarUrlObj, localVarQueryParameter);
24816
25198
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24817
25199
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
25200
+ localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
24818
25201
 
24819
25202
  return {
24820
25203
  url: toPathString(localVarUrlObj),
@@ -24823,21 +25206,25 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24823
25206
  },
24824
25207
  /**
24825
25208
  *
24826
- * @summary Update HospitalSpecialty.
25209
+ * @summary Update HospitalService.
24827
25210
  * @param {string} hospitalId
24828
25211
  * @param {string} specialtyId
24829
- * @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
25212
+ * @param {string} serviceId
25213
+ * @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
24830
25214
  * @param {*} [options] Override http request option.
24831
25215
  * @throws {RequiredError}
24832
25216
  */
24833
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut: async (hospitalId: string, specialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25217
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut: async (hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24834
25218
  // verify required parameter 'hospitalId' is not null or undefined
24835
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut', 'hospitalId', hospitalId)
25219
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'hospitalId', hospitalId)
24836
25220
  // verify required parameter 'specialtyId' is not null or undefined
24837
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut', 'specialtyId', specialtyId)
24838
- const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}`
25221
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'specialtyId', specialtyId)
25222
+ // verify required parameter 'serviceId' is not null or undefined
25223
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'serviceId', serviceId)
25224
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}`
24839
25225
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
24840
- .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
25226
+ .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
25227
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
24841
25228
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
24842
25229
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24843
25230
  let baseOptions;
@@ -24860,7 +25247,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
24860
25247
  setSearchParams(localVarUrlObj, localVarQueryParameter);
24861
25248
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24862
25249
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24863
- localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalSpecialtyCommand, localVarRequestOptions, configuration)
25250
+ localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalServiceCommand, localVarRequestOptions, configuration)
24864
25251
 
24865
25252
  return {
24866
25253
  url: toPathString(localVarUrlObj),
@@ -25313,34 +25700,106 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
25313
25700
  * @param {*} [options] Override http request option.
25314
25701
  * @throws {RequiredError}
25315
25702
  */
25316
- async apiV1HospitalsHospitalIdMediasPost(hospitalId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
25317
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdMediasPost(hospitalId, createMediaCommand, options);
25703
+ async apiV1HospitalsHospitalIdMediasPost(hospitalId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
25704
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdMediasPost(hospitalId, createMediaCommand, options);
25705
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25706
+ },
25707
+ /**
25708
+ *
25709
+ * @summary Update Hospital.
25710
+ * @param {string} hospitalId
25711
+ * @param {UpdateHospitalCommand} [updateHospitalCommand]
25712
+ * @param {*} [options] Override http request option.
25713
+ * @throws {RequiredError}
25714
+ */
25715
+ async apiV1HospitalsHospitalIdPut(hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
25716
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options);
25717
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25718
+ },
25719
+ /**
25720
+ *
25721
+ * @summary Get all HospitalSpecialties.
25722
+ * @param {string} hospitalId
25723
+ * @param {string} [hospitalName]
25724
+ * @param {string} [hospitalSlug]
25725
+ * @param {string} [specialtyId]
25726
+ * @param {string} [specialtyName]
25727
+ * @param {string} [specialtyTypeId]
25728
+ * @param {MarketingType} [marketingType]
25729
+ * @param {Date} [created]
25730
+ * @param {number} [page]
25731
+ * @param {number} [limit]
25732
+ * @param {Date} [lastRetrieved]
25733
+ * @param {*} [options] Override http request option.
25734
+ * @throws {RequiredError}
25735
+ */
25736
+ async apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesModel>> {
25737
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options);
25738
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25739
+ },
25740
+ /**
25741
+ *
25742
+ * @summary Create HospitalSpecialty.
25743
+ * @param {string} hospitalId
25744
+ * @param {CreateHospitalSpecialtyCommand} [createHospitalSpecialtyCommand]
25745
+ * @param {*} [options] Override http request option.
25746
+ * @throws {RequiredError}
25747
+ */
25748
+ async apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId: string, createHospitalSpecialtyCommand?: CreateHospitalSpecialtyCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
25749
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId, createHospitalSpecialtyCommand, options);
25750
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25751
+ },
25752
+ /**
25753
+ *
25754
+ * @summary Delete HospitalSpecialty.
25755
+ * @param {string} hospitalId
25756
+ * @param {string} specialtyId
25757
+ * @param {*} [options] Override http request option.
25758
+ * @throws {RequiredError}
25759
+ */
25760
+ async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
25761
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId, specialtyId, options);
25762
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25763
+ },
25764
+ /**
25765
+ *
25766
+ * @summary Get HospitalSpecialty.
25767
+ * @param {string} hospitalId
25768
+ * @param {string} specialtyId
25769
+ * @param {*} [options] Override http request option.
25770
+ * @throws {RequiredError}
25771
+ */
25772
+ async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
25773
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options);
25318
25774
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25319
25775
  },
25320
25776
  /**
25321
25777
  *
25322
- * @summary Update Hospital.
25778
+ * @summary Update HospitalSpecialty.
25323
25779
  * @param {string} hospitalId
25324
- * @param {UpdateHospitalCommand} [updateHospitalCommand]
25780
+ * @param {string} specialtyId
25781
+ * @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
25325
25782
  * @param {*} [options] Override http request option.
25326
25783
  * @throws {RequiredError}
25327
25784
  */
25328
- async apiV1HospitalsHospitalIdPut(hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
25329
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options);
25785
+ async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId: string, specialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
25786
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId, specialtyId, updateHospitalSpecialtyCommand, options);
25330
25787
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25331
25788
  },
25332
25789
  /**
25333
25790
  *
25334
25791
  * @summary Get all HospitalServices.
25335
25792
  * @param {string} hospitalId
25793
+ * @param {string} specialtyId
25336
25794
  * @param {string} [hospitalName]
25337
25795
  * @param {string} [hospitalSlug]
25338
25796
  * @param {string} [id]
25339
25797
  * @param {string} [name]
25340
25798
  * @param {string} [description]
25341
- * @param {string} [specialtyId]
25799
+ * @param {string} [specialtyName]
25342
25800
  * @param {string} [specialtyTypeId]
25343
25801
  * @param {string} [specialtyTypeName]
25802
+ * @param {string} [serviceCategoryId]
25344
25803
  * @param {MarketingType} [marketingType]
25345
25804
  * @param {Procedure} [procedure]
25346
25805
  * @param {Date} [created]
@@ -25351,128 +25810,137 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
25351
25810
  * @param {*} [options] Override http request option.
25352
25811
  * @throws {RequiredError}
25353
25812
  */
25354
- async apiV1HospitalsHospitalIdServicesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyTypeId?: string, specialtyTypeName?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServicesModel>> {
25355
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyTypeId, specialtyTypeName, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options);
25813
+ async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServicesModel>> {
25814
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options);
25356
25815
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25357
25816
  },
25358
25817
  /**
25359
25818
  *
25360
25819
  * @summary Create HospitalService.
25361
25820
  * @param {string} hospitalId
25821
+ * @param {string} specialtyId
25362
25822
  * @param {CreateHospitalServiceCommand} [createHospitalServiceCommand]
25363
25823
  * @param {*} [options] Override http request option.
25364
25824
  * @throws {RequiredError}
25365
25825
  */
25366
- async apiV1HospitalsHospitalIdServicesPost(hospitalId: string, createHospitalServiceCommand?: CreateHospitalServiceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
25367
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdServicesPost(hospitalId, createHospitalServiceCommand, options);
25826
+ async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId: string, specialtyId: string, createHospitalServiceCommand?: CreateHospitalServiceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
25827
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId, specialtyId, createHospitalServiceCommand, options);
25368
25828
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25369
25829
  },
25370
25830
  /**
25371
25831
  *
25372
25832
  * @summary Delete HospitalService
25373
25833
  * @param {string} hospitalId
25834
+ * @param {string} specialtyId
25374
25835
  * @param {string} serviceId
25375
25836
  * @param {*} [options] Override http request option.
25376
25837
  * @throws {RequiredError}
25377
25838
  */
25378
- async apiV1HospitalsHospitalIdServicesServiceIdDelete(hospitalId: string, serviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
25379
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdServicesServiceIdDelete(hospitalId, serviceId, options);
25839
+ async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId: string, specialtyId: string, serviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
25840
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId, specialtyId, serviceId, options);
25380
25841
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25381
25842
  },
25382
25843
  /**
25383
25844
  *
25384
25845
  * @summary Get HospitalService.
25385
25846
  * @param {string} hospitalId
25847
+ * @param {string} specialtyId
25386
25848
  * @param {string} serviceId
25387
25849
  * @param {string} [languageCode]
25388
25850
  * @param {*} [options] Override http request option.
25389
25851
  * @throws {RequiredError}
25390
25852
  */
25391
- async apiV1HospitalsHospitalIdServicesServiceIdGet(hospitalId: string, serviceId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
25392
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdServicesServiceIdGet(hospitalId, serviceId, languageCode, options);
25853
+ async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
25854
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, options);
25393
25855
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25394
25856
  },
25395
25857
  /**
25396
25858
  *
25397
- * @summary Update HospitalService.
25859
+ * @summary Get all HospitalServiceMedias.
25398
25860
  * @param {string} hospitalId
25861
+ * @param {string} specialtyId
25399
25862
  * @param {string} serviceId
25400
- * @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
25863
+ * @param {string} [id]
25864
+ * @param {MediaType} [mediaType]
25865
+ * @param {number} [page]
25866
+ * @param {number} [limit]
25867
+ * @param {Date} [lastRetrieved]
25401
25868
  * @param {*} [options] Override http request option.
25402
25869
  * @throws {RequiredError}
25403
25870
  */
25404
- async apiV1HospitalsHospitalIdServicesServiceIdPut(hospitalId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
25405
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdServicesServiceIdPut(hospitalId, serviceId, updateHospitalServiceCommand, options);
25871
+ async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet(hospitalId: string, specialtyId: string, serviceId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
25872
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet(hospitalId, specialtyId, serviceId, id, mediaType, page, limit, lastRetrieved, options);
25406
25873
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25407
25874
  },
25408
25875
  /**
25409
25876
  *
25410
- * @summary Get all HospitalSpecialties.
25877
+ * @summary Delete HospitalServiceMedia
25411
25878
  * @param {string} hospitalId
25412
- * @param {string} [hospitalName]
25413
- * @param {string} [hospitalSlug]
25414
- * @param {string} [specialtyId]
25415
- * @param {string} [specialtyName]
25416
- * @param {string} [specialtyTypeId]
25417
- * @param {MarketingType} [marketingType]
25418
- * @param {Date} [created]
25419
- * @param {number} [page]
25420
- * @param {number} [limit]
25421
- * @param {Date} [lastRetrieved]
25879
+ * @param {string} specialtyId
25880
+ * @param {string} serviceId
25881
+ * @param {string} mediaId
25422
25882
  * @param {*} [options] Override http request option.
25423
25883
  * @throws {RequiredError}
25424
25884
  */
25425
- async apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesModel>> {
25426
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options);
25885
+ async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete(hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
25886
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete(hospitalId, specialtyId, serviceId, mediaId, options);
25427
25887
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25428
25888
  },
25429
25889
  /**
25430
25890
  *
25431
- * @summary Create HospitalSpecialty.
25891
+ * @summary Get HospitalServiceMedia.
25432
25892
  * @param {string} hospitalId
25433
- * @param {CreateHospitalSpecialtyCommand} [createHospitalSpecialtyCommand]
25893
+ * @param {string} specialtyId
25894
+ * @param {string} serviceId
25895
+ * @param {string} mediaId
25434
25896
  * @param {*} [options] Override http request option.
25435
25897
  * @throws {RequiredError}
25436
25898
  */
25437
- async apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId: string, createHospitalSpecialtyCommand?: CreateHospitalSpecialtyCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
25438
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId, createHospitalSpecialtyCommand, options);
25899
+ async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
25900
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options);
25439
25901
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25440
25902
  },
25441
25903
  /**
25442
25904
  *
25443
- * @summary Delete HospitalSpecialty.
25905
+ * @summary Update HospitalServiceMedia.
25444
25906
  * @param {string} hospitalId
25445
25907
  * @param {string} specialtyId
25908
+ * @param {string} serviceId
25909
+ * @param {string} mediaId
25910
+ * @param {UpdateMediaCommand} [updateMediaCommand]
25446
25911
  * @param {*} [options] Override http request option.
25447
25912
  * @throws {RequiredError}
25448
25913
  */
25449
- async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
25450
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId, specialtyId, options);
25914
+ async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut(hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
25915
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut(hospitalId, specialtyId, serviceId, mediaId, updateMediaCommand, options);
25451
25916
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25452
25917
  },
25453
25918
  /**
25454
25919
  *
25455
- * @summary Get HospitalSpecialty.
25920
+ * @summary Create HospitalServiceMedia.
25456
25921
  * @param {string} hospitalId
25457
25922
  * @param {string} specialtyId
25923
+ * @param {string} serviceId
25924
+ * @param {CreateMediaCommand} [createMediaCommand]
25458
25925
  * @param {*} [options] Override http request option.
25459
25926
  * @throws {RequiredError}
25460
25927
  */
25461
- async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
25462
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options);
25928
+ async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost(hospitalId: string, specialtyId: string, serviceId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
25929
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost(hospitalId, specialtyId, serviceId, createMediaCommand, options);
25463
25930
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25464
25931
  },
25465
25932
  /**
25466
25933
  *
25467
- * @summary Update HospitalSpecialty.
25934
+ * @summary Update HospitalService.
25468
25935
  * @param {string} hospitalId
25469
25936
  * @param {string} specialtyId
25470
- * @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
25937
+ * @param {string} serviceId
25938
+ * @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
25471
25939
  * @param {*} [options] Override http request option.
25472
25940
  * @throws {RequiredError}
25473
25941
  */
25474
- async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId: string, specialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
25475
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId, specialtyId, updateHospitalSpecialtyCommand, options);
25942
+ async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
25943
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options);
25476
25944
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25477
25945
  },
25478
25946
  /**
@@ -25852,18 +26320,85 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
25852
26320
  apiV1HospitalsHospitalIdPut(hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand, options?: any): AxiosPromise<boolean> {
25853
26321
  return localVarFp.apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options).then((request) => request(axios, basePath));
25854
26322
  },
26323
+ /**
26324
+ *
26325
+ * @summary Get all HospitalSpecialties.
26326
+ * @param {string} hospitalId
26327
+ * @param {string} [hospitalName]
26328
+ * @param {string} [hospitalSlug]
26329
+ * @param {string} [specialtyId]
26330
+ * @param {string} [specialtyName]
26331
+ * @param {string} [specialtyTypeId]
26332
+ * @param {MarketingType} [marketingType]
26333
+ * @param {Date} [created]
26334
+ * @param {number} [page]
26335
+ * @param {number} [limit]
26336
+ * @param {Date} [lastRetrieved]
26337
+ * @param {*} [options] Override http request option.
26338
+ * @throws {RequiredError}
26339
+ */
26340
+ apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
26341
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
26342
+ },
26343
+ /**
26344
+ *
26345
+ * @summary Create HospitalSpecialty.
26346
+ * @param {string} hospitalId
26347
+ * @param {CreateHospitalSpecialtyCommand} [createHospitalSpecialtyCommand]
26348
+ * @param {*} [options] Override http request option.
26349
+ * @throws {RequiredError}
26350
+ */
26351
+ apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId: string, createHospitalSpecialtyCommand?: CreateHospitalSpecialtyCommand, options?: any): AxiosPromise<HospitalSpecialtyModel> {
26352
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId, createHospitalSpecialtyCommand, options).then((request) => request(axios, basePath));
26353
+ },
26354
+ /**
26355
+ *
26356
+ * @summary Delete HospitalSpecialty.
26357
+ * @param {string} hospitalId
26358
+ * @param {string} specialtyId
26359
+ * @param {*} [options] Override http request option.
26360
+ * @throws {RequiredError}
26361
+ */
26362
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId: string, specialtyId: string, options?: any): AxiosPromise<boolean> {
26363
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId, specialtyId, options).then((request) => request(axios, basePath));
26364
+ },
26365
+ /**
26366
+ *
26367
+ * @summary Get HospitalSpecialty.
26368
+ * @param {string} hospitalId
26369
+ * @param {string} specialtyId
26370
+ * @param {*} [options] Override http request option.
26371
+ * @throws {RequiredError}
26372
+ */
26373
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: any): AxiosPromise<HospitalSpecialtyModel> {
26374
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then((request) => request(axios, basePath));
26375
+ },
26376
+ /**
26377
+ *
26378
+ * @summary Update HospitalSpecialty.
26379
+ * @param {string} hospitalId
26380
+ * @param {string} specialtyId
26381
+ * @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
26382
+ * @param {*} [options] Override http request option.
26383
+ * @throws {RequiredError}
26384
+ */
26385
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId: string, specialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: any): AxiosPromise<HospitalSpecialtyModel> {
26386
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId, specialtyId, updateHospitalSpecialtyCommand, options).then((request) => request(axios, basePath));
26387
+ },
25855
26388
  /**
25856
26389
  *
25857
26390
  * @summary Get all HospitalServices.
25858
26391
  * @param {string} hospitalId
26392
+ * @param {string} specialtyId
25859
26393
  * @param {string} [hospitalName]
25860
26394
  * @param {string} [hospitalSlug]
25861
26395
  * @param {string} [id]
25862
26396
  * @param {string} [name]
25863
26397
  * @param {string} [description]
25864
- * @param {string} [specialtyId]
26398
+ * @param {string} [specialtyName]
25865
26399
  * @param {string} [specialtyTypeId]
25866
26400
  * @param {string} [specialtyTypeName]
26401
+ * @param {string} [serviceCategoryId]
25867
26402
  * @param {MarketingType} [marketingType]
25868
26403
  * @param {Procedure} [procedure]
25869
26404
  * @param {Date} [created]
@@ -25874,119 +26409,128 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
25874
26409
  * @param {*} [options] Override http request option.
25875
26410
  * @throws {RequiredError}
25876
26411
  */
25877
- apiV1HospitalsHospitalIdServicesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyTypeId?: string, specialtyTypeName?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalServicesModel> {
25878
- return localVarFp.apiV1HospitalsHospitalIdServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyTypeId, specialtyTypeName, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
26412
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalServicesModel> {
26413
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
25879
26414
  },
25880
26415
  /**
25881
26416
  *
25882
26417
  * @summary Create HospitalService.
25883
26418
  * @param {string} hospitalId
26419
+ * @param {string} specialtyId
25884
26420
  * @param {CreateHospitalServiceCommand} [createHospitalServiceCommand]
25885
26421
  * @param {*} [options] Override http request option.
25886
26422
  * @throws {RequiredError}
25887
26423
  */
25888
- apiV1HospitalsHospitalIdServicesPost(hospitalId: string, createHospitalServiceCommand?: CreateHospitalServiceCommand, options?: any): AxiosPromise<HospitalServiceModel> {
25889
- return localVarFp.apiV1HospitalsHospitalIdServicesPost(hospitalId, createHospitalServiceCommand, options).then((request) => request(axios, basePath));
26424
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId: string, specialtyId: string, createHospitalServiceCommand?: CreateHospitalServiceCommand, options?: any): AxiosPromise<HospitalServiceModel> {
26425
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId, specialtyId, createHospitalServiceCommand, options).then((request) => request(axios, basePath));
25890
26426
  },
25891
26427
  /**
25892
26428
  *
25893
26429
  * @summary Delete HospitalService
25894
26430
  * @param {string} hospitalId
26431
+ * @param {string} specialtyId
25895
26432
  * @param {string} serviceId
25896
26433
  * @param {*} [options] Override http request option.
25897
26434
  * @throws {RequiredError}
25898
26435
  */
25899
- apiV1HospitalsHospitalIdServicesServiceIdDelete(hospitalId: string, serviceId: string, options?: any): AxiosPromise<boolean> {
25900
- return localVarFp.apiV1HospitalsHospitalIdServicesServiceIdDelete(hospitalId, serviceId, options).then((request) => request(axios, basePath));
26436
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId: string, specialtyId: string, serviceId: string, options?: any): AxiosPromise<boolean> {
26437
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId, specialtyId, serviceId, options).then((request) => request(axios, basePath));
25901
26438
  },
25902
26439
  /**
25903
26440
  *
25904
26441
  * @summary Get HospitalService.
25905
26442
  * @param {string} hospitalId
26443
+ * @param {string} specialtyId
25906
26444
  * @param {string} serviceId
25907
26445
  * @param {string} [languageCode]
25908
26446
  * @param {*} [options] Override http request option.
25909
26447
  * @throws {RequiredError}
25910
26448
  */
25911
- apiV1HospitalsHospitalIdServicesServiceIdGet(hospitalId: string, serviceId: string, languageCode?: string, options?: any): AxiosPromise<HospitalServiceModel> {
25912
- return localVarFp.apiV1HospitalsHospitalIdServicesServiceIdGet(hospitalId, serviceId, languageCode, options).then((request) => request(axios, basePath));
26449
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, options?: any): AxiosPromise<HospitalServiceModel> {
26450
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, options).then((request) => request(axios, basePath));
25913
26451
  },
25914
26452
  /**
25915
26453
  *
25916
- * @summary Update HospitalService.
26454
+ * @summary Get all HospitalServiceMedias.
25917
26455
  * @param {string} hospitalId
26456
+ * @param {string} specialtyId
25918
26457
  * @param {string} serviceId
25919
- * @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
26458
+ * @param {string} [id]
26459
+ * @param {MediaType} [mediaType]
26460
+ * @param {number} [page]
26461
+ * @param {number} [limit]
26462
+ * @param {Date} [lastRetrieved]
25920
26463
  * @param {*} [options] Override http request option.
25921
26464
  * @throws {RequiredError}
25922
26465
  */
25923
- apiV1HospitalsHospitalIdServicesServiceIdPut(hospitalId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options?: any): AxiosPromise<boolean> {
25924
- return localVarFp.apiV1HospitalsHospitalIdServicesServiceIdPut(hospitalId, serviceId, updateHospitalServiceCommand, options).then((request) => request(axios, basePath));
26466
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet(hospitalId: string, specialtyId: string, serviceId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
26467
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet(hospitalId, specialtyId, serviceId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
25925
26468
  },
25926
26469
  /**
25927
26470
  *
25928
- * @summary Get all HospitalSpecialties.
26471
+ * @summary Delete HospitalServiceMedia
25929
26472
  * @param {string} hospitalId
25930
- * @param {string} [hospitalName]
25931
- * @param {string} [hospitalSlug]
25932
- * @param {string} [specialtyId]
25933
- * @param {string} [specialtyName]
25934
- * @param {string} [specialtyTypeId]
25935
- * @param {MarketingType} [marketingType]
25936
- * @param {Date} [created]
25937
- * @param {number} [page]
25938
- * @param {number} [limit]
25939
- * @param {Date} [lastRetrieved]
26473
+ * @param {string} specialtyId
26474
+ * @param {string} serviceId
26475
+ * @param {string} mediaId
25940
26476
  * @param {*} [options] Override http request option.
25941
26477
  * @throws {RequiredError}
25942
26478
  */
25943
- apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
25944
- return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
26479
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete(hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, options?: any): AxiosPromise<boolean> {
26480
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete(hospitalId, specialtyId, serviceId, mediaId, options).then((request) => request(axios, basePath));
25945
26481
  },
25946
26482
  /**
25947
26483
  *
25948
- * @summary Create HospitalSpecialty.
26484
+ * @summary Get HospitalServiceMedia.
25949
26485
  * @param {string} hospitalId
25950
- * @param {CreateHospitalSpecialtyCommand} [createHospitalSpecialtyCommand]
26486
+ * @param {string} specialtyId
26487
+ * @param {string} serviceId
26488
+ * @param {string} mediaId
25951
26489
  * @param {*} [options] Override http request option.
25952
26490
  * @throws {RequiredError}
25953
26491
  */
25954
- apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId: string, createHospitalSpecialtyCommand?: CreateHospitalSpecialtyCommand, options?: any): AxiosPromise<HospitalSpecialtyModel> {
25955
- return localVarFp.apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId, createHospitalSpecialtyCommand, options).then((request) => request(axios, basePath));
26492
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
26493
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options).then((request) => request(axios, basePath));
25956
26494
  },
25957
26495
  /**
25958
26496
  *
25959
- * @summary Delete HospitalSpecialty.
26497
+ * @summary Update HospitalServiceMedia.
25960
26498
  * @param {string} hospitalId
25961
26499
  * @param {string} specialtyId
26500
+ * @param {string} serviceId
26501
+ * @param {string} mediaId
26502
+ * @param {UpdateMediaCommand} [updateMediaCommand]
25962
26503
  * @param {*} [options] Override http request option.
25963
26504
  * @throws {RequiredError}
25964
26505
  */
25965
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId: string, specialtyId: string, options?: any): AxiosPromise<boolean> {
25966
- return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId, specialtyId, options).then((request) => request(axios, basePath));
26506
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut(hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: any): AxiosPromise<MediaModel> {
26507
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut(hospitalId, specialtyId, serviceId, mediaId, updateMediaCommand, options).then((request) => request(axios, basePath));
25967
26508
  },
25968
26509
  /**
25969
26510
  *
25970
- * @summary Get HospitalSpecialty.
26511
+ * @summary Create HospitalServiceMedia.
25971
26512
  * @param {string} hospitalId
25972
26513
  * @param {string} specialtyId
26514
+ * @param {string} serviceId
26515
+ * @param {CreateMediaCommand} [createMediaCommand]
25973
26516
  * @param {*} [options] Override http request option.
25974
26517
  * @throws {RequiredError}
25975
26518
  */
25976
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: any): AxiosPromise<HospitalSpecialtyModel> {
25977
- return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then((request) => request(axios, basePath));
26519
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost(hospitalId: string, specialtyId: string, serviceId: string, createMediaCommand?: CreateMediaCommand, options?: any): AxiosPromise<MediaModel> {
26520
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost(hospitalId, specialtyId, serviceId, createMediaCommand, options).then((request) => request(axios, basePath));
25978
26521
  },
25979
26522
  /**
25980
26523
  *
25981
- * @summary Update HospitalSpecialty.
26524
+ * @summary Update HospitalService.
25982
26525
  * @param {string} hospitalId
25983
26526
  * @param {string} specialtyId
25984
- * @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
26527
+ * @param {string} serviceId
26528
+ * @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
25985
26529
  * @param {*} [options] Override http request option.
25986
26530
  * @throws {RequiredError}
25987
26531
  */
25988
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId: string, specialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: any): AxiosPromise<HospitalSpecialtyModel> {
25989
- return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId, specialtyId, updateHospitalSpecialtyCommand, options).then((request) => request(axios, basePath));
26532
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options?: any): AxiosPromise<boolean> {
26533
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options).then((request) => request(axios, basePath));
25990
26534
  },
25991
26535
  /**
25992
26536
  *
@@ -26336,99 +26880,176 @@ export class HospitalsApi extends BaseAPI {
26336
26880
 
26337
26881
  /**
26338
26882
  *
26339
- * @summary Get all HospitalMedias.
26883
+ * @summary Get all HospitalMedias.
26884
+ * @param {string} hospitalId
26885
+ * @param {string} [id]
26886
+ * @param {MediaType} [mediaType]
26887
+ * @param {number} [page]
26888
+ * @param {number} [limit]
26889
+ * @param {Date} [lastRetrieved]
26890
+ * @param {*} [options] Override http request option.
26891
+ * @throws {RequiredError}
26892
+ * @memberof HospitalsApi
26893
+ */
26894
+ public apiV1HospitalsHospitalIdMediasGet(hospitalId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
26895
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdMediasGet(hospitalId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
26896
+ }
26897
+
26898
+ /**
26899
+ *
26900
+ * @summary Delete HospitalMedia
26901
+ * @param {string} hospitalId
26902
+ * @param {string} mediaId
26903
+ * @param {*} [options] Override http request option.
26904
+ * @throws {RequiredError}
26905
+ * @memberof HospitalsApi
26906
+ */
26907
+ public apiV1HospitalsHospitalIdMediasMediaIdDelete(hospitalId: string, mediaId: string, options?: AxiosRequestConfig) {
26908
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdMediasMediaIdDelete(hospitalId, mediaId, options).then((request) => request(this.axios, this.basePath));
26909
+ }
26910
+
26911
+ /**
26912
+ *
26913
+ * @summary Get HospitalMedia.
26914
+ * @param {string} hospitalId
26915
+ * @param {string} mediaId
26916
+ * @param {*} [options] Override http request option.
26917
+ * @throws {RequiredError}
26918
+ * @memberof HospitalsApi
26919
+ */
26920
+ public apiV1HospitalsHospitalIdMediasMediaIdGet(hospitalId: string, mediaId: string, options?: AxiosRequestConfig) {
26921
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdMediasMediaIdGet(hospitalId, mediaId, options).then((request) => request(this.axios, this.basePath));
26922
+ }
26923
+
26924
+ /**
26925
+ *
26926
+ * @summary Update HospitalMedia.
26927
+ * @param {string} hospitalId
26928
+ * @param {string} mediaId
26929
+ * @param {UpdateMediaCommand} [updateMediaCommand]
26930
+ * @param {*} [options] Override http request option.
26931
+ * @throws {RequiredError}
26932
+ * @memberof HospitalsApi
26933
+ */
26934
+ public apiV1HospitalsHospitalIdMediasMediaIdPut(hospitalId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig) {
26935
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdMediasMediaIdPut(hospitalId, mediaId, updateMediaCommand, options).then((request) => request(this.axios, this.basePath));
26936
+ }
26937
+
26938
+ /**
26939
+ *
26940
+ * @summary Create HospitalMedia.
26941
+ * @param {string} hospitalId
26942
+ * @param {CreateMediaCommand} [createMediaCommand]
26943
+ * @param {*} [options] Override http request option.
26944
+ * @throws {RequiredError}
26945
+ * @memberof HospitalsApi
26946
+ */
26947
+ public apiV1HospitalsHospitalIdMediasPost(hospitalId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig) {
26948
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdMediasPost(hospitalId, createMediaCommand, options).then((request) => request(this.axios, this.basePath));
26949
+ }
26950
+
26951
+ /**
26952
+ *
26953
+ * @summary Update Hospital.
26340
26954
  * @param {string} hospitalId
26341
- * @param {string} [id]
26342
- * @param {MediaType} [mediaType]
26343
- * @param {number} [page]
26344
- * @param {number} [limit]
26345
- * @param {Date} [lastRetrieved]
26955
+ * @param {UpdateHospitalCommand} [updateHospitalCommand]
26346
26956
  * @param {*} [options] Override http request option.
26347
26957
  * @throws {RequiredError}
26348
26958
  * @memberof HospitalsApi
26349
26959
  */
26350
- public apiV1HospitalsHospitalIdMediasGet(hospitalId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
26351
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdMediasGet(hospitalId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
26960
+ public apiV1HospitalsHospitalIdPut(hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand, options?: AxiosRequestConfig) {
26961
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options).then((request) => request(this.axios, this.basePath));
26352
26962
  }
26353
26963
 
26354
26964
  /**
26355
26965
  *
26356
- * @summary Delete HospitalMedia
26966
+ * @summary Get all HospitalSpecialties.
26357
26967
  * @param {string} hospitalId
26358
- * @param {string} mediaId
26968
+ * @param {string} [hospitalName]
26969
+ * @param {string} [hospitalSlug]
26970
+ * @param {string} [specialtyId]
26971
+ * @param {string} [specialtyName]
26972
+ * @param {string} [specialtyTypeId]
26973
+ * @param {MarketingType} [marketingType]
26974
+ * @param {Date} [created]
26975
+ * @param {number} [page]
26976
+ * @param {number} [limit]
26977
+ * @param {Date} [lastRetrieved]
26359
26978
  * @param {*} [options] Override http request option.
26360
26979
  * @throws {RequiredError}
26361
26980
  * @memberof HospitalsApi
26362
26981
  */
26363
- public apiV1HospitalsHospitalIdMediasMediaIdDelete(hospitalId: string, mediaId: string, options?: AxiosRequestConfig) {
26364
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdMediasMediaIdDelete(hospitalId, mediaId, options).then((request) => request(this.axios, this.basePath));
26982
+ public apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
26983
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
26365
26984
  }
26366
26985
 
26367
26986
  /**
26368
26987
  *
26369
- * @summary Get HospitalMedia.
26988
+ * @summary Create HospitalSpecialty.
26370
26989
  * @param {string} hospitalId
26371
- * @param {string} mediaId
26990
+ * @param {CreateHospitalSpecialtyCommand} [createHospitalSpecialtyCommand]
26372
26991
  * @param {*} [options] Override http request option.
26373
26992
  * @throws {RequiredError}
26374
26993
  * @memberof HospitalsApi
26375
26994
  */
26376
- public apiV1HospitalsHospitalIdMediasMediaIdGet(hospitalId: string, mediaId: string, options?: AxiosRequestConfig) {
26377
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdMediasMediaIdGet(hospitalId, mediaId, options).then((request) => request(this.axios, this.basePath));
26995
+ public apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId: string, createHospitalSpecialtyCommand?: CreateHospitalSpecialtyCommand, options?: AxiosRequestConfig) {
26996
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId, createHospitalSpecialtyCommand, options).then((request) => request(this.axios, this.basePath));
26378
26997
  }
26379
26998
 
26380
26999
  /**
26381
27000
  *
26382
- * @summary Update HospitalMedia.
27001
+ * @summary Delete HospitalSpecialty.
26383
27002
  * @param {string} hospitalId
26384
- * @param {string} mediaId
26385
- * @param {UpdateMediaCommand} [updateMediaCommand]
27003
+ * @param {string} specialtyId
26386
27004
  * @param {*} [options] Override http request option.
26387
27005
  * @throws {RequiredError}
26388
27006
  * @memberof HospitalsApi
26389
27007
  */
26390
- public apiV1HospitalsHospitalIdMediasMediaIdPut(hospitalId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig) {
26391
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdMediasMediaIdPut(hospitalId, mediaId, updateMediaCommand, options).then((request) => request(this.axios, this.basePath));
27008
+ public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig) {
27009
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId, specialtyId, options).then((request) => request(this.axios, this.basePath));
26392
27010
  }
26393
27011
 
26394
27012
  /**
26395
27013
  *
26396
- * @summary Create HospitalMedia.
27014
+ * @summary Get HospitalSpecialty.
26397
27015
  * @param {string} hospitalId
26398
- * @param {CreateMediaCommand} [createMediaCommand]
27016
+ * @param {string} specialtyId
26399
27017
  * @param {*} [options] Override http request option.
26400
27018
  * @throws {RequiredError}
26401
27019
  * @memberof HospitalsApi
26402
27020
  */
26403
- public apiV1HospitalsHospitalIdMediasPost(hospitalId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig) {
26404
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdMediasPost(hospitalId, createMediaCommand, options).then((request) => request(this.axios, this.basePath));
27021
+ public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig) {
27022
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then((request) => request(this.axios, this.basePath));
26405
27023
  }
26406
27024
 
26407
27025
  /**
26408
27026
  *
26409
- * @summary Update Hospital.
27027
+ * @summary Update HospitalSpecialty.
26410
27028
  * @param {string} hospitalId
26411
- * @param {UpdateHospitalCommand} [updateHospitalCommand]
27029
+ * @param {string} specialtyId
27030
+ * @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
26412
27031
  * @param {*} [options] Override http request option.
26413
27032
  * @throws {RequiredError}
26414
27033
  * @memberof HospitalsApi
26415
27034
  */
26416
- public apiV1HospitalsHospitalIdPut(hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand, options?: AxiosRequestConfig) {
26417
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options).then((request) => request(this.axios, this.basePath));
27035
+ public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId: string, specialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: AxiosRequestConfig) {
27036
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId, specialtyId, updateHospitalSpecialtyCommand, options).then((request) => request(this.axios, this.basePath));
26418
27037
  }
26419
27038
 
26420
27039
  /**
26421
27040
  *
26422
27041
  * @summary Get all HospitalServices.
26423
27042
  * @param {string} hospitalId
27043
+ * @param {string} specialtyId
26424
27044
  * @param {string} [hospitalName]
26425
27045
  * @param {string} [hospitalSlug]
26426
27046
  * @param {string} [id]
26427
27047
  * @param {string} [name]
26428
27048
  * @param {string} [description]
26429
- * @param {string} [specialtyId]
27049
+ * @param {string} [specialtyName]
26430
27050
  * @param {string} [specialtyTypeId]
26431
27051
  * @param {string} [specialtyTypeName]
27052
+ * @param {string} [serviceCategoryId]
26432
27053
  * @param {MarketingType} [marketingType]
26433
27054
  * @param {Procedure} [procedure]
26434
27055
  * @param {Date} [created]
@@ -26440,137 +27061,146 @@ export class HospitalsApi extends BaseAPI {
26440
27061
  * @throws {RequiredError}
26441
27062
  * @memberof HospitalsApi
26442
27063
  */
26443
- public apiV1HospitalsHospitalIdServicesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyTypeId?: string, specialtyTypeName?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
26444
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyTypeId, specialtyTypeName, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
27064
+ public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
27065
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
26445
27066
  }
26446
27067
 
26447
27068
  /**
26448
27069
  *
26449
27070
  * @summary Create HospitalService.
26450
27071
  * @param {string} hospitalId
27072
+ * @param {string} specialtyId
26451
27073
  * @param {CreateHospitalServiceCommand} [createHospitalServiceCommand]
26452
27074
  * @param {*} [options] Override http request option.
26453
27075
  * @throws {RequiredError}
26454
27076
  * @memberof HospitalsApi
26455
27077
  */
26456
- public apiV1HospitalsHospitalIdServicesPost(hospitalId: string, createHospitalServiceCommand?: CreateHospitalServiceCommand, options?: AxiosRequestConfig) {
26457
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdServicesPost(hospitalId, createHospitalServiceCommand, options).then((request) => request(this.axios, this.basePath));
27078
+ public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId: string, specialtyId: string, createHospitalServiceCommand?: CreateHospitalServiceCommand, options?: AxiosRequestConfig) {
27079
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId, specialtyId, createHospitalServiceCommand, options).then((request) => request(this.axios, this.basePath));
26458
27080
  }
26459
27081
 
26460
27082
  /**
26461
27083
  *
26462
27084
  * @summary Delete HospitalService
26463
27085
  * @param {string} hospitalId
27086
+ * @param {string} specialtyId
26464
27087
  * @param {string} serviceId
26465
27088
  * @param {*} [options] Override http request option.
26466
27089
  * @throws {RequiredError}
26467
27090
  * @memberof HospitalsApi
26468
27091
  */
26469
- public apiV1HospitalsHospitalIdServicesServiceIdDelete(hospitalId: string, serviceId: string, options?: AxiosRequestConfig) {
26470
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdServicesServiceIdDelete(hospitalId, serviceId, options).then((request) => request(this.axios, this.basePath));
27092
+ public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId: string, specialtyId: string, serviceId: string, options?: AxiosRequestConfig) {
27093
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId, specialtyId, serviceId, options).then((request) => request(this.axios, this.basePath));
26471
27094
  }
26472
27095
 
26473
27096
  /**
26474
27097
  *
26475
27098
  * @summary Get HospitalService.
26476
27099
  * @param {string} hospitalId
27100
+ * @param {string} specialtyId
26477
27101
  * @param {string} serviceId
26478
27102
  * @param {string} [languageCode]
26479
27103
  * @param {*} [options] Override http request option.
26480
27104
  * @throws {RequiredError}
26481
27105
  * @memberof HospitalsApi
26482
27106
  */
26483
- public apiV1HospitalsHospitalIdServicesServiceIdGet(hospitalId: string, serviceId: string, languageCode?: string, options?: AxiosRequestConfig) {
26484
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdServicesServiceIdGet(hospitalId, serviceId, languageCode, options).then((request) => request(this.axios, this.basePath));
27107
+ public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, options?: AxiosRequestConfig) {
27108
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, options).then((request) => request(this.axios, this.basePath));
26485
27109
  }
26486
27110
 
26487
27111
  /**
26488
27112
  *
26489
- * @summary Update HospitalService.
27113
+ * @summary Get all HospitalServiceMedias.
26490
27114
  * @param {string} hospitalId
27115
+ * @param {string} specialtyId
26491
27116
  * @param {string} serviceId
26492
- * @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
27117
+ * @param {string} [id]
27118
+ * @param {MediaType} [mediaType]
27119
+ * @param {number} [page]
27120
+ * @param {number} [limit]
27121
+ * @param {Date} [lastRetrieved]
26493
27122
  * @param {*} [options] Override http request option.
26494
27123
  * @throws {RequiredError}
26495
27124
  * @memberof HospitalsApi
26496
27125
  */
26497
- public apiV1HospitalsHospitalIdServicesServiceIdPut(hospitalId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options?: AxiosRequestConfig) {
26498
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdServicesServiceIdPut(hospitalId, serviceId, updateHospitalServiceCommand, options).then((request) => request(this.axios, this.basePath));
27126
+ public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet(hospitalId: string, specialtyId: string, serviceId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
27127
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet(hospitalId, specialtyId, serviceId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
26499
27128
  }
26500
27129
 
26501
27130
  /**
26502
27131
  *
26503
- * @summary Get all HospitalSpecialties.
27132
+ * @summary Delete HospitalServiceMedia
26504
27133
  * @param {string} hospitalId
26505
- * @param {string} [hospitalName]
26506
- * @param {string} [hospitalSlug]
26507
- * @param {string} [specialtyId]
26508
- * @param {string} [specialtyName]
26509
- * @param {string} [specialtyTypeId]
26510
- * @param {MarketingType} [marketingType]
26511
- * @param {Date} [created]
26512
- * @param {number} [page]
26513
- * @param {number} [limit]
26514
- * @param {Date} [lastRetrieved]
27134
+ * @param {string} specialtyId
27135
+ * @param {string} serviceId
27136
+ * @param {string} mediaId
26515
27137
  * @param {*} [options] Override http request option.
26516
27138
  * @throws {RequiredError}
26517
27139
  * @memberof HospitalsApi
26518
27140
  */
26519
- public apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
26520
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
27141
+ public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete(hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, options?: AxiosRequestConfig) {
27142
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete(hospitalId, specialtyId, serviceId, mediaId, options).then((request) => request(this.axios, this.basePath));
26521
27143
  }
26522
27144
 
26523
27145
  /**
26524
27146
  *
26525
- * @summary Create HospitalSpecialty.
27147
+ * @summary Get HospitalServiceMedia.
26526
27148
  * @param {string} hospitalId
26527
- * @param {CreateHospitalSpecialtyCommand} [createHospitalSpecialtyCommand]
27149
+ * @param {string} specialtyId
27150
+ * @param {string} serviceId
27151
+ * @param {string} mediaId
26528
27152
  * @param {*} [options] Override http request option.
26529
27153
  * @throws {RequiredError}
26530
27154
  * @memberof HospitalsApi
26531
27155
  */
26532
- public apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId: string, createHospitalSpecialtyCommand?: CreateHospitalSpecialtyCommand, options?: AxiosRequestConfig) {
26533
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId, createHospitalSpecialtyCommand, options).then((request) => request(this.axios, this.basePath));
27156
+ public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, options?: AxiosRequestConfig) {
27157
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options).then((request) => request(this.axios, this.basePath));
26534
27158
  }
26535
27159
 
26536
27160
  /**
26537
27161
  *
26538
- * @summary Delete HospitalSpecialty.
27162
+ * @summary Update HospitalServiceMedia.
26539
27163
  * @param {string} hospitalId
26540
27164
  * @param {string} specialtyId
27165
+ * @param {string} serviceId
27166
+ * @param {string} mediaId
27167
+ * @param {UpdateMediaCommand} [updateMediaCommand]
26541
27168
  * @param {*} [options] Override http request option.
26542
27169
  * @throws {RequiredError}
26543
27170
  * @memberof HospitalsApi
26544
27171
  */
26545
- public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig) {
26546
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId, specialtyId, options).then((request) => request(this.axios, this.basePath));
27172
+ public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut(hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig) {
27173
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut(hospitalId, specialtyId, serviceId, mediaId, updateMediaCommand, options).then((request) => request(this.axios, this.basePath));
26547
27174
  }
26548
27175
 
26549
27176
  /**
26550
27177
  *
26551
- * @summary Get HospitalSpecialty.
27178
+ * @summary Create HospitalServiceMedia.
26552
27179
  * @param {string} hospitalId
26553
27180
  * @param {string} specialtyId
27181
+ * @param {string} serviceId
27182
+ * @param {CreateMediaCommand} [createMediaCommand]
26554
27183
  * @param {*} [options] Override http request option.
26555
27184
  * @throws {RequiredError}
26556
27185
  * @memberof HospitalsApi
26557
27186
  */
26558
- public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig) {
26559
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then((request) => request(this.axios, this.basePath));
27187
+ public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost(hospitalId: string, specialtyId: string, serviceId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig) {
27188
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost(hospitalId, specialtyId, serviceId, createMediaCommand, options).then((request) => request(this.axios, this.basePath));
26560
27189
  }
26561
27190
 
26562
27191
  /**
26563
27192
  *
26564
- * @summary Update HospitalSpecialty.
27193
+ * @summary Update HospitalService.
26565
27194
  * @param {string} hospitalId
26566
27195
  * @param {string} specialtyId
26567
- * @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
27196
+ * @param {string} serviceId
27197
+ * @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
26568
27198
  * @param {*} [options] Override http request option.
26569
27199
  * @throws {RequiredError}
26570
27200
  * @memberof HospitalsApi
26571
27201
  */
26572
- public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId: string, specialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: AxiosRequestConfig) {
26573
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId, specialtyId, updateHospitalSpecialtyCommand, options).then((request) => request(this.axios, this.basePath));
27202
+ public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options?: AxiosRequestConfig) {
27203
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options).then((request) => request(this.axios, this.basePath));
26574
27204
  }
26575
27205
 
26576
27206
  /**
@@ -27222,17 +27852,19 @@ export class NotificationsApi extends BaseAPI {
27222
27852
  export const ServicesApiAxiosParamCreator = function (configuration?: Configuration) {
27223
27853
  return {
27224
27854
  /**
27225
- * Sample request: GET /api/v1/hospitals/services
27226
- * @summary Get all services.
27227
- * @param {string} [id]
27228
- * @param {string} [name]
27229
- * @param {string} [description]
27855
+ *
27856
+ * @summary Get all HospitalServices.
27230
27857
  * @param {string} [hospitalId]
27231
27858
  * @param {string} [hospitalName]
27232
27859
  * @param {string} [hospitalSlug]
27860
+ * @param {string} [id]
27861
+ * @param {string} [name]
27862
+ * @param {string} [description]
27233
27863
  * @param {string} [specialtyId]
27864
+ * @param {string} [specialtyName]
27234
27865
  * @param {string} [specialtyTypeId]
27235
27866
  * @param {string} [specialtyTypeName]
27867
+ * @param {string} [serviceCategoryId]
27236
27868
  * @param {MarketingType} [marketingType]
27237
27869
  * @param {Procedure} [procedure]
27238
27870
  * @param {Date} [created]
@@ -27243,7 +27875,7 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
27243
27875
  * @param {*} [options] Override http request option.
27244
27876
  * @throws {RequiredError}
27245
27877
  */
27246
- apiV1ServicesGet: async (id?: string, name?: string, description?: string, hospitalId?: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyTypeId?: string, specialtyTypeName?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
27878
+ apiV1ServicesGet: async (hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
27247
27879
  const localVarPath = `/api/v1/services`;
27248
27880
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
27249
27881
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -27260,18 +27892,6 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
27260
27892
  // oauth required
27261
27893
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
27262
27894
 
27263
- if (id !== undefined) {
27264
- localVarQueryParameter['Id'] = id;
27265
- }
27266
-
27267
- if (name !== undefined) {
27268
- localVarQueryParameter['Name'] = name;
27269
- }
27270
-
27271
- if (description !== undefined) {
27272
- localVarQueryParameter['Description'] = description;
27273
- }
27274
-
27275
27895
  if (hospitalId !== undefined) {
27276
27896
  localVarQueryParameter['HospitalId'] = hospitalId;
27277
27897
  }
@@ -27284,10 +27904,26 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
27284
27904
  localVarQueryParameter['HospitalSlug'] = hospitalSlug;
27285
27905
  }
27286
27906
 
27907
+ if (id !== undefined) {
27908
+ localVarQueryParameter['Id'] = id;
27909
+ }
27910
+
27911
+ if (name !== undefined) {
27912
+ localVarQueryParameter['Name'] = name;
27913
+ }
27914
+
27915
+ if (description !== undefined) {
27916
+ localVarQueryParameter['Description'] = description;
27917
+ }
27918
+
27287
27919
  if (specialtyId !== undefined) {
27288
27920
  localVarQueryParameter['SpecialtyId'] = specialtyId;
27289
27921
  }
27290
27922
 
27923
+ if (specialtyName !== undefined) {
27924
+ localVarQueryParameter['SpecialtyName'] = specialtyName;
27925
+ }
27926
+
27291
27927
  if (specialtyTypeId !== undefined) {
27292
27928
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
27293
27929
  }
@@ -27296,6 +27932,10 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
27296
27932
  localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
27297
27933
  }
27298
27934
 
27935
+ if (serviceCategoryId !== undefined) {
27936
+ localVarQueryParameter['ServiceCategoryId'] = serviceCategoryId;
27937
+ }
27938
+
27299
27939
  if (marketingType !== undefined) {
27300
27940
  localVarQueryParameter['MarketingType'] = marketingType;
27301
27941
  }
@@ -27341,7 +27981,50 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
27341
27981
  },
27342
27982
  /**
27343
27983
  *
27344
- * @summary Get service by slug.
27984
+ * @summary Get HospitalService.
27985
+ * @param {string} serviceId
27986
+ * @param {string} [languageCode]
27987
+ * @param {*} [options] Override http request option.
27988
+ * @throws {RequiredError}
27989
+ */
27990
+ apiV1ServicesServiceIdGet: async (serviceId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
27991
+ // verify required parameter 'serviceId' is not null or undefined
27992
+ assertParamExists('apiV1ServicesServiceIdGet', 'serviceId', serviceId)
27993
+ const localVarPath = `/api/v1/services/{serviceId}`
27994
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
27995
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
27996
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27997
+ let baseOptions;
27998
+ if (configuration) {
27999
+ baseOptions = configuration.baseOptions;
28000
+ }
28001
+
28002
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
28003
+ const localVarHeaderParameter = {} as any;
28004
+ const localVarQueryParameter = {} as any;
28005
+
28006
+ // authentication oauth2 required
28007
+ // oauth required
28008
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
28009
+
28010
+ if (languageCode !== undefined) {
28011
+ localVarQueryParameter['languageCode'] = languageCode;
28012
+ }
28013
+
28014
+
28015
+
28016
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28017
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28018
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28019
+
28020
+ return {
28021
+ url: toPathString(localVarUrlObj),
28022
+ options: localVarRequestOptions,
28023
+ };
28024
+ },
28025
+ /**
28026
+ *
28027
+ * @summary Get HospitalService by slug.
27345
28028
  * @param {string} slug
27346
28029
  * @param {string} [languageCode]
27347
28030
  * @param {*} [options] Override http request option.
@@ -27393,17 +28076,19 @@ export const ServicesApiFp = function(configuration?: Configuration) {
27393
28076
  const localVarAxiosParamCreator = ServicesApiAxiosParamCreator(configuration)
27394
28077
  return {
27395
28078
  /**
27396
- * Sample request: GET /api/v1/hospitals/services
27397
- * @summary Get all services.
27398
- * @param {string} [id]
27399
- * @param {string} [name]
27400
- * @param {string} [description]
28079
+ *
28080
+ * @summary Get all HospitalServices.
27401
28081
  * @param {string} [hospitalId]
27402
28082
  * @param {string} [hospitalName]
27403
28083
  * @param {string} [hospitalSlug]
28084
+ * @param {string} [id]
28085
+ * @param {string} [name]
28086
+ * @param {string} [description]
27404
28087
  * @param {string} [specialtyId]
28088
+ * @param {string} [specialtyName]
27405
28089
  * @param {string} [specialtyTypeId]
27406
28090
  * @param {string} [specialtyTypeName]
28091
+ * @param {string} [serviceCategoryId]
27407
28092
  * @param {MarketingType} [marketingType]
27408
28093
  * @param {Procedure} [procedure]
27409
28094
  * @param {Date} [created]
@@ -27414,19 +28099,31 @@ export const ServicesApiFp = function(configuration?: Configuration) {
27414
28099
  * @param {*} [options] Override http request option.
27415
28100
  * @throws {RequiredError}
27416
28101
  */
27417
- async apiV1ServicesGet(id?: string, name?: string, description?: string, hospitalId?: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyTypeId?: string, specialtyTypeName?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServicesModel>> {
27418
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicesGet(id, name, description, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyTypeId, specialtyTypeName, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options);
28102
+ async apiV1ServicesGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServicesModel>> {
28103
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options);
27419
28104
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
27420
28105
  },
27421
28106
  /**
27422
28107
  *
27423
- * @summary Get service by slug.
28108
+ * @summary Get HospitalService.
28109
+ * @param {string} serviceId
28110
+ * @param {string} [languageCode]
28111
+ * @param {*} [options] Override http request option.
28112
+ * @throws {RequiredError}
28113
+ */
28114
+ async apiV1ServicesServiceIdGet(serviceId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
28115
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicesServiceIdGet(serviceId, languageCode, options);
28116
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28117
+ },
28118
+ /**
28119
+ *
28120
+ * @summary Get HospitalService by slug.
27424
28121
  * @param {string} slug
27425
28122
  * @param {string} [languageCode]
27426
28123
  * @param {*} [options] Override http request option.
27427
28124
  * @throws {RequiredError}
27428
28125
  */
27429
- async apiV1ServicesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceModel>> {
28126
+ async apiV1ServicesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
27430
28127
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicesSlugGet(slug, languageCode, options);
27431
28128
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
27432
28129
  },
@@ -27441,17 +28138,19 @@ export const ServicesApiFactory = function (configuration?: Configuration, baseP
27441
28138
  const localVarFp = ServicesApiFp(configuration)
27442
28139
  return {
27443
28140
  /**
27444
- * Sample request: GET /api/v1/hospitals/services
27445
- * @summary Get all services.
27446
- * @param {string} [id]
27447
- * @param {string} [name]
27448
- * @param {string} [description]
28141
+ *
28142
+ * @summary Get all HospitalServices.
27449
28143
  * @param {string} [hospitalId]
27450
28144
  * @param {string} [hospitalName]
27451
28145
  * @param {string} [hospitalSlug]
28146
+ * @param {string} [id]
28147
+ * @param {string} [name]
28148
+ * @param {string} [description]
27452
28149
  * @param {string} [specialtyId]
28150
+ * @param {string} [specialtyName]
27453
28151
  * @param {string} [specialtyTypeId]
27454
28152
  * @param {string} [specialtyTypeName]
28153
+ * @param {string} [serviceCategoryId]
27455
28154
  * @param {MarketingType} [marketingType]
27456
28155
  * @param {Procedure} [procedure]
27457
28156
  * @param {Date} [created]
@@ -27462,18 +28161,29 @@ export const ServicesApiFactory = function (configuration?: Configuration, baseP
27462
28161
  * @param {*} [options] Override http request option.
27463
28162
  * @throws {RequiredError}
27464
28163
  */
27465
- apiV1ServicesGet(id?: string, name?: string, description?: string, hospitalId?: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyTypeId?: string, specialtyTypeName?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServicesModel> {
27466
- return localVarFp.apiV1ServicesGet(id, name, description, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyTypeId, specialtyTypeName, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
28164
+ apiV1ServicesGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalServicesModel> {
28165
+ return localVarFp.apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
28166
+ },
28167
+ /**
28168
+ *
28169
+ * @summary Get HospitalService.
28170
+ * @param {string} serviceId
28171
+ * @param {string} [languageCode]
28172
+ * @param {*} [options] Override http request option.
28173
+ * @throws {RequiredError}
28174
+ */
28175
+ apiV1ServicesServiceIdGet(serviceId: string, languageCode?: string, options?: any): AxiosPromise<HospitalServiceModel> {
28176
+ return localVarFp.apiV1ServicesServiceIdGet(serviceId, languageCode, options).then((request) => request(axios, basePath));
27467
28177
  },
27468
28178
  /**
27469
28179
  *
27470
- * @summary Get service by slug.
28180
+ * @summary Get HospitalService by slug.
27471
28181
  * @param {string} slug
27472
28182
  * @param {string} [languageCode]
27473
28183
  * @param {*} [options] Override http request option.
27474
28184
  * @throws {RequiredError}
27475
28185
  */
27476
- apiV1ServicesSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<ServiceModel> {
28186
+ apiV1ServicesSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<HospitalServiceModel> {
27477
28187
  return localVarFp.apiV1ServicesSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
27478
28188
  },
27479
28189
  };
@@ -27487,17 +28197,19 @@ export const ServicesApiFactory = function (configuration?: Configuration, baseP
27487
28197
  */
27488
28198
  export class ServicesApi extends BaseAPI {
27489
28199
  /**
27490
- * Sample request: GET /api/v1/hospitals/services
27491
- * @summary Get all services.
27492
- * @param {string} [id]
27493
- * @param {string} [name]
27494
- * @param {string} [description]
28200
+ *
28201
+ * @summary Get all HospitalServices.
27495
28202
  * @param {string} [hospitalId]
27496
28203
  * @param {string} [hospitalName]
27497
28204
  * @param {string} [hospitalSlug]
28205
+ * @param {string} [id]
28206
+ * @param {string} [name]
28207
+ * @param {string} [description]
27498
28208
  * @param {string} [specialtyId]
28209
+ * @param {string} [specialtyName]
27499
28210
  * @param {string} [specialtyTypeId]
27500
28211
  * @param {string} [specialtyTypeName]
28212
+ * @param {string} [serviceCategoryId]
27501
28213
  * @param {MarketingType} [marketingType]
27502
28214
  * @param {Procedure} [procedure]
27503
28215
  * @param {Date} [created]
@@ -27509,13 +28221,26 @@ export class ServicesApi extends BaseAPI {
27509
28221
  * @throws {RequiredError}
27510
28222
  * @memberof ServicesApi
27511
28223
  */
27512
- public apiV1ServicesGet(id?: string, name?: string, description?: string, hospitalId?: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyTypeId?: string, specialtyTypeName?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
27513
- return ServicesApiFp(this.configuration).apiV1ServicesGet(id, name, description, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyTypeId, specialtyTypeName, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
28224
+ public apiV1ServicesGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
28225
+ return ServicesApiFp(this.configuration).apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
28226
+ }
28227
+
28228
+ /**
28229
+ *
28230
+ * @summary Get HospitalService.
28231
+ * @param {string} serviceId
28232
+ * @param {string} [languageCode]
28233
+ * @param {*} [options] Override http request option.
28234
+ * @throws {RequiredError}
28235
+ * @memberof ServicesApi
28236
+ */
28237
+ public apiV1ServicesServiceIdGet(serviceId: string, languageCode?: string, options?: AxiosRequestConfig) {
28238
+ return ServicesApiFp(this.configuration).apiV1ServicesServiceIdGet(serviceId, languageCode, options).then((request) => request(this.axios, this.basePath));
27514
28239
  }
27515
28240
 
27516
28241
  /**
27517
28242
  *
27518
- * @summary Get service by slug.
28243
+ * @summary Get HospitalService by slug.
27519
28244
  * @param {string} slug
27520
28245
  * @param {string} [languageCode]
27521
28246
  * @param {*} [options] Override http request option.