ch-admin-api-client-typescript 4.4.7 → 4.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +421 -628
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +345 -475
- package/package.json +1 -1
- package/src/api.ts +612 -880
package/src/api.ts
CHANGED
|
@@ -1131,137 +1131,6 @@ export interface BatchAddHospitalConsultationTimetableModel {
|
|
|
1131
1131
|
*/
|
|
1132
1132
|
'end'?: string | null;
|
|
1133
1133
|
}
|
|
1134
|
-
/**
|
|
1135
|
-
*
|
|
1136
|
-
* @export
|
|
1137
|
-
* @interface BatchAddHospitalConsultationTimetableOverrideModel
|
|
1138
|
-
*/
|
|
1139
|
-
export interface BatchAddHospitalConsultationTimetableOverrideModel {
|
|
1140
|
-
/**
|
|
1141
|
-
*
|
|
1142
|
-
* @type {Date}
|
|
1143
|
-
* @memberof BatchAddHospitalConsultationTimetableOverrideModel
|
|
1144
|
-
*/
|
|
1145
|
-
'date'?: Date;
|
|
1146
|
-
/**
|
|
1147
|
-
*
|
|
1148
|
-
* @type {string}
|
|
1149
|
-
* @memberof BatchAddHospitalConsultationTimetableOverrideModel
|
|
1150
|
-
*/
|
|
1151
|
-
'start'?: string | null;
|
|
1152
|
-
/**
|
|
1153
|
-
*
|
|
1154
|
-
* @type {string}
|
|
1155
|
-
* @memberof BatchAddHospitalConsultationTimetableOverrideModel
|
|
1156
|
-
*/
|
|
1157
|
-
'end'?: string | null;
|
|
1158
|
-
/**
|
|
1159
|
-
*
|
|
1160
|
-
* @type {boolean}
|
|
1161
|
-
* @memberof BatchAddHospitalConsultationTimetableOverrideModel
|
|
1162
|
-
*/
|
|
1163
|
-
'isUnavailable'?: boolean | null;
|
|
1164
|
-
}
|
|
1165
|
-
/**
|
|
1166
|
-
*
|
|
1167
|
-
* @export
|
|
1168
|
-
* @interface BatchHeaderNavigationItemResultModel
|
|
1169
|
-
*/
|
|
1170
|
-
export interface BatchHeaderNavigationItemResultModel {
|
|
1171
|
-
/**
|
|
1172
|
-
*
|
|
1173
|
-
* @type {Array<HeaderNavigationItemModel>}
|
|
1174
|
-
* @memberof BatchHeaderNavigationItemResultModel
|
|
1175
|
-
*/
|
|
1176
|
-
'added'?: Array<HeaderNavigationItemModel> | null;
|
|
1177
|
-
/**
|
|
1178
|
-
*
|
|
1179
|
-
* @type {Array<HeaderNavigationItemModel>}
|
|
1180
|
-
* @memberof BatchHeaderNavigationItemResultModel
|
|
1181
|
-
*/
|
|
1182
|
-
'updated'?: Array<HeaderNavigationItemModel> | null;
|
|
1183
|
-
/**
|
|
1184
|
-
*
|
|
1185
|
-
* @type {Array<string>}
|
|
1186
|
-
* @memberof BatchHeaderNavigationItemResultModel
|
|
1187
|
-
*/
|
|
1188
|
-
'deleted'?: Array<string> | null;
|
|
1189
|
-
}
|
|
1190
|
-
/**
|
|
1191
|
-
*
|
|
1192
|
-
* @export
|
|
1193
|
-
* @interface BatchHeaderNavigationItemsCommand
|
|
1194
|
-
*/
|
|
1195
|
-
export interface BatchHeaderNavigationItemsCommand {
|
|
1196
|
-
/**
|
|
1197
|
-
*
|
|
1198
|
-
* @type {Array<CreateHeaderNavigationItemModel>}
|
|
1199
|
-
* @memberof BatchHeaderNavigationItemsCommand
|
|
1200
|
-
*/
|
|
1201
|
-
'adds'?: Array<CreateHeaderNavigationItemModel> | null;
|
|
1202
|
-
/**
|
|
1203
|
-
*
|
|
1204
|
-
* @type {Array<UpdateHeaderNavigationItemModel>}
|
|
1205
|
-
* @memberof BatchHeaderNavigationItemsCommand
|
|
1206
|
-
*/
|
|
1207
|
-
'updates'?: Array<UpdateHeaderNavigationItemModel> | null;
|
|
1208
|
-
/**
|
|
1209
|
-
*
|
|
1210
|
-
* @type {Array<string>}
|
|
1211
|
-
* @memberof BatchHeaderNavigationItemsCommand
|
|
1212
|
-
*/
|
|
1213
|
-
'deletes'?: Array<string> | null;
|
|
1214
|
-
}
|
|
1215
|
-
/**
|
|
1216
|
-
*
|
|
1217
|
-
* @export
|
|
1218
|
-
* @interface BatchHospitalConsultationTimetableOverridesCommand
|
|
1219
|
-
*/
|
|
1220
|
-
export interface BatchHospitalConsultationTimetableOverridesCommand {
|
|
1221
|
-
/**
|
|
1222
|
-
*
|
|
1223
|
-
* @type {Array<BatchAddHospitalConsultationTimetableOverrideModel>}
|
|
1224
|
-
* @memberof BatchHospitalConsultationTimetableOverridesCommand
|
|
1225
|
-
*/
|
|
1226
|
-
'adds'?: Array<BatchAddHospitalConsultationTimetableOverrideModel> | null;
|
|
1227
|
-
/**
|
|
1228
|
-
*
|
|
1229
|
-
* @type {Array<BatchUpdateHospitalConsultationTimetableOverrideModel>}
|
|
1230
|
-
* @memberof BatchHospitalConsultationTimetableOverridesCommand
|
|
1231
|
-
*/
|
|
1232
|
-
'updates'?: Array<BatchUpdateHospitalConsultationTimetableOverrideModel> | null;
|
|
1233
|
-
/**
|
|
1234
|
-
*
|
|
1235
|
-
* @type {Array<string>}
|
|
1236
|
-
* @memberof BatchHospitalConsultationTimetableOverridesCommand
|
|
1237
|
-
*/
|
|
1238
|
-
'deletes'?: Array<string> | null;
|
|
1239
|
-
}
|
|
1240
|
-
/**
|
|
1241
|
-
*
|
|
1242
|
-
* @export
|
|
1243
|
-
* @interface BatchHospitalConsultationTimetableOverridesResultModel
|
|
1244
|
-
*/
|
|
1245
|
-
export interface BatchHospitalConsultationTimetableOverridesResultModel {
|
|
1246
|
-
/**
|
|
1247
|
-
*
|
|
1248
|
-
* @type {Array<HospitalConsultationTimetableOverrideModel>}
|
|
1249
|
-
* @memberof BatchHospitalConsultationTimetableOverridesResultModel
|
|
1250
|
-
*/
|
|
1251
|
-
'adds'?: Array<HospitalConsultationTimetableOverrideModel> | null;
|
|
1252
|
-
/**
|
|
1253
|
-
*
|
|
1254
|
-
* @type {Array<HospitalConsultationTimetableOverrideModel>}
|
|
1255
|
-
* @memberof BatchHospitalConsultationTimetableOverridesResultModel
|
|
1256
|
-
*/
|
|
1257
|
-
'updates'?: Array<HospitalConsultationTimetableOverrideModel> | null;
|
|
1258
|
-
/**
|
|
1259
|
-
*
|
|
1260
|
-
* @type {Array<string>}
|
|
1261
|
-
* @memberof BatchHospitalConsultationTimetableOverridesResultModel
|
|
1262
|
-
*/
|
|
1263
|
-
'deletes'?: Array<string> | null;
|
|
1264
|
-
}
|
|
1265
1134
|
/**
|
|
1266
1135
|
*
|
|
1267
1136
|
* @export
|
|
@@ -1343,43 +1212,6 @@ export interface BatchUpdateHospitalConsultationTimetableModel {
|
|
|
1343
1212
|
*/
|
|
1344
1213
|
'end'?: string | null;
|
|
1345
1214
|
}
|
|
1346
|
-
/**
|
|
1347
|
-
*
|
|
1348
|
-
* @export
|
|
1349
|
-
* @interface BatchUpdateHospitalConsultationTimetableOverrideModel
|
|
1350
|
-
*/
|
|
1351
|
-
export interface BatchUpdateHospitalConsultationTimetableOverrideModel {
|
|
1352
|
-
/**
|
|
1353
|
-
*
|
|
1354
|
-
* @type {Date}
|
|
1355
|
-
* @memberof BatchUpdateHospitalConsultationTimetableOverrideModel
|
|
1356
|
-
*/
|
|
1357
|
-
'date'?: Date;
|
|
1358
|
-
/**
|
|
1359
|
-
*
|
|
1360
|
-
* @type {string}
|
|
1361
|
-
* @memberof BatchUpdateHospitalConsultationTimetableOverrideModel
|
|
1362
|
-
*/
|
|
1363
|
-
'start'?: string | null;
|
|
1364
|
-
/**
|
|
1365
|
-
*
|
|
1366
|
-
* @type {string}
|
|
1367
|
-
* @memberof BatchUpdateHospitalConsultationTimetableOverrideModel
|
|
1368
|
-
*/
|
|
1369
|
-
'end'?: string | null;
|
|
1370
|
-
/**
|
|
1371
|
-
*
|
|
1372
|
-
* @type {boolean}
|
|
1373
|
-
* @memberof BatchUpdateHospitalConsultationTimetableOverrideModel
|
|
1374
|
-
*/
|
|
1375
|
-
'isUnavailable'?: boolean | null;
|
|
1376
|
-
/**
|
|
1377
|
-
*
|
|
1378
|
-
* @type {string}
|
|
1379
|
-
* @memberof BatchUpdateHospitalConsultationTimetableOverrideModel
|
|
1380
|
-
*/
|
|
1381
|
-
'id'?: string;
|
|
1382
|
-
}
|
|
1383
1215
|
/**
|
|
1384
1216
|
*
|
|
1385
1217
|
* @export
|
|
@@ -4609,80 +4441,6 @@ export interface CreateFaqTagCommand {
|
|
|
4609
4441
|
*/
|
|
4610
4442
|
'tagId'?: string | null;
|
|
4611
4443
|
}
|
|
4612
|
-
/**
|
|
4613
|
-
*
|
|
4614
|
-
* @export
|
|
4615
|
-
* @interface CreateHeaderNavigationItemCommand
|
|
4616
|
-
*/
|
|
4617
|
-
export interface CreateHeaderNavigationItemCommand {
|
|
4618
|
-
/**
|
|
4619
|
-
*
|
|
4620
|
-
* @type {string}
|
|
4621
|
-
* @memberof CreateHeaderNavigationItemCommand
|
|
4622
|
-
*/
|
|
4623
|
-
'languageCode'?: string | null;
|
|
4624
|
-
/**
|
|
4625
|
-
*
|
|
4626
|
-
* @type {string}
|
|
4627
|
-
* @memberof CreateHeaderNavigationItemCommand
|
|
4628
|
-
*/
|
|
4629
|
-
'name'?: string | null;
|
|
4630
|
-
/**
|
|
4631
|
-
*
|
|
4632
|
-
* @type {string}
|
|
4633
|
-
* @memberof CreateHeaderNavigationItemCommand
|
|
4634
|
-
*/
|
|
4635
|
-
'url'?: string | null;
|
|
4636
|
-
/**
|
|
4637
|
-
*
|
|
4638
|
-
* @type {number}
|
|
4639
|
-
* @memberof CreateHeaderNavigationItemCommand
|
|
4640
|
-
*/
|
|
4641
|
-
'order'?: number;
|
|
4642
|
-
/**
|
|
4643
|
-
*
|
|
4644
|
-
* @type {string}
|
|
4645
|
-
* @memberof CreateHeaderNavigationItemCommand
|
|
4646
|
-
*/
|
|
4647
|
-
'parentId'?: string | null;
|
|
4648
|
-
}
|
|
4649
|
-
/**
|
|
4650
|
-
*
|
|
4651
|
-
* @export
|
|
4652
|
-
* @interface CreateHeaderNavigationItemModel
|
|
4653
|
-
*/
|
|
4654
|
-
export interface CreateHeaderNavigationItemModel {
|
|
4655
|
-
/**
|
|
4656
|
-
*
|
|
4657
|
-
* @type {string}
|
|
4658
|
-
* @memberof CreateHeaderNavigationItemModel
|
|
4659
|
-
*/
|
|
4660
|
-
'languageCode'?: string | null;
|
|
4661
|
-
/**
|
|
4662
|
-
*
|
|
4663
|
-
* @type {string}
|
|
4664
|
-
* @memberof CreateHeaderNavigationItemModel
|
|
4665
|
-
*/
|
|
4666
|
-
'name'?: string | null;
|
|
4667
|
-
/**
|
|
4668
|
-
*
|
|
4669
|
-
* @type {string}
|
|
4670
|
-
* @memberof CreateHeaderNavigationItemModel
|
|
4671
|
-
*/
|
|
4672
|
-
'url'?: string | null;
|
|
4673
|
-
/**
|
|
4674
|
-
*
|
|
4675
|
-
* @type {number}
|
|
4676
|
-
* @memberof CreateHeaderNavigationItemModel
|
|
4677
|
-
*/
|
|
4678
|
-
'order'?: number;
|
|
4679
|
-
/**
|
|
4680
|
-
*
|
|
4681
|
-
* @type {string}
|
|
4682
|
-
* @memberof CreateHeaderNavigationItemModel
|
|
4683
|
-
*/
|
|
4684
|
-
'parentId'?: string | null;
|
|
4685
|
-
}
|
|
4686
4444
|
/**
|
|
4687
4445
|
*
|
|
4688
4446
|
* @export
|
|
@@ -4854,37 +4612,6 @@ export interface CreateHospitalConsultationTimetableCommand {
|
|
|
4854
4612
|
*/
|
|
4855
4613
|
'end'?: string | null;
|
|
4856
4614
|
}
|
|
4857
|
-
/**
|
|
4858
|
-
*
|
|
4859
|
-
* @export
|
|
4860
|
-
* @interface CreateHospitalConsultationTimetableOverrideCommand
|
|
4861
|
-
*/
|
|
4862
|
-
export interface CreateHospitalConsultationTimetableOverrideCommand {
|
|
4863
|
-
/**
|
|
4864
|
-
*
|
|
4865
|
-
* @type {Date}
|
|
4866
|
-
* @memberof CreateHospitalConsultationTimetableOverrideCommand
|
|
4867
|
-
*/
|
|
4868
|
-
'date'?: Date;
|
|
4869
|
-
/**
|
|
4870
|
-
*
|
|
4871
|
-
* @type {string}
|
|
4872
|
-
* @memberof CreateHospitalConsultationTimetableOverrideCommand
|
|
4873
|
-
*/
|
|
4874
|
-
'start'?: string | null;
|
|
4875
|
-
/**
|
|
4876
|
-
*
|
|
4877
|
-
* @type {string}
|
|
4878
|
-
* @memberof CreateHospitalConsultationTimetableOverrideCommand
|
|
4879
|
-
*/
|
|
4880
|
-
'end'?: string | null;
|
|
4881
|
-
/**
|
|
4882
|
-
*
|
|
4883
|
-
* @type {boolean}
|
|
4884
|
-
* @memberof CreateHospitalConsultationTimetableOverrideCommand
|
|
4885
|
-
*/
|
|
4886
|
-
'isUnavailable'?: boolean | null;
|
|
4887
|
-
}
|
|
4888
4615
|
/**
|
|
4889
4616
|
*
|
|
4890
4617
|
* @export
|
|
@@ -6502,6 +6229,37 @@ export interface DeleteFaqTagCommand {
|
|
|
6502
6229
|
*/
|
|
6503
6230
|
'tagId'?: string | null;
|
|
6504
6231
|
}
|
|
6232
|
+
/**
|
|
6233
|
+
*
|
|
6234
|
+
* @export
|
|
6235
|
+
* @interface DeleteHospitalConsultationTimetableOverrideCommand
|
|
6236
|
+
*/
|
|
6237
|
+
export interface DeleteHospitalConsultationTimetableOverrideCommand {
|
|
6238
|
+
/**
|
|
6239
|
+
*
|
|
6240
|
+
* @type {Array<string>}
|
|
6241
|
+
* @memberof DeleteHospitalConsultationTimetableOverrideCommand
|
|
6242
|
+
*/
|
|
6243
|
+
'ids'?: Array<string> | null;
|
|
6244
|
+
/**
|
|
6245
|
+
*
|
|
6246
|
+
* @type {Date}
|
|
6247
|
+
* @memberof DeleteHospitalConsultationTimetableOverrideCommand
|
|
6248
|
+
*/
|
|
6249
|
+
'dateOnly'?: Date | null;
|
|
6250
|
+
/**
|
|
6251
|
+
*
|
|
6252
|
+
* @type {DayOfWeek}
|
|
6253
|
+
* @memberof DeleteHospitalConsultationTimetableOverrideCommand
|
|
6254
|
+
*/
|
|
6255
|
+
'dayOfWeek'?: DayOfWeek;
|
|
6256
|
+
/**
|
|
6257
|
+
*
|
|
6258
|
+
* @type {Date}
|
|
6259
|
+
* @memberof DeleteHospitalConsultationTimetableOverrideCommand
|
|
6260
|
+
*/
|
|
6261
|
+
'dateBefore'?: Date | null;
|
|
6262
|
+
}
|
|
6505
6263
|
/**
|
|
6506
6264
|
*
|
|
6507
6265
|
* @export
|
|
@@ -8133,6 +7891,12 @@ export interface HeaderNavigationItemModel {
|
|
|
8133
7891
|
* @memberof HeaderNavigationItemModel
|
|
8134
7892
|
*/
|
|
8135
7893
|
'order'?: number;
|
|
7894
|
+
/**
|
|
7895
|
+
*
|
|
7896
|
+
* @type {string}
|
|
7897
|
+
* @memberof HeaderNavigationItemModel
|
|
7898
|
+
*/
|
|
7899
|
+
'parentId'?: string | null;
|
|
8136
7900
|
/**
|
|
8137
7901
|
*
|
|
8138
7902
|
* @type {Array<HeaderNavigationItemModel>}
|
|
@@ -8326,6 +8090,12 @@ export interface HospitalConsultationTimetableOverrideItemModel {
|
|
|
8326
8090
|
* @memberof HospitalConsultationTimetableOverrideItemModel
|
|
8327
8091
|
*/
|
|
8328
8092
|
'date'?: Date;
|
|
8093
|
+
/**
|
|
8094
|
+
*
|
|
8095
|
+
* @type {DayOfWeek}
|
|
8096
|
+
* @memberof HospitalConsultationTimetableOverrideItemModel
|
|
8097
|
+
*/
|
|
8098
|
+
'dayOfWeek'?: DayOfWeek;
|
|
8329
8099
|
/**
|
|
8330
8100
|
*
|
|
8331
8101
|
* @type {string}
|
|
@@ -8363,6 +8133,12 @@ export interface HospitalConsultationTimetableOverrideModel {
|
|
|
8363
8133
|
* @memberof HospitalConsultationTimetableOverrideModel
|
|
8364
8134
|
*/
|
|
8365
8135
|
'date'?: Date;
|
|
8136
|
+
/**
|
|
8137
|
+
*
|
|
8138
|
+
* @type {DayOfWeek}
|
|
8139
|
+
* @memberof HospitalConsultationTimetableOverrideModel
|
|
8140
|
+
*/
|
|
8141
|
+
'dayOfWeek'?: DayOfWeek;
|
|
8366
8142
|
/**
|
|
8367
8143
|
*
|
|
8368
8144
|
* @type {string}
|
|
@@ -11588,6 +11364,100 @@ export enum ReviewType {
|
|
|
11588
11364
|
RealStory = 'RealStory'
|
|
11589
11365
|
}
|
|
11590
11366
|
|
|
11367
|
+
/**
|
|
11368
|
+
*
|
|
11369
|
+
* @export
|
|
11370
|
+
* @interface SaveHeaderNavigationItemModel
|
|
11371
|
+
*/
|
|
11372
|
+
export interface SaveHeaderNavigationItemModel {
|
|
11373
|
+
/**
|
|
11374
|
+
*
|
|
11375
|
+
* @type {string}
|
|
11376
|
+
* @memberof SaveHeaderNavigationItemModel
|
|
11377
|
+
*/
|
|
11378
|
+
'id'?: string | null;
|
|
11379
|
+
/**
|
|
11380
|
+
*
|
|
11381
|
+
* @type {string}
|
|
11382
|
+
* @memberof SaveHeaderNavigationItemModel
|
|
11383
|
+
*/
|
|
11384
|
+
'name'?: string | null;
|
|
11385
|
+
/**
|
|
11386
|
+
*
|
|
11387
|
+
* @type {string}
|
|
11388
|
+
* @memberof SaveHeaderNavigationItemModel
|
|
11389
|
+
*/
|
|
11390
|
+
'url'?: string | null;
|
|
11391
|
+
/**
|
|
11392
|
+
*
|
|
11393
|
+
* @type {number}
|
|
11394
|
+
* @memberof SaveHeaderNavigationItemModel
|
|
11395
|
+
*/
|
|
11396
|
+
'order'?: number;
|
|
11397
|
+
/**
|
|
11398
|
+
*
|
|
11399
|
+
* @type {Array<SaveHeaderNavigationItemModel>}
|
|
11400
|
+
* @memberof SaveHeaderNavigationItemModel
|
|
11401
|
+
*/
|
|
11402
|
+
'subItems'?: Array<SaveHeaderNavigationItemModel> | null;
|
|
11403
|
+
}
|
|
11404
|
+
/**
|
|
11405
|
+
*
|
|
11406
|
+
* @export
|
|
11407
|
+
* @interface SaveHeaderNavigationsCommand
|
|
11408
|
+
*/
|
|
11409
|
+
export interface SaveHeaderNavigationsCommand {
|
|
11410
|
+
/**
|
|
11411
|
+
*
|
|
11412
|
+
* @type {SaveHeaderNavigationItemModel}
|
|
11413
|
+
* @memberof SaveHeaderNavigationsCommand
|
|
11414
|
+
*/
|
|
11415
|
+
'item'?: SaveHeaderNavigationItemModel;
|
|
11416
|
+
}
|
|
11417
|
+
/**
|
|
11418
|
+
*
|
|
11419
|
+
* @export
|
|
11420
|
+
* @interface SaveHospitalConsultationTimetableOverrideModel
|
|
11421
|
+
*/
|
|
11422
|
+
export interface SaveHospitalConsultationTimetableOverrideModel {
|
|
11423
|
+
/**
|
|
11424
|
+
*
|
|
11425
|
+
* @type {Date}
|
|
11426
|
+
* @memberof SaveHospitalConsultationTimetableOverrideModel
|
|
11427
|
+
*/
|
|
11428
|
+
'date'?: Date;
|
|
11429
|
+
/**
|
|
11430
|
+
*
|
|
11431
|
+
* @type {string}
|
|
11432
|
+
* @memberof SaveHospitalConsultationTimetableOverrideModel
|
|
11433
|
+
*/
|
|
11434
|
+
'start'?: string | null;
|
|
11435
|
+
/**
|
|
11436
|
+
*
|
|
11437
|
+
* @type {string}
|
|
11438
|
+
* @memberof SaveHospitalConsultationTimetableOverrideModel
|
|
11439
|
+
*/
|
|
11440
|
+
'end'?: string | null;
|
|
11441
|
+
/**
|
|
11442
|
+
*
|
|
11443
|
+
* @type {boolean}
|
|
11444
|
+
* @memberof SaveHospitalConsultationTimetableOverrideModel
|
|
11445
|
+
*/
|
|
11446
|
+
'isUnavailable'?: boolean | null;
|
|
11447
|
+
}
|
|
11448
|
+
/**
|
|
11449
|
+
*
|
|
11450
|
+
* @export
|
|
11451
|
+
* @interface SaveHospitalConsultationTimetableOverridesCommand
|
|
11452
|
+
*/
|
|
11453
|
+
export interface SaveHospitalConsultationTimetableOverridesCommand {
|
|
11454
|
+
/**
|
|
11455
|
+
*
|
|
11456
|
+
* @type {Array<SaveHospitalConsultationTimetableOverrideModel>}
|
|
11457
|
+
* @memberof SaveHospitalConsultationTimetableOverridesCommand
|
|
11458
|
+
*/
|
|
11459
|
+
'items'?: Array<SaveHospitalConsultationTimetableOverrideModel> | null;
|
|
11460
|
+
}
|
|
11591
11461
|
/**
|
|
11592
11462
|
*
|
|
11593
11463
|
* @export
|
|
@@ -13105,6 +12975,18 @@ export interface TemplateVersionsModel {
|
|
|
13105
12975
|
*/
|
|
13106
12976
|
'metaData'?: PagedListMetaData;
|
|
13107
12977
|
}
|
|
12978
|
+
/**
|
|
12979
|
+
*
|
|
12980
|
+
* @export
|
|
12981
|
+
* @enum {string}
|
|
12982
|
+
*/
|
|
12983
|
+
|
|
12984
|
+
export enum TranslateAllOptions {
|
|
12985
|
+
All = 'All',
|
|
12986
|
+
HospitalLanguages = 'HospitalLanguages',
|
|
12987
|
+
RequestedLanguages = 'RequestedLanguages'
|
|
12988
|
+
}
|
|
12989
|
+
|
|
13108
12990
|
/**
|
|
13109
12991
|
*
|
|
13110
12992
|
* @export
|
|
@@ -13136,6 +13018,80 @@ export interface TranslateCommand {
|
|
|
13136
13018
|
*/
|
|
13137
13019
|
'isHtml'?: boolean;
|
|
13138
13020
|
}
|
|
13021
|
+
/**
|
|
13022
|
+
*
|
|
13023
|
+
* @export
|
|
13024
|
+
* @interface TranslateDoctorAffiliationCommand
|
|
13025
|
+
*/
|
|
13026
|
+
export interface TranslateDoctorAffiliationCommand {
|
|
13027
|
+
/**
|
|
13028
|
+
*
|
|
13029
|
+
* @type {string}
|
|
13030
|
+
* @memberof TranslateDoctorAffiliationCommand
|
|
13031
|
+
*/
|
|
13032
|
+
'basisLanguageCode'?: string | null;
|
|
13033
|
+
/**
|
|
13034
|
+
*
|
|
13035
|
+
* @type {TranslateAllOptions}
|
|
13036
|
+
* @memberof TranslateDoctorAffiliationCommand
|
|
13037
|
+
*/
|
|
13038
|
+
'translationOption'?: TranslateAllOptions;
|
|
13039
|
+
/**
|
|
13040
|
+
*
|
|
13041
|
+
* @type {Array<string>}
|
|
13042
|
+
* @memberof TranslateDoctorAffiliationCommand
|
|
13043
|
+
*/
|
|
13044
|
+
'translateToLanguageCodes'?: Array<string> | null;
|
|
13045
|
+
/**
|
|
13046
|
+
*
|
|
13047
|
+
* @type {boolean}
|
|
13048
|
+
* @memberof TranslateDoctorAffiliationCommand
|
|
13049
|
+
*/
|
|
13050
|
+
'isAllowedOverwrite'?: boolean | null;
|
|
13051
|
+
/**
|
|
13052
|
+
*
|
|
13053
|
+
* @type {boolean}
|
|
13054
|
+
* @memberof TranslateDoctorAffiliationCommand
|
|
13055
|
+
*/
|
|
13056
|
+
'isAllowOverwriteConfirmed'?: boolean | null;
|
|
13057
|
+
}
|
|
13058
|
+
/**
|
|
13059
|
+
*
|
|
13060
|
+
* @export
|
|
13061
|
+
* @interface TranslateHospitalCommand
|
|
13062
|
+
*/
|
|
13063
|
+
export interface TranslateHospitalCommand {
|
|
13064
|
+
/**
|
|
13065
|
+
*
|
|
13066
|
+
* @type {string}
|
|
13067
|
+
* @memberof TranslateHospitalCommand
|
|
13068
|
+
*/
|
|
13069
|
+
'basisLanguageCode'?: string | null;
|
|
13070
|
+
/**
|
|
13071
|
+
*
|
|
13072
|
+
* @type {TranslateAllOptions}
|
|
13073
|
+
* @memberof TranslateHospitalCommand
|
|
13074
|
+
*/
|
|
13075
|
+
'translationOption'?: TranslateAllOptions;
|
|
13076
|
+
/**
|
|
13077
|
+
*
|
|
13078
|
+
* @type {Array<string>}
|
|
13079
|
+
* @memberof TranslateHospitalCommand
|
|
13080
|
+
*/
|
|
13081
|
+
'translateToLanguageCodes'?: Array<string> | null;
|
|
13082
|
+
/**
|
|
13083
|
+
*
|
|
13084
|
+
* @type {boolean}
|
|
13085
|
+
* @memberof TranslateHospitalCommand
|
|
13086
|
+
*/
|
|
13087
|
+
'isAllowedOverwrite'?: boolean | null;
|
|
13088
|
+
/**
|
|
13089
|
+
*
|
|
13090
|
+
* @type {boolean}
|
|
13091
|
+
* @memberof TranslateHospitalCommand
|
|
13092
|
+
*/
|
|
13093
|
+
'isAllowOverwriteConfirmed'?: boolean | null;
|
|
13094
|
+
}
|
|
13139
13095
|
/**
|
|
13140
13096
|
*
|
|
13141
13097
|
* @export
|
|
@@ -14282,86 +14238,6 @@ export interface UpdateFaqCommand {
|
|
|
14282
14238
|
*/
|
|
14283
14239
|
'medias'?: Array<MediaModel> | null;
|
|
14284
14240
|
}
|
|
14285
|
-
/**
|
|
14286
|
-
*
|
|
14287
|
-
* @export
|
|
14288
|
-
* @interface UpdateHeaderNavigationItemCommand
|
|
14289
|
-
*/
|
|
14290
|
-
export interface UpdateHeaderNavigationItemCommand {
|
|
14291
|
-
/**
|
|
14292
|
-
*
|
|
14293
|
-
* @type {string}
|
|
14294
|
-
* @memberof UpdateHeaderNavigationItemCommand
|
|
14295
|
-
*/
|
|
14296
|
-
'languageCode'?: string | null;
|
|
14297
|
-
/**
|
|
14298
|
-
*
|
|
14299
|
-
* @type {string}
|
|
14300
|
-
* @memberof UpdateHeaderNavigationItemCommand
|
|
14301
|
-
*/
|
|
14302
|
-
'name'?: string | null;
|
|
14303
|
-
/**
|
|
14304
|
-
*
|
|
14305
|
-
* @type {string}
|
|
14306
|
-
* @memberof UpdateHeaderNavigationItemCommand
|
|
14307
|
-
*/
|
|
14308
|
-
'url'?: string | null;
|
|
14309
|
-
/**
|
|
14310
|
-
*
|
|
14311
|
-
* @type {number}
|
|
14312
|
-
* @memberof UpdateHeaderNavigationItemCommand
|
|
14313
|
-
*/
|
|
14314
|
-
'order'?: number;
|
|
14315
|
-
/**
|
|
14316
|
-
*
|
|
14317
|
-
* @type {string}
|
|
14318
|
-
* @memberof UpdateHeaderNavigationItemCommand
|
|
14319
|
-
*/
|
|
14320
|
-
'parentId'?: string | null;
|
|
14321
|
-
}
|
|
14322
|
-
/**
|
|
14323
|
-
*
|
|
14324
|
-
* @export
|
|
14325
|
-
* @interface UpdateHeaderNavigationItemModel
|
|
14326
|
-
*/
|
|
14327
|
-
export interface UpdateHeaderNavigationItemModel {
|
|
14328
|
-
/**
|
|
14329
|
-
*
|
|
14330
|
-
* @type {string}
|
|
14331
|
-
* @memberof UpdateHeaderNavigationItemModel
|
|
14332
|
-
*/
|
|
14333
|
-
'languageCode'?: string | null;
|
|
14334
|
-
/**
|
|
14335
|
-
*
|
|
14336
|
-
* @type {string}
|
|
14337
|
-
* @memberof UpdateHeaderNavigationItemModel
|
|
14338
|
-
*/
|
|
14339
|
-
'name'?: string | null;
|
|
14340
|
-
/**
|
|
14341
|
-
*
|
|
14342
|
-
* @type {string}
|
|
14343
|
-
* @memberof UpdateHeaderNavigationItemModel
|
|
14344
|
-
*/
|
|
14345
|
-
'url'?: string | null;
|
|
14346
|
-
/**
|
|
14347
|
-
*
|
|
14348
|
-
* @type {number}
|
|
14349
|
-
* @memberof UpdateHeaderNavigationItemModel
|
|
14350
|
-
*/
|
|
14351
|
-
'order'?: number;
|
|
14352
|
-
/**
|
|
14353
|
-
*
|
|
14354
|
-
* @type {string}
|
|
14355
|
-
* @memberof UpdateHeaderNavigationItemModel
|
|
14356
|
-
*/
|
|
14357
|
-
'parentId'?: string | null;
|
|
14358
|
-
/**
|
|
14359
|
-
*
|
|
14360
|
-
* @type {string}
|
|
14361
|
-
* @memberof UpdateHeaderNavigationItemModel
|
|
14362
|
-
*/
|
|
14363
|
-
'id'?: string;
|
|
14364
|
-
}
|
|
14365
14241
|
/**
|
|
14366
14242
|
*
|
|
14367
14243
|
* @export
|
|
@@ -14544,37 +14420,6 @@ export interface UpdateHospitalConsultationTimetableCommand {
|
|
|
14544
14420
|
*/
|
|
14545
14421
|
'end'?: string | null;
|
|
14546
14422
|
}
|
|
14547
|
-
/**
|
|
14548
|
-
*
|
|
14549
|
-
* @export
|
|
14550
|
-
* @interface UpdateHospitalConsultationTimetableOverrideCommand
|
|
14551
|
-
*/
|
|
14552
|
-
export interface UpdateHospitalConsultationTimetableOverrideCommand {
|
|
14553
|
-
/**
|
|
14554
|
-
*
|
|
14555
|
-
* @type {Date}
|
|
14556
|
-
* @memberof UpdateHospitalConsultationTimetableOverrideCommand
|
|
14557
|
-
*/
|
|
14558
|
-
'date'?: Date;
|
|
14559
|
-
/**
|
|
14560
|
-
*
|
|
14561
|
-
* @type {string}
|
|
14562
|
-
* @memberof UpdateHospitalConsultationTimetableOverrideCommand
|
|
14563
|
-
*/
|
|
14564
|
-
'start'?: string | null;
|
|
14565
|
-
/**
|
|
14566
|
-
*
|
|
14567
|
-
* @type {string}
|
|
14568
|
-
* @memberof UpdateHospitalConsultationTimetableOverrideCommand
|
|
14569
|
-
*/
|
|
14570
|
-
'end'?: string | null;
|
|
14571
|
-
/**
|
|
14572
|
-
*
|
|
14573
|
-
* @type {boolean}
|
|
14574
|
-
* @memberof UpdateHospitalConsultationTimetableOverrideCommand
|
|
14575
|
-
*/
|
|
14576
|
-
'isUnavailable'?: boolean | null;
|
|
14577
|
-
}
|
|
14578
14423
|
/**
|
|
14579
14424
|
*
|
|
14580
14425
|
* @export
|
|
@@ -27258,6 +27103,48 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
|
|
|
27258
27103
|
options: localVarRequestOptions,
|
|
27259
27104
|
};
|
|
27260
27105
|
},
|
|
27106
|
+
/**
|
|
27107
|
+
*
|
|
27108
|
+
* @summary Translate doctorAffiliation at once
|
|
27109
|
+
* @param {string} id
|
|
27110
|
+
* @param {TranslateDoctorAffiliationCommand} [translateDoctorAffiliationCommand]
|
|
27111
|
+
* @param {*} [options] Override http request option.
|
|
27112
|
+
* @throws {RequiredError}
|
|
27113
|
+
*/
|
|
27114
|
+
apiV1DoctoraffiliationsIdTranslatePost: async (id: string, translateDoctorAffiliationCommand?: TranslateDoctorAffiliationCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27115
|
+
// verify required parameter 'id' is not null or undefined
|
|
27116
|
+
assertParamExists('apiV1DoctoraffiliationsIdTranslatePost', 'id', id)
|
|
27117
|
+
const localVarPath = `/api/v1/doctoraffiliations/{id}/translate`
|
|
27118
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
27119
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27120
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27121
|
+
let baseOptions;
|
|
27122
|
+
if (configuration) {
|
|
27123
|
+
baseOptions = configuration.baseOptions;
|
|
27124
|
+
}
|
|
27125
|
+
|
|
27126
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
27127
|
+
const localVarHeaderParameter = {} as any;
|
|
27128
|
+
const localVarQueryParameter = {} as any;
|
|
27129
|
+
|
|
27130
|
+
// authentication oauth2 required
|
|
27131
|
+
// oauth required
|
|
27132
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
27133
|
+
|
|
27134
|
+
|
|
27135
|
+
|
|
27136
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
27137
|
+
|
|
27138
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27139
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27140
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
27141
|
+
localVarRequestOptions.data = serializeDataIfNeeded(translateDoctorAffiliationCommand, localVarRequestOptions, configuration)
|
|
27142
|
+
|
|
27143
|
+
return {
|
|
27144
|
+
url: toPathString(localVarUrlObj),
|
|
27145
|
+
options: localVarRequestOptions,
|
|
27146
|
+
};
|
|
27147
|
+
},
|
|
27261
27148
|
/**
|
|
27262
27149
|
*
|
|
27263
27150
|
* @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
|
|
@@ -27439,6 +27326,18 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
|
|
|
27439
27326
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsIdReactivePut(id, options);
|
|
27440
27327
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27441
27328
|
},
|
|
27329
|
+
/**
|
|
27330
|
+
*
|
|
27331
|
+
* @summary Translate doctorAffiliation at once
|
|
27332
|
+
* @param {string} id
|
|
27333
|
+
* @param {TranslateDoctorAffiliationCommand} [translateDoctorAffiliationCommand]
|
|
27334
|
+
* @param {*} [options] Override http request option.
|
|
27335
|
+
* @throws {RequiredError}
|
|
27336
|
+
*/
|
|
27337
|
+
async apiV1DoctoraffiliationsIdTranslatePost(id: string, translateDoctorAffiliationCommand?: TranslateDoctorAffiliationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
27338
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsIdTranslatePost(id, translateDoctorAffiliationCommand, options);
|
|
27339
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27340
|
+
},
|
|
27442
27341
|
/**
|
|
27443
27342
|
*
|
|
27444
27343
|
* @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
|
|
@@ -27583,6 +27482,17 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
|
|
|
27583
27482
|
apiV1DoctoraffiliationsIdReactivePut(id: string, options?: any): AxiosPromise<boolean> {
|
|
27584
27483
|
return localVarFp.apiV1DoctoraffiliationsIdReactivePut(id, options).then((request) => request(axios, basePath));
|
|
27585
27484
|
},
|
|
27485
|
+
/**
|
|
27486
|
+
*
|
|
27487
|
+
* @summary Translate doctorAffiliation at once
|
|
27488
|
+
* @param {string} id
|
|
27489
|
+
* @param {TranslateDoctorAffiliationCommand} [translateDoctorAffiliationCommand]
|
|
27490
|
+
* @param {*} [options] Override http request option.
|
|
27491
|
+
* @throws {RequiredError}
|
|
27492
|
+
*/
|
|
27493
|
+
apiV1DoctoraffiliationsIdTranslatePost(id: string, translateDoctorAffiliationCommand?: TranslateDoctorAffiliationCommand, options?: any): AxiosPromise<boolean> {
|
|
27494
|
+
return localVarFp.apiV1DoctoraffiliationsIdTranslatePost(id, translateDoctorAffiliationCommand, options).then((request) => request(axios, basePath));
|
|
27495
|
+
},
|
|
27586
27496
|
/**
|
|
27587
27497
|
*
|
|
27588
27498
|
* @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
|
|
@@ -27746,6 +27656,19 @@ export class DoctorAffiliationsApi extends BaseAPI {
|
|
|
27746
27656
|
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsIdReactivePut(id, options).then((request) => request(this.axios, this.basePath));
|
|
27747
27657
|
}
|
|
27748
27658
|
|
|
27659
|
+
/**
|
|
27660
|
+
*
|
|
27661
|
+
* @summary Translate doctorAffiliation at once
|
|
27662
|
+
* @param {string} id
|
|
27663
|
+
* @param {TranslateDoctorAffiliationCommand} [translateDoctorAffiliationCommand]
|
|
27664
|
+
* @param {*} [options] Override http request option.
|
|
27665
|
+
* @throws {RequiredError}
|
|
27666
|
+
* @memberof DoctorAffiliationsApi
|
|
27667
|
+
*/
|
|
27668
|
+
public apiV1DoctoraffiliationsIdTranslatePost(id: string, translateDoctorAffiliationCommand?: TranslateDoctorAffiliationCommand, options?: AxiosRequestConfig) {
|
|
27669
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsIdTranslatePost(id, translateDoctorAffiliationCommand, options).then((request) => request(this.axios, this.basePath));
|
|
27670
|
+
}
|
|
27671
|
+
|
|
27749
27672
|
/**
|
|
27750
27673
|
*
|
|
27751
27674
|
* @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
|
|
@@ -33774,53 +33697,18 @@ export class GroupChannelsApi extends BaseAPI {
|
|
|
33774
33697
|
*/
|
|
33775
33698
|
export const HeaderNavigationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
33776
33699
|
return {
|
|
33777
|
-
/**
|
|
33778
|
-
*
|
|
33779
|
-
* @summary Batch HeaderNavigationItems; Do Add, update, delete at one request
|
|
33780
|
-
* @param {BatchHeaderNavigationItemsCommand} [batchHeaderNavigationItemsCommand]
|
|
33781
|
-
* @param {*} [options] Override http request option.
|
|
33782
|
-
* @throws {RequiredError}
|
|
33783
|
-
*/
|
|
33784
|
-
apiV1HeadernavigationsBatchPost: async (batchHeaderNavigationItemsCommand?: BatchHeaderNavigationItemsCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33785
|
-
const localVarPath = `/api/v1/headernavigations/batch`;
|
|
33786
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33787
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33788
|
-
let baseOptions;
|
|
33789
|
-
if (configuration) {
|
|
33790
|
-
baseOptions = configuration.baseOptions;
|
|
33791
|
-
}
|
|
33792
|
-
|
|
33793
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
33794
|
-
const localVarHeaderParameter = {} as any;
|
|
33795
|
-
const localVarQueryParameter = {} as any;
|
|
33796
|
-
|
|
33797
|
-
// authentication oauth2 required
|
|
33798
|
-
// oauth required
|
|
33799
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
33800
|
-
|
|
33801
|
-
|
|
33802
|
-
|
|
33803
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
33804
|
-
|
|
33805
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33806
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33807
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33808
|
-
localVarRequestOptions.data = serializeDataIfNeeded(batchHeaderNavigationItemsCommand, localVarRequestOptions, configuration)
|
|
33809
|
-
|
|
33810
|
-
return {
|
|
33811
|
-
url: toPathString(localVarUrlObj),
|
|
33812
|
-
options: localVarRequestOptions,
|
|
33813
|
-
};
|
|
33814
|
-
},
|
|
33815
33700
|
/**
|
|
33816
33701
|
*
|
|
33817
33702
|
* @summary Get all HeaderNavigationItems
|
|
33818
|
-
* @param {string}
|
|
33703
|
+
* @param {string} languageCode
|
|
33819
33704
|
* @param {*} [options] Override http request option.
|
|
33820
33705
|
* @throws {RequiredError}
|
|
33821
33706
|
*/
|
|
33822
|
-
|
|
33823
|
-
|
|
33707
|
+
apiV1HeadernavigationsLanguageCodeGet: async (languageCode: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33708
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
33709
|
+
assertParamExists('apiV1HeadernavigationsLanguageCodeGet', 'languageCode', languageCode)
|
|
33710
|
+
const localVarPath = `/api/v1/headernavigations/{languageCode}`
|
|
33711
|
+
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)));
|
|
33824
33712
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33825
33713
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33826
33714
|
let baseOptions;
|
|
@@ -33836,10 +33724,6 @@ export const HeaderNavigationsApiAxiosParamCreator = function (configuration?: C
|
|
|
33836
33724
|
// oauth required
|
|
33837
33725
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
33838
33726
|
|
|
33839
|
-
if (languageCode !== undefined) {
|
|
33840
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
33841
|
-
}
|
|
33842
|
-
|
|
33843
33727
|
|
|
33844
33728
|
|
|
33845
33729
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -33854,14 +33738,18 @@ export const HeaderNavigationsApiAxiosParamCreator = function (configuration?: C
|
|
|
33854
33738
|
/**
|
|
33855
33739
|
*
|
|
33856
33740
|
* @summary Delete HeaderNavigationItem
|
|
33741
|
+
* @param {string} languageCode
|
|
33857
33742
|
* @param {string} id
|
|
33858
33743
|
* @param {*} [options] Override http request option.
|
|
33859
33744
|
* @throws {RequiredError}
|
|
33860
33745
|
*/
|
|
33861
|
-
|
|
33746
|
+
apiV1HeadernavigationsLanguageCodeIdDelete: async (languageCode: string, id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33747
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
33748
|
+
assertParamExists('apiV1HeadernavigationsLanguageCodeIdDelete', 'languageCode', languageCode)
|
|
33862
33749
|
// verify required parameter 'id' is not null or undefined
|
|
33863
|
-
assertParamExists('
|
|
33864
|
-
const localVarPath = `/api/v1/headernavigations/{id}`
|
|
33750
|
+
assertParamExists('apiV1HeadernavigationsLanguageCodeIdDelete', 'id', id)
|
|
33751
|
+
const localVarPath = `/api/v1/headernavigations/{languageCode}/{id}`
|
|
33752
|
+
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)))
|
|
33865
33753
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
33866
33754
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33867
33755
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -33892,14 +33780,18 @@ export const HeaderNavigationsApiAxiosParamCreator = function (configuration?: C
|
|
|
33892
33780
|
/**
|
|
33893
33781
|
*
|
|
33894
33782
|
* @summary Get HeaderNavigationItem by id
|
|
33783
|
+
* @param {string} languageCode
|
|
33895
33784
|
* @param {string} id
|
|
33896
33785
|
* @param {*} [options] Override http request option.
|
|
33897
33786
|
* @throws {RequiredError}
|
|
33898
33787
|
*/
|
|
33899
|
-
|
|
33788
|
+
apiV1HeadernavigationsLanguageCodeIdGet: async (languageCode: string, id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33789
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
33790
|
+
assertParamExists('apiV1HeadernavigationsLanguageCodeIdGet', 'languageCode', languageCode)
|
|
33900
33791
|
// verify required parameter 'id' is not null or undefined
|
|
33901
|
-
assertParamExists('
|
|
33902
|
-
const localVarPath = `/api/v1/headernavigations/{id}`
|
|
33792
|
+
assertParamExists('apiV1HeadernavigationsLanguageCodeIdGet', 'id', id)
|
|
33793
|
+
const localVarPath = `/api/v1/headernavigations/{languageCode}/{id}`
|
|
33794
|
+
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)))
|
|
33903
33795
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
33904
33796
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33905
33797
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -33927,59 +33819,21 @@ export const HeaderNavigationsApiAxiosParamCreator = function (configuration?: C
|
|
|
33927
33819
|
options: localVarRequestOptions,
|
|
33928
33820
|
};
|
|
33929
33821
|
},
|
|
33930
|
-
/**
|
|
33931
|
-
*
|
|
33932
|
-
* @summary Update HeaderNavigationItem
|
|
33933
|
-
* @param {string} id
|
|
33934
|
-
* @param {UpdateHeaderNavigationItemCommand} [updateHeaderNavigationItemCommand]
|
|
33935
|
-
* @param {*} [options] Override http request option.
|
|
33936
|
-
* @throws {RequiredError}
|
|
33937
|
-
*/
|
|
33938
|
-
apiV1HeadernavigationsIdPut: async (id: string, updateHeaderNavigationItemCommand?: UpdateHeaderNavigationItemCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33939
|
-
// verify required parameter 'id' is not null or undefined
|
|
33940
|
-
assertParamExists('apiV1HeadernavigationsIdPut', 'id', id)
|
|
33941
|
-
const localVarPath = `/api/v1/headernavigations/{id}`
|
|
33942
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
33943
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33944
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33945
|
-
let baseOptions;
|
|
33946
|
-
if (configuration) {
|
|
33947
|
-
baseOptions = configuration.baseOptions;
|
|
33948
|
-
}
|
|
33949
|
-
|
|
33950
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
33951
|
-
const localVarHeaderParameter = {} as any;
|
|
33952
|
-
const localVarQueryParameter = {} as any;
|
|
33953
|
-
|
|
33954
|
-
// authentication oauth2 required
|
|
33955
|
-
// oauth required
|
|
33956
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
33957
|
-
|
|
33958
|
-
|
|
33959
|
-
|
|
33960
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
33961
|
-
|
|
33962
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33963
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33964
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33965
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateHeaderNavigationItemCommand, localVarRequestOptions, configuration)
|
|
33966
|
-
|
|
33967
|
-
return {
|
|
33968
|
-
url: toPathString(localVarUrlObj),
|
|
33969
|
-
options: localVarRequestOptions,
|
|
33970
|
-
};
|
|
33971
|
-
},
|
|
33972
33822
|
/**
|
|
33973
33823
|
*
|
|
33974
33824
|
* @summary Get HeaderNavigationItems by parent id
|
|
33825
|
+
* @param {string} languageCode
|
|
33975
33826
|
* @param {string} parentId
|
|
33976
33827
|
* @param {*} [options] Override http request option.
|
|
33977
33828
|
* @throws {RequiredError}
|
|
33978
33829
|
*/
|
|
33979
|
-
|
|
33830
|
+
apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet: async (languageCode: string, parentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33831
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
33832
|
+
assertParamExists('apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet', 'languageCode', languageCode)
|
|
33980
33833
|
// verify required parameter 'parentId' is not null or undefined
|
|
33981
|
-
assertParamExists('
|
|
33982
|
-
const localVarPath = `/api/v1/headernavigations/{parentId}/subitems`
|
|
33834
|
+
assertParamExists('apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet', 'parentId', parentId)
|
|
33835
|
+
const localVarPath = `/api/v1/headernavigations/{languageCode}/{parentId}/subitems`
|
|
33836
|
+
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)))
|
|
33983
33837
|
.replace(`{${"parentId"}}`, encodeURIComponent(String(parentId)));
|
|
33984
33838
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33985
33839
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -34009,13 +33863,17 @@ export const HeaderNavigationsApiAxiosParamCreator = function (configuration?: C
|
|
|
34009
33863
|
},
|
|
34010
33864
|
/**
|
|
34011
33865
|
*
|
|
34012
|
-
* @summary
|
|
34013
|
-
* @param {
|
|
33866
|
+
* @summary Save HeaderNavigationItem
|
|
33867
|
+
* @param {string} languageCode
|
|
33868
|
+
* @param {SaveHeaderNavigationsCommand} [saveHeaderNavigationsCommand]
|
|
34014
33869
|
* @param {*} [options] Override http request option.
|
|
34015
33870
|
* @throws {RequiredError}
|
|
34016
33871
|
*/
|
|
34017
|
-
|
|
34018
|
-
|
|
33872
|
+
apiV1HeadernavigationsLanguageCodePost: async (languageCode: string, saveHeaderNavigationsCommand?: SaveHeaderNavigationsCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33873
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
33874
|
+
assertParamExists('apiV1HeadernavigationsLanguageCodePost', 'languageCode', languageCode)
|
|
33875
|
+
const localVarPath = `/api/v1/headernavigations/{languageCode}`
|
|
33876
|
+
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)));
|
|
34019
33877
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34020
33878
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34021
33879
|
let baseOptions;
|
|
@@ -34038,7 +33896,7 @@ export const HeaderNavigationsApiAxiosParamCreator = function (configuration?: C
|
|
|
34038
33896
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34039
33897
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34040
33898
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34041
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
33899
|
+
localVarRequestOptions.data = serializeDataIfNeeded(saveHeaderNavigationsCommand, localVarRequestOptions, configuration)
|
|
34042
33900
|
|
|
34043
33901
|
return {
|
|
34044
33902
|
url: toPathString(localVarUrlObj),
|
|
@@ -34055,82 +33913,63 @@ export const HeaderNavigationsApiAxiosParamCreator = function (configuration?: C
|
|
|
34055
33913
|
export const HeaderNavigationsApiFp = function(configuration?: Configuration) {
|
|
34056
33914
|
const localVarAxiosParamCreator = HeaderNavigationsApiAxiosParamCreator(configuration)
|
|
34057
33915
|
return {
|
|
34058
|
-
/**
|
|
34059
|
-
*
|
|
34060
|
-
* @summary Batch HeaderNavigationItems; Do Add, update, delete at one request
|
|
34061
|
-
* @param {BatchHeaderNavigationItemsCommand} [batchHeaderNavigationItemsCommand]
|
|
34062
|
-
* @param {*} [options] Override http request option.
|
|
34063
|
-
* @throws {RequiredError}
|
|
34064
|
-
*/
|
|
34065
|
-
async apiV1HeadernavigationsBatchPost(batchHeaderNavigationItemsCommand?: BatchHeaderNavigationItemsCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchHeaderNavigationItemResultModel>> {
|
|
34066
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HeadernavigationsBatchPost(batchHeaderNavigationItemsCommand, options);
|
|
34067
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34068
|
-
},
|
|
34069
33916
|
/**
|
|
34070
33917
|
*
|
|
34071
33918
|
* @summary Get all HeaderNavigationItems
|
|
34072
|
-
* @param {string}
|
|
33919
|
+
* @param {string} languageCode
|
|
34073
33920
|
* @param {*} [options] Override http request option.
|
|
34074
33921
|
* @throws {RequiredError}
|
|
34075
33922
|
*/
|
|
34076
|
-
async
|
|
34077
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
33923
|
+
async apiV1HeadernavigationsLanguageCodeGet(languageCode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HeaderNavigationItemModel>>> {
|
|
33924
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HeadernavigationsLanguageCodeGet(languageCode, options);
|
|
34078
33925
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34079
33926
|
},
|
|
34080
33927
|
/**
|
|
34081
33928
|
*
|
|
34082
33929
|
* @summary Delete HeaderNavigationItem
|
|
33930
|
+
* @param {string} languageCode
|
|
34083
33931
|
* @param {string} id
|
|
34084
33932
|
* @param {*} [options] Override http request option.
|
|
34085
33933
|
* @throws {RequiredError}
|
|
34086
33934
|
*/
|
|
34087
|
-
async
|
|
34088
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
33935
|
+
async apiV1HeadernavigationsLanguageCodeIdDelete(languageCode: string, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
33936
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HeadernavigationsLanguageCodeIdDelete(languageCode, id, options);
|
|
34089
33937
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34090
33938
|
},
|
|
34091
33939
|
/**
|
|
34092
33940
|
*
|
|
34093
33941
|
* @summary Get HeaderNavigationItem by id
|
|
33942
|
+
* @param {string} languageCode
|
|
34094
33943
|
* @param {string} id
|
|
34095
33944
|
* @param {*} [options] Override http request option.
|
|
34096
33945
|
* @throws {RequiredError}
|
|
34097
33946
|
*/
|
|
34098
|
-
async
|
|
34099
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
34100
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34101
|
-
},
|
|
34102
|
-
/**
|
|
34103
|
-
*
|
|
34104
|
-
* @summary Update HeaderNavigationItem
|
|
34105
|
-
* @param {string} id
|
|
34106
|
-
* @param {UpdateHeaderNavigationItemCommand} [updateHeaderNavigationItemCommand]
|
|
34107
|
-
* @param {*} [options] Override http request option.
|
|
34108
|
-
* @throws {RequiredError}
|
|
34109
|
-
*/
|
|
34110
|
-
async apiV1HeadernavigationsIdPut(id: string, updateHeaderNavigationItemCommand?: UpdateHeaderNavigationItemCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
34111
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HeadernavigationsIdPut(id, updateHeaderNavigationItemCommand, options);
|
|
33947
|
+
async apiV1HeadernavigationsLanguageCodeIdGet(languageCode: string, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HeaderNavigationItemModel>> {
|
|
33948
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HeadernavigationsLanguageCodeIdGet(languageCode, id, options);
|
|
34112
33949
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34113
33950
|
},
|
|
34114
33951
|
/**
|
|
34115
33952
|
*
|
|
34116
33953
|
* @summary Get HeaderNavigationItems by parent id
|
|
33954
|
+
* @param {string} languageCode
|
|
34117
33955
|
* @param {string} parentId
|
|
34118
33956
|
* @param {*} [options] Override http request option.
|
|
34119
33957
|
* @throws {RequiredError}
|
|
34120
33958
|
*/
|
|
34121
|
-
async
|
|
34122
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
33959
|
+
async apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet(languageCode: string, parentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HeaderNavigationItemModel>>> {
|
|
33960
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet(languageCode, parentId, options);
|
|
34123
33961
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34124
33962
|
},
|
|
34125
33963
|
/**
|
|
34126
33964
|
*
|
|
34127
|
-
* @summary
|
|
34128
|
-
* @param {
|
|
33965
|
+
* @summary Save HeaderNavigationItem
|
|
33966
|
+
* @param {string} languageCode
|
|
33967
|
+
* @param {SaveHeaderNavigationsCommand} [saveHeaderNavigationsCommand]
|
|
34129
33968
|
* @param {*} [options] Override http request option.
|
|
34130
33969
|
* @throws {RequiredError}
|
|
34131
33970
|
*/
|
|
34132
|
-
async
|
|
34133
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
33971
|
+
async apiV1HeadernavigationsLanguageCodePost(languageCode: string, saveHeaderNavigationsCommand?: SaveHeaderNavigationsCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HeaderNavigationItemModel>> {
|
|
33972
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HeadernavigationsLanguageCodePost(languageCode, saveHeaderNavigationsCommand, options);
|
|
34134
33973
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34135
33974
|
},
|
|
34136
33975
|
}
|
|
@@ -34143,76 +33982,59 @@ export const HeaderNavigationsApiFp = function(configuration?: Configuration) {
|
|
|
34143
33982
|
export const HeaderNavigationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
34144
33983
|
const localVarFp = HeaderNavigationsApiFp(configuration)
|
|
34145
33984
|
return {
|
|
34146
|
-
/**
|
|
34147
|
-
*
|
|
34148
|
-
* @summary Batch HeaderNavigationItems; Do Add, update, delete at one request
|
|
34149
|
-
* @param {BatchHeaderNavigationItemsCommand} [batchHeaderNavigationItemsCommand]
|
|
34150
|
-
* @param {*} [options] Override http request option.
|
|
34151
|
-
* @throws {RequiredError}
|
|
34152
|
-
*/
|
|
34153
|
-
apiV1HeadernavigationsBatchPost(batchHeaderNavigationItemsCommand?: BatchHeaderNavigationItemsCommand, options?: any): AxiosPromise<BatchHeaderNavigationItemResultModel> {
|
|
34154
|
-
return localVarFp.apiV1HeadernavigationsBatchPost(batchHeaderNavigationItemsCommand, options).then((request) => request(axios, basePath));
|
|
34155
|
-
},
|
|
34156
33985
|
/**
|
|
34157
33986
|
*
|
|
34158
33987
|
* @summary Get all HeaderNavigationItems
|
|
34159
|
-
* @param {string}
|
|
33988
|
+
* @param {string} languageCode
|
|
34160
33989
|
* @param {*} [options] Override http request option.
|
|
34161
33990
|
* @throws {RequiredError}
|
|
34162
33991
|
*/
|
|
34163
|
-
|
|
34164
|
-
return localVarFp.
|
|
33992
|
+
apiV1HeadernavigationsLanguageCodeGet(languageCode: string, options?: any): AxiosPromise<Array<HeaderNavigationItemModel>> {
|
|
33993
|
+
return localVarFp.apiV1HeadernavigationsLanguageCodeGet(languageCode, options).then((request) => request(axios, basePath));
|
|
34165
33994
|
},
|
|
34166
33995
|
/**
|
|
34167
33996
|
*
|
|
34168
33997
|
* @summary Delete HeaderNavigationItem
|
|
33998
|
+
* @param {string} languageCode
|
|
34169
33999
|
* @param {string} id
|
|
34170
34000
|
* @param {*} [options] Override http request option.
|
|
34171
34001
|
* @throws {RequiredError}
|
|
34172
34002
|
*/
|
|
34173
|
-
|
|
34174
|
-
return localVarFp.
|
|
34003
|
+
apiV1HeadernavigationsLanguageCodeIdDelete(languageCode: string, id: string, options?: any): AxiosPromise<boolean> {
|
|
34004
|
+
return localVarFp.apiV1HeadernavigationsLanguageCodeIdDelete(languageCode, id, options).then((request) => request(axios, basePath));
|
|
34175
34005
|
},
|
|
34176
34006
|
/**
|
|
34177
34007
|
*
|
|
34178
34008
|
* @summary Get HeaderNavigationItem by id
|
|
34009
|
+
* @param {string} languageCode
|
|
34179
34010
|
* @param {string} id
|
|
34180
34011
|
* @param {*} [options] Override http request option.
|
|
34181
34012
|
* @throws {RequiredError}
|
|
34182
34013
|
*/
|
|
34183
|
-
|
|
34184
|
-
return localVarFp.
|
|
34185
|
-
},
|
|
34186
|
-
/**
|
|
34187
|
-
*
|
|
34188
|
-
* @summary Update HeaderNavigationItem
|
|
34189
|
-
* @param {string} id
|
|
34190
|
-
* @param {UpdateHeaderNavigationItemCommand} [updateHeaderNavigationItemCommand]
|
|
34191
|
-
* @param {*} [options] Override http request option.
|
|
34192
|
-
* @throws {RequiredError}
|
|
34193
|
-
*/
|
|
34194
|
-
apiV1HeadernavigationsIdPut(id: string, updateHeaderNavigationItemCommand?: UpdateHeaderNavigationItemCommand, options?: any): AxiosPromise<void> {
|
|
34195
|
-
return localVarFp.apiV1HeadernavigationsIdPut(id, updateHeaderNavigationItemCommand, options).then((request) => request(axios, basePath));
|
|
34014
|
+
apiV1HeadernavigationsLanguageCodeIdGet(languageCode: string, id: string, options?: any): AxiosPromise<HeaderNavigationItemModel> {
|
|
34015
|
+
return localVarFp.apiV1HeadernavigationsLanguageCodeIdGet(languageCode, id, options).then((request) => request(axios, basePath));
|
|
34196
34016
|
},
|
|
34197
34017
|
/**
|
|
34198
34018
|
*
|
|
34199
34019
|
* @summary Get HeaderNavigationItems by parent id
|
|
34020
|
+
* @param {string} languageCode
|
|
34200
34021
|
* @param {string} parentId
|
|
34201
34022
|
* @param {*} [options] Override http request option.
|
|
34202
34023
|
* @throws {RequiredError}
|
|
34203
34024
|
*/
|
|
34204
|
-
|
|
34205
|
-
return localVarFp.
|
|
34025
|
+
apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet(languageCode: string, parentId: string, options?: any): AxiosPromise<Array<HeaderNavigationItemModel>> {
|
|
34026
|
+
return localVarFp.apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet(languageCode, parentId, options).then((request) => request(axios, basePath));
|
|
34206
34027
|
},
|
|
34207
34028
|
/**
|
|
34208
34029
|
*
|
|
34209
|
-
* @summary
|
|
34210
|
-
* @param {
|
|
34030
|
+
* @summary Save HeaderNavigationItem
|
|
34031
|
+
* @param {string} languageCode
|
|
34032
|
+
* @param {SaveHeaderNavigationsCommand} [saveHeaderNavigationsCommand]
|
|
34211
34033
|
* @param {*} [options] Override http request option.
|
|
34212
34034
|
* @throws {RequiredError}
|
|
34213
34035
|
*/
|
|
34214
|
-
|
|
34215
|
-
return localVarFp.
|
|
34036
|
+
apiV1HeadernavigationsLanguageCodePost(languageCode: string, saveHeaderNavigationsCommand?: SaveHeaderNavigationsCommand, options?: any): AxiosPromise<HeaderNavigationItemModel> {
|
|
34037
|
+
return localVarFp.apiV1HeadernavigationsLanguageCodePost(languageCode, saveHeaderNavigationsCommand, options).then((request) => request(axios, basePath));
|
|
34216
34038
|
},
|
|
34217
34039
|
};
|
|
34218
34040
|
};
|
|
@@ -34224,89 +34046,68 @@ export const HeaderNavigationsApiFactory = function (configuration?: Configurati
|
|
|
34224
34046
|
* @extends {BaseAPI}
|
|
34225
34047
|
*/
|
|
34226
34048
|
export class HeaderNavigationsApi extends BaseAPI {
|
|
34227
|
-
/**
|
|
34228
|
-
*
|
|
34229
|
-
* @summary Batch HeaderNavigationItems; Do Add, update, delete at one request
|
|
34230
|
-
* @param {BatchHeaderNavigationItemsCommand} [batchHeaderNavigationItemsCommand]
|
|
34231
|
-
* @param {*} [options] Override http request option.
|
|
34232
|
-
* @throws {RequiredError}
|
|
34233
|
-
* @memberof HeaderNavigationsApi
|
|
34234
|
-
*/
|
|
34235
|
-
public apiV1HeadernavigationsBatchPost(batchHeaderNavigationItemsCommand?: BatchHeaderNavigationItemsCommand, options?: AxiosRequestConfig) {
|
|
34236
|
-
return HeaderNavigationsApiFp(this.configuration).apiV1HeadernavigationsBatchPost(batchHeaderNavigationItemsCommand, options).then((request) => request(this.axios, this.basePath));
|
|
34237
|
-
}
|
|
34238
|
-
|
|
34239
34049
|
/**
|
|
34240
34050
|
*
|
|
34241
34051
|
* @summary Get all HeaderNavigationItems
|
|
34242
|
-
* @param {string}
|
|
34052
|
+
* @param {string} languageCode
|
|
34243
34053
|
* @param {*} [options] Override http request option.
|
|
34244
34054
|
* @throws {RequiredError}
|
|
34245
34055
|
* @memberof HeaderNavigationsApi
|
|
34246
34056
|
*/
|
|
34247
|
-
public
|
|
34248
|
-
return HeaderNavigationsApiFp(this.configuration).
|
|
34057
|
+
public apiV1HeadernavigationsLanguageCodeGet(languageCode: string, options?: AxiosRequestConfig) {
|
|
34058
|
+
return HeaderNavigationsApiFp(this.configuration).apiV1HeadernavigationsLanguageCodeGet(languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
34249
34059
|
}
|
|
34250
34060
|
|
|
34251
34061
|
/**
|
|
34252
34062
|
*
|
|
34253
34063
|
* @summary Delete HeaderNavigationItem
|
|
34064
|
+
* @param {string} languageCode
|
|
34254
34065
|
* @param {string} id
|
|
34255
34066
|
* @param {*} [options] Override http request option.
|
|
34256
34067
|
* @throws {RequiredError}
|
|
34257
34068
|
* @memberof HeaderNavigationsApi
|
|
34258
34069
|
*/
|
|
34259
|
-
public
|
|
34260
|
-
return HeaderNavigationsApiFp(this.configuration).
|
|
34070
|
+
public apiV1HeadernavigationsLanguageCodeIdDelete(languageCode: string, id: string, options?: AxiosRequestConfig) {
|
|
34071
|
+
return HeaderNavigationsApiFp(this.configuration).apiV1HeadernavigationsLanguageCodeIdDelete(languageCode, id, options).then((request) => request(this.axios, this.basePath));
|
|
34261
34072
|
}
|
|
34262
34073
|
|
|
34263
34074
|
/**
|
|
34264
34075
|
*
|
|
34265
34076
|
* @summary Get HeaderNavigationItem by id
|
|
34077
|
+
* @param {string} languageCode
|
|
34266
34078
|
* @param {string} id
|
|
34267
34079
|
* @param {*} [options] Override http request option.
|
|
34268
34080
|
* @throws {RequiredError}
|
|
34269
34081
|
* @memberof HeaderNavigationsApi
|
|
34270
34082
|
*/
|
|
34271
|
-
public
|
|
34272
|
-
return HeaderNavigationsApiFp(this.configuration).
|
|
34273
|
-
}
|
|
34274
|
-
|
|
34275
|
-
/**
|
|
34276
|
-
*
|
|
34277
|
-
* @summary Update HeaderNavigationItem
|
|
34278
|
-
* @param {string} id
|
|
34279
|
-
* @param {UpdateHeaderNavigationItemCommand} [updateHeaderNavigationItemCommand]
|
|
34280
|
-
* @param {*} [options] Override http request option.
|
|
34281
|
-
* @throws {RequiredError}
|
|
34282
|
-
* @memberof HeaderNavigationsApi
|
|
34283
|
-
*/
|
|
34284
|
-
public apiV1HeadernavigationsIdPut(id: string, updateHeaderNavigationItemCommand?: UpdateHeaderNavigationItemCommand, options?: AxiosRequestConfig) {
|
|
34285
|
-
return HeaderNavigationsApiFp(this.configuration).apiV1HeadernavigationsIdPut(id, updateHeaderNavigationItemCommand, options).then((request) => request(this.axios, this.basePath));
|
|
34083
|
+
public apiV1HeadernavigationsLanguageCodeIdGet(languageCode: string, id: string, options?: AxiosRequestConfig) {
|
|
34084
|
+
return HeaderNavigationsApiFp(this.configuration).apiV1HeadernavigationsLanguageCodeIdGet(languageCode, id, options).then((request) => request(this.axios, this.basePath));
|
|
34286
34085
|
}
|
|
34287
34086
|
|
|
34288
34087
|
/**
|
|
34289
34088
|
*
|
|
34290
34089
|
* @summary Get HeaderNavigationItems by parent id
|
|
34090
|
+
* @param {string} languageCode
|
|
34291
34091
|
* @param {string} parentId
|
|
34292
34092
|
* @param {*} [options] Override http request option.
|
|
34293
34093
|
* @throws {RequiredError}
|
|
34294
34094
|
* @memberof HeaderNavigationsApi
|
|
34295
34095
|
*/
|
|
34296
|
-
public
|
|
34297
|
-
return HeaderNavigationsApiFp(this.configuration).
|
|
34096
|
+
public apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet(languageCode: string, parentId: string, options?: AxiosRequestConfig) {
|
|
34097
|
+
return HeaderNavigationsApiFp(this.configuration).apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet(languageCode, parentId, options).then((request) => request(this.axios, this.basePath));
|
|
34298
34098
|
}
|
|
34299
34099
|
|
|
34300
34100
|
/**
|
|
34301
34101
|
*
|
|
34302
|
-
* @summary
|
|
34303
|
-
* @param {
|
|
34102
|
+
* @summary Save HeaderNavigationItem
|
|
34103
|
+
* @param {string} languageCode
|
|
34104
|
+
* @param {SaveHeaderNavigationsCommand} [saveHeaderNavigationsCommand]
|
|
34304
34105
|
* @param {*} [options] Override http request option.
|
|
34305
34106
|
* @throws {RequiredError}
|
|
34306
34107
|
* @memberof HeaderNavigationsApi
|
|
34307
34108
|
*/
|
|
34308
|
-
public
|
|
34309
|
-
return HeaderNavigationsApiFp(this.configuration).
|
|
34109
|
+
public apiV1HeadernavigationsLanguageCodePost(languageCode: string, saveHeaderNavigationsCommand?: SaveHeaderNavigationsCommand, options?: AxiosRequestConfig) {
|
|
34110
|
+
return HeaderNavigationsApiFp(this.configuration).apiV1HeadernavigationsLanguageCodePost(languageCode, saveHeaderNavigationsCommand, options).then((request) => request(this.axios, this.basePath));
|
|
34310
34111
|
}
|
|
34311
34112
|
}
|
|
34312
34113
|
|
|
@@ -37641,7 +37442,107 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
37641
37442
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37642
37443
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37643
37444
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
37644
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
|
|
37445
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
|
|
37446
|
+
|
|
37447
|
+
return {
|
|
37448
|
+
url: toPathString(localVarUrlObj),
|
|
37449
|
+
options: localVarRequestOptions,
|
|
37450
|
+
};
|
|
37451
|
+
},
|
|
37452
|
+
/**
|
|
37453
|
+
*
|
|
37454
|
+
* @summary Create HospitalServiceMedia.
|
|
37455
|
+
* @param {string} hospitalId
|
|
37456
|
+
* @param {string} specialtyId
|
|
37457
|
+
* @param {string} serviceId
|
|
37458
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
37459
|
+
* @param {*} [options] Override http request option.
|
|
37460
|
+
* @throws {RequiredError}
|
|
37461
|
+
*/
|
|
37462
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost: async (hospitalId: string, specialtyId: string, serviceId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
37463
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
37464
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'hospitalId', hospitalId)
|
|
37465
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
37466
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'specialtyId', specialtyId)
|
|
37467
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
37468
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'serviceId', serviceId)
|
|
37469
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias`
|
|
37470
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
37471
|
+
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
37472
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
37473
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37474
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37475
|
+
let baseOptions;
|
|
37476
|
+
if (configuration) {
|
|
37477
|
+
baseOptions = configuration.baseOptions;
|
|
37478
|
+
}
|
|
37479
|
+
|
|
37480
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
37481
|
+
const localVarHeaderParameter = {} as any;
|
|
37482
|
+
const localVarQueryParameter = {} as any;
|
|
37483
|
+
|
|
37484
|
+
// authentication oauth2 required
|
|
37485
|
+
// oauth required
|
|
37486
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
37487
|
+
|
|
37488
|
+
|
|
37489
|
+
|
|
37490
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
37491
|
+
|
|
37492
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37493
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37494
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
37495
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
|
|
37496
|
+
|
|
37497
|
+
return {
|
|
37498
|
+
url: toPathString(localVarUrlObj),
|
|
37499
|
+
options: localVarRequestOptions,
|
|
37500
|
+
};
|
|
37501
|
+
},
|
|
37502
|
+
/**
|
|
37503
|
+
*
|
|
37504
|
+
* @summary Update HospitalService.
|
|
37505
|
+
* @param {string} hospitalId
|
|
37506
|
+
* @param {string} specialtyId
|
|
37507
|
+
* @param {string} serviceId
|
|
37508
|
+
* @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
|
|
37509
|
+
* @param {*} [options] Override http request option.
|
|
37510
|
+
* @throws {RequiredError}
|
|
37511
|
+
*/
|
|
37512
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut: async (hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
37513
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
37514
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'hospitalId', hospitalId)
|
|
37515
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
37516
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'specialtyId', specialtyId)
|
|
37517
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
37518
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'serviceId', serviceId)
|
|
37519
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}`
|
|
37520
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
37521
|
+
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
37522
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
37523
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37524
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37525
|
+
let baseOptions;
|
|
37526
|
+
if (configuration) {
|
|
37527
|
+
baseOptions = configuration.baseOptions;
|
|
37528
|
+
}
|
|
37529
|
+
|
|
37530
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
37531
|
+
const localVarHeaderParameter = {} as any;
|
|
37532
|
+
const localVarQueryParameter = {} as any;
|
|
37533
|
+
|
|
37534
|
+
// authentication oauth2 required
|
|
37535
|
+
// oauth required
|
|
37536
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
37537
|
+
|
|
37538
|
+
|
|
37539
|
+
|
|
37540
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
37541
|
+
|
|
37542
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37543
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37544
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
37545
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalServiceCommand, localVarRequestOptions, configuration)
|
|
37645
37546
|
|
|
37646
37547
|
return {
|
|
37647
37548
|
url: toPathString(localVarUrlObj),
|
|
@@ -37650,22 +37551,21 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
37650
37551
|
},
|
|
37651
37552
|
/**
|
|
37652
37553
|
*
|
|
37653
|
-
* @summary
|
|
37554
|
+
* @summary Reactivate Hospital Service
|
|
37654
37555
|
* @param {string} hospitalId
|
|
37655
37556
|
* @param {string} specialtyId
|
|
37656
37557
|
* @param {string} serviceId
|
|
37657
|
-
* @param {CreateMediaCommand} [createMediaCommand]
|
|
37658
37558
|
* @param {*} [options] Override http request option.
|
|
37659
37559
|
* @throws {RequiredError}
|
|
37660
37560
|
*/
|
|
37661
|
-
|
|
37561
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut: async (hospitalId: string, specialtyId: string, serviceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
37662
37562
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
37663
|
-
assertParamExists('
|
|
37563
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut', 'hospitalId', hospitalId)
|
|
37664
37564
|
// verify required parameter 'specialtyId' is not null or undefined
|
|
37665
|
-
assertParamExists('
|
|
37565
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut', 'specialtyId', specialtyId)
|
|
37666
37566
|
// verify required parameter 'serviceId' is not null or undefined
|
|
37667
|
-
assertParamExists('
|
|
37668
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/
|
|
37567
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut', 'serviceId', serviceId)
|
|
37568
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/reactive`
|
|
37669
37569
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
37670
37570
|
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
37671
37571
|
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
@@ -37676,7 +37576,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
37676
37576
|
baseOptions = configuration.baseOptions;
|
|
37677
37577
|
}
|
|
37678
37578
|
|
|
37679
|
-
const localVarRequestOptions = { method: '
|
|
37579
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
37680
37580
|
const localVarHeaderParameter = {} as any;
|
|
37681
37581
|
const localVarQueryParameter = {} as any;
|
|
37682
37582
|
|
|
@@ -37686,12 +37586,9 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
37686
37586
|
|
|
37687
37587
|
|
|
37688
37588
|
|
|
37689
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
37690
|
-
|
|
37691
37589
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37692
37590
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37693
37591
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
37694
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
|
|
37695
37592
|
|
|
37696
37593
|
return {
|
|
37697
37594
|
url: toPathString(localVarUrlObj),
|
|
@@ -37700,25 +37597,17 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
37700
37597
|
},
|
|
37701
37598
|
/**
|
|
37702
37599
|
*
|
|
37703
|
-
* @summary
|
|
37600
|
+
* @summary Translate hospital at once
|
|
37704
37601
|
* @param {string} hospitalId
|
|
37705
|
-
* @param {
|
|
37706
|
-
* @param {string} serviceId
|
|
37707
|
-
* @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
|
|
37602
|
+
* @param {TranslateHospitalCommand} [translateHospitalCommand]
|
|
37708
37603
|
* @param {*} [options] Override http request option.
|
|
37709
37604
|
* @throws {RequiredError}
|
|
37710
37605
|
*/
|
|
37711
|
-
|
|
37606
|
+
apiV1HospitalsHospitalIdTranslatePost: async (hospitalId: string, translateHospitalCommand?: TranslateHospitalCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
37712
37607
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
37713
|
-
assertParamExists('
|
|
37714
|
-
|
|
37715
|
-
|
|
37716
|
-
// verify required parameter 'serviceId' is not null or undefined
|
|
37717
|
-
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'serviceId', serviceId)
|
|
37718
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}`
|
|
37719
|
-
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
37720
|
-
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
37721
|
-
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
37608
|
+
assertParamExists('apiV1HospitalsHospitalIdTranslatePost', 'hospitalId', hospitalId)
|
|
37609
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/translate`
|
|
37610
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
37722
37611
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37723
37612
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37724
37613
|
let baseOptions;
|
|
@@ -37726,7 +37615,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
37726
37615
|
baseOptions = configuration.baseOptions;
|
|
37727
37616
|
}
|
|
37728
37617
|
|
|
37729
|
-
const localVarRequestOptions = { method: '
|
|
37618
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
37730
37619
|
const localVarHeaderParameter = {} as any;
|
|
37731
37620
|
const localVarQueryParameter = {} as any;
|
|
37732
37621
|
|
|
@@ -37741,53 +37630,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
37741
37630
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37742
37631
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37743
37632
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
37744
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
37745
|
-
|
|
37746
|
-
return {
|
|
37747
|
-
url: toPathString(localVarUrlObj),
|
|
37748
|
-
options: localVarRequestOptions,
|
|
37749
|
-
};
|
|
37750
|
-
},
|
|
37751
|
-
/**
|
|
37752
|
-
*
|
|
37753
|
-
* @summary Reactivate Hospital Service
|
|
37754
|
-
* @param {string} hospitalId
|
|
37755
|
-
* @param {string} specialtyId
|
|
37756
|
-
* @param {string} serviceId
|
|
37757
|
-
* @param {*} [options] Override http request option.
|
|
37758
|
-
* @throws {RequiredError}
|
|
37759
|
-
*/
|
|
37760
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut: async (hospitalId: string, specialtyId: string, serviceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
37761
|
-
// verify required parameter 'hospitalId' is not null or undefined
|
|
37762
|
-
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut', 'hospitalId', hospitalId)
|
|
37763
|
-
// verify required parameter 'specialtyId' is not null or undefined
|
|
37764
|
-
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut', 'specialtyId', specialtyId)
|
|
37765
|
-
// verify required parameter 'serviceId' is not null or undefined
|
|
37766
|
-
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut', 'serviceId', serviceId)
|
|
37767
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/reactive`
|
|
37768
|
-
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
37769
|
-
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
37770
|
-
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
37771
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37772
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37773
|
-
let baseOptions;
|
|
37774
|
-
if (configuration) {
|
|
37775
|
-
baseOptions = configuration.baseOptions;
|
|
37776
|
-
}
|
|
37777
|
-
|
|
37778
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
37779
|
-
const localVarHeaderParameter = {} as any;
|
|
37780
|
-
const localVarQueryParameter = {} as any;
|
|
37781
|
-
|
|
37782
|
-
// authentication oauth2 required
|
|
37783
|
-
// oauth required
|
|
37784
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
37785
|
-
|
|
37786
|
-
|
|
37787
|
-
|
|
37788
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37789
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37790
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
37633
|
+
localVarRequestOptions.data = serializeDataIfNeeded(translateHospitalCommand, localVarRequestOptions, configuration)
|
|
37791
37634
|
|
|
37792
37635
|
return {
|
|
37793
37636
|
url: toPathString(localVarUrlObj),
|
|
@@ -39224,6 +39067,18 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
39224
39067
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut(hospitalId, specialtyId, serviceId, options);
|
|
39225
39068
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
39226
39069
|
},
|
|
39070
|
+
/**
|
|
39071
|
+
*
|
|
39072
|
+
* @summary Translate hospital at once
|
|
39073
|
+
* @param {string} hospitalId
|
|
39074
|
+
* @param {TranslateHospitalCommand} [translateHospitalCommand]
|
|
39075
|
+
* @param {*} [options] Override http request option.
|
|
39076
|
+
* @throws {RequiredError}
|
|
39077
|
+
*/
|
|
39078
|
+
async apiV1HospitalsHospitalIdTranslatePost(hospitalId: string, translateHospitalCommand?: TranslateHospitalCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
39079
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdTranslatePost(hospitalId, translateHospitalCommand, options);
|
|
39080
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
39081
|
+
},
|
|
39227
39082
|
/**
|
|
39228
39083
|
*
|
|
39229
39084
|
* @summary Get all HospitalWorkingDays.
|
|
@@ -40223,6 +40078,17 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
40223
40078
|
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut(hospitalId: string, specialtyId: string, serviceId: string, options?: any): AxiosPromise<boolean> {
|
|
40224
40079
|
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut(hospitalId, specialtyId, serviceId, options).then((request) => request(axios, basePath));
|
|
40225
40080
|
},
|
|
40081
|
+
/**
|
|
40082
|
+
*
|
|
40083
|
+
* @summary Translate hospital at once
|
|
40084
|
+
* @param {string} hospitalId
|
|
40085
|
+
* @param {TranslateHospitalCommand} [translateHospitalCommand]
|
|
40086
|
+
* @param {*} [options] Override http request option.
|
|
40087
|
+
* @throws {RequiredError}
|
|
40088
|
+
*/
|
|
40089
|
+
apiV1HospitalsHospitalIdTranslatePost(hospitalId: string, translateHospitalCommand?: TranslateHospitalCommand, options?: any): AxiosPromise<boolean> {
|
|
40090
|
+
return localVarFp.apiV1HospitalsHospitalIdTranslatePost(hospitalId, translateHospitalCommand, options).then((request) => request(axios, basePath));
|
|
40091
|
+
},
|
|
40226
40092
|
/**
|
|
40227
40093
|
*
|
|
40228
40094
|
* @summary Get all HospitalWorkingDays.
|
|
@@ -41345,6 +41211,19 @@ export class HospitalsApi extends BaseAPI {
|
|
|
41345
41211
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut(hospitalId, specialtyId, serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
41346
41212
|
}
|
|
41347
41213
|
|
|
41214
|
+
/**
|
|
41215
|
+
*
|
|
41216
|
+
* @summary Translate hospital at once
|
|
41217
|
+
* @param {string} hospitalId
|
|
41218
|
+
* @param {TranslateHospitalCommand} [translateHospitalCommand]
|
|
41219
|
+
* @param {*} [options] Override http request option.
|
|
41220
|
+
* @throws {RequiredError}
|
|
41221
|
+
* @memberof HospitalsApi
|
|
41222
|
+
*/
|
|
41223
|
+
public apiV1HospitalsHospitalIdTranslatePost(hospitalId: string, translateHospitalCommand?: TranslateHospitalCommand, options?: AxiosRequestConfig) {
|
|
41224
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdTranslatePost(hospitalId, translateHospitalCommand, options).then((request) => request(this.axios, this.basePath));
|
|
41225
|
+
}
|
|
41226
|
+
|
|
41348
41227
|
/**
|
|
41349
41228
|
*
|
|
41350
41229
|
* @summary Get all HospitalWorkingDays.
|
|
@@ -41489,48 +41368,6 @@ export class HospitalsApi extends BaseAPI {
|
|
|
41489
41368
|
*/
|
|
41490
41369
|
export const HospitalsConsultationTimetableOverridesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
41491
41370
|
return {
|
|
41492
|
-
/**
|
|
41493
|
-
*
|
|
41494
|
-
* @summary Add, Update and Delete item at once
|
|
41495
|
-
* @param {string} hospitalId
|
|
41496
|
-
* @param {BatchHospitalConsultationTimetableOverridesCommand} [batchHospitalConsultationTimetableOverridesCommand]
|
|
41497
|
-
* @param {*} [options] Override http request option.
|
|
41498
|
-
* @throws {RequiredError}
|
|
41499
|
-
*/
|
|
41500
|
-
apiV1HospitalsHospitalIdConsultationtimetableoverridesBatchPost: async (hospitalId: string, batchHospitalConsultationTimetableOverridesCommand?: BatchHospitalConsultationTimetableOverridesCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41501
|
-
// verify required parameter 'hospitalId' is not null or undefined
|
|
41502
|
-
assertParamExists('apiV1HospitalsHospitalIdConsultationtimetableoverridesBatchPost', 'hospitalId', hospitalId)
|
|
41503
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/consultationtimetableoverrides/batch`
|
|
41504
|
-
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
41505
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41506
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41507
|
-
let baseOptions;
|
|
41508
|
-
if (configuration) {
|
|
41509
|
-
baseOptions = configuration.baseOptions;
|
|
41510
|
-
}
|
|
41511
|
-
|
|
41512
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
41513
|
-
const localVarHeaderParameter = {} as any;
|
|
41514
|
-
const localVarQueryParameter = {} as any;
|
|
41515
|
-
|
|
41516
|
-
// authentication oauth2 required
|
|
41517
|
-
// oauth required
|
|
41518
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
41519
|
-
|
|
41520
|
-
|
|
41521
|
-
|
|
41522
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
41523
|
-
|
|
41524
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41525
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41526
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
41527
|
-
localVarRequestOptions.data = serializeDataIfNeeded(batchHospitalConsultationTimetableOverridesCommand, localVarRequestOptions, configuration)
|
|
41528
|
-
|
|
41529
|
-
return {
|
|
41530
|
-
url: toPathString(localVarUrlObj),
|
|
41531
|
-
options: localVarRequestOptions,
|
|
41532
|
-
};
|
|
41533
|
-
},
|
|
41534
41371
|
/**
|
|
41535
41372
|
*
|
|
41536
41373
|
* @summary Get consultation timetable override items
|
|
@@ -41538,13 +41375,14 @@ export const HospitalsConsultationTimetableOverridesApiAxiosParamCreator = funct
|
|
|
41538
41375
|
* @param {boolean} [includesPreviousItems]
|
|
41539
41376
|
* @param {Date} [startDate]
|
|
41540
41377
|
* @param {Date} [endDate]
|
|
41378
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
41541
41379
|
* @param {number} [page]
|
|
41542
41380
|
* @param {number} [limit]
|
|
41543
41381
|
* @param {Date} [lastRetrieved]
|
|
41544
41382
|
* @param {*} [options] Override http request option.
|
|
41545
41383
|
* @throws {RequiredError}
|
|
41546
41384
|
*/
|
|
41547
|
-
apiV1HospitalsHospitalIdConsultationtimetableoverridesGet: async (hospitalId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41385
|
+
apiV1HospitalsHospitalIdConsultationtimetableoverridesGet: async (hospitalId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41548
41386
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
41549
41387
|
assertParamExists('apiV1HospitalsHospitalIdConsultationtimetableoverridesGet', 'hospitalId', hospitalId)
|
|
41550
41388
|
const localVarPath = `/api/v1/hospitals/{hospitalId}/consultationtimetableoverrides`
|
|
@@ -41580,6 +41418,10 @@ export const HospitalsConsultationTimetableOverridesApiAxiosParamCreator = funct
|
|
|
41580
41418
|
endDate;
|
|
41581
41419
|
}
|
|
41582
41420
|
|
|
41421
|
+
if (dayOfWeek !== undefined) {
|
|
41422
|
+
localVarQueryParameter['DayOfWeek'] = dayOfWeek;
|
|
41423
|
+
}
|
|
41424
|
+
|
|
41583
41425
|
if (page !== undefined) {
|
|
41584
41426
|
localVarQueryParameter['page'] = page;
|
|
41585
41427
|
}
|
|
@@ -41596,48 +41438,6 @@ export const HospitalsConsultationTimetableOverridesApiAxiosParamCreator = funct
|
|
|
41596
41438
|
|
|
41597
41439
|
|
|
41598
41440
|
|
|
41599
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41600
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41601
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
41602
|
-
|
|
41603
|
-
return {
|
|
41604
|
-
url: toPathString(localVarUrlObj),
|
|
41605
|
-
options: localVarRequestOptions,
|
|
41606
|
-
};
|
|
41607
|
-
},
|
|
41608
|
-
/**
|
|
41609
|
-
*
|
|
41610
|
-
* @summary Delete timetable item
|
|
41611
|
-
* @param {string} hospitalId
|
|
41612
|
-
* @param {string} id
|
|
41613
|
-
* @param {*} [options] Override http request option.
|
|
41614
|
-
* @throws {RequiredError}
|
|
41615
|
-
*/
|
|
41616
|
-
apiV1HospitalsHospitalIdConsultationtimetableoverridesIdDelete: async (hospitalId: string, id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41617
|
-
// verify required parameter 'hospitalId' is not null or undefined
|
|
41618
|
-
assertParamExists('apiV1HospitalsHospitalIdConsultationtimetableoverridesIdDelete', 'hospitalId', hospitalId)
|
|
41619
|
-
// verify required parameter 'id' is not null or undefined
|
|
41620
|
-
assertParamExists('apiV1HospitalsHospitalIdConsultationtimetableoverridesIdDelete', 'id', id)
|
|
41621
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/consultationtimetableoverrides/{id}`
|
|
41622
|
-
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
41623
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
41624
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41625
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41626
|
-
let baseOptions;
|
|
41627
|
-
if (configuration) {
|
|
41628
|
-
baseOptions = configuration.baseOptions;
|
|
41629
|
-
}
|
|
41630
|
-
|
|
41631
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
41632
|
-
const localVarHeaderParameter = {} as any;
|
|
41633
|
-
const localVarQueryParameter = {} as any;
|
|
41634
|
-
|
|
41635
|
-
// authentication oauth2 required
|
|
41636
|
-
// oauth required
|
|
41637
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
41638
|
-
|
|
41639
|
-
|
|
41640
|
-
|
|
41641
41441
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41642
41442
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41643
41443
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -41691,21 +41491,17 @@ export const HospitalsConsultationTimetableOverridesApiAxiosParamCreator = funct
|
|
|
41691
41491
|
},
|
|
41692
41492
|
/**
|
|
41693
41493
|
*
|
|
41694
|
-
* @summary
|
|
41494
|
+
* @summary Delete timetable item
|
|
41695
41495
|
* @param {string} hospitalId
|
|
41696
|
-
* @param {
|
|
41697
|
-
* @param {UpdateHospitalConsultationTimetableOverrideCommand} [updateHospitalConsultationTimetableOverrideCommand]
|
|
41496
|
+
* @param {DeleteHospitalConsultationTimetableOverrideCommand} [deleteHospitalConsultationTimetableOverrideCommand]
|
|
41698
41497
|
* @param {*} [options] Override http request option.
|
|
41699
41498
|
* @throws {RequiredError}
|
|
41700
41499
|
*/
|
|
41701
|
-
|
|
41500
|
+
apiV1HospitalsHospitalIdConsultationtimetableoverridesPatch: async (hospitalId: string, deleteHospitalConsultationTimetableOverrideCommand?: DeleteHospitalConsultationTimetableOverrideCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41702
41501
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
41703
|
-
assertParamExists('
|
|
41704
|
-
|
|
41705
|
-
|
|
41706
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/consultationtimetableoverrides/{id}`
|
|
41707
|
-
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
41708
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
41502
|
+
assertParamExists('apiV1HospitalsHospitalIdConsultationtimetableoverridesPatch', 'hospitalId', hospitalId)
|
|
41503
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/consultationtimetableoverrides`
|
|
41504
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
41709
41505
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41710
41506
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41711
41507
|
let baseOptions;
|
|
@@ -41713,7 +41509,7 @@ export const HospitalsConsultationTimetableOverridesApiAxiosParamCreator = funct
|
|
|
41713
41509
|
baseOptions = configuration.baseOptions;
|
|
41714
41510
|
}
|
|
41715
41511
|
|
|
41716
|
-
const localVarRequestOptions = { method: '
|
|
41512
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
41717
41513
|
const localVarHeaderParameter = {} as any;
|
|
41718
41514
|
const localVarQueryParameter = {} as any;
|
|
41719
41515
|
|
|
@@ -41728,7 +41524,7 @@ export const HospitalsConsultationTimetableOverridesApiAxiosParamCreator = funct
|
|
|
41728
41524
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41729
41525
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41730
41526
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
41731
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
41527
|
+
localVarRequestOptions.data = serializeDataIfNeeded(deleteHospitalConsultationTimetableOverrideCommand, localVarRequestOptions, configuration)
|
|
41732
41528
|
|
|
41733
41529
|
return {
|
|
41734
41530
|
url: toPathString(localVarUrlObj),
|
|
@@ -41737,13 +41533,13 @@ export const HospitalsConsultationTimetableOverridesApiAxiosParamCreator = funct
|
|
|
41737
41533
|
},
|
|
41738
41534
|
/**
|
|
41739
41535
|
*
|
|
41740
|
-
* @summary
|
|
41536
|
+
* @summary Save timetable itme
|
|
41741
41537
|
* @param {string} hospitalId
|
|
41742
|
-
* @param {
|
|
41538
|
+
* @param {SaveHospitalConsultationTimetableOverridesCommand} [saveHospitalConsultationTimetableOverridesCommand]
|
|
41743
41539
|
* @param {*} [options] Override http request option.
|
|
41744
41540
|
* @throws {RequiredError}
|
|
41745
41541
|
*/
|
|
41746
|
-
apiV1HospitalsHospitalIdConsultationtimetableoverridesPost: async (hospitalId: string,
|
|
41542
|
+
apiV1HospitalsHospitalIdConsultationtimetableoverridesPost: async (hospitalId: string, saveHospitalConsultationTimetableOverridesCommand?: SaveHospitalConsultationTimetableOverridesCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41747
41543
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
41748
41544
|
assertParamExists('apiV1HospitalsHospitalIdConsultationtimetableoverridesPost', 'hospitalId', hospitalId)
|
|
41749
41545
|
const localVarPath = `/api/v1/hospitals/{hospitalId}/consultationtimetableoverrides`
|
|
@@ -41770,7 +41566,7 @@ export const HospitalsConsultationTimetableOverridesApiAxiosParamCreator = funct
|
|
|
41770
41566
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41771
41567
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41772
41568
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
41773
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
41569
|
+
localVarRequestOptions.data = serializeDataIfNeeded(saveHospitalConsultationTimetableOverridesCommand, localVarRequestOptions, configuration)
|
|
41774
41570
|
|
|
41775
41571
|
return {
|
|
41776
41572
|
url: toPathString(localVarUrlObj),
|
|
@@ -41787,18 +41583,6 @@ export const HospitalsConsultationTimetableOverridesApiAxiosParamCreator = funct
|
|
|
41787
41583
|
export const HospitalsConsultationTimetableOverridesApiFp = function(configuration?: Configuration) {
|
|
41788
41584
|
const localVarAxiosParamCreator = HospitalsConsultationTimetableOverridesApiAxiosParamCreator(configuration)
|
|
41789
41585
|
return {
|
|
41790
|
-
/**
|
|
41791
|
-
*
|
|
41792
|
-
* @summary Add, Update and Delete item at once
|
|
41793
|
-
* @param {string} hospitalId
|
|
41794
|
-
* @param {BatchHospitalConsultationTimetableOverridesCommand} [batchHospitalConsultationTimetableOverridesCommand]
|
|
41795
|
-
* @param {*} [options] Override http request option.
|
|
41796
|
-
* @throws {RequiredError}
|
|
41797
|
-
*/
|
|
41798
|
-
async apiV1HospitalsHospitalIdConsultationtimetableoverridesBatchPost(hospitalId: string, batchHospitalConsultationTimetableOverridesCommand?: BatchHospitalConsultationTimetableOverridesCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchHospitalConsultationTimetableOverridesResultModel>> {
|
|
41799
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdConsultationtimetableoverridesBatchPost(hospitalId, batchHospitalConsultationTimetableOverridesCommand, options);
|
|
41800
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41801
|
-
},
|
|
41802
41586
|
/**
|
|
41803
41587
|
*
|
|
41804
41588
|
* @summary Get consultation timetable override items
|
|
@@ -41806,26 +41590,15 @@ export const HospitalsConsultationTimetableOverridesApiFp = function(configurati
|
|
|
41806
41590
|
* @param {boolean} [includesPreviousItems]
|
|
41807
41591
|
* @param {Date} [startDate]
|
|
41808
41592
|
* @param {Date} [endDate]
|
|
41593
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
41809
41594
|
* @param {number} [page]
|
|
41810
41595
|
* @param {number} [limit]
|
|
41811
41596
|
* @param {Date} [lastRetrieved]
|
|
41812
41597
|
* @param {*} [options] Override http request option.
|
|
41813
41598
|
* @throws {RequiredError}
|
|
41814
41599
|
*/
|
|
41815
|
-
async apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalConsultationTimetableOverridesModel>> {
|
|
41816
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId, includesPreviousItems, startDate, endDate, page, limit, lastRetrieved, options);
|
|
41817
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41818
|
-
},
|
|
41819
|
-
/**
|
|
41820
|
-
*
|
|
41821
|
-
* @summary Delete timetable item
|
|
41822
|
-
* @param {string} hospitalId
|
|
41823
|
-
* @param {string} id
|
|
41824
|
-
* @param {*} [options] Override http request option.
|
|
41825
|
-
* @throws {RequiredError}
|
|
41826
|
-
*/
|
|
41827
|
-
async apiV1HospitalsHospitalIdConsultationtimetableoverridesIdDelete(hospitalId: string, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
41828
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdConsultationtimetableoverridesIdDelete(hospitalId, id, options);
|
|
41600
|
+
async apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalConsultationTimetableOverridesModel>> {
|
|
41601
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options);
|
|
41829
41602
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41830
41603
|
},
|
|
41831
41604
|
/**
|
|
@@ -41842,27 +41615,26 @@ export const HospitalsConsultationTimetableOverridesApiFp = function(configurati
|
|
|
41842
41615
|
},
|
|
41843
41616
|
/**
|
|
41844
41617
|
*
|
|
41845
|
-
* @summary
|
|
41618
|
+
* @summary Delete timetable item
|
|
41846
41619
|
* @param {string} hospitalId
|
|
41847
|
-
* @param {
|
|
41848
|
-
* @param {UpdateHospitalConsultationTimetableOverrideCommand} [updateHospitalConsultationTimetableOverrideCommand]
|
|
41620
|
+
* @param {DeleteHospitalConsultationTimetableOverrideCommand} [deleteHospitalConsultationTimetableOverrideCommand]
|
|
41849
41621
|
* @param {*} [options] Override http request option.
|
|
41850
41622
|
* @throws {RequiredError}
|
|
41851
41623
|
*/
|
|
41852
|
-
async
|
|
41853
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
41624
|
+
async apiV1HospitalsHospitalIdConsultationtimetableoverridesPatch(hospitalId: string, deleteHospitalConsultationTimetableOverrideCommand?: DeleteHospitalConsultationTimetableOverrideCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
41625
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdConsultationtimetableoverridesPatch(hospitalId, deleteHospitalConsultationTimetableOverrideCommand, options);
|
|
41854
41626
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41855
41627
|
},
|
|
41856
41628
|
/**
|
|
41857
41629
|
*
|
|
41858
|
-
* @summary
|
|
41630
|
+
* @summary Save timetable itme
|
|
41859
41631
|
* @param {string} hospitalId
|
|
41860
|
-
* @param {
|
|
41632
|
+
* @param {SaveHospitalConsultationTimetableOverridesCommand} [saveHospitalConsultationTimetableOverridesCommand]
|
|
41861
41633
|
* @param {*} [options] Override http request option.
|
|
41862
41634
|
* @throws {RequiredError}
|
|
41863
41635
|
*/
|
|
41864
|
-
async apiV1HospitalsHospitalIdConsultationtimetableoverridesPost(hospitalId: string,
|
|
41865
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdConsultationtimetableoverridesPost(hospitalId,
|
|
41636
|
+
async apiV1HospitalsHospitalIdConsultationtimetableoverridesPost(hospitalId: string, saveHospitalConsultationTimetableOverridesCommand?: SaveHospitalConsultationTimetableOverridesCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HospitalConsultationTimetableOverrideItemModel>>> {
|
|
41637
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdConsultationtimetableoverridesPost(hospitalId, saveHospitalConsultationTimetableOverridesCommand, options);
|
|
41866
41638
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41867
41639
|
},
|
|
41868
41640
|
}
|
|
@@ -41875,17 +41647,6 @@ export const HospitalsConsultationTimetableOverridesApiFp = function(configurati
|
|
|
41875
41647
|
export const HospitalsConsultationTimetableOverridesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
41876
41648
|
const localVarFp = HospitalsConsultationTimetableOverridesApiFp(configuration)
|
|
41877
41649
|
return {
|
|
41878
|
-
/**
|
|
41879
|
-
*
|
|
41880
|
-
* @summary Add, Update and Delete item at once
|
|
41881
|
-
* @param {string} hospitalId
|
|
41882
|
-
* @param {BatchHospitalConsultationTimetableOverridesCommand} [batchHospitalConsultationTimetableOverridesCommand]
|
|
41883
|
-
* @param {*} [options] Override http request option.
|
|
41884
|
-
* @throws {RequiredError}
|
|
41885
|
-
*/
|
|
41886
|
-
apiV1HospitalsHospitalIdConsultationtimetableoverridesBatchPost(hospitalId: string, batchHospitalConsultationTimetableOverridesCommand?: BatchHospitalConsultationTimetableOverridesCommand, options?: any): AxiosPromise<BatchHospitalConsultationTimetableOverridesResultModel> {
|
|
41887
|
-
return localVarFp.apiV1HospitalsHospitalIdConsultationtimetableoverridesBatchPost(hospitalId, batchHospitalConsultationTimetableOverridesCommand, options).then((request) => request(axios, basePath));
|
|
41888
|
-
},
|
|
41889
41650
|
/**
|
|
41890
41651
|
*
|
|
41891
41652
|
* @summary Get consultation timetable override items
|
|
@@ -41893,25 +41654,15 @@ export const HospitalsConsultationTimetableOverridesApiFactory = function (confi
|
|
|
41893
41654
|
* @param {boolean} [includesPreviousItems]
|
|
41894
41655
|
* @param {Date} [startDate]
|
|
41895
41656
|
* @param {Date} [endDate]
|
|
41657
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
41896
41658
|
* @param {number} [page]
|
|
41897
41659
|
* @param {number} [limit]
|
|
41898
41660
|
* @param {Date} [lastRetrieved]
|
|
41899
41661
|
* @param {*} [options] Override http request option.
|
|
41900
41662
|
* @throws {RequiredError}
|
|
41901
41663
|
*/
|
|
41902
|
-
apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalConsultationTimetableOverridesModel> {
|
|
41903
|
-
return localVarFp.apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId, includesPreviousItems, startDate, endDate, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
41904
|
-
},
|
|
41905
|
-
/**
|
|
41906
|
-
*
|
|
41907
|
-
* @summary Delete timetable item
|
|
41908
|
-
* @param {string} hospitalId
|
|
41909
|
-
* @param {string} id
|
|
41910
|
-
* @param {*} [options] Override http request option.
|
|
41911
|
-
* @throws {RequiredError}
|
|
41912
|
-
*/
|
|
41913
|
-
apiV1HospitalsHospitalIdConsultationtimetableoverridesIdDelete(hospitalId: string, id: string, options?: any): AxiosPromise<boolean> {
|
|
41914
|
-
return localVarFp.apiV1HospitalsHospitalIdConsultationtimetableoverridesIdDelete(hospitalId, id, options).then((request) => request(axios, basePath));
|
|
41664
|
+
apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalConsultationTimetableOverridesModel> {
|
|
41665
|
+
return localVarFp.apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
41915
41666
|
},
|
|
41916
41667
|
/**
|
|
41917
41668
|
*
|
|
@@ -41926,26 +41677,25 @@ export const HospitalsConsultationTimetableOverridesApiFactory = function (confi
|
|
|
41926
41677
|
},
|
|
41927
41678
|
/**
|
|
41928
41679
|
*
|
|
41929
|
-
* @summary
|
|
41680
|
+
* @summary Delete timetable item
|
|
41930
41681
|
* @param {string} hospitalId
|
|
41931
|
-
* @param {
|
|
41932
|
-
* @param {UpdateHospitalConsultationTimetableOverrideCommand} [updateHospitalConsultationTimetableOverrideCommand]
|
|
41682
|
+
* @param {DeleteHospitalConsultationTimetableOverrideCommand} [deleteHospitalConsultationTimetableOverrideCommand]
|
|
41933
41683
|
* @param {*} [options] Override http request option.
|
|
41934
41684
|
* @throws {RequiredError}
|
|
41935
41685
|
*/
|
|
41936
|
-
|
|
41937
|
-
return localVarFp.
|
|
41686
|
+
apiV1HospitalsHospitalIdConsultationtimetableoverridesPatch(hospitalId: string, deleteHospitalConsultationTimetableOverrideCommand?: DeleteHospitalConsultationTimetableOverrideCommand, options?: any): AxiosPromise<boolean> {
|
|
41687
|
+
return localVarFp.apiV1HospitalsHospitalIdConsultationtimetableoverridesPatch(hospitalId, deleteHospitalConsultationTimetableOverrideCommand, options).then((request) => request(axios, basePath));
|
|
41938
41688
|
},
|
|
41939
41689
|
/**
|
|
41940
41690
|
*
|
|
41941
|
-
* @summary
|
|
41691
|
+
* @summary Save timetable itme
|
|
41942
41692
|
* @param {string} hospitalId
|
|
41943
|
-
* @param {
|
|
41693
|
+
* @param {SaveHospitalConsultationTimetableOverridesCommand} [saveHospitalConsultationTimetableOverridesCommand]
|
|
41944
41694
|
* @param {*} [options] Override http request option.
|
|
41945
41695
|
* @throws {RequiredError}
|
|
41946
41696
|
*/
|
|
41947
|
-
apiV1HospitalsHospitalIdConsultationtimetableoverridesPost(hospitalId: string,
|
|
41948
|
-
return localVarFp.apiV1HospitalsHospitalIdConsultationtimetableoverridesPost(hospitalId,
|
|
41697
|
+
apiV1HospitalsHospitalIdConsultationtimetableoverridesPost(hospitalId: string, saveHospitalConsultationTimetableOverridesCommand?: SaveHospitalConsultationTimetableOverridesCommand, options?: any): AxiosPromise<Array<HospitalConsultationTimetableOverrideItemModel>> {
|
|
41698
|
+
return localVarFp.apiV1HospitalsHospitalIdConsultationtimetableoverridesPost(hospitalId, saveHospitalConsultationTimetableOverridesCommand, options).then((request) => request(axios, basePath));
|
|
41949
41699
|
},
|
|
41950
41700
|
};
|
|
41951
41701
|
};
|
|
@@ -41957,19 +41707,6 @@ export const HospitalsConsultationTimetableOverridesApiFactory = function (confi
|
|
|
41957
41707
|
* @extends {BaseAPI}
|
|
41958
41708
|
*/
|
|
41959
41709
|
export class HospitalsConsultationTimetableOverridesApi extends BaseAPI {
|
|
41960
|
-
/**
|
|
41961
|
-
*
|
|
41962
|
-
* @summary Add, Update and Delete item at once
|
|
41963
|
-
* @param {string} hospitalId
|
|
41964
|
-
* @param {BatchHospitalConsultationTimetableOverridesCommand} [batchHospitalConsultationTimetableOverridesCommand]
|
|
41965
|
-
* @param {*} [options] Override http request option.
|
|
41966
|
-
* @throws {RequiredError}
|
|
41967
|
-
* @memberof HospitalsConsultationTimetableOverridesApi
|
|
41968
|
-
*/
|
|
41969
|
-
public apiV1HospitalsHospitalIdConsultationtimetableoverridesBatchPost(hospitalId: string, batchHospitalConsultationTimetableOverridesCommand?: BatchHospitalConsultationTimetableOverridesCommand, options?: AxiosRequestConfig) {
|
|
41970
|
-
return HospitalsConsultationTimetableOverridesApiFp(this.configuration).apiV1HospitalsHospitalIdConsultationtimetableoverridesBatchPost(hospitalId, batchHospitalConsultationTimetableOverridesCommand, options).then((request) => request(this.axios, this.basePath));
|
|
41971
|
-
}
|
|
41972
|
-
|
|
41973
41710
|
/**
|
|
41974
41711
|
*
|
|
41975
41712
|
* @summary Get consultation timetable override items
|
|
@@ -41977,6 +41714,7 @@ export class HospitalsConsultationTimetableOverridesApi extends BaseAPI {
|
|
|
41977
41714
|
* @param {boolean} [includesPreviousItems]
|
|
41978
41715
|
* @param {Date} [startDate]
|
|
41979
41716
|
* @param {Date} [endDate]
|
|
41717
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
41980
41718
|
* @param {number} [page]
|
|
41981
41719
|
* @param {number} [limit]
|
|
41982
41720
|
* @param {Date} [lastRetrieved]
|
|
@@ -41984,21 +41722,8 @@ export class HospitalsConsultationTimetableOverridesApi extends BaseAPI {
|
|
|
41984
41722
|
* @throws {RequiredError}
|
|
41985
41723
|
* @memberof HospitalsConsultationTimetableOverridesApi
|
|
41986
41724
|
*/
|
|
41987
|
-
public apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
41988
|
-
return HospitalsConsultationTimetableOverridesApiFp(this.configuration).apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId, includesPreviousItems, startDate, endDate, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
41989
|
-
}
|
|
41990
|
-
|
|
41991
|
-
/**
|
|
41992
|
-
*
|
|
41993
|
-
* @summary Delete timetable item
|
|
41994
|
-
* @param {string} hospitalId
|
|
41995
|
-
* @param {string} id
|
|
41996
|
-
* @param {*} [options] Override http request option.
|
|
41997
|
-
* @throws {RequiredError}
|
|
41998
|
-
* @memberof HospitalsConsultationTimetableOverridesApi
|
|
41999
|
-
*/
|
|
42000
|
-
public apiV1HospitalsHospitalIdConsultationtimetableoverridesIdDelete(hospitalId: string, id: string, options?: AxiosRequestConfig) {
|
|
42001
|
-
return HospitalsConsultationTimetableOverridesApiFp(this.configuration).apiV1HospitalsHospitalIdConsultationtimetableoverridesIdDelete(hospitalId, id, options).then((request) => request(this.axios, this.basePath));
|
|
41725
|
+
public apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
41726
|
+
return HospitalsConsultationTimetableOverridesApiFp(this.configuration).apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
42002
41727
|
}
|
|
42003
41728
|
|
|
42004
41729
|
/**
|
|
@@ -42016,29 +41741,28 @@ export class HospitalsConsultationTimetableOverridesApi extends BaseAPI {
|
|
|
42016
41741
|
|
|
42017
41742
|
/**
|
|
42018
41743
|
*
|
|
42019
|
-
* @summary
|
|
41744
|
+
* @summary Delete timetable item
|
|
42020
41745
|
* @param {string} hospitalId
|
|
42021
|
-
* @param {
|
|
42022
|
-
* @param {UpdateHospitalConsultationTimetableOverrideCommand} [updateHospitalConsultationTimetableOverrideCommand]
|
|
41746
|
+
* @param {DeleteHospitalConsultationTimetableOverrideCommand} [deleteHospitalConsultationTimetableOverrideCommand]
|
|
42023
41747
|
* @param {*} [options] Override http request option.
|
|
42024
41748
|
* @throws {RequiredError}
|
|
42025
41749
|
* @memberof HospitalsConsultationTimetableOverridesApi
|
|
42026
41750
|
*/
|
|
42027
|
-
public
|
|
42028
|
-
return HospitalsConsultationTimetableOverridesApiFp(this.configuration).
|
|
41751
|
+
public apiV1HospitalsHospitalIdConsultationtimetableoverridesPatch(hospitalId: string, deleteHospitalConsultationTimetableOverrideCommand?: DeleteHospitalConsultationTimetableOverrideCommand, options?: AxiosRequestConfig) {
|
|
41752
|
+
return HospitalsConsultationTimetableOverridesApiFp(this.configuration).apiV1HospitalsHospitalIdConsultationtimetableoverridesPatch(hospitalId, deleteHospitalConsultationTimetableOverrideCommand, options).then((request) => request(this.axios, this.basePath));
|
|
42029
41753
|
}
|
|
42030
41754
|
|
|
42031
41755
|
/**
|
|
42032
41756
|
*
|
|
42033
|
-
* @summary
|
|
41757
|
+
* @summary Save timetable itme
|
|
42034
41758
|
* @param {string} hospitalId
|
|
42035
|
-
* @param {
|
|
41759
|
+
* @param {SaveHospitalConsultationTimetableOverridesCommand} [saveHospitalConsultationTimetableOverridesCommand]
|
|
42036
41760
|
* @param {*} [options] Override http request option.
|
|
42037
41761
|
* @throws {RequiredError}
|
|
42038
41762
|
* @memberof HospitalsConsultationTimetableOverridesApi
|
|
42039
41763
|
*/
|
|
42040
|
-
public apiV1HospitalsHospitalIdConsultationtimetableoverridesPost(hospitalId: string,
|
|
42041
|
-
return HospitalsConsultationTimetableOverridesApiFp(this.configuration).apiV1HospitalsHospitalIdConsultationtimetableoverridesPost(hospitalId,
|
|
41764
|
+
public apiV1HospitalsHospitalIdConsultationtimetableoverridesPost(hospitalId: string, saveHospitalConsultationTimetableOverridesCommand?: SaveHospitalConsultationTimetableOverridesCommand, options?: AxiosRequestConfig) {
|
|
41765
|
+
return HospitalsConsultationTimetableOverridesApiFp(this.configuration).apiV1HospitalsHospitalIdConsultationtimetableoverridesPost(hospitalId, saveHospitalConsultationTimetableOverridesCommand, options).then((request) => request(this.axios, this.basePath));
|
|
42042
41766
|
}
|
|
42043
41767
|
}
|
|
42044
41768
|
|
|
@@ -42095,13 +41819,14 @@ export const HospitalsConsultationTimetablesApiAxiosParamCreator = function (con
|
|
|
42095
41819
|
*
|
|
42096
41820
|
* @summary Get consultation timetables
|
|
42097
41821
|
* @param {string} hospitalId
|
|
41822
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
42098
41823
|
* @param {number} [page]
|
|
42099
41824
|
* @param {number} [limit]
|
|
42100
41825
|
* @param {Date} [lastRetrieved]
|
|
42101
41826
|
* @param {*} [options] Override http request option.
|
|
42102
41827
|
* @throws {RequiredError}
|
|
42103
41828
|
*/
|
|
42104
|
-
apiV1HospitalsHospitalIdConsultationtimetablesGet: async (hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41829
|
+
apiV1HospitalsHospitalIdConsultationtimetablesGet: async (hospitalId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42105
41830
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
42106
41831
|
assertParamExists('apiV1HospitalsHospitalIdConsultationtimetablesGet', 'hospitalId', hospitalId)
|
|
42107
41832
|
const localVarPath = `/api/v1/hospitals/{hospitalId}/consultationtimetables`
|
|
@@ -42121,6 +41846,10 @@ export const HospitalsConsultationTimetablesApiAxiosParamCreator = function (con
|
|
|
42121
41846
|
// oauth required
|
|
42122
41847
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
42123
41848
|
|
|
41849
|
+
if (dayOfWeek !== undefined) {
|
|
41850
|
+
localVarQueryParameter['DayOfWeek'] = dayOfWeek;
|
|
41851
|
+
}
|
|
41852
|
+
|
|
42124
41853
|
if (page !== undefined) {
|
|
42125
41854
|
localVarQueryParameter['page'] = page;
|
|
42126
41855
|
}
|
|
@@ -42344,14 +42073,15 @@ export const HospitalsConsultationTimetablesApiFp = function(configuration?: Con
|
|
|
42344
42073
|
*
|
|
42345
42074
|
* @summary Get consultation timetables
|
|
42346
42075
|
* @param {string} hospitalId
|
|
42076
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
42347
42077
|
* @param {number} [page]
|
|
42348
42078
|
* @param {number} [limit]
|
|
42349
42079
|
* @param {Date} [lastRetrieved]
|
|
42350
42080
|
* @param {*} [options] Override http request option.
|
|
42351
42081
|
* @throws {RequiredError}
|
|
42352
42082
|
*/
|
|
42353
|
-
async apiV1HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalConsultationTimetablesModel>> {
|
|
42354
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdConsultationtimetablesGet(hospitalId, page, limit, lastRetrieved, options);
|
|
42083
|
+
async apiV1HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalConsultationTimetablesModel>> {
|
|
42084
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdConsultationtimetablesGet(hospitalId, dayOfWeek, page, limit, lastRetrieved, options);
|
|
42355
42085
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
42356
42086
|
},
|
|
42357
42087
|
/**
|
|
@@ -42428,14 +42158,15 @@ export const HospitalsConsultationTimetablesApiFactory = function (configuration
|
|
|
42428
42158
|
*
|
|
42429
42159
|
* @summary Get consultation timetables
|
|
42430
42160
|
* @param {string} hospitalId
|
|
42161
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
42431
42162
|
* @param {number} [page]
|
|
42432
42163
|
* @param {number} [limit]
|
|
42433
42164
|
* @param {Date} [lastRetrieved]
|
|
42434
42165
|
* @param {*} [options] Override http request option.
|
|
42435
42166
|
* @throws {RequiredError}
|
|
42436
42167
|
*/
|
|
42437
|
-
apiV1HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalConsultationTimetablesModel> {
|
|
42438
|
-
return localVarFp.apiV1HospitalsHospitalIdConsultationtimetablesGet(hospitalId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
42168
|
+
apiV1HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalConsultationTimetablesModel> {
|
|
42169
|
+
return localVarFp.apiV1HospitalsHospitalIdConsultationtimetablesGet(hospitalId, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
42439
42170
|
},
|
|
42440
42171
|
/**
|
|
42441
42172
|
*
|
|
@@ -42509,6 +42240,7 @@ export class HospitalsConsultationTimetablesApi extends BaseAPI {
|
|
|
42509
42240
|
*
|
|
42510
42241
|
* @summary Get consultation timetables
|
|
42511
42242
|
* @param {string} hospitalId
|
|
42243
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
42512
42244
|
* @param {number} [page]
|
|
42513
42245
|
* @param {number} [limit]
|
|
42514
42246
|
* @param {Date} [lastRetrieved]
|
|
@@ -42516,8 +42248,8 @@ export class HospitalsConsultationTimetablesApi extends BaseAPI {
|
|
|
42516
42248
|
* @throws {RequiredError}
|
|
42517
42249
|
* @memberof HospitalsConsultationTimetablesApi
|
|
42518
42250
|
*/
|
|
42519
|
-
public apiV1HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
42520
|
-
return HospitalsConsultationTimetablesApiFp(this.configuration).apiV1HospitalsHospitalIdConsultationtimetablesGet(hospitalId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
42251
|
+
public apiV1HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
42252
|
+
return HospitalsConsultationTimetablesApiFp(this.configuration).apiV1HospitalsHospitalIdConsultationtimetablesGet(hospitalId, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
42521
42253
|
}
|
|
42522
42254
|
|
|
42523
42255
|
/**
|