ch-admin-api-client-typescript 4.4.6 → 4.4.8
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 +248 -613
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +151 -474
- package/package.json +1 -1
- package/src/api.ts +296 -806
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
|
|
@@ -14282,86 +14152,6 @@ export interface UpdateFaqCommand {
|
|
|
14282
14152
|
*/
|
|
14283
14153
|
'medias'?: Array<MediaModel> | null;
|
|
14284
14154
|
}
|
|
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
14155
|
/**
|
|
14366
14156
|
*
|
|
14367
14157
|
* @export
|
|
@@ -14544,37 +14334,6 @@ export interface UpdateHospitalConsultationTimetableCommand {
|
|
|
14544
14334
|
*/
|
|
14545
14335
|
'end'?: string | null;
|
|
14546
14336
|
}
|
|
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
14337
|
/**
|
|
14579
14338
|
*
|
|
14580
14339
|
* @export
|
|
@@ -33774,53 +33533,18 @@ export class GroupChannelsApi extends BaseAPI {
|
|
|
33774
33533
|
*/
|
|
33775
33534
|
export const HeaderNavigationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
33776
33535
|
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
33536
|
/**
|
|
33816
33537
|
*
|
|
33817
33538
|
* @summary Get all HeaderNavigationItems
|
|
33818
|
-
* @param {string}
|
|
33539
|
+
* @param {string} languageCode
|
|
33819
33540
|
* @param {*} [options] Override http request option.
|
|
33820
33541
|
* @throws {RequiredError}
|
|
33821
33542
|
*/
|
|
33822
|
-
|
|
33823
|
-
|
|
33543
|
+
apiV1HeadernavigationsLanguageCodeGet: async (languageCode: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33544
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
33545
|
+
assertParamExists('apiV1HeadernavigationsLanguageCodeGet', 'languageCode', languageCode)
|
|
33546
|
+
const localVarPath = `/api/v1/headernavigations/{languageCode}`
|
|
33547
|
+
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)));
|
|
33824
33548
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33825
33549
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33826
33550
|
let baseOptions;
|
|
@@ -33836,10 +33560,6 @@ export const HeaderNavigationsApiAxiosParamCreator = function (configuration?: C
|
|
|
33836
33560
|
// oauth required
|
|
33837
33561
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
33838
33562
|
|
|
33839
|
-
if (languageCode !== undefined) {
|
|
33840
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
33841
|
-
}
|
|
33842
|
-
|
|
33843
33563
|
|
|
33844
33564
|
|
|
33845
33565
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -33854,14 +33574,18 @@ export const HeaderNavigationsApiAxiosParamCreator = function (configuration?: C
|
|
|
33854
33574
|
/**
|
|
33855
33575
|
*
|
|
33856
33576
|
* @summary Delete HeaderNavigationItem
|
|
33577
|
+
* @param {string} languageCode
|
|
33857
33578
|
* @param {string} id
|
|
33858
33579
|
* @param {*} [options] Override http request option.
|
|
33859
33580
|
* @throws {RequiredError}
|
|
33860
33581
|
*/
|
|
33861
|
-
|
|
33582
|
+
apiV1HeadernavigationsLanguageCodeIdDelete: async (languageCode: string, id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33583
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
33584
|
+
assertParamExists('apiV1HeadernavigationsLanguageCodeIdDelete', 'languageCode', languageCode)
|
|
33862
33585
|
// verify required parameter 'id' is not null or undefined
|
|
33863
|
-
assertParamExists('
|
|
33864
|
-
const localVarPath = `/api/v1/headernavigations/{id}`
|
|
33586
|
+
assertParamExists('apiV1HeadernavigationsLanguageCodeIdDelete', 'id', id)
|
|
33587
|
+
const localVarPath = `/api/v1/headernavigations/{languageCode}/{id}`
|
|
33588
|
+
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)))
|
|
33865
33589
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
33866
33590
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33867
33591
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -33892,14 +33616,18 @@ export const HeaderNavigationsApiAxiosParamCreator = function (configuration?: C
|
|
|
33892
33616
|
/**
|
|
33893
33617
|
*
|
|
33894
33618
|
* @summary Get HeaderNavigationItem by id
|
|
33619
|
+
* @param {string} languageCode
|
|
33895
33620
|
* @param {string} id
|
|
33896
33621
|
* @param {*} [options] Override http request option.
|
|
33897
33622
|
* @throws {RequiredError}
|
|
33898
33623
|
*/
|
|
33899
|
-
|
|
33624
|
+
apiV1HeadernavigationsLanguageCodeIdGet: async (languageCode: string, id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33625
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
33626
|
+
assertParamExists('apiV1HeadernavigationsLanguageCodeIdGet', 'languageCode', languageCode)
|
|
33900
33627
|
// verify required parameter 'id' is not null or undefined
|
|
33901
|
-
assertParamExists('
|
|
33902
|
-
const localVarPath = `/api/v1/headernavigations/{id}`
|
|
33628
|
+
assertParamExists('apiV1HeadernavigationsLanguageCodeIdGet', 'id', id)
|
|
33629
|
+
const localVarPath = `/api/v1/headernavigations/{languageCode}/{id}`
|
|
33630
|
+
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)))
|
|
33903
33631
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
33904
33632
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33905
33633
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -33927,59 +33655,21 @@ export const HeaderNavigationsApiAxiosParamCreator = function (configuration?: C
|
|
|
33927
33655
|
options: localVarRequestOptions,
|
|
33928
33656
|
};
|
|
33929
33657
|
},
|
|
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
33658
|
/**
|
|
33973
33659
|
*
|
|
33974
33660
|
* @summary Get HeaderNavigationItems by parent id
|
|
33661
|
+
* @param {string} languageCode
|
|
33975
33662
|
* @param {string} parentId
|
|
33976
33663
|
* @param {*} [options] Override http request option.
|
|
33977
33664
|
* @throws {RequiredError}
|
|
33978
33665
|
*/
|
|
33979
|
-
|
|
33666
|
+
apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet: async (languageCode: string, parentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33667
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
33668
|
+
assertParamExists('apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet', 'languageCode', languageCode)
|
|
33980
33669
|
// verify required parameter 'parentId' is not null or undefined
|
|
33981
|
-
assertParamExists('
|
|
33982
|
-
const localVarPath = `/api/v1/headernavigations/{parentId}/subitems`
|
|
33670
|
+
assertParamExists('apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet', 'parentId', parentId)
|
|
33671
|
+
const localVarPath = `/api/v1/headernavigations/{languageCode}/{parentId}/subitems`
|
|
33672
|
+
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)))
|
|
33983
33673
|
.replace(`{${"parentId"}}`, encodeURIComponent(String(parentId)));
|
|
33984
33674
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33985
33675
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -34009,13 +33699,17 @@ export const HeaderNavigationsApiAxiosParamCreator = function (configuration?: C
|
|
|
34009
33699
|
},
|
|
34010
33700
|
/**
|
|
34011
33701
|
*
|
|
34012
|
-
* @summary
|
|
34013
|
-
* @param {
|
|
33702
|
+
* @summary Save HeaderNavigationItem
|
|
33703
|
+
* @param {string} languageCode
|
|
33704
|
+
* @param {SaveHeaderNavigationsCommand} [saveHeaderNavigationsCommand]
|
|
34014
33705
|
* @param {*} [options] Override http request option.
|
|
34015
33706
|
* @throws {RequiredError}
|
|
34016
33707
|
*/
|
|
34017
|
-
|
|
34018
|
-
|
|
33708
|
+
apiV1HeadernavigationsLanguageCodePost: async (languageCode: string, saveHeaderNavigationsCommand?: SaveHeaderNavigationsCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33709
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
33710
|
+
assertParamExists('apiV1HeadernavigationsLanguageCodePost', 'languageCode', languageCode)
|
|
33711
|
+
const localVarPath = `/api/v1/headernavigations/{languageCode}`
|
|
33712
|
+
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)));
|
|
34019
33713
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34020
33714
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34021
33715
|
let baseOptions;
|
|
@@ -34038,7 +33732,7 @@ export const HeaderNavigationsApiAxiosParamCreator = function (configuration?: C
|
|
|
34038
33732
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34039
33733
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34040
33734
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34041
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
33735
|
+
localVarRequestOptions.data = serializeDataIfNeeded(saveHeaderNavigationsCommand, localVarRequestOptions, configuration)
|
|
34042
33736
|
|
|
34043
33737
|
return {
|
|
34044
33738
|
url: toPathString(localVarUrlObj),
|
|
@@ -34055,82 +33749,63 @@ export const HeaderNavigationsApiAxiosParamCreator = function (configuration?: C
|
|
|
34055
33749
|
export const HeaderNavigationsApiFp = function(configuration?: Configuration) {
|
|
34056
33750
|
const localVarAxiosParamCreator = HeaderNavigationsApiAxiosParamCreator(configuration)
|
|
34057
33751
|
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
33752
|
/**
|
|
34070
33753
|
*
|
|
34071
33754
|
* @summary Get all HeaderNavigationItems
|
|
34072
|
-
* @param {string}
|
|
33755
|
+
* @param {string} languageCode
|
|
34073
33756
|
* @param {*} [options] Override http request option.
|
|
34074
33757
|
* @throws {RequiredError}
|
|
34075
33758
|
*/
|
|
34076
|
-
async
|
|
34077
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
33759
|
+
async apiV1HeadernavigationsLanguageCodeGet(languageCode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HeaderNavigationItemModel>>> {
|
|
33760
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HeadernavigationsLanguageCodeGet(languageCode, options);
|
|
34078
33761
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34079
33762
|
},
|
|
34080
33763
|
/**
|
|
34081
33764
|
*
|
|
34082
33765
|
* @summary Delete HeaderNavigationItem
|
|
33766
|
+
* @param {string} languageCode
|
|
34083
33767
|
* @param {string} id
|
|
34084
33768
|
* @param {*} [options] Override http request option.
|
|
34085
33769
|
* @throws {RequiredError}
|
|
34086
33770
|
*/
|
|
34087
|
-
async
|
|
34088
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
33771
|
+
async apiV1HeadernavigationsLanguageCodeIdDelete(languageCode: string, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
33772
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HeadernavigationsLanguageCodeIdDelete(languageCode, id, options);
|
|
34089
33773
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34090
33774
|
},
|
|
34091
33775
|
/**
|
|
34092
33776
|
*
|
|
34093
33777
|
* @summary Get HeaderNavigationItem by id
|
|
33778
|
+
* @param {string} languageCode
|
|
34094
33779
|
* @param {string} id
|
|
34095
33780
|
* @param {*} [options] Override http request option.
|
|
34096
33781
|
* @throws {RequiredError}
|
|
34097
33782
|
*/
|
|
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);
|
|
33783
|
+
async apiV1HeadernavigationsLanguageCodeIdGet(languageCode: string, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HeaderNavigationItemModel>> {
|
|
33784
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HeadernavigationsLanguageCodeIdGet(languageCode, id, options);
|
|
34112
33785
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34113
33786
|
},
|
|
34114
33787
|
/**
|
|
34115
33788
|
*
|
|
34116
33789
|
* @summary Get HeaderNavigationItems by parent id
|
|
33790
|
+
* @param {string} languageCode
|
|
34117
33791
|
* @param {string} parentId
|
|
34118
33792
|
* @param {*} [options] Override http request option.
|
|
34119
33793
|
* @throws {RequiredError}
|
|
34120
33794
|
*/
|
|
34121
|
-
async
|
|
34122
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
33795
|
+
async apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet(languageCode: string, parentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HeaderNavigationItemModel>>> {
|
|
33796
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet(languageCode, parentId, options);
|
|
34123
33797
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34124
33798
|
},
|
|
34125
33799
|
/**
|
|
34126
33800
|
*
|
|
34127
|
-
* @summary
|
|
34128
|
-
* @param {
|
|
33801
|
+
* @summary Save HeaderNavigationItem
|
|
33802
|
+
* @param {string} languageCode
|
|
33803
|
+
* @param {SaveHeaderNavigationsCommand} [saveHeaderNavigationsCommand]
|
|
34129
33804
|
* @param {*} [options] Override http request option.
|
|
34130
33805
|
* @throws {RequiredError}
|
|
34131
33806
|
*/
|
|
34132
|
-
async
|
|
34133
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
33807
|
+
async apiV1HeadernavigationsLanguageCodePost(languageCode: string, saveHeaderNavigationsCommand?: SaveHeaderNavigationsCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HeaderNavigationItemModel>> {
|
|
33808
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HeadernavigationsLanguageCodePost(languageCode, saveHeaderNavigationsCommand, options);
|
|
34134
33809
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34135
33810
|
},
|
|
34136
33811
|
}
|
|
@@ -34143,76 +33818,59 @@ export const HeaderNavigationsApiFp = function(configuration?: Configuration) {
|
|
|
34143
33818
|
export const HeaderNavigationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
34144
33819
|
const localVarFp = HeaderNavigationsApiFp(configuration)
|
|
34145
33820
|
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
33821
|
/**
|
|
34157
33822
|
*
|
|
34158
33823
|
* @summary Get all HeaderNavigationItems
|
|
34159
|
-
* @param {string}
|
|
33824
|
+
* @param {string} languageCode
|
|
34160
33825
|
* @param {*} [options] Override http request option.
|
|
34161
33826
|
* @throws {RequiredError}
|
|
34162
33827
|
*/
|
|
34163
|
-
|
|
34164
|
-
return localVarFp.
|
|
33828
|
+
apiV1HeadernavigationsLanguageCodeGet(languageCode: string, options?: any): AxiosPromise<Array<HeaderNavigationItemModel>> {
|
|
33829
|
+
return localVarFp.apiV1HeadernavigationsLanguageCodeGet(languageCode, options).then((request) => request(axios, basePath));
|
|
34165
33830
|
},
|
|
34166
33831
|
/**
|
|
34167
33832
|
*
|
|
34168
33833
|
* @summary Delete HeaderNavigationItem
|
|
33834
|
+
* @param {string} languageCode
|
|
34169
33835
|
* @param {string} id
|
|
34170
33836
|
* @param {*} [options] Override http request option.
|
|
34171
33837
|
* @throws {RequiredError}
|
|
34172
33838
|
*/
|
|
34173
|
-
|
|
34174
|
-
return localVarFp.
|
|
33839
|
+
apiV1HeadernavigationsLanguageCodeIdDelete(languageCode: string, id: string, options?: any): AxiosPromise<boolean> {
|
|
33840
|
+
return localVarFp.apiV1HeadernavigationsLanguageCodeIdDelete(languageCode, id, options).then((request) => request(axios, basePath));
|
|
34175
33841
|
},
|
|
34176
33842
|
/**
|
|
34177
33843
|
*
|
|
34178
33844
|
* @summary Get HeaderNavigationItem by id
|
|
33845
|
+
* @param {string} languageCode
|
|
34179
33846
|
* @param {string} id
|
|
34180
33847
|
* @param {*} [options] Override http request option.
|
|
34181
33848
|
* @throws {RequiredError}
|
|
34182
33849
|
*/
|
|
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));
|
|
33850
|
+
apiV1HeadernavigationsLanguageCodeIdGet(languageCode: string, id: string, options?: any): AxiosPromise<HeaderNavigationItemModel> {
|
|
33851
|
+
return localVarFp.apiV1HeadernavigationsLanguageCodeIdGet(languageCode, id, options).then((request) => request(axios, basePath));
|
|
34196
33852
|
},
|
|
34197
33853
|
/**
|
|
34198
33854
|
*
|
|
34199
33855
|
* @summary Get HeaderNavigationItems by parent id
|
|
33856
|
+
* @param {string} languageCode
|
|
34200
33857
|
* @param {string} parentId
|
|
34201
33858
|
* @param {*} [options] Override http request option.
|
|
34202
33859
|
* @throws {RequiredError}
|
|
34203
33860
|
*/
|
|
34204
|
-
|
|
34205
|
-
return localVarFp.
|
|
33861
|
+
apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet(languageCode: string, parentId: string, options?: any): AxiosPromise<Array<HeaderNavigationItemModel>> {
|
|
33862
|
+
return localVarFp.apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet(languageCode, parentId, options).then((request) => request(axios, basePath));
|
|
34206
33863
|
},
|
|
34207
33864
|
/**
|
|
34208
33865
|
*
|
|
34209
|
-
* @summary
|
|
34210
|
-
* @param {
|
|
33866
|
+
* @summary Save HeaderNavigationItem
|
|
33867
|
+
* @param {string} languageCode
|
|
33868
|
+
* @param {SaveHeaderNavigationsCommand} [saveHeaderNavigationsCommand]
|
|
34211
33869
|
* @param {*} [options] Override http request option.
|
|
34212
33870
|
* @throws {RequiredError}
|
|
34213
33871
|
*/
|
|
34214
|
-
|
|
34215
|
-
return localVarFp.
|
|
33872
|
+
apiV1HeadernavigationsLanguageCodePost(languageCode: string, saveHeaderNavigationsCommand?: SaveHeaderNavigationsCommand, options?: any): AxiosPromise<HeaderNavigationItemModel> {
|
|
33873
|
+
return localVarFp.apiV1HeadernavigationsLanguageCodePost(languageCode, saveHeaderNavigationsCommand, options).then((request) => request(axios, basePath));
|
|
34216
33874
|
},
|
|
34217
33875
|
};
|
|
34218
33876
|
};
|
|
@@ -34224,89 +33882,68 @@ export const HeaderNavigationsApiFactory = function (configuration?: Configurati
|
|
|
34224
33882
|
* @extends {BaseAPI}
|
|
34225
33883
|
*/
|
|
34226
33884
|
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
33885
|
/**
|
|
34240
33886
|
*
|
|
34241
33887
|
* @summary Get all HeaderNavigationItems
|
|
34242
|
-
* @param {string}
|
|
33888
|
+
* @param {string} languageCode
|
|
34243
33889
|
* @param {*} [options] Override http request option.
|
|
34244
33890
|
* @throws {RequiredError}
|
|
34245
33891
|
* @memberof HeaderNavigationsApi
|
|
34246
33892
|
*/
|
|
34247
|
-
public
|
|
34248
|
-
return HeaderNavigationsApiFp(this.configuration).
|
|
33893
|
+
public apiV1HeadernavigationsLanguageCodeGet(languageCode: string, options?: AxiosRequestConfig) {
|
|
33894
|
+
return HeaderNavigationsApiFp(this.configuration).apiV1HeadernavigationsLanguageCodeGet(languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
34249
33895
|
}
|
|
34250
33896
|
|
|
34251
33897
|
/**
|
|
34252
33898
|
*
|
|
34253
33899
|
* @summary Delete HeaderNavigationItem
|
|
33900
|
+
* @param {string} languageCode
|
|
34254
33901
|
* @param {string} id
|
|
34255
33902
|
* @param {*} [options] Override http request option.
|
|
34256
33903
|
* @throws {RequiredError}
|
|
34257
33904
|
* @memberof HeaderNavigationsApi
|
|
34258
33905
|
*/
|
|
34259
|
-
public
|
|
34260
|
-
return HeaderNavigationsApiFp(this.configuration).
|
|
33906
|
+
public apiV1HeadernavigationsLanguageCodeIdDelete(languageCode: string, id: string, options?: AxiosRequestConfig) {
|
|
33907
|
+
return HeaderNavigationsApiFp(this.configuration).apiV1HeadernavigationsLanguageCodeIdDelete(languageCode, id, options).then((request) => request(this.axios, this.basePath));
|
|
34261
33908
|
}
|
|
34262
33909
|
|
|
34263
33910
|
/**
|
|
34264
33911
|
*
|
|
34265
33912
|
* @summary Get HeaderNavigationItem by id
|
|
33913
|
+
* @param {string} languageCode
|
|
34266
33914
|
* @param {string} id
|
|
34267
33915
|
* @param {*} [options] Override http request option.
|
|
34268
33916
|
* @throws {RequiredError}
|
|
34269
33917
|
* @memberof HeaderNavigationsApi
|
|
34270
33918
|
*/
|
|
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));
|
|
33919
|
+
public apiV1HeadernavigationsLanguageCodeIdGet(languageCode: string, id: string, options?: AxiosRequestConfig) {
|
|
33920
|
+
return HeaderNavigationsApiFp(this.configuration).apiV1HeadernavigationsLanguageCodeIdGet(languageCode, id, options).then((request) => request(this.axios, this.basePath));
|
|
34286
33921
|
}
|
|
34287
33922
|
|
|
34288
33923
|
/**
|
|
34289
33924
|
*
|
|
34290
33925
|
* @summary Get HeaderNavigationItems by parent id
|
|
33926
|
+
* @param {string} languageCode
|
|
34291
33927
|
* @param {string} parentId
|
|
34292
33928
|
* @param {*} [options] Override http request option.
|
|
34293
33929
|
* @throws {RequiredError}
|
|
34294
33930
|
* @memberof HeaderNavigationsApi
|
|
34295
33931
|
*/
|
|
34296
|
-
public
|
|
34297
|
-
return HeaderNavigationsApiFp(this.configuration).
|
|
33932
|
+
public apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet(languageCode: string, parentId: string, options?: AxiosRequestConfig) {
|
|
33933
|
+
return HeaderNavigationsApiFp(this.configuration).apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet(languageCode, parentId, options).then((request) => request(this.axios, this.basePath));
|
|
34298
33934
|
}
|
|
34299
33935
|
|
|
34300
33936
|
/**
|
|
34301
33937
|
*
|
|
34302
|
-
* @summary
|
|
34303
|
-
* @param {
|
|
33938
|
+
* @summary Save HeaderNavigationItem
|
|
33939
|
+
* @param {string} languageCode
|
|
33940
|
+
* @param {SaveHeaderNavigationsCommand} [saveHeaderNavigationsCommand]
|
|
34304
33941
|
* @param {*} [options] Override http request option.
|
|
34305
33942
|
* @throws {RequiredError}
|
|
34306
33943
|
* @memberof HeaderNavigationsApi
|
|
34307
33944
|
*/
|
|
34308
|
-
public
|
|
34309
|
-
return HeaderNavigationsApiFp(this.configuration).
|
|
33945
|
+
public apiV1HeadernavigationsLanguageCodePost(languageCode: string, saveHeaderNavigationsCommand?: SaveHeaderNavigationsCommand, options?: AxiosRequestConfig) {
|
|
33946
|
+
return HeaderNavigationsApiFp(this.configuration).apiV1HeadernavigationsLanguageCodePost(languageCode, saveHeaderNavigationsCommand, options).then((request) => request(this.axios, this.basePath));
|
|
34310
33947
|
}
|
|
34311
33948
|
}
|
|
34312
33949
|
|
|
@@ -41489,48 +41126,6 @@ export class HospitalsApi extends BaseAPI {
|
|
|
41489
41126
|
*/
|
|
41490
41127
|
export const HospitalsConsultationTimetableOverridesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
41491
41128
|
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
41129
|
/**
|
|
41535
41130
|
*
|
|
41536
41131
|
* @summary Get consultation timetable override items
|
|
@@ -41538,13 +41133,14 @@ export const HospitalsConsultationTimetableOverridesApiAxiosParamCreator = funct
|
|
|
41538
41133
|
* @param {boolean} [includesPreviousItems]
|
|
41539
41134
|
* @param {Date} [startDate]
|
|
41540
41135
|
* @param {Date} [endDate]
|
|
41136
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
41541
41137
|
* @param {number} [page]
|
|
41542
41138
|
* @param {number} [limit]
|
|
41543
41139
|
* @param {Date} [lastRetrieved]
|
|
41544
41140
|
* @param {*} [options] Override http request option.
|
|
41545
41141
|
* @throws {RequiredError}
|
|
41546
41142
|
*/
|
|
41547
|
-
apiV1HospitalsHospitalIdConsultationtimetableoverridesGet: async (hospitalId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41143
|
+
apiV1HospitalsHospitalIdConsultationtimetableoverridesGet: async (hospitalId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41548
41144
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
41549
41145
|
assertParamExists('apiV1HospitalsHospitalIdConsultationtimetableoverridesGet', 'hospitalId', hospitalId)
|
|
41550
41146
|
const localVarPath = `/api/v1/hospitals/{hospitalId}/consultationtimetableoverrides`
|
|
@@ -41580,6 +41176,10 @@ export const HospitalsConsultationTimetableOverridesApiAxiosParamCreator = funct
|
|
|
41580
41176
|
endDate;
|
|
41581
41177
|
}
|
|
41582
41178
|
|
|
41179
|
+
if (dayOfWeek !== undefined) {
|
|
41180
|
+
localVarQueryParameter['DayOfWeek'] = dayOfWeek;
|
|
41181
|
+
}
|
|
41182
|
+
|
|
41583
41183
|
if (page !== undefined) {
|
|
41584
41184
|
localVarQueryParameter['page'] = page;
|
|
41585
41185
|
}
|
|
@@ -41596,48 +41196,6 @@ export const HospitalsConsultationTimetableOverridesApiAxiosParamCreator = funct
|
|
|
41596
41196
|
|
|
41597
41197
|
|
|
41598
41198
|
|
|
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
41199
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41642
41200
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41643
41201
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -41691,21 +41249,17 @@ export const HospitalsConsultationTimetableOverridesApiAxiosParamCreator = funct
|
|
|
41691
41249
|
},
|
|
41692
41250
|
/**
|
|
41693
41251
|
*
|
|
41694
|
-
* @summary
|
|
41252
|
+
* @summary Delete timetable item
|
|
41695
41253
|
* @param {string} hospitalId
|
|
41696
|
-
* @param {
|
|
41697
|
-
* @param {UpdateHospitalConsultationTimetableOverrideCommand} [updateHospitalConsultationTimetableOverrideCommand]
|
|
41254
|
+
* @param {DeleteHospitalConsultationTimetableOverrideCommand} [deleteHospitalConsultationTimetableOverrideCommand]
|
|
41698
41255
|
* @param {*} [options] Override http request option.
|
|
41699
41256
|
* @throws {RequiredError}
|
|
41700
41257
|
*/
|
|
41701
|
-
|
|
41258
|
+
apiV1HospitalsHospitalIdConsultationtimetableoverridesPatch: async (hospitalId: string, deleteHospitalConsultationTimetableOverrideCommand?: DeleteHospitalConsultationTimetableOverrideCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41702
41259
|
// 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)));
|
|
41260
|
+
assertParamExists('apiV1HospitalsHospitalIdConsultationtimetableoverridesPatch', 'hospitalId', hospitalId)
|
|
41261
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/consultationtimetableoverrides`
|
|
41262
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
41709
41263
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41710
41264
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41711
41265
|
let baseOptions;
|
|
@@ -41713,7 +41267,7 @@ export const HospitalsConsultationTimetableOverridesApiAxiosParamCreator = funct
|
|
|
41713
41267
|
baseOptions = configuration.baseOptions;
|
|
41714
41268
|
}
|
|
41715
41269
|
|
|
41716
|
-
const localVarRequestOptions = { method: '
|
|
41270
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
41717
41271
|
const localVarHeaderParameter = {} as any;
|
|
41718
41272
|
const localVarQueryParameter = {} as any;
|
|
41719
41273
|
|
|
@@ -41728,7 +41282,7 @@ export const HospitalsConsultationTimetableOverridesApiAxiosParamCreator = funct
|
|
|
41728
41282
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41729
41283
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41730
41284
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
41731
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
41285
|
+
localVarRequestOptions.data = serializeDataIfNeeded(deleteHospitalConsultationTimetableOverrideCommand, localVarRequestOptions, configuration)
|
|
41732
41286
|
|
|
41733
41287
|
return {
|
|
41734
41288
|
url: toPathString(localVarUrlObj),
|
|
@@ -41737,13 +41291,13 @@ export const HospitalsConsultationTimetableOverridesApiAxiosParamCreator = funct
|
|
|
41737
41291
|
},
|
|
41738
41292
|
/**
|
|
41739
41293
|
*
|
|
41740
|
-
* @summary
|
|
41294
|
+
* @summary Save timetable itme
|
|
41741
41295
|
* @param {string} hospitalId
|
|
41742
|
-
* @param {
|
|
41296
|
+
* @param {SaveHospitalConsultationTimetableOverridesCommand} [saveHospitalConsultationTimetableOverridesCommand]
|
|
41743
41297
|
* @param {*} [options] Override http request option.
|
|
41744
41298
|
* @throws {RequiredError}
|
|
41745
41299
|
*/
|
|
41746
|
-
apiV1HospitalsHospitalIdConsultationtimetableoverridesPost: async (hospitalId: string,
|
|
41300
|
+
apiV1HospitalsHospitalIdConsultationtimetableoverridesPost: async (hospitalId: string, saveHospitalConsultationTimetableOverridesCommand?: SaveHospitalConsultationTimetableOverridesCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41747
41301
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
41748
41302
|
assertParamExists('apiV1HospitalsHospitalIdConsultationtimetableoverridesPost', 'hospitalId', hospitalId)
|
|
41749
41303
|
const localVarPath = `/api/v1/hospitals/{hospitalId}/consultationtimetableoverrides`
|
|
@@ -41770,7 +41324,7 @@ export const HospitalsConsultationTimetableOverridesApiAxiosParamCreator = funct
|
|
|
41770
41324
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41771
41325
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41772
41326
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
41773
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
41327
|
+
localVarRequestOptions.data = serializeDataIfNeeded(saveHospitalConsultationTimetableOverridesCommand, localVarRequestOptions, configuration)
|
|
41774
41328
|
|
|
41775
41329
|
return {
|
|
41776
41330
|
url: toPathString(localVarUrlObj),
|
|
@@ -41787,18 +41341,6 @@ export const HospitalsConsultationTimetableOverridesApiAxiosParamCreator = funct
|
|
|
41787
41341
|
export const HospitalsConsultationTimetableOverridesApiFp = function(configuration?: Configuration) {
|
|
41788
41342
|
const localVarAxiosParamCreator = HospitalsConsultationTimetableOverridesApiAxiosParamCreator(configuration)
|
|
41789
41343
|
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
41344
|
/**
|
|
41803
41345
|
*
|
|
41804
41346
|
* @summary Get consultation timetable override items
|
|
@@ -41806,26 +41348,15 @@ export const HospitalsConsultationTimetableOverridesApiFp = function(configurati
|
|
|
41806
41348
|
* @param {boolean} [includesPreviousItems]
|
|
41807
41349
|
* @param {Date} [startDate]
|
|
41808
41350
|
* @param {Date} [endDate]
|
|
41351
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
41809
41352
|
* @param {number} [page]
|
|
41810
41353
|
* @param {number} [limit]
|
|
41811
41354
|
* @param {Date} [lastRetrieved]
|
|
41812
41355
|
* @param {*} [options] Override http request option.
|
|
41813
41356
|
* @throws {RequiredError}
|
|
41814
41357
|
*/
|
|
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);
|
|
41358
|
+
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>> {
|
|
41359
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options);
|
|
41829
41360
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41830
41361
|
},
|
|
41831
41362
|
/**
|
|
@@ -41842,27 +41373,26 @@ export const HospitalsConsultationTimetableOverridesApiFp = function(configurati
|
|
|
41842
41373
|
},
|
|
41843
41374
|
/**
|
|
41844
41375
|
*
|
|
41845
|
-
* @summary
|
|
41376
|
+
* @summary Delete timetable item
|
|
41846
41377
|
* @param {string} hospitalId
|
|
41847
|
-
* @param {
|
|
41848
|
-
* @param {UpdateHospitalConsultationTimetableOverrideCommand} [updateHospitalConsultationTimetableOverrideCommand]
|
|
41378
|
+
* @param {DeleteHospitalConsultationTimetableOverrideCommand} [deleteHospitalConsultationTimetableOverrideCommand]
|
|
41849
41379
|
* @param {*} [options] Override http request option.
|
|
41850
41380
|
* @throws {RequiredError}
|
|
41851
41381
|
*/
|
|
41852
|
-
async
|
|
41853
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
41382
|
+
async apiV1HospitalsHospitalIdConsultationtimetableoverridesPatch(hospitalId: string, deleteHospitalConsultationTimetableOverrideCommand?: DeleteHospitalConsultationTimetableOverrideCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
41383
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdConsultationtimetableoverridesPatch(hospitalId, deleteHospitalConsultationTimetableOverrideCommand, options);
|
|
41854
41384
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41855
41385
|
},
|
|
41856
41386
|
/**
|
|
41857
41387
|
*
|
|
41858
|
-
* @summary
|
|
41388
|
+
* @summary Save timetable itme
|
|
41859
41389
|
* @param {string} hospitalId
|
|
41860
|
-
* @param {
|
|
41390
|
+
* @param {SaveHospitalConsultationTimetableOverridesCommand} [saveHospitalConsultationTimetableOverridesCommand]
|
|
41861
41391
|
* @param {*} [options] Override http request option.
|
|
41862
41392
|
* @throws {RequiredError}
|
|
41863
41393
|
*/
|
|
41864
|
-
async apiV1HospitalsHospitalIdConsultationtimetableoverridesPost(hospitalId: string,
|
|
41865
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdConsultationtimetableoverridesPost(hospitalId,
|
|
41394
|
+
async apiV1HospitalsHospitalIdConsultationtimetableoverridesPost(hospitalId: string, saveHospitalConsultationTimetableOverridesCommand?: SaveHospitalConsultationTimetableOverridesCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HospitalConsultationTimetableOverrideItemModel>>> {
|
|
41395
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdConsultationtimetableoverridesPost(hospitalId, saveHospitalConsultationTimetableOverridesCommand, options);
|
|
41866
41396
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41867
41397
|
},
|
|
41868
41398
|
}
|
|
@@ -41875,17 +41405,6 @@ export const HospitalsConsultationTimetableOverridesApiFp = function(configurati
|
|
|
41875
41405
|
export const HospitalsConsultationTimetableOverridesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
41876
41406
|
const localVarFp = HospitalsConsultationTimetableOverridesApiFp(configuration)
|
|
41877
41407
|
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
41408
|
/**
|
|
41890
41409
|
*
|
|
41891
41410
|
* @summary Get consultation timetable override items
|
|
@@ -41893,25 +41412,15 @@ export const HospitalsConsultationTimetableOverridesApiFactory = function (confi
|
|
|
41893
41412
|
* @param {boolean} [includesPreviousItems]
|
|
41894
41413
|
* @param {Date} [startDate]
|
|
41895
41414
|
* @param {Date} [endDate]
|
|
41415
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
41896
41416
|
* @param {number} [page]
|
|
41897
41417
|
* @param {number} [limit]
|
|
41898
41418
|
* @param {Date} [lastRetrieved]
|
|
41899
41419
|
* @param {*} [options] Override http request option.
|
|
41900
41420
|
* @throws {RequiredError}
|
|
41901
41421
|
*/
|
|
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));
|
|
41422
|
+
apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalConsultationTimetableOverridesModel> {
|
|
41423
|
+
return localVarFp.apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
41915
41424
|
},
|
|
41916
41425
|
/**
|
|
41917
41426
|
*
|
|
@@ -41926,26 +41435,25 @@ export const HospitalsConsultationTimetableOverridesApiFactory = function (confi
|
|
|
41926
41435
|
},
|
|
41927
41436
|
/**
|
|
41928
41437
|
*
|
|
41929
|
-
* @summary
|
|
41438
|
+
* @summary Delete timetable item
|
|
41930
41439
|
* @param {string} hospitalId
|
|
41931
|
-
* @param {
|
|
41932
|
-
* @param {UpdateHospitalConsultationTimetableOverrideCommand} [updateHospitalConsultationTimetableOverrideCommand]
|
|
41440
|
+
* @param {DeleteHospitalConsultationTimetableOverrideCommand} [deleteHospitalConsultationTimetableOverrideCommand]
|
|
41933
41441
|
* @param {*} [options] Override http request option.
|
|
41934
41442
|
* @throws {RequiredError}
|
|
41935
41443
|
*/
|
|
41936
|
-
|
|
41937
|
-
return localVarFp.
|
|
41444
|
+
apiV1HospitalsHospitalIdConsultationtimetableoverridesPatch(hospitalId: string, deleteHospitalConsultationTimetableOverrideCommand?: DeleteHospitalConsultationTimetableOverrideCommand, options?: any): AxiosPromise<boolean> {
|
|
41445
|
+
return localVarFp.apiV1HospitalsHospitalIdConsultationtimetableoverridesPatch(hospitalId, deleteHospitalConsultationTimetableOverrideCommand, options).then((request) => request(axios, basePath));
|
|
41938
41446
|
},
|
|
41939
41447
|
/**
|
|
41940
41448
|
*
|
|
41941
|
-
* @summary
|
|
41449
|
+
* @summary Save timetable itme
|
|
41942
41450
|
* @param {string} hospitalId
|
|
41943
|
-
* @param {
|
|
41451
|
+
* @param {SaveHospitalConsultationTimetableOverridesCommand} [saveHospitalConsultationTimetableOverridesCommand]
|
|
41944
41452
|
* @param {*} [options] Override http request option.
|
|
41945
41453
|
* @throws {RequiredError}
|
|
41946
41454
|
*/
|
|
41947
|
-
apiV1HospitalsHospitalIdConsultationtimetableoverridesPost(hospitalId: string,
|
|
41948
|
-
return localVarFp.apiV1HospitalsHospitalIdConsultationtimetableoverridesPost(hospitalId,
|
|
41455
|
+
apiV1HospitalsHospitalIdConsultationtimetableoverridesPost(hospitalId: string, saveHospitalConsultationTimetableOverridesCommand?: SaveHospitalConsultationTimetableOverridesCommand, options?: any): AxiosPromise<Array<HospitalConsultationTimetableOverrideItemModel>> {
|
|
41456
|
+
return localVarFp.apiV1HospitalsHospitalIdConsultationtimetableoverridesPost(hospitalId, saveHospitalConsultationTimetableOverridesCommand, options).then((request) => request(axios, basePath));
|
|
41949
41457
|
},
|
|
41950
41458
|
};
|
|
41951
41459
|
};
|
|
@@ -41957,19 +41465,6 @@ export const HospitalsConsultationTimetableOverridesApiFactory = function (confi
|
|
|
41957
41465
|
* @extends {BaseAPI}
|
|
41958
41466
|
*/
|
|
41959
41467
|
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
41468
|
/**
|
|
41974
41469
|
*
|
|
41975
41470
|
* @summary Get consultation timetable override items
|
|
@@ -41977,6 +41472,7 @@ export class HospitalsConsultationTimetableOverridesApi extends BaseAPI {
|
|
|
41977
41472
|
* @param {boolean} [includesPreviousItems]
|
|
41978
41473
|
* @param {Date} [startDate]
|
|
41979
41474
|
* @param {Date} [endDate]
|
|
41475
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
41980
41476
|
* @param {number} [page]
|
|
41981
41477
|
* @param {number} [limit]
|
|
41982
41478
|
* @param {Date} [lastRetrieved]
|
|
@@ -41984,21 +41480,8 @@ export class HospitalsConsultationTimetableOverridesApi extends BaseAPI {
|
|
|
41984
41480
|
* @throws {RequiredError}
|
|
41985
41481
|
* @memberof HospitalsConsultationTimetableOverridesApi
|
|
41986
41482
|
*/
|
|
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));
|
|
41483
|
+
public apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
41484
|
+
return HospitalsConsultationTimetableOverridesApiFp(this.configuration).apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
42002
41485
|
}
|
|
42003
41486
|
|
|
42004
41487
|
/**
|
|
@@ -42016,29 +41499,28 @@ export class HospitalsConsultationTimetableOverridesApi extends BaseAPI {
|
|
|
42016
41499
|
|
|
42017
41500
|
/**
|
|
42018
41501
|
*
|
|
42019
|
-
* @summary
|
|
41502
|
+
* @summary Delete timetable item
|
|
42020
41503
|
* @param {string} hospitalId
|
|
42021
|
-
* @param {
|
|
42022
|
-
* @param {UpdateHospitalConsultationTimetableOverrideCommand} [updateHospitalConsultationTimetableOverrideCommand]
|
|
41504
|
+
* @param {DeleteHospitalConsultationTimetableOverrideCommand} [deleteHospitalConsultationTimetableOverrideCommand]
|
|
42023
41505
|
* @param {*} [options] Override http request option.
|
|
42024
41506
|
* @throws {RequiredError}
|
|
42025
41507
|
* @memberof HospitalsConsultationTimetableOverridesApi
|
|
42026
41508
|
*/
|
|
42027
|
-
public
|
|
42028
|
-
return HospitalsConsultationTimetableOverridesApiFp(this.configuration).
|
|
41509
|
+
public apiV1HospitalsHospitalIdConsultationtimetableoverridesPatch(hospitalId: string, deleteHospitalConsultationTimetableOverrideCommand?: DeleteHospitalConsultationTimetableOverrideCommand, options?: AxiosRequestConfig) {
|
|
41510
|
+
return HospitalsConsultationTimetableOverridesApiFp(this.configuration).apiV1HospitalsHospitalIdConsultationtimetableoverridesPatch(hospitalId, deleteHospitalConsultationTimetableOverrideCommand, options).then((request) => request(this.axios, this.basePath));
|
|
42029
41511
|
}
|
|
42030
41512
|
|
|
42031
41513
|
/**
|
|
42032
41514
|
*
|
|
42033
|
-
* @summary
|
|
41515
|
+
* @summary Save timetable itme
|
|
42034
41516
|
* @param {string} hospitalId
|
|
42035
|
-
* @param {
|
|
41517
|
+
* @param {SaveHospitalConsultationTimetableOverridesCommand} [saveHospitalConsultationTimetableOverridesCommand]
|
|
42036
41518
|
* @param {*} [options] Override http request option.
|
|
42037
41519
|
* @throws {RequiredError}
|
|
42038
41520
|
* @memberof HospitalsConsultationTimetableOverridesApi
|
|
42039
41521
|
*/
|
|
42040
|
-
public apiV1HospitalsHospitalIdConsultationtimetableoverridesPost(hospitalId: string,
|
|
42041
|
-
return HospitalsConsultationTimetableOverridesApiFp(this.configuration).apiV1HospitalsHospitalIdConsultationtimetableoverridesPost(hospitalId,
|
|
41522
|
+
public apiV1HospitalsHospitalIdConsultationtimetableoverridesPost(hospitalId: string, saveHospitalConsultationTimetableOverridesCommand?: SaveHospitalConsultationTimetableOverridesCommand, options?: AxiosRequestConfig) {
|
|
41523
|
+
return HospitalsConsultationTimetableOverridesApiFp(this.configuration).apiV1HospitalsHospitalIdConsultationtimetableoverridesPost(hospitalId, saveHospitalConsultationTimetableOverridesCommand, options).then((request) => request(this.axios, this.basePath));
|
|
42042
41524
|
}
|
|
42043
41525
|
}
|
|
42044
41526
|
|
|
@@ -42095,13 +41577,14 @@ export const HospitalsConsultationTimetablesApiAxiosParamCreator = function (con
|
|
|
42095
41577
|
*
|
|
42096
41578
|
* @summary Get consultation timetables
|
|
42097
41579
|
* @param {string} hospitalId
|
|
41580
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
42098
41581
|
* @param {number} [page]
|
|
42099
41582
|
* @param {number} [limit]
|
|
42100
41583
|
* @param {Date} [lastRetrieved]
|
|
42101
41584
|
* @param {*} [options] Override http request option.
|
|
42102
41585
|
* @throws {RequiredError}
|
|
42103
41586
|
*/
|
|
42104
|
-
apiV1HospitalsHospitalIdConsultationtimetablesGet: async (hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41587
|
+
apiV1HospitalsHospitalIdConsultationtimetablesGet: async (hospitalId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42105
41588
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
42106
41589
|
assertParamExists('apiV1HospitalsHospitalIdConsultationtimetablesGet', 'hospitalId', hospitalId)
|
|
42107
41590
|
const localVarPath = `/api/v1/hospitals/{hospitalId}/consultationtimetables`
|
|
@@ -42121,6 +41604,10 @@ export const HospitalsConsultationTimetablesApiAxiosParamCreator = function (con
|
|
|
42121
41604
|
// oauth required
|
|
42122
41605
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
42123
41606
|
|
|
41607
|
+
if (dayOfWeek !== undefined) {
|
|
41608
|
+
localVarQueryParameter['DayOfWeek'] = dayOfWeek;
|
|
41609
|
+
}
|
|
41610
|
+
|
|
42124
41611
|
if (page !== undefined) {
|
|
42125
41612
|
localVarQueryParameter['page'] = page;
|
|
42126
41613
|
}
|
|
@@ -42344,14 +41831,15 @@ export const HospitalsConsultationTimetablesApiFp = function(configuration?: Con
|
|
|
42344
41831
|
*
|
|
42345
41832
|
* @summary Get consultation timetables
|
|
42346
41833
|
* @param {string} hospitalId
|
|
41834
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
42347
41835
|
* @param {number} [page]
|
|
42348
41836
|
* @param {number} [limit]
|
|
42349
41837
|
* @param {Date} [lastRetrieved]
|
|
42350
41838
|
* @param {*} [options] Override http request option.
|
|
42351
41839
|
* @throws {RequiredError}
|
|
42352
41840
|
*/
|
|
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);
|
|
41841
|
+
async apiV1HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalConsultationTimetablesModel>> {
|
|
41842
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdConsultationtimetablesGet(hospitalId, dayOfWeek, page, limit, lastRetrieved, options);
|
|
42355
41843
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
42356
41844
|
},
|
|
42357
41845
|
/**
|
|
@@ -42428,14 +41916,15 @@ export const HospitalsConsultationTimetablesApiFactory = function (configuration
|
|
|
42428
41916
|
*
|
|
42429
41917
|
* @summary Get consultation timetables
|
|
42430
41918
|
* @param {string} hospitalId
|
|
41919
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
42431
41920
|
* @param {number} [page]
|
|
42432
41921
|
* @param {number} [limit]
|
|
42433
41922
|
* @param {Date} [lastRetrieved]
|
|
42434
41923
|
* @param {*} [options] Override http request option.
|
|
42435
41924
|
* @throws {RequiredError}
|
|
42436
41925
|
*/
|
|
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));
|
|
41926
|
+
apiV1HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalConsultationTimetablesModel> {
|
|
41927
|
+
return localVarFp.apiV1HospitalsHospitalIdConsultationtimetablesGet(hospitalId, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
42439
41928
|
},
|
|
42440
41929
|
/**
|
|
42441
41930
|
*
|
|
@@ -42509,6 +41998,7 @@ export class HospitalsConsultationTimetablesApi extends BaseAPI {
|
|
|
42509
41998
|
*
|
|
42510
41999
|
* @summary Get consultation timetables
|
|
42511
42000
|
* @param {string} hospitalId
|
|
42001
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
42512
42002
|
* @param {number} [page]
|
|
42513
42003
|
* @param {number} [limit]
|
|
42514
42004
|
* @param {Date} [lastRetrieved]
|
|
@@ -42516,8 +42006,8 @@ export class HospitalsConsultationTimetablesApi extends BaseAPI {
|
|
|
42516
42006
|
* @throws {RequiredError}
|
|
42517
42007
|
* @memberof HospitalsConsultationTimetablesApi
|
|
42518
42008
|
*/
|
|
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));
|
|
42009
|
+
public apiV1HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
42010
|
+
return HospitalsConsultationTimetablesApiFp(this.configuration).apiV1HospitalsHospitalIdConsultationtimetablesGet(hospitalId, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
42521
42011
|
}
|
|
42522
42012
|
|
|
42523
42013
|
/**
|